-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/
-- | Stripe-Library
--
-- Stripe-Library generated from
-- https://github.com/Haskell-OpenAPI-Code-Generator/Haskell-OpenAPI-Client-Code-Generator
@package stripeapi
@version 2.0.0.1
-- | This module serves the purpose of defining common functionality which
-- remains the same across all OpenAPI specifications.
module StripeAPI.Common
-- | This is the main functionality of this module
--
-- It makes a concrete Call to a Server without a body
doCallWithConfiguration :: MonadHTTP m => Configuration -> Text -> Text -> [QueryParameter] -> m (Response ByteString)
-- | Same as doCallWithConfiguration but run in a ReaderT
-- environment which contains the configuration. This is useful if
-- multiple calls have to be executed with the same configuration.
doCallWithConfigurationM :: MonadHTTP m => Text -> Text -> [QueryParameter] -> ClientT m (Response ByteString)
-- | This is the main functionality of this module
--
-- It makes a concrete Call to a Server with a body
doBodyCallWithConfiguration :: (MonadHTTP m, ToJSON body) => Configuration -> Text -> Text -> [QueryParameter] -> Maybe body -> RequestBodyEncoding -> m (Response ByteString)
-- | Same as doBodyCallWithConfiguration but run in a ReaderT
-- environment which contains the configuration. This is useful if
-- multiple calls have to be executed with the same configuration.
doBodyCallWithConfigurationM :: (MonadHTTP m, ToJSON body) => Text -> Text -> [QueryParameter] -> Maybe body -> RequestBodyEncoding -> ClientT m (Response ByteString)
-- | Run a ClientT monad transformer in another monad with a
-- specified configuration
runWithConfiguration :: Configuration -> ClientT m a -> m a
-- | Convert Text a to ByteString
textToByte :: Text -> ByteString
-- | Stringifies a showable value
--
--
-- >>> stringifyModel "Test"
-- "Test"
--
--
--
-- >>> stringifyModel 123
-- "123"
--
stringifyModel :: StringifyModel a => a -> String
-- | Anonymous security scheme which does not alter the request in any way
anonymousSecurityScheme :: SecurityScheme
-- | An operation can and must be configured with data, which may be common
-- for many operations.
--
-- This configuration consists of information about the server URL and
-- the used security scheme.
--
-- In OpenAPI these information can be defined
--
--
-- - Root level
-- - Path level
-- - Operation level
--
--
-- To get started, the defaultConfiguration can be used and
-- changed accordingly.
--
-- Note that it is possible that
-- bearerAuthenticationSecurityScheme is not available because
-- it is not a security scheme in the OpenAPI specification.
--
--
-- defaultConfiguration
-- { configSecurityScheme = bearerAuthenticationSecurityScheme "token" }
--
data Configuration
Configuration :: Text -> SecurityScheme -> Configuration
[configBaseURL] :: Configuration -> Text
[configSecurityScheme] :: Configuration -> SecurityScheme
-- | This type specifies a security scheme which can modify a request
-- according to the scheme (e. g. add an Authorization header)
type SecurityScheme = Request -> Request
-- | Abstracts the usage of httpBS away, so that it can be used for
-- testing
class Monad m => MonadHTTP m
httpBS :: MonadHTTP m => Request -> m (Response ByteString)
-- | This type class makes the code generation for URL parameters easier as
-- it allows to stringify a value
--
-- The Show class is not sufficient as strings should not be
-- stringified with quotes.
class Show a => StringifyModel a
-- | Wraps a ByteString to implement ToJSON and
-- FromJSON
newtype JsonByteString
JsonByteString :: ByteString -> JsonByteString
-- | Wraps a ZonedTime to implement ToJSON and
-- FromJSON
newtype JsonDateTime
JsonDateTime :: ZonedTime -> JsonDateTime
-- | Defines how a request body is encoded
data RequestBodyEncoding
-- | Encode the body as JSON
RequestBodyEncodingJSON :: RequestBodyEncoding
-- | Encode the body as form data
RequestBodyEncodingFormData :: RequestBodyEncoding
-- | Defines a query parameter with the information necessary for
-- serialization
data QueryParameter
QueryParameter :: Text -> Maybe Value -> Text -> Bool -> QueryParameter
[queryParamName] :: QueryParameter -> Text
[queryParamValue] :: QueryParameter -> Maybe Value
[queryParamStyle] :: QueryParameter -> Text
[queryParamExplode] :: QueryParameter -> Bool
-- | The monad in which the operations can be run. Contains the
-- Configuration to run the requests with.
--
-- Run it with runWithConfiguration
newtype ClientT m a
ClientT :: ReaderT Configuration m a -> ClientT m a
-- | Utility type which uses IO as underlying monad
type ClientM a = ClientT IO a
instance GHC.Classes.Eq StripeAPI.Common.QueryParameter
instance GHC.Show.Show StripeAPI.Common.QueryParameter
instance GHC.Base.Monad m => Control.Monad.Reader.Class.MonadReader StripeAPI.Common.Configuration (StripeAPI.Common.ClientT m)
instance GHC.Base.Monad m => GHC.Base.Monad (StripeAPI.Common.ClientT m)
instance GHC.Base.Applicative m => GHC.Base.Applicative (StripeAPI.Common.ClientT m)
instance GHC.Base.Functor m => GHC.Base.Functor (StripeAPI.Common.ClientT m)
instance GHC.Classes.Ord StripeAPI.Common.JsonByteString
instance GHC.Classes.Eq StripeAPI.Common.JsonByteString
instance GHC.Show.Show StripeAPI.Common.JsonByteString
instance GHC.Show.Show StripeAPI.Common.JsonDateTime
instance GHC.Classes.Eq StripeAPI.Common.JsonDateTime
instance GHC.Classes.Ord StripeAPI.Common.JsonDateTime
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Common.JsonDateTime
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Common.JsonDateTime
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Common.JsonByteString
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Common.JsonByteString
instance StripeAPI.Common.StringifyModel GHC.Base.String
instance StripeAPI.Common.StringifyModel Data.Text.Internal.Text
instance GHC.Show.Show a => StripeAPI.Common.StringifyModel a
instance StripeAPI.Common.MonadHTTP m => StripeAPI.Common.MonadHTTP (StripeAPI.Common.ClientT m)
instance Control.Monad.Trans.Class.MonadTrans StripeAPI.Common.ClientT
instance Control.Monad.IO.Class.MonadIO m => Control.Monad.IO.Class.MonadIO (StripeAPI.Common.ClientT m)
instance StripeAPI.Common.MonadHTTP GHC.Types.IO
instance StripeAPI.Common.MonadHTTP m => StripeAPI.Common.MonadHTTP (Control.Monad.Trans.Reader.ReaderT r m)
-- | Contains the default configuration
module StripeAPI.Configuration
-- | The default url specified by the OpenAPI specification
--
--
-- https://api.stripe.com/
--
defaultURL :: Text
-- | The default configuration containing the defaultURL and no
-- authorization
defaultConfiguration :: Configuration
-- | Contains all supported security schemes defined in the specification
module StripeAPI.SecuritySchemes
-- | Used to pass the authentication information for BasicAuthentication to
-- basicAuthenticationSecurityScheme.
data BasicAuthenticationData
BasicAuthenticationData :: Text -> Text -> BasicAuthenticationData
[basicAuthenticationDataUsername] :: BasicAuthenticationData -> Text
[basicAuthenticationDataPassword] :: BasicAuthenticationData -> Text
-- | Use this security scheme to use basic authentication for a request.
-- Should be used in a Configuration.
--
-- Basic HTTP authentication. Allowed headers-- Authorization: Basic
-- <api_key> | Authorization: Basic <base64 hash of
-- `api_key:`>
--
--
-- defaultConfiguration
-- { configSecurityScheme =
-- basicAuthenticationSecurityScheme BasicAuthenticationData
-- { basicAuthenticationDataUsername = "user",
-- basicAuthenticationDataPassword = "pw"
-- }
-- }
--
basicAuthenticationSecurityScheme :: BasicAuthenticationData -> SecurityScheme
-- | Use this security scheme to use bearer authentication for a request.
-- Should be used in a Configuration.
--
-- Bearer HTTP authentication. Allowed headers-- Authorization: Bearer
-- <api_key>
--
--
-- defaultConfiguration
-- { configSecurityScheme = bearerAuthenticationSecurityScheme "token"
-- }
--
bearerAuthenticationSecurityScheme :: Text -> SecurityScheme
instance GHC.Classes.Eq StripeAPI.SecuritySchemes.BasicAuthenticationData
instance GHC.Classes.Ord StripeAPI.SecuritySchemes.BasicAuthenticationData
instance GHC.Show.Show StripeAPI.SecuritySchemes.BasicAuthenticationData
-- | Contains all types with cyclic dependencies (between each other or to
-- itself)
module StripeAPI.TypeAlias
-- | Defines an alias for the schema located at
-- components.schemas.setup_intent_payment_method_options_mandate_options_sepa_debit
-- in the specification.
type SetupIntentPaymentMethodOptionsMandateOptionsSepaDebit = Object
-- | Defines an alias for the schema located at
-- components.schemas.setup_attempt_payment_method_details_sepa_debit
-- in the specification.
type SetupAttemptPaymentMethodDetailsSepaDebit = Object
-- | Defines an alias for the schema located at
-- components.schemas.setup_attempt_payment_method_details_bacs_debit
-- in the specification.
type SetupAttemptPaymentMethodDetailsBacsDebit = Object
-- | Defines an alias for the schema located at
-- components.schemas.setup_attempt_payment_method_details_au_becs_debit
-- in the specification.
type SetupAttemptPaymentMethodDetailsAuBecsDebit = Object
-- | Defines an alias for the schema located at
-- components.schemas.setup_attempt_payment_method_details_acss_debit
-- in the specification.
type SetupAttemptPaymentMethodDetailsAcssDebit = Object
-- | Defines an alias for the schema located at
-- components.schemas.payment_method_oxxo in the specification.
type PaymentMethodOxxo = Object
-- | Defines an alias for the schema located at
-- components.schemas.payment_method_options_p24 in the
-- specification.
type PaymentMethodOptionsP24 = Object
-- | Defines an alias for the schema located at
-- components.schemas.payment_method_options_card_present in the
-- specification.
type PaymentMethodOptionsCardPresent = Object
-- | Defines an alias for the schema located at
-- components.schemas.payment_method_options_alipay in the
-- specification.
type PaymentMethodOptionsAlipay = Object
-- | Defines an alias for the schema located at
-- components.schemas.payment_method_interac_present in the
-- specification.
type PaymentMethodInteracPresent = Object
-- | Defines an alias for the schema located at
-- components.schemas.payment_method_grabpay in the
-- specification.
type PaymentMethodGrabpay = Object
-- | Defines an alias for the schema located at
-- components.schemas.payment_method_giropay in the
-- specification.
type PaymentMethodGiropay = Object
-- | Defines an alias for the schema located at
-- components.schemas.payment_method_details_wechat in the
-- specification.
type PaymentMethodDetailsWechat = Object
-- | Defines an alias for the schema located at
-- components.schemas.payment_method_details_stripe_account in
-- the specification.
type PaymentMethodDetailsStripeAccount = Object
-- | Defines an alias for the schema located at
-- components.schemas.payment_method_details_klarna in the
-- specification.
type PaymentMethodDetailsKlarna = Object
-- | Defines an alias for the schema located at
-- components.schemas.payment_method_details_card_wallet_samsung_pay
-- in the specification.
type PaymentMethodDetailsCardWalletSamsungPay = Object
-- | Defines an alias for the schema located at
-- components.schemas.payment_method_details_card_wallet_google_pay
-- in the specification.
type PaymentMethodDetailsCardWalletGooglePay = Object
-- | Defines an alias for the schema located at
-- components.schemas.payment_method_details_card_wallet_apple_pay
-- in the specification.
type PaymentMethodDetailsCardWalletApplePay = Object
-- | Defines an alias for the schema located at
-- components.schemas.payment_method_details_card_wallet_amex_express_checkout
-- in the specification.
type PaymentMethodDetailsCardWalletAmexExpressCheckout = Object
-- | Defines an alias for the schema located at
-- components.schemas.payment_method_card_wallet_samsung_pay in
-- the specification.
type PaymentMethodCardWalletSamsungPay = Object
-- | Defines an alias for the schema located at
-- components.schemas.payment_method_card_wallet_google_pay in
-- the specification.
type PaymentMethodCardWalletGooglePay = Object
-- | Defines an alias for the schema located at
-- components.schemas.payment_method_card_wallet_apple_pay in
-- the specification.
type PaymentMethodCardWalletApplePay = Object
-- | Defines an alias for the schema located at
-- components.schemas.payment_method_card_wallet_amex_express_checkout
-- in the specification.
type PaymentMethodCardWalletAmexExpressCheckout = Object
-- | Defines an alias for the schema located at
-- components.schemas.payment_method_card_present in the
-- specification.
type PaymentMethodCardPresent = Object
-- | Defines an alias for the schema located at
-- components.schemas.payment_method_bancontact in the
-- specification.
type PaymentMethodBancontact = Object
-- | Defines an alias for the schema located at
-- components.schemas.payment_method_afterpay_clearpay in the
-- specification.
type PaymentMethodAfterpayClearpay = Object
-- | Defines an alias for the schema located at
-- components.schemas.payment_intent_payment_method_options_mandate_options_sepa_debit
-- in the specification.
type PaymentIntentPaymentMethodOptionsMandateOptionsSepaDebit = Object
-- | Defines an alias for the schema located at
-- components.schemas.payment_flows_private_payment_methods_alipay
-- in the specification.
type PaymentFlowsPrivatePaymentMethodsAlipay = Object
-- | Defines an alias for the schema located at
-- components.schemas.offline_acceptance in the specification.
type OfflineAcceptance = Object
-- | Defines an alias for the schema located at
-- components.schemas.mandate_multi_use in the specification.
type MandateMultiUse = Object
-- | Defines an alias for the schema located at
-- components.schemas.gelato_session_id_number_options in the
-- specification.
type GelatoSessionIdNumberOptions = Object
-- | Defines an alias for the schema located at
-- components.schemas.gelato_report_id_number_options in the
-- specification.
type GelatoReportIdNumberOptions = Object
-- | Defines an alias for the schema located at
-- components.schemas.card_mandate_payment_method_details in the
-- specification.
type CardMandatePaymentMethodDetails = Object
-- | Contains the types generated from the schema
-- AccountBacsDebitPaymentsSettings
module StripeAPI.Types.AccountBacsDebitPaymentsSettings
-- | Defines the object schema located at
-- components.schemas.account_bacs_debit_payments_settings in
-- the specification.
data AccountBacsDebitPaymentsSettings
AccountBacsDebitPaymentsSettings :: Maybe Text -> AccountBacsDebitPaymentsSettings
-- | display_name: The Bacs Direct Debit Display Name for this account. For
-- payments made with Bacs Direct Debit, this will appear on the mandate,
-- and as the statement descriptor.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[accountBacsDebitPaymentsSettingsDisplayName] :: AccountBacsDebitPaymentsSettings -> Maybe Text
-- | Create a new AccountBacsDebitPaymentsSettings with all required
-- fields.
mkAccountBacsDebitPaymentsSettings :: AccountBacsDebitPaymentsSettings
instance GHC.Classes.Eq StripeAPI.Types.AccountBacsDebitPaymentsSettings.AccountBacsDebitPaymentsSettings
instance GHC.Show.Show StripeAPI.Types.AccountBacsDebitPaymentsSettings.AccountBacsDebitPaymentsSettings
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.AccountBacsDebitPaymentsSettings.AccountBacsDebitPaymentsSettings
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.AccountBacsDebitPaymentsSettings.AccountBacsDebitPaymentsSettings
-- | Contains the types generated from the schema AccountCapabilities
module StripeAPI.Types.AccountCapabilities
-- | Defines the object schema located at
-- components.schemas.account_capabilities in the specification.
data AccountCapabilities
AccountCapabilities :: Maybe AccountCapabilitiesAcssDebitPayments' -> Maybe AccountCapabilitiesAfterpayClearpayPayments' -> Maybe AccountCapabilitiesAuBecsDebitPayments' -> Maybe AccountCapabilitiesBacsDebitPayments' -> Maybe AccountCapabilitiesBancontactPayments' -> Maybe AccountCapabilitiesCardIssuing' -> Maybe AccountCapabilitiesCardPayments' -> Maybe AccountCapabilitiesCartesBancairesPayments' -> Maybe AccountCapabilitiesEpsPayments' -> Maybe AccountCapabilitiesFpxPayments' -> Maybe AccountCapabilitiesGiropayPayments' -> Maybe AccountCapabilitiesGrabpayPayments' -> Maybe AccountCapabilitiesIdealPayments' -> Maybe AccountCapabilitiesJcbPayments' -> Maybe AccountCapabilitiesLegacyPayments' -> Maybe AccountCapabilitiesOxxoPayments' -> Maybe AccountCapabilitiesP24Payments' -> Maybe AccountCapabilitiesSepaDebitPayments' -> Maybe AccountCapabilitiesSofortPayments' -> Maybe AccountCapabilitiesTaxReportingUs_1099K' -> Maybe AccountCapabilitiesTaxReportingUs_1099Misc' -> Maybe AccountCapabilitiesTransfers' -> AccountCapabilities
-- | acss_debit_payments: The status of the ACSS Direct Debits payments
-- capability of the account, or whether the account can directly process
-- ACSS Direct Debits charges.
[accountCapabilitiesAcssDebitPayments] :: AccountCapabilities -> Maybe AccountCapabilitiesAcssDebitPayments'
-- | afterpay_clearpay_payments: The status of the Afterpay Clearpay
-- capability of the account, or whether the account can directly process
-- Afterpay Clearpay charges.
[accountCapabilitiesAfterpayClearpayPayments] :: AccountCapabilities -> Maybe AccountCapabilitiesAfterpayClearpayPayments'
-- | au_becs_debit_payments: The status of the BECS Direct Debit (AU)
-- payments capability of the account, or whether the account can
-- directly process BECS Direct Debit (AU) charges.
[accountCapabilitiesAuBecsDebitPayments] :: AccountCapabilities -> Maybe AccountCapabilitiesAuBecsDebitPayments'
-- | bacs_debit_payments: The status of the Bacs Direct Debits payments
-- capability of the account, or whether the account can directly process
-- Bacs Direct Debits charges.
[accountCapabilitiesBacsDebitPayments] :: AccountCapabilities -> Maybe AccountCapabilitiesBacsDebitPayments'
-- | bancontact_payments: The status of the Bancontact payments capability
-- of the account, or whether the account can directly process Bancontact
-- charges.
[accountCapabilitiesBancontactPayments] :: AccountCapabilities -> Maybe AccountCapabilitiesBancontactPayments'
-- | card_issuing: The status of the card issuing capability of the
-- account, or whether you can use Issuing to distribute funds on cards
[accountCapabilitiesCardIssuing] :: AccountCapabilities -> Maybe AccountCapabilitiesCardIssuing'
-- | card_payments: The status of the card payments capability of the
-- account, or whether the account can directly process credit and debit
-- card charges.
[accountCapabilitiesCardPayments] :: AccountCapabilities -> Maybe AccountCapabilitiesCardPayments'
-- | cartes_bancaires_payments: The status of the Cartes Bancaires payments
-- capability of the account, or whether the account can directly process
-- Cartes Bancaires card charges in EUR currency.
[accountCapabilitiesCartesBancairesPayments] :: AccountCapabilities -> Maybe AccountCapabilitiesCartesBancairesPayments'
-- | eps_payments: The status of the EPS payments capability of the
-- account, or whether the account can directly process EPS charges.
[accountCapabilitiesEpsPayments] :: AccountCapabilities -> Maybe AccountCapabilitiesEpsPayments'
-- | fpx_payments: The status of the FPX payments capability of the
-- account, or whether the account can directly process FPX charges.
[accountCapabilitiesFpxPayments] :: AccountCapabilities -> Maybe AccountCapabilitiesFpxPayments'
-- | giropay_payments: The status of the giropay payments capability of the
-- account, or whether the account can directly process giropay charges.
[accountCapabilitiesGiropayPayments] :: AccountCapabilities -> Maybe AccountCapabilitiesGiropayPayments'
-- | grabpay_payments: The status of the GrabPay payments capability of the
-- account, or whether the account can directly process GrabPay charges.
[accountCapabilitiesGrabpayPayments] :: AccountCapabilities -> Maybe AccountCapabilitiesGrabpayPayments'
-- | ideal_payments: The status of the iDEAL payments capability of the
-- account, or whether the account can directly process iDEAL charges.
[accountCapabilitiesIdealPayments] :: AccountCapabilities -> Maybe AccountCapabilitiesIdealPayments'
-- | jcb_payments: The status of the JCB payments capability of the
-- account, or whether the account (Japan only) can directly process JCB
-- credit card charges in JPY currency.
[accountCapabilitiesJcbPayments] :: AccountCapabilities -> Maybe AccountCapabilitiesJcbPayments'
-- | legacy_payments: The status of the legacy payments capability of the
-- account.
[accountCapabilitiesLegacyPayments] :: AccountCapabilities -> Maybe AccountCapabilitiesLegacyPayments'
-- | oxxo_payments: The status of the OXXO payments capability of the
-- account, or whether the account can directly process OXXO charges.
[accountCapabilitiesOxxoPayments] :: AccountCapabilities -> Maybe AccountCapabilitiesOxxoPayments'
-- | p24_payments: The status of the P24 payments capability of the
-- account, or whether the account can directly process P24 charges.
[accountCapabilitiesP24Payments] :: AccountCapabilities -> Maybe AccountCapabilitiesP24Payments'
-- | sepa_debit_payments: The status of the SEPA Direct Debits payments
-- capability of the account, or whether the account can directly process
-- SEPA Direct Debits charges.
[accountCapabilitiesSepaDebitPayments] :: AccountCapabilities -> Maybe AccountCapabilitiesSepaDebitPayments'
-- | sofort_payments: The status of the Sofort payments capability of the
-- account, or whether the account can directly process Sofort charges.
[accountCapabilitiesSofortPayments] :: AccountCapabilities -> Maybe AccountCapabilitiesSofortPayments'
-- | tax_reporting_us_1099_k: The status of the tax reporting 1099-K (US)
-- capability of the account.
[accountCapabilitiesTaxReportingUs_1099K] :: AccountCapabilities -> Maybe AccountCapabilitiesTaxReportingUs_1099K'
-- | tax_reporting_us_1099_misc: The status of the tax reporting 1099-MISC
-- (US) capability of the account.
[accountCapabilitiesTaxReportingUs_1099Misc] :: AccountCapabilities -> Maybe AccountCapabilitiesTaxReportingUs_1099Misc'
-- | transfers: The status of the transfers capability of the account, or
-- whether your platform can transfer funds to the account.
[accountCapabilitiesTransfers] :: AccountCapabilities -> Maybe AccountCapabilitiesTransfers'
-- | Create a new AccountCapabilities with all required fields.
mkAccountCapabilities :: AccountCapabilities
-- | Defines the enum schema located at
-- components.schemas.account_capabilities.properties.acss_debit_payments
-- in the specification.
--
-- The status of the ACSS Direct Debits payments capability of the
-- account, or whether the account can directly process ACSS Direct
-- Debits charges.
data AccountCapabilitiesAcssDebitPayments'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
AccountCapabilitiesAcssDebitPayments'Other :: Value -> AccountCapabilitiesAcssDebitPayments'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
AccountCapabilitiesAcssDebitPayments'Typed :: Text -> AccountCapabilitiesAcssDebitPayments'
-- | Represents the JSON value "active"
AccountCapabilitiesAcssDebitPayments'EnumActive :: AccountCapabilitiesAcssDebitPayments'
-- | Represents the JSON value "inactive"
AccountCapabilitiesAcssDebitPayments'EnumInactive :: AccountCapabilitiesAcssDebitPayments'
-- | Represents the JSON value "pending"
AccountCapabilitiesAcssDebitPayments'EnumPending :: AccountCapabilitiesAcssDebitPayments'
-- | Defines the enum schema located at
-- components.schemas.account_capabilities.properties.afterpay_clearpay_payments
-- in the specification.
--
-- The status of the Afterpay Clearpay capability of the account, or
-- whether the account can directly process Afterpay Clearpay charges.
data AccountCapabilitiesAfterpayClearpayPayments'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
AccountCapabilitiesAfterpayClearpayPayments'Other :: Value -> AccountCapabilitiesAfterpayClearpayPayments'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
AccountCapabilitiesAfterpayClearpayPayments'Typed :: Text -> AccountCapabilitiesAfterpayClearpayPayments'
-- | Represents the JSON value "active"
AccountCapabilitiesAfterpayClearpayPayments'EnumActive :: AccountCapabilitiesAfterpayClearpayPayments'
-- | Represents the JSON value "inactive"
AccountCapabilitiesAfterpayClearpayPayments'EnumInactive :: AccountCapabilitiesAfterpayClearpayPayments'
-- | Represents the JSON value "pending"
AccountCapabilitiesAfterpayClearpayPayments'EnumPending :: AccountCapabilitiesAfterpayClearpayPayments'
-- | Defines the enum schema located at
-- components.schemas.account_capabilities.properties.au_becs_debit_payments
-- in the specification.
--
-- The status of the BECS Direct Debit (AU) payments capability of the
-- account, or whether the account can directly process BECS Direct Debit
-- (AU) charges.
data AccountCapabilitiesAuBecsDebitPayments'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
AccountCapabilitiesAuBecsDebitPayments'Other :: Value -> AccountCapabilitiesAuBecsDebitPayments'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
AccountCapabilitiesAuBecsDebitPayments'Typed :: Text -> AccountCapabilitiesAuBecsDebitPayments'
-- | Represents the JSON value "active"
AccountCapabilitiesAuBecsDebitPayments'EnumActive :: AccountCapabilitiesAuBecsDebitPayments'
-- | Represents the JSON value "inactive"
AccountCapabilitiesAuBecsDebitPayments'EnumInactive :: AccountCapabilitiesAuBecsDebitPayments'
-- | Represents the JSON value "pending"
AccountCapabilitiesAuBecsDebitPayments'EnumPending :: AccountCapabilitiesAuBecsDebitPayments'
-- | Defines the enum schema located at
-- components.schemas.account_capabilities.properties.bacs_debit_payments
-- in the specification.
--
-- The status of the Bacs Direct Debits payments capability of the
-- account, or whether the account can directly process Bacs Direct
-- Debits charges.
data AccountCapabilitiesBacsDebitPayments'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
AccountCapabilitiesBacsDebitPayments'Other :: Value -> AccountCapabilitiesBacsDebitPayments'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
AccountCapabilitiesBacsDebitPayments'Typed :: Text -> AccountCapabilitiesBacsDebitPayments'
-- | Represents the JSON value "active"
AccountCapabilitiesBacsDebitPayments'EnumActive :: AccountCapabilitiesBacsDebitPayments'
-- | Represents the JSON value "inactive"
AccountCapabilitiesBacsDebitPayments'EnumInactive :: AccountCapabilitiesBacsDebitPayments'
-- | Represents the JSON value "pending"
AccountCapabilitiesBacsDebitPayments'EnumPending :: AccountCapabilitiesBacsDebitPayments'
-- | Defines the enum schema located at
-- components.schemas.account_capabilities.properties.bancontact_payments
-- in the specification.
--
-- The status of the Bancontact payments capability of the account, or
-- whether the account can directly process Bancontact charges.
data AccountCapabilitiesBancontactPayments'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
AccountCapabilitiesBancontactPayments'Other :: Value -> AccountCapabilitiesBancontactPayments'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
AccountCapabilitiesBancontactPayments'Typed :: Text -> AccountCapabilitiesBancontactPayments'
-- | Represents the JSON value "active"
AccountCapabilitiesBancontactPayments'EnumActive :: AccountCapabilitiesBancontactPayments'
-- | Represents the JSON value "inactive"
AccountCapabilitiesBancontactPayments'EnumInactive :: AccountCapabilitiesBancontactPayments'
-- | Represents the JSON value "pending"
AccountCapabilitiesBancontactPayments'EnumPending :: AccountCapabilitiesBancontactPayments'
-- | Defines the enum schema located at
-- components.schemas.account_capabilities.properties.card_issuing
-- in the specification.
--
-- The status of the card issuing capability of the account, or whether
-- you can use Issuing to distribute funds on cards
data AccountCapabilitiesCardIssuing'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
AccountCapabilitiesCardIssuing'Other :: Value -> AccountCapabilitiesCardIssuing'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
AccountCapabilitiesCardIssuing'Typed :: Text -> AccountCapabilitiesCardIssuing'
-- | Represents the JSON value "active"
AccountCapabilitiesCardIssuing'EnumActive :: AccountCapabilitiesCardIssuing'
-- | Represents the JSON value "inactive"
AccountCapabilitiesCardIssuing'EnumInactive :: AccountCapabilitiesCardIssuing'
-- | Represents the JSON value "pending"
AccountCapabilitiesCardIssuing'EnumPending :: AccountCapabilitiesCardIssuing'
-- | Defines the enum schema located at
-- components.schemas.account_capabilities.properties.card_payments
-- in the specification.
--
-- The status of the card payments capability of the account, or whether
-- the account can directly process credit and debit card charges.
data AccountCapabilitiesCardPayments'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
AccountCapabilitiesCardPayments'Other :: Value -> AccountCapabilitiesCardPayments'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
AccountCapabilitiesCardPayments'Typed :: Text -> AccountCapabilitiesCardPayments'
-- | Represents the JSON value "active"
AccountCapabilitiesCardPayments'EnumActive :: AccountCapabilitiesCardPayments'
-- | Represents the JSON value "inactive"
AccountCapabilitiesCardPayments'EnumInactive :: AccountCapabilitiesCardPayments'
-- | Represents the JSON value "pending"
AccountCapabilitiesCardPayments'EnumPending :: AccountCapabilitiesCardPayments'
-- | Defines the enum schema located at
-- components.schemas.account_capabilities.properties.cartes_bancaires_payments
-- in the specification.
--
-- The status of the Cartes Bancaires payments capability of the account,
-- or whether the account can directly process Cartes Bancaires card
-- charges in EUR currency.
data AccountCapabilitiesCartesBancairesPayments'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
AccountCapabilitiesCartesBancairesPayments'Other :: Value -> AccountCapabilitiesCartesBancairesPayments'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
AccountCapabilitiesCartesBancairesPayments'Typed :: Text -> AccountCapabilitiesCartesBancairesPayments'
-- | Represents the JSON value "active"
AccountCapabilitiesCartesBancairesPayments'EnumActive :: AccountCapabilitiesCartesBancairesPayments'
-- | Represents the JSON value "inactive"
AccountCapabilitiesCartesBancairesPayments'EnumInactive :: AccountCapabilitiesCartesBancairesPayments'
-- | Represents the JSON value "pending"
AccountCapabilitiesCartesBancairesPayments'EnumPending :: AccountCapabilitiesCartesBancairesPayments'
-- | Defines the enum schema located at
-- components.schemas.account_capabilities.properties.eps_payments
-- in the specification.
--
-- The status of the EPS payments capability of the account, or whether
-- the account can directly process EPS charges.
data AccountCapabilitiesEpsPayments'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
AccountCapabilitiesEpsPayments'Other :: Value -> AccountCapabilitiesEpsPayments'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
AccountCapabilitiesEpsPayments'Typed :: Text -> AccountCapabilitiesEpsPayments'
-- | Represents the JSON value "active"
AccountCapabilitiesEpsPayments'EnumActive :: AccountCapabilitiesEpsPayments'
-- | Represents the JSON value "inactive"
AccountCapabilitiesEpsPayments'EnumInactive :: AccountCapabilitiesEpsPayments'
-- | Represents the JSON value "pending"
AccountCapabilitiesEpsPayments'EnumPending :: AccountCapabilitiesEpsPayments'
-- | Defines the enum schema located at
-- components.schemas.account_capabilities.properties.fpx_payments
-- in the specification.
--
-- The status of the FPX payments capability of the account, or whether
-- the account can directly process FPX charges.
data AccountCapabilitiesFpxPayments'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
AccountCapabilitiesFpxPayments'Other :: Value -> AccountCapabilitiesFpxPayments'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
AccountCapabilitiesFpxPayments'Typed :: Text -> AccountCapabilitiesFpxPayments'
-- | Represents the JSON value "active"
AccountCapabilitiesFpxPayments'EnumActive :: AccountCapabilitiesFpxPayments'
-- | Represents the JSON value "inactive"
AccountCapabilitiesFpxPayments'EnumInactive :: AccountCapabilitiesFpxPayments'
-- | Represents the JSON value "pending"
AccountCapabilitiesFpxPayments'EnumPending :: AccountCapabilitiesFpxPayments'
-- | Defines the enum schema located at
-- components.schemas.account_capabilities.properties.giropay_payments
-- in the specification.
--
-- The status of the giropay payments capability of the account, or
-- whether the account can directly process giropay charges.
data AccountCapabilitiesGiropayPayments'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
AccountCapabilitiesGiropayPayments'Other :: Value -> AccountCapabilitiesGiropayPayments'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
AccountCapabilitiesGiropayPayments'Typed :: Text -> AccountCapabilitiesGiropayPayments'
-- | Represents the JSON value "active"
AccountCapabilitiesGiropayPayments'EnumActive :: AccountCapabilitiesGiropayPayments'
-- | Represents the JSON value "inactive"
AccountCapabilitiesGiropayPayments'EnumInactive :: AccountCapabilitiesGiropayPayments'
-- | Represents the JSON value "pending"
AccountCapabilitiesGiropayPayments'EnumPending :: AccountCapabilitiesGiropayPayments'
-- | Defines the enum schema located at
-- components.schemas.account_capabilities.properties.grabpay_payments
-- in the specification.
--
-- The status of the GrabPay payments capability of the account, or
-- whether the account can directly process GrabPay charges.
data AccountCapabilitiesGrabpayPayments'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
AccountCapabilitiesGrabpayPayments'Other :: Value -> AccountCapabilitiesGrabpayPayments'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
AccountCapabilitiesGrabpayPayments'Typed :: Text -> AccountCapabilitiesGrabpayPayments'
-- | Represents the JSON value "active"
AccountCapabilitiesGrabpayPayments'EnumActive :: AccountCapabilitiesGrabpayPayments'
-- | Represents the JSON value "inactive"
AccountCapabilitiesGrabpayPayments'EnumInactive :: AccountCapabilitiesGrabpayPayments'
-- | Represents the JSON value "pending"
AccountCapabilitiesGrabpayPayments'EnumPending :: AccountCapabilitiesGrabpayPayments'
-- | Defines the enum schema located at
-- components.schemas.account_capabilities.properties.ideal_payments
-- in the specification.
--
-- The status of the iDEAL payments capability of the account, or whether
-- the account can directly process iDEAL charges.
data AccountCapabilitiesIdealPayments'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
AccountCapabilitiesIdealPayments'Other :: Value -> AccountCapabilitiesIdealPayments'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
AccountCapabilitiesIdealPayments'Typed :: Text -> AccountCapabilitiesIdealPayments'
-- | Represents the JSON value "active"
AccountCapabilitiesIdealPayments'EnumActive :: AccountCapabilitiesIdealPayments'
-- | Represents the JSON value "inactive"
AccountCapabilitiesIdealPayments'EnumInactive :: AccountCapabilitiesIdealPayments'
-- | Represents the JSON value "pending"
AccountCapabilitiesIdealPayments'EnumPending :: AccountCapabilitiesIdealPayments'
-- | Defines the enum schema located at
-- components.schemas.account_capabilities.properties.jcb_payments
-- in the specification.
--
-- The status of the JCB payments capability of the account, or whether
-- the account (Japan only) can directly process JCB credit card charges
-- in JPY currency.
data AccountCapabilitiesJcbPayments'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
AccountCapabilitiesJcbPayments'Other :: Value -> AccountCapabilitiesJcbPayments'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
AccountCapabilitiesJcbPayments'Typed :: Text -> AccountCapabilitiesJcbPayments'
-- | Represents the JSON value "active"
AccountCapabilitiesJcbPayments'EnumActive :: AccountCapabilitiesJcbPayments'
-- | Represents the JSON value "inactive"
AccountCapabilitiesJcbPayments'EnumInactive :: AccountCapabilitiesJcbPayments'
-- | Represents the JSON value "pending"
AccountCapabilitiesJcbPayments'EnumPending :: AccountCapabilitiesJcbPayments'
-- | Defines the enum schema located at
-- components.schemas.account_capabilities.properties.legacy_payments
-- in the specification.
--
-- The status of the legacy payments capability of the account.
data AccountCapabilitiesLegacyPayments'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
AccountCapabilitiesLegacyPayments'Other :: Value -> AccountCapabilitiesLegacyPayments'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
AccountCapabilitiesLegacyPayments'Typed :: Text -> AccountCapabilitiesLegacyPayments'
-- | Represents the JSON value "active"
AccountCapabilitiesLegacyPayments'EnumActive :: AccountCapabilitiesLegacyPayments'
-- | Represents the JSON value "inactive"
AccountCapabilitiesLegacyPayments'EnumInactive :: AccountCapabilitiesLegacyPayments'
-- | Represents the JSON value "pending"
AccountCapabilitiesLegacyPayments'EnumPending :: AccountCapabilitiesLegacyPayments'
-- | Defines the enum schema located at
-- components.schemas.account_capabilities.properties.oxxo_payments
-- in the specification.
--
-- The status of the OXXO payments capability of the account, or whether
-- the account can directly process OXXO charges.
data AccountCapabilitiesOxxoPayments'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
AccountCapabilitiesOxxoPayments'Other :: Value -> AccountCapabilitiesOxxoPayments'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
AccountCapabilitiesOxxoPayments'Typed :: Text -> AccountCapabilitiesOxxoPayments'
-- | Represents the JSON value "active"
AccountCapabilitiesOxxoPayments'EnumActive :: AccountCapabilitiesOxxoPayments'
-- | Represents the JSON value "inactive"
AccountCapabilitiesOxxoPayments'EnumInactive :: AccountCapabilitiesOxxoPayments'
-- | Represents the JSON value "pending"
AccountCapabilitiesOxxoPayments'EnumPending :: AccountCapabilitiesOxxoPayments'
-- | Defines the enum schema located at
-- components.schemas.account_capabilities.properties.p24_payments
-- in the specification.
--
-- The status of the P24 payments capability of the account, or whether
-- the account can directly process P24 charges.
data AccountCapabilitiesP24Payments'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
AccountCapabilitiesP24Payments'Other :: Value -> AccountCapabilitiesP24Payments'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
AccountCapabilitiesP24Payments'Typed :: Text -> AccountCapabilitiesP24Payments'
-- | Represents the JSON value "active"
AccountCapabilitiesP24Payments'EnumActive :: AccountCapabilitiesP24Payments'
-- | Represents the JSON value "inactive"
AccountCapabilitiesP24Payments'EnumInactive :: AccountCapabilitiesP24Payments'
-- | Represents the JSON value "pending"
AccountCapabilitiesP24Payments'EnumPending :: AccountCapabilitiesP24Payments'
-- | Defines the enum schema located at
-- components.schemas.account_capabilities.properties.sepa_debit_payments
-- in the specification.
--
-- The status of the SEPA Direct Debits payments capability of the
-- account, or whether the account can directly process SEPA Direct
-- Debits charges.
data AccountCapabilitiesSepaDebitPayments'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
AccountCapabilitiesSepaDebitPayments'Other :: Value -> AccountCapabilitiesSepaDebitPayments'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
AccountCapabilitiesSepaDebitPayments'Typed :: Text -> AccountCapabilitiesSepaDebitPayments'
-- | Represents the JSON value "active"
AccountCapabilitiesSepaDebitPayments'EnumActive :: AccountCapabilitiesSepaDebitPayments'
-- | Represents the JSON value "inactive"
AccountCapabilitiesSepaDebitPayments'EnumInactive :: AccountCapabilitiesSepaDebitPayments'
-- | Represents the JSON value "pending"
AccountCapabilitiesSepaDebitPayments'EnumPending :: AccountCapabilitiesSepaDebitPayments'
-- | Defines the enum schema located at
-- components.schemas.account_capabilities.properties.sofort_payments
-- in the specification.
--
-- The status of the Sofort payments capability of the account, or
-- whether the account can directly process Sofort charges.
data AccountCapabilitiesSofortPayments'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
AccountCapabilitiesSofortPayments'Other :: Value -> AccountCapabilitiesSofortPayments'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
AccountCapabilitiesSofortPayments'Typed :: Text -> AccountCapabilitiesSofortPayments'
-- | Represents the JSON value "active"
AccountCapabilitiesSofortPayments'EnumActive :: AccountCapabilitiesSofortPayments'
-- | Represents the JSON value "inactive"
AccountCapabilitiesSofortPayments'EnumInactive :: AccountCapabilitiesSofortPayments'
-- | Represents the JSON value "pending"
AccountCapabilitiesSofortPayments'EnumPending :: AccountCapabilitiesSofortPayments'
-- | Defines the enum schema located at
-- components.schemas.account_capabilities.properties.tax_reporting_us_1099_k
-- in the specification.
--
-- The status of the tax reporting 1099-K (US) capability of the account.
data AccountCapabilitiesTaxReportingUs_1099K'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
AccountCapabilitiesTaxReportingUs_1099K'Other :: Value -> AccountCapabilitiesTaxReportingUs_1099K'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
AccountCapabilitiesTaxReportingUs_1099K'Typed :: Text -> AccountCapabilitiesTaxReportingUs_1099K'
-- | Represents the JSON value "active"
AccountCapabilitiesTaxReportingUs_1099K'EnumActive :: AccountCapabilitiesTaxReportingUs_1099K'
-- | Represents the JSON value "inactive"
AccountCapabilitiesTaxReportingUs_1099K'EnumInactive :: AccountCapabilitiesTaxReportingUs_1099K'
-- | Represents the JSON value "pending"
AccountCapabilitiesTaxReportingUs_1099K'EnumPending :: AccountCapabilitiesTaxReportingUs_1099K'
-- | Defines the enum schema located at
-- components.schemas.account_capabilities.properties.tax_reporting_us_1099_misc
-- in the specification.
--
-- The status of the tax reporting 1099-MISC (US) capability of the
-- account.
data AccountCapabilitiesTaxReportingUs_1099Misc'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
AccountCapabilitiesTaxReportingUs_1099Misc'Other :: Value -> AccountCapabilitiesTaxReportingUs_1099Misc'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
AccountCapabilitiesTaxReportingUs_1099Misc'Typed :: Text -> AccountCapabilitiesTaxReportingUs_1099Misc'
-- | Represents the JSON value "active"
AccountCapabilitiesTaxReportingUs_1099Misc'EnumActive :: AccountCapabilitiesTaxReportingUs_1099Misc'
-- | Represents the JSON value "inactive"
AccountCapabilitiesTaxReportingUs_1099Misc'EnumInactive :: AccountCapabilitiesTaxReportingUs_1099Misc'
-- | Represents the JSON value "pending"
AccountCapabilitiesTaxReportingUs_1099Misc'EnumPending :: AccountCapabilitiesTaxReportingUs_1099Misc'
-- | Defines the enum schema located at
-- components.schemas.account_capabilities.properties.transfers
-- in the specification.
--
-- The status of the transfers capability of the account, or whether your
-- platform can transfer funds to the account.
data AccountCapabilitiesTransfers'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
AccountCapabilitiesTransfers'Other :: Value -> AccountCapabilitiesTransfers'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
AccountCapabilitiesTransfers'Typed :: Text -> AccountCapabilitiesTransfers'
-- | Represents the JSON value "active"
AccountCapabilitiesTransfers'EnumActive :: AccountCapabilitiesTransfers'
-- | Represents the JSON value "inactive"
AccountCapabilitiesTransfers'EnumInactive :: AccountCapabilitiesTransfers'
-- | Represents the JSON value "pending"
AccountCapabilitiesTransfers'EnumPending :: AccountCapabilitiesTransfers'
instance GHC.Classes.Eq StripeAPI.Types.AccountCapabilities.AccountCapabilitiesAcssDebitPayments'
instance GHC.Show.Show StripeAPI.Types.AccountCapabilities.AccountCapabilitiesAcssDebitPayments'
instance GHC.Classes.Eq StripeAPI.Types.AccountCapabilities.AccountCapabilitiesAfterpayClearpayPayments'
instance GHC.Show.Show StripeAPI.Types.AccountCapabilities.AccountCapabilitiesAfterpayClearpayPayments'
instance GHC.Classes.Eq StripeAPI.Types.AccountCapabilities.AccountCapabilitiesAuBecsDebitPayments'
instance GHC.Show.Show StripeAPI.Types.AccountCapabilities.AccountCapabilitiesAuBecsDebitPayments'
instance GHC.Classes.Eq StripeAPI.Types.AccountCapabilities.AccountCapabilitiesBacsDebitPayments'
instance GHC.Show.Show StripeAPI.Types.AccountCapabilities.AccountCapabilitiesBacsDebitPayments'
instance GHC.Classes.Eq StripeAPI.Types.AccountCapabilities.AccountCapabilitiesBancontactPayments'
instance GHC.Show.Show StripeAPI.Types.AccountCapabilities.AccountCapabilitiesBancontactPayments'
instance GHC.Classes.Eq StripeAPI.Types.AccountCapabilities.AccountCapabilitiesCardIssuing'
instance GHC.Show.Show StripeAPI.Types.AccountCapabilities.AccountCapabilitiesCardIssuing'
instance GHC.Classes.Eq StripeAPI.Types.AccountCapabilities.AccountCapabilitiesCardPayments'
instance GHC.Show.Show StripeAPI.Types.AccountCapabilities.AccountCapabilitiesCardPayments'
instance GHC.Classes.Eq StripeAPI.Types.AccountCapabilities.AccountCapabilitiesCartesBancairesPayments'
instance GHC.Show.Show StripeAPI.Types.AccountCapabilities.AccountCapabilitiesCartesBancairesPayments'
instance GHC.Classes.Eq StripeAPI.Types.AccountCapabilities.AccountCapabilitiesEpsPayments'
instance GHC.Show.Show StripeAPI.Types.AccountCapabilities.AccountCapabilitiesEpsPayments'
instance GHC.Classes.Eq StripeAPI.Types.AccountCapabilities.AccountCapabilitiesFpxPayments'
instance GHC.Show.Show StripeAPI.Types.AccountCapabilities.AccountCapabilitiesFpxPayments'
instance GHC.Classes.Eq StripeAPI.Types.AccountCapabilities.AccountCapabilitiesGiropayPayments'
instance GHC.Show.Show StripeAPI.Types.AccountCapabilities.AccountCapabilitiesGiropayPayments'
instance GHC.Classes.Eq StripeAPI.Types.AccountCapabilities.AccountCapabilitiesGrabpayPayments'
instance GHC.Show.Show StripeAPI.Types.AccountCapabilities.AccountCapabilitiesGrabpayPayments'
instance GHC.Classes.Eq StripeAPI.Types.AccountCapabilities.AccountCapabilitiesIdealPayments'
instance GHC.Show.Show StripeAPI.Types.AccountCapabilities.AccountCapabilitiesIdealPayments'
instance GHC.Classes.Eq StripeAPI.Types.AccountCapabilities.AccountCapabilitiesJcbPayments'
instance GHC.Show.Show StripeAPI.Types.AccountCapabilities.AccountCapabilitiesJcbPayments'
instance GHC.Classes.Eq StripeAPI.Types.AccountCapabilities.AccountCapabilitiesLegacyPayments'
instance GHC.Show.Show StripeAPI.Types.AccountCapabilities.AccountCapabilitiesLegacyPayments'
instance GHC.Classes.Eq StripeAPI.Types.AccountCapabilities.AccountCapabilitiesOxxoPayments'
instance GHC.Show.Show StripeAPI.Types.AccountCapabilities.AccountCapabilitiesOxxoPayments'
instance GHC.Classes.Eq StripeAPI.Types.AccountCapabilities.AccountCapabilitiesP24Payments'
instance GHC.Show.Show StripeAPI.Types.AccountCapabilities.AccountCapabilitiesP24Payments'
instance GHC.Classes.Eq StripeAPI.Types.AccountCapabilities.AccountCapabilitiesSepaDebitPayments'
instance GHC.Show.Show StripeAPI.Types.AccountCapabilities.AccountCapabilitiesSepaDebitPayments'
instance GHC.Classes.Eq StripeAPI.Types.AccountCapabilities.AccountCapabilitiesSofortPayments'
instance GHC.Show.Show StripeAPI.Types.AccountCapabilities.AccountCapabilitiesSofortPayments'
instance GHC.Classes.Eq StripeAPI.Types.AccountCapabilities.AccountCapabilitiesTaxReportingUs_1099K'
instance GHC.Show.Show StripeAPI.Types.AccountCapabilities.AccountCapabilitiesTaxReportingUs_1099K'
instance GHC.Classes.Eq StripeAPI.Types.AccountCapabilities.AccountCapabilitiesTaxReportingUs_1099Misc'
instance GHC.Show.Show StripeAPI.Types.AccountCapabilities.AccountCapabilitiesTaxReportingUs_1099Misc'
instance GHC.Classes.Eq StripeAPI.Types.AccountCapabilities.AccountCapabilitiesTransfers'
instance GHC.Show.Show StripeAPI.Types.AccountCapabilities.AccountCapabilitiesTransfers'
instance GHC.Classes.Eq StripeAPI.Types.AccountCapabilities.AccountCapabilities
instance GHC.Show.Show StripeAPI.Types.AccountCapabilities.AccountCapabilities
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.AccountCapabilities.AccountCapabilities
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.AccountCapabilities.AccountCapabilities
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.AccountCapabilities.AccountCapabilitiesTransfers'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.AccountCapabilities.AccountCapabilitiesTransfers'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.AccountCapabilities.AccountCapabilitiesTaxReportingUs_1099Misc'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.AccountCapabilities.AccountCapabilitiesTaxReportingUs_1099Misc'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.AccountCapabilities.AccountCapabilitiesTaxReportingUs_1099K'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.AccountCapabilities.AccountCapabilitiesTaxReportingUs_1099K'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.AccountCapabilities.AccountCapabilitiesSofortPayments'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.AccountCapabilities.AccountCapabilitiesSofortPayments'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.AccountCapabilities.AccountCapabilitiesSepaDebitPayments'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.AccountCapabilities.AccountCapabilitiesSepaDebitPayments'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.AccountCapabilities.AccountCapabilitiesP24Payments'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.AccountCapabilities.AccountCapabilitiesP24Payments'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.AccountCapabilities.AccountCapabilitiesOxxoPayments'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.AccountCapabilities.AccountCapabilitiesOxxoPayments'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.AccountCapabilities.AccountCapabilitiesLegacyPayments'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.AccountCapabilities.AccountCapabilitiesLegacyPayments'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.AccountCapabilities.AccountCapabilitiesJcbPayments'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.AccountCapabilities.AccountCapabilitiesJcbPayments'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.AccountCapabilities.AccountCapabilitiesIdealPayments'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.AccountCapabilities.AccountCapabilitiesIdealPayments'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.AccountCapabilities.AccountCapabilitiesGrabpayPayments'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.AccountCapabilities.AccountCapabilitiesGrabpayPayments'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.AccountCapabilities.AccountCapabilitiesGiropayPayments'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.AccountCapabilities.AccountCapabilitiesGiropayPayments'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.AccountCapabilities.AccountCapabilitiesFpxPayments'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.AccountCapabilities.AccountCapabilitiesFpxPayments'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.AccountCapabilities.AccountCapabilitiesEpsPayments'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.AccountCapabilities.AccountCapabilitiesEpsPayments'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.AccountCapabilities.AccountCapabilitiesCartesBancairesPayments'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.AccountCapabilities.AccountCapabilitiesCartesBancairesPayments'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.AccountCapabilities.AccountCapabilitiesCardPayments'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.AccountCapabilities.AccountCapabilitiesCardPayments'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.AccountCapabilities.AccountCapabilitiesCardIssuing'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.AccountCapabilities.AccountCapabilitiesCardIssuing'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.AccountCapabilities.AccountCapabilitiesBancontactPayments'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.AccountCapabilities.AccountCapabilitiesBancontactPayments'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.AccountCapabilities.AccountCapabilitiesBacsDebitPayments'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.AccountCapabilities.AccountCapabilitiesBacsDebitPayments'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.AccountCapabilities.AccountCapabilitiesAuBecsDebitPayments'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.AccountCapabilities.AccountCapabilitiesAuBecsDebitPayments'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.AccountCapabilities.AccountCapabilitiesAfterpayClearpayPayments'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.AccountCapabilities.AccountCapabilitiesAfterpayClearpayPayments'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.AccountCapabilities.AccountCapabilitiesAcssDebitPayments'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.AccountCapabilities.AccountCapabilitiesAcssDebitPayments'
-- | Contains the types generated from the schema AccountController
module StripeAPI.Types.AccountController
-- | Defines the object schema located at
-- components.schemas.account_controller in the specification.
data AccountController
AccountController :: Maybe Bool -> Maybe AccountControllerType' -> AccountController
-- | is_controller: `true` if the Connect application retrieving the
-- resource controls the account and can therefore exercise platform
-- controls. Otherwise, this field is null.
[accountControllerIsController] :: AccountController -> Maybe Bool
-- | type: The controller type. Can be `application`, if a Connect
-- application controls the account, or `account`, if the account
-- controls itself.
[accountControllerType] :: AccountController -> Maybe AccountControllerType'
-- | Create a new AccountController with all required fields.
mkAccountController :: AccountController
-- | Defines the enum schema located at
-- components.schemas.account_controller.properties.type in the
-- specification.
--
-- The controller type. Can be `application`, if a Connect application
-- controls the account, or `account`, if the account controls itself.
data AccountControllerType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
AccountControllerType'Other :: Value -> AccountControllerType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
AccountControllerType'Typed :: Text -> AccountControllerType'
-- | Represents the JSON value "account"
AccountControllerType'EnumAccount :: AccountControllerType'
-- | Represents the JSON value "application"
AccountControllerType'EnumApplication :: AccountControllerType'
instance GHC.Classes.Eq StripeAPI.Types.AccountController.AccountControllerType'
instance GHC.Show.Show StripeAPI.Types.AccountController.AccountControllerType'
instance GHC.Classes.Eq StripeAPI.Types.AccountController.AccountController
instance GHC.Show.Show StripeAPI.Types.AccountController.AccountController
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.AccountController.AccountController
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.AccountController.AccountController
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.AccountController.AccountControllerType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.AccountController.AccountControllerType'
-- | Contains the types generated from the schema AccountDashboardSettings
module StripeAPI.Types.AccountDashboardSettings
-- | Defines the object schema located at
-- components.schemas.account_dashboard_settings in the
-- specification.
data AccountDashboardSettings
AccountDashboardSettings :: Maybe Text -> Maybe Text -> AccountDashboardSettings
-- | display_name: The display name for this account. This is used on the
-- Stripe Dashboard to differentiate between accounts.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[accountDashboardSettingsDisplayName] :: AccountDashboardSettings -> Maybe Text
-- | timezone: The timezone used in the Stripe Dashboard for this account.
-- A list of possible time zone values is maintained at the IANA Time
-- Zone Database.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[accountDashboardSettingsTimezone] :: AccountDashboardSettings -> Maybe Text
-- | Create a new AccountDashboardSettings with all required fields.
mkAccountDashboardSettings :: AccountDashboardSettings
instance GHC.Classes.Eq StripeAPI.Types.AccountDashboardSettings.AccountDashboardSettings
instance GHC.Show.Show StripeAPI.Types.AccountDashboardSettings.AccountDashboardSettings
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.AccountDashboardSettings.AccountDashboardSettings
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.AccountDashboardSettings.AccountDashboardSettings
-- | Contains the types generated from the schema
-- AccountCardPaymentsSettings
module StripeAPI.Types.AccountCardPaymentsSettings
-- | Defines the object schema located at
-- components.schemas.account_card_payments_settings in the
-- specification.
data AccountCardPaymentsSettings
AccountCardPaymentsSettings :: Maybe AccountDeclineChargeOn -> Maybe Text -> AccountCardPaymentsSettings
-- | decline_on:
[accountCardPaymentsSettingsDeclineOn] :: AccountCardPaymentsSettings -> Maybe AccountDeclineChargeOn
-- | statement_descriptor_prefix: The default text that appears on credit
-- card statements when a charge is made. This field prefixes any dynamic
-- `statement_descriptor` specified on the charge.
-- `statement_descriptor_prefix` is useful for maximizing descriptor
-- space for the dynamic portion.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[accountCardPaymentsSettingsStatementDescriptorPrefix] :: AccountCardPaymentsSettings -> Maybe Text
-- | Create a new AccountCardPaymentsSettings with all required
-- fields.
mkAccountCardPaymentsSettings :: AccountCardPaymentsSettings
instance GHC.Classes.Eq StripeAPI.Types.AccountCardPaymentsSettings.AccountCardPaymentsSettings
instance GHC.Show.Show StripeAPI.Types.AccountCardPaymentsSettings.AccountCardPaymentsSettings
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.AccountCardPaymentsSettings.AccountCardPaymentsSettings
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.AccountCardPaymentsSettings.AccountCardPaymentsSettings
-- | Contains the types generated from the schema AccountDeclineChargeOn
module StripeAPI.Types.AccountDeclineChargeOn
-- | Defines the object schema located at
-- components.schemas.account_decline_charge_on in the
-- specification.
data AccountDeclineChargeOn
AccountDeclineChargeOn :: Bool -> Bool -> AccountDeclineChargeOn
-- | avs_failure: Whether Stripe automatically declines charges with an
-- incorrect ZIP or postal code. This setting only applies when a ZIP or
-- postal code is provided and they fail bank verification.
[accountDeclineChargeOnAvsFailure] :: AccountDeclineChargeOn -> Bool
-- | cvc_failure: Whether Stripe automatically declines charges with an
-- incorrect CVC. This setting only applies when a CVC is provided and it
-- fails bank verification.
[accountDeclineChargeOnCvcFailure] :: AccountDeclineChargeOn -> Bool
-- | Create a new AccountDeclineChargeOn with all required fields.
mkAccountDeclineChargeOn :: Bool -> Bool -> AccountDeclineChargeOn
instance GHC.Classes.Eq StripeAPI.Types.AccountDeclineChargeOn.AccountDeclineChargeOn
instance GHC.Show.Show StripeAPI.Types.AccountDeclineChargeOn.AccountDeclineChargeOn
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.AccountDeclineChargeOn.AccountDeclineChargeOn
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.AccountDeclineChargeOn.AccountDeclineChargeOn
-- | Contains the types generated from the schema AccountLink
module StripeAPI.Types.AccountLink
-- | Defines the object schema located at
-- components.schemas.account_link in the specification.
--
-- Account Links are the means by which a Connect platform grants a
-- connected account permission to access Stripe-hosted applications,
-- such as Connect Onboarding.
--
-- Related guide: Connect Onboarding.
data AccountLink
AccountLink :: Int -> Int -> Text -> AccountLink
-- | created: Time at which the object was created. Measured in seconds
-- since the Unix epoch.
[accountLinkCreated] :: AccountLink -> Int
-- | expires_at: The timestamp at which this account link will expire.
[accountLinkExpiresAt] :: AccountLink -> Int
-- | url: The URL for the account link.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[accountLinkUrl] :: AccountLink -> Text
-- | Create a new AccountLink with all required fields.
mkAccountLink :: Int -> Int -> Text -> AccountLink
instance GHC.Classes.Eq StripeAPI.Types.AccountLink.AccountLink
instance GHC.Show.Show StripeAPI.Types.AccountLink.AccountLink
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.AccountLink.AccountLink
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.AccountLink.AccountLink
-- | Contains the types generated from the schema AccountPaymentsSettings
module StripeAPI.Types.AccountPaymentsSettings
-- | Defines the object schema located at
-- components.schemas.account_payments_settings in the
-- specification.
data AccountPaymentsSettings
AccountPaymentsSettings :: Maybe Text -> Maybe Text -> Maybe Text -> AccountPaymentsSettings
-- | statement_descriptor: The default text that appears on credit card
-- statements when a charge is made. This field prefixes any dynamic
-- `statement_descriptor` specified on the charge.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[accountPaymentsSettingsStatementDescriptor] :: AccountPaymentsSettings -> Maybe Text
-- | statement_descriptor_kana: The Kana variation of the default text that
-- appears on credit card statements when a charge is made (Japan only)
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[accountPaymentsSettingsStatementDescriptorKana] :: AccountPaymentsSettings -> Maybe Text
-- | statement_descriptor_kanji: The Kanji variation of the default text
-- that appears on credit card statements when a charge is made (Japan
-- only)
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[accountPaymentsSettingsStatementDescriptorKanji] :: AccountPaymentsSettings -> Maybe Text
-- | Create a new AccountPaymentsSettings with all required fields.
mkAccountPaymentsSettings :: AccountPaymentsSettings
instance GHC.Classes.Eq StripeAPI.Types.AccountPaymentsSettings.AccountPaymentsSettings
instance GHC.Show.Show StripeAPI.Types.AccountPaymentsSettings.AccountPaymentsSettings
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.AccountPaymentsSettings.AccountPaymentsSettings
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.AccountPaymentsSettings.AccountPaymentsSettings
-- | Contains the types generated from the schema AccountRequirements
module StripeAPI.Types.AccountRequirements
-- | Defines the object schema located at
-- components.schemas.account_requirements in the specification.
data AccountRequirements
AccountRequirements :: Maybe Int -> Maybe [Text] -> Maybe Text -> Maybe [AccountRequirementsError] -> Maybe [Text] -> Maybe [Text] -> Maybe [Text] -> AccountRequirements
-- | current_deadline: Date by which the fields in `currently_due` must be
-- collected to keep the account enabled. These fields may disable the
-- account sooner if the next threshold is reached before they are
-- collected.
[accountRequirementsCurrentDeadline] :: AccountRequirements -> Maybe Int
-- | currently_due: Fields that need to be collected to keep the account
-- enabled. If not collected by `current_deadline`, these fields appear
-- in `past_due` as well, and the account is disabled.
[accountRequirementsCurrentlyDue] :: AccountRequirements -> Maybe [Text]
-- | disabled_reason: If the account is disabled, this string describes
-- why. Can be `requirements.past_due`,
-- `requirements.pending_verification`, `listed`, `platform_paused`,
-- `rejected.fraud`, `rejected.listed`, `rejected.terms_of_service`,
-- `rejected.other`, `under_review`, or `other`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[accountRequirementsDisabledReason] :: AccountRequirements -> Maybe Text
-- | errors: Fields that are `currently_due` and need to be collected again
-- because validation or verification failed.
[accountRequirementsErrors] :: AccountRequirements -> Maybe [AccountRequirementsError]
-- | eventually_due: Fields that need to be collected assuming all volume
-- thresholds are reached. As they become required, they appear in
-- `currently_due` as well, and `current_deadline` becomes set.
[accountRequirementsEventuallyDue] :: AccountRequirements -> Maybe [Text]
-- | past_due: Fields that weren't collected by `current_deadline`. These
-- fields need to be collected to enable the account.
[accountRequirementsPastDue] :: AccountRequirements -> Maybe [Text]
-- | pending_verification: Fields that may become required depending on the
-- results of verification or review. Will be an empty array unless an
-- asynchronous verification is pending. If verification fails, these
-- fields move to `eventually_due`, `currently_due`, or `past_due`.
[accountRequirementsPendingVerification] :: AccountRequirements -> Maybe [Text]
-- | Create a new AccountRequirements with all required fields.
mkAccountRequirements :: AccountRequirements
instance GHC.Classes.Eq StripeAPI.Types.AccountRequirements.AccountRequirements
instance GHC.Show.Show StripeAPI.Types.AccountRequirements.AccountRequirements
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.AccountRequirements.AccountRequirements
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.AccountRequirements.AccountRequirements
-- | Contains the types generated from the schema
-- AccountCapabilityRequirements
module StripeAPI.Types.AccountCapabilityRequirements
-- | Defines the object schema located at
-- components.schemas.account_capability_requirements in the
-- specification.
data AccountCapabilityRequirements
AccountCapabilityRequirements :: Maybe Int -> [Text] -> Maybe Text -> [AccountRequirementsError] -> [Text] -> [Text] -> [Text] -> AccountCapabilityRequirements
-- | current_deadline: Date by which the fields in `currently_due` must be
-- collected to keep the capability enabled for the account. These fields
-- may disable the capability sooner if the next threshold is reached
-- before they are collected.
[accountCapabilityRequirementsCurrentDeadline] :: AccountCapabilityRequirements -> Maybe Int
-- | currently_due: Fields that need to be collected to keep the capability
-- enabled. If not collected by `current_deadline`, these fields appear
-- in `past_due` as well, and the capability is disabled.
[accountCapabilityRequirementsCurrentlyDue] :: AccountCapabilityRequirements -> [Text]
-- | disabled_reason: If the capability is disabled, this string describes
-- why. Can be `requirements.past_due`,
-- `requirements.pending_verification`, `listed`, `platform_paused`,
-- `rejected.fraud`, `rejected.listed`, `rejected.terms_of_service`,
-- `rejected.other`, `under_review`, or `other`.
--
-- `rejected.unsupported_business` means that the account's business is
-- not supported by the capability. For example, payment methods may
-- restrict the businesses they support in their terms of service:
--
--
--
-- If you believe that the rejection is in error, please contact
-- support@stripe.com for assistance.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[accountCapabilityRequirementsDisabledReason] :: AccountCapabilityRequirements -> Maybe Text
-- | errors: Fields that are `currently_due` and need to be collected again
-- because validation or verification failed.
[accountCapabilityRequirementsErrors] :: AccountCapabilityRequirements -> [AccountRequirementsError]
-- | eventually_due: Fields that need to be collected assuming all volume
-- thresholds are reached. As they become required, they appear in
-- `currently_due` as well, and `current_deadline` becomes set.
[accountCapabilityRequirementsEventuallyDue] :: AccountCapabilityRequirements -> [Text]
-- | past_due: Fields that weren't collected by `current_deadline`. These
-- fields need to be collected to enable the capability on the account.
[accountCapabilityRequirementsPastDue] :: AccountCapabilityRequirements -> [Text]
-- | pending_verification: Fields that may become required depending on the
-- results of verification or review. Will be an empty array unless an
-- asynchronous verification is pending. If verification fails, these
-- fields move to `eventually_due`, `currently_due`, or `past_due`.
[accountCapabilityRequirementsPendingVerification] :: AccountCapabilityRequirements -> [Text]
-- | Create a new AccountCapabilityRequirements with all required
-- fields.
mkAccountCapabilityRequirements :: [Text] -> [AccountRequirementsError] -> [Text] -> [Text] -> [Text] -> AccountCapabilityRequirements
instance GHC.Classes.Eq StripeAPI.Types.AccountCapabilityRequirements.AccountCapabilityRequirements
instance GHC.Show.Show StripeAPI.Types.AccountCapabilityRequirements.AccountCapabilityRequirements
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.AccountCapabilityRequirements.AccountCapabilityRequirements
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.AccountCapabilityRequirements.AccountCapabilityRequirements
-- | Contains the types generated from the schema AccountRequirementsError
module StripeAPI.Types.AccountRequirementsError
-- | Defines the object schema located at
-- components.schemas.account_requirements_error in the
-- specification.
data AccountRequirementsError
AccountRequirementsError :: AccountRequirementsErrorCode' -> Text -> Text -> AccountRequirementsError
-- | code: The code for the type of error.
[accountRequirementsErrorCode] :: AccountRequirementsError -> AccountRequirementsErrorCode'
-- | reason: An informative message that indicates the error type and
-- provides additional details about the error.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[accountRequirementsErrorReason] :: AccountRequirementsError -> Text
-- | requirement: The specific user onboarding requirement field (in the
-- requirements hash) that needs to be resolved.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[accountRequirementsErrorRequirement] :: AccountRequirementsError -> Text
-- | Create a new AccountRequirementsError with all required fields.
mkAccountRequirementsError :: AccountRequirementsErrorCode' -> Text -> Text -> AccountRequirementsError
-- | Defines the enum schema located at
-- components.schemas.account_requirements_error.properties.code
-- in the specification.
--
-- The code for the type of error.
data AccountRequirementsErrorCode'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
AccountRequirementsErrorCode'Other :: Value -> AccountRequirementsErrorCode'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
AccountRequirementsErrorCode'Typed :: Text -> AccountRequirementsErrorCode'
-- | Represents the JSON value
-- "invalid_address_city_state_postal_code"
AccountRequirementsErrorCode'EnumInvalidAddressCityStatePostalCode :: AccountRequirementsErrorCode'
-- | Represents the JSON value "invalid_street_address"
AccountRequirementsErrorCode'EnumInvalidStreetAddress :: AccountRequirementsErrorCode'
-- | Represents the JSON value "invalid_value_other"
AccountRequirementsErrorCode'EnumInvalidValueOther :: AccountRequirementsErrorCode'
-- | Represents the JSON value
-- "verification_document_address_mismatch"
AccountRequirementsErrorCode'EnumVerificationDocumentAddressMismatch :: AccountRequirementsErrorCode'
-- | Represents the JSON value
-- "verification_document_address_missing"
AccountRequirementsErrorCode'EnumVerificationDocumentAddressMissing :: AccountRequirementsErrorCode'
-- | Represents the JSON value "verification_document_corrupt"
AccountRequirementsErrorCode'EnumVerificationDocumentCorrupt :: AccountRequirementsErrorCode'
-- | Represents the JSON value
-- "verification_document_country_not_supported"
AccountRequirementsErrorCode'EnumVerificationDocumentCountryNotSupported :: AccountRequirementsErrorCode'
-- | Represents the JSON value
-- "verification_document_dob_mismatch"
AccountRequirementsErrorCode'EnumVerificationDocumentDobMismatch :: AccountRequirementsErrorCode'
-- | Represents the JSON value
-- "verification_document_duplicate_type"
AccountRequirementsErrorCode'EnumVerificationDocumentDuplicateType :: AccountRequirementsErrorCode'
-- | Represents the JSON value "verification_document_expired"
AccountRequirementsErrorCode'EnumVerificationDocumentExpired :: AccountRequirementsErrorCode'
-- | Represents the JSON value "verification_document_failed_copy"
AccountRequirementsErrorCode'EnumVerificationDocumentFailedCopy :: AccountRequirementsErrorCode'
-- | Represents the JSON value
-- "verification_document_failed_greyscale"
AccountRequirementsErrorCode'EnumVerificationDocumentFailedGreyscale :: AccountRequirementsErrorCode'
-- | Represents the JSON value
-- "verification_document_failed_other"
AccountRequirementsErrorCode'EnumVerificationDocumentFailedOther :: AccountRequirementsErrorCode'
-- | Represents the JSON value
-- "verification_document_failed_test_mode"
AccountRequirementsErrorCode'EnumVerificationDocumentFailedTestMode :: AccountRequirementsErrorCode'
-- | Represents the JSON value "verification_document_fraudulent"
AccountRequirementsErrorCode'EnumVerificationDocumentFraudulent :: AccountRequirementsErrorCode'
-- | Represents the JSON value
-- "verification_document_id_number_mismatch"
AccountRequirementsErrorCode'EnumVerificationDocumentIdNumberMismatch :: AccountRequirementsErrorCode'
-- | Represents the JSON value
-- "verification_document_id_number_missing"
AccountRequirementsErrorCode'EnumVerificationDocumentIdNumberMissing :: AccountRequirementsErrorCode'
-- | Represents the JSON value "verification_document_incomplete"
AccountRequirementsErrorCode'EnumVerificationDocumentIncomplete :: AccountRequirementsErrorCode'
-- | Represents the JSON value "verification_document_invalid"
AccountRequirementsErrorCode'EnumVerificationDocumentInvalid :: AccountRequirementsErrorCode'
-- | Represents the JSON value
-- "verification_document_issue_or_expiry_date_missing"
AccountRequirementsErrorCode'EnumVerificationDocumentIssueOrExpiryDateMissing :: AccountRequirementsErrorCode'
-- | Represents the JSON value "verification_document_manipulated"
AccountRequirementsErrorCode'EnumVerificationDocumentManipulated :: AccountRequirementsErrorCode'
-- | Represents the JSON value
-- "verification_document_missing_back"
AccountRequirementsErrorCode'EnumVerificationDocumentMissingBack :: AccountRequirementsErrorCode'
-- | Represents the JSON value
-- "verification_document_missing_front"
AccountRequirementsErrorCode'EnumVerificationDocumentMissingFront :: AccountRequirementsErrorCode'
-- | Represents the JSON value
-- "verification_document_name_mismatch"
AccountRequirementsErrorCode'EnumVerificationDocumentNameMismatch :: AccountRequirementsErrorCode'
-- | Represents the JSON value
-- "verification_document_name_missing"
AccountRequirementsErrorCode'EnumVerificationDocumentNameMissing :: AccountRequirementsErrorCode'
-- | Represents the JSON value
-- "verification_document_nationality_mismatch"
AccountRequirementsErrorCode'EnumVerificationDocumentNationalityMismatch :: AccountRequirementsErrorCode'
-- | Represents the JSON value
-- "verification_document_not_readable"
AccountRequirementsErrorCode'EnumVerificationDocumentNotReadable :: AccountRequirementsErrorCode'
-- | Represents the JSON value "verification_document_not_signed"
AccountRequirementsErrorCode'EnumVerificationDocumentNotSigned :: AccountRequirementsErrorCode'
-- | Represents the JSON value
-- "verification_document_not_uploaded"
AccountRequirementsErrorCode'EnumVerificationDocumentNotUploaded :: AccountRequirementsErrorCode'
-- | Represents the JSON value
-- "verification_document_photo_mismatch"
AccountRequirementsErrorCode'EnumVerificationDocumentPhotoMismatch :: AccountRequirementsErrorCode'
-- | Represents the JSON value "verification_document_too_large"
AccountRequirementsErrorCode'EnumVerificationDocumentTooLarge :: AccountRequirementsErrorCode'
-- | Represents the JSON value
-- "verification_document_type_not_supported"
AccountRequirementsErrorCode'EnumVerificationDocumentTypeNotSupported :: AccountRequirementsErrorCode'
-- | Represents the JSON value "verification_failed_address_match"
AccountRequirementsErrorCode'EnumVerificationFailedAddressMatch :: AccountRequirementsErrorCode'
-- | Represents the JSON value
-- "verification_failed_business_iec_number"
AccountRequirementsErrorCode'EnumVerificationFailedBusinessIecNumber :: AccountRequirementsErrorCode'
-- | Represents the JSON value
-- "verification_failed_document_match"
AccountRequirementsErrorCode'EnumVerificationFailedDocumentMatch :: AccountRequirementsErrorCode'
-- | Represents the JSON value
-- "verification_failed_id_number_match"
AccountRequirementsErrorCode'EnumVerificationFailedIdNumberMatch :: AccountRequirementsErrorCode'
-- | Represents the JSON value
-- "verification_failed_keyed_identity"
AccountRequirementsErrorCode'EnumVerificationFailedKeyedIdentity :: AccountRequirementsErrorCode'
-- | Represents the JSON value "verification_failed_keyed_match"
AccountRequirementsErrorCode'EnumVerificationFailedKeyedMatch :: AccountRequirementsErrorCode'
-- | Represents the JSON value "verification_failed_name_match"
AccountRequirementsErrorCode'EnumVerificationFailedNameMatch :: AccountRequirementsErrorCode'
-- | Represents the JSON value "verification_failed_other"
AccountRequirementsErrorCode'EnumVerificationFailedOther :: AccountRequirementsErrorCode'
-- | Represents the JSON value "verification_failed_tax_id_match"
AccountRequirementsErrorCode'EnumVerificationFailedTaxIdMatch :: AccountRequirementsErrorCode'
-- | Represents the JSON value
-- "verification_failed_tax_id_not_issued"
AccountRequirementsErrorCode'EnumVerificationFailedTaxIdNotIssued :: AccountRequirementsErrorCode'
-- | Represents the JSON value "verification_missing_executives"
AccountRequirementsErrorCode'EnumVerificationMissingExecutives :: AccountRequirementsErrorCode'
-- | Represents the JSON value "verification_missing_owners"
AccountRequirementsErrorCode'EnumVerificationMissingOwners :: AccountRequirementsErrorCode'
-- | Represents the JSON value
-- "verification_requires_additional_memorandum_of_associations"
AccountRequirementsErrorCode'EnumVerificationRequiresAdditionalMemorandumOfAssociations :: AccountRequirementsErrorCode'
instance GHC.Classes.Eq StripeAPI.Types.AccountRequirementsError.AccountRequirementsErrorCode'
instance GHC.Show.Show StripeAPI.Types.AccountRequirementsError.AccountRequirementsErrorCode'
instance GHC.Classes.Eq StripeAPI.Types.AccountRequirementsError.AccountRequirementsError
instance GHC.Show.Show StripeAPI.Types.AccountRequirementsError.AccountRequirementsError
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.AccountRequirementsError.AccountRequirementsError
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.AccountRequirementsError.AccountRequirementsError
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.AccountRequirementsError.AccountRequirementsErrorCode'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.AccountRequirementsError.AccountRequirementsErrorCode'
-- | Contains the types generated from the schema
-- AccountSepaDebitPaymentsSettings
module StripeAPI.Types.AccountSepaDebitPaymentsSettings
-- | Defines the object schema located at
-- components.schemas.account_sepa_debit_payments_settings in
-- the specification.
data AccountSepaDebitPaymentsSettings
AccountSepaDebitPaymentsSettings :: Maybe Text -> AccountSepaDebitPaymentsSettings
-- | creditor_id: SEPA creditor identifier that identifies the company
-- making the payment.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[accountSepaDebitPaymentsSettingsCreditorId] :: AccountSepaDebitPaymentsSettings -> Maybe Text
-- | Create a new AccountSepaDebitPaymentsSettings with all required
-- fields.
mkAccountSepaDebitPaymentsSettings :: AccountSepaDebitPaymentsSettings
instance GHC.Classes.Eq StripeAPI.Types.AccountSepaDebitPaymentsSettings.AccountSepaDebitPaymentsSettings
instance GHC.Show.Show StripeAPI.Types.AccountSepaDebitPaymentsSettings.AccountSepaDebitPaymentsSettings
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.AccountSepaDebitPaymentsSettings.AccountSepaDebitPaymentsSettings
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.AccountSepaDebitPaymentsSettings.AccountSepaDebitPaymentsSettings
-- | Contains the types generated from the schema AccountSettings
module StripeAPI.Types.AccountSettings
-- | Defines the object schema located at
-- components.schemas.account_settings in the specification.
data AccountSettings
AccountSettings :: Maybe AccountBacsDebitPaymentsSettings -> AccountBrandingSettings -> Maybe AccountCardIssuingSettings -> AccountCardPaymentsSettings -> AccountDashboardSettings -> AccountPaymentsSettings -> Maybe AccountPayoutSettings -> Maybe AccountSepaDebitPaymentsSettings -> AccountSettings
-- | bacs_debit_payments:
[accountSettingsBacsDebitPayments] :: AccountSettings -> Maybe AccountBacsDebitPaymentsSettings
-- | branding:
[accountSettingsBranding] :: AccountSettings -> AccountBrandingSettings
-- | card_issuing:
[accountSettingsCardIssuing] :: AccountSettings -> Maybe AccountCardIssuingSettings
-- | card_payments:
[accountSettingsCardPayments] :: AccountSettings -> AccountCardPaymentsSettings
-- | dashboard:
[accountSettingsDashboard] :: AccountSettings -> AccountDashboardSettings
-- | payments:
[accountSettingsPayments] :: AccountSettings -> AccountPaymentsSettings
-- | payouts:
[accountSettingsPayouts] :: AccountSettings -> Maybe AccountPayoutSettings
-- | sepa_debit_payments:
[accountSettingsSepaDebitPayments] :: AccountSettings -> Maybe AccountSepaDebitPaymentsSettings
-- | Create a new AccountSettings with all required fields.
mkAccountSettings :: AccountBrandingSettings -> AccountCardPaymentsSettings -> AccountDashboardSettings -> AccountPaymentsSettings -> AccountSettings
instance GHC.Classes.Eq StripeAPI.Types.AccountSettings.AccountSettings
instance GHC.Show.Show StripeAPI.Types.AccountSettings.AccountSettings
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.AccountSettings.AccountSettings
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.AccountSettings.AccountSettings
-- | Contains the types generated from the schema AccountTosAcceptance
module StripeAPI.Types.AccountTosAcceptance
-- | Defines the object schema located at
-- components.schemas.account_tos_acceptance in the
-- specification.
data AccountTosAcceptance
AccountTosAcceptance :: Maybe Int -> Maybe Text -> Maybe Text -> Maybe Text -> AccountTosAcceptance
-- | date: The Unix timestamp marking when the account representative
-- accepted their service agreement
[accountTosAcceptanceDate] :: AccountTosAcceptance -> Maybe Int
-- | ip: The IP address from which the account representative accepted
-- their service agreement
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[accountTosAcceptanceIp] :: AccountTosAcceptance -> Maybe Text
-- | service_agreement: The user's service agreement type
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[accountTosAcceptanceServiceAgreement] :: AccountTosAcceptance -> Maybe Text
-- | user_agent: The user agent of the browser from which the account
-- representative accepted their service agreement
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[accountTosAcceptanceUserAgent] :: AccountTosAcceptance -> Maybe Text
-- | Create a new AccountTosAcceptance with all required fields.
mkAccountTosAcceptance :: AccountTosAcceptance
instance GHC.Classes.Eq StripeAPI.Types.AccountTosAcceptance.AccountTosAcceptance
instance GHC.Show.Show StripeAPI.Types.AccountTosAcceptance.AccountTosAcceptance
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.AccountTosAcceptance.AccountTosAcceptance
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.AccountTosAcceptance.AccountTosAcceptance
-- | Contains the types generated from the schema AccountBusinessProfile
module StripeAPI.Types.AccountBusinessProfile
-- | Defines the object schema located at
-- components.schemas.account_business_profile in the
-- specification.
data AccountBusinessProfile
AccountBusinessProfile :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe AccountBusinessProfileSupportAddress' -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> AccountBusinessProfile
-- | mcc: The merchant category code for the account. MCCs are used
-- to classify businesses based on the goods or services they provide.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[accountBusinessProfileMcc] :: AccountBusinessProfile -> Maybe Text
-- | name: The customer-facing business name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[accountBusinessProfileName] :: AccountBusinessProfile -> Maybe Text
-- | product_description: Internal-only description of the product sold or
-- service provided by the business. It's used by Stripe for risk and
-- underwriting purposes.
--
-- Constraints:
--
--
-- - Maximum length of 40000
--
[accountBusinessProfileProductDescription] :: AccountBusinessProfile -> Maybe Text
-- | support_address: A publicly available mailing address for sending
-- support issues to.
[accountBusinessProfileSupportAddress] :: AccountBusinessProfile -> Maybe AccountBusinessProfileSupportAddress'
-- | support_email: A publicly available email address for sending support
-- issues to.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[accountBusinessProfileSupportEmail] :: AccountBusinessProfile -> Maybe Text
-- | support_phone: A publicly available phone number to call with support
-- issues.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[accountBusinessProfileSupportPhone] :: AccountBusinessProfile -> Maybe Text
-- | support_url: A publicly available website for handling support issues.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[accountBusinessProfileSupportUrl] :: AccountBusinessProfile -> Maybe Text
-- | url: The business's publicly available website.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[accountBusinessProfileUrl] :: AccountBusinessProfile -> Maybe Text
-- | Create a new AccountBusinessProfile with all required fields.
mkAccountBusinessProfile :: AccountBusinessProfile
-- | Defines the object schema located at
-- components.schemas.account_business_profile.properties.support_address.anyOf
-- in the specification.
--
-- A publicly available mailing address for sending support issues to.
data AccountBusinessProfileSupportAddress'
AccountBusinessProfileSupportAddress' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> AccountBusinessProfileSupportAddress'
-- | city: City, district, suburb, town, or village.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[accountBusinessProfileSupportAddress'City] :: AccountBusinessProfileSupportAddress' -> Maybe Text
-- | country: Two-letter country code ([ISO 3166-1
-- alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[accountBusinessProfileSupportAddress'Country] :: AccountBusinessProfileSupportAddress' -> Maybe Text
-- | line1: Address line 1 (e.g., street, PO Box, or company name).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[accountBusinessProfileSupportAddress'Line1] :: AccountBusinessProfileSupportAddress' -> Maybe Text
-- | line2: Address line 2 (e.g., apartment, suite, unit, or building).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[accountBusinessProfileSupportAddress'Line2] :: AccountBusinessProfileSupportAddress' -> Maybe Text
-- | postal_code: ZIP or postal code.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[accountBusinessProfileSupportAddress'PostalCode] :: AccountBusinessProfileSupportAddress' -> Maybe Text
-- | state: State, county, province, or region.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[accountBusinessProfileSupportAddress'State] :: AccountBusinessProfileSupportAddress' -> Maybe Text
-- | Create a new AccountBusinessProfileSupportAddress' with all
-- required fields.
mkAccountBusinessProfileSupportAddress' :: AccountBusinessProfileSupportAddress'
instance GHC.Classes.Eq StripeAPI.Types.AccountBusinessProfile.AccountBusinessProfileSupportAddress'
instance GHC.Show.Show StripeAPI.Types.AccountBusinessProfile.AccountBusinessProfileSupportAddress'
instance GHC.Classes.Eq StripeAPI.Types.AccountBusinessProfile.AccountBusinessProfile
instance GHC.Show.Show StripeAPI.Types.AccountBusinessProfile.AccountBusinessProfile
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.AccountBusinessProfile.AccountBusinessProfile
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.AccountBusinessProfile.AccountBusinessProfile
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.AccountBusinessProfile.AccountBusinessProfileSupportAddress'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.AccountBusinessProfile.AccountBusinessProfileSupportAddress'
-- | Contains the types generated from the schema Address
module StripeAPI.Types.Address
-- | Defines the object schema located at
-- components.schemas.address in the specification.
data Address
Address :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Address
-- | city: City, district, suburb, town, or village.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[addressCity] :: Address -> Maybe Text
-- | country: Two-letter country code ([ISO 3166-1
-- alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[addressCountry] :: Address -> Maybe Text
-- | line1: Address line 1 (e.g., street, PO Box, or company name).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[addressLine1] :: Address -> Maybe Text
-- | line2: Address line 2 (e.g., apartment, suite, unit, or building).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[addressLine2] :: Address -> Maybe Text
-- | postal_code: ZIP or postal code.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[addressPostalCode] :: Address -> Maybe Text
-- | state: State, county, province, or region.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[addressState] :: Address -> Maybe Text
-- | Create a new Address with all required fields.
mkAddress :: Address
instance GHC.Classes.Eq StripeAPI.Types.Address.Address
instance GHC.Show.Show StripeAPI.Types.Address.Address
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Address.Address
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Address.Address
-- | Contains the types generated from the schema ApplePayDomain
module StripeAPI.Types.ApplePayDomain
-- | Defines the object schema located at
-- components.schemas.apple_pay_domain in the specification.
data ApplePayDomain
ApplePayDomain :: Int -> Text -> Text -> Bool -> ApplePayDomain
-- | created: Time at which the object was created. Measured in seconds
-- since the Unix epoch.
[applePayDomainCreated] :: ApplePayDomain -> Int
-- | domain_name
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[applePayDomainDomainName] :: ApplePayDomain -> Text
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[applePayDomainId] :: ApplePayDomain -> Text
-- | livemode: Has the value `true` if the object exists in live mode or
-- the value `false` if the object exists in test mode.
[applePayDomainLivemode] :: ApplePayDomain -> Bool
-- | Create a new ApplePayDomain with all required fields.
mkApplePayDomain :: Int -> Text -> Text -> Bool -> ApplePayDomain
instance GHC.Classes.Eq StripeAPI.Types.ApplePayDomain.ApplePayDomain
instance GHC.Show.Show StripeAPI.Types.ApplePayDomain.ApplePayDomain
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.ApplePayDomain.ApplePayDomain
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.ApplePayDomain.ApplePayDomain
-- | Contains the types generated from the schema Application
module StripeAPI.Types.Application
-- | Defines the object schema located at
-- components.schemas.application in the specification.
data Application
Application :: Text -> Maybe Text -> Application
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[applicationId] :: Application -> Text
-- | name: The name of the application.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[applicationName] :: Application -> Maybe Text
-- | Create a new Application with all required fields.
mkApplication :: Text -> Application
instance GHC.Classes.Eq StripeAPI.Types.Application.Application
instance GHC.Show.Show StripeAPI.Types.Application.Application
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Application.Application
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Application.Application
-- | Contains the types generated from the schema AutomaticTax
module StripeAPI.Types.AutomaticTax
-- | Defines the object schema located at
-- components.schemas.automatic_tax in the specification.
data AutomaticTax
AutomaticTax :: Bool -> Maybe AutomaticTaxStatus' -> AutomaticTax
-- | enabled: Whether Stripe automatically computes tax on this invoice.
[automaticTaxEnabled] :: AutomaticTax -> Bool
-- | status: The status of the most recent automated tax calculation for
-- this invoice.
[automaticTaxStatus] :: AutomaticTax -> Maybe AutomaticTaxStatus'
-- | Create a new AutomaticTax with all required fields.
mkAutomaticTax :: Bool -> AutomaticTax
-- | Defines the enum schema located at
-- components.schemas.automatic_tax.properties.status in the
-- specification.
--
-- The status of the most recent automated tax calculation for this
-- invoice.
data AutomaticTaxStatus'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
AutomaticTaxStatus'Other :: Value -> AutomaticTaxStatus'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
AutomaticTaxStatus'Typed :: Text -> AutomaticTaxStatus'
-- | Represents the JSON value "complete"
AutomaticTaxStatus'EnumComplete :: AutomaticTaxStatus'
-- | Represents the JSON value "failed"
AutomaticTaxStatus'EnumFailed :: AutomaticTaxStatus'
-- | Represents the JSON value "requires_location_inputs"
AutomaticTaxStatus'EnumRequiresLocationInputs :: AutomaticTaxStatus'
instance GHC.Classes.Eq StripeAPI.Types.AutomaticTax.AutomaticTaxStatus'
instance GHC.Show.Show StripeAPI.Types.AutomaticTax.AutomaticTaxStatus'
instance GHC.Classes.Eq StripeAPI.Types.AutomaticTax.AutomaticTax
instance GHC.Show.Show StripeAPI.Types.AutomaticTax.AutomaticTax
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.AutomaticTax.AutomaticTax
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.AutomaticTax.AutomaticTax
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.AutomaticTax.AutomaticTaxStatus'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.AutomaticTax.AutomaticTaxStatus'
-- | Contains the types generated from the schema BalanceAmount
module StripeAPI.Types.BalanceAmount
-- | Defines the object schema located at
-- components.schemas.balance_amount in the specification.
data BalanceAmount
BalanceAmount :: Int -> Text -> Maybe BalanceAmountBySourceType -> BalanceAmount
-- | amount: Balance amount.
[balanceAmountAmount] :: BalanceAmount -> Int
-- | currency: Three-letter ISO currency code, in lowercase. Must be
-- a supported currency.
[balanceAmountCurrency] :: BalanceAmount -> Text
-- | source_types:
[balanceAmountSourceTypes] :: BalanceAmount -> Maybe BalanceAmountBySourceType
-- | Create a new BalanceAmount with all required fields.
mkBalanceAmount :: Int -> Text -> BalanceAmount
instance GHC.Classes.Eq StripeAPI.Types.BalanceAmount.BalanceAmount
instance GHC.Show.Show StripeAPI.Types.BalanceAmount.BalanceAmount
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.BalanceAmount.BalanceAmount
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.BalanceAmount.BalanceAmount
-- | Contains the types generated from the schema BalanceAmountBySourceType
module StripeAPI.Types.BalanceAmountBySourceType
-- | Defines the object schema located at
-- components.schemas.balance_amount_by_source_type in the
-- specification.
data BalanceAmountBySourceType
BalanceAmountBySourceType :: Maybe Int -> Maybe Int -> Maybe Int -> BalanceAmountBySourceType
-- | bank_account: Amount for bank account.
[balanceAmountBySourceTypeBankAccount] :: BalanceAmountBySourceType -> Maybe Int
-- | card: Amount for card.
[balanceAmountBySourceTypeCard] :: BalanceAmountBySourceType -> Maybe Int
-- | fpx: Amount for FPX.
[balanceAmountBySourceTypeFpx] :: BalanceAmountBySourceType -> Maybe Int
-- | Create a new BalanceAmountBySourceType with all required
-- fields.
mkBalanceAmountBySourceType :: BalanceAmountBySourceType
instance GHC.Classes.Eq StripeAPI.Types.BalanceAmountBySourceType.BalanceAmountBySourceType
instance GHC.Show.Show StripeAPI.Types.BalanceAmountBySourceType.BalanceAmountBySourceType
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.BalanceAmountBySourceType.BalanceAmountBySourceType
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.BalanceAmountBySourceType.BalanceAmountBySourceType
-- | Contains the types generated from the schema Balance
module StripeAPI.Types.Balance
-- | Defines the object schema located at
-- components.schemas.balance in the specification.
--
-- This is an object representing your Stripe balance. You can retrieve
-- it to see the balance currently on your Stripe account.
--
-- You can also retrieve the balance history, which contains a list of
-- transactions that contributed to the balance (charges, payouts,
-- and so forth).
--
-- The available and pending amounts for each currency are broken down
-- further by payment source types.
--
-- Related guide: Understanding Connect Account Balances.
data Balance
Balance :: [BalanceAmount] -> Maybe [BalanceAmount] -> Maybe [BalanceAmount] -> Maybe BalanceDetail -> Bool -> [BalanceAmount] -> Balance
-- | available: Funds that are available to be transferred or paid out,
-- whether automatically by Stripe or explicitly via the Transfers
-- API or Payouts API. The available balance for each currency
-- and payment type can be found in the `source_types` property.
[balanceAvailable] :: Balance -> [BalanceAmount]
-- | connect_reserved: Funds held due to negative balances on connected
-- Custom accounts. The connect reserve balance for each currency and
-- payment type can be found in the `source_types` property.
[balanceConnectReserved] :: Balance -> Maybe [BalanceAmount]
-- | instant_available: Funds that can be paid out using Instant Payouts.
[balanceInstantAvailable] :: Balance -> Maybe [BalanceAmount]
-- | issuing:
[balanceIssuing] :: Balance -> Maybe BalanceDetail
-- | livemode: Has the value `true` if the object exists in live mode or
-- the value `false` if the object exists in test mode.
[balanceLivemode] :: Balance -> Bool
-- | pending: Funds that are not yet available in the balance, due to the
-- 7-day rolling pay cycle. The pending balance for each currency, and
-- for each payment type, can be found in the `source_types` property.
[balancePending] :: Balance -> [BalanceAmount]
-- | Create a new Balance with all required fields.
mkBalance :: [BalanceAmount] -> Bool -> [BalanceAmount] -> Balance
instance GHC.Classes.Eq StripeAPI.Types.Balance.Balance
instance GHC.Show.Show StripeAPI.Types.Balance.Balance
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Balance.Balance
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Balance.Balance
-- | Contains the types generated from the schema BalanceDetail
module StripeAPI.Types.BalanceDetail
-- | Defines the object schema located at
-- components.schemas.balance_detail in the specification.
data BalanceDetail
BalanceDetail :: [BalanceAmount] -> BalanceDetail
-- | available: Funds that are available for use.
[balanceDetailAvailable] :: BalanceDetail -> [BalanceAmount]
-- | Create a new BalanceDetail with all required fields.
mkBalanceDetail :: [BalanceAmount] -> BalanceDetail
instance GHC.Classes.Eq StripeAPI.Types.BalanceDetail.BalanceDetail
instance GHC.Show.Show StripeAPI.Types.BalanceDetail.BalanceDetail
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.BalanceDetail.BalanceDetail
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.BalanceDetail.BalanceDetail
-- | Contains the types generated from the schema BillingDetails
module StripeAPI.Types.BillingDetails
-- | Defines the object schema located at
-- components.schemas.billing_details in the specification.
data BillingDetails
BillingDetails :: Maybe BillingDetailsAddress' -> Maybe Text -> Maybe Text -> Maybe Text -> BillingDetails
-- | address: Billing address.
[billingDetailsAddress] :: BillingDetails -> Maybe BillingDetailsAddress'
-- | email: Email address.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[billingDetailsEmail] :: BillingDetails -> Maybe Text
-- | name: Full name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[billingDetailsName] :: BillingDetails -> Maybe Text
-- | phone: Billing phone number (including extension).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[billingDetailsPhone] :: BillingDetails -> Maybe Text
-- | Create a new BillingDetails with all required fields.
mkBillingDetails :: BillingDetails
-- | Defines the object schema located at
-- components.schemas.billing_details.properties.address.anyOf
-- in the specification.
--
-- Billing address.
data BillingDetailsAddress'
BillingDetailsAddress' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> BillingDetailsAddress'
-- | city: City, district, suburb, town, or village.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[billingDetailsAddress'City] :: BillingDetailsAddress' -> Maybe Text
-- | country: Two-letter country code ([ISO 3166-1
-- alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[billingDetailsAddress'Country] :: BillingDetailsAddress' -> Maybe Text
-- | line1: Address line 1 (e.g., street, PO Box, or company name).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[billingDetailsAddress'Line1] :: BillingDetailsAddress' -> Maybe Text
-- | line2: Address line 2 (e.g., apartment, suite, unit, or building).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[billingDetailsAddress'Line2] :: BillingDetailsAddress' -> Maybe Text
-- | postal_code: ZIP or postal code.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[billingDetailsAddress'PostalCode] :: BillingDetailsAddress' -> Maybe Text
-- | state: State, county, province, or region.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[billingDetailsAddress'State] :: BillingDetailsAddress' -> Maybe Text
-- | Create a new BillingDetailsAddress' with all required fields.
mkBillingDetailsAddress' :: BillingDetailsAddress'
instance GHC.Classes.Eq StripeAPI.Types.BillingDetails.BillingDetailsAddress'
instance GHC.Show.Show StripeAPI.Types.BillingDetails.BillingDetailsAddress'
instance GHC.Classes.Eq StripeAPI.Types.BillingDetails.BillingDetails
instance GHC.Show.Show StripeAPI.Types.BillingDetails.BillingDetails
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.BillingDetails.BillingDetails
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.BillingDetails.BillingDetails
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.BillingDetails.BillingDetailsAddress'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.BillingDetails.BillingDetailsAddress'
-- | Contains the types generated from the schema BillingPortal_Session
module StripeAPI.Types.BillingPortal_Session
-- | Defines the object schema located at
-- components.schemas.billing_portal.session in the
-- specification.
--
-- The Billing customer portal is a Stripe-hosted UI for subscription and
-- billing management.
--
-- A portal configuration describes the functionality and features that
-- you want to provide to your customers through the portal.
--
-- A portal session describes the instantiation of the customer portal
-- for a particular customer. By visiting the session's URL, the customer
-- can manage their subscriptions and billing details. For security
-- reasons, sessions are short-lived and will expire if the customer does
-- not visit the URL. Create sessions on-demand when customers intend to
-- manage their subscriptions and billing details.
--
-- Learn more in the product overview and integration
-- guide.
data BillingPortal'session
BillingPortal'session :: BillingPortal'sessionConfiguration'Variants -> Int -> Text -> Text -> Bool -> Maybe Text -> Text -> Text -> BillingPortal'session
-- | configuration: The configuration used by this session, describing the
-- features available.
[billingPortal'sessionConfiguration] :: BillingPortal'session -> BillingPortal'sessionConfiguration'Variants
-- | created: Time at which the object was created. Measured in seconds
-- since the Unix epoch.
[billingPortal'sessionCreated] :: BillingPortal'session -> Int
-- | customer: The ID of the customer for this session.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[billingPortal'sessionCustomer] :: BillingPortal'session -> Text
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[billingPortal'sessionId] :: BillingPortal'session -> Text
-- | livemode: Has the value `true` if the object exists in live mode or
-- the value `false` if the object exists in test mode.
[billingPortal'sessionLivemode] :: BillingPortal'session -> Bool
-- | on_behalf_of: The account for which the session was created on behalf
-- of. When specified, only subscriptions and invoices with this
-- `on_behalf_of` account appear in the portal. For more information, see
-- the docs. Use the Accounts API to modify the
-- `on_behalf_of` account's branding settings, which the portal displays.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[billingPortal'sessionOnBehalfOf] :: BillingPortal'session -> Maybe Text
-- | return_url: The URL to redirect customers to when they click on the
-- portal's link to return to your website.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[billingPortal'sessionReturnUrl] :: BillingPortal'session -> Text
-- | url: The short-lived URL of the session that gives customers access to
-- the customer portal.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[billingPortal'sessionUrl] :: BillingPortal'session -> Text
-- | Create a new BillingPortal'session with all required fields.
mkBillingPortal'session :: BillingPortal'sessionConfiguration'Variants -> Int -> Text -> Text -> Bool -> Text -> Text -> BillingPortal'session
-- | Defines the oneOf schema located at
-- components.schemas.billing_portal.session.properties.configuration.anyOf
-- in the specification.
--
-- The configuration used by this session, describing the features
-- available.
data BillingPortal'sessionConfiguration'Variants
BillingPortal'sessionConfiguration'Text :: Text -> BillingPortal'sessionConfiguration'Variants
BillingPortal'sessionConfiguration'BillingPortal'configuration :: BillingPortal'configuration -> BillingPortal'sessionConfiguration'Variants
instance GHC.Classes.Eq StripeAPI.Types.BillingPortal_Session.BillingPortal'sessionConfiguration'Variants
instance GHC.Show.Show StripeAPI.Types.BillingPortal_Session.BillingPortal'sessionConfiguration'Variants
instance GHC.Classes.Eq StripeAPI.Types.BillingPortal_Session.BillingPortal'session
instance GHC.Show.Show StripeAPI.Types.BillingPortal_Session.BillingPortal'session
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.BillingPortal_Session.BillingPortal'session
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.BillingPortal_Session.BillingPortal'session
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.BillingPortal_Session.BillingPortal'sessionConfiguration'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.BillingPortal_Session.BillingPortal'sessionConfiguration'Variants
-- | Contains the types generated from the schema BitcoinReceiver
module StripeAPI.Types.BitcoinReceiver
-- | Defines the object schema located at
-- components.schemas.bitcoin_receiver in the specification.
data BitcoinReceiver
BitcoinReceiver :: Bool -> Int -> Int -> Int -> Int -> Text -> Int -> Text -> Maybe Text -> Maybe Text -> Maybe Text -> Bool -> Text -> Text -> Bool -> Maybe Object -> Maybe Text -> Maybe Text -> Maybe BitcoinReceiverTransactions' -> Bool -> Maybe Bool -> BitcoinReceiver
-- | active: True when this bitcoin receiver has received a non-zero amount
-- of bitcoin.
[bitcoinReceiverActive] :: BitcoinReceiver -> Bool
-- | amount: The amount of `currency` that you are collecting as payment.
[bitcoinReceiverAmount] :: BitcoinReceiver -> Int
-- | amount_received: The amount of `currency` to which
-- `bitcoin_amount_received` has been converted.
[bitcoinReceiverAmountReceived] :: BitcoinReceiver -> Int
-- | bitcoin_amount: The amount of bitcoin that the customer should send to
-- fill the receiver. The `bitcoin_amount` is denominated in Satoshi:
-- there are 10^8 Satoshi in one bitcoin.
[bitcoinReceiverBitcoinAmount] :: BitcoinReceiver -> Int
-- | bitcoin_amount_received: The amount of bitcoin that has been sent by
-- the customer to this receiver.
[bitcoinReceiverBitcoinAmountReceived] :: BitcoinReceiver -> Int
-- | bitcoin_uri: This URI can be displayed to the customer as a clickable
-- link (to activate their bitcoin client) or as a QR code (for mobile
-- wallets).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[bitcoinReceiverBitcoinUri] :: BitcoinReceiver -> Text
-- | created: Time at which the object was created. Measured in seconds
-- since the Unix epoch.
[bitcoinReceiverCreated] :: BitcoinReceiver -> Int
-- | currency: Three-letter ISO code for the currency to which the
-- bitcoin will be converted.
[bitcoinReceiverCurrency] :: BitcoinReceiver -> Text
-- | customer: The customer ID of the bitcoin receiver.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[bitcoinReceiverCustomer] :: BitcoinReceiver -> Maybe Text
-- | description: An arbitrary string attached to the object. Often useful
-- for displaying to users.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[bitcoinReceiverDescription] :: BitcoinReceiver -> Maybe Text
-- | email: The customer's email address, set by the API call that creates
-- the receiver.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[bitcoinReceiverEmail] :: BitcoinReceiver -> Maybe Text
-- | filled: This flag is initially false and updates to true when the
-- customer sends the `bitcoin_amount` to this receiver.
[bitcoinReceiverFilled] :: BitcoinReceiver -> Bool
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[bitcoinReceiverId] :: BitcoinReceiver -> Text
-- | inbound_address: A bitcoin address that is specific to this receiver.
-- The customer can send bitcoin to this address to fill the receiver.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[bitcoinReceiverInboundAddress] :: BitcoinReceiver -> Text
-- | livemode: Has the value `true` if the object exists in live mode or
-- the value `false` if the object exists in test mode.
[bitcoinReceiverLivemode] :: BitcoinReceiver -> Bool
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format.
[bitcoinReceiverMetadata] :: BitcoinReceiver -> Maybe Object
-- | payment: The ID of the payment created from the receiver, if any.
-- Hidden when viewing the receiver with a publishable key.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[bitcoinReceiverPayment] :: BitcoinReceiver -> Maybe Text
-- | refund_address: The refund address of this bitcoin receiver.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[bitcoinReceiverRefundAddress] :: BitcoinReceiver -> Maybe Text
-- | transactions: 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.
[bitcoinReceiverTransactions] :: BitcoinReceiver -> Maybe BitcoinReceiverTransactions'
-- | uncaptured_funds: This receiver contains uncaptured funds that can be
-- used for a payment or refunded.
[bitcoinReceiverUncapturedFunds] :: BitcoinReceiver -> Bool
-- | used_for_payment: Indicate if this source is used for payment.
[bitcoinReceiverUsedForPayment] :: BitcoinReceiver -> Maybe Bool
-- | Create a new BitcoinReceiver with all required fields.
mkBitcoinReceiver :: Bool -> Int -> Int -> Int -> Int -> Text -> Int -> Text -> Bool -> Text -> Text -> Bool -> Bool -> BitcoinReceiver
-- | Defines the object schema located at
-- components.schemas.bitcoin_receiver.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.
data BitcoinReceiverTransactions'
BitcoinReceiverTransactions' :: [BitcoinTransaction] -> Bool -> Text -> BitcoinReceiverTransactions'
-- | data: Details about each object.
[bitcoinReceiverTransactions'Data] :: BitcoinReceiverTransactions' -> [BitcoinTransaction]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[bitcoinReceiverTransactions'HasMore] :: BitcoinReceiverTransactions' -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[bitcoinReceiverTransactions'Url] :: BitcoinReceiverTransactions' -> Text
-- | Create a new BitcoinReceiverTransactions' with all required
-- fields.
mkBitcoinReceiverTransactions' :: [BitcoinTransaction] -> Bool -> Text -> BitcoinReceiverTransactions'
instance GHC.Classes.Eq StripeAPI.Types.BitcoinReceiver.BitcoinReceiverTransactions'
instance GHC.Show.Show StripeAPI.Types.BitcoinReceiver.BitcoinReceiverTransactions'
instance GHC.Classes.Eq StripeAPI.Types.BitcoinReceiver.BitcoinReceiver
instance GHC.Show.Show StripeAPI.Types.BitcoinReceiver.BitcoinReceiver
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.BitcoinReceiver.BitcoinReceiver
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.BitcoinReceiver.BitcoinReceiver
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.BitcoinReceiver.BitcoinReceiverTransactions'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.BitcoinReceiver.BitcoinReceiverTransactions'
-- | Contains the types generated from the schema BitcoinTransaction
module StripeAPI.Types.BitcoinTransaction
-- | Defines the object schema located at
-- components.schemas.bitcoin_transaction in the specification.
data BitcoinTransaction
BitcoinTransaction :: Int -> Int -> Int -> Text -> Text -> Text -> BitcoinTransaction
-- | amount: The amount of `currency` that the transaction was converted to
-- in real-time.
[bitcoinTransactionAmount] :: BitcoinTransaction -> Int
-- | bitcoin_amount: The amount of bitcoin contained in the transaction.
[bitcoinTransactionBitcoinAmount] :: BitcoinTransaction -> Int
-- | created: Time at which the object was created. Measured in seconds
-- since the Unix epoch.
[bitcoinTransactionCreated] :: BitcoinTransaction -> Int
-- | currency: Three-letter ISO code for the currency to which this
-- transaction was converted.
[bitcoinTransactionCurrency] :: BitcoinTransaction -> Text
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[bitcoinTransactionId] :: BitcoinTransaction -> Text
-- | receiver: The receiver to which this transaction was sent.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[bitcoinTransactionReceiver] :: BitcoinTransaction -> Text
-- | Create a new BitcoinTransaction with all required fields.
mkBitcoinTransaction :: Int -> Int -> Int -> Text -> Text -> Text -> BitcoinTransaction
instance GHC.Classes.Eq StripeAPI.Types.BitcoinTransaction.BitcoinTransaction
instance GHC.Show.Show StripeAPI.Types.BitcoinTransaction.BitcoinTransaction
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.BitcoinTransaction.BitcoinTransaction
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.BitcoinTransaction.BitcoinTransaction
-- | Contains the types generated from the schema Capability
module StripeAPI.Types.Capability
-- | Defines the object schema located at
-- components.schemas.capability in the specification.
--
-- This is an object representing a capability for a Stripe account.
--
-- Related guide: Account capabilities.
data Capability
Capability :: CapabilityAccount'Variants -> Text -> Bool -> Maybe Int -> Maybe AccountCapabilityRequirements -> CapabilityStatus' -> Capability
-- | account: The account for which the capability enables functionality.
[capabilityAccount] :: Capability -> CapabilityAccount'Variants
-- | id: The identifier for the capability.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[capabilityId] :: Capability -> Text
-- | requested: Whether the capability has been requested.
[capabilityRequested] :: Capability -> Bool
-- | requested_at: Time at which the capability was requested. Measured in
-- seconds since the Unix epoch.
[capabilityRequestedAt] :: Capability -> Maybe Int
-- | requirements:
[capabilityRequirements] :: Capability -> Maybe AccountCapabilityRequirements
-- | status: The status of the capability. Can be `active`, `inactive`,
-- `pending`, or `unrequested`.
[capabilityStatus] :: Capability -> CapabilityStatus'
-- | Create a new Capability with all required fields.
mkCapability :: CapabilityAccount'Variants -> Text -> Bool -> CapabilityStatus' -> Capability
-- | Defines the oneOf schema located at
-- components.schemas.capability.properties.account.anyOf in the
-- specification.
--
-- The account for which the capability enables functionality.
data CapabilityAccount'Variants
CapabilityAccount'Text :: Text -> CapabilityAccount'Variants
CapabilityAccount'Account :: Account -> CapabilityAccount'Variants
-- | Defines the enum schema located at
-- components.schemas.capability.properties.status in the
-- specification.
--
-- The status of the capability. Can be `active`, `inactive`, `pending`,
-- or `unrequested`.
data CapabilityStatus'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
CapabilityStatus'Other :: Value -> CapabilityStatus'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
CapabilityStatus'Typed :: Text -> CapabilityStatus'
-- | Represents the JSON value "active"
CapabilityStatus'EnumActive :: CapabilityStatus'
-- | Represents the JSON value "disabled"
CapabilityStatus'EnumDisabled :: CapabilityStatus'
-- | Represents the JSON value "inactive"
CapabilityStatus'EnumInactive :: CapabilityStatus'
-- | Represents the JSON value "pending"
CapabilityStatus'EnumPending :: CapabilityStatus'
-- | Represents the JSON value "unrequested"
CapabilityStatus'EnumUnrequested :: CapabilityStatus'
instance GHC.Classes.Eq StripeAPI.Types.Capability.CapabilityAccount'Variants
instance GHC.Show.Show StripeAPI.Types.Capability.CapabilityAccount'Variants
instance GHC.Classes.Eq StripeAPI.Types.Capability.CapabilityStatus'
instance GHC.Show.Show StripeAPI.Types.Capability.CapabilityStatus'
instance GHC.Classes.Eq StripeAPI.Types.Capability.Capability
instance GHC.Show.Show StripeAPI.Types.Capability.Capability
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Capability.Capability
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Capability.Capability
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Capability.CapabilityStatus'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Capability.CapabilityStatus'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Capability.CapabilityAccount'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Capability.CapabilityAccount'Variants
-- | Contains the types generated from the schema
-- AccountCardIssuingSettings
module StripeAPI.Types.AccountCardIssuingSettings
-- | Defines the object schema located at
-- components.schemas.account_card_issuing_settings in the
-- specification.
data AccountCardIssuingSettings
AccountCardIssuingSettings :: Maybe CardIssuingAccountTermsOfService -> AccountCardIssuingSettings
-- | tos_acceptance:
[accountCardIssuingSettingsTosAcceptance] :: AccountCardIssuingSettings -> Maybe CardIssuingAccountTermsOfService
-- | Create a new AccountCardIssuingSettings with all required
-- fields.
mkAccountCardIssuingSettings :: AccountCardIssuingSettings
instance GHC.Classes.Eq StripeAPI.Types.AccountCardIssuingSettings.AccountCardIssuingSettings
instance GHC.Show.Show StripeAPI.Types.AccountCardIssuingSettings.AccountCardIssuingSettings
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.AccountCardIssuingSettings.AccountCardIssuingSettings
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.AccountCardIssuingSettings.AccountCardIssuingSettings
-- | Contains the types generated from the schema
-- CardIssuingAccountTermsOfService
module StripeAPI.Types.CardIssuingAccountTermsOfService
-- | Defines the object schema located at
-- components.schemas.card_issuing_account_terms_of_service in
-- the specification.
data CardIssuingAccountTermsOfService
CardIssuingAccountTermsOfService :: Maybe Int -> Maybe Text -> Maybe Text -> CardIssuingAccountTermsOfService
-- | date: The Unix timestamp marking when the account representative
-- accepted the service agreement.
[cardIssuingAccountTermsOfServiceDate] :: CardIssuingAccountTermsOfService -> Maybe Int
-- | ip: The IP address from which the account representative accepted the
-- service agreement.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[cardIssuingAccountTermsOfServiceIp] :: CardIssuingAccountTermsOfService -> Maybe Text
-- | user_agent: The user agent of the browser from which the account
-- representative accepted the service agreement.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[cardIssuingAccountTermsOfServiceUserAgent] :: CardIssuingAccountTermsOfService -> Maybe Text
-- | Create a new CardIssuingAccountTermsOfService with all required
-- fields.
mkCardIssuingAccountTermsOfService :: CardIssuingAccountTermsOfService
instance GHC.Classes.Eq StripeAPI.Types.CardIssuingAccountTermsOfService.CardIssuingAccountTermsOfService
instance GHC.Show.Show StripeAPI.Types.CardIssuingAccountTermsOfService.CardIssuingAccountTermsOfService
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.CardIssuingAccountTermsOfService.CardIssuingAccountTermsOfService
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.CardIssuingAccountTermsOfService.CardIssuingAccountTermsOfService
-- | Contains the types generated from the schema ChargeFraudDetails
module StripeAPI.Types.ChargeFraudDetails
-- | Defines the object schema located at
-- components.schemas.charge_fraud_details in the specification.
data ChargeFraudDetails
ChargeFraudDetails :: Maybe Text -> Maybe Text -> ChargeFraudDetails
-- | stripe_report: Assessments from Stripe. If set, the value is
-- `fraudulent`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[chargeFraudDetailsStripeReport] :: ChargeFraudDetails -> Maybe Text
-- | user_report: Assessments reported by you. If set, possible values of
-- are `safe` and `fraudulent`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[chargeFraudDetailsUserReport] :: ChargeFraudDetails -> Maybe Text
-- | Create a new ChargeFraudDetails with all required fields.
mkChargeFraudDetails :: ChargeFraudDetails
instance GHC.Classes.Eq StripeAPI.Types.ChargeFraudDetails.ChargeFraudDetails
instance GHC.Show.Show StripeAPI.Types.ChargeFraudDetails.ChargeFraudDetails
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.ChargeFraudDetails.ChargeFraudDetails
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.ChargeFraudDetails.ChargeFraudDetails
-- | Contains the types generated from the schema ChargeTransferData
module StripeAPI.Types.ChargeTransferData
-- | Defines the object schema located at
-- components.schemas.charge_transfer_data in the specification.
data ChargeTransferData
ChargeTransferData :: Maybe Int -> ChargeTransferDataDestination'Variants -> ChargeTransferData
-- | amount: The amount transferred to the destination account, if
-- specified. By default, the entire charge amount is transferred to the
-- destination account.
[chargeTransferDataAmount] :: ChargeTransferData -> Maybe Int
-- | destination: ID of an existing, connected Stripe account to transfer
-- funds to if `transfer_data` was specified in the charge request.
[chargeTransferDataDestination] :: ChargeTransferData -> ChargeTransferDataDestination'Variants
-- | Create a new ChargeTransferData with all required fields.
mkChargeTransferData :: ChargeTransferDataDestination'Variants -> ChargeTransferData
-- | Defines the oneOf schema located at
-- components.schemas.charge_transfer_data.properties.destination.anyOf
-- in the specification.
--
-- ID of an existing, connected Stripe account to transfer funds to if
-- `transfer_data` was specified in the charge request.
data ChargeTransferDataDestination'Variants
ChargeTransferDataDestination'Text :: Text -> ChargeTransferDataDestination'Variants
ChargeTransferDataDestination'Account :: Account -> ChargeTransferDataDestination'Variants
instance GHC.Classes.Eq StripeAPI.Types.ChargeTransferData.ChargeTransferDataDestination'Variants
instance GHC.Show.Show StripeAPI.Types.ChargeTransferData.ChargeTransferDataDestination'Variants
instance GHC.Classes.Eq StripeAPI.Types.ChargeTransferData.ChargeTransferData
instance GHC.Show.Show StripeAPI.Types.ChargeTransferData.ChargeTransferData
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.ChargeTransferData.ChargeTransferData
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.ChargeTransferData.ChargeTransferData
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.ChargeTransferData.ChargeTransferDataDestination'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.ChargeTransferData.ChargeTransferDataDestination'Variants
-- | Contains the types generated from the schema
-- CheckoutAcssDebitMandateOptions
module StripeAPI.Types.CheckoutAcssDebitMandateOptions
-- | Defines the object schema located at
-- components.schemas.checkout_acss_debit_mandate_options in the
-- specification.
data CheckoutAcssDebitMandateOptions
CheckoutAcssDebitMandateOptions :: Maybe Text -> Maybe Text -> Maybe CheckoutAcssDebitMandateOptionsPaymentSchedule' -> Maybe CheckoutAcssDebitMandateOptionsTransactionType' -> CheckoutAcssDebitMandateOptions
-- | custom_mandate_url: A URL for custom mandate text
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[checkoutAcssDebitMandateOptionsCustomMandateUrl] :: CheckoutAcssDebitMandateOptions -> Maybe Text
-- | interval_description: Description of the interval. Only required if
-- 'payment_schedule' parmeter is 'interval' or 'combined'.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[checkoutAcssDebitMandateOptionsIntervalDescription] :: CheckoutAcssDebitMandateOptions -> Maybe Text
-- | payment_schedule: Payment schedule for the mandate.
[checkoutAcssDebitMandateOptionsPaymentSchedule] :: CheckoutAcssDebitMandateOptions -> Maybe CheckoutAcssDebitMandateOptionsPaymentSchedule'
-- | transaction_type: Transaction type of the mandate.
[checkoutAcssDebitMandateOptionsTransactionType] :: CheckoutAcssDebitMandateOptions -> Maybe CheckoutAcssDebitMandateOptionsTransactionType'
-- | Create a new CheckoutAcssDebitMandateOptions with all required
-- fields.
mkCheckoutAcssDebitMandateOptions :: CheckoutAcssDebitMandateOptions
-- | Defines the enum schema located at
-- components.schemas.checkout_acss_debit_mandate_options.properties.payment_schedule
-- in the specification.
--
-- Payment schedule for the mandate.
data CheckoutAcssDebitMandateOptionsPaymentSchedule'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
CheckoutAcssDebitMandateOptionsPaymentSchedule'Other :: Value -> CheckoutAcssDebitMandateOptionsPaymentSchedule'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
CheckoutAcssDebitMandateOptionsPaymentSchedule'Typed :: Text -> CheckoutAcssDebitMandateOptionsPaymentSchedule'
-- | Represents the JSON value "combined"
CheckoutAcssDebitMandateOptionsPaymentSchedule'EnumCombined :: CheckoutAcssDebitMandateOptionsPaymentSchedule'
-- | Represents the JSON value "interval"
CheckoutAcssDebitMandateOptionsPaymentSchedule'EnumInterval :: CheckoutAcssDebitMandateOptionsPaymentSchedule'
-- | Represents the JSON value "sporadic"
CheckoutAcssDebitMandateOptionsPaymentSchedule'EnumSporadic :: CheckoutAcssDebitMandateOptionsPaymentSchedule'
-- | Defines the enum schema located at
-- components.schemas.checkout_acss_debit_mandate_options.properties.transaction_type
-- in the specification.
--
-- Transaction type of the mandate.
data CheckoutAcssDebitMandateOptionsTransactionType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
CheckoutAcssDebitMandateOptionsTransactionType'Other :: Value -> CheckoutAcssDebitMandateOptionsTransactionType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
CheckoutAcssDebitMandateOptionsTransactionType'Typed :: Text -> CheckoutAcssDebitMandateOptionsTransactionType'
-- | Represents the JSON value "business"
CheckoutAcssDebitMandateOptionsTransactionType'EnumBusiness :: CheckoutAcssDebitMandateOptionsTransactionType'
-- | Represents the JSON value "personal"
CheckoutAcssDebitMandateOptionsTransactionType'EnumPersonal :: CheckoutAcssDebitMandateOptionsTransactionType'
instance GHC.Classes.Eq StripeAPI.Types.CheckoutAcssDebitMandateOptions.CheckoutAcssDebitMandateOptionsPaymentSchedule'
instance GHC.Show.Show StripeAPI.Types.CheckoutAcssDebitMandateOptions.CheckoutAcssDebitMandateOptionsPaymentSchedule'
instance GHC.Classes.Eq StripeAPI.Types.CheckoutAcssDebitMandateOptions.CheckoutAcssDebitMandateOptionsTransactionType'
instance GHC.Show.Show StripeAPI.Types.CheckoutAcssDebitMandateOptions.CheckoutAcssDebitMandateOptionsTransactionType'
instance GHC.Classes.Eq StripeAPI.Types.CheckoutAcssDebitMandateOptions.CheckoutAcssDebitMandateOptions
instance GHC.Show.Show StripeAPI.Types.CheckoutAcssDebitMandateOptions.CheckoutAcssDebitMandateOptions
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.CheckoutAcssDebitMandateOptions.CheckoutAcssDebitMandateOptions
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.CheckoutAcssDebitMandateOptions.CheckoutAcssDebitMandateOptions
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.CheckoutAcssDebitMandateOptions.CheckoutAcssDebitMandateOptionsTransactionType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.CheckoutAcssDebitMandateOptions.CheckoutAcssDebitMandateOptionsTransactionType'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.CheckoutAcssDebitMandateOptions.CheckoutAcssDebitMandateOptionsPaymentSchedule'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.CheckoutAcssDebitMandateOptions.CheckoutAcssDebitMandateOptionsPaymentSchedule'
-- | Contains the types generated from the schema
-- CheckoutAcssDebitPaymentMethodOptions
module StripeAPI.Types.CheckoutAcssDebitPaymentMethodOptions
-- | Defines the object schema located at
-- components.schemas.checkout_acss_debit_payment_method_options
-- in the specification.
data CheckoutAcssDebitPaymentMethodOptions
CheckoutAcssDebitPaymentMethodOptions :: Maybe CheckoutAcssDebitPaymentMethodOptionsCurrency' -> Maybe CheckoutAcssDebitMandateOptions -> Maybe CheckoutAcssDebitPaymentMethodOptionsVerificationMethod' -> CheckoutAcssDebitPaymentMethodOptions
-- | currency: Currency supported by the bank account. Returned when the
-- Session is in `setup` mode.
[checkoutAcssDebitPaymentMethodOptionsCurrency] :: CheckoutAcssDebitPaymentMethodOptions -> Maybe CheckoutAcssDebitPaymentMethodOptionsCurrency'
-- | mandate_options:
[checkoutAcssDebitPaymentMethodOptionsMandateOptions] :: CheckoutAcssDebitPaymentMethodOptions -> Maybe CheckoutAcssDebitMandateOptions
-- | verification_method: Bank account verification method.
[checkoutAcssDebitPaymentMethodOptionsVerificationMethod] :: CheckoutAcssDebitPaymentMethodOptions -> Maybe CheckoutAcssDebitPaymentMethodOptionsVerificationMethod'
-- | Create a new CheckoutAcssDebitPaymentMethodOptions with all
-- required fields.
mkCheckoutAcssDebitPaymentMethodOptions :: CheckoutAcssDebitPaymentMethodOptions
-- | Defines the enum schema located at
-- components.schemas.checkout_acss_debit_payment_method_options.properties.currency
-- in the specification.
--
-- Currency supported by the bank account. Returned when the Session is
-- in `setup` mode.
data CheckoutAcssDebitPaymentMethodOptionsCurrency'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
CheckoutAcssDebitPaymentMethodOptionsCurrency'Other :: Value -> CheckoutAcssDebitPaymentMethodOptionsCurrency'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
CheckoutAcssDebitPaymentMethodOptionsCurrency'Typed :: Text -> CheckoutAcssDebitPaymentMethodOptionsCurrency'
-- | Represents the JSON value "cad"
CheckoutAcssDebitPaymentMethodOptionsCurrency'EnumCad :: CheckoutAcssDebitPaymentMethodOptionsCurrency'
-- | Represents the JSON value "usd"
CheckoutAcssDebitPaymentMethodOptionsCurrency'EnumUsd :: CheckoutAcssDebitPaymentMethodOptionsCurrency'
-- | Defines the enum schema located at
-- components.schemas.checkout_acss_debit_payment_method_options.properties.verification_method
-- in the specification.
--
-- Bank account verification method.
data CheckoutAcssDebitPaymentMethodOptionsVerificationMethod'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
CheckoutAcssDebitPaymentMethodOptionsVerificationMethod'Other :: Value -> CheckoutAcssDebitPaymentMethodOptionsVerificationMethod'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
CheckoutAcssDebitPaymentMethodOptionsVerificationMethod'Typed :: Text -> CheckoutAcssDebitPaymentMethodOptionsVerificationMethod'
-- | Represents the JSON value "automatic"
CheckoutAcssDebitPaymentMethodOptionsVerificationMethod'EnumAutomatic :: CheckoutAcssDebitPaymentMethodOptionsVerificationMethod'
-- | Represents the JSON value "instant"
CheckoutAcssDebitPaymentMethodOptionsVerificationMethod'EnumInstant :: CheckoutAcssDebitPaymentMethodOptionsVerificationMethod'
-- | Represents the JSON value "microdeposits"
CheckoutAcssDebitPaymentMethodOptionsVerificationMethod'EnumMicrodeposits :: CheckoutAcssDebitPaymentMethodOptionsVerificationMethod'
instance GHC.Classes.Eq StripeAPI.Types.CheckoutAcssDebitPaymentMethodOptions.CheckoutAcssDebitPaymentMethodOptionsCurrency'
instance GHC.Show.Show StripeAPI.Types.CheckoutAcssDebitPaymentMethodOptions.CheckoutAcssDebitPaymentMethodOptionsCurrency'
instance GHC.Classes.Eq StripeAPI.Types.CheckoutAcssDebitPaymentMethodOptions.CheckoutAcssDebitPaymentMethodOptionsVerificationMethod'
instance GHC.Show.Show StripeAPI.Types.CheckoutAcssDebitPaymentMethodOptions.CheckoutAcssDebitPaymentMethodOptionsVerificationMethod'
instance GHC.Classes.Eq StripeAPI.Types.CheckoutAcssDebitPaymentMethodOptions.CheckoutAcssDebitPaymentMethodOptions
instance GHC.Show.Show StripeAPI.Types.CheckoutAcssDebitPaymentMethodOptions.CheckoutAcssDebitPaymentMethodOptions
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.CheckoutAcssDebitPaymentMethodOptions.CheckoutAcssDebitPaymentMethodOptions
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.CheckoutAcssDebitPaymentMethodOptions.CheckoutAcssDebitPaymentMethodOptions
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.CheckoutAcssDebitPaymentMethodOptions.CheckoutAcssDebitPaymentMethodOptionsVerificationMethod'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.CheckoutAcssDebitPaymentMethodOptions.CheckoutAcssDebitPaymentMethodOptionsVerificationMethod'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.CheckoutAcssDebitPaymentMethodOptions.CheckoutAcssDebitPaymentMethodOptionsCurrency'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.CheckoutAcssDebitPaymentMethodOptions.CheckoutAcssDebitPaymentMethodOptionsCurrency'
-- | Contains the types generated from the schema
-- CheckoutSessionPaymentMethodOptions
module StripeAPI.Types.CheckoutSessionPaymentMethodOptions
-- | Defines the object schema located at
-- components.schemas.checkout_session_payment_method_options in
-- the specification.
data CheckoutSessionPaymentMethodOptions
CheckoutSessionPaymentMethodOptions :: Maybe CheckoutAcssDebitPaymentMethodOptions -> CheckoutSessionPaymentMethodOptions
-- | acss_debit:
[checkoutSessionPaymentMethodOptionsAcssDebit] :: CheckoutSessionPaymentMethodOptions -> Maybe CheckoutAcssDebitPaymentMethodOptions
-- | Create a new CheckoutSessionPaymentMethodOptions with all
-- required fields.
mkCheckoutSessionPaymentMethodOptions :: CheckoutSessionPaymentMethodOptions
instance GHC.Classes.Eq StripeAPI.Types.CheckoutSessionPaymentMethodOptions.CheckoutSessionPaymentMethodOptions
instance GHC.Show.Show StripeAPI.Types.CheckoutSessionPaymentMethodOptions.CheckoutSessionPaymentMethodOptions
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.CheckoutSessionPaymentMethodOptions.CheckoutSessionPaymentMethodOptions
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.CheckoutSessionPaymentMethodOptions.CheckoutSessionPaymentMethodOptions
-- | Contains the types generated from the schema ConnectCollectionTransfer
module StripeAPI.Types.ConnectCollectionTransfer
-- | Defines the object schema located at
-- components.schemas.connect_collection_transfer in the
-- specification.
data ConnectCollectionTransfer
ConnectCollectionTransfer :: Int -> Text -> ConnectCollectionTransferDestination'Variants -> Text -> Bool -> ConnectCollectionTransfer
-- | amount: Amount transferred, in %s.
[connectCollectionTransferAmount] :: ConnectCollectionTransfer -> Int
-- | currency: Three-letter ISO currency code, in lowercase. Must be
-- a supported currency.
[connectCollectionTransferCurrency] :: ConnectCollectionTransfer -> Text
-- | destination: ID of the account that funds are being collected for.
[connectCollectionTransferDestination] :: ConnectCollectionTransfer -> ConnectCollectionTransferDestination'Variants
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[connectCollectionTransferId] :: ConnectCollectionTransfer -> Text
-- | livemode: Has the value `true` if the object exists in live mode or
-- the value `false` if the object exists in test mode.
[connectCollectionTransferLivemode] :: ConnectCollectionTransfer -> Bool
-- | Create a new ConnectCollectionTransfer with all required
-- fields.
mkConnectCollectionTransfer :: Int -> Text -> ConnectCollectionTransferDestination'Variants -> Text -> Bool -> ConnectCollectionTransfer
-- | Defines the oneOf schema located at
-- components.schemas.connect_collection_transfer.properties.destination.anyOf
-- in the specification.
--
-- ID of the account that funds are being collected for.
data ConnectCollectionTransferDestination'Variants
ConnectCollectionTransferDestination'Text :: Text -> ConnectCollectionTransferDestination'Variants
ConnectCollectionTransferDestination'Account :: Account -> ConnectCollectionTransferDestination'Variants
instance GHC.Classes.Eq StripeAPI.Types.ConnectCollectionTransfer.ConnectCollectionTransferDestination'Variants
instance GHC.Show.Show StripeAPI.Types.ConnectCollectionTransfer.ConnectCollectionTransferDestination'Variants
instance GHC.Classes.Eq StripeAPI.Types.ConnectCollectionTransfer.ConnectCollectionTransfer
instance GHC.Show.Show StripeAPI.Types.ConnectCollectionTransfer.ConnectCollectionTransfer
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.ConnectCollectionTransfer.ConnectCollectionTransfer
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.ConnectCollectionTransfer.ConnectCollectionTransfer
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.ConnectCollectionTransfer.ConnectCollectionTransferDestination'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.ConnectCollectionTransfer.ConnectCollectionTransferDestination'Variants
-- | Contains the types generated from the schema
-- CountrySpecVerificationFieldDetails
module StripeAPI.Types.CountrySpecVerificationFieldDetails
-- | Defines the object schema located at
-- components.schemas.country_spec_verification_field_details in
-- the specification.
data CountrySpecVerificationFieldDetails
CountrySpecVerificationFieldDetails :: [Text] -> [Text] -> CountrySpecVerificationFieldDetails
-- | additional: Additional fields which are only required for some users.
[countrySpecVerificationFieldDetailsAdditional] :: CountrySpecVerificationFieldDetails -> [Text]
-- | minimum: Fields which every account must eventually provide.
[countrySpecVerificationFieldDetailsMinimum] :: CountrySpecVerificationFieldDetails -> [Text]
-- | Create a new CountrySpecVerificationFieldDetails with all
-- required fields.
mkCountrySpecVerificationFieldDetails :: [Text] -> [Text] -> CountrySpecVerificationFieldDetails
instance GHC.Classes.Eq StripeAPI.Types.CountrySpecVerificationFieldDetails.CountrySpecVerificationFieldDetails
instance GHC.Show.Show StripeAPI.Types.CountrySpecVerificationFieldDetails.CountrySpecVerificationFieldDetails
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.CountrySpecVerificationFieldDetails.CountrySpecVerificationFieldDetails
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.CountrySpecVerificationFieldDetails.CountrySpecVerificationFieldDetails
-- | Contains the types generated from the schema CountrySpec
module StripeAPI.Types.CountrySpec
-- | Defines the object schema located at
-- components.schemas.country_spec in the specification.
--
-- Stripe needs to collect certain pieces of information about each
-- account created. These requirements can differ depending on the
-- account's country. The Country Specs API makes these rules available
-- to your integration.
--
-- You can also view the information from this API call as an online
-- guide.
data CountrySpec
CountrySpec :: Text -> Text -> Object -> [Text] -> [Text] -> [Text] -> CountrySpecVerificationFields -> CountrySpec
-- | default_currency: The default currency for this country. This applies
-- to both payment methods and bank accounts.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[countrySpecDefaultCurrency] :: CountrySpec -> Text
-- | id: Unique identifier for the object. Represented as the ISO country
-- code for this country.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[countrySpecId] :: CountrySpec -> Text
-- | supported_bank_account_currencies: Currencies that can be accepted in
-- the specific country (for transfers).
[countrySpecSupportedBankAccountCurrencies] :: CountrySpec -> Object
-- | supported_payment_currencies: Currencies that can be accepted in the
-- specified country (for payments).
[countrySpecSupportedPaymentCurrencies] :: CountrySpec -> [Text]
-- | supported_payment_methods: Payment methods available in the specified
-- country. You may need to enable some payment methods (e.g.,
-- ACH) on your account before they appear in this list. The
-- `stripe` payment method refers to charging through your
-- platform.
[countrySpecSupportedPaymentMethods] :: CountrySpec -> [Text]
-- | supported_transfer_countries: Countries that can accept transfers from
-- the specified country.
[countrySpecSupportedTransferCountries] :: CountrySpec -> [Text]
-- | verification_fields:
[countrySpecVerificationFields] :: CountrySpec -> CountrySpecVerificationFields
-- | Create a new CountrySpec with all required fields.
mkCountrySpec :: Text -> Text -> Object -> [Text] -> [Text] -> [Text] -> CountrySpecVerificationFields -> CountrySpec
instance GHC.Classes.Eq StripeAPI.Types.CountrySpec.CountrySpec
instance GHC.Show.Show StripeAPI.Types.CountrySpec.CountrySpec
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.CountrySpec.CountrySpec
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.CountrySpec.CountrySpec
-- | Contains the types generated from the schema
-- CountrySpecVerificationFields
module StripeAPI.Types.CountrySpecVerificationFields
-- | Defines the object schema located at
-- components.schemas.country_spec_verification_fields in the
-- specification.
data CountrySpecVerificationFields
CountrySpecVerificationFields :: CountrySpecVerificationFieldDetails -> CountrySpecVerificationFieldDetails -> CountrySpecVerificationFields
-- | company:
[countrySpecVerificationFieldsCompany] :: CountrySpecVerificationFields -> CountrySpecVerificationFieldDetails
-- | individual:
[countrySpecVerificationFieldsIndividual] :: CountrySpecVerificationFields -> CountrySpecVerificationFieldDetails
-- | Create a new CountrySpecVerificationFields with all required
-- fields.
mkCountrySpecVerificationFields :: CountrySpecVerificationFieldDetails -> CountrySpecVerificationFieldDetails -> CountrySpecVerificationFields
instance GHC.Classes.Eq StripeAPI.Types.CountrySpecVerificationFields.CountrySpecVerificationFields
instance GHC.Show.Show StripeAPI.Types.CountrySpecVerificationFields.CountrySpecVerificationFields
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.CountrySpecVerificationFields.CountrySpecVerificationFields
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.CountrySpecVerificationFields.CountrySpecVerificationFields
-- | Contains the types generated from the schema Coupon
module StripeAPI.Types.Coupon
-- | Defines the object schema located at
-- components.schemas.coupon in the specification.
--
-- A coupon contains information about a percent-off or amount-off
-- discount you might want to apply to a customer. Coupons may be applied
-- to invoices or orders. Coupons do not work with
-- conventional one-off charges.
data Coupon
Coupon :: Maybe Int -> Maybe CouponAppliesTo -> Int -> Maybe Text -> CouponDuration' -> Maybe Int -> Text -> Bool -> Maybe Int -> Maybe Object -> Maybe Text -> Maybe Double -> Maybe Int -> Int -> Bool -> Coupon
-- | amount_off: Amount (in the `currency` specified) that will be taken
-- off the subtotal of any invoices for this customer.
[couponAmountOff] :: Coupon -> Maybe Int
-- | applies_to:
[couponAppliesTo] :: Coupon -> Maybe CouponAppliesTo
-- | created: Time at which the object was created. Measured in seconds
-- since the Unix epoch.
[couponCreated] :: Coupon -> Int
-- | currency: If `amount_off` has been set, the three-letter ISO code
-- for the currency of the amount to take off.
[couponCurrency] :: Coupon -> Maybe Text
-- | duration: One of `forever`, `once`, and `repeating`. Describes how
-- long a customer who applies this coupon will get the discount.
[couponDuration] :: Coupon -> CouponDuration'
-- | duration_in_months: If `duration` is `repeating`, the number of months
-- the coupon applies. Null if coupon `duration` is `forever` or `once`.
[couponDurationInMonths] :: Coupon -> Maybe Int
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[couponId] :: Coupon -> Text
-- | livemode: Has the value `true` if the object exists in live mode or
-- the value `false` if the object exists in test mode.
[couponLivemode] :: Coupon -> Bool
-- | max_redemptions: Maximum number of times this coupon can be redeemed,
-- in total, across all customers, before it is no longer valid.
[couponMaxRedemptions] :: Coupon -> Maybe Int
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format.
[couponMetadata] :: Coupon -> Maybe Object
-- | name: Name of the coupon displayed to customers on for instance
-- invoices or receipts.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[couponName] :: Coupon -> Maybe Text
-- | percent_off: Percent that will be taken off the subtotal of any
-- invoices for this customer for the duration of the coupon. For
-- example, a coupon with percent_off of 50 will make a %s100 invoice
-- %s50 instead.
[couponPercentOff] :: Coupon -> Maybe Double
-- | redeem_by: Date after which the coupon can no longer be redeemed.
[couponRedeemBy] :: Coupon -> Maybe Int
-- | times_redeemed: Number of times this coupon has been applied to a
-- customer.
[couponTimesRedeemed] :: Coupon -> Int
-- | valid: Taking account of the above properties, whether this coupon can
-- still be applied to a customer.
[couponValid] :: Coupon -> Bool
-- | Create a new Coupon with all required fields.
mkCoupon :: Int -> CouponDuration' -> Text -> Bool -> Int -> Bool -> Coupon
-- | Defines the enum schema located at
-- components.schemas.coupon.properties.duration in the
-- specification.
--
-- One of `forever`, `once`, and `repeating`. Describes how long a
-- customer who applies this coupon will get the discount.
data CouponDuration'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
CouponDuration'Other :: Value -> CouponDuration'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
CouponDuration'Typed :: Text -> CouponDuration'
-- | Represents the JSON value "forever"
CouponDuration'EnumForever :: CouponDuration'
-- | Represents the JSON value "once"
CouponDuration'EnumOnce :: CouponDuration'
-- | Represents the JSON value "repeating"
CouponDuration'EnumRepeating :: CouponDuration'
instance GHC.Classes.Eq StripeAPI.Types.Coupon.CouponDuration'
instance GHC.Show.Show StripeAPI.Types.Coupon.CouponDuration'
instance GHC.Classes.Eq StripeAPI.Types.Coupon.Coupon
instance GHC.Show.Show StripeAPI.Types.Coupon.Coupon
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Coupon.Coupon
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Coupon.Coupon
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Coupon.CouponDuration'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Coupon.CouponDuration'
-- | Contains the types generated from the schema CouponAppliesTo
module StripeAPI.Types.CouponAppliesTo
-- | Defines the object schema located at
-- components.schemas.coupon_applies_to in the specification.
data CouponAppliesTo
CouponAppliesTo :: [Text] -> CouponAppliesTo
-- | products: A list of product IDs this coupon applies to
[couponAppliesToProducts] :: CouponAppliesTo -> [Text]
-- | Create a new CouponAppliesTo with all required fields.
mkCouponAppliesTo :: [Text] -> CouponAppliesTo
instance GHC.Classes.Eq StripeAPI.Types.CouponAppliesTo.CouponAppliesTo
instance GHC.Show.Show StripeAPI.Types.CouponAppliesTo.CouponAppliesTo
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.CouponAppliesTo.CouponAppliesTo
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.CouponAppliesTo.CouponAppliesTo
-- | Contains the types generated from the schema CustomerTax
module StripeAPI.Types.CustomerTax
-- | Defines the object schema located at
-- components.schemas.customer_tax in the specification.
data CustomerTax
CustomerTax :: CustomerTaxAutomaticTax' -> Maybe Text -> Maybe CustomerTaxLocation' -> CustomerTax
-- | automatic_tax: Surfaces if automatic tax computation is possible given
-- the current customer location information.
[customerTaxAutomaticTax] :: CustomerTax -> CustomerTaxAutomaticTax'
-- | ip_address: A recent IP address of the customer used for tax reporting
-- and tax location inference.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[customerTaxIpAddress] :: CustomerTax -> Maybe Text
-- | location: The customer's location as identified by Stripe Tax.
[customerTaxLocation] :: CustomerTax -> Maybe CustomerTaxLocation'
-- | Create a new CustomerTax with all required fields.
mkCustomerTax :: CustomerTaxAutomaticTax' -> CustomerTax
-- | Defines the enum schema located at
-- components.schemas.customer_tax.properties.automatic_tax in
-- the specification.
--
-- Surfaces if automatic tax computation is possible given the current
-- customer location information.
data CustomerTaxAutomaticTax'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
CustomerTaxAutomaticTax'Other :: Value -> CustomerTaxAutomaticTax'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
CustomerTaxAutomaticTax'Typed :: Text -> CustomerTaxAutomaticTax'
-- | Represents the JSON value "failed"
CustomerTaxAutomaticTax'EnumFailed :: CustomerTaxAutomaticTax'
-- | Represents the JSON value "not_collecting"
CustomerTaxAutomaticTax'EnumNotCollecting :: CustomerTaxAutomaticTax'
-- | Represents the JSON value "supported"
CustomerTaxAutomaticTax'EnumSupported :: CustomerTaxAutomaticTax'
-- | Represents the JSON value "unrecognized_location"
CustomerTaxAutomaticTax'EnumUnrecognizedLocation :: CustomerTaxAutomaticTax'
-- | Defines the object schema located at
-- components.schemas.customer_tax.properties.location.anyOf in
-- the specification.
--
-- The customer\'s location as identified by Stripe Tax.
data CustomerTaxLocation'
CustomerTaxLocation' :: Maybe Text -> Maybe CustomerTaxLocation'Source' -> Maybe Text -> CustomerTaxLocation'
-- | country: The customer's country as identified by Stripe Tax.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[customerTaxLocation'Country] :: CustomerTaxLocation' -> Maybe Text
-- | source: The data source used to infer the customer's location.
[customerTaxLocation'Source] :: CustomerTaxLocation' -> Maybe CustomerTaxLocation'Source'
-- | state: The customer's state, county, province, or region as identified
-- by Stripe Tax.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[customerTaxLocation'State] :: CustomerTaxLocation' -> Maybe Text
-- | Create a new CustomerTaxLocation' with all required fields.
mkCustomerTaxLocation' :: CustomerTaxLocation'
-- | Defines the enum schema located at
-- components.schemas.customer_tax.properties.location.anyOf.properties.source
-- in the specification.
--
-- The data source used to infer the customer's location.
data CustomerTaxLocation'Source'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
CustomerTaxLocation'Source'Other :: Value -> CustomerTaxLocation'Source'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
CustomerTaxLocation'Source'Typed :: Text -> CustomerTaxLocation'Source'
-- | Represents the JSON value "billing_address"
CustomerTaxLocation'Source'EnumBillingAddress :: CustomerTaxLocation'Source'
-- | Represents the JSON value "ip_address"
CustomerTaxLocation'Source'EnumIpAddress :: CustomerTaxLocation'Source'
-- | Represents the JSON value "payment_method"
CustomerTaxLocation'Source'EnumPaymentMethod :: CustomerTaxLocation'Source'
-- | Represents the JSON value "shipping_destination"
CustomerTaxLocation'Source'EnumShippingDestination :: CustomerTaxLocation'Source'
instance GHC.Classes.Eq StripeAPI.Types.CustomerTax.CustomerTaxAutomaticTax'
instance GHC.Show.Show StripeAPI.Types.CustomerTax.CustomerTaxAutomaticTax'
instance GHC.Classes.Eq StripeAPI.Types.CustomerTax.CustomerTaxLocation'Source'
instance GHC.Show.Show StripeAPI.Types.CustomerTax.CustomerTaxLocation'Source'
instance GHC.Classes.Eq StripeAPI.Types.CustomerTax.CustomerTaxLocation'
instance GHC.Show.Show StripeAPI.Types.CustomerTax.CustomerTaxLocation'
instance GHC.Classes.Eq StripeAPI.Types.CustomerTax.CustomerTax
instance GHC.Show.Show StripeAPI.Types.CustomerTax.CustomerTax
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.CustomerTax.CustomerTax
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.CustomerTax.CustomerTax
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.CustomerTax.CustomerTaxLocation'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.CustomerTax.CustomerTaxLocation'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.CustomerTax.CustomerTaxLocation'Source'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.CustomerTax.CustomerTaxLocation'Source'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.CustomerTax.CustomerTaxAutomaticTax'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.CustomerTax.CustomerTaxAutomaticTax'
-- | Contains the types generated from the schema CustomerTaxLocation
module StripeAPI.Types.CustomerTaxLocation
-- | Defines the object schema located at
-- components.schemas.customer_tax_location in the
-- specification.
data CustomerTaxLocation
CustomerTaxLocation :: Text -> CustomerTaxLocationSource' -> Maybe Text -> CustomerTaxLocation
-- | country: The customer's country as identified by Stripe Tax.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[customerTaxLocationCountry] :: CustomerTaxLocation -> Text
-- | source: The data source used to infer the customer's location.
[customerTaxLocationSource] :: CustomerTaxLocation -> CustomerTaxLocationSource'
-- | state: The customer's state, county, province, or region as identified
-- by Stripe Tax.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[customerTaxLocationState] :: CustomerTaxLocation -> Maybe Text
-- | Create a new CustomerTaxLocation with all required fields.
mkCustomerTaxLocation :: Text -> CustomerTaxLocationSource' -> CustomerTaxLocation
-- | Defines the enum schema located at
-- components.schemas.customer_tax_location.properties.source in
-- the specification.
--
-- The data source used to infer the customer's location.
data CustomerTaxLocationSource'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
CustomerTaxLocationSource'Other :: Value -> CustomerTaxLocationSource'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
CustomerTaxLocationSource'Typed :: Text -> CustomerTaxLocationSource'
-- | Represents the JSON value "billing_address"
CustomerTaxLocationSource'EnumBillingAddress :: CustomerTaxLocationSource'
-- | Represents the JSON value "ip_address"
CustomerTaxLocationSource'EnumIpAddress :: CustomerTaxLocationSource'
-- | Represents the JSON value "payment_method"
CustomerTaxLocationSource'EnumPaymentMethod :: CustomerTaxLocationSource'
-- | Represents the JSON value "shipping_destination"
CustomerTaxLocationSource'EnumShippingDestination :: CustomerTaxLocationSource'
instance GHC.Classes.Eq StripeAPI.Types.CustomerTaxLocation.CustomerTaxLocationSource'
instance GHC.Show.Show StripeAPI.Types.CustomerTaxLocation.CustomerTaxLocationSource'
instance GHC.Classes.Eq StripeAPI.Types.CustomerTaxLocation.CustomerTaxLocation
instance GHC.Show.Show StripeAPI.Types.CustomerTaxLocation.CustomerTaxLocation
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.CustomerTaxLocation.CustomerTaxLocation
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.CustomerTaxLocation.CustomerTaxLocation
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.CustomerTaxLocation.CustomerTaxLocationSource'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.CustomerTaxLocation.CustomerTaxLocationSource'
-- | Contains the types generated from the schema DeletedAccount
module StripeAPI.Types.DeletedAccount
-- | Defines the object schema located at
-- components.schemas.deleted_account in the specification.
data DeletedAccount
DeletedAccount :: Text -> DeletedAccount
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deletedAccountId] :: DeletedAccount -> Text
-- | Create a new DeletedAccount with all required fields.
mkDeletedAccount :: Text -> DeletedAccount
instance GHC.Classes.Eq StripeAPI.Types.DeletedAccount.DeletedAccount
instance GHC.Show.Show StripeAPI.Types.DeletedAccount.DeletedAccount
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.DeletedAccount.DeletedAccount
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.DeletedAccount.DeletedAccount
-- | Contains the types generated from the schema DeletedAlipayAccount
module StripeAPI.Types.DeletedAlipayAccount
-- | Defines the object schema located at
-- components.schemas.deleted_alipay_account in the
-- specification.
data DeletedAlipayAccount
DeletedAlipayAccount :: Text -> DeletedAlipayAccount
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deletedAlipayAccountId] :: DeletedAlipayAccount -> Text
-- | Create a new DeletedAlipayAccount with all required fields.
mkDeletedAlipayAccount :: Text -> DeletedAlipayAccount
instance GHC.Classes.Eq StripeAPI.Types.DeletedAlipayAccount.DeletedAlipayAccount
instance GHC.Show.Show StripeAPI.Types.DeletedAlipayAccount.DeletedAlipayAccount
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.DeletedAlipayAccount.DeletedAlipayAccount
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.DeletedAlipayAccount.DeletedAlipayAccount
-- | Contains the types generated from the schema DeletedApplePayDomain
module StripeAPI.Types.DeletedApplePayDomain
-- | Defines the object schema located at
-- components.schemas.deleted_apple_pay_domain in the
-- specification.
data DeletedApplePayDomain
DeletedApplePayDomain :: Text -> DeletedApplePayDomain
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deletedApplePayDomainId] :: DeletedApplePayDomain -> Text
-- | Create a new DeletedApplePayDomain with all required fields.
mkDeletedApplePayDomain :: Text -> DeletedApplePayDomain
instance GHC.Classes.Eq StripeAPI.Types.DeletedApplePayDomain.DeletedApplePayDomain
instance GHC.Show.Show StripeAPI.Types.DeletedApplePayDomain.DeletedApplePayDomain
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.DeletedApplePayDomain.DeletedApplePayDomain
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.DeletedApplePayDomain.DeletedApplePayDomain
-- | Contains the types generated from the schema DeletedBankAccount
module StripeAPI.Types.DeletedBankAccount
-- | Defines the object schema located at
-- components.schemas.deleted_bank_account in the specification.
data DeletedBankAccount
DeletedBankAccount :: Maybe Text -> Text -> DeletedBankAccount
-- | currency: Three-letter ISO code for the currency paid out to
-- the bank account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deletedBankAccountCurrency] :: DeletedBankAccount -> Maybe Text
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deletedBankAccountId] :: DeletedBankAccount -> Text
-- | Create a new DeletedBankAccount with all required fields.
mkDeletedBankAccount :: Text -> DeletedBankAccount
instance GHC.Classes.Eq StripeAPI.Types.DeletedBankAccount.DeletedBankAccount
instance GHC.Show.Show StripeAPI.Types.DeletedBankAccount.DeletedBankAccount
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.DeletedBankAccount.DeletedBankAccount
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.DeletedBankAccount.DeletedBankAccount
-- | Contains the types generated from the schema DeletedBitcoinReceiver
module StripeAPI.Types.DeletedBitcoinReceiver
-- | Defines the object schema located at
-- components.schemas.deleted_bitcoin_receiver in the
-- specification.
data DeletedBitcoinReceiver
DeletedBitcoinReceiver :: Text -> DeletedBitcoinReceiver
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deletedBitcoinReceiverId] :: DeletedBitcoinReceiver -> Text
-- | Create a new DeletedBitcoinReceiver with all required fields.
mkDeletedBitcoinReceiver :: Text -> DeletedBitcoinReceiver
instance GHC.Classes.Eq StripeAPI.Types.DeletedBitcoinReceiver.DeletedBitcoinReceiver
instance GHC.Show.Show StripeAPI.Types.DeletedBitcoinReceiver.DeletedBitcoinReceiver
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.DeletedBitcoinReceiver.DeletedBitcoinReceiver
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.DeletedBitcoinReceiver.DeletedBitcoinReceiver
-- | Contains the types generated from the schema DeletedCard
module StripeAPI.Types.DeletedCard
-- | Defines the object schema located at
-- components.schemas.deleted_card in the specification.
data DeletedCard
DeletedCard :: Maybe Text -> Text -> DeletedCard
-- | currency: Three-letter ISO code for the currency paid out to
-- the bank account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deletedCardCurrency] :: DeletedCard -> Maybe Text
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deletedCardId] :: DeletedCard -> Text
-- | Create a new DeletedCard with all required fields.
mkDeletedCard :: Text -> DeletedCard
instance GHC.Classes.Eq StripeAPI.Types.DeletedCard.DeletedCard
instance GHC.Show.Show StripeAPI.Types.DeletedCard.DeletedCard
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.DeletedCard.DeletedCard
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.DeletedCard.DeletedCard
-- | Contains the types generated from the schema DeletedCoupon
module StripeAPI.Types.DeletedCoupon
-- | Defines the object schema located at
-- components.schemas.deleted_coupon in the specification.
data DeletedCoupon
DeletedCoupon :: Text -> DeletedCoupon
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deletedCouponId] :: DeletedCoupon -> Text
-- | Create a new DeletedCoupon with all required fields.
mkDeletedCoupon :: Text -> DeletedCoupon
instance GHC.Classes.Eq StripeAPI.Types.DeletedCoupon.DeletedCoupon
instance GHC.Show.Show StripeAPI.Types.DeletedCoupon.DeletedCoupon
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.DeletedCoupon.DeletedCoupon
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.DeletedCoupon.DeletedCoupon
-- | Contains the types generated from the schema BankAccount
module StripeAPI.Types.BankAccount
-- | Defines the object schema located at
-- components.schemas.bank_account in the specification.
--
-- These bank accounts are payment methods on `Customer` objects.
--
-- On the other hand External Accounts are transfer destinations
-- on `Account` objects for Custom accounts. They can be bank
-- accounts or debit cards as well, and are documented in the links
-- above.
--
-- Related guide: Bank Debits and Transfers.
data BankAccount
BankAccount :: Maybe BankAccountAccount'Variants -> Maybe Text -> Maybe Text -> Maybe [BankAccountAvailablePayoutMethods'] -> Maybe Text -> Text -> Text -> Maybe BankAccountCustomer'Variants -> Maybe Bool -> Maybe Text -> Text -> Text -> Maybe Object -> Maybe Text -> Text -> BankAccount
-- | account: The ID of the account that the bank account is associated
-- with.
[bankAccountAccount] :: BankAccount -> Maybe BankAccountAccount'Variants
-- | account_holder_name: The name of the person or business that owns the
-- bank account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[bankAccountAccountHolderName] :: BankAccount -> Maybe Text
-- | account_holder_type: The type of entity that holds the account. This
-- can be either `individual` or `company`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[bankAccountAccountHolderType] :: BankAccount -> Maybe Text
-- | available_payout_methods: A set of available payout methods for this
-- bank account. Only values from this set should be passed as the
-- `method` when creating a payout.
[bankAccountAvailablePayoutMethods] :: BankAccount -> Maybe [BankAccountAvailablePayoutMethods']
-- | bank_name: Name of the bank associated with the routing number (e.g.,
-- `WELLS FARGO`).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[bankAccountBankName] :: BankAccount -> Maybe Text
-- | country: Two-letter ISO code representing the country the bank account
-- is located in.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[bankAccountCountry] :: BankAccount -> Text
-- | currency: Three-letter ISO code for the currency paid out to
-- the bank account.
[bankAccountCurrency] :: BankAccount -> Text
-- | customer: The ID of the customer that the bank account is associated
-- with.
[bankAccountCustomer] :: BankAccount -> Maybe BankAccountCustomer'Variants
-- | default_for_currency: Whether this bank account is the default
-- external account for its currency.
[bankAccountDefaultForCurrency] :: BankAccount -> Maybe Bool
-- | fingerprint: Uniquely identifies this particular bank account. You can
-- use this attribute to check whether two bank accounts are the same.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[bankAccountFingerprint] :: BankAccount -> Maybe Text
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[bankAccountId] :: BankAccount -> Text
-- | last4: The last four digits of the bank account number.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[bankAccountLast4] :: BankAccount -> Text
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format.
[bankAccountMetadata] :: BankAccount -> Maybe Object
-- | routing_number: The routing transit number for the bank account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[bankAccountRoutingNumber] :: BankAccount -> Maybe Text
-- | status: For bank accounts, possible values are `new`, `validated`,
-- `verified`, `verification_failed`, or `errored`. A bank account that
-- hasn't had any activity or validation performed is `new`. If Stripe
-- can determine that the bank account exists, its status will be
-- `validated`. Note that there often isn’t enough information to know
-- (e.g., for smaller credit unions), and the validation is not always
-- run. If customer bank account verification has succeeded, the bank
-- account status will be `verified`. If the verification failed for any
-- reason, such as microdeposit failure, the status will be
-- `verification_failed`. If a transfer sent to this bank account fails,
-- we'll set the status to `errored` and will not continue to send
-- transfers until the bank details are updated.
--
-- For external accounts, possible values are `new` and `errored`.
-- Validations aren't run against external accounts because they're only
-- used for payouts. This means the other statuses don't apply. If a
-- transfer fails, the status is set to `errored` and transfers are
-- stopped until account details are updated.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[bankAccountStatus] :: BankAccount -> Text
-- | Create a new BankAccount with all required fields.
mkBankAccount :: Text -> Text -> Text -> Text -> Text -> BankAccount
-- | Defines the oneOf schema located at
-- components.schemas.bank_account.properties.account.anyOf in
-- the specification.
--
-- The ID of the account that the bank account is associated with.
data BankAccountAccount'Variants
BankAccountAccount'Text :: Text -> BankAccountAccount'Variants
BankAccountAccount'Account :: Account -> BankAccountAccount'Variants
-- | Defines the enum schema located at
-- components.schemas.bank_account.properties.available_payout_methods.items
-- in the specification.
data BankAccountAvailablePayoutMethods'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
BankAccountAvailablePayoutMethods'Other :: Value -> BankAccountAvailablePayoutMethods'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
BankAccountAvailablePayoutMethods'Typed :: Text -> BankAccountAvailablePayoutMethods'
-- | Represents the JSON value "instant"
BankAccountAvailablePayoutMethods'EnumInstant :: BankAccountAvailablePayoutMethods'
-- | Represents the JSON value "standard"
BankAccountAvailablePayoutMethods'EnumStandard :: BankAccountAvailablePayoutMethods'
-- | Defines the oneOf schema located at
-- components.schemas.bank_account.properties.customer.anyOf in
-- the specification.
--
-- The ID of the customer that the bank account is associated with.
data BankAccountCustomer'Variants
BankAccountCustomer'Text :: Text -> BankAccountCustomer'Variants
BankAccountCustomer'Customer :: Customer -> BankAccountCustomer'Variants
BankAccountCustomer'DeletedCustomer :: DeletedCustomer -> BankAccountCustomer'Variants
instance GHC.Classes.Eq StripeAPI.Types.BankAccount.BankAccountAccount'Variants
instance GHC.Show.Show StripeAPI.Types.BankAccount.BankAccountAccount'Variants
instance GHC.Classes.Eq StripeAPI.Types.BankAccount.BankAccountAvailablePayoutMethods'
instance GHC.Show.Show StripeAPI.Types.BankAccount.BankAccountAvailablePayoutMethods'
instance GHC.Classes.Eq StripeAPI.Types.BankAccount.BankAccountCustomer'Variants
instance GHC.Show.Show StripeAPI.Types.BankAccount.BankAccountCustomer'Variants
instance GHC.Classes.Eq StripeAPI.Types.BankAccount.BankAccount
instance GHC.Show.Show StripeAPI.Types.BankAccount.BankAccount
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.BankAccount.BankAccount
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.BankAccount.BankAccount
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.BankAccount.BankAccountCustomer'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.BankAccount.BankAccountCustomer'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.BankAccount.BankAccountAvailablePayoutMethods'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.BankAccount.BankAccountAvailablePayoutMethods'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.BankAccount.BankAccountAccount'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.BankAccount.BankAccountAccount'Variants
-- | Contains the types generated from the schema AlipayAccount
module StripeAPI.Types.AlipayAccount
-- | Defines the object schema located at
-- components.schemas.alipay_account in the specification.
data AlipayAccount
AlipayAccount :: Int -> Maybe AlipayAccountCustomer'Variants -> Text -> Text -> Bool -> Maybe Object -> Maybe Int -> Maybe Text -> Bool -> Bool -> Text -> AlipayAccount
-- | created: Time at which the object was created. Measured in seconds
-- since the Unix epoch.
[alipayAccountCreated] :: AlipayAccount -> Int
-- | customer: The ID of the customer associated with this Alipay Account.
[alipayAccountCustomer] :: AlipayAccount -> Maybe AlipayAccountCustomer'Variants
-- | fingerprint: Uniquely identifies the account and will be the same
-- across all Alipay account objects that are linked to the same Alipay
-- account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[alipayAccountFingerprint] :: AlipayAccount -> Text
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[alipayAccountId] :: AlipayAccount -> Text
-- | livemode: Has the value `true` if the object exists in live mode or
-- the value `false` if the object exists in test mode.
[alipayAccountLivemode] :: AlipayAccount -> Bool
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format.
[alipayAccountMetadata] :: AlipayAccount -> Maybe Object
-- | payment_amount: If the Alipay account object is not reusable, the
-- exact amount that you can create a charge for.
[alipayAccountPaymentAmount] :: AlipayAccount -> Maybe Int
-- | payment_currency: If the Alipay account object is not reusable, the
-- exact currency that you can create a charge for.
[alipayAccountPaymentCurrency] :: AlipayAccount -> Maybe Text
-- | reusable: True if you can create multiple payments using this account.
-- If the account is reusable, then you can freely choose the amount of
-- each payment.
[alipayAccountReusable] :: AlipayAccount -> Bool
-- | used: Whether this Alipay account object has ever been used for a
-- payment.
[alipayAccountUsed] :: AlipayAccount -> Bool
-- | username: The username for the Alipay account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[alipayAccountUsername] :: AlipayAccount -> Text
-- | Create a new AlipayAccount with all required fields.
mkAlipayAccount :: Int -> Text -> Text -> Bool -> Bool -> Bool -> Text -> AlipayAccount
-- | Defines the oneOf schema located at
-- components.schemas.alipay_account.properties.customer.anyOf
-- in the specification.
--
-- The ID of the customer associated with this Alipay Account.
data AlipayAccountCustomer'Variants
AlipayAccountCustomer'Text :: Text -> AlipayAccountCustomer'Variants
AlipayAccountCustomer'Customer :: Customer -> AlipayAccountCustomer'Variants
AlipayAccountCustomer'DeletedCustomer :: DeletedCustomer -> AlipayAccountCustomer'Variants
instance GHC.Classes.Eq StripeAPI.Types.AlipayAccount.AlipayAccountCustomer'Variants
instance GHC.Show.Show StripeAPI.Types.AlipayAccount.AlipayAccountCustomer'Variants
instance GHC.Classes.Eq StripeAPI.Types.AlipayAccount.AlipayAccount
instance GHC.Show.Show StripeAPI.Types.AlipayAccount.AlipayAccount
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.AlipayAccount.AlipayAccount
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.AlipayAccount.AlipayAccount
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.AlipayAccount.AlipayAccountCustomer'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.AlipayAccount.AlipayAccountCustomer'Variants
-- | Contains the types generated from the schema DeletedCustomer
module StripeAPI.Types.DeletedCustomer
-- | Defines the object schema located at
-- components.schemas.deleted_customer in the specification.
data DeletedCustomer
DeletedCustomer :: Text -> DeletedCustomer
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deletedCustomerId] :: DeletedCustomer -> Text
-- | Create a new DeletedCustomer with all required fields.
mkDeletedCustomer :: Text -> DeletedCustomer
instance GHC.Classes.Eq StripeAPI.Types.DeletedCustomer.DeletedCustomer
instance GHC.Show.Show StripeAPI.Types.DeletedCustomer.DeletedCustomer
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.DeletedCustomer.DeletedCustomer
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.DeletedCustomer.DeletedCustomer
-- | Contains the types generated from the schema DeletedExternalAccount
module StripeAPI.Types.DeletedExternalAccount
-- | Defines the object schema located at
-- components.schemas.deleted_external_account.anyOf in the
-- specification.
data DeletedExternalAccount
DeletedExternalAccount :: Maybe Text -> Maybe DeletedExternalAccountDeleted' -> Maybe Text -> Maybe DeletedExternalAccountObject' -> DeletedExternalAccount
-- | currency: Three-letter ISO code for the currency paid out to
-- the bank account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deletedExternalAccountCurrency] :: DeletedExternalAccount -> Maybe Text
-- | deleted: Always true for a deleted object
[deletedExternalAccountDeleted] :: DeletedExternalAccount -> Maybe DeletedExternalAccountDeleted'
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deletedExternalAccountId] :: DeletedExternalAccount -> Maybe Text
-- | object: String representing the object's type. Objects of the same
-- type share the same value.
[deletedExternalAccountObject] :: DeletedExternalAccount -> Maybe DeletedExternalAccountObject'
-- | Create a new DeletedExternalAccount with all required fields.
mkDeletedExternalAccount :: DeletedExternalAccount
-- | Defines the enum schema located at
-- components.schemas.deleted_external_account.anyOf.properties.deleted
-- in the specification.
--
-- Always true for a deleted object
data DeletedExternalAccountDeleted'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
DeletedExternalAccountDeleted'Other :: Value -> DeletedExternalAccountDeleted'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
DeletedExternalAccountDeleted'Typed :: Bool -> DeletedExternalAccountDeleted'
-- | Represents the JSON value true
DeletedExternalAccountDeleted'EnumTrue :: DeletedExternalAccountDeleted'
-- | Defines the enum schema located at
-- components.schemas.deleted_external_account.anyOf.properties.object
-- in the specification.
--
-- String representing the object's type. Objects of the same type share
-- the same value.
data DeletedExternalAccountObject'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
DeletedExternalAccountObject'Other :: Value -> DeletedExternalAccountObject'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
DeletedExternalAccountObject'Typed :: Text -> DeletedExternalAccountObject'
-- | Represents the JSON value "bank_account"
DeletedExternalAccountObject'EnumBankAccount :: DeletedExternalAccountObject'
instance GHC.Classes.Eq StripeAPI.Types.DeletedExternalAccount.DeletedExternalAccountDeleted'
instance GHC.Show.Show StripeAPI.Types.DeletedExternalAccount.DeletedExternalAccountDeleted'
instance GHC.Classes.Eq StripeAPI.Types.DeletedExternalAccount.DeletedExternalAccountObject'
instance GHC.Show.Show StripeAPI.Types.DeletedExternalAccount.DeletedExternalAccountObject'
instance GHC.Classes.Eq StripeAPI.Types.DeletedExternalAccount.DeletedExternalAccount
instance GHC.Show.Show StripeAPI.Types.DeletedExternalAccount.DeletedExternalAccount
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.DeletedExternalAccount.DeletedExternalAccount
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.DeletedExternalAccount.DeletedExternalAccount
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.DeletedExternalAccount.DeletedExternalAccountObject'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.DeletedExternalAccount.DeletedExternalAccountObject'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.DeletedExternalAccount.DeletedExternalAccountDeleted'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.DeletedExternalAccount.DeletedExternalAccountDeleted'
-- | Contains the types generated from the schema DeletedInvoice
module StripeAPI.Types.DeletedInvoice
-- | Defines the object schema located at
-- components.schemas.deleted_invoice in the specification.
data DeletedInvoice
DeletedInvoice :: Text -> DeletedInvoice
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deletedInvoiceId] :: DeletedInvoice -> Text
-- | Create a new DeletedInvoice with all required fields.
mkDeletedInvoice :: Text -> DeletedInvoice
instance GHC.Classes.Eq StripeAPI.Types.DeletedInvoice.DeletedInvoice
instance GHC.Show.Show StripeAPI.Types.DeletedInvoice.DeletedInvoice
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.DeletedInvoice.DeletedInvoice
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.DeletedInvoice.DeletedInvoice
-- | Contains the types generated from the schema DeletedInvoiceitem
module StripeAPI.Types.DeletedInvoiceitem
-- | Defines the object schema located at
-- components.schemas.deleted_invoiceitem in the specification.
data DeletedInvoiceitem
DeletedInvoiceitem :: Text -> DeletedInvoiceitem
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deletedInvoiceitemId] :: DeletedInvoiceitem -> Text
-- | Create a new DeletedInvoiceitem with all required fields.
mkDeletedInvoiceitem :: Text -> DeletedInvoiceitem
instance GHC.Classes.Eq StripeAPI.Types.DeletedInvoiceitem.DeletedInvoiceitem
instance GHC.Show.Show StripeAPI.Types.DeletedInvoiceitem.DeletedInvoiceitem
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.DeletedInvoiceitem.DeletedInvoiceitem
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.DeletedInvoiceitem.DeletedInvoiceitem
-- | Contains the types generated from the schema DeletedPaymentSource
module StripeAPI.Types.DeletedPaymentSource
-- | Defines the object schema located at
-- components.schemas.deleted_payment_source.anyOf in the
-- specification.
data DeletedPaymentSource
DeletedPaymentSource :: Maybe Text -> Maybe DeletedPaymentSourceDeleted' -> Maybe Text -> Maybe DeletedPaymentSourceObject' -> DeletedPaymentSource
-- | currency: Three-letter ISO code for the currency paid out to
-- the bank account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deletedPaymentSourceCurrency] :: DeletedPaymentSource -> Maybe Text
-- | deleted: Always true for a deleted object
[deletedPaymentSourceDeleted] :: DeletedPaymentSource -> Maybe DeletedPaymentSourceDeleted'
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deletedPaymentSourceId] :: DeletedPaymentSource -> Maybe Text
-- | object: String representing the object's type. Objects of the same
-- type share the same value.
[deletedPaymentSourceObject] :: DeletedPaymentSource -> Maybe DeletedPaymentSourceObject'
-- | Create a new DeletedPaymentSource with all required fields.
mkDeletedPaymentSource :: DeletedPaymentSource
-- | Defines the enum schema located at
-- components.schemas.deleted_payment_source.anyOf.properties.deleted
-- in the specification.
--
-- Always true for a deleted object
data DeletedPaymentSourceDeleted'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
DeletedPaymentSourceDeleted'Other :: Value -> DeletedPaymentSourceDeleted'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
DeletedPaymentSourceDeleted'Typed :: Bool -> DeletedPaymentSourceDeleted'
-- | Represents the JSON value true
DeletedPaymentSourceDeleted'EnumTrue :: DeletedPaymentSourceDeleted'
-- | Defines the enum schema located at
-- components.schemas.deleted_payment_source.anyOf.properties.object
-- in the specification.
--
-- String representing the object's type. Objects of the same type share
-- the same value.
data DeletedPaymentSourceObject'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
DeletedPaymentSourceObject'Other :: Value -> DeletedPaymentSourceObject'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
DeletedPaymentSourceObject'Typed :: Text -> DeletedPaymentSourceObject'
-- | Represents the JSON value "alipay_account"
DeletedPaymentSourceObject'EnumAlipayAccount :: DeletedPaymentSourceObject'
instance GHC.Classes.Eq StripeAPI.Types.DeletedPaymentSource.DeletedPaymentSourceDeleted'
instance GHC.Show.Show StripeAPI.Types.DeletedPaymentSource.DeletedPaymentSourceDeleted'
instance GHC.Classes.Eq StripeAPI.Types.DeletedPaymentSource.DeletedPaymentSourceObject'
instance GHC.Show.Show StripeAPI.Types.DeletedPaymentSource.DeletedPaymentSourceObject'
instance GHC.Classes.Eq StripeAPI.Types.DeletedPaymentSource.DeletedPaymentSource
instance GHC.Show.Show StripeAPI.Types.DeletedPaymentSource.DeletedPaymentSource
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.DeletedPaymentSource.DeletedPaymentSource
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.DeletedPaymentSource.DeletedPaymentSource
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.DeletedPaymentSource.DeletedPaymentSourceObject'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.DeletedPaymentSource.DeletedPaymentSourceObject'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.DeletedPaymentSource.DeletedPaymentSourceDeleted'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.DeletedPaymentSource.DeletedPaymentSourceDeleted'
-- | Contains the types generated from the schema DeletedPerson
module StripeAPI.Types.DeletedPerson
-- | Defines the object schema located at
-- components.schemas.deleted_person in the specification.
data DeletedPerson
DeletedPerson :: Text -> DeletedPerson
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deletedPersonId] :: DeletedPerson -> Text
-- | Create a new DeletedPerson with all required fields.
mkDeletedPerson :: Text -> DeletedPerson
instance GHC.Classes.Eq StripeAPI.Types.DeletedPerson.DeletedPerson
instance GHC.Show.Show StripeAPI.Types.DeletedPerson.DeletedPerson
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.DeletedPerson.DeletedPerson
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.DeletedPerson.DeletedPerson
-- | Contains the types generated from the schema DeletedPlan
module StripeAPI.Types.DeletedPlan
-- | Defines the object schema located at
-- components.schemas.deleted_plan in the specification.
data DeletedPlan
DeletedPlan :: Text -> DeletedPlan
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deletedPlanId] :: DeletedPlan -> Text
-- | Create a new DeletedPlan with all required fields.
mkDeletedPlan :: Text -> DeletedPlan
instance GHC.Classes.Eq StripeAPI.Types.DeletedPlan.DeletedPlan
instance GHC.Show.Show StripeAPI.Types.DeletedPlan.DeletedPlan
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.DeletedPlan.DeletedPlan
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.DeletedPlan.DeletedPlan
-- | Contains the types generated from the schema DeletedPrice
module StripeAPI.Types.DeletedPrice
-- | Defines the object schema located at
-- components.schemas.deleted_price in the specification.
data DeletedPrice
DeletedPrice :: Text -> DeletedPrice
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deletedPriceId] :: DeletedPrice -> Text
-- | Create a new DeletedPrice with all required fields.
mkDeletedPrice :: Text -> DeletedPrice
instance GHC.Classes.Eq StripeAPI.Types.DeletedPrice.DeletedPrice
instance GHC.Show.Show StripeAPI.Types.DeletedPrice.DeletedPrice
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.DeletedPrice.DeletedPrice
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.DeletedPrice.DeletedPrice
-- | Contains the types generated from the schema DeletedProduct
module StripeAPI.Types.DeletedProduct
-- | Defines the object schema located at
-- components.schemas.deleted_product in the specification.
data DeletedProduct
DeletedProduct :: Text -> DeletedProduct
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deletedProductId] :: DeletedProduct -> Text
-- | Create a new DeletedProduct with all required fields.
mkDeletedProduct :: Text -> DeletedProduct
instance GHC.Classes.Eq StripeAPI.Types.DeletedProduct.DeletedProduct
instance GHC.Show.Show StripeAPI.Types.DeletedProduct.DeletedProduct
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.DeletedProduct.DeletedProduct
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.DeletedProduct.DeletedProduct
-- | Contains the types generated from the schema DeletedRadar_ValueList
module StripeAPI.Types.DeletedRadar_ValueList
-- | Defines the object schema located at
-- components.schemas.deleted_radar.value_list in the
-- specification.
data DeletedRadar'valueList
DeletedRadar'valueList :: Text -> DeletedRadar'valueList
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deletedRadar'valueListId] :: DeletedRadar'valueList -> Text
-- | Create a new DeletedRadar'valueList with all required fields.
mkDeletedRadar'valueList :: Text -> DeletedRadar'valueList
instance GHC.Classes.Eq StripeAPI.Types.DeletedRadar_ValueList.DeletedRadar'valueList
instance GHC.Show.Show StripeAPI.Types.DeletedRadar_ValueList.DeletedRadar'valueList
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.DeletedRadar_ValueList.DeletedRadar'valueList
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.DeletedRadar_ValueList.DeletedRadar'valueList
-- | Contains the types generated from the schema
-- DeletedRadar_ValueListItem
module StripeAPI.Types.DeletedRadar_ValueListItem
-- | Defines the object schema located at
-- components.schemas.deleted_radar.value_list_item in the
-- specification.
data DeletedRadar'valueListItem
DeletedRadar'valueListItem :: Text -> DeletedRadar'valueListItem
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deletedRadar'valueListItemId] :: DeletedRadar'valueListItem -> Text
-- | Create a new DeletedRadar'valueListItem with all required
-- fields.
mkDeletedRadar'valueListItem :: Text -> DeletedRadar'valueListItem
instance GHC.Classes.Eq StripeAPI.Types.DeletedRadar_ValueListItem.DeletedRadar'valueListItem
instance GHC.Show.Show StripeAPI.Types.DeletedRadar_ValueListItem.DeletedRadar'valueListItem
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.DeletedRadar_ValueListItem.DeletedRadar'valueListItem
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.DeletedRadar_ValueListItem.DeletedRadar'valueListItem
-- | Contains the types generated from the schema DeletedRecipient
module StripeAPI.Types.DeletedRecipient
-- | Defines the object schema located at
-- components.schemas.deleted_recipient in the specification.
data DeletedRecipient
DeletedRecipient :: Text -> DeletedRecipient
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deletedRecipientId] :: DeletedRecipient -> Text
-- | Create a new DeletedRecipient with all required fields.
mkDeletedRecipient :: Text -> DeletedRecipient
instance GHC.Classes.Eq StripeAPI.Types.DeletedRecipient.DeletedRecipient
instance GHC.Show.Show StripeAPI.Types.DeletedRecipient.DeletedRecipient
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.DeletedRecipient.DeletedRecipient
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.DeletedRecipient.DeletedRecipient
-- | Contains the types generated from the schema DeletedSku
module StripeAPI.Types.DeletedSku
-- | Defines the object schema located at
-- components.schemas.deleted_sku in the specification.
data DeletedSku
DeletedSku :: Text -> DeletedSku
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deletedSkuId] :: DeletedSku -> Text
-- | Create a new DeletedSku with all required fields.
mkDeletedSku :: Text -> DeletedSku
instance GHC.Classes.Eq StripeAPI.Types.DeletedSku.DeletedSku
instance GHC.Show.Show StripeAPI.Types.DeletedSku.DeletedSku
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.DeletedSku.DeletedSku
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.DeletedSku.DeletedSku
-- | Contains the types generated from the schema DeletedSubscriptionItem
module StripeAPI.Types.DeletedSubscriptionItem
-- | Defines the object schema located at
-- components.schemas.deleted_subscription_item in the
-- specification.
data DeletedSubscriptionItem
DeletedSubscriptionItem :: Text -> DeletedSubscriptionItem
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deletedSubscriptionItemId] :: DeletedSubscriptionItem -> Text
-- | Create a new DeletedSubscriptionItem with all required fields.
mkDeletedSubscriptionItem :: Text -> DeletedSubscriptionItem
instance GHC.Classes.Eq StripeAPI.Types.DeletedSubscriptionItem.DeletedSubscriptionItem
instance GHC.Show.Show StripeAPI.Types.DeletedSubscriptionItem.DeletedSubscriptionItem
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.DeletedSubscriptionItem.DeletedSubscriptionItem
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.DeletedSubscriptionItem.DeletedSubscriptionItem
-- | Contains the types generated from the schema DeletedTaxId
module StripeAPI.Types.DeletedTaxId
-- | Defines the object schema located at
-- components.schemas.deleted_tax_id in the specification.
data DeletedTaxId
DeletedTaxId :: Text -> DeletedTaxId
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deletedTaxIdId] :: DeletedTaxId -> Text
-- | Create a new DeletedTaxId with all required fields.
mkDeletedTaxId :: Text -> DeletedTaxId
instance GHC.Classes.Eq StripeAPI.Types.DeletedTaxId.DeletedTaxId
instance GHC.Show.Show StripeAPI.Types.DeletedTaxId.DeletedTaxId
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.DeletedTaxId.DeletedTaxId
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.DeletedTaxId.DeletedTaxId
-- | Contains the types generated from the schema DeletedTerminal_Location
module StripeAPI.Types.DeletedTerminal_Location
-- | Defines the object schema located at
-- components.schemas.deleted_terminal.location in the
-- specification.
data DeletedTerminal'location
DeletedTerminal'location :: Text -> DeletedTerminal'location
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deletedTerminal'locationId] :: DeletedTerminal'location -> Text
-- | Create a new DeletedTerminal'location with all required fields.
mkDeletedTerminal'location :: Text -> DeletedTerminal'location
instance GHC.Classes.Eq StripeAPI.Types.DeletedTerminal_Location.DeletedTerminal'location
instance GHC.Show.Show StripeAPI.Types.DeletedTerminal_Location.DeletedTerminal'location
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.DeletedTerminal_Location.DeletedTerminal'location
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.DeletedTerminal_Location.DeletedTerminal'location
-- | Contains the types generated from the schema DeletedTerminal_Reader
module StripeAPI.Types.DeletedTerminal_Reader
-- | Defines the object schema located at
-- components.schemas.deleted_terminal.reader in the
-- specification.
data DeletedTerminal'reader
DeletedTerminal'reader :: Text -> DeletedTerminal'reader
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deletedTerminal'readerId] :: DeletedTerminal'reader -> Text
-- | Create a new DeletedTerminal'reader with all required fields.
mkDeletedTerminal'reader :: Text -> DeletedTerminal'reader
instance GHC.Classes.Eq StripeAPI.Types.DeletedTerminal_Reader.DeletedTerminal'reader
instance GHC.Show.Show StripeAPI.Types.DeletedTerminal_Reader.DeletedTerminal'reader
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.DeletedTerminal_Reader.DeletedTerminal'reader
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.DeletedTerminal_Reader.DeletedTerminal'reader
-- | Contains the types generated from the schema DeletedWebhookEndpoint
module StripeAPI.Types.DeletedWebhookEndpoint
-- | Defines the object schema located at
-- components.schemas.deleted_webhook_endpoint in the
-- specification.
data DeletedWebhookEndpoint
DeletedWebhookEndpoint :: Text -> DeletedWebhookEndpoint
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deletedWebhookEndpointId] :: DeletedWebhookEndpoint -> Text
-- | Create a new DeletedWebhookEndpoint with all required fields.
mkDeletedWebhookEndpoint :: Text -> DeletedWebhookEndpoint
instance GHC.Classes.Eq StripeAPI.Types.DeletedWebhookEndpoint.DeletedWebhookEndpoint
instance GHC.Show.Show StripeAPI.Types.DeletedWebhookEndpoint.DeletedWebhookEndpoint
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.DeletedWebhookEndpoint.DeletedWebhookEndpoint
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.DeletedWebhookEndpoint.DeletedWebhookEndpoint
-- | Contains the types generated from the schema DeliveryEstimate
module StripeAPI.Types.DeliveryEstimate
-- | Defines the object schema located at
-- components.schemas.delivery_estimate in the specification.
data DeliveryEstimate
DeliveryEstimate :: Maybe Text -> Maybe Text -> Maybe Text -> Text -> DeliveryEstimate
-- | date: If `type` is `"exact"`, `date` will be the expected delivery
-- date in the format YYYY-MM-DD.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deliveryEstimateDate] :: DeliveryEstimate -> Maybe Text
-- | earliest: If `type` is `"range"`, `earliest` will be be the earliest
-- delivery date in the format YYYY-MM-DD.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deliveryEstimateEarliest] :: DeliveryEstimate -> Maybe Text
-- | latest: If `type` is `"range"`, `latest` will be the latest delivery
-- date in the format YYYY-MM-DD.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deliveryEstimateLatest] :: DeliveryEstimate -> Maybe Text
-- | type: The type of estimate. Must be either `"range"` or `"exact"`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deliveryEstimateType] :: DeliveryEstimate -> Text
-- | Create a new DeliveryEstimate with all required fields.
mkDeliveryEstimate :: Text -> DeliveryEstimate
instance GHC.Classes.Eq StripeAPI.Types.DeliveryEstimate.DeliveryEstimate
instance GHC.Show.Show StripeAPI.Types.DeliveryEstimate.DeliveryEstimate
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.DeliveryEstimate.DeliveryEstimate
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.DeliveryEstimate.DeliveryEstimate
-- | Contains the types generated from the schema
-- DiscountsResourceDiscountAmount
module StripeAPI.Types.DiscountsResourceDiscountAmount
-- | Defines the object schema located at
-- components.schemas.discounts_resource_discount_amount in the
-- specification.
data DiscountsResourceDiscountAmount
DiscountsResourceDiscountAmount :: Int -> DiscountsResourceDiscountAmountDiscount'Variants -> DiscountsResourceDiscountAmount
-- | amount: The amount, in %s, of the discount.
[discountsResourceDiscountAmountAmount] :: DiscountsResourceDiscountAmount -> Int
-- | discount: The discount that was applied to get this discount amount.
[discountsResourceDiscountAmountDiscount] :: DiscountsResourceDiscountAmount -> DiscountsResourceDiscountAmountDiscount'Variants
-- | Create a new DiscountsResourceDiscountAmount with all required
-- fields.
mkDiscountsResourceDiscountAmount :: Int -> DiscountsResourceDiscountAmountDiscount'Variants -> DiscountsResourceDiscountAmount
-- | Defines the oneOf schema located at
-- components.schemas.discounts_resource_discount_amount.properties.discount.anyOf
-- in the specification.
--
-- The discount that was applied to get this discount amount.
data DiscountsResourceDiscountAmountDiscount'Variants
DiscountsResourceDiscountAmountDiscount'Text :: Text -> DiscountsResourceDiscountAmountDiscount'Variants
DiscountsResourceDiscountAmountDiscount'Discount :: Discount -> DiscountsResourceDiscountAmountDiscount'Variants
DiscountsResourceDiscountAmountDiscount'DeletedDiscount :: DeletedDiscount -> DiscountsResourceDiscountAmountDiscount'Variants
instance GHC.Classes.Eq StripeAPI.Types.DiscountsResourceDiscountAmount.DiscountsResourceDiscountAmountDiscount'Variants
instance GHC.Show.Show StripeAPI.Types.DiscountsResourceDiscountAmount.DiscountsResourceDiscountAmountDiscount'Variants
instance GHC.Classes.Eq StripeAPI.Types.DiscountsResourceDiscountAmount.DiscountsResourceDiscountAmount
instance GHC.Show.Show StripeAPI.Types.DiscountsResourceDiscountAmount.DiscountsResourceDiscountAmount
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.DiscountsResourceDiscountAmount.DiscountsResourceDiscountAmount
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.DiscountsResourceDiscountAmount.DiscountsResourceDiscountAmount
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.DiscountsResourceDiscountAmount.DiscountsResourceDiscountAmountDiscount'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.DiscountsResourceDiscountAmount.DiscountsResourceDiscountAmountDiscount'Variants
-- | Contains the types generated from the schema DisputeEvidenceDetails
module StripeAPI.Types.DisputeEvidenceDetails
-- | Defines the object schema located at
-- components.schemas.dispute_evidence_details in the
-- specification.
data DisputeEvidenceDetails
DisputeEvidenceDetails :: Maybe Int -> Bool -> Bool -> Int -> DisputeEvidenceDetails
-- | due_by: Date by which evidence must be submitted in order to
-- successfully challenge dispute. Will be null if the customer's bank or
-- credit card company doesn't allow a response for this particular
-- dispute.
[disputeEvidenceDetailsDueBy] :: DisputeEvidenceDetails -> Maybe Int
-- | has_evidence: Whether evidence has been staged for this dispute.
[disputeEvidenceDetailsHasEvidence] :: DisputeEvidenceDetails -> Bool
-- | past_due: Whether the last evidence submission was submitted past the
-- due date. Defaults to `false` if no evidence submissions have
-- occurred. If `true`, then delivery of the latest evidence is *not*
-- guaranteed.
[disputeEvidenceDetailsPastDue] :: DisputeEvidenceDetails -> Bool
-- | submission_count: The number of times evidence has been submitted.
-- Typically, you may only submit evidence once.
[disputeEvidenceDetailsSubmissionCount] :: DisputeEvidenceDetails -> Int
-- | Create a new DisputeEvidenceDetails with all required fields.
mkDisputeEvidenceDetails :: Bool -> Bool -> Int -> DisputeEvidenceDetails
instance GHC.Classes.Eq StripeAPI.Types.DisputeEvidenceDetails.DisputeEvidenceDetails
instance GHC.Show.Show StripeAPI.Types.DisputeEvidenceDetails.DisputeEvidenceDetails
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.DisputeEvidenceDetails.DisputeEvidenceDetails
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.DisputeEvidenceDetails.DisputeEvidenceDetails
-- | Contains the types generated from the schema EphemeralKey
module StripeAPI.Types.EphemeralKey
-- | Defines the object schema located at
-- components.schemas.ephemeral_key in the specification.
data EphemeralKey
EphemeralKey :: Int -> Int -> Text -> Bool -> Maybe Text -> EphemeralKey
-- | created: Time at which the object was created. Measured in seconds
-- since the Unix epoch.
[ephemeralKeyCreated] :: EphemeralKey -> Int
-- | expires: Time at which the key will expire. Measured in seconds since
-- the Unix epoch.
[ephemeralKeyExpires] :: EphemeralKey -> Int
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[ephemeralKeyId] :: EphemeralKey -> Text
-- | livemode: Has the value `true` if the object exists in live mode or
-- the value `false` if the object exists in test mode.
[ephemeralKeyLivemode] :: EphemeralKey -> Bool
-- | secret: The key's secret. You can use this value to make authorized
-- requests to the Stripe API.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[ephemeralKeySecret] :: EphemeralKey -> Maybe Text
-- | Create a new EphemeralKey with all required fields.
mkEphemeralKey :: Int -> Int -> Text -> Bool -> EphemeralKey
instance GHC.Classes.Eq StripeAPI.Types.EphemeralKey.EphemeralKey
instance GHC.Show.Show StripeAPI.Types.EphemeralKey.EphemeralKey
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.EphemeralKey.EphemeralKey
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.EphemeralKey.EphemeralKey
-- | Contains the types generated from the schema Error
module StripeAPI.Types.Error
-- | Defines the object schema located at components.schemas.error
-- in the specification.
--
-- An error response from the Stripe API
data Error
Error :: ApiErrors -> Error
-- | error:
[errorError] :: Error -> ApiErrors
-- | Create a new Error with all required fields.
mkError :: ApiErrors -> Error
instance GHC.Classes.Eq StripeAPI.Types.Error.Error
instance GHC.Show.Show StripeAPI.Types.Error.Error
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Error.Error
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Error.Error
-- | Contains the types generated from the schema ExchangeRate
module StripeAPI.Types.ExchangeRate
-- | Defines the object schema located at
-- components.schemas.exchange_rate in the specification.
--
-- `Exchange Rate` objects allow you to determine the rates that Stripe
-- is currently using to convert from one currency to another. Since this
-- number is variable throughout the day, there are various reasons why
-- you might want to know the current rate (for example, to dynamically
-- price an item for a user with a default payment in a foreign
-- currency).
--
-- If you want a guarantee that the charge is made with a certain
-- exchange rate you expect is current, you can pass in `exchange_rate`
-- to charges endpoints. If the value is no longer up to date, the charge
-- won't go through. Please refer to our Exchange Rates API guide
-- for more details.
data ExchangeRate
ExchangeRate :: Text -> Object -> ExchangeRate
-- | id: Unique identifier for the object. Represented as the three-letter
-- ISO currency code in lowercase.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[exchangeRateId] :: ExchangeRate -> Text
-- | rates: Hash where the keys are supported currencies and the values are
-- the exchange rate at which the base id currency converts to the key
-- currency.
[exchangeRateRates] :: ExchangeRate -> Object
-- | Create a new ExchangeRate with all required fields.
mkExchangeRate :: Text -> Object -> ExchangeRate
instance GHC.Classes.Eq StripeAPI.Types.ExchangeRate.ExchangeRate
instance GHC.Show.Show StripeAPI.Types.ExchangeRate.ExchangeRate
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.ExchangeRate.ExchangeRate
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.ExchangeRate.ExchangeRate
-- | Contains the types generated from the schema Fee
module StripeAPI.Types.Fee
-- | Defines the object schema located at components.schemas.fee
-- in the specification.
data Fee
Fee :: Int -> Maybe Text -> Text -> Maybe Text -> Text -> Fee
-- | amount: Amount of the fee, in cents.
[feeAmount] :: Fee -> Int
-- | application: ID of the Connect application that earned the fee.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[feeApplication] :: Fee -> Maybe Text
-- | currency: Three-letter ISO currency code, in lowercase. Must be
-- a supported currency.
[feeCurrency] :: Fee -> Text
-- | description: An arbitrary string attached to the object. Often useful
-- for displaying to users.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[feeDescription] :: Fee -> Maybe Text
-- | type: Type of the fee, one of: `application_fee`, `stripe_fee` or
-- `tax`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[feeType] :: Fee -> Text
-- | Create a new Fee with all required fields.
mkFee :: Int -> Text -> Text -> Fee
instance GHC.Classes.Eq StripeAPI.Types.Fee.Fee
instance GHC.Show.Show StripeAPI.Types.Fee.Fee
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Fee.Fee
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Fee.Fee
-- | Contains the types generated from the schema ApplicationFee
module StripeAPI.Types.ApplicationFee
-- | Defines the object schema located at
-- components.schemas.application_fee in the specification.
data ApplicationFee
ApplicationFee :: ApplicationFeeAccount'Variants -> Int -> Int -> ApplicationFeeApplication'Variants -> Maybe ApplicationFeeBalanceTransaction'Variants -> ApplicationFeeCharge'Variants -> Int -> Text -> Text -> Bool -> Maybe ApplicationFeeOriginatingTransaction'Variants -> Bool -> ApplicationFeeRefunds' -> ApplicationFee
-- | account: ID of the Stripe account this fee was taken from.
[applicationFeeAccount] :: ApplicationFee -> ApplicationFeeAccount'Variants
-- | amount: Amount earned, in %s.
[applicationFeeAmount] :: ApplicationFee -> Int
-- | amount_refunded: Amount in %s refunded (can be less than the amount
-- attribute on the fee if a partial refund was issued)
[applicationFeeAmountRefunded] :: ApplicationFee -> Int
-- | application: ID of the Connect application that earned the fee.
[applicationFeeApplication] :: ApplicationFee -> ApplicationFeeApplication'Variants
-- | balance_transaction: Balance transaction that describes the impact of
-- this collected application fee on your account balance (not including
-- refunds).
[applicationFeeBalanceTransaction] :: ApplicationFee -> Maybe ApplicationFeeBalanceTransaction'Variants
-- | charge: ID of the charge that the application fee was taken from.
[applicationFeeCharge] :: ApplicationFee -> ApplicationFeeCharge'Variants
-- | created: Time at which the object was created. Measured in seconds
-- since the Unix epoch.
[applicationFeeCreated] :: ApplicationFee -> Int
-- | currency: Three-letter ISO currency code, in lowercase. Must be
-- a supported currency.
[applicationFeeCurrency] :: ApplicationFee -> Text
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[applicationFeeId] :: ApplicationFee -> Text
-- | livemode: Has the value `true` if the object exists in live mode or
-- the value `false` if the object exists in test mode.
[applicationFeeLivemode] :: ApplicationFee -> Bool
-- | originating_transaction: ID of the corresponding charge on the
-- platform account, if this fee was the result of a charge using the
-- `destination` parameter.
[applicationFeeOriginatingTransaction] :: ApplicationFee -> Maybe ApplicationFeeOriginatingTransaction'Variants
-- | refunded: Whether the fee has been fully refunded. If the fee is only
-- partially refunded, this attribute will still be false.
[applicationFeeRefunded] :: ApplicationFee -> Bool
-- | refunds: A list of refunds that have been applied to the fee.
[applicationFeeRefunds] :: ApplicationFee -> ApplicationFeeRefunds'
-- | Create a new ApplicationFee with all required fields.
mkApplicationFee :: ApplicationFeeAccount'Variants -> Int -> Int -> ApplicationFeeApplication'Variants -> ApplicationFeeCharge'Variants -> Int -> Text -> Text -> Bool -> Bool -> ApplicationFeeRefunds' -> ApplicationFee
-- | Defines the oneOf schema located at
-- components.schemas.application_fee.properties.account.anyOf
-- in the specification.
--
-- ID of the Stripe account this fee was taken from.
data ApplicationFeeAccount'Variants
ApplicationFeeAccount'Text :: Text -> ApplicationFeeAccount'Variants
ApplicationFeeAccount'Account :: Account -> ApplicationFeeAccount'Variants
-- | Defines the oneOf schema located at
-- components.schemas.application_fee.properties.application.anyOf
-- in the specification.
--
-- ID of the Connect application that earned the fee.
data ApplicationFeeApplication'Variants
ApplicationFeeApplication'Text :: Text -> ApplicationFeeApplication'Variants
ApplicationFeeApplication'Application :: Application -> ApplicationFeeApplication'Variants
-- | Defines the oneOf schema located at
-- components.schemas.application_fee.properties.balance_transaction.anyOf
-- in the specification.
--
-- Balance transaction that describes the impact of this collected
-- application fee on your account balance (not including refunds).
data ApplicationFeeBalanceTransaction'Variants
ApplicationFeeBalanceTransaction'Text :: Text -> ApplicationFeeBalanceTransaction'Variants
ApplicationFeeBalanceTransaction'BalanceTransaction :: BalanceTransaction -> ApplicationFeeBalanceTransaction'Variants
-- | Defines the oneOf schema located at
-- components.schemas.application_fee.properties.charge.anyOf in
-- the specification.
--
-- ID of the charge that the application fee was taken from.
data ApplicationFeeCharge'Variants
ApplicationFeeCharge'Text :: Text -> ApplicationFeeCharge'Variants
ApplicationFeeCharge'Charge :: Charge -> ApplicationFeeCharge'Variants
-- | Defines the oneOf schema located at
-- components.schemas.application_fee.properties.originating_transaction.anyOf
-- in the specification.
--
-- ID of the corresponding charge on the platform account, if this fee
-- was the result of a charge using the `destination` parameter.
data ApplicationFeeOriginatingTransaction'Variants
ApplicationFeeOriginatingTransaction'Text :: Text -> ApplicationFeeOriginatingTransaction'Variants
ApplicationFeeOriginatingTransaction'Charge :: Charge -> ApplicationFeeOriginatingTransaction'Variants
-- | Defines the object schema located at
-- components.schemas.application_fee.properties.refunds in the
-- specification.
--
-- A list of refunds that have been applied to the fee.
data ApplicationFeeRefunds'
ApplicationFeeRefunds' :: [FeeRefund] -> Bool -> Text -> ApplicationFeeRefunds'
-- | data: Details about each object.
[applicationFeeRefunds'Data] :: ApplicationFeeRefunds' -> [FeeRefund]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[applicationFeeRefunds'HasMore] :: ApplicationFeeRefunds' -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[applicationFeeRefunds'Url] :: ApplicationFeeRefunds' -> Text
-- | Create a new ApplicationFeeRefunds' with all required fields.
mkApplicationFeeRefunds' :: [FeeRefund] -> Bool -> Text -> ApplicationFeeRefunds'
instance GHC.Classes.Eq StripeAPI.Types.ApplicationFee.ApplicationFeeAccount'Variants
instance GHC.Show.Show StripeAPI.Types.ApplicationFee.ApplicationFeeAccount'Variants
instance GHC.Classes.Eq StripeAPI.Types.ApplicationFee.ApplicationFeeApplication'Variants
instance GHC.Show.Show StripeAPI.Types.ApplicationFee.ApplicationFeeApplication'Variants
instance GHC.Classes.Eq StripeAPI.Types.ApplicationFee.ApplicationFeeBalanceTransaction'Variants
instance GHC.Show.Show StripeAPI.Types.ApplicationFee.ApplicationFeeBalanceTransaction'Variants
instance GHC.Classes.Eq StripeAPI.Types.ApplicationFee.ApplicationFeeCharge'Variants
instance GHC.Show.Show StripeAPI.Types.ApplicationFee.ApplicationFeeCharge'Variants
instance GHC.Classes.Eq StripeAPI.Types.ApplicationFee.ApplicationFeeOriginatingTransaction'Variants
instance GHC.Show.Show StripeAPI.Types.ApplicationFee.ApplicationFeeOriginatingTransaction'Variants
instance GHC.Classes.Eq StripeAPI.Types.ApplicationFee.ApplicationFeeRefunds'
instance GHC.Show.Show StripeAPI.Types.ApplicationFee.ApplicationFeeRefunds'
instance GHC.Classes.Eq StripeAPI.Types.ApplicationFee.ApplicationFee
instance GHC.Show.Show StripeAPI.Types.ApplicationFee.ApplicationFee
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.ApplicationFee.ApplicationFee
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.ApplicationFee.ApplicationFee
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.ApplicationFee.ApplicationFeeRefunds'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.ApplicationFee.ApplicationFeeRefunds'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.ApplicationFee.ApplicationFeeOriginatingTransaction'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.ApplicationFee.ApplicationFeeOriginatingTransaction'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.ApplicationFee.ApplicationFeeCharge'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.ApplicationFee.ApplicationFeeCharge'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.ApplicationFee.ApplicationFeeBalanceTransaction'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.ApplicationFee.ApplicationFeeBalanceTransaction'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.ApplicationFee.ApplicationFeeApplication'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.ApplicationFee.ApplicationFeeApplication'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.ApplicationFee.ApplicationFeeAccount'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.ApplicationFee.ApplicationFeeAccount'Variants
-- | Contains the types generated from the schema FeeRefund
module StripeAPI.Types.FeeRefund
-- | Defines the object schema located at
-- components.schemas.fee_refund in the specification.
--
-- `Application Fee Refund` objects allow you to refund an application
-- fee that has previously been created but not yet refunded. Funds will
-- be refunded to the Stripe account from which the fee was originally
-- collected.
--
-- Related guide: Refunding Application Fees.
data FeeRefund
FeeRefund :: Int -> Maybe FeeRefundBalanceTransaction'Variants -> Int -> Text -> FeeRefundFee'Variants -> Text -> Maybe Object -> FeeRefund
-- | amount: Amount, in %s.
[feeRefundAmount] :: FeeRefund -> Int
-- | balance_transaction: Balance transaction that describes the impact on
-- your account balance.
[feeRefundBalanceTransaction] :: FeeRefund -> Maybe FeeRefundBalanceTransaction'Variants
-- | created: Time at which the object was created. Measured in seconds
-- since the Unix epoch.
[feeRefundCreated] :: FeeRefund -> Int
-- | currency: Three-letter ISO currency code, in lowercase. Must be
-- a supported currency.
[feeRefundCurrency] :: FeeRefund -> Text
-- | fee: ID of the application fee that was refunded.
[feeRefundFee] :: FeeRefund -> FeeRefundFee'Variants
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[feeRefundId] :: FeeRefund -> Text
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format.
[feeRefundMetadata] :: FeeRefund -> Maybe Object
-- | Create a new FeeRefund with all required fields.
mkFeeRefund :: Int -> Int -> Text -> FeeRefundFee'Variants -> Text -> FeeRefund
-- | Defines the oneOf schema located at
-- components.schemas.fee_refund.properties.balance_transaction.anyOf
-- in the specification.
--
-- Balance transaction that describes the impact on your account balance.
data FeeRefundBalanceTransaction'Variants
FeeRefundBalanceTransaction'Text :: Text -> FeeRefundBalanceTransaction'Variants
FeeRefundBalanceTransaction'BalanceTransaction :: BalanceTransaction -> FeeRefundBalanceTransaction'Variants
-- | Defines the oneOf schema located at
-- components.schemas.fee_refund.properties.fee.anyOf in the
-- specification.
--
-- ID of the application fee that was refunded.
data FeeRefundFee'Variants
FeeRefundFee'Text :: Text -> FeeRefundFee'Variants
FeeRefundFee'ApplicationFee :: ApplicationFee -> FeeRefundFee'Variants
instance GHC.Classes.Eq StripeAPI.Types.FeeRefund.FeeRefundBalanceTransaction'Variants
instance GHC.Show.Show StripeAPI.Types.FeeRefund.FeeRefundBalanceTransaction'Variants
instance GHC.Classes.Eq StripeAPI.Types.FeeRefund.FeeRefundFee'Variants
instance GHC.Show.Show StripeAPI.Types.FeeRefund.FeeRefundFee'Variants
instance GHC.Classes.Eq StripeAPI.Types.FeeRefund.FeeRefund
instance GHC.Show.Show StripeAPI.Types.FeeRefund.FeeRefund
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.FeeRefund.FeeRefund
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.FeeRefund.FeeRefund
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.FeeRefund.FeeRefundFee'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.FeeRefund.FeeRefundFee'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.FeeRefund.FeeRefundBalanceTransaction'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.FeeRefund.FeeRefundBalanceTransaction'Variants
-- | Contains the types generated from the schema DisputeEvidence
module StripeAPI.Types.DisputeEvidence
-- | Defines the object schema located at
-- components.schemas.dispute_evidence in the specification.
data DisputeEvidence
DisputeEvidence :: Maybe Text -> Maybe Text -> Maybe DisputeEvidenceCancellationPolicy'Variants -> Maybe Text -> Maybe Text -> Maybe DisputeEvidenceCustomerCommunication'Variants -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe DisputeEvidenceCustomerSignature'Variants -> Maybe DisputeEvidenceDuplicateChargeDocumentation'Variants -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe DisputeEvidenceReceipt'Variants -> Maybe DisputeEvidenceRefundPolicy'Variants -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe DisputeEvidenceServiceDocumentation'Variants -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe DisputeEvidenceShippingDocumentation'Variants -> Maybe Text -> Maybe DisputeEvidenceUncategorizedFile'Variants -> Maybe Text -> DisputeEvidence
-- | access_activity_log: Any server or activity logs showing proof that
-- the customer accessed or downloaded the purchased digital product.
-- This information should include IP addresses, corresponding
-- timestamps, and any detailed recorded activity.
--
-- Constraints:
--
--
-- - Maximum length of 150000
--
[disputeEvidenceAccessActivityLog] :: DisputeEvidence -> Maybe Text
-- | billing_address: The billing address provided by the customer.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[disputeEvidenceBillingAddress] :: DisputeEvidence -> Maybe Text
-- | cancellation_policy: (ID of a file upload) Your subscription
-- cancellation policy, as shown to the customer.
[disputeEvidenceCancellationPolicy] :: DisputeEvidence -> Maybe DisputeEvidenceCancellationPolicy'Variants
-- | cancellation_policy_disclosure: An explanation of how and when the
-- customer was shown your refund policy prior to purchase.
--
-- Constraints:
--
--
-- - Maximum length of 150000
--
[disputeEvidenceCancellationPolicyDisclosure] :: DisputeEvidence -> Maybe Text
-- | cancellation_rebuttal: A justification for why the customer's
-- subscription was not canceled.
--
-- Constraints:
--
--
-- - Maximum length of 150000
--
[disputeEvidenceCancellationRebuttal] :: DisputeEvidence -> Maybe Text
-- | customer_communication: (ID of a file upload) Any communication
-- with the customer that you feel is relevant to your case. Examples
-- include emails proving that the customer received the product or
-- service, or demonstrating their use of or satisfaction with the
-- product or service.
[disputeEvidenceCustomerCommunication] :: DisputeEvidence -> Maybe DisputeEvidenceCustomerCommunication'Variants
-- | customer_email_address: The email address of the customer.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[disputeEvidenceCustomerEmailAddress] :: DisputeEvidence -> Maybe Text
-- | customer_name: The name of the customer.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[disputeEvidenceCustomerName] :: DisputeEvidence -> Maybe Text
-- | customer_purchase_ip: The IP address that the customer used when
-- making the purchase.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[disputeEvidenceCustomerPurchaseIp] :: DisputeEvidence -> Maybe Text
-- | customer_signature: (ID of a file upload) A relevant document
-- or contract showing the customer's signature.
[disputeEvidenceCustomerSignature] :: DisputeEvidence -> Maybe DisputeEvidenceCustomerSignature'Variants
-- | duplicate_charge_documentation: (ID of a file upload)
-- Documentation for the prior charge that can uniquely identify the
-- charge, such as a receipt, shipping label, work order, etc. This
-- document should be paired with a similar document from the disputed
-- payment that proves the two payments are separate.
[disputeEvidenceDuplicateChargeDocumentation] :: DisputeEvidence -> Maybe DisputeEvidenceDuplicateChargeDocumentation'Variants
-- | duplicate_charge_explanation: An explanation of the difference between
-- the disputed charge versus the prior charge that appears to be a
-- duplicate.
--
-- Constraints:
--
--
-- - Maximum length of 150000
--
[disputeEvidenceDuplicateChargeExplanation] :: DisputeEvidence -> Maybe Text
-- | duplicate_charge_id: The Stripe ID for the prior charge which appears
-- to be a duplicate of the disputed charge.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[disputeEvidenceDuplicateChargeId] :: DisputeEvidence -> Maybe Text
-- | product_description: A description of the product or service that was
-- sold.
--
-- Constraints:
--
--
-- - Maximum length of 150000
--
[disputeEvidenceProductDescription] :: DisputeEvidence -> Maybe Text
-- | receipt: (ID of a file upload) Any receipt or message sent to
-- the customer notifying them of the charge.
[disputeEvidenceReceipt] :: DisputeEvidence -> Maybe DisputeEvidenceReceipt'Variants
-- | refund_policy: (ID of a file upload) Your refund policy, as
-- shown to the customer.
[disputeEvidenceRefundPolicy] :: DisputeEvidence -> Maybe DisputeEvidenceRefundPolicy'Variants
-- | refund_policy_disclosure: Documentation demonstrating that the
-- customer was shown your refund policy prior to purchase.
--
-- Constraints:
--
--
-- - Maximum length of 150000
--
[disputeEvidenceRefundPolicyDisclosure] :: DisputeEvidence -> Maybe Text
-- | refund_refusal_explanation: A justification for why the customer is
-- not entitled to a refund.
--
-- Constraints:
--
--
-- - Maximum length of 150000
--
[disputeEvidenceRefundRefusalExplanation] :: DisputeEvidence -> Maybe Text
-- | service_date: The date on which the customer received or began
-- receiving the purchased service, in a clear human-readable format.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[disputeEvidenceServiceDate] :: DisputeEvidence -> Maybe Text
-- | service_documentation: (ID of a file upload) Documentation
-- showing proof that a service was provided to the customer. This could
-- include a copy of a signed contract, work order, or other form of
-- written agreement.
[disputeEvidenceServiceDocumentation] :: DisputeEvidence -> Maybe DisputeEvidenceServiceDocumentation'Variants
-- | shipping_address: The address to which a physical product was shipped.
-- You should try to include as complete address information as possible.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[disputeEvidenceShippingAddress] :: DisputeEvidence -> Maybe Text
-- | shipping_carrier: The delivery service that shipped a physical
-- product, such as Fedex, UPS, USPS, etc. If multiple carriers were used
-- for this purchase, please separate them with commas.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[disputeEvidenceShippingCarrier] :: DisputeEvidence -> Maybe Text
-- | shipping_date: The date on which a physical product began its route to
-- the shipping address, in a clear human-readable format.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[disputeEvidenceShippingDate] :: DisputeEvidence -> Maybe Text
-- | shipping_documentation: (ID of a file upload) Documentation
-- showing proof that a product was shipped to the customer at the same
-- address the customer provided to you. This could include a copy of the
-- shipment receipt, shipping label, etc. It should show the customer's
-- full shipping address, if possible.
[disputeEvidenceShippingDocumentation] :: DisputeEvidence -> Maybe DisputeEvidenceShippingDocumentation'Variants
-- | shipping_tracking_number: The tracking number for a physical product,
-- obtained from the delivery service. If multiple tracking numbers were
-- generated for this purchase, please separate them with commas.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[disputeEvidenceShippingTrackingNumber] :: DisputeEvidence -> Maybe Text
-- | uncategorized_file: (ID of a file upload) Any additional
-- evidence or statements.
[disputeEvidenceUncategorizedFile] :: DisputeEvidence -> Maybe DisputeEvidenceUncategorizedFile'Variants
-- | uncategorized_text: Any additional evidence or statements.
--
-- Constraints:
--
--
-- - Maximum length of 150000
--
[disputeEvidenceUncategorizedText] :: DisputeEvidence -> Maybe Text
-- | Create a new DisputeEvidence with all required fields.
mkDisputeEvidence :: DisputeEvidence
-- | Defines the oneOf schema located at
-- components.schemas.dispute_evidence.properties.cancellation_policy.anyOf
-- in the specification.
--
-- (ID of a file upload) Your subscription cancellation policy, as
-- shown to the customer.
data DisputeEvidenceCancellationPolicy'Variants
DisputeEvidenceCancellationPolicy'Text :: Text -> DisputeEvidenceCancellationPolicy'Variants
DisputeEvidenceCancellationPolicy'File :: File -> DisputeEvidenceCancellationPolicy'Variants
-- | Defines the oneOf schema located at
-- components.schemas.dispute_evidence.properties.customer_communication.anyOf
-- in the specification.
--
-- (ID of a file upload) Any communication with the customer that
-- you feel is relevant to your case. Examples include emails proving
-- that the customer received the product or service, or demonstrating
-- their use of or satisfaction with the product or service.
data DisputeEvidenceCustomerCommunication'Variants
DisputeEvidenceCustomerCommunication'Text :: Text -> DisputeEvidenceCustomerCommunication'Variants
DisputeEvidenceCustomerCommunication'File :: File -> DisputeEvidenceCustomerCommunication'Variants
-- | Defines the oneOf schema located at
-- components.schemas.dispute_evidence.properties.customer_signature.anyOf
-- in the specification.
--
-- (ID of a file upload) A relevant document or contract showing
-- the customer's signature.
data DisputeEvidenceCustomerSignature'Variants
DisputeEvidenceCustomerSignature'Text :: Text -> DisputeEvidenceCustomerSignature'Variants
DisputeEvidenceCustomerSignature'File :: File -> DisputeEvidenceCustomerSignature'Variants
-- | Defines the oneOf schema located at
-- components.schemas.dispute_evidence.properties.duplicate_charge_documentation.anyOf
-- in the specification.
--
-- (ID of a file upload) Documentation for the prior charge that
-- can uniquely identify the charge, such as a receipt, shipping label,
-- work order, etc. This document should be paired with a similar
-- document from the disputed payment that proves the two payments are
-- separate.
data DisputeEvidenceDuplicateChargeDocumentation'Variants
DisputeEvidenceDuplicateChargeDocumentation'Text :: Text -> DisputeEvidenceDuplicateChargeDocumentation'Variants
DisputeEvidenceDuplicateChargeDocumentation'File :: File -> DisputeEvidenceDuplicateChargeDocumentation'Variants
-- | Defines the oneOf schema located at
-- components.schemas.dispute_evidence.properties.receipt.anyOf
-- in the specification.
--
-- (ID of a file upload) Any receipt or message sent to the
-- customer notifying them of the charge.
data DisputeEvidenceReceipt'Variants
DisputeEvidenceReceipt'Text :: Text -> DisputeEvidenceReceipt'Variants
DisputeEvidenceReceipt'File :: File -> DisputeEvidenceReceipt'Variants
-- | Defines the oneOf schema located at
-- components.schemas.dispute_evidence.properties.refund_policy.anyOf
-- in the specification.
--
-- (ID of a file upload) Your refund policy, as shown to the
-- customer.
data DisputeEvidenceRefundPolicy'Variants
DisputeEvidenceRefundPolicy'Text :: Text -> DisputeEvidenceRefundPolicy'Variants
DisputeEvidenceRefundPolicy'File :: File -> DisputeEvidenceRefundPolicy'Variants
-- | Defines the oneOf schema located at
-- components.schemas.dispute_evidence.properties.service_documentation.anyOf
-- in the specification.
--
-- (ID of a file upload) Documentation showing proof that a
-- service was provided to the customer. This could include a copy of a
-- signed contract, work order, or other form of written agreement.
data DisputeEvidenceServiceDocumentation'Variants
DisputeEvidenceServiceDocumentation'Text :: Text -> DisputeEvidenceServiceDocumentation'Variants
DisputeEvidenceServiceDocumentation'File :: File -> DisputeEvidenceServiceDocumentation'Variants
-- | Defines the oneOf schema located at
-- components.schemas.dispute_evidence.properties.shipping_documentation.anyOf
-- in the specification.
--
-- (ID of a file upload) Documentation showing proof that a
-- product was shipped to the customer at the same address the customer
-- provided to you. This could include a copy of the shipment receipt,
-- shipping label, etc. It should show the customer's full shipping
-- address, if possible.
data DisputeEvidenceShippingDocumentation'Variants
DisputeEvidenceShippingDocumentation'Text :: Text -> DisputeEvidenceShippingDocumentation'Variants
DisputeEvidenceShippingDocumentation'File :: File -> DisputeEvidenceShippingDocumentation'Variants
-- | Defines the oneOf schema located at
-- components.schemas.dispute_evidence.properties.uncategorized_file.anyOf
-- in the specification.
--
-- (ID of a file upload) Any additional evidence or statements.
data DisputeEvidenceUncategorizedFile'Variants
DisputeEvidenceUncategorizedFile'Text :: Text -> DisputeEvidenceUncategorizedFile'Variants
DisputeEvidenceUncategorizedFile'File :: File -> DisputeEvidenceUncategorizedFile'Variants
instance GHC.Classes.Eq StripeAPI.Types.DisputeEvidence.DisputeEvidenceCancellationPolicy'Variants
instance GHC.Show.Show StripeAPI.Types.DisputeEvidence.DisputeEvidenceCancellationPolicy'Variants
instance GHC.Classes.Eq StripeAPI.Types.DisputeEvidence.DisputeEvidenceCustomerCommunication'Variants
instance GHC.Show.Show StripeAPI.Types.DisputeEvidence.DisputeEvidenceCustomerCommunication'Variants
instance GHC.Classes.Eq StripeAPI.Types.DisputeEvidence.DisputeEvidenceCustomerSignature'Variants
instance GHC.Show.Show StripeAPI.Types.DisputeEvidence.DisputeEvidenceCustomerSignature'Variants
instance GHC.Classes.Eq StripeAPI.Types.DisputeEvidence.DisputeEvidenceDuplicateChargeDocumentation'Variants
instance GHC.Show.Show StripeAPI.Types.DisputeEvidence.DisputeEvidenceDuplicateChargeDocumentation'Variants
instance GHC.Classes.Eq StripeAPI.Types.DisputeEvidence.DisputeEvidenceReceipt'Variants
instance GHC.Show.Show StripeAPI.Types.DisputeEvidence.DisputeEvidenceReceipt'Variants
instance GHC.Classes.Eq StripeAPI.Types.DisputeEvidence.DisputeEvidenceRefundPolicy'Variants
instance GHC.Show.Show StripeAPI.Types.DisputeEvidence.DisputeEvidenceRefundPolicy'Variants
instance GHC.Classes.Eq StripeAPI.Types.DisputeEvidence.DisputeEvidenceServiceDocumentation'Variants
instance GHC.Show.Show StripeAPI.Types.DisputeEvidence.DisputeEvidenceServiceDocumentation'Variants
instance GHC.Classes.Eq StripeAPI.Types.DisputeEvidence.DisputeEvidenceShippingDocumentation'Variants
instance GHC.Show.Show StripeAPI.Types.DisputeEvidence.DisputeEvidenceShippingDocumentation'Variants
instance GHC.Classes.Eq StripeAPI.Types.DisputeEvidence.DisputeEvidenceUncategorizedFile'Variants
instance GHC.Show.Show StripeAPI.Types.DisputeEvidence.DisputeEvidenceUncategorizedFile'Variants
instance GHC.Classes.Eq StripeAPI.Types.DisputeEvidence.DisputeEvidence
instance GHC.Show.Show StripeAPI.Types.DisputeEvidence.DisputeEvidence
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.DisputeEvidence.DisputeEvidence
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.DisputeEvidence.DisputeEvidence
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.DisputeEvidence.DisputeEvidenceUncategorizedFile'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.DisputeEvidence.DisputeEvidenceUncategorizedFile'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.DisputeEvidence.DisputeEvidenceShippingDocumentation'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.DisputeEvidence.DisputeEvidenceShippingDocumentation'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.DisputeEvidence.DisputeEvidenceServiceDocumentation'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.DisputeEvidence.DisputeEvidenceServiceDocumentation'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.DisputeEvidence.DisputeEvidenceRefundPolicy'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.DisputeEvidence.DisputeEvidenceRefundPolicy'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.DisputeEvidence.DisputeEvidenceReceipt'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.DisputeEvidence.DisputeEvidenceReceipt'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.DisputeEvidence.DisputeEvidenceDuplicateChargeDocumentation'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.DisputeEvidence.DisputeEvidenceDuplicateChargeDocumentation'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.DisputeEvidence.DisputeEvidenceCustomerSignature'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.DisputeEvidence.DisputeEvidenceCustomerSignature'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.DisputeEvidence.DisputeEvidenceCustomerCommunication'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.DisputeEvidence.DisputeEvidenceCustomerCommunication'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.DisputeEvidence.DisputeEvidenceCancellationPolicy'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.DisputeEvidence.DisputeEvidenceCancellationPolicy'Variants
-- | Contains the types generated from the schema AccountBrandingSettings
module StripeAPI.Types.AccountBrandingSettings
-- | Defines the object schema located at
-- components.schemas.account_branding_settings in the
-- specification.
data AccountBrandingSettings
AccountBrandingSettings :: Maybe AccountBrandingSettingsIcon'Variants -> Maybe AccountBrandingSettingsLogo'Variants -> Maybe Text -> Maybe Text -> AccountBrandingSettings
-- | icon: (ID of a file upload) An icon for the account. Must be
-- square and at least 128px x 128px.
[accountBrandingSettingsIcon] :: AccountBrandingSettings -> Maybe AccountBrandingSettingsIcon'Variants
-- | logo: (ID of a file upload) A logo for the account that will be
-- used in Checkout instead of the icon and without the account's name
-- next to it if provided. Must be at least 128px x 128px.
[accountBrandingSettingsLogo] :: AccountBrandingSettings -> Maybe AccountBrandingSettingsLogo'Variants
-- | primary_color: A CSS hex color value representing the primary branding
-- color for this account
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[accountBrandingSettingsPrimaryColor] :: AccountBrandingSettings -> Maybe Text
-- | secondary_color: A CSS hex color value representing the secondary
-- branding color for this account
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[accountBrandingSettingsSecondaryColor] :: AccountBrandingSettings -> Maybe Text
-- | Create a new AccountBrandingSettings with all required fields.
mkAccountBrandingSettings :: AccountBrandingSettings
-- | Defines the oneOf schema located at
-- components.schemas.account_branding_settings.properties.icon.anyOf
-- in the specification.
--
-- (ID of a file upload) An icon for the account. Must be square
-- and at least 128px x 128px.
data AccountBrandingSettingsIcon'Variants
AccountBrandingSettingsIcon'Text :: Text -> AccountBrandingSettingsIcon'Variants
AccountBrandingSettingsIcon'File :: File -> AccountBrandingSettingsIcon'Variants
-- | Defines the oneOf schema located at
-- components.schemas.account_branding_settings.properties.logo.anyOf
-- in the specification.
--
-- (ID of a file upload) A logo for the account that will be used
-- in Checkout instead of the icon and without the account's name next to
-- it if provided. Must be at least 128px x 128px.
data AccountBrandingSettingsLogo'Variants
AccountBrandingSettingsLogo'Text :: Text -> AccountBrandingSettingsLogo'Variants
AccountBrandingSettingsLogo'File :: File -> AccountBrandingSettingsLogo'Variants
instance GHC.Classes.Eq StripeAPI.Types.AccountBrandingSettings.AccountBrandingSettingsIcon'Variants
instance GHC.Show.Show StripeAPI.Types.AccountBrandingSettings.AccountBrandingSettingsIcon'Variants
instance GHC.Classes.Eq StripeAPI.Types.AccountBrandingSettings.AccountBrandingSettingsLogo'Variants
instance GHC.Show.Show StripeAPI.Types.AccountBrandingSettings.AccountBrandingSettingsLogo'Variants
instance GHC.Classes.Eq StripeAPI.Types.AccountBrandingSettings.AccountBrandingSettings
instance GHC.Show.Show StripeAPI.Types.AccountBrandingSettings.AccountBrandingSettings
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.AccountBrandingSettings.AccountBrandingSettings
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.AccountBrandingSettings.AccountBrandingSettings
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.AccountBrandingSettings.AccountBrandingSettingsLogo'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.AccountBrandingSettings.AccountBrandingSettingsLogo'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.AccountBrandingSettings.AccountBrandingSettingsIcon'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.AccountBrandingSettings.AccountBrandingSettingsIcon'Variants
-- | Contains the types generated from the schema File
module StripeAPI.Types.File
-- | Defines the object schema located at components.schemas.file
-- in the specification.
--
-- This is an object representing a file hosted on Stripe's servers. The
-- file may have been uploaded by yourself using the create file
-- request (for example, when uploading dispute evidence) or it may have
-- been created by Stripe (for example, the results of a Sigma
-- scheduled query).
--
-- Related guide: File Upload Guide.
data File
File :: Int -> Maybe Int -> Maybe Text -> Text -> Maybe FileLinks' -> FilePurpose' -> Int -> Maybe Text -> Maybe Text -> Maybe Text -> File
-- | created: Time at which the object was created. Measured in seconds
-- since the Unix epoch.
[fileCreated] :: File -> Int
-- | expires_at: The time at which the file expires and is no longer
-- available in epoch seconds.
[fileExpiresAt] :: File -> Maybe Int
-- | filename: A filename for the file, suitable for saving to a
-- filesystem.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[fileFilename] :: File -> Maybe Text
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[fileId] :: File -> Text
-- | links: A list of file links that point at this file.
[fileLinks] :: File -> Maybe FileLinks'
-- | purpose: The purpose of the uploaded file.
[filePurpose] :: File -> FilePurpose'
-- | size: The size in bytes of the file object.
[fileSize] :: File -> Int
-- | title: A user friendly title for the document.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[fileTitle] :: File -> Maybe Text
-- | type: The type of the file returned (e.g., `csv`, `pdf`, `jpg`, or
-- `png`).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[fileType] :: File -> Maybe Text
-- | url: The URL from which the file can be downloaded using your live
-- secret API key.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[fileUrl] :: File -> Maybe Text
-- | Create a new File with all required fields.
mkFile :: Int -> Text -> FilePurpose' -> Int -> File
-- | Defines the object schema located at
-- components.schemas.file.properties.links in the
-- specification.
--
-- A list of file links that point at this file.
data FileLinks'
FileLinks' :: [FileLink] -> Bool -> Text -> FileLinks'
-- | data: Details about each object.
[fileLinks'Data] :: FileLinks' -> [FileLink]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[fileLinks'HasMore] :: FileLinks' -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[fileLinks'Url] :: FileLinks' -> Text
-- | Create a new FileLinks' with all required fields.
mkFileLinks' :: [FileLink] -> Bool -> Text -> FileLinks'
-- | Defines the enum schema located at
-- components.schemas.file.properties.purpose in the
-- specification.
--
-- The purpose of the uploaded file.
data FilePurpose'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
FilePurpose'Other :: Value -> FilePurpose'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
FilePurpose'Typed :: Text -> FilePurpose'
-- | Represents the JSON value "account_requirement"
FilePurpose'EnumAccountRequirement :: FilePurpose'
-- | Represents the JSON value "additional_verification"
FilePurpose'EnumAdditionalVerification :: FilePurpose'
-- | Represents the JSON value "business_icon"
FilePurpose'EnumBusinessIcon :: FilePurpose'
-- | Represents the JSON value "business_logo"
FilePurpose'EnumBusinessLogo :: FilePurpose'
-- | Represents the JSON value "customer_signature"
FilePurpose'EnumCustomerSignature :: FilePurpose'
-- | Represents the JSON value "dispute_evidence"
FilePurpose'EnumDisputeEvidence :: FilePurpose'
-- | Represents the JSON value
-- "document_provider_identity_document"
FilePurpose'EnumDocumentProviderIdentityDocument :: FilePurpose'
-- | Represents the JSON value "finance_report_run"
FilePurpose'EnumFinanceReportRun :: FilePurpose'
-- | Represents the JSON value "identity_document"
FilePurpose'EnumIdentityDocument :: FilePurpose'
-- | Represents the JSON value "identity_document_downloadable"
FilePurpose'EnumIdentityDocumentDownloadable :: FilePurpose'
-- | Represents the JSON value "pci_document"
FilePurpose'EnumPciDocument :: FilePurpose'
-- | Represents the JSON value "selfie"
FilePurpose'EnumSelfie :: FilePurpose'
-- | Represents the JSON value "sigma_scheduled_query"
FilePurpose'EnumSigmaScheduledQuery :: FilePurpose'
-- | Represents the JSON value "tax_document_user_upload"
FilePurpose'EnumTaxDocumentUserUpload :: FilePurpose'
instance GHC.Classes.Eq StripeAPI.Types.File.FileLinks'
instance GHC.Show.Show StripeAPI.Types.File.FileLinks'
instance GHC.Classes.Eq StripeAPI.Types.File.FilePurpose'
instance GHC.Show.Show StripeAPI.Types.File.FilePurpose'
instance GHC.Classes.Eq StripeAPI.Types.File.File
instance GHC.Show.Show StripeAPI.Types.File.File
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.File.File
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.File.File
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.File.FilePurpose'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.File.FilePurpose'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.File.FileLinks'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.File.FileLinks'
-- | Contains the types generated from the schema FileLink
module StripeAPI.Types.FileLink
-- | Defines the object schema located at
-- components.schemas.file_link in the specification.
--
-- To share the contents of a `File` object with non-Stripe users, you
-- can create a `FileLink`. `FileLink`s contain a URL that can be used to
-- retrieve the contents of the file without authentication.
data FileLink
FileLink :: Int -> Bool -> Maybe Int -> FileLinkFile'Variants -> Text -> Bool -> Object -> Maybe Text -> FileLink
-- | created: Time at which the object was created. Measured in seconds
-- since the Unix epoch.
[fileLinkCreated] :: FileLink -> Int
-- | expired: Whether this link is already expired.
[fileLinkExpired] :: FileLink -> Bool
-- | expires_at: Time at which the link expires.
[fileLinkExpiresAt] :: FileLink -> Maybe Int
-- | file: The file object this link points to.
[fileLinkFile] :: FileLink -> FileLinkFile'Variants
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[fileLinkId] :: FileLink -> Text
-- | livemode: Has the value `true` if the object exists in live mode or
-- the value `false` if the object exists in test mode.
[fileLinkLivemode] :: FileLink -> Bool
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format.
[fileLinkMetadata] :: FileLink -> Object
-- | url: The publicly accessible URL to download the file.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[fileLinkUrl] :: FileLink -> Maybe Text
-- | Create a new FileLink with all required fields.
mkFileLink :: Int -> Bool -> FileLinkFile'Variants -> Text -> Bool -> Object -> FileLink
-- | Defines the oneOf schema located at
-- components.schemas.file_link.properties.file.anyOf in the
-- specification.
--
-- The file object this link points to.
data FileLinkFile'Variants
FileLinkFile'Text :: Text -> FileLinkFile'Variants
FileLinkFile'File :: File -> FileLinkFile'Variants
instance GHC.Classes.Eq StripeAPI.Types.FileLink.FileLinkFile'Variants
instance GHC.Show.Show StripeAPI.Types.FileLink.FileLinkFile'Variants
instance GHC.Classes.Eq StripeAPI.Types.FileLink.FileLink
instance GHC.Show.Show StripeAPI.Types.FileLink.FileLink
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.FileLink.FileLink
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.FileLink.FileLink
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.FileLink.FileLinkFile'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.FileLink.FileLinkFile'Variants
-- | Contains the types generated from the schema
-- FinancialReportingFinanceReportRunRunParameters
module StripeAPI.Types.FinancialReportingFinanceReportRunRunParameters
-- | Defines the object schema located at
-- components.schemas.financial_reporting_finance_report_run_run_parameters
-- in the specification.
data FinancialReportingFinanceReportRunRunParameters
FinancialReportingFinanceReportRunRunParameters :: Maybe [Text] -> Maybe Text -> Maybe Text -> Maybe Int -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe Text -> FinancialReportingFinanceReportRunRunParameters
-- | columns: The set of output columns requested for inclusion in the
-- report run.
[financialReportingFinanceReportRunRunParametersColumns] :: FinancialReportingFinanceReportRunRunParameters -> Maybe [Text]
-- | connected_account: Connected account ID by which to filter the report
-- run.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[financialReportingFinanceReportRunRunParametersConnectedAccount] :: FinancialReportingFinanceReportRunRunParameters -> Maybe Text
-- | currency: Currency of objects to be included in the report run.
[financialReportingFinanceReportRunRunParametersCurrency] :: FinancialReportingFinanceReportRunRunParameters -> Maybe Text
-- | interval_end: Ending timestamp of data to be included in the report
-- run (exclusive).
[financialReportingFinanceReportRunRunParametersIntervalEnd] :: FinancialReportingFinanceReportRunRunParameters -> Maybe Int
-- | interval_start: Starting timestamp of data to be included in the
-- report run.
[financialReportingFinanceReportRunRunParametersIntervalStart] :: FinancialReportingFinanceReportRunRunParameters -> Maybe Int
-- | payout: Payout ID by which to filter the report run.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[financialReportingFinanceReportRunRunParametersPayout] :: FinancialReportingFinanceReportRunRunParameters -> Maybe Text
-- | reporting_category: Category of balance transactions to be included in
-- the report run.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[financialReportingFinanceReportRunRunParametersReportingCategory] :: FinancialReportingFinanceReportRunRunParameters -> Maybe Text
-- | timezone: Defaults to `Etc/UTC`. The output timezone for all
-- timestamps in the report. A list of possible time zone values is
-- maintained at the IANA Time Zone Database. Has no effect on
-- `interval_start` or `interval_end`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[financialReportingFinanceReportRunRunParametersTimezone] :: FinancialReportingFinanceReportRunRunParameters -> Maybe Text
-- | Create a new FinancialReportingFinanceReportRunRunParameters
-- with all required fields.
mkFinancialReportingFinanceReportRunRunParameters :: FinancialReportingFinanceReportRunRunParameters
instance GHC.Classes.Eq StripeAPI.Types.FinancialReportingFinanceReportRunRunParameters.FinancialReportingFinanceReportRunRunParameters
instance GHC.Show.Show StripeAPI.Types.FinancialReportingFinanceReportRunRunParameters.FinancialReportingFinanceReportRunRunParameters
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.FinancialReportingFinanceReportRunRunParameters.FinancialReportingFinanceReportRunRunParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.FinancialReportingFinanceReportRunRunParameters.FinancialReportingFinanceReportRunRunParameters
-- | Contains the types generated from the schema
-- GelatoDataDocumentReportDateOfBirth
module StripeAPI.Types.GelatoDataDocumentReportDateOfBirth
-- | Defines the object schema located at
-- components.schemas.gelato_data_document_report_date_of_birth
-- in the specification.
--
-- Point in Time
data GelatoDataDocumentReportDateOfBirth
GelatoDataDocumentReportDateOfBirth :: Maybe Int -> Maybe Int -> Maybe Int -> GelatoDataDocumentReportDateOfBirth
-- | day: Numerical day between 1 and 31.
[gelatoDataDocumentReportDateOfBirthDay] :: GelatoDataDocumentReportDateOfBirth -> Maybe Int
-- | month: Numerical month between 1 and 12.
[gelatoDataDocumentReportDateOfBirthMonth] :: GelatoDataDocumentReportDateOfBirth -> Maybe Int
-- | year: The four-digit year.
[gelatoDataDocumentReportDateOfBirthYear] :: GelatoDataDocumentReportDateOfBirth -> Maybe Int
-- | Create a new GelatoDataDocumentReportDateOfBirth with all
-- required fields.
mkGelatoDataDocumentReportDateOfBirth :: GelatoDataDocumentReportDateOfBirth
instance GHC.Classes.Eq StripeAPI.Types.GelatoDataDocumentReportDateOfBirth.GelatoDataDocumentReportDateOfBirth
instance GHC.Show.Show StripeAPI.Types.GelatoDataDocumentReportDateOfBirth.GelatoDataDocumentReportDateOfBirth
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.GelatoDataDocumentReportDateOfBirth.GelatoDataDocumentReportDateOfBirth
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.GelatoDataDocumentReportDateOfBirth.GelatoDataDocumentReportDateOfBirth
-- | Contains the types generated from the schema
-- GelatoDataDocumentReportExpirationDate
module StripeAPI.Types.GelatoDataDocumentReportExpirationDate
-- | Defines the object schema located at
-- components.schemas.gelato_data_document_report_expiration_date
-- in the specification.
--
-- Point in Time
data GelatoDataDocumentReportExpirationDate
GelatoDataDocumentReportExpirationDate :: Maybe Int -> Maybe Int -> Maybe Int -> GelatoDataDocumentReportExpirationDate
-- | day: Numerical day between 1 and 31.
[gelatoDataDocumentReportExpirationDateDay] :: GelatoDataDocumentReportExpirationDate -> Maybe Int
-- | month: Numerical month between 1 and 12.
[gelatoDataDocumentReportExpirationDateMonth] :: GelatoDataDocumentReportExpirationDate -> Maybe Int
-- | year: The four-digit year.
[gelatoDataDocumentReportExpirationDateYear] :: GelatoDataDocumentReportExpirationDate -> Maybe Int
-- | Create a new GelatoDataDocumentReportExpirationDate with all
-- required fields.
mkGelatoDataDocumentReportExpirationDate :: GelatoDataDocumentReportExpirationDate
instance GHC.Classes.Eq StripeAPI.Types.GelatoDataDocumentReportExpirationDate.GelatoDataDocumentReportExpirationDate
instance GHC.Show.Show StripeAPI.Types.GelatoDataDocumentReportExpirationDate.GelatoDataDocumentReportExpirationDate
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.GelatoDataDocumentReportExpirationDate.GelatoDataDocumentReportExpirationDate
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.GelatoDataDocumentReportExpirationDate.GelatoDataDocumentReportExpirationDate
-- | Contains the types generated from the schema
-- GelatoDataDocumentReportIssuedDate
module StripeAPI.Types.GelatoDataDocumentReportIssuedDate
-- | Defines the object schema located at
-- components.schemas.gelato_data_document_report_issued_date in
-- the specification.
--
-- Point in Time
data GelatoDataDocumentReportIssuedDate
GelatoDataDocumentReportIssuedDate :: Maybe Int -> Maybe Int -> Maybe Int -> GelatoDataDocumentReportIssuedDate
-- | day: Numerical day between 1 and 31.
[gelatoDataDocumentReportIssuedDateDay] :: GelatoDataDocumentReportIssuedDate -> Maybe Int
-- | month: Numerical month between 1 and 12.
[gelatoDataDocumentReportIssuedDateMonth] :: GelatoDataDocumentReportIssuedDate -> Maybe Int
-- | year: The four-digit year.
[gelatoDataDocumentReportIssuedDateYear] :: GelatoDataDocumentReportIssuedDate -> Maybe Int
-- | Create a new GelatoDataDocumentReportIssuedDate with all
-- required fields.
mkGelatoDataDocumentReportIssuedDate :: GelatoDataDocumentReportIssuedDate
instance GHC.Classes.Eq StripeAPI.Types.GelatoDataDocumentReportIssuedDate.GelatoDataDocumentReportIssuedDate
instance GHC.Show.Show StripeAPI.Types.GelatoDataDocumentReportIssuedDate.GelatoDataDocumentReportIssuedDate
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.GelatoDataDocumentReportIssuedDate.GelatoDataDocumentReportIssuedDate
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.GelatoDataDocumentReportIssuedDate.GelatoDataDocumentReportIssuedDate
-- | Contains the types generated from the schema
-- GelatoDataIdNumberReportDate
module StripeAPI.Types.GelatoDataIdNumberReportDate
-- | Defines the object schema located at
-- components.schemas.gelato_data_id_number_report_date in the
-- specification.
--
-- Point in Time
data GelatoDataIdNumberReportDate
GelatoDataIdNumberReportDate :: Maybe Int -> Maybe Int -> Maybe Int -> GelatoDataIdNumberReportDate
-- | day: Numerical day between 1 and 31.
[gelatoDataIdNumberReportDateDay] :: GelatoDataIdNumberReportDate -> Maybe Int
-- | month: Numerical month between 1 and 12.
[gelatoDataIdNumberReportDateMonth] :: GelatoDataIdNumberReportDate -> Maybe Int
-- | year: The four-digit year.
[gelatoDataIdNumberReportDateYear] :: GelatoDataIdNumberReportDate -> Maybe Int
-- | Create a new GelatoDataIdNumberReportDate with all required
-- fields.
mkGelatoDataIdNumberReportDate :: GelatoDataIdNumberReportDate
instance GHC.Classes.Eq StripeAPI.Types.GelatoDataIdNumberReportDate.GelatoDataIdNumberReportDate
instance GHC.Show.Show StripeAPI.Types.GelatoDataIdNumberReportDate.GelatoDataIdNumberReportDate
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.GelatoDataIdNumberReportDate.GelatoDataIdNumberReportDate
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.GelatoDataIdNumberReportDate.GelatoDataIdNumberReportDate
-- | Contains the types generated from the schema
-- GelatoDataVerifiedOutputsDate
module StripeAPI.Types.GelatoDataVerifiedOutputsDate
-- | Defines the object schema located at
-- components.schemas.gelato_data_verified_outputs_date in the
-- specification.
--
-- Point in Time
data GelatoDataVerifiedOutputsDate
GelatoDataVerifiedOutputsDate :: Maybe Int -> Maybe Int -> Maybe Int -> GelatoDataVerifiedOutputsDate
-- | day: Numerical day between 1 and 31.
[gelatoDataVerifiedOutputsDateDay] :: GelatoDataVerifiedOutputsDate -> Maybe Int
-- | month: Numerical month between 1 and 12.
[gelatoDataVerifiedOutputsDateMonth] :: GelatoDataVerifiedOutputsDate -> Maybe Int
-- | year: The four-digit year.
[gelatoDataVerifiedOutputsDateYear] :: GelatoDataVerifiedOutputsDate -> Maybe Int
-- | Create a new GelatoDataVerifiedOutputsDate with all required
-- fields.
mkGelatoDataVerifiedOutputsDate :: GelatoDataVerifiedOutputsDate
instance GHC.Classes.Eq StripeAPI.Types.GelatoDataVerifiedOutputsDate.GelatoDataVerifiedOutputsDate
instance GHC.Show.Show StripeAPI.Types.GelatoDataVerifiedOutputsDate.GelatoDataVerifiedOutputsDate
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.GelatoDataVerifiedOutputsDate.GelatoDataVerifiedOutputsDate
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.GelatoDataVerifiedOutputsDate.GelatoDataVerifiedOutputsDate
-- | Contains the types generated from the schema GelatoDocumentReport
module StripeAPI.Types.GelatoDocumentReport
-- | Defines the object schema located at
-- components.schemas.gelato_document_report in the
-- specification.
--
-- Result from a document check
data GelatoDocumentReport
GelatoDocumentReport :: Maybe GelatoDocumentReportAddress' -> Maybe GelatoDocumentReportDob' -> Maybe GelatoDocumentReportError' -> Maybe GelatoDocumentReportExpirationDate' -> Maybe [Text] -> Maybe Text -> Maybe GelatoDocumentReportIssuedDate' -> Maybe Text -> Maybe Text -> Maybe Text -> GelatoDocumentReportStatus' -> Maybe GelatoDocumentReportType' -> GelatoDocumentReport
-- | address: Address as it appears in the document.
[gelatoDocumentReportAddress] :: GelatoDocumentReport -> Maybe GelatoDocumentReportAddress'
-- | dob: Date of birth as it appears in the document.
[gelatoDocumentReportDob] :: GelatoDocumentReport -> Maybe GelatoDocumentReportDob'
-- | error: Details on the verification error. Present when status is
-- `unverified`.
[gelatoDocumentReportError] :: GelatoDocumentReport -> Maybe GelatoDocumentReportError'
-- | expiration_date: Expiration date of the document.
[gelatoDocumentReportExpirationDate] :: GelatoDocumentReport -> Maybe GelatoDocumentReportExpirationDate'
-- | files: Array of File ids containing images for this document.
[gelatoDocumentReportFiles] :: GelatoDocumentReport -> Maybe [Text]
-- | first_name: First name as it appears in the document.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[gelatoDocumentReportFirstName] :: GelatoDocumentReport -> Maybe Text
-- | issued_date: Issued date of the document.
[gelatoDocumentReportIssuedDate] :: GelatoDocumentReport -> Maybe GelatoDocumentReportIssuedDate'
-- | issuing_country: Issuing country of the document.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[gelatoDocumentReportIssuingCountry] :: GelatoDocumentReport -> Maybe Text
-- | last_name: Last name as it appears in the document.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[gelatoDocumentReportLastName] :: GelatoDocumentReport -> Maybe Text
-- | number: Document ID number.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[gelatoDocumentReportNumber] :: GelatoDocumentReport -> Maybe Text
-- | status: Status of this `document` check.
[gelatoDocumentReportStatus] :: GelatoDocumentReport -> GelatoDocumentReportStatus'
-- | type: Type of the document.
[gelatoDocumentReportType] :: GelatoDocumentReport -> Maybe GelatoDocumentReportType'
-- | Create a new GelatoDocumentReport with all required fields.
mkGelatoDocumentReport :: GelatoDocumentReportStatus' -> GelatoDocumentReport
-- | Defines the object schema located at
-- components.schemas.gelato_document_report.properties.address.anyOf
-- in the specification.
--
-- Address as it appears in the document.
data GelatoDocumentReportAddress'
GelatoDocumentReportAddress' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> GelatoDocumentReportAddress'
-- | city: City, district, suburb, town, or village.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[gelatoDocumentReportAddress'City] :: GelatoDocumentReportAddress' -> Maybe Text
-- | country: Two-letter country code ([ISO 3166-1
-- alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[gelatoDocumentReportAddress'Country] :: GelatoDocumentReportAddress' -> Maybe Text
-- | line1: Address line 1 (e.g., street, PO Box, or company name).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[gelatoDocumentReportAddress'Line1] :: GelatoDocumentReportAddress' -> Maybe Text
-- | line2: Address line 2 (e.g., apartment, suite, unit, or building).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[gelatoDocumentReportAddress'Line2] :: GelatoDocumentReportAddress' -> Maybe Text
-- | postal_code: ZIP or postal code.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[gelatoDocumentReportAddress'PostalCode] :: GelatoDocumentReportAddress' -> Maybe Text
-- | state: State, county, province, or region.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[gelatoDocumentReportAddress'State] :: GelatoDocumentReportAddress' -> Maybe Text
-- | Create a new GelatoDocumentReportAddress' with all required
-- fields.
mkGelatoDocumentReportAddress' :: GelatoDocumentReportAddress'
-- | Defines the object schema located at
-- components.schemas.gelato_document_report.properties.dob.anyOf
-- in the specification.
--
-- Date of birth as it appears in the document.
data GelatoDocumentReportDob'
GelatoDocumentReportDob' :: Maybe Int -> Maybe Int -> Maybe Int -> GelatoDocumentReportDob'
-- | day: Numerical day between 1 and 31.
[gelatoDocumentReportDob'Day] :: GelatoDocumentReportDob' -> Maybe Int
-- | month: Numerical month between 1 and 12.
[gelatoDocumentReportDob'Month] :: GelatoDocumentReportDob' -> Maybe Int
-- | year: The four-digit year.
[gelatoDocumentReportDob'Year] :: GelatoDocumentReportDob' -> Maybe Int
-- | Create a new GelatoDocumentReportDob' with all required fields.
mkGelatoDocumentReportDob' :: GelatoDocumentReportDob'
-- | Defines the object schema located at
-- components.schemas.gelato_document_report.properties.error.anyOf
-- in the specification.
--
-- Details on the verification error. Present when status is
-- \`unverified\`.
data GelatoDocumentReportError'
GelatoDocumentReportError' :: Maybe GelatoDocumentReportError'Code' -> Maybe Text -> GelatoDocumentReportError'
-- | code: A short machine-readable string giving the reason for the
-- verification failure.
[gelatoDocumentReportError'Code] :: GelatoDocumentReportError' -> Maybe GelatoDocumentReportError'Code'
-- | reason: A human-readable message giving the reason for the failure.
-- These messages can be shown to your users.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[gelatoDocumentReportError'Reason] :: GelatoDocumentReportError' -> Maybe Text
-- | Create a new GelatoDocumentReportError' with all required
-- fields.
mkGelatoDocumentReportError' :: GelatoDocumentReportError'
-- | Defines the enum schema located at
-- components.schemas.gelato_document_report.properties.error.anyOf.properties.code
-- in the specification.
--
-- A short machine-readable string giving the reason for the verification
-- failure.
data GelatoDocumentReportError'Code'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
GelatoDocumentReportError'Code'Other :: Value -> GelatoDocumentReportError'Code'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
GelatoDocumentReportError'Code'Typed :: Text -> GelatoDocumentReportError'Code'
-- | Represents the JSON value "document_expired"
GelatoDocumentReportError'Code'EnumDocumentExpired :: GelatoDocumentReportError'Code'
-- | Represents the JSON value "document_type_not_supported"
GelatoDocumentReportError'Code'EnumDocumentTypeNotSupported :: GelatoDocumentReportError'Code'
-- | Represents the JSON value "document_unverified_other"
GelatoDocumentReportError'Code'EnumDocumentUnverifiedOther :: GelatoDocumentReportError'Code'
-- | Defines the object schema located at
-- components.schemas.gelato_document_report.properties.expiration_date.anyOf
-- in the specification.
--
-- Expiration date of the document.
data GelatoDocumentReportExpirationDate'
GelatoDocumentReportExpirationDate' :: Maybe Int -> Maybe Int -> Maybe Int -> GelatoDocumentReportExpirationDate'
-- | day: Numerical day between 1 and 31.
[gelatoDocumentReportExpirationDate'Day] :: GelatoDocumentReportExpirationDate' -> Maybe Int
-- | month: Numerical month between 1 and 12.
[gelatoDocumentReportExpirationDate'Month] :: GelatoDocumentReportExpirationDate' -> Maybe Int
-- | year: The four-digit year.
[gelatoDocumentReportExpirationDate'Year] :: GelatoDocumentReportExpirationDate' -> Maybe Int
-- | Create a new GelatoDocumentReportExpirationDate' with all
-- required fields.
mkGelatoDocumentReportExpirationDate' :: GelatoDocumentReportExpirationDate'
-- | Defines the object schema located at
-- components.schemas.gelato_document_report.properties.issued_date.anyOf
-- in the specification.
--
-- Issued date of the document.
data GelatoDocumentReportIssuedDate'
GelatoDocumentReportIssuedDate' :: Maybe Int -> Maybe Int -> Maybe Int -> GelatoDocumentReportIssuedDate'
-- | day: Numerical day between 1 and 31.
[gelatoDocumentReportIssuedDate'Day] :: GelatoDocumentReportIssuedDate' -> Maybe Int
-- | month: Numerical month between 1 and 12.
[gelatoDocumentReportIssuedDate'Month] :: GelatoDocumentReportIssuedDate' -> Maybe Int
-- | year: The four-digit year.
[gelatoDocumentReportIssuedDate'Year] :: GelatoDocumentReportIssuedDate' -> Maybe Int
-- | Create a new GelatoDocumentReportIssuedDate' with all required
-- fields.
mkGelatoDocumentReportIssuedDate' :: GelatoDocumentReportIssuedDate'
-- | Defines the enum schema located at
-- components.schemas.gelato_document_report.properties.status
-- in the specification.
--
-- Status of this `document` check.
data GelatoDocumentReportStatus'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
GelatoDocumentReportStatus'Other :: Value -> GelatoDocumentReportStatus'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
GelatoDocumentReportStatus'Typed :: Text -> GelatoDocumentReportStatus'
-- | Represents the JSON value "unverified"
GelatoDocumentReportStatus'EnumUnverified :: GelatoDocumentReportStatus'
-- | Represents the JSON value "verified"
GelatoDocumentReportStatus'EnumVerified :: GelatoDocumentReportStatus'
-- | Defines the enum schema located at
-- components.schemas.gelato_document_report.properties.type in
-- the specification.
--
-- Type of the document.
data GelatoDocumentReportType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
GelatoDocumentReportType'Other :: Value -> GelatoDocumentReportType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
GelatoDocumentReportType'Typed :: Text -> GelatoDocumentReportType'
-- | Represents the JSON value "driving_license"
GelatoDocumentReportType'EnumDrivingLicense :: GelatoDocumentReportType'
-- | Represents the JSON value "id_card"
GelatoDocumentReportType'EnumIdCard :: GelatoDocumentReportType'
-- | Represents the JSON value "passport"
GelatoDocumentReportType'EnumPassport :: GelatoDocumentReportType'
instance GHC.Classes.Eq StripeAPI.Types.GelatoDocumentReport.GelatoDocumentReportAddress'
instance GHC.Show.Show StripeAPI.Types.GelatoDocumentReport.GelatoDocumentReportAddress'
instance GHC.Classes.Eq StripeAPI.Types.GelatoDocumentReport.GelatoDocumentReportDob'
instance GHC.Show.Show StripeAPI.Types.GelatoDocumentReport.GelatoDocumentReportDob'
instance GHC.Classes.Eq StripeAPI.Types.GelatoDocumentReport.GelatoDocumentReportError'Code'
instance GHC.Show.Show StripeAPI.Types.GelatoDocumentReport.GelatoDocumentReportError'Code'
instance GHC.Classes.Eq StripeAPI.Types.GelatoDocumentReport.GelatoDocumentReportError'
instance GHC.Show.Show StripeAPI.Types.GelatoDocumentReport.GelatoDocumentReportError'
instance GHC.Classes.Eq StripeAPI.Types.GelatoDocumentReport.GelatoDocumentReportExpirationDate'
instance GHC.Show.Show StripeAPI.Types.GelatoDocumentReport.GelatoDocumentReportExpirationDate'
instance GHC.Classes.Eq StripeAPI.Types.GelatoDocumentReport.GelatoDocumentReportIssuedDate'
instance GHC.Show.Show StripeAPI.Types.GelatoDocumentReport.GelatoDocumentReportIssuedDate'
instance GHC.Classes.Eq StripeAPI.Types.GelatoDocumentReport.GelatoDocumentReportStatus'
instance GHC.Show.Show StripeAPI.Types.GelatoDocumentReport.GelatoDocumentReportStatus'
instance GHC.Classes.Eq StripeAPI.Types.GelatoDocumentReport.GelatoDocumentReportType'
instance GHC.Show.Show StripeAPI.Types.GelatoDocumentReport.GelatoDocumentReportType'
instance GHC.Classes.Eq StripeAPI.Types.GelatoDocumentReport.GelatoDocumentReport
instance GHC.Show.Show StripeAPI.Types.GelatoDocumentReport.GelatoDocumentReport
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.GelatoDocumentReport.GelatoDocumentReport
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.GelatoDocumentReport.GelatoDocumentReport
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.GelatoDocumentReport.GelatoDocumentReportType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.GelatoDocumentReport.GelatoDocumentReportType'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.GelatoDocumentReport.GelatoDocumentReportStatus'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.GelatoDocumentReport.GelatoDocumentReportStatus'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.GelatoDocumentReport.GelatoDocumentReportIssuedDate'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.GelatoDocumentReport.GelatoDocumentReportIssuedDate'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.GelatoDocumentReport.GelatoDocumentReportExpirationDate'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.GelatoDocumentReport.GelatoDocumentReportExpirationDate'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.GelatoDocumentReport.GelatoDocumentReportError'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.GelatoDocumentReport.GelatoDocumentReportError'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.GelatoDocumentReport.GelatoDocumentReportError'Code'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.GelatoDocumentReport.GelatoDocumentReportError'Code'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.GelatoDocumentReport.GelatoDocumentReportDob'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.GelatoDocumentReport.GelatoDocumentReportDob'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.GelatoDocumentReport.GelatoDocumentReportAddress'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.GelatoDocumentReport.GelatoDocumentReportAddress'
-- | Contains the types generated from the schema GelatoDocumentReportError
module StripeAPI.Types.GelatoDocumentReportError
-- | Defines the object schema located at
-- components.schemas.gelato_document_report_error in the
-- specification.
data GelatoDocumentReportError
GelatoDocumentReportError :: Maybe GelatoDocumentReportErrorCode' -> Maybe Text -> GelatoDocumentReportError
-- | code: A short machine-readable string giving the reason for the
-- verification failure.
[gelatoDocumentReportErrorCode] :: GelatoDocumentReportError -> Maybe GelatoDocumentReportErrorCode'
-- | reason: A human-readable message giving the reason for the failure.
-- These messages can be shown to your users.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[gelatoDocumentReportErrorReason] :: GelatoDocumentReportError -> Maybe Text
-- | Create a new GelatoDocumentReportError with all required
-- fields.
mkGelatoDocumentReportError :: GelatoDocumentReportError
-- | Defines the enum schema located at
-- components.schemas.gelato_document_report_error.properties.code
-- in the specification.
--
-- A short machine-readable string giving the reason for the verification
-- failure.
data GelatoDocumentReportErrorCode'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
GelatoDocumentReportErrorCode'Other :: Value -> GelatoDocumentReportErrorCode'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
GelatoDocumentReportErrorCode'Typed :: Text -> GelatoDocumentReportErrorCode'
-- | Represents the JSON value "document_expired"
GelatoDocumentReportErrorCode'EnumDocumentExpired :: GelatoDocumentReportErrorCode'
-- | Represents the JSON value "document_type_not_supported"
GelatoDocumentReportErrorCode'EnumDocumentTypeNotSupported :: GelatoDocumentReportErrorCode'
-- | Represents the JSON value "document_unverified_other"
GelatoDocumentReportErrorCode'EnumDocumentUnverifiedOther :: GelatoDocumentReportErrorCode'
instance GHC.Classes.Eq StripeAPI.Types.GelatoDocumentReportError.GelatoDocumentReportErrorCode'
instance GHC.Show.Show StripeAPI.Types.GelatoDocumentReportError.GelatoDocumentReportErrorCode'
instance GHC.Classes.Eq StripeAPI.Types.GelatoDocumentReportError.GelatoDocumentReportError
instance GHC.Show.Show StripeAPI.Types.GelatoDocumentReportError.GelatoDocumentReportError
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.GelatoDocumentReportError.GelatoDocumentReportError
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.GelatoDocumentReportError.GelatoDocumentReportError
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.GelatoDocumentReportError.GelatoDocumentReportErrorCode'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.GelatoDocumentReportError.GelatoDocumentReportErrorCode'
-- | Contains the types generated from the schema GelatoIdNumberReport
module StripeAPI.Types.GelatoIdNumberReport
-- | Defines the object schema located at
-- components.schemas.gelato_id_number_report in the
-- specification.
--
-- Result from an id_number check
data GelatoIdNumberReport
GelatoIdNumberReport :: Maybe GelatoIdNumberReportDob' -> Maybe GelatoIdNumberReportError' -> Maybe Text -> Maybe Text -> Maybe GelatoIdNumberReportIdNumberType' -> Maybe Text -> GelatoIdNumberReportStatus' -> GelatoIdNumberReport
-- | dob: Date of birth.
[gelatoIdNumberReportDob] :: GelatoIdNumberReport -> Maybe GelatoIdNumberReportDob'
-- | error: Details on the verification error. Present when status is
-- `unverified`.
[gelatoIdNumberReportError] :: GelatoIdNumberReport -> Maybe GelatoIdNumberReportError'
-- | first_name: First name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[gelatoIdNumberReportFirstName] :: GelatoIdNumberReport -> Maybe Text
-- | id_number: ID number.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[gelatoIdNumberReportIdNumber] :: GelatoIdNumberReport -> Maybe Text
-- | id_number_type: Type of ID number.
[gelatoIdNumberReportIdNumberType] :: GelatoIdNumberReport -> Maybe GelatoIdNumberReportIdNumberType'
-- | last_name: Last name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[gelatoIdNumberReportLastName] :: GelatoIdNumberReport -> Maybe Text
-- | status: Status of this `id_number` check.
[gelatoIdNumberReportStatus] :: GelatoIdNumberReport -> GelatoIdNumberReportStatus'
-- | Create a new GelatoIdNumberReport with all required fields.
mkGelatoIdNumberReport :: GelatoIdNumberReportStatus' -> GelatoIdNumberReport
-- | Defines the object schema located at
-- components.schemas.gelato_id_number_report.properties.dob.anyOf
-- in the specification.
--
-- Date of birth.
data GelatoIdNumberReportDob'
GelatoIdNumberReportDob' :: Maybe Int -> Maybe Int -> Maybe Int -> GelatoIdNumberReportDob'
-- | day: Numerical day between 1 and 31.
[gelatoIdNumberReportDob'Day] :: GelatoIdNumberReportDob' -> Maybe Int
-- | month: Numerical month between 1 and 12.
[gelatoIdNumberReportDob'Month] :: GelatoIdNumberReportDob' -> Maybe Int
-- | year: The four-digit year.
[gelatoIdNumberReportDob'Year] :: GelatoIdNumberReportDob' -> Maybe Int
-- | Create a new GelatoIdNumberReportDob' with all required fields.
mkGelatoIdNumberReportDob' :: GelatoIdNumberReportDob'
-- | Defines the object schema located at
-- components.schemas.gelato_id_number_report.properties.error.anyOf
-- in the specification.
--
-- Details on the verification error. Present when status is
-- \`unverified\`.
data GelatoIdNumberReportError'
GelatoIdNumberReportError' :: Maybe GelatoIdNumberReportError'Code' -> Maybe Text -> GelatoIdNumberReportError'
-- | code: A short machine-readable string giving the reason for the
-- verification failure.
[gelatoIdNumberReportError'Code] :: GelatoIdNumberReportError' -> Maybe GelatoIdNumberReportError'Code'
-- | reason: A human-readable message giving the reason for the failure.
-- These messages can be shown to your users.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[gelatoIdNumberReportError'Reason] :: GelatoIdNumberReportError' -> Maybe Text
-- | Create a new GelatoIdNumberReportError' with all required
-- fields.
mkGelatoIdNumberReportError' :: GelatoIdNumberReportError'
-- | Defines the enum schema located at
-- components.schemas.gelato_id_number_report.properties.error.anyOf.properties.code
-- in the specification.
--
-- A short machine-readable string giving the reason for the verification
-- failure.
data GelatoIdNumberReportError'Code'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
GelatoIdNumberReportError'Code'Other :: Value -> GelatoIdNumberReportError'Code'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
GelatoIdNumberReportError'Code'Typed :: Text -> GelatoIdNumberReportError'Code'
-- | Represents the JSON value
-- "id_number_insufficient_document_data"
GelatoIdNumberReportError'Code'EnumIdNumberInsufficientDocumentData :: GelatoIdNumberReportError'Code'
-- | Represents the JSON value "id_number_mismatch"
GelatoIdNumberReportError'Code'EnumIdNumberMismatch :: GelatoIdNumberReportError'Code'
-- | Represents the JSON value "id_number_unverified_other"
GelatoIdNumberReportError'Code'EnumIdNumberUnverifiedOther :: GelatoIdNumberReportError'Code'
-- | Defines the enum schema located at
-- components.schemas.gelato_id_number_report.properties.id_number_type
-- in the specification.
--
-- Type of ID number.
data GelatoIdNumberReportIdNumberType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
GelatoIdNumberReportIdNumberType'Other :: Value -> GelatoIdNumberReportIdNumberType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
GelatoIdNumberReportIdNumberType'Typed :: Text -> GelatoIdNumberReportIdNumberType'
-- | Represents the JSON value "br_cpf"
GelatoIdNumberReportIdNumberType'EnumBrCpf :: GelatoIdNumberReportIdNumberType'
-- | Represents the JSON value "sg_nric"
GelatoIdNumberReportIdNumberType'EnumSgNric :: GelatoIdNumberReportIdNumberType'
-- | Represents the JSON value "us_ssn"
GelatoIdNumberReportIdNumberType'EnumUsSsn :: GelatoIdNumberReportIdNumberType'
-- | Defines the enum schema located at
-- components.schemas.gelato_id_number_report.properties.status
-- in the specification.
--
-- Status of this `id_number` check.
data GelatoIdNumberReportStatus'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
GelatoIdNumberReportStatus'Other :: Value -> GelatoIdNumberReportStatus'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
GelatoIdNumberReportStatus'Typed :: Text -> GelatoIdNumberReportStatus'
-- | Represents the JSON value "unverified"
GelatoIdNumberReportStatus'EnumUnverified :: GelatoIdNumberReportStatus'
-- | Represents the JSON value "verified"
GelatoIdNumberReportStatus'EnumVerified :: GelatoIdNumberReportStatus'
instance GHC.Classes.Eq StripeAPI.Types.GelatoIdNumberReport.GelatoIdNumberReportDob'
instance GHC.Show.Show StripeAPI.Types.GelatoIdNumberReport.GelatoIdNumberReportDob'
instance GHC.Classes.Eq StripeAPI.Types.GelatoIdNumberReport.GelatoIdNumberReportError'Code'
instance GHC.Show.Show StripeAPI.Types.GelatoIdNumberReport.GelatoIdNumberReportError'Code'
instance GHC.Classes.Eq StripeAPI.Types.GelatoIdNumberReport.GelatoIdNumberReportError'
instance GHC.Show.Show StripeAPI.Types.GelatoIdNumberReport.GelatoIdNumberReportError'
instance GHC.Classes.Eq StripeAPI.Types.GelatoIdNumberReport.GelatoIdNumberReportIdNumberType'
instance GHC.Show.Show StripeAPI.Types.GelatoIdNumberReport.GelatoIdNumberReportIdNumberType'
instance GHC.Classes.Eq StripeAPI.Types.GelatoIdNumberReport.GelatoIdNumberReportStatus'
instance GHC.Show.Show StripeAPI.Types.GelatoIdNumberReport.GelatoIdNumberReportStatus'
instance GHC.Classes.Eq StripeAPI.Types.GelatoIdNumberReport.GelatoIdNumberReport
instance GHC.Show.Show StripeAPI.Types.GelatoIdNumberReport.GelatoIdNumberReport
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.GelatoIdNumberReport.GelatoIdNumberReport
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.GelatoIdNumberReport.GelatoIdNumberReport
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.GelatoIdNumberReport.GelatoIdNumberReportStatus'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.GelatoIdNumberReport.GelatoIdNumberReportStatus'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.GelatoIdNumberReport.GelatoIdNumberReportIdNumberType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.GelatoIdNumberReport.GelatoIdNumberReportIdNumberType'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.GelatoIdNumberReport.GelatoIdNumberReportError'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.GelatoIdNumberReport.GelatoIdNumberReportError'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.GelatoIdNumberReport.GelatoIdNumberReportError'Code'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.GelatoIdNumberReport.GelatoIdNumberReportError'Code'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.GelatoIdNumberReport.GelatoIdNumberReportDob'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.GelatoIdNumberReport.GelatoIdNumberReportDob'
-- | Contains the types generated from the schema GelatoIdNumberReportError
module StripeAPI.Types.GelatoIdNumberReportError
-- | Defines the object schema located at
-- components.schemas.gelato_id_number_report_error in the
-- specification.
data GelatoIdNumberReportError
GelatoIdNumberReportError :: Maybe GelatoIdNumberReportErrorCode' -> Maybe Text -> GelatoIdNumberReportError
-- | code: A short machine-readable string giving the reason for the
-- verification failure.
[gelatoIdNumberReportErrorCode] :: GelatoIdNumberReportError -> Maybe GelatoIdNumberReportErrorCode'
-- | reason: A human-readable message giving the reason for the failure.
-- These messages can be shown to your users.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[gelatoIdNumberReportErrorReason] :: GelatoIdNumberReportError -> Maybe Text
-- | Create a new GelatoIdNumberReportError with all required
-- fields.
mkGelatoIdNumberReportError :: GelatoIdNumberReportError
-- | Defines the enum schema located at
-- components.schemas.gelato_id_number_report_error.properties.code
-- in the specification.
--
-- A short machine-readable string giving the reason for the verification
-- failure.
data GelatoIdNumberReportErrorCode'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
GelatoIdNumberReportErrorCode'Other :: Value -> GelatoIdNumberReportErrorCode'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
GelatoIdNumberReportErrorCode'Typed :: Text -> GelatoIdNumberReportErrorCode'
-- | Represents the JSON value
-- "id_number_insufficient_document_data"
GelatoIdNumberReportErrorCode'EnumIdNumberInsufficientDocumentData :: GelatoIdNumberReportErrorCode'
-- | Represents the JSON value "id_number_mismatch"
GelatoIdNumberReportErrorCode'EnumIdNumberMismatch :: GelatoIdNumberReportErrorCode'
-- | Represents the JSON value "id_number_unverified_other"
GelatoIdNumberReportErrorCode'EnumIdNumberUnverifiedOther :: GelatoIdNumberReportErrorCode'
instance GHC.Classes.Eq StripeAPI.Types.GelatoIdNumberReportError.GelatoIdNumberReportErrorCode'
instance GHC.Show.Show StripeAPI.Types.GelatoIdNumberReportError.GelatoIdNumberReportErrorCode'
instance GHC.Classes.Eq StripeAPI.Types.GelatoIdNumberReportError.GelatoIdNumberReportError
instance GHC.Show.Show StripeAPI.Types.GelatoIdNumberReportError.GelatoIdNumberReportError
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.GelatoIdNumberReportError.GelatoIdNumberReportError
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.GelatoIdNumberReportError.GelatoIdNumberReportError
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.GelatoIdNumberReportError.GelatoIdNumberReportErrorCode'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.GelatoIdNumberReportError.GelatoIdNumberReportErrorCode'
-- | Contains the types generated from the schema
-- GelatoReportDocumentOptions
module StripeAPI.Types.GelatoReportDocumentOptions
-- | Defines the object schema located at
-- components.schemas.gelato_report_document_options in the
-- specification.
data GelatoReportDocumentOptions
GelatoReportDocumentOptions :: Maybe [GelatoReportDocumentOptionsAllowedTypes'] -> Maybe Bool -> Maybe Bool -> Maybe Bool -> GelatoReportDocumentOptions
-- | allowed_types: Array of strings of allowed identity document types. If
-- the provided identity document isn’t one of the allowed types, the
-- verification check will fail with a document_type_not_allowed error
-- code.
[gelatoReportDocumentOptionsAllowedTypes] :: GelatoReportDocumentOptions -> Maybe [GelatoReportDocumentOptionsAllowedTypes']
-- | require_id_number: Collect an ID number and perform an ID number
-- check with the document’s extracted name and date of birth.
[gelatoReportDocumentOptionsRequireIdNumber] :: GelatoReportDocumentOptions -> Maybe Bool
-- | require_live_capture: Disable image uploads, identity document images
-- have to be captured using the device’s camera.
[gelatoReportDocumentOptionsRequireLiveCapture] :: GelatoReportDocumentOptions -> Maybe Bool
-- | require_matching_selfie: Capture a face image and perform a selfie
-- check comparing a photo ID and a picture of your user’s face.
-- Learn more.
[gelatoReportDocumentOptionsRequireMatchingSelfie] :: GelatoReportDocumentOptions -> Maybe Bool
-- | Create a new GelatoReportDocumentOptions with all required
-- fields.
mkGelatoReportDocumentOptions :: GelatoReportDocumentOptions
-- | Defines the enum schema located at
-- components.schemas.gelato_report_document_options.properties.allowed_types.items
-- in the specification.
data GelatoReportDocumentOptionsAllowedTypes'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
GelatoReportDocumentOptionsAllowedTypes'Other :: Value -> GelatoReportDocumentOptionsAllowedTypes'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
GelatoReportDocumentOptionsAllowedTypes'Typed :: Text -> GelatoReportDocumentOptionsAllowedTypes'
-- | Represents the JSON value "driving_license"
GelatoReportDocumentOptionsAllowedTypes'EnumDrivingLicense :: GelatoReportDocumentOptionsAllowedTypes'
-- | Represents the JSON value "id_card"
GelatoReportDocumentOptionsAllowedTypes'EnumIdCard :: GelatoReportDocumentOptionsAllowedTypes'
-- | Represents the JSON value "passport"
GelatoReportDocumentOptionsAllowedTypes'EnumPassport :: GelatoReportDocumentOptionsAllowedTypes'
instance GHC.Classes.Eq StripeAPI.Types.GelatoReportDocumentOptions.GelatoReportDocumentOptionsAllowedTypes'
instance GHC.Show.Show StripeAPI.Types.GelatoReportDocumentOptions.GelatoReportDocumentOptionsAllowedTypes'
instance GHC.Classes.Eq StripeAPI.Types.GelatoReportDocumentOptions.GelatoReportDocumentOptions
instance GHC.Show.Show StripeAPI.Types.GelatoReportDocumentOptions.GelatoReportDocumentOptions
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.GelatoReportDocumentOptions.GelatoReportDocumentOptions
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.GelatoReportDocumentOptions.GelatoReportDocumentOptions
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.GelatoReportDocumentOptions.GelatoReportDocumentOptionsAllowedTypes'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.GelatoReportDocumentOptions.GelatoReportDocumentOptionsAllowedTypes'
-- | Contains the types generated from the schema GelatoSelfieReport
module StripeAPI.Types.GelatoSelfieReport
-- | Defines the object schema located at
-- components.schemas.gelato_selfie_report in the specification.
--
-- Result from a selfie check
data GelatoSelfieReport
GelatoSelfieReport :: Maybe Text -> Maybe GelatoSelfieReportError' -> Maybe Text -> GelatoSelfieReportStatus' -> GelatoSelfieReport
-- | document: ID of the File holding the image of the identity
-- document used in this check.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[gelatoSelfieReportDocument] :: GelatoSelfieReport -> Maybe Text
-- | error: Details on the verification error. Present when status is
-- `unverified`.
[gelatoSelfieReportError] :: GelatoSelfieReport -> Maybe GelatoSelfieReportError'
-- | selfie: ID of the File holding the image of the selfie used in
-- this check.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[gelatoSelfieReportSelfie] :: GelatoSelfieReport -> Maybe Text
-- | status: Status of this `selfie` check.
[gelatoSelfieReportStatus] :: GelatoSelfieReport -> GelatoSelfieReportStatus'
-- | Create a new GelatoSelfieReport with all required fields.
mkGelatoSelfieReport :: GelatoSelfieReportStatus' -> GelatoSelfieReport
-- | Defines the object schema located at
-- components.schemas.gelato_selfie_report.properties.error.anyOf
-- in the specification.
--
-- Details on the verification error. Present when status is
-- \`unverified\`.
data GelatoSelfieReportError'
GelatoSelfieReportError' :: Maybe GelatoSelfieReportError'Code' -> Maybe Text -> GelatoSelfieReportError'
-- | code: A short machine-readable string giving the reason for the
-- verification failure.
[gelatoSelfieReportError'Code] :: GelatoSelfieReportError' -> Maybe GelatoSelfieReportError'Code'
-- | reason: A human-readable message giving the reason for the failure.
-- These messages can be shown to your users.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[gelatoSelfieReportError'Reason] :: GelatoSelfieReportError' -> Maybe Text
-- | Create a new GelatoSelfieReportError' with all required fields.
mkGelatoSelfieReportError' :: GelatoSelfieReportError'
-- | Defines the enum schema located at
-- components.schemas.gelato_selfie_report.properties.error.anyOf.properties.code
-- in the specification.
--
-- A short machine-readable string giving the reason for the verification
-- failure.
data GelatoSelfieReportError'Code'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
GelatoSelfieReportError'Code'Other :: Value -> GelatoSelfieReportError'Code'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
GelatoSelfieReportError'Code'Typed :: Text -> GelatoSelfieReportError'Code'
-- | Represents the JSON value "selfie_document_missing_photo"
GelatoSelfieReportError'Code'EnumSelfieDocumentMissingPhoto :: GelatoSelfieReportError'Code'
-- | Represents the JSON value "selfie_face_mismatch"
GelatoSelfieReportError'Code'EnumSelfieFaceMismatch :: GelatoSelfieReportError'Code'
-- | Represents the JSON value "selfie_manipulated"
GelatoSelfieReportError'Code'EnumSelfieManipulated :: GelatoSelfieReportError'Code'
-- | Represents the JSON value "selfie_unverified_other"
GelatoSelfieReportError'Code'EnumSelfieUnverifiedOther :: GelatoSelfieReportError'Code'
-- | Defines the enum schema located at
-- components.schemas.gelato_selfie_report.properties.status in
-- the specification.
--
-- Status of this `selfie` check.
data GelatoSelfieReportStatus'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
GelatoSelfieReportStatus'Other :: Value -> GelatoSelfieReportStatus'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
GelatoSelfieReportStatus'Typed :: Text -> GelatoSelfieReportStatus'
-- | Represents the JSON value "unverified"
GelatoSelfieReportStatus'EnumUnverified :: GelatoSelfieReportStatus'
-- | Represents the JSON value "verified"
GelatoSelfieReportStatus'EnumVerified :: GelatoSelfieReportStatus'
instance GHC.Classes.Eq StripeAPI.Types.GelatoSelfieReport.GelatoSelfieReportError'Code'
instance GHC.Show.Show StripeAPI.Types.GelatoSelfieReport.GelatoSelfieReportError'Code'
instance GHC.Classes.Eq StripeAPI.Types.GelatoSelfieReport.GelatoSelfieReportError'
instance GHC.Show.Show StripeAPI.Types.GelatoSelfieReport.GelatoSelfieReportError'
instance GHC.Classes.Eq StripeAPI.Types.GelatoSelfieReport.GelatoSelfieReportStatus'
instance GHC.Show.Show StripeAPI.Types.GelatoSelfieReport.GelatoSelfieReportStatus'
instance GHC.Classes.Eq StripeAPI.Types.GelatoSelfieReport.GelatoSelfieReport
instance GHC.Show.Show StripeAPI.Types.GelatoSelfieReport.GelatoSelfieReport
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.GelatoSelfieReport.GelatoSelfieReport
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.GelatoSelfieReport.GelatoSelfieReport
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.GelatoSelfieReport.GelatoSelfieReportStatus'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.GelatoSelfieReport.GelatoSelfieReportStatus'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.GelatoSelfieReport.GelatoSelfieReportError'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.GelatoSelfieReport.GelatoSelfieReportError'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.GelatoSelfieReport.GelatoSelfieReportError'Code'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.GelatoSelfieReport.GelatoSelfieReportError'Code'
-- | Contains the types generated from the schema GelatoSelfieReportError
module StripeAPI.Types.GelatoSelfieReportError
-- | Defines the object schema located at
-- components.schemas.gelato_selfie_report_error in the
-- specification.
data GelatoSelfieReportError
GelatoSelfieReportError :: Maybe GelatoSelfieReportErrorCode' -> Maybe Text -> GelatoSelfieReportError
-- | code: A short machine-readable string giving the reason for the
-- verification failure.
[gelatoSelfieReportErrorCode] :: GelatoSelfieReportError -> Maybe GelatoSelfieReportErrorCode'
-- | reason: A human-readable message giving the reason for the failure.
-- These messages can be shown to your users.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[gelatoSelfieReportErrorReason] :: GelatoSelfieReportError -> Maybe Text
-- | Create a new GelatoSelfieReportError with all required fields.
mkGelatoSelfieReportError :: GelatoSelfieReportError
-- | Defines the enum schema located at
-- components.schemas.gelato_selfie_report_error.properties.code
-- in the specification.
--
-- A short machine-readable string giving the reason for the verification
-- failure.
data GelatoSelfieReportErrorCode'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
GelatoSelfieReportErrorCode'Other :: Value -> GelatoSelfieReportErrorCode'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
GelatoSelfieReportErrorCode'Typed :: Text -> GelatoSelfieReportErrorCode'
-- | Represents the JSON value "selfie_document_missing_photo"
GelatoSelfieReportErrorCode'EnumSelfieDocumentMissingPhoto :: GelatoSelfieReportErrorCode'
-- | Represents the JSON value "selfie_face_mismatch"
GelatoSelfieReportErrorCode'EnumSelfieFaceMismatch :: GelatoSelfieReportErrorCode'
-- | Represents the JSON value "selfie_manipulated"
GelatoSelfieReportErrorCode'EnumSelfieManipulated :: GelatoSelfieReportErrorCode'
-- | Represents the JSON value "selfie_unverified_other"
GelatoSelfieReportErrorCode'EnumSelfieUnverifiedOther :: GelatoSelfieReportErrorCode'
instance GHC.Classes.Eq StripeAPI.Types.GelatoSelfieReportError.GelatoSelfieReportErrorCode'
instance GHC.Show.Show StripeAPI.Types.GelatoSelfieReportError.GelatoSelfieReportErrorCode'
instance GHC.Classes.Eq StripeAPI.Types.GelatoSelfieReportError.GelatoSelfieReportError
instance GHC.Show.Show StripeAPI.Types.GelatoSelfieReportError.GelatoSelfieReportError
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.GelatoSelfieReportError.GelatoSelfieReportError
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.GelatoSelfieReportError.GelatoSelfieReportError
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.GelatoSelfieReportError.GelatoSelfieReportErrorCode'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.GelatoSelfieReportError.GelatoSelfieReportErrorCode'
-- | Contains the types generated from the schema
-- GelatoSessionDocumentOptions
module StripeAPI.Types.GelatoSessionDocumentOptions
-- | Defines the object schema located at
-- components.schemas.gelato_session_document_options in the
-- specification.
data GelatoSessionDocumentOptions
GelatoSessionDocumentOptions :: Maybe [GelatoSessionDocumentOptionsAllowedTypes'] -> Maybe Bool -> Maybe Bool -> Maybe Bool -> GelatoSessionDocumentOptions
-- | allowed_types: Array of strings of allowed identity document types. If
-- the provided identity document isn’t one of the allowed types, the
-- verification check will fail with a document_type_not_allowed error
-- code.
[gelatoSessionDocumentOptionsAllowedTypes] :: GelatoSessionDocumentOptions -> Maybe [GelatoSessionDocumentOptionsAllowedTypes']
-- | require_id_number: Collect an ID number and perform an ID number
-- check with the document’s extracted name and date of birth.
[gelatoSessionDocumentOptionsRequireIdNumber] :: GelatoSessionDocumentOptions -> Maybe Bool
-- | require_live_capture: Disable image uploads, identity document images
-- have to be captured using the device’s camera.
[gelatoSessionDocumentOptionsRequireLiveCapture] :: GelatoSessionDocumentOptions -> Maybe Bool
-- | require_matching_selfie: Capture a face image and perform a selfie
-- check comparing a photo ID and a picture of your user’s face.
-- Learn more.
[gelatoSessionDocumentOptionsRequireMatchingSelfie] :: GelatoSessionDocumentOptions -> Maybe Bool
-- | Create a new GelatoSessionDocumentOptions with all required
-- fields.
mkGelatoSessionDocumentOptions :: GelatoSessionDocumentOptions
-- | Defines the enum schema located at
-- components.schemas.gelato_session_document_options.properties.allowed_types.items
-- in the specification.
data GelatoSessionDocumentOptionsAllowedTypes'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
GelatoSessionDocumentOptionsAllowedTypes'Other :: Value -> GelatoSessionDocumentOptionsAllowedTypes'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
GelatoSessionDocumentOptionsAllowedTypes'Typed :: Text -> GelatoSessionDocumentOptionsAllowedTypes'
-- | Represents the JSON value "driving_license"
GelatoSessionDocumentOptionsAllowedTypes'EnumDrivingLicense :: GelatoSessionDocumentOptionsAllowedTypes'
-- | Represents the JSON value "id_card"
GelatoSessionDocumentOptionsAllowedTypes'EnumIdCard :: GelatoSessionDocumentOptionsAllowedTypes'
-- | Represents the JSON value "passport"
GelatoSessionDocumentOptionsAllowedTypes'EnumPassport :: GelatoSessionDocumentOptionsAllowedTypes'
instance GHC.Classes.Eq StripeAPI.Types.GelatoSessionDocumentOptions.GelatoSessionDocumentOptionsAllowedTypes'
instance GHC.Show.Show StripeAPI.Types.GelatoSessionDocumentOptions.GelatoSessionDocumentOptionsAllowedTypes'
instance GHC.Classes.Eq StripeAPI.Types.GelatoSessionDocumentOptions.GelatoSessionDocumentOptions
instance GHC.Show.Show StripeAPI.Types.GelatoSessionDocumentOptions.GelatoSessionDocumentOptions
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.GelatoSessionDocumentOptions.GelatoSessionDocumentOptions
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.GelatoSessionDocumentOptions.GelatoSessionDocumentOptions
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.GelatoSessionDocumentOptions.GelatoSessionDocumentOptionsAllowedTypes'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.GelatoSessionDocumentOptions.GelatoSessionDocumentOptionsAllowedTypes'
-- | Contains the types generated from the schema GelatoSessionLastError
module StripeAPI.Types.GelatoSessionLastError
-- | Defines the object schema located at
-- components.schemas.gelato_session_last_error in the
-- specification.
--
-- Shows last VerificationSession error
data GelatoSessionLastError
GelatoSessionLastError :: Maybe GelatoSessionLastErrorCode' -> Maybe Text -> GelatoSessionLastError
-- | code: A short machine-readable string giving the reason for the
-- verification or user-session failure.
[gelatoSessionLastErrorCode] :: GelatoSessionLastError -> Maybe GelatoSessionLastErrorCode'
-- | reason: A message that explains the reason for verification or
-- user-session failure.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[gelatoSessionLastErrorReason] :: GelatoSessionLastError -> Maybe Text
-- | Create a new GelatoSessionLastError with all required fields.
mkGelatoSessionLastError :: GelatoSessionLastError
-- | Defines the enum schema located at
-- components.schemas.gelato_session_last_error.properties.code
-- in the specification.
--
-- A short machine-readable string giving the reason for the verification
-- or user-session failure.
data GelatoSessionLastErrorCode'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
GelatoSessionLastErrorCode'Other :: Value -> GelatoSessionLastErrorCode'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
GelatoSessionLastErrorCode'Typed :: Text -> GelatoSessionLastErrorCode'
-- | Represents the JSON value "abandoned"
GelatoSessionLastErrorCode'EnumAbandoned :: GelatoSessionLastErrorCode'
-- | Represents the JSON value "consent_declined"
GelatoSessionLastErrorCode'EnumConsentDeclined :: GelatoSessionLastErrorCode'
-- | Represents the JSON value "country_not_supported"
GelatoSessionLastErrorCode'EnumCountryNotSupported :: GelatoSessionLastErrorCode'
-- | Represents the JSON value "device_not_supported"
GelatoSessionLastErrorCode'EnumDeviceNotSupported :: GelatoSessionLastErrorCode'
-- | Represents the JSON value "document_expired"
GelatoSessionLastErrorCode'EnumDocumentExpired :: GelatoSessionLastErrorCode'
-- | Represents the JSON value "document_type_not_supported"
GelatoSessionLastErrorCode'EnumDocumentTypeNotSupported :: GelatoSessionLastErrorCode'
-- | Represents the JSON value "document_unverified_other"
GelatoSessionLastErrorCode'EnumDocumentUnverifiedOther :: GelatoSessionLastErrorCode'
-- | Represents the JSON value
-- "id_number_insufficient_document_data"
GelatoSessionLastErrorCode'EnumIdNumberInsufficientDocumentData :: GelatoSessionLastErrorCode'
-- | Represents the JSON value "id_number_mismatch"
GelatoSessionLastErrorCode'EnumIdNumberMismatch :: GelatoSessionLastErrorCode'
-- | Represents the JSON value "id_number_unverified_other"
GelatoSessionLastErrorCode'EnumIdNumberUnverifiedOther :: GelatoSessionLastErrorCode'
-- | Represents the JSON value "selfie_document_missing_photo"
GelatoSessionLastErrorCode'EnumSelfieDocumentMissingPhoto :: GelatoSessionLastErrorCode'
-- | Represents the JSON value "selfie_face_mismatch"
GelatoSessionLastErrorCode'EnumSelfieFaceMismatch :: GelatoSessionLastErrorCode'
-- | Represents the JSON value "selfie_manipulated"
GelatoSessionLastErrorCode'EnumSelfieManipulated :: GelatoSessionLastErrorCode'
-- | Represents the JSON value "selfie_unverified_other"
GelatoSessionLastErrorCode'EnumSelfieUnverifiedOther :: GelatoSessionLastErrorCode'
-- | Represents the JSON value "under_supported_age"
GelatoSessionLastErrorCode'EnumUnderSupportedAge :: GelatoSessionLastErrorCode'
instance GHC.Classes.Eq StripeAPI.Types.GelatoSessionLastError.GelatoSessionLastErrorCode'
instance GHC.Show.Show StripeAPI.Types.GelatoSessionLastError.GelatoSessionLastErrorCode'
instance GHC.Classes.Eq StripeAPI.Types.GelatoSessionLastError.GelatoSessionLastError
instance GHC.Show.Show StripeAPI.Types.GelatoSessionLastError.GelatoSessionLastError
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.GelatoSessionLastError.GelatoSessionLastError
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.GelatoSessionLastError.GelatoSessionLastError
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.GelatoSessionLastError.GelatoSessionLastErrorCode'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.GelatoSessionLastError.GelatoSessionLastErrorCode'
-- | Contains the types generated from the schema
-- GelatoVerificationReportOptions
module StripeAPI.Types.GelatoVerificationReportOptions
-- | Defines the object schema located at
-- components.schemas.gelato_verification_report_options in the
-- specification.
data GelatoVerificationReportOptions
GelatoVerificationReportOptions :: Maybe GelatoReportDocumentOptions -> Maybe GelatoReportIdNumberOptions -> GelatoVerificationReportOptions
-- | document:
[gelatoVerificationReportOptionsDocument] :: GelatoVerificationReportOptions -> Maybe GelatoReportDocumentOptions
-- | id_number:
[gelatoVerificationReportOptionsIdNumber] :: GelatoVerificationReportOptions -> Maybe GelatoReportIdNumberOptions
-- | Create a new GelatoVerificationReportOptions with all required
-- fields.
mkGelatoVerificationReportOptions :: GelatoVerificationReportOptions
instance GHC.Classes.Eq StripeAPI.Types.GelatoVerificationReportOptions.GelatoVerificationReportOptions
instance GHC.Show.Show StripeAPI.Types.GelatoVerificationReportOptions.GelatoVerificationReportOptions
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.GelatoVerificationReportOptions.GelatoVerificationReportOptions
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.GelatoVerificationReportOptions.GelatoVerificationReportOptions
-- | Contains the types generated from the schema
-- GelatoVerificationSessionOptions
module StripeAPI.Types.GelatoVerificationSessionOptions
-- | Defines the object schema located at
-- components.schemas.gelato_verification_session_options in the
-- specification.
data GelatoVerificationSessionOptions
GelatoVerificationSessionOptions :: Maybe GelatoSessionDocumentOptions -> Maybe GelatoSessionIdNumberOptions -> GelatoVerificationSessionOptions
-- | document:
[gelatoVerificationSessionOptionsDocument] :: GelatoVerificationSessionOptions -> Maybe GelatoSessionDocumentOptions
-- | id_number:
[gelatoVerificationSessionOptionsIdNumber] :: GelatoVerificationSessionOptions -> Maybe GelatoSessionIdNumberOptions
-- | Create a new GelatoVerificationSessionOptions with all required
-- fields.
mkGelatoVerificationSessionOptions :: GelatoVerificationSessionOptions
instance GHC.Classes.Eq StripeAPI.Types.GelatoVerificationSessionOptions.GelatoVerificationSessionOptions
instance GHC.Show.Show StripeAPI.Types.GelatoVerificationSessionOptions.GelatoVerificationSessionOptions
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.GelatoVerificationSessionOptions.GelatoVerificationSessionOptions
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.GelatoVerificationSessionOptions.GelatoVerificationSessionOptions
-- | Contains the types generated from the schema GelatoVerifiedOutputs
module StripeAPI.Types.GelatoVerifiedOutputs
-- | Defines the object schema located at
-- components.schemas.gelato_verified_outputs in the
-- specification.
data GelatoVerifiedOutputs
GelatoVerifiedOutputs :: Maybe GelatoVerifiedOutputsAddress' -> Maybe GelatoVerifiedOutputsDob' -> Maybe Text -> Maybe Text -> Maybe GelatoVerifiedOutputsIdNumberType' -> Maybe Text -> GelatoVerifiedOutputs
-- | address: The user's verified address.
[gelatoVerifiedOutputsAddress] :: GelatoVerifiedOutputs -> Maybe GelatoVerifiedOutputsAddress'
-- | dob: The user’s verified date of birth.
[gelatoVerifiedOutputsDob] :: GelatoVerifiedOutputs -> Maybe GelatoVerifiedOutputsDob'
-- | first_name: The user's verified first name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[gelatoVerifiedOutputsFirstName] :: GelatoVerifiedOutputs -> Maybe Text
-- | id_number: The user's verified id number.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[gelatoVerifiedOutputsIdNumber] :: GelatoVerifiedOutputs -> Maybe Text
-- | id_number_type: The user's verified id number type.
[gelatoVerifiedOutputsIdNumberType] :: GelatoVerifiedOutputs -> Maybe GelatoVerifiedOutputsIdNumberType'
-- | last_name: The user's verified last name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[gelatoVerifiedOutputsLastName] :: GelatoVerifiedOutputs -> Maybe Text
-- | Create a new GelatoVerifiedOutputs with all required fields.
mkGelatoVerifiedOutputs :: GelatoVerifiedOutputs
-- | Defines the object schema located at
-- components.schemas.gelato_verified_outputs.properties.address.anyOf
-- in the specification.
--
-- The user\'s verified address.
data GelatoVerifiedOutputsAddress'
GelatoVerifiedOutputsAddress' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> GelatoVerifiedOutputsAddress'
-- | city: City, district, suburb, town, or village.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[gelatoVerifiedOutputsAddress'City] :: GelatoVerifiedOutputsAddress' -> Maybe Text
-- | country: Two-letter country code ([ISO 3166-1
-- alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[gelatoVerifiedOutputsAddress'Country] :: GelatoVerifiedOutputsAddress' -> Maybe Text
-- | line1: Address line 1 (e.g., street, PO Box, or company name).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[gelatoVerifiedOutputsAddress'Line1] :: GelatoVerifiedOutputsAddress' -> Maybe Text
-- | line2: Address line 2 (e.g., apartment, suite, unit, or building).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[gelatoVerifiedOutputsAddress'Line2] :: GelatoVerifiedOutputsAddress' -> Maybe Text
-- | postal_code: ZIP or postal code.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[gelatoVerifiedOutputsAddress'PostalCode] :: GelatoVerifiedOutputsAddress' -> Maybe Text
-- | state: State, county, province, or region.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[gelatoVerifiedOutputsAddress'State] :: GelatoVerifiedOutputsAddress' -> Maybe Text
-- | Create a new GelatoVerifiedOutputsAddress' with all required
-- fields.
mkGelatoVerifiedOutputsAddress' :: GelatoVerifiedOutputsAddress'
-- | Defines the object schema located at
-- components.schemas.gelato_verified_outputs.properties.dob.anyOf
-- in the specification.
--
-- The user’s verified date of birth.
data GelatoVerifiedOutputsDob'
GelatoVerifiedOutputsDob' :: Maybe Int -> Maybe Int -> Maybe Int -> GelatoVerifiedOutputsDob'
-- | day: Numerical day between 1 and 31.
[gelatoVerifiedOutputsDob'Day] :: GelatoVerifiedOutputsDob' -> Maybe Int
-- | month: Numerical month between 1 and 12.
[gelatoVerifiedOutputsDob'Month] :: GelatoVerifiedOutputsDob' -> Maybe Int
-- | year: The four-digit year.
[gelatoVerifiedOutputsDob'Year] :: GelatoVerifiedOutputsDob' -> Maybe Int
-- | Create a new GelatoVerifiedOutputsDob' with all required
-- fields.
mkGelatoVerifiedOutputsDob' :: GelatoVerifiedOutputsDob'
-- | Defines the enum schema located at
-- components.schemas.gelato_verified_outputs.properties.id_number_type
-- in the specification.
--
-- The user's verified id number type.
data GelatoVerifiedOutputsIdNumberType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
GelatoVerifiedOutputsIdNumberType'Other :: Value -> GelatoVerifiedOutputsIdNumberType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
GelatoVerifiedOutputsIdNumberType'Typed :: Text -> GelatoVerifiedOutputsIdNumberType'
-- | Represents the JSON value "br_cpf"
GelatoVerifiedOutputsIdNumberType'EnumBrCpf :: GelatoVerifiedOutputsIdNumberType'
-- | Represents the JSON value "sg_nric"
GelatoVerifiedOutputsIdNumberType'EnumSgNric :: GelatoVerifiedOutputsIdNumberType'
-- | Represents the JSON value "us_ssn"
GelatoVerifiedOutputsIdNumberType'EnumUsSsn :: GelatoVerifiedOutputsIdNumberType'
instance GHC.Classes.Eq StripeAPI.Types.GelatoVerifiedOutputs.GelatoVerifiedOutputsAddress'
instance GHC.Show.Show StripeAPI.Types.GelatoVerifiedOutputs.GelatoVerifiedOutputsAddress'
instance GHC.Classes.Eq StripeAPI.Types.GelatoVerifiedOutputs.GelatoVerifiedOutputsDob'
instance GHC.Show.Show StripeAPI.Types.GelatoVerifiedOutputs.GelatoVerifiedOutputsDob'
instance GHC.Classes.Eq StripeAPI.Types.GelatoVerifiedOutputs.GelatoVerifiedOutputsIdNumberType'
instance GHC.Show.Show StripeAPI.Types.GelatoVerifiedOutputs.GelatoVerifiedOutputsIdNumberType'
instance GHC.Classes.Eq StripeAPI.Types.GelatoVerifiedOutputs.GelatoVerifiedOutputs
instance GHC.Show.Show StripeAPI.Types.GelatoVerifiedOutputs.GelatoVerifiedOutputs
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.GelatoVerifiedOutputs.GelatoVerifiedOutputs
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.GelatoVerifiedOutputs.GelatoVerifiedOutputs
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.GelatoVerifiedOutputs.GelatoVerifiedOutputsIdNumberType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.GelatoVerifiedOutputs.GelatoVerifiedOutputsIdNumberType'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.GelatoVerifiedOutputs.GelatoVerifiedOutputsDob'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.GelatoVerifiedOutputs.GelatoVerifiedOutputsDob'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.GelatoVerifiedOutputs.GelatoVerifiedOutputsAddress'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.GelatoVerifiedOutputs.GelatoVerifiedOutputsAddress'
-- | Contains the types generated from the schema
-- Identity_VerificationReport
module StripeAPI.Types.Identity_VerificationReport
-- | Defines the object schema located at
-- components.schemas.identity.verification_report in the
-- specification.
--
-- A VerificationReport is the result of an attempt to collect and verify
-- data from a user. The collection of verification checks performed is
-- determined from the `type` and `options` parameters used. You can find
-- the result of each verification check performed in the appropriate
-- sub-resource: `document`, `id_number`, `selfie`.
--
-- Each VerificationReport contains a copy of any data collected by the
-- user as well as reference IDs which can be used to access collected
-- images through the FileUpload API. To configure and create
-- VerificationReports, use the VerificationSession API.
--
-- Related guides: Accessing verification results.
data Identity'verificationReport
Identity'verificationReport :: Int -> Maybe GelatoDocumentReport -> Text -> Maybe GelatoIdNumberReport -> Bool -> GelatoVerificationReportOptions -> Maybe GelatoSelfieReport -> Identity'verificationReportType' -> Maybe Text -> Identity'verificationReport
-- | created: Time at which the object was created. Measured in seconds
-- since the Unix epoch.
[identity'verificationReportCreated] :: Identity'verificationReport -> Int
-- | document: Result from a document check
[identity'verificationReportDocument] :: Identity'verificationReport -> Maybe GelatoDocumentReport
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[identity'verificationReportId] :: Identity'verificationReport -> Text
-- | id_number: Result from an id_number check
[identity'verificationReportIdNumber] :: Identity'verificationReport -> Maybe GelatoIdNumberReport
-- | livemode: Has the value `true` if the object exists in live mode or
-- the value `false` if the object exists in test mode.
[identity'verificationReportLivemode] :: Identity'verificationReport -> Bool
-- | options:
[identity'verificationReportOptions] :: Identity'verificationReport -> GelatoVerificationReportOptions
-- | selfie: Result from a selfie check
[identity'verificationReportSelfie] :: Identity'verificationReport -> Maybe GelatoSelfieReport
-- | type: Type of report.
[identity'verificationReportType] :: Identity'verificationReport -> Identity'verificationReportType'
-- | verification_session: ID of the VerificationSession that created this
-- report.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[identity'verificationReportVerificationSession] :: Identity'verificationReport -> Maybe Text
-- | Create a new Identity'verificationReport with all required
-- fields.
mkIdentity'verificationReport :: Int -> Text -> Bool -> GelatoVerificationReportOptions -> Identity'verificationReportType' -> Identity'verificationReport
-- | Defines the enum schema located at
-- components.schemas.identity.verification_report.properties.type
-- in the specification.
--
-- Type of report.
data Identity'verificationReportType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
Identity'verificationReportType'Other :: Value -> Identity'verificationReportType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
Identity'verificationReportType'Typed :: Text -> Identity'verificationReportType'
-- | Represents the JSON value "document"
Identity'verificationReportType'EnumDocument :: Identity'verificationReportType'
-- | Represents the JSON value "id_number"
Identity'verificationReportType'EnumIdNumber :: Identity'verificationReportType'
instance GHC.Classes.Eq StripeAPI.Types.Identity_VerificationReport.Identity'verificationReportType'
instance GHC.Show.Show StripeAPI.Types.Identity_VerificationReport.Identity'verificationReportType'
instance GHC.Classes.Eq StripeAPI.Types.Identity_VerificationReport.Identity'verificationReport
instance GHC.Show.Show StripeAPI.Types.Identity_VerificationReport.Identity'verificationReport
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Identity_VerificationReport.Identity'verificationReport
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Identity_VerificationReport.Identity'verificationReport
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Identity_VerificationReport.Identity'verificationReportType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Identity_VerificationReport.Identity'verificationReportType'
-- | Contains the types generated from the schema
-- CustomerBalanceTransaction
module StripeAPI.Types.CustomerBalanceTransaction
-- | Defines the object schema located at
-- components.schemas.customer_balance_transaction in the
-- specification.
--
-- Each customer has a `balance` value, which denotes a debit or
-- credit that's automatically applied to their next invoice upon
-- finalization. You may modify the value directly by using the update
-- customer API, or by creating a Customer Balance Transaction, which
-- increments or decrements the customer's `balance` by the specified
-- `amount`.
--
-- Related guide: Customer Balance to learn more.
data CustomerBalanceTransaction
CustomerBalanceTransaction :: Int -> Int -> Maybe CustomerBalanceTransactionCreditNote'Variants -> Text -> CustomerBalanceTransactionCustomer'Variants -> Maybe Text -> Int -> Text -> Maybe CustomerBalanceTransactionInvoice'Variants -> Bool -> Maybe Object -> CustomerBalanceTransactionType' -> CustomerBalanceTransaction
-- | amount: The amount of the transaction. A negative value is a credit
-- for the customer's balance, and a positive value is a debit to the
-- customer's `balance`.
[customerBalanceTransactionAmount] :: CustomerBalanceTransaction -> Int
-- | created: Time at which the object was created. Measured in seconds
-- since the Unix epoch.
[customerBalanceTransactionCreated] :: CustomerBalanceTransaction -> Int
-- | credit_note: The ID of the credit note (if any) related to the
-- transaction.
[customerBalanceTransactionCreditNote] :: CustomerBalanceTransaction -> Maybe CustomerBalanceTransactionCreditNote'Variants
-- | currency: Three-letter ISO currency code, in lowercase. Must be
-- a supported currency.
[customerBalanceTransactionCurrency] :: CustomerBalanceTransaction -> Text
-- | customer: The ID of the customer the transaction belongs to.
[customerBalanceTransactionCustomer] :: CustomerBalanceTransaction -> CustomerBalanceTransactionCustomer'Variants
-- | description: An arbitrary string attached to the object. Often useful
-- for displaying to users.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[customerBalanceTransactionDescription] :: CustomerBalanceTransaction -> Maybe Text
-- | ending_balance: The customer's `balance` after the transaction was
-- applied. A negative value decreases the amount due on the customer's
-- next invoice. A positive value increases the amount due on the
-- customer's next invoice.
[customerBalanceTransactionEndingBalance] :: CustomerBalanceTransaction -> Int
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[customerBalanceTransactionId] :: CustomerBalanceTransaction -> Text
-- | invoice: The ID of the invoice (if any) related to the transaction.
[customerBalanceTransactionInvoice] :: CustomerBalanceTransaction -> Maybe CustomerBalanceTransactionInvoice'Variants
-- | livemode: Has the value `true` if the object exists in live mode or
-- the value `false` if the object exists in test mode.
[customerBalanceTransactionLivemode] :: CustomerBalanceTransaction -> Bool
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format.
[customerBalanceTransactionMetadata] :: CustomerBalanceTransaction -> Maybe Object
-- | type: Transaction type: `adjustment`, `applied_to_invoice`,
-- `credit_note`, `initial`, `invoice_too_large`, `invoice_too_small`,
-- `unspent_receiver_credit`, or `unapplied_from_invoice`. See the
-- Customer Balance page to learn more about transaction types.
[customerBalanceTransactionType] :: CustomerBalanceTransaction -> CustomerBalanceTransactionType'
-- | Create a new CustomerBalanceTransaction with all required
-- fields.
mkCustomerBalanceTransaction :: Int -> Int -> Text -> CustomerBalanceTransactionCustomer'Variants -> Int -> Text -> Bool -> CustomerBalanceTransactionType' -> CustomerBalanceTransaction
-- | Defines the oneOf schema located at
-- components.schemas.customer_balance_transaction.properties.credit_note.anyOf
-- in the specification.
--
-- The ID of the credit note (if any) related to the transaction.
data CustomerBalanceTransactionCreditNote'Variants
CustomerBalanceTransactionCreditNote'Text :: Text -> CustomerBalanceTransactionCreditNote'Variants
CustomerBalanceTransactionCreditNote'CreditNote :: CreditNote -> CustomerBalanceTransactionCreditNote'Variants
-- | Defines the oneOf schema located at
-- components.schemas.customer_balance_transaction.properties.customer.anyOf
-- in the specification.
--
-- The ID of the customer the transaction belongs to.
data CustomerBalanceTransactionCustomer'Variants
CustomerBalanceTransactionCustomer'Text :: Text -> CustomerBalanceTransactionCustomer'Variants
CustomerBalanceTransactionCustomer'Customer :: Customer -> CustomerBalanceTransactionCustomer'Variants
-- | Defines the oneOf schema located at
-- components.schemas.customer_balance_transaction.properties.invoice.anyOf
-- in the specification.
--
-- The ID of the invoice (if any) related to the transaction.
data CustomerBalanceTransactionInvoice'Variants
CustomerBalanceTransactionInvoice'Text :: Text -> CustomerBalanceTransactionInvoice'Variants
CustomerBalanceTransactionInvoice'Invoice :: Invoice -> CustomerBalanceTransactionInvoice'Variants
-- | Defines the enum schema located at
-- components.schemas.customer_balance_transaction.properties.type
-- in the specification.
--
-- Transaction type: `adjustment`, `applied_to_invoice`, `credit_note`,
-- `initial`, `invoice_too_large`, `invoice_too_small`,
-- `unspent_receiver_credit`, or `unapplied_from_invoice`. See the
-- Customer Balance page to learn more about transaction types.
data CustomerBalanceTransactionType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
CustomerBalanceTransactionType'Other :: Value -> CustomerBalanceTransactionType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
CustomerBalanceTransactionType'Typed :: Text -> CustomerBalanceTransactionType'
-- | Represents the JSON value "adjustment"
CustomerBalanceTransactionType'EnumAdjustment :: CustomerBalanceTransactionType'
-- | Represents the JSON value "applied_to_invoice"
CustomerBalanceTransactionType'EnumAppliedToInvoice :: CustomerBalanceTransactionType'
-- | Represents the JSON value "credit_note"
CustomerBalanceTransactionType'EnumCreditNote :: CustomerBalanceTransactionType'
-- | Represents the JSON value "initial"
CustomerBalanceTransactionType'EnumInitial :: CustomerBalanceTransactionType'
-- | Represents the JSON value "invoice_too_large"
CustomerBalanceTransactionType'EnumInvoiceTooLarge :: CustomerBalanceTransactionType'
-- | Represents the JSON value "invoice_too_small"
CustomerBalanceTransactionType'EnumInvoiceTooSmall :: CustomerBalanceTransactionType'
-- | Represents the JSON value "migration"
CustomerBalanceTransactionType'EnumMigration :: CustomerBalanceTransactionType'
-- | Represents the JSON value "unapplied_from_invoice"
CustomerBalanceTransactionType'EnumUnappliedFromInvoice :: CustomerBalanceTransactionType'
-- | Represents the JSON value "unspent_receiver_credit"
CustomerBalanceTransactionType'EnumUnspentReceiverCredit :: CustomerBalanceTransactionType'
instance GHC.Classes.Eq StripeAPI.Types.CustomerBalanceTransaction.CustomerBalanceTransactionCreditNote'Variants
instance GHC.Show.Show StripeAPI.Types.CustomerBalanceTransaction.CustomerBalanceTransactionCreditNote'Variants
instance GHC.Classes.Eq StripeAPI.Types.CustomerBalanceTransaction.CustomerBalanceTransactionCustomer'Variants
instance GHC.Show.Show StripeAPI.Types.CustomerBalanceTransaction.CustomerBalanceTransactionCustomer'Variants
instance GHC.Classes.Eq StripeAPI.Types.CustomerBalanceTransaction.CustomerBalanceTransactionInvoice'Variants
instance GHC.Show.Show StripeAPI.Types.CustomerBalanceTransaction.CustomerBalanceTransactionInvoice'Variants
instance GHC.Classes.Eq StripeAPI.Types.CustomerBalanceTransaction.CustomerBalanceTransactionType'
instance GHC.Show.Show StripeAPI.Types.CustomerBalanceTransaction.CustomerBalanceTransactionType'
instance GHC.Classes.Eq StripeAPI.Types.CustomerBalanceTransaction.CustomerBalanceTransaction
instance GHC.Show.Show StripeAPI.Types.CustomerBalanceTransaction.CustomerBalanceTransaction
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.CustomerBalanceTransaction.CustomerBalanceTransaction
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.CustomerBalanceTransaction.CustomerBalanceTransaction
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.CustomerBalanceTransaction.CustomerBalanceTransactionType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.CustomerBalanceTransaction.CustomerBalanceTransactionType'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.CustomerBalanceTransaction.CustomerBalanceTransactionInvoice'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.CustomerBalanceTransaction.CustomerBalanceTransactionInvoice'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.CustomerBalanceTransaction.CustomerBalanceTransactionCustomer'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.CustomerBalanceTransaction.CustomerBalanceTransactionCustomer'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.CustomerBalanceTransaction.CustomerBalanceTransactionCreditNote'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.CustomerBalanceTransaction.CustomerBalanceTransactionCreditNote'Variants
-- | Contains the types generated from the schema
-- InvoiceItemThresholdReason
module StripeAPI.Types.InvoiceItemThresholdReason
-- | Defines the object schema located at
-- components.schemas.invoice_item_threshold_reason in the
-- specification.
data InvoiceItemThresholdReason
InvoiceItemThresholdReason :: [Text] -> Int -> InvoiceItemThresholdReason
-- | line_item_ids: The IDs of the line items that triggered the threshold
-- invoice.
[invoiceItemThresholdReasonLineItemIds] :: InvoiceItemThresholdReason -> [Text]
-- | usage_gte: The quantity threshold boundary that applied to the given
-- line item.
[invoiceItemThresholdReasonUsageGte] :: InvoiceItemThresholdReason -> Int
-- | Create a new InvoiceItemThresholdReason with all required
-- fields.
mkInvoiceItemThresholdReason :: [Text] -> Int -> InvoiceItemThresholdReason
instance GHC.Classes.Eq StripeAPI.Types.InvoiceItemThresholdReason.InvoiceItemThresholdReason
instance GHC.Show.Show StripeAPI.Types.InvoiceItemThresholdReason.InvoiceItemThresholdReason
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.InvoiceItemThresholdReason.InvoiceItemThresholdReason
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.InvoiceItemThresholdReason.InvoiceItemThresholdReason
-- | Contains the types generated from the schema InvoiceLineItemPeriod
module StripeAPI.Types.InvoiceLineItemPeriod
-- | Defines the object schema located at
-- components.schemas.invoice_line_item_period in the
-- specification.
data InvoiceLineItemPeriod
InvoiceLineItemPeriod :: Int -> Int -> InvoiceLineItemPeriod
-- | end: End of the line item's billing period
[invoiceLineItemPeriodEnd] :: InvoiceLineItemPeriod -> Int
-- | start: Start of the line item's billing period
[invoiceLineItemPeriodStart] :: InvoiceLineItemPeriod -> Int
-- | Create a new InvoiceLineItemPeriod with all required fields.
mkInvoiceLineItemPeriod :: Int -> Int -> InvoiceLineItemPeriod
instance GHC.Classes.Eq StripeAPI.Types.InvoiceLineItemPeriod.InvoiceLineItemPeriod
instance GHC.Show.Show StripeAPI.Types.InvoiceLineItemPeriod.InvoiceLineItemPeriod
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.InvoiceLineItemPeriod.InvoiceLineItemPeriod
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.InvoiceLineItemPeriod.InvoiceLineItemPeriod
-- | Contains the types generated from the schema
-- InvoicePaymentMethodOptionsBancontact
module StripeAPI.Types.InvoicePaymentMethodOptionsBancontact
-- | Defines the object schema located at
-- components.schemas.invoice_payment_method_options_bancontact
-- in the specification.
data InvoicePaymentMethodOptionsBancontact
InvoicePaymentMethodOptionsBancontact :: InvoicePaymentMethodOptionsBancontactPreferredLanguage' -> InvoicePaymentMethodOptionsBancontact
-- | preferred_language: Preferred language of the Bancontact authorization
-- page that the customer is redirected to.
[invoicePaymentMethodOptionsBancontactPreferredLanguage] :: InvoicePaymentMethodOptionsBancontact -> InvoicePaymentMethodOptionsBancontactPreferredLanguage'
-- | Create a new InvoicePaymentMethodOptionsBancontact with all
-- required fields.
mkInvoicePaymentMethodOptionsBancontact :: InvoicePaymentMethodOptionsBancontactPreferredLanguage' -> InvoicePaymentMethodOptionsBancontact
-- | Defines the enum schema located at
-- components.schemas.invoice_payment_method_options_bancontact.properties.preferred_language
-- in the specification.
--
-- Preferred language of the Bancontact authorization page that the
-- customer is redirected to.
data InvoicePaymentMethodOptionsBancontactPreferredLanguage'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
InvoicePaymentMethodOptionsBancontactPreferredLanguage'Other :: Value -> InvoicePaymentMethodOptionsBancontactPreferredLanguage'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
InvoicePaymentMethodOptionsBancontactPreferredLanguage'Typed :: Text -> InvoicePaymentMethodOptionsBancontactPreferredLanguage'
-- | Represents the JSON value "de"
InvoicePaymentMethodOptionsBancontactPreferredLanguage'EnumDe :: InvoicePaymentMethodOptionsBancontactPreferredLanguage'
-- | Represents the JSON value "en"
InvoicePaymentMethodOptionsBancontactPreferredLanguage'EnumEn :: InvoicePaymentMethodOptionsBancontactPreferredLanguage'
-- | Represents the JSON value "fr"
InvoicePaymentMethodOptionsBancontactPreferredLanguage'EnumFr :: InvoicePaymentMethodOptionsBancontactPreferredLanguage'
-- | Represents the JSON value "nl"
InvoicePaymentMethodOptionsBancontactPreferredLanguage'EnumNl :: InvoicePaymentMethodOptionsBancontactPreferredLanguage'
instance GHC.Classes.Eq StripeAPI.Types.InvoicePaymentMethodOptionsBancontact.InvoicePaymentMethodOptionsBancontactPreferredLanguage'
instance GHC.Show.Show StripeAPI.Types.InvoicePaymentMethodOptionsBancontact.InvoicePaymentMethodOptionsBancontactPreferredLanguage'
instance GHC.Classes.Eq StripeAPI.Types.InvoicePaymentMethodOptionsBancontact.InvoicePaymentMethodOptionsBancontact
instance GHC.Show.Show StripeAPI.Types.InvoicePaymentMethodOptionsBancontact.InvoicePaymentMethodOptionsBancontact
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.InvoicePaymentMethodOptionsBancontact.InvoicePaymentMethodOptionsBancontact
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.InvoicePaymentMethodOptionsBancontact.InvoicePaymentMethodOptionsBancontact
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.InvoicePaymentMethodOptionsBancontact.InvoicePaymentMethodOptionsBancontactPreferredLanguage'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.InvoicePaymentMethodOptionsBancontact.InvoicePaymentMethodOptionsBancontactPreferredLanguage'
-- | Contains the types generated from the schema
-- InvoicePaymentMethodOptionsCard
module StripeAPI.Types.InvoicePaymentMethodOptionsCard
-- | Defines the object schema located at
-- components.schemas.invoice_payment_method_options_card in the
-- specification.
data InvoicePaymentMethodOptionsCard
InvoicePaymentMethodOptionsCard :: Maybe InvoicePaymentMethodOptionsCardRequestThreeDSecure' -> InvoicePaymentMethodOptionsCard
-- | request_three_d_secure: We strongly recommend that you rely on our SCA
-- Engine to automatically prompt your customers for authentication based
-- on risk level and other requirements. However, if you wish to
-- request 3D Secure based on logic from your own fraud engine, provide
-- this option. Read our guide on manually requesting 3D Secure
-- for more information on how this configuration interacts with Radar
-- and our SCA Engine.
[invoicePaymentMethodOptionsCardRequestThreeDSecure] :: InvoicePaymentMethodOptionsCard -> Maybe InvoicePaymentMethodOptionsCardRequestThreeDSecure'
-- | Create a new InvoicePaymentMethodOptionsCard with all required
-- fields.
mkInvoicePaymentMethodOptionsCard :: InvoicePaymentMethodOptionsCard
-- | Defines the enum schema located at
-- components.schemas.invoice_payment_method_options_card.properties.request_three_d_secure
-- in the specification.
--
-- We strongly recommend that you rely on our SCA Engine to automatically
-- prompt your customers for authentication based on risk level and
-- other requirements. However, if you wish to request 3D Secure
-- based on logic from your own fraud engine, provide this option. Read
-- our guide on manually requesting 3D Secure for more information
-- on how this configuration interacts with Radar and our SCA Engine.
data InvoicePaymentMethodOptionsCardRequestThreeDSecure'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
InvoicePaymentMethodOptionsCardRequestThreeDSecure'Other :: Value -> InvoicePaymentMethodOptionsCardRequestThreeDSecure'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
InvoicePaymentMethodOptionsCardRequestThreeDSecure'Typed :: Text -> InvoicePaymentMethodOptionsCardRequestThreeDSecure'
-- | Represents the JSON value "any"
InvoicePaymentMethodOptionsCardRequestThreeDSecure'EnumAny :: InvoicePaymentMethodOptionsCardRequestThreeDSecure'
-- | Represents the JSON value "automatic"
InvoicePaymentMethodOptionsCardRequestThreeDSecure'EnumAutomatic :: InvoicePaymentMethodOptionsCardRequestThreeDSecure'
instance GHC.Classes.Eq StripeAPI.Types.InvoicePaymentMethodOptionsCard.InvoicePaymentMethodOptionsCardRequestThreeDSecure'
instance GHC.Show.Show StripeAPI.Types.InvoicePaymentMethodOptionsCard.InvoicePaymentMethodOptionsCardRequestThreeDSecure'
instance GHC.Classes.Eq StripeAPI.Types.InvoicePaymentMethodOptionsCard.InvoicePaymentMethodOptionsCard
instance GHC.Show.Show StripeAPI.Types.InvoicePaymentMethodOptionsCard.InvoicePaymentMethodOptionsCard
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.InvoicePaymentMethodOptionsCard.InvoicePaymentMethodOptionsCard
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.InvoicePaymentMethodOptionsCard.InvoicePaymentMethodOptionsCard
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.InvoicePaymentMethodOptionsCard.InvoicePaymentMethodOptionsCardRequestThreeDSecure'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.InvoicePaymentMethodOptionsCard.InvoicePaymentMethodOptionsCardRequestThreeDSecure'
-- | Contains the types generated from the schema InvoiceSettingCustomField
module StripeAPI.Types.InvoiceSettingCustomField
-- | Defines the object schema located at
-- components.schemas.invoice_setting_custom_field in the
-- specification.
data InvoiceSettingCustomField
InvoiceSettingCustomField :: Text -> Text -> InvoiceSettingCustomField
-- | name: The name of the custom field.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[invoiceSettingCustomFieldName] :: InvoiceSettingCustomField -> Text
-- | value: The value of the custom field.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[invoiceSettingCustomFieldValue] :: InvoiceSettingCustomField -> Text
-- | Create a new InvoiceSettingCustomField with all required
-- fields.
mkInvoiceSettingCustomField :: Text -> Text -> InvoiceSettingCustomField
instance GHC.Classes.Eq StripeAPI.Types.InvoiceSettingCustomField.InvoiceSettingCustomField
instance GHC.Show.Show StripeAPI.Types.InvoiceSettingCustomField.InvoiceSettingCustomField
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.InvoiceSettingCustomField.InvoiceSettingCustomField
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.InvoiceSettingCustomField.InvoiceSettingCustomField
-- | Contains the types generated from the schema
-- InvoiceSettingSubscriptionScheduleSetting
module StripeAPI.Types.InvoiceSettingSubscriptionScheduleSetting
-- | Defines the object schema located at
-- components.schemas.invoice_setting_subscription_schedule_setting
-- in the specification.
data InvoiceSettingSubscriptionScheduleSetting
InvoiceSettingSubscriptionScheduleSetting :: Maybe Int -> InvoiceSettingSubscriptionScheduleSetting
-- | days_until_due: Number of days within which a customer must pay
-- invoices generated by this subscription schedule. This value will be
-- `null` for subscription schedules where
-- `billing=charge_automatically`.
[invoiceSettingSubscriptionScheduleSettingDaysUntilDue] :: InvoiceSettingSubscriptionScheduleSetting -> Maybe Int
-- | Create a new InvoiceSettingSubscriptionScheduleSetting with all
-- required fields.
mkInvoiceSettingSubscriptionScheduleSetting :: InvoiceSettingSubscriptionScheduleSetting
instance GHC.Classes.Eq StripeAPI.Types.InvoiceSettingSubscriptionScheduleSetting.InvoiceSettingSubscriptionScheduleSetting
instance GHC.Show.Show StripeAPI.Types.InvoiceSettingSubscriptionScheduleSetting.InvoiceSettingSubscriptionScheduleSetting
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.InvoiceSettingSubscriptionScheduleSetting.InvoiceSettingSubscriptionScheduleSetting
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.InvoiceSettingSubscriptionScheduleSetting.InvoiceSettingSubscriptionScheduleSetting
-- | Contains the types generated from the schema InvoiceThresholdReason
module StripeAPI.Types.InvoiceThresholdReason
-- | Defines the object schema located at
-- components.schemas.invoice_threshold_reason in the
-- specification.
data InvoiceThresholdReason
InvoiceThresholdReason :: Maybe Int -> [InvoiceItemThresholdReason] -> InvoiceThresholdReason
-- | amount_gte: The total invoice amount threshold boundary if it
-- triggered the threshold invoice.
[invoiceThresholdReasonAmountGte] :: InvoiceThresholdReason -> Maybe Int
-- | item_reasons: Indicates which line items triggered a threshold
-- invoice.
[invoiceThresholdReasonItemReasons] :: InvoiceThresholdReason -> [InvoiceItemThresholdReason]
-- | Create a new InvoiceThresholdReason with all required fields.
mkInvoiceThresholdReason :: [InvoiceItemThresholdReason] -> InvoiceThresholdReason
instance GHC.Classes.Eq StripeAPI.Types.InvoiceThresholdReason.InvoiceThresholdReason
instance GHC.Show.Show StripeAPI.Types.InvoiceThresholdReason.InvoiceThresholdReason
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.InvoiceThresholdReason.InvoiceThresholdReason
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.InvoiceThresholdReason.InvoiceThresholdReason
-- | Contains the types generated from the schema InvoiceTransferData
module StripeAPI.Types.InvoiceTransferData
-- | Defines the object schema located at
-- components.schemas.invoice_transfer_data in the
-- specification.
data InvoiceTransferData
InvoiceTransferData :: Maybe Int -> InvoiceTransferDataDestination'Variants -> InvoiceTransferData
-- | amount: The amount in %s that will be transferred to the destination
-- account when the invoice is paid. By default, the entire amount is
-- transferred to the destination.
[invoiceTransferDataAmount] :: InvoiceTransferData -> Maybe Int
-- | destination: The account where funds from the payment will be
-- transferred to upon payment success.
[invoiceTransferDataDestination] :: InvoiceTransferData -> InvoiceTransferDataDestination'Variants
-- | Create a new InvoiceTransferData with all required fields.
mkInvoiceTransferData :: InvoiceTransferDataDestination'Variants -> InvoiceTransferData
-- | Defines the oneOf schema located at
-- components.schemas.invoice_transfer_data.properties.destination.anyOf
-- in the specification.
--
-- The account where funds from the payment will be transferred to upon
-- payment success.
data InvoiceTransferDataDestination'Variants
InvoiceTransferDataDestination'Text :: Text -> InvoiceTransferDataDestination'Variants
InvoiceTransferDataDestination'Account :: Account -> InvoiceTransferDataDestination'Variants
instance GHC.Classes.Eq StripeAPI.Types.InvoiceTransferData.InvoiceTransferDataDestination'Variants
instance GHC.Show.Show StripeAPI.Types.InvoiceTransferData.InvoiceTransferDataDestination'Variants
instance GHC.Classes.Eq StripeAPI.Types.InvoiceTransferData.InvoiceTransferData
instance GHC.Show.Show StripeAPI.Types.InvoiceTransferData.InvoiceTransferData
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.InvoiceTransferData.InvoiceTransferData
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.InvoiceTransferData.InvoiceTransferData
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.InvoiceTransferData.InvoiceTransferDataDestination'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.InvoiceTransferData.InvoiceTransferDataDestination'Variants
-- | Contains the types generated from the schema
-- InvoicesPaymentMethodOptions
module StripeAPI.Types.InvoicesPaymentMethodOptions
-- | Defines the object schema located at
-- components.schemas.invoices_payment_method_options in the
-- specification.
data InvoicesPaymentMethodOptions
InvoicesPaymentMethodOptions :: Maybe InvoicesPaymentMethodOptionsBancontact' -> Maybe InvoicesPaymentMethodOptionsCard' -> InvoicesPaymentMethodOptions
-- | bancontact: If paying by `bancontact`, this sub-hash contains details
-- about the Bancontact payment method options to pass to the invoice’s
-- PaymentIntent.
[invoicesPaymentMethodOptionsBancontact] :: InvoicesPaymentMethodOptions -> Maybe InvoicesPaymentMethodOptionsBancontact'
-- | card: If paying by `card`, this sub-hash contains details about the
-- Card payment method options to pass to the invoice’s PaymentIntent.
[invoicesPaymentMethodOptionsCard] :: InvoicesPaymentMethodOptions -> Maybe InvoicesPaymentMethodOptionsCard'
-- | Create a new InvoicesPaymentMethodOptions with all required
-- fields.
mkInvoicesPaymentMethodOptions :: InvoicesPaymentMethodOptions
-- | Defines the object schema located at
-- components.schemas.invoices_payment_method_options.properties.bancontact.anyOf
-- in the specification.
--
-- If paying by \`bancontact\`, this sub-hash contains details about the
-- Bancontact payment method options to pass to the invoice’s
-- PaymentIntent.
data InvoicesPaymentMethodOptionsBancontact'
InvoicesPaymentMethodOptionsBancontact' :: Maybe InvoicesPaymentMethodOptionsBancontact'PreferredLanguage' -> InvoicesPaymentMethodOptionsBancontact'
-- | preferred_language: Preferred language of the Bancontact authorization
-- page that the customer is redirected to.
[invoicesPaymentMethodOptionsBancontact'PreferredLanguage] :: InvoicesPaymentMethodOptionsBancontact' -> Maybe InvoicesPaymentMethodOptionsBancontact'PreferredLanguage'
-- | Create a new InvoicesPaymentMethodOptionsBancontact' with all
-- required fields.
mkInvoicesPaymentMethodOptionsBancontact' :: InvoicesPaymentMethodOptionsBancontact'
-- | Defines the enum schema located at
-- components.schemas.invoices_payment_method_options.properties.bancontact.anyOf.properties.preferred_language
-- in the specification.
--
-- Preferred language of the Bancontact authorization page that the
-- customer is redirected to.
data InvoicesPaymentMethodOptionsBancontact'PreferredLanguage'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
InvoicesPaymentMethodOptionsBancontact'PreferredLanguage'Other :: Value -> InvoicesPaymentMethodOptionsBancontact'PreferredLanguage'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
InvoicesPaymentMethodOptionsBancontact'PreferredLanguage'Typed :: Text -> InvoicesPaymentMethodOptionsBancontact'PreferredLanguage'
-- | Represents the JSON value "de"
InvoicesPaymentMethodOptionsBancontact'PreferredLanguage'EnumDe :: InvoicesPaymentMethodOptionsBancontact'PreferredLanguage'
-- | Represents the JSON value "en"
InvoicesPaymentMethodOptionsBancontact'PreferredLanguage'EnumEn :: InvoicesPaymentMethodOptionsBancontact'PreferredLanguage'
-- | Represents the JSON value "fr"
InvoicesPaymentMethodOptionsBancontact'PreferredLanguage'EnumFr :: InvoicesPaymentMethodOptionsBancontact'PreferredLanguage'
-- | Represents the JSON value "nl"
InvoicesPaymentMethodOptionsBancontact'PreferredLanguage'EnumNl :: InvoicesPaymentMethodOptionsBancontact'PreferredLanguage'
-- | Defines the object schema located at
-- components.schemas.invoices_payment_method_options.properties.card.anyOf
-- in the specification.
--
-- If paying by \`card\`, this sub-hash contains details about the Card
-- payment method options to pass to the invoice’s PaymentIntent.
data InvoicesPaymentMethodOptionsCard'
InvoicesPaymentMethodOptionsCard' :: Maybe InvoicesPaymentMethodOptionsCard'RequestThreeDSecure' -> InvoicesPaymentMethodOptionsCard'
-- | request_three_d_secure: We strongly recommend that you rely on our SCA
-- Engine to automatically prompt your customers for authentication based
-- on risk level and other requirements. However, if you wish to
-- request 3D Secure based on logic from your own fraud engine, provide
-- this option. Read our guide on manually requesting 3D Secure
-- for more information on how this configuration interacts with Radar
-- and our SCA Engine.
[invoicesPaymentMethodOptionsCard'RequestThreeDSecure] :: InvoicesPaymentMethodOptionsCard' -> Maybe InvoicesPaymentMethodOptionsCard'RequestThreeDSecure'
-- | Create a new InvoicesPaymentMethodOptionsCard' with all
-- required fields.
mkInvoicesPaymentMethodOptionsCard' :: InvoicesPaymentMethodOptionsCard'
-- | Defines the enum schema located at
-- components.schemas.invoices_payment_method_options.properties.card.anyOf.properties.request_three_d_secure
-- in the specification.
--
-- We strongly recommend that you rely on our SCA Engine to automatically
-- prompt your customers for authentication based on risk level and
-- other requirements. However, if you wish to request 3D Secure
-- based on logic from your own fraud engine, provide this option. Read
-- our guide on manually requesting 3D Secure for more information
-- on how this configuration interacts with Radar and our SCA Engine.
data InvoicesPaymentMethodOptionsCard'RequestThreeDSecure'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
InvoicesPaymentMethodOptionsCard'RequestThreeDSecure'Other :: Value -> InvoicesPaymentMethodOptionsCard'RequestThreeDSecure'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
InvoicesPaymentMethodOptionsCard'RequestThreeDSecure'Typed :: Text -> InvoicesPaymentMethodOptionsCard'RequestThreeDSecure'
-- | Represents the JSON value "any"
InvoicesPaymentMethodOptionsCard'RequestThreeDSecure'EnumAny :: InvoicesPaymentMethodOptionsCard'RequestThreeDSecure'
-- | Represents the JSON value "automatic"
InvoicesPaymentMethodOptionsCard'RequestThreeDSecure'EnumAutomatic :: InvoicesPaymentMethodOptionsCard'RequestThreeDSecure'
instance GHC.Classes.Eq StripeAPI.Types.InvoicesPaymentMethodOptions.InvoicesPaymentMethodOptionsBancontact'PreferredLanguage'
instance GHC.Show.Show StripeAPI.Types.InvoicesPaymentMethodOptions.InvoicesPaymentMethodOptionsBancontact'PreferredLanguage'
instance GHC.Classes.Eq StripeAPI.Types.InvoicesPaymentMethodOptions.InvoicesPaymentMethodOptionsBancontact'
instance GHC.Show.Show StripeAPI.Types.InvoicesPaymentMethodOptions.InvoicesPaymentMethodOptionsBancontact'
instance GHC.Classes.Eq StripeAPI.Types.InvoicesPaymentMethodOptions.InvoicesPaymentMethodOptionsCard'RequestThreeDSecure'
instance GHC.Show.Show StripeAPI.Types.InvoicesPaymentMethodOptions.InvoicesPaymentMethodOptionsCard'RequestThreeDSecure'
instance GHC.Classes.Eq StripeAPI.Types.InvoicesPaymentMethodOptions.InvoicesPaymentMethodOptionsCard'
instance GHC.Show.Show StripeAPI.Types.InvoicesPaymentMethodOptions.InvoicesPaymentMethodOptionsCard'
instance GHC.Classes.Eq StripeAPI.Types.InvoicesPaymentMethodOptions.InvoicesPaymentMethodOptions
instance GHC.Show.Show StripeAPI.Types.InvoicesPaymentMethodOptions.InvoicesPaymentMethodOptions
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.InvoicesPaymentMethodOptions.InvoicesPaymentMethodOptions
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.InvoicesPaymentMethodOptions.InvoicesPaymentMethodOptions
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.InvoicesPaymentMethodOptions.InvoicesPaymentMethodOptionsCard'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.InvoicesPaymentMethodOptions.InvoicesPaymentMethodOptionsCard'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.InvoicesPaymentMethodOptions.InvoicesPaymentMethodOptionsCard'RequestThreeDSecure'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.InvoicesPaymentMethodOptions.InvoicesPaymentMethodOptionsCard'RequestThreeDSecure'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.InvoicesPaymentMethodOptions.InvoicesPaymentMethodOptionsBancontact'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.InvoicesPaymentMethodOptions.InvoicesPaymentMethodOptionsBancontact'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.InvoicesPaymentMethodOptions.InvoicesPaymentMethodOptionsBancontact'PreferredLanguage'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.InvoicesPaymentMethodOptions.InvoicesPaymentMethodOptionsBancontact'PreferredLanguage'
-- | Contains the types generated from the schema InvoicesPaymentSettings
module StripeAPI.Types.InvoicesPaymentSettings
-- | Defines the object schema located at
-- components.schemas.invoices_payment_settings in the
-- specification.
data InvoicesPaymentSettings
InvoicesPaymentSettings :: Maybe InvoicesPaymentSettingsPaymentMethodOptions' -> Maybe [InvoicesPaymentSettingsPaymentMethodTypes'] -> InvoicesPaymentSettings
-- | payment_method_options: Payment-method-specific configuration to
-- provide to the invoice’s PaymentIntent.
[invoicesPaymentSettingsPaymentMethodOptions] :: InvoicesPaymentSettings -> Maybe InvoicesPaymentSettingsPaymentMethodOptions'
-- | payment_method_types: The list of payment method types (e.g. card) to
-- provide to the invoice’s PaymentIntent. If not set, Stripe attempts to
-- automatically determine the types to use by looking at the invoice’s
-- default payment method, the subscription’s default payment method, the
-- customer’s default payment method, and your invoice template
-- settings.
[invoicesPaymentSettingsPaymentMethodTypes] :: InvoicesPaymentSettings -> Maybe [InvoicesPaymentSettingsPaymentMethodTypes']
-- | Create a new InvoicesPaymentSettings with all required fields.
mkInvoicesPaymentSettings :: InvoicesPaymentSettings
-- | Defines the object schema located at
-- components.schemas.invoices_payment_settings.properties.payment_method_options.anyOf
-- in the specification.
--
-- Payment-method-specific configuration to provide to the invoice’s
-- PaymentIntent.
data InvoicesPaymentSettingsPaymentMethodOptions'
InvoicesPaymentSettingsPaymentMethodOptions' :: Maybe InvoicesPaymentSettingsPaymentMethodOptions'Bancontact' -> Maybe InvoicesPaymentSettingsPaymentMethodOptions'Card' -> InvoicesPaymentSettingsPaymentMethodOptions'
-- | bancontact: If paying by `bancontact`, this sub-hash contains details
-- about the Bancontact payment method options to pass to the invoice’s
-- PaymentIntent.
[invoicesPaymentSettingsPaymentMethodOptions'Bancontact] :: InvoicesPaymentSettingsPaymentMethodOptions' -> Maybe InvoicesPaymentSettingsPaymentMethodOptions'Bancontact'
-- | card: If paying by `card`, this sub-hash contains details about the
-- Card payment method options to pass to the invoice’s PaymentIntent.
[invoicesPaymentSettingsPaymentMethodOptions'Card] :: InvoicesPaymentSettingsPaymentMethodOptions' -> Maybe InvoicesPaymentSettingsPaymentMethodOptions'Card'
-- | Create a new InvoicesPaymentSettingsPaymentMethodOptions' with
-- all required fields.
mkInvoicesPaymentSettingsPaymentMethodOptions' :: InvoicesPaymentSettingsPaymentMethodOptions'
-- | Defines the object schema located at
-- components.schemas.invoices_payment_settings.properties.payment_method_options.anyOf.properties.bancontact.anyOf
-- in the specification.
--
-- If paying by \`bancontact\`, this sub-hash contains details about the
-- Bancontact payment method options to pass to the invoice’s
-- PaymentIntent.
data InvoicesPaymentSettingsPaymentMethodOptions'Bancontact'
InvoicesPaymentSettingsPaymentMethodOptions'Bancontact' :: Maybe InvoicesPaymentSettingsPaymentMethodOptions'Bancontact'PreferredLanguage' -> InvoicesPaymentSettingsPaymentMethodOptions'Bancontact'
-- | preferred_language: Preferred language of the Bancontact authorization
-- page that the customer is redirected to.
[invoicesPaymentSettingsPaymentMethodOptions'Bancontact'PreferredLanguage] :: InvoicesPaymentSettingsPaymentMethodOptions'Bancontact' -> Maybe InvoicesPaymentSettingsPaymentMethodOptions'Bancontact'PreferredLanguage'
-- | Create a new
-- InvoicesPaymentSettingsPaymentMethodOptions'Bancontact' with
-- all required fields.
mkInvoicesPaymentSettingsPaymentMethodOptions'Bancontact' :: InvoicesPaymentSettingsPaymentMethodOptions'Bancontact'
-- | Defines the enum schema located at
-- components.schemas.invoices_payment_settings.properties.payment_method_options.anyOf.properties.bancontact.anyOf.properties.preferred_language
-- in the specification.
--
-- Preferred language of the Bancontact authorization page that the
-- customer is redirected to.
data InvoicesPaymentSettingsPaymentMethodOptions'Bancontact'PreferredLanguage'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
InvoicesPaymentSettingsPaymentMethodOptions'Bancontact'PreferredLanguage'Other :: Value -> InvoicesPaymentSettingsPaymentMethodOptions'Bancontact'PreferredLanguage'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
InvoicesPaymentSettingsPaymentMethodOptions'Bancontact'PreferredLanguage'Typed :: Text -> InvoicesPaymentSettingsPaymentMethodOptions'Bancontact'PreferredLanguage'
-- | Represents the JSON value "de"
InvoicesPaymentSettingsPaymentMethodOptions'Bancontact'PreferredLanguage'EnumDe :: InvoicesPaymentSettingsPaymentMethodOptions'Bancontact'PreferredLanguage'
-- | Represents the JSON value "en"
InvoicesPaymentSettingsPaymentMethodOptions'Bancontact'PreferredLanguage'EnumEn :: InvoicesPaymentSettingsPaymentMethodOptions'Bancontact'PreferredLanguage'
-- | Represents the JSON value "fr"
InvoicesPaymentSettingsPaymentMethodOptions'Bancontact'PreferredLanguage'EnumFr :: InvoicesPaymentSettingsPaymentMethodOptions'Bancontact'PreferredLanguage'
-- | Represents the JSON value "nl"
InvoicesPaymentSettingsPaymentMethodOptions'Bancontact'PreferredLanguage'EnumNl :: InvoicesPaymentSettingsPaymentMethodOptions'Bancontact'PreferredLanguage'
-- | Defines the object schema located at
-- components.schemas.invoices_payment_settings.properties.payment_method_options.anyOf.properties.card.anyOf
-- in the specification.
--
-- If paying by \`card\`, this sub-hash contains details about the Card
-- payment method options to pass to the invoice’s PaymentIntent.
data InvoicesPaymentSettingsPaymentMethodOptions'Card'
InvoicesPaymentSettingsPaymentMethodOptions'Card' :: Maybe InvoicesPaymentSettingsPaymentMethodOptions'Card'RequestThreeDSecure' -> InvoicesPaymentSettingsPaymentMethodOptions'Card'
-- | request_three_d_secure: We strongly recommend that you rely on our SCA
-- Engine to automatically prompt your customers for authentication based
-- on risk level and other requirements. However, if you wish to
-- request 3D Secure based on logic from your own fraud engine, provide
-- this option. Read our guide on manually requesting 3D Secure
-- for more information on how this configuration interacts with Radar
-- and our SCA Engine.
[invoicesPaymentSettingsPaymentMethodOptions'Card'RequestThreeDSecure] :: InvoicesPaymentSettingsPaymentMethodOptions'Card' -> Maybe InvoicesPaymentSettingsPaymentMethodOptions'Card'RequestThreeDSecure'
-- | Create a new InvoicesPaymentSettingsPaymentMethodOptions'Card'
-- with all required fields.
mkInvoicesPaymentSettingsPaymentMethodOptions'Card' :: InvoicesPaymentSettingsPaymentMethodOptions'Card'
-- | Defines the enum schema located at
-- components.schemas.invoices_payment_settings.properties.payment_method_options.anyOf.properties.card.anyOf.properties.request_three_d_secure
-- in the specification.
--
-- We strongly recommend that you rely on our SCA Engine to automatically
-- prompt your customers for authentication based on risk level and
-- other requirements. However, if you wish to request 3D Secure
-- based on logic from your own fraud engine, provide this option. Read
-- our guide on manually requesting 3D Secure for more information
-- on how this configuration interacts with Radar and our SCA Engine.
data InvoicesPaymentSettingsPaymentMethodOptions'Card'RequestThreeDSecure'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
InvoicesPaymentSettingsPaymentMethodOptions'Card'RequestThreeDSecure'Other :: Value -> InvoicesPaymentSettingsPaymentMethodOptions'Card'RequestThreeDSecure'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
InvoicesPaymentSettingsPaymentMethodOptions'Card'RequestThreeDSecure'Typed :: Text -> InvoicesPaymentSettingsPaymentMethodOptions'Card'RequestThreeDSecure'
-- | Represents the JSON value "any"
InvoicesPaymentSettingsPaymentMethodOptions'Card'RequestThreeDSecure'EnumAny :: InvoicesPaymentSettingsPaymentMethodOptions'Card'RequestThreeDSecure'
-- | Represents the JSON value "automatic"
InvoicesPaymentSettingsPaymentMethodOptions'Card'RequestThreeDSecure'EnumAutomatic :: InvoicesPaymentSettingsPaymentMethodOptions'Card'RequestThreeDSecure'
-- | Defines the enum schema located at
-- components.schemas.invoices_payment_settings.properties.payment_method_types.items
-- in the specification.
data InvoicesPaymentSettingsPaymentMethodTypes'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
InvoicesPaymentSettingsPaymentMethodTypes'Other :: Value -> InvoicesPaymentSettingsPaymentMethodTypes'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
InvoicesPaymentSettingsPaymentMethodTypes'Typed :: Text -> InvoicesPaymentSettingsPaymentMethodTypes'
-- | Represents the JSON value "ach_credit_transfer"
InvoicesPaymentSettingsPaymentMethodTypes'EnumAchCreditTransfer :: InvoicesPaymentSettingsPaymentMethodTypes'
-- | Represents the JSON value "ach_debit"
InvoicesPaymentSettingsPaymentMethodTypes'EnumAchDebit :: InvoicesPaymentSettingsPaymentMethodTypes'
-- | Represents the JSON value "au_becs_debit"
InvoicesPaymentSettingsPaymentMethodTypes'EnumAuBecsDebit :: InvoicesPaymentSettingsPaymentMethodTypes'
-- | Represents the JSON value "bacs_debit"
InvoicesPaymentSettingsPaymentMethodTypes'EnumBacsDebit :: InvoicesPaymentSettingsPaymentMethodTypes'
-- | Represents the JSON value "bancontact"
InvoicesPaymentSettingsPaymentMethodTypes'EnumBancontact :: InvoicesPaymentSettingsPaymentMethodTypes'
-- | Represents the JSON value "card"
InvoicesPaymentSettingsPaymentMethodTypes'EnumCard :: InvoicesPaymentSettingsPaymentMethodTypes'
-- | Represents the JSON value "fpx"
InvoicesPaymentSettingsPaymentMethodTypes'EnumFpx :: InvoicesPaymentSettingsPaymentMethodTypes'
-- | Represents the JSON value "giropay"
InvoicesPaymentSettingsPaymentMethodTypes'EnumGiropay :: InvoicesPaymentSettingsPaymentMethodTypes'
-- | Represents the JSON value "ideal"
InvoicesPaymentSettingsPaymentMethodTypes'EnumIdeal :: InvoicesPaymentSettingsPaymentMethodTypes'
-- | Represents the JSON value "sepa_debit"
InvoicesPaymentSettingsPaymentMethodTypes'EnumSepaDebit :: InvoicesPaymentSettingsPaymentMethodTypes'
-- | Represents the JSON value "sofort"
InvoicesPaymentSettingsPaymentMethodTypes'EnumSofort :: InvoicesPaymentSettingsPaymentMethodTypes'
instance GHC.Classes.Eq StripeAPI.Types.InvoicesPaymentSettings.InvoicesPaymentSettingsPaymentMethodOptions'Bancontact'PreferredLanguage'
instance GHC.Show.Show StripeAPI.Types.InvoicesPaymentSettings.InvoicesPaymentSettingsPaymentMethodOptions'Bancontact'PreferredLanguage'
instance GHC.Classes.Eq StripeAPI.Types.InvoicesPaymentSettings.InvoicesPaymentSettingsPaymentMethodOptions'Bancontact'
instance GHC.Show.Show StripeAPI.Types.InvoicesPaymentSettings.InvoicesPaymentSettingsPaymentMethodOptions'Bancontact'
instance GHC.Classes.Eq StripeAPI.Types.InvoicesPaymentSettings.InvoicesPaymentSettingsPaymentMethodOptions'Card'RequestThreeDSecure'
instance GHC.Show.Show StripeAPI.Types.InvoicesPaymentSettings.InvoicesPaymentSettingsPaymentMethodOptions'Card'RequestThreeDSecure'
instance GHC.Classes.Eq StripeAPI.Types.InvoicesPaymentSettings.InvoicesPaymentSettingsPaymentMethodOptions'Card'
instance GHC.Show.Show StripeAPI.Types.InvoicesPaymentSettings.InvoicesPaymentSettingsPaymentMethodOptions'Card'
instance GHC.Classes.Eq StripeAPI.Types.InvoicesPaymentSettings.InvoicesPaymentSettingsPaymentMethodOptions'
instance GHC.Show.Show StripeAPI.Types.InvoicesPaymentSettings.InvoicesPaymentSettingsPaymentMethodOptions'
instance GHC.Classes.Eq StripeAPI.Types.InvoicesPaymentSettings.InvoicesPaymentSettingsPaymentMethodTypes'
instance GHC.Show.Show StripeAPI.Types.InvoicesPaymentSettings.InvoicesPaymentSettingsPaymentMethodTypes'
instance GHC.Classes.Eq StripeAPI.Types.InvoicesPaymentSettings.InvoicesPaymentSettings
instance GHC.Show.Show StripeAPI.Types.InvoicesPaymentSettings.InvoicesPaymentSettings
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.InvoicesPaymentSettings.InvoicesPaymentSettings
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.InvoicesPaymentSettings.InvoicesPaymentSettings
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.InvoicesPaymentSettings.InvoicesPaymentSettingsPaymentMethodTypes'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.InvoicesPaymentSettings.InvoicesPaymentSettingsPaymentMethodTypes'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.InvoicesPaymentSettings.InvoicesPaymentSettingsPaymentMethodOptions'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.InvoicesPaymentSettings.InvoicesPaymentSettingsPaymentMethodOptions'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.InvoicesPaymentSettings.InvoicesPaymentSettingsPaymentMethodOptions'Card'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.InvoicesPaymentSettings.InvoicesPaymentSettingsPaymentMethodOptions'Card'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.InvoicesPaymentSettings.InvoicesPaymentSettingsPaymentMethodOptions'Card'RequestThreeDSecure'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.InvoicesPaymentSettings.InvoicesPaymentSettingsPaymentMethodOptions'Card'RequestThreeDSecure'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.InvoicesPaymentSettings.InvoicesPaymentSettingsPaymentMethodOptions'Bancontact'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.InvoicesPaymentSettings.InvoicesPaymentSettingsPaymentMethodOptions'Bancontact'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.InvoicesPaymentSettings.InvoicesPaymentSettingsPaymentMethodOptions'Bancontact'PreferredLanguage'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.InvoicesPaymentSettings.InvoicesPaymentSettingsPaymentMethodOptions'Bancontact'PreferredLanguage'
-- | Contains the types generated from the schema
-- InvoicesResourceInvoiceTaxId
module StripeAPI.Types.InvoicesResourceInvoiceTaxId
-- | Defines the object schema located at
-- components.schemas.invoices_resource_invoice_tax_id in the
-- specification.
data InvoicesResourceInvoiceTaxId
InvoicesResourceInvoiceTaxId :: InvoicesResourceInvoiceTaxIdType' -> Maybe Text -> InvoicesResourceInvoiceTaxId
-- | type: The type of the tax ID, one of `eu_vat`, `br_cnpj`, `br_cpf`,
-- `gb_vat`, `nz_gst`, `au_abn`, `in_gst`, `no_vat`, `za_vat`, `ch_vat`,
-- `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`,
-- `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `li_uid`, `my_itn`, `us_ein`,
-- `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`,
-- `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`,
-- `id_npwp`, `my_frp`, `il_vat`, or `unknown`
[invoicesResourceInvoiceTaxIdType] :: InvoicesResourceInvoiceTaxId -> InvoicesResourceInvoiceTaxIdType'
-- | value: The value of the tax ID.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[invoicesResourceInvoiceTaxIdValue] :: InvoicesResourceInvoiceTaxId -> Maybe Text
-- | Create a new InvoicesResourceInvoiceTaxId with all required
-- fields.
mkInvoicesResourceInvoiceTaxId :: InvoicesResourceInvoiceTaxIdType' -> InvoicesResourceInvoiceTaxId
-- | Defines the enum schema located at
-- components.schemas.invoices_resource_invoice_tax_id.properties.type
-- in the specification.
--
-- The type of the tax ID, one of `eu_vat`, `br_cnpj`, `br_cpf`,
-- `gb_vat`, `nz_gst`, `au_abn`, `in_gst`, `no_vat`, `za_vat`, `ch_vat`,
-- `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`,
-- `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `li_uid`, `my_itn`, `us_ein`,
-- `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`,
-- `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`,
-- `id_npwp`, `my_frp`, `il_vat`, or `unknown`
data InvoicesResourceInvoiceTaxIdType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
InvoicesResourceInvoiceTaxIdType'Other :: Value -> InvoicesResourceInvoiceTaxIdType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
InvoicesResourceInvoiceTaxIdType'Typed :: Text -> InvoicesResourceInvoiceTaxIdType'
-- | Represents the JSON value "ae_trn"
InvoicesResourceInvoiceTaxIdType'EnumAeTrn :: InvoicesResourceInvoiceTaxIdType'
-- | Represents the JSON value "au_abn"
InvoicesResourceInvoiceTaxIdType'EnumAuAbn :: InvoicesResourceInvoiceTaxIdType'
-- | Represents the JSON value "br_cnpj"
InvoicesResourceInvoiceTaxIdType'EnumBrCnpj :: InvoicesResourceInvoiceTaxIdType'
-- | Represents the JSON value "br_cpf"
InvoicesResourceInvoiceTaxIdType'EnumBrCpf :: InvoicesResourceInvoiceTaxIdType'
-- | Represents the JSON value "ca_bn"
InvoicesResourceInvoiceTaxIdType'EnumCaBn :: InvoicesResourceInvoiceTaxIdType'
-- | Represents the JSON value "ca_gst_hst"
InvoicesResourceInvoiceTaxIdType'EnumCaGstHst :: InvoicesResourceInvoiceTaxIdType'
-- | Represents the JSON value "ca_pst_bc"
InvoicesResourceInvoiceTaxIdType'EnumCaPstBc :: InvoicesResourceInvoiceTaxIdType'
-- | Represents the JSON value "ca_pst_mb"
InvoicesResourceInvoiceTaxIdType'EnumCaPstMb :: InvoicesResourceInvoiceTaxIdType'
-- | Represents the JSON value "ca_pst_sk"
InvoicesResourceInvoiceTaxIdType'EnumCaPstSk :: InvoicesResourceInvoiceTaxIdType'
-- | Represents the JSON value "ca_qst"
InvoicesResourceInvoiceTaxIdType'EnumCaQst :: InvoicesResourceInvoiceTaxIdType'
-- | Represents the JSON value "ch_vat"
InvoicesResourceInvoiceTaxIdType'EnumChVat :: InvoicesResourceInvoiceTaxIdType'
-- | Represents the JSON value "cl_tin"
InvoicesResourceInvoiceTaxIdType'EnumClTin :: InvoicesResourceInvoiceTaxIdType'
-- | Represents the JSON value "es_cif"
InvoicesResourceInvoiceTaxIdType'EnumEsCif :: InvoicesResourceInvoiceTaxIdType'
-- | Represents the JSON value "eu_vat"
InvoicesResourceInvoiceTaxIdType'EnumEuVat :: InvoicesResourceInvoiceTaxIdType'
-- | Represents the JSON value "gb_vat"
InvoicesResourceInvoiceTaxIdType'EnumGbVat :: InvoicesResourceInvoiceTaxIdType'
-- | Represents the JSON value "hk_br"
InvoicesResourceInvoiceTaxIdType'EnumHkBr :: InvoicesResourceInvoiceTaxIdType'
-- | Represents the JSON value "id_npwp"
InvoicesResourceInvoiceTaxIdType'EnumIdNpwp :: InvoicesResourceInvoiceTaxIdType'
-- | Represents the JSON value "il_vat"
InvoicesResourceInvoiceTaxIdType'EnumIlVat :: InvoicesResourceInvoiceTaxIdType'
-- | Represents the JSON value "in_gst"
InvoicesResourceInvoiceTaxIdType'EnumInGst :: InvoicesResourceInvoiceTaxIdType'
-- | Represents the JSON value "jp_cn"
InvoicesResourceInvoiceTaxIdType'EnumJpCn :: InvoicesResourceInvoiceTaxIdType'
-- | Represents the JSON value "jp_rn"
InvoicesResourceInvoiceTaxIdType'EnumJpRn :: InvoicesResourceInvoiceTaxIdType'
-- | Represents the JSON value "kr_brn"
InvoicesResourceInvoiceTaxIdType'EnumKrBrn :: InvoicesResourceInvoiceTaxIdType'
-- | Represents the JSON value "li_uid"
InvoicesResourceInvoiceTaxIdType'EnumLiUid :: InvoicesResourceInvoiceTaxIdType'
-- | Represents the JSON value "mx_rfc"
InvoicesResourceInvoiceTaxIdType'EnumMxRfc :: InvoicesResourceInvoiceTaxIdType'
-- | Represents the JSON value "my_frp"
InvoicesResourceInvoiceTaxIdType'EnumMyFrp :: InvoicesResourceInvoiceTaxIdType'
-- | Represents the JSON value "my_itn"
InvoicesResourceInvoiceTaxIdType'EnumMyItn :: InvoicesResourceInvoiceTaxIdType'
-- | Represents the JSON value "my_sst"
InvoicesResourceInvoiceTaxIdType'EnumMySst :: InvoicesResourceInvoiceTaxIdType'
-- | Represents the JSON value "no_vat"
InvoicesResourceInvoiceTaxIdType'EnumNoVat :: InvoicesResourceInvoiceTaxIdType'
-- | Represents the JSON value "nz_gst"
InvoicesResourceInvoiceTaxIdType'EnumNzGst :: InvoicesResourceInvoiceTaxIdType'
-- | Represents the JSON value "ru_inn"
InvoicesResourceInvoiceTaxIdType'EnumRuInn :: InvoicesResourceInvoiceTaxIdType'
-- | Represents the JSON value "ru_kpp"
InvoicesResourceInvoiceTaxIdType'EnumRuKpp :: InvoicesResourceInvoiceTaxIdType'
-- | Represents the JSON value "sa_vat"
InvoicesResourceInvoiceTaxIdType'EnumSaVat :: InvoicesResourceInvoiceTaxIdType'
-- | Represents the JSON value "sg_gst"
InvoicesResourceInvoiceTaxIdType'EnumSgGst :: InvoicesResourceInvoiceTaxIdType'
-- | Represents the JSON value "sg_uen"
InvoicesResourceInvoiceTaxIdType'EnumSgUen :: InvoicesResourceInvoiceTaxIdType'
-- | Represents the JSON value "th_vat"
InvoicesResourceInvoiceTaxIdType'EnumThVat :: InvoicesResourceInvoiceTaxIdType'
-- | Represents the JSON value "tw_vat"
InvoicesResourceInvoiceTaxIdType'EnumTwVat :: InvoicesResourceInvoiceTaxIdType'
-- | Represents the JSON value "unknown"
InvoicesResourceInvoiceTaxIdType'EnumUnknown :: InvoicesResourceInvoiceTaxIdType'
-- | Represents the JSON value "us_ein"
InvoicesResourceInvoiceTaxIdType'EnumUsEin :: InvoicesResourceInvoiceTaxIdType'
-- | Represents the JSON value "za_vat"
InvoicesResourceInvoiceTaxIdType'EnumZaVat :: InvoicesResourceInvoiceTaxIdType'
instance GHC.Classes.Eq StripeAPI.Types.InvoicesResourceInvoiceTaxId.InvoicesResourceInvoiceTaxIdType'
instance GHC.Show.Show StripeAPI.Types.InvoicesResourceInvoiceTaxId.InvoicesResourceInvoiceTaxIdType'
instance GHC.Classes.Eq StripeAPI.Types.InvoicesResourceInvoiceTaxId.InvoicesResourceInvoiceTaxId
instance GHC.Show.Show StripeAPI.Types.InvoicesResourceInvoiceTaxId.InvoicesResourceInvoiceTaxId
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.InvoicesResourceInvoiceTaxId.InvoicesResourceInvoiceTaxId
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.InvoicesResourceInvoiceTaxId.InvoicesResourceInvoiceTaxId
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.InvoicesResourceInvoiceTaxId.InvoicesResourceInvoiceTaxIdType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.InvoicesResourceInvoiceTaxId.InvoicesResourceInvoiceTaxIdType'
-- | Contains the types generated from the schema InvoicesStatusTransitions
module StripeAPI.Types.InvoicesStatusTransitions
-- | Defines the object schema located at
-- components.schemas.invoices_status_transitions in the
-- specification.
data InvoicesStatusTransitions
InvoicesStatusTransitions :: Maybe Int -> Maybe Int -> Maybe Int -> Maybe Int -> InvoicesStatusTransitions
-- | finalized_at: The time that the invoice draft was finalized.
[invoicesStatusTransitionsFinalizedAt] :: InvoicesStatusTransitions -> Maybe Int
-- | marked_uncollectible_at: The time that the invoice was marked
-- uncollectible.
[invoicesStatusTransitionsMarkedUncollectibleAt] :: InvoicesStatusTransitions -> Maybe Int
-- | paid_at: The time that the invoice was paid.
[invoicesStatusTransitionsPaidAt] :: InvoicesStatusTransitions -> Maybe Int
-- | voided_at: The time that the invoice was voided.
[invoicesStatusTransitionsVoidedAt] :: InvoicesStatusTransitions -> Maybe Int
-- | Create a new InvoicesStatusTransitions with all required
-- fields.
mkInvoicesStatusTransitions :: InvoicesStatusTransitions
instance GHC.Classes.Eq StripeAPI.Types.InvoicesStatusTransitions.InvoicesStatusTransitions
instance GHC.Show.Show StripeAPI.Types.InvoicesStatusTransitions.InvoicesStatusTransitions
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.InvoicesStatusTransitions.InvoicesStatusTransitions
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.InvoicesStatusTransitions.InvoicesStatusTransitions
-- | Contains the types generated from the schema IssuerFraudRecord
module StripeAPI.Types.IssuerFraudRecord
-- | Defines the object schema located at
-- components.schemas.issuer_fraud_record in the specification.
--
-- This resource has been renamed to Early Fraud Warning and will
-- be removed in a future API version.
data IssuerFraudRecord
IssuerFraudRecord :: Bool -> IssuerFraudRecordCharge'Variants -> Int -> Text -> Bool -> Text -> Bool -> Int -> IssuerFraudRecord
-- | actionable: An IFR is actionable if it has not received a dispute and
-- has not been fully refunded. You may wish to proactively refund a
-- charge that receives an IFR, in order to avoid receiving a dispute
-- later.
[issuerFraudRecordActionable] :: IssuerFraudRecord -> Bool
-- | charge: ID of the charge this issuer fraud record is for, optionally
-- expanded.
[issuerFraudRecordCharge] :: IssuerFraudRecord -> IssuerFraudRecordCharge'Variants
-- | created: Time at which the object was created. Measured in seconds
-- since the Unix epoch.
[issuerFraudRecordCreated] :: IssuerFraudRecord -> Int
-- | fraud_type: The type of fraud labelled by the issuer. One of
-- `card_never_received`, `fraudulent_card_application`,
-- `made_with_counterfeit_card`, `made_with_lost_card`,
-- `made_with_stolen_card`, `misc`, `unauthorized_use_of_card`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[issuerFraudRecordFraudType] :: IssuerFraudRecord -> Text
-- | has_liability_shift: If true, the associated charge is subject to
-- liability shift.
[issuerFraudRecordHasLiabilityShift] :: IssuerFraudRecord -> Bool
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[issuerFraudRecordId] :: IssuerFraudRecord -> Text
-- | livemode: Has the value `true` if the object exists in live mode or
-- the value `false` if the object exists in test mode.
[issuerFraudRecordLivemode] :: IssuerFraudRecord -> Bool
-- | post_date: The timestamp at which the card issuer posted the issuer
-- fraud record.
[issuerFraudRecordPostDate] :: IssuerFraudRecord -> Int
-- | Create a new IssuerFraudRecord with all required fields.
mkIssuerFraudRecord :: Bool -> IssuerFraudRecordCharge'Variants -> Int -> Text -> Bool -> Text -> Bool -> Int -> IssuerFraudRecord
-- | Defines the oneOf schema located at
-- components.schemas.issuer_fraud_record.properties.charge.anyOf
-- in the specification.
--
-- ID of the charge this issuer fraud record is for, optionally expanded.
data IssuerFraudRecordCharge'Variants
IssuerFraudRecordCharge'Text :: Text -> IssuerFraudRecordCharge'Variants
IssuerFraudRecordCharge'Charge :: Charge -> IssuerFraudRecordCharge'Variants
instance GHC.Classes.Eq StripeAPI.Types.IssuerFraudRecord.IssuerFraudRecordCharge'Variants
instance GHC.Show.Show StripeAPI.Types.IssuerFraudRecord.IssuerFraudRecordCharge'Variants
instance GHC.Classes.Eq StripeAPI.Types.IssuerFraudRecord.IssuerFraudRecord
instance GHC.Show.Show StripeAPI.Types.IssuerFraudRecord.IssuerFraudRecord
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.IssuerFraudRecord.IssuerFraudRecord
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.IssuerFraudRecord.IssuerFraudRecord
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.IssuerFraudRecord.IssuerFraudRecordCharge'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.IssuerFraudRecord.IssuerFraudRecordCharge'Variants
-- | Contains the types generated from the schema
-- IssuingAuthorizationAmountDetails
module StripeAPI.Types.IssuingAuthorizationAmountDetails
-- | Defines the object schema located at
-- components.schemas.issuing_authorization_amount_details in
-- the specification.
data IssuingAuthorizationAmountDetails
IssuingAuthorizationAmountDetails :: Maybe Int -> IssuingAuthorizationAmountDetails
-- | atm_fee: The fee charged by the ATM for the cash withdrawal.
[issuingAuthorizationAmountDetailsAtmFee] :: IssuingAuthorizationAmountDetails -> Maybe Int
-- | Create a new IssuingAuthorizationAmountDetails with all
-- required fields.
mkIssuingAuthorizationAmountDetails :: IssuingAuthorizationAmountDetails
instance GHC.Classes.Eq StripeAPI.Types.IssuingAuthorizationAmountDetails.IssuingAuthorizationAmountDetails
instance GHC.Show.Show StripeAPI.Types.IssuingAuthorizationAmountDetails.IssuingAuthorizationAmountDetails
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.IssuingAuthorizationAmountDetails.IssuingAuthorizationAmountDetails
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.IssuingAuthorizationAmountDetails.IssuingAuthorizationAmountDetails
-- | Contains the types generated from the schema
-- IssuingAuthorizationMerchantData
module StripeAPI.Types.IssuingAuthorizationMerchantData
-- | Defines the object schema located at
-- components.schemas.issuing_authorization_merchant_data in the
-- specification.
data IssuingAuthorizationMerchantData
IssuingAuthorizationMerchantData :: Text -> Maybe Text -> Maybe Text -> Maybe Text -> Text -> Maybe Text -> Maybe Text -> IssuingAuthorizationMerchantData
-- | category: A categorization of the seller's type of business. See our
-- merchant categories guide for a list of possible values.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[issuingAuthorizationMerchantDataCategory] :: IssuingAuthorizationMerchantData -> Text
-- | city: City where the seller is located
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[issuingAuthorizationMerchantDataCity] :: IssuingAuthorizationMerchantData -> Maybe Text
-- | country: Country where the seller is located
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[issuingAuthorizationMerchantDataCountry] :: IssuingAuthorizationMerchantData -> Maybe Text
-- | name: Name of the seller
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[issuingAuthorizationMerchantDataName] :: IssuingAuthorizationMerchantData -> Maybe Text
-- | network_id: Identifier assigned to the seller by the card brand
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[issuingAuthorizationMerchantDataNetworkId] :: IssuingAuthorizationMerchantData -> Text
-- | postal_code: Postal code where the seller is located
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[issuingAuthorizationMerchantDataPostalCode] :: IssuingAuthorizationMerchantData -> Maybe Text
-- | state: State where the seller is located
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[issuingAuthorizationMerchantDataState] :: IssuingAuthorizationMerchantData -> Maybe Text
-- | Create a new IssuingAuthorizationMerchantData with all required
-- fields.
mkIssuingAuthorizationMerchantData :: Text -> Text -> IssuingAuthorizationMerchantData
instance GHC.Classes.Eq StripeAPI.Types.IssuingAuthorizationMerchantData.IssuingAuthorizationMerchantData
instance GHC.Show.Show StripeAPI.Types.IssuingAuthorizationMerchantData.IssuingAuthorizationMerchantData
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.IssuingAuthorizationMerchantData.IssuingAuthorizationMerchantData
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.IssuingAuthorizationMerchantData.IssuingAuthorizationMerchantData
-- | Contains the types generated from the schema
-- IssuingAuthorizationPendingRequest
module StripeAPI.Types.IssuingAuthorizationPendingRequest
-- | Defines the object schema located at
-- components.schemas.issuing_authorization_pending_request in
-- the specification.
data IssuingAuthorizationPendingRequest
IssuingAuthorizationPendingRequest :: Int -> Maybe IssuingAuthorizationPendingRequestAmountDetails' -> Text -> Bool -> Int -> Text -> IssuingAuthorizationPendingRequest
-- | amount: The additional amount Stripe will hold if the authorization is
-- approved, in the card's currency and in the smallest
-- currency unit.
[issuingAuthorizationPendingRequestAmount] :: IssuingAuthorizationPendingRequest -> Int
-- | amount_details: Detailed breakdown of amount components. These amounts
-- are denominated in `currency` and in the smallest currency
-- unit.
[issuingAuthorizationPendingRequestAmountDetails] :: IssuingAuthorizationPendingRequest -> Maybe IssuingAuthorizationPendingRequestAmountDetails'
-- | currency: Three-letter ISO currency code, in lowercase. Must be
-- a supported currency.
[issuingAuthorizationPendingRequestCurrency] :: IssuingAuthorizationPendingRequest -> Text
-- | is_amount_controllable: If set `true`, you may provide amount
-- to control how much to hold for the authorization.
[issuingAuthorizationPendingRequestIsAmountControllable] :: IssuingAuthorizationPendingRequest -> Bool
-- | merchant_amount: The amount the merchant is requesting to be
-- authorized in the `merchant_currency`. The amount is in the
-- smallest currency unit.
[issuingAuthorizationPendingRequestMerchantAmount] :: IssuingAuthorizationPendingRequest -> Int
-- | merchant_currency: The local currency the merchant is requesting to
-- authorize.
[issuingAuthorizationPendingRequestMerchantCurrency] :: IssuingAuthorizationPendingRequest -> Text
-- | Create a new IssuingAuthorizationPendingRequest with all
-- required fields.
mkIssuingAuthorizationPendingRequest :: Int -> Text -> Bool -> Int -> Text -> IssuingAuthorizationPendingRequest
-- | Defines the object schema located at
-- components.schemas.issuing_authorization_pending_request.properties.amount_details.anyOf
-- in the specification.
--
-- Detailed breakdown of amount components. These amounts are denominated
-- in \`currency\` and in the smallest currency unit.
data IssuingAuthorizationPendingRequestAmountDetails'
IssuingAuthorizationPendingRequestAmountDetails' :: Maybe Int -> IssuingAuthorizationPendingRequestAmountDetails'
-- | atm_fee: The fee charged by the ATM for the cash withdrawal.
[issuingAuthorizationPendingRequestAmountDetails'AtmFee] :: IssuingAuthorizationPendingRequestAmountDetails' -> Maybe Int
-- | Create a new IssuingAuthorizationPendingRequestAmountDetails'
-- with all required fields.
mkIssuingAuthorizationPendingRequestAmountDetails' :: IssuingAuthorizationPendingRequestAmountDetails'
instance GHC.Classes.Eq StripeAPI.Types.IssuingAuthorizationPendingRequest.IssuingAuthorizationPendingRequestAmountDetails'
instance GHC.Show.Show StripeAPI.Types.IssuingAuthorizationPendingRequest.IssuingAuthorizationPendingRequestAmountDetails'
instance GHC.Classes.Eq StripeAPI.Types.IssuingAuthorizationPendingRequest.IssuingAuthorizationPendingRequest
instance GHC.Show.Show StripeAPI.Types.IssuingAuthorizationPendingRequest.IssuingAuthorizationPendingRequest
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.IssuingAuthorizationPendingRequest.IssuingAuthorizationPendingRequest
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.IssuingAuthorizationPendingRequest.IssuingAuthorizationPendingRequest
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.IssuingAuthorizationPendingRequest.IssuingAuthorizationPendingRequestAmountDetails'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.IssuingAuthorizationPendingRequest.IssuingAuthorizationPendingRequestAmountDetails'
-- | Contains the types generated from the schema
-- IssuingAuthorizationRequest
module StripeAPI.Types.IssuingAuthorizationRequest
-- | Defines the object schema located at
-- components.schemas.issuing_authorization_request in the
-- specification.
data IssuingAuthorizationRequest
IssuingAuthorizationRequest :: Int -> Maybe IssuingAuthorizationRequestAmountDetails' -> Bool -> Int -> Text -> Int -> Text -> IssuingAuthorizationRequestReason' -> IssuingAuthorizationRequest
-- | amount: The `pending_request.amount` at the time of the request,
-- presented in your card's currency and in the smallest currency
-- unit. Stripe held this amount from your account to fund the
-- authorization if the request was approved.
[issuingAuthorizationRequestAmount] :: IssuingAuthorizationRequest -> Int
-- | amount_details: Detailed breakdown of amount components. These amounts
-- are denominated in `currency` and in the smallest currency
-- unit.
[issuingAuthorizationRequestAmountDetails] :: IssuingAuthorizationRequest -> Maybe IssuingAuthorizationRequestAmountDetails'
-- | approved: Whether this request was approved.
[issuingAuthorizationRequestApproved] :: IssuingAuthorizationRequest -> Bool
-- | created: Time at which the object was created. Measured in seconds
-- since the Unix epoch.
[issuingAuthorizationRequestCreated] :: IssuingAuthorizationRequest -> Int
-- | currency: Three-letter ISO currency code, in lowercase. Must be
-- a supported currency.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[issuingAuthorizationRequestCurrency] :: IssuingAuthorizationRequest -> Text
-- | merchant_amount: The `pending_request.merchant_amount` at the time of
-- the request, presented in the `merchant_currency` and in the
-- smallest currency unit.
[issuingAuthorizationRequestMerchantAmount] :: IssuingAuthorizationRequest -> Int
-- | merchant_currency: The currency that was collected by the merchant and
-- presented to the cardholder for the authorization. Three-letter ISO
-- currency code, in lowercase. Must be a supported currency.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[issuingAuthorizationRequestMerchantCurrency] :: IssuingAuthorizationRequest -> Text
-- | reason: The reason for the approval or decline.
[issuingAuthorizationRequestReason] :: IssuingAuthorizationRequest -> IssuingAuthorizationRequestReason'
-- | Create a new IssuingAuthorizationRequest with all required
-- fields.
mkIssuingAuthorizationRequest :: Int -> Bool -> Int -> Text -> Int -> Text -> IssuingAuthorizationRequestReason' -> IssuingAuthorizationRequest
-- | Defines the object schema located at
-- components.schemas.issuing_authorization_request.properties.amount_details.anyOf
-- in the specification.
--
-- Detailed breakdown of amount components. These amounts are denominated
-- in \`currency\` and in the smallest currency unit.
data IssuingAuthorizationRequestAmountDetails'
IssuingAuthorizationRequestAmountDetails' :: Maybe Int -> IssuingAuthorizationRequestAmountDetails'
-- | atm_fee: The fee charged by the ATM for the cash withdrawal.
[issuingAuthorizationRequestAmountDetails'AtmFee] :: IssuingAuthorizationRequestAmountDetails' -> Maybe Int
-- | Create a new IssuingAuthorizationRequestAmountDetails' with all
-- required fields.
mkIssuingAuthorizationRequestAmountDetails' :: IssuingAuthorizationRequestAmountDetails'
-- | Defines the enum schema located at
-- components.schemas.issuing_authorization_request.properties.reason
-- in the specification.
--
-- The reason for the approval or decline.
data IssuingAuthorizationRequestReason'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
IssuingAuthorizationRequestReason'Other :: Value -> IssuingAuthorizationRequestReason'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
IssuingAuthorizationRequestReason'Typed :: Text -> IssuingAuthorizationRequestReason'
-- | Represents the JSON value "account_disabled"
IssuingAuthorizationRequestReason'EnumAccountDisabled :: IssuingAuthorizationRequestReason'
-- | Represents the JSON value "card_active"
IssuingAuthorizationRequestReason'EnumCardActive :: IssuingAuthorizationRequestReason'
-- | Represents the JSON value "card_inactive"
IssuingAuthorizationRequestReason'EnumCardInactive :: IssuingAuthorizationRequestReason'
-- | Represents the JSON value "cardholder_inactive"
IssuingAuthorizationRequestReason'EnumCardholderInactive :: IssuingAuthorizationRequestReason'
-- | Represents the JSON value "cardholder_verification_required"
IssuingAuthorizationRequestReason'EnumCardholderVerificationRequired :: IssuingAuthorizationRequestReason'
-- | Represents the JSON value "insufficient_funds"
IssuingAuthorizationRequestReason'EnumInsufficientFunds :: IssuingAuthorizationRequestReason'
-- | Represents the JSON value "not_allowed"
IssuingAuthorizationRequestReason'EnumNotAllowed :: IssuingAuthorizationRequestReason'
-- | Represents the JSON value "spending_controls"
IssuingAuthorizationRequestReason'EnumSpendingControls :: IssuingAuthorizationRequestReason'
-- | Represents the JSON value "suspected_fraud"
IssuingAuthorizationRequestReason'EnumSuspectedFraud :: IssuingAuthorizationRequestReason'
-- | Represents the JSON value "verification_failed"
IssuingAuthorizationRequestReason'EnumVerificationFailed :: IssuingAuthorizationRequestReason'
-- | Represents the JSON value "webhook_approved"
IssuingAuthorizationRequestReason'EnumWebhookApproved :: IssuingAuthorizationRequestReason'
-- | Represents the JSON value "webhook_declined"
IssuingAuthorizationRequestReason'EnumWebhookDeclined :: IssuingAuthorizationRequestReason'
-- | Represents the JSON value "webhook_timeout"
IssuingAuthorizationRequestReason'EnumWebhookTimeout :: IssuingAuthorizationRequestReason'
instance GHC.Classes.Eq StripeAPI.Types.IssuingAuthorizationRequest.IssuingAuthorizationRequestAmountDetails'
instance GHC.Show.Show StripeAPI.Types.IssuingAuthorizationRequest.IssuingAuthorizationRequestAmountDetails'
instance GHC.Classes.Eq StripeAPI.Types.IssuingAuthorizationRequest.IssuingAuthorizationRequestReason'
instance GHC.Show.Show StripeAPI.Types.IssuingAuthorizationRequest.IssuingAuthorizationRequestReason'
instance GHC.Classes.Eq StripeAPI.Types.IssuingAuthorizationRequest.IssuingAuthorizationRequest
instance GHC.Show.Show StripeAPI.Types.IssuingAuthorizationRequest.IssuingAuthorizationRequest
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.IssuingAuthorizationRequest.IssuingAuthorizationRequest
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.IssuingAuthorizationRequest.IssuingAuthorizationRequest
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.IssuingAuthorizationRequest.IssuingAuthorizationRequestReason'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.IssuingAuthorizationRequest.IssuingAuthorizationRequestReason'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.IssuingAuthorizationRequest.IssuingAuthorizationRequestAmountDetails'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.IssuingAuthorizationRequest.IssuingAuthorizationRequestAmountDetails'
-- | Contains the types generated from the schema
-- IssuingAuthorizationVerificationData
module StripeAPI.Types.IssuingAuthorizationVerificationData
-- | Defines the object schema located at
-- components.schemas.issuing_authorization_verification_data in
-- the specification.
data IssuingAuthorizationVerificationData
IssuingAuthorizationVerificationData :: IssuingAuthorizationVerificationDataAddressLine1Check' -> IssuingAuthorizationVerificationDataAddressPostalCodeCheck' -> IssuingAuthorizationVerificationDataCvcCheck' -> IssuingAuthorizationVerificationDataExpiryCheck' -> IssuingAuthorizationVerificationData
-- | address_line1_check: Whether the cardholder provided an address first
-- line and if it matched the cardholder’s `billing.address.line1`.
[issuingAuthorizationVerificationDataAddressLine1Check] :: IssuingAuthorizationVerificationData -> IssuingAuthorizationVerificationDataAddressLine1Check'
-- | address_postal_code_check: Whether the cardholder provided a postal
-- code and if it matched the cardholder’s `billing.address.postal_code`.
[issuingAuthorizationVerificationDataAddressPostalCodeCheck] :: IssuingAuthorizationVerificationData -> IssuingAuthorizationVerificationDataAddressPostalCodeCheck'
-- | cvc_check: Whether the cardholder provided a CVC and if it matched
-- Stripe’s record.
[issuingAuthorizationVerificationDataCvcCheck] :: IssuingAuthorizationVerificationData -> IssuingAuthorizationVerificationDataCvcCheck'
-- | expiry_check: Whether the cardholder provided an expiry date and if it
-- matched Stripe’s record.
[issuingAuthorizationVerificationDataExpiryCheck] :: IssuingAuthorizationVerificationData -> IssuingAuthorizationVerificationDataExpiryCheck'
-- | Create a new IssuingAuthorizationVerificationData with all
-- required fields.
mkIssuingAuthorizationVerificationData :: IssuingAuthorizationVerificationDataAddressLine1Check' -> IssuingAuthorizationVerificationDataAddressPostalCodeCheck' -> IssuingAuthorizationVerificationDataCvcCheck' -> IssuingAuthorizationVerificationDataExpiryCheck' -> IssuingAuthorizationVerificationData
-- | Defines the enum schema located at
-- components.schemas.issuing_authorization_verification_data.properties.address_line1_check
-- in the specification.
--
-- Whether the cardholder provided an address first line and if it
-- matched the cardholder’s `billing.address.line1`.
data IssuingAuthorizationVerificationDataAddressLine1Check'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
IssuingAuthorizationVerificationDataAddressLine1Check'Other :: Value -> IssuingAuthorizationVerificationDataAddressLine1Check'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
IssuingAuthorizationVerificationDataAddressLine1Check'Typed :: Text -> IssuingAuthorizationVerificationDataAddressLine1Check'
-- | Represents the JSON value "match"
IssuingAuthorizationVerificationDataAddressLine1Check'EnumMatch :: IssuingAuthorizationVerificationDataAddressLine1Check'
-- | Represents the JSON value "mismatch"
IssuingAuthorizationVerificationDataAddressLine1Check'EnumMismatch :: IssuingAuthorizationVerificationDataAddressLine1Check'
-- | Represents the JSON value "not_provided"
IssuingAuthorizationVerificationDataAddressLine1Check'EnumNotProvided :: IssuingAuthorizationVerificationDataAddressLine1Check'
-- | Defines the enum schema located at
-- components.schemas.issuing_authorization_verification_data.properties.address_postal_code_check
-- in the specification.
--
-- Whether the cardholder provided a postal code and if it matched the
-- cardholder’s `billing.address.postal_code`.
data IssuingAuthorizationVerificationDataAddressPostalCodeCheck'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
IssuingAuthorizationVerificationDataAddressPostalCodeCheck'Other :: Value -> IssuingAuthorizationVerificationDataAddressPostalCodeCheck'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
IssuingAuthorizationVerificationDataAddressPostalCodeCheck'Typed :: Text -> IssuingAuthorizationVerificationDataAddressPostalCodeCheck'
-- | Represents the JSON value "match"
IssuingAuthorizationVerificationDataAddressPostalCodeCheck'EnumMatch :: IssuingAuthorizationVerificationDataAddressPostalCodeCheck'
-- | Represents the JSON value "mismatch"
IssuingAuthorizationVerificationDataAddressPostalCodeCheck'EnumMismatch :: IssuingAuthorizationVerificationDataAddressPostalCodeCheck'
-- | Represents the JSON value "not_provided"
IssuingAuthorizationVerificationDataAddressPostalCodeCheck'EnumNotProvided :: IssuingAuthorizationVerificationDataAddressPostalCodeCheck'
-- | Defines the enum schema located at
-- components.schemas.issuing_authorization_verification_data.properties.cvc_check
-- in the specification.
--
-- Whether the cardholder provided a CVC and if it matched Stripe’s
-- record.
data IssuingAuthorizationVerificationDataCvcCheck'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
IssuingAuthorizationVerificationDataCvcCheck'Other :: Value -> IssuingAuthorizationVerificationDataCvcCheck'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
IssuingAuthorizationVerificationDataCvcCheck'Typed :: Text -> IssuingAuthorizationVerificationDataCvcCheck'
-- | Represents the JSON value "match"
IssuingAuthorizationVerificationDataCvcCheck'EnumMatch :: IssuingAuthorizationVerificationDataCvcCheck'
-- | Represents the JSON value "mismatch"
IssuingAuthorizationVerificationDataCvcCheck'EnumMismatch :: IssuingAuthorizationVerificationDataCvcCheck'
-- | Represents the JSON value "not_provided"
IssuingAuthorizationVerificationDataCvcCheck'EnumNotProvided :: IssuingAuthorizationVerificationDataCvcCheck'
-- | Defines the enum schema located at
-- components.schemas.issuing_authorization_verification_data.properties.expiry_check
-- in the specification.
--
-- Whether the cardholder provided an expiry date and if it matched
-- Stripe’s record.
data IssuingAuthorizationVerificationDataExpiryCheck'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
IssuingAuthorizationVerificationDataExpiryCheck'Other :: Value -> IssuingAuthorizationVerificationDataExpiryCheck'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
IssuingAuthorizationVerificationDataExpiryCheck'Typed :: Text -> IssuingAuthorizationVerificationDataExpiryCheck'
-- | Represents the JSON value "match"
IssuingAuthorizationVerificationDataExpiryCheck'EnumMatch :: IssuingAuthorizationVerificationDataExpiryCheck'
-- | Represents the JSON value "mismatch"
IssuingAuthorizationVerificationDataExpiryCheck'EnumMismatch :: IssuingAuthorizationVerificationDataExpiryCheck'
-- | Represents the JSON value "not_provided"
IssuingAuthorizationVerificationDataExpiryCheck'EnumNotProvided :: IssuingAuthorizationVerificationDataExpiryCheck'
instance GHC.Classes.Eq StripeAPI.Types.IssuingAuthorizationVerificationData.IssuingAuthorizationVerificationDataAddressLine1Check'
instance GHC.Show.Show StripeAPI.Types.IssuingAuthorizationVerificationData.IssuingAuthorizationVerificationDataAddressLine1Check'
instance GHC.Classes.Eq StripeAPI.Types.IssuingAuthorizationVerificationData.IssuingAuthorizationVerificationDataAddressPostalCodeCheck'
instance GHC.Show.Show StripeAPI.Types.IssuingAuthorizationVerificationData.IssuingAuthorizationVerificationDataAddressPostalCodeCheck'
instance GHC.Classes.Eq StripeAPI.Types.IssuingAuthorizationVerificationData.IssuingAuthorizationVerificationDataCvcCheck'
instance GHC.Show.Show StripeAPI.Types.IssuingAuthorizationVerificationData.IssuingAuthorizationVerificationDataCvcCheck'
instance GHC.Classes.Eq StripeAPI.Types.IssuingAuthorizationVerificationData.IssuingAuthorizationVerificationDataExpiryCheck'
instance GHC.Show.Show StripeAPI.Types.IssuingAuthorizationVerificationData.IssuingAuthorizationVerificationDataExpiryCheck'
instance GHC.Classes.Eq StripeAPI.Types.IssuingAuthorizationVerificationData.IssuingAuthorizationVerificationData
instance GHC.Show.Show StripeAPI.Types.IssuingAuthorizationVerificationData.IssuingAuthorizationVerificationData
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.IssuingAuthorizationVerificationData.IssuingAuthorizationVerificationData
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.IssuingAuthorizationVerificationData.IssuingAuthorizationVerificationData
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.IssuingAuthorizationVerificationData.IssuingAuthorizationVerificationDataExpiryCheck'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.IssuingAuthorizationVerificationData.IssuingAuthorizationVerificationDataExpiryCheck'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.IssuingAuthorizationVerificationData.IssuingAuthorizationVerificationDataCvcCheck'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.IssuingAuthorizationVerificationData.IssuingAuthorizationVerificationDataCvcCheck'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.IssuingAuthorizationVerificationData.IssuingAuthorizationVerificationDataAddressPostalCodeCheck'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.IssuingAuthorizationVerificationData.IssuingAuthorizationVerificationDataAddressPostalCodeCheck'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.IssuingAuthorizationVerificationData.IssuingAuthorizationVerificationDataAddressLine1Check'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.IssuingAuthorizationVerificationData.IssuingAuthorizationVerificationDataAddressLine1Check'
-- | Contains the types generated from the schema IssuingCardShipping
module StripeAPI.Types.IssuingCardShipping
-- | Defines the object schema located at
-- components.schemas.issuing_card_shipping in the
-- specification.
data IssuingCardShipping
IssuingCardShipping :: Address -> Maybe IssuingCardShippingCarrier' -> Maybe Int -> Text -> IssuingCardShippingService' -> Maybe IssuingCardShippingStatus' -> Maybe Text -> Maybe Text -> IssuingCardShippingType' -> IssuingCardShipping
-- | address:
[issuingCardShippingAddress] :: IssuingCardShipping -> Address
-- | carrier: The delivery company that shipped a card.
[issuingCardShippingCarrier] :: IssuingCardShipping -> Maybe IssuingCardShippingCarrier'
-- | eta: A unix timestamp representing a best estimate of when the card
-- will be delivered.
[issuingCardShippingEta] :: IssuingCardShipping -> Maybe Int
-- | name: Recipient name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[issuingCardShippingName] :: IssuingCardShipping -> Text
-- | service: Shipment service, such as `standard` or `express`.
[issuingCardShippingService] :: IssuingCardShipping -> IssuingCardShippingService'
-- | status: The delivery status of the card.
[issuingCardShippingStatus] :: IssuingCardShipping -> Maybe IssuingCardShippingStatus'
-- | tracking_number: A tracking number for a card shipment.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[issuingCardShippingTrackingNumber] :: IssuingCardShipping -> Maybe Text
-- | tracking_url: A link to the shipping carrier's site where you can view
-- detailed information about a card shipment.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[issuingCardShippingTrackingUrl] :: IssuingCardShipping -> Maybe Text
-- | type: Packaging options.
[issuingCardShippingType] :: IssuingCardShipping -> IssuingCardShippingType'
-- | Create a new IssuingCardShipping with all required fields.
mkIssuingCardShipping :: Address -> Text -> IssuingCardShippingService' -> IssuingCardShippingType' -> IssuingCardShipping
-- | Defines the enum schema located at
-- components.schemas.issuing_card_shipping.properties.carrier
-- in the specification.
--
-- The delivery company that shipped a card.
data IssuingCardShippingCarrier'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
IssuingCardShippingCarrier'Other :: Value -> IssuingCardShippingCarrier'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
IssuingCardShippingCarrier'Typed :: Text -> IssuingCardShippingCarrier'
-- | Represents the JSON value "dhl"
IssuingCardShippingCarrier'EnumDhl :: IssuingCardShippingCarrier'
-- | Represents the JSON value "fedex"
IssuingCardShippingCarrier'EnumFedex :: IssuingCardShippingCarrier'
-- | Represents the JSON value "royal_mail"
IssuingCardShippingCarrier'EnumRoyalMail :: IssuingCardShippingCarrier'
-- | Represents the JSON value "usps"
IssuingCardShippingCarrier'EnumUsps :: IssuingCardShippingCarrier'
-- | Defines the enum schema located at
-- components.schemas.issuing_card_shipping.properties.service
-- in the specification.
--
-- Shipment service, such as `standard` or `express`.
data IssuingCardShippingService'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
IssuingCardShippingService'Other :: Value -> IssuingCardShippingService'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
IssuingCardShippingService'Typed :: Text -> IssuingCardShippingService'
-- | Represents the JSON value "express"
IssuingCardShippingService'EnumExpress :: IssuingCardShippingService'
-- | Represents the JSON value "priority"
IssuingCardShippingService'EnumPriority :: IssuingCardShippingService'
-- | Represents the JSON value "standard"
IssuingCardShippingService'EnumStandard :: IssuingCardShippingService'
-- | Defines the enum schema located at
-- components.schemas.issuing_card_shipping.properties.status in
-- the specification.
--
-- The delivery status of the card.
data IssuingCardShippingStatus'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
IssuingCardShippingStatus'Other :: Value -> IssuingCardShippingStatus'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
IssuingCardShippingStatus'Typed :: Text -> IssuingCardShippingStatus'
-- | Represents the JSON value "canceled"
IssuingCardShippingStatus'EnumCanceled :: IssuingCardShippingStatus'
-- | Represents the JSON value "delivered"
IssuingCardShippingStatus'EnumDelivered :: IssuingCardShippingStatus'
-- | Represents the JSON value "failure"
IssuingCardShippingStatus'EnumFailure :: IssuingCardShippingStatus'
-- | Represents the JSON value "pending"
IssuingCardShippingStatus'EnumPending :: IssuingCardShippingStatus'
-- | Represents the JSON value "returned"
IssuingCardShippingStatus'EnumReturned :: IssuingCardShippingStatus'
-- | Represents the JSON value "shipped"
IssuingCardShippingStatus'EnumShipped :: IssuingCardShippingStatus'
-- | Defines the enum schema located at
-- components.schemas.issuing_card_shipping.properties.type in
-- the specification.
--
-- Packaging options.
data IssuingCardShippingType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
IssuingCardShippingType'Other :: Value -> IssuingCardShippingType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
IssuingCardShippingType'Typed :: Text -> IssuingCardShippingType'
-- | Represents the JSON value "bulk"
IssuingCardShippingType'EnumBulk :: IssuingCardShippingType'
-- | Represents the JSON value "individual"
IssuingCardShippingType'EnumIndividual :: IssuingCardShippingType'
instance GHC.Classes.Eq StripeAPI.Types.IssuingCardShipping.IssuingCardShippingCarrier'
instance GHC.Show.Show StripeAPI.Types.IssuingCardShipping.IssuingCardShippingCarrier'
instance GHC.Classes.Eq StripeAPI.Types.IssuingCardShipping.IssuingCardShippingService'
instance GHC.Show.Show StripeAPI.Types.IssuingCardShipping.IssuingCardShippingService'
instance GHC.Classes.Eq StripeAPI.Types.IssuingCardShipping.IssuingCardShippingStatus'
instance GHC.Show.Show StripeAPI.Types.IssuingCardShipping.IssuingCardShippingStatus'
instance GHC.Classes.Eq StripeAPI.Types.IssuingCardShipping.IssuingCardShippingType'
instance GHC.Show.Show StripeAPI.Types.IssuingCardShipping.IssuingCardShippingType'
instance GHC.Classes.Eq StripeAPI.Types.IssuingCardShipping.IssuingCardShipping
instance GHC.Show.Show StripeAPI.Types.IssuingCardShipping.IssuingCardShipping
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.IssuingCardShipping.IssuingCardShipping
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.IssuingCardShipping.IssuingCardShipping
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.IssuingCardShipping.IssuingCardShippingType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.IssuingCardShipping.IssuingCardShippingType'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.IssuingCardShipping.IssuingCardShippingStatus'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.IssuingCardShipping.IssuingCardShippingStatus'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.IssuingCardShipping.IssuingCardShippingService'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.IssuingCardShipping.IssuingCardShippingService'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.IssuingCardShipping.IssuingCardShippingCarrier'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.IssuingCardShipping.IssuingCardShippingCarrier'
-- | Contains the types generated from the schema
-- IssuingCardAuthorizationControls
module StripeAPI.Types.IssuingCardAuthorizationControls
-- | Defines the object schema located at
-- components.schemas.issuing_card_authorization_controls in the
-- specification.
data IssuingCardAuthorizationControls
IssuingCardAuthorizationControls :: Maybe [IssuingCardAuthorizationControlsAllowedCategories'] -> Maybe [IssuingCardAuthorizationControlsBlockedCategories'] -> Maybe [IssuingCardSpendingLimit] -> Maybe Text -> IssuingCardAuthorizationControls
-- | allowed_categories: Array of strings containing categories of
-- authorizations to allow. All other categories will be blocked. Cannot
-- be set with `blocked_categories`.
[issuingCardAuthorizationControlsAllowedCategories] :: IssuingCardAuthorizationControls -> Maybe [IssuingCardAuthorizationControlsAllowedCategories']
-- | blocked_categories: Array of strings containing categories of
-- authorizations to decline. All other categories will be allowed.
-- Cannot be set with `allowed_categories`.
[issuingCardAuthorizationControlsBlockedCategories] :: IssuingCardAuthorizationControls -> Maybe [IssuingCardAuthorizationControlsBlockedCategories']
-- | spending_limits: Limit spending with amount-based rules that apply
-- across any cards this card replaced (i.e., its `replacement_for` card
-- and _that_ card's `replacement_for` card, up the chain).
[issuingCardAuthorizationControlsSpendingLimits] :: IssuingCardAuthorizationControls -> Maybe [IssuingCardSpendingLimit]
-- | spending_limits_currency: Currency of the amounts within
-- `spending_limits`. Always the same as the currency of the card.
[issuingCardAuthorizationControlsSpendingLimitsCurrency] :: IssuingCardAuthorizationControls -> Maybe Text
-- | Create a new IssuingCardAuthorizationControls with all required
-- fields.
mkIssuingCardAuthorizationControls :: IssuingCardAuthorizationControls
-- | Defines the enum schema located at
-- components.schemas.issuing_card_authorization_controls.properties.allowed_categories.items
-- in the specification.
data IssuingCardAuthorizationControlsAllowedCategories'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
IssuingCardAuthorizationControlsAllowedCategories'Other :: Value -> IssuingCardAuthorizationControlsAllowedCategories'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
IssuingCardAuthorizationControlsAllowedCategories'Typed :: Text -> IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "ac_refrigeration_repair"
IssuingCardAuthorizationControlsAllowedCategories'EnumAcRefrigerationRepair :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "accounting_bookkeeping_services"
IssuingCardAuthorizationControlsAllowedCategories'EnumAccountingBookkeepingServices :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "advertising_services"
IssuingCardAuthorizationControlsAllowedCategories'EnumAdvertisingServices :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "agricultural_cooperative"
IssuingCardAuthorizationControlsAllowedCategories'EnumAgriculturalCooperative :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "airlines_air_carriers"
IssuingCardAuthorizationControlsAllowedCategories'EnumAirlinesAirCarriers :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "airports_flying_fields"
IssuingCardAuthorizationControlsAllowedCategories'EnumAirportsFlyingFields :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "ambulance_services"
IssuingCardAuthorizationControlsAllowedCategories'EnumAmbulanceServices :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "amusement_parks_carnivals"
IssuingCardAuthorizationControlsAllowedCategories'EnumAmusementParksCarnivals :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "antique_reproductions"
IssuingCardAuthorizationControlsAllowedCategories'EnumAntiqueReproductions :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "antique_shops"
IssuingCardAuthorizationControlsAllowedCategories'EnumAntiqueShops :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "aquariums"
IssuingCardAuthorizationControlsAllowedCategories'EnumAquariums :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "architectural_surveying_services"
IssuingCardAuthorizationControlsAllowedCategories'EnumArchitecturalSurveyingServices :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "art_dealers_and_galleries"
IssuingCardAuthorizationControlsAllowedCategories'EnumArtDealersAndGalleries :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "artists_supply_and_craft_shops"
IssuingCardAuthorizationControlsAllowedCategories'EnumArtistsSupplyAndCraftShops :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "auto_and_home_supply_stores"
IssuingCardAuthorizationControlsAllowedCategories'EnumAutoAndHomeSupplyStores :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "auto_body_repair_shops"
IssuingCardAuthorizationControlsAllowedCategories'EnumAutoBodyRepairShops :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "auto_paint_shops"
IssuingCardAuthorizationControlsAllowedCategories'EnumAutoPaintShops :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "auto_service_shops"
IssuingCardAuthorizationControlsAllowedCategories'EnumAutoServiceShops :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "automated_cash_disburse"
IssuingCardAuthorizationControlsAllowedCategories'EnumAutomatedCashDisburse :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "automated_fuel_dispensers"
IssuingCardAuthorizationControlsAllowedCategories'EnumAutomatedFuelDispensers :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "automobile_associations"
IssuingCardAuthorizationControlsAllowedCategories'EnumAutomobileAssociations :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value
-- "automotive_parts_and_accessories_stores"
IssuingCardAuthorizationControlsAllowedCategories'EnumAutomotivePartsAndAccessoriesStores :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "automotive_tire_stores"
IssuingCardAuthorizationControlsAllowedCategories'EnumAutomotiveTireStores :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "bail_and_bond_payments"
IssuingCardAuthorizationControlsAllowedCategories'EnumBailAndBondPayments :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "bakeries"
IssuingCardAuthorizationControlsAllowedCategories'EnumBakeries :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "bands_orchestras"
IssuingCardAuthorizationControlsAllowedCategories'EnumBandsOrchestras :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "barber_and_beauty_shops"
IssuingCardAuthorizationControlsAllowedCategories'EnumBarberAndBeautyShops :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "betting_casino_gambling"
IssuingCardAuthorizationControlsAllowedCategories'EnumBettingCasinoGambling :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "bicycle_shops"
IssuingCardAuthorizationControlsAllowedCategories'EnumBicycleShops :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "billiard_pool_establishments"
IssuingCardAuthorizationControlsAllowedCategories'EnumBilliardPoolEstablishments :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "boat_dealers"
IssuingCardAuthorizationControlsAllowedCategories'EnumBoatDealers :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "boat_rentals_and_leases"
IssuingCardAuthorizationControlsAllowedCategories'EnumBoatRentalsAndLeases :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "book_stores"
IssuingCardAuthorizationControlsAllowedCategories'EnumBookStores :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "books_periodicals_and_newspapers"
IssuingCardAuthorizationControlsAllowedCategories'EnumBooksPeriodicalsAndNewspapers :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "bowling_alleys"
IssuingCardAuthorizationControlsAllowedCategories'EnumBowlingAlleys :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "bus_lines"
IssuingCardAuthorizationControlsAllowedCategories'EnumBusLines :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "business_secretarial_schools"
IssuingCardAuthorizationControlsAllowedCategories'EnumBusinessSecretarialSchools :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "buying_shopping_services"
IssuingCardAuthorizationControlsAllowedCategories'EnumBuyingShoppingServices :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value
-- "cable_satellite_and_other_pay_television_and_radio"
IssuingCardAuthorizationControlsAllowedCategories'EnumCableSatelliteAndOtherPayTelevisionAndRadio :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value
-- "camera_and_photographic_supply_stores"
IssuingCardAuthorizationControlsAllowedCategories'EnumCameraAndPhotographicSupplyStores :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value
-- "candy_nut_and_confectionery_stores"
IssuingCardAuthorizationControlsAllowedCategories'EnumCandyNutAndConfectioneryStores :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "car_and_truck_dealers_new_used"
IssuingCardAuthorizationControlsAllowedCategories'EnumCarAndTruckDealersNewUsed :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "car_and_truck_dealers_used_only"
IssuingCardAuthorizationControlsAllowedCategories'EnumCarAndTruckDealersUsedOnly :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "car_rental_agencies"
IssuingCardAuthorizationControlsAllowedCategories'EnumCarRentalAgencies :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "car_washes"
IssuingCardAuthorizationControlsAllowedCategories'EnumCarWashes :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "carpentry_services"
IssuingCardAuthorizationControlsAllowedCategories'EnumCarpentryServices :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "carpet_upholstery_cleaning"
IssuingCardAuthorizationControlsAllowedCategories'EnumCarpetUpholsteryCleaning :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "caterers"
IssuingCardAuthorizationControlsAllowedCategories'EnumCaterers :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value
-- "charitable_and_social_service_organizations_fundraising"
IssuingCardAuthorizationControlsAllowedCategories'EnumCharitableAndSocialServiceOrganizationsFundraising :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "chemicals_and_allied_products"
IssuingCardAuthorizationControlsAllowedCategories'EnumChemicalsAndAlliedProducts :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "child_care_services"
IssuingCardAuthorizationControlsAllowedCategories'EnumChildCareServices :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "childrens_and_infants_wear_stores"
IssuingCardAuthorizationControlsAllowedCategories'EnumChildrensAndInfantsWearStores :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "chiropodists_podiatrists"
IssuingCardAuthorizationControlsAllowedCategories'EnumChiropodistsPodiatrists :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "chiropractors"
IssuingCardAuthorizationControlsAllowedCategories'EnumChiropractors :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "cigar_stores_and_stands"
IssuingCardAuthorizationControlsAllowedCategories'EnumCigarStoresAndStands :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value
-- "civic_social_fraternal_associations"
IssuingCardAuthorizationControlsAllowedCategories'EnumCivicSocialFraternalAssociations :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "cleaning_and_maintenance"
IssuingCardAuthorizationControlsAllowedCategories'EnumCleaningAndMaintenance :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "clothing_rental"
IssuingCardAuthorizationControlsAllowedCategories'EnumClothingRental :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "colleges_universities"
IssuingCardAuthorizationControlsAllowedCategories'EnumCollegesUniversities :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "commercial_equipment"
IssuingCardAuthorizationControlsAllowedCategories'EnumCommercialEquipment :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "commercial_footwear"
IssuingCardAuthorizationControlsAllowedCategories'EnumCommercialFootwear :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value
-- "commercial_photography_art_and_graphics"
IssuingCardAuthorizationControlsAllowedCategories'EnumCommercialPhotographyArtAndGraphics :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "commuter_transport_and_ferries"
IssuingCardAuthorizationControlsAllowedCategories'EnumCommuterTransportAndFerries :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "computer_network_services"
IssuingCardAuthorizationControlsAllowedCategories'EnumComputerNetworkServices :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "computer_programming"
IssuingCardAuthorizationControlsAllowedCategories'EnumComputerProgramming :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "computer_repair"
IssuingCardAuthorizationControlsAllowedCategories'EnumComputerRepair :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "computer_software_stores"
IssuingCardAuthorizationControlsAllowedCategories'EnumComputerSoftwareStores :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value
-- "computers_peripherals_and_software"
IssuingCardAuthorizationControlsAllowedCategories'EnumComputersPeripheralsAndSoftware :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "concrete_work_services"
IssuingCardAuthorizationControlsAllowedCategories'EnumConcreteWorkServices :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "construction_materials"
IssuingCardAuthorizationControlsAllowedCategories'EnumConstructionMaterials :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "consulting_public_relations"
IssuingCardAuthorizationControlsAllowedCategories'EnumConsultingPublicRelations :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "correspondence_schools"
IssuingCardAuthorizationControlsAllowedCategories'EnumCorrespondenceSchools :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "cosmetic_stores"
IssuingCardAuthorizationControlsAllowedCategories'EnumCosmeticStores :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "counseling_services"
IssuingCardAuthorizationControlsAllowedCategories'EnumCounselingServices :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "country_clubs"
IssuingCardAuthorizationControlsAllowedCategories'EnumCountryClubs :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "courier_services"
IssuingCardAuthorizationControlsAllowedCategories'EnumCourierServices :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "court_costs"
IssuingCardAuthorizationControlsAllowedCategories'EnumCourtCosts :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "credit_reporting_agencies"
IssuingCardAuthorizationControlsAllowedCategories'EnumCreditReportingAgencies :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "cruise_lines"
IssuingCardAuthorizationControlsAllowedCategories'EnumCruiseLines :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "dairy_products_stores"
IssuingCardAuthorizationControlsAllowedCategories'EnumDairyProductsStores :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "dance_hall_studios_schools"
IssuingCardAuthorizationControlsAllowedCategories'EnumDanceHallStudiosSchools :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "dating_escort_services"
IssuingCardAuthorizationControlsAllowedCategories'EnumDatingEscortServices :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "dentists_orthodontists"
IssuingCardAuthorizationControlsAllowedCategories'EnumDentistsOrthodontists :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "department_stores"
IssuingCardAuthorizationControlsAllowedCategories'EnumDepartmentStores :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "detective_agencies"
IssuingCardAuthorizationControlsAllowedCategories'EnumDetectiveAgencies :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "digital_goods_applications"
IssuingCardAuthorizationControlsAllowedCategories'EnumDigitalGoodsApplications :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "digital_goods_games"
IssuingCardAuthorizationControlsAllowedCategories'EnumDigitalGoodsGames :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "digital_goods_large_volume"
IssuingCardAuthorizationControlsAllowedCategories'EnumDigitalGoodsLargeVolume :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "digital_goods_media"
IssuingCardAuthorizationControlsAllowedCategories'EnumDigitalGoodsMedia :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "direct_marketing_catalog_merchant"
IssuingCardAuthorizationControlsAllowedCategories'EnumDirectMarketingCatalogMerchant :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value
-- "direct_marketing_combination_catalog_and_retail_merchant"
IssuingCardAuthorizationControlsAllowedCategories'EnumDirectMarketingCombinationCatalogAndRetailMerchant :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value
-- "direct_marketing_inbound_telemarketing"
IssuingCardAuthorizationControlsAllowedCategories'EnumDirectMarketingInboundTelemarketing :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value
-- "direct_marketing_insurance_services"
IssuingCardAuthorizationControlsAllowedCategories'EnumDirectMarketingInsuranceServices :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "direct_marketing_other"
IssuingCardAuthorizationControlsAllowedCategories'EnumDirectMarketingOther :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value
-- "direct_marketing_outbound_telemarketing"
IssuingCardAuthorizationControlsAllowedCategories'EnumDirectMarketingOutboundTelemarketing :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "direct_marketing_subscription"
IssuingCardAuthorizationControlsAllowedCategories'EnumDirectMarketingSubscription :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "direct_marketing_travel"
IssuingCardAuthorizationControlsAllowedCategories'EnumDirectMarketingTravel :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "discount_stores"
IssuingCardAuthorizationControlsAllowedCategories'EnumDiscountStores :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "doctors"
IssuingCardAuthorizationControlsAllowedCategories'EnumDoctors :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "door_to_door_sales"
IssuingCardAuthorizationControlsAllowedCategories'EnumDoorToDoorSales :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value
-- "drapery_window_covering_and_upholstery_stores"
IssuingCardAuthorizationControlsAllowedCategories'EnumDraperyWindowCoveringAndUpholsteryStores :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "drinking_places"
IssuingCardAuthorizationControlsAllowedCategories'EnumDrinkingPlaces :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "drug_stores_and_pharmacies"
IssuingCardAuthorizationControlsAllowedCategories'EnumDrugStoresAndPharmacies :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value
-- "drugs_drug_proprietaries_and_druggist_sundries"
IssuingCardAuthorizationControlsAllowedCategories'EnumDrugsDrugProprietariesAndDruggistSundries :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "dry_cleaners"
IssuingCardAuthorizationControlsAllowedCategories'EnumDryCleaners :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "durable_goods"
IssuingCardAuthorizationControlsAllowedCategories'EnumDurableGoods :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "duty_free_stores"
IssuingCardAuthorizationControlsAllowedCategories'EnumDutyFreeStores :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "eating_places_restaurants"
IssuingCardAuthorizationControlsAllowedCategories'EnumEatingPlacesRestaurants :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "educational_services"
IssuingCardAuthorizationControlsAllowedCategories'EnumEducationalServices :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "electric_razor_stores"
IssuingCardAuthorizationControlsAllowedCategories'EnumElectricRazorStores :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "electrical_parts_and_equipment"
IssuingCardAuthorizationControlsAllowedCategories'EnumElectricalPartsAndEquipment :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "electrical_services"
IssuingCardAuthorizationControlsAllowedCategories'EnumElectricalServices :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "electronics_repair_shops"
IssuingCardAuthorizationControlsAllowedCategories'EnumElectronicsRepairShops :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "electronics_stores"
IssuingCardAuthorizationControlsAllowedCategories'EnumElectronicsStores :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "elementary_secondary_schools"
IssuingCardAuthorizationControlsAllowedCategories'EnumElementarySecondarySchools :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "employment_temp_agencies"
IssuingCardAuthorizationControlsAllowedCategories'EnumEmploymentTempAgencies :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "equipment_rental"
IssuingCardAuthorizationControlsAllowedCategories'EnumEquipmentRental :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "exterminating_services"
IssuingCardAuthorizationControlsAllowedCategories'EnumExterminatingServices :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "family_clothing_stores"
IssuingCardAuthorizationControlsAllowedCategories'EnumFamilyClothingStores :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "fast_food_restaurants"
IssuingCardAuthorizationControlsAllowedCategories'EnumFastFoodRestaurants :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "financial_institutions"
IssuingCardAuthorizationControlsAllowedCategories'EnumFinancialInstitutions :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value
-- "fines_government_administrative_entities"
IssuingCardAuthorizationControlsAllowedCategories'EnumFinesGovernmentAdministrativeEntities :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value
-- "fireplace_fireplace_screens_and_accessories_stores"
IssuingCardAuthorizationControlsAllowedCategories'EnumFireplaceFireplaceScreensAndAccessoriesStores :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "floor_covering_stores"
IssuingCardAuthorizationControlsAllowedCategories'EnumFloorCoveringStores :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "florists"
IssuingCardAuthorizationControlsAllowedCategories'EnumFlorists :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value
-- "florists_supplies_nursery_stock_and_flowers"
IssuingCardAuthorizationControlsAllowedCategories'EnumFloristsSuppliesNurseryStockAndFlowers :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value
-- "freezer_and_locker_meat_provisioners"
IssuingCardAuthorizationControlsAllowedCategories'EnumFreezerAndLockerMeatProvisioners :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "fuel_dealers_non_automotive"
IssuingCardAuthorizationControlsAllowedCategories'EnumFuelDealersNonAutomotive :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "funeral_services_crematories"
IssuingCardAuthorizationControlsAllowedCategories'EnumFuneralServicesCrematories :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value
-- "furniture_home_furnishings_and_equipment_stores_except_appliances"
IssuingCardAuthorizationControlsAllowedCategories'EnumFurnitureHomeFurnishingsAndEquipmentStoresExceptAppliances :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "furniture_repair_refinishing"
IssuingCardAuthorizationControlsAllowedCategories'EnumFurnitureRepairRefinishing :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "furriers_and_fur_shops"
IssuingCardAuthorizationControlsAllowedCategories'EnumFurriersAndFurShops :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "general_services"
IssuingCardAuthorizationControlsAllowedCategories'EnumGeneralServices :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value
-- "gift_card_novelty_and_souvenir_shops"
IssuingCardAuthorizationControlsAllowedCategories'EnumGiftCardNoveltyAndSouvenirShops :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "glass_paint_and_wallpaper_stores"
IssuingCardAuthorizationControlsAllowedCategories'EnumGlassPaintAndWallpaperStores :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "glassware_crystal_stores"
IssuingCardAuthorizationControlsAllowedCategories'EnumGlasswareCrystalStores :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "golf_courses_public"
IssuingCardAuthorizationControlsAllowedCategories'EnumGolfCoursesPublic :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "government_services"
IssuingCardAuthorizationControlsAllowedCategories'EnumGovernmentServices :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "grocery_stores_supermarkets"
IssuingCardAuthorizationControlsAllowedCategories'EnumGroceryStoresSupermarkets :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "hardware_equipment_and_supplies"
IssuingCardAuthorizationControlsAllowedCategories'EnumHardwareEquipmentAndSupplies :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "hardware_stores"
IssuingCardAuthorizationControlsAllowedCategories'EnumHardwareStores :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "health_and_beauty_spas"
IssuingCardAuthorizationControlsAllowedCategories'EnumHealthAndBeautySpas :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "hearing_aids_sales_and_supplies"
IssuingCardAuthorizationControlsAllowedCategories'EnumHearingAidsSalesAndSupplies :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "heating_plumbing_a_c"
IssuingCardAuthorizationControlsAllowedCategories'EnumHeatingPlumbingAC :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "hobby_toy_and_game_shops"
IssuingCardAuthorizationControlsAllowedCategories'EnumHobbyToyAndGameShops :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "home_supply_warehouse_stores"
IssuingCardAuthorizationControlsAllowedCategories'EnumHomeSupplyWarehouseStores :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "hospitals"
IssuingCardAuthorizationControlsAllowedCategories'EnumHospitals :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "hotels_motels_and_resorts"
IssuingCardAuthorizationControlsAllowedCategories'EnumHotelsMotelsAndResorts :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "household_appliance_stores"
IssuingCardAuthorizationControlsAllowedCategories'EnumHouseholdApplianceStores :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "industrial_supplies"
IssuingCardAuthorizationControlsAllowedCategories'EnumIndustrialSupplies :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "information_retrieval_services"
IssuingCardAuthorizationControlsAllowedCategories'EnumInformationRetrievalServices :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "insurance_default"
IssuingCardAuthorizationControlsAllowedCategories'EnumInsuranceDefault :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "insurance_underwriting_premiums"
IssuingCardAuthorizationControlsAllowedCategories'EnumInsuranceUnderwritingPremiums :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "intra_company_purchases"
IssuingCardAuthorizationControlsAllowedCategories'EnumIntraCompanyPurchases :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value
-- "jewelry_stores_watches_clocks_and_silverware_stores"
IssuingCardAuthorizationControlsAllowedCategories'EnumJewelryStoresWatchesClocksAndSilverwareStores :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "landscaping_services"
IssuingCardAuthorizationControlsAllowedCategories'EnumLandscapingServices :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "laundries"
IssuingCardAuthorizationControlsAllowedCategories'EnumLaundries :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "laundry_cleaning_services"
IssuingCardAuthorizationControlsAllowedCategories'EnumLaundryCleaningServices :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "legal_services_attorneys"
IssuingCardAuthorizationControlsAllowedCategories'EnumLegalServicesAttorneys :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "luggage_and_leather_goods_stores"
IssuingCardAuthorizationControlsAllowedCategories'EnumLuggageAndLeatherGoodsStores :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "lumber_building_materials_stores"
IssuingCardAuthorizationControlsAllowedCategories'EnumLumberBuildingMaterialsStores :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "manual_cash_disburse"
IssuingCardAuthorizationControlsAllowedCategories'EnumManualCashDisburse :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "marinas_service_and_supplies"
IssuingCardAuthorizationControlsAllowedCategories'EnumMarinasServiceAndSupplies :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "masonry_stonework_and_plaster"
IssuingCardAuthorizationControlsAllowedCategories'EnumMasonryStoneworkAndPlaster :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "massage_parlors"
IssuingCardAuthorizationControlsAllowedCategories'EnumMassageParlors :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "medical_and_dental_labs"
IssuingCardAuthorizationControlsAllowedCategories'EnumMedicalAndDentalLabs :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value
-- "medical_dental_ophthalmic_and_hospital_equipment_and_supplies"
IssuingCardAuthorizationControlsAllowedCategories'EnumMedicalDentalOphthalmicAndHospitalEquipmentAndSupplies :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "medical_services"
IssuingCardAuthorizationControlsAllowedCategories'EnumMedicalServices :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "membership_organizations"
IssuingCardAuthorizationControlsAllowedCategories'EnumMembershipOrganizations :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value
-- "mens_and_boys_clothing_and_accessories_stores"
IssuingCardAuthorizationControlsAllowedCategories'EnumMensAndBoysClothingAndAccessoriesStores :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "mens_womens_clothing_stores"
IssuingCardAuthorizationControlsAllowedCategories'EnumMensWomensClothingStores :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "metal_service_centers"
IssuingCardAuthorizationControlsAllowedCategories'EnumMetalServiceCenters :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "miscellaneous"
IssuingCardAuthorizationControlsAllowedCategories'EnumMiscellaneous :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value
-- "miscellaneous_apparel_and_accessory_shops"
IssuingCardAuthorizationControlsAllowedCategories'EnumMiscellaneousApparelAndAccessoryShops :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "miscellaneous_auto_dealers"
IssuingCardAuthorizationControlsAllowedCategories'EnumMiscellaneousAutoDealers :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "miscellaneous_business_services"
IssuingCardAuthorizationControlsAllowedCategories'EnumMiscellaneousBusinessServices :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "miscellaneous_food_stores"
IssuingCardAuthorizationControlsAllowedCategories'EnumMiscellaneousFoodStores :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "miscellaneous_general_merchandise"
IssuingCardAuthorizationControlsAllowedCategories'EnumMiscellaneousGeneralMerchandise :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "miscellaneous_general_services"
IssuingCardAuthorizationControlsAllowedCategories'EnumMiscellaneousGeneralServices :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value
-- "miscellaneous_home_furnishing_specialty_stores"
IssuingCardAuthorizationControlsAllowedCategories'EnumMiscellaneousHomeFurnishingSpecialtyStores :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value
-- "miscellaneous_publishing_and_printing"
IssuingCardAuthorizationControlsAllowedCategories'EnumMiscellaneousPublishingAndPrinting :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "miscellaneous_recreation_services"
IssuingCardAuthorizationControlsAllowedCategories'EnumMiscellaneousRecreationServices :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "miscellaneous_repair_shops"
IssuingCardAuthorizationControlsAllowedCategories'EnumMiscellaneousRepairShops :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "miscellaneous_specialty_retail"
IssuingCardAuthorizationControlsAllowedCategories'EnumMiscellaneousSpecialtyRetail :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "mobile_home_dealers"
IssuingCardAuthorizationControlsAllowedCategories'EnumMobileHomeDealers :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "motion_picture_theaters"
IssuingCardAuthorizationControlsAllowedCategories'EnumMotionPictureTheaters :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value
-- "motor_freight_carriers_and_trucking"
IssuingCardAuthorizationControlsAllowedCategories'EnumMotorFreightCarriersAndTrucking :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "motor_homes_dealers"
IssuingCardAuthorizationControlsAllowedCategories'EnumMotorHomesDealers :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value
-- "motor_vehicle_supplies_and_new_parts"
IssuingCardAuthorizationControlsAllowedCategories'EnumMotorVehicleSuppliesAndNewParts :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "motorcycle_shops_and_dealers"
IssuingCardAuthorizationControlsAllowedCategories'EnumMotorcycleShopsAndDealers :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "motorcycle_shops_dealers"
IssuingCardAuthorizationControlsAllowedCategories'EnumMotorcycleShopsDealers :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value
-- "music_stores_musical_instruments_pianos_and_sheet_music"
IssuingCardAuthorizationControlsAllowedCategories'EnumMusicStoresMusicalInstrumentsPianosAndSheetMusic :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "news_dealers_and_newsstands"
IssuingCardAuthorizationControlsAllowedCategories'EnumNewsDealersAndNewsstands :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "non_fi_money_orders"
IssuingCardAuthorizationControlsAllowedCategories'EnumNonFiMoneyOrders :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value
-- "non_fi_stored_value_card_purchase_load"
IssuingCardAuthorizationControlsAllowedCategories'EnumNonFiStoredValueCardPurchaseLoad :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "nondurable_goods"
IssuingCardAuthorizationControlsAllowedCategories'EnumNondurableGoods :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value
-- "nurseries_lawn_and_garden_supply_stores"
IssuingCardAuthorizationControlsAllowedCategories'EnumNurseriesLawnAndGardenSupplyStores :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "nursing_personal_care"
IssuingCardAuthorizationControlsAllowedCategories'EnumNursingPersonalCare :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "office_and_commercial_furniture"
IssuingCardAuthorizationControlsAllowedCategories'EnumOfficeAndCommercialFurniture :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "opticians_eyeglasses"
IssuingCardAuthorizationControlsAllowedCategories'EnumOpticiansEyeglasses :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "optometrists_ophthalmologist"
IssuingCardAuthorizationControlsAllowedCategories'EnumOptometristsOphthalmologist :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value
-- "orthopedic_goods_prosthetic_devices"
IssuingCardAuthorizationControlsAllowedCategories'EnumOrthopedicGoodsProstheticDevices :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "osteopaths"
IssuingCardAuthorizationControlsAllowedCategories'EnumOsteopaths :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value
-- "package_stores_beer_wine_and_liquor"
IssuingCardAuthorizationControlsAllowedCategories'EnumPackageStoresBeerWineAndLiquor :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "paints_varnishes_and_supplies"
IssuingCardAuthorizationControlsAllowedCategories'EnumPaintsVarnishesAndSupplies :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "parking_lots_garages"
IssuingCardAuthorizationControlsAllowedCategories'EnumParkingLotsGarages :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "passenger_railways"
IssuingCardAuthorizationControlsAllowedCategories'EnumPassengerRailways :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "pawn_shops"
IssuingCardAuthorizationControlsAllowedCategories'EnumPawnShops :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "pet_shops_pet_food_and_supplies"
IssuingCardAuthorizationControlsAllowedCategories'EnumPetShopsPetFoodAndSupplies :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "petroleum_and_petroleum_products"
IssuingCardAuthorizationControlsAllowedCategories'EnumPetroleumAndPetroleumProducts :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "photo_developing"
IssuingCardAuthorizationControlsAllowedCategories'EnumPhotoDeveloping :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value
-- "photographic_photocopy_microfilm_equipment_and_supplies"
IssuingCardAuthorizationControlsAllowedCategories'EnumPhotographicPhotocopyMicrofilmEquipmentAndSupplies :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "photographic_studios"
IssuingCardAuthorizationControlsAllowedCategories'EnumPhotographicStudios :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "picture_video_production"
IssuingCardAuthorizationControlsAllowedCategories'EnumPictureVideoProduction :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value
-- "piece_goods_notions_and_other_dry_goods"
IssuingCardAuthorizationControlsAllowedCategories'EnumPieceGoodsNotionsAndOtherDryGoods :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value
-- "plumbing_heating_equipment_and_supplies"
IssuingCardAuthorizationControlsAllowedCategories'EnumPlumbingHeatingEquipmentAndSupplies :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "political_organizations"
IssuingCardAuthorizationControlsAllowedCategories'EnumPoliticalOrganizations :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "postal_services_government_only"
IssuingCardAuthorizationControlsAllowedCategories'EnumPostalServicesGovernmentOnly :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value
-- "precious_stones_and_metals_watches_and_jewelry"
IssuingCardAuthorizationControlsAllowedCategories'EnumPreciousStonesAndMetalsWatchesAndJewelry :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "professional_services"
IssuingCardAuthorizationControlsAllowedCategories'EnumProfessionalServices :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "public_warehousing_and_storage"
IssuingCardAuthorizationControlsAllowedCategories'EnumPublicWarehousingAndStorage :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "quick_copy_repro_and_blueprint"
IssuingCardAuthorizationControlsAllowedCategories'EnumQuickCopyReproAndBlueprint :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "railroads"
IssuingCardAuthorizationControlsAllowedCategories'EnumRailroads :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value
-- "real_estate_agents_and_managers_rentals"
IssuingCardAuthorizationControlsAllowedCategories'EnumRealEstateAgentsAndManagersRentals :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "record_stores"
IssuingCardAuthorizationControlsAllowedCategories'EnumRecordStores :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "recreational_vehicle_rentals"
IssuingCardAuthorizationControlsAllowedCategories'EnumRecreationalVehicleRentals :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "religious_goods_stores"
IssuingCardAuthorizationControlsAllowedCategories'EnumReligiousGoodsStores :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "religious_organizations"
IssuingCardAuthorizationControlsAllowedCategories'EnumReligiousOrganizations :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "roofing_siding_sheet_metal"
IssuingCardAuthorizationControlsAllowedCategories'EnumRoofingSidingSheetMetal :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "secretarial_support_services"
IssuingCardAuthorizationControlsAllowedCategories'EnumSecretarialSupportServices :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "security_brokers_dealers"
IssuingCardAuthorizationControlsAllowedCategories'EnumSecurityBrokersDealers :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "service_stations"
IssuingCardAuthorizationControlsAllowedCategories'EnumServiceStations :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value
-- "sewing_needlework_fabric_and_piece_goods_stores"
IssuingCardAuthorizationControlsAllowedCategories'EnumSewingNeedleworkFabricAndPieceGoodsStores :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "shoe_repair_hat_cleaning"
IssuingCardAuthorizationControlsAllowedCategories'EnumShoeRepairHatCleaning :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "shoe_stores"
IssuingCardAuthorizationControlsAllowedCategories'EnumShoeStores :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "small_appliance_repair"
IssuingCardAuthorizationControlsAllowedCategories'EnumSmallApplianceRepair :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "snowmobile_dealers"
IssuingCardAuthorizationControlsAllowedCategories'EnumSnowmobileDealers :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "special_trade_services"
IssuingCardAuthorizationControlsAllowedCategories'EnumSpecialTradeServices :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "specialty_cleaning"
IssuingCardAuthorizationControlsAllowedCategories'EnumSpecialtyCleaning :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "sporting_goods_stores"
IssuingCardAuthorizationControlsAllowedCategories'EnumSportingGoodsStores :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "sporting_recreation_camps"
IssuingCardAuthorizationControlsAllowedCategories'EnumSportingRecreationCamps :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "sports_and_riding_apparel_stores"
IssuingCardAuthorizationControlsAllowedCategories'EnumSportsAndRidingApparelStores :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "sports_clubs_fields"
IssuingCardAuthorizationControlsAllowedCategories'EnumSportsClubsFields :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "stamp_and_coin_stores"
IssuingCardAuthorizationControlsAllowedCategories'EnumStampAndCoinStores :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value
-- "stationary_office_supplies_printing_and_writing_paper"
IssuingCardAuthorizationControlsAllowedCategories'EnumStationaryOfficeSuppliesPrintingAndWritingPaper :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value
-- "stationery_stores_office_and_school_supply_stores"
IssuingCardAuthorizationControlsAllowedCategories'EnumStationeryStoresOfficeAndSchoolSupplyStores :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "swimming_pools_sales"
IssuingCardAuthorizationControlsAllowedCategories'EnumSwimmingPoolsSales :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "t_ui_travel_germany"
IssuingCardAuthorizationControlsAllowedCategories'EnumTUiTravelGermany :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "tailors_alterations"
IssuingCardAuthorizationControlsAllowedCategories'EnumTailorsAlterations :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "tax_payments_government_agencies"
IssuingCardAuthorizationControlsAllowedCategories'EnumTaxPaymentsGovernmentAgencies :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "tax_preparation_services"
IssuingCardAuthorizationControlsAllowedCategories'EnumTaxPreparationServices :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "taxicabs_limousines"
IssuingCardAuthorizationControlsAllowedCategories'EnumTaxicabsLimousines :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value
-- "telecommunication_equipment_and_telephone_sales"
IssuingCardAuthorizationControlsAllowedCategories'EnumTelecommunicationEquipmentAndTelephoneSales :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "telecommunication_services"
IssuingCardAuthorizationControlsAllowedCategories'EnumTelecommunicationServices :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "telegraph_services"
IssuingCardAuthorizationControlsAllowedCategories'EnumTelegraphServices :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "tent_and_awning_shops"
IssuingCardAuthorizationControlsAllowedCategories'EnumTentAndAwningShops :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "testing_laboratories"
IssuingCardAuthorizationControlsAllowedCategories'EnumTestingLaboratories :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "theatrical_ticket_agencies"
IssuingCardAuthorizationControlsAllowedCategories'EnumTheatricalTicketAgencies :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "timeshares"
IssuingCardAuthorizationControlsAllowedCategories'EnumTimeshares :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "tire_retreading_and_repair"
IssuingCardAuthorizationControlsAllowedCategories'EnumTireRetreadingAndRepair :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "tolls_bridge_fees"
IssuingCardAuthorizationControlsAllowedCategories'EnumTollsBridgeFees :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "tourist_attractions_and_exhibits"
IssuingCardAuthorizationControlsAllowedCategories'EnumTouristAttractionsAndExhibits :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "towing_services"
IssuingCardAuthorizationControlsAllowedCategories'EnumTowingServices :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "trailer_parks_campgrounds"
IssuingCardAuthorizationControlsAllowedCategories'EnumTrailerParksCampgrounds :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "transportation_services"
IssuingCardAuthorizationControlsAllowedCategories'EnumTransportationServices :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "travel_agencies_tour_operators"
IssuingCardAuthorizationControlsAllowedCategories'EnumTravelAgenciesTourOperators :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "truck_stop_iteration"
IssuingCardAuthorizationControlsAllowedCategories'EnumTruckStopIteration :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "truck_utility_trailer_rentals"
IssuingCardAuthorizationControlsAllowedCategories'EnumTruckUtilityTrailerRentals :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value
-- "typesetting_plate_making_and_related_services"
IssuingCardAuthorizationControlsAllowedCategories'EnumTypesettingPlateMakingAndRelatedServices :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "typewriter_stores"
IssuingCardAuthorizationControlsAllowedCategories'EnumTypewriterStores :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value
-- "u_s_federal_government_agencies_or_departments"
IssuingCardAuthorizationControlsAllowedCategories'EnumUSFederalGovernmentAgenciesOrDepartments :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "uniforms_commercial_clothing"
IssuingCardAuthorizationControlsAllowedCategories'EnumUniformsCommercialClothing :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value
-- "used_merchandise_and_secondhand_stores"
IssuingCardAuthorizationControlsAllowedCategories'EnumUsedMerchandiseAndSecondhandStores :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "utilities"
IssuingCardAuthorizationControlsAllowedCategories'EnumUtilities :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "variety_stores"
IssuingCardAuthorizationControlsAllowedCategories'EnumVarietyStores :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "veterinary_services"
IssuingCardAuthorizationControlsAllowedCategories'EnumVeterinaryServices :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "video_amusement_game_supplies"
IssuingCardAuthorizationControlsAllowedCategories'EnumVideoAmusementGameSupplies :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "video_game_arcades"
IssuingCardAuthorizationControlsAllowedCategories'EnumVideoGameArcades :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "video_tape_rental_stores"
IssuingCardAuthorizationControlsAllowedCategories'EnumVideoTapeRentalStores :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "vocational_trade_schools"
IssuingCardAuthorizationControlsAllowedCategories'EnumVocationalTradeSchools :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "watch_jewelry_repair"
IssuingCardAuthorizationControlsAllowedCategories'EnumWatchJewelryRepair :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "welding_repair"
IssuingCardAuthorizationControlsAllowedCategories'EnumWeldingRepair :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "wholesale_clubs"
IssuingCardAuthorizationControlsAllowedCategories'EnumWholesaleClubs :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "wig_and_toupee_stores"
IssuingCardAuthorizationControlsAllowedCategories'EnumWigAndToupeeStores :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "wires_money_orders"
IssuingCardAuthorizationControlsAllowedCategories'EnumWiresMoneyOrders :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value
-- "womens_accessory_and_specialty_shops"
IssuingCardAuthorizationControlsAllowedCategories'EnumWomensAccessoryAndSpecialtyShops :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "womens_ready_to_wear_stores"
IssuingCardAuthorizationControlsAllowedCategories'EnumWomensReadyToWearStores :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "wrecking_and_salvage_yards"
IssuingCardAuthorizationControlsAllowedCategories'EnumWreckingAndSalvageYards :: IssuingCardAuthorizationControlsAllowedCategories'
-- | Defines the enum schema located at
-- components.schemas.issuing_card_authorization_controls.properties.blocked_categories.items
-- in the specification.
data IssuingCardAuthorizationControlsBlockedCategories'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
IssuingCardAuthorizationControlsBlockedCategories'Other :: Value -> IssuingCardAuthorizationControlsBlockedCategories'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
IssuingCardAuthorizationControlsBlockedCategories'Typed :: Text -> IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "ac_refrigeration_repair"
IssuingCardAuthorizationControlsBlockedCategories'EnumAcRefrigerationRepair :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "accounting_bookkeeping_services"
IssuingCardAuthorizationControlsBlockedCategories'EnumAccountingBookkeepingServices :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "advertising_services"
IssuingCardAuthorizationControlsBlockedCategories'EnumAdvertisingServices :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "agricultural_cooperative"
IssuingCardAuthorizationControlsBlockedCategories'EnumAgriculturalCooperative :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "airlines_air_carriers"
IssuingCardAuthorizationControlsBlockedCategories'EnumAirlinesAirCarriers :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "airports_flying_fields"
IssuingCardAuthorizationControlsBlockedCategories'EnumAirportsFlyingFields :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "ambulance_services"
IssuingCardAuthorizationControlsBlockedCategories'EnumAmbulanceServices :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "amusement_parks_carnivals"
IssuingCardAuthorizationControlsBlockedCategories'EnumAmusementParksCarnivals :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "antique_reproductions"
IssuingCardAuthorizationControlsBlockedCategories'EnumAntiqueReproductions :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "antique_shops"
IssuingCardAuthorizationControlsBlockedCategories'EnumAntiqueShops :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "aquariums"
IssuingCardAuthorizationControlsBlockedCategories'EnumAquariums :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "architectural_surveying_services"
IssuingCardAuthorizationControlsBlockedCategories'EnumArchitecturalSurveyingServices :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "art_dealers_and_galleries"
IssuingCardAuthorizationControlsBlockedCategories'EnumArtDealersAndGalleries :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "artists_supply_and_craft_shops"
IssuingCardAuthorizationControlsBlockedCategories'EnumArtistsSupplyAndCraftShops :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "auto_and_home_supply_stores"
IssuingCardAuthorizationControlsBlockedCategories'EnumAutoAndHomeSupplyStores :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "auto_body_repair_shops"
IssuingCardAuthorizationControlsBlockedCategories'EnumAutoBodyRepairShops :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "auto_paint_shops"
IssuingCardAuthorizationControlsBlockedCategories'EnumAutoPaintShops :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "auto_service_shops"
IssuingCardAuthorizationControlsBlockedCategories'EnumAutoServiceShops :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "automated_cash_disburse"
IssuingCardAuthorizationControlsBlockedCategories'EnumAutomatedCashDisburse :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "automated_fuel_dispensers"
IssuingCardAuthorizationControlsBlockedCategories'EnumAutomatedFuelDispensers :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "automobile_associations"
IssuingCardAuthorizationControlsBlockedCategories'EnumAutomobileAssociations :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value
-- "automotive_parts_and_accessories_stores"
IssuingCardAuthorizationControlsBlockedCategories'EnumAutomotivePartsAndAccessoriesStores :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "automotive_tire_stores"
IssuingCardAuthorizationControlsBlockedCategories'EnumAutomotiveTireStores :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "bail_and_bond_payments"
IssuingCardAuthorizationControlsBlockedCategories'EnumBailAndBondPayments :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "bakeries"
IssuingCardAuthorizationControlsBlockedCategories'EnumBakeries :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "bands_orchestras"
IssuingCardAuthorizationControlsBlockedCategories'EnumBandsOrchestras :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "barber_and_beauty_shops"
IssuingCardAuthorizationControlsBlockedCategories'EnumBarberAndBeautyShops :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "betting_casino_gambling"
IssuingCardAuthorizationControlsBlockedCategories'EnumBettingCasinoGambling :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "bicycle_shops"
IssuingCardAuthorizationControlsBlockedCategories'EnumBicycleShops :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "billiard_pool_establishments"
IssuingCardAuthorizationControlsBlockedCategories'EnumBilliardPoolEstablishments :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "boat_dealers"
IssuingCardAuthorizationControlsBlockedCategories'EnumBoatDealers :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "boat_rentals_and_leases"
IssuingCardAuthorizationControlsBlockedCategories'EnumBoatRentalsAndLeases :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "book_stores"
IssuingCardAuthorizationControlsBlockedCategories'EnumBookStores :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "books_periodicals_and_newspapers"
IssuingCardAuthorizationControlsBlockedCategories'EnumBooksPeriodicalsAndNewspapers :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "bowling_alleys"
IssuingCardAuthorizationControlsBlockedCategories'EnumBowlingAlleys :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "bus_lines"
IssuingCardAuthorizationControlsBlockedCategories'EnumBusLines :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "business_secretarial_schools"
IssuingCardAuthorizationControlsBlockedCategories'EnumBusinessSecretarialSchools :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "buying_shopping_services"
IssuingCardAuthorizationControlsBlockedCategories'EnumBuyingShoppingServices :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value
-- "cable_satellite_and_other_pay_television_and_radio"
IssuingCardAuthorizationControlsBlockedCategories'EnumCableSatelliteAndOtherPayTelevisionAndRadio :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value
-- "camera_and_photographic_supply_stores"
IssuingCardAuthorizationControlsBlockedCategories'EnumCameraAndPhotographicSupplyStores :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value
-- "candy_nut_and_confectionery_stores"
IssuingCardAuthorizationControlsBlockedCategories'EnumCandyNutAndConfectioneryStores :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "car_and_truck_dealers_new_used"
IssuingCardAuthorizationControlsBlockedCategories'EnumCarAndTruckDealersNewUsed :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "car_and_truck_dealers_used_only"
IssuingCardAuthorizationControlsBlockedCategories'EnumCarAndTruckDealersUsedOnly :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "car_rental_agencies"
IssuingCardAuthorizationControlsBlockedCategories'EnumCarRentalAgencies :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "car_washes"
IssuingCardAuthorizationControlsBlockedCategories'EnumCarWashes :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "carpentry_services"
IssuingCardAuthorizationControlsBlockedCategories'EnumCarpentryServices :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "carpet_upholstery_cleaning"
IssuingCardAuthorizationControlsBlockedCategories'EnumCarpetUpholsteryCleaning :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "caterers"
IssuingCardAuthorizationControlsBlockedCategories'EnumCaterers :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value
-- "charitable_and_social_service_organizations_fundraising"
IssuingCardAuthorizationControlsBlockedCategories'EnumCharitableAndSocialServiceOrganizationsFundraising :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "chemicals_and_allied_products"
IssuingCardAuthorizationControlsBlockedCategories'EnumChemicalsAndAlliedProducts :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "child_care_services"
IssuingCardAuthorizationControlsBlockedCategories'EnumChildCareServices :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "childrens_and_infants_wear_stores"
IssuingCardAuthorizationControlsBlockedCategories'EnumChildrensAndInfantsWearStores :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "chiropodists_podiatrists"
IssuingCardAuthorizationControlsBlockedCategories'EnumChiropodistsPodiatrists :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "chiropractors"
IssuingCardAuthorizationControlsBlockedCategories'EnumChiropractors :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "cigar_stores_and_stands"
IssuingCardAuthorizationControlsBlockedCategories'EnumCigarStoresAndStands :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value
-- "civic_social_fraternal_associations"
IssuingCardAuthorizationControlsBlockedCategories'EnumCivicSocialFraternalAssociations :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "cleaning_and_maintenance"
IssuingCardAuthorizationControlsBlockedCategories'EnumCleaningAndMaintenance :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "clothing_rental"
IssuingCardAuthorizationControlsBlockedCategories'EnumClothingRental :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "colleges_universities"
IssuingCardAuthorizationControlsBlockedCategories'EnumCollegesUniversities :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "commercial_equipment"
IssuingCardAuthorizationControlsBlockedCategories'EnumCommercialEquipment :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "commercial_footwear"
IssuingCardAuthorizationControlsBlockedCategories'EnumCommercialFootwear :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value
-- "commercial_photography_art_and_graphics"
IssuingCardAuthorizationControlsBlockedCategories'EnumCommercialPhotographyArtAndGraphics :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "commuter_transport_and_ferries"
IssuingCardAuthorizationControlsBlockedCategories'EnumCommuterTransportAndFerries :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "computer_network_services"
IssuingCardAuthorizationControlsBlockedCategories'EnumComputerNetworkServices :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "computer_programming"
IssuingCardAuthorizationControlsBlockedCategories'EnumComputerProgramming :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "computer_repair"
IssuingCardAuthorizationControlsBlockedCategories'EnumComputerRepair :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "computer_software_stores"
IssuingCardAuthorizationControlsBlockedCategories'EnumComputerSoftwareStores :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value
-- "computers_peripherals_and_software"
IssuingCardAuthorizationControlsBlockedCategories'EnumComputersPeripheralsAndSoftware :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "concrete_work_services"
IssuingCardAuthorizationControlsBlockedCategories'EnumConcreteWorkServices :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "construction_materials"
IssuingCardAuthorizationControlsBlockedCategories'EnumConstructionMaterials :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "consulting_public_relations"
IssuingCardAuthorizationControlsBlockedCategories'EnumConsultingPublicRelations :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "correspondence_schools"
IssuingCardAuthorizationControlsBlockedCategories'EnumCorrespondenceSchools :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "cosmetic_stores"
IssuingCardAuthorizationControlsBlockedCategories'EnumCosmeticStores :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "counseling_services"
IssuingCardAuthorizationControlsBlockedCategories'EnumCounselingServices :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "country_clubs"
IssuingCardAuthorizationControlsBlockedCategories'EnumCountryClubs :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "courier_services"
IssuingCardAuthorizationControlsBlockedCategories'EnumCourierServices :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "court_costs"
IssuingCardAuthorizationControlsBlockedCategories'EnumCourtCosts :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "credit_reporting_agencies"
IssuingCardAuthorizationControlsBlockedCategories'EnumCreditReportingAgencies :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "cruise_lines"
IssuingCardAuthorizationControlsBlockedCategories'EnumCruiseLines :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "dairy_products_stores"
IssuingCardAuthorizationControlsBlockedCategories'EnumDairyProductsStores :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "dance_hall_studios_schools"
IssuingCardAuthorizationControlsBlockedCategories'EnumDanceHallStudiosSchools :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "dating_escort_services"
IssuingCardAuthorizationControlsBlockedCategories'EnumDatingEscortServices :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "dentists_orthodontists"
IssuingCardAuthorizationControlsBlockedCategories'EnumDentistsOrthodontists :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "department_stores"
IssuingCardAuthorizationControlsBlockedCategories'EnumDepartmentStores :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "detective_agencies"
IssuingCardAuthorizationControlsBlockedCategories'EnumDetectiveAgencies :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "digital_goods_applications"
IssuingCardAuthorizationControlsBlockedCategories'EnumDigitalGoodsApplications :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "digital_goods_games"
IssuingCardAuthorizationControlsBlockedCategories'EnumDigitalGoodsGames :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "digital_goods_large_volume"
IssuingCardAuthorizationControlsBlockedCategories'EnumDigitalGoodsLargeVolume :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "digital_goods_media"
IssuingCardAuthorizationControlsBlockedCategories'EnumDigitalGoodsMedia :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "direct_marketing_catalog_merchant"
IssuingCardAuthorizationControlsBlockedCategories'EnumDirectMarketingCatalogMerchant :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value
-- "direct_marketing_combination_catalog_and_retail_merchant"
IssuingCardAuthorizationControlsBlockedCategories'EnumDirectMarketingCombinationCatalogAndRetailMerchant :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value
-- "direct_marketing_inbound_telemarketing"
IssuingCardAuthorizationControlsBlockedCategories'EnumDirectMarketingInboundTelemarketing :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value
-- "direct_marketing_insurance_services"
IssuingCardAuthorizationControlsBlockedCategories'EnumDirectMarketingInsuranceServices :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "direct_marketing_other"
IssuingCardAuthorizationControlsBlockedCategories'EnumDirectMarketingOther :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value
-- "direct_marketing_outbound_telemarketing"
IssuingCardAuthorizationControlsBlockedCategories'EnumDirectMarketingOutboundTelemarketing :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "direct_marketing_subscription"
IssuingCardAuthorizationControlsBlockedCategories'EnumDirectMarketingSubscription :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "direct_marketing_travel"
IssuingCardAuthorizationControlsBlockedCategories'EnumDirectMarketingTravel :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "discount_stores"
IssuingCardAuthorizationControlsBlockedCategories'EnumDiscountStores :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "doctors"
IssuingCardAuthorizationControlsBlockedCategories'EnumDoctors :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "door_to_door_sales"
IssuingCardAuthorizationControlsBlockedCategories'EnumDoorToDoorSales :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value
-- "drapery_window_covering_and_upholstery_stores"
IssuingCardAuthorizationControlsBlockedCategories'EnumDraperyWindowCoveringAndUpholsteryStores :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "drinking_places"
IssuingCardAuthorizationControlsBlockedCategories'EnumDrinkingPlaces :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "drug_stores_and_pharmacies"
IssuingCardAuthorizationControlsBlockedCategories'EnumDrugStoresAndPharmacies :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value
-- "drugs_drug_proprietaries_and_druggist_sundries"
IssuingCardAuthorizationControlsBlockedCategories'EnumDrugsDrugProprietariesAndDruggistSundries :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "dry_cleaners"
IssuingCardAuthorizationControlsBlockedCategories'EnumDryCleaners :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "durable_goods"
IssuingCardAuthorizationControlsBlockedCategories'EnumDurableGoods :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "duty_free_stores"
IssuingCardAuthorizationControlsBlockedCategories'EnumDutyFreeStores :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "eating_places_restaurants"
IssuingCardAuthorizationControlsBlockedCategories'EnumEatingPlacesRestaurants :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "educational_services"
IssuingCardAuthorizationControlsBlockedCategories'EnumEducationalServices :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "electric_razor_stores"
IssuingCardAuthorizationControlsBlockedCategories'EnumElectricRazorStores :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "electrical_parts_and_equipment"
IssuingCardAuthorizationControlsBlockedCategories'EnumElectricalPartsAndEquipment :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "electrical_services"
IssuingCardAuthorizationControlsBlockedCategories'EnumElectricalServices :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "electronics_repair_shops"
IssuingCardAuthorizationControlsBlockedCategories'EnumElectronicsRepairShops :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "electronics_stores"
IssuingCardAuthorizationControlsBlockedCategories'EnumElectronicsStores :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "elementary_secondary_schools"
IssuingCardAuthorizationControlsBlockedCategories'EnumElementarySecondarySchools :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "employment_temp_agencies"
IssuingCardAuthorizationControlsBlockedCategories'EnumEmploymentTempAgencies :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "equipment_rental"
IssuingCardAuthorizationControlsBlockedCategories'EnumEquipmentRental :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "exterminating_services"
IssuingCardAuthorizationControlsBlockedCategories'EnumExterminatingServices :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "family_clothing_stores"
IssuingCardAuthorizationControlsBlockedCategories'EnumFamilyClothingStores :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "fast_food_restaurants"
IssuingCardAuthorizationControlsBlockedCategories'EnumFastFoodRestaurants :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "financial_institutions"
IssuingCardAuthorizationControlsBlockedCategories'EnumFinancialInstitutions :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value
-- "fines_government_administrative_entities"
IssuingCardAuthorizationControlsBlockedCategories'EnumFinesGovernmentAdministrativeEntities :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value
-- "fireplace_fireplace_screens_and_accessories_stores"
IssuingCardAuthorizationControlsBlockedCategories'EnumFireplaceFireplaceScreensAndAccessoriesStores :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "floor_covering_stores"
IssuingCardAuthorizationControlsBlockedCategories'EnumFloorCoveringStores :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "florists"
IssuingCardAuthorizationControlsBlockedCategories'EnumFlorists :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value
-- "florists_supplies_nursery_stock_and_flowers"
IssuingCardAuthorizationControlsBlockedCategories'EnumFloristsSuppliesNurseryStockAndFlowers :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value
-- "freezer_and_locker_meat_provisioners"
IssuingCardAuthorizationControlsBlockedCategories'EnumFreezerAndLockerMeatProvisioners :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "fuel_dealers_non_automotive"
IssuingCardAuthorizationControlsBlockedCategories'EnumFuelDealersNonAutomotive :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "funeral_services_crematories"
IssuingCardAuthorizationControlsBlockedCategories'EnumFuneralServicesCrematories :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value
-- "furniture_home_furnishings_and_equipment_stores_except_appliances"
IssuingCardAuthorizationControlsBlockedCategories'EnumFurnitureHomeFurnishingsAndEquipmentStoresExceptAppliances :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "furniture_repair_refinishing"
IssuingCardAuthorizationControlsBlockedCategories'EnumFurnitureRepairRefinishing :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "furriers_and_fur_shops"
IssuingCardAuthorizationControlsBlockedCategories'EnumFurriersAndFurShops :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "general_services"
IssuingCardAuthorizationControlsBlockedCategories'EnumGeneralServices :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value
-- "gift_card_novelty_and_souvenir_shops"
IssuingCardAuthorizationControlsBlockedCategories'EnumGiftCardNoveltyAndSouvenirShops :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "glass_paint_and_wallpaper_stores"
IssuingCardAuthorizationControlsBlockedCategories'EnumGlassPaintAndWallpaperStores :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "glassware_crystal_stores"
IssuingCardAuthorizationControlsBlockedCategories'EnumGlasswareCrystalStores :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "golf_courses_public"
IssuingCardAuthorizationControlsBlockedCategories'EnumGolfCoursesPublic :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "government_services"
IssuingCardAuthorizationControlsBlockedCategories'EnumGovernmentServices :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "grocery_stores_supermarkets"
IssuingCardAuthorizationControlsBlockedCategories'EnumGroceryStoresSupermarkets :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "hardware_equipment_and_supplies"
IssuingCardAuthorizationControlsBlockedCategories'EnumHardwareEquipmentAndSupplies :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "hardware_stores"
IssuingCardAuthorizationControlsBlockedCategories'EnumHardwareStores :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "health_and_beauty_spas"
IssuingCardAuthorizationControlsBlockedCategories'EnumHealthAndBeautySpas :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "hearing_aids_sales_and_supplies"
IssuingCardAuthorizationControlsBlockedCategories'EnumHearingAidsSalesAndSupplies :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "heating_plumbing_a_c"
IssuingCardAuthorizationControlsBlockedCategories'EnumHeatingPlumbingAC :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "hobby_toy_and_game_shops"
IssuingCardAuthorizationControlsBlockedCategories'EnumHobbyToyAndGameShops :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "home_supply_warehouse_stores"
IssuingCardAuthorizationControlsBlockedCategories'EnumHomeSupplyWarehouseStores :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "hospitals"
IssuingCardAuthorizationControlsBlockedCategories'EnumHospitals :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "hotels_motels_and_resorts"
IssuingCardAuthorizationControlsBlockedCategories'EnumHotelsMotelsAndResorts :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "household_appliance_stores"
IssuingCardAuthorizationControlsBlockedCategories'EnumHouseholdApplianceStores :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "industrial_supplies"
IssuingCardAuthorizationControlsBlockedCategories'EnumIndustrialSupplies :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "information_retrieval_services"
IssuingCardAuthorizationControlsBlockedCategories'EnumInformationRetrievalServices :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "insurance_default"
IssuingCardAuthorizationControlsBlockedCategories'EnumInsuranceDefault :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "insurance_underwriting_premiums"
IssuingCardAuthorizationControlsBlockedCategories'EnumInsuranceUnderwritingPremiums :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "intra_company_purchases"
IssuingCardAuthorizationControlsBlockedCategories'EnumIntraCompanyPurchases :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value
-- "jewelry_stores_watches_clocks_and_silverware_stores"
IssuingCardAuthorizationControlsBlockedCategories'EnumJewelryStoresWatchesClocksAndSilverwareStores :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "landscaping_services"
IssuingCardAuthorizationControlsBlockedCategories'EnumLandscapingServices :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "laundries"
IssuingCardAuthorizationControlsBlockedCategories'EnumLaundries :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "laundry_cleaning_services"
IssuingCardAuthorizationControlsBlockedCategories'EnumLaundryCleaningServices :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "legal_services_attorneys"
IssuingCardAuthorizationControlsBlockedCategories'EnumLegalServicesAttorneys :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "luggage_and_leather_goods_stores"
IssuingCardAuthorizationControlsBlockedCategories'EnumLuggageAndLeatherGoodsStores :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "lumber_building_materials_stores"
IssuingCardAuthorizationControlsBlockedCategories'EnumLumberBuildingMaterialsStores :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "manual_cash_disburse"
IssuingCardAuthorizationControlsBlockedCategories'EnumManualCashDisburse :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "marinas_service_and_supplies"
IssuingCardAuthorizationControlsBlockedCategories'EnumMarinasServiceAndSupplies :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "masonry_stonework_and_plaster"
IssuingCardAuthorizationControlsBlockedCategories'EnumMasonryStoneworkAndPlaster :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "massage_parlors"
IssuingCardAuthorizationControlsBlockedCategories'EnumMassageParlors :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "medical_and_dental_labs"
IssuingCardAuthorizationControlsBlockedCategories'EnumMedicalAndDentalLabs :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value
-- "medical_dental_ophthalmic_and_hospital_equipment_and_supplies"
IssuingCardAuthorizationControlsBlockedCategories'EnumMedicalDentalOphthalmicAndHospitalEquipmentAndSupplies :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "medical_services"
IssuingCardAuthorizationControlsBlockedCategories'EnumMedicalServices :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "membership_organizations"
IssuingCardAuthorizationControlsBlockedCategories'EnumMembershipOrganizations :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value
-- "mens_and_boys_clothing_and_accessories_stores"
IssuingCardAuthorizationControlsBlockedCategories'EnumMensAndBoysClothingAndAccessoriesStores :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "mens_womens_clothing_stores"
IssuingCardAuthorizationControlsBlockedCategories'EnumMensWomensClothingStores :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "metal_service_centers"
IssuingCardAuthorizationControlsBlockedCategories'EnumMetalServiceCenters :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "miscellaneous"
IssuingCardAuthorizationControlsBlockedCategories'EnumMiscellaneous :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value
-- "miscellaneous_apparel_and_accessory_shops"
IssuingCardAuthorizationControlsBlockedCategories'EnumMiscellaneousApparelAndAccessoryShops :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "miscellaneous_auto_dealers"
IssuingCardAuthorizationControlsBlockedCategories'EnumMiscellaneousAutoDealers :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "miscellaneous_business_services"
IssuingCardAuthorizationControlsBlockedCategories'EnumMiscellaneousBusinessServices :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "miscellaneous_food_stores"
IssuingCardAuthorizationControlsBlockedCategories'EnumMiscellaneousFoodStores :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "miscellaneous_general_merchandise"
IssuingCardAuthorizationControlsBlockedCategories'EnumMiscellaneousGeneralMerchandise :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "miscellaneous_general_services"
IssuingCardAuthorizationControlsBlockedCategories'EnumMiscellaneousGeneralServices :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value
-- "miscellaneous_home_furnishing_specialty_stores"
IssuingCardAuthorizationControlsBlockedCategories'EnumMiscellaneousHomeFurnishingSpecialtyStores :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value
-- "miscellaneous_publishing_and_printing"
IssuingCardAuthorizationControlsBlockedCategories'EnumMiscellaneousPublishingAndPrinting :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "miscellaneous_recreation_services"
IssuingCardAuthorizationControlsBlockedCategories'EnumMiscellaneousRecreationServices :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "miscellaneous_repair_shops"
IssuingCardAuthorizationControlsBlockedCategories'EnumMiscellaneousRepairShops :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "miscellaneous_specialty_retail"
IssuingCardAuthorizationControlsBlockedCategories'EnumMiscellaneousSpecialtyRetail :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "mobile_home_dealers"
IssuingCardAuthorizationControlsBlockedCategories'EnumMobileHomeDealers :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "motion_picture_theaters"
IssuingCardAuthorizationControlsBlockedCategories'EnumMotionPictureTheaters :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value
-- "motor_freight_carriers_and_trucking"
IssuingCardAuthorizationControlsBlockedCategories'EnumMotorFreightCarriersAndTrucking :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "motor_homes_dealers"
IssuingCardAuthorizationControlsBlockedCategories'EnumMotorHomesDealers :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value
-- "motor_vehicle_supplies_and_new_parts"
IssuingCardAuthorizationControlsBlockedCategories'EnumMotorVehicleSuppliesAndNewParts :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "motorcycle_shops_and_dealers"
IssuingCardAuthorizationControlsBlockedCategories'EnumMotorcycleShopsAndDealers :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "motorcycle_shops_dealers"
IssuingCardAuthorizationControlsBlockedCategories'EnumMotorcycleShopsDealers :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value
-- "music_stores_musical_instruments_pianos_and_sheet_music"
IssuingCardAuthorizationControlsBlockedCategories'EnumMusicStoresMusicalInstrumentsPianosAndSheetMusic :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "news_dealers_and_newsstands"
IssuingCardAuthorizationControlsBlockedCategories'EnumNewsDealersAndNewsstands :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "non_fi_money_orders"
IssuingCardAuthorizationControlsBlockedCategories'EnumNonFiMoneyOrders :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value
-- "non_fi_stored_value_card_purchase_load"
IssuingCardAuthorizationControlsBlockedCategories'EnumNonFiStoredValueCardPurchaseLoad :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "nondurable_goods"
IssuingCardAuthorizationControlsBlockedCategories'EnumNondurableGoods :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value
-- "nurseries_lawn_and_garden_supply_stores"
IssuingCardAuthorizationControlsBlockedCategories'EnumNurseriesLawnAndGardenSupplyStores :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "nursing_personal_care"
IssuingCardAuthorizationControlsBlockedCategories'EnumNursingPersonalCare :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "office_and_commercial_furniture"
IssuingCardAuthorizationControlsBlockedCategories'EnumOfficeAndCommercialFurniture :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "opticians_eyeglasses"
IssuingCardAuthorizationControlsBlockedCategories'EnumOpticiansEyeglasses :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "optometrists_ophthalmologist"
IssuingCardAuthorizationControlsBlockedCategories'EnumOptometristsOphthalmologist :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value
-- "orthopedic_goods_prosthetic_devices"
IssuingCardAuthorizationControlsBlockedCategories'EnumOrthopedicGoodsProstheticDevices :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "osteopaths"
IssuingCardAuthorizationControlsBlockedCategories'EnumOsteopaths :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value
-- "package_stores_beer_wine_and_liquor"
IssuingCardAuthorizationControlsBlockedCategories'EnumPackageStoresBeerWineAndLiquor :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "paints_varnishes_and_supplies"
IssuingCardAuthorizationControlsBlockedCategories'EnumPaintsVarnishesAndSupplies :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "parking_lots_garages"
IssuingCardAuthorizationControlsBlockedCategories'EnumParkingLotsGarages :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "passenger_railways"
IssuingCardAuthorizationControlsBlockedCategories'EnumPassengerRailways :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "pawn_shops"
IssuingCardAuthorizationControlsBlockedCategories'EnumPawnShops :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "pet_shops_pet_food_and_supplies"
IssuingCardAuthorizationControlsBlockedCategories'EnumPetShopsPetFoodAndSupplies :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "petroleum_and_petroleum_products"
IssuingCardAuthorizationControlsBlockedCategories'EnumPetroleumAndPetroleumProducts :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "photo_developing"
IssuingCardAuthorizationControlsBlockedCategories'EnumPhotoDeveloping :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value
-- "photographic_photocopy_microfilm_equipment_and_supplies"
IssuingCardAuthorizationControlsBlockedCategories'EnumPhotographicPhotocopyMicrofilmEquipmentAndSupplies :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "photographic_studios"
IssuingCardAuthorizationControlsBlockedCategories'EnumPhotographicStudios :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "picture_video_production"
IssuingCardAuthorizationControlsBlockedCategories'EnumPictureVideoProduction :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value
-- "piece_goods_notions_and_other_dry_goods"
IssuingCardAuthorizationControlsBlockedCategories'EnumPieceGoodsNotionsAndOtherDryGoods :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value
-- "plumbing_heating_equipment_and_supplies"
IssuingCardAuthorizationControlsBlockedCategories'EnumPlumbingHeatingEquipmentAndSupplies :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "political_organizations"
IssuingCardAuthorizationControlsBlockedCategories'EnumPoliticalOrganizations :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "postal_services_government_only"
IssuingCardAuthorizationControlsBlockedCategories'EnumPostalServicesGovernmentOnly :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value
-- "precious_stones_and_metals_watches_and_jewelry"
IssuingCardAuthorizationControlsBlockedCategories'EnumPreciousStonesAndMetalsWatchesAndJewelry :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "professional_services"
IssuingCardAuthorizationControlsBlockedCategories'EnumProfessionalServices :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "public_warehousing_and_storage"
IssuingCardAuthorizationControlsBlockedCategories'EnumPublicWarehousingAndStorage :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "quick_copy_repro_and_blueprint"
IssuingCardAuthorizationControlsBlockedCategories'EnumQuickCopyReproAndBlueprint :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "railroads"
IssuingCardAuthorizationControlsBlockedCategories'EnumRailroads :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value
-- "real_estate_agents_and_managers_rentals"
IssuingCardAuthorizationControlsBlockedCategories'EnumRealEstateAgentsAndManagersRentals :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "record_stores"
IssuingCardAuthorizationControlsBlockedCategories'EnumRecordStores :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "recreational_vehicle_rentals"
IssuingCardAuthorizationControlsBlockedCategories'EnumRecreationalVehicleRentals :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "religious_goods_stores"
IssuingCardAuthorizationControlsBlockedCategories'EnumReligiousGoodsStores :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "religious_organizations"
IssuingCardAuthorizationControlsBlockedCategories'EnumReligiousOrganizations :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "roofing_siding_sheet_metal"
IssuingCardAuthorizationControlsBlockedCategories'EnumRoofingSidingSheetMetal :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "secretarial_support_services"
IssuingCardAuthorizationControlsBlockedCategories'EnumSecretarialSupportServices :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "security_brokers_dealers"
IssuingCardAuthorizationControlsBlockedCategories'EnumSecurityBrokersDealers :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "service_stations"
IssuingCardAuthorizationControlsBlockedCategories'EnumServiceStations :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value
-- "sewing_needlework_fabric_and_piece_goods_stores"
IssuingCardAuthorizationControlsBlockedCategories'EnumSewingNeedleworkFabricAndPieceGoodsStores :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "shoe_repair_hat_cleaning"
IssuingCardAuthorizationControlsBlockedCategories'EnumShoeRepairHatCleaning :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "shoe_stores"
IssuingCardAuthorizationControlsBlockedCategories'EnumShoeStores :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "small_appliance_repair"
IssuingCardAuthorizationControlsBlockedCategories'EnumSmallApplianceRepair :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "snowmobile_dealers"
IssuingCardAuthorizationControlsBlockedCategories'EnumSnowmobileDealers :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "special_trade_services"
IssuingCardAuthorizationControlsBlockedCategories'EnumSpecialTradeServices :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "specialty_cleaning"
IssuingCardAuthorizationControlsBlockedCategories'EnumSpecialtyCleaning :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "sporting_goods_stores"
IssuingCardAuthorizationControlsBlockedCategories'EnumSportingGoodsStores :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "sporting_recreation_camps"
IssuingCardAuthorizationControlsBlockedCategories'EnumSportingRecreationCamps :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "sports_and_riding_apparel_stores"
IssuingCardAuthorizationControlsBlockedCategories'EnumSportsAndRidingApparelStores :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "sports_clubs_fields"
IssuingCardAuthorizationControlsBlockedCategories'EnumSportsClubsFields :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "stamp_and_coin_stores"
IssuingCardAuthorizationControlsBlockedCategories'EnumStampAndCoinStores :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value
-- "stationary_office_supplies_printing_and_writing_paper"
IssuingCardAuthorizationControlsBlockedCategories'EnumStationaryOfficeSuppliesPrintingAndWritingPaper :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value
-- "stationery_stores_office_and_school_supply_stores"
IssuingCardAuthorizationControlsBlockedCategories'EnumStationeryStoresOfficeAndSchoolSupplyStores :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "swimming_pools_sales"
IssuingCardAuthorizationControlsBlockedCategories'EnumSwimmingPoolsSales :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "t_ui_travel_germany"
IssuingCardAuthorizationControlsBlockedCategories'EnumTUiTravelGermany :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "tailors_alterations"
IssuingCardAuthorizationControlsBlockedCategories'EnumTailorsAlterations :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "tax_payments_government_agencies"
IssuingCardAuthorizationControlsBlockedCategories'EnumTaxPaymentsGovernmentAgencies :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "tax_preparation_services"
IssuingCardAuthorizationControlsBlockedCategories'EnumTaxPreparationServices :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "taxicabs_limousines"
IssuingCardAuthorizationControlsBlockedCategories'EnumTaxicabsLimousines :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value
-- "telecommunication_equipment_and_telephone_sales"
IssuingCardAuthorizationControlsBlockedCategories'EnumTelecommunicationEquipmentAndTelephoneSales :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "telecommunication_services"
IssuingCardAuthorizationControlsBlockedCategories'EnumTelecommunicationServices :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "telegraph_services"
IssuingCardAuthorizationControlsBlockedCategories'EnumTelegraphServices :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "tent_and_awning_shops"
IssuingCardAuthorizationControlsBlockedCategories'EnumTentAndAwningShops :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "testing_laboratories"
IssuingCardAuthorizationControlsBlockedCategories'EnumTestingLaboratories :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "theatrical_ticket_agencies"
IssuingCardAuthorizationControlsBlockedCategories'EnumTheatricalTicketAgencies :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "timeshares"
IssuingCardAuthorizationControlsBlockedCategories'EnumTimeshares :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "tire_retreading_and_repair"
IssuingCardAuthorizationControlsBlockedCategories'EnumTireRetreadingAndRepair :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "tolls_bridge_fees"
IssuingCardAuthorizationControlsBlockedCategories'EnumTollsBridgeFees :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "tourist_attractions_and_exhibits"
IssuingCardAuthorizationControlsBlockedCategories'EnumTouristAttractionsAndExhibits :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "towing_services"
IssuingCardAuthorizationControlsBlockedCategories'EnumTowingServices :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "trailer_parks_campgrounds"
IssuingCardAuthorizationControlsBlockedCategories'EnumTrailerParksCampgrounds :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "transportation_services"
IssuingCardAuthorizationControlsBlockedCategories'EnumTransportationServices :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "travel_agencies_tour_operators"
IssuingCardAuthorizationControlsBlockedCategories'EnumTravelAgenciesTourOperators :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "truck_stop_iteration"
IssuingCardAuthorizationControlsBlockedCategories'EnumTruckStopIteration :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "truck_utility_trailer_rentals"
IssuingCardAuthorizationControlsBlockedCategories'EnumTruckUtilityTrailerRentals :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value
-- "typesetting_plate_making_and_related_services"
IssuingCardAuthorizationControlsBlockedCategories'EnumTypesettingPlateMakingAndRelatedServices :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "typewriter_stores"
IssuingCardAuthorizationControlsBlockedCategories'EnumTypewriterStores :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value
-- "u_s_federal_government_agencies_or_departments"
IssuingCardAuthorizationControlsBlockedCategories'EnumUSFederalGovernmentAgenciesOrDepartments :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "uniforms_commercial_clothing"
IssuingCardAuthorizationControlsBlockedCategories'EnumUniformsCommercialClothing :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value
-- "used_merchandise_and_secondhand_stores"
IssuingCardAuthorizationControlsBlockedCategories'EnumUsedMerchandiseAndSecondhandStores :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "utilities"
IssuingCardAuthorizationControlsBlockedCategories'EnumUtilities :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "variety_stores"
IssuingCardAuthorizationControlsBlockedCategories'EnumVarietyStores :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "veterinary_services"
IssuingCardAuthorizationControlsBlockedCategories'EnumVeterinaryServices :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "video_amusement_game_supplies"
IssuingCardAuthorizationControlsBlockedCategories'EnumVideoAmusementGameSupplies :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "video_game_arcades"
IssuingCardAuthorizationControlsBlockedCategories'EnumVideoGameArcades :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "video_tape_rental_stores"
IssuingCardAuthorizationControlsBlockedCategories'EnumVideoTapeRentalStores :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "vocational_trade_schools"
IssuingCardAuthorizationControlsBlockedCategories'EnumVocationalTradeSchools :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "watch_jewelry_repair"
IssuingCardAuthorizationControlsBlockedCategories'EnumWatchJewelryRepair :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "welding_repair"
IssuingCardAuthorizationControlsBlockedCategories'EnumWeldingRepair :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "wholesale_clubs"
IssuingCardAuthorizationControlsBlockedCategories'EnumWholesaleClubs :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "wig_and_toupee_stores"
IssuingCardAuthorizationControlsBlockedCategories'EnumWigAndToupeeStores :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "wires_money_orders"
IssuingCardAuthorizationControlsBlockedCategories'EnumWiresMoneyOrders :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value
-- "womens_accessory_and_specialty_shops"
IssuingCardAuthorizationControlsBlockedCategories'EnumWomensAccessoryAndSpecialtyShops :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "womens_ready_to_wear_stores"
IssuingCardAuthorizationControlsBlockedCategories'EnumWomensReadyToWearStores :: IssuingCardAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "wrecking_and_salvage_yards"
IssuingCardAuthorizationControlsBlockedCategories'EnumWreckingAndSalvageYards :: IssuingCardAuthorizationControlsBlockedCategories'
instance GHC.Classes.Eq StripeAPI.Types.IssuingCardAuthorizationControls.IssuingCardAuthorizationControlsAllowedCategories'
instance GHC.Show.Show StripeAPI.Types.IssuingCardAuthorizationControls.IssuingCardAuthorizationControlsAllowedCategories'
instance GHC.Classes.Eq StripeAPI.Types.IssuingCardAuthorizationControls.IssuingCardAuthorizationControlsBlockedCategories'
instance GHC.Show.Show StripeAPI.Types.IssuingCardAuthorizationControls.IssuingCardAuthorizationControlsBlockedCategories'
instance GHC.Classes.Eq StripeAPI.Types.IssuingCardAuthorizationControls.IssuingCardAuthorizationControls
instance GHC.Show.Show StripeAPI.Types.IssuingCardAuthorizationControls.IssuingCardAuthorizationControls
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.IssuingCardAuthorizationControls.IssuingCardAuthorizationControls
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.IssuingCardAuthorizationControls.IssuingCardAuthorizationControls
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.IssuingCardAuthorizationControls.IssuingCardAuthorizationControlsBlockedCategories'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.IssuingCardAuthorizationControls.IssuingCardAuthorizationControlsBlockedCategories'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.IssuingCardAuthorizationControls.IssuingCardAuthorizationControlsAllowedCategories'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.IssuingCardAuthorizationControls.IssuingCardAuthorizationControlsAllowedCategories'
-- | Contains the types generated from the schema IssuingCardSpendingLimit
module StripeAPI.Types.IssuingCardSpendingLimit
-- | Defines the object schema located at
-- components.schemas.issuing_card_spending_limit in the
-- specification.
data IssuingCardSpendingLimit
IssuingCardSpendingLimit :: Int -> Maybe [IssuingCardSpendingLimitCategories'] -> IssuingCardSpendingLimitInterval' -> IssuingCardSpendingLimit
-- | amount: Maximum amount allowed to spend per interval.
[issuingCardSpendingLimitAmount] :: IssuingCardSpendingLimit -> Int
-- | categories: Array of strings containing categories this limit
-- applies to. Omitting this field will apply the limit to all
-- categories.
[issuingCardSpendingLimitCategories] :: IssuingCardSpendingLimit -> Maybe [IssuingCardSpendingLimitCategories']
-- | interval: Interval (or event) to which the amount applies.
[issuingCardSpendingLimitInterval] :: IssuingCardSpendingLimit -> IssuingCardSpendingLimitInterval'
-- | Create a new IssuingCardSpendingLimit with all required fields.
mkIssuingCardSpendingLimit :: Int -> IssuingCardSpendingLimitInterval' -> IssuingCardSpendingLimit
-- | Defines the enum schema located at
-- components.schemas.issuing_card_spending_limit.properties.categories.items
-- in the specification.
data IssuingCardSpendingLimitCategories'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
IssuingCardSpendingLimitCategories'Other :: Value -> IssuingCardSpendingLimitCategories'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
IssuingCardSpendingLimitCategories'Typed :: Text -> IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "ac_refrigeration_repair"
IssuingCardSpendingLimitCategories'EnumAcRefrigerationRepair :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "accounting_bookkeeping_services"
IssuingCardSpendingLimitCategories'EnumAccountingBookkeepingServices :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "advertising_services"
IssuingCardSpendingLimitCategories'EnumAdvertisingServices :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "agricultural_cooperative"
IssuingCardSpendingLimitCategories'EnumAgriculturalCooperative :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "airlines_air_carriers"
IssuingCardSpendingLimitCategories'EnumAirlinesAirCarriers :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "airports_flying_fields"
IssuingCardSpendingLimitCategories'EnumAirportsFlyingFields :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "ambulance_services"
IssuingCardSpendingLimitCategories'EnumAmbulanceServices :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "amusement_parks_carnivals"
IssuingCardSpendingLimitCategories'EnumAmusementParksCarnivals :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "antique_reproductions"
IssuingCardSpendingLimitCategories'EnumAntiqueReproductions :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "antique_shops"
IssuingCardSpendingLimitCategories'EnumAntiqueShops :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "aquariums"
IssuingCardSpendingLimitCategories'EnumAquariums :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "architectural_surveying_services"
IssuingCardSpendingLimitCategories'EnumArchitecturalSurveyingServices :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "art_dealers_and_galleries"
IssuingCardSpendingLimitCategories'EnumArtDealersAndGalleries :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "artists_supply_and_craft_shops"
IssuingCardSpendingLimitCategories'EnumArtistsSupplyAndCraftShops :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "auto_and_home_supply_stores"
IssuingCardSpendingLimitCategories'EnumAutoAndHomeSupplyStores :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "auto_body_repair_shops"
IssuingCardSpendingLimitCategories'EnumAutoBodyRepairShops :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "auto_paint_shops"
IssuingCardSpendingLimitCategories'EnumAutoPaintShops :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "auto_service_shops"
IssuingCardSpendingLimitCategories'EnumAutoServiceShops :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "automated_cash_disburse"
IssuingCardSpendingLimitCategories'EnumAutomatedCashDisburse :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "automated_fuel_dispensers"
IssuingCardSpendingLimitCategories'EnumAutomatedFuelDispensers :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "automobile_associations"
IssuingCardSpendingLimitCategories'EnumAutomobileAssociations :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value
-- "automotive_parts_and_accessories_stores"
IssuingCardSpendingLimitCategories'EnumAutomotivePartsAndAccessoriesStores :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "automotive_tire_stores"
IssuingCardSpendingLimitCategories'EnumAutomotiveTireStores :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "bail_and_bond_payments"
IssuingCardSpendingLimitCategories'EnumBailAndBondPayments :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "bakeries"
IssuingCardSpendingLimitCategories'EnumBakeries :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "bands_orchestras"
IssuingCardSpendingLimitCategories'EnumBandsOrchestras :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "barber_and_beauty_shops"
IssuingCardSpendingLimitCategories'EnumBarberAndBeautyShops :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "betting_casino_gambling"
IssuingCardSpendingLimitCategories'EnumBettingCasinoGambling :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "bicycle_shops"
IssuingCardSpendingLimitCategories'EnumBicycleShops :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "billiard_pool_establishments"
IssuingCardSpendingLimitCategories'EnumBilliardPoolEstablishments :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "boat_dealers"
IssuingCardSpendingLimitCategories'EnumBoatDealers :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "boat_rentals_and_leases"
IssuingCardSpendingLimitCategories'EnumBoatRentalsAndLeases :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "book_stores"
IssuingCardSpendingLimitCategories'EnumBookStores :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "books_periodicals_and_newspapers"
IssuingCardSpendingLimitCategories'EnumBooksPeriodicalsAndNewspapers :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "bowling_alleys"
IssuingCardSpendingLimitCategories'EnumBowlingAlleys :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "bus_lines"
IssuingCardSpendingLimitCategories'EnumBusLines :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "business_secretarial_schools"
IssuingCardSpendingLimitCategories'EnumBusinessSecretarialSchools :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "buying_shopping_services"
IssuingCardSpendingLimitCategories'EnumBuyingShoppingServices :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value
-- "cable_satellite_and_other_pay_television_and_radio"
IssuingCardSpendingLimitCategories'EnumCableSatelliteAndOtherPayTelevisionAndRadio :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value
-- "camera_and_photographic_supply_stores"
IssuingCardSpendingLimitCategories'EnumCameraAndPhotographicSupplyStores :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value
-- "candy_nut_and_confectionery_stores"
IssuingCardSpendingLimitCategories'EnumCandyNutAndConfectioneryStores :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "car_and_truck_dealers_new_used"
IssuingCardSpendingLimitCategories'EnumCarAndTruckDealersNewUsed :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "car_and_truck_dealers_used_only"
IssuingCardSpendingLimitCategories'EnumCarAndTruckDealersUsedOnly :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "car_rental_agencies"
IssuingCardSpendingLimitCategories'EnumCarRentalAgencies :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "car_washes"
IssuingCardSpendingLimitCategories'EnumCarWashes :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "carpentry_services"
IssuingCardSpendingLimitCategories'EnumCarpentryServices :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "carpet_upholstery_cleaning"
IssuingCardSpendingLimitCategories'EnumCarpetUpholsteryCleaning :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "caterers"
IssuingCardSpendingLimitCategories'EnumCaterers :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value
-- "charitable_and_social_service_organizations_fundraising"
IssuingCardSpendingLimitCategories'EnumCharitableAndSocialServiceOrganizationsFundraising :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "chemicals_and_allied_products"
IssuingCardSpendingLimitCategories'EnumChemicalsAndAlliedProducts :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "child_care_services"
IssuingCardSpendingLimitCategories'EnumChildCareServices :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "childrens_and_infants_wear_stores"
IssuingCardSpendingLimitCategories'EnumChildrensAndInfantsWearStores :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "chiropodists_podiatrists"
IssuingCardSpendingLimitCategories'EnumChiropodistsPodiatrists :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "chiropractors"
IssuingCardSpendingLimitCategories'EnumChiropractors :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "cigar_stores_and_stands"
IssuingCardSpendingLimitCategories'EnumCigarStoresAndStands :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value
-- "civic_social_fraternal_associations"
IssuingCardSpendingLimitCategories'EnumCivicSocialFraternalAssociations :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "cleaning_and_maintenance"
IssuingCardSpendingLimitCategories'EnumCleaningAndMaintenance :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "clothing_rental"
IssuingCardSpendingLimitCategories'EnumClothingRental :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "colleges_universities"
IssuingCardSpendingLimitCategories'EnumCollegesUniversities :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "commercial_equipment"
IssuingCardSpendingLimitCategories'EnumCommercialEquipment :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "commercial_footwear"
IssuingCardSpendingLimitCategories'EnumCommercialFootwear :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value
-- "commercial_photography_art_and_graphics"
IssuingCardSpendingLimitCategories'EnumCommercialPhotographyArtAndGraphics :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "commuter_transport_and_ferries"
IssuingCardSpendingLimitCategories'EnumCommuterTransportAndFerries :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "computer_network_services"
IssuingCardSpendingLimitCategories'EnumComputerNetworkServices :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "computer_programming"
IssuingCardSpendingLimitCategories'EnumComputerProgramming :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "computer_repair"
IssuingCardSpendingLimitCategories'EnumComputerRepair :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "computer_software_stores"
IssuingCardSpendingLimitCategories'EnumComputerSoftwareStores :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value
-- "computers_peripherals_and_software"
IssuingCardSpendingLimitCategories'EnumComputersPeripheralsAndSoftware :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "concrete_work_services"
IssuingCardSpendingLimitCategories'EnumConcreteWorkServices :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "construction_materials"
IssuingCardSpendingLimitCategories'EnumConstructionMaterials :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "consulting_public_relations"
IssuingCardSpendingLimitCategories'EnumConsultingPublicRelations :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "correspondence_schools"
IssuingCardSpendingLimitCategories'EnumCorrespondenceSchools :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "cosmetic_stores"
IssuingCardSpendingLimitCategories'EnumCosmeticStores :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "counseling_services"
IssuingCardSpendingLimitCategories'EnumCounselingServices :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "country_clubs"
IssuingCardSpendingLimitCategories'EnumCountryClubs :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "courier_services"
IssuingCardSpendingLimitCategories'EnumCourierServices :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "court_costs"
IssuingCardSpendingLimitCategories'EnumCourtCosts :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "credit_reporting_agencies"
IssuingCardSpendingLimitCategories'EnumCreditReportingAgencies :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "cruise_lines"
IssuingCardSpendingLimitCategories'EnumCruiseLines :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "dairy_products_stores"
IssuingCardSpendingLimitCategories'EnumDairyProductsStores :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "dance_hall_studios_schools"
IssuingCardSpendingLimitCategories'EnumDanceHallStudiosSchools :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "dating_escort_services"
IssuingCardSpendingLimitCategories'EnumDatingEscortServices :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "dentists_orthodontists"
IssuingCardSpendingLimitCategories'EnumDentistsOrthodontists :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "department_stores"
IssuingCardSpendingLimitCategories'EnumDepartmentStores :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "detective_agencies"
IssuingCardSpendingLimitCategories'EnumDetectiveAgencies :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "digital_goods_applications"
IssuingCardSpendingLimitCategories'EnumDigitalGoodsApplications :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "digital_goods_games"
IssuingCardSpendingLimitCategories'EnumDigitalGoodsGames :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "digital_goods_large_volume"
IssuingCardSpendingLimitCategories'EnumDigitalGoodsLargeVolume :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "digital_goods_media"
IssuingCardSpendingLimitCategories'EnumDigitalGoodsMedia :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "direct_marketing_catalog_merchant"
IssuingCardSpendingLimitCategories'EnumDirectMarketingCatalogMerchant :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value
-- "direct_marketing_combination_catalog_and_retail_merchant"
IssuingCardSpendingLimitCategories'EnumDirectMarketingCombinationCatalogAndRetailMerchant :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value
-- "direct_marketing_inbound_telemarketing"
IssuingCardSpendingLimitCategories'EnumDirectMarketingInboundTelemarketing :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value
-- "direct_marketing_insurance_services"
IssuingCardSpendingLimitCategories'EnumDirectMarketingInsuranceServices :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "direct_marketing_other"
IssuingCardSpendingLimitCategories'EnumDirectMarketingOther :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value
-- "direct_marketing_outbound_telemarketing"
IssuingCardSpendingLimitCategories'EnumDirectMarketingOutboundTelemarketing :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "direct_marketing_subscription"
IssuingCardSpendingLimitCategories'EnumDirectMarketingSubscription :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "direct_marketing_travel"
IssuingCardSpendingLimitCategories'EnumDirectMarketingTravel :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "discount_stores"
IssuingCardSpendingLimitCategories'EnumDiscountStores :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "doctors"
IssuingCardSpendingLimitCategories'EnumDoctors :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "door_to_door_sales"
IssuingCardSpendingLimitCategories'EnumDoorToDoorSales :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value
-- "drapery_window_covering_and_upholstery_stores"
IssuingCardSpendingLimitCategories'EnumDraperyWindowCoveringAndUpholsteryStores :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "drinking_places"
IssuingCardSpendingLimitCategories'EnumDrinkingPlaces :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "drug_stores_and_pharmacies"
IssuingCardSpendingLimitCategories'EnumDrugStoresAndPharmacies :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value
-- "drugs_drug_proprietaries_and_druggist_sundries"
IssuingCardSpendingLimitCategories'EnumDrugsDrugProprietariesAndDruggistSundries :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "dry_cleaners"
IssuingCardSpendingLimitCategories'EnumDryCleaners :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "durable_goods"
IssuingCardSpendingLimitCategories'EnumDurableGoods :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "duty_free_stores"
IssuingCardSpendingLimitCategories'EnumDutyFreeStores :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "eating_places_restaurants"
IssuingCardSpendingLimitCategories'EnumEatingPlacesRestaurants :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "educational_services"
IssuingCardSpendingLimitCategories'EnumEducationalServices :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "electric_razor_stores"
IssuingCardSpendingLimitCategories'EnumElectricRazorStores :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "electrical_parts_and_equipment"
IssuingCardSpendingLimitCategories'EnumElectricalPartsAndEquipment :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "electrical_services"
IssuingCardSpendingLimitCategories'EnumElectricalServices :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "electronics_repair_shops"
IssuingCardSpendingLimitCategories'EnumElectronicsRepairShops :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "electronics_stores"
IssuingCardSpendingLimitCategories'EnumElectronicsStores :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "elementary_secondary_schools"
IssuingCardSpendingLimitCategories'EnumElementarySecondarySchools :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "employment_temp_agencies"
IssuingCardSpendingLimitCategories'EnumEmploymentTempAgencies :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "equipment_rental"
IssuingCardSpendingLimitCategories'EnumEquipmentRental :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "exterminating_services"
IssuingCardSpendingLimitCategories'EnumExterminatingServices :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "family_clothing_stores"
IssuingCardSpendingLimitCategories'EnumFamilyClothingStores :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "fast_food_restaurants"
IssuingCardSpendingLimitCategories'EnumFastFoodRestaurants :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "financial_institutions"
IssuingCardSpendingLimitCategories'EnumFinancialInstitutions :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value
-- "fines_government_administrative_entities"
IssuingCardSpendingLimitCategories'EnumFinesGovernmentAdministrativeEntities :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value
-- "fireplace_fireplace_screens_and_accessories_stores"
IssuingCardSpendingLimitCategories'EnumFireplaceFireplaceScreensAndAccessoriesStores :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "floor_covering_stores"
IssuingCardSpendingLimitCategories'EnumFloorCoveringStores :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "florists"
IssuingCardSpendingLimitCategories'EnumFlorists :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value
-- "florists_supplies_nursery_stock_and_flowers"
IssuingCardSpendingLimitCategories'EnumFloristsSuppliesNurseryStockAndFlowers :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value
-- "freezer_and_locker_meat_provisioners"
IssuingCardSpendingLimitCategories'EnumFreezerAndLockerMeatProvisioners :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "fuel_dealers_non_automotive"
IssuingCardSpendingLimitCategories'EnumFuelDealersNonAutomotive :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "funeral_services_crematories"
IssuingCardSpendingLimitCategories'EnumFuneralServicesCrematories :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value
-- "furniture_home_furnishings_and_equipment_stores_except_appliances"
IssuingCardSpendingLimitCategories'EnumFurnitureHomeFurnishingsAndEquipmentStoresExceptAppliances :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "furniture_repair_refinishing"
IssuingCardSpendingLimitCategories'EnumFurnitureRepairRefinishing :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "furriers_and_fur_shops"
IssuingCardSpendingLimitCategories'EnumFurriersAndFurShops :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "general_services"
IssuingCardSpendingLimitCategories'EnumGeneralServices :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value
-- "gift_card_novelty_and_souvenir_shops"
IssuingCardSpendingLimitCategories'EnumGiftCardNoveltyAndSouvenirShops :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "glass_paint_and_wallpaper_stores"
IssuingCardSpendingLimitCategories'EnumGlassPaintAndWallpaperStores :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "glassware_crystal_stores"
IssuingCardSpendingLimitCategories'EnumGlasswareCrystalStores :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "golf_courses_public"
IssuingCardSpendingLimitCategories'EnumGolfCoursesPublic :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "government_services"
IssuingCardSpendingLimitCategories'EnumGovernmentServices :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "grocery_stores_supermarkets"
IssuingCardSpendingLimitCategories'EnumGroceryStoresSupermarkets :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "hardware_equipment_and_supplies"
IssuingCardSpendingLimitCategories'EnumHardwareEquipmentAndSupplies :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "hardware_stores"
IssuingCardSpendingLimitCategories'EnumHardwareStores :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "health_and_beauty_spas"
IssuingCardSpendingLimitCategories'EnumHealthAndBeautySpas :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "hearing_aids_sales_and_supplies"
IssuingCardSpendingLimitCategories'EnumHearingAidsSalesAndSupplies :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "heating_plumbing_a_c"
IssuingCardSpendingLimitCategories'EnumHeatingPlumbingAC :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "hobby_toy_and_game_shops"
IssuingCardSpendingLimitCategories'EnumHobbyToyAndGameShops :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "home_supply_warehouse_stores"
IssuingCardSpendingLimitCategories'EnumHomeSupplyWarehouseStores :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "hospitals"
IssuingCardSpendingLimitCategories'EnumHospitals :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "hotels_motels_and_resorts"
IssuingCardSpendingLimitCategories'EnumHotelsMotelsAndResorts :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "household_appliance_stores"
IssuingCardSpendingLimitCategories'EnumHouseholdApplianceStores :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "industrial_supplies"
IssuingCardSpendingLimitCategories'EnumIndustrialSupplies :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "information_retrieval_services"
IssuingCardSpendingLimitCategories'EnumInformationRetrievalServices :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "insurance_default"
IssuingCardSpendingLimitCategories'EnumInsuranceDefault :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "insurance_underwriting_premiums"
IssuingCardSpendingLimitCategories'EnumInsuranceUnderwritingPremiums :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "intra_company_purchases"
IssuingCardSpendingLimitCategories'EnumIntraCompanyPurchases :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value
-- "jewelry_stores_watches_clocks_and_silverware_stores"
IssuingCardSpendingLimitCategories'EnumJewelryStoresWatchesClocksAndSilverwareStores :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "landscaping_services"
IssuingCardSpendingLimitCategories'EnumLandscapingServices :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "laundries"
IssuingCardSpendingLimitCategories'EnumLaundries :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "laundry_cleaning_services"
IssuingCardSpendingLimitCategories'EnumLaundryCleaningServices :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "legal_services_attorneys"
IssuingCardSpendingLimitCategories'EnumLegalServicesAttorneys :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "luggage_and_leather_goods_stores"
IssuingCardSpendingLimitCategories'EnumLuggageAndLeatherGoodsStores :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "lumber_building_materials_stores"
IssuingCardSpendingLimitCategories'EnumLumberBuildingMaterialsStores :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "manual_cash_disburse"
IssuingCardSpendingLimitCategories'EnumManualCashDisburse :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "marinas_service_and_supplies"
IssuingCardSpendingLimitCategories'EnumMarinasServiceAndSupplies :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "masonry_stonework_and_plaster"
IssuingCardSpendingLimitCategories'EnumMasonryStoneworkAndPlaster :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "massage_parlors"
IssuingCardSpendingLimitCategories'EnumMassageParlors :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "medical_and_dental_labs"
IssuingCardSpendingLimitCategories'EnumMedicalAndDentalLabs :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value
-- "medical_dental_ophthalmic_and_hospital_equipment_and_supplies"
IssuingCardSpendingLimitCategories'EnumMedicalDentalOphthalmicAndHospitalEquipmentAndSupplies :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "medical_services"
IssuingCardSpendingLimitCategories'EnumMedicalServices :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "membership_organizations"
IssuingCardSpendingLimitCategories'EnumMembershipOrganizations :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value
-- "mens_and_boys_clothing_and_accessories_stores"
IssuingCardSpendingLimitCategories'EnumMensAndBoysClothingAndAccessoriesStores :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "mens_womens_clothing_stores"
IssuingCardSpendingLimitCategories'EnumMensWomensClothingStores :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "metal_service_centers"
IssuingCardSpendingLimitCategories'EnumMetalServiceCenters :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "miscellaneous"
IssuingCardSpendingLimitCategories'EnumMiscellaneous :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value
-- "miscellaneous_apparel_and_accessory_shops"
IssuingCardSpendingLimitCategories'EnumMiscellaneousApparelAndAccessoryShops :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "miscellaneous_auto_dealers"
IssuingCardSpendingLimitCategories'EnumMiscellaneousAutoDealers :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "miscellaneous_business_services"
IssuingCardSpendingLimitCategories'EnumMiscellaneousBusinessServices :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "miscellaneous_food_stores"
IssuingCardSpendingLimitCategories'EnumMiscellaneousFoodStores :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "miscellaneous_general_merchandise"
IssuingCardSpendingLimitCategories'EnumMiscellaneousGeneralMerchandise :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "miscellaneous_general_services"
IssuingCardSpendingLimitCategories'EnumMiscellaneousGeneralServices :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value
-- "miscellaneous_home_furnishing_specialty_stores"
IssuingCardSpendingLimitCategories'EnumMiscellaneousHomeFurnishingSpecialtyStores :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value
-- "miscellaneous_publishing_and_printing"
IssuingCardSpendingLimitCategories'EnumMiscellaneousPublishingAndPrinting :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "miscellaneous_recreation_services"
IssuingCardSpendingLimitCategories'EnumMiscellaneousRecreationServices :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "miscellaneous_repair_shops"
IssuingCardSpendingLimitCategories'EnumMiscellaneousRepairShops :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "miscellaneous_specialty_retail"
IssuingCardSpendingLimitCategories'EnumMiscellaneousSpecialtyRetail :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "mobile_home_dealers"
IssuingCardSpendingLimitCategories'EnumMobileHomeDealers :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "motion_picture_theaters"
IssuingCardSpendingLimitCategories'EnumMotionPictureTheaters :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value
-- "motor_freight_carriers_and_trucking"
IssuingCardSpendingLimitCategories'EnumMotorFreightCarriersAndTrucking :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "motor_homes_dealers"
IssuingCardSpendingLimitCategories'EnumMotorHomesDealers :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value
-- "motor_vehicle_supplies_and_new_parts"
IssuingCardSpendingLimitCategories'EnumMotorVehicleSuppliesAndNewParts :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "motorcycle_shops_and_dealers"
IssuingCardSpendingLimitCategories'EnumMotorcycleShopsAndDealers :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "motorcycle_shops_dealers"
IssuingCardSpendingLimitCategories'EnumMotorcycleShopsDealers :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value
-- "music_stores_musical_instruments_pianos_and_sheet_music"
IssuingCardSpendingLimitCategories'EnumMusicStoresMusicalInstrumentsPianosAndSheetMusic :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "news_dealers_and_newsstands"
IssuingCardSpendingLimitCategories'EnumNewsDealersAndNewsstands :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "non_fi_money_orders"
IssuingCardSpendingLimitCategories'EnumNonFiMoneyOrders :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value
-- "non_fi_stored_value_card_purchase_load"
IssuingCardSpendingLimitCategories'EnumNonFiStoredValueCardPurchaseLoad :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "nondurable_goods"
IssuingCardSpendingLimitCategories'EnumNondurableGoods :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value
-- "nurseries_lawn_and_garden_supply_stores"
IssuingCardSpendingLimitCategories'EnumNurseriesLawnAndGardenSupplyStores :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "nursing_personal_care"
IssuingCardSpendingLimitCategories'EnumNursingPersonalCare :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "office_and_commercial_furniture"
IssuingCardSpendingLimitCategories'EnumOfficeAndCommercialFurniture :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "opticians_eyeglasses"
IssuingCardSpendingLimitCategories'EnumOpticiansEyeglasses :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "optometrists_ophthalmologist"
IssuingCardSpendingLimitCategories'EnumOptometristsOphthalmologist :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value
-- "orthopedic_goods_prosthetic_devices"
IssuingCardSpendingLimitCategories'EnumOrthopedicGoodsProstheticDevices :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "osteopaths"
IssuingCardSpendingLimitCategories'EnumOsteopaths :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value
-- "package_stores_beer_wine_and_liquor"
IssuingCardSpendingLimitCategories'EnumPackageStoresBeerWineAndLiquor :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "paints_varnishes_and_supplies"
IssuingCardSpendingLimitCategories'EnumPaintsVarnishesAndSupplies :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "parking_lots_garages"
IssuingCardSpendingLimitCategories'EnumParkingLotsGarages :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "passenger_railways"
IssuingCardSpendingLimitCategories'EnumPassengerRailways :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "pawn_shops"
IssuingCardSpendingLimitCategories'EnumPawnShops :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "pet_shops_pet_food_and_supplies"
IssuingCardSpendingLimitCategories'EnumPetShopsPetFoodAndSupplies :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "petroleum_and_petroleum_products"
IssuingCardSpendingLimitCategories'EnumPetroleumAndPetroleumProducts :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "photo_developing"
IssuingCardSpendingLimitCategories'EnumPhotoDeveloping :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value
-- "photographic_photocopy_microfilm_equipment_and_supplies"
IssuingCardSpendingLimitCategories'EnumPhotographicPhotocopyMicrofilmEquipmentAndSupplies :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "photographic_studios"
IssuingCardSpendingLimitCategories'EnumPhotographicStudios :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "picture_video_production"
IssuingCardSpendingLimitCategories'EnumPictureVideoProduction :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value
-- "piece_goods_notions_and_other_dry_goods"
IssuingCardSpendingLimitCategories'EnumPieceGoodsNotionsAndOtherDryGoods :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value
-- "plumbing_heating_equipment_and_supplies"
IssuingCardSpendingLimitCategories'EnumPlumbingHeatingEquipmentAndSupplies :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "political_organizations"
IssuingCardSpendingLimitCategories'EnumPoliticalOrganizations :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "postal_services_government_only"
IssuingCardSpendingLimitCategories'EnumPostalServicesGovernmentOnly :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value
-- "precious_stones_and_metals_watches_and_jewelry"
IssuingCardSpendingLimitCategories'EnumPreciousStonesAndMetalsWatchesAndJewelry :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "professional_services"
IssuingCardSpendingLimitCategories'EnumProfessionalServices :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "public_warehousing_and_storage"
IssuingCardSpendingLimitCategories'EnumPublicWarehousingAndStorage :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "quick_copy_repro_and_blueprint"
IssuingCardSpendingLimitCategories'EnumQuickCopyReproAndBlueprint :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "railroads"
IssuingCardSpendingLimitCategories'EnumRailroads :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value
-- "real_estate_agents_and_managers_rentals"
IssuingCardSpendingLimitCategories'EnumRealEstateAgentsAndManagersRentals :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "record_stores"
IssuingCardSpendingLimitCategories'EnumRecordStores :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "recreational_vehicle_rentals"
IssuingCardSpendingLimitCategories'EnumRecreationalVehicleRentals :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "religious_goods_stores"
IssuingCardSpendingLimitCategories'EnumReligiousGoodsStores :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "religious_organizations"
IssuingCardSpendingLimitCategories'EnumReligiousOrganizations :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "roofing_siding_sheet_metal"
IssuingCardSpendingLimitCategories'EnumRoofingSidingSheetMetal :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "secretarial_support_services"
IssuingCardSpendingLimitCategories'EnumSecretarialSupportServices :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "security_brokers_dealers"
IssuingCardSpendingLimitCategories'EnumSecurityBrokersDealers :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "service_stations"
IssuingCardSpendingLimitCategories'EnumServiceStations :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value
-- "sewing_needlework_fabric_and_piece_goods_stores"
IssuingCardSpendingLimitCategories'EnumSewingNeedleworkFabricAndPieceGoodsStores :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "shoe_repair_hat_cleaning"
IssuingCardSpendingLimitCategories'EnumShoeRepairHatCleaning :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "shoe_stores"
IssuingCardSpendingLimitCategories'EnumShoeStores :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "small_appliance_repair"
IssuingCardSpendingLimitCategories'EnumSmallApplianceRepair :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "snowmobile_dealers"
IssuingCardSpendingLimitCategories'EnumSnowmobileDealers :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "special_trade_services"
IssuingCardSpendingLimitCategories'EnumSpecialTradeServices :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "specialty_cleaning"
IssuingCardSpendingLimitCategories'EnumSpecialtyCleaning :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "sporting_goods_stores"
IssuingCardSpendingLimitCategories'EnumSportingGoodsStores :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "sporting_recreation_camps"
IssuingCardSpendingLimitCategories'EnumSportingRecreationCamps :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "sports_and_riding_apparel_stores"
IssuingCardSpendingLimitCategories'EnumSportsAndRidingApparelStores :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "sports_clubs_fields"
IssuingCardSpendingLimitCategories'EnumSportsClubsFields :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "stamp_and_coin_stores"
IssuingCardSpendingLimitCategories'EnumStampAndCoinStores :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value
-- "stationary_office_supplies_printing_and_writing_paper"
IssuingCardSpendingLimitCategories'EnumStationaryOfficeSuppliesPrintingAndWritingPaper :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value
-- "stationery_stores_office_and_school_supply_stores"
IssuingCardSpendingLimitCategories'EnumStationeryStoresOfficeAndSchoolSupplyStores :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "swimming_pools_sales"
IssuingCardSpendingLimitCategories'EnumSwimmingPoolsSales :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "t_ui_travel_germany"
IssuingCardSpendingLimitCategories'EnumTUiTravelGermany :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "tailors_alterations"
IssuingCardSpendingLimitCategories'EnumTailorsAlterations :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "tax_payments_government_agencies"
IssuingCardSpendingLimitCategories'EnumTaxPaymentsGovernmentAgencies :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "tax_preparation_services"
IssuingCardSpendingLimitCategories'EnumTaxPreparationServices :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "taxicabs_limousines"
IssuingCardSpendingLimitCategories'EnumTaxicabsLimousines :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value
-- "telecommunication_equipment_and_telephone_sales"
IssuingCardSpendingLimitCategories'EnumTelecommunicationEquipmentAndTelephoneSales :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "telecommunication_services"
IssuingCardSpendingLimitCategories'EnumTelecommunicationServices :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "telegraph_services"
IssuingCardSpendingLimitCategories'EnumTelegraphServices :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "tent_and_awning_shops"
IssuingCardSpendingLimitCategories'EnumTentAndAwningShops :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "testing_laboratories"
IssuingCardSpendingLimitCategories'EnumTestingLaboratories :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "theatrical_ticket_agencies"
IssuingCardSpendingLimitCategories'EnumTheatricalTicketAgencies :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "timeshares"
IssuingCardSpendingLimitCategories'EnumTimeshares :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "tire_retreading_and_repair"
IssuingCardSpendingLimitCategories'EnumTireRetreadingAndRepair :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "tolls_bridge_fees"
IssuingCardSpendingLimitCategories'EnumTollsBridgeFees :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "tourist_attractions_and_exhibits"
IssuingCardSpendingLimitCategories'EnumTouristAttractionsAndExhibits :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "towing_services"
IssuingCardSpendingLimitCategories'EnumTowingServices :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "trailer_parks_campgrounds"
IssuingCardSpendingLimitCategories'EnumTrailerParksCampgrounds :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "transportation_services"
IssuingCardSpendingLimitCategories'EnumTransportationServices :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "travel_agencies_tour_operators"
IssuingCardSpendingLimitCategories'EnumTravelAgenciesTourOperators :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "truck_stop_iteration"
IssuingCardSpendingLimitCategories'EnumTruckStopIteration :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "truck_utility_trailer_rentals"
IssuingCardSpendingLimitCategories'EnumTruckUtilityTrailerRentals :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value
-- "typesetting_plate_making_and_related_services"
IssuingCardSpendingLimitCategories'EnumTypesettingPlateMakingAndRelatedServices :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "typewriter_stores"
IssuingCardSpendingLimitCategories'EnumTypewriterStores :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value
-- "u_s_federal_government_agencies_or_departments"
IssuingCardSpendingLimitCategories'EnumUSFederalGovernmentAgenciesOrDepartments :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "uniforms_commercial_clothing"
IssuingCardSpendingLimitCategories'EnumUniformsCommercialClothing :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value
-- "used_merchandise_and_secondhand_stores"
IssuingCardSpendingLimitCategories'EnumUsedMerchandiseAndSecondhandStores :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "utilities"
IssuingCardSpendingLimitCategories'EnumUtilities :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "variety_stores"
IssuingCardSpendingLimitCategories'EnumVarietyStores :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "veterinary_services"
IssuingCardSpendingLimitCategories'EnumVeterinaryServices :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "video_amusement_game_supplies"
IssuingCardSpendingLimitCategories'EnumVideoAmusementGameSupplies :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "video_game_arcades"
IssuingCardSpendingLimitCategories'EnumVideoGameArcades :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "video_tape_rental_stores"
IssuingCardSpendingLimitCategories'EnumVideoTapeRentalStores :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "vocational_trade_schools"
IssuingCardSpendingLimitCategories'EnumVocationalTradeSchools :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "watch_jewelry_repair"
IssuingCardSpendingLimitCategories'EnumWatchJewelryRepair :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "welding_repair"
IssuingCardSpendingLimitCategories'EnumWeldingRepair :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "wholesale_clubs"
IssuingCardSpendingLimitCategories'EnumWholesaleClubs :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "wig_and_toupee_stores"
IssuingCardSpendingLimitCategories'EnumWigAndToupeeStores :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "wires_money_orders"
IssuingCardSpendingLimitCategories'EnumWiresMoneyOrders :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value
-- "womens_accessory_and_specialty_shops"
IssuingCardSpendingLimitCategories'EnumWomensAccessoryAndSpecialtyShops :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "womens_ready_to_wear_stores"
IssuingCardSpendingLimitCategories'EnumWomensReadyToWearStores :: IssuingCardSpendingLimitCategories'
-- | Represents the JSON value "wrecking_and_salvage_yards"
IssuingCardSpendingLimitCategories'EnumWreckingAndSalvageYards :: IssuingCardSpendingLimitCategories'
-- | Defines the enum schema located at
-- components.schemas.issuing_card_spending_limit.properties.interval
-- in the specification.
--
-- Interval (or event) to which the amount applies.
data IssuingCardSpendingLimitInterval'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
IssuingCardSpendingLimitInterval'Other :: Value -> IssuingCardSpendingLimitInterval'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
IssuingCardSpendingLimitInterval'Typed :: Text -> IssuingCardSpendingLimitInterval'
-- | Represents the JSON value "all_time"
IssuingCardSpendingLimitInterval'EnumAllTime :: IssuingCardSpendingLimitInterval'
-- | Represents the JSON value "daily"
IssuingCardSpendingLimitInterval'EnumDaily :: IssuingCardSpendingLimitInterval'
-- | Represents the JSON value "monthly"
IssuingCardSpendingLimitInterval'EnumMonthly :: IssuingCardSpendingLimitInterval'
-- | Represents the JSON value "per_authorization"
IssuingCardSpendingLimitInterval'EnumPerAuthorization :: IssuingCardSpendingLimitInterval'
-- | Represents the JSON value "weekly"
IssuingCardSpendingLimitInterval'EnumWeekly :: IssuingCardSpendingLimitInterval'
-- | Represents the JSON value "yearly"
IssuingCardSpendingLimitInterval'EnumYearly :: IssuingCardSpendingLimitInterval'
instance GHC.Classes.Eq StripeAPI.Types.IssuingCardSpendingLimit.IssuingCardSpendingLimitCategories'
instance GHC.Show.Show StripeAPI.Types.IssuingCardSpendingLimit.IssuingCardSpendingLimitCategories'
instance GHC.Classes.Eq StripeAPI.Types.IssuingCardSpendingLimit.IssuingCardSpendingLimitInterval'
instance GHC.Show.Show StripeAPI.Types.IssuingCardSpendingLimit.IssuingCardSpendingLimitInterval'
instance GHC.Classes.Eq StripeAPI.Types.IssuingCardSpendingLimit.IssuingCardSpendingLimit
instance GHC.Show.Show StripeAPI.Types.IssuingCardSpendingLimit.IssuingCardSpendingLimit
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.IssuingCardSpendingLimit.IssuingCardSpendingLimit
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.IssuingCardSpendingLimit.IssuingCardSpendingLimit
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.IssuingCardSpendingLimit.IssuingCardSpendingLimitInterval'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.IssuingCardSpendingLimit.IssuingCardSpendingLimitInterval'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.IssuingCardSpendingLimit.IssuingCardSpendingLimitCategories'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.IssuingCardSpendingLimit.IssuingCardSpendingLimitCategories'
-- | Contains the types generated from the schema IssuingCardholderAddress
module StripeAPI.Types.IssuingCardholderAddress
-- | Defines the object schema located at
-- components.schemas.issuing_cardholder_address in the
-- specification.
data IssuingCardholderAddress
IssuingCardholderAddress :: Address -> IssuingCardholderAddress
-- | address:
[issuingCardholderAddressAddress] :: IssuingCardholderAddress -> Address
-- | Create a new IssuingCardholderAddress with all required fields.
mkIssuingCardholderAddress :: Address -> IssuingCardholderAddress
instance GHC.Classes.Eq StripeAPI.Types.IssuingCardholderAddress.IssuingCardholderAddress
instance GHC.Show.Show StripeAPI.Types.IssuingCardholderAddress.IssuingCardholderAddress
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.IssuingCardholderAddress.IssuingCardholderAddress
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.IssuingCardholderAddress.IssuingCardholderAddress
-- | Contains the types generated from the schema IssuingCardholderCompany
module StripeAPI.Types.IssuingCardholderCompany
-- | Defines the object schema located at
-- components.schemas.issuing_cardholder_company in the
-- specification.
data IssuingCardholderCompany
IssuingCardholderCompany :: Bool -> IssuingCardholderCompany
-- | tax_id_provided: Whether the company's business ID number was
-- provided.
[issuingCardholderCompanyTaxIdProvided] :: IssuingCardholderCompany -> Bool
-- | Create a new IssuingCardholderCompany with all required fields.
mkIssuingCardholderCompany :: Bool -> IssuingCardholderCompany
instance GHC.Classes.Eq StripeAPI.Types.IssuingCardholderCompany.IssuingCardholderCompany
instance GHC.Show.Show StripeAPI.Types.IssuingCardholderCompany.IssuingCardholderCompany
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.IssuingCardholderCompany.IssuingCardholderCompany
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.IssuingCardholderCompany.IssuingCardholderCompany
-- | Contains the types generated from the schema
-- IssuingCardholderIdDocument
module StripeAPI.Types.IssuingCardholderIdDocument
-- | Defines the object schema located at
-- components.schemas.issuing_cardholder_id_document in the
-- specification.
data IssuingCardholderIdDocument
IssuingCardholderIdDocument :: Maybe IssuingCardholderIdDocumentBack'Variants -> Maybe IssuingCardholderIdDocumentFront'Variants -> IssuingCardholderIdDocument
-- | back: The back of a document returned by a file upload with a
-- `purpose` value of `identity_document`.
[issuingCardholderIdDocumentBack] :: IssuingCardholderIdDocument -> Maybe IssuingCardholderIdDocumentBack'Variants
-- | front: The front of a document returned by a file upload with a
-- `purpose` value of `identity_document`.
[issuingCardholderIdDocumentFront] :: IssuingCardholderIdDocument -> Maybe IssuingCardholderIdDocumentFront'Variants
-- | Create a new IssuingCardholderIdDocument with all required
-- fields.
mkIssuingCardholderIdDocument :: IssuingCardholderIdDocument
-- | Defines the oneOf schema located at
-- components.schemas.issuing_cardholder_id_document.properties.back.anyOf
-- in the specification.
--
-- The back of a document returned by a file upload with a
-- `purpose` value of `identity_document`.
data IssuingCardholderIdDocumentBack'Variants
IssuingCardholderIdDocumentBack'Text :: Text -> IssuingCardholderIdDocumentBack'Variants
IssuingCardholderIdDocumentBack'File :: File -> IssuingCardholderIdDocumentBack'Variants
-- | Defines the oneOf schema located at
-- components.schemas.issuing_cardholder_id_document.properties.front.anyOf
-- in the specification.
--
-- The front of a document returned by a file upload with a
-- `purpose` value of `identity_document`.
data IssuingCardholderIdDocumentFront'Variants
IssuingCardholderIdDocumentFront'Text :: Text -> IssuingCardholderIdDocumentFront'Variants
IssuingCardholderIdDocumentFront'File :: File -> IssuingCardholderIdDocumentFront'Variants
instance GHC.Classes.Eq StripeAPI.Types.IssuingCardholderIdDocument.IssuingCardholderIdDocumentBack'Variants
instance GHC.Show.Show StripeAPI.Types.IssuingCardholderIdDocument.IssuingCardholderIdDocumentBack'Variants
instance GHC.Classes.Eq StripeAPI.Types.IssuingCardholderIdDocument.IssuingCardholderIdDocumentFront'Variants
instance GHC.Show.Show StripeAPI.Types.IssuingCardholderIdDocument.IssuingCardholderIdDocumentFront'Variants
instance GHC.Classes.Eq StripeAPI.Types.IssuingCardholderIdDocument.IssuingCardholderIdDocument
instance GHC.Show.Show StripeAPI.Types.IssuingCardholderIdDocument.IssuingCardholderIdDocument
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.IssuingCardholderIdDocument.IssuingCardholderIdDocument
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.IssuingCardholderIdDocument.IssuingCardholderIdDocument
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.IssuingCardholderIdDocument.IssuingCardholderIdDocumentFront'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.IssuingCardholderIdDocument.IssuingCardholderIdDocumentFront'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.IssuingCardholderIdDocument.IssuingCardholderIdDocumentBack'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.IssuingCardholderIdDocument.IssuingCardholderIdDocumentBack'Variants
-- | Contains the types generated from the schema
-- IssuingCardholderIndividualDob
module StripeAPI.Types.IssuingCardholderIndividualDob
-- | Defines the object schema located at
-- components.schemas.issuing_cardholder_individual_dob in the
-- specification.
data IssuingCardholderIndividualDob
IssuingCardholderIndividualDob :: Maybe Int -> Maybe Int -> Maybe Int -> IssuingCardholderIndividualDob
-- | day: The day of birth, between 1 and 31.
[issuingCardholderIndividualDobDay] :: IssuingCardholderIndividualDob -> Maybe Int
-- | month: The month of birth, between 1 and 12.
[issuingCardholderIndividualDobMonth] :: IssuingCardholderIndividualDob -> Maybe Int
-- | year: The four-digit year of birth.
[issuingCardholderIndividualDobYear] :: IssuingCardholderIndividualDob -> Maybe Int
-- | Create a new IssuingCardholderIndividualDob with all required
-- fields.
mkIssuingCardholderIndividualDob :: IssuingCardholderIndividualDob
instance GHC.Classes.Eq StripeAPI.Types.IssuingCardholderIndividualDob.IssuingCardholderIndividualDob
instance GHC.Show.Show StripeAPI.Types.IssuingCardholderIndividualDob.IssuingCardholderIndividualDob
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.IssuingCardholderIndividualDob.IssuingCardholderIndividualDob
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.IssuingCardholderIndividualDob.IssuingCardholderIndividualDob
-- | Contains the types generated from the schema
-- IssuingCardholderRequirements
module StripeAPI.Types.IssuingCardholderRequirements
-- | Defines the object schema located at
-- components.schemas.issuing_cardholder_requirements in the
-- specification.
data IssuingCardholderRequirements
IssuingCardholderRequirements :: Maybe IssuingCardholderRequirementsDisabledReason' -> Maybe [IssuingCardholderRequirementsPastDue'] -> IssuingCardholderRequirements
-- | disabled_reason: If `disabled_reason` is present, all cards will
-- decline authorizations with `cardholder_verification_required` reason.
[issuingCardholderRequirementsDisabledReason] :: IssuingCardholderRequirements -> Maybe IssuingCardholderRequirementsDisabledReason'
-- | past_due: Array of fields that need to be collected in order to verify
-- and re-enable the cardholder.
[issuingCardholderRequirementsPastDue] :: IssuingCardholderRequirements -> Maybe [IssuingCardholderRequirementsPastDue']
-- | Create a new IssuingCardholderRequirements with all required
-- fields.
mkIssuingCardholderRequirements :: IssuingCardholderRequirements
-- | Defines the enum schema located at
-- components.schemas.issuing_cardholder_requirements.properties.disabled_reason
-- in the specification.
--
-- If `disabled_reason` is present, all cards will decline authorizations
-- with `cardholder_verification_required` reason.
data IssuingCardholderRequirementsDisabledReason'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
IssuingCardholderRequirementsDisabledReason'Other :: Value -> IssuingCardholderRequirementsDisabledReason'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
IssuingCardholderRequirementsDisabledReason'Typed :: Text -> IssuingCardholderRequirementsDisabledReason'
-- | Represents the JSON value "listed"
IssuingCardholderRequirementsDisabledReason'EnumListed :: IssuingCardholderRequirementsDisabledReason'
-- | Represents the JSON value "rejected.listed"
IssuingCardholderRequirementsDisabledReason'EnumRejected'listed :: IssuingCardholderRequirementsDisabledReason'
-- | Represents the JSON value "under_review"
IssuingCardholderRequirementsDisabledReason'EnumUnderReview :: IssuingCardholderRequirementsDisabledReason'
-- | Defines the enum schema located at
-- components.schemas.issuing_cardholder_requirements.properties.past_due.items
-- in the specification.
data IssuingCardholderRequirementsPastDue'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
IssuingCardholderRequirementsPastDue'Other :: Value -> IssuingCardholderRequirementsPastDue'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
IssuingCardholderRequirementsPastDue'Typed :: Text -> IssuingCardholderRequirementsPastDue'
-- | Represents the JSON value "company.tax_id"
IssuingCardholderRequirementsPastDue'EnumCompany'taxId :: IssuingCardholderRequirementsPastDue'
-- | Represents the JSON value "individual.dob.day"
IssuingCardholderRequirementsPastDue'EnumIndividual'dob'day :: IssuingCardholderRequirementsPastDue'
-- | Represents the JSON value "individual.dob.month"
IssuingCardholderRequirementsPastDue'EnumIndividual'dob'month :: IssuingCardholderRequirementsPastDue'
-- | Represents the JSON value "individual.dob.year"
IssuingCardholderRequirementsPastDue'EnumIndividual'dob'year :: IssuingCardholderRequirementsPastDue'
-- | Represents the JSON value "individual.first_name"
IssuingCardholderRequirementsPastDue'EnumIndividual'firstName :: IssuingCardholderRequirementsPastDue'
-- | Represents the JSON value "individual.last_name"
IssuingCardholderRequirementsPastDue'EnumIndividual'lastName :: IssuingCardholderRequirementsPastDue'
-- | Represents the JSON value "individual.verification.document"
IssuingCardholderRequirementsPastDue'EnumIndividual'verification'document :: IssuingCardholderRequirementsPastDue'
instance GHC.Classes.Eq StripeAPI.Types.IssuingCardholderRequirements.IssuingCardholderRequirementsDisabledReason'
instance GHC.Show.Show StripeAPI.Types.IssuingCardholderRequirements.IssuingCardholderRequirementsDisabledReason'
instance GHC.Classes.Eq StripeAPI.Types.IssuingCardholderRequirements.IssuingCardholderRequirementsPastDue'
instance GHC.Show.Show StripeAPI.Types.IssuingCardholderRequirements.IssuingCardholderRequirementsPastDue'
instance GHC.Classes.Eq StripeAPI.Types.IssuingCardholderRequirements.IssuingCardholderRequirements
instance GHC.Show.Show StripeAPI.Types.IssuingCardholderRequirements.IssuingCardholderRequirements
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.IssuingCardholderRequirements.IssuingCardholderRequirements
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.IssuingCardholderRequirements.IssuingCardholderRequirements
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.IssuingCardholderRequirements.IssuingCardholderRequirementsPastDue'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.IssuingCardholderRequirements.IssuingCardholderRequirementsPastDue'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.IssuingCardholderRequirements.IssuingCardholderRequirementsDisabledReason'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.IssuingCardholderRequirements.IssuingCardholderRequirementsDisabledReason'
-- | Contains the types generated from the schema
-- IssuingCardholderAuthorizationControls
module StripeAPI.Types.IssuingCardholderAuthorizationControls
-- | Defines the object schema located at
-- components.schemas.issuing_cardholder_authorization_controls
-- in the specification.
data IssuingCardholderAuthorizationControls
IssuingCardholderAuthorizationControls :: Maybe [IssuingCardholderAuthorizationControlsAllowedCategories'] -> Maybe [IssuingCardholderAuthorizationControlsBlockedCategories'] -> Maybe [IssuingCardholderSpendingLimit] -> Maybe Text -> IssuingCardholderAuthorizationControls
-- | allowed_categories: Array of strings containing categories of
-- authorizations to allow. All other categories will be blocked. Cannot
-- be set with `blocked_categories`.
[issuingCardholderAuthorizationControlsAllowedCategories] :: IssuingCardholderAuthorizationControls -> Maybe [IssuingCardholderAuthorizationControlsAllowedCategories']
-- | blocked_categories: Array of strings containing categories of
-- authorizations to decline. All other categories will be allowed.
-- Cannot be set with `allowed_categories`.
[issuingCardholderAuthorizationControlsBlockedCategories] :: IssuingCardholderAuthorizationControls -> Maybe [IssuingCardholderAuthorizationControlsBlockedCategories']
-- | spending_limits: Limit spending with amount-based rules that apply
-- across this cardholder's cards.
[issuingCardholderAuthorizationControlsSpendingLimits] :: IssuingCardholderAuthorizationControls -> Maybe [IssuingCardholderSpendingLimit]
-- | spending_limits_currency: Currency of the amounts within
-- `spending_limits`.
[issuingCardholderAuthorizationControlsSpendingLimitsCurrency] :: IssuingCardholderAuthorizationControls -> Maybe Text
-- | Create a new IssuingCardholderAuthorizationControls with all
-- required fields.
mkIssuingCardholderAuthorizationControls :: IssuingCardholderAuthorizationControls
-- | Defines the enum schema located at
-- components.schemas.issuing_cardholder_authorization_controls.properties.allowed_categories.items
-- in the specification.
data IssuingCardholderAuthorizationControlsAllowedCategories'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
IssuingCardholderAuthorizationControlsAllowedCategories'Other :: Value -> IssuingCardholderAuthorizationControlsAllowedCategories'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
IssuingCardholderAuthorizationControlsAllowedCategories'Typed :: Text -> IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "ac_refrigeration_repair"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumAcRefrigerationRepair :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "accounting_bookkeeping_services"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumAccountingBookkeepingServices :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "advertising_services"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumAdvertisingServices :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "agricultural_cooperative"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumAgriculturalCooperative :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "airlines_air_carriers"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumAirlinesAirCarriers :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "airports_flying_fields"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumAirportsFlyingFields :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "ambulance_services"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumAmbulanceServices :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "amusement_parks_carnivals"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumAmusementParksCarnivals :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "antique_reproductions"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumAntiqueReproductions :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "antique_shops"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumAntiqueShops :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "aquariums"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumAquariums :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "architectural_surveying_services"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumArchitecturalSurveyingServices :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "art_dealers_and_galleries"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumArtDealersAndGalleries :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "artists_supply_and_craft_shops"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumArtistsSupplyAndCraftShops :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "auto_and_home_supply_stores"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumAutoAndHomeSupplyStores :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "auto_body_repair_shops"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumAutoBodyRepairShops :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "auto_paint_shops"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumAutoPaintShops :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "auto_service_shops"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumAutoServiceShops :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "automated_cash_disburse"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumAutomatedCashDisburse :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "automated_fuel_dispensers"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumAutomatedFuelDispensers :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "automobile_associations"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumAutomobileAssociations :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value
-- "automotive_parts_and_accessories_stores"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumAutomotivePartsAndAccessoriesStores :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "automotive_tire_stores"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumAutomotiveTireStores :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "bail_and_bond_payments"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumBailAndBondPayments :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "bakeries"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumBakeries :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "bands_orchestras"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumBandsOrchestras :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "barber_and_beauty_shops"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumBarberAndBeautyShops :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "betting_casino_gambling"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumBettingCasinoGambling :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "bicycle_shops"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumBicycleShops :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "billiard_pool_establishments"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumBilliardPoolEstablishments :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "boat_dealers"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumBoatDealers :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "boat_rentals_and_leases"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumBoatRentalsAndLeases :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "book_stores"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumBookStores :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "books_periodicals_and_newspapers"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumBooksPeriodicalsAndNewspapers :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "bowling_alleys"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumBowlingAlleys :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "bus_lines"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumBusLines :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "business_secretarial_schools"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumBusinessSecretarialSchools :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "buying_shopping_services"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumBuyingShoppingServices :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value
-- "cable_satellite_and_other_pay_television_and_radio"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumCableSatelliteAndOtherPayTelevisionAndRadio :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value
-- "camera_and_photographic_supply_stores"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumCameraAndPhotographicSupplyStores :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value
-- "candy_nut_and_confectionery_stores"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumCandyNutAndConfectioneryStores :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "car_and_truck_dealers_new_used"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumCarAndTruckDealersNewUsed :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "car_and_truck_dealers_used_only"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumCarAndTruckDealersUsedOnly :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "car_rental_agencies"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumCarRentalAgencies :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "car_washes"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumCarWashes :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "carpentry_services"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumCarpentryServices :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "carpet_upholstery_cleaning"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumCarpetUpholsteryCleaning :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "caterers"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumCaterers :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value
-- "charitable_and_social_service_organizations_fundraising"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumCharitableAndSocialServiceOrganizationsFundraising :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "chemicals_and_allied_products"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumChemicalsAndAlliedProducts :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "child_care_services"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumChildCareServices :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "childrens_and_infants_wear_stores"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumChildrensAndInfantsWearStores :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "chiropodists_podiatrists"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumChiropodistsPodiatrists :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "chiropractors"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumChiropractors :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "cigar_stores_and_stands"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumCigarStoresAndStands :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value
-- "civic_social_fraternal_associations"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumCivicSocialFraternalAssociations :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "cleaning_and_maintenance"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumCleaningAndMaintenance :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "clothing_rental"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumClothingRental :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "colleges_universities"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumCollegesUniversities :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "commercial_equipment"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumCommercialEquipment :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "commercial_footwear"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumCommercialFootwear :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value
-- "commercial_photography_art_and_graphics"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumCommercialPhotographyArtAndGraphics :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "commuter_transport_and_ferries"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumCommuterTransportAndFerries :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "computer_network_services"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumComputerNetworkServices :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "computer_programming"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumComputerProgramming :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "computer_repair"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumComputerRepair :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "computer_software_stores"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumComputerSoftwareStores :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value
-- "computers_peripherals_and_software"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumComputersPeripheralsAndSoftware :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "concrete_work_services"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumConcreteWorkServices :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "construction_materials"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumConstructionMaterials :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "consulting_public_relations"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumConsultingPublicRelations :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "correspondence_schools"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumCorrespondenceSchools :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "cosmetic_stores"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumCosmeticStores :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "counseling_services"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumCounselingServices :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "country_clubs"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumCountryClubs :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "courier_services"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumCourierServices :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "court_costs"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumCourtCosts :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "credit_reporting_agencies"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumCreditReportingAgencies :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "cruise_lines"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumCruiseLines :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "dairy_products_stores"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumDairyProductsStores :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "dance_hall_studios_schools"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumDanceHallStudiosSchools :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "dating_escort_services"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumDatingEscortServices :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "dentists_orthodontists"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumDentistsOrthodontists :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "department_stores"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumDepartmentStores :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "detective_agencies"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumDetectiveAgencies :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "digital_goods_applications"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumDigitalGoodsApplications :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "digital_goods_games"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumDigitalGoodsGames :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "digital_goods_large_volume"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumDigitalGoodsLargeVolume :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "digital_goods_media"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumDigitalGoodsMedia :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "direct_marketing_catalog_merchant"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumDirectMarketingCatalogMerchant :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value
-- "direct_marketing_combination_catalog_and_retail_merchant"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumDirectMarketingCombinationCatalogAndRetailMerchant :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value
-- "direct_marketing_inbound_telemarketing"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumDirectMarketingInboundTelemarketing :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value
-- "direct_marketing_insurance_services"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumDirectMarketingInsuranceServices :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "direct_marketing_other"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumDirectMarketingOther :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value
-- "direct_marketing_outbound_telemarketing"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumDirectMarketingOutboundTelemarketing :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "direct_marketing_subscription"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumDirectMarketingSubscription :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "direct_marketing_travel"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumDirectMarketingTravel :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "discount_stores"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumDiscountStores :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "doctors"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumDoctors :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "door_to_door_sales"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumDoorToDoorSales :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value
-- "drapery_window_covering_and_upholstery_stores"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumDraperyWindowCoveringAndUpholsteryStores :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "drinking_places"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumDrinkingPlaces :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "drug_stores_and_pharmacies"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumDrugStoresAndPharmacies :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value
-- "drugs_drug_proprietaries_and_druggist_sundries"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumDrugsDrugProprietariesAndDruggistSundries :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "dry_cleaners"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumDryCleaners :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "durable_goods"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumDurableGoods :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "duty_free_stores"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumDutyFreeStores :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "eating_places_restaurants"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumEatingPlacesRestaurants :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "educational_services"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumEducationalServices :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "electric_razor_stores"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumElectricRazorStores :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "electrical_parts_and_equipment"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumElectricalPartsAndEquipment :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "electrical_services"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumElectricalServices :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "electronics_repair_shops"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumElectronicsRepairShops :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "electronics_stores"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumElectronicsStores :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "elementary_secondary_schools"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumElementarySecondarySchools :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "employment_temp_agencies"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumEmploymentTempAgencies :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "equipment_rental"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumEquipmentRental :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "exterminating_services"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumExterminatingServices :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "family_clothing_stores"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumFamilyClothingStores :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "fast_food_restaurants"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumFastFoodRestaurants :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "financial_institutions"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumFinancialInstitutions :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value
-- "fines_government_administrative_entities"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumFinesGovernmentAdministrativeEntities :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value
-- "fireplace_fireplace_screens_and_accessories_stores"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumFireplaceFireplaceScreensAndAccessoriesStores :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "floor_covering_stores"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumFloorCoveringStores :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "florists"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumFlorists :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value
-- "florists_supplies_nursery_stock_and_flowers"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumFloristsSuppliesNurseryStockAndFlowers :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value
-- "freezer_and_locker_meat_provisioners"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumFreezerAndLockerMeatProvisioners :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "fuel_dealers_non_automotive"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumFuelDealersNonAutomotive :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "funeral_services_crematories"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumFuneralServicesCrematories :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value
-- "furniture_home_furnishings_and_equipment_stores_except_appliances"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumFurnitureHomeFurnishingsAndEquipmentStoresExceptAppliances :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "furniture_repair_refinishing"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumFurnitureRepairRefinishing :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "furriers_and_fur_shops"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumFurriersAndFurShops :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "general_services"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumGeneralServices :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value
-- "gift_card_novelty_and_souvenir_shops"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumGiftCardNoveltyAndSouvenirShops :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "glass_paint_and_wallpaper_stores"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumGlassPaintAndWallpaperStores :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "glassware_crystal_stores"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumGlasswareCrystalStores :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "golf_courses_public"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumGolfCoursesPublic :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "government_services"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumGovernmentServices :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "grocery_stores_supermarkets"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumGroceryStoresSupermarkets :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "hardware_equipment_and_supplies"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumHardwareEquipmentAndSupplies :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "hardware_stores"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumHardwareStores :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "health_and_beauty_spas"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumHealthAndBeautySpas :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "hearing_aids_sales_and_supplies"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumHearingAidsSalesAndSupplies :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "heating_plumbing_a_c"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumHeatingPlumbingAC :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "hobby_toy_and_game_shops"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumHobbyToyAndGameShops :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "home_supply_warehouse_stores"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumHomeSupplyWarehouseStores :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "hospitals"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumHospitals :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "hotels_motels_and_resorts"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumHotelsMotelsAndResorts :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "household_appliance_stores"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumHouseholdApplianceStores :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "industrial_supplies"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumIndustrialSupplies :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "information_retrieval_services"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumInformationRetrievalServices :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "insurance_default"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumInsuranceDefault :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "insurance_underwriting_premiums"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumInsuranceUnderwritingPremiums :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "intra_company_purchases"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumIntraCompanyPurchases :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value
-- "jewelry_stores_watches_clocks_and_silverware_stores"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumJewelryStoresWatchesClocksAndSilverwareStores :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "landscaping_services"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumLandscapingServices :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "laundries"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumLaundries :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "laundry_cleaning_services"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumLaundryCleaningServices :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "legal_services_attorneys"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumLegalServicesAttorneys :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "luggage_and_leather_goods_stores"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumLuggageAndLeatherGoodsStores :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "lumber_building_materials_stores"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumLumberBuildingMaterialsStores :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "manual_cash_disburse"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumManualCashDisburse :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "marinas_service_and_supplies"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumMarinasServiceAndSupplies :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "masonry_stonework_and_plaster"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumMasonryStoneworkAndPlaster :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "massage_parlors"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumMassageParlors :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "medical_and_dental_labs"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumMedicalAndDentalLabs :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value
-- "medical_dental_ophthalmic_and_hospital_equipment_and_supplies"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumMedicalDentalOphthalmicAndHospitalEquipmentAndSupplies :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "medical_services"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumMedicalServices :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "membership_organizations"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumMembershipOrganizations :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value
-- "mens_and_boys_clothing_and_accessories_stores"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumMensAndBoysClothingAndAccessoriesStores :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "mens_womens_clothing_stores"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumMensWomensClothingStores :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "metal_service_centers"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumMetalServiceCenters :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "miscellaneous"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumMiscellaneous :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value
-- "miscellaneous_apparel_and_accessory_shops"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumMiscellaneousApparelAndAccessoryShops :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "miscellaneous_auto_dealers"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumMiscellaneousAutoDealers :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "miscellaneous_business_services"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumMiscellaneousBusinessServices :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "miscellaneous_food_stores"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumMiscellaneousFoodStores :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "miscellaneous_general_merchandise"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumMiscellaneousGeneralMerchandise :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "miscellaneous_general_services"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumMiscellaneousGeneralServices :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value
-- "miscellaneous_home_furnishing_specialty_stores"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumMiscellaneousHomeFurnishingSpecialtyStores :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value
-- "miscellaneous_publishing_and_printing"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumMiscellaneousPublishingAndPrinting :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "miscellaneous_recreation_services"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumMiscellaneousRecreationServices :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "miscellaneous_repair_shops"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumMiscellaneousRepairShops :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "miscellaneous_specialty_retail"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumMiscellaneousSpecialtyRetail :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "mobile_home_dealers"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumMobileHomeDealers :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "motion_picture_theaters"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumMotionPictureTheaters :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value
-- "motor_freight_carriers_and_trucking"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumMotorFreightCarriersAndTrucking :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "motor_homes_dealers"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumMotorHomesDealers :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value
-- "motor_vehicle_supplies_and_new_parts"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumMotorVehicleSuppliesAndNewParts :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "motorcycle_shops_and_dealers"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumMotorcycleShopsAndDealers :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "motorcycle_shops_dealers"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumMotorcycleShopsDealers :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value
-- "music_stores_musical_instruments_pianos_and_sheet_music"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumMusicStoresMusicalInstrumentsPianosAndSheetMusic :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "news_dealers_and_newsstands"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumNewsDealersAndNewsstands :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "non_fi_money_orders"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumNonFiMoneyOrders :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value
-- "non_fi_stored_value_card_purchase_load"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumNonFiStoredValueCardPurchaseLoad :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "nondurable_goods"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumNondurableGoods :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value
-- "nurseries_lawn_and_garden_supply_stores"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumNurseriesLawnAndGardenSupplyStores :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "nursing_personal_care"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumNursingPersonalCare :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "office_and_commercial_furniture"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumOfficeAndCommercialFurniture :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "opticians_eyeglasses"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumOpticiansEyeglasses :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "optometrists_ophthalmologist"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumOptometristsOphthalmologist :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value
-- "orthopedic_goods_prosthetic_devices"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumOrthopedicGoodsProstheticDevices :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "osteopaths"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumOsteopaths :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value
-- "package_stores_beer_wine_and_liquor"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumPackageStoresBeerWineAndLiquor :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "paints_varnishes_and_supplies"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumPaintsVarnishesAndSupplies :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "parking_lots_garages"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumParkingLotsGarages :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "passenger_railways"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumPassengerRailways :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "pawn_shops"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumPawnShops :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "pet_shops_pet_food_and_supplies"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumPetShopsPetFoodAndSupplies :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "petroleum_and_petroleum_products"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumPetroleumAndPetroleumProducts :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "photo_developing"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumPhotoDeveloping :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value
-- "photographic_photocopy_microfilm_equipment_and_supplies"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumPhotographicPhotocopyMicrofilmEquipmentAndSupplies :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "photographic_studios"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumPhotographicStudios :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "picture_video_production"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumPictureVideoProduction :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value
-- "piece_goods_notions_and_other_dry_goods"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumPieceGoodsNotionsAndOtherDryGoods :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value
-- "plumbing_heating_equipment_and_supplies"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumPlumbingHeatingEquipmentAndSupplies :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "political_organizations"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumPoliticalOrganizations :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "postal_services_government_only"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumPostalServicesGovernmentOnly :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value
-- "precious_stones_and_metals_watches_and_jewelry"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumPreciousStonesAndMetalsWatchesAndJewelry :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "professional_services"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumProfessionalServices :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "public_warehousing_and_storage"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumPublicWarehousingAndStorage :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "quick_copy_repro_and_blueprint"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumQuickCopyReproAndBlueprint :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "railroads"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumRailroads :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value
-- "real_estate_agents_and_managers_rentals"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumRealEstateAgentsAndManagersRentals :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "record_stores"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumRecordStores :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "recreational_vehicle_rentals"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumRecreationalVehicleRentals :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "religious_goods_stores"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumReligiousGoodsStores :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "religious_organizations"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumReligiousOrganizations :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "roofing_siding_sheet_metal"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumRoofingSidingSheetMetal :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "secretarial_support_services"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumSecretarialSupportServices :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "security_brokers_dealers"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumSecurityBrokersDealers :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "service_stations"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumServiceStations :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value
-- "sewing_needlework_fabric_and_piece_goods_stores"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumSewingNeedleworkFabricAndPieceGoodsStores :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "shoe_repair_hat_cleaning"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumShoeRepairHatCleaning :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "shoe_stores"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumShoeStores :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "small_appliance_repair"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumSmallApplianceRepair :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "snowmobile_dealers"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumSnowmobileDealers :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "special_trade_services"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumSpecialTradeServices :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "specialty_cleaning"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumSpecialtyCleaning :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "sporting_goods_stores"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumSportingGoodsStores :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "sporting_recreation_camps"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumSportingRecreationCamps :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "sports_and_riding_apparel_stores"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumSportsAndRidingApparelStores :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "sports_clubs_fields"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumSportsClubsFields :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "stamp_and_coin_stores"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumStampAndCoinStores :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value
-- "stationary_office_supplies_printing_and_writing_paper"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumStationaryOfficeSuppliesPrintingAndWritingPaper :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value
-- "stationery_stores_office_and_school_supply_stores"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumStationeryStoresOfficeAndSchoolSupplyStores :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "swimming_pools_sales"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumSwimmingPoolsSales :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "t_ui_travel_germany"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumTUiTravelGermany :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "tailors_alterations"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumTailorsAlterations :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "tax_payments_government_agencies"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumTaxPaymentsGovernmentAgencies :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "tax_preparation_services"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumTaxPreparationServices :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "taxicabs_limousines"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumTaxicabsLimousines :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value
-- "telecommunication_equipment_and_telephone_sales"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumTelecommunicationEquipmentAndTelephoneSales :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "telecommunication_services"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumTelecommunicationServices :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "telegraph_services"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumTelegraphServices :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "tent_and_awning_shops"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumTentAndAwningShops :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "testing_laboratories"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumTestingLaboratories :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "theatrical_ticket_agencies"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumTheatricalTicketAgencies :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "timeshares"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumTimeshares :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "tire_retreading_and_repair"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumTireRetreadingAndRepair :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "tolls_bridge_fees"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumTollsBridgeFees :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "tourist_attractions_and_exhibits"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumTouristAttractionsAndExhibits :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "towing_services"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumTowingServices :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "trailer_parks_campgrounds"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumTrailerParksCampgrounds :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "transportation_services"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumTransportationServices :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "travel_agencies_tour_operators"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumTravelAgenciesTourOperators :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "truck_stop_iteration"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumTruckStopIteration :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "truck_utility_trailer_rentals"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumTruckUtilityTrailerRentals :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value
-- "typesetting_plate_making_and_related_services"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumTypesettingPlateMakingAndRelatedServices :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "typewriter_stores"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumTypewriterStores :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value
-- "u_s_federal_government_agencies_or_departments"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumUSFederalGovernmentAgenciesOrDepartments :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "uniforms_commercial_clothing"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumUniformsCommercialClothing :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value
-- "used_merchandise_and_secondhand_stores"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumUsedMerchandiseAndSecondhandStores :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "utilities"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumUtilities :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "variety_stores"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumVarietyStores :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "veterinary_services"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumVeterinaryServices :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "video_amusement_game_supplies"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumVideoAmusementGameSupplies :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "video_game_arcades"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumVideoGameArcades :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "video_tape_rental_stores"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumVideoTapeRentalStores :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "vocational_trade_schools"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumVocationalTradeSchools :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "watch_jewelry_repair"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumWatchJewelryRepair :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "welding_repair"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumWeldingRepair :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "wholesale_clubs"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumWholesaleClubs :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "wig_and_toupee_stores"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumWigAndToupeeStores :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "wires_money_orders"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumWiresMoneyOrders :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value
-- "womens_accessory_and_specialty_shops"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumWomensAccessoryAndSpecialtyShops :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "womens_ready_to_wear_stores"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumWomensReadyToWearStores :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Represents the JSON value "wrecking_and_salvage_yards"
IssuingCardholderAuthorizationControlsAllowedCategories'EnumWreckingAndSalvageYards :: IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Defines the enum schema located at
-- components.schemas.issuing_cardholder_authorization_controls.properties.blocked_categories.items
-- in the specification.
data IssuingCardholderAuthorizationControlsBlockedCategories'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
IssuingCardholderAuthorizationControlsBlockedCategories'Other :: Value -> IssuingCardholderAuthorizationControlsBlockedCategories'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
IssuingCardholderAuthorizationControlsBlockedCategories'Typed :: Text -> IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "ac_refrigeration_repair"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumAcRefrigerationRepair :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "accounting_bookkeeping_services"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumAccountingBookkeepingServices :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "advertising_services"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumAdvertisingServices :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "agricultural_cooperative"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumAgriculturalCooperative :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "airlines_air_carriers"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumAirlinesAirCarriers :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "airports_flying_fields"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumAirportsFlyingFields :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "ambulance_services"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumAmbulanceServices :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "amusement_parks_carnivals"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumAmusementParksCarnivals :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "antique_reproductions"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumAntiqueReproductions :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "antique_shops"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumAntiqueShops :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "aquariums"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumAquariums :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "architectural_surveying_services"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumArchitecturalSurveyingServices :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "art_dealers_and_galleries"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumArtDealersAndGalleries :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "artists_supply_and_craft_shops"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumArtistsSupplyAndCraftShops :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "auto_and_home_supply_stores"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumAutoAndHomeSupplyStores :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "auto_body_repair_shops"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumAutoBodyRepairShops :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "auto_paint_shops"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumAutoPaintShops :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "auto_service_shops"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumAutoServiceShops :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "automated_cash_disburse"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumAutomatedCashDisburse :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "automated_fuel_dispensers"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumAutomatedFuelDispensers :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "automobile_associations"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumAutomobileAssociations :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value
-- "automotive_parts_and_accessories_stores"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumAutomotivePartsAndAccessoriesStores :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "automotive_tire_stores"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumAutomotiveTireStores :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "bail_and_bond_payments"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumBailAndBondPayments :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "bakeries"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumBakeries :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "bands_orchestras"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumBandsOrchestras :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "barber_and_beauty_shops"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumBarberAndBeautyShops :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "betting_casino_gambling"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumBettingCasinoGambling :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "bicycle_shops"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumBicycleShops :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "billiard_pool_establishments"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumBilliardPoolEstablishments :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "boat_dealers"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumBoatDealers :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "boat_rentals_and_leases"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumBoatRentalsAndLeases :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "book_stores"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumBookStores :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "books_periodicals_and_newspapers"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumBooksPeriodicalsAndNewspapers :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "bowling_alleys"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumBowlingAlleys :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "bus_lines"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumBusLines :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "business_secretarial_schools"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumBusinessSecretarialSchools :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "buying_shopping_services"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumBuyingShoppingServices :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value
-- "cable_satellite_and_other_pay_television_and_radio"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumCableSatelliteAndOtherPayTelevisionAndRadio :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value
-- "camera_and_photographic_supply_stores"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumCameraAndPhotographicSupplyStores :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value
-- "candy_nut_and_confectionery_stores"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumCandyNutAndConfectioneryStores :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "car_and_truck_dealers_new_used"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumCarAndTruckDealersNewUsed :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "car_and_truck_dealers_used_only"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumCarAndTruckDealersUsedOnly :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "car_rental_agencies"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumCarRentalAgencies :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "car_washes"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumCarWashes :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "carpentry_services"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumCarpentryServices :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "carpet_upholstery_cleaning"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumCarpetUpholsteryCleaning :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "caterers"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumCaterers :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value
-- "charitable_and_social_service_organizations_fundraising"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumCharitableAndSocialServiceOrganizationsFundraising :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "chemicals_and_allied_products"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumChemicalsAndAlliedProducts :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "child_care_services"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumChildCareServices :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "childrens_and_infants_wear_stores"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumChildrensAndInfantsWearStores :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "chiropodists_podiatrists"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumChiropodistsPodiatrists :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "chiropractors"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumChiropractors :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "cigar_stores_and_stands"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumCigarStoresAndStands :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value
-- "civic_social_fraternal_associations"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumCivicSocialFraternalAssociations :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "cleaning_and_maintenance"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumCleaningAndMaintenance :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "clothing_rental"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumClothingRental :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "colleges_universities"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumCollegesUniversities :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "commercial_equipment"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumCommercialEquipment :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "commercial_footwear"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumCommercialFootwear :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value
-- "commercial_photography_art_and_graphics"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumCommercialPhotographyArtAndGraphics :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "commuter_transport_and_ferries"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumCommuterTransportAndFerries :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "computer_network_services"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumComputerNetworkServices :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "computer_programming"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumComputerProgramming :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "computer_repair"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumComputerRepair :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "computer_software_stores"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumComputerSoftwareStores :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value
-- "computers_peripherals_and_software"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumComputersPeripheralsAndSoftware :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "concrete_work_services"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumConcreteWorkServices :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "construction_materials"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumConstructionMaterials :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "consulting_public_relations"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumConsultingPublicRelations :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "correspondence_schools"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumCorrespondenceSchools :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "cosmetic_stores"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumCosmeticStores :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "counseling_services"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumCounselingServices :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "country_clubs"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumCountryClubs :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "courier_services"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumCourierServices :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "court_costs"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumCourtCosts :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "credit_reporting_agencies"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumCreditReportingAgencies :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "cruise_lines"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumCruiseLines :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "dairy_products_stores"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumDairyProductsStores :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "dance_hall_studios_schools"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumDanceHallStudiosSchools :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "dating_escort_services"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumDatingEscortServices :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "dentists_orthodontists"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumDentistsOrthodontists :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "department_stores"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumDepartmentStores :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "detective_agencies"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumDetectiveAgencies :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "digital_goods_applications"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumDigitalGoodsApplications :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "digital_goods_games"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumDigitalGoodsGames :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "digital_goods_large_volume"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumDigitalGoodsLargeVolume :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "digital_goods_media"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumDigitalGoodsMedia :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "direct_marketing_catalog_merchant"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumDirectMarketingCatalogMerchant :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value
-- "direct_marketing_combination_catalog_and_retail_merchant"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumDirectMarketingCombinationCatalogAndRetailMerchant :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value
-- "direct_marketing_inbound_telemarketing"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumDirectMarketingInboundTelemarketing :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value
-- "direct_marketing_insurance_services"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumDirectMarketingInsuranceServices :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "direct_marketing_other"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumDirectMarketingOther :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value
-- "direct_marketing_outbound_telemarketing"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumDirectMarketingOutboundTelemarketing :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "direct_marketing_subscription"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumDirectMarketingSubscription :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "direct_marketing_travel"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumDirectMarketingTravel :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "discount_stores"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumDiscountStores :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "doctors"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumDoctors :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "door_to_door_sales"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumDoorToDoorSales :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value
-- "drapery_window_covering_and_upholstery_stores"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumDraperyWindowCoveringAndUpholsteryStores :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "drinking_places"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumDrinkingPlaces :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "drug_stores_and_pharmacies"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumDrugStoresAndPharmacies :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value
-- "drugs_drug_proprietaries_and_druggist_sundries"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumDrugsDrugProprietariesAndDruggistSundries :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "dry_cleaners"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumDryCleaners :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "durable_goods"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumDurableGoods :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "duty_free_stores"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumDutyFreeStores :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "eating_places_restaurants"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumEatingPlacesRestaurants :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "educational_services"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumEducationalServices :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "electric_razor_stores"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumElectricRazorStores :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "electrical_parts_and_equipment"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumElectricalPartsAndEquipment :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "electrical_services"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumElectricalServices :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "electronics_repair_shops"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumElectronicsRepairShops :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "electronics_stores"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumElectronicsStores :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "elementary_secondary_schools"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumElementarySecondarySchools :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "employment_temp_agencies"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumEmploymentTempAgencies :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "equipment_rental"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumEquipmentRental :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "exterminating_services"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumExterminatingServices :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "family_clothing_stores"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumFamilyClothingStores :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "fast_food_restaurants"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumFastFoodRestaurants :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "financial_institutions"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumFinancialInstitutions :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value
-- "fines_government_administrative_entities"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumFinesGovernmentAdministrativeEntities :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value
-- "fireplace_fireplace_screens_and_accessories_stores"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumFireplaceFireplaceScreensAndAccessoriesStores :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "floor_covering_stores"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumFloorCoveringStores :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "florists"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumFlorists :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value
-- "florists_supplies_nursery_stock_and_flowers"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumFloristsSuppliesNurseryStockAndFlowers :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value
-- "freezer_and_locker_meat_provisioners"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumFreezerAndLockerMeatProvisioners :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "fuel_dealers_non_automotive"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumFuelDealersNonAutomotive :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "funeral_services_crematories"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumFuneralServicesCrematories :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value
-- "furniture_home_furnishings_and_equipment_stores_except_appliances"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumFurnitureHomeFurnishingsAndEquipmentStoresExceptAppliances :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "furniture_repair_refinishing"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumFurnitureRepairRefinishing :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "furriers_and_fur_shops"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumFurriersAndFurShops :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "general_services"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumGeneralServices :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value
-- "gift_card_novelty_and_souvenir_shops"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumGiftCardNoveltyAndSouvenirShops :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "glass_paint_and_wallpaper_stores"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumGlassPaintAndWallpaperStores :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "glassware_crystal_stores"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumGlasswareCrystalStores :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "golf_courses_public"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumGolfCoursesPublic :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "government_services"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumGovernmentServices :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "grocery_stores_supermarkets"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumGroceryStoresSupermarkets :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "hardware_equipment_and_supplies"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumHardwareEquipmentAndSupplies :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "hardware_stores"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumHardwareStores :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "health_and_beauty_spas"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumHealthAndBeautySpas :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "hearing_aids_sales_and_supplies"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumHearingAidsSalesAndSupplies :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "heating_plumbing_a_c"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumHeatingPlumbingAC :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "hobby_toy_and_game_shops"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumHobbyToyAndGameShops :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "home_supply_warehouse_stores"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumHomeSupplyWarehouseStores :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "hospitals"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumHospitals :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "hotels_motels_and_resorts"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumHotelsMotelsAndResorts :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "household_appliance_stores"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumHouseholdApplianceStores :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "industrial_supplies"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumIndustrialSupplies :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "information_retrieval_services"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumInformationRetrievalServices :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "insurance_default"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumInsuranceDefault :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "insurance_underwriting_premiums"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumInsuranceUnderwritingPremiums :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "intra_company_purchases"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumIntraCompanyPurchases :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value
-- "jewelry_stores_watches_clocks_and_silverware_stores"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumJewelryStoresWatchesClocksAndSilverwareStores :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "landscaping_services"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumLandscapingServices :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "laundries"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumLaundries :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "laundry_cleaning_services"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumLaundryCleaningServices :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "legal_services_attorneys"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumLegalServicesAttorneys :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "luggage_and_leather_goods_stores"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumLuggageAndLeatherGoodsStores :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "lumber_building_materials_stores"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumLumberBuildingMaterialsStores :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "manual_cash_disburse"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumManualCashDisburse :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "marinas_service_and_supplies"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumMarinasServiceAndSupplies :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "masonry_stonework_and_plaster"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumMasonryStoneworkAndPlaster :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "massage_parlors"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumMassageParlors :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "medical_and_dental_labs"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumMedicalAndDentalLabs :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value
-- "medical_dental_ophthalmic_and_hospital_equipment_and_supplies"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumMedicalDentalOphthalmicAndHospitalEquipmentAndSupplies :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "medical_services"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumMedicalServices :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "membership_organizations"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumMembershipOrganizations :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value
-- "mens_and_boys_clothing_and_accessories_stores"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumMensAndBoysClothingAndAccessoriesStores :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "mens_womens_clothing_stores"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumMensWomensClothingStores :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "metal_service_centers"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumMetalServiceCenters :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "miscellaneous"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumMiscellaneous :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value
-- "miscellaneous_apparel_and_accessory_shops"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumMiscellaneousApparelAndAccessoryShops :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "miscellaneous_auto_dealers"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumMiscellaneousAutoDealers :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "miscellaneous_business_services"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumMiscellaneousBusinessServices :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "miscellaneous_food_stores"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumMiscellaneousFoodStores :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "miscellaneous_general_merchandise"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumMiscellaneousGeneralMerchandise :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "miscellaneous_general_services"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumMiscellaneousGeneralServices :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value
-- "miscellaneous_home_furnishing_specialty_stores"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumMiscellaneousHomeFurnishingSpecialtyStores :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value
-- "miscellaneous_publishing_and_printing"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumMiscellaneousPublishingAndPrinting :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "miscellaneous_recreation_services"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumMiscellaneousRecreationServices :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "miscellaneous_repair_shops"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumMiscellaneousRepairShops :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "miscellaneous_specialty_retail"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumMiscellaneousSpecialtyRetail :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "mobile_home_dealers"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumMobileHomeDealers :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "motion_picture_theaters"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumMotionPictureTheaters :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value
-- "motor_freight_carriers_and_trucking"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumMotorFreightCarriersAndTrucking :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "motor_homes_dealers"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumMotorHomesDealers :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value
-- "motor_vehicle_supplies_and_new_parts"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumMotorVehicleSuppliesAndNewParts :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "motorcycle_shops_and_dealers"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumMotorcycleShopsAndDealers :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "motorcycle_shops_dealers"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumMotorcycleShopsDealers :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value
-- "music_stores_musical_instruments_pianos_and_sheet_music"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumMusicStoresMusicalInstrumentsPianosAndSheetMusic :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "news_dealers_and_newsstands"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumNewsDealersAndNewsstands :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "non_fi_money_orders"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumNonFiMoneyOrders :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value
-- "non_fi_stored_value_card_purchase_load"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumNonFiStoredValueCardPurchaseLoad :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "nondurable_goods"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumNondurableGoods :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value
-- "nurseries_lawn_and_garden_supply_stores"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumNurseriesLawnAndGardenSupplyStores :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "nursing_personal_care"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumNursingPersonalCare :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "office_and_commercial_furniture"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumOfficeAndCommercialFurniture :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "opticians_eyeglasses"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumOpticiansEyeglasses :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "optometrists_ophthalmologist"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumOptometristsOphthalmologist :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value
-- "orthopedic_goods_prosthetic_devices"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumOrthopedicGoodsProstheticDevices :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "osteopaths"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumOsteopaths :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value
-- "package_stores_beer_wine_and_liquor"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumPackageStoresBeerWineAndLiquor :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "paints_varnishes_and_supplies"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumPaintsVarnishesAndSupplies :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "parking_lots_garages"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumParkingLotsGarages :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "passenger_railways"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumPassengerRailways :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "pawn_shops"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumPawnShops :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "pet_shops_pet_food_and_supplies"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumPetShopsPetFoodAndSupplies :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "petroleum_and_petroleum_products"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumPetroleumAndPetroleumProducts :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "photo_developing"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumPhotoDeveloping :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value
-- "photographic_photocopy_microfilm_equipment_and_supplies"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumPhotographicPhotocopyMicrofilmEquipmentAndSupplies :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "photographic_studios"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumPhotographicStudios :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "picture_video_production"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumPictureVideoProduction :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value
-- "piece_goods_notions_and_other_dry_goods"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumPieceGoodsNotionsAndOtherDryGoods :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value
-- "plumbing_heating_equipment_and_supplies"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumPlumbingHeatingEquipmentAndSupplies :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "political_organizations"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumPoliticalOrganizations :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "postal_services_government_only"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumPostalServicesGovernmentOnly :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value
-- "precious_stones_and_metals_watches_and_jewelry"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumPreciousStonesAndMetalsWatchesAndJewelry :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "professional_services"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumProfessionalServices :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "public_warehousing_and_storage"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumPublicWarehousingAndStorage :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "quick_copy_repro_and_blueprint"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumQuickCopyReproAndBlueprint :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "railroads"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumRailroads :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value
-- "real_estate_agents_and_managers_rentals"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumRealEstateAgentsAndManagersRentals :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "record_stores"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumRecordStores :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "recreational_vehicle_rentals"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumRecreationalVehicleRentals :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "religious_goods_stores"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumReligiousGoodsStores :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "religious_organizations"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumReligiousOrganizations :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "roofing_siding_sheet_metal"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumRoofingSidingSheetMetal :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "secretarial_support_services"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumSecretarialSupportServices :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "security_brokers_dealers"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumSecurityBrokersDealers :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "service_stations"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumServiceStations :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value
-- "sewing_needlework_fabric_and_piece_goods_stores"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumSewingNeedleworkFabricAndPieceGoodsStores :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "shoe_repair_hat_cleaning"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumShoeRepairHatCleaning :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "shoe_stores"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumShoeStores :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "small_appliance_repair"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumSmallApplianceRepair :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "snowmobile_dealers"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumSnowmobileDealers :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "special_trade_services"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumSpecialTradeServices :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "specialty_cleaning"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumSpecialtyCleaning :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "sporting_goods_stores"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumSportingGoodsStores :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "sporting_recreation_camps"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumSportingRecreationCamps :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "sports_and_riding_apparel_stores"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumSportsAndRidingApparelStores :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "sports_clubs_fields"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumSportsClubsFields :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "stamp_and_coin_stores"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumStampAndCoinStores :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value
-- "stationary_office_supplies_printing_and_writing_paper"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumStationaryOfficeSuppliesPrintingAndWritingPaper :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value
-- "stationery_stores_office_and_school_supply_stores"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumStationeryStoresOfficeAndSchoolSupplyStores :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "swimming_pools_sales"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumSwimmingPoolsSales :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "t_ui_travel_germany"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumTUiTravelGermany :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "tailors_alterations"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumTailorsAlterations :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "tax_payments_government_agencies"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumTaxPaymentsGovernmentAgencies :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "tax_preparation_services"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumTaxPreparationServices :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "taxicabs_limousines"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumTaxicabsLimousines :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value
-- "telecommunication_equipment_and_telephone_sales"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumTelecommunicationEquipmentAndTelephoneSales :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "telecommunication_services"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumTelecommunicationServices :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "telegraph_services"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumTelegraphServices :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "tent_and_awning_shops"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumTentAndAwningShops :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "testing_laboratories"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumTestingLaboratories :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "theatrical_ticket_agencies"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumTheatricalTicketAgencies :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "timeshares"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumTimeshares :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "tire_retreading_and_repair"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumTireRetreadingAndRepair :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "tolls_bridge_fees"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumTollsBridgeFees :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "tourist_attractions_and_exhibits"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumTouristAttractionsAndExhibits :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "towing_services"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumTowingServices :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "trailer_parks_campgrounds"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumTrailerParksCampgrounds :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "transportation_services"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumTransportationServices :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "travel_agencies_tour_operators"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumTravelAgenciesTourOperators :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "truck_stop_iteration"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumTruckStopIteration :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "truck_utility_trailer_rentals"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumTruckUtilityTrailerRentals :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value
-- "typesetting_plate_making_and_related_services"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumTypesettingPlateMakingAndRelatedServices :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "typewriter_stores"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumTypewriterStores :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value
-- "u_s_federal_government_agencies_or_departments"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumUSFederalGovernmentAgenciesOrDepartments :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "uniforms_commercial_clothing"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumUniformsCommercialClothing :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value
-- "used_merchandise_and_secondhand_stores"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumUsedMerchandiseAndSecondhandStores :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "utilities"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumUtilities :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "variety_stores"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumVarietyStores :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "veterinary_services"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumVeterinaryServices :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "video_amusement_game_supplies"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumVideoAmusementGameSupplies :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "video_game_arcades"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumVideoGameArcades :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "video_tape_rental_stores"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumVideoTapeRentalStores :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "vocational_trade_schools"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumVocationalTradeSchools :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "watch_jewelry_repair"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumWatchJewelryRepair :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "welding_repair"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumWeldingRepair :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "wholesale_clubs"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumWholesaleClubs :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "wig_and_toupee_stores"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumWigAndToupeeStores :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "wires_money_orders"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumWiresMoneyOrders :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value
-- "womens_accessory_and_specialty_shops"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumWomensAccessoryAndSpecialtyShops :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "womens_ready_to_wear_stores"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumWomensReadyToWearStores :: IssuingCardholderAuthorizationControlsBlockedCategories'
-- | Represents the JSON value "wrecking_and_salvage_yards"
IssuingCardholderAuthorizationControlsBlockedCategories'EnumWreckingAndSalvageYards :: IssuingCardholderAuthorizationControlsBlockedCategories'
instance GHC.Classes.Eq StripeAPI.Types.IssuingCardholderAuthorizationControls.IssuingCardholderAuthorizationControlsAllowedCategories'
instance GHC.Show.Show StripeAPI.Types.IssuingCardholderAuthorizationControls.IssuingCardholderAuthorizationControlsAllowedCategories'
instance GHC.Classes.Eq StripeAPI.Types.IssuingCardholderAuthorizationControls.IssuingCardholderAuthorizationControlsBlockedCategories'
instance GHC.Show.Show StripeAPI.Types.IssuingCardholderAuthorizationControls.IssuingCardholderAuthorizationControlsBlockedCategories'
instance GHC.Classes.Eq StripeAPI.Types.IssuingCardholderAuthorizationControls.IssuingCardholderAuthorizationControls
instance GHC.Show.Show StripeAPI.Types.IssuingCardholderAuthorizationControls.IssuingCardholderAuthorizationControls
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.IssuingCardholderAuthorizationControls.IssuingCardholderAuthorizationControls
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.IssuingCardholderAuthorizationControls.IssuingCardholderAuthorizationControls
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.IssuingCardholderAuthorizationControls.IssuingCardholderAuthorizationControlsBlockedCategories'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.IssuingCardholderAuthorizationControls.IssuingCardholderAuthorizationControlsBlockedCategories'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.IssuingCardholderAuthorizationControls.IssuingCardholderAuthorizationControlsAllowedCategories'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.IssuingCardholderAuthorizationControls.IssuingCardholderAuthorizationControlsAllowedCategories'
-- | Contains the types generated from the schema
-- IssuingCardholderSpendingLimit
module StripeAPI.Types.IssuingCardholderSpendingLimit
-- | Defines the object schema located at
-- components.schemas.issuing_cardholder_spending_limit in the
-- specification.
data IssuingCardholderSpendingLimit
IssuingCardholderSpendingLimit :: Int -> Maybe [IssuingCardholderSpendingLimitCategories'] -> IssuingCardholderSpendingLimitInterval' -> IssuingCardholderSpendingLimit
-- | amount: Maximum amount allowed to spend per interval.
[issuingCardholderSpendingLimitAmount] :: IssuingCardholderSpendingLimit -> Int
-- | categories: Array of strings containing categories this limit
-- applies to. Omitting this field will apply the limit to all
-- categories.
[issuingCardholderSpendingLimitCategories] :: IssuingCardholderSpendingLimit -> Maybe [IssuingCardholderSpendingLimitCategories']
-- | interval: Interval (or event) to which the amount applies.
[issuingCardholderSpendingLimitInterval] :: IssuingCardholderSpendingLimit -> IssuingCardholderSpendingLimitInterval'
-- | Create a new IssuingCardholderSpendingLimit with all required
-- fields.
mkIssuingCardholderSpendingLimit :: Int -> IssuingCardholderSpendingLimitInterval' -> IssuingCardholderSpendingLimit
-- | Defines the enum schema located at
-- components.schemas.issuing_cardholder_spending_limit.properties.categories.items
-- in the specification.
data IssuingCardholderSpendingLimitCategories'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
IssuingCardholderSpendingLimitCategories'Other :: Value -> IssuingCardholderSpendingLimitCategories'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
IssuingCardholderSpendingLimitCategories'Typed :: Text -> IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "ac_refrigeration_repair"
IssuingCardholderSpendingLimitCategories'EnumAcRefrigerationRepair :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "accounting_bookkeeping_services"
IssuingCardholderSpendingLimitCategories'EnumAccountingBookkeepingServices :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "advertising_services"
IssuingCardholderSpendingLimitCategories'EnumAdvertisingServices :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "agricultural_cooperative"
IssuingCardholderSpendingLimitCategories'EnumAgriculturalCooperative :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "airlines_air_carriers"
IssuingCardholderSpendingLimitCategories'EnumAirlinesAirCarriers :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "airports_flying_fields"
IssuingCardholderSpendingLimitCategories'EnumAirportsFlyingFields :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "ambulance_services"
IssuingCardholderSpendingLimitCategories'EnumAmbulanceServices :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "amusement_parks_carnivals"
IssuingCardholderSpendingLimitCategories'EnumAmusementParksCarnivals :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "antique_reproductions"
IssuingCardholderSpendingLimitCategories'EnumAntiqueReproductions :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "antique_shops"
IssuingCardholderSpendingLimitCategories'EnumAntiqueShops :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "aquariums"
IssuingCardholderSpendingLimitCategories'EnumAquariums :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "architectural_surveying_services"
IssuingCardholderSpendingLimitCategories'EnumArchitecturalSurveyingServices :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "art_dealers_and_galleries"
IssuingCardholderSpendingLimitCategories'EnumArtDealersAndGalleries :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "artists_supply_and_craft_shops"
IssuingCardholderSpendingLimitCategories'EnumArtistsSupplyAndCraftShops :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "auto_and_home_supply_stores"
IssuingCardholderSpendingLimitCategories'EnumAutoAndHomeSupplyStores :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "auto_body_repair_shops"
IssuingCardholderSpendingLimitCategories'EnumAutoBodyRepairShops :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "auto_paint_shops"
IssuingCardholderSpendingLimitCategories'EnumAutoPaintShops :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "auto_service_shops"
IssuingCardholderSpendingLimitCategories'EnumAutoServiceShops :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "automated_cash_disburse"
IssuingCardholderSpendingLimitCategories'EnumAutomatedCashDisburse :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "automated_fuel_dispensers"
IssuingCardholderSpendingLimitCategories'EnumAutomatedFuelDispensers :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "automobile_associations"
IssuingCardholderSpendingLimitCategories'EnumAutomobileAssociations :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value
-- "automotive_parts_and_accessories_stores"
IssuingCardholderSpendingLimitCategories'EnumAutomotivePartsAndAccessoriesStores :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "automotive_tire_stores"
IssuingCardholderSpendingLimitCategories'EnumAutomotiveTireStores :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "bail_and_bond_payments"
IssuingCardholderSpendingLimitCategories'EnumBailAndBondPayments :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "bakeries"
IssuingCardholderSpendingLimitCategories'EnumBakeries :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "bands_orchestras"
IssuingCardholderSpendingLimitCategories'EnumBandsOrchestras :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "barber_and_beauty_shops"
IssuingCardholderSpendingLimitCategories'EnumBarberAndBeautyShops :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "betting_casino_gambling"
IssuingCardholderSpendingLimitCategories'EnumBettingCasinoGambling :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "bicycle_shops"
IssuingCardholderSpendingLimitCategories'EnumBicycleShops :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "billiard_pool_establishments"
IssuingCardholderSpendingLimitCategories'EnumBilliardPoolEstablishments :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "boat_dealers"
IssuingCardholderSpendingLimitCategories'EnumBoatDealers :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "boat_rentals_and_leases"
IssuingCardholderSpendingLimitCategories'EnumBoatRentalsAndLeases :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "book_stores"
IssuingCardholderSpendingLimitCategories'EnumBookStores :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "books_periodicals_and_newspapers"
IssuingCardholderSpendingLimitCategories'EnumBooksPeriodicalsAndNewspapers :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "bowling_alleys"
IssuingCardholderSpendingLimitCategories'EnumBowlingAlleys :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "bus_lines"
IssuingCardholderSpendingLimitCategories'EnumBusLines :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "business_secretarial_schools"
IssuingCardholderSpendingLimitCategories'EnumBusinessSecretarialSchools :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "buying_shopping_services"
IssuingCardholderSpendingLimitCategories'EnumBuyingShoppingServices :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value
-- "cable_satellite_and_other_pay_television_and_radio"
IssuingCardholderSpendingLimitCategories'EnumCableSatelliteAndOtherPayTelevisionAndRadio :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value
-- "camera_and_photographic_supply_stores"
IssuingCardholderSpendingLimitCategories'EnumCameraAndPhotographicSupplyStores :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value
-- "candy_nut_and_confectionery_stores"
IssuingCardholderSpendingLimitCategories'EnumCandyNutAndConfectioneryStores :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "car_and_truck_dealers_new_used"
IssuingCardholderSpendingLimitCategories'EnumCarAndTruckDealersNewUsed :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "car_and_truck_dealers_used_only"
IssuingCardholderSpendingLimitCategories'EnumCarAndTruckDealersUsedOnly :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "car_rental_agencies"
IssuingCardholderSpendingLimitCategories'EnumCarRentalAgencies :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "car_washes"
IssuingCardholderSpendingLimitCategories'EnumCarWashes :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "carpentry_services"
IssuingCardholderSpendingLimitCategories'EnumCarpentryServices :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "carpet_upholstery_cleaning"
IssuingCardholderSpendingLimitCategories'EnumCarpetUpholsteryCleaning :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "caterers"
IssuingCardholderSpendingLimitCategories'EnumCaterers :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value
-- "charitable_and_social_service_organizations_fundraising"
IssuingCardholderSpendingLimitCategories'EnumCharitableAndSocialServiceOrganizationsFundraising :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "chemicals_and_allied_products"
IssuingCardholderSpendingLimitCategories'EnumChemicalsAndAlliedProducts :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "child_care_services"
IssuingCardholderSpendingLimitCategories'EnumChildCareServices :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "childrens_and_infants_wear_stores"
IssuingCardholderSpendingLimitCategories'EnumChildrensAndInfantsWearStores :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "chiropodists_podiatrists"
IssuingCardholderSpendingLimitCategories'EnumChiropodistsPodiatrists :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "chiropractors"
IssuingCardholderSpendingLimitCategories'EnumChiropractors :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "cigar_stores_and_stands"
IssuingCardholderSpendingLimitCategories'EnumCigarStoresAndStands :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value
-- "civic_social_fraternal_associations"
IssuingCardholderSpendingLimitCategories'EnumCivicSocialFraternalAssociations :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "cleaning_and_maintenance"
IssuingCardholderSpendingLimitCategories'EnumCleaningAndMaintenance :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "clothing_rental"
IssuingCardholderSpendingLimitCategories'EnumClothingRental :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "colleges_universities"
IssuingCardholderSpendingLimitCategories'EnumCollegesUniversities :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "commercial_equipment"
IssuingCardholderSpendingLimitCategories'EnumCommercialEquipment :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "commercial_footwear"
IssuingCardholderSpendingLimitCategories'EnumCommercialFootwear :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value
-- "commercial_photography_art_and_graphics"
IssuingCardholderSpendingLimitCategories'EnumCommercialPhotographyArtAndGraphics :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "commuter_transport_and_ferries"
IssuingCardholderSpendingLimitCategories'EnumCommuterTransportAndFerries :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "computer_network_services"
IssuingCardholderSpendingLimitCategories'EnumComputerNetworkServices :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "computer_programming"
IssuingCardholderSpendingLimitCategories'EnumComputerProgramming :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "computer_repair"
IssuingCardholderSpendingLimitCategories'EnumComputerRepair :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "computer_software_stores"
IssuingCardholderSpendingLimitCategories'EnumComputerSoftwareStores :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value
-- "computers_peripherals_and_software"
IssuingCardholderSpendingLimitCategories'EnumComputersPeripheralsAndSoftware :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "concrete_work_services"
IssuingCardholderSpendingLimitCategories'EnumConcreteWorkServices :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "construction_materials"
IssuingCardholderSpendingLimitCategories'EnumConstructionMaterials :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "consulting_public_relations"
IssuingCardholderSpendingLimitCategories'EnumConsultingPublicRelations :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "correspondence_schools"
IssuingCardholderSpendingLimitCategories'EnumCorrespondenceSchools :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "cosmetic_stores"
IssuingCardholderSpendingLimitCategories'EnumCosmeticStores :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "counseling_services"
IssuingCardholderSpendingLimitCategories'EnumCounselingServices :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "country_clubs"
IssuingCardholderSpendingLimitCategories'EnumCountryClubs :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "courier_services"
IssuingCardholderSpendingLimitCategories'EnumCourierServices :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "court_costs"
IssuingCardholderSpendingLimitCategories'EnumCourtCosts :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "credit_reporting_agencies"
IssuingCardholderSpendingLimitCategories'EnumCreditReportingAgencies :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "cruise_lines"
IssuingCardholderSpendingLimitCategories'EnumCruiseLines :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "dairy_products_stores"
IssuingCardholderSpendingLimitCategories'EnumDairyProductsStores :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "dance_hall_studios_schools"
IssuingCardholderSpendingLimitCategories'EnumDanceHallStudiosSchools :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "dating_escort_services"
IssuingCardholderSpendingLimitCategories'EnumDatingEscortServices :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "dentists_orthodontists"
IssuingCardholderSpendingLimitCategories'EnumDentistsOrthodontists :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "department_stores"
IssuingCardholderSpendingLimitCategories'EnumDepartmentStores :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "detective_agencies"
IssuingCardholderSpendingLimitCategories'EnumDetectiveAgencies :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "digital_goods_applications"
IssuingCardholderSpendingLimitCategories'EnumDigitalGoodsApplications :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "digital_goods_games"
IssuingCardholderSpendingLimitCategories'EnumDigitalGoodsGames :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "digital_goods_large_volume"
IssuingCardholderSpendingLimitCategories'EnumDigitalGoodsLargeVolume :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "digital_goods_media"
IssuingCardholderSpendingLimitCategories'EnumDigitalGoodsMedia :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "direct_marketing_catalog_merchant"
IssuingCardholderSpendingLimitCategories'EnumDirectMarketingCatalogMerchant :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value
-- "direct_marketing_combination_catalog_and_retail_merchant"
IssuingCardholderSpendingLimitCategories'EnumDirectMarketingCombinationCatalogAndRetailMerchant :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value
-- "direct_marketing_inbound_telemarketing"
IssuingCardholderSpendingLimitCategories'EnumDirectMarketingInboundTelemarketing :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value
-- "direct_marketing_insurance_services"
IssuingCardholderSpendingLimitCategories'EnumDirectMarketingInsuranceServices :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "direct_marketing_other"
IssuingCardholderSpendingLimitCategories'EnumDirectMarketingOther :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value
-- "direct_marketing_outbound_telemarketing"
IssuingCardholderSpendingLimitCategories'EnumDirectMarketingOutboundTelemarketing :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "direct_marketing_subscription"
IssuingCardholderSpendingLimitCategories'EnumDirectMarketingSubscription :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "direct_marketing_travel"
IssuingCardholderSpendingLimitCategories'EnumDirectMarketingTravel :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "discount_stores"
IssuingCardholderSpendingLimitCategories'EnumDiscountStores :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "doctors"
IssuingCardholderSpendingLimitCategories'EnumDoctors :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "door_to_door_sales"
IssuingCardholderSpendingLimitCategories'EnumDoorToDoorSales :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value
-- "drapery_window_covering_and_upholstery_stores"
IssuingCardholderSpendingLimitCategories'EnumDraperyWindowCoveringAndUpholsteryStores :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "drinking_places"
IssuingCardholderSpendingLimitCategories'EnumDrinkingPlaces :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "drug_stores_and_pharmacies"
IssuingCardholderSpendingLimitCategories'EnumDrugStoresAndPharmacies :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value
-- "drugs_drug_proprietaries_and_druggist_sundries"
IssuingCardholderSpendingLimitCategories'EnumDrugsDrugProprietariesAndDruggistSundries :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "dry_cleaners"
IssuingCardholderSpendingLimitCategories'EnumDryCleaners :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "durable_goods"
IssuingCardholderSpendingLimitCategories'EnumDurableGoods :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "duty_free_stores"
IssuingCardholderSpendingLimitCategories'EnumDutyFreeStores :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "eating_places_restaurants"
IssuingCardholderSpendingLimitCategories'EnumEatingPlacesRestaurants :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "educational_services"
IssuingCardholderSpendingLimitCategories'EnumEducationalServices :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "electric_razor_stores"
IssuingCardholderSpendingLimitCategories'EnumElectricRazorStores :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "electrical_parts_and_equipment"
IssuingCardholderSpendingLimitCategories'EnumElectricalPartsAndEquipment :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "electrical_services"
IssuingCardholderSpendingLimitCategories'EnumElectricalServices :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "electronics_repair_shops"
IssuingCardholderSpendingLimitCategories'EnumElectronicsRepairShops :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "electronics_stores"
IssuingCardholderSpendingLimitCategories'EnumElectronicsStores :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "elementary_secondary_schools"
IssuingCardholderSpendingLimitCategories'EnumElementarySecondarySchools :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "employment_temp_agencies"
IssuingCardholderSpendingLimitCategories'EnumEmploymentTempAgencies :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "equipment_rental"
IssuingCardholderSpendingLimitCategories'EnumEquipmentRental :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "exterminating_services"
IssuingCardholderSpendingLimitCategories'EnumExterminatingServices :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "family_clothing_stores"
IssuingCardholderSpendingLimitCategories'EnumFamilyClothingStores :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "fast_food_restaurants"
IssuingCardholderSpendingLimitCategories'EnumFastFoodRestaurants :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "financial_institutions"
IssuingCardholderSpendingLimitCategories'EnumFinancialInstitutions :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value
-- "fines_government_administrative_entities"
IssuingCardholderSpendingLimitCategories'EnumFinesGovernmentAdministrativeEntities :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value
-- "fireplace_fireplace_screens_and_accessories_stores"
IssuingCardholderSpendingLimitCategories'EnumFireplaceFireplaceScreensAndAccessoriesStores :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "floor_covering_stores"
IssuingCardholderSpendingLimitCategories'EnumFloorCoveringStores :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "florists"
IssuingCardholderSpendingLimitCategories'EnumFlorists :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value
-- "florists_supplies_nursery_stock_and_flowers"
IssuingCardholderSpendingLimitCategories'EnumFloristsSuppliesNurseryStockAndFlowers :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value
-- "freezer_and_locker_meat_provisioners"
IssuingCardholderSpendingLimitCategories'EnumFreezerAndLockerMeatProvisioners :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "fuel_dealers_non_automotive"
IssuingCardholderSpendingLimitCategories'EnumFuelDealersNonAutomotive :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "funeral_services_crematories"
IssuingCardholderSpendingLimitCategories'EnumFuneralServicesCrematories :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value
-- "furniture_home_furnishings_and_equipment_stores_except_appliances"
IssuingCardholderSpendingLimitCategories'EnumFurnitureHomeFurnishingsAndEquipmentStoresExceptAppliances :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "furniture_repair_refinishing"
IssuingCardholderSpendingLimitCategories'EnumFurnitureRepairRefinishing :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "furriers_and_fur_shops"
IssuingCardholderSpendingLimitCategories'EnumFurriersAndFurShops :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "general_services"
IssuingCardholderSpendingLimitCategories'EnumGeneralServices :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value
-- "gift_card_novelty_and_souvenir_shops"
IssuingCardholderSpendingLimitCategories'EnumGiftCardNoveltyAndSouvenirShops :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "glass_paint_and_wallpaper_stores"
IssuingCardholderSpendingLimitCategories'EnumGlassPaintAndWallpaperStores :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "glassware_crystal_stores"
IssuingCardholderSpendingLimitCategories'EnumGlasswareCrystalStores :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "golf_courses_public"
IssuingCardholderSpendingLimitCategories'EnumGolfCoursesPublic :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "government_services"
IssuingCardholderSpendingLimitCategories'EnumGovernmentServices :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "grocery_stores_supermarkets"
IssuingCardholderSpendingLimitCategories'EnumGroceryStoresSupermarkets :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "hardware_equipment_and_supplies"
IssuingCardholderSpendingLimitCategories'EnumHardwareEquipmentAndSupplies :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "hardware_stores"
IssuingCardholderSpendingLimitCategories'EnumHardwareStores :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "health_and_beauty_spas"
IssuingCardholderSpendingLimitCategories'EnumHealthAndBeautySpas :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "hearing_aids_sales_and_supplies"
IssuingCardholderSpendingLimitCategories'EnumHearingAidsSalesAndSupplies :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "heating_plumbing_a_c"
IssuingCardholderSpendingLimitCategories'EnumHeatingPlumbingAC :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "hobby_toy_and_game_shops"
IssuingCardholderSpendingLimitCategories'EnumHobbyToyAndGameShops :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "home_supply_warehouse_stores"
IssuingCardholderSpendingLimitCategories'EnumHomeSupplyWarehouseStores :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "hospitals"
IssuingCardholderSpendingLimitCategories'EnumHospitals :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "hotels_motels_and_resorts"
IssuingCardholderSpendingLimitCategories'EnumHotelsMotelsAndResorts :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "household_appliance_stores"
IssuingCardholderSpendingLimitCategories'EnumHouseholdApplianceStores :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "industrial_supplies"
IssuingCardholderSpendingLimitCategories'EnumIndustrialSupplies :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "information_retrieval_services"
IssuingCardholderSpendingLimitCategories'EnumInformationRetrievalServices :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "insurance_default"
IssuingCardholderSpendingLimitCategories'EnumInsuranceDefault :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "insurance_underwriting_premiums"
IssuingCardholderSpendingLimitCategories'EnumInsuranceUnderwritingPremiums :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "intra_company_purchases"
IssuingCardholderSpendingLimitCategories'EnumIntraCompanyPurchases :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value
-- "jewelry_stores_watches_clocks_and_silverware_stores"
IssuingCardholderSpendingLimitCategories'EnumJewelryStoresWatchesClocksAndSilverwareStores :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "landscaping_services"
IssuingCardholderSpendingLimitCategories'EnumLandscapingServices :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "laundries"
IssuingCardholderSpendingLimitCategories'EnumLaundries :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "laundry_cleaning_services"
IssuingCardholderSpendingLimitCategories'EnumLaundryCleaningServices :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "legal_services_attorneys"
IssuingCardholderSpendingLimitCategories'EnumLegalServicesAttorneys :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "luggage_and_leather_goods_stores"
IssuingCardholderSpendingLimitCategories'EnumLuggageAndLeatherGoodsStores :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "lumber_building_materials_stores"
IssuingCardholderSpendingLimitCategories'EnumLumberBuildingMaterialsStores :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "manual_cash_disburse"
IssuingCardholderSpendingLimitCategories'EnumManualCashDisburse :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "marinas_service_and_supplies"
IssuingCardholderSpendingLimitCategories'EnumMarinasServiceAndSupplies :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "masonry_stonework_and_plaster"
IssuingCardholderSpendingLimitCategories'EnumMasonryStoneworkAndPlaster :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "massage_parlors"
IssuingCardholderSpendingLimitCategories'EnumMassageParlors :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "medical_and_dental_labs"
IssuingCardholderSpendingLimitCategories'EnumMedicalAndDentalLabs :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value
-- "medical_dental_ophthalmic_and_hospital_equipment_and_supplies"
IssuingCardholderSpendingLimitCategories'EnumMedicalDentalOphthalmicAndHospitalEquipmentAndSupplies :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "medical_services"
IssuingCardholderSpendingLimitCategories'EnumMedicalServices :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "membership_organizations"
IssuingCardholderSpendingLimitCategories'EnumMembershipOrganizations :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value
-- "mens_and_boys_clothing_and_accessories_stores"
IssuingCardholderSpendingLimitCategories'EnumMensAndBoysClothingAndAccessoriesStores :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "mens_womens_clothing_stores"
IssuingCardholderSpendingLimitCategories'EnumMensWomensClothingStores :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "metal_service_centers"
IssuingCardholderSpendingLimitCategories'EnumMetalServiceCenters :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "miscellaneous"
IssuingCardholderSpendingLimitCategories'EnumMiscellaneous :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value
-- "miscellaneous_apparel_and_accessory_shops"
IssuingCardholderSpendingLimitCategories'EnumMiscellaneousApparelAndAccessoryShops :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "miscellaneous_auto_dealers"
IssuingCardholderSpendingLimitCategories'EnumMiscellaneousAutoDealers :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "miscellaneous_business_services"
IssuingCardholderSpendingLimitCategories'EnumMiscellaneousBusinessServices :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "miscellaneous_food_stores"
IssuingCardholderSpendingLimitCategories'EnumMiscellaneousFoodStores :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "miscellaneous_general_merchandise"
IssuingCardholderSpendingLimitCategories'EnumMiscellaneousGeneralMerchandise :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "miscellaneous_general_services"
IssuingCardholderSpendingLimitCategories'EnumMiscellaneousGeneralServices :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value
-- "miscellaneous_home_furnishing_specialty_stores"
IssuingCardholderSpendingLimitCategories'EnumMiscellaneousHomeFurnishingSpecialtyStores :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value
-- "miscellaneous_publishing_and_printing"
IssuingCardholderSpendingLimitCategories'EnumMiscellaneousPublishingAndPrinting :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "miscellaneous_recreation_services"
IssuingCardholderSpendingLimitCategories'EnumMiscellaneousRecreationServices :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "miscellaneous_repair_shops"
IssuingCardholderSpendingLimitCategories'EnumMiscellaneousRepairShops :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "miscellaneous_specialty_retail"
IssuingCardholderSpendingLimitCategories'EnumMiscellaneousSpecialtyRetail :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "mobile_home_dealers"
IssuingCardholderSpendingLimitCategories'EnumMobileHomeDealers :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "motion_picture_theaters"
IssuingCardholderSpendingLimitCategories'EnumMotionPictureTheaters :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value
-- "motor_freight_carriers_and_trucking"
IssuingCardholderSpendingLimitCategories'EnumMotorFreightCarriersAndTrucking :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "motor_homes_dealers"
IssuingCardholderSpendingLimitCategories'EnumMotorHomesDealers :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value
-- "motor_vehicle_supplies_and_new_parts"
IssuingCardholderSpendingLimitCategories'EnumMotorVehicleSuppliesAndNewParts :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "motorcycle_shops_and_dealers"
IssuingCardholderSpendingLimitCategories'EnumMotorcycleShopsAndDealers :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "motorcycle_shops_dealers"
IssuingCardholderSpendingLimitCategories'EnumMotorcycleShopsDealers :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value
-- "music_stores_musical_instruments_pianos_and_sheet_music"
IssuingCardholderSpendingLimitCategories'EnumMusicStoresMusicalInstrumentsPianosAndSheetMusic :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "news_dealers_and_newsstands"
IssuingCardholderSpendingLimitCategories'EnumNewsDealersAndNewsstands :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "non_fi_money_orders"
IssuingCardholderSpendingLimitCategories'EnumNonFiMoneyOrders :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value
-- "non_fi_stored_value_card_purchase_load"
IssuingCardholderSpendingLimitCategories'EnumNonFiStoredValueCardPurchaseLoad :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "nondurable_goods"
IssuingCardholderSpendingLimitCategories'EnumNondurableGoods :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value
-- "nurseries_lawn_and_garden_supply_stores"
IssuingCardholderSpendingLimitCategories'EnumNurseriesLawnAndGardenSupplyStores :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "nursing_personal_care"
IssuingCardholderSpendingLimitCategories'EnumNursingPersonalCare :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "office_and_commercial_furniture"
IssuingCardholderSpendingLimitCategories'EnumOfficeAndCommercialFurniture :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "opticians_eyeglasses"
IssuingCardholderSpendingLimitCategories'EnumOpticiansEyeglasses :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "optometrists_ophthalmologist"
IssuingCardholderSpendingLimitCategories'EnumOptometristsOphthalmologist :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value
-- "orthopedic_goods_prosthetic_devices"
IssuingCardholderSpendingLimitCategories'EnumOrthopedicGoodsProstheticDevices :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "osteopaths"
IssuingCardholderSpendingLimitCategories'EnumOsteopaths :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value
-- "package_stores_beer_wine_and_liquor"
IssuingCardholderSpendingLimitCategories'EnumPackageStoresBeerWineAndLiquor :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "paints_varnishes_and_supplies"
IssuingCardholderSpendingLimitCategories'EnumPaintsVarnishesAndSupplies :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "parking_lots_garages"
IssuingCardholderSpendingLimitCategories'EnumParkingLotsGarages :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "passenger_railways"
IssuingCardholderSpendingLimitCategories'EnumPassengerRailways :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "pawn_shops"
IssuingCardholderSpendingLimitCategories'EnumPawnShops :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "pet_shops_pet_food_and_supplies"
IssuingCardholderSpendingLimitCategories'EnumPetShopsPetFoodAndSupplies :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "petroleum_and_petroleum_products"
IssuingCardholderSpendingLimitCategories'EnumPetroleumAndPetroleumProducts :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "photo_developing"
IssuingCardholderSpendingLimitCategories'EnumPhotoDeveloping :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value
-- "photographic_photocopy_microfilm_equipment_and_supplies"
IssuingCardholderSpendingLimitCategories'EnumPhotographicPhotocopyMicrofilmEquipmentAndSupplies :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "photographic_studios"
IssuingCardholderSpendingLimitCategories'EnumPhotographicStudios :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "picture_video_production"
IssuingCardholderSpendingLimitCategories'EnumPictureVideoProduction :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value
-- "piece_goods_notions_and_other_dry_goods"
IssuingCardholderSpendingLimitCategories'EnumPieceGoodsNotionsAndOtherDryGoods :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value
-- "plumbing_heating_equipment_and_supplies"
IssuingCardholderSpendingLimitCategories'EnumPlumbingHeatingEquipmentAndSupplies :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "political_organizations"
IssuingCardholderSpendingLimitCategories'EnumPoliticalOrganizations :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "postal_services_government_only"
IssuingCardholderSpendingLimitCategories'EnumPostalServicesGovernmentOnly :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value
-- "precious_stones_and_metals_watches_and_jewelry"
IssuingCardholderSpendingLimitCategories'EnumPreciousStonesAndMetalsWatchesAndJewelry :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "professional_services"
IssuingCardholderSpendingLimitCategories'EnumProfessionalServices :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "public_warehousing_and_storage"
IssuingCardholderSpendingLimitCategories'EnumPublicWarehousingAndStorage :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "quick_copy_repro_and_blueprint"
IssuingCardholderSpendingLimitCategories'EnumQuickCopyReproAndBlueprint :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "railroads"
IssuingCardholderSpendingLimitCategories'EnumRailroads :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value
-- "real_estate_agents_and_managers_rentals"
IssuingCardholderSpendingLimitCategories'EnumRealEstateAgentsAndManagersRentals :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "record_stores"
IssuingCardholderSpendingLimitCategories'EnumRecordStores :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "recreational_vehicle_rentals"
IssuingCardholderSpendingLimitCategories'EnumRecreationalVehicleRentals :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "religious_goods_stores"
IssuingCardholderSpendingLimitCategories'EnumReligiousGoodsStores :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "religious_organizations"
IssuingCardholderSpendingLimitCategories'EnumReligiousOrganizations :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "roofing_siding_sheet_metal"
IssuingCardholderSpendingLimitCategories'EnumRoofingSidingSheetMetal :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "secretarial_support_services"
IssuingCardholderSpendingLimitCategories'EnumSecretarialSupportServices :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "security_brokers_dealers"
IssuingCardholderSpendingLimitCategories'EnumSecurityBrokersDealers :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "service_stations"
IssuingCardholderSpendingLimitCategories'EnumServiceStations :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value
-- "sewing_needlework_fabric_and_piece_goods_stores"
IssuingCardholderSpendingLimitCategories'EnumSewingNeedleworkFabricAndPieceGoodsStores :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "shoe_repair_hat_cleaning"
IssuingCardholderSpendingLimitCategories'EnumShoeRepairHatCleaning :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "shoe_stores"
IssuingCardholderSpendingLimitCategories'EnumShoeStores :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "small_appliance_repair"
IssuingCardholderSpendingLimitCategories'EnumSmallApplianceRepair :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "snowmobile_dealers"
IssuingCardholderSpendingLimitCategories'EnumSnowmobileDealers :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "special_trade_services"
IssuingCardholderSpendingLimitCategories'EnumSpecialTradeServices :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "specialty_cleaning"
IssuingCardholderSpendingLimitCategories'EnumSpecialtyCleaning :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "sporting_goods_stores"
IssuingCardholderSpendingLimitCategories'EnumSportingGoodsStores :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "sporting_recreation_camps"
IssuingCardholderSpendingLimitCategories'EnumSportingRecreationCamps :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "sports_and_riding_apparel_stores"
IssuingCardholderSpendingLimitCategories'EnumSportsAndRidingApparelStores :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "sports_clubs_fields"
IssuingCardholderSpendingLimitCategories'EnumSportsClubsFields :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "stamp_and_coin_stores"
IssuingCardholderSpendingLimitCategories'EnumStampAndCoinStores :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value
-- "stationary_office_supplies_printing_and_writing_paper"
IssuingCardholderSpendingLimitCategories'EnumStationaryOfficeSuppliesPrintingAndWritingPaper :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value
-- "stationery_stores_office_and_school_supply_stores"
IssuingCardholderSpendingLimitCategories'EnumStationeryStoresOfficeAndSchoolSupplyStores :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "swimming_pools_sales"
IssuingCardholderSpendingLimitCategories'EnumSwimmingPoolsSales :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "t_ui_travel_germany"
IssuingCardholderSpendingLimitCategories'EnumTUiTravelGermany :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "tailors_alterations"
IssuingCardholderSpendingLimitCategories'EnumTailorsAlterations :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "tax_payments_government_agencies"
IssuingCardholderSpendingLimitCategories'EnumTaxPaymentsGovernmentAgencies :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "tax_preparation_services"
IssuingCardholderSpendingLimitCategories'EnumTaxPreparationServices :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "taxicabs_limousines"
IssuingCardholderSpendingLimitCategories'EnumTaxicabsLimousines :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value
-- "telecommunication_equipment_and_telephone_sales"
IssuingCardholderSpendingLimitCategories'EnumTelecommunicationEquipmentAndTelephoneSales :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "telecommunication_services"
IssuingCardholderSpendingLimitCategories'EnumTelecommunicationServices :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "telegraph_services"
IssuingCardholderSpendingLimitCategories'EnumTelegraphServices :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "tent_and_awning_shops"
IssuingCardholderSpendingLimitCategories'EnumTentAndAwningShops :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "testing_laboratories"
IssuingCardholderSpendingLimitCategories'EnumTestingLaboratories :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "theatrical_ticket_agencies"
IssuingCardholderSpendingLimitCategories'EnumTheatricalTicketAgencies :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "timeshares"
IssuingCardholderSpendingLimitCategories'EnumTimeshares :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "tire_retreading_and_repair"
IssuingCardholderSpendingLimitCategories'EnumTireRetreadingAndRepair :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "tolls_bridge_fees"
IssuingCardholderSpendingLimitCategories'EnumTollsBridgeFees :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "tourist_attractions_and_exhibits"
IssuingCardholderSpendingLimitCategories'EnumTouristAttractionsAndExhibits :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "towing_services"
IssuingCardholderSpendingLimitCategories'EnumTowingServices :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "trailer_parks_campgrounds"
IssuingCardholderSpendingLimitCategories'EnumTrailerParksCampgrounds :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "transportation_services"
IssuingCardholderSpendingLimitCategories'EnumTransportationServices :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "travel_agencies_tour_operators"
IssuingCardholderSpendingLimitCategories'EnumTravelAgenciesTourOperators :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "truck_stop_iteration"
IssuingCardholderSpendingLimitCategories'EnumTruckStopIteration :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "truck_utility_trailer_rentals"
IssuingCardholderSpendingLimitCategories'EnumTruckUtilityTrailerRentals :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value
-- "typesetting_plate_making_and_related_services"
IssuingCardholderSpendingLimitCategories'EnumTypesettingPlateMakingAndRelatedServices :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "typewriter_stores"
IssuingCardholderSpendingLimitCategories'EnumTypewriterStores :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value
-- "u_s_federal_government_agencies_or_departments"
IssuingCardholderSpendingLimitCategories'EnumUSFederalGovernmentAgenciesOrDepartments :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "uniforms_commercial_clothing"
IssuingCardholderSpendingLimitCategories'EnumUniformsCommercialClothing :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value
-- "used_merchandise_and_secondhand_stores"
IssuingCardholderSpendingLimitCategories'EnumUsedMerchandiseAndSecondhandStores :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "utilities"
IssuingCardholderSpendingLimitCategories'EnumUtilities :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "variety_stores"
IssuingCardholderSpendingLimitCategories'EnumVarietyStores :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "veterinary_services"
IssuingCardholderSpendingLimitCategories'EnumVeterinaryServices :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "video_amusement_game_supplies"
IssuingCardholderSpendingLimitCategories'EnumVideoAmusementGameSupplies :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "video_game_arcades"
IssuingCardholderSpendingLimitCategories'EnumVideoGameArcades :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "video_tape_rental_stores"
IssuingCardholderSpendingLimitCategories'EnumVideoTapeRentalStores :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "vocational_trade_schools"
IssuingCardholderSpendingLimitCategories'EnumVocationalTradeSchools :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "watch_jewelry_repair"
IssuingCardholderSpendingLimitCategories'EnumWatchJewelryRepair :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "welding_repair"
IssuingCardholderSpendingLimitCategories'EnumWeldingRepair :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "wholesale_clubs"
IssuingCardholderSpendingLimitCategories'EnumWholesaleClubs :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "wig_and_toupee_stores"
IssuingCardholderSpendingLimitCategories'EnumWigAndToupeeStores :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "wires_money_orders"
IssuingCardholderSpendingLimitCategories'EnumWiresMoneyOrders :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value
-- "womens_accessory_and_specialty_shops"
IssuingCardholderSpendingLimitCategories'EnumWomensAccessoryAndSpecialtyShops :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "womens_ready_to_wear_stores"
IssuingCardholderSpendingLimitCategories'EnumWomensReadyToWearStores :: IssuingCardholderSpendingLimitCategories'
-- | Represents the JSON value "wrecking_and_salvage_yards"
IssuingCardholderSpendingLimitCategories'EnumWreckingAndSalvageYards :: IssuingCardholderSpendingLimitCategories'
-- | Defines the enum schema located at
-- components.schemas.issuing_cardholder_spending_limit.properties.interval
-- in the specification.
--
-- Interval (or event) to which the amount applies.
data IssuingCardholderSpendingLimitInterval'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
IssuingCardholderSpendingLimitInterval'Other :: Value -> IssuingCardholderSpendingLimitInterval'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
IssuingCardholderSpendingLimitInterval'Typed :: Text -> IssuingCardholderSpendingLimitInterval'
-- | Represents the JSON value "all_time"
IssuingCardholderSpendingLimitInterval'EnumAllTime :: IssuingCardholderSpendingLimitInterval'
-- | Represents the JSON value "daily"
IssuingCardholderSpendingLimitInterval'EnumDaily :: IssuingCardholderSpendingLimitInterval'
-- | Represents the JSON value "monthly"
IssuingCardholderSpendingLimitInterval'EnumMonthly :: IssuingCardholderSpendingLimitInterval'
-- | Represents the JSON value "per_authorization"
IssuingCardholderSpendingLimitInterval'EnumPerAuthorization :: IssuingCardholderSpendingLimitInterval'
-- | Represents the JSON value "weekly"
IssuingCardholderSpendingLimitInterval'EnumWeekly :: IssuingCardholderSpendingLimitInterval'
-- | Represents the JSON value "yearly"
IssuingCardholderSpendingLimitInterval'EnumYearly :: IssuingCardholderSpendingLimitInterval'
instance GHC.Classes.Eq StripeAPI.Types.IssuingCardholderSpendingLimit.IssuingCardholderSpendingLimitCategories'
instance GHC.Show.Show StripeAPI.Types.IssuingCardholderSpendingLimit.IssuingCardholderSpendingLimitCategories'
instance GHC.Classes.Eq StripeAPI.Types.IssuingCardholderSpendingLimit.IssuingCardholderSpendingLimitInterval'
instance GHC.Show.Show StripeAPI.Types.IssuingCardholderSpendingLimit.IssuingCardholderSpendingLimitInterval'
instance GHC.Classes.Eq StripeAPI.Types.IssuingCardholderSpendingLimit.IssuingCardholderSpendingLimit
instance GHC.Show.Show StripeAPI.Types.IssuingCardholderSpendingLimit.IssuingCardholderSpendingLimit
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.IssuingCardholderSpendingLimit.IssuingCardholderSpendingLimit
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.IssuingCardholderSpendingLimit.IssuingCardholderSpendingLimit
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.IssuingCardholderSpendingLimit.IssuingCardholderSpendingLimitInterval'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.IssuingCardholderSpendingLimit.IssuingCardholderSpendingLimitInterval'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.IssuingCardholderSpendingLimit.IssuingCardholderSpendingLimitCategories'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.IssuingCardholderSpendingLimit.IssuingCardholderSpendingLimitCategories'
-- | Contains the types generated from the schema
-- IssuingCardholderIndividual
module StripeAPI.Types.IssuingCardholderIndividual
-- | Defines the object schema located at
-- components.schemas.issuing_cardholder_individual in the
-- specification.
data IssuingCardholderIndividual
IssuingCardholderIndividual :: Maybe IssuingCardholderIndividualDob' -> Text -> Text -> Maybe IssuingCardholderIndividualVerification' -> IssuingCardholderIndividual
-- | dob: The date of birth of this cardholder.
[issuingCardholderIndividualDob] :: IssuingCardholderIndividual -> Maybe IssuingCardholderIndividualDob'
-- | first_name: The first name of this cardholder.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[issuingCardholderIndividualFirstName] :: IssuingCardholderIndividual -> Text
-- | last_name: The last name of this cardholder.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[issuingCardholderIndividualLastName] :: IssuingCardholderIndividual -> Text
-- | verification: Government-issued ID document for this cardholder.
[issuingCardholderIndividualVerification] :: IssuingCardholderIndividual -> Maybe IssuingCardholderIndividualVerification'
-- | Create a new IssuingCardholderIndividual with all required
-- fields.
mkIssuingCardholderIndividual :: Text -> Text -> IssuingCardholderIndividual
-- | Defines the object schema located at
-- components.schemas.issuing_cardholder_individual.properties.dob.anyOf
-- in the specification.
--
-- The date of birth of this cardholder.
data IssuingCardholderIndividualDob'
IssuingCardholderIndividualDob' :: Maybe Int -> Maybe Int -> Maybe Int -> IssuingCardholderIndividualDob'
-- | day: The day of birth, between 1 and 31.
[issuingCardholderIndividualDob'Day] :: IssuingCardholderIndividualDob' -> Maybe Int
-- | month: The month of birth, between 1 and 12.
[issuingCardholderIndividualDob'Month] :: IssuingCardholderIndividualDob' -> Maybe Int
-- | year: The four-digit year of birth.
[issuingCardholderIndividualDob'Year] :: IssuingCardholderIndividualDob' -> Maybe Int
-- | Create a new IssuingCardholderIndividualDob' with all required
-- fields.
mkIssuingCardholderIndividualDob' :: IssuingCardholderIndividualDob'
-- | Defines the object schema located at
-- components.schemas.issuing_cardholder_individual.properties.verification.anyOf
-- in the specification.
--
-- Government-issued ID document for this cardholder.
data IssuingCardholderIndividualVerification'
IssuingCardholderIndividualVerification' :: Maybe IssuingCardholderIndividualVerification'Document' -> IssuingCardholderIndividualVerification'
-- | document: An identifying document, either a passport or local ID card.
[issuingCardholderIndividualVerification'Document] :: IssuingCardholderIndividualVerification' -> Maybe IssuingCardholderIndividualVerification'Document'
-- | Create a new IssuingCardholderIndividualVerification' with all
-- required fields.
mkIssuingCardholderIndividualVerification' :: IssuingCardholderIndividualVerification'
-- | Defines the object schema located at
-- components.schemas.issuing_cardholder_individual.properties.verification.anyOf.properties.document.anyOf
-- in the specification.
--
-- An identifying document, either a passport or local ID card.
data IssuingCardholderIndividualVerification'Document'
IssuingCardholderIndividualVerification'Document' :: Maybe IssuingCardholderIndividualVerification'Document'Back'Variants -> Maybe IssuingCardholderIndividualVerification'Document'Front'Variants -> IssuingCardholderIndividualVerification'Document'
-- | back: The back of a document returned by a file upload with a
-- `purpose` value of `identity_document`.
[issuingCardholderIndividualVerification'Document'Back] :: IssuingCardholderIndividualVerification'Document' -> Maybe IssuingCardholderIndividualVerification'Document'Back'Variants
-- | front: The front of a document returned by a file upload with a
-- `purpose` value of `identity_document`.
[issuingCardholderIndividualVerification'Document'Front] :: IssuingCardholderIndividualVerification'Document' -> Maybe IssuingCardholderIndividualVerification'Document'Front'Variants
-- | Create a new IssuingCardholderIndividualVerification'Document'
-- with all required fields.
mkIssuingCardholderIndividualVerification'Document' :: IssuingCardholderIndividualVerification'Document'
-- | Defines the oneOf schema located at
-- components.schemas.issuing_cardholder_individual.properties.verification.anyOf.properties.document.anyOf.properties.back.anyOf
-- in the specification.
--
-- The back of a document returned by a file upload with a
-- `purpose` value of `identity_document`.
data IssuingCardholderIndividualVerification'Document'Back'Variants
IssuingCardholderIndividualVerification'Document'Back'Text :: Text -> IssuingCardholderIndividualVerification'Document'Back'Variants
IssuingCardholderIndividualVerification'Document'Back'File :: File -> IssuingCardholderIndividualVerification'Document'Back'Variants
-- | Defines the oneOf schema located at
-- components.schemas.issuing_cardholder_individual.properties.verification.anyOf.properties.document.anyOf.properties.front.anyOf
-- in the specification.
--
-- The front of a document returned by a file upload with a
-- `purpose` value of `identity_document`.
data IssuingCardholderIndividualVerification'Document'Front'Variants
IssuingCardholderIndividualVerification'Document'Front'Text :: Text -> IssuingCardholderIndividualVerification'Document'Front'Variants
IssuingCardholderIndividualVerification'Document'Front'File :: File -> IssuingCardholderIndividualVerification'Document'Front'Variants
instance GHC.Classes.Eq StripeAPI.Types.IssuingCardholderIndividual.IssuingCardholderIndividualDob'
instance GHC.Show.Show StripeAPI.Types.IssuingCardholderIndividual.IssuingCardholderIndividualDob'
instance GHC.Classes.Eq StripeAPI.Types.IssuingCardholderIndividual.IssuingCardholderIndividualVerification'Document'Back'Variants
instance GHC.Show.Show StripeAPI.Types.IssuingCardholderIndividual.IssuingCardholderIndividualVerification'Document'Back'Variants
instance GHC.Classes.Eq StripeAPI.Types.IssuingCardholderIndividual.IssuingCardholderIndividualVerification'Document'Front'Variants
instance GHC.Show.Show StripeAPI.Types.IssuingCardholderIndividual.IssuingCardholderIndividualVerification'Document'Front'Variants
instance GHC.Classes.Eq StripeAPI.Types.IssuingCardholderIndividual.IssuingCardholderIndividualVerification'Document'
instance GHC.Show.Show StripeAPI.Types.IssuingCardholderIndividual.IssuingCardholderIndividualVerification'Document'
instance GHC.Classes.Eq StripeAPI.Types.IssuingCardholderIndividual.IssuingCardholderIndividualVerification'
instance GHC.Show.Show StripeAPI.Types.IssuingCardholderIndividual.IssuingCardholderIndividualVerification'
instance GHC.Classes.Eq StripeAPI.Types.IssuingCardholderIndividual.IssuingCardholderIndividual
instance GHC.Show.Show StripeAPI.Types.IssuingCardholderIndividual.IssuingCardholderIndividual
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.IssuingCardholderIndividual.IssuingCardholderIndividual
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.IssuingCardholderIndividual.IssuingCardholderIndividual
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.IssuingCardholderIndividual.IssuingCardholderIndividualVerification'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.IssuingCardholderIndividual.IssuingCardholderIndividualVerification'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.IssuingCardholderIndividual.IssuingCardholderIndividualVerification'Document'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.IssuingCardholderIndividual.IssuingCardholderIndividualVerification'Document'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.IssuingCardholderIndividual.IssuingCardholderIndividualVerification'Document'Front'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.IssuingCardholderIndividual.IssuingCardholderIndividualVerification'Document'Front'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.IssuingCardholderIndividual.IssuingCardholderIndividualVerification'Document'Back'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.IssuingCardholderIndividual.IssuingCardholderIndividualVerification'Document'Back'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.IssuingCardholderIndividual.IssuingCardholderIndividualDob'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.IssuingCardholderIndividual.IssuingCardholderIndividualDob'
-- | Contains the types generated from the schema
-- IssuingCardholderVerification
module StripeAPI.Types.IssuingCardholderVerification
-- | Defines the object schema located at
-- components.schemas.issuing_cardholder_verification in the
-- specification.
data IssuingCardholderVerification
IssuingCardholderVerification :: Maybe IssuingCardholderVerificationDocument' -> IssuingCardholderVerification
-- | document: An identifying document, either a passport or local ID card.
[issuingCardholderVerificationDocument] :: IssuingCardholderVerification -> Maybe IssuingCardholderVerificationDocument'
-- | Create a new IssuingCardholderVerification with all required
-- fields.
mkIssuingCardholderVerification :: IssuingCardholderVerification
-- | Defines the object schema located at
-- components.schemas.issuing_cardholder_verification.properties.document.anyOf
-- in the specification.
--
-- An identifying document, either a passport or local ID card.
data IssuingCardholderVerificationDocument'
IssuingCardholderVerificationDocument' :: Maybe IssuingCardholderVerificationDocument'Back'Variants -> Maybe IssuingCardholderVerificationDocument'Front'Variants -> IssuingCardholderVerificationDocument'
-- | back: The back of a document returned by a file upload with a
-- `purpose` value of `identity_document`.
[issuingCardholderVerificationDocument'Back] :: IssuingCardholderVerificationDocument' -> Maybe IssuingCardholderVerificationDocument'Back'Variants
-- | front: The front of a document returned by a file upload with a
-- `purpose` value of `identity_document`.
[issuingCardholderVerificationDocument'Front] :: IssuingCardholderVerificationDocument' -> Maybe IssuingCardholderVerificationDocument'Front'Variants
-- | Create a new IssuingCardholderVerificationDocument' with all
-- required fields.
mkIssuingCardholderVerificationDocument' :: IssuingCardholderVerificationDocument'
-- | Defines the oneOf schema located at
-- components.schemas.issuing_cardholder_verification.properties.document.anyOf.properties.back.anyOf
-- in the specification.
--
-- The back of a document returned by a file upload with a
-- `purpose` value of `identity_document`.
data IssuingCardholderVerificationDocument'Back'Variants
IssuingCardholderVerificationDocument'Back'Text :: Text -> IssuingCardholderVerificationDocument'Back'Variants
IssuingCardholderVerificationDocument'Back'File :: File -> IssuingCardholderVerificationDocument'Back'Variants
-- | Defines the oneOf schema located at
-- components.schemas.issuing_cardholder_verification.properties.document.anyOf.properties.front.anyOf
-- in the specification.
--
-- The front of a document returned by a file upload with a
-- `purpose` value of `identity_document`.
data IssuingCardholderVerificationDocument'Front'Variants
IssuingCardholderVerificationDocument'Front'Text :: Text -> IssuingCardholderVerificationDocument'Front'Variants
IssuingCardholderVerificationDocument'Front'File :: File -> IssuingCardholderVerificationDocument'Front'Variants
instance GHC.Classes.Eq StripeAPI.Types.IssuingCardholderVerification.IssuingCardholderVerificationDocument'Back'Variants
instance GHC.Show.Show StripeAPI.Types.IssuingCardholderVerification.IssuingCardholderVerificationDocument'Back'Variants
instance GHC.Classes.Eq StripeAPI.Types.IssuingCardholderVerification.IssuingCardholderVerificationDocument'Front'Variants
instance GHC.Show.Show StripeAPI.Types.IssuingCardholderVerification.IssuingCardholderVerificationDocument'Front'Variants
instance GHC.Classes.Eq StripeAPI.Types.IssuingCardholderVerification.IssuingCardholderVerificationDocument'
instance GHC.Show.Show StripeAPI.Types.IssuingCardholderVerification.IssuingCardholderVerificationDocument'
instance GHC.Classes.Eq StripeAPI.Types.IssuingCardholderVerification.IssuingCardholderVerification
instance GHC.Show.Show StripeAPI.Types.IssuingCardholderVerification.IssuingCardholderVerification
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.IssuingCardholderVerification.IssuingCardholderVerification
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.IssuingCardholderVerification.IssuingCardholderVerification
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.IssuingCardholderVerification.IssuingCardholderVerificationDocument'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.IssuingCardholderVerification.IssuingCardholderVerificationDocument'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.IssuingCardholderVerification.IssuingCardholderVerificationDocument'Front'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.IssuingCardholderVerification.IssuingCardholderVerificationDocument'Front'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.IssuingCardholderVerification.IssuingCardholderVerificationDocument'Back'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.IssuingCardholderVerification.IssuingCardholderVerificationDocument'Back'Variants
-- | Contains the types generated from the schema
-- IssuingDisputeCanceledEvidence
module StripeAPI.Types.IssuingDisputeCanceledEvidence
-- | Defines the object schema located at
-- components.schemas.issuing_dispute_canceled_evidence in the
-- specification.
data IssuingDisputeCanceledEvidence
IssuingDisputeCanceledEvidence :: Maybe IssuingDisputeCanceledEvidenceAdditionalDocumentation'Variants -> Maybe Int -> Maybe Bool -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe IssuingDisputeCanceledEvidenceProductType' -> Maybe IssuingDisputeCanceledEvidenceReturnStatus' -> Maybe Int -> IssuingDisputeCanceledEvidence
-- | additional_documentation: (ID of a file upload) Additional
-- documentation supporting the dispute.
[issuingDisputeCanceledEvidenceAdditionalDocumentation] :: IssuingDisputeCanceledEvidence -> Maybe IssuingDisputeCanceledEvidenceAdditionalDocumentation'Variants
-- | canceled_at: Date when order was canceled.
[issuingDisputeCanceledEvidenceCanceledAt] :: IssuingDisputeCanceledEvidence -> Maybe Int
-- | cancellation_policy_provided: Whether the cardholder was provided with
-- a cancellation policy.
[issuingDisputeCanceledEvidenceCancellationPolicyProvided] :: IssuingDisputeCanceledEvidence -> Maybe Bool
-- | cancellation_reason: Reason for canceling the order.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[issuingDisputeCanceledEvidenceCancellationReason] :: IssuingDisputeCanceledEvidence -> Maybe Text
-- | expected_at: Date when the cardholder expected to receive the product.
[issuingDisputeCanceledEvidenceExpectedAt] :: IssuingDisputeCanceledEvidence -> Maybe Int
-- | explanation: Explanation of why the cardholder is disputing this
-- transaction.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[issuingDisputeCanceledEvidenceExplanation] :: IssuingDisputeCanceledEvidence -> Maybe Text
-- | product_description: Description of the merchandise or service that
-- was purchased.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[issuingDisputeCanceledEvidenceProductDescription] :: IssuingDisputeCanceledEvidence -> Maybe Text
-- | product_type: Whether the product was a merchandise or service.
[issuingDisputeCanceledEvidenceProductType] :: IssuingDisputeCanceledEvidence -> Maybe IssuingDisputeCanceledEvidenceProductType'
-- | return_status: Result of cardholder's attempt to return the product.
[issuingDisputeCanceledEvidenceReturnStatus] :: IssuingDisputeCanceledEvidence -> Maybe IssuingDisputeCanceledEvidenceReturnStatus'
-- | returned_at: Date when the product was returned or attempted to be
-- returned.
[issuingDisputeCanceledEvidenceReturnedAt] :: IssuingDisputeCanceledEvidence -> Maybe Int
-- | Create a new IssuingDisputeCanceledEvidence with all required
-- fields.
mkIssuingDisputeCanceledEvidence :: IssuingDisputeCanceledEvidence
-- | Defines the oneOf schema located at
-- components.schemas.issuing_dispute_canceled_evidence.properties.additional_documentation.anyOf
-- in the specification.
--
-- (ID of a file upload) Additional documentation supporting the
-- dispute.
data IssuingDisputeCanceledEvidenceAdditionalDocumentation'Variants
IssuingDisputeCanceledEvidenceAdditionalDocumentation'Text :: Text -> IssuingDisputeCanceledEvidenceAdditionalDocumentation'Variants
IssuingDisputeCanceledEvidenceAdditionalDocumentation'File :: File -> IssuingDisputeCanceledEvidenceAdditionalDocumentation'Variants
-- | Defines the enum schema located at
-- components.schemas.issuing_dispute_canceled_evidence.properties.product_type
-- in the specification.
--
-- Whether the product was a merchandise or service.
data IssuingDisputeCanceledEvidenceProductType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
IssuingDisputeCanceledEvidenceProductType'Other :: Value -> IssuingDisputeCanceledEvidenceProductType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
IssuingDisputeCanceledEvidenceProductType'Typed :: Text -> IssuingDisputeCanceledEvidenceProductType'
-- | Represents the JSON value "merchandise"
IssuingDisputeCanceledEvidenceProductType'EnumMerchandise :: IssuingDisputeCanceledEvidenceProductType'
-- | Represents the JSON value "service"
IssuingDisputeCanceledEvidenceProductType'EnumService :: IssuingDisputeCanceledEvidenceProductType'
-- | Defines the enum schema located at
-- components.schemas.issuing_dispute_canceled_evidence.properties.return_status
-- in the specification.
--
-- Result of cardholder's attempt to return the product.
data IssuingDisputeCanceledEvidenceReturnStatus'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
IssuingDisputeCanceledEvidenceReturnStatus'Other :: Value -> IssuingDisputeCanceledEvidenceReturnStatus'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
IssuingDisputeCanceledEvidenceReturnStatus'Typed :: Text -> IssuingDisputeCanceledEvidenceReturnStatus'
-- | Represents the JSON value "merchant_rejected"
IssuingDisputeCanceledEvidenceReturnStatus'EnumMerchantRejected :: IssuingDisputeCanceledEvidenceReturnStatus'
-- | Represents the JSON value "successful"
IssuingDisputeCanceledEvidenceReturnStatus'EnumSuccessful :: IssuingDisputeCanceledEvidenceReturnStatus'
instance GHC.Classes.Eq StripeAPI.Types.IssuingDisputeCanceledEvidence.IssuingDisputeCanceledEvidenceAdditionalDocumentation'Variants
instance GHC.Show.Show StripeAPI.Types.IssuingDisputeCanceledEvidence.IssuingDisputeCanceledEvidenceAdditionalDocumentation'Variants
instance GHC.Classes.Eq StripeAPI.Types.IssuingDisputeCanceledEvidence.IssuingDisputeCanceledEvidenceProductType'
instance GHC.Show.Show StripeAPI.Types.IssuingDisputeCanceledEvidence.IssuingDisputeCanceledEvidenceProductType'
instance GHC.Classes.Eq StripeAPI.Types.IssuingDisputeCanceledEvidence.IssuingDisputeCanceledEvidenceReturnStatus'
instance GHC.Show.Show StripeAPI.Types.IssuingDisputeCanceledEvidence.IssuingDisputeCanceledEvidenceReturnStatus'
instance GHC.Classes.Eq StripeAPI.Types.IssuingDisputeCanceledEvidence.IssuingDisputeCanceledEvidence
instance GHC.Show.Show StripeAPI.Types.IssuingDisputeCanceledEvidence.IssuingDisputeCanceledEvidence
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.IssuingDisputeCanceledEvidence.IssuingDisputeCanceledEvidence
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.IssuingDisputeCanceledEvidence.IssuingDisputeCanceledEvidence
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.IssuingDisputeCanceledEvidence.IssuingDisputeCanceledEvidenceReturnStatus'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.IssuingDisputeCanceledEvidence.IssuingDisputeCanceledEvidenceReturnStatus'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.IssuingDisputeCanceledEvidence.IssuingDisputeCanceledEvidenceProductType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.IssuingDisputeCanceledEvidence.IssuingDisputeCanceledEvidenceProductType'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.IssuingDisputeCanceledEvidence.IssuingDisputeCanceledEvidenceAdditionalDocumentation'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.IssuingDisputeCanceledEvidence.IssuingDisputeCanceledEvidenceAdditionalDocumentation'Variants
-- | Contains the types generated from the schema
-- IssuingDisputeDuplicateEvidence
module StripeAPI.Types.IssuingDisputeDuplicateEvidence
-- | Defines the object schema located at
-- components.schemas.issuing_dispute_duplicate_evidence in the
-- specification.
data IssuingDisputeDuplicateEvidence
IssuingDisputeDuplicateEvidence :: Maybe IssuingDisputeDuplicateEvidenceAdditionalDocumentation'Variants -> Maybe IssuingDisputeDuplicateEvidenceCardStatement'Variants -> Maybe IssuingDisputeDuplicateEvidenceCashReceipt'Variants -> Maybe IssuingDisputeDuplicateEvidenceCheckImage'Variants -> Maybe Text -> Maybe Text -> IssuingDisputeDuplicateEvidence
-- | additional_documentation: (ID of a file upload) Additional
-- documentation supporting the dispute.
[issuingDisputeDuplicateEvidenceAdditionalDocumentation] :: IssuingDisputeDuplicateEvidence -> Maybe IssuingDisputeDuplicateEvidenceAdditionalDocumentation'Variants
-- | card_statement: (ID of a file upload) Copy of the card
-- statement showing that the product had already been paid for.
[issuingDisputeDuplicateEvidenceCardStatement] :: IssuingDisputeDuplicateEvidence -> Maybe IssuingDisputeDuplicateEvidenceCardStatement'Variants
-- | cash_receipt: (ID of a file upload) Copy of the receipt showing
-- that the product had been paid for in cash.
[issuingDisputeDuplicateEvidenceCashReceipt] :: IssuingDisputeDuplicateEvidence -> Maybe IssuingDisputeDuplicateEvidenceCashReceipt'Variants
-- | check_image: (ID of a file upload) Image of the front and back
-- of the check that was used to pay for the product.
[issuingDisputeDuplicateEvidenceCheckImage] :: IssuingDisputeDuplicateEvidence -> Maybe IssuingDisputeDuplicateEvidenceCheckImage'Variants
-- | explanation: Explanation of why the cardholder is disputing this
-- transaction.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[issuingDisputeDuplicateEvidenceExplanation] :: IssuingDisputeDuplicateEvidence -> Maybe Text
-- | original_transaction: Transaction (e.g., ipi_...) that the disputed
-- transaction is a duplicate of. Of the two or more transactions that
-- are copies of each other, this is original undisputed one.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[issuingDisputeDuplicateEvidenceOriginalTransaction] :: IssuingDisputeDuplicateEvidence -> Maybe Text
-- | Create a new IssuingDisputeDuplicateEvidence with all required
-- fields.
mkIssuingDisputeDuplicateEvidence :: IssuingDisputeDuplicateEvidence
-- | Defines the oneOf schema located at
-- components.schemas.issuing_dispute_duplicate_evidence.properties.additional_documentation.anyOf
-- in the specification.
--
-- (ID of a file upload) Additional documentation supporting the
-- dispute.
data IssuingDisputeDuplicateEvidenceAdditionalDocumentation'Variants
IssuingDisputeDuplicateEvidenceAdditionalDocumentation'Text :: Text -> IssuingDisputeDuplicateEvidenceAdditionalDocumentation'Variants
IssuingDisputeDuplicateEvidenceAdditionalDocumentation'File :: File -> IssuingDisputeDuplicateEvidenceAdditionalDocumentation'Variants
-- | Defines the oneOf schema located at
-- components.schemas.issuing_dispute_duplicate_evidence.properties.card_statement.anyOf
-- in the specification.
--
-- (ID of a file upload) Copy of the card statement showing that
-- the product had already been paid for.
data IssuingDisputeDuplicateEvidenceCardStatement'Variants
IssuingDisputeDuplicateEvidenceCardStatement'Text :: Text -> IssuingDisputeDuplicateEvidenceCardStatement'Variants
IssuingDisputeDuplicateEvidenceCardStatement'File :: File -> IssuingDisputeDuplicateEvidenceCardStatement'Variants
-- | Defines the oneOf schema located at
-- components.schemas.issuing_dispute_duplicate_evidence.properties.cash_receipt.anyOf
-- in the specification.
--
-- (ID of a file upload) Copy of the receipt showing that the
-- product had been paid for in cash.
data IssuingDisputeDuplicateEvidenceCashReceipt'Variants
IssuingDisputeDuplicateEvidenceCashReceipt'Text :: Text -> IssuingDisputeDuplicateEvidenceCashReceipt'Variants
IssuingDisputeDuplicateEvidenceCashReceipt'File :: File -> IssuingDisputeDuplicateEvidenceCashReceipt'Variants
-- | Defines the oneOf schema located at
-- components.schemas.issuing_dispute_duplicate_evidence.properties.check_image.anyOf
-- in the specification.
--
-- (ID of a file upload) Image of the front and back of the check
-- that was used to pay for the product.
data IssuingDisputeDuplicateEvidenceCheckImage'Variants
IssuingDisputeDuplicateEvidenceCheckImage'Text :: Text -> IssuingDisputeDuplicateEvidenceCheckImage'Variants
IssuingDisputeDuplicateEvidenceCheckImage'File :: File -> IssuingDisputeDuplicateEvidenceCheckImage'Variants
instance GHC.Classes.Eq StripeAPI.Types.IssuingDisputeDuplicateEvidence.IssuingDisputeDuplicateEvidenceAdditionalDocumentation'Variants
instance GHC.Show.Show StripeAPI.Types.IssuingDisputeDuplicateEvidence.IssuingDisputeDuplicateEvidenceAdditionalDocumentation'Variants
instance GHC.Classes.Eq StripeAPI.Types.IssuingDisputeDuplicateEvidence.IssuingDisputeDuplicateEvidenceCardStatement'Variants
instance GHC.Show.Show StripeAPI.Types.IssuingDisputeDuplicateEvidence.IssuingDisputeDuplicateEvidenceCardStatement'Variants
instance GHC.Classes.Eq StripeAPI.Types.IssuingDisputeDuplicateEvidence.IssuingDisputeDuplicateEvidenceCashReceipt'Variants
instance GHC.Show.Show StripeAPI.Types.IssuingDisputeDuplicateEvidence.IssuingDisputeDuplicateEvidenceCashReceipt'Variants
instance GHC.Classes.Eq StripeAPI.Types.IssuingDisputeDuplicateEvidence.IssuingDisputeDuplicateEvidenceCheckImage'Variants
instance GHC.Show.Show StripeAPI.Types.IssuingDisputeDuplicateEvidence.IssuingDisputeDuplicateEvidenceCheckImage'Variants
instance GHC.Classes.Eq StripeAPI.Types.IssuingDisputeDuplicateEvidence.IssuingDisputeDuplicateEvidence
instance GHC.Show.Show StripeAPI.Types.IssuingDisputeDuplicateEvidence.IssuingDisputeDuplicateEvidence
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.IssuingDisputeDuplicateEvidence.IssuingDisputeDuplicateEvidence
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.IssuingDisputeDuplicateEvidence.IssuingDisputeDuplicateEvidence
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.IssuingDisputeDuplicateEvidence.IssuingDisputeDuplicateEvidenceCheckImage'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.IssuingDisputeDuplicateEvidence.IssuingDisputeDuplicateEvidenceCheckImage'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.IssuingDisputeDuplicateEvidence.IssuingDisputeDuplicateEvidenceCashReceipt'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.IssuingDisputeDuplicateEvidence.IssuingDisputeDuplicateEvidenceCashReceipt'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.IssuingDisputeDuplicateEvidence.IssuingDisputeDuplicateEvidenceCardStatement'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.IssuingDisputeDuplicateEvidence.IssuingDisputeDuplicateEvidenceCardStatement'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.IssuingDisputeDuplicateEvidence.IssuingDisputeDuplicateEvidenceAdditionalDocumentation'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.IssuingDisputeDuplicateEvidence.IssuingDisputeDuplicateEvidenceAdditionalDocumentation'Variants
-- | Contains the types generated from the schema
-- IssuingDisputeFraudulentEvidence
module StripeAPI.Types.IssuingDisputeFraudulentEvidence
-- | Defines the object schema located at
-- components.schemas.issuing_dispute_fraudulent_evidence in the
-- specification.
data IssuingDisputeFraudulentEvidence
IssuingDisputeFraudulentEvidence :: Maybe IssuingDisputeFraudulentEvidenceAdditionalDocumentation'Variants -> Maybe Text -> IssuingDisputeFraudulentEvidence
-- | additional_documentation: (ID of a file upload) Additional
-- documentation supporting the dispute.
[issuingDisputeFraudulentEvidenceAdditionalDocumentation] :: IssuingDisputeFraudulentEvidence -> Maybe IssuingDisputeFraudulentEvidenceAdditionalDocumentation'Variants
-- | explanation: Explanation of why the cardholder is disputing this
-- transaction.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[issuingDisputeFraudulentEvidenceExplanation] :: IssuingDisputeFraudulentEvidence -> Maybe Text
-- | Create a new IssuingDisputeFraudulentEvidence with all required
-- fields.
mkIssuingDisputeFraudulentEvidence :: IssuingDisputeFraudulentEvidence
-- | Defines the oneOf schema located at
-- components.schemas.issuing_dispute_fraudulent_evidence.properties.additional_documentation.anyOf
-- in the specification.
--
-- (ID of a file upload) Additional documentation supporting the
-- dispute.
data IssuingDisputeFraudulentEvidenceAdditionalDocumentation'Variants
IssuingDisputeFraudulentEvidenceAdditionalDocumentation'Text :: Text -> IssuingDisputeFraudulentEvidenceAdditionalDocumentation'Variants
IssuingDisputeFraudulentEvidenceAdditionalDocumentation'File :: File -> IssuingDisputeFraudulentEvidenceAdditionalDocumentation'Variants
instance GHC.Classes.Eq StripeAPI.Types.IssuingDisputeFraudulentEvidence.IssuingDisputeFraudulentEvidenceAdditionalDocumentation'Variants
instance GHC.Show.Show StripeAPI.Types.IssuingDisputeFraudulentEvidence.IssuingDisputeFraudulentEvidenceAdditionalDocumentation'Variants
instance GHC.Classes.Eq StripeAPI.Types.IssuingDisputeFraudulentEvidence.IssuingDisputeFraudulentEvidence
instance GHC.Show.Show StripeAPI.Types.IssuingDisputeFraudulentEvidence.IssuingDisputeFraudulentEvidence
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.IssuingDisputeFraudulentEvidence.IssuingDisputeFraudulentEvidence
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.IssuingDisputeFraudulentEvidence.IssuingDisputeFraudulentEvidence
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.IssuingDisputeFraudulentEvidence.IssuingDisputeFraudulentEvidenceAdditionalDocumentation'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.IssuingDisputeFraudulentEvidence.IssuingDisputeFraudulentEvidenceAdditionalDocumentation'Variants
-- | Contains the types generated from the schema
-- IssuingDisputeMerchandiseNotAsDescribedEvidence
module StripeAPI.Types.IssuingDisputeMerchandiseNotAsDescribedEvidence
-- | Defines the object schema located at
-- components.schemas.issuing_dispute_merchandise_not_as_described_evidence
-- in the specification.
data IssuingDisputeMerchandiseNotAsDescribedEvidence
IssuingDisputeMerchandiseNotAsDescribedEvidence :: Maybe IssuingDisputeMerchandiseNotAsDescribedEvidenceAdditionalDocumentation'Variants -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe IssuingDisputeMerchandiseNotAsDescribedEvidenceReturnStatus' -> Maybe Int -> IssuingDisputeMerchandiseNotAsDescribedEvidence
-- | additional_documentation: (ID of a file upload) Additional
-- documentation supporting the dispute.
[issuingDisputeMerchandiseNotAsDescribedEvidenceAdditionalDocumentation] :: IssuingDisputeMerchandiseNotAsDescribedEvidence -> Maybe IssuingDisputeMerchandiseNotAsDescribedEvidenceAdditionalDocumentation'Variants
-- | explanation: Explanation of why the cardholder is disputing this
-- transaction.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[issuingDisputeMerchandiseNotAsDescribedEvidenceExplanation] :: IssuingDisputeMerchandiseNotAsDescribedEvidence -> Maybe Text
-- | received_at: Date when the product was received.
[issuingDisputeMerchandiseNotAsDescribedEvidenceReceivedAt] :: IssuingDisputeMerchandiseNotAsDescribedEvidence -> Maybe Int
-- | return_description: Description of the cardholder's attempt to return
-- the product.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[issuingDisputeMerchandiseNotAsDescribedEvidenceReturnDescription] :: IssuingDisputeMerchandiseNotAsDescribedEvidence -> Maybe Text
-- | return_status: Result of cardholder's attempt to return the product.
[issuingDisputeMerchandiseNotAsDescribedEvidenceReturnStatus] :: IssuingDisputeMerchandiseNotAsDescribedEvidence -> Maybe IssuingDisputeMerchandiseNotAsDescribedEvidenceReturnStatus'
-- | returned_at: Date when the product was returned or attempted to be
-- returned.
[issuingDisputeMerchandiseNotAsDescribedEvidenceReturnedAt] :: IssuingDisputeMerchandiseNotAsDescribedEvidence -> Maybe Int
-- | Create a new IssuingDisputeMerchandiseNotAsDescribedEvidence
-- with all required fields.
mkIssuingDisputeMerchandiseNotAsDescribedEvidence :: IssuingDisputeMerchandiseNotAsDescribedEvidence
-- | Defines the oneOf schema located at
-- components.schemas.issuing_dispute_merchandise_not_as_described_evidence.properties.additional_documentation.anyOf
-- in the specification.
--
-- (ID of a file upload) Additional documentation supporting the
-- dispute.
data IssuingDisputeMerchandiseNotAsDescribedEvidenceAdditionalDocumentation'Variants
IssuingDisputeMerchandiseNotAsDescribedEvidenceAdditionalDocumentation'Text :: Text -> IssuingDisputeMerchandiseNotAsDescribedEvidenceAdditionalDocumentation'Variants
IssuingDisputeMerchandiseNotAsDescribedEvidenceAdditionalDocumentation'File :: File -> IssuingDisputeMerchandiseNotAsDescribedEvidenceAdditionalDocumentation'Variants
-- | Defines the enum schema located at
-- components.schemas.issuing_dispute_merchandise_not_as_described_evidence.properties.return_status
-- in the specification.
--
-- Result of cardholder's attempt to return the product.
data IssuingDisputeMerchandiseNotAsDescribedEvidenceReturnStatus'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
IssuingDisputeMerchandiseNotAsDescribedEvidenceReturnStatus'Other :: Value -> IssuingDisputeMerchandiseNotAsDescribedEvidenceReturnStatus'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
IssuingDisputeMerchandiseNotAsDescribedEvidenceReturnStatus'Typed :: Text -> IssuingDisputeMerchandiseNotAsDescribedEvidenceReturnStatus'
-- | Represents the JSON value "merchant_rejected"
IssuingDisputeMerchandiseNotAsDescribedEvidenceReturnStatus'EnumMerchantRejected :: IssuingDisputeMerchandiseNotAsDescribedEvidenceReturnStatus'
-- | Represents the JSON value "successful"
IssuingDisputeMerchandiseNotAsDescribedEvidenceReturnStatus'EnumSuccessful :: IssuingDisputeMerchandiseNotAsDescribedEvidenceReturnStatus'
instance GHC.Classes.Eq StripeAPI.Types.IssuingDisputeMerchandiseNotAsDescribedEvidence.IssuingDisputeMerchandiseNotAsDescribedEvidenceAdditionalDocumentation'Variants
instance GHC.Show.Show StripeAPI.Types.IssuingDisputeMerchandiseNotAsDescribedEvidence.IssuingDisputeMerchandiseNotAsDescribedEvidenceAdditionalDocumentation'Variants
instance GHC.Classes.Eq StripeAPI.Types.IssuingDisputeMerchandiseNotAsDescribedEvidence.IssuingDisputeMerchandiseNotAsDescribedEvidenceReturnStatus'
instance GHC.Show.Show StripeAPI.Types.IssuingDisputeMerchandiseNotAsDescribedEvidence.IssuingDisputeMerchandiseNotAsDescribedEvidenceReturnStatus'
instance GHC.Classes.Eq StripeAPI.Types.IssuingDisputeMerchandiseNotAsDescribedEvidence.IssuingDisputeMerchandiseNotAsDescribedEvidence
instance GHC.Show.Show StripeAPI.Types.IssuingDisputeMerchandiseNotAsDescribedEvidence.IssuingDisputeMerchandiseNotAsDescribedEvidence
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.IssuingDisputeMerchandiseNotAsDescribedEvidence.IssuingDisputeMerchandiseNotAsDescribedEvidence
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.IssuingDisputeMerchandiseNotAsDescribedEvidence.IssuingDisputeMerchandiseNotAsDescribedEvidence
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.IssuingDisputeMerchandiseNotAsDescribedEvidence.IssuingDisputeMerchandiseNotAsDescribedEvidenceReturnStatus'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.IssuingDisputeMerchandiseNotAsDescribedEvidence.IssuingDisputeMerchandiseNotAsDescribedEvidenceReturnStatus'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.IssuingDisputeMerchandiseNotAsDescribedEvidence.IssuingDisputeMerchandiseNotAsDescribedEvidenceAdditionalDocumentation'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.IssuingDisputeMerchandiseNotAsDescribedEvidence.IssuingDisputeMerchandiseNotAsDescribedEvidenceAdditionalDocumentation'Variants
-- | Contains the types generated from the schema
-- IssuingDisputeNotReceivedEvidence
module StripeAPI.Types.IssuingDisputeNotReceivedEvidence
-- | Defines the object schema located at
-- components.schemas.issuing_dispute_not_received_evidence in
-- the specification.
data IssuingDisputeNotReceivedEvidence
IssuingDisputeNotReceivedEvidence :: Maybe IssuingDisputeNotReceivedEvidenceAdditionalDocumentation'Variants -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe IssuingDisputeNotReceivedEvidenceProductType' -> IssuingDisputeNotReceivedEvidence
-- | additional_documentation: (ID of a file upload) Additional
-- documentation supporting the dispute.
[issuingDisputeNotReceivedEvidenceAdditionalDocumentation] :: IssuingDisputeNotReceivedEvidence -> Maybe IssuingDisputeNotReceivedEvidenceAdditionalDocumentation'Variants
-- | expected_at: Date when the cardholder expected to receive the product.
[issuingDisputeNotReceivedEvidenceExpectedAt] :: IssuingDisputeNotReceivedEvidence -> Maybe Int
-- | explanation: Explanation of why the cardholder is disputing this
-- transaction.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[issuingDisputeNotReceivedEvidenceExplanation] :: IssuingDisputeNotReceivedEvidence -> Maybe Text
-- | product_description: Description of the merchandise or service that
-- was purchased.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[issuingDisputeNotReceivedEvidenceProductDescription] :: IssuingDisputeNotReceivedEvidence -> Maybe Text
-- | product_type: Whether the product was a merchandise or service.
[issuingDisputeNotReceivedEvidenceProductType] :: IssuingDisputeNotReceivedEvidence -> Maybe IssuingDisputeNotReceivedEvidenceProductType'
-- | Create a new IssuingDisputeNotReceivedEvidence with all
-- required fields.
mkIssuingDisputeNotReceivedEvidence :: IssuingDisputeNotReceivedEvidence
-- | Defines the oneOf schema located at
-- components.schemas.issuing_dispute_not_received_evidence.properties.additional_documentation.anyOf
-- in the specification.
--
-- (ID of a file upload) Additional documentation supporting the
-- dispute.
data IssuingDisputeNotReceivedEvidenceAdditionalDocumentation'Variants
IssuingDisputeNotReceivedEvidenceAdditionalDocumentation'Text :: Text -> IssuingDisputeNotReceivedEvidenceAdditionalDocumentation'Variants
IssuingDisputeNotReceivedEvidenceAdditionalDocumentation'File :: File -> IssuingDisputeNotReceivedEvidenceAdditionalDocumentation'Variants
-- | Defines the enum schema located at
-- components.schemas.issuing_dispute_not_received_evidence.properties.product_type
-- in the specification.
--
-- Whether the product was a merchandise or service.
data IssuingDisputeNotReceivedEvidenceProductType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
IssuingDisputeNotReceivedEvidenceProductType'Other :: Value -> IssuingDisputeNotReceivedEvidenceProductType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
IssuingDisputeNotReceivedEvidenceProductType'Typed :: Text -> IssuingDisputeNotReceivedEvidenceProductType'
-- | Represents the JSON value "merchandise"
IssuingDisputeNotReceivedEvidenceProductType'EnumMerchandise :: IssuingDisputeNotReceivedEvidenceProductType'
-- | Represents the JSON value "service"
IssuingDisputeNotReceivedEvidenceProductType'EnumService :: IssuingDisputeNotReceivedEvidenceProductType'
instance GHC.Classes.Eq StripeAPI.Types.IssuingDisputeNotReceivedEvidence.IssuingDisputeNotReceivedEvidenceAdditionalDocumentation'Variants
instance GHC.Show.Show StripeAPI.Types.IssuingDisputeNotReceivedEvidence.IssuingDisputeNotReceivedEvidenceAdditionalDocumentation'Variants
instance GHC.Classes.Eq StripeAPI.Types.IssuingDisputeNotReceivedEvidence.IssuingDisputeNotReceivedEvidenceProductType'
instance GHC.Show.Show StripeAPI.Types.IssuingDisputeNotReceivedEvidence.IssuingDisputeNotReceivedEvidenceProductType'
instance GHC.Classes.Eq StripeAPI.Types.IssuingDisputeNotReceivedEvidence.IssuingDisputeNotReceivedEvidence
instance GHC.Show.Show StripeAPI.Types.IssuingDisputeNotReceivedEvidence.IssuingDisputeNotReceivedEvidence
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.IssuingDisputeNotReceivedEvidence.IssuingDisputeNotReceivedEvidence
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.IssuingDisputeNotReceivedEvidence.IssuingDisputeNotReceivedEvidence
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.IssuingDisputeNotReceivedEvidence.IssuingDisputeNotReceivedEvidenceProductType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.IssuingDisputeNotReceivedEvidence.IssuingDisputeNotReceivedEvidenceProductType'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.IssuingDisputeNotReceivedEvidence.IssuingDisputeNotReceivedEvidenceAdditionalDocumentation'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.IssuingDisputeNotReceivedEvidence.IssuingDisputeNotReceivedEvidenceAdditionalDocumentation'Variants
-- | Contains the types generated from the schema
-- IssuingDisputeOtherEvidence
module StripeAPI.Types.IssuingDisputeOtherEvidence
-- | Defines the object schema located at
-- components.schemas.issuing_dispute_other_evidence in the
-- specification.
data IssuingDisputeOtherEvidence
IssuingDisputeOtherEvidence :: Maybe IssuingDisputeOtherEvidenceAdditionalDocumentation'Variants -> Maybe Text -> Maybe Text -> Maybe IssuingDisputeOtherEvidenceProductType' -> IssuingDisputeOtherEvidence
-- | additional_documentation: (ID of a file upload) Additional
-- documentation supporting the dispute.
[issuingDisputeOtherEvidenceAdditionalDocumentation] :: IssuingDisputeOtherEvidence -> Maybe IssuingDisputeOtherEvidenceAdditionalDocumentation'Variants
-- | explanation: Explanation of why the cardholder is disputing this
-- transaction.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[issuingDisputeOtherEvidenceExplanation] :: IssuingDisputeOtherEvidence -> Maybe Text
-- | product_description: Description of the merchandise or service that
-- was purchased.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[issuingDisputeOtherEvidenceProductDescription] :: IssuingDisputeOtherEvidence -> Maybe Text
-- | product_type: Whether the product was a merchandise or service.
[issuingDisputeOtherEvidenceProductType] :: IssuingDisputeOtherEvidence -> Maybe IssuingDisputeOtherEvidenceProductType'
-- | Create a new IssuingDisputeOtherEvidence with all required
-- fields.
mkIssuingDisputeOtherEvidence :: IssuingDisputeOtherEvidence
-- | Defines the oneOf schema located at
-- components.schemas.issuing_dispute_other_evidence.properties.additional_documentation.anyOf
-- in the specification.
--
-- (ID of a file upload) Additional documentation supporting the
-- dispute.
data IssuingDisputeOtherEvidenceAdditionalDocumentation'Variants
IssuingDisputeOtherEvidenceAdditionalDocumentation'Text :: Text -> IssuingDisputeOtherEvidenceAdditionalDocumentation'Variants
IssuingDisputeOtherEvidenceAdditionalDocumentation'File :: File -> IssuingDisputeOtherEvidenceAdditionalDocumentation'Variants
-- | Defines the enum schema located at
-- components.schemas.issuing_dispute_other_evidence.properties.product_type
-- in the specification.
--
-- Whether the product was a merchandise or service.
data IssuingDisputeOtherEvidenceProductType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
IssuingDisputeOtherEvidenceProductType'Other :: Value -> IssuingDisputeOtherEvidenceProductType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
IssuingDisputeOtherEvidenceProductType'Typed :: Text -> IssuingDisputeOtherEvidenceProductType'
-- | Represents the JSON value "merchandise"
IssuingDisputeOtherEvidenceProductType'EnumMerchandise :: IssuingDisputeOtherEvidenceProductType'
-- | Represents the JSON value "service"
IssuingDisputeOtherEvidenceProductType'EnumService :: IssuingDisputeOtherEvidenceProductType'
instance GHC.Classes.Eq StripeAPI.Types.IssuingDisputeOtherEvidence.IssuingDisputeOtherEvidenceAdditionalDocumentation'Variants
instance GHC.Show.Show StripeAPI.Types.IssuingDisputeOtherEvidence.IssuingDisputeOtherEvidenceAdditionalDocumentation'Variants
instance GHC.Classes.Eq StripeAPI.Types.IssuingDisputeOtherEvidence.IssuingDisputeOtherEvidenceProductType'
instance GHC.Show.Show StripeAPI.Types.IssuingDisputeOtherEvidence.IssuingDisputeOtherEvidenceProductType'
instance GHC.Classes.Eq StripeAPI.Types.IssuingDisputeOtherEvidence.IssuingDisputeOtherEvidence
instance GHC.Show.Show StripeAPI.Types.IssuingDisputeOtherEvidence.IssuingDisputeOtherEvidence
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.IssuingDisputeOtherEvidence.IssuingDisputeOtherEvidence
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.IssuingDisputeOtherEvidence.IssuingDisputeOtherEvidence
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.IssuingDisputeOtherEvidence.IssuingDisputeOtherEvidenceProductType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.IssuingDisputeOtherEvidence.IssuingDisputeOtherEvidenceProductType'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.IssuingDisputeOtherEvidence.IssuingDisputeOtherEvidenceAdditionalDocumentation'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.IssuingDisputeOtherEvidence.IssuingDisputeOtherEvidenceAdditionalDocumentation'Variants
-- | Contains the types generated from the schema IssuingDisputeEvidence
module StripeAPI.Types.IssuingDisputeEvidence
-- | Defines the object schema located at
-- components.schemas.issuing_dispute_evidence in the
-- specification.
data IssuingDisputeEvidence
IssuingDisputeEvidence :: Maybe IssuingDisputeCanceledEvidence -> Maybe IssuingDisputeDuplicateEvidence -> Maybe IssuingDisputeFraudulentEvidence -> Maybe IssuingDisputeMerchandiseNotAsDescribedEvidence -> Maybe IssuingDisputeNotReceivedEvidence -> Maybe IssuingDisputeOtherEvidence -> IssuingDisputeEvidenceReason' -> Maybe IssuingDisputeServiceNotAsDescribedEvidence -> IssuingDisputeEvidence
-- | canceled:
[issuingDisputeEvidenceCanceled] :: IssuingDisputeEvidence -> Maybe IssuingDisputeCanceledEvidence
-- | duplicate:
[issuingDisputeEvidenceDuplicate] :: IssuingDisputeEvidence -> Maybe IssuingDisputeDuplicateEvidence
-- | fraudulent:
[issuingDisputeEvidenceFraudulent] :: IssuingDisputeEvidence -> Maybe IssuingDisputeFraudulentEvidence
-- | merchandise_not_as_described:
[issuingDisputeEvidenceMerchandiseNotAsDescribed] :: IssuingDisputeEvidence -> Maybe IssuingDisputeMerchandiseNotAsDescribedEvidence
-- | not_received:
[issuingDisputeEvidenceNotReceived] :: IssuingDisputeEvidence -> Maybe IssuingDisputeNotReceivedEvidence
-- | other:
[issuingDisputeEvidenceOther] :: IssuingDisputeEvidence -> Maybe IssuingDisputeOtherEvidence
-- | reason: The reason for filing the dispute. Its value will match the
-- field containing the evidence.
[issuingDisputeEvidenceReason] :: IssuingDisputeEvidence -> IssuingDisputeEvidenceReason'
-- | service_not_as_described:
[issuingDisputeEvidenceServiceNotAsDescribed] :: IssuingDisputeEvidence -> Maybe IssuingDisputeServiceNotAsDescribedEvidence
-- | Create a new IssuingDisputeEvidence with all required fields.
mkIssuingDisputeEvidence :: IssuingDisputeEvidenceReason' -> IssuingDisputeEvidence
-- | Defines the enum schema located at
-- components.schemas.issuing_dispute_evidence.properties.reason
-- in the specification.
--
-- The reason for filing the dispute. Its value will match the field
-- containing the evidence.
data IssuingDisputeEvidenceReason'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
IssuingDisputeEvidenceReason'Other :: Value -> IssuingDisputeEvidenceReason'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
IssuingDisputeEvidenceReason'Typed :: Text -> IssuingDisputeEvidenceReason'
-- | Represents the JSON value "canceled"
IssuingDisputeEvidenceReason'EnumCanceled :: IssuingDisputeEvidenceReason'
-- | Represents the JSON value "duplicate"
IssuingDisputeEvidenceReason'EnumDuplicate :: IssuingDisputeEvidenceReason'
-- | Represents the JSON value "fraudulent"
IssuingDisputeEvidenceReason'EnumFraudulent :: IssuingDisputeEvidenceReason'
-- | Represents the JSON value "merchandise_not_as_described"
IssuingDisputeEvidenceReason'EnumMerchandiseNotAsDescribed :: IssuingDisputeEvidenceReason'
-- | Represents the JSON value "not_received"
IssuingDisputeEvidenceReason'EnumNotReceived :: IssuingDisputeEvidenceReason'
-- | Represents the JSON value "other"
IssuingDisputeEvidenceReason'EnumOther :: IssuingDisputeEvidenceReason'
-- | Represents the JSON value "service_not_as_described"
IssuingDisputeEvidenceReason'EnumServiceNotAsDescribed :: IssuingDisputeEvidenceReason'
instance GHC.Classes.Eq StripeAPI.Types.IssuingDisputeEvidence.IssuingDisputeEvidenceReason'
instance GHC.Show.Show StripeAPI.Types.IssuingDisputeEvidence.IssuingDisputeEvidenceReason'
instance GHC.Classes.Eq StripeAPI.Types.IssuingDisputeEvidence.IssuingDisputeEvidence
instance GHC.Show.Show StripeAPI.Types.IssuingDisputeEvidence.IssuingDisputeEvidence
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.IssuingDisputeEvidence.IssuingDisputeEvidence
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.IssuingDisputeEvidence.IssuingDisputeEvidence
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.IssuingDisputeEvidence.IssuingDisputeEvidenceReason'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.IssuingDisputeEvidence.IssuingDisputeEvidenceReason'
-- | Contains the types generated from the schema
-- IssuingDisputeServiceNotAsDescribedEvidence
module StripeAPI.Types.IssuingDisputeServiceNotAsDescribedEvidence
-- | Defines the object schema located at
-- components.schemas.issuing_dispute_service_not_as_described_evidence
-- in the specification.
data IssuingDisputeServiceNotAsDescribedEvidence
IssuingDisputeServiceNotAsDescribedEvidence :: Maybe IssuingDisputeServiceNotAsDescribedEvidenceAdditionalDocumentation'Variants -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe Int -> IssuingDisputeServiceNotAsDescribedEvidence
-- | additional_documentation: (ID of a file upload) Additional
-- documentation supporting the dispute.
[issuingDisputeServiceNotAsDescribedEvidenceAdditionalDocumentation] :: IssuingDisputeServiceNotAsDescribedEvidence -> Maybe IssuingDisputeServiceNotAsDescribedEvidenceAdditionalDocumentation'Variants
-- | canceled_at: Date when order was canceled.
[issuingDisputeServiceNotAsDescribedEvidenceCanceledAt] :: IssuingDisputeServiceNotAsDescribedEvidence -> Maybe Int
-- | cancellation_reason: Reason for canceling the order.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[issuingDisputeServiceNotAsDescribedEvidenceCancellationReason] :: IssuingDisputeServiceNotAsDescribedEvidence -> Maybe Text
-- | explanation: Explanation of why the cardholder is disputing this
-- transaction.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[issuingDisputeServiceNotAsDescribedEvidenceExplanation] :: IssuingDisputeServiceNotAsDescribedEvidence -> Maybe Text
-- | received_at: Date when the product was received.
[issuingDisputeServiceNotAsDescribedEvidenceReceivedAt] :: IssuingDisputeServiceNotAsDescribedEvidence -> Maybe Int
-- | Create a new IssuingDisputeServiceNotAsDescribedEvidence with
-- all required fields.
mkIssuingDisputeServiceNotAsDescribedEvidence :: IssuingDisputeServiceNotAsDescribedEvidence
-- | Defines the oneOf schema located at
-- components.schemas.issuing_dispute_service_not_as_described_evidence.properties.additional_documentation.anyOf
-- in the specification.
--
-- (ID of a file upload) Additional documentation supporting the
-- dispute.
data IssuingDisputeServiceNotAsDescribedEvidenceAdditionalDocumentation'Variants
IssuingDisputeServiceNotAsDescribedEvidenceAdditionalDocumentation'Text :: Text -> IssuingDisputeServiceNotAsDescribedEvidenceAdditionalDocumentation'Variants
IssuingDisputeServiceNotAsDescribedEvidenceAdditionalDocumentation'File :: File -> IssuingDisputeServiceNotAsDescribedEvidenceAdditionalDocumentation'Variants
instance GHC.Classes.Eq StripeAPI.Types.IssuingDisputeServiceNotAsDescribedEvidence.IssuingDisputeServiceNotAsDescribedEvidenceAdditionalDocumentation'Variants
instance GHC.Show.Show StripeAPI.Types.IssuingDisputeServiceNotAsDescribedEvidence.IssuingDisputeServiceNotAsDescribedEvidenceAdditionalDocumentation'Variants
instance GHC.Classes.Eq StripeAPI.Types.IssuingDisputeServiceNotAsDescribedEvidence.IssuingDisputeServiceNotAsDescribedEvidence
instance GHC.Show.Show StripeAPI.Types.IssuingDisputeServiceNotAsDescribedEvidence.IssuingDisputeServiceNotAsDescribedEvidence
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.IssuingDisputeServiceNotAsDescribedEvidence.IssuingDisputeServiceNotAsDescribedEvidence
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.IssuingDisputeServiceNotAsDescribedEvidence.IssuingDisputeServiceNotAsDescribedEvidence
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.IssuingDisputeServiceNotAsDescribedEvidence.IssuingDisputeServiceNotAsDescribedEvidenceAdditionalDocumentation'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.IssuingDisputeServiceNotAsDescribedEvidence.IssuingDisputeServiceNotAsDescribedEvidenceAdditionalDocumentation'Variants
-- | Contains the types generated from the schema
-- IssuingTransactionAmountDetails
module StripeAPI.Types.IssuingTransactionAmountDetails
-- | Defines the object schema located at
-- components.schemas.issuing_transaction_amount_details in the
-- specification.
data IssuingTransactionAmountDetails
IssuingTransactionAmountDetails :: Maybe Int -> IssuingTransactionAmountDetails
-- | atm_fee: The fee charged by the ATM for the cash withdrawal.
[issuingTransactionAmountDetailsAtmFee] :: IssuingTransactionAmountDetails -> Maybe Int
-- | Create a new IssuingTransactionAmountDetails with all required
-- fields.
mkIssuingTransactionAmountDetails :: IssuingTransactionAmountDetails
instance GHC.Classes.Eq StripeAPI.Types.IssuingTransactionAmountDetails.IssuingTransactionAmountDetails
instance GHC.Show.Show StripeAPI.Types.IssuingTransactionAmountDetails.IssuingTransactionAmountDetails
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.IssuingTransactionAmountDetails.IssuingTransactionAmountDetails
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.IssuingTransactionAmountDetails.IssuingTransactionAmountDetails
-- | Contains the types generated from the schema
-- IssuingTransactionFlightData
module StripeAPI.Types.IssuingTransactionFlightData
-- | Defines the object schema located at
-- components.schemas.issuing_transaction_flight_data in the
-- specification.
data IssuingTransactionFlightData
IssuingTransactionFlightData :: Maybe Int -> Maybe Text -> Maybe Bool -> Maybe [IssuingTransactionFlightDataLeg] -> Maybe Text -> IssuingTransactionFlightData
-- | departure_at: The time that the flight departed.
[issuingTransactionFlightDataDepartureAt] :: IssuingTransactionFlightData -> Maybe Int
-- | passenger_name: The name of the passenger.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[issuingTransactionFlightDataPassengerName] :: IssuingTransactionFlightData -> Maybe Text
-- | refundable: Whether the ticket is refundable.
[issuingTransactionFlightDataRefundable] :: IssuingTransactionFlightData -> Maybe Bool
-- | segments: The legs of the trip.
[issuingTransactionFlightDataSegments] :: IssuingTransactionFlightData -> Maybe [IssuingTransactionFlightDataLeg]
-- | travel_agency: The travel agency that issued the ticket.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[issuingTransactionFlightDataTravelAgency] :: IssuingTransactionFlightData -> Maybe Text
-- | Create a new IssuingTransactionFlightData with all required
-- fields.
mkIssuingTransactionFlightData :: IssuingTransactionFlightData
instance GHC.Classes.Eq StripeAPI.Types.IssuingTransactionFlightData.IssuingTransactionFlightData
instance GHC.Show.Show StripeAPI.Types.IssuingTransactionFlightData.IssuingTransactionFlightData
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.IssuingTransactionFlightData.IssuingTransactionFlightData
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.IssuingTransactionFlightData.IssuingTransactionFlightData
-- | Contains the types generated from the schema
-- IssuingTransactionFlightDataLeg
module StripeAPI.Types.IssuingTransactionFlightDataLeg
-- | Defines the object schema located at
-- components.schemas.issuing_transaction_flight_data_leg in the
-- specification.
data IssuingTransactionFlightDataLeg
IssuingTransactionFlightDataLeg :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Bool -> IssuingTransactionFlightDataLeg
-- | arrival_airport_code: The three-letter IATA airport code of the
-- flight's destination.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[issuingTransactionFlightDataLegArrivalAirportCode] :: IssuingTransactionFlightDataLeg -> Maybe Text
-- | carrier: The airline carrier code.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[issuingTransactionFlightDataLegCarrier] :: IssuingTransactionFlightDataLeg -> Maybe Text
-- | departure_airport_code: The three-letter IATA airport code that the
-- flight departed from.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[issuingTransactionFlightDataLegDepartureAirportCode] :: IssuingTransactionFlightDataLeg -> Maybe Text
-- | flight_number: The flight number.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[issuingTransactionFlightDataLegFlightNumber] :: IssuingTransactionFlightDataLeg -> Maybe Text
-- | service_class: The flight's service class.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[issuingTransactionFlightDataLegServiceClass] :: IssuingTransactionFlightDataLeg -> Maybe Text
-- | stopover_allowed: Whether a stopover is allowed on this flight.
[issuingTransactionFlightDataLegStopoverAllowed] :: IssuingTransactionFlightDataLeg -> Maybe Bool
-- | Create a new IssuingTransactionFlightDataLeg with all required
-- fields.
mkIssuingTransactionFlightDataLeg :: IssuingTransactionFlightDataLeg
instance GHC.Classes.Eq StripeAPI.Types.IssuingTransactionFlightDataLeg.IssuingTransactionFlightDataLeg
instance GHC.Show.Show StripeAPI.Types.IssuingTransactionFlightDataLeg.IssuingTransactionFlightDataLeg
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.IssuingTransactionFlightDataLeg.IssuingTransactionFlightDataLeg
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.IssuingTransactionFlightDataLeg.IssuingTransactionFlightDataLeg
-- | Contains the types generated from the schema
-- IssuingTransactionFuelData
module StripeAPI.Types.IssuingTransactionFuelData
-- | Defines the object schema located at
-- components.schemas.issuing_transaction_fuel_data in the
-- specification.
data IssuingTransactionFuelData
IssuingTransactionFuelData :: Text -> Text -> Text -> Maybe Text -> IssuingTransactionFuelData
-- | type: The type of fuel that was purchased. One of `diesel`,
-- `unleaded_plus`, `unleaded_regular`, `unleaded_super`, or `other`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[issuingTransactionFuelDataType] :: IssuingTransactionFuelData -> Text
-- | unit: The units for `volume_decimal`. One of `us_gallon` or `liter`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[issuingTransactionFuelDataUnit] :: IssuingTransactionFuelData -> Text
-- | unit_cost_decimal: The cost in cents per each unit of fuel,
-- represented as a decimal string with at most 12 decimal places.
[issuingTransactionFuelDataUnitCostDecimal] :: IssuingTransactionFuelData -> Text
-- | volume_decimal: The volume of the fuel that was pumped, represented as
-- a decimal string with at most 12 decimal places.
[issuingTransactionFuelDataVolumeDecimal] :: IssuingTransactionFuelData -> Maybe Text
-- | Create a new IssuingTransactionFuelData with all required
-- fields.
mkIssuingTransactionFuelData :: Text -> Text -> Text -> IssuingTransactionFuelData
instance GHC.Classes.Eq StripeAPI.Types.IssuingTransactionFuelData.IssuingTransactionFuelData
instance GHC.Show.Show StripeAPI.Types.IssuingTransactionFuelData.IssuingTransactionFuelData
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.IssuingTransactionFuelData.IssuingTransactionFuelData
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.IssuingTransactionFuelData.IssuingTransactionFuelData
-- | Contains the types generated from the schema
-- IssuingTransactionLodgingData
module StripeAPI.Types.IssuingTransactionLodgingData
-- | Defines the object schema located at
-- components.schemas.issuing_transaction_lodging_data in the
-- specification.
data IssuingTransactionLodgingData
IssuingTransactionLodgingData :: Maybe Int -> Maybe Int -> IssuingTransactionLodgingData
-- | check_in_at: The time of checking into the lodging.
[issuingTransactionLodgingDataCheckInAt] :: IssuingTransactionLodgingData -> Maybe Int
-- | nights: The number of nights stayed at the lodging.
[issuingTransactionLodgingDataNights] :: IssuingTransactionLodgingData -> Maybe Int
-- | Create a new IssuingTransactionLodgingData with all required
-- fields.
mkIssuingTransactionLodgingData :: IssuingTransactionLodgingData
instance GHC.Classes.Eq StripeAPI.Types.IssuingTransactionLodgingData.IssuingTransactionLodgingData
instance GHC.Show.Show StripeAPI.Types.IssuingTransactionLodgingData.IssuingTransactionLodgingData
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.IssuingTransactionLodgingData.IssuingTransactionLodgingData
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.IssuingTransactionLodgingData.IssuingTransactionLodgingData
-- | Contains the types generated from the schema
-- IssuingTransactionPurchaseDetails
module StripeAPI.Types.IssuingTransactionPurchaseDetails
-- | Defines the object schema located at
-- components.schemas.issuing_transaction_purchase_details in
-- the specification.
data IssuingTransactionPurchaseDetails
IssuingTransactionPurchaseDetails :: Maybe IssuingTransactionPurchaseDetailsFlight' -> Maybe IssuingTransactionPurchaseDetailsFuel' -> Maybe IssuingTransactionPurchaseDetailsLodging' -> Maybe [IssuingTransactionReceiptData] -> Maybe Text -> IssuingTransactionPurchaseDetails
-- | flight: Information about the flight that was purchased with this
-- transaction.
[issuingTransactionPurchaseDetailsFlight] :: IssuingTransactionPurchaseDetails -> Maybe IssuingTransactionPurchaseDetailsFlight'
-- | fuel: Information about fuel that was purchased with this transaction.
[issuingTransactionPurchaseDetailsFuel] :: IssuingTransactionPurchaseDetails -> Maybe IssuingTransactionPurchaseDetailsFuel'
-- | lodging: Information about lodging that was purchased with this
-- transaction.
[issuingTransactionPurchaseDetailsLodging] :: IssuingTransactionPurchaseDetails -> Maybe IssuingTransactionPurchaseDetailsLodging'
-- | receipt: The line items in the purchase.
[issuingTransactionPurchaseDetailsReceipt] :: IssuingTransactionPurchaseDetails -> Maybe [IssuingTransactionReceiptData]
-- | reference: A merchant-specific order number.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[issuingTransactionPurchaseDetailsReference] :: IssuingTransactionPurchaseDetails -> Maybe Text
-- | Create a new IssuingTransactionPurchaseDetails with all
-- required fields.
mkIssuingTransactionPurchaseDetails :: IssuingTransactionPurchaseDetails
-- | Defines the object schema located at
-- components.schemas.issuing_transaction_purchase_details.properties.flight.anyOf
-- in the specification.
--
-- Information about the flight that was purchased with this transaction.
data IssuingTransactionPurchaseDetailsFlight'
IssuingTransactionPurchaseDetailsFlight' :: Maybe Int -> Maybe Text -> Maybe Bool -> Maybe [IssuingTransactionFlightDataLeg] -> Maybe Text -> IssuingTransactionPurchaseDetailsFlight'
-- | departure_at: The time that the flight departed.
[issuingTransactionPurchaseDetailsFlight'DepartureAt] :: IssuingTransactionPurchaseDetailsFlight' -> Maybe Int
-- | passenger_name: The name of the passenger.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[issuingTransactionPurchaseDetailsFlight'PassengerName] :: IssuingTransactionPurchaseDetailsFlight' -> Maybe Text
-- | refundable: Whether the ticket is refundable.
[issuingTransactionPurchaseDetailsFlight'Refundable] :: IssuingTransactionPurchaseDetailsFlight' -> Maybe Bool
-- | segments: The legs of the trip.
[issuingTransactionPurchaseDetailsFlight'Segments] :: IssuingTransactionPurchaseDetailsFlight' -> Maybe [IssuingTransactionFlightDataLeg]
-- | travel_agency: The travel agency that issued the ticket.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[issuingTransactionPurchaseDetailsFlight'TravelAgency] :: IssuingTransactionPurchaseDetailsFlight' -> Maybe Text
-- | Create a new IssuingTransactionPurchaseDetailsFlight' with all
-- required fields.
mkIssuingTransactionPurchaseDetailsFlight' :: IssuingTransactionPurchaseDetailsFlight'
-- | Defines the object schema located at
-- components.schemas.issuing_transaction_purchase_details.properties.fuel.anyOf
-- in the specification.
--
-- Information about fuel that was purchased with this transaction.
data IssuingTransactionPurchaseDetailsFuel'
IssuingTransactionPurchaseDetailsFuel' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> IssuingTransactionPurchaseDetailsFuel'
-- | type: The type of fuel that was purchased. One of `diesel`,
-- `unleaded_plus`, `unleaded_regular`, `unleaded_super`, or `other`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[issuingTransactionPurchaseDetailsFuel'Type] :: IssuingTransactionPurchaseDetailsFuel' -> Maybe Text
-- | unit: The units for `volume_decimal`. One of `us_gallon` or `liter`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[issuingTransactionPurchaseDetailsFuel'Unit] :: IssuingTransactionPurchaseDetailsFuel' -> Maybe Text
-- | unit_cost_decimal: The cost in cents per each unit of fuel,
-- represented as a decimal string with at most 12 decimal places.
[issuingTransactionPurchaseDetailsFuel'UnitCostDecimal] :: IssuingTransactionPurchaseDetailsFuel' -> Maybe Text
-- | volume_decimal: The volume of the fuel that was pumped, represented as
-- a decimal string with at most 12 decimal places.
[issuingTransactionPurchaseDetailsFuel'VolumeDecimal] :: IssuingTransactionPurchaseDetailsFuel' -> Maybe Text
-- | Create a new IssuingTransactionPurchaseDetailsFuel' with all
-- required fields.
mkIssuingTransactionPurchaseDetailsFuel' :: IssuingTransactionPurchaseDetailsFuel'
-- | Defines the object schema located at
-- components.schemas.issuing_transaction_purchase_details.properties.lodging.anyOf
-- in the specification.
--
-- Information about lodging that was purchased with this transaction.
data IssuingTransactionPurchaseDetailsLodging'
IssuingTransactionPurchaseDetailsLodging' :: Maybe Int -> Maybe Int -> IssuingTransactionPurchaseDetailsLodging'
-- | check_in_at: The time of checking into the lodging.
[issuingTransactionPurchaseDetailsLodging'CheckInAt] :: IssuingTransactionPurchaseDetailsLodging' -> Maybe Int
-- | nights: The number of nights stayed at the lodging.
[issuingTransactionPurchaseDetailsLodging'Nights] :: IssuingTransactionPurchaseDetailsLodging' -> Maybe Int
-- | Create a new IssuingTransactionPurchaseDetailsLodging' with all
-- required fields.
mkIssuingTransactionPurchaseDetailsLodging' :: IssuingTransactionPurchaseDetailsLodging'
instance GHC.Classes.Eq StripeAPI.Types.IssuingTransactionPurchaseDetails.IssuingTransactionPurchaseDetailsFlight'
instance GHC.Show.Show StripeAPI.Types.IssuingTransactionPurchaseDetails.IssuingTransactionPurchaseDetailsFlight'
instance GHC.Classes.Eq StripeAPI.Types.IssuingTransactionPurchaseDetails.IssuingTransactionPurchaseDetailsFuel'
instance GHC.Show.Show StripeAPI.Types.IssuingTransactionPurchaseDetails.IssuingTransactionPurchaseDetailsFuel'
instance GHC.Classes.Eq StripeAPI.Types.IssuingTransactionPurchaseDetails.IssuingTransactionPurchaseDetailsLodging'
instance GHC.Show.Show StripeAPI.Types.IssuingTransactionPurchaseDetails.IssuingTransactionPurchaseDetailsLodging'
instance GHC.Classes.Eq StripeAPI.Types.IssuingTransactionPurchaseDetails.IssuingTransactionPurchaseDetails
instance GHC.Show.Show StripeAPI.Types.IssuingTransactionPurchaseDetails.IssuingTransactionPurchaseDetails
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.IssuingTransactionPurchaseDetails.IssuingTransactionPurchaseDetails
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.IssuingTransactionPurchaseDetails.IssuingTransactionPurchaseDetails
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.IssuingTransactionPurchaseDetails.IssuingTransactionPurchaseDetailsLodging'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.IssuingTransactionPurchaseDetails.IssuingTransactionPurchaseDetailsLodging'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.IssuingTransactionPurchaseDetails.IssuingTransactionPurchaseDetailsFuel'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.IssuingTransactionPurchaseDetails.IssuingTransactionPurchaseDetailsFuel'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.IssuingTransactionPurchaseDetails.IssuingTransactionPurchaseDetailsFlight'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.IssuingTransactionPurchaseDetails.IssuingTransactionPurchaseDetailsFlight'
-- | Contains the types generated from the schema
-- IssuingTransactionReceiptData
module StripeAPI.Types.IssuingTransactionReceiptData
-- | Defines the object schema located at
-- components.schemas.issuing_transaction_receipt_data in the
-- specification.
data IssuingTransactionReceiptData
IssuingTransactionReceiptData :: Maybe Text -> Maybe Double -> Maybe Int -> Maybe Int -> IssuingTransactionReceiptData
-- | description: The description of the item. The maximum length of this
-- field is 26 characters.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[issuingTransactionReceiptDataDescription] :: IssuingTransactionReceiptData -> Maybe Text
-- | quantity: The quantity of the item.
[issuingTransactionReceiptDataQuantity] :: IssuingTransactionReceiptData -> Maybe Double
-- | total: The total for this line item in cents.
[issuingTransactionReceiptDataTotal] :: IssuingTransactionReceiptData -> Maybe Int
-- | unit_cost: The unit cost of the item in cents.
[issuingTransactionReceiptDataUnitCost] :: IssuingTransactionReceiptData -> Maybe Int
-- | Create a new IssuingTransactionReceiptData with all required
-- fields.
mkIssuingTransactionReceiptData :: IssuingTransactionReceiptData
instance GHC.Classes.Eq StripeAPI.Types.IssuingTransactionReceiptData.IssuingTransactionReceiptData
instance GHC.Show.Show StripeAPI.Types.IssuingTransactionReceiptData.IssuingTransactionReceiptData
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.IssuingTransactionReceiptData.IssuingTransactionReceiptData
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.IssuingTransactionReceiptData.IssuingTransactionReceiptData
-- | Contains the types generated from the schema Issuing_Card
module StripeAPI.Types.Issuing_Card
-- | Defines the object schema located at
-- components.schemas.issuing.card in the specification.
--
-- You can create physical or virtual cards that are issued to
-- cardholders.
data Issuing'card
Issuing'card :: Text -> Maybe Issuing'cardCancellationReason' -> Issuing'cardholder -> Int -> Text -> Maybe Text -> Int -> Int -> Text -> Text -> Bool -> Object -> Maybe Text -> Maybe Issuing'cardReplacedBy'Variants -> Maybe Issuing'cardReplacementFor'Variants -> Maybe Issuing'cardReplacementReason' -> Maybe Issuing'cardShipping' -> IssuingCardAuthorizationControls -> Issuing'cardStatus' -> Issuing'cardType' -> Issuing'card
-- | brand: The brand of the card.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[issuing'cardBrand] :: Issuing'card -> Text
-- | cancellation_reason: The reason why the card was canceled.
[issuing'cardCancellationReason] :: Issuing'card -> Maybe Issuing'cardCancellationReason'
-- | cardholder: An Issuing `Cardholder` object represents an individual or
-- business entity who is issued cards.
--
-- Related guide: How to create a Cardholder
[issuing'cardCardholder] :: Issuing'card -> Issuing'cardholder
-- | created: Time at which the object was created. Measured in seconds
-- since the Unix epoch.
[issuing'cardCreated] :: Issuing'card -> Int
-- | currency: Three-letter ISO currency code, in lowercase. Must be
-- a supported currency.
[issuing'cardCurrency] :: Issuing'card -> Text
-- | cvc: The card's CVC. For security reasons, this is only available for
-- virtual cards, and will be omitted unless you explicitly request it
-- with the `expand` parameter. Additionally, it's only available
-- via the "Retrieve a card" endpoint, not via "List all cards" or
-- any other endpoint.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[issuing'cardCvc] :: Issuing'card -> Maybe Text
-- | exp_month: The expiration month of the card.
[issuing'cardExpMonth] :: Issuing'card -> Int
-- | exp_year: The expiration year of the card.
[issuing'cardExpYear] :: Issuing'card -> Int
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[issuing'cardId] :: Issuing'card -> Text
-- | last4: The last 4 digits of the card number.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[issuing'cardLast4] :: Issuing'card -> Text
-- | livemode: Has the value `true` if the object exists in live mode or
-- the value `false` if the object exists in test mode.
[issuing'cardLivemode] :: Issuing'card -> Bool
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format.
[issuing'cardMetadata] :: Issuing'card -> Object
-- | number: The full unredacted card number. For security reasons, this is
-- only available for virtual cards, and will be omitted unless you
-- explicitly request it with the `expand` parameter.
-- Additionally, it's only available via the "Retrieve a card"
-- endpoint, not via "List all cards" or any other endpoint.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[issuing'cardNumber] :: Issuing'card -> Maybe Text
-- | replaced_by: The latest card that replaces this card, if any.
[issuing'cardReplacedBy] :: Issuing'card -> Maybe Issuing'cardReplacedBy'Variants
-- | replacement_for: The card this card replaces, if any.
[issuing'cardReplacementFor] :: Issuing'card -> Maybe Issuing'cardReplacementFor'Variants
-- | replacement_reason: The reason why the previous card needed to be
-- replaced.
[issuing'cardReplacementReason] :: Issuing'card -> Maybe Issuing'cardReplacementReason'
-- | shipping: Where and how the card will be shipped.
[issuing'cardShipping] :: Issuing'card -> Maybe Issuing'cardShipping'
-- | spending_controls:
[issuing'cardSpendingControls] :: Issuing'card -> IssuingCardAuthorizationControls
-- | status: Whether authorizations can be approved on this card.
[issuing'cardStatus] :: Issuing'card -> Issuing'cardStatus'
-- | type: The type of the card.
[issuing'cardType] :: Issuing'card -> Issuing'cardType'
-- | Create a new Issuing'card with all required fields.
mkIssuing'card :: Text -> Issuing'cardholder -> Int -> Text -> Int -> Int -> Text -> Text -> Bool -> Object -> IssuingCardAuthorizationControls -> Issuing'cardStatus' -> Issuing'cardType' -> Issuing'card
-- | Defines the enum schema located at
-- components.schemas.issuing.card.properties.cancellation_reason
-- in the specification.
--
-- The reason why the card was canceled.
data Issuing'cardCancellationReason'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
Issuing'cardCancellationReason'Other :: Value -> Issuing'cardCancellationReason'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
Issuing'cardCancellationReason'Typed :: Text -> Issuing'cardCancellationReason'
-- | Represents the JSON value "lost"
Issuing'cardCancellationReason'EnumLost :: Issuing'cardCancellationReason'
-- | Represents the JSON value "stolen"
Issuing'cardCancellationReason'EnumStolen :: Issuing'cardCancellationReason'
-- | Defines the oneOf schema located at
-- components.schemas.issuing.card.properties.replaced_by.anyOf
-- in the specification.
--
-- The latest card that replaces this card, if any.
data Issuing'cardReplacedBy'Variants
Issuing'cardReplacedBy'Text :: Text -> Issuing'cardReplacedBy'Variants
Issuing'cardReplacedBy'Issuing'card :: Issuing'card -> Issuing'cardReplacedBy'Variants
-- | Defines the oneOf schema located at
-- components.schemas.issuing.card.properties.replacement_for.anyOf
-- in the specification.
--
-- The card this card replaces, if any.
data Issuing'cardReplacementFor'Variants
Issuing'cardReplacementFor'Text :: Text -> Issuing'cardReplacementFor'Variants
Issuing'cardReplacementFor'Issuing'card :: Issuing'card -> Issuing'cardReplacementFor'Variants
-- | Defines the enum schema located at
-- components.schemas.issuing.card.properties.replacement_reason
-- in the specification.
--
-- The reason why the previous card needed to be replaced.
data Issuing'cardReplacementReason'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
Issuing'cardReplacementReason'Other :: Value -> Issuing'cardReplacementReason'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
Issuing'cardReplacementReason'Typed :: Text -> Issuing'cardReplacementReason'
-- | Represents the JSON value "damaged"
Issuing'cardReplacementReason'EnumDamaged :: Issuing'cardReplacementReason'
-- | Represents the JSON value "expired"
Issuing'cardReplacementReason'EnumExpired :: Issuing'cardReplacementReason'
-- | Represents the JSON value "lost"
Issuing'cardReplacementReason'EnumLost :: Issuing'cardReplacementReason'
-- | Represents the JSON value "stolen"
Issuing'cardReplacementReason'EnumStolen :: Issuing'cardReplacementReason'
-- | Defines the object schema located at
-- components.schemas.issuing.card.properties.shipping.anyOf in
-- the specification.
--
-- Where and how the card will be shipped.
data Issuing'cardShipping'
Issuing'cardShipping' :: Maybe Address -> Maybe Issuing'cardShipping'Carrier' -> Maybe Int -> Maybe Text -> Maybe Issuing'cardShipping'Service' -> Maybe Issuing'cardShipping'Status' -> Maybe Text -> Maybe Text -> Maybe Issuing'cardShipping'Type' -> Issuing'cardShipping'
-- | address:
[issuing'cardShipping'Address] :: Issuing'cardShipping' -> Maybe Address
-- | carrier: The delivery company that shipped a card.
[issuing'cardShipping'Carrier] :: Issuing'cardShipping' -> Maybe Issuing'cardShipping'Carrier'
-- | eta: A unix timestamp representing a best estimate of when the card
-- will be delivered.
[issuing'cardShipping'Eta] :: Issuing'cardShipping' -> Maybe Int
-- | name: Recipient name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[issuing'cardShipping'Name] :: Issuing'cardShipping' -> Maybe Text
-- | service: Shipment service, such as `standard` or `express`.
[issuing'cardShipping'Service] :: Issuing'cardShipping' -> Maybe Issuing'cardShipping'Service'
-- | status: The delivery status of the card.
[issuing'cardShipping'Status] :: Issuing'cardShipping' -> Maybe Issuing'cardShipping'Status'
-- | tracking_number: A tracking number for a card shipment.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[issuing'cardShipping'TrackingNumber] :: Issuing'cardShipping' -> Maybe Text
-- | tracking_url: A link to the shipping carrier's site where you can view
-- detailed information about a card shipment.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[issuing'cardShipping'TrackingUrl] :: Issuing'cardShipping' -> Maybe Text
-- | type: Packaging options.
[issuing'cardShipping'Type] :: Issuing'cardShipping' -> Maybe Issuing'cardShipping'Type'
-- | Create a new Issuing'cardShipping' with all required fields.
mkIssuing'cardShipping' :: Issuing'cardShipping'
-- | Defines the enum schema located at
-- components.schemas.issuing.card.properties.shipping.anyOf.properties.carrier
-- in the specification.
--
-- The delivery company that shipped a card.
data Issuing'cardShipping'Carrier'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
Issuing'cardShipping'Carrier'Other :: Value -> Issuing'cardShipping'Carrier'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
Issuing'cardShipping'Carrier'Typed :: Text -> Issuing'cardShipping'Carrier'
-- | Represents the JSON value "dhl"
Issuing'cardShipping'Carrier'EnumDhl :: Issuing'cardShipping'Carrier'
-- | Represents the JSON value "fedex"
Issuing'cardShipping'Carrier'EnumFedex :: Issuing'cardShipping'Carrier'
-- | Represents the JSON value "royal_mail"
Issuing'cardShipping'Carrier'EnumRoyalMail :: Issuing'cardShipping'Carrier'
-- | Represents the JSON value "usps"
Issuing'cardShipping'Carrier'EnumUsps :: Issuing'cardShipping'Carrier'
-- | Defines the enum schema located at
-- components.schemas.issuing.card.properties.shipping.anyOf.properties.service
-- in the specification.
--
-- Shipment service, such as `standard` or `express`.
data Issuing'cardShipping'Service'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
Issuing'cardShipping'Service'Other :: Value -> Issuing'cardShipping'Service'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
Issuing'cardShipping'Service'Typed :: Text -> Issuing'cardShipping'Service'
-- | Represents the JSON value "express"
Issuing'cardShipping'Service'EnumExpress :: Issuing'cardShipping'Service'
-- | Represents the JSON value "priority"
Issuing'cardShipping'Service'EnumPriority :: Issuing'cardShipping'Service'
-- | Represents the JSON value "standard"
Issuing'cardShipping'Service'EnumStandard :: Issuing'cardShipping'Service'
-- | Defines the enum schema located at
-- components.schemas.issuing.card.properties.shipping.anyOf.properties.status
-- in the specification.
--
-- The delivery status of the card.
data Issuing'cardShipping'Status'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
Issuing'cardShipping'Status'Other :: Value -> Issuing'cardShipping'Status'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
Issuing'cardShipping'Status'Typed :: Text -> Issuing'cardShipping'Status'
-- | Represents the JSON value "canceled"
Issuing'cardShipping'Status'EnumCanceled :: Issuing'cardShipping'Status'
-- | Represents the JSON value "delivered"
Issuing'cardShipping'Status'EnumDelivered :: Issuing'cardShipping'Status'
-- | Represents the JSON value "failure"
Issuing'cardShipping'Status'EnumFailure :: Issuing'cardShipping'Status'
-- | Represents the JSON value "pending"
Issuing'cardShipping'Status'EnumPending :: Issuing'cardShipping'Status'
-- | Represents the JSON value "returned"
Issuing'cardShipping'Status'EnumReturned :: Issuing'cardShipping'Status'
-- | Represents the JSON value "shipped"
Issuing'cardShipping'Status'EnumShipped :: Issuing'cardShipping'Status'
-- | Defines the enum schema located at
-- components.schemas.issuing.card.properties.shipping.anyOf.properties.type
-- in the specification.
--
-- Packaging options.
data Issuing'cardShipping'Type'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
Issuing'cardShipping'Type'Other :: Value -> Issuing'cardShipping'Type'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
Issuing'cardShipping'Type'Typed :: Text -> Issuing'cardShipping'Type'
-- | Represents the JSON value "bulk"
Issuing'cardShipping'Type'EnumBulk :: Issuing'cardShipping'Type'
-- | Represents the JSON value "individual"
Issuing'cardShipping'Type'EnumIndividual :: Issuing'cardShipping'Type'
-- | Defines the enum schema located at
-- components.schemas.issuing.card.properties.status in the
-- specification.
--
-- Whether authorizations can be approved on this card.
data Issuing'cardStatus'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
Issuing'cardStatus'Other :: Value -> Issuing'cardStatus'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
Issuing'cardStatus'Typed :: Text -> Issuing'cardStatus'
-- | Represents the JSON value "active"
Issuing'cardStatus'EnumActive :: Issuing'cardStatus'
-- | Represents the JSON value "canceled"
Issuing'cardStatus'EnumCanceled :: Issuing'cardStatus'
-- | Represents the JSON value "inactive"
Issuing'cardStatus'EnumInactive :: Issuing'cardStatus'
-- | Defines the enum schema located at
-- components.schemas.issuing.card.properties.type in the
-- specification.
--
-- The type of the card.
data Issuing'cardType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
Issuing'cardType'Other :: Value -> Issuing'cardType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
Issuing'cardType'Typed :: Text -> Issuing'cardType'
-- | Represents the JSON value "physical"
Issuing'cardType'EnumPhysical :: Issuing'cardType'
-- | Represents the JSON value "virtual"
Issuing'cardType'EnumVirtual :: Issuing'cardType'
instance GHC.Classes.Eq StripeAPI.Types.Issuing_Card.Issuing'cardCancellationReason'
instance GHC.Show.Show StripeAPI.Types.Issuing_Card.Issuing'cardCancellationReason'
instance GHC.Classes.Eq StripeAPI.Types.Issuing_Card.Issuing'cardReplacementReason'
instance GHC.Show.Show StripeAPI.Types.Issuing_Card.Issuing'cardReplacementReason'
instance GHC.Classes.Eq StripeAPI.Types.Issuing_Card.Issuing'cardShipping'Carrier'
instance GHC.Show.Show StripeAPI.Types.Issuing_Card.Issuing'cardShipping'Carrier'
instance GHC.Classes.Eq StripeAPI.Types.Issuing_Card.Issuing'cardShipping'Service'
instance GHC.Show.Show StripeAPI.Types.Issuing_Card.Issuing'cardShipping'Service'
instance GHC.Classes.Eq StripeAPI.Types.Issuing_Card.Issuing'cardShipping'Status'
instance GHC.Show.Show StripeAPI.Types.Issuing_Card.Issuing'cardShipping'Status'
instance GHC.Classes.Eq StripeAPI.Types.Issuing_Card.Issuing'cardShipping'Type'
instance GHC.Show.Show StripeAPI.Types.Issuing_Card.Issuing'cardShipping'Type'
instance GHC.Classes.Eq StripeAPI.Types.Issuing_Card.Issuing'cardShipping'
instance GHC.Show.Show StripeAPI.Types.Issuing_Card.Issuing'cardShipping'
instance GHC.Classes.Eq StripeAPI.Types.Issuing_Card.Issuing'cardStatus'
instance GHC.Show.Show StripeAPI.Types.Issuing_Card.Issuing'cardStatus'
instance GHC.Classes.Eq StripeAPI.Types.Issuing_Card.Issuing'cardType'
instance GHC.Show.Show StripeAPI.Types.Issuing_Card.Issuing'cardType'
instance GHC.Classes.Eq StripeAPI.Types.Issuing_Card.Issuing'cardReplacedBy'Variants
instance GHC.Show.Show StripeAPI.Types.Issuing_Card.Issuing'cardReplacedBy'Variants
instance GHC.Classes.Eq StripeAPI.Types.Issuing_Card.Issuing'cardReplacementFor'Variants
instance GHC.Show.Show StripeAPI.Types.Issuing_Card.Issuing'cardReplacementFor'Variants
instance GHC.Classes.Eq StripeAPI.Types.Issuing_Card.Issuing'card
instance GHC.Show.Show StripeAPI.Types.Issuing_Card.Issuing'card
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Issuing_Card.Issuing'card
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Issuing_Card.Issuing'card
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Issuing_Card.Issuing'cardReplacedBy'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Issuing_Card.Issuing'cardReplacedBy'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Issuing_Card.Issuing'cardReplacementFor'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Issuing_Card.Issuing'cardReplacementFor'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Issuing_Card.Issuing'cardType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Issuing_Card.Issuing'cardType'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Issuing_Card.Issuing'cardStatus'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Issuing_Card.Issuing'cardStatus'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Issuing_Card.Issuing'cardShipping'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Issuing_Card.Issuing'cardShipping'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Issuing_Card.Issuing'cardShipping'Type'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Issuing_Card.Issuing'cardShipping'Type'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Issuing_Card.Issuing'cardShipping'Status'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Issuing_Card.Issuing'cardShipping'Status'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Issuing_Card.Issuing'cardShipping'Service'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Issuing_Card.Issuing'cardShipping'Service'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Issuing_Card.Issuing'cardShipping'Carrier'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Issuing_Card.Issuing'cardShipping'Carrier'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Issuing_Card.Issuing'cardReplacementReason'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Issuing_Card.Issuing'cardReplacementReason'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Issuing_Card.Issuing'cardCancellationReason'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Issuing_Card.Issuing'cardCancellationReason'
-- | Contains the types generated from the schema Issuing_Cardholder
module StripeAPI.Types.Issuing_Cardholder
-- | Defines the object schema located at
-- components.schemas.issuing.cardholder in the specification.
--
-- An Issuing `Cardholder` object represents an individual or business
-- entity who is issued cards.
--
-- Related guide: How to create a Cardholder
data Issuing'cardholder
Issuing'cardholder :: IssuingCardholderAddress -> Maybe Issuing'cardholderCompany' -> Int -> Maybe Text -> Text -> Maybe Issuing'cardholderIndividual' -> Bool -> Object -> Text -> Maybe Text -> IssuingCardholderRequirements -> Maybe Issuing'cardholderSpendingControls' -> Issuing'cardholderStatus' -> Issuing'cardholderType' -> Issuing'cardholder
-- | billing:
[issuing'cardholderBilling] :: Issuing'cardholder -> IssuingCardholderAddress
-- | company: Additional information about a `company` cardholder.
[issuing'cardholderCompany] :: Issuing'cardholder -> Maybe Issuing'cardholderCompany'
-- | created: Time at which the object was created. Measured in seconds
-- since the Unix epoch.
[issuing'cardholderCreated] :: Issuing'cardholder -> Int
-- | email: The cardholder's email address.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[issuing'cardholderEmail] :: Issuing'cardholder -> Maybe Text
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[issuing'cardholderId] :: Issuing'cardholder -> Text
-- | individual: Additional information about an `individual` cardholder.
[issuing'cardholderIndividual] :: Issuing'cardholder -> Maybe Issuing'cardholderIndividual'
-- | livemode: Has the value `true` if the object exists in live mode or
-- the value `false` if the object exists in test mode.
[issuing'cardholderLivemode] :: Issuing'cardholder -> Bool
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format.
[issuing'cardholderMetadata] :: Issuing'cardholder -> Object
-- | name: The cardholder's name. This will be printed on cards issued to
-- them.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[issuing'cardholderName] :: Issuing'cardholder -> Text
-- | phone_number: The cardholder's phone number.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[issuing'cardholderPhoneNumber] :: Issuing'cardholder -> Maybe Text
-- | requirements:
[issuing'cardholderRequirements] :: Issuing'cardholder -> IssuingCardholderRequirements
-- | spending_controls: Rules that control spending across this
-- cardholder's cards. Refer to our documentation for more
-- details.
[issuing'cardholderSpendingControls] :: Issuing'cardholder -> Maybe Issuing'cardholderSpendingControls'
-- | status: Specifies whether to permit authorizations on this
-- cardholder's cards.
[issuing'cardholderStatus] :: Issuing'cardholder -> Issuing'cardholderStatus'
-- | type: One of `individual` or `company`.
[issuing'cardholderType] :: Issuing'cardholder -> Issuing'cardholderType'
-- | Create a new Issuing'cardholder with all required fields.
mkIssuing'cardholder :: IssuingCardholderAddress -> Int -> Text -> Bool -> Object -> Text -> IssuingCardholderRequirements -> Issuing'cardholderStatus' -> Issuing'cardholderType' -> Issuing'cardholder
-- | Defines the object schema located at
-- components.schemas.issuing.cardholder.properties.company.anyOf
-- in the specification.
--
-- Additional information about a \`company\` cardholder.
data Issuing'cardholderCompany'
Issuing'cardholderCompany' :: Maybe Bool -> Issuing'cardholderCompany'
-- | tax_id_provided: Whether the company's business ID number was
-- provided.
[issuing'cardholderCompany'TaxIdProvided] :: Issuing'cardholderCompany' -> Maybe Bool
-- | Create a new Issuing'cardholderCompany' with all required
-- fields.
mkIssuing'cardholderCompany' :: Issuing'cardholderCompany'
-- | Defines the object schema located at
-- components.schemas.issuing.cardholder.properties.individual.anyOf
-- in the specification.
--
-- Additional information about an \`individual\` cardholder.
data Issuing'cardholderIndividual'
Issuing'cardholderIndividual' :: Maybe Issuing'cardholderIndividual'Dob' -> Maybe Text -> Maybe Text -> Maybe Issuing'cardholderIndividual'Verification' -> Issuing'cardholderIndividual'
-- | dob: The date of birth of this cardholder.
[issuing'cardholderIndividual'Dob] :: Issuing'cardholderIndividual' -> Maybe Issuing'cardholderIndividual'Dob'
-- | first_name: The first name of this cardholder.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[issuing'cardholderIndividual'FirstName] :: Issuing'cardholderIndividual' -> Maybe Text
-- | last_name: The last name of this cardholder.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[issuing'cardholderIndividual'LastName] :: Issuing'cardholderIndividual' -> Maybe Text
-- | verification: Government-issued ID document for this cardholder.
[issuing'cardholderIndividual'Verification] :: Issuing'cardholderIndividual' -> Maybe Issuing'cardholderIndividual'Verification'
-- | Create a new Issuing'cardholderIndividual' with all required
-- fields.
mkIssuing'cardholderIndividual' :: Issuing'cardholderIndividual'
-- | Defines the object schema located at
-- components.schemas.issuing.cardholder.properties.individual.anyOf.properties.dob.anyOf
-- in the specification.
--
-- The date of birth of this cardholder.
data Issuing'cardholderIndividual'Dob'
Issuing'cardholderIndividual'Dob' :: Maybe Int -> Maybe Int -> Maybe Int -> Issuing'cardholderIndividual'Dob'
-- | day: The day of birth, between 1 and 31.
[issuing'cardholderIndividual'Dob'Day] :: Issuing'cardholderIndividual'Dob' -> Maybe Int
-- | month: The month of birth, between 1 and 12.
[issuing'cardholderIndividual'Dob'Month] :: Issuing'cardholderIndividual'Dob' -> Maybe Int
-- | year: The four-digit year of birth.
[issuing'cardholderIndividual'Dob'Year] :: Issuing'cardholderIndividual'Dob' -> Maybe Int
-- | Create a new Issuing'cardholderIndividual'Dob' with all
-- required fields.
mkIssuing'cardholderIndividual'Dob' :: Issuing'cardholderIndividual'Dob'
-- | Defines the object schema located at
-- components.schemas.issuing.cardholder.properties.individual.anyOf.properties.verification.anyOf
-- in the specification.
--
-- Government-issued ID document for this cardholder.
data Issuing'cardholderIndividual'Verification'
Issuing'cardholderIndividual'Verification' :: Maybe Issuing'cardholderIndividual'Verification'Document' -> Issuing'cardholderIndividual'Verification'
-- | document: An identifying document, either a passport or local ID card.
[issuing'cardholderIndividual'Verification'Document] :: Issuing'cardholderIndividual'Verification' -> Maybe Issuing'cardholderIndividual'Verification'Document'
-- | Create a new Issuing'cardholderIndividual'Verification' with
-- all required fields.
mkIssuing'cardholderIndividual'Verification' :: Issuing'cardholderIndividual'Verification'
-- | Defines the object schema located at
-- components.schemas.issuing.cardholder.properties.individual.anyOf.properties.verification.anyOf.properties.document.anyOf
-- in the specification.
--
-- An identifying document, either a passport or local ID card.
data Issuing'cardholderIndividual'Verification'Document'
Issuing'cardholderIndividual'Verification'Document' :: Maybe Issuing'cardholderIndividual'Verification'Document'Back'Variants -> Maybe Issuing'cardholderIndividual'Verification'Document'Front'Variants -> Issuing'cardholderIndividual'Verification'Document'
-- | back: The back of a document returned by a file upload with a
-- `purpose` value of `identity_document`.
[issuing'cardholderIndividual'Verification'Document'Back] :: Issuing'cardholderIndividual'Verification'Document' -> Maybe Issuing'cardholderIndividual'Verification'Document'Back'Variants
-- | front: The front of a document returned by a file upload with a
-- `purpose` value of `identity_document`.
[issuing'cardholderIndividual'Verification'Document'Front] :: Issuing'cardholderIndividual'Verification'Document' -> Maybe Issuing'cardholderIndividual'Verification'Document'Front'Variants
-- | Create a new
-- Issuing'cardholderIndividual'Verification'Document' with all
-- required fields.
mkIssuing'cardholderIndividual'Verification'Document' :: Issuing'cardholderIndividual'Verification'Document'
-- | Defines the oneOf schema located at
-- components.schemas.issuing.cardholder.properties.individual.anyOf.properties.verification.anyOf.properties.document.anyOf.properties.back.anyOf
-- in the specification.
--
-- The back of a document returned by a file upload with a
-- `purpose` value of `identity_document`.
data Issuing'cardholderIndividual'Verification'Document'Back'Variants
Issuing'cardholderIndividual'Verification'Document'Back'Text :: Text -> Issuing'cardholderIndividual'Verification'Document'Back'Variants
Issuing'cardholderIndividual'Verification'Document'Back'File :: File -> Issuing'cardholderIndividual'Verification'Document'Back'Variants
-- | Defines the oneOf schema located at
-- components.schemas.issuing.cardholder.properties.individual.anyOf.properties.verification.anyOf.properties.document.anyOf.properties.front.anyOf
-- in the specification.
--
-- The front of a document returned by a file upload with a
-- `purpose` value of `identity_document`.
data Issuing'cardholderIndividual'Verification'Document'Front'Variants
Issuing'cardholderIndividual'Verification'Document'Front'Text :: Text -> Issuing'cardholderIndividual'Verification'Document'Front'Variants
Issuing'cardholderIndividual'Verification'Document'Front'File :: File -> Issuing'cardholderIndividual'Verification'Document'Front'Variants
-- | Defines the object schema located at
-- components.schemas.issuing.cardholder.properties.spending_controls.anyOf
-- in the specification.
--
-- Rules that control spending across this cardholder\'s cards. Refer to
-- our documentation for more details.
data Issuing'cardholderSpendingControls'
Issuing'cardholderSpendingControls' :: Maybe [Issuing'cardholderSpendingControls'AllowedCategories'] -> Maybe [Issuing'cardholderSpendingControls'BlockedCategories'] -> Maybe [IssuingCardholderSpendingLimit] -> Maybe Text -> Issuing'cardholderSpendingControls'
-- | allowed_categories: Array of strings containing categories of
-- authorizations to allow. All other categories will be blocked. Cannot
-- be set with `blocked_categories`.
[issuing'cardholderSpendingControls'AllowedCategories] :: Issuing'cardholderSpendingControls' -> Maybe [Issuing'cardholderSpendingControls'AllowedCategories']
-- | blocked_categories: Array of strings containing categories of
-- authorizations to decline. All other categories will be allowed.
-- Cannot be set with `allowed_categories`.
[issuing'cardholderSpendingControls'BlockedCategories] :: Issuing'cardholderSpendingControls' -> Maybe [Issuing'cardholderSpendingControls'BlockedCategories']
-- | spending_limits: Limit spending with amount-based rules that apply
-- across this cardholder's cards.
[issuing'cardholderSpendingControls'SpendingLimits] :: Issuing'cardholderSpendingControls' -> Maybe [IssuingCardholderSpendingLimit]
-- | spending_limits_currency: Currency of the amounts within
-- `spending_limits`.
[issuing'cardholderSpendingControls'SpendingLimitsCurrency] :: Issuing'cardholderSpendingControls' -> Maybe Text
-- | Create a new Issuing'cardholderSpendingControls' with all
-- required fields.
mkIssuing'cardholderSpendingControls' :: Issuing'cardholderSpendingControls'
-- | Defines the enum schema located at
-- components.schemas.issuing.cardholder.properties.spending_controls.anyOf.properties.allowed_categories.items
-- in the specification.
data Issuing'cardholderSpendingControls'AllowedCategories'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
Issuing'cardholderSpendingControls'AllowedCategories'Other :: Value -> Issuing'cardholderSpendingControls'AllowedCategories'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
Issuing'cardholderSpendingControls'AllowedCategories'Typed :: Text -> Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "ac_refrigeration_repair"
Issuing'cardholderSpendingControls'AllowedCategories'EnumAcRefrigerationRepair :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "accounting_bookkeeping_services"
Issuing'cardholderSpendingControls'AllowedCategories'EnumAccountingBookkeepingServices :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "advertising_services"
Issuing'cardholderSpendingControls'AllowedCategories'EnumAdvertisingServices :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "agricultural_cooperative"
Issuing'cardholderSpendingControls'AllowedCategories'EnumAgriculturalCooperative :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "airlines_air_carriers"
Issuing'cardholderSpendingControls'AllowedCategories'EnumAirlinesAirCarriers :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "airports_flying_fields"
Issuing'cardholderSpendingControls'AllowedCategories'EnumAirportsFlyingFields :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "ambulance_services"
Issuing'cardholderSpendingControls'AllowedCategories'EnumAmbulanceServices :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "amusement_parks_carnivals"
Issuing'cardholderSpendingControls'AllowedCategories'EnumAmusementParksCarnivals :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "antique_reproductions"
Issuing'cardholderSpendingControls'AllowedCategories'EnumAntiqueReproductions :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "antique_shops"
Issuing'cardholderSpendingControls'AllowedCategories'EnumAntiqueShops :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "aquariums"
Issuing'cardholderSpendingControls'AllowedCategories'EnumAquariums :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "architectural_surveying_services"
Issuing'cardholderSpendingControls'AllowedCategories'EnumArchitecturalSurveyingServices :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "art_dealers_and_galleries"
Issuing'cardholderSpendingControls'AllowedCategories'EnumArtDealersAndGalleries :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "artists_supply_and_craft_shops"
Issuing'cardholderSpendingControls'AllowedCategories'EnumArtistsSupplyAndCraftShops :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "auto_and_home_supply_stores"
Issuing'cardholderSpendingControls'AllowedCategories'EnumAutoAndHomeSupplyStores :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "auto_body_repair_shops"
Issuing'cardholderSpendingControls'AllowedCategories'EnumAutoBodyRepairShops :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "auto_paint_shops"
Issuing'cardholderSpendingControls'AllowedCategories'EnumAutoPaintShops :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "auto_service_shops"
Issuing'cardholderSpendingControls'AllowedCategories'EnumAutoServiceShops :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "automated_cash_disburse"
Issuing'cardholderSpendingControls'AllowedCategories'EnumAutomatedCashDisburse :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "automated_fuel_dispensers"
Issuing'cardholderSpendingControls'AllowedCategories'EnumAutomatedFuelDispensers :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "automobile_associations"
Issuing'cardholderSpendingControls'AllowedCategories'EnumAutomobileAssociations :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "automotive_parts_and_accessories_stores"
Issuing'cardholderSpendingControls'AllowedCategories'EnumAutomotivePartsAndAccessoriesStores :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "automotive_tire_stores"
Issuing'cardholderSpendingControls'AllowedCategories'EnumAutomotiveTireStores :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "bail_and_bond_payments"
Issuing'cardholderSpendingControls'AllowedCategories'EnumBailAndBondPayments :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "bakeries"
Issuing'cardholderSpendingControls'AllowedCategories'EnumBakeries :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "bands_orchestras"
Issuing'cardholderSpendingControls'AllowedCategories'EnumBandsOrchestras :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "barber_and_beauty_shops"
Issuing'cardholderSpendingControls'AllowedCategories'EnumBarberAndBeautyShops :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "betting_casino_gambling"
Issuing'cardholderSpendingControls'AllowedCategories'EnumBettingCasinoGambling :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "bicycle_shops"
Issuing'cardholderSpendingControls'AllowedCategories'EnumBicycleShops :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "billiard_pool_establishments"
Issuing'cardholderSpendingControls'AllowedCategories'EnumBilliardPoolEstablishments :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "boat_dealers"
Issuing'cardholderSpendingControls'AllowedCategories'EnumBoatDealers :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "boat_rentals_and_leases"
Issuing'cardholderSpendingControls'AllowedCategories'EnumBoatRentalsAndLeases :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "book_stores"
Issuing'cardholderSpendingControls'AllowedCategories'EnumBookStores :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "books_periodicals_and_newspapers"
Issuing'cardholderSpendingControls'AllowedCategories'EnumBooksPeriodicalsAndNewspapers :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "bowling_alleys"
Issuing'cardholderSpendingControls'AllowedCategories'EnumBowlingAlleys :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "bus_lines"
Issuing'cardholderSpendingControls'AllowedCategories'EnumBusLines :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "business_secretarial_schools"
Issuing'cardholderSpendingControls'AllowedCategories'EnumBusinessSecretarialSchools :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "buying_shopping_services"
Issuing'cardholderSpendingControls'AllowedCategories'EnumBuyingShoppingServices :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "cable_satellite_and_other_pay_television_and_radio"
Issuing'cardholderSpendingControls'AllowedCategories'EnumCableSatelliteAndOtherPayTelevisionAndRadio :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "camera_and_photographic_supply_stores"
Issuing'cardholderSpendingControls'AllowedCategories'EnumCameraAndPhotographicSupplyStores :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "candy_nut_and_confectionery_stores"
Issuing'cardholderSpendingControls'AllowedCategories'EnumCandyNutAndConfectioneryStores :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "car_and_truck_dealers_new_used"
Issuing'cardholderSpendingControls'AllowedCategories'EnumCarAndTruckDealersNewUsed :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "car_and_truck_dealers_used_only"
Issuing'cardholderSpendingControls'AllowedCategories'EnumCarAndTruckDealersUsedOnly :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "car_rental_agencies"
Issuing'cardholderSpendingControls'AllowedCategories'EnumCarRentalAgencies :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "car_washes"
Issuing'cardholderSpendingControls'AllowedCategories'EnumCarWashes :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "carpentry_services"
Issuing'cardholderSpendingControls'AllowedCategories'EnumCarpentryServices :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "carpet_upholstery_cleaning"
Issuing'cardholderSpendingControls'AllowedCategories'EnumCarpetUpholsteryCleaning :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "caterers"
Issuing'cardholderSpendingControls'AllowedCategories'EnumCaterers :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "charitable_and_social_service_organizations_fundraising"
Issuing'cardholderSpendingControls'AllowedCategories'EnumCharitableAndSocialServiceOrganizationsFundraising :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "chemicals_and_allied_products"
Issuing'cardholderSpendingControls'AllowedCategories'EnumChemicalsAndAlliedProducts :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "child_care_services"
Issuing'cardholderSpendingControls'AllowedCategories'EnumChildCareServices :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "childrens_and_infants_wear_stores"
Issuing'cardholderSpendingControls'AllowedCategories'EnumChildrensAndInfantsWearStores :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "chiropodists_podiatrists"
Issuing'cardholderSpendingControls'AllowedCategories'EnumChiropodistsPodiatrists :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "chiropractors"
Issuing'cardholderSpendingControls'AllowedCategories'EnumChiropractors :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "cigar_stores_and_stands"
Issuing'cardholderSpendingControls'AllowedCategories'EnumCigarStoresAndStands :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "civic_social_fraternal_associations"
Issuing'cardholderSpendingControls'AllowedCategories'EnumCivicSocialFraternalAssociations :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "cleaning_and_maintenance"
Issuing'cardholderSpendingControls'AllowedCategories'EnumCleaningAndMaintenance :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "clothing_rental"
Issuing'cardholderSpendingControls'AllowedCategories'EnumClothingRental :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "colleges_universities"
Issuing'cardholderSpendingControls'AllowedCategories'EnumCollegesUniversities :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "commercial_equipment"
Issuing'cardholderSpendingControls'AllowedCategories'EnumCommercialEquipment :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "commercial_footwear"
Issuing'cardholderSpendingControls'AllowedCategories'EnumCommercialFootwear :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "commercial_photography_art_and_graphics"
Issuing'cardholderSpendingControls'AllowedCategories'EnumCommercialPhotographyArtAndGraphics :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "commuter_transport_and_ferries"
Issuing'cardholderSpendingControls'AllowedCategories'EnumCommuterTransportAndFerries :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "computer_network_services"
Issuing'cardholderSpendingControls'AllowedCategories'EnumComputerNetworkServices :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "computer_programming"
Issuing'cardholderSpendingControls'AllowedCategories'EnumComputerProgramming :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "computer_repair"
Issuing'cardholderSpendingControls'AllowedCategories'EnumComputerRepair :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "computer_software_stores"
Issuing'cardholderSpendingControls'AllowedCategories'EnumComputerSoftwareStores :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "computers_peripherals_and_software"
Issuing'cardholderSpendingControls'AllowedCategories'EnumComputersPeripheralsAndSoftware :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "concrete_work_services"
Issuing'cardholderSpendingControls'AllowedCategories'EnumConcreteWorkServices :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "construction_materials"
Issuing'cardholderSpendingControls'AllowedCategories'EnumConstructionMaterials :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "consulting_public_relations"
Issuing'cardholderSpendingControls'AllowedCategories'EnumConsultingPublicRelations :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "correspondence_schools"
Issuing'cardholderSpendingControls'AllowedCategories'EnumCorrespondenceSchools :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "cosmetic_stores"
Issuing'cardholderSpendingControls'AllowedCategories'EnumCosmeticStores :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "counseling_services"
Issuing'cardholderSpendingControls'AllowedCategories'EnumCounselingServices :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "country_clubs"
Issuing'cardholderSpendingControls'AllowedCategories'EnumCountryClubs :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "courier_services"
Issuing'cardholderSpendingControls'AllowedCategories'EnumCourierServices :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "court_costs"
Issuing'cardholderSpendingControls'AllowedCategories'EnumCourtCosts :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "credit_reporting_agencies"
Issuing'cardholderSpendingControls'AllowedCategories'EnumCreditReportingAgencies :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "cruise_lines"
Issuing'cardholderSpendingControls'AllowedCategories'EnumCruiseLines :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "dairy_products_stores"
Issuing'cardholderSpendingControls'AllowedCategories'EnumDairyProductsStores :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "dance_hall_studios_schools"
Issuing'cardholderSpendingControls'AllowedCategories'EnumDanceHallStudiosSchools :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "dating_escort_services"
Issuing'cardholderSpendingControls'AllowedCategories'EnumDatingEscortServices :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "dentists_orthodontists"
Issuing'cardholderSpendingControls'AllowedCategories'EnumDentistsOrthodontists :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "department_stores"
Issuing'cardholderSpendingControls'AllowedCategories'EnumDepartmentStores :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "detective_agencies"
Issuing'cardholderSpendingControls'AllowedCategories'EnumDetectiveAgencies :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "digital_goods_applications"
Issuing'cardholderSpendingControls'AllowedCategories'EnumDigitalGoodsApplications :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "digital_goods_games"
Issuing'cardholderSpendingControls'AllowedCategories'EnumDigitalGoodsGames :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "digital_goods_large_volume"
Issuing'cardholderSpendingControls'AllowedCategories'EnumDigitalGoodsLargeVolume :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "digital_goods_media"
Issuing'cardholderSpendingControls'AllowedCategories'EnumDigitalGoodsMedia :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "direct_marketing_catalog_merchant"
Issuing'cardholderSpendingControls'AllowedCategories'EnumDirectMarketingCatalogMerchant :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "direct_marketing_combination_catalog_and_retail_merchant"
Issuing'cardholderSpendingControls'AllowedCategories'EnumDirectMarketingCombinationCatalogAndRetailMerchant :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "direct_marketing_inbound_telemarketing"
Issuing'cardholderSpendingControls'AllowedCategories'EnumDirectMarketingInboundTelemarketing :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "direct_marketing_insurance_services"
Issuing'cardholderSpendingControls'AllowedCategories'EnumDirectMarketingInsuranceServices :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "direct_marketing_other"
Issuing'cardholderSpendingControls'AllowedCategories'EnumDirectMarketingOther :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "direct_marketing_outbound_telemarketing"
Issuing'cardholderSpendingControls'AllowedCategories'EnumDirectMarketingOutboundTelemarketing :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "direct_marketing_subscription"
Issuing'cardholderSpendingControls'AllowedCategories'EnumDirectMarketingSubscription :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "direct_marketing_travel"
Issuing'cardholderSpendingControls'AllowedCategories'EnumDirectMarketingTravel :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "discount_stores"
Issuing'cardholderSpendingControls'AllowedCategories'EnumDiscountStores :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "doctors"
Issuing'cardholderSpendingControls'AllowedCategories'EnumDoctors :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "door_to_door_sales"
Issuing'cardholderSpendingControls'AllowedCategories'EnumDoorToDoorSales :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "drapery_window_covering_and_upholstery_stores"
Issuing'cardholderSpendingControls'AllowedCategories'EnumDraperyWindowCoveringAndUpholsteryStores :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "drinking_places"
Issuing'cardholderSpendingControls'AllowedCategories'EnumDrinkingPlaces :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "drug_stores_and_pharmacies"
Issuing'cardholderSpendingControls'AllowedCategories'EnumDrugStoresAndPharmacies :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "drugs_drug_proprietaries_and_druggist_sundries"
Issuing'cardholderSpendingControls'AllowedCategories'EnumDrugsDrugProprietariesAndDruggistSundries :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "dry_cleaners"
Issuing'cardholderSpendingControls'AllowedCategories'EnumDryCleaners :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "durable_goods"
Issuing'cardholderSpendingControls'AllowedCategories'EnumDurableGoods :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "duty_free_stores"
Issuing'cardholderSpendingControls'AllowedCategories'EnumDutyFreeStores :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "eating_places_restaurants"
Issuing'cardholderSpendingControls'AllowedCategories'EnumEatingPlacesRestaurants :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "educational_services"
Issuing'cardholderSpendingControls'AllowedCategories'EnumEducationalServices :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "electric_razor_stores"
Issuing'cardholderSpendingControls'AllowedCategories'EnumElectricRazorStores :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "electrical_parts_and_equipment"
Issuing'cardholderSpendingControls'AllowedCategories'EnumElectricalPartsAndEquipment :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "electrical_services"
Issuing'cardholderSpendingControls'AllowedCategories'EnumElectricalServices :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "electronics_repair_shops"
Issuing'cardholderSpendingControls'AllowedCategories'EnumElectronicsRepairShops :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "electronics_stores"
Issuing'cardholderSpendingControls'AllowedCategories'EnumElectronicsStores :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "elementary_secondary_schools"
Issuing'cardholderSpendingControls'AllowedCategories'EnumElementarySecondarySchools :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "employment_temp_agencies"
Issuing'cardholderSpendingControls'AllowedCategories'EnumEmploymentTempAgencies :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "equipment_rental"
Issuing'cardholderSpendingControls'AllowedCategories'EnumEquipmentRental :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "exterminating_services"
Issuing'cardholderSpendingControls'AllowedCategories'EnumExterminatingServices :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "family_clothing_stores"
Issuing'cardholderSpendingControls'AllowedCategories'EnumFamilyClothingStores :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "fast_food_restaurants"
Issuing'cardholderSpendingControls'AllowedCategories'EnumFastFoodRestaurants :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "financial_institutions"
Issuing'cardholderSpendingControls'AllowedCategories'EnumFinancialInstitutions :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "fines_government_administrative_entities"
Issuing'cardholderSpendingControls'AllowedCategories'EnumFinesGovernmentAdministrativeEntities :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "fireplace_fireplace_screens_and_accessories_stores"
Issuing'cardholderSpendingControls'AllowedCategories'EnumFireplaceFireplaceScreensAndAccessoriesStores :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "floor_covering_stores"
Issuing'cardholderSpendingControls'AllowedCategories'EnumFloorCoveringStores :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "florists"
Issuing'cardholderSpendingControls'AllowedCategories'EnumFlorists :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "florists_supplies_nursery_stock_and_flowers"
Issuing'cardholderSpendingControls'AllowedCategories'EnumFloristsSuppliesNurseryStockAndFlowers :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "freezer_and_locker_meat_provisioners"
Issuing'cardholderSpendingControls'AllowedCategories'EnumFreezerAndLockerMeatProvisioners :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "fuel_dealers_non_automotive"
Issuing'cardholderSpendingControls'AllowedCategories'EnumFuelDealersNonAutomotive :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "funeral_services_crematories"
Issuing'cardholderSpendingControls'AllowedCategories'EnumFuneralServicesCrematories :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "furniture_home_furnishings_and_equipment_stores_except_appliances"
Issuing'cardholderSpendingControls'AllowedCategories'EnumFurnitureHomeFurnishingsAndEquipmentStoresExceptAppliances :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "furniture_repair_refinishing"
Issuing'cardholderSpendingControls'AllowedCategories'EnumFurnitureRepairRefinishing :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "furriers_and_fur_shops"
Issuing'cardholderSpendingControls'AllowedCategories'EnumFurriersAndFurShops :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "general_services"
Issuing'cardholderSpendingControls'AllowedCategories'EnumGeneralServices :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "gift_card_novelty_and_souvenir_shops"
Issuing'cardholderSpendingControls'AllowedCategories'EnumGiftCardNoveltyAndSouvenirShops :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "glass_paint_and_wallpaper_stores"
Issuing'cardholderSpendingControls'AllowedCategories'EnumGlassPaintAndWallpaperStores :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "glassware_crystal_stores"
Issuing'cardholderSpendingControls'AllowedCategories'EnumGlasswareCrystalStores :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "golf_courses_public"
Issuing'cardholderSpendingControls'AllowedCategories'EnumGolfCoursesPublic :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "government_services"
Issuing'cardholderSpendingControls'AllowedCategories'EnumGovernmentServices :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "grocery_stores_supermarkets"
Issuing'cardholderSpendingControls'AllowedCategories'EnumGroceryStoresSupermarkets :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "hardware_equipment_and_supplies"
Issuing'cardholderSpendingControls'AllowedCategories'EnumHardwareEquipmentAndSupplies :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "hardware_stores"
Issuing'cardholderSpendingControls'AllowedCategories'EnumHardwareStores :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "health_and_beauty_spas"
Issuing'cardholderSpendingControls'AllowedCategories'EnumHealthAndBeautySpas :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "hearing_aids_sales_and_supplies"
Issuing'cardholderSpendingControls'AllowedCategories'EnumHearingAidsSalesAndSupplies :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "heating_plumbing_a_c"
Issuing'cardholderSpendingControls'AllowedCategories'EnumHeatingPlumbingAC :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "hobby_toy_and_game_shops"
Issuing'cardholderSpendingControls'AllowedCategories'EnumHobbyToyAndGameShops :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "home_supply_warehouse_stores"
Issuing'cardholderSpendingControls'AllowedCategories'EnumHomeSupplyWarehouseStores :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "hospitals"
Issuing'cardholderSpendingControls'AllowedCategories'EnumHospitals :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "hotels_motels_and_resorts"
Issuing'cardholderSpendingControls'AllowedCategories'EnumHotelsMotelsAndResorts :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "household_appliance_stores"
Issuing'cardholderSpendingControls'AllowedCategories'EnumHouseholdApplianceStores :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "industrial_supplies"
Issuing'cardholderSpendingControls'AllowedCategories'EnumIndustrialSupplies :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "information_retrieval_services"
Issuing'cardholderSpendingControls'AllowedCategories'EnumInformationRetrievalServices :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "insurance_default"
Issuing'cardholderSpendingControls'AllowedCategories'EnumInsuranceDefault :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "insurance_underwriting_premiums"
Issuing'cardholderSpendingControls'AllowedCategories'EnumInsuranceUnderwritingPremiums :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "intra_company_purchases"
Issuing'cardholderSpendingControls'AllowedCategories'EnumIntraCompanyPurchases :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "jewelry_stores_watches_clocks_and_silverware_stores"
Issuing'cardholderSpendingControls'AllowedCategories'EnumJewelryStoresWatchesClocksAndSilverwareStores :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "landscaping_services"
Issuing'cardholderSpendingControls'AllowedCategories'EnumLandscapingServices :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "laundries"
Issuing'cardholderSpendingControls'AllowedCategories'EnumLaundries :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "laundry_cleaning_services"
Issuing'cardholderSpendingControls'AllowedCategories'EnumLaundryCleaningServices :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "legal_services_attorneys"
Issuing'cardholderSpendingControls'AllowedCategories'EnumLegalServicesAttorneys :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "luggage_and_leather_goods_stores"
Issuing'cardholderSpendingControls'AllowedCategories'EnumLuggageAndLeatherGoodsStores :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "lumber_building_materials_stores"
Issuing'cardholderSpendingControls'AllowedCategories'EnumLumberBuildingMaterialsStores :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "manual_cash_disburse"
Issuing'cardholderSpendingControls'AllowedCategories'EnumManualCashDisburse :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "marinas_service_and_supplies"
Issuing'cardholderSpendingControls'AllowedCategories'EnumMarinasServiceAndSupplies :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "masonry_stonework_and_plaster"
Issuing'cardholderSpendingControls'AllowedCategories'EnumMasonryStoneworkAndPlaster :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "massage_parlors"
Issuing'cardholderSpendingControls'AllowedCategories'EnumMassageParlors :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "medical_and_dental_labs"
Issuing'cardholderSpendingControls'AllowedCategories'EnumMedicalAndDentalLabs :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "medical_dental_ophthalmic_and_hospital_equipment_and_supplies"
Issuing'cardholderSpendingControls'AllowedCategories'EnumMedicalDentalOphthalmicAndHospitalEquipmentAndSupplies :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "medical_services"
Issuing'cardholderSpendingControls'AllowedCategories'EnumMedicalServices :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "membership_organizations"
Issuing'cardholderSpendingControls'AllowedCategories'EnumMembershipOrganizations :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "mens_and_boys_clothing_and_accessories_stores"
Issuing'cardholderSpendingControls'AllowedCategories'EnumMensAndBoysClothingAndAccessoriesStores :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "mens_womens_clothing_stores"
Issuing'cardholderSpendingControls'AllowedCategories'EnumMensWomensClothingStores :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "metal_service_centers"
Issuing'cardholderSpendingControls'AllowedCategories'EnumMetalServiceCenters :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "miscellaneous"
Issuing'cardholderSpendingControls'AllowedCategories'EnumMiscellaneous :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "miscellaneous_apparel_and_accessory_shops"
Issuing'cardholderSpendingControls'AllowedCategories'EnumMiscellaneousApparelAndAccessoryShops :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "miscellaneous_auto_dealers"
Issuing'cardholderSpendingControls'AllowedCategories'EnumMiscellaneousAutoDealers :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "miscellaneous_business_services"
Issuing'cardholderSpendingControls'AllowedCategories'EnumMiscellaneousBusinessServices :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "miscellaneous_food_stores"
Issuing'cardholderSpendingControls'AllowedCategories'EnumMiscellaneousFoodStores :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "miscellaneous_general_merchandise"
Issuing'cardholderSpendingControls'AllowedCategories'EnumMiscellaneousGeneralMerchandise :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "miscellaneous_general_services"
Issuing'cardholderSpendingControls'AllowedCategories'EnumMiscellaneousGeneralServices :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "miscellaneous_home_furnishing_specialty_stores"
Issuing'cardholderSpendingControls'AllowedCategories'EnumMiscellaneousHomeFurnishingSpecialtyStores :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "miscellaneous_publishing_and_printing"
Issuing'cardholderSpendingControls'AllowedCategories'EnumMiscellaneousPublishingAndPrinting :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "miscellaneous_recreation_services"
Issuing'cardholderSpendingControls'AllowedCategories'EnumMiscellaneousRecreationServices :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "miscellaneous_repair_shops"
Issuing'cardholderSpendingControls'AllowedCategories'EnumMiscellaneousRepairShops :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "miscellaneous_specialty_retail"
Issuing'cardholderSpendingControls'AllowedCategories'EnumMiscellaneousSpecialtyRetail :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "mobile_home_dealers"
Issuing'cardholderSpendingControls'AllowedCategories'EnumMobileHomeDealers :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "motion_picture_theaters"
Issuing'cardholderSpendingControls'AllowedCategories'EnumMotionPictureTheaters :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "motor_freight_carriers_and_trucking"
Issuing'cardholderSpendingControls'AllowedCategories'EnumMotorFreightCarriersAndTrucking :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "motor_homes_dealers"
Issuing'cardholderSpendingControls'AllowedCategories'EnumMotorHomesDealers :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "motor_vehicle_supplies_and_new_parts"
Issuing'cardholderSpendingControls'AllowedCategories'EnumMotorVehicleSuppliesAndNewParts :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "motorcycle_shops_and_dealers"
Issuing'cardholderSpendingControls'AllowedCategories'EnumMotorcycleShopsAndDealers :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "motorcycle_shops_dealers"
Issuing'cardholderSpendingControls'AllowedCategories'EnumMotorcycleShopsDealers :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "music_stores_musical_instruments_pianos_and_sheet_music"
Issuing'cardholderSpendingControls'AllowedCategories'EnumMusicStoresMusicalInstrumentsPianosAndSheetMusic :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "news_dealers_and_newsstands"
Issuing'cardholderSpendingControls'AllowedCategories'EnumNewsDealersAndNewsstands :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "non_fi_money_orders"
Issuing'cardholderSpendingControls'AllowedCategories'EnumNonFiMoneyOrders :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "non_fi_stored_value_card_purchase_load"
Issuing'cardholderSpendingControls'AllowedCategories'EnumNonFiStoredValueCardPurchaseLoad :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "nondurable_goods"
Issuing'cardholderSpendingControls'AllowedCategories'EnumNondurableGoods :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "nurseries_lawn_and_garden_supply_stores"
Issuing'cardholderSpendingControls'AllowedCategories'EnumNurseriesLawnAndGardenSupplyStores :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "nursing_personal_care"
Issuing'cardholderSpendingControls'AllowedCategories'EnumNursingPersonalCare :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "office_and_commercial_furniture"
Issuing'cardholderSpendingControls'AllowedCategories'EnumOfficeAndCommercialFurniture :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "opticians_eyeglasses"
Issuing'cardholderSpendingControls'AllowedCategories'EnumOpticiansEyeglasses :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "optometrists_ophthalmologist"
Issuing'cardholderSpendingControls'AllowedCategories'EnumOptometristsOphthalmologist :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "orthopedic_goods_prosthetic_devices"
Issuing'cardholderSpendingControls'AllowedCategories'EnumOrthopedicGoodsProstheticDevices :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "osteopaths"
Issuing'cardholderSpendingControls'AllowedCategories'EnumOsteopaths :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "package_stores_beer_wine_and_liquor"
Issuing'cardholderSpendingControls'AllowedCategories'EnumPackageStoresBeerWineAndLiquor :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "paints_varnishes_and_supplies"
Issuing'cardholderSpendingControls'AllowedCategories'EnumPaintsVarnishesAndSupplies :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "parking_lots_garages"
Issuing'cardholderSpendingControls'AllowedCategories'EnumParkingLotsGarages :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "passenger_railways"
Issuing'cardholderSpendingControls'AllowedCategories'EnumPassengerRailways :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "pawn_shops"
Issuing'cardholderSpendingControls'AllowedCategories'EnumPawnShops :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "pet_shops_pet_food_and_supplies"
Issuing'cardholderSpendingControls'AllowedCategories'EnumPetShopsPetFoodAndSupplies :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "petroleum_and_petroleum_products"
Issuing'cardholderSpendingControls'AllowedCategories'EnumPetroleumAndPetroleumProducts :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "photo_developing"
Issuing'cardholderSpendingControls'AllowedCategories'EnumPhotoDeveloping :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "photographic_photocopy_microfilm_equipment_and_supplies"
Issuing'cardholderSpendingControls'AllowedCategories'EnumPhotographicPhotocopyMicrofilmEquipmentAndSupplies :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "photographic_studios"
Issuing'cardholderSpendingControls'AllowedCategories'EnumPhotographicStudios :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "picture_video_production"
Issuing'cardholderSpendingControls'AllowedCategories'EnumPictureVideoProduction :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "piece_goods_notions_and_other_dry_goods"
Issuing'cardholderSpendingControls'AllowedCategories'EnumPieceGoodsNotionsAndOtherDryGoods :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "plumbing_heating_equipment_and_supplies"
Issuing'cardholderSpendingControls'AllowedCategories'EnumPlumbingHeatingEquipmentAndSupplies :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "political_organizations"
Issuing'cardholderSpendingControls'AllowedCategories'EnumPoliticalOrganizations :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "postal_services_government_only"
Issuing'cardholderSpendingControls'AllowedCategories'EnumPostalServicesGovernmentOnly :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "precious_stones_and_metals_watches_and_jewelry"
Issuing'cardholderSpendingControls'AllowedCategories'EnumPreciousStonesAndMetalsWatchesAndJewelry :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "professional_services"
Issuing'cardholderSpendingControls'AllowedCategories'EnumProfessionalServices :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "public_warehousing_and_storage"
Issuing'cardholderSpendingControls'AllowedCategories'EnumPublicWarehousingAndStorage :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "quick_copy_repro_and_blueprint"
Issuing'cardholderSpendingControls'AllowedCategories'EnumQuickCopyReproAndBlueprint :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "railroads"
Issuing'cardholderSpendingControls'AllowedCategories'EnumRailroads :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "real_estate_agents_and_managers_rentals"
Issuing'cardholderSpendingControls'AllowedCategories'EnumRealEstateAgentsAndManagersRentals :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "record_stores"
Issuing'cardholderSpendingControls'AllowedCategories'EnumRecordStores :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "recreational_vehicle_rentals"
Issuing'cardholderSpendingControls'AllowedCategories'EnumRecreationalVehicleRentals :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "religious_goods_stores"
Issuing'cardholderSpendingControls'AllowedCategories'EnumReligiousGoodsStores :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "religious_organizations"
Issuing'cardholderSpendingControls'AllowedCategories'EnumReligiousOrganizations :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "roofing_siding_sheet_metal"
Issuing'cardholderSpendingControls'AllowedCategories'EnumRoofingSidingSheetMetal :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "secretarial_support_services"
Issuing'cardholderSpendingControls'AllowedCategories'EnumSecretarialSupportServices :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "security_brokers_dealers"
Issuing'cardholderSpendingControls'AllowedCategories'EnumSecurityBrokersDealers :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "service_stations"
Issuing'cardholderSpendingControls'AllowedCategories'EnumServiceStations :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "sewing_needlework_fabric_and_piece_goods_stores"
Issuing'cardholderSpendingControls'AllowedCategories'EnumSewingNeedleworkFabricAndPieceGoodsStores :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "shoe_repair_hat_cleaning"
Issuing'cardholderSpendingControls'AllowedCategories'EnumShoeRepairHatCleaning :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "shoe_stores"
Issuing'cardholderSpendingControls'AllowedCategories'EnumShoeStores :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "small_appliance_repair"
Issuing'cardholderSpendingControls'AllowedCategories'EnumSmallApplianceRepair :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "snowmobile_dealers"
Issuing'cardholderSpendingControls'AllowedCategories'EnumSnowmobileDealers :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "special_trade_services"
Issuing'cardholderSpendingControls'AllowedCategories'EnumSpecialTradeServices :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "specialty_cleaning"
Issuing'cardholderSpendingControls'AllowedCategories'EnumSpecialtyCleaning :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "sporting_goods_stores"
Issuing'cardholderSpendingControls'AllowedCategories'EnumSportingGoodsStores :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "sporting_recreation_camps"
Issuing'cardholderSpendingControls'AllowedCategories'EnumSportingRecreationCamps :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "sports_and_riding_apparel_stores"
Issuing'cardholderSpendingControls'AllowedCategories'EnumSportsAndRidingApparelStores :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "sports_clubs_fields"
Issuing'cardholderSpendingControls'AllowedCategories'EnumSportsClubsFields :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "stamp_and_coin_stores"
Issuing'cardholderSpendingControls'AllowedCategories'EnumStampAndCoinStores :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "stationary_office_supplies_printing_and_writing_paper"
Issuing'cardholderSpendingControls'AllowedCategories'EnumStationaryOfficeSuppliesPrintingAndWritingPaper :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "stationery_stores_office_and_school_supply_stores"
Issuing'cardholderSpendingControls'AllowedCategories'EnumStationeryStoresOfficeAndSchoolSupplyStores :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "swimming_pools_sales"
Issuing'cardholderSpendingControls'AllowedCategories'EnumSwimmingPoolsSales :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "t_ui_travel_germany"
Issuing'cardholderSpendingControls'AllowedCategories'EnumTUiTravelGermany :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "tailors_alterations"
Issuing'cardholderSpendingControls'AllowedCategories'EnumTailorsAlterations :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "tax_payments_government_agencies"
Issuing'cardholderSpendingControls'AllowedCategories'EnumTaxPaymentsGovernmentAgencies :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "tax_preparation_services"
Issuing'cardholderSpendingControls'AllowedCategories'EnumTaxPreparationServices :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "taxicabs_limousines"
Issuing'cardholderSpendingControls'AllowedCategories'EnumTaxicabsLimousines :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "telecommunication_equipment_and_telephone_sales"
Issuing'cardholderSpendingControls'AllowedCategories'EnumTelecommunicationEquipmentAndTelephoneSales :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "telecommunication_services"
Issuing'cardholderSpendingControls'AllowedCategories'EnumTelecommunicationServices :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "telegraph_services"
Issuing'cardholderSpendingControls'AllowedCategories'EnumTelegraphServices :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "tent_and_awning_shops"
Issuing'cardholderSpendingControls'AllowedCategories'EnumTentAndAwningShops :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "testing_laboratories"
Issuing'cardholderSpendingControls'AllowedCategories'EnumTestingLaboratories :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "theatrical_ticket_agencies"
Issuing'cardholderSpendingControls'AllowedCategories'EnumTheatricalTicketAgencies :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "timeshares"
Issuing'cardholderSpendingControls'AllowedCategories'EnumTimeshares :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "tire_retreading_and_repair"
Issuing'cardholderSpendingControls'AllowedCategories'EnumTireRetreadingAndRepair :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "tolls_bridge_fees"
Issuing'cardholderSpendingControls'AllowedCategories'EnumTollsBridgeFees :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "tourist_attractions_and_exhibits"
Issuing'cardholderSpendingControls'AllowedCategories'EnumTouristAttractionsAndExhibits :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "towing_services"
Issuing'cardholderSpendingControls'AllowedCategories'EnumTowingServices :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "trailer_parks_campgrounds"
Issuing'cardholderSpendingControls'AllowedCategories'EnumTrailerParksCampgrounds :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "transportation_services"
Issuing'cardholderSpendingControls'AllowedCategories'EnumTransportationServices :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "travel_agencies_tour_operators"
Issuing'cardholderSpendingControls'AllowedCategories'EnumTravelAgenciesTourOperators :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "truck_stop_iteration"
Issuing'cardholderSpendingControls'AllowedCategories'EnumTruckStopIteration :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "truck_utility_trailer_rentals"
Issuing'cardholderSpendingControls'AllowedCategories'EnumTruckUtilityTrailerRentals :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "typesetting_plate_making_and_related_services"
Issuing'cardholderSpendingControls'AllowedCategories'EnumTypesettingPlateMakingAndRelatedServices :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "typewriter_stores"
Issuing'cardholderSpendingControls'AllowedCategories'EnumTypewriterStores :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "u_s_federal_government_agencies_or_departments"
Issuing'cardholderSpendingControls'AllowedCategories'EnumUSFederalGovernmentAgenciesOrDepartments :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "uniforms_commercial_clothing"
Issuing'cardholderSpendingControls'AllowedCategories'EnumUniformsCommercialClothing :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "used_merchandise_and_secondhand_stores"
Issuing'cardholderSpendingControls'AllowedCategories'EnumUsedMerchandiseAndSecondhandStores :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "utilities"
Issuing'cardholderSpendingControls'AllowedCategories'EnumUtilities :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "variety_stores"
Issuing'cardholderSpendingControls'AllowedCategories'EnumVarietyStores :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "veterinary_services"
Issuing'cardholderSpendingControls'AllowedCategories'EnumVeterinaryServices :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "video_amusement_game_supplies"
Issuing'cardholderSpendingControls'AllowedCategories'EnumVideoAmusementGameSupplies :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "video_game_arcades"
Issuing'cardholderSpendingControls'AllowedCategories'EnumVideoGameArcades :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "video_tape_rental_stores"
Issuing'cardholderSpendingControls'AllowedCategories'EnumVideoTapeRentalStores :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "vocational_trade_schools"
Issuing'cardholderSpendingControls'AllowedCategories'EnumVocationalTradeSchools :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "watch_jewelry_repair"
Issuing'cardholderSpendingControls'AllowedCategories'EnumWatchJewelryRepair :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "welding_repair"
Issuing'cardholderSpendingControls'AllowedCategories'EnumWeldingRepair :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "wholesale_clubs"
Issuing'cardholderSpendingControls'AllowedCategories'EnumWholesaleClubs :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "wig_and_toupee_stores"
Issuing'cardholderSpendingControls'AllowedCategories'EnumWigAndToupeeStores :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "wires_money_orders"
Issuing'cardholderSpendingControls'AllowedCategories'EnumWiresMoneyOrders :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "womens_accessory_and_specialty_shops"
Issuing'cardholderSpendingControls'AllowedCategories'EnumWomensAccessoryAndSpecialtyShops :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "womens_ready_to_wear_stores"
Issuing'cardholderSpendingControls'AllowedCategories'EnumWomensReadyToWearStores :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Represents the JSON value "wrecking_and_salvage_yards"
Issuing'cardholderSpendingControls'AllowedCategories'EnumWreckingAndSalvageYards :: Issuing'cardholderSpendingControls'AllowedCategories'
-- | Defines the enum schema located at
-- components.schemas.issuing.cardholder.properties.spending_controls.anyOf.properties.blocked_categories.items
-- in the specification.
data Issuing'cardholderSpendingControls'BlockedCategories'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
Issuing'cardholderSpendingControls'BlockedCategories'Other :: Value -> Issuing'cardholderSpendingControls'BlockedCategories'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
Issuing'cardholderSpendingControls'BlockedCategories'Typed :: Text -> Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "ac_refrigeration_repair"
Issuing'cardholderSpendingControls'BlockedCategories'EnumAcRefrigerationRepair :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "accounting_bookkeeping_services"
Issuing'cardholderSpendingControls'BlockedCategories'EnumAccountingBookkeepingServices :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "advertising_services"
Issuing'cardholderSpendingControls'BlockedCategories'EnumAdvertisingServices :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "agricultural_cooperative"
Issuing'cardholderSpendingControls'BlockedCategories'EnumAgriculturalCooperative :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "airlines_air_carriers"
Issuing'cardholderSpendingControls'BlockedCategories'EnumAirlinesAirCarriers :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "airports_flying_fields"
Issuing'cardholderSpendingControls'BlockedCategories'EnumAirportsFlyingFields :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "ambulance_services"
Issuing'cardholderSpendingControls'BlockedCategories'EnumAmbulanceServices :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "amusement_parks_carnivals"
Issuing'cardholderSpendingControls'BlockedCategories'EnumAmusementParksCarnivals :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "antique_reproductions"
Issuing'cardholderSpendingControls'BlockedCategories'EnumAntiqueReproductions :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "antique_shops"
Issuing'cardholderSpendingControls'BlockedCategories'EnumAntiqueShops :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "aquariums"
Issuing'cardholderSpendingControls'BlockedCategories'EnumAquariums :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "architectural_surveying_services"
Issuing'cardholderSpendingControls'BlockedCategories'EnumArchitecturalSurveyingServices :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "art_dealers_and_galleries"
Issuing'cardholderSpendingControls'BlockedCategories'EnumArtDealersAndGalleries :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "artists_supply_and_craft_shops"
Issuing'cardholderSpendingControls'BlockedCategories'EnumArtistsSupplyAndCraftShops :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "auto_and_home_supply_stores"
Issuing'cardholderSpendingControls'BlockedCategories'EnumAutoAndHomeSupplyStores :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "auto_body_repair_shops"
Issuing'cardholderSpendingControls'BlockedCategories'EnumAutoBodyRepairShops :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "auto_paint_shops"
Issuing'cardholderSpendingControls'BlockedCategories'EnumAutoPaintShops :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "auto_service_shops"
Issuing'cardholderSpendingControls'BlockedCategories'EnumAutoServiceShops :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "automated_cash_disburse"
Issuing'cardholderSpendingControls'BlockedCategories'EnumAutomatedCashDisburse :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "automated_fuel_dispensers"
Issuing'cardholderSpendingControls'BlockedCategories'EnumAutomatedFuelDispensers :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "automobile_associations"
Issuing'cardholderSpendingControls'BlockedCategories'EnumAutomobileAssociations :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "automotive_parts_and_accessories_stores"
Issuing'cardholderSpendingControls'BlockedCategories'EnumAutomotivePartsAndAccessoriesStores :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "automotive_tire_stores"
Issuing'cardholderSpendingControls'BlockedCategories'EnumAutomotiveTireStores :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "bail_and_bond_payments"
Issuing'cardholderSpendingControls'BlockedCategories'EnumBailAndBondPayments :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "bakeries"
Issuing'cardholderSpendingControls'BlockedCategories'EnumBakeries :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "bands_orchestras"
Issuing'cardholderSpendingControls'BlockedCategories'EnumBandsOrchestras :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "barber_and_beauty_shops"
Issuing'cardholderSpendingControls'BlockedCategories'EnumBarberAndBeautyShops :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "betting_casino_gambling"
Issuing'cardholderSpendingControls'BlockedCategories'EnumBettingCasinoGambling :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "bicycle_shops"
Issuing'cardholderSpendingControls'BlockedCategories'EnumBicycleShops :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "billiard_pool_establishments"
Issuing'cardholderSpendingControls'BlockedCategories'EnumBilliardPoolEstablishments :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "boat_dealers"
Issuing'cardholderSpendingControls'BlockedCategories'EnumBoatDealers :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "boat_rentals_and_leases"
Issuing'cardholderSpendingControls'BlockedCategories'EnumBoatRentalsAndLeases :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "book_stores"
Issuing'cardholderSpendingControls'BlockedCategories'EnumBookStores :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "books_periodicals_and_newspapers"
Issuing'cardholderSpendingControls'BlockedCategories'EnumBooksPeriodicalsAndNewspapers :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "bowling_alleys"
Issuing'cardholderSpendingControls'BlockedCategories'EnumBowlingAlleys :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "bus_lines"
Issuing'cardholderSpendingControls'BlockedCategories'EnumBusLines :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "business_secretarial_schools"
Issuing'cardholderSpendingControls'BlockedCategories'EnumBusinessSecretarialSchools :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "buying_shopping_services"
Issuing'cardholderSpendingControls'BlockedCategories'EnumBuyingShoppingServices :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "cable_satellite_and_other_pay_television_and_radio"
Issuing'cardholderSpendingControls'BlockedCategories'EnumCableSatelliteAndOtherPayTelevisionAndRadio :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "camera_and_photographic_supply_stores"
Issuing'cardholderSpendingControls'BlockedCategories'EnumCameraAndPhotographicSupplyStores :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "candy_nut_and_confectionery_stores"
Issuing'cardholderSpendingControls'BlockedCategories'EnumCandyNutAndConfectioneryStores :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "car_and_truck_dealers_new_used"
Issuing'cardholderSpendingControls'BlockedCategories'EnumCarAndTruckDealersNewUsed :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "car_and_truck_dealers_used_only"
Issuing'cardholderSpendingControls'BlockedCategories'EnumCarAndTruckDealersUsedOnly :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "car_rental_agencies"
Issuing'cardholderSpendingControls'BlockedCategories'EnumCarRentalAgencies :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "car_washes"
Issuing'cardholderSpendingControls'BlockedCategories'EnumCarWashes :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "carpentry_services"
Issuing'cardholderSpendingControls'BlockedCategories'EnumCarpentryServices :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "carpet_upholstery_cleaning"
Issuing'cardholderSpendingControls'BlockedCategories'EnumCarpetUpholsteryCleaning :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "caterers"
Issuing'cardholderSpendingControls'BlockedCategories'EnumCaterers :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "charitable_and_social_service_organizations_fundraising"
Issuing'cardholderSpendingControls'BlockedCategories'EnumCharitableAndSocialServiceOrganizationsFundraising :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "chemicals_and_allied_products"
Issuing'cardholderSpendingControls'BlockedCategories'EnumChemicalsAndAlliedProducts :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "child_care_services"
Issuing'cardholderSpendingControls'BlockedCategories'EnumChildCareServices :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "childrens_and_infants_wear_stores"
Issuing'cardholderSpendingControls'BlockedCategories'EnumChildrensAndInfantsWearStores :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "chiropodists_podiatrists"
Issuing'cardholderSpendingControls'BlockedCategories'EnumChiropodistsPodiatrists :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "chiropractors"
Issuing'cardholderSpendingControls'BlockedCategories'EnumChiropractors :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "cigar_stores_and_stands"
Issuing'cardholderSpendingControls'BlockedCategories'EnumCigarStoresAndStands :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "civic_social_fraternal_associations"
Issuing'cardholderSpendingControls'BlockedCategories'EnumCivicSocialFraternalAssociations :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "cleaning_and_maintenance"
Issuing'cardholderSpendingControls'BlockedCategories'EnumCleaningAndMaintenance :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "clothing_rental"
Issuing'cardholderSpendingControls'BlockedCategories'EnumClothingRental :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "colleges_universities"
Issuing'cardholderSpendingControls'BlockedCategories'EnumCollegesUniversities :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "commercial_equipment"
Issuing'cardholderSpendingControls'BlockedCategories'EnumCommercialEquipment :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "commercial_footwear"
Issuing'cardholderSpendingControls'BlockedCategories'EnumCommercialFootwear :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "commercial_photography_art_and_graphics"
Issuing'cardholderSpendingControls'BlockedCategories'EnumCommercialPhotographyArtAndGraphics :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "commuter_transport_and_ferries"
Issuing'cardholderSpendingControls'BlockedCategories'EnumCommuterTransportAndFerries :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "computer_network_services"
Issuing'cardholderSpendingControls'BlockedCategories'EnumComputerNetworkServices :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "computer_programming"
Issuing'cardholderSpendingControls'BlockedCategories'EnumComputerProgramming :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "computer_repair"
Issuing'cardholderSpendingControls'BlockedCategories'EnumComputerRepair :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "computer_software_stores"
Issuing'cardholderSpendingControls'BlockedCategories'EnumComputerSoftwareStores :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "computers_peripherals_and_software"
Issuing'cardholderSpendingControls'BlockedCategories'EnumComputersPeripheralsAndSoftware :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "concrete_work_services"
Issuing'cardholderSpendingControls'BlockedCategories'EnumConcreteWorkServices :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "construction_materials"
Issuing'cardholderSpendingControls'BlockedCategories'EnumConstructionMaterials :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "consulting_public_relations"
Issuing'cardholderSpendingControls'BlockedCategories'EnumConsultingPublicRelations :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "correspondence_schools"
Issuing'cardholderSpendingControls'BlockedCategories'EnumCorrespondenceSchools :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "cosmetic_stores"
Issuing'cardholderSpendingControls'BlockedCategories'EnumCosmeticStores :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "counseling_services"
Issuing'cardholderSpendingControls'BlockedCategories'EnumCounselingServices :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "country_clubs"
Issuing'cardholderSpendingControls'BlockedCategories'EnumCountryClubs :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "courier_services"
Issuing'cardholderSpendingControls'BlockedCategories'EnumCourierServices :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "court_costs"
Issuing'cardholderSpendingControls'BlockedCategories'EnumCourtCosts :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "credit_reporting_agencies"
Issuing'cardholderSpendingControls'BlockedCategories'EnumCreditReportingAgencies :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "cruise_lines"
Issuing'cardholderSpendingControls'BlockedCategories'EnumCruiseLines :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "dairy_products_stores"
Issuing'cardholderSpendingControls'BlockedCategories'EnumDairyProductsStores :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "dance_hall_studios_schools"
Issuing'cardholderSpendingControls'BlockedCategories'EnumDanceHallStudiosSchools :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "dating_escort_services"
Issuing'cardholderSpendingControls'BlockedCategories'EnumDatingEscortServices :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "dentists_orthodontists"
Issuing'cardholderSpendingControls'BlockedCategories'EnumDentistsOrthodontists :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "department_stores"
Issuing'cardholderSpendingControls'BlockedCategories'EnumDepartmentStores :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "detective_agencies"
Issuing'cardholderSpendingControls'BlockedCategories'EnumDetectiveAgencies :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "digital_goods_applications"
Issuing'cardholderSpendingControls'BlockedCategories'EnumDigitalGoodsApplications :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "digital_goods_games"
Issuing'cardholderSpendingControls'BlockedCategories'EnumDigitalGoodsGames :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "digital_goods_large_volume"
Issuing'cardholderSpendingControls'BlockedCategories'EnumDigitalGoodsLargeVolume :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "digital_goods_media"
Issuing'cardholderSpendingControls'BlockedCategories'EnumDigitalGoodsMedia :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "direct_marketing_catalog_merchant"
Issuing'cardholderSpendingControls'BlockedCategories'EnumDirectMarketingCatalogMerchant :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "direct_marketing_combination_catalog_and_retail_merchant"
Issuing'cardholderSpendingControls'BlockedCategories'EnumDirectMarketingCombinationCatalogAndRetailMerchant :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "direct_marketing_inbound_telemarketing"
Issuing'cardholderSpendingControls'BlockedCategories'EnumDirectMarketingInboundTelemarketing :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "direct_marketing_insurance_services"
Issuing'cardholderSpendingControls'BlockedCategories'EnumDirectMarketingInsuranceServices :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "direct_marketing_other"
Issuing'cardholderSpendingControls'BlockedCategories'EnumDirectMarketingOther :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "direct_marketing_outbound_telemarketing"
Issuing'cardholderSpendingControls'BlockedCategories'EnumDirectMarketingOutboundTelemarketing :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "direct_marketing_subscription"
Issuing'cardholderSpendingControls'BlockedCategories'EnumDirectMarketingSubscription :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "direct_marketing_travel"
Issuing'cardholderSpendingControls'BlockedCategories'EnumDirectMarketingTravel :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "discount_stores"
Issuing'cardholderSpendingControls'BlockedCategories'EnumDiscountStores :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "doctors"
Issuing'cardholderSpendingControls'BlockedCategories'EnumDoctors :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "door_to_door_sales"
Issuing'cardholderSpendingControls'BlockedCategories'EnumDoorToDoorSales :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "drapery_window_covering_and_upholstery_stores"
Issuing'cardholderSpendingControls'BlockedCategories'EnumDraperyWindowCoveringAndUpholsteryStores :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "drinking_places"
Issuing'cardholderSpendingControls'BlockedCategories'EnumDrinkingPlaces :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "drug_stores_and_pharmacies"
Issuing'cardholderSpendingControls'BlockedCategories'EnumDrugStoresAndPharmacies :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "drugs_drug_proprietaries_and_druggist_sundries"
Issuing'cardholderSpendingControls'BlockedCategories'EnumDrugsDrugProprietariesAndDruggistSundries :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "dry_cleaners"
Issuing'cardholderSpendingControls'BlockedCategories'EnumDryCleaners :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "durable_goods"
Issuing'cardholderSpendingControls'BlockedCategories'EnumDurableGoods :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "duty_free_stores"
Issuing'cardholderSpendingControls'BlockedCategories'EnumDutyFreeStores :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "eating_places_restaurants"
Issuing'cardholderSpendingControls'BlockedCategories'EnumEatingPlacesRestaurants :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "educational_services"
Issuing'cardholderSpendingControls'BlockedCategories'EnumEducationalServices :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "electric_razor_stores"
Issuing'cardholderSpendingControls'BlockedCategories'EnumElectricRazorStores :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "electrical_parts_and_equipment"
Issuing'cardholderSpendingControls'BlockedCategories'EnumElectricalPartsAndEquipment :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "electrical_services"
Issuing'cardholderSpendingControls'BlockedCategories'EnumElectricalServices :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "electronics_repair_shops"
Issuing'cardholderSpendingControls'BlockedCategories'EnumElectronicsRepairShops :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "electronics_stores"
Issuing'cardholderSpendingControls'BlockedCategories'EnumElectronicsStores :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "elementary_secondary_schools"
Issuing'cardholderSpendingControls'BlockedCategories'EnumElementarySecondarySchools :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "employment_temp_agencies"
Issuing'cardholderSpendingControls'BlockedCategories'EnumEmploymentTempAgencies :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "equipment_rental"
Issuing'cardholderSpendingControls'BlockedCategories'EnumEquipmentRental :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "exterminating_services"
Issuing'cardholderSpendingControls'BlockedCategories'EnumExterminatingServices :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "family_clothing_stores"
Issuing'cardholderSpendingControls'BlockedCategories'EnumFamilyClothingStores :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "fast_food_restaurants"
Issuing'cardholderSpendingControls'BlockedCategories'EnumFastFoodRestaurants :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "financial_institutions"
Issuing'cardholderSpendingControls'BlockedCategories'EnumFinancialInstitutions :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "fines_government_administrative_entities"
Issuing'cardholderSpendingControls'BlockedCategories'EnumFinesGovernmentAdministrativeEntities :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "fireplace_fireplace_screens_and_accessories_stores"
Issuing'cardholderSpendingControls'BlockedCategories'EnumFireplaceFireplaceScreensAndAccessoriesStores :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "floor_covering_stores"
Issuing'cardholderSpendingControls'BlockedCategories'EnumFloorCoveringStores :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "florists"
Issuing'cardholderSpendingControls'BlockedCategories'EnumFlorists :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "florists_supplies_nursery_stock_and_flowers"
Issuing'cardholderSpendingControls'BlockedCategories'EnumFloristsSuppliesNurseryStockAndFlowers :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "freezer_and_locker_meat_provisioners"
Issuing'cardholderSpendingControls'BlockedCategories'EnumFreezerAndLockerMeatProvisioners :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "fuel_dealers_non_automotive"
Issuing'cardholderSpendingControls'BlockedCategories'EnumFuelDealersNonAutomotive :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "funeral_services_crematories"
Issuing'cardholderSpendingControls'BlockedCategories'EnumFuneralServicesCrematories :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "furniture_home_furnishings_and_equipment_stores_except_appliances"
Issuing'cardholderSpendingControls'BlockedCategories'EnumFurnitureHomeFurnishingsAndEquipmentStoresExceptAppliances :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "furniture_repair_refinishing"
Issuing'cardholderSpendingControls'BlockedCategories'EnumFurnitureRepairRefinishing :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "furriers_and_fur_shops"
Issuing'cardholderSpendingControls'BlockedCategories'EnumFurriersAndFurShops :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "general_services"
Issuing'cardholderSpendingControls'BlockedCategories'EnumGeneralServices :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "gift_card_novelty_and_souvenir_shops"
Issuing'cardholderSpendingControls'BlockedCategories'EnumGiftCardNoveltyAndSouvenirShops :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "glass_paint_and_wallpaper_stores"
Issuing'cardholderSpendingControls'BlockedCategories'EnumGlassPaintAndWallpaperStores :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "glassware_crystal_stores"
Issuing'cardholderSpendingControls'BlockedCategories'EnumGlasswareCrystalStores :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "golf_courses_public"
Issuing'cardholderSpendingControls'BlockedCategories'EnumGolfCoursesPublic :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "government_services"
Issuing'cardholderSpendingControls'BlockedCategories'EnumGovernmentServices :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "grocery_stores_supermarkets"
Issuing'cardholderSpendingControls'BlockedCategories'EnumGroceryStoresSupermarkets :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "hardware_equipment_and_supplies"
Issuing'cardholderSpendingControls'BlockedCategories'EnumHardwareEquipmentAndSupplies :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "hardware_stores"
Issuing'cardholderSpendingControls'BlockedCategories'EnumHardwareStores :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "health_and_beauty_spas"
Issuing'cardholderSpendingControls'BlockedCategories'EnumHealthAndBeautySpas :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "hearing_aids_sales_and_supplies"
Issuing'cardholderSpendingControls'BlockedCategories'EnumHearingAidsSalesAndSupplies :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "heating_plumbing_a_c"
Issuing'cardholderSpendingControls'BlockedCategories'EnumHeatingPlumbingAC :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "hobby_toy_and_game_shops"
Issuing'cardholderSpendingControls'BlockedCategories'EnumHobbyToyAndGameShops :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "home_supply_warehouse_stores"
Issuing'cardholderSpendingControls'BlockedCategories'EnumHomeSupplyWarehouseStores :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "hospitals"
Issuing'cardholderSpendingControls'BlockedCategories'EnumHospitals :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "hotels_motels_and_resorts"
Issuing'cardholderSpendingControls'BlockedCategories'EnumHotelsMotelsAndResorts :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "household_appliance_stores"
Issuing'cardholderSpendingControls'BlockedCategories'EnumHouseholdApplianceStores :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "industrial_supplies"
Issuing'cardholderSpendingControls'BlockedCategories'EnumIndustrialSupplies :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "information_retrieval_services"
Issuing'cardholderSpendingControls'BlockedCategories'EnumInformationRetrievalServices :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "insurance_default"
Issuing'cardholderSpendingControls'BlockedCategories'EnumInsuranceDefault :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "insurance_underwriting_premiums"
Issuing'cardholderSpendingControls'BlockedCategories'EnumInsuranceUnderwritingPremiums :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "intra_company_purchases"
Issuing'cardholderSpendingControls'BlockedCategories'EnumIntraCompanyPurchases :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "jewelry_stores_watches_clocks_and_silverware_stores"
Issuing'cardholderSpendingControls'BlockedCategories'EnumJewelryStoresWatchesClocksAndSilverwareStores :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "landscaping_services"
Issuing'cardholderSpendingControls'BlockedCategories'EnumLandscapingServices :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "laundries"
Issuing'cardholderSpendingControls'BlockedCategories'EnumLaundries :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "laundry_cleaning_services"
Issuing'cardholderSpendingControls'BlockedCategories'EnumLaundryCleaningServices :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "legal_services_attorneys"
Issuing'cardholderSpendingControls'BlockedCategories'EnumLegalServicesAttorneys :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "luggage_and_leather_goods_stores"
Issuing'cardholderSpendingControls'BlockedCategories'EnumLuggageAndLeatherGoodsStores :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "lumber_building_materials_stores"
Issuing'cardholderSpendingControls'BlockedCategories'EnumLumberBuildingMaterialsStores :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "manual_cash_disburse"
Issuing'cardholderSpendingControls'BlockedCategories'EnumManualCashDisburse :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "marinas_service_and_supplies"
Issuing'cardholderSpendingControls'BlockedCategories'EnumMarinasServiceAndSupplies :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "masonry_stonework_and_plaster"
Issuing'cardholderSpendingControls'BlockedCategories'EnumMasonryStoneworkAndPlaster :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "massage_parlors"
Issuing'cardholderSpendingControls'BlockedCategories'EnumMassageParlors :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "medical_and_dental_labs"
Issuing'cardholderSpendingControls'BlockedCategories'EnumMedicalAndDentalLabs :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "medical_dental_ophthalmic_and_hospital_equipment_and_supplies"
Issuing'cardholderSpendingControls'BlockedCategories'EnumMedicalDentalOphthalmicAndHospitalEquipmentAndSupplies :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "medical_services"
Issuing'cardholderSpendingControls'BlockedCategories'EnumMedicalServices :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "membership_organizations"
Issuing'cardholderSpendingControls'BlockedCategories'EnumMembershipOrganizations :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "mens_and_boys_clothing_and_accessories_stores"
Issuing'cardholderSpendingControls'BlockedCategories'EnumMensAndBoysClothingAndAccessoriesStores :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "mens_womens_clothing_stores"
Issuing'cardholderSpendingControls'BlockedCategories'EnumMensWomensClothingStores :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "metal_service_centers"
Issuing'cardholderSpendingControls'BlockedCategories'EnumMetalServiceCenters :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "miscellaneous"
Issuing'cardholderSpendingControls'BlockedCategories'EnumMiscellaneous :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "miscellaneous_apparel_and_accessory_shops"
Issuing'cardholderSpendingControls'BlockedCategories'EnumMiscellaneousApparelAndAccessoryShops :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "miscellaneous_auto_dealers"
Issuing'cardholderSpendingControls'BlockedCategories'EnumMiscellaneousAutoDealers :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "miscellaneous_business_services"
Issuing'cardholderSpendingControls'BlockedCategories'EnumMiscellaneousBusinessServices :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "miscellaneous_food_stores"
Issuing'cardholderSpendingControls'BlockedCategories'EnumMiscellaneousFoodStores :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "miscellaneous_general_merchandise"
Issuing'cardholderSpendingControls'BlockedCategories'EnumMiscellaneousGeneralMerchandise :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "miscellaneous_general_services"
Issuing'cardholderSpendingControls'BlockedCategories'EnumMiscellaneousGeneralServices :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "miscellaneous_home_furnishing_specialty_stores"
Issuing'cardholderSpendingControls'BlockedCategories'EnumMiscellaneousHomeFurnishingSpecialtyStores :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "miscellaneous_publishing_and_printing"
Issuing'cardholderSpendingControls'BlockedCategories'EnumMiscellaneousPublishingAndPrinting :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "miscellaneous_recreation_services"
Issuing'cardholderSpendingControls'BlockedCategories'EnumMiscellaneousRecreationServices :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "miscellaneous_repair_shops"
Issuing'cardholderSpendingControls'BlockedCategories'EnumMiscellaneousRepairShops :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "miscellaneous_specialty_retail"
Issuing'cardholderSpendingControls'BlockedCategories'EnumMiscellaneousSpecialtyRetail :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "mobile_home_dealers"
Issuing'cardholderSpendingControls'BlockedCategories'EnumMobileHomeDealers :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "motion_picture_theaters"
Issuing'cardholderSpendingControls'BlockedCategories'EnumMotionPictureTheaters :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "motor_freight_carriers_and_trucking"
Issuing'cardholderSpendingControls'BlockedCategories'EnumMotorFreightCarriersAndTrucking :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "motor_homes_dealers"
Issuing'cardholderSpendingControls'BlockedCategories'EnumMotorHomesDealers :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "motor_vehicle_supplies_and_new_parts"
Issuing'cardholderSpendingControls'BlockedCategories'EnumMotorVehicleSuppliesAndNewParts :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "motorcycle_shops_and_dealers"
Issuing'cardholderSpendingControls'BlockedCategories'EnumMotorcycleShopsAndDealers :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "motorcycle_shops_dealers"
Issuing'cardholderSpendingControls'BlockedCategories'EnumMotorcycleShopsDealers :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "music_stores_musical_instruments_pianos_and_sheet_music"
Issuing'cardholderSpendingControls'BlockedCategories'EnumMusicStoresMusicalInstrumentsPianosAndSheetMusic :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "news_dealers_and_newsstands"
Issuing'cardholderSpendingControls'BlockedCategories'EnumNewsDealersAndNewsstands :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "non_fi_money_orders"
Issuing'cardholderSpendingControls'BlockedCategories'EnumNonFiMoneyOrders :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "non_fi_stored_value_card_purchase_load"
Issuing'cardholderSpendingControls'BlockedCategories'EnumNonFiStoredValueCardPurchaseLoad :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "nondurable_goods"
Issuing'cardholderSpendingControls'BlockedCategories'EnumNondurableGoods :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "nurseries_lawn_and_garden_supply_stores"
Issuing'cardholderSpendingControls'BlockedCategories'EnumNurseriesLawnAndGardenSupplyStores :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "nursing_personal_care"
Issuing'cardholderSpendingControls'BlockedCategories'EnumNursingPersonalCare :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "office_and_commercial_furniture"
Issuing'cardholderSpendingControls'BlockedCategories'EnumOfficeAndCommercialFurniture :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "opticians_eyeglasses"
Issuing'cardholderSpendingControls'BlockedCategories'EnumOpticiansEyeglasses :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "optometrists_ophthalmologist"
Issuing'cardholderSpendingControls'BlockedCategories'EnumOptometristsOphthalmologist :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "orthopedic_goods_prosthetic_devices"
Issuing'cardholderSpendingControls'BlockedCategories'EnumOrthopedicGoodsProstheticDevices :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "osteopaths"
Issuing'cardholderSpendingControls'BlockedCategories'EnumOsteopaths :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "package_stores_beer_wine_and_liquor"
Issuing'cardholderSpendingControls'BlockedCategories'EnumPackageStoresBeerWineAndLiquor :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "paints_varnishes_and_supplies"
Issuing'cardholderSpendingControls'BlockedCategories'EnumPaintsVarnishesAndSupplies :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "parking_lots_garages"
Issuing'cardholderSpendingControls'BlockedCategories'EnumParkingLotsGarages :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "passenger_railways"
Issuing'cardholderSpendingControls'BlockedCategories'EnumPassengerRailways :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "pawn_shops"
Issuing'cardholderSpendingControls'BlockedCategories'EnumPawnShops :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "pet_shops_pet_food_and_supplies"
Issuing'cardholderSpendingControls'BlockedCategories'EnumPetShopsPetFoodAndSupplies :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "petroleum_and_petroleum_products"
Issuing'cardholderSpendingControls'BlockedCategories'EnumPetroleumAndPetroleumProducts :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "photo_developing"
Issuing'cardholderSpendingControls'BlockedCategories'EnumPhotoDeveloping :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "photographic_photocopy_microfilm_equipment_and_supplies"
Issuing'cardholderSpendingControls'BlockedCategories'EnumPhotographicPhotocopyMicrofilmEquipmentAndSupplies :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "photographic_studios"
Issuing'cardholderSpendingControls'BlockedCategories'EnumPhotographicStudios :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "picture_video_production"
Issuing'cardholderSpendingControls'BlockedCategories'EnumPictureVideoProduction :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "piece_goods_notions_and_other_dry_goods"
Issuing'cardholderSpendingControls'BlockedCategories'EnumPieceGoodsNotionsAndOtherDryGoods :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "plumbing_heating_equipment_and_supplies"
Issuing'cardholderSpendingControls'BlockedCategories'EnumPlumbingHeatingEquipmentAndSupplies :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "political_organizations"
Issuing'cardholderSpendingControls'BlockedCategories'EnumPoliticalOrganizations :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "postal_services_government_only"
Issuing'cardholderSpendingControls'BlockedCategories'EnumPostalServicesGovernmentOnly :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "precious_stones_and_metals_watches_and_jewelry"
Issuing'cardholderSpendingControls'BlockedCategories'EnumPreciousStonesAndMetalsWatchesAndJewelry :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "professional_services"
Issuing'cardholderSpendingControls'BlockedCategories'EnumProfessionalServices :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "public_warehousing_and_storage"
Issuing'cardholderSpendingControls'BlockedCategories'EnumPublicWarehousingAndStorage :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "quick_copy_repro_and_blueprint"
Issuing'cardholderSpendingControls'BlockedCategories'EnumQuickCopyReproAndBlueprint :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "railroads"
Issuing'cardholderSpendingControls'BlockedCategories'EnumRailroads :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "real_estate_agents_and_managers_rentals"
Issuing'cardholderSpendingControls'BlockedCategories'EnumRealEstateAgentsAndManagersRentals :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "record_stores"
Issuing'cardholderSpendingControls'BlockedCategories'EnumRecordStores :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "recreational_vehicle_rentals"
Issuing'cardholderSpendingControls'BlockedCategories'EnumRecreationalVehicleRentals :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "religious_goods_stores"
Issuing'cardholderSpendingControls'BlockedCategories'EnumReligiousGoodsStores :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "religious_organizations"
Issuing'cardholderSpendingControls'BlockedCategories'EnumReligiousOrganizations :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "roofing_siding_sheet_metal"
Issuing'cardholderSpendingControls'BlockedCategories'EnumRoofingSidingSheetMetal :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "secretarial_support_services"
Issuing'cardholderSpendingControls'BlockedCategories'EnumSecretarialSupportServices :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "security_brokers_dealers"
Issuing'cardholderSpendingControls'BlockedCategories'EnumSecurityBrokersDealers :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "service_stations"
Issuing'cardholderSpendingControls'BlockedCategories'EnumServiceStations :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "sewing_needlework_fabric_and_piece_goods_stores"
Issuing'cardholderSpendingControls'BlockedCategories'EnumSewingNeedleworkFabricAndPieceGoodsStores :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "shoe_repair_hat_cleaning"
Issuing'cardholderSpendingControls'BlockedCategories'EnumShoeRepairHatCleaning :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "shoe_stores"
Issuing'cardholderSpendingControls'BlockedCategories'EnumShoeStores :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "small_appliance_repair"
Issuing'cardholderSpendingControls'BlockedCategories'EnumSmallApplianceRepair :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "snowmobile_dealers"
Issuing'cardholderSpendingControls'BlockedCategories'EnumSnowmobileDealers :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "special_trade_services"
Issuing'cardholderSpendingControls'BlockedCategories'EnumSpecialTradeServices :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "specialty_cleaning"
Issuing'cardholderSpendingControls'BlockedCategories'EnumSpecialtyCleaning :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "sporting_goods_stores"
Issuing'cardholderSpendingControls'BlockedCategories'EnumSportingGoodsStores :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "sporting_recreation_camps"
Issuing'cardholderSpendingControls'BlockedCategories'EnumSportingRecreationCamps :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "sports_and_riding_apparel_stores"
Issuing'cardholderSpendingControls'BlockedCategories'EnumSportsAndRidingApparelStores :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "sports_clubs_fields"
Issuing'cardholderSpendingControls'BlockedCategories'EnumSportsClubsFields :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "stamp_and_coin_stores"
Issuing'cardholderSpendingControls'BlockedCategories'EnumStampAndCoinStores :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "stationary_office_supplies_printing_and_writing_paper"
Issuing'cardholderSpendingControls'BlockedCategories'EnumStationaryOfficeSuppliesPrintingAndWritingPaper :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "stationery_stores_office_and_school_supply_stores"
Issuing'cardholderSpendingControls'BlockedCategories'EnumStationeryStoresOfficeAndSchoolSupplyStores :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "swimming_pools_sales"
Issuing'cardholderSpendingControls'BlockedCategories'EnumSwimmingPoolsSales :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "t_ui_travel_germany"
Issuing'cardholderSpendingControls'BlockedCategories'EnumTUiTravelGermany :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "tailors_alterations"
Issuing'cardholderSpendingControls'BlockedCategories'EnumTailorsAlterations :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "tax_payments_government_agencies"
Issuing'cardholderSpendingControls'BlockedCategories'EnumTaxPaymentsGovernmentAgencies :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "tax_preparation_services"
Issuing'cardholderSpendingControls'BlockedCategories'EnumTaxPreparationServices :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "taxicabs_limousines"
Issuing'cardholderSpendingControls'BlockedCategories'EnumTaxicabsLimousines :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "telecommunication_equipment_and_telephone_sales"
Issuing'cardholderSpendingControls'BlockedCategories'EnumTelecommunicationEquipmentAndTelephoneSales :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "telecommunication_services"
Issuing'cardholderSpendingControls'BlockedCategories'EnumTelecommunicationServices :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "telegraph_services"
Issuing'cardholderSpendingControls'BlockedCategories'EnumTelegraphServices :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "tent_and_awning_shops"
Issuing'cardholderSpendingControls'BlockedCategories'EnumTentAndAwningShops :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "testing_laboratories"
Issuing'cardholderSpendingControls'BlockedCategories'EnumTestingLaboratories :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "theatrical_ticket_agencies"
Issuing'cardholderSpendingControls'BlockedCategories'EnumTheatricalTicketAgencies :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "timeshares"
Issuing'cardholderSpendingControls'BlockedCategories'EnumTimeshares :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "tire_retreading_and_repair"
Issuing'cardholderSpendingControls'BlockedCategories'EnumTireRetreadingAndRepair :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "tolls_bridge_fees"
Issuing'cardholderSpendingControls'BlockedCategories'EnumTollsBridgeFees :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "tourist_attractions_and_exhibits"
Issuing'cardholderSpendingControls'BlockedCategories'EnumTouristAttractionsAndExhibits :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "towing_services"
Issuing'cardholderSpendingControls'BlockedCategories'EnumTowingServices :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "trailer_parks_campgrounds"
Issuing'cardholderSpendingControls'BlockedCategories'EnumTrailerParksCampgrounds :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "transportation_services"
Issuing'cardholderSpendingControls'BlockedCategories'EnumTransportationServices :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "travel_agencies_tour_operators"
Issuing'cardholderSpendingControls'BlockedCategories'EnumTravelAgenciesTourOperators :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "truck_stop_iteration"
Issuing'cardholderSpendingControls'BlockedCategories'EnumTruckStopIteration :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "truck_utility_trailer_rentals"
Issuing'cardholderSpendingControls'BlockedCategories'EnumTruckUtilityTrailerRentals :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "typesetting_plate_making_and_related_services"
Issuing'cardholderSpendingControls'BlockedCategories'EnumTypesettingPlateMakingAndRelatedServices :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "typewriter_stores"
Issuing'cardholderSpendingControls'BlockedCategories'EnumTypewriterStores :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "u_s_federal_government_agencies_or_departments"
Issuing'cardholderSpendingControls'BlockedCategories'EnumUSFederalGovernmentAgenciesOrDepartments :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "uniforms_commercial_clothing"
Issuing'cardholderSpendingControls'BlockedCategories'EnumUniformsCommercialClothing :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "used_merchandise_and_secondhand_stores"
Issuing'cardholderSpendingControls'BlockedCategories'EnumUsedMerchandiseAndSecondhandStores :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "utilities"
Issuing'cardholderSpendingControls'BlockedCategories'EnumUtilities :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "variety_stores"
Issuing'cardholderSpendingControls'BlockedCategories'EnumVarietyStores :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "veterinary_services"
Issuing'cardholderSpendingControls'BlockedCategories'EnumVeterinaryServices :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "video_amusement_game_supplies"
Issuing'cardholderSpendingControls'BlockedCategories'EnumVideoAmusementGameSupplies :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "video_game_arcades"
Issuing'cardholderSpendingControls'BlockedCategories'EnumVideoGameArcades :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "video_tape_rental_stores"
Issuing'cardholderSpendingControls'BlockedCategories'EnumVideoTapeRentalStores :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "vocational_trade_schools"
Issuing'cardholderSpendingControls'BlockedCategories'EnumVocationalTradeSchools :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "watch_jewelry_repair"
Issuing'cardholderSpendingControls'BlockedCategories'EnumWatchJewelryRepair :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "welding_repair"
Issuing'cardholderSpendingControls'BlockedCategories'EnumWeldingRepair :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "wholesale_clubs"
Issuing'cardholderSpendingControls'BlockedCategories'EnumWholesaleClubs :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "wig_and_toupee_stores"
Issuing'cardholderSpendingControls'BlockedCategories'EnumWigAndToupeeStores :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "wires_money_orders"
Issuing'cardholderSpendingControls'BlockedCategories'EnumWiresMoneyOrders :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "womens_accessory_and_specialty_shops"
Issuing'cardholderSpendingControls'BlockedCategories'EnumWomensAccessoryAndSpecialtyShops :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "womens_ready_to_wear_stores"
Issuing'cardholderSpendingControls'BlockedCategories'EnumWomensReadyToWearStores :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Represents the JSON value "wrecking_and_salvage_yards"
Issuing'cardholderSpendingControls'BlockedCategories'EnumWreckingAndSalvageYards :: Issuing'cardholderSpendingControls'BlockedCategories'
-- | Defines the enum schema located at
-- components.schemas.issuing.cardholder.properties.status in
-- the specification.
--
-- Specifies whether to permit authorizations on this cardholder's cards.
data Issuing'cardholderStatus'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
Issuing'cardholderStatus'Other :: Value -> Issuing'cardholderStatus'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
Issuing'cardholderStatus'Typed :: Text -> Issuing'cardholderStatus'
-- | Represents the JSON value "active"
Issuing'cardholderStatus'EnumActive :: Issuing'cardholderStatus'
-- | Represents the JSON value "blocked"
Issuing'cardholderStatus'EnumBlocked :: Issuing'cardholderStatus'
-- | Represents the JSON value "inactive"
Issuing'cardholderStatus'EnumInactive :: Issuing'cardholderStatus'
-- | Defines the enum schema located at
-- components.schemas.issuing.cardholder.properties.type in the
-- specification.
--
-- One of `individual` or `company`.
data Issuing'cardholderType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
Issuing'cardholderType'Other :: Value -> Issuing'cardholderType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
Issuing'cardholderType'Typed :: Text -> Issuing'cardholderType'
-- | Represents the JSON value "company"
Issuing'cardholderType'EnumCompany :: Issuing'cardholderType'
-- | Represents the JSON value "individual"
Issuing'cardholderType'EnumIndividual :: Issuing'cardholderType'
instance GHC.Classes.Eq StripeAPI.Types.Issuing_Cardholder.Issuing'cardholderCompany'
instance GHC.Show.Show StripeAPI.Types.Issuing_Cardholder.Issuing'cardholderCompany'
instance GHC.Classes.Eq StripeAPI.Types.Issuing_Cardholder.Issuing'cardholderIndividual'Dob'
instance GHC.Show.Show StripeAPI.Types.Issuing_Cardholder.Issuing'cardholderIndividual'Dob'
instance GHC.Classes.Eq StripeAPI.Types.Issuing_Cardholder.Issuing'cardholderIndividual'Verification'Document'Back'Variants
instance GHC.Show.Show StripeAPI.Types.Issuing_Cardholder.Issuing'cardholderIndividual'Verification'Document'Back'Variants
instance GHC.Classes.Eq StripeAPI.Types.Issuing_Cardholder.Issuing'cardholderIndividual'Verification'Document'Front'Variants
instance GHC.Show.Show StripeAPI.Types.Issuing_Cardholder.Issuing'cardholderIndividual'Verification'Document'Front'Variants
instance GHC.Classes.Eq StripeAPI.Types.Issuing_Cardholder.Issuing'cardholderIndividual'Verification'Document'
instance GHC.Show.Show StripeAPI.Types.Issuing_Cardholder.Issuing'cardholderIndividual'Verification'Document'
instance GHC.Classes.Eq StripeAPI.Types.Issuing_Cardholder.Issuing'cardholderIndividual'Verification'
instance GHC.Show.Show StripeAPI.Types.Issuing_Cardholder.Issuing'cardholderIndividual'Verification'
instance GHC.Classes.Eq StripeAPI.Types.Issuing_Cardholder.Issuing'cardholderIndividual'
instance GHC.Show.Show StripeAPI.Types.Issuing_Cardholder.Issuing'cardholderIndividual'
instance GHC.Classes.Eq StripeAPI.Types.Issuing_Cardholder.Issuing'cardholderSpendingControls'AllowedCategories'
instance GHC.Show.Show StripeAPI.Types.Issuing_Cardholder.Issuing'cardholderSpendingControls'AllowedCategories'
instance GHC.Classes.Eq StripeAPI.Types.Issuing_Cardholder.Issuing'cardholderSpendingControls'BlockedCategories'
instance GHC.Show.Show StripeAPI.Types.Issuing_Cardholder.Issuing'cardholderSpendingControls'BlockedCategories'
instance GHC.Classes.Eq StripeAPI.Types.Issuing_Cardholder.Issuing'cardholderSpendingControls'
instance GHC.Show.Show StripeAPI.Types.Issuing_Cardholder.Issuing'cardholderSpendingControls'
instance GHC.Classes.Eq StripeAPI.Types.Issuing_Cardholder.Issuing'cardholderStatus'
instance GHC.Show.Show StripeAPI.Types.Issuing_Cardholder.Issuing'cardholderStatus'
instance GHC.Classes.Eq StripeAPI.Types.Issuing_Cardholder.Issuing'cardholderType'
instance GHC.Show.Show StripeAPI.Types.Issuing_Cardholder.Issuing'cardholderType'
instance GHC.Classes.Eq StripeAPI.Types.Issuing_Cardholder.Issuing'cardholder
instance GHC.Show.Show StripeAPI.Types.Issuing_Cardholder.Issuing'cardholder
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Issuing_Cardholder.Issuing'cardholder
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Issuing_Cardholder.Issuing'cardholder
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Issuing_Cardholder.Issuing'cardholderType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Issuing_Cardholder.Issuing'cardholderType'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Issuing_Cardholder.Issuing'cardholderStatus'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Issuing_Cardholder.Issuing'cardholderStatus'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Issuing_Cardholder.Issuing'cardholderSpendingControls'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Issuing_Cardholder.Issuing'cardholderSpendingControls'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Issuing_Cardholder.Issuing'cardholderSpendingControls'BlockedCategories'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Issuing_Cardholder.Issuing'cardholderSpendingControls'BlockedCategories'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Issuing_Cardholder.Issuing'cardholderSpendingControls'AllowedCategories'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Issuing_Cardholder.Issuing'cardholderSpendingControls'AllowedCategories'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Issuing_Cardholder.Issuing'cardholderIndividual'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Issuing_Cardholder.Issuing'cardholderIndividual'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Issuing_Cardholder.Issuing'cardholderIndividual'Verification'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Issuing_Cardholder.Issuing'cardholderIndividual'Verification'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Issuing_Cardholder.Issuing'cardholderIndividual'Verification'Document'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Issuing_Cardholder.Issuing'cardholderIndividual'Verification'Document'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Issuing_Cardholder.Issuing'cardholderIndividual'Verification'Document'Front'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Issuing_Cardholder.Issuing'cardholderIndividual'Verification'Document'Front'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Issuing_Cardholder.Issuing'cardholderIndividual'Verification'Document'Back'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Issuing_Cardholder.Issuing'cardholderIndividual'Verification'Document'Back'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Issuing_Cardholder.Issuing'cardholderIndividual'Dob'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Issuing_Cardholder.Issuing'cardholderIndividual'Dob'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Issuing_Cardholder.Issuing'cardholderCompany'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Issuing_Cardholder.Issuing'cardholderCompany'
-- | Contains the types generated from the schema Issuing_Settlement
module StripeAPI.Types.Issuing_Settlement
-- | Defines the object schema located at
-- components.schemas.issuing.settlement in the specification.
--
-- When a non-stripe BIN is used, any use of an issued card must
-- be settled directly with the card network. The net amount owed is
-- represented by an Issuing `Settlement` object.
data Issuing'settlement
Issuing'settlement :: Text -> Int -> Int -> Text -> Text -> Int -> Bool -> Object -> Int -> Int -> Text -> Text -> Int -> Int -> Issuing'settlement
-- | bin: The Bank Identification Number reflecting this settlement record.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[issuing'settlementBin] :: Issuing'settlement -> Text
-- | clearing_date: The date that the transactions are cleared and posted
-- to user's accounts.
[issuing'settlementClearingDate] :: Issuing'settlement -> Int
-- | created: Time at which the object was created. Measured in seconds
-- since the Unix epoch.
[issuing'settlementCreated] :: Issuing'settlement -> Int
-- | currency: Three-letter ISO currency code, in lowercase. Must be
-- a supported currency.
[issuing'settlementCurrency] :: Issuing'settlement -> Text
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[issuing'settlementId] :: Issuing'settlement -> Text
-- | interchange_fees: The total interchange received as reimbursement for
-- the transactions.
[issuing'settlementInterchangeFees] :: Issuing'settlement -> Int
-- | livemode: Has the value `true` if the object exists in live mode or
-- the value `false` if the object exists in test mode.
[issuing'settlementLivemode] :: Issuing'settlement -> Bool
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format.
[issuing'settlementMetadata] :: Issuing'settlement -> Object
-- | net_total: The total net amount required to settle with the network.
[issuing'settlementNetTotal] :: Issuing'settlement -> Int
-- | network_fees: The total amount of fees owed to the network.
[issuing'settlementNetworkFees] :: Issuing'settlement -> Int
-- | network_settlement_identifier: The Settlement Identification Number
-- assigned by the network.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[issuing'settlementNetworkSettlementIdentifier] :: Issuing'settlement -> Text
-- | settlement_service: One of `international` or `uk_national_net`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[issuing'settlementSettlementService] :: Issuing'settlement -> Text
-- | transaction_count: The total number of transactions reflected in this
-- settlement.
[issuing'settlementTransactionCount] :: Issuing'settlement -> Int
-- | transaction_volume: The total transaction amount reflected in this
-- settlement.
[issuing'settlementTransactionVolume] :: Issuing'settlement -> Int
-- | Create a new Issuing'settlement with all required fields.
mkIssuing'settlement :: Text -> Int -> Int -> Text -> Text -> Int -> Bool -> Object -> Int -> Int -> Text -> Text -> Int -> Int -> Issuing'settlement
instance GHC.Classes.Eq StripeAPI.Types.Issuing_Settlement.Issuing'settlement
instance GHC.Show.Show StripeAPI.Types.Issuing_Settlement.Issuing'settlement
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Issuing_Settlement.Issuing'settlement
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Issuing_Settlement.Issuing'settlement
-- | Contains the types generated from the schema Issuing_Dispute
module StripeAPI.Types.Issuing_Dispute
-- | Defines the object schema located at
-- components.schemas.issuing.dispute in the specification.
--
-- As a card issuer, you can dispute transactions that the
-- cardholder does not recognize, suspects to be fraudulent, or has other
-- issues with.
--
-- Related guide: Disputing Transactions
data Issuing'dispute
Issuing'dispute :: Int -> Maybe [BalanceTransaction] -> Int -> Text -> IssuingDisputeEvidence -> Text -> Bool -> Object -> Issuing'disputeStatus' -> Issuing'disputeTransaction'Variants -> Issuing'dispute
-- | amount: Disputed amount. Usually the amount of the `transaction`, but
-- can differ (usually because of currency fluctuation).
[issuing'disputeAmount] :: Issuing'dispute -> Int
-- | balance_transactions: List of balance transactions associated with the
-- dispute.
[issuing'disputeBalanceTransactions] :: Issuing'dispute -> Maybe [BalanceTransaction]
-- | created: Time at which the object was created. Measured in seconds
-- since the Unix epoch.
[issuing'disputeCreated] :: Issuing'dispute -> Int
-- | currency: The currency the `transaction` was made in.
[issuing'disputeCurrency] :: Issuing'dispute -> Text
-- | evidence:
[issuing'disputeEvidence] :: Issuing'dispute -> IssuingDisputeEvidence
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[issuing'disputeId] :: Issuing'dispute -> Text
-- | livemode: Has the value `true` if the object exists in live mode or
-- the value `false` if the object exists in test mode.
[issuing'disputeLivemode] :: Issuing'dispute -> Bool
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format.
[issuing'disputeMetadata] :: Issuing'dispute -> Object
-- | status: Current status of the dispute.
[issuing'disputeStatus] :: Issuing'dispute -> Issuing'disputeStatus'
-- | transaction: The transaction being disputed.
[issuing'disputeTransaction] :: Issuing'dispute -> Issuing'disputeTransaction'Variants
-- | Create a new Issuing'dispute with all required fields.
mkIssuing'dispute :: Int -> Int -> Text -> IssuingDisputeEvidence -> Text -> Bool -> Object -> Issuing'disputeStatus' -> Issuing'disputeTransaction'Variants -> Issuing'dispute
-- | Defines the enum schema located at
-- components.schemas.issuing.dispute.properties.status in the
-- specification.
--
-- Current status of the dispute.
data Issuing'disputeStatus'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
Issuing'disputeStatus'Other :: Value -> Issuing'disputeStatus'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
Issuing'disputeStatus'Typed :: Text -> Issuing'disputeStatus'
-- | Represents the JSON value "expired"
Issuing'disputeStatus'EnumExpired :: Issuing'disputeStatus'
-- | Represents the JSON value "lost"
Issuing'disputeStatus'EnumLost :: Issuing'disputeStatus'
-- | Represents the JSON value "submitted"
Issuing'disputeStatus'EnumSubmitted :: Issuing'disputeStatus'
-- | Represents the JSON value "unsubmitted"
Issuing'disputeStatus'EnumUnsubmitted :: Issuing'disputeStatus'
-- | Represents the JSON value "won"
Issuing'disputeStatus'EnumWon :: Issuing'disputeStatus'
-- | Defines the oneOf schema located at
-- components.schemas.issuing.dispute.properties.transaction.anyOf
-- in the specification.
--
-- The transaction being disputed.
data Issuing'disputeTransaction'Variants
Issuing'disputeTransaction'Text :: Text -> Issuing'disputeTransaction'Variants
Issuing'disputeTransaction'Issuing'transaction :: Issuing'transaction -> Issuing'disputeTransaction'Variants
instance GHC.Classes.Eq StripeAPI.Types.Issuing_Dispute.Issuing'disputeStatus'
instance GHC.Show.Show StripeAPI.Types.Issuing_Dispute.Issuing'disputeStatus'
instance GHC.Classes.Eq StripeAPI.Types.Issuing_Dispute.Issuing'disputeTransaction'Variants
instance GHC.Show.Show StripeAPI.Types.Issuing_Dispute.Issuing'disputeTransaction'Variants
instance GHC.Classes.Eq StripeAPI.Types.Issuing_Dispute.Issuing'dispute
instance GHC.Show.Show StripeAPI.Types.Issuing_Dispute.Issuing'dispute
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Issuing_Dispute.Issuing'dispute
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Issuing_Dispute.Issuing'dispute
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Issuing_Dispute.Issuing'disputeTransaction'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Issuing_Dispute.Issuing'disputeTransaction'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Issuing_Dispute.Issuing'disputeStatus'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Issuing_Dispute.Issuing'disputeStatus'
-- | Contains the types generated from the schema Issuing_Authorization
module StripeAPI.Types.Issuing_Authorization
-- | Defines the object schema located at
-- components.schemas.issuing.authorization in the
-- specification.
--
-- When an issued card is used to make a purchase, an Issuing
-- `Authorization` object is created. Authorizations must be
-- approved for the purchase to be completed successfully.
--
-- Related guide: Issued Card Authorizations.
data Issuing'authorization
Issuing'authorization :: Int -> Maybe Issuing'authorizationAmountDetails' -> Bool -> Issuing'authorizationAuthorizationMethod' -> [BalanceTransaction] -> Issuing'card -> Maybe Issuing'authorizationCardholder'Variants -> Int -> Text -> Text -> Bool -> Int -> Text -> IssuingAuthorizationMerchantData -> Object -> Maybe Issuing'authorizationPendingRequest' -> [IssuingAuthorizationRequest] -> Issuing'authorizationStatus' -> [Issuing'transaction] -> IssuingAuthorizationVerificationData -> Maybe Text -> Issuing'authorization
-- | amount: The total amount that was authorized or rejected. This amount
-- is in the card's currency and in the smallest currency unit.
[issuing'authorizationAmount] :: Issuing'authorization -> Int
-- | amount_details: Detailed breakdown of amount components. These amounts
-- are denominated in `currency` and in the smallest currency
-- unit.
[issuing'authorizationAmountDetails] :: Issuing'authorization -> Maybe Issuing'authorizationAmountDetails'
-- | approved: Whether the authorization has been approved.
[issuing'authorizationApproved] :: Issuing'authorization -> Bool
-- | authorization_method: How the card details were provided.
[issuing'authorizationAuthorizationMethod] :: Issuing'authorization -> Issuing'authorizationAuthorizationMethod'
-- | balance_transactions: List of balance transactions associated with
-- this authorization.
[issuing'authorizationBalanceTransactions] :: Issuing'authorization -> [BalanceTransaction]
-- | card: You can create physical or virtual cards that are issued
-- to cardholders.
[issuing'authorizationCard] :: Issuing'authorization -> Issuing'card
-- | cardholder: The cardholder to whom this authorization belongs.
[issuing'authorizationCardholder] :: Issuing'authorization -> Maybe Issuing'authorizationCardholder'Variants
-- | created: Time at which the object was created. Measured in seconds
-- since the Unix epoch.
[issuing'authorizationCreated] :: Issuing'authorization -> Int
-- | currency: Three-letter ISO currency code, in lowercase. Must be
-- a supported currency.
[issuing'authorizationCurrency] :: Issuing'authorization -> Text
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[issuing'authorizationId] :: Issuing'authorization -> Text
-- | livemode: Has the value `true` if the object exists in live mode or
-- the value `false` if the object exists in test mode.
[issuing'authorizationLivemode] :: Issuing'authorization -> Bool
-- | merchant_amount: The total amount that was authorized or rejected.
-- This amount is in the `merchant_currency` and in the smallest
-- currency unit.
[issuing'authorizationMerchantAmount] :: Issuing'authorization -> Int
-- | merchant_currency: The currency that was presented to the cardholder
-- for the authorization. Three-letter ISO currency code, in
-- lowercase. Must be a supported currency.
[issuing'authorizationMerchantCurrency] :: Issuing'authorization -> Text
-- | merchant_data:
[issuing'authorizationMerchantData] :: Issuing'authorization -> IssuingAuthorizationMerchantData
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format.
[issuing'authorizationMetadata] :: Issuing'authorization -> Object
-- | pending_request: The pending authorization request. This field will
-- only be non-null during an `issuing_authorization.request` webhook.
[issuing'authorizationPendingRequest] :: Issuing'authorization -> Maybe Issuing'authorizationPendingRequest'
-- | request_history: History of every time `pending_request` was
-- approved/denied, either by you directly or by Stripe (e.g. based on
-- your `spending_controls`). If the merchant changes the authorization
-- by performing an incremental authorization, you can look at
-- this field to see the previous requests for the authorization.
[issuing'authorizationRequestHistory] :: Issuing'authorization -> [IssuingAuthorizationRequest]
-- | status: The current status of the authorization in its lifecycle.
[issuing'authorizationStatus] :: Issuing'authorization -> Issuing'authorizationStatus'
-- | transactions: List of transactions associated with this
-- authorization.
[issuing'authorizationTransactions] :: Issuing'authorization -> [Issuing'transaction]
-- | verification_data:
[issuing'authorizationVerificationData] :: Issuing'authorization -> IssuingAuthorizationVerificationData
-- | wallet: What, if any, digital wallet was used for this authorization.
-- One of `apple_pay`, `google_pay`, or `samsung_pay`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[issuing'authorizationWallet] :: Issuing'authorization -> Maybe Text
-- | Create a new Issuing'authorization with all required fields.
mkIssuing'authorization :: Int -> Bool -> Issuing'authorizationAuthorizationMethod' -> [BalanceTransaction] -> Issuing'card -> Int -> Text -> Text -> Bool -> Int -> Text -> IssuingAuthorizationMerchantData -> Object -> [IssuingAuthorizationRequest] -> Issuing'authorizationStatus' -> [Issuing'transaction] -> IssuingAuthorizationVerificationData -> Issuing'authorization
-- | Defines the object schema located at
-- components.schemas.issuing.authorization.properties.amount_details.anyOf
-- in the specification.
--
-- Detailed breakdown of amount components. These amounts are denominated
-- in \`currency\` and in the smallest currency unit.
data Issuing'authorizationAmountDetails'
Issuing'authorizationAmountDetails' :: Maybe Int -> Issuing'authorizationAmountDetails'
-- | atm_fee: The fee charged by the ATM for the cash withdrawal.
[issuing'authorizationAmountDetails'AtmFee] :: Issuing'authorizationAmountDetails' -> Maybe Int
-- | Create a new Issuing'authorizationAmountDetails' with all
-- required fields.
mkIssuing'authorizationAmountDetails' :: Issuing'authorizationAmountDetails'
-- | Defines the enum schema located at
-- components.schemas.issuing.authorization.properties.authorization_method
-- in the specification.
--
-- How the card details were provided.
data Issuing'authorizationAuthorizationMethod'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
Issuing'authorizationAuthorizationMethod'Other :: Value -> Issuing'authorizationAuthorizationMethod'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
Issuing'authorizationAuthorizationMethod'Typed :: Text -> Issuing'authorizationAuthorizationMethod'
-- | Represents the JSON value "chip"
Issuing'authorizationAuthorizationMethod'EnumChip :: Issuing'authorizationAuthorizationMethod'
-- | Represents the JSON value "contactless"
Issuing'authorizationAuthorizationMethod'EnumContactless :: Issuing'authorizationAuthorizationMethod'
-- | Represents the JSON value "keyed_in"
Issuing'authorizationAuthorizationMethod'EnumKeyedIn :: Issuing'authorizationAuthorizationMethod'
-- | Represents the JSON value "online"
Issuing'authorizationAuthorizationMethod'EnumOnline :: Issuing'authorizationAuthorizationMethod'
-- | Represents the JSON value "swipe"
Issuing'authorizationAuthorizationMethod'EnumSwipe :: Issuing'authorizationAuthorizationMethod'
-- | Defines the oneOf schema located at
-- components.schemas.issuing.authorization.properties.cardholder.anyOf
-- in the specification.
--
-- The cardholder to whom this authorization belongs.
data Issuing'authorizationCardholder'Variants
Issuing'authorizationCardholder'Text :: Text -> Issuing'authorizationCardholder'Variants
Issuing'authorizationCardholder'Issuing'cardholder :: Issuing'cardholder -> Issuing'authorizationCardholder'Variants
-- | Defines the object schema located at
-- components.schemas.issuing.authorization.properties.pending_request.anyOf
-- in the specification.
--
-- The pending authorization request. This field will only be non-null
-- during an \`issuing_authorization.request\` webhook.
data Issuing'authorizationPendingRequest'
Issuing'authorizationPendingRequest' :: Maybe Int -> Maybe Issuing'authorizationPendingRequest'AmountDetails' -> Maybe Text -> Maybe Bool -> Maybe Int -> Maybe Text -> Issuing'authorizationPendingRequest'
-- | amount: The additional amount Stripe will hold if the authorization is
-- approved, in the card's currency and in the smallest
-- currency unit.
[issuing'authorizationPendingRequest'Amount] :: Issuing'authorizationPendingRequest' -> Maybe Int
-- | amount_details: Detailed breakdown of amount components. These amounts
-- are denominated in `currency` and in the smallest currency
-- unit.
[issuing'authorizationPendingRequest'AmountDetails] :: Issuing'authorizationPendingRequest' -> Maybe Issuing'authorizationPendingRequest'AmountDetails'
-- | currency: Three-letter ISO currency code, in lowercase. Must be
-- a supported currency.
[issuing'authorizationPendingRequest'Currency] :: Issuing'authorizationPendingRequest' -> Maybe Text
-- | is_amount_controllable: If set `true`, you may provide amount
-- to control how much to hold for the authorization.
[issuing'authorizationPendingRequest'IsAmountControllable] :: Issuing'authorizationPendingRequest' -> Maybe Bool
-- | merchant_amount: The amount the merchant is requesting to be
-- authorized in the `merchant_currency`. The amount is in the
-- smallest currency unit.
[issuing'authorizationPendingRequest'MerchantAmount] :: Issuing'authorizationPendingRequest' -> Maybe Int
-- | merchant_currency: The local currency the merchant is requesting to
-- authorize.
[issuing'authorizationPendingRequest'MerchantCurrency] :: Issuing'authorizationPendingRequest' -> Maybe Text
-- | Create a new Issuing'authorizationPendingRequest' with all
-- required fields.
mkIssuing'authorizationPendingRequest' :: Issuing'authorizationPendingRequest'
-- | Defines the object schema located at
-- components.schemas.issuing.authorization.properties.pending_request.anyOf.properties.amount_details.anyOf
-- in the specification.
--
-- Detailed breakdown of amount components. These amounts are denominated
-- in \`currency\` and in the smallest currency unit.
data Issuing'authorizationPendingRequest'AmountDetails'
Issuing'authorizationPendingRequest'AmountDetails' :: Maybe Int -> Issuing'authorizationPendingRequest'AmountDetails'
-- | atm_fee: The fee charged by the ATM for the cash withdrawal.
[issuing'authorizationPendingRequest'AmountDetails'AtmFee] :: Issuing'authorizationPendingRequest'AmountDetails' -> Maybe Int
-- | Create a new Issuing'authorizationPendingRequest'AmountDetails'
-- with all required fields.
mkIssuing'authorizationPendingRequest'AmountDetails' :: Issuing'authorizationPendingRequest'AmountDetails'
-- | Defines the enum schema located at
-- components.schemas.issuing.authorization.properties.status in
-- the specification.
--
-- The current status of the authorization in its lifecycle.
data Issuing'authorizationStatus'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
Issuing'authorizationStatus'Other :: Value -> Issuing'authorizationStatus'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
Issuing'authorizationStatus'Typed :: Text -> Issuing'authorizationStatus'
-- | Represents the JSON value "closed"
Issuing'authorizationStatus'EnumClosed :: Issuing'authorizationStatus'
-- | Represents the JSON value "pending"
Issuing'authorizationStatus'EnumPending :: Issuing'authorizationStatus'
-- | Represents the JSON value "reversed"
Issuing'authorizationStatus'EnumReversed :: Issuing'authorizationStatus'
instance GHC.Classes.Eq StripeAPI.Types.Issuing_Authorization.Issuing'authorizationAmountDetails'
instance GHC.Show.Show StripeAPI.Types.Issuing_Authorization.Issuing'authorizationAmountDetails'
instance GHC.Classes.Eq StripeAPI.Types.Issuing_Authorization.Issuing'authorizationAuthorizationMethod'
instance GHC.Show.Show StripeAPI.Types.Issuing_Authorization.Issuing'authorizationAuthorizationMethod'
instance GHC.Classes.Eq StripeAPI.Types.Issuing_Authorization.Issuing'authorizationCardholder'Variants
instance GHC.Show.Show StripeAPI.Types.Issuing_Authorization.Issuing'authorizationCardholder'Variants
instance GHC.Classes.Eq StripeAPI.Types.Issuing_Authorization.Issuing'authorizationPendingRequest'AmountDetails'
instance GHC.Show.Show StripeAPI.Types.Issuing_Authorization.Issuing'authorizationPendingRequest'AmountDetails'
instance GHC.Classes.Eq StripeAPI.Types.Issuing_Authorization.Issuing'authorizationPendingRequest'
instance GHC.Show.Show StripeAPI.Types.Issuing_Authorization.Issuing'authorizationPendingRequest'
instance GHC.Classes.Eq StripeAPI.Types.Issuing_Authorization.Issuing'authorizationStatus'
instance GHC.Show.Show StripeAPI.Types.Issuing_Authorization.Issuing'authorizationStatus'
instance GHC.Classes.Eq StripeAPI.Types.Issuing_Authorization.Issuing'authorization
instance GHC.Show.Show StripeAPI.Types.Issuing_Authorization.Issuing'authorization
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Issuing_Authorization.Issuing'authorization
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Issuing_Authorization.Issuing'authorization
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Issuing_Authorization.Issuing'authorizationStatus'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Issuing_Authorization.Issuing'authorizationStatus'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Issuing_Authorization.Issuing'authorizationPendingRequest'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Issuing_Authorization.Issuing'authorizationPendingRequest'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Issuing_Authorization.Issuing'authorizationPendingRequest'AmountDetails'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Issuing_Authorization.Issuing'authorizationPendingRequest'AmountDetails'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Issuing_Authorization.Issuing'authorizationCardholder'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Issuing_Authorization.Issuing'authorizationCardholder'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Issuing_Authorization.Issuing'authorizationAuthorizationMethod'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Issuing_Authorization.Issuing'authorizationAuthorizationMethod'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Issuing_Authorization.Issuing'authorizationAmountDetails'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Issuing_Authorization.Issuing'authorizationAmountDetails'
-- | Contains the types generated from the schema Issuing_Transaction
module StripeAPI.Types.Issuing_Transaction
-- | Defines the object schema located at
-- components.schemas.issuing.transaction in the specification.
--
-- Any use of an issued card that results in funds entering or
-- leaving your Stripe account, such as a completed purchase or refund,
-- is represented by an Issuing `Transaction` object.
--
-- Related guide: Issued Card Transactions.
data Issuing'transaction
Issuing'transaction :: Int -> Maybe Issuing'transactionAmountDetails' -> Maybe Issuing'transactionAuthorization'Variants -> Maybe Issuing'transactionBalanceTransaction'Variants -> Issuing'transactionCard'Variants -> Maybe Issuing'transactionCardholder'Variants -> Int -> Text -> Maybe Issuing'transactionDispute'Variants -> Text -> Bool -> Int -> Text -> IssuingAuthorizationMerchantData -> Object -> Maybe Issuing'transactionPurchaseDetails' -> Issuing'transactionType' -> Issuing'transaction
-- | amount: The transaction amount, which will be reflected in your
-- balance. This amount is in your currency and in the smallest
-- currency unit.
[issuing'transactionAmount] :: Issuing'transaction -> Int
-- | amount_details: Detailed breakdown of amount components. These amounts
-- are denominated in `currency` and in the smallest currency
-- unit.
[issuing'transactionAmountDetails] :: Issuing'transaction -> Maybe Issuing'transactionAmountDetails'
-- | authorization: The `Authorization` object that led to this
-- transaction.
[issuing'transactionAuthorization] :: Issuing'transaction -> Maybe Issuing'transactionAuthorization'Variants
-- | balance_transaction: ID of the balance transaction associated
-- with this transaction.
[issuing'transactionBalanceTransaction] :: Issuing'transaction -> Maybe Issuing'transactionBalanceTransaction'Variants
-- | card: The card used to make this transaction.
[issuing'transactionCard] :: Issuing'transaction -> Issuing'transactionCard'Variants
-- | cardholder: The cardholder to whom this transaction belongs.
[issuing'transactionCardholder] :: Issuing'transaction -> Maybe Issuing'transactionCardholder'Variants
-- | created: Time at which the object was created. Measured in seconds
-- since the Unix epoch.
[issuing'transactionCreated] :: Issuing'transaction -> Int
-- | currency: Three-letter ISO currency code, in lowercase. Must be
-- a supported currency.
[issuing'transactionCurrency] :: Issuing'transaction -> Text
-- | dispute: If you've disputed the transaction, the ID of the dispute.
[issuing'transactionDispute] :: Issuing'transaction -> Maybe Issuing'transactionDispute'Variants
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[issuing'transactionId] :: Issuing'transaction -> Text
-- | livemode: Has the value `true` if the object exists in live mode or
-- the value `false` if the object exists in test mode.
[issuing'transactionLivemode] :: Issuing'transaction -> Bool
-- | merchant_amount: The amount that the merchant will receive,
-- denominated in `merchant_currency` and in the smallest currency
-- unit. It will be different from `amount` if the merchant is taking
-- payment in a different currency.
[issuing'transactionMerchantAmount] :: Issuing'transaction -> Int
-- | merchant_currency: The currency with which the merchant is taking
-- payment.
[issuing'transactionMerchantCurrency] :: Issuing'transaction -> Text
-- | merchant_data:
[issuing'transactionMerchantData] :: Issuing'transaction -> IssuingAuthorizationMerchantData
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format.
[issuing'transactionMetadata] :: Issuing'transaction -> Object
-- | purchase_details: Additional purchase information that is optionally
-- provided by the merchant.
[issuing'transactionPurchaseDetails] :: Issuing'transaction -> Maybe Issuing'transactionPurchaseDetails'
-- | type: The nature of the transaction.
[issuing'transactionType] :: Issuing'transaction -> Issuing'transactionType'
-- | Create a new Issuing'transaction with all required fields.
mkIssuing'transaction :: Int -> Issuing'transactionCard'Variants -> Int -> Text -> Text -> Bool -> Int -> Text -> IssuingAuthorizationMerchantData -> Object -> Issuing'transactionType' -> Issuing'transaction
-- | Defines the object schema located at
-- components.schemas.issuing.transaction.properties.amount_details.anyOf
-- in the specification.
--
-- Detailed breakdown of amount components. These amounts are denominated
-- in \`currency\` and in the smallest currency unit.
data Issuing'transactionAmountDetails'
Issuing'transactionAmountDetails' :: Maybe Int -> Issuing'transactionAmountDetails'
-- | atm_fee: The fee charged by the ATM for the cash withdrawal.
[issuing'transactionAmountDetails'AtmFee] :: Issuing'transactionAmountDetails' -> Maybe Int
-- | Create a new Issuing'transactionAmountDetails' with all
-- required fields.
mkIssuing'transactionAmountDetails' :: Issuing'transactionAmountDetails'
-- | Defines the oneOf schema located at
-- components.schemas.issuing.transaction.properties.authorization.anyOf
-- in the specification.
--
-- The `Authorization` object that led to this transaction.
data Issuing'transactionAuthorization'Variants
Issuing'transactionAuthorization'Text :: Text -> Issuing'transactionAuthorization'Variants
Issuing'transactionAuthorization'Issuing'authorization :: Issuing'authorization -> Issuing'transactionAuthorization'Variants
-- | Defines the oneOf schema located at
-- components.schemas.issuing.transaction.properties.balance_transaction.anyOf
-- in the specification.
--
-- ID of the balance transaction associated with this transaction.
data Issuing'transactionBalanceTransaction'Variants
Issuing'transactionBalanceTransaction'Text :: Text -> Issuing'transactionBalanceTransaction'Variants
Issuing'transactionBalanceTransaction'BalanceTransaction :: BalanceTransaction -> Issuing'transactionBalanceTransaction'Variants
-- | Defines the oneOf schema located at
-- components.schemas.issuing.transaction.properties.card.anyOf
-- in the specification.
--
-- The card used to make this transaction.
data Issuing'transactionCard'Variants
Issuing'transactionCard'Text :: Text -> Issuing'transactionCard'Variants
Issuing'transactionCard'Issuing'card :: Issuing'card -> Issuing'transactionCard'Variants
-- | Defines the oneOf schema located at
-- components.schemas.issuing.transaction.properties.cardholder.anyOf
-- in the specification.
--
-- The cardholder to whom this transaction belongs.
data Issuing'transactionCardholder'Variants
Issuing'transactionCardholder'Text :: Text -> Issuing'transactionCardholder'Variants
Issuing'transactionCardholder'Issuing'cardholder :: Issuing'cardholder -> Issuing'transactionCardholder'Variants
-- | Defines the oneOf schema located at
-- components.schemas.issuing.transaction.properties.dispute.anyOf
-- in the specification.
--
-- If you've disputed the transaction, the ID of the dispute.
data Issuing'transactionDispute'Variants
Issuing'transactionDispute'Text :: Text -> Issuing'transactionDispute'Variants
Issuing'transactionDispute'Issuing'dispute :: Issuing'dispute -> Issuing'transactionDispute'Variants
-- | Defines the object schema located at
-- components.schemas.issuing.transaction.properties.purchase_details.anyOf
-- in the specification.
--
-- Additional purchase information that is optionally provided by the
-- merchant.
data Issuing'transactionPurchaseDetails'
Issuing'transactionPurchaseDetails' :: Maybe Issuing'transactionPurchaseDetails'Flight' -> Maybe Issuing'transactionPurchaseDetails'Fuel' -> Maybe Issuing'transactionPurchaseDetails'Lodging' -> Maybe [IssuingTransactionReceiptData] -> Maybe Text -> Issuing'transactionPurchaseDetails'
-- | flight: Information about the flight that was purchased with this
-- transaction.
[issuing'transactionPurchaseDetails'Flight] :: Issuing'transactionPurchaseDetails' -> Maybe Issuing'transactionPurchaseDetails'Flight'
-- | fuel: Information about fuel that was purchased with this transaction.
[issuing'transactionPurchaseDetails'Fuel] :: Issuing'transactionPurchaseDetails' -> Maybe Issuing'transactionPurchaseDetails'Fuel'
-- | lodging: Information about lodging that was purchased with this
-- transaction.
[issuing'transactionPurchaseDetails'Lodging] :: Issuing'transactionPurchaseDetails' -> Maybe Issuing'transactionPurchaseDetails'Lodging'
-- | receipt: The line items in the purchase.
[issuing'transactionPurchaseDetails'Receipt] :: Issuing'transactionPurchaseDetails' -> Maybe [IssuingTransactionReceiptData]
-- | reference: A merchant-specific order number.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[issuing'transactionPurchaseDetails'Reference] :: Issuing'transactionPurchaseDetails' -> Maybe Text
-- | Create a new Issuing'transactionPurchaseDetails' with all
-- required fields.
mkIssuing'transactionPurchaseDetails' :: Issuing'transactionPurchaseDetails'
-- | Defines the object schema located at
-- components.schemas.issuing.transaction.properties.purchase_details.anyOf.properties.flight.anyOf
-- in the specification.
--
-- Information about the flight that was purchased with this transaction.
data Issuing'transactionPurchaseDetails'Flight'
Issuing'transactionPurchaseDetails'Flight' :: Maybe Int -> Maybe Text -> Maybe Bool -> Maybe [IssuingTransactionFlightDataLeg] -> Maybe Text -> Issuing'transactionPurchaseDetails'Flight'
-- | departure_at: The time that the flight departed.
[issuing'transactionPurchaseDetails'Flight'DepartureAt] :: Issuing'transactionPurchaseDetails'Flight' -> Maybe Int
-- | passenger_name: The name of the passenger.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[issuing'transactionPurchaseDetails'Flight'PassengerName] :: Issuing'transactionPurchaseDetails'Flight' -> Maybe Text
-- | refundable: Whether the ticket is refundable.
[issuing'transactionPurchaseDetails'Flight'Refundable] :: Issuing'transactionPurchaseDetails'Flight' -> Maybe Bool
-- | segments: The legs of the trip.
[issuing'transactionPurchaseDetails'Flight'Segments] :: Issuing'transactionPurchaseDetails'Flight' -> Maybe [IssuingTransactionFlightDataLeg]
-- | travel_agency: The travel agency that issued the ticket.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[issuing'transactionPurchaseDetails'Flight'TravelAgency] :: Issuing'transactionPurchaseDetails'Flight' -> Maybe Text
-- | Create a new Issuing'transactionPurchaseDetails'Flight' with
-- all required fields.
mkIssuing'transactionPurchaseDetails'Flight' :: Issuing'transactionPurchaseDetails'Flight'
-- | Defines the object schema located at
-- components.schemas.issuing.transaction.properties.purchase_details.anyOf.properties.fuel.anyOf
-- in the specification.
--
-- Information about fuel that was purchased with this transaction.
data Issuing'transactionPurchaseDetails'Fuel'
Issuing'transactionPurchaseDetails'Fuel' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Issuing'transactionPurchaseDetails'Fuel'
-- | type: The type of fuel that was purchased. One of `diesel`,
-- `unleaded_plus`, `unleaded_regular`, `unleaded_super`, or `other`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[issuing'transactionPurchaseDetails'Fuel'Type] :: Issuing'transactionPurchaseDetails'Fuel' -> Maybe Text
-- | unit: The units for `volume_decimal`. One of `us_gallon` or `liter`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[issuing'transactionPurchaseDetails'Fuel'Unit] :: Issuing'transactionPurchaseDetails'Fuel' -> Maybe Text
-- | unit_cost_decimal: The cost in cents per each unit of fuel,
-- represented as a decimal string with at most 12 decimal places.
[issuing'transactionPurchaseDetails'Fuel'UnitCostDecimal] :: Issuing'transactionPurchaseDetails'Fuel' -> Maybe Text
-- | volume_decimal: The volume of the fuel that was pumped, represented as
-- a decimal string with at most 12 decimal places.
[issuing'transactionPurchaseDetails'Fuel'VolumeDecimal] :: Issuing'transactionPurchaseDetails'Fuel' -> Maybe Text
-- | Create a new Issuing'transactionPurchaseDetails'Fuel' with all
-- required fields.
mkIssuing'transactionPurchaseDetails'Fuel' :: Issuing'transactionPurchaseDetails'Fuel'
-- | Defines the object schema located at
-- components.schemas.issuing.transaction.properties.purchase_details.anyOf.properties.lodging.anyOf
-- in the specification.
--
-- Information about lodging that was purchased with this transaction.
data Issuing'transactionPurchaseDetails'Lodging'
Issuing'transactionPurchaseDetails'Lodging' :: Maybe Int -> Maybe Int -> Issuing'transactionPurchaseDetails'Lodging'
-- | check_in_at: The time of checking into the lodging.
[issuing'transactionPurchaseDetails'Lodging'CheckInAt] :: Issuing'transactionPurchaseDetails'Lodging' -> Maybe Int
-- | nights: The number of nights stayed at the lodging.
[issuing'transactionPurchaseDetails'Lodging'Nights] :: Issuing'transactionPurchaseDetails'Lodging' -> Maybe Int
-- | Create a new Issuing'transactionPurchaseDetails'Lodging' with
-- all required fields.
mkIssuing'transactionPurchaseDetails'Lodging' :: Issuing'transactionPurchaseDetails'Lodging'
-- | Defines the enum schema located at
-- components.schemas.issuing.transaction.properties.type in the
-- specification.
--
-- The nature of the transaction.
data Issuing'transactionType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
Issuing'transactionType'Other :: Value -> Issuing'transactionType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
Issuing'transactionType'Typed :: Text -> Issuing'transactionType'
-- | Represents the JSON value "capture"
Issuing'transactionType'EnumCapture :: Issuing'transactionType'
-- | Represents the JSON value "refund"
Issuing'transactionType'EnumRefund :: Issuing'transactionType'
instance GHC.Classes.Eq StripeAPI.Types.Issuing_Transaction.Issuing'transactionAmountDetails'
instance GHC.Show.Show StripeAPI.Types.Issuing_Transaction.Issuing'transactionAmountDetails'
instance GHC.Classes.Eq StripeAPI.Types.Issuing_Transaction.Issuing'transactionAuthorization'Variants
instance GHC.Show.Show StripeAPI.Types.Issuing_Transaction.Issuing'transactionAuthorization'Variants
instance GHC.Classes.Eq StripeAPI.Types.Issuing_Transaction.Issuing'transactionBalanceTransaction'Variants
instance GHC.Show.Show StripeAPI.Types.Issuing_Transaction.Issuing'transactionBalanceTransaction'Variants
instance GHC.Classes.Eq StripeAPI.Types.Issuing_Transaction.Issuing'transactionCard'Variants
instance GHC.Show.Show StripeAPI.Types.Issuing_Transaction.Issuing'transactionCard'Variants
instance GHC.Classes.Eq StripeAPI.Types.Issuing_Transaction.Issuing'transactionCardholder'Variants
instance GHC.Show.Show StripeAPI.Types.Issuing_Transaction.Issuing'transactionCardholder'Variants
instance GHC.Classes.Eq StripeAPI.Types.Issuing_Transaction.Issuing'transactionDispute'Variants
instance GHC.Show.Show StripeAPI.Types.Issuing_Transaction.Issuing'transactionDispute'Variants
instance GHC.Classes.Eq StripeAPI.Types.Issuing_Transaction.Issuing'transactionPurchaseDetails'Flight'
instance GHC.Show.Show StripeAPI.Types.Issuing_Transaction.Issuing'transactionPurchaseDetails'Flight'
instance GHC.Classes.Eq StripeAPI.Types.Issuing_Transaction.Issuing'transactionPurchaseDetails'Fuel'
instance GHC.Show.Show StripeAPI.Types.Issuing_Transaction.Issuing'transactionPurchaseDetails'Fuel'
instance GHC.Classes.Eq StripeAPI.Types.Issuing_Transaction.Issuing'transactionPurchaseDetails'Lodging'
instance GHC.Show.Show StripeAPI.Types.Issuing_Transaction.Issuing'transactionPurchaseDetails'Lodging'
instance GHC.Classes.Eq StripeAPI.Types.Issuing_Transaction.Issuing'transactionPurchaseDetails'
instance GHC.Show.Show StripeAPI.Types.Issuing_Transaction.Issuing'transactionPurchaseDetails'
instance GHC.Classes.Eq StripeAPI.Types.Issuing_Transaction.Issuing'transactionType'
instance GHC.Show.Show StripeAPI.Types.Issuing_Transaction.Issuing'transactionType'
instance GHC.Classes.Eq StripeAPI.Types.Issuing_Transaction.Issuing'transaction
instance GHC.Show.Show StripeAPI.Types.Issuing_Transaction.Issuing'transaction
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Issuing_Transaction.Issuing'transaction
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Issuing_Transaction.Issuing'transaction
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Issuing_Transaction.Issuing'transactionType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Issuing_Transaction.Issuing'transactionType'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Issuing_Transaction.Issuing'transactionPurchaseDetails'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Issuing_Transaction.Issuing'transactionPurchaseDetails'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Issuing_Transaction.Issuing'transactionPurchaseDetails'Lodging'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Issuing_Transaction.Issuing'transactionPurchaseDetails'Lodging'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Issuing_Transaction.Issuing'transactionPurchaseDetails'Fuel'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Issuing_Transaction.Issuing'transactionPurchaseDetails'Fuel'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Issuing_Transaction.Issuing'transactionPurchaseDetails'Flight'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Issuing_Transaction.Issuing'transactionPurchaseDetails'Flight'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Issuing_Transaction.Issuing'transactionDispute'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Issuing_Transaction.Issuing'transactionDispute'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Issuing_Transaction.Issuing'transactionCardholder'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Issuing_Transaction.Issuing'transactionCardholder'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Issuing_Transaction.Issuing'transactionCard'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Issuing_Transaction.Issuing'transactionCard'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Issuing_Transaction.Issuing'transactionBalanceTransaction'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Issuing_Transaction.Issuing'transactionBalanceTransaction'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Issuing_Transaction.Issuing'transactionAuthorization'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Issuing_Transaction.Issuing'transactionAuthorization'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Issuing_Transaction.Issuing'transactionAmountDetails'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Issuing_Transaction.Issuing'transactionAmountDetails'
-- | Contains the types generated from the schema
-- LegalEntityCompanyVerification
module StripeAPI.Types.LegalEntityCompanyVerification
-- | Defines the object schema located at
-- components.schemas.legal_entity_company_verification in the
-- specification.
data LegalEntityCompanyVerification
LegalEntityCompanyVerification :: LegalEntityCompanyVerificationDocument -> LegalEntityCompanyVerification
-- | document:
[legalEntityCompanyVerificationDocument] :: LegalEntityCompanyVerification -> LegalEntityCompanyVerificationDocument
-- | Create a new LegalEntityCompanyVerification with all required
-- fields.
mkLegalEntityCompanyVerification :: LegalEntityCompanyVerificationDocument -> LegalEntityCompanyVerification
instance GHC.Classes.Eq StripeAPI.Types.LegalEntityCompanyVerification.LegalEntityCompanyVerification
instance GHC.Show.Show StripeAPI.Types.LegalEntityCompanyVerification.LegalEntityCompanyVerification
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.LegalEntityCompanyVerification.LegalEntityCompanyVerification
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.LegalEntityCompanyVerification.LegalEntityCompanyVerification
-- | Contains the types generated from the schema
-- LegalEntityCompanyVerificationDocument
module StripeAPI.Types.LegalEntityCompanyVerificationDocument
-- | Defines the object schema located at
-- components.schemas.legal_entity_company_verification_document
-- in the specification.
data LegalEntityCompanyVerificationDocument
LegalEntityCompanyVerificationDocument :: Maybe LegalEntityCompanyVerificationDocumentBack'Variants -> Maybe Text -> Maybe Text -> Maybe LegalEntityCompanyVerificationDocumentFront'Variants -> LegalEntityCompanyVerificationDocument
-- | back: The back of a document returned by a file upload with a
-- `purpose` value of `additional_verification`.
[legalEntityCompanyVerificationDocumentBack] :: LegalEntityCompanyVerificationDocument -> Maybe LegalEntityCompanyVerificationDocumentBack'Variants
-- | details: A user-displayable string describing the verification state
-- of this document.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[legalEntityCompanyVerificationDocumentDetails] :: LegalEntityCompanyVerificationDocument -> Maybe Text
-- | details_code: One of `document_corrupt`, `document_expired`,
-- `document_failed_copy`, `document_failed_greyscale`,
-- `document_failed_other`, `document_failed_test_mode`,
-- `document_fraudulent`, `document_incomplete`, `document_invalid`,
-- `document_manipulated`, `document_not_readable`,
-- `document_not_uploaded`, `document_type_not_supported`, or
-- `document_too_large`. A machine-readable code specifying the
-- verification state for this document.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[legalEntityCompanyVerificationDocumentDetailsCode] :: LegalEntityCompanyVerificationDocument -> Maybe Text
-- | front: The front of a document returned by a file upload with a
-- `purpose` value of `additional_verification`.
[legalEntityCompanyVerificationDocumentFront] :: LegalEntityCompanyVerificationDocument -> Maybe LegalEntityCompanyVerificationDocumentFront'Variants
-- | Create a new LegalEntityCompanyVerificationDocument with all
-- required fields.
mkLegalEntityCompanyVerificationDocument :: LegalEntityCompanyVerificationDocument
-- | Defines the oneOf schema located at
-- components.schemas.legal_entity_company_verification_document.properties.back.anyOf
-- in the specification.
--
-- The back of a document returned by a file upload with a
-- `purpose` value of `additional_verification`.
data LegalEntityCompanyVerificationDocumentBack'Variants
LegalEntityCompanyVerificationDocumentBack'Text :: Text -> LegalEntityCompanyVerificationDocumentBack'Variants
LegalEntityCompanyVerificationDocumentBack'File :: File -> LegalEntityCompanyVerificationDocumentBack'Variants
-- | Defines the oneOf schema located at
-- components.schemas.legal_entity_company_verification_document.properties.front.anyOf
-- in the specification.
--
-- The front of a document returned by a file upload with a
-- `purpose` value of `additional_verification`.
data LegalEntityCompanyVerificationDocumentFront'Variants
LegalEntityCompanyVerificationDocumentFront'Text :: Text -> LegalEntityCompanyVerificationDocumentFront'Variants
LegalEntityCompanyVerificationDocumentFront'File :: File -> LegalEntityCompanyVerificationDocumentFront'Variants
instance GHC.Classes.Eq StripeAPI.Types.LegalEntityCompanyVerificationDocument.LegalEntityCompanyVerificationDocumentBack'Variants
instance GHC.Show.Show StripeAPI.Types.LegalEntityCompanyVerificationDocument.LegalEntityCompanyVerificationDocumentBack'Variants
instance GHC.Classes.Eq StripeAPI.Types.LegalEntityCompanyVerificationDocument.LegalEntityCompanyVerificationDocumentFront'Variants
instance GHC.Show.Show StripeAPI.Types.LegalEntityCompanyVerificationDocument.LegalEntityCompanyVerificationDocumentFront'Variants
instance GHC.Classes.Eq StripeAPI.Types.LegalEntityCompanyVerificationDocument.LegalEntityCompanyVerificationDocument
instance GHC.Show.Show StripeAPI.Types.LegalEntityCompanyVerificationDocument.LegalEntityCompanyVerificationDocument
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.LegalEntityCompanyVerificationDocument.LegalEntityCompanyVerificationDocument
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.LegalEntityCompanyVerificationDocument.LegalEntityCompanyVerificationDocument
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.LegalEntityCompanyVerificationDocument.LegalEntityCompanyVerificationDocumentFront'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.LegalEntityCompanyVerificationDocument.LegalEntityCompanyVerificationDocumentFront'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.LegalEntityCompanyVerificationDocument.LegalEntityCompanyVerificationDocumentBack'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.LegalEntityCompanyVerificationDocument.LegalEntityCompanyVerificationDocumentBack'Variants
-- | Contains the types generated from the schema LegalEntityDob
module StripeAPI.Types.LegalEntityDob
-- | Defines the object schema located at
-- components.schemas.legal_entity_dob in the specification.
data LegalEntityDob
LegalEntityDob :: Maybe Int -> Maybe Int -> Maybe Int -> LegalEntityDob
-- | day: The day of birth, between 1 and 31.
[legalEntityDobDay] :: LegalEntityDob -> Maybe Int
-- | month: The month of birth, between 1 and 12.
[legalEntityDobMonth] :: LegalEntityDob -> Maybe Int
-- | year: The four-digit year of birth.
[legalEntityDobYear] :: LegalEntityDob -> Maybe Int
-- | Create a new LegalEntityDob with all required fields.
mkLegalEntityDob :: LegalEntityDob
instance GHC.Classes.Eq StripeAPI.Types.LegalEntityDob.LegalEntityDob
instance GHC.Show.Show StripeAPI.Types.LegalEntityDob.LegalEntityDob
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.LegalEntityDob.LegalEntityDob
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.LegalEntityDob.LegalEntityDob
-- | Contains the types generated from the schema LegalEntityCompany
module StripeAPI.Types.LegalEntityCompany
-- | Defines the object schema located at
-- components.schemas.legal_entity_company in the specification.
data LegalEntityCompany
LegalEntityCompany :: Maybe Address -> Maybe LegalEntityCompanyAddressKana' -> Maybe LegalEntityCompanyAddressKanji' -> Maybe Bool -> Maybe Bool -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe LegalEntityCompanyStructure' -> Maybe Bool -> Maybe Text -> Maybe Bool -> Maybe LegalEntityCompanyVerification' -> LegalEntityCompany
-- | address:
[legalEntityCompanyAddress] :: LegalEntityCompany -> Maybe Address
-- | address_kana: The Kana variation of the company's primary address
-- (Japan only).
[legalEntityCompanyAddressKana] :: LegalEntityCompany -> Maybe LegalEntityCompanyAddressKana'
-- | address_kanji: The Kanji variation of the company's primary address
-- (Japan only).
[legalEntityCompanyAddressKanji] :: LegalEntityCompany -> Maybe LegalEntityCompanyAddressKanji'
-- | directors_provided: Whether the company's directors have been
-- provided. This Boolean will be `true` if you've manually indicated
-- that all directors are provided via the `directors_provided`
-- parameter.
[legalEntityCompanyDirectorsProvided] :: LegalEntityCompany -> Maybe Bool
-- | executives_provided: Whether the company's executives have been
-- provided. This Boolean will be `true` if you've manually indicated
-- that all executives are provided via the `executives_provided`
-- parameter, or if Stripe determined that sufficient executives were
-- provided.
[legalEntityCompanyExecutivesProvided] :: LegalEntityCompany -> Maybe Bool
-- | name: The company's legal name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[legalEntityCompanyName] :: LegalEntityCompany -> Maybe Text
-- | name_kana: The Kana variation of the company's legal name (Japan
-- only).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[legalEntityCompanyNameKana] :: LegalEntityCompany -> Maybe Text
-- | name_kanji: The Kanji variation of the company's legal name (Japan
-- only).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[legalEntityCompanyNameKanji] :: LegalEntityCompany -> Maybe Text
-- | owners_provided: Whether the company's owners have been provided. This
-- Boolean will be `true` if you've manually indicated that all owners
-- are provided via the `owners_provided` parameter, or if Stripe
-- determined that sufficient owners were provided. Stripe determines
-- ownership requirements using both the number of owners provided and
-- their total percent ownership (calculated by adding the
-- `percent_ownership` of each owner together).
[legalEntityCompanyOwnersProvided] :: LegalEntityCompany -> Maybe Bool
-- | phone: The company's phone number (used for verification).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[legalEntityCompanyPhone] :: LegalEntityCompany -> Maybe Text
-- | structure: The category identifying the legal structure of the company
-- or legal entity. See Business structure for more details.
[legalEntityCompanyStructure] :: LegalEntityCompany -> Maybe LegalEntityCompanyStructure'
-- | tax_id_provided: Whether the company's business ID number was
-- provided.
[legalEntityCompanyTaxIdProvided] :: LegalEntityCompany -> Maybe Bool
-- | tax_id_registrar: The jurisdiction in which the `tax_id` is registered
-- (Germany-based companies only).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[legalEntityCompanyTaxIdRegistrar] :: LegalEntityCompany -> Maybe Text
-- | vat_id_provided: Whether the company's business VAT number was
-- provided.
[legalEntityCompanyVatIdProvided] :: LegalEntityCompany -> Maybe Bool
-- | verification: Information on the verification state of the company.
[legalEntityCompanyVerification] :: LegalEntityCompany -> Maybe LegalEntityCompanyVerification'
-- | Create a new LegalEntityCompany with all required fields.
mkLegalEntityCompany :: LegalEntityCompany
-- | Defines the object schema located at
-- components.schemas.legal_entity_company.properties.address_kana.anyOf
-- in the specification.
--
-- The Kana variation of the company\'s primary address (Japan only).
data LegalEntityCompanyAddressKana'
LegalEntityCompanyAddressKana' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> LegalEntityCompanyAddressKana'
-- | city: City/Ward.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[legalEntityCompanyAddressKana'City] :: LegalEntityCompanyAddressKana' -> Maybe Text
-- | country: Two-letter country code ([ISO 3166-1
-- alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[legalEntityCompanyAddressKana'Country] :: LegalEntityCompanyAddressKana' -> Maybe Text
-- | line1: Block/Building number.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[legalEntityCompanyAddressKana'Line1] :: LegalEntityCompanyAddressKana' -> Maybe Text
-- | line2: Building details.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[legalEntityCompanyAddressKana'Line2] :: LegalEntityCompanyAddressKana' -> Maybe Text
-- | postal_code: ZIP or postal code.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[legalEntityCompanyAddressKana'PostalCode] :: LegalEntityCompanyAddressKana' -> Maybe Text
-- | state: Prefecture.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[legalEntityCompanyAddressKana'State] :: LegalEntityCompanyAddressKana' -> Maybe Text
-- | town: Town/cho-me.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[legalEntityCompanyAddressKana'Town] :: LegalEntityCompanyAddressKana' -> Maybe Text
-- | Create a new LegalEntityCompanyAddressKana' with all required
-- fields.
mkLegalEntityCompanyAddressKana' :: LegalEntityCompanyAddressKana'
-- | Defines the object schema located at
-- components.schemas.legal_entity_company.properties.address_kanji.anyOf
-- in the specification.
--
-- The Kanji variation of the company\'s primary address (Japan only).
data LegalEntityCompanyAddressKanji'
LegalEntityCompanyAddressKanji' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> LegalEntityCompanyAddressKanji'
-- | city: City/Ward.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[legalEntityCompanyAddressKanji'City] :: LegalEntityCompanyAddressKanji' -> Maybe Text
-- | country: Two-letter country code ([ISO 3166-1
-- alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[legalEntityCompanyAddressKanji'Country] :: LegalEntityCompanyAddressKanji' -> Maybe Text
-- | line1: Block/Building number.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[legalEntityCompanyAddressKanji'Line1] :: LegalEntityCompanyAddressKanji' -> Maybe Text
-- | line2: Building details.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[legalEntityCompanyAddressKanji'Line2] :: LegalEntityCompanyAddressKanji' -> Maybe Text
-- | postal_code: ZIP or postal code.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[legalEntityCompanyAddressKanji'PostalCode] :: LegalEntityCompanyAddressKanji' -> Maybe Text
-- | state: Prefecture.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[legalEntityCompanyAddressKanji'State] :: LegalEntityCompanyAddressKanji' -> Maybe Text
-- | town: Town/cho-me.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[legalEntityCompanyAddressKanji'Town] :: LegalEntityCompanyAddressKanji' -> Maybe Text
-- | Create a new LegalEntityCompanyAddressKanji' with all required
-- fields.
mkLegalEntityCompanyAddressKanji' :: LegalEntityCompanyAddressKanji'
-- | Defines the enum schema located at
-- components.schemas.legal_entity_company.properties.structure
-- in the specification.
--
-- The category identifying the legal structure of the company or legal
-- entity. See Business structure for more details.
data LegalEntityCompanyStructure'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
LegalEntityCompanyStructure'Other :: Value -> LegalEntityCompanyStructure'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
LegalEntityCompanyStructure'Typed :: Text -> LegalEntityCompanyStructure'
-- | Represents the JSON value "free_zone_establishment"
LegalEntityCompanyStructure'EnumFreeZoneEstablishment :: LegalEntityCompanyStructure'
-- | Represents the JSON value "free_zone_llc"
LegalEntityCompanyStructure'EnumFreeZoneLlc :: LegalEntityCompanyStructure'
-- | Represents the JSON value "government_instrumentality"
LegalEntityCompanyStructure'EnumGovernmentInstrumentality :: LegalEntityCompanyStructure'
-- | Represents the JSON value "governmental_unit"
LegalEntityCompanyStructure'EnumGovernmentalUnit :: LegalEntityCompanyStructure'
-- | Represents the JSON value "incorporated_non_profit"
LegalEntityCompanyStructure'EnumIncorporatedNonProfit :: LegalEntityCompanyStructure'
-- | Represents the JSON value "limited_liability_partnership"
LegalEntityCompanyStructure'EnumLimitedLiabilityPartnership :: LegalEntityCompanyStructure'
-- | Represents the JSON value "llc"
LegalEntityCompanyStructure'EnumLlc :: LegalEntityCompanyStructure'
-- | Represents the JSON value "multi_member_llc"
LegalEntityCompanyStructure'EnumMultiMemberLlc :: LegalEntityCompanyStructure'
-- | Represents the JSON value "private_company"
LegalEntityCompanyStructure'EnumPrivateCompany :: LegalEntityCompanyStructure'
-- | Represents the JSON value "private_corporation"
LegalEntityCompanyStructure'EnumPrivateCorporation :: LegalEntityCompanyStructure'
-- | Represents the JSON value "private_partnership"
LegalEntityCompanyStructure'EnumPrivatePartnership :: LegalEntityCompanyStructure'
-- | Represents the JSON value "public_company"
LegalEntityCompanyStructure'EnumPublicCompany :: LegalEntityCompanyStructure'
-- | Represents the JSON value "public_corporation"
LegalEntityCompanyStructure'EnumPublicCorporation :: LegalEntityCompanyStructure'
-- | Represents the JSON value "public_partnership"
LegalEntityCompanyStructure'EnumPublicPartnership :: LegalEntityCompanyStructure'
-- | Represents the JSON value "single_member_llc"
LegalEntityCompanyStructure'EnumSingleMemberLlc :: LegalEntityCompanyStructure'
-- | Represents the JSON value "sole_establishment"
LegalEntityCompanyStructure'EnumSoleEstablishment :: LegalEntityCompanyStructure'
-- | Represents the JSON value "sole_proprietorship"
LegalEntityCompanyStructure'EnumSoleProprietorship :: LegalEntityCompanyStructure'
-- | Represents the JSON value
-- "tax_exempt_government_instrumentality"
LegalEntityCompanyStructure'EnumTaxExemptGovernmentInstrumentality :: LegalEntityCompanyStructure'
-- | Represents the JSON value "unincorporated_association"
LegalEntityCompanyStructure'EnumUnincorporatedAssociation :: LegalEntityCompanyStructure'
-- | Represents the JSON value "unincorporated_non_profit"
LegalEntityCompanyStructure'EnumUnincorporatedNonProfit :: LegalEntityCompanyStructure'
-- | Defines the object schema located at
-- components.schemas.legal_entity_company.properties.verification.anyOf
-- in the specification.
--
-- Information on the verification state of the company.
data LegalEntityCompanyVerification'
LegalEntityCompanyVerification' :: Maybe LegalEntityCompanyVerificationDocument -> LegalEntityCompanyVerification'
-- | document:
[legalEntityCompanyVerification'Document] :: LegalEntityCompanyVerification' -> Maybe LegalEntityCompanyVerificationDocument
-- | Create a new LegalEntityCompanyVerification' with all required
-- fields.
mkLegalEntityCompanyVerification' :: LegalEntityCompanyVerification'
instance GHC.Classes.Eq StripeAPI.Types.LegalEntityCompany.LegalEntityCompanyAddressKana'
instance GHC.Show.Show StripeAPI.Types.LegalEntityCompany.LegalEntityCompanyAddressKana'
instance GHC.Classes.Eq StripeAPI.Types.LegalEntityCompany.LegalEntityCompanyAddressKanji'
instance GHC.Show.Show StripeAPI.Types.LegalEntityCompany.LegalEntityCompanyAddressKanji'
instance GHC.Classes.Eq StripeAPI.Types.LegalEntityCompany.LegalEntityCompanyStructure'
instance GHC.Show.Show StripeAPI.Types.LegalEntityCompany.LegalEntityCompanyStructure'
instance GHC.Classes.Eq StripeAPI.Types.LegalEntityCompany.LegalEntityCompanyVerification'
instance GHC.Show.Show StripeAPI.Types.LegalEntityCompany.LegalEntityCompanyVerification'
instance GHC.Classes.Eq StripeAPI.Types.LegalEntityCompany.LegalEntityCompany
instance GHC.Show.Show StripeAPI.Types.LegalEntityCompany.LegalEntityCompany
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.LegalEntityCompany.LegalEntityCompany
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.LegalEntityCompany.LegalEntityCompany
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.LegalEntityCompany.LegalEntityCompanyVerification'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.LegalEntityCompany.LegalEntityCompanyVerification'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.LegalEntityCompany.LegalEntityCompanyStructure'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.LegalEntityCompany.LegalEntityCompanyStructure'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.LegalEntityCompany.LegalEntityCompanyAddressKanji'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.LegalEntityCompany.LegalEntityCompanyAddressKanji'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.LegalEntityCompany.LegalEntityCompanyAddressKana'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.LegalEntityCompany.LegalEntityCompanyAddressKana'
-- | Contains the types generated from the schema LegalEntityJapanAddress
module StripeAPI.Types.LegalEntityJapanAddress
-- | Defines the object schema located at
-- components.schemas.legal_entity_japan_address in the
-- specification.
data LegalEntityJapanAddress
LegalEntityJapanAddress :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> LegalEntityJapanAddress
-- | city: City/Ward.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[legalEntityJapanAddressCity] :: LegalEntityJapanAddress -> Maybe Text
-- | country: Two-letter country code ([ISO 3166-1
-- alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[legalEntityJapanAddressCountry] :: LegalEntityJapanAddress -> Maybe Text
-- | line1: Block/Building number.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[legalEntityJapanAddressLine1] :: LegalEntityJapanAddress -> Maybe Text
-- | line2: Building details.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[legalEntityJapanAddressLine2] :: LegalEntityJapanAddress -> Maybe Text
-- | postal_code: ZIP or postal code.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[legalEntityJapanAddressPostalCode] :: LegalEntityJapanAddress -> Maybe Text
-- | state: Prefecture.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[legalEntityJapanAddressState] :: LegalEntityJapanAddress -> Maybe Text
-- | town: Town/cho-me.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[legalEntityJapanAddressTown] :: LegalEntityJapanAddress -> Maybe Text
-- | Create a new LegalEntityJapanAddress with all required fields.
mkLegalEntityJapanAddress :: LegalEntityJapanAddress
instance GHC.Classes.Eq StripeAPI.Types.LegalEntityJapanAddress.LegalEntityJapanAddress
instance GHC.Show.Show StripeAPI.Types.LegalEntityJapanAddress.LegalEntityJapanAddress
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.LegalEntityJapanAddress.LegalEntityJapanAddress
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.LegalEntityJapanAddress.LegalEntityJapanAddress
-- | Contains the types generated from the schema
-- LegalEntityPersonVerification
module StripeAPI.Types.LegalEntityPersonVerification
-- | Defines the object schema located at
-- components.schemas.legal_entity_person_verification in the
-- specification.
data LegalEntityPersonVerification
LegalEntityPersonVerification :: Maybe LegalEntityPersonVerificationAdditionalDocument' -> Maybe Text -> Maybe Text -> Maybe LegalEntityPersonVerificationDocument -> Text -> LegalEntityPersonVerification
-- | additional_document: A document showing address, either a passport,
-- local ID card, or utility bill from a well-known utility company.
[legalEntityPersonVerificationAdditionalDocument] :: LegalEntityPersonVerification -> Maybe LegalEntityPersonVerificationAdditionalDocument'
-- | details: A user-displayable string describing the verification state
-- for the person. For example, this may say "Provided identity
-- information could not be verified".
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[legalEntityPersonVerificationDetails] :: LegalEntityPersonVerification -> Maybe Text
-- | details_code: One of `document_address_mismatch`,
-- `document_dob_mismatch`, `document_duplicate_type`,
-- `document_id_number_mismatch`, `document_name_mismatch`,
-- `document_nationality_mismatch`, `failed_keyed_identity`, or
-- `failed_other`. A machine-readable code specifying the verification
-- state for the person.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[legalEntityPersonVerificationDetailsCode] :: LegalEntityPersonVerification -> Maybe Text
-- | document:
[legalEntityPersonVerificationDocument] :: LegalEntityPersonVerification -> Maybe LegalEntityPersonVerificationDocument
-- | status: The state of verification for the person. Possible values are
-- `unverified`, `pending`, or `verified`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[legalEntityPersonVerificationStatus] :: LegalEntityPersonVerification -> Text
-- | Create a new LegalEntityPersonVerification with all required
-- fields.
mkLegalEntityPersonVerification :: Text -> LegalEntityPersonVerification
-- | Defines the object schema located at
-- components.schemas.legal_entity_person_verification.properties.additional_document.anyOf
-- in the specification.
--
-- A document showing address, either a passport, local ID card, or
-- utility bill from a well-known utility company.
data LegalEntityPersonVerificationAdditionalDocument'
LegalEntityPersonVerificationAdditionalDocument' :: Maybe LegalEntityPersonVerificationAdditionalDocument'Back'Variants -> Maybe Text -> Maybe Text -> Maybe LegalEntityPersonVerificationAdditionalDocument'Front'Variants -> LegalEntityPersonVerificationAdditionalDocument'
-- | back: The back of an ID returned by a file upload with a
-- `purpose` value of `identity_document`.
[legalEntityPersonVerificationAdditionalDocument'Back] :: LegalEntityPersonVerificationAdditionalDocument' -> Maybe LegalEntityPersonVerificationAdditionalDocument'Back'Variants
-- | details: A user-displayable string describing the verification state
-- of this document. For example, if a document is uploaded and the
-- picture is too fuzzy, this may say "Identity document is too unclear
-- to read".
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[legalEntityPersonVerificationAdditionalDocument'Details] :: LegalEntityPersonVerificationAdditionalDocument' -> Maybe Text
-- | details_code: One of `document_corrupt`,
-- `document_country_not_supported`, `document_expired`,
-- `document_failed_copy`, `document_failed_other`,
-- `document_failed_test_mode`, `document_fraudulent`,
-- `document_failed_greyscale`, `document_incomplete`,
-- `document_invalid`, `document_manipulated`, `document_missing_back`,
-- `document_missing_front`, `document_not_readable`,
-- `document_not_uploaded`, `document_photo_mismatch`,
-- `document_too_large`, or `document_type_not_supported`. A
-- machine-readable code specifying the verification state for this
-- document.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[legalEntityPersonVerificationAdditionalDocument'DetailsCode] :: LegalEntityPersonVerificationAdditionalDocument' -> Maybe Text
-- | front: The front of an ID returned by a file upload with a
-- `purpose` value of `identity_document`.
[legalEntityPersonVerificationAdditionalDocument'Front] :: LegalEntityPersonVerificationAdditionalDocument' -> Maybe LegalEntityPersonVerificationAdditionalDocument'Front'Variants
-- | Create a new LegalEntityPersonVerificationAdditionalDocument'
-- with all required fields.
mkLegalEntityPersonVerificationAdditionalDocument' :: LegalEntityPersonVerificationAdditionalDocument'
-- | Defines the oneOf schema located at
-- components.schemas.legal_entity_person_verification.properties.additional_document.anyOf.properties.back.anyOf
-- in the specification.
--
-- The back of an ID returned by a file upload with a `purpose`
-- value of `identity_document`.
data LegalEntityPersonVerificationAdditionalDocument'Back'Variants
LegalEntityPersonVerificationAdditionalDocument'Back'Text :: Text -> LegalEntityPersonVerificationAdditionalDocument'Back'Variants
LegalEntityPersonVerificationAdditionalDocument'Back'File :: File -> LegalEntityPersonVerificationAdditionalDocument'Back'Variants
-- | Defines the oneOf schema located at
-- components.schemas.legal_entity_person_verification.properties.additional_document.anyOf.properties.front.anyOf
-- in the specification.
--
-- The front of an ID returned by a file upload with a `purpose`
-- value of `identity_document`.
data LegalEntityPersonVerificationAdditionalDocument'Front'Variants
LegalEntityPersonVerificationAdditionalDocument'Front'Text :: Text -> LegalEntityPersonVerificationAdditionalDocument'Front'Variants
LegalEntityPersonVerificationAdditionalDocument'Front'File :: File -> LegalEntityPersonVerificationAdditionalDocument'Front'Variants
instance GHC.Classes.Eq StripeAPI.Types.LegalEntityPersonVerification.LegalEntityPersonVerificationAdditionalDocument'Back'Variants
instance GHC.Show.Show StripeAPI.Types.LegalEntityPersonVerification.LegalEntityPersonVerificationAdditionalDocument'Back'Variants
instance GHC.Classes.Eq StripeAPI.Types.LegalEntityPersonVerification.LegalEntityPersonVerificationAdditionalDocument'Front'Variants
instance GHC.Show.Show StripeAPI.Types.LegalEntityPersonVerification.LegalEntityPersonVerificationAdditionalDocument'Front'Variants
instance GHC.Classes.Eq StripeAPI.Types.LegalEntityPersonVerification.LegalEntityPersonVerificationAdditionalDocument'
instance GHC.Show.Show StripeAPI.Types.LegalEntityPersonVerification.LegalEntityPersonVerificationAdditionalDocument'
instance GHC.Classes.Eq StripeAPI.Types.LegalEntityPersonVerification.LegalEntityPersonVerification
instance GHC.Show.Show StripeAPI.Types.LegalEntityPersonVerification.LegalEntityPersonVerification
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.LegalEntityPersonVerification.LegalEntityPersonVerification
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.LegalEntityPersonVerification.LegalEntityPersonVerification
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.LegalEntityPersonVerification.LegalEntityPersonVerificationAdditionalDocument'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.LegalEntityPersonVerification.LegalEntityPersonVerificationAdditionalDocument'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.LegalEntityPersonVerification.LegalEntityPersonVerificationAdditionalDocument'Front'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.LegalEntityPersonVerification.LegalEntityPersonVerificationAdditionalDocument'Front'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.LegalEntityPersonVerification.LegalEntityPersonVerificationAdditionalDocument'Back'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.LegalEntityPersonVerification.LegalEntityPersonVerificationAdditionalDocument'Back'Variants
-- | Contains the types generated from the schema
-- LegalEntityPersonVerificationDocument
module StripeAPI.Types.LegalEntityPersonVerificationDocument
-- | Defines the object schema located at
-- components.schemas.legal_entity_person_verification_document
-- in the specification.
data LegalEntityPersonVerificationDocument
LegalEntityPersonVerificationDocument :: Maybe LegalEntityPersonVerificationDocumentBack'Variants -> Maybe Text -> Maybe Text -> Maybe LegalEntityPersonVerificationDocumentFront'Variants -> LegalEntityPersonVerificationDocument
-- | back: The back of an ID returned by a file upload with a
-- `purpose` value of `identity_document`.
[legalEntityPersonVerificationDocumentBack] :: LegalEntityPersonVerificationDocument -> Maybe LegalEntityPersonVerificationDocumentBack'Variants
-- | details: A user-displayable string describing the verification state
-- of this document. For example, if a document is uploaded and the
-- picture is too fuzzy, this may say "Identity document is too unclear
-- to read".
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[legalEntityPersonVerificationDocumentDetails] :: LegalEntityPersonVerificationDocument -> Maybe Text
-- | details_code: One of `document_corrupt`,
-- `document_country_not_supported`, `document_expired`,
-- `document_failed_copy`, `document_failed_other`,
-- `document_failed_test_mode`, `document_fraudulent`,
-- `document_failed_greyscale`, `document_incomplete`,
-- `document_invalid`, `document_manipulated`, `document_missing_back`,
-- `document_missing_front`, `document_not_readable`,
-- `document_not_uploaded`, `document_photo_mismatch`,
-- `document_too_large`, or `document_type_not_supported`. A
-- machine-readable code specifying the verification state for this
-- document.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[legalEntityPersonVerificationDocumentDetailsCode] :: LegalEntityPersonVerificationDocument -> Maybe Text
-- | front: The front of an ID returned by a file upload with a
-- `purpose` value of `identity_document`.
[legalEntityPersonVerificationDocumentFront] :: LegalEntityPersonVerificationDocument -> Maybe LegalEntityPersonVerificationDocumentFront'Variants
-- | Create a new LegalEntityPersonVerificationDocument with all
-- required fields.
mkLegalEntityPersonVerificationDocument :: LegalEntityPersonVerificationDocument
-- | Defines the oneOf schema located at
-- components.schemas.legal_entity_person_verification_document.properties.back.anyOf
-- in the specification.
--
-- The back of an ID returned by a file upload with a `purpose`
-- value of `identity_document`.
data LegalEntityPersonVerificationDocumentBack'Variants
LegalEntityPersonVerificationDocumentBack'Text :: Text -> LegalEntityPersonVerificationDocumentBack'Variants
LegalEntityPersonVerificationDocumentBack'File :: File -> LegalEntityPersonVerificationDocumentBack'Variants
-- | Defines the oneOf schema located at
-- components.schemas.legal_entity_person_verification_document.properties.front.anyOf
-- in the specification.
--
-- The front of an ID returned by a file upload with a `purpose`
-- value of `identity_document`.
data LegalEntityPersonVerificationDocumentFront'Variants
LegalEntityPersonVerificationDocumentFront'Text :: Text -> LegalEntityPersonVerificationDocumentFront'Variants
LegalEntityPersonVerificationDocumentFront'File :: File -> LegalEntityPersonVerificationDocumentFront'Variants
instance GHC.Classes.Eq StripeAPI.Types.LegalEntityPersonVerificationDocument.LegalEntityPersonVerificationDocumentBack'Variants
instance GHC.Show.Show StripeAPI.Types.LegalEntityPersonVerificationDocument.LegalEntityPersonVerificationDocumentBack'Variants
instance GHC.Classes.Eq StripeAPI.Types.LegalEntityPersonVerificationDocument.LegalEntityPersonVerificationDocumentFront'Variants
instance GHC.Show.Show StripeAPI.Types.LegalEntityPersonVerificationDocument.LegalEntityPersonVerificationDocumentFront'Variants
instance GHC.Classes.Eq StripeAPI.Types.LegalEntityPersonVerificationDocument.LegalEntityPersonVerificationDocument
instance GHC.Show.Show StripeAPI.Types.LegalEntityPersonVerificationDocument.LegalEntityPersonVerificationDocument
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.LegalEntityPersonVerificationDocument.LegalEntityPersonVerificationDocument
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.LegalEntityPersonVerificationDocument.LegalEntityPersonVerificationDocument
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.LegalEntityPersonVerificationDocument.LegalEntityPersonVerificationDocumentFront'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.LegalEntityPersonVerificationDocument.LegalEntityPersonVerificationDocumentFront'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.LegalEntityPersonVerificationDocument.LegalEntityPersonVerificationDocumentBack'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.LegalEntityPersonVerificationDocument.LegalEntityPersonVerificationDocumentBack'Variants
-- | Contains the types generated from the schema LineItemsDiscountAmount
module StripeAPI.Types.LineItemsDiscountAmount
-- | Defines the object schema located at
-- components.schemas.line_items_discount_amount in the
-- specification.
data LineItemsDiscountAmount
LineItemsDiscountAmount :: Int -> Discount -> LineItemsDiscountAmount
-- | amount: The amount discounted.
[lineItemsDiscountAmountAmount] :: LineItemsDiscountAmount -> Int
-- | discount: A discount represents the actual application of a coupon to
-- a particular customer. It contains information about when the discount
-- began and when it will end.
--
-- Related guide: Applying Discounts to Subscriptions.
[lineItemsDiscountAmountDiscount] :: LineItemsDiscountAmount -> Discount
-- | Create a new LineItemsDiscountAmount with all required fields.
mkLineItemsDiscountAmount :: Int -> Discount -> LineItemsDiscountAmount
instance GHC.Classes.Eq StripeAPI.Types.LineItemsDiscountAmount.LineItemsDiscountAmount
instance GHC.Show.Show StripeAPI.Types.LineItemsDiscountAmount.LineItemsDiscountAmount
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.LineItemsDiscountAmount.LineItemsDiscountAmount
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.LineItemsDiscountAmount.LineItemsDiscountAmount
-- | Contains the types generated from the schema LoginLink
module StripeAPI.Types.LoginLink
-- | Defines the object schema located at
-- components.schemas.login_link in the specification.
data LoginLink
LoginLink :: Int -> Text -> LoginLink
-- | created: Time at which the object was created. Measured in seconds
-- since the Unix epoch.
[loginLinkCreated] :: LoginLink -> Int
-- | url: The URL for the login link.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[loginLinkUrl] :: LoginLink -> Text
-- | Create a new LoginLink with all required fields.
mkLoginLink :: Int -> Text -> LoginLink
instance GHC.Classes.Eq StripeAPI.Types.LoginLink.LoginLink
instance GHC.Show.Show StripeAPI.Types.LoginLink.LoginLink
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.LoginLink.LoginLink
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.LoginLink.LoginLink
-- | Contains the types generated from the schema MandateAcssDebit
module StripeAPI.Types.MandateAcssDebit
-- | Defines the object schema located at
-- components.schemas.mandate_acss_debit in the specification.
data MandateAcssDebit
MandateAcssDebit :: Maybe Text -> MandateAcssDebitPaymentSchedule' -> MandateAcssDebitTransactionType' -> MandateAcssDebit
-- | interval_description: Description of the interval. Only required if
-- 'payment_schedule' parmeter is 'interval' or 'combined'.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[mandateAcssDebitIntervalDescription] :: MandateAcssDebit -> Maybe Text
-- | payment_schedule: Payment schedule for the mandate.
[mandateAcssDebitPaymentSchedule] :: MandateAcssDebit -> MandateAcssDebitPaymentSchedule'
-- | transaction_type: Transaction type of the mandate.
[mandateAcssDebitTransactionType] :: MandateAcssDebit -> MandateAcssDebitTransactionType'
-- | Create a new MandateAcssDebit with all required fields.
mkMandateAcssDebit :: MandateAcssDebitPaymentSchedule' -> MandateAcssDebitTransactionType' -> MandateAcssDebit
-- | Defines the enum schema located at
-- components.schemas.mandate_acss_debit.properties.payment_schedule
-- in the specification.
--
-- Payment schedule for the mandate.
data MandateAcssDebitPaymentSchedule'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
MandateAcssDebitPaymentSchedule'Other :: Value -> MandateAcssDebitPaymentSchedule'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
MandateAcssDebitPaymentSchedule'Typed :: Text -> MandateAcssDebitPaymentSchedule'
-- | Represents the JSON value "combined"
MandateAcssDebitPaymentSchedule'EnumCombined :: MandateAcssDebitPaymentSchedule'
-- | Represents the JSON value "interval"
MandateAcssDebitPaymentSchedule'EnumInterval :: MandateAcssDebitPaymentSchedule'
-- | Represents the JSON value "sporadic"
MandateAcssDebitPaymentSchedule'EnumSporadic :: MandateAcssDebitPaymentSchedule'
-- | Defines the enum schema located at
-- components.schemas.mandate_acss_debit.properties.transaction_type
-- in the specification.
--
-- Transaction type of the mandate.
data MandateAcssDebitTransactionType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
MandateAcssDebitTransactionType'Other :: Value -> MandateAcssDebitTransactionType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
MandateAcssDebitTransactionType'Typed :: Text -> MandateAcssDebitTransactionType'
-- | Represents the JSON value "business"
MandateAcssDebitTransactionType'EnumBusiness :: MandateAcssDebitTransactionType'
-- | Represents the JSON value "personal"
MandateAcssDebitTransactionType'EnumPersonal :: MandateAcssDebitTransactionType'
instance GHC.Classes.Eq StripeAPI.Types.MandateAcssDebit.MandateAcssDebitPaymentSchedule'
instance GHC.Show.Show StripeAPI.Types.MandateAcssDebit.MandateAcssDebitPaymentSchedule'
instance GHC.Classes.Eq StripeAPI.Types.MandateAcssDebit.MandateAcssDebitTransactionType'
instance GHC.Show.Show StripeAPI.Types.MandateAcssDebit.MandateAcssDebitTransactionType'
instance GHC.Classes.Eq StripeAPI.Types.MandateAcssDebit.MandateAcssDebit
instance GHC.Show.Show StripeAPI.Types.MandateAcssDebit.MandateAcssDebit
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.MandateAcssDebit.MandateAcssDebit
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.MandateAcssDebit.MandateAcssDebit
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.MandateAcssDebit.MandateAcssDebitTransactionType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.MandateAcssDebit.MandateAcssDebitTransactionType'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.MandateAcssDebit.MandateAcssDebitPaymentSchedule'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.MandateAcssDebit.MandateAcssDebitPaymentSchedule'
-- | Contains the types generated from the schema MandateAuBecsDebit
module StripeAPI.Types.MandateAuBecsDebit
-- | Defines the object schema located at
-- components.schemas.mandate_au_becs_debit in the
-- specification.
data MandateAuBecsDebit
MandateAuBecsDebit :: Text -> MandateAuBecsDebit
-- | url: The URL of the mandate. This URL generally contains sensitive
-- information about the customer and should be shared with them
-- exclusively.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[mandateAuBecsDebitUrl] :: MandateAuBecsDebit -> Text
-- | Create a new MandateAuBecsDebit with all required fields.
mkMandateAuBecsDebit :: Text -> MandateAuBecsDebit
instance GHC.Classes.Eq StripeAPI.Types.MandateAuBecsDebit.MandateAuBecsDebit
instance GHC.Show.Show StripeAPI.Types.MandateAuBecsDebit.MandateAuBecsDebit
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.MandateAuBecsDebit.MandateAuBecsDebit
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.MandateAuBecsDebit.MandateAuBecsDebit
-- | Contains the types generated from the schema MandateBacsDebit
module StripeAPI.Types.MandateBacsDebit
-- | Defines the object schema located at
-- components.schemas.mandate_bacs_debit in the specification.
data MandateBacsDebit
MandateBacsDebit :: MandateBacsDebitNetworkStatus' -> Text -> Text -> MandateBacsDebit
-- | network_status: The status of the mandate on the Bacs network. Can be
-- one of `pending`, `revoked`, `refused`, or `accepted`.
[mandateBacsDebitNetworkStatus] :: MandateBacsDebit -> MandateBacsDebitNetworkStatus'
-- | reference: The unique reference identifying the mandate on the Bacs
-- network.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[mandateBacsDebitReference] :: MandateBacsDebit -> Text
-- | url: The URL that will contain the mandate that the customer has
-- signed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[mandateBacsDebitUrl] :: MandateBacsDebit -> Text
-- | Create a new MandateBacsDebit with all required fields.
mkMandateBacsDebit :: MandateBacsDebitNetworkStatus' -> Text -> Text -> MandateBacsDebit
-- | Defines the enum schema located at
-- components.schemas.mandate_bacs_debit.properties.network_status
-- in the specification.
--
-- The status of the mandate on the Bacs network. Can be one of
-- `pending`, `revoked`, `refused`, or `accepted`.
data MandateBacsDebitNetworkStatus'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
MandateBacsDebitNetworkStatus'Other :: Value -> MandateBacsDebitNetworkStatus'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
MandateBacsDebitNetworkStatus'Typed :: Text -> MandateBacsDebitNetworkStatus'
-- | Represents the JSON value "accepted"
MandateBacsDebitNetworkStatus'EnumAccepted :: MandateBacsDebitNetworkStatus'
-- | Represents the JSON value "pending"
MandateBacsDebitNetworkStatus'EnumPending :: MandateBacsDebitNetworkStatus'
-- | Represents the JSON value "refused"
MandateBacsDebitNetworkStatus'EnumRefused :: MandateBacsDebitNetworkStatus'
-- | Represents the JSON value "revoked"
MandateBacsDebitNetworkStatus'EnumRevoked :: MandateBacsDebitNetworkStatus'
instance GHC.Classes.Eq StripeAPI.Types.MandateBacsDebit.MandateBacsDebitNetworkStatus'
instance GHC.Show.Show StripeAPI.Types.MandateBacsDebit.MandateBacsDebitNetworkStatus'
instance GHC.Classes.Eq StripeAPI.Types.MandateBacsDebit.MandateBacsDebit
instance GHC.Show.Show StripeAPI.Types.MandateBacsDebit.MandateBacsDebit
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.MandateBacsDebit.MandateBacsDebit
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.MandateBacsDebit.MandateBacsDebit
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.MandateBacsDebit.MandateBacsDebitNetworkStatus'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.MandateBacsDebit.MandateBacsDebitNetworkStatus'
-- | Contains the types generated from the schema
-- MandatePaymentMethodDetails
module StripeAPI.Types.MandatePaymentMethodDetails
-- | Defines the object schema located at
-- components.schemas.mandate_payment_method_details in the
-- specification.
data MandatePaymentMethodDetails
MandatePaymentMethodDetails :: Maybe MandateAcssDebit -> Maybe MandateAuBecsDebit -> Maybe MandateBacsDebit -> Maybe CardMandatePaymentMethodDetails -> Maybe MandateSepaDebit -> Text -> MandatePaymentMethodDetails
-- | acss_debit:
[mandatePaymentMethodDetailsAcssDebit] :: MandatePaymentMethodDetails -> Maybe MandateAcssDebit
-- | au_becs_debit:
[mandatePaymentMethodDetailsAuBecsDebit] :: MandatePaymentMethodDetails -> Maybe MandateAuBecsDebit
-- | bacs_debit:
[mandatePaymentMethodDetailsBacsDebit] :: MandatePaymentMethodDetails -> Maybe MandateBacsDebit
-- | card:
[mandatePaymentMethodDetailsCard] :: MandatePaymentMethodDetails -> Maybe CardMandatePaymentMethodDetails
-- | sepa_debit:
[mandatePaymentMethodDetailsSepaDebit] :: MandatePaymentMethodDetails -> Maybe MandateSepaDebit
-- | type: The type of the payment method associated with this mandate. An
-- additional hash is included on `payment_method_details` with a name
-- matching this value. It contains mandate information specific to the
-- payment method.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[mandatePaymentMethodDetailsType] :: MandatePaymentMethodDetails -> Text
-- | Create a new MandatePaymentMethodDetails with all required
-- fields.
mkMandatePaymentMethodDetails :: Text -> MandatePaymentMethodDetails
instance GHC.Classes.Eq StripeAPI.Types.MandatePaymentMethodDetails.MandatePaymentMethodDetails
instance GHC.Show.Show StripeAPI.Types.MandatePaymentMethodDetails.MandatePaymentMethodDetails
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.MandatePaymentMethodDetails.MandatePaymentMethodDetails
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.MandatePaymentMethodDetails.MandatePaymentMethodDetails
-- | Contains the types generated from the schema MandateSepaDebit
module StripeAPI.Types.MandateSepaDebit
-- | Defines the object schema located at
-- components.schemas.mandate_sepa_debit in the specification.
data MandateSepaDebit
MandateSepaDebit :: Text -> Text -> MandateSepaDebit
-- | reference: The unique reference of the mandate.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[mandateSepaDebitReference] :: MandateSepaDebit -> Text
-- | url: The URL of the mandate. This URL generally contains sensitive
-- information about the customer and should be shared with them
-- exclusively.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[mandateSepaDebitUrl] :: MandateSepaDebit -> Text
-- | Create a new MandateSepaDebit with all required fields.
mkMandateSepaDebit :: Text -> Text -> MandateSepaDebit
instance GHC.Classes.Eq StripeAPI.Types.MandateSepaDebit.MandateSepaDebit
instance GHC.Show.Show StripeAPI.Types.MandateSepaDebit.MandateSepaDebit
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.MandateSepaDebit.MandateSepaDebit
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.MandateSepaDebit.MandateSepaDebit
-- | Contains the types generated from the schema MandateSingleUse
module StripeAPI.Types.MandateSingleUse
-- | Defines the object schema located at
-- components.schemas.mandate_single_use in the specification.
data MandateSingleUse
MandateSingleUse :: Int -> Text -> MandateSingleUse
-- | amount: On a single use mandate, the amount of the payment.
[mandateSingleUseAmount] :: MandateSingleUse -> Int
-- | currency: On a single use mandate, the currency of the payment.
[mandateSingleUseCurrency] :: MandateSingleUse -> Text
-- | Create a new MandateSingleUse with all required fields.
mkMandateSingleUse :: Int -> Text -> MandateSingleUse
instance GHC.Classes.Eq StripeAPI.Types.MandateSingleUse.MandateSingleUse
instance GHC.Show.Show StripeAPI.Types.MandateSingleUse.MandateSingleUse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.MandateSingleUse.MandateSingleUse
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.MandateSingleUse.MandateSingleUse
-- | Contains the types generated from the schema Networks
module StripeAPI.Types.Networks
-- | Defines the object schema located at
-- components.schemas.networks in the specification.
data Networks
Networks :: [Text] -> Maybe Text -> Networks
-- | available: All available networks for the card.
[networksAvailable] :: Networks -> [Text]
-- | preferred: The preferred network for the card.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[networksPreferred] :: Networks -> Maybe Text
-- | Create a new Networks with all required fields.
mkNetworks :: [Text] -> Networks
instance GHC.Classes.Eq StripeAPI.Types.Networks.Networks
instance GHC.Show.Show StripeAPI.Types.Networks.Networks
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Networks.Networks
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Networks.Networks
-- | Contains the types generated from the schema NotificationEventData
module StripeAPI.Types.NotificationEventData
-- | Defines the object schema located at
-- components.schemas.notification_event_data in the
-- specification.
data NotificationEventData
NotificationEventData :: Object -> Maybe Object -> NotificationEventData
-- | object: Object containing the API resource relevant to the event. For
-- example, an `invoice.created` event will have a full invoice
-- object as the value of the object key.
[notificationEventDataObject] :: NotificationEventData -> Object
-- | previous_attributes: Object containing the names of the attributes
-- that have changed, and their previous values (sent along only with
-- *.updated events).
[notificationEventDataPreviousAttributes] :: NotificationEventData -> Maybe Object
-- | Create a new NotificationEventData with all required fields.
mkNotificationEventData :: Object -> NotificationEventData
instance GHC.Classes.Eq StripeAPI.Types.NotificationEventData.NotificationEventData
instance GHC.Show.Show StripeAPI.Types.NotificationEventData.NotificationEventData
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.NotificationEventData.NotificationEventData
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.NotificationEventData.NotificationEventData
-- | Contains the types generated from the schema Event
module StripeAPI.Types.Event
-- | Defines the object schema located at components.schemas.event
-- in the specification.
--
-- Events are our way of letting you know when something interesting
-- happens in your account. When an interesting event occurs, we create a
-- new `Event` object. For example, when a charge succeeds, we create a
-- `charge.succeeded` event; and when an invoice payment attempt fails,
-- we create an `invoice.payment_failed` event. Note that many API
-- requests may cause multiple events to be created. For example, if you
-- create a new subscription for a customer, you will receive both a
-- `customer.subscription.created` event and a `charge.succeeded` event.
--
-- Events occur when the state of another API resource changes. The state
-- of that resource at the time of the change is embedded in the event's
-- data field. For example, a `charge.succeeded` event will contain a
-- charge, and an `invoice.payment_failed` event will contain an invoice.
--
-- As with other API resources, you can use endpoints to retrieve an
-- individual event or a list of events from the API. We
-- also have a separate webhooks system for sending the `Event`
-- objects directly to an endpoint on your server. Webhooks are managed
-- in your account settings, and our Using Webhooks guide
-- will help you get set up.
--
-- When using Connect, you can also receive notifications of
-- events that occur in connected accounts. For these events, there will
-- be an additional `account` attribute in the received `Event` object.
--
--
-- - *NOTE:** Right now, access to events through the Retrieve Event
-- API is guaranteed only for 30 days.
--
data Event
Event :: Maybe Text -> Maybe Text -> Int -> NotificationEventData -> Text -> Bool -> Int -> Maybe EventRequest' -> Text -> Event
-- | account: The connected account that originated the event.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[eventAccount] :: Event -> Maybe Text
-- | api_version: The Stripe API version used to render `data`. *Note: This
-- property is populated only for events on or after October 31, 2014*.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[eventApiVersion] :: Event -> Maybe Text
-- | created: Time at which the object was created. Measured in seconds
-- since the Unix epoch.
[eventCreated] :: Event -> Int
-- | data:
[eventData] :: Event -> NotificationEventData
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[eventId] :: Event -> Text
-- | livemode: Has the value `true` if the object exists in live mode or
-- the value `false` if the object exists in test mode.
[eventLivemode] :: Event -> Bool
-- | pending_webhooks: Number of webhooks that have yet to be successfully
-- delivered (i.e., to return a 20x response) to the URLs you've
-- specified.
[eventPendingWebhooks] :: Event -> Int
-- | request: Information on the API request that instigated the event.
[eventRequest] :: Event -> Maybe EventRequest'
-- | type: Description of the event (e.g., `invoice.created` or
-- `charge.refunded`).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[eventType] :: Event -> Text
-- | Create a new Event with all required fields.
mkEvent :: Int -> NotificationEventData -> Text -> Bool -> Int -> Text -> Event
-- | Defines the object schema located at
-- components.schemas.event.properties.request.anyOf in the
-- specification.
--
-- Information on the API request that instigated the event.
data EventRequest'
EventRequest' :: Maybe Text -> Maybe Text -> EventRequest'
-- | id: ID of the API request that caused the event. If null, the event
-- was automatic (e.g., Stripe's automatic subscription handling).
-- Request logs are available in the dashboard, but currently not
-- in the API.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[eventRequest'Id] :: EventRequest' -> Maybe Text
-- | idempotency_key: The idempotency key transmitted during the request,
-- if any. *Note: This property is populated only for events on or after
-- May 23, 2017*.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[eventRequest'IdempotencyKey] :: EventRequest' -> Maybe Text
-- | Create a new EventRequest' with all required fields.
mkEventRequest' :: EventRequest'
instance GHC.Classes.Eq StripeAPI.Types.Event.EventRequest'
instance GHC.Show.Show StripeAPI.Types.Event.EventRequest'
instance GHC.Classes.Eq StripeAPI.Types.Event.Event
instance GHC.Show.Show StripeAPI.Types.Event.Event
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Event.Event
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Event.Event
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Event.EventRequest'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Event.EventRequest'
-- | Contains the types generated from the schema NotificationEventRequest
module StripeAPI.Types.NotificationEventRequest
-- | Defines the object schema located at
-- components.schemas.notification_event_request in the
-- specification.
data NotificationEventRequest
NotificationEventRequest :: Maybe Text -> Maybe Text -> NotificationEventRequest
-- | id: ID of the API request that caused the event. If null, the event
-- was automatic (e.g., Stripe's automatic subscription handling).
-- Request logs are available in the dashboard, but currently not
-- in the API.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[notificationEventRequestId] :: NotificationEventRequest -> Maybe Text
-- | idempotency_key: The idempotency key transmitted during the request,
-- if any. *Note: This property is populated only for events on or after
-- May 23, 2017*.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[notificationEventRequestIdempotencyKey] :: NotificationEventRequest -> Maybe Text
-- | Create a new NotificationEventRequest with all required fields.
mkNotificationEventRequest :: NotificationEventRequest
instance GHC.Classes.Eq StripeAPI.Types.NotificationEventRequest.NotificationEventRequest
instance GHC.Show.Show StripeAPI.Types.NotificationEventRequest.NotificationEventRequest
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.NotificationEventRequest.NotificationEventRequest
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.NotificationEventRequest.NotificationEventRequest
-- | Contains the types generated from the schema CustomerAcceptance
module StripeAPI.Types.CustomerAcceptance
-- | Defines the object schema located at
-- components.schemas.customer_acceptance in the specification.
data CustomerAcceptance
CustomerAcceptance :: Maybe Int -> Maybe OfflineAcceptance -> Maybe OnlineAcceptance -> CustomerAcceptanceType' -> CustomerAcceptance
-- | accepted_at: The time at which the customer accepted the Mandate.
[customerAcceptanceAcceptedAt] :: CustomerAcceptance -> Maybe Int
-- | offline:
[customerAcceptanceOffline] :: CustomerAcceptance -> Maybe OfflineAcceptance
-- | online:
[customerAcceptanceOnline] :: CustomerAcceptance -> Maybe OnlineAcceptance
-- | type: The type of customer acceptance information included with the
-- Mandate. One of `online` or `offline`.
[customerAcceptanceType] :: CustomerAcceptance -> CustomerAcceptanceType'
-- | Create a new CustomerAcceptance with all required fields.
mkCustomerAcceptance :: CustomerAcceptanceType' -> CustomerAcceptance
-- | Defines the enum schema located at
-- components.schemas.customer_acceptance.properties.type in the
-- specification.
--
-- The type of customer acceptance information included with the Mandate.
-- One of `online` or `offline`.
data CustomerAcceptanceType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
CustomerAcceptanceType'Other :: Value -> CustomerAcceptanceType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
CustomerAcceptanceType'Typed :: Text -> CustomerAcceptanceType'
-- | Represents the JSON value "offline"
CustomerAcceptanceType'EnumOffline :: CustomerAcceptanceType'
-- | Represents the JSON value "online"
CustomerAcceptanceType'EnumOnline :: CustomerAcceptanceType'
instance GHC.Classes.Eq StripeAPI.Types.CustomerAcceptance.CustomerAcceptanceType'
instance GHC.Show.Show StripeAPI.Types.CustomerAcceptance.CustomerAcceptanceType'
instance GHC.Classes.Eq StripeAPI.Types.CustomerAcceptance.CustomerAcceptance
instance GHC.Show.Show StripeAPI.Types.CustomerAcceptance.CustomerAcceptance
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.CustomerAcceptance.CustomerAcceptance
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.CustomerAcceptance.CustomerAcceptance
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.CustomerAcceptance.CustomerAcceptanceType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.CustomerAcceptance.CustomerAcceptanceType'
-- | Contains the types generated from the schema OnlineAcceptance
module StripeAPI.Types.OnlineAcceptance
-- | Defines the object schema located at
-- components.schemas.online_acceptance in the specification.
data OnlineAcceptance
OnlineAcceptance :: Maybe Text -> Maybe Text -> OnlineAcceptance
-- | ip_address: The IP address from which the Mandate was accepted by the
-- customer.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[onlineAcceptanceIpAddress] :: OnlineAcceptance -> Maybe Text
-- | user_agent: The user agent of the browser from which the Mandate was
-- accepted by the customer.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[onlineAcceptanceUserAgent] :: OnlineAcceptance -> Maybe Text
-- | Create a new OnlineAcceptance with all required fields.
mkOnlineAcceptance :: OnlineAcceptance
instance GHC.Classes.Eq StripeAPI.Types.OnlineAcceptance.OnlineAcceptance
instance GHC.Show.Show StripeAPI.Types.OnlineAcceptance.OnlineAcceptance
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.OnlineAcceptance.OnlineAcceptance
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.OnlineAcceptance.OnlineAcceptance
-- | Contains the types generated from the schema PackageDimensions
module StripeAPI.Types.PackageDimensions
-- | Defines the object schema located at
-- components.schemas.package_dimensions in the specification.
data PackageDimensions
PackageDimensions :: Double -> Double -> Double -> Double -> PackageDimensions
-- | height: Height, in inches.
[packageDimensionsHeight] :: PackageDimensions -> Double
-- | length: Length, in inches.
[packageDimensionsLength] :: PackageDimensions -> Double
-- | weight: Weight, in ounces.
[packageDimensionsWeight] :: PackageDimensions -> Double
-- | width: Width, in inches.
[packageDimensionsWidth] :: PackageDimensions -> Double
-- | Create a new PackageDimensions with all required fields.
mkPackageDimensions :: Double -> Double -> Double -> Double -> PackageDimensions
instance GHC.Classes.Eq StripeAPI.Types.PackageDimensions.PackageDimensions
instance GHC.Show.Show StripeAPI.Types.PackageDimensions.PackageDimensions
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PackageDimensions.PackageDimensions
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PackageDimensions.PackageDimensions
-- | Contains the types generated from the schema
-- PaymentFlowsPrivatePaymentMethodsAlipayDetails
module StripeAPI.Types.PaymentFlowsPrivatePaymentMethodsAlipayDetails
-- | Defines the object schema located at
-- components.schemas.payment_flows_private_payment_methods_alipay_details
-- in the specification.
data PaymentFlowsPrivatePaymentMethodsAlipayDetails
PaymentFlowsPrivatePaymentMethodsAlipayDetails :: Maybe Text -> Maybe Text -> PaymentFlowsPrivatePaymentMethodsAlipayDetails
-- | fingerprint: Uniquely identifies this particular Alipay account. You
-- can use this attribute to check whether two Alipay accounts are the
-- same.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentFlowsPrivatePaymentMethodsAlipayDetailsFingerprint] :: PaymentFlowsPrivatePaymentMethodsAlipayDetails -> Maybe Text
-- | transaction_id: Transaction ID of this particular Alipay transaction.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentFlowsPrivatePaymentMethodsAlipayDetailsTransactionId] :: PaymentFlowsPrivatePaymentMethodsAlipayDetails -> Maybe Text
-- | Create a new PaymentFlowsPrivatePaymentMethodsAlipayDetails
-- with all required fields.
mkPaymentFlowsPrivatePaymentMethodsAlipayDetails :: PaymentFlowsPrivatePaymentMethodsAlipayDetails
instance GHC.Classes.Eq StripeAPI.Types.PaymentFlowsPrivatePaymentMethodsAlipayDetails.PaymentFlowsPrivatePaymentMethodsAlipayDetails
instance GHC.Show.Show StripeAPI.Types.PaymentFlowsPrivatePaymentMethodsAlipayDetails.PaymentFlowsPrivatePaymentMethodsAlipayDetails
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentFlowsPrivatePaymentMethodsAlipayDetails.PaymentFlowsPrivatePaymentMethodsAlipayDetails
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentFlowsPrivatePaymentMethodsAlipayDetails.PaymentFlowsPrivatePaymentMethodsAlipayDetails
-- | Contains the types generated from the schema Dispute
module StripeAPI.Types.Dispute
-- | Defines the object schema located at
-- components.schemas.dispute in the specification.
--
-- A dispute occurs when a customer questions your charge with their card
-- issuer. When this happens, you're given the opportunity to respond to
-- the dispute with evidence that shows that the charge is legitimate.
-- You can find more information about the dispute process in our
-- Disputes and Fraud documentation.
--
-- Related guide: Disputes and Fraud.
data Dispute
Dispute :: Int -> [BalanceTransaction] -> DisputeCharge'Variants -> Int -> Text -> DisputeEvidence -> DisputeEvidenceDetails -> Text -> Bool -> Bool -> Object -> Maybe DisputePaymentIntent'Variants -> Text -> DisputeStatus' -> Dispute
-- | amount: Disputed amount. Usually the amount of the charge, but can
-- differ (usually because of currency fluctuation or because only part
-- of the order is disputed).
[disputeAmount] :: Dispute -> Int
-- | balance_transactions: List of zero, one, or two balance transactions
-- that show funds withdrawn and reinstated to your Stripe account as a
-- result of this dispute.
[disputeBalanceTransactions] :: Dispute -> [BalanceTransaction]
-- | charge: ID of the charge that was disputed.
[disputeCharge] :: Dispute -> DisputeCharge'Variants
-- | created: Time at which the object was created. Measured in seconds
-- since the Unix epoch.
[disputeCreated] :: Dispute -> Int
-- | currency: Three-letter ISO currency code, in lowercase. Must be
-- a supported currency.
[disputeCurrency] :: Dispute -> Text
-- | evidence:
[disputeEvidence] :: Dispute -> DisputeEvidence
-- | evidence_details:
[disputeEvidenceDetails] :: Dispute -> DisputeEvidenceDetails
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[disputeId] :: Dispute -> Text
-- | is_charge_refundable: If true, it is still possible to refund the
-- disputed payment. Once the payment has been fully refunded, no further
-- funds will be withdrawn from your Stripe account as a result of this
-- dispute.
[disputeIsChargeRefundable] :: Dispute -> Bool
-- | livemode: Has the value `true` if the object exists in live mode or
-- the value `false` if the object exists in test mode.
[disputeLivemode] :: Dispute -> Bool
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format.
[disputeMetadata] :: Dispute -> Object
-- | payment_intent: ID of the PaymentIntent that was disputed.
[disputePaymentIntent] :: Dispute -> Maybe DisputePaymentIntent'Variants
-- | reason: Reason given by cardholder for dispute. Possible values are
-- `bank_cannot_process`, `check_returned`, `credit_not_processed`,
-- `customer_initiated`, `debit_not_authorized`, `duplicate`,
-- `fraudulent`, `general`, `incorrect_account_details`,
-- `insufficient_funds`, `product_not_received`, `product_unacceptable`,
-- `subscription_canceled`, or `unrecognized`. Read more about dispute
-- reasons.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[disputeReason] :: Dispute -> Text
-- | status: Current status of dispute. Possible values are
-- `warning_needs_response`, `warning_under_review`, `warning_closed`,
-- `needs_response`, `under_review`, `charge_refunded`, `won`, or `lost`.
[disputeStatus] :: Dispute -> DisputeStatus'
-- | Create a new Dispute with all required fields.
mkDispute :: Int -> [BalanceTransaction] -> DisputeCharge'Variants -> Int -> Text -> DisputeEvidence -> DisputeEvidenceDetails -> Text -> Bool -> Bool -> Object -> Text -> DisputeStatus' -> Dispute
-- | Defines the oneOf schema located at
-- components.schemas.dispute.properties.charge.anyOf in the
-- specification.
--
-- ID of the charge that was disputed.
data DisputeCharge'Variants
DisputeCharge'Text :: Text -> DisputeCharge'Variants
DisputeCharge'Charge :: Charge -> DisputeCharge'Variants
-- | Defines the oneOf schema located at
-- components.schemas.dispute.properties.payment_intent.anyOf in
-- the specification.
--
-- ID of the PaymentIntent that was disputed.
data DisputePaymentIntent'Variants
DisputePaymentIntent'Text :: Text -> DisputePaymentIntent'Variants
DisputePaymentIntent'PaymentIntent :: PaymentIntent -> DisputePaymentIntent'Variants
-- | Defines the enum schema located at
-- components.schemas.dispute.properties.status in the
-- specification.
--
-- Current status of dispute. Possible values are
-- `warning_needs_response`, `warning_under_review`, `warning_closed`,
-- `needs_response`, `under_review`, `charge_refunded`, `won`, or `lost`.
data DisputeStatus'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
DisputeStatus'Other :: Value -> DisputeStatus'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
DisputeStatus'Typed :: Text -> DisputeStatus'
-- | Represents the JSON value "charge_refunded"
DisputeStatus'EnumChargeRefunded :: DisputeStatus'
-- | Represents the JSON value "lost"
DisputeStatus'EnumLost :: DisputeStatus'
-- | Represents the JSON value "needs_response"
DisputeStatus'EnumNeedsResponse :: DisputeStatus'
-- | Represents the JSON value "under_review"
DisputeStatus'EnumUnderReview :: DisputeStatus'
-- | Represents the JSON value "warning_closed"
DisputeStatus'EnumWarningClosed :: DisputeStatus'
-- | Represents the JSON value "warning_needs_response"
DisputeStatus'EnumWarningNeedsResponse :: DisputeStatus'
-- | Represents the JSON value "warning_under_review"
DisputeStatus'EnumWarningUnderReview :: DisputeStatus'
-- | Represents the JSON value "won"
DisputeStatus'EnumWon :: DisputeStatus'
instance GHC.Classes.Eq StripeAPI.Types.Dispute.DisputeCharge'Variants
instance GHC.Show.Show StripeAPI.Types.Dispute.DisputeCharge'Variants
instance GHC.Classes.Eq StripeAPI.Types.Dispute.DisputePaymentIntent'Variants
instance GHC.Show.Show StripeAPI.Types.Dispute.DisputePaymentIntent'Variants
instance GHC.Classes.Eq StripeAPI.Types.Dispute.DisputeStatus'
instance GHC.Show.Show StripeAPI.Types.Dispute.DisputeStatus'
instance GHC.Classes.Eq StripeAPI.Types.Dispute.Dispute
instance GHC.Show.Show StripeAPI.Types.Dispute.Dispute
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Dispute.Dispute
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Dispute.Dispute
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Dispute.DisputeStatus'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Dispute.DisputeStatus'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Dispute.DisputePaymentIntent'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Dispute.DisputePaymentIntent'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Dispute.DisputeCharge'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Dispute.DisputeCharge'Variants
-- | Contains the types generated from the schema
-- PaymentIntentNextActionAlipayHandleRedirect
module StripeAPI.Types.PaymentIntentNextActionAlipayHandleRedirect
-- | Defines the object schema located at
-- components.schemas.payment_intent_next_action_alipay_handle_redirect
-- in the specification.
data PaymentIntentNextActionAlipayHandleRedirect
PaymentIntentNextActionAlipayHandleRedirect :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PaymentIntentNextActionAlipayHandleRedirect
-- | native_data: The native data to be used with Alipay SDK you must
-- redirect your customer to in order to authenticate the payment in an
-- Android App.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentIntentNextActionAlipayHandleRedirectNativeData] :: PaymentIntentNextActionAlipayHandleRedirect -> Maybe Text
-- | native_url: The native URL you must redirect your customer to in order
-- to authenticate the payment in an iOS App.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentIntentNextActionAlipayHandleRedirectNativeUrl] :: PaymentIntentNextActionAlipayHandleRedirect -> Maybe Text
-- | return_url: If the customer does not exit their browser while
-- authenticating, they will be redirected to this specified URL after
-- completion.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentIntentNextActionAlipayHandleRedirectReturnUrl] :: PaymentIntentNextActionAlipayHandleRedirect -> Maybe Text
-- | url: The URL you must redirect your customer to in order to
-- authenticate the payment.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentIntentNextActionAlipayHandleRedirectUrl] :: PaymentIntentNextActionAlipayHandleRedirect -> Maybe Text
-- | Create a new PaymentIntentNextActionAlipayHandleRedirect with
-- all required fields.
mkPaymentIntentNextActionAlipayHandleRedirect :: PaymentIntentNextActionAlipayHandleRedirect
instance GHC.Classes.Eq StripeAPI.Types.PaymentIntentNextActionAlipayHandleRedirect.PaymentIntentNextActionAlipayHandleRedirect
instance GHC.Show.Show StripeAPI.Types.PaymentIntentNextActionAlipayHandleRedirect.PaymentIntentNextActionAlipayHandleRedirect
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentIntentNextActionAlipayHandleRedirect.PaymentIntentNextActionAlipayHandleRedirect
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentIntentNextActionAlipayHandleRedirect.PaymentIntentNextActionAlipayHandleRedirect
-- | Contains the types generated from the schema
-- PaymentIntentNextActionBoleto
module StripeAPI.Types.PaymentIntentNextActionBoleto
-- | Defines the object schema located at
-- components.schemas.payment_intent_next_action_boleto in the
-- specification.
data PaymentIntentNextActionBoleto
PaymentIntentNextActionBoleto :: Maybe Int -> Maybe Text -> Maybe Text -> Maybe Text -> PaymentIntentNextActionBoleto
-- | expires_at: The timestamp after which the boleto expires.
[paymentIntentNextActionBoletoExpiresAt] :: PaymentIntentNextActionBoleto -> Maybe Int
-- | hosted_voucher_url: The URL to the hosted boleto voucher page, which
-- allows customers to view the boleto voucher.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentIntentNextActionBoletoHostedVoucherUrl] :: PaymentIntentNextActionBoleto -> Maybe Text
-- | number: The boleto number.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentIntentNextActionBoletoNumber] :: PaymentIntentNextActionBoleto -> Maybe Text
-- | pdf: The URL to the downloadable boleto voucher PDF.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentIntentNextActionBoletoPdf] :: PaymentIntentNextActionBoleto -> Maybe Text
-- | Create a new PaymentIntentNextActionBoleto with all required
-- fields.
mkPaymentIntentNextActionBoleto :: PaymentIntentNextActionBoleto
instance GHC.Classes.Eq StripeAPI.Types.PaymentIntentNextActionBoleto.PaymentIntentNextActionBoleto
instance GHC.Show.Show StripeAPI.Types.PaymentIntentNextActionBoleto.PaymentIntentNextActionBoleto
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentIntentNextActionBoleto.PaymentIntentNextActionBoleto
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentIntentNextActionBoleto.PaymentIntentNextActionBoleto
-- | Contains the types generated from the schema
-- PaymentIntentNextActionDisplayOxxoDetails
module StripeAPI.Types.PaymentIntentNextActionDisplayOxxoDetails
-- | Defines the object schema located at
-- components.schemas.payment_intent_next_action_display_oxxo_details
-- in the specification.
data PaymentIntentNextActionDisplayOxxoDetails
PaymentIntentNextActionDisplayOxxoDetails :: Maybe Int -> Maybe Text -> Maybe Text -> PaymentIntentNextActionDisplayOxxoDetails
-- | expires_after: The timestamp after which the OXXO voucher expires.
[paymentIntentNextActionDisplayOxxoDetailsExpiresAfter] :: PaymentIntentNextActionDisplayOxxoDetails -> Maybe Int
-- | hosted_voucher_url: The URL for the hosted OXXO voucher page, which
-- allows customers to view and print an OXXO voucher.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentIntentNextActionDisplayOxxoDetailsHostedVoucherUrl] :: PaymentIntentNextActionDisplayOxxoDetails -> Maybe Text
-- | number: OXXO reference number.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentIntentNextActionDisplayOxxoDetailsNumber] :: PaymentIntentNextActionDisplayOxxoDetails -> Maybe Text
-- | Create a new PaymentIntentNextActionDisplayOxxoDetails with all
-- required fields.
mkPaymentIntentNextActionDisplayOxxoDetails :: PaymentIntentNextActionDisplayOxxoDetails
instance GHC.Classes.Eq StripeAPI.Types.PaymentIntentNextActionDisplayOxxoDetails.PaymentIntentNextActionDisplayOxxoDetails
instance GHC.Show.Show StripeAPI.Types.PaymentIntentNextActionDisplayOxxoDetails.PaymentIntentNextActionDisplayOxxoDetails
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentIntentNextActionDisplayOxxoDetails.PaymentIntentNextActionDisplayOxxoDetails
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentIntentNextActionDisplayOxxoDetails.PaymentIntentNextActionDisplayOxxoDetails
-- | Contains the types generated from the schema
-- PaymentIntentNextActionRedirectToUrl
module StripeAPI.Types.PaymentIntentNextActionRedirectToUrl
-- | Defines the object schema located at
-- components.schemas.payment_intent_next_action_redirect_to_url
-- in the specification.
data PaymentIntentNextActionRedirectToUrl
PaymentIntentNextActionRedirectToUrl :: Maybe Text -> Maybe Text -> PaymentIntentNextActionRedirectToUrl
-- | return_url: If the customer does not exit their browser while
-- authenticating, they will be redirected to this specified URL after
-- completion.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentIntentNextActionRedirectToUrlReturnUrl] :: PaymentIntentNextActionRedirectToUrl -> Maybe Text
-- | url: The URL you must redirect your customer to in order to
-- authenticate the payment.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentIntentNextActionRedirectToUrlUrl] :: PaymentIntentNextActionRedirectToUrl -> Maybe Text
-- | Create a new PaymentIntentNextActionRedirectToUrl with all
-- required fields.
mkPaymentIntentNextActionRedirectToUrl :: PaymentIntentNextActionRedirectToUrl
instance GHC.Classes.Eq StripeAPI.Types.PaymentIntentNextActionRedirectToUrl.PaymentIntentNextActionRedirectToUrl
instance GHC.Show.Show StripeAPI.Types.PaymentIntentNextActionRedirectToUrl.PaymentIntentNextActionRedirectToUrl
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentIntentNextActionRedirectToUrl.PaymentIntentNextActionRedirectToUrl
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentIntentNextActionRedirectToUrl.PaymentIntentNextActionRedirectToUrl
-- | Contains the types generated from the schema PaymentIntentNextAction
module StripeAPI.Types.PaymentIntentNextAction
-- | Defines the object schema located at
-- components.schemas.payment_intent_next_action in the
-- specification.
data PaymentIntentNextAction
PaymentIntentNextAction :: Maybe PaymentIntentNextActionAlipayHandleRedirect -> Maybe PaymentIntentNextActionBoleto -> Maybe PaymentIntentNextActionDisplayOxxoDetails -> Maybe PaymentIntentNextActionRedirectToUrl -> Text -> Maybe Object -> Maybe PaymentIntentNextActionVerifyWithMicrodeposits -> PaymentIntentNextAction
-- | alipay_handle_redirect:
[paymentIntentNextActionAlipayHandleRedirect] :: PaymentIntentNextAction -> Maybe PaymentIntentNextActionAlipayHandleRedirect
-- | boleto_display_details:
[paymentIntentNextActionBoletoDisplayDetails] :: PaymentIntentNextAction -> Maybe PaymentIntentNextActionBoleto
-- | oxxo_display_details:
[paymentIntentNextActionOxxoDisplayDetails] :: PaymentIntentNextAction -> Maybe PaymentIntentNextActionDisplayOxxoDetails
-- | redirect_to_url:
[paymentIntentNextActionRedirectToUrl] :: PaymentIntentNextAction -> Maybe PaymentIntentNextActionRedirectToUrl
-- | type: Type of the next action to perform, one of `redirect_to_url`,
-- `use_stripe_sdk`, `alipay_handle_redirect`, or `oxxo_display_details`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentIntentNextActionType] :: PaymentIntentNextAction -> Text
-- | use_stripe_sdk: When confirming a PaymentIntent with Stripe.js,
-- Stripe.js depends on the contents of this dictionary to invoke
-- authentication flows. The shape of the contents is subject to change
-- and is only intended to be used by Stripe.js.
[paymentIntentNextActionUseStripeSdk] :: PaymentIntentNextAction -> Maybe Object
-- | verify_with_microdeposits:
[paymentIntentNextActionVerifyWithMicrodeposits] :: PaymentIntentNextAction -> Maybe PaymentIntentNextActionVerifyWithMicrodeposits
-- | Create a new PaymentIntentNextAction with all required fields.
mkPaymentIntentNextAction :: Text -> PaymentIntentNextAction
instance GHC.Classes.Eq StripeAPI.Types.PaymentIntentNextAction.PaymentIntentNextAction
instance GHC.Show.Show StripeAPI.Types.PaymentIntentNextAction.PaymentIntentNextAction
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentIntentNextAction.PaymentIntentNextAction
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentIntentNextAction.PaymentIntentNextAction
-- | Contains the types generated from the schema
-- PaymentIntentNextActionVerifyWithMicrodeposits
module StripeAPI.Types.PaymentIntentNextActionVerifyWithMicrodeposits
-- | Defines the object schema located at
-- components.schemas.payment_intent_next_action_verify_with_microdeposits
-- in the specification.
data PaymentIntentNextActionVerifyWithMicrodeposits
PaymentIntentNextActionVerifyWithMicrodeposits :: Int -> Text -> PaymentIntentNextActionVerifyWithMicrodeposits
-- | arrival_date: The timestamp when the microdeposits are expected to
-- land.
[paymentIntentNextActionVerifyWithMicrodepositsArrivalDate] :: PaymentIntentNextActionVerifyWithMicrodeposits -> Int
-- | hosted_verification_url: The URL for the hosted verification page,
-- which allows customers to verify their bank account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentIntentNextActionVerifyWithMicrodepositsHostedVerificationUrl] :: PaymentIntentNextActionVerifyWithMicrodeposits -> Text
-- | Create a new PaymentIntentNextActionVerifyWithMicrodeposits
-- with all required fields.
mkPaymentIntentNextActionVerifyWithMicrodeposits :: Int -> Text -> PaymentIntentNextActionVerifyWithMicrodeposits
instance GHC.Classes.Eq StripeAPI.Types.PaymentIntentNextActionVerifyWithMicrodeposits.PaymentIntentNextActionVerifyWithMicrodeposits
instance GHC.Show.Show StripeAPI.Types.PaymentIntentNextActionVerifyWithMicrodeposits.PaymentIntentNextActionVerifyWithMicrodeposits
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentIntentNextActionVerifyWithMicrodeposits.PaymentIntentNextActionVerifyWithMicrodeposits
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentIntentNextActionVerifyWithMicrodeposits.PaymentIntentNextActionVerifyWithMicrodeposits
-- | Contains the types generated from the schema
-- PaymentIntentPaymentMethodOptionsAcssDebit
module StripeAPI.Types.PaymentIntentPaymentMethodOptionsAcssDebit
-- | Defines the object schema located at
-- components.schemas.payment_intent_payment_method_options_acss_debit
-- in the specification.
data PaymentIntentPaymentMethodOptionsAcssDebit
PaymentIntentPaymentMethodOptionsAcssDebit :: Maybe PaymentIntentPaymentMethodOptionsMandateOptionsAcssDebit -> Maybe PaymentIntentPaymentMethodOptionsAcssDebitVerificationMethod' -> PaymentIntentPaymentMethodOptionsAcssDebit
-- | mandate_options:
[paymentIntentPaymentMethodOptionsAcssDebitMandateOptions] :: PaymentIntentPaymentMethodOptionsAcssDebit -> Maybe PaymentIntentPaymentMethodOptionsMandateOptionsAcssDebit
-- | verification_method: Bank account verification method.
[paymentIntentPaymentMethodOptionsAcssDebitVerificationMethod] :: PaymentIntentPaymentMethodOptionsAcssDebit -> Maybe PaymentIntentPaymentMethodOptionsAcssDebitVerificationMethod'
-- | Create a new PaymentIntentPaymentMethodOptionsAcssDebit with
-- all required fields.
mkPaymentIntentPaymentMethodOptionsAcssDebit :: PaymentIntentPaymentMethodOptionsAcssDebit
-- | Defines the enum schema located at
-- components.schemas.payment_intent_payment_method_options_acss_debit.properties.verification_method
-- in the specification.
--
-- Bank account verification method.
data PaymentIntentPaymentMethodOptionsAcssDebitVerificationMethod'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PaymentIntentPaymentMethodOptionsAcssDebitVerificationMethod'Other :: Value -> PaymentIntentPaymentMethodOptionsAcssDebitVerificationMethod'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PaymentIntentPaymentMethodOptionsAcssDebitVerificationMethod'Typed :: Text -> PaymentIntentPaymentMethodOptionsAcssDebitVerificationMethod'
-- | Represents the JSON value "automatic"
PaymentIntentPaymentMethodOptionsAcssDebitVerificationMethod'EnumAutomatic :: PaymentIntentPaymentMethodOptionsAcssDebitVerificationMethod'
-- | Represents the JSON value "instant"
PaymentIntentPaymentMethodOptionsAcssDebitVerificationMethod'EnumInstant :: PaymentIntentPaymentMethodOptionsAcssDebitVerificationMethod'
-- | Represents the JSON value "microdeposits"
PaymentIntentPaymentMethodOptionsAcssDebitVerificationMethod'EnumMicrodeposits :: PaymentIntentPaymentMethodOptionsAcssDebitVerificationMethod'
instance GHC.Classes.Eq StripeAPI.Types.PaymentIntentPaymentMethodOptionsAcssDebit.PaymentIntentPaymentMethodOptionsAcssDebitVerificationMethod'
instance GHC.Show.Show StripeAPI.Types.PaymentIntentPaymentMethodOptionsAcssDebit.PaymentIntentPaymentMethodOptionsAcssDebitVerificationMethod'
instance GHC.Classes.Eq StripeAPI.Types.PaymentIntentPaymentMethodOptionsAcssDebit.PaymentIntentPaymentMethodOptionsAcssDebit
instance GHC.Show.Show StripeAPI.Types.PaymentIntentPaymentMethodOptionsAcssDebit.PaymentIntentPaymentMethodOptionsAcssDebit
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentIntentPaymentMethodOptionsAcssDebit.PaymentIntentPaymentMethodOptionsAcssDebit
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentIntentPaymentMethodOptionsAcssDebit.PaymentIntentPaymentMethodOptionsAcssDebit
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentIntentPaymentMethodOptionsAcssDebit.PaymentIntentPaymentMethodOptionsAcssDebitVerificationMethod'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentIntentPaymentMethodOptionsAcssDebit.PaymentIntentPaymentMethodOptionsAcssDebitVerificationMethod'
-- | Contains the types generated from the schema
-- PaymentIntentPaymentMethodOptionsMandateOptionsAcssDebit
module StripeAPI.Types.PaymentIntentPaymentMethodOptionsMandateOptionsAcssDebit
-- | Defines the object schema located at
-- components.schemas.payment_intent_payment_method_options_mandate_options_acss_debit
-- in the specification.
data PaymentIntentPaymentMethodOptionsMandateOptionsAcssDebit
PaymentIntentPaymentMethodOptionsMandateOptionsAcssDebit :: Maybe Text -> Maybe Text -> Maybe PaymentIntentPaymentMethodOptionsMandateOptionsAcssDebitPaymentSchedule' -> Maybe PaymentIntentPaymentMethodOptionsMandateOptionsAcssDebitTransactionType' -> PaymentIntentPaymentMethodOptionsMandateOptionsAcssDebit
-- | custom_mandate_url: A URL for custom mandate text
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentIntentPaymentMethodOptionsMandateOptionsAcssDebitCustomMandateUrl] :: PaymentIntentPaymentMethodOptionsMandateOptionsAcssDebit -> Maybe Text
-- | interval_description: Description of the interval. Only required if
-- 'payment_schedule' parmeter is 'interval' or 'combined'.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentIntentPaymentMethodOptionsMandateOptionsAcssDebitIntervalDescription] :: PaymentIntentPaymentMethodOptionsMandateOptionsAcssDebit -> Maybe Text
-- | payment_schedule: Payment schedule for the mandate.
[paymentIntentPaymentMethodOptionsMandateOptionsAcssDebitPaymentSchedule] :: PaymentIntentPaymentMethodOptionsMandateOptionsAcssDebit -> Maybe PaymentIntentPaymentMethodOptionsMandateOptionsAcssDebitPaymentSchedule'
-- | transaction_type: Transaction type of the mandate.
[paymentIntentPaymentMethodOptionsMandateOptionsAcssDebitTransactionType] :: PaymentIntentPaymentMethodOptionsMandateOptionsAcssDebit -> Maybe PaymentIntentPaymentMethodOptionsMandateOptionsAcssDebitTransactionType'
-- | Create a new
-- PaymentIntentPaymentMethodOptionsMandateOptionsAcssDebit with
-- all required fields.
mkPaymentIntentPaymentMethodOptionsMandateOptionsAcssDebit :: PaymentIntentPaymentMethodOptionsMandateOptionsAcssDebit
-- | Defines the enum schema located at
-- components.schemas.payment_intent_payment_method_options_mandate_options_acss_debit.properties.payment_schedule
-- in the specification.
--
-- Payment schedule for the mandate.
data PaymentIntentPaymentMethodOptionsMandateOptionsAcssDebitPaymentSchedule'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PaymentIntentPaymentMethodOptionsMandateOptionsAcssDebitPaymentSchedule'Other :: Value -> PaymentIntentPaymentMethodOptionsMandateOptionsAcssDebitPaymentSchedule'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PaymentIntentPaymentMethodOptionsMandateOptionsAcssDebitPaymentSchedule'Typed :: Text -> PaymentIntentPaymentMethodOptionsMandateOptionsAcssDebitPaymentSchedule'
-- | Represents the JSON value "combined"
PaymentIntentPaymentMethodOptionsMandateOptionsAcssDebitPaymentSchedule'EnumCombined :: PaymentIntentPaymentMethodOptionsMandateOptionsAcssDebitPaymentSchedule'
-- | Represents the JSON value "interval"
PaymentIntentPaymentMethodOptionsMandateOptionsAcssDebitPaymentSchedule'EnumInterval :: PaymentIntentPaymentMethodOptionsMandateOptionsAcssDebitPaymentSchedule'
-- | Represents the JSON value "sporadic"
PaymentIntentPaymentMethodOptionsMandateOptionsAcssDebitPaymentSchedule'EnumSporadic :: PaymentIntentPaymentMethodOptionsMandateOptionsAcssDebitPaymentSchedule'
-- | Defines the enum schema located at
-- components.schemas.payment_intent_payment_method_options_mandate_options_acss_debit.properties.transaction_type
-- in the specification.
--
-- Transaction type of the mandate.
data PaymentIntentPaymentMethodOptionsMandateOptionsAcssDebitTransactionType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PaymentIntentPaymentMethodOptionsMandateOptionsAcssDebitTransactionType'Other :: Value -> PaymentIntentPaymentMethodOptionsMandateOptionsAcssDebitTransactionType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PaymentIntentPaymentMethodOptionsMandateOptionsAcssDebitTransactionType'Typed :: Text -> PaymentIntentPaymentMethodOptionsMandateOptionsAcssDebitTransactionType'
-- | Represents the JSON value "business"
PaymentIntentPaymentMethodOptionsMandateOptionsAcssDebitTransactionType'EnumBusiness :: PaymentIntentPaymentMethodOptionsMandateOptionsAcssDebitTransactionType'
-- | Represents the JSON value "personal"
PaymentIntentPaymentMethodOptionsMandateOptionsAcssDebitTransactionType'EnumPersonal :: PaymentIntentPaymentMethodOptionsMandateOptionsAcssDebitTransactionType'
instance GHC.Classes.Eq StripeAPI.Types.PaymentIntentPaymentMethodOptionsMandateOptionsAcssDebit.PaymentIntentPaymentMethodOptionsMandateOptionsAcssDebitPaymentSchedule'
instance GHC.Show.Show StripeAPI.Types.PaymentIntentPaymentMethodOptionsMandateOptionsAcssDebit.PaymentIntentPaymentMethodOptionsMandateOptionsAcssDebitPaymentSchedule'
instance GHC.Classes.Eq StripeAPI.Types.PaymentIntentPaymentMethodOptionsMandateOptionsAcssDebit.PaymentIntentPaymentMethodOptionsMandateOptionsAcssDebitTransactionType'
instance GHC.Show.Show StripeAPI.Types.PaymentIntentPaymentMethodOptionsMandateOptionsAcssDebit.PaymentIntentPaymentMethodOptionsMandateOptionsAcssDebitTransactionType'
instance GHC.Classes.Eq StripeAPI.Types.PaymentIntentPaymentMethodOptionsMandateOptionsAcssDebit.PaymentIntentPaymentMethodOptionsMandateOptionsAcssDebit
instance GHC.Show.Show StripeAPI.Types.PaymentIntentPaymentMethodOptionsMandateOptionsAcssDebit.PaymentIntentPaymentMethodOptionsMandateOptionsAcssDebit
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentIntentPaymentMethodOptionsMandateOptionsAcssDebit.PaymentIntentPaymentMethodOptionsMandateOptionsAcssDebit
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentIntentPaymentMethodOptionsMandateOptionsAcssDebit.PaymentIntentPaymentMethodOptionsMandateOptionsAcssDebit
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentIntentPaymentMethodOptionsMandateOptionsAcssDebit.PaymentIntentPaymentMethodOptionsMandateOptionsAcssDebitTransactionType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentIntentPaymentMethodOptionsMandateOptionsAcssDebit.PaymentIntentPaymentMethodOptionsMandateOptionsAcssDebitTransactionType'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentIntentPaymentMethodOptionsMandateOptionsAcssDebit.PaymentIntentPaymentMethodOptionsMandateOptionsAcssDebitPaymentSchedule'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentIntentPaymentMethodOptionsMandateOptionsAcssDebit.PaymentIntentPaymentMethodOptionsMandateOptionsAcssDebitPaymentSchedule'
-- | Contains the types generated from the schema
-- PaymentIntentPaymentMethodOptionsSepaDebit
module StripeAPI.Types.PaymentIntentPaymentMethodOptionsSepaDebit
-- | Defines the object schema located at
-- components.schemas.payment_intent_payment_method_options_sepa_debit
-- in the specification.
data PaymentIntentPaymentMethodOptionsSepaDebit
PaymentIntentPaymentMethodOptionsSepaDebit :: Maybe PaymentIntentPaymentMethodOptionsMandateOptionsSepaDebit -> PaymentIntentPaymentMethodOptionsSepaDebit
-- | mandate_options:
[paymentIntentPaymentMethodOptionsSepaDebitMandateOptions] :: PaymentIntentPaymentMethodOptionsSepaDebit -> Maybe PaymentIntentPaymentMethodOptionsMandateOptionsSepaDebit
-- | Create a new PaymentIntentPaymentMethodOptionsSepaDebit with
-- all required fields.
mkPaymentIntentPaymentMethodOptionsSepaDebit :: PaymentIntentPaymentMethodOptionsSepaDebit
instance GHC.Classes.Eq StripeAPI.Types.PaymentIntentPaymentMethodOptionsSepaDebit.PaymentIntentPaymentMethodOptionsSepaDebit
instance GHC.Show.Show StripeAPI.Types.PaymentIntentPaymentMethodOptionsSepaDebit.PaymentIntentPaymentMethodOptionsSepaDebit
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentIntentPaymentMethodOptionsSepaDebit.PaymentIntentPaymentMethodOptionsSepaDebit
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentIntentPaymentMethodOptionsSepaDebit.PaymentIntentPaymentMethodOptionsSepaDebit
-- | Contains the types generated from the schema Mandate
module StripeAPI.Types.Mandate
-- | Defines the object schema located at
-- components.schemas.mandate in the specification.
--
-- A Mandate is a record of the permission a customer has given you to
-- debit their payment method.
data Mandate
Mandate :: CustomerAcceptance -> Text -> Bool -> Maybe MandateMultiUse -> MandatePaymentMethod'Variants -> MandatePaymentMethodDetails -> Maybe MandateSingleUse -> MandateStatus' -> MandateType' -> Mandate
-- | customer_acceptance:
[mandateCustomerAcceptance] :: Mandate -> CustomerAcceptance
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[mandateId] :: Mandate -> Text
-- | livemode: Has the value `true` if the object exists in live mode or
-- the value `false` if the object exists in test mode.
[mandateLivemode] :: Mandate -> Bool
-- | multi_use:
[mandateMultiUse] :: Mandate -> Maybe MandateMultiUse
-- | payment_method: ID of the payment method associated with this mandate.
[mandatePaymentMethod] :: Mandate -> MandatePaymentMethod'Variants
-- | payment_method_details:
[mandatePaymentMethodDetails] :: Mandate -> MandatePaymentMethodDetails
-- | single_use:
[mandateSingleUse] :: Mandate -> Maybe MandateSingleUse
-- | status: The status of the mandate, which indicates whether it can be
-- used to initiate a payment.
[mandateStatus] :: Mandate -> MandateStatus'
-- | type: The type of the mandate.
[mandateType] :: Mandate -> MandateType'
-- | Create a new Mandate with all required fields.
mkMandate :: CustomerAcceptance -> Text -> Bool -> MandatePaymentMethod'Variants -> MandatePaymentMethodDetails -> MandateStatus' -> MandateType' -> Mandate
-- | Defines the oneOf schema located at
-- components.schemas.mandate.properties.payment_method.anyOf in
-- the specification.
--
-- ID of the payment method associated with this mandate.
data MandatePaymentMethod'Variants
MandatePaymentMethod'Text :: Text -> MandatePaymentMethod'Variants
MandatePaymentMethod'PaymentMethod :: PaymentMethod -> MandatePaymentMethod'Variants
-- | Defines the enum schema located at
-- components.schemas.mandate.properties.status in the
-- specification.
--
-- The status of the mandate, which indicates whether it can be used to
-- initiate a payment.
data MandateStatus'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
MandateStatus'Other :: Value -> MandateStatus'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
MandateStatus'Typed :: Text -> MandateStatus'
-- | Represents the JSON value "active"
MandateStatus'EnumActive :: MandateStatus'
-- | Represents the JSON value "inactive"
MandateStatus'EnumInactive :: MandateStatus'
-- | Represents the JSON value "pending"
MandateStatus'EnumPending :: MandateStatus'
-- | Defines the enum schema located at
-- components.schemas.mandate.properties.type in the
-- specification.
--
-- The type of the mandate.
data MandateType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
MandateType'Other :: Value -> MandateType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
MandateType'Typed :: Text -> MandateType'
-- | Represents the JSON value "multi_use"
MandateType'EnumMultiUse :: MandateType'
-- | Represents the JSON value "single_use"
MandateType'EnumSingleUse :: MandateType'
instance GHC.Classes.Eq StripeAPI.Types.Mandate.MandatePaymentMethod'Variants
instance GHC.Show.Show StripeAPI.Types.Mandate.MandatePaymentMethod'Variants
instance GHC.Classes.Eq StripeAPI.Types.Mandate.MandateStatus'
instance GHC.Show.Show StripeAPI.Types.Mandate.MandateStatus'
instance GHC.Classes.Eq StripeAPI.Types.Mandate.MandateType'
instance GHC.Show.Show StripeAPI.Types.Mandate.MandateType'
instance GHC.Classes.Eq StripeAPI.Types.Mandate.Mandate
instance GHC.Show.Show StripeAPI.Types.Mandate.Mandate
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Mandate.Mandate
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Mandate.Mandate
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Mandate.MandateType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Mandate.MandateType'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Mandate.MandateStatus'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Mandate.MandateStatus'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Mandate.MandatePaymentMethod'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Mandate.MandatePaymentMethod'Variants
-- | Contains the types generated from the schema
-- InvoiceSettingCustomerSetting
module StripeAPI.Types.InvoiceSettingCustomerSetting
-- | Defines the object schema located at
-- components.schemas.invoice_setting_customer_setting in the
-- specification.
data InvoiceSettingCustomerSetting
InvoiceSettingCustomerSetting :: Maybe [InvoiceSettingCustomField] -> Maybe InvoiceSettingCustomerSettingDefaultPaymentMethod'Variants -> Maybe Text -> InvoiceSettingCustomerSetting
-- | custom_fields: Default custom fields to be displayed on invoices for
-- this customer.
[invoiceSettingCustomerSettingCustomFields] :: InvoiceSettingCustomerSetting -> Maybe [InvoiceSettingCustomField]
-- | default_payment_method: ID of a payment method that's attached to the
-- customer, to be used as the customer's default payment method for
-- subscriptions and invoices.
[invoiceSettingCustomerSettingDefaultPaymentMethod] :: InvoiceSettingCustomerSetting -> Maybe InvoiceSettingCustomerSettingDefaultPaymentMethod'Variants
-- | footer: Default footer to be displayed on invoices for this customer.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[invoiceSettingCustomerSettingFooter] :: InvoiceSettingCustomerSetting -> Maybe Text
-- | Create a new InvoiceSettingCustomerSetting with all required
-- fields.
mkInvoiceSettingCustomerSetting :: InvoiceSettingCustomerSetting
-- | Defines the oneOf schema located at
-- components.schemas.invoice_setting_customer_setting.properties.default_payment_method.anyOf
-- in the specification.
--
-- ID of a payment method that's attached to the customer, to be used as
-- the customer's default payment method for subscriptions and invoices.
data InvoiceSettingCustomerSettingDefaultPaymentMethod'Variants
InvoiceSettingCustomerSettingDefaultPaymentMethod'Text :: Text -> InvoiceSettingCustomerSettingDefaultPaymentMethod'Variants
InvoiceSettingCustomerSettingDefaultPaymentMethod'PaymentMethod :: PaymentMethod -> InvoiceSettingCustomerSettingDefaultPaymentMethod'Variants
instance GHC.Classes.Eq StripeAPI.Types.InvoiceSettingCustomerSetting.InvoiceSettingCustomerSettingDefaultPaymentMethod'Variants
instance GHC.Show.Show StripeAPI.Types.InvoiceSettingCustomerSetting.InvoiceSettingCustomerSettingDefaultPaymentMethod'Variants
instance GHC.Classes.Eq StripeAPI.Types.InvoiceSettingCustomerSetting.InvoiceSettingCustomerSetting
instance GHC.Show.Show StripeAPI.Types.InvoiceSettingCustomerSetting.InvoiceSettingCustomerSetting
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.InvoiceSettingCustomerSetting.InvoiceSettingCustomerSetting
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.InvoiceSettingCustomerSetting.InvoiceSettingCustomerSetting
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.InvoiceSettingCustomerSetting.InvoiceSettingCustomerSettingDefaultPaymentMethod'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.InvoiceSettingCustomerSetting.InvoiceSettingCustomerSettingDefaultPaymentMethod'Variants
-- | Contains the types generated from the schema PaymentMethodAcssDebit
module StripeAPI.Types.PaymentMethodAcssDebit
-- | Defines the object schema located at
-- components.schemas.payment_method_acss_debit in the
-- specification.
data PaymentMethodAcssDebit
PaymentMethodAcssDebit :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PaymentMethodAcssDebit
-- | bank_name: Name of the bank associated with the bank account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodAcssDebitBankName] :: PaymentMethodAcssDebit -> Maybe Text
-- | fingerprint: Uniquely identifies this particular bank account. You can
-- use this attribute to check whether two bank accounts are the same.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodAcssDebitFingerprint] :: PaymentMethodAcssDebit -> Maybe Text
-- | institution_number: Institution number of the bank account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodAcssDebitInstitutionNumber] :: PaymentMethodAcssDebit -> Maybe Text
-- | last4: Last four digits of the bank account number.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodAcssDebitLast4] :: PaymentMethodAcssDebit -> Maybe Text
-- | transit_number: Transit number of the bank account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodAcssDebitTransitNumber] :: PaymentMethodAcssDebit -> Maybe Text
-- | Create a new PaymentMethodAcssDebit with all required fields.
mkPaymentMethodAcssDebit :: PaymentMethodAcssDebit
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodAcssDebit.PaymentMethodAcssDebit
instance GHC.Show.Show StripeAPI.Types.PaymentMethodAcssDebit.PaymentMethodAcssDebit
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodAcssDebit.PaymentMethodAcssDebit
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodAcssDebit.PaymentMethodAcssDebit
-- | Contains the types generated from the schema PaymentMethodAuBecsDebit
module StripeAPI.Types.PaymentMethodAuBecsDebit
-- | Defines the object schema located at
-- components.schemas.payment_method_au_becs_debit in the
-- specification.
data PaymentMethodAuBecsDebit
PaymentMethodAuBecsDebit :: Maybe Text -> Maybe Text -> Maybe Text -> PaymentMethodAuBecsDebit
-- | bsb_number: Six-digit number identifying bank and branch associated
-- with this bank account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodAuBecsDebitBsbNumber] :: PaymentMethodAuBecsDebit -> Maybe Text
-- | fingerprint: Uniquely identifies this particular bank account. You can
-- use this attribute to check whether two bank accounts are the same.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodAuBecsDebitFingerprint] :: PaymentMethodAuBecsDebit -> Maybe Text
-- | last4: Last four digits of the bank account number.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodAuBecsDebitLast4] :: PaymentMethodAuBecsDebit -> Maybe Text
-- | Create a new PaymentMethodAuBecsDebit with all required fields.
mkPaymentMethodAuBecsDebit :: PaymentMethodAuBecsDebit
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodAuBecsDebit.PaymentMethodAuBecsDebit
instance GHC.Show.Show StripeAPI.Types.PaymentMethodAuBecsDebit.PaymentMethodAuBecsDebit
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodAuBecsDebit.PaymentMethodAuBecsDebit
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodAuBecsDebit.PaymentMethodAuBecsDebit
-- | Contains the types generated from the schema PaymentMethodBacsDebit
module StripeAPI.Types.PaymentMethodBacsDebit
-- | Defines the object schema located at
-- components.schemas.payment_method_bacs_debit in the
-- specification.
data PaymentMethodBacsDebit
PaymentMethodBacsDebit :: Maybe Text -> Maybe Text -> Maybe Text -> PaymentMethodBacsDebit
-- | fingerprint: Uniquely identifies this particular bank account. You can
-- use this attribute to check whether two bank accounts are the same.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodBacsDebitFingerprint] :: PaymentMethodBacsDebit -> Maybe Text
-- | last4: Last four digits of the bank account number.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodBacsDebitLast4] :: PaymentMethodBacsDebit -> Maybe Text
-- | sort_code: Sort code of the bank account. (e.g., `10-20-30`)
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodBacsDebitSortCode] :: PaymentMethodBacsDebit -> Maybe Text
-- | Create a new PaymentMethodBacsDebit with all required fields.
mkPaymentMethodBacsDebit :: PaymentMethodBacsDebit
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodBacsDebit.PaymentMethodBacsDebit
instance GHC.Show.Show StripeAPI.Types.PaymentMethodBacsDebit.PaymentMethodBacsDebit
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodBacsDebit.PaymentMethodBacsDebit
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodBacsDebit.PaymentMethodBacsDebit
-- | Contains the types generated from the schema PaymentMethodBoleto
module StripeAPI.Types.PaymentMethodBoleto
-- | Defines the object schema located at
-- components.schemas.payment_method_boleto in the
-- specification.
data PaymentMethodBoleto
PaymentMethodBoleto :: Text -> PaymentMethodBoleto
-- | tax_id: Uniquely identifies the customer tax id (CNPJ or CPF)
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodBoletoTaxId] :: PaymentMethodBoleto -> Text
-- | Create a new PaymentMethodBoleto with all required fields.
mkPaymentMethodBoleto :: Text -> PaymentMethodBoleto
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodBoleto.PaymentMethodBoleto
instance GHC.Show.Show StripeAPI.Types.PaymentMethodBoleto.PaymentMethodBoleto
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodBoleto.PaymentMethodBoleto
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodBoleto.PaymentMethodBoleto
-- | Contains the types generated from the schema PaymentMethodCardChecks
module StripeAPI.Types.PaymentMethodCardChecks
-- | Defines the object schema located at
-- components.schemas.payment_method_card_checks in the
-- specification.
data PaymentMethodCardChecks
PaymentMethodCardChecks :: Maybe Text -> Maybe Text -> Maybe Text -> PaymentMethodCardChecks
-- | address_line1_check: If a address line1 was provided, results of the
-- check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodCardChecksAddressLine1Check] :: PaymentMethodCardChecks -> Maybe Text
-- | address_postal_code_check: If a address postal code was provided,
-- results of the check, one of `pass`, `fail`, `unavailable`, or
-- `unchecked`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodCardChecksAddressPostalCodeCheck] :: PaymentMethodCardChecks -> Maybe Text
-- | cvc_check: If a CVC was provided, results of the check, one of `pass`,
-- `fail`, `unavailable`, or `unchecked`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodCardChecksCvcCheck] :: PaymentMethodCardChecks -> Maybe Text
-- | Create a new PaymentMethodCardChecks with all required fields.
mkPaymentMethodCardChecks :: PaymentMethodCardChecks
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodCardChecks.PaymentMethodCardChecks
instance GHC.Show.Show StripeAPI.Types.PaymentMethodCardChecks.PaymentMethodCardChecks
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodCardChecks.PaymentMethodCardChecks
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodCardChecks.PaymentMethodCardChecks
-- | Contains the types generated from the schema
-- PaymentMethodCardWalletMasterpass
module StripeAPI.Types.PaymentMethodCardWalletMasterpass
-- | Defines the object schema located at
-- components.schemas.payment_method_card_wallet_masterpass in
-- the specification.
data PaymentMethodCardWalletMasterpass
PaymentMethodCardWalletMasterpass :: Maybe PaymentMethodCardWalletMasterpassBillingAddress' -> Maybe Text -> Maybe Text -> Maybe PaymentMethodCardWalletMasterpassShippingAddress' -> PaymentMethodCardWalletMasterpass
-- | billing_address: Owner's verified billing address. Values are verified
-- or provided by the wallet directly (if supported) at the time of
-- authorization or settlement. They cannot be set or mutated.
[paymentMethodCardWalletMasterpassBillingAddress] :: PaymentMethodCardWalletMasterpass -> Maybe PaymentMethodCardWalletMasterpassBillingAddress'
-- | email: Owner's verified email. Values are verified or provided by the
-- wallet directly (if supported) at the time of authorization or
-- settlement. They cannot be set or mutated.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodCardWalletMasterpassEmail] :: PaymentMethodCardWalletMasterpass -> Maybe Text
-- | name: Owner's verified full name. Values are verified or provided by
-- the wallet directly (if supported) at the time of authorization or
-- settlement. They cannot be set or mutated.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodCardWalletMasterpassName] :: PaymentMethodCardWalletMasterpass -> Maybe Text
-- | shipping_address: Owner's verified shipping address. Values are
-- verified or provided by the wallet directly (if supported) at the time
-- of authorization or settlement. They cannot be set or mutated.
[paymentMethodCardWalletMasterpassShippingAddress] :: PaymentMethodCardWalletMasterpass -> Maybe PaymentMethodCardWalletMasterpassShippingAddress'
-- | Create a new PaymentMethodCardWalletMasterpass with all
-- required fields.
mkPaymentMethodCardWalletMasterpass :: PaymentMethodCardWalletMasterpass
-- | Defines the object schema located at
-- components.schemas.payment_method_card_wallet_masterpass.properties.billing_address.anyOf
-- in the specification.
--
-- Owner\'s verified billing address. Values are verified or provided by
-- the wallet directly (if supported) at the time of authorization or
-- settlement. They cannot be set or mutated.
data PaymentMethodCardWalletMasterpassBillingAddress'
PaymentMethodCardWalletMasterpassBillingAddress' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PaymentMethodCardWalletMasterpassBillingAddress'
-- | city: City, district, suburb, town, or village.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodCardWalletMasterpassBillingAddress'City] :: PaymentMethodCardWalletMasterpassBillingAddress' -> Maybe Text
-- | country: Two-letter country code ([ISO 3166-1
-- alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodCardWalletMasterpassBillingAddress'Country] :: PaymentMethodCardWalletMasterpassBillingAddress' -> Maybe Text
-- | line1: Address line 1 (e.g., street, PO Box, or company name).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodCardWalletMasterpassBillingAddress'Line1] :: PaymentMethodCardWalletMasterpassBillingAddress' -> Maybe Text
-- | line2: Address line 2 (e.g., apartment, suite, unit, or building).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodCardWalletMasterpassBillingAddress'Line2] :: PaymentMethodCardWalletMasterpassBillingAddress' -> Maybe Text
-- | postal_code: ZIP or postal code.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodCardWalletMasterpassBillingAddress'PostalCode] :: PaymentMethodCardWalletMasterpassBillingAddress' -> Maybe Text
-- | state: State, county, province, or region.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodCardWalletMasterpassBillingAddress'State] :: PaymentMethodCardWalletMasterpassBillingAddress' -> Maybe Text
-- | Create a new PaymentMethodCardWalletMasterpassBillingAddress'
-- with all required fields.
mkPaymentMethodCardWalletMasterpassBillingAddress' :: PaymentMethodCardWalletMasterpassBillingAddress'
-- | Defines the object schema located at
-- components.schemas.payment_method_card_wallet_masterpass.properties.shipping_address.anyOf
-- in the specification.
--
-- Owner\'s verified shipping address. Values are verified or provided by
-- the wallet directly (if supported) at the time of authorization or
-- settlement. They cannot be set or mutated.
data PaymentMethodCardWalletMasterpassShippingAddress'
PaymentMethodCardWalletMasterpassShippingAddress' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PaymentMethodCardWalletMasterpassShippingAddress'
-- | city: City, district, suburb, town, or village.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodCardWalletMasterpassShippingAddress'City] :: PaymentMethodCardWalletMasterpassShippingAddress' -> Maybe Text
-- | country: Two-letter country code ([ISO 3166-1
-- alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodCardWalletMasterpassShippingAddress'Country] :: PaymentMethodCardWalletMasterpassShippingAddress' -> Maybe Text
-- | line1: Address line 1 (e.g., street, PO Box, or company name).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodCardWalletMasterpassShippingAddress'Line1] :: PaymentMethodCardWalletMasterpassShippingAddress' -> Maybe Text
-- | line2: Address line 2 (e.g., apartment, suite, unit, or building).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodCardWalletMasterpassShippingAddress'Line2] :: PaymentMethodCardWalletMasterpassShippingAddress' -> Maybe Text
-- | postal_code: ZIP or postal code.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodCardWalletMasterpassShippingAddress'PostalCode] :: PaymentMethodCardWalletMasterpassShippingAddress' -> Maybe Text
-- | state: State, county, province, or region.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodCardWalletMasterpassShippingAddress'State] :: PaymentMethodCardWalletMasterpassShippingAddress' -> Maybe Text
-- | Create a new PaymentMethodCardWalletMasterpassShippingAddress'
-- with all required fields.
mkPaymentMethodCardWalletMasterpassShippingAddress' :: PaymentMethodCardWalletMasterpassShippingAddress'
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodCardWalletMasterpass.PaymentMethodCardWalletMasterpassBillingAddress'
instance GHC.Show.Show StripeAPI.Types.PaymentMethodCardWalletMasterpass.PaymentMethodCardWalletMasterpassBillingAddress'
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodCardWalletMasterpass.PaymentMethodCardWalletMasterpassShippingAddress'
instance GHC.Show.Show StripeAPI.Types.PaymentMethodCardWalletMasterpass.PaymentMethodCardWalletMasterpassShippingAddress'
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodCardWalletMasterpass.PaymentMethodCardWalletMasterpass
instance GHC.Show.Show StripeAPI.Types.PaymentMethodCardWalletMasterpass.PaymentMethodCardWalletMasterpass
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodCardWalletMasterpass.PaymentMethodCardWalletMasterpass
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodCardWalletMasterpass.PaymentMethodCardWalletMasterpass
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodCardWalletMasterpass.PaymentMethodCardWalletMasterpassShippingAddress'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodCardWalletMasterpass.PaymentMethodCardWalletMasterpassShippingAddress'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodCardWalletMasterpass.PaymentMethodCardWalletMasterpassBillingAddress'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodCardWalletMasterpass.PaymentMethodCardWalletMasterpassBillingAddress'
-- | Contains the types generated from the schema PaymentMethodCardWallet
module StripeAPI.Types.PaymentMethodCardWallet
-- | Defines the object schema located at
-- components.schemas.payment_method_card_wallet in the
-- specification.
data PaymentMethodCardWallet
PaymentMethodCardWallet :: Maybe PaymentMethodCardWalletAmexExpressCheckout -> Maybe PaymentMethodCardWalletApplePay -> Maybe Text -> Maybe PaymentMethodCardWalletGooglePay -> Maybe PaymentMethodCardWalletMasterpass -> Maybe PaymentMethodCardWalletSamsungPay -> PaymentMethodCardWalletType' -> Maybe PaymentMethodCardWalletVisaCheckout -> PaymentMethodCardWallet
-- | amex_express_checkout:
[paymentMethodCardWalletAmexExpressCheckout] :: PaymentMethodCardWallet -> Maybe PaymentMethodCardWalletAmexExpressCheckout
-- | apple_pay:
[paymentMethodCardWalletApplePay] :: PaymentMethodCardWallet -> Maybe PaymentMethodCardWalletApplePay
-- | dynamic_last4: (For tokenized numbers only.) The last four digits of
-- the device account number.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodCardWalletDynamicLast4] :: PaymentMethodCardWallet -> Maybe Text
-- | google_pay:
[paymentMethodCardWalletGooglePay] :: PaymentMethodCardWallet -> Maybe PaymentMethodCardWalletGooglePay
-- | masterpass:
[paymentMethodCardWalletMasterpass] :: PaymentMethodCardWallet -> Maybe PaymentMethodCardWalletMasterpass
-- | samsung_pay:
[paymentMethodCardWalletSamsungPay] :: PaymentMethodCardWallet -> Maybe PaymentMethodCardWalletSamsungPay
-- | type: 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.
[paymentMethodCardWalletType] :: PaymentMethodCardWallet -> PaymentMethodCardWalletType'
-- | visa_checkout:
[paymentMethodCardWalletVisaCheckout] :: PaymentMethodCardWallet -> Maybe PaymentMethodCardWalletVisaCheckout
-- | Create a new PaymentMethodCardWallet with all required fields.
mkPaymentMethodCardWallet :: PaymentMethodCardWalletType' -> PaymentMethodCardWallet
-- | Defines the enum schema located at
-- components.schemas.payment_method_card_wallet.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.
data PaymentMethodCardWalletType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PaymentMethodCardWalletType'Other :: Value -> PaymentMethodCardWalletType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PaymentMethodCardWalletType'Typed :: Text -> PaymentMethodCardWalletType'
-- | Represents the JSON value "amex_express_checkout"
PaymentMethodCardWalletType'EnumAmexExpressCheckout :: PaymentMethodCardWalletType'
-- | Represents the JSON value "apple_pay"
PaymentMethodCardWalletType'EnumApplePay :: PaymentMethodCardWalletType'
-- | Represents the JSON value "google_pay"
PaymentMethodCardWalletType'EnumGooglePay :: PaymentMethodCardWalletType'
-- | Represents the JSON value "masterpass"
PaymentMethodCardWalletType'EnumMasterpass :: PaymentMethodCardWalletType'
-- | Represents the JSON value "samsung_pay"
PaymentMethodCardWalletType'EnumSamsungPay :: PaymentMethodCardWalletType'
-- | Represents the JSON value "visa_checkout"
PaymentMethodCardWalletType'EnumVisaCheckout :: PaymentMethodCardWalletType'
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodCardWallet.PaymentMethodCardWalletType'
instance GHC.Show.Show StripeAPI.Types.PaymentMethodCardWallet.PaymentMethodCardWalletType'
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodCardWallet.PaymentMethodCardWallet
instance GHC.Show.Show StripeAPI.Types.PaymentMethodCardWallet.PaymentMethodCardWallet
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodCardWallet.PaymentMethodCardWallet
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodCardWallet.PaymentMethodCardWallet
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodCardWallet.PaymentMethodCardWalletType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodCardWallet.PaymentMethodCardWalletType'
-- | Contains the types generated from the schema
-- PaymentMethodCardWalletVisaCheckout
module StripeAPI.Types.PaymentMethodCardWalletVisaCheckout
-- | Defines the object schema located at
-- components.schemas.payment_method_card_wallet_visa_checkout
-- in the specification.
data PaymentMethodCardWalletVisaCheckout
PaymentMethodCardWalletVisaCheckout :: Maybe PaymentMethodCardWalletVisaCheckoutBillingAddress' -> Maybe Text -> Maybe Text -> Maybe PaymentMethodCardWalletVisaCheckoutShippingAddress' -> PaymentMethodCardWalletVisaCheckout
-- | billing_address: Owner's verified billing address. Values are verified
-- or provided by the wallet directly (if supported) at the time of
-- authorization or settlement. They cannot be set or mutated.
[paymentMethodCardWalletVisaCheckoutBillingAddress] :: PaymentMethodCardWalletVisaCheckout -> Maybe PaymentMethodCardWalletVisaCheckoutBillingAddress'
-- | email: Owner's verified email. Values are verified or provided by the
-- wallet directly (if supported) at the time of authorization or
-- settlement. They cannot be set or mutated.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodCardWalletVisaCheckoutEmail] :: PaymentMethodCardWalletVisaCheckout -> Maybe Text
-- | name: Owner's verified full name. Values are verified or provided by
-- the wallet directly (if supported) at the time of authorization or
-- settlement. They cannot be set or mutated.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodCardWalletVisaCheckoutName] :: PaymentMethodCardWalletVisaCheckout -> Maybe Text
-- | shipping_address: Owner's verified shipping address. Values are
-- verified or provided by the wallet directly (if supported) at the time
-- of authorization or settlement. They cannot be set or mutated.
[paymentMethodCardWalletVisaCheckoutShippingAddress] :: PaymentMethodCardWalletVisaCheckout -> Maybe PaymentMethodCardWalletVisaCheckoutShippingAddress'
-- | Create a new PaymentMethodCardWalletVisaCheckout with all
-- required fields.
mkPaymentMethodCardWalletVisaCheckout :: PaymentMethodCardWalletVisaCheckout
-- | Defines the object schema located at
-- components.schemas.payment_method_card_wallet_visa_checkout.properties.billing_address.anyOf
-- in the specification.
--
-- Owner\'s verified billing address. Values are verified or provided by
-- the wallet directly (if supported) at the time of authorization or
-- settlement. They cannot be set or mutated.
data PaymentMethodCardWalletVisaCheckoutBillingAddress'
PaymentMethodCardWalletVisaCheckoutBillingAddress' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PaymentMethodCardWalletVisaCheckoutBillingAddress'
-- | city: City, district, suburb, town, or village.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodCardWalletVisaCheckoutBillingAddress'City] :: PaymentMethodCardWalletVisaCheckoutBillingAddress' -> Maybe Text
-- | country: Two-letter country code ([ISO 3166-1
-- alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodCardWalletVisaCheckoutBillingAddress'Country] :: PaymentMethodCardWalletVisaCheckoutBillingAddress' -> Maybe Text
-- | line1: Address line 1 (e.g., street, PO Box, or company name).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodCardWalletVisaCheckoutBillingAddress'Line1] :: PaymentMethodCardWalletVisaCheckoutBillingAddress' -> Maybe Text
-- | line2: Address line 2 (e.g., apartment, suite, unit, or building).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodCardWalletVisaCheckoutBillingAddress'Line2] :: PaymentMethodCardWalletVisaCheckoutBillingAddress' -> Maybe Text
-- | postal_code: ZIP or postal code.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodCardWalletVisaCheckoutBillingAddress'PostalCode] :: PaymentMethodCardWalletVisaCheckoutBillingAddress' -> Maybe Text
-- | state: State, county, province, or region.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodCardWalletVisaCheckoutBillingAddress'State] :: PaymentMethodCardWalletVisaCheckoutBillingAddress' -> Maybe Text
-- | Create a new PaymentMethodCardWalletVisaCheckoutBillingAddress'
-- with all required fields.
mkPaymentMethodCardWalletVisaCheckoutBillingAddress' :: PaymentMethodCardWalletVisaCheckoutBillingAddress'
-- | Defines the object schema located at
-- components.schemas.payment_method_card_wallet_visa_checkout.properties.shipping_address.anyOf
-- in the specification.
--
-- Owner\'s verified shipping address. Values are verified or provided by
-- the wallet directly (if supported) at the time of authorization or
-- settlement. They cannot be set or mutated.
data PaymentMethodCardWalletVisaCheckoutShippingAddress'
PaymentMethodCardWalletVisaCheckoutShippingAddress' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PaymentMethodCardWalletVisaCheckoutShippingAddress'
-- | city: City, district, suburb, town, or village.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodCardWalletVisaCheckoutShippingAddress'City] :: PaymentMethodCardWalletVisaCheckoutShippingAddress' -> Maybe Text
-- | country: Two-letter country code ([ISO 3166-1
-- alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodCardWalletVisaCheckoutShippingAddress'Country] :: PaymentMethodCardWalletVisaCheckoutShippingAddress' -> Maybe Text
-- | line1: Address line 1 (e.g., street, PO Box, or company name).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodCardWalletVisaCheckoutShippingAddress'Line1] :: PaymentMethodCardWalletVisaCheckoutShippingAddress' -> Maybe Text
-- | line2: Address line 2 (e.g., apartment, suite, unit, or building).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodCardWalletVisaCheckoutShippingAddress'Line2] :: PaymentMethodCardWalletVisaCheckoutShippingAddress' -> Maybe Text
-- | postal_code: ZIP or postal code.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodCardWalletVisaCheckoutShippingAddress'PostalCode] :: PaymentMethodCardWalletVisaCheckoutShippingAddress' -> Maybe Text
-- | state: State, county, province, or region.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodCardWalletVisaCheckoutShippingAddress'State] :: PaymentMethodCardWalletVisaCheckoutShippingAddress' -> Maybe Text
-- | Create a new
-- PaymentMethodCardWalletVisaCheckoutShippingAddress' with all
-- required fields.
mkPaymentMethodCardWalletVisaCheckoutShippingAddress' :: PaymentMethodCardWalletVisaCheckoutShippingAddress'
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodCardWalletVisaCheckout.PaymentMethodCardWalletVisaCheckoutBillingAddress'
instance GHC.Show.Show StripeAPI.Types.PaymentMethodCardWalletVisaCheckout.PaymentMethodCardWalletVisaCheckoutBillingAddress'
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodCardWalletVisaCheckout.PaymentMethodCardWalletVisaCheckoutShippingAddress'
instance GHC.Show.Show StripeAPI.Types.PaymentMethodCardWalletVisaCheckout.PaymentMethodCardWalletVisaCheckoutShippingAddress'
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodCardWalletVisaCheckout.PaymentMethodCardWalletVisaCheckout
instance GHC.Show.Show StripeAPI.Types.PaymentMethodCardWalletVisaCheckout.PaymentMethodCardWalletVisaCheckout
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodCardWalletVisaCheckout.PaymentMethodCardWalletVisaCheckout
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodCardWalletVisaCheckout.PaymentMethodCardWalletVisaCheckout
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodCardWalletVisaCheckout.PaymentMethodCardWalletVisaCheckoutShippingAddress'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodCardWalletVisaCheckout.PaymentMethodCardWalletVisaCheckoutShippingAddress'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodCardWalletVisaCheckout.PaymentMethodCardWalletVisaCheckoutBillingAddress'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodCardWalletVisaCheckout.PaymentMethodCardWalletVisaCheckoutBillingAddress'
-- | Contains the types generated from the schema
-- PaymentMethodDetailsAchCreditTransfer
module StripeAPI.Types.PaymentMethodDetailsAchCreditTransfer
-- | Defines the object schema located at
-- components.schemas.payment_method_details_ach_credit_transfer
-- in the specification.
data PaymentMethodDetailsAchCreditTransfer
PaymentMethodDetailsAchCreditTransfer :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PaymentMethodDetailsAchCreditTransfer
-- | account_number: Account number to transfer funds to.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsAchCreditTransferAccountNumber] :: PaymentMethodDetailsAchCreditTransfer -> Maybe Text
-- | bank_name: Name of the bank associated with the routing number.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsAchCreditTransferBankName] :: PaymentMethodDetailsAchCreditTransfer -> Maybe Text
-- | routing_number: Routing transit number for the bank account to
-- transfer funds to.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsAchCreditTransferRoutingNumber] :: PaymentMethodDetailsAchCreditTransfer -> Maybe Text
-- | swift_code: SWIFT code of the bank associated with the routing number.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsAchCreditTransferSwiftCode] :: PaymentMethodDetailsAchCreditTransfer -> Maybe Text
-- | Create a new PaymentMethodDetailsAchCreditTransfer with all
-- required fields.
mkPaymentMethodDetailsAchCreditTransfer :: PaymentMethodDetailsAchCreditTransfer
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodDetailsAchCreditTransfer.PaymentMethodDetailsAchCreditTransfer
instance GHC.Show.Show StripeAPI.Types.PaymentMethodDetailsAchCreditTransfer.PaymentMethodDetailsAchCreditTransfer
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodDetailsAchCreditTransfer.PaymentMethodDetailsAchCreditTransfer
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodDetailsAchCreditTransfer.PaymentMethodDetailsAchCreditTransfer
-- | Contains the types generated from the schema
-- PaymentMethodDetailsAchDebit
module StripeAPI.Types.PaymentMethodDetailsAchDebit
-- | Defines the object schema located at
-- components.schemas.payment_method_details_ach_debit in the
-- specification.
data PaymentMethodDetailsAchDebit
PaymentMethodDetailsAchDebit :: Maybe PaymentMethodDetailsAchDebitAccountHolderType' -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PaymentMethodDetailsAchDebit
-- | account_holder_type: Type of entity that holds the account. This can
-- be either `individual` or `company`.
[paymentMethodDetailsAchDebitAccountHolderType] :: PaymentMethodDetailsAchDebit -> Maybe PaymentMethodDetailsAchDebitAccountHolderType'
-- | bank_name: Name of the bank associated with the bank account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsAchDebitBankName] :: PaymentMethodDetailsAchDebit -> Maybe Text
-- | country: Two-letter ISO code representing the country the bank account
-- is located in.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsAchDebitCountry] :: PaymentMethodDetailsAchDebit -> Maybe Text
-- | fingerprint: Uniquely identifies this particular bank account. You can
-- use this attribute to check whether two bank accounts are the same.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsAchDebitFingerprint] :: PaymentMethodDetailsAchDebit -> Maybe Text
-- | last4: Last four digits of the bank account number.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsAchDebitLast4] :: PaymentMethodDetailsAchDebit -> Maybe Text
-- | routing_number: Routing transit number of the bank account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsAchDebitRoutingNumber] :: PaymentMethodDetailsAchDebit -> Maybe Text
-- | Create a new PaymentMethodDetailsAchDebit with all required
-- fields.
mkPaymentMethodDetailsAchDebit :: PaymentMethodDetailsAchDebit
-- | Defines the enum schema located at
-- components.schemas.payment_method_details_ach_debit.properties.account_holder_type
-- in the specification.
--
-- Type of entity that holds the account. This can be either `individual`
-- or `company`.
data PaymentMethodDetailsAchDebitAccountHolderType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PaymentMethodDetailsAchDebitAccountHolderType'Other :: Value -> PaymentMethodDetailsAchDebitAccountHolderType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PaymentMethodDetailsAchDebitAccountHolderType'Typed :: Text -> PaymentMethodDetailsAchDebitAccountHolderType'
-- | Represents the JSON value "company"
PaymentMethodDetailsAchDebitAccountHolderType'EnumCompany :: PaymentMethodDetailsAchDebitAccountHolderType'
-- | Represents the JSON value "individual"
PaymentMethodDetailsAchDebitAccountHolderType'EnumIndividual :: PaymentMethodDetailsAchDebitAccountHolderType'
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodDetailsAchDebit.PaymentMethodDetailsAchDebitAccountHolderType'
instance GHC.Show.Show StripeAPI.Types.PaymentMethodDetailsAchDebit.PaymentMethodDetailsAchDebitAccountHolderType'
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodDetailsAchDebit.PaymentMethodDetailsAchDebit
instance GHC.Show.Show StripeAPI.Types.PaymentMethodDetailsAchDebit.PaymentMethodDetailsAchDebit
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodDetailsAchDebit.PaymentMethodDetailsAchDebit
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodDetailsAchDebit.PaymentMethodDetailsAchDebit
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodDetailsAchDebit.PaymentMethodDetailsAchDebitAccountHolderType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodDetailsAchDebit.PaymentMethodDetailsAchDebitAccountHolderType'
-- | Contains the types generated from the schema
-- PaymentMethodDetailsAcssDebit
module StripeAPI.Types.PaymentMethodDetailsAcssDebit
-- | Defines the object schema located at
-- components.schemas.payment_method_details_acss_debit in the
-- specification.
data PaymentMethodDetailsAcssDebit
PaymentMethodDetailsAcssDebit :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PaymentMethodDetailsAcssDebit
-- | bank_name: Name of the bank associated with the bank account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsAcssDebitBankName] :: PaymentMethodDetailsAcssDebit -> Maybe Text
-- | fingerprint: Uniquely identifies this particular bank account. You can
-- use this attribute to check whether two bank accounts are the same.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsAcssDebitFingerprint] :: PaymentMethodDetailsAcssDebit -> Maybe Text
-- | institution_number: Institution number of the bank account
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsAcssDebitInstitutionNumber] :: PaymentMethodDetailsAcssDebit -> Maybe Text
-- | last4: Last four digits of the bank account number.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsAcssDebitLast4] :: PaymentMethodDetailsAcssDebit -> Maybe Text
-- | mandate: ID of the mandate used to make this payment.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsAcssDebitMandate] :: PaymentMethodDetailsAcssDebit -> Maybe Text
-- | transit_number: Transit number of the bank account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsAcssDebitTransitNumber] :: PaymentMethodDetailsAcssDebit -> Maybe Text
-- | Create a new PaymentMethodDetailsAcssDebit with all required
-- fields.
mkPaymentMethodDetailsAcssDebit :: PaymentMethodDetailsAcssDebit
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodDetailsAcssDebit.PaymentMethodDetailsAcssDebit
instance GHC.Show.Show StripeAPI.Types.PaymentMethodDetailsAcssDebit.PaymentMethodDetailsAcssDebit
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodDetailsAcssDebit.PaymentMethodDetailsAcssDebit
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodDetailsAcssDebit.PaymentMethodDetailsAcssDebit
-- | Contains the types generated from the schema
-- PaymentMethodDetailsAfterpayClearpay
module StripeAPI.Types.PaymentMethodDetailsAfterpayClearpay
-- | Defines the object schema located at
-- components.schemas.payment_method_details_afterpay_clearpay
-- in the specification.
data PaymentMethodDetailsAfterpayClearpay
PaymentMethodDetailsAfterpayClearpay :: Maybe Text -> PaymentMethodDetailsAfterpayClearpay
-- | reference: Order identifier shown to the merchant in Afterpay’s online
-- portal.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsAfterpayClearpayReference] :: PaymentMethodDetailsAfterpayClearpay -> Maybe Text
-- | Create a new PaymentMethodDetailsAfterpayClearpay with all
-- required fields.
mkPaymentMethodDetailsAfterpayClearpay :: PaymentMethodDetailsAfterpayClearpay
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodDetailsAfterpayClearpay.PaymentMethodDetailsAfterpayClearpay
instance GHC.Show.Show StripeAPI.Types.PaymentMethodDetailsAfterpayClearpay.PaymentMethodDetailsAfterpayClearpay
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodDetailsAfterpayClearpay.PaymentMethodDetailsAfterpayClearpay
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodDetailsAfterpayClearpay.PaymentMethodDetailsAfterpayClearpay
-- | Contains the types generated from the schema
-- PaymentMethodDetailsAuBecsDebit
module StripeAPI.Types.PaymentMethodDetailsAuBecsDebit
-- | Defines the object schema located at
-- components.schemas.payment_method_details_au_becs_debit in
-- the specification.
data PaymentMethodDetailsAuBecsDebit
PaymentMethodDetailsAuBecsDebit :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PaymentMethodDetailsAuBecsDebit
-- | bsb_number: Bank-State-Branch number of the bank account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsAuBecsDebitBsbNumber] :: PaymentMethodDetailsAuBecsDebit -> Maybe Text
-- | fingerprint: Uniquely identifies this particular bank account. You can
-- use this attribute to check whether two bank accounts are the same.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsAuBecsDebitFingerprint] :: PaymentMethodDetailsAuBecsDebit -> Maybe Text
-- | last4: Last four digits of the bank account number.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsAuBecsDebitLast4] :: PaymentMethodDetailsAuBecsDebit -> Maybe Text
-- | mandate: ID of the mandate used to make this payment.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsAuBecsDebitMandate] :: PaymentMethodDetailsAuBecsDebit -> Maybe Text
-- | Create a new PaymentMethodDetailsAuBecsDebit with all required
-- fields.
mkPaymentMethodDetailsAuBecsDebit :: PaymentMethodDetailsAuBecsDebit
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodDetailsAuBecsDebit.PaymentMethodDetailsAuBecsDebit
instance GHC.Show.Show StripeAPI.Types.PaymentMethodDetailsAuBecsDebit.PaymentMethodDetailsAuBecsDebit
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodDetailsAuBecsDebit.PaymentMethodDetailsAuBecsDebit
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodDetailsAuBecsDebit.PaymentMethodDetailsAuBecsDebit
-- | Contains the types generated from the schema
-- PaymentMethodDetailsBacsDebit
module StripeAPI.Types.PaymentMethodDetailsBacsDebit
-- | Defines the object schema located at
-- components.schemas.payment_method_details_bacs_debit in the
-- specification.
data PaymentMethodDetailsBacsDebit
PaymentMethodDetailsBacsDebit :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PaymentMethodDetailsBacsDebit
-- | fingerprint: Uniquely identifies this particular bank account. You can
-- use this attribute to check whether two bank accounts are the same.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsBacsDebitFingerprint] :: PaymentMethodDetailsBacsDebit -> Maybe Text
-- | last4: Last four digits of the bank account number.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsBacsDebitLast4] :: PaymentMethodDetailsBacsDebit -> Maybe Text
-- | mandate: ID of the mandate used to make this payment.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsBacsDebitMandate] :: PaymentMethodDetailsBacsDebit -> Maybe Text
-- | sort_code: Sort code of the bank account. (e.g., `10-20-30`)
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsBacsDebitSortCode] :: PaymentMethodDetailsBacsDebit -> Maybe Text
-- | Create a new PaymentMethodDetailsBacsDebit with all required
-- fields.
mkPaymentMethodDetailsBacsDebit :: PaymentMethodDetailsBacsDebit
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodDetailsBacsDebit.PaymentMethodDetailsBacsDebit
instance GHC.Show.Show StripeAPI.Types.PaymentMethodDetailsBacsDebit.PaymentMethodDetailsBacsDebit
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodDetailsBacsDebit.PaymentMethodDetailsBacsDebit
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodDetailsBacsDebit.PaymentMethodDetailsBacsDebit
-- | Contains the types generated from the schema
-- PaymentMethodDetailsBancontact
module StripeAPI.Types.PaymentMethodDetailsBancontact
-- | Defines the object schema located at
-- components.schemas.payment_method_details_bancontact in the
-- specification.
data PaymentMethodDetailsBancontact
PaymentMethodDetailsBancontact :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe PaymentMethodDetailsBancontactGeneratedSepaDebit'Variants -> Maybe PaymentMethodDetailsBancontactGeneratedSepaDebitMandate'Variants -> Maybe Text -> Maybe PaymentMethodDetailsBancontactPreferredLanguage' -> Maybe Text -> PaymentMethodDetailsBancontact
-- | bank_code: Bank code of bank associated with the bank account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsBancontactBankCode] :: PaymentMethodDetailsBancontact -> Maybe Text
-- | bank_name: Name of the bank associated with the bank account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsBancontactBankName] :: PaymentMethodDetailsBancontact -> Maybe Text
-- | bic: Bank Identifier Code of the bank associated with the bank
-- account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsBancontactBic] :: PaymentMethodDetailsBancontact -> Maybe Text
-- | generated_sepa_debit: The ID of the SEPA Direct Debit PaymentMethod
-- which was generated by this Charge.
[paymentMethodDetailsBancontactGeneratedSepaDebit] :: PaymentMethodDetailsBancontact -> Maybe PaymentMethodDetailsBancontactGeneratedSepaDebit'Variants
-- | generated_sepa_debit_mandate: The mandate for the SEPA Direct Debit
-- PaymentMethod which was generated by this Charge.
[paymentMethodDetailsBancontactGeneratedSepaDebitMandate] :: PaymentMethodDetailsBancontact -> Maybe PaymentMethodDetailsBancontactGeneratedSepaDebitMandate'Variants
-- | iban_last4: Last four characters of the IBAN.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsBancontactIbanLast4] :: PaymentMethodDetailsBancontact -> Maybe Text
-- | preferred_language: Preferred language of the Bancontact authorization
-- page that the customer is redirected to. Can be one of `en`, `de`,
-- `fr`, or `nl`
[paymentMethodDetailsBancontactPreferredLanguage] :: PaymentMethodDetailsBancontact -> Maybe PaymentMethodDetailsBancontactPreferredLanguage'
-- | verified_name: Owner's verified full name. Values are verified or
-- provided by Bancontact directly (if supported) at the time of
-- authorization or settlement. They cannot be set or mutated.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsBancontactVerifiedName] :: PaymentMethodDetailsBancontact -> Maybe Text
-- | Create a new PaymentMethodDetailsBancontact with all required
-- fields.
mkPaymentMethodDetailsBancontact :: PaymentMethodDetailsBancontact
-- | Defines the oneOf schema located at
-- components.schemas.payment_method_details_bancontact.properties.generated_sepa_debit.anyOf
-- in the specification.
--
-- The ID of the SEPA Direct Debit PaymentMethod which was generated by
-- this Charge.
data PaymentMethodDetailsBancontactGeneratedSepaDebit'Variants
PaymentMethodDetailsBancontactGeneratedSepaDebit'Text :: Text -> PaymentMethodDetailsBancontactGeneratedSepaDebit'Variants
PaymentMethodDetailsBancontactGeneratedSepaDebit'PaymentMethod :: PaymentMethod -> PaymentMethodDetailsBancontactGeneratedSepaDebit'Variants
-- | Defines the oneOf schema located at
-- components.schemas.payment_method_details_bancontact.properties.generated_sepa_debit_mandate.anyOf
-- in the specification.
--
-- The mandate for the SEPA Direct Debit PaymentMethod which was
-- generated by this Charge.
data PaymentMethodDetailsBancontactGeneratedSepaDebitMandate'Variants
PaymentMethodDetailsBancontactGeneratedSepaDebitMandate'Text :: Text -> PaymentMethodDetailsBancontactGeneratedSepaDebitMandate'Variants
PaymentMethodDetailsBancontactGeneratedSepaDebitMandate'Mandate :: Mandate -> PaymentMethodDetailsBancontactGeneratedSepaDebitMandate'Variants
-- | Defines the enum schema located at
-- components.schemas.payment_method_details_bancontact.properties.preferred_language
-- in the specification.
--
-- Preferred language of the Bancontact authorization page that the
-- customer is redirected to. Can be one of `en`, `de`, `fr`, or `nl`
data PaymentMethodDetailsBancontactPreferredLanguage'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PaymentMethodDetailsBancontactPreferredLanguage'Other :: Value -> PaymentMethodDetailsBancontactPreferredLanguage'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PaymentMethodDetailsBancontactPreferredLanguage'Typed :: Text -> PaymentMethodDetailsBancontactPreferredLanguage'
-- | Represents the JSON value "de"
PaymentMethodDetailsBancontactPreferredLanguage'EnumDe :: PaymentMethodDetailsBancontactPreferredLanguage'
-- | Represents the JSON value "en"
PaymentMethodDetailsBancontactPreferredLanguage'EnumEn :: PaymentMethodDetailsBancontactPreferredLanguage'
-- | Represents the JSON value "fr"
PaymentMethodDetailsBancontactPreferredLanguage'EnumFr :: PaymentMethodDetailsBancontactPreferredLanguage'
-- | Represents the JSON value "nl"
PaymentMethodDetailsBancontactPreferredLanguage'EnumNl :: PaymentMethodDetailsBancontactPreferredLanguage'
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodDetailsBancontact.PaymentMethodDetailsBancontactGeneratedSepaDebit'Variants
instance GHC.Show.Show StripeAPI.Types.PaymentMethodDetailsBancontact.PaymentMethodDetailsBancontactGeneratedSepaDebit'Variants
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodDetailsBancontact.PaymentMethodDetailsBancontactGeneratedSepaDebitMandate'Variants
instance GHC.Show.Show StripeAPI.Types.PaymentMethodDetailsBancontact.PaymentMethodDetailsBancontactGeneratedSepaDebitMandate'Variants
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodDetailsBancontact.PaymentMethodDetailsBancontactPreferredLanguage'
instance GHC.Show.Show StripeAPI.Types.PaymentMethodDetailsBancontact.PaymentMethodDetailsBancontactPreferredLanguage'
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodDetailsBancontact.PaymentMethodDetailsBancontact
instance GHC.Show.Show StripeAPI.Types.PaymentMethodDetailsBancontact.PaymentMethodDetailsBancontact
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodDetailsBancontact.PaymentMethodDetailsBancontact
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodDetailsBancontact.PaymentMethodDetailsBancontact
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodDetailsBancontact.PaymentMethodDetailsBancontactPreferredLanguage'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodDetailsBancontact.PaymentMethodDetailsBancontactPreferredLanguage'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodDetailsBancontact.PaymentMethodDetailsBancontactGeneratedSepaDebitMandate'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodDetailsBancontact.PaymentMethodDetailsBancontactGeneratedSepaDebitMandate'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodDetailsBancontact.PaymentMethodDetailsBancontactGeneratedSepaDebit'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodDetailsBancontact.PaymentMethodDetailsBancontactGeneratedSepaDebit'Variants
-- | Contains the types generated from the schema
-- PaymentMethodDetailsBoleto
module StripeAPI.Types.PaymentMethodDetailsBoleto
-- | Defines the object schema located at
-- components.schemas.payment_method_details_boleto in the
-- specification.
data PaymentMethodDetailsBoleto
PaymentMethodDetailsBoleto :: Text -> PaymentMethodDetailsBoleto
-- | tax_id: Uniquely identifies this customer tax_id (CNPJ or CPF)
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsBoletoTaxId] :: PaymentMethodDetailsBoleto -> Text
-- | Create a new PaymentMethodDetailsBoleto with all required
-- fields.
mkPaymentMethodDetailsBoleto :: Text -> PaymentMethodDetailsBoleto
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodDetailsBoleto.PaymentMethodDetailsBoleto
instance GHC.Show.Show StripeAPI.Types.PaymentMethodDetailsBoleto.PaymentMethodDetailsBoleto
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodDetailsBoleto.PaymentMethodDetailsBoleto
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodDetailsBoleto.PaymentMethodDetailsBoleto
-- | Contains the types generated from the schema
-- PaymentMethodDetailsCardChecks
module StripeAPI.Types.PaymentMethodDetailsCardChecks
-- | Defines the object schema located at
-- components.schemas.payment_method_details_card_checks in the
-- specification.
data PaymentMethodDetailsCardChecks
PaymentMethodDetailsCardChecks :: Maybe Text -> Maybe Text -> Maybe Text -> PaymentMethodDetailsCardChecks
-- | address_line1_check: If a address line1 was provided, results of the
-- check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsCardChecksAddressLine1Check] :: PaymentMethodDetailsCardChecks -> Maybe Text
-- | address_postal_code_check: If a address postal code was provided,
-- results of the check, one of `pass`, `fail`, `unavailable`, or
-- `unchecked`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsCardChecksAddressPostalCodeCheck] :: PaymentMethodDetailsCardChecks -> Maybe Text
-- | cvc_check: If a CVC was provided, results of the check, one of `pass`,
-- `fail`, `unavailable`, or `unchecked`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsCardChecksCvcCheck] :: PaymentMethodDetailsCardChecks -> Maybe Text
-- | Create a new PaymentMethodDetailsCardChecks with all required
-- fields.
mkPaymentMethodDetailsCardChecks :: PaymentMethodDetailsCardChecks
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodDetailsCardChecks.PaymentMethodDetailsCardChecks
instance GHC.Show.Show StripeAPI.Types.PaymentMethodDetailsCardChecks.PaymentMethodDetailsCardChecks
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodDetailsCardChecks.PaymentMethodDetailsCardChecks
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodDetailsCardChecks.PaymentMethodDetailsCardChecks
-- | Contains the types generated from the schema
-- PaymentMethodDetailsCardInstallments
module StripeAPI.Types.PaymentMethodDetailsCardInstallments
-- | Defines the object schema located at
-- components.schemas.payment_method_details_card_installments
-- in the specification.
data PaymentMethodDetailsCardInstallments
PaymentMethodDetailsCardInstallments :: Maybe PaymentMethodDetailsCardInstallmentsPlan' -> PaymentMethodDetailsCardInstallments
-- | plan: Installment plan selected for the payment.
[paymentMethodDetailsCardInstallmentsPlan] :: PaymentMethodDetailsCardInstallments -> Maybe PaymentMethodDetailsCardInstallmentsPlan'
-- | Create a new PaymentMethodDetailsCardInstallments with all
-- required fields.
mkPaymentMethodDetailsCardInstallments :: PaymentMethodDetailsCardInstallments
-- | Defines the object schema located at
-- components.schemas.payment_method_details_card_installments.properties.plan.anyOf
-- in the specification.
--
-- Installment plan selected for the payment.
data PaymentMethodDetailsCardInstallmentsPlan'
PaymentMethodDetailsCardInstallmentsPlan' :: Maybe Int -> Maybe PaymentMethodDetailsCardInstallmentsPlan'Interval' -> Maybe PaymentMethodDetailsCardInstallmentsPlan'Type' -> PaymentMethodDetailsCardInstallmentsPlan'
-- | count: For `fixed_count` installment plans, this is the number of
-- installment payments your customer will make to their credit card.
[paymentMethodDetailsCardInstallmentsPlan'Count] :: PaymentMethodDetailsCardInstallmentsPlan' -> Maybe Int
-- | interval: For `fixed_count` installment plans, this is the interval
-- between installment payments your customer will make to their credit
-- card. One of `month`.
[paymentMethodDetailsCardInstallmentsPlan'Interval] :: PaymentMethodDetailsCardInstallmentsPlan' -> Maybe PaymentMethodDetailsCardInstallmentsPlan'Interval'
-- | type: Type of installment plan, one of `fixed_count`.
[paymentMethodDetailsCardInstallmentsPlan'Type] :: PaymentMethodDetailsCardInstallmentsPlan' -> Maybe PaymentMethodDetailsCardInstallmentsPlan'Type'
-- | Create a new PaymentMethodDetailsCardInstallmentsPlan' with all
-- required fields.
mkPaymentMethodDetailsCardInstallmentsPlan' :: PaymentMethodDetailsCardInstallmentsPlan'
-- | Defines the enum schema located at
-- components.schemas.payment_method_details_card_installments.properties.plan.anyOf.properties.interval
-- in the specification.
--
-- For `fixed_count` installment plans, this is the interval between
-- installment payments your customer will make to their credit card. One
-- of `month`.
data PaymentMethodDetailsCardInstallmentsPlan'Interval'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PaymentMethodDetailsCardInstallmentsPlan'Interval'Other :: Value -> PaymentMethodDetailsCardInstallmentsPlan'Interval'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PaymentMethodDetailsCardInstallmentsPlan'Interval'Typed :: Text -> PaymentMethodDetailsCardInstallmentsPlan'Interval'
-- | Represents the JSON value "month"
PaymentMethodDetailsCardInstallmentsPlan'Interval'EnumMonth :: PaymentMethodDetailsCardInstallmentsPlan'Interval'
-- | Defines the enum schema located at
-- components.schemas.payment_method_details_card_installments.properties.plan.anyOf.properties.type
-- in the specification.
--
-- Type of installment plan, one of `fixed_count`.
data PaymentMethodDetailsCardInstallmentsPlan'Type'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PaymentMethodDetailsCardInstallmentsPlan'Type'Other :: Value -> PaymentMethodDetailsCardInstallmentsPlan'Type'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PaymentMethodDetailsCardInstallmentsPlan'Type'Typed :: Text -> PaymentMethodDetailsCardInstallmentsPlan'Type'
-- | Represents the JSON value "fixed_count"
PaymentMethodDetailsCardInstallmentsPlan'Type'EnumFixedCount :: PaymentMethodDetailsCardInstallmentsPlan'Type'
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodDetailsCardInstallments.PaymentMethodDetailsCardInstallmentsPlan'Interval'
instance GHC.Show.Show StripeAPI.Types.PaymentMethodDetailsCardInstallments.PaymentMethodDetailsCardInstallmentsPlan'Interval'
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodDetailsCardInstallments.PaymentMethodDetailsCardInstallmentsPlan'Type'
instance GHC.Show.Show StripeAPI.Types.PaymentMethodDetailsCardInstallments.PaymentMethodDetailsCardInstallmentsPlan'Type'
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodDetailsCardInstallments.PaymentMethodDetailsCardInstallmentsPlan'
instance GHC.Show.Show StripeAPI.Types.PaymentMethodDetailsCardInstallments.PaymentMethodDetailsCardInstallmentsPlan'
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodDetailsCardInstallments.PaymentMethodDetailsCardInstallments
instance GHC.Show.Show StripeAPI.Types.PaymentMethodDetailsCardInstallments.PaymentMethodDetailsCardInstallments
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodDetailsCardInstallments.PaymentMethodDetailsCardInstallments
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodDetailsCardInstallments.PaymentMethodDetailsCardInstallments
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodDetailsCardInstallments.PaymentMethodDetailsCardInstallmentsPlan'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodDetailsCardInstallments.PaymentMethodDetailsCardInstallmentsPlan'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodDetailsCardInstallments.PaymentMethodDetailsCardInstallmentsPlan'Type'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodDetailsCardInstallments.PaymentMethodDetailsCardInstallmentsPlan'Type'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodDetailsCardInstallments.PaymentMethodDetailsCardInstallmentsPlan'Interval'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodDetailsCardInstallments.PaymentMethodDetailsCardInstallmentsPlan'Interval'
-- | Contains the types generated from the schema
-- PaymentMethodDetailsCardInstallmentsPlan
module StripeAPI.Types.PaymentMethodDetailsCardInstallmentsPlan
-- | Defines the object schema located at
-- components.schemas.payment_method_details_card_installments_plan
-- in the specification.
data PaymentMethodDetailsCardInstallmentsPlan
PaymentMethodDetailsCardInstallmentsPlan :: Maybe Int -> Maybe PaymentMethodDetailsCardInstallmentsPlanInterval' -> PaymentMethodDetailsCardInstallmentsPlan
-- | count: For `fixed_count` installment plans, this is the number of
-- installment payments your customer will make to their credit card.
[paymentMethodDetailsCardInstallmentsPlanCount] :: PaymentMethodDetailsCardInstallmentsPlan -> Maybe Int
-- | interval: For `fixed_count` installment plans, this is the interval
-- between installment payments your customer will make to their credit
-- card. One of `month`.
[paymentMethodDetailsCardInstallmentsPlanInterval] :: PaymentMethodDetailsCardInstallmentsPlan -> Maybe PaymentMethodDetailsCardInstallmentsPlanInterval'
-- | Create a new PaymentMethodDetailsCardInstallmentsPlan with all
-- required fields.
mkPaymentMethodDetailsCardInstallmentsPlan :: PaymentMethodDetailsCardInstallmentsPlan
-- | Defines the enum schema located at
-- components.schemas.payment_method_details_card_installments_plan.properties.interval
-- in the specification.
--
-- For `fixed_count` installment plans, this is the interval between
-- installment payments your customer will make to their credit card. One
-- of `month`.
data PaymentMethodDetailsCardInstallmentsPlanInterval'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PaymentMethodDetailsCardInstallmentsPlanInterval'Other :: Value -> PaymentMethodDetailsCardInstallmentsPlanInterval'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PaymentMethodDetailsCardInstallmentsPlanInterval'Typed :: Text -> PaymentMethodDetailsCardInstallmentsPlanInterval'
-- | Represents the JSON value "month"
PaymentMethodDetailsCardInstallmentsPlanInterval'EnumMonth :: PaymentMethodDetailsCardInstallmentsPlanInterval'
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodDetailsCardInstallmentsPlan.PaymentMethodDetailsCardInstallmentsPlanInterval'
instance GHC.Show.Show StripeAPI.Types.PaymentMethodDetailsCardInstallmentsPlan.PaymentMethodDetailsCardInstallmentsPlanInterval'
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodDetailsCardInstallmentsPlan.PaymentMethodDetailsCardInstallmentsPlan
instance GHC.Show.Show StripeAPI.Types.PaymentMethodDetailsCardInstallmentsPlan.PaymentMethodDetailsCardInstallmentsPlan
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodDetailsCardInstallmentsPlan.PaymentMethodDetailsCardInstallmentsPlan
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodDetailsCardInstallmentsPlan.PaymentMethodDetailsCardInstallmentsPlan
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodDetailsCardInstallmentsPlan.PaymentMethodDetailsCardInstallmentsPlanInterval'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodDetailsCardInstallmentsPlan.PaymentMethodDetailsCardInstallmentsPlanInterval'
-- | Contains the types generated from the schema
-- CardGeneratedFromPaymentMethodDetails
module StripeAPI.Types.CardGeneratedFromPaymentMethodDetails
-- | Defines the object schema located at
-- components.schemas.card_generated_from_payment_method_details
-- in the specification.
data CardGeneratedFromPaymentMethodDetails
CardGeneratedFromPaymentMethodDetails :: Maybe PaymentMethodDetailsCardPresent -> Text -> CardGeneratedFromPaymentMethodDetails
-- | card_present:
[cardGeneratedFromPaymentMethodDetailsCardPresent] :: CardGeneratedFromPaymentMethodDetails -> Maybe PaymentMethodDetailsCardPresent
-- | type: The type of payment method transaction-specific details from the
-- transaction that generated this `card` payment method. Always
-- `card_present`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[cardGeneratedFromPaymentMethodDetailsType] :: CardGeneratedFromPaymentMethodDetails -> Text
-- | Create a new CardGeneratedFromPaymentMethodDetails with all
-- required fields.
mkCardGeneratedFromPaymentMethodDetails :: Text -> CardGeneratedFromPaymentMethodDetails
instance GHC.Classes.Eq StripeAPI.Types.CardGeneratedFromPaymentMethodDetails.CardGeneratedFromPaymentMethodDetails
instance GHC.Show.Show StripeAPI.Types.CardGeneratedFromPaymentMethodDetails.CardGeneratedFromPaymentMethodDetails
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.CardGeneratedFromPaymentMethodDetails.CardGeneratedFromPaymentMethodDetails
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.CardGeneratedFromPaymentMethodDetails.CardGeneratedFromPaymentMethodDetails
-- | Contains the types generated from the schema
-- PaymentMethodDetailsCardPresent
module StripeAPI.Types.PaymentMethodDetailsCardPresent
-- | Defines the object schema located at
-- components.schemas.payment_method_details_card_present in the
-- specification.
data PaymentMethodDetailsCardPresent
PaymentMethodDetailsCardPresent :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Int -> Int -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe PaymentMethodDetailsCardPresentReadMethod' -> Maybe PaymentMethodDetailsCardPresentReceipt' -> PaymentMethodDetailsCardPresent
-- | brand: Card brand. Can be `amex`, `diners`, `discover`, `jcb`,
-- `mastercard`, `unionpay`, `visa`, or `unknown`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsCardPresentBrand] :: PaymentMethodDetailsCardPresent -> Maybe Text
-- | cardholder_name: The cardholder name as read from the card, in ISO
-- 7813 format. May include alphanumeric characters, special
-- characters and first/last name separator (`/`).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsCardPresentCardholderName] :: PaymentMethodDetailsCardPresent -> Maybe Text
-- | country: Two-letter ISO code representing the country of the card. You
-- could use this attribute to get a sense of the international breakdown
-- of cards you've collected.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsCardPresentCountry] :: PaymentMethodDetailsCardPresent -> Maybe Text
-- | emv_auth_data: Authorization response cryptogram.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsCardPresentEmvAuthData] :: PaymentMethodDetailsCardPresent -> Maybe Text
-- | exp_month: Two-digit number representing the card's expiration month.
[paymentMethodDetailsCardPresentExpMonth] :: PaymentMethodDetailsCardPresent -> Int
-- | exp_year: Four-digit number representing the card's expiration year.
[paymentMethodDetailsCardPresentExpYear] :: PaymentMethodDetailsCardPresent -> Int
-- | fingerprint: Uniquely identifies this particular card number. You can
-- use this attribute to check whether two customers who’ve signed up
-- with you are using the same card number, for example. For payment
-- methods that tokenize card information (Apple Pay, Google Pay), the
-- tokenized number might be provided instead of the underlying card
-- number.
--
--
-- - Starting May 1, 2021, card fingerprint in India for Connect will
-- change to allow two fingerprints for the same card --- one for India
-- and one for the rest of the world.*
--
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsCardPresentFingerprint] :: PaymentMethodDetailsCardPresent -> Maybe Text
-- | funding: Card funding type. Can be `credit`, `debit`, `prepaid`, or
-- `unknown`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsCardPresentFunding] :: PaymentMethodDetailsCardPresent -> Maybe Text
-- | generated_card: ID of a card PaymentMethod generated from the
-- card_present PaymentMethod that may be attached to a Customer for
-- future transactions. Only present if it was possible to generate a
-- card PaymentMethod.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsCardPresentGeneratedCard] :: PaymentMethodDetailsCardPresent -> Maybe Text
-- | last4: The last four digits of the card.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsCardPresentLast4] :: PaymentMethodDetailsCardPresent -> Maybe Text
-- | network: Identifies which network this charge was processed on. Can be
-- `amex`, `cartes_bancaires`, `diners`, `discover`, `interac`, `jcb`,
-- `mastercard`, `unionpay`, `visa`, or `unknown`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsCardPresentNetwork] :: PaymentMethodDetailsCardPresent -> Maybe Text
-- | read_method: How card details were read in this transaction.
[paymentMethodDetailsCardPresentReadMethod] :: PaymentMethodDetailsCardPresent -> Maybe PaymentMethodDetailsCardPresentReadMethod'
-- | receipt: A collection of fields required to be displayed on receipts.
-- Only required for EMV transactions.
[paymentMethodDetailsCardPresentReceipt] :: PaymentMethodDetailsCardPresent -> Maybe PaymentMethodDetailsCardPresentReceipt'
-- | Create a new PaymentMethodDetailsCardPresent with all required
-- fields.
mkPaymentMethodDetailsCardPresent :: Int -> Int -> PaymentMethodDetailsCardPresent
-- | Defines the enum schema located at
-- components.schemas.payment_method_details_card_present.properties.read_method
-- in the specification.
--
-- How card details were read in this transaction.
data PaymentMethodDetailsCardPresentReadMethod'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PaymentMethodDetailsCardPresentReadMethod'Other :: Value -> PaymentMethodDetailsCardPresentReadMethod'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PaymentMethodDetailsCardPresentReadMethod'Typed :: Text -> PaymentMethodDetailsCardPresentReadMethod'
-- | Represents the JSON value "contact_emv"
PaymentMethodDetailsCardPresentReadMethod'EnumContactEmv :: PaymentMethodDetailsCardPresentReadMethod'
-- | Represents the JSON value "contactless_emv"
PaymentMethodDetailsCardPresentReadMethod'EnumContactlessEmv :: PaymentMethodDetailsCardPresentReadMethod'
-- | Represents the JSON value "contactless_magstripe_mode"
PaymentMethodDetailsCardPresentReadMethod'EnumContactlessMagstripeMode :: PaymentMethodDetailsCardPresentReadMethod'
-- | Represents the JSON value "magnetic_stripe_fallback"
PaymentMethodDetailsCardPresentReadMethod'EnumMagneticStripeFallback :: PaymentMethodDetailsCardPresentReadMethod'
-- | Represents the JSON value "magnetic_stripe_track2"
PaymentMethodDetailsCardPresentReadMethod'EnumMagneticStripeTrack2 :: PaymentMethodDetailsCardPresentReadMethod'
-- | Defines the object schema located at
-- components.schemas.payment_method_details_card_present.properties.receipt.anyOf
-- in the specification.
--
-- A collection of fields required to be displayed on receipts. Only
-- required for EMV transactions.
data PaymentMethodDetailsCardPresentReceipt'
PaymentMethodDetailsCardPresentReceipt' :: Maybe PaymentMethodDetailsCardPresentReceipt'AccountType' -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PaymentMethodDetailsCardPresentReceipt'
-- | account_type: The type of account being debited or credited
[paymentMethodDetailsCardPresentReceipt'AccountType] :: PaymentMethodDetailsCardPresentReceipt' -> Maybe PaymentMethodDetailsCardPresentReceipt'AccountType'
-- | application_cryptogram: EMV tag 9F26, cryptogram generated by the
-- integrated circuit chip.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsCardPresentReceipt'ApplicationCryptogram] :: PaymentMethodDetailsCardPresentReceipt' -> Maybe Text
-- | application_preferred_name: Mnenomic of the Application Identifier.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsCardPresentReceipt'ApplicationPreferredName] :: PaymentMethodDetailsCardPresentReceipt' -> Maybe Text
-- | authorization_code: Identifier for this transaction.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsCardPresentReceipt'AuthorizationCode] :: PaymentMethodDetailsCardPresentReceipt' -> Maybe Text
-- | authorization_response_code: EMV tag 8A. A code returned by the card
-- issuer.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsCardPresentReceipt'AuthorizationResponseCode] :: PaymentMethodDetailsCardPresentReceipt' -> Maybe Text
-- | cardholder_verification_method: How the cardholder verified ownership
-- of the card.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsCardPresentReceipt'CardholderVerificationMethod] :: PaymentMethodDetailsCardPresentReceipt' -> Maybe Text
-- | dedicated_file_name: EMV tag 84. Similar to the application identifier
-- stored on the integrated circuit chip.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsCardPresentReceipt'DedicatedFileName] :: PaymentMethodDetailsCardPresentReceipt' -> Maybe Text
-- | terminal_verification_results: The outcome of a series of EMV
-- functions performed by the card reader.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsCardPresentReceipt'TerminalVerificationResults] :: PaymentMethodDetailsCardPresentReceipt' -> Maybe Text
-- | transaction_status_information: An indication of various EMV functions
-- performed during the transaction.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsCardPresentReceipt'TransactionStatusInformation] :: PaymentMethodDetailsCardPresentReceipt' -> Maybe Text
-- | Create a new PaymentMethodDetailsCardPresentReceipt' with all
-- required fields.
mkPaymentMethodDetailsCardPresentReceipt' :: PaymentMethodDetailsCardPresentReceipt'
-- | Defines the enum schema located at
-- components.schemas.payment_method_details_card_present.properties.receipt.anyOf.properties.account_type
-- in the specification.
--
-- The type of account being debited or credited
data PaymentMethodDetailsCardPresentReceipt'AccountType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PaymentMethodDetailsCardPresentReceipt'AccountType'Other :: Value -> PaymentMethodDetailsCardPresentReceipt'AccountType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PaymentMethodDetailsCardPresentReceipt'AccountType'Typed :: Text -> PaymentMethodDetailsCardPresentReceipt'AccountType'
-- | Represents the JSON value "checking"
PaymentMethodDetailsCardPresentReceipt'AccountType'EnumChecking :: PaymentMethodDetailsCardPresentReceipt'AccountType'
-- | Represents the JSON value "credit"
PaymentMethodDetailsCardPresentReceipt'AccountType'EnumCredit :: PaymentMethodDetailsCardPresentReceipt'AccountType'
-- | Represents the JSON value "prepaid"
PaymentMethodDetailsCardPresentReceipt'AccountType'EnumPrepaid :: PaymentMethodDetailsCardPresentReceipt'AccountType'
-- | Represents the JSON value "unknown"
PaymentMethodDetailsCardPresentReceipt'AccountType'EnumUnknown :: PaymentMethodDetailsCardPresentReceipt'AccountType'
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodDetailsCardPresent.PaymentMethodDetailsCardPresentReadMethod'
instance GHC.Show.Show StripeAPI.Types.PaymentMethodDetailsCardPresent.PaymentMethodDetailsCardPresentReadMethod'
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodDetailsCardPresent.PaymentMethodDetailsCardPresentReceipt'AccountType'
instance GHC.Show.Show StripeAPI.Types.PaymentMethodDetailsCardPresent.PaymentMethodDetailsCardPresentReceipt'AccountType'
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodDetailsCardPresent.PaymentMethodDetailsCardPresentReceipt'
instance GHC.Show.Show StripeAPI.Types.PaymentMethodDetailsCardPresent.PaymentMethodDetailsCardPresentReceipt'
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodDetailsCardPresent.PaymentMethodDetailsCardPresent
instance GHC.Show.Show StripeAPI.Types.PaymentMethodDetailsCardPresent.PaymentMethodDetailsCardPresent
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodDetailsCardPresent.PaymentMethodDetailsCardPresent
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodDetailsCardPresent.PaymentMethodDetailsCardPresent
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodDetailsCardPresent.PaymentMethodDetailsCardPresentReceipt'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodDetailsCardPresent.PaymentMethodDetailsCardPresentReceipt'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodDetailsCardPresent.PaymentMethodDetailsCardPresentReceipt'AccountType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodDetailsCardPresent.PaymentMethodDetailsCardPresentReceipt'AccountType'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodDetailsCardPresent.PaymentMethodDetailsCardPresentReadMethod'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodDetailsCardPresent.PaymentMethodDetailsCardPresentReadMethod'
-- | Contains the types generated from the schema
-- PaymentMethodDetailsCardPresentReceipt
module StripeAPI.Types.PaymentMethodDetailsCardPresentReceipt
-- | Defines the object schema located at
-- components.schemas.payment_method_details_card_present_receipt
-- in the specification.
data PaymentMethodDetailsCardPresentReceipt
PaymentMethodDetailsCardPresentReceipt :: Maybe PaymentMethodDetailsCardPresentReceiptAccountType' -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PaymentMethodDetailsCardPresentReceipt
-- | account_type: The type of account being debited or credited
[paymentMethodDetailsCardPresentReceiptAccountType] :: PaymentMethodDetailsCardPresentReceipt -> Maybe PaymentMethodDetailsCardPresentReceiptAccountType'
-- | application_cryptogram: EMV tag 9F26, cryptogram generated by the
-- integrated circuit chip.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsCardPresentReceiptApplicationCryptogram] :: PaymentMethodDetailsCardPresentReceipt -> Maybe Text
-- | application_preferred_name: Mnenomic of the Application Identifier.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsCardPresentReceiptApplicationPreferredName] :: PaymentMethodDetailsCardPresentReceipt -> Maybe Text
-- | authorization_code: Identifier for this transaction.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsCardPresentReceiptAuthorizationCode] :: PaymentMethodDetailsCardPresentReceipt -> Maybe Text
-- | authorization_response_code: EMV tag 8A. A code returned by the card
-- issuer.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsCardPresentReceiptAuthorizationResponseCode] :: PaymentMethodDetailsCardPresentReceipt -> Maybe Text
-- | cardholder_verification_method: How the cardholder verified ownership
-- of the card.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsCardPresentReceiptCardholderVerificationMethod] :: PaymentMethodDetailsCardPresentReceipt -> Maybe Text
-- | dedicated_file_name: EMV tag 84. Similar to the application identifier
-- stored on the integrated circuit chip.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsCardPresentReceiptDedicatedFileName] :: PaymentMethodDetailsCardPresentReceipt -> Maybe Text
-- | terminal_verification_results: The outcome of a series of EMV
-- functions performed by the card reader.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsCardPresentReceiptTerminalVerificationResults] :: PaymentMethodDetailsCardPresentReceipt -> Maybe Text
-- | transaction_status_information: An indication of various EMV functions
-- performed during the transaction.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsCardPresentReceiptTransactionStatusInformation] :: PaymentMethodDetailsCardPresentReceipt -> Maybe Text
-- | Create a new PaymentMethodDetailsCardPresentReceipt with all
-- required fields.
mkPaymentMethodDetailsCardPresentReceipt :: PaymentMethodDetailsCardPresentReceipt
-- | Defines the enum schema located at
-- components.schemas.payment_method_details_card_present_receipt.properties.account_type
-- in the specification.
--
-- The type of account being debited or credited
data PaymentMethodDetailsCardPresentReceiptAccountType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PaymentMethodDetailsCardPresentReceiptAccountType'Other :: Value -> PaymentMethodDetailsCardPresentReceiptAccountType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PaymentMethodDetailsCardPresentReceiptAccountType'Typed :: Text -> PaymentMethodDetailsCardPresentReceiptAccountType'
-- | Represents the JSON value "checking"
PaymentMethodDetailsCardPresentReceiptAccountType'EnumChecking :: PaymentMethodDetailsCardPresentReceiptAccountType'
-- | Represents the JSON value "credit"
PaymentMethodDetailsCardPresentReceiptAccountType'EnumCredit :: PaymentMethodDetailsCardPresentReceiptAccountType'
-- | Represents the JSON value "prepaid"
PaymentMethodDetailsCardPresentReceiptAccountType'EnumPrepaid :: PaymentMethodDetailsCardPresentReceiptAccountType'
-- | Represents the JSON value "unknown"
PaymentMethodDetailsCardPresentReceiptAccountType'EnumUnknown :: PaymentMethodDetailsCardPresentReceiptAccountType'
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodDetailsCardPresentReceipt.PaymentMethodDetailsCardPresentReceiptAccountType'
instance GHC.Show.Show StripeAPI.Types.PaymentMethodDetailsCardPresentReceipt.PaymentMethodDetailsCardPresentReceiptAccountType'
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodDetailsCardPresentReceipt.PaymentMethodDetailsCardPresentReceipt
instance GHC.Show.Show StripeAPI.Types.PaymentMethodDetailsCardPresentReceipt.PaymentMethodDetailsCardPresentReceipt
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodDetailsCardPresentReceipt.PaymentMethodDetailsCardPresentReceipt
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodDetailsCardPresentReceipt.PaymentMethodDetailsCardPresentReceipt
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodDetailsCardPresentReceipt.PaymentMethodDetailsCardPresentReceiptAccountType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodDetailsCardPresentReceipt.PaymentMethodDetailsCardPresentReceiptAccountType'
-- | Contains the types generated from the schema
-- PaymentMethodDetailsCardWalletMasterpass
module StripeAPI.Types.PaymentMethodDetailsCardWalletMasterpass
-- | Defines the object schema located at
-- components.schemas.payment_method_details_card_wallet_masterpass
-- in the specification.
data PaymentMethodDetailsCardWalletMasterpass
PaymentMethodDetailsCardWalletMasterpass :: Maybe PaymentMethodDetailsCardWalletMasterpassBillingAddress' -> Maybe Text -> Maybe Text -> Maybe PaymentMethodDetailsCardWalletMasterpassShippingAddress' -> PaymentMethodDetailsCardWalletMasterpass
-- | billing_address: Owner's verified billing address. Values are verified
-- or provided by the wallet directly (if supported) at the time of
-- authorization or settlement. They cannot be set or mutated.
[paymentMethodDetailsCardWalletMasterpassBillingAddress] :: PaymentMethodDetailsCardWalletMasterpass -> Maybe PaymentMethodDetailsCardWalletMasterpassBillingAddress'
-- | email: Owner's verified email. Values are verified or provided by the
-- wallet directly (if supported) at the time of authorization or
-- settlement. They cannot be set or mutated.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsCardWalletMasterpassEmail] :: PaymentMethodDetailsCardWalletMasterpass -> Maybe Text
-- | name: Owner's verified full name. Values are verified or provided by
-- the wallet directly (if supported) at the time of authorization or
-- settlement. They cannot be set or mutated.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsCardWalletMasterpassName] :: PaymentMethodDetailsCardWalletMasterpass -> Maybe Text
-- | shipping_address: Owner's verified shipping address. Values are
-- verified or provided by the wallet directly (if supported) at the time
-- of authorization or settlement. They cannot be set or mutated.
[paymentMethodDetailsCardWalletMasterpassShippingAddress] :: PaymentMethodDetailsCardWalletMasterpass -> Maybe PaymentMethodDetailsCardWalletMasterpassShippingAddress'
-- | Create a new PaymentMethodDetailsCardWalletMasterpass with all
-- required fields.
mkPaymentMethodDetailsCardWalletMasterpass :: PaymentMethodDetailsCardWalletMasterpass
-- | Defines the object schema located at
-- components.schemas.payment_method_details_card_wallet_masterpass.properties.billing_address.anyOf
-- in the specification.
--
-- Owner\'s verified billing address. Values are verified or provided by
-- the wallet directly (if supported) at the time of authorization or
-- settlement. They cannot be set or mutated.
data PaymentMethodDetailsCardWalletMasterpassBillingAddress'
PaymentMethodDetailsCardWalletMasterpassBillingAddress' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PaymentMethodDetailsCardWalletMasterpassBillingAddress'
-- | city: City, district, suburb, town, or village.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsCardWalletMasterpassBillingAddress'City] :: PaymentMethodDetailsCardWalletMasterpassBillingAddress' -> Maybe Text
-- | country: Two-letter country code ([ISO 3166-1
-- alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsCardWalletMasterpassBillingAddress'Country] :: PaymentMethodDetailsCardWalletMasterpassBillingAddress' -> Maybe Text
-- | line1: Address line 1 (e.g., street, PO Box, or company name).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsCardWalletMasterpassBillingAddress'Line1] :: PaymentMethodDetailsCardWalletMasterpassBillingAddress' -> Maybe Text
-- | line2: Address line 2 (e.g., apartment, suite, unit, or building).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsCardWalletMasterpassBillingAddress'Line2] :: PaymentMethodDetailsCardWalletMasterpassBillingAddress' -> Maybe Text
-- | postal_code: ZIP or postal code.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsCardWalletMasterpassBillingAddress'PostalCode] :: PaymentMethodDetailsCardWalletMasterpassBillingAddress' -> Maybe Text
-- | state: State, county, province, or region.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsCardWalletMasterpassBillingAddress'State] :: PaymentMethodDetailsCardWalletMasterpassBillingAddress' -> Maybe Text
-- | Create a new
-- PaymentMethodDetailsCardWalletMasterpassBillingAddress' with
-- all required fields.
mkPaymentMethodDetailsCardWalletMasterpassBillingAddress' :: PaymentMethodDetailsCardWalletMasterpassBillingAddress'
-- | Defines the object schema located at
-- components.schemas.payment_method_details_card_wallet_masterpass.properties.shipping_address.anyOf
-- in the specification.
--
-- Owner\'s verified shipping address. Values are verified or provided by
-- the wallet directly (if supported) at the time of authorization or
-- settlement. They cannot be set or mutated.
data PaymentMethodDetailsCardWalletMasterpassShippingAddress'
PaymentMethodDetailsCardWalletMasterpassShippingAddress' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PaymentMethodDetailsCardWalletMasterpassShippingAddress'
-- | city: City, district, suburb, town, or village.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsCardWalletMasterpassShippingAddress'City] :: PaymentMethodDetailsCardWalletMasterpassShippingAddress' -> Maybe Text
-- | country: Two-letter country code ([ISO 3166-1
-- alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsCardWalletMasterpassShippingAddress'Country] :: PaymentMethodDetailsCardWalletMasterpassShippingAddress' -> Maybe Text
-- | line1: Address line 1 (e.g., street, PO Box, or company name).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsCardWalletMasterpassShippingAddress'Line1] :: PaymentMethodDetailsCardWalletMasterpassShippingAddress' -> Maybe Text
-- | line2: Address line 2 (e.g., apartment, suite, unit, or building).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsCardWalletMasterpassShippingAddress'Line2] :: PaymentMethodDetailsCardWalletMasterpassShippingAddress' -> Maybe Text
-- | postal_code: ZIP or postal code.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsCardWalletMasterpassShippingAddress'PostalCode] :: PaymentMethodDetailsCardWalletMasterpassShippingAddress' -> Maybe Text
-- | state: State, county, province, or region.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsCardWalletMasterpassShippingAddress'State] :: PaymentMethodDetailsCardWalletMasterpassShippingAddress' -> Maybe Text
-- | Create a new
-- PaymentMethodDetailsCardWalletMasterpassShippingAddress' with
-- all required fields.
mkPaymentMethodDetailsCardWalletMasterpassShippingAddress' :: PaymentMethodDetailsCardWalletMasterpassShippingAddress'
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodDetailsCardWalletMasterpass.PaymentMethodDetailsCardWalletMasterpassBillingAddress'
instance GHC.Show.Show StripeAPI.Types.PaymentMethodDetailsCardWalletMasterpass.PaymentMethodDetailsCardWalletMasterpassBillingAddress'
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodDetailsCardWalletMasterpass.PaymentMethodDetailsCardWalletMasterpassShippingAddress'
instance GHC.Show.Show StripeAPI.Types.PaymentMethodDetailsCardWalletMasterpass.PaymentMethodDetailsCardWalletMasterpassShippingAddress'
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodDetailsCardWalletMasterpass.PaymentMethodDetailsCardWalletMasterpass
instance GHC.Show.Show StripeAPI.Types.PaymentMethodDetailsCardWalletMasterpass.PaymentMethodDetailsCardWalletMasterpass
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodDetailsCardWalletMasterpass.PaymentMethodDetailsCardWalletMasterpass
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodDetailsCardWalletMasterpass.PaymentMethodDetailsCardWalletMasterpass
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodDetailsCardWalletMasterpass.PaymentMethodDetailsCardWalletMasterpassShippingAddress'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodDetailsCardWalletMasterpass.PaymentMethodDetailsCardWalletMasterpassShippingAddress'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodDetailsCardWalletMasterpass.PaymentMethodDetailsCardWalletMasterpassBillingAddress'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodDetailsCardWalletMasterpass.PaymentMethodDetailsCardWalletMasterpassBillingAddress'
-- | Contains the types generated from the schema
-- PaymentMethodDetailsCardWallet
module StripeAPI.Types.PaymentMethodDetailsCardWallet
-- | Defines the object schema located at
-- components.schemas.payment_method_details_card_wallet in the
-- specification.
data PaymentMethodDetailsCardWallet
PaymentMethodDetailsCardWallet :: Maybe PaymentMethodDetailsCardWalletAmexExpressCheckout -> Maybe PaymentMethodDetailsCardWalletApplePay -> Maybe Text -> Maybe PaymentMethodDetailsCardWalletGooglePay -> Maybe PaymentMethodDetailsCardWalletMasterpass -> Maybe PaymentMethodDetailsCardWalletSamsungPay -> PaymentMethodDetailsCardWalletType' -> Maybe PaymentMethodDetailsCardWalletVisaCheckout -> PaymentMethodDetailsCardWallet
-- | amex_express_checkout:
[paymentMethodDetailsCardWalletAmexExpressCheckout] :: PaymentMethodDetailsCardWallet -> Maybe PaymentMethodDetailsCardWalletAmexExpressCheckout
-- | apple_pay:
[paymentMethodDetailsCardWalletApplePay] :: PaymentMethodDetailsCardWallet -> Maybe PaymentMethodDetailsCardWalletApplePay
-- | dynamic_last4: (For tokenized numbers only.) The last four digits of
-- the device account number.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsCardWalletDynamicLast4] :: PaymentMethodDetailsCardWallet -> Maybe Text
-- | google_pay:
[paymentMethodDetailsCardWalletGooglePay] :: PaymentMethodDetailsCardWallet -> Maybe PaymentMethodDetailsCardWalletGooglePay
-- | masterpass:
[paymentMethodDetailsCardWalletMasterpass] :: PaymentMethodDetailsCardWallet -> Maybe PaymentMethodDetailsCardWalletMasterpass
-- | samsung_pay:
[paymentMethodDetailsCardWalletSamsungPay] :: PaymentMethodDetailsCardWallet -> Maybe PaymentMethodDetailsCardWalletSamsungPay
-- | type: 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.
[paymentMethodDetailsCardWalletType] :: PaymentMethodDetailsCardWallet -> PaymentMethodDetailsCardWalletType'
-- | visa_checkout:
[paymentMethodDetailsCardWalletVisaCheckout] :: PaymentMethodDetailsCardWallet -> Maybe PaymentMethodDetailsCardWalletVisaCheckout
-- | Create a new PaymentMethodDetailsCardWallet with all required
-- fields.
mkPaymentMethodDetailsCardWallet :: PaymentMethodDetailsCardWalletType' -> PaymentMethodDetailsCardWallet
-- | Defines the enum schema located at
-- components.schemas.payment_method_details_card_wallet.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.
data PaymentMethodDetailsCardWalletType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PaymentMethodDetailsCardWalletType'Other :: Value -> PaymentMethodDetailsCardWalletType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PaymentMethodDetailsCardWalletType'Typed :: Text -> PaymentMethodDetailsCardWalletType'
-- | Represents the JSON value "amex_express_checkout"
PaymentMethodDetailsCardWalletType'EnumAmexExpressCheckout :: PaymentMethodDetailsCardWalletType'
-- | Represents the JSON value "apple_pay"
PaymentMethodDetailsCardWalletType'EnumApplePay :: PaymentMethodDetailsCardWalletType'
-- | Represents the JSON value "google_pay"
PaymentMethodDetailsCardWalletType'EnumGooglePay :: PaymentMethodDetailsCardWalletType'
-- | Represents the JSON value "masterpass"
PaymentMethodDetailsCardWalletType'EnumMasterpass :: PaymentMethodDetailsCardWalletType'
-- | Represents the JSON value "samsung_pay"
PaymentMethodDetailsCardWalletType'EnumSamsungPay :: PaymentMethodDetailsCardWalletType'
-- | Represents the JSON value "visa_checkout"
PaymentMethodDetailsCardWalletType'EnumVisaCheckout :: PaymentMethodDetailsCardWalletType'
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodDetailsCardWallet.PaymentMethodDetailsCardWalletType'
instance GHC.Show.Show StripeAPI.Types.PaymentMethodDetailsCardWallet.PaymentMethodDetailsCardWalletType'
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodDetailsCardWallet.PaymentMethodDetailsCardWallet
instance GHC.Show.Show StripeAPI.Types.PaymentMethodDetailsCardWallet.PaymentMethodDetailsCardWallet
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodDetailsCardWallet.PaymentMethodDetailsCardWallet
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodDetailsCardWallet.PaymentMethodDetailsCardWallet
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodDetailsCardWallet.PaymentMethodDetailsCardWalletType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodDetailsCardWallet.PaymentMethodDetailsCardWalletType'
-- | Contains the types generated from the schema
-- PaymentMethodDetailsCardWalletVisaCheckout
module StripeAPI.Types.PaymentMethodDetailsCardWalletVisaCheckout
-- | Defines the object schema located at
-- components.schemas.payment_method_details_card_wallet_visa_checkout
-- in the specification.
data PaymentMethodDetailsCardWalletVisaCheckout
PaymentMethodDetailsCardWalletVisaCheckout :: Maybe PaymentMethodDetailsCardWalletVisaCheckoutBillingAddress' -> Maybe Text -> Maybe Text -> Maybe PaymentMethodDetailsCardWalletVisaCheckoutShippingAddress' -> PaymentMethodDetailsCardWalletVisaCheckout
-- | billing_address: Owner's verified billing address. Values are verified
-- or provided by the wallet directly (if supported) at the time of
-- authorization or settlement. They cannot be set or mutated.
[paymentMethodDetailsCardWalletVisaCheckoutBillingAddress] :: PaymentMethodDetailsCardWalletVisaCheckout -> Maybe PaymentMethodDetailsCardWalletVisaCheckoutBillingAddress'
-- | email: Owner's verified email. Values are verified or provided by the
-- wallet directly (if supported) at the time of authorization or
-- settlement. They cannot be set or mutated.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsCardWalletVisaCheckoutEmail] :: PaymentMethodDetailsCardWalletVisaCheckout -> Maybe Text
-- | name: Owner's verified full name. Values are verified or provided by
-- the wallet directly (if supported) at the time of authorization or
-- settlement. They cannot be set or mutated.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsCardWalletVisaCheckoutName] :: PaymentMethodDetailsCardWalletVisaCheckout -> Maybe Text
-- | shipping_address: Owner's verified shipping address. Values are
-- verified or provided by the wallet directly (if supported) at the time
-- of authorization or settlement. They cannot be set or mutated.
[paymentMethodDetailsCardWalletVisaCheckoutShippingAddress] :: PaymentMethodDetailsCardWalletVisaCheckout -> Maybe PaymentMethodDetailsCardWalletVisaCheckoutShippingAddress'
-- | Create a new PaymentMethodDetailsCardWalletVisaCheckout with
-- all required fields.
mkPaymentMethodDetailsCardWalletVisaCheckout :: PaymentMethodDetailsCardWalletVisaCheckout
-- | Defines the object schema located at
-- components.schemas.payment_method_details_card_wallet_visa_checkout.properties.billing_address.anyOf
-- in the specification.
--
-- Owner\'s verified billing address. Values are verified or provided by
-- the wallet directly (if supported) at the time of authorization or
-- settlement. They cannot be set or mutated.
data PaymentMethodDetailsCardWalletVisaCheckoutBillingAddress'
PaymentMethodDetailsCardWalletVisaCheckoutBillingAddress' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PaymentMethodDetailsCardWalletVisaCheckoutBillingAddress'
-- | city: City, district, suburb, town, or village.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsCardWalletVisaCheckoutBillingAddress'City] :: PaymentMethodDetailsCardWalletVisaCheckoutBillingAddress' -> Maybe Text
-- | country: Two-letter country code ([ISO 3166-1
-- alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsCardWalletVisaCheckoutBillingAddress'Country] :: PaymentMethodDetailsCardWalletVisaCheckoutBillingAddress' -> Maybe Text
-- | line1: Address line 1 (e.g., street, PO Box, or company name).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsCardWalletVisaCheckoutBillingAddress'Line1] :: PaymentMethodDetailsCardWalletVisaCheckoutBillingAddress' -> Maybe Text
-- | line2: Address line 2 (e.g., apartment, suite, unit, or building).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsCardWalletVisaCheckoutBillingAddress'Line2] :: PaymentMethodDetailsCardWalletVisaCheckoutBillingAddress' -> Maybe Text
-- | postal_code: ZIP or postal code.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsCardWalletVisaCheckoutBillingAddress'PostalCode] :: PaymentMethodDetailsCardWalletVisaCheckoutBillingAddress' -> Maybe Text
-- | state: State, county, province, or region.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsCardWalletVisaCheckoutBillingAddress'State] :: PaymentMethodDetailsCardWalletVisaCheckoutBillingAddress' -> Maybe Text
-- | Create a new
-- PaymentMethodDetailsCardWalletVisaCheckoutBillingAddress' with
-- all required fields.
mkPaymentMethodDetailsCardWalletVisaCheckoutBillingAddress' :: PaymentMethodDetailsCardWalletVisaCheckoutBillingAddress'
-- | Defines the object schema located at
-- components.schemas.payment_method_details_card_wallet_visa_checkout.properties.shipping_address.anyOf
-- in the specification.
--
-- Owner\'s verified shipping address. Values are verified or provided by
-- the wallet directly (if supported) at the time of authorization or
-- settlement. They cannot be set or mutated.
data PaymentMethodDetailsCardWalletVisaCheckoutShippingAddress'
PaymentMethodDetailsCardWalletVisaCheckoutShippingAddress' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PaymentMethodDetailsCardWalletVisaCheckoutShippingAddress'
-- | city: City, district, suburb, town, or village.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsCardWalletVisaCheckoutShippingAddress'City] :: PaymentMethodDetailsCardWalletVisaCheckoutShippingAddress' -> Maybe Text
-- | country: Two-letter country code ([ISO 3166-1
-- alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsCardWalletVisaCheckoutShippingAddress'Country] :: PaymentMethodDetailsCardWalletVisaCheckoutShippingAddress' -> Maybe Text
-- | line1: Address line 1 (e.g., street, PO Box, or company name).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsCardWalletVisaCheckoutShippingAddress'Line1] :: PaymentMethodDetailsCardWalletVisaCheckoutShippingAddress' -> Maybe Text
-- | line2: Address line 2 (e.g., apartment, suite, unit, or building).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsCardWalletVisaCheckoutShippingAddress'Line2] :: PaymentMethodDetailsCardWalletVisaCheckoutShippingAddress' -> Maybe Text
-- | postal_code: ZIP or postal code.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsCardWalletVisaCheckoutShippingAddress'PostalCode] :: PaymentMethodDetailsCardWalletVisaCheckoutShippingAddress' -> Maybe Text
-- | state: State, county, province, or region.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsCardWalletVisaCheckoutShippingAddress'State] :: PaymentMethodDetailsCardWalletVisaCheckoutShippingAddress' -> Maybe Text
-- | Create a new
-- PaymentMethodDetailsCardWalletVisaCheckoutShippingAddress' with
-- all required fields.
mkPaymentMethodDetailsCardWalletVisaCheckoutShippingAddress' :: PaymentMethodDetailsCardWalletVisaCheckoutShippingAddress'
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodDetailsCardWalletVisaCheckout.PaymentMethodDetailsCardWalletVisaCheckoutBillingAddress'
instance GHC.Show.Show StripeAPI.Types.PaymentMethodDetailsCardWalletVisaCheckout.PaymentMethodDetailsCardWalletVisaCheckoutBillingAddress'
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodDetailsCardWalletVisaCheckout.PaymentMethodDetailsCardWalletVisaCheckoutShippingAddress'
instance GHC.Show.Show StripeAPI.Types.PaymentMethodDetailsCardWalletVisaCheckout.PaymentMethodDetailsCardWalletVisaCheckoutShippingAddress'
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodDetailsCardWalletVisaCheckout.PaymentMethodDetailsCardWalletVisaCheckout
instance GHC.Show.Show StripeAPI.Types.PaymentMethodDetailsCardWalletVisaCheckout.PaymentMethodDetailsCardWalletVisaCheckout
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodDetailsCardWalletVisaCheckout.PaymentMethodDetailsCardWalletVisaCheckout
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodDetailsCardWalletVisaCheckout.PaymentMethodDetailsCardWalletVisaCheckout
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodDetailsCardWalletVisaCheckout.PaymentMethodDetailsCardWalletVisaCheckoutShippingAddress'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodDetailsCardWalletVisaCheckout.PaymentMethodDetailsCardWalletVisaCheckoutShippingAddress'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodDetailsCardWalletVisaCheckout.PaymentMethodDetailsCardWalletVisaCheckoutBillingAddress'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodDetailsCardWalletVisaCheckout.PaymentMethodDetailsCardWalletVisaCheckoutBillingAddress'
-- | Contains the types generated from the schema PaymentMethodDetailsEps
module StripeAPI.Types.PaymentMethodDetailsEps
-- | Defines the object schema located at
-- components.schemas.payment_method_details_eps in the
-- specification.
data PaymentMethodDetailsEps
PaymentMethodDetailsEps :: Maybe PaymentMethodDetailsEpsBank' -> Maybe Text -> PaymentMethodDetailsEps
-- | bank: The customer's bank. Should be one of
-- `arzte_und_apotheker_bank`, `austrian_anadi_bank_ag`, `bank_austria`,
-- `bankhaus_carl_spangler`, `bankhaus_schelhammer_und_schattera_ag`,
-- `bawag_psk_ag`, `bks_bank_ag`, `brull_kallmus_bank_ag`,
-- `btv_vier_lander_bank`, `capital_bank_grawe_gruppe_ag`,
-- `dolomitenbank`, `easybank_ag`, `erste_bank_und_sparkassen`,
-- `hypo_alpeadriabank_international_ag`,
-- `hypo_noe_lb_fur_niederosterreich_u_wien`,
-- `hypo_oberosterreich_salzburg_steiermark`, `hypo_tirol_bank_ag`,
-- `hypo_vorarlberg_bank_ag`, `hypo_bank_burgenland_aktiengesellschaft`,
-- `marchfelder_bank`, `oberbank_ag`,
-- `raiffeisen_bankengruppe_osterreich`, `schoellerbank_ag`,
-- `sparda_bank_wien`, `volksbank_gruppe`, `volkskreditbank_ag`, or
-- `vr_bank_braunau`.
[paymentMethodDetailsEpsBank] :: PaymentMethodDetailsEps -> Maybe PaymentMethodDetailsEpsBank'
-- | verified_name: Owner's verified full name. Values are verified or
-- provided by EPS directly (if supported) at the time of authorization
-- or settlement. They cannot be set or mutated. EPS rarely provides this
-- information so the attribute is usually empty.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsEpsVerifiedName] :: PaymentMethodDetailsEps -> Maybe Text
-- | Create a new PaymentMethodDetailsEps with all required fields.
mkPaymentMethodDetailsEps :: PaymentMethodDetailsEps
-- | Defines the enum schema located at
-- components.schemas.payment_method_details_eps.properties.bank
-- in the specification.
--
-- The customer's bank. Should be one of `arzte_und_apotheker_bank`,
-- `austrian_anadi_bank_ag`, `bank_austria`, `bankhaus_carl_spangler`,
-- `bankhaus_schelhammer_und_schattera_ag`, `bawag_psk_ag`,
-- `bks_bank_ag`, `brull_kallmus_bank_ag`, `btv_vier_lander_bank`,
-- `capital_bank_grawe_gruppe_ag`, `dolomitenbank`, `easybank_ag`,
-- `erste_bank_und_sparkassen`, `hypo_alpeadriabank_international_ag`,
-- `hypo_noe_lb_fur_niederosterreich_u_wien`,
-- `hypo_oberosterreich_salzburg_steiermark`, `hypo_tirol_bank_ag`,
-- `hypo_vorarlberg_bank_ag`, `hypo_bank_burgenland_aktiengesellschaft`,
-- `marchfelder_bank`, `oberbank_ag`,
-- `raiffeisen_bankengruppe_osterreich`, `schoellerbank_ag`,
-- `sparda_bank_wien`, `volksbank_gruppe`, `volkskreditbank_ag`, or
-- `vr_bank_braunau`.
data PaymentMethodDetailsEpsBank'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PaymentMethodDetailsEpsBank'Other :: Value -> PaymentMethodDetailsEpsBank'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PaymentMethodDetailsEpsBank'Typed :: Text -> PaymentMethodDetailsEpsBank'
-- | Represents the JSON value "arzte_und_apotheker_bank"
PaymentMethodDetailsEpsBank'EnumArzteUndApothekerBank :: PaymentMethodDetailsEpsBank'
-- | Represents the JSON value "austrian_anadi_bank_ag"
PaymentMethodDetailsEpsBank'EnumAustrianAnadiBankAg :: PaymentMethodDetailsEpsBank'
-- | Represents the JSON value "bank_austria"
PaymentMethodDetailsEpsBank'EnumBankAustria :: PaymentMethodDetailsEpsBank'
-- | Represents the JSON value "bankhaus_carl_spangler"
PaymentMethodDetailsEpsBank'EnumBankhausCarlSpangler :: PaymentMethodDetailsEpsBank'
-- | Represents the JSON value
-- "bankhaus_schelhammer_und_schattera_ag"
PaymentMethodDetailsEpsBank'EnumBankhausSchelhammerUndSchatteraAg :: PaymentMethodDetailsEpsBank'
-- | Represents the JSON value "bawag_psk_ag"
PaymentMethodDetailsEpsBank'EnumBawagPskAg :: PaymentMethodDetailsEpsBank'
-- | Represents the JSON value "bks_bank_ag"
PaymentMethodDetailsEpsBank'EnumBksBankAg :: PaymentMethodDetailsEpsBank'
-- | Represents the JSON value "brull_kallmus_bank_ag"
PaymentMethodDetailsEpsBank'EnumBrullKallmusBankAg :: PaymentMethodDetailsEpsBank'
-- | Represents the JSON value "btv_vier_lander_bank"
PaymentMethodDetailsEpsBank'EnumBtvVierLanderBank :: PaymentMethodDetailsEpsBank'
-- | Represents the JSON value "capital_bank_grawe_gruppe_ag"
PaymentMethodDetailsEpsBank'EnumCapitalBankGraweGruppeAg :: PaymentMethodDetailsEpsBank'
-- | Represents the JSON value "dolomitenbank"
PaymentMethodDetailsEpsBank'EnumDolomitenbank :: PaymentMethodDetailsEpsBank'
-- | Represents the JSON value "easybank_ag"
PaymentMethodDetailsEpsBank'EnumEasybankAg :: PaymentMethodDetailsEpsBank'
-- | Represents the JSON value "erste_bank_und_sparkassen"
PaymentMethodDetailsEpsBank'EnumErsteBankUndSparkassen :: PaymentMethodDetailsEpsBank'
-- | Represents the JSON value
-- "hypo_alpeadriabank_international_ag"
PaymentMethodDetailsEpsBank'EnumHypoAlpeadriabankInternationalAg :: PaymentMethodDetailsEpsBank'
-- | Represents the JSON value
-- "hypo_bank_burgenland_aktiengesellschaft"
PaymentMethodDetailsEpsBank'EnumHypoBankBurgenlandAktiengesellschaft :: PaymentMethodDetailsEpsBank'
-- | Represents the JSON value
-- "hypo_noe_lb_fur_niederosterreich_u_wien"
PaymentMethodDetailsEpsBank'EnumHypoNoeLbFurNiederosterreichUWien :: PaymentMethodDetailsEpsBank'
-- | Represents the JSON value
-- "hypo_oberosterreich_salzburg_steiermark"
PaymentMethodDetailsEpsBank'EnumHypoOberosterreichSalzburgSteiermark :: PaymentMethodDetailsEpsBank'
-- | Represents the JSON value "hypo_tirol_bank_ag"
PaymentMethodDetailsEpsBank'EnumHypoTirolBankAg :: PaymentMethodDetailsEpsBank'
-- | Represents the JSON value "hypo_vorarlberg_bank_ag"
PaymentMethodDetailsEpsBank'EnumHypoVorarlbergBankAg :: PaymentMethodDetailsEpsBank'
-- | Represents the JSON value "marchfelder_bank"
PaymentMethodDetailsEpsBank'EnumMarchfelderBank :: PaymentMethodDetailsEpsBank'
-- | Represents the JSON value "oberbank_ag"
PaymentMethodDetailsEpsBank'EnumOberbankAg :: PaymentMethodDetailsEpsBank'
-- | Represents the JSON value
-- "raiffeisen_bankengruppe_osterreich"
PaymentMethodDetailsEpsBank'EnumRaiffeisenBankengruppeOsterreich :: PaymentMethodDetailsEpsBank'
-- | Represents the JSON value "schoellerbank_ag"
PaymentMethodDetailsEpsBank'EnumSchoellerbankAg :: PaymentMethodDetailsEpsBank'
-- | Represents the JSON value "sparda_bank_wien"
PaymentMethodDetailsEpsBank'EnumSpardaBankWien :: PaymentMethodDetailsEpsBank'
-- | Represents the JSON value "volksbank_gruppe"
PaymentMethodDetailsEpsBank'EnumVolksbankGruppe :: PaymentMethodDetailsEpsBank'
-- | Represents the JSON value "volkskreditbank_ag"
PaymentMethodDetailsEpsBank'EnumVolkskreditbankAg :: PaymentMethodDetailsEpsBank'
-- | Represents the JSON value "vr_bank_braunau"
PaymentMethodDetailsEpsBank'EnumVrBankBraunau :: PaymentMethodDetailsEpsBank'
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodDetailsEps.PaymentMethodDetailsEpsBank'
instance GHC.Show.Show StripeAPI.Types.PaymentMethodDetailsEps.PaymentMethodDetailsEpsBank'
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodDetailsEps.PaymentMethodDetailsEps
instance GHC.Show.Show StripeAPI.Types.PaymentMethodDetailsEps.PaymentMethodDetailsEps
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodDetailsEps.PaymentMethodDetailsEps
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodDetailsEps.PaymentMethodDetailsEps
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodDetailsEps.PaymentMethodDetailsEpsBank'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodDetailsEps.PaymentMethodDetailsEpsBank'
-- | Contains the types generated from the schema PaymentMethodDetailsFpx
module StripeAPI.Types.PaymentMethodDetailsFpx
-- | Defines the object schema located at
-- components.schemas.payment_method_details_fpx in the
-- specification.
data PaymentMethodDetailsFpx
PaymentMethodDetailsFpx :: PaymentMethodDetailsFpxBank' -> Maybe Text -> PaymentMethodDetailsFpx
-- | bank: The customer's bank. Can be one of `affin_bank`,
-- `alliance_bank`, `ambank`, `bank_islam`, `bank_muamalat`,
-- `bank_rakyat`, `bsn`, `cimb`, `hong_leong_bank`, `hsbc`, `kfh`,
-- `maybank2u`, `ocbc`, `public_bank`, `rhb`, `standard_chartered`,
-- `uob`, `deutsche_bank`, `maybank2e`, or `pb_enterprise`.
[paymentMethodDetailsFpxBank] :: PaymentMethodDetailsFpx -> PaymentMethodDetailsFpxBank'
-- | transaction_id: Unique transaction id generated by FPX for every
-- request from the merchant
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsFpxTransactionId] :: PaymentMethodDetailsFpx -> Maybe Text
-- | Create a new PaymentMethodDetailsFpx with all required fields.
mkPaymentMethodDetailsFpx :: PaymentMethodDetailsFpxBank' -> PaymentMethodDetailsFpx
-- | Defines the enum schema located at
-- components.schemas.payment_method_details_fpx.properties.bank
-- in the specification.
--
-- The customer's bank. Can be one of `affin_bank`, `alliance_bank`,
-- `ambank`, `bank_islam`, `bank_muamalat`, `bank_rakyat`, `bsn`, `cimb`,
-- `hong_leong_bank`, `hsbc`, `kfh`, `maybank2u`, `ocbc`, `public_bank`,
-- `rhb`, `standard_chartered`, `uob`, `deutsche_bank`, `maybank2e`, or
-- `pb_enterprise`.
data PaymentMethodDetailsFpxBank'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PaymentMethodDetailsFpxBank'Other :: Value -> PaymentMethodDetailsFpxBank'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PaymentMethodDetailsFpxBank'Typed :: Text -> PaymentMethodDetailsFpxBank'
-- | Represents the JSON value "affin_bank"
PaymentMethodDetailsFpxBank'EnumAffinBank :: PaymentMethodDetailsFpxBank'
-- | Represents the JSON value "alliance_bank"
PaymentMethodDetailsFpxBank'EnumAllianceBank :: PaymentMethodDetailsFpxBank'
-- | Represents the JSON value "ambank"
PaymentMethodDetailsFpxBank'EnumAmbank :: PaymentMethodDetailsFpxBank'
-- | Represents the JSON value "bank_islam"
PaymentMethodDetailsFpxBank'EnumBankIslam :: PaymentMethodDetailsFpxBank'
-- | Represents the JSON value "bank_muamalat"
PaymentMethodDetailsFpxBank'EnumBankMuamalat :: PaymentMethodDetailsFpxBank'
-- | Represents the JSON value "bank_rakyat"
PaymentMethodDetailsFpxBank'EnumBankRakyat :: PaymentMethodDetailsFpxBank'
-- | Represents the JSON value "bsn"
PaymentMethodDetailsFpxBank'EnumBsn :: PaymentMethodDetailsFpxBank'
-- | Represents the JSON value "cimb"
PaymentMethodDetailsFpxBank'EnumCimb :: PaymentMethodDetailsFpxBank'
-- | Represents the JSON value "deutsche_bank"
PaymentMethodDetailsFpxBank'EnumDeutscheBank :: PaymentMethodDetailsFpxBank'
-- | Represents the JSON value "hong_leong_bank"
PaymentMethodDetailsFpxBank'EnumHongLeongBank :: PaymentMethodDetailsFpxBank'
-- | Represents the JSON value "hsbc"
PaymentMethodDetailsFpxBank'EnumHsbc :: PaymentMethodDetailsFpxBank'
-- | Represents the JSON value "kfh"
PaymentMethodDetailsFpxBank'EnumKfh :: PaymentMethodDetailsFpxBank'
-- | Represents the JSON value "maybank2e"
PaymentMethodDetailsFpxBank'EnumMaybank2e :: PaymentMethodDetailsFpxBank'
-- | Represents the JSON value "maybank2u"
PaymentMethodDetailsFpxBank'EnumMaybank2u :: PaymentMethodDetailsFpxBank'
-- | Represents the JSON value "ocbc"
PaymentMethodDetailsFpxBank'EnumOcbc :: PaymentMethodDetailsFpxBank'
-- | Represents the JSON value "pb_enterprise"
PaymentMethodDetailsFpxBank'EnumPbEnterprise :: PaymentMethodDetailsFpxBank'
-- | Represents the JSON value "public_bank"
PaymentMethodDetailsFpxBank'EnumPublicBank :: PaymentMethodDetailsFpxBank'
-- | Represents the JSON value "rhb"
PaymentMethodDetailsFpxBank'EnumRhb :: PaymentMethodDetailsFpxBank'
-- | Represents the JSON value "standard_chartered"
PaymentMethodDetailsFpxBank'EnumStandardChartered :: PaymentMethodDetailsFpxBank'
-- | Represents the JSON value "uob"
PaymentMethodDetailsFpxBank'EnumUob :: PaymentMethodDetailsFpxBank'
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodDetailsFpx.PaymentMethodDetailsFpxBank'
instance GHC.Show.Show StripeAPI.Types.PaymentMethodDetailsFpx.PaymentMethodDetailsFpxBank'
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodDetailsFpx.PaymentMethodDetailsFpx
instance GHC.Show.Show StripeAPI.Types.PaymentMethodDetailsFpx.PaymentMethodDetailsFpx
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodDetailsFpx.PaymentMethodDetailsFpx
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodDetailsFpx.PaymentMethodDetailsFpx
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodDetailsFpx.PaymentMethodDetailsFpxBank'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodDetailsFpx.PaymentMethodDetailsFpxBank'
-- | Contains the types generated from the schema
-- PaymentMethodDetailsGiropay
module StripeAPI.Types.PaymentMethodDetailsGiropay
-- | Defines the object schema located at
-- components.schemas.payment_method_details_giropay in the
-- specification.
data PaymentMethodDetailsGiropay
PaymentMethodDetailsGiropay :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PaymentMethodDetailsGiropay
-- | bank_code: Bank code of bank associated with the bank account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsGiropayBankCode] :: PaymentMethodDetailsGiropay -> Maybe Text
-- | bank_name: Name of the bank associated with the bank account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsGiropayBankName] :: PaymentMethodDetailsGiropay -> Maybe Text
-- | bic: Bank Identifier Code of the bank associated with the bank
-- account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsGiropayBic] :: PaymentMethodDetailsGiropay -> Maybe Text
-- | verified_name: Owner's verified full name. Values are verified or
-- provided by Giropay directly (if supported) at the time of
-- authorization or settlement. They cannot be set or mutated. Giropay
-- rarely provides this information so the attribute is usually empty.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsGiropayVerifiedName] :: PaymentMethodDetailsGiropay -> Maybe Text
-- | Create a new PaymentMethodDetailsGiropay with all required
-- fields.
mkPaymentMethodDetailsGiropay :: PaymentMethodDetailsGiropay
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodDetailsGiropay.PaymentMethodDetailsGiropay
instance GHC.Show.Show StripeAPI.Types.PaymentMethodDetailsGiropay.PaymentMethodDetailsGiropay
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodDetailsGiropay.PaymentMethodDetailsGiropay
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodDetailsGiropay.PaymentMethodDetailsGiropay
-- | Contains the types generated from the schema
-- PaymentMethodDetailsGrabpay
module StripeAPI.Types.PaymentMethodDetailsGrabpay
-- | Defines the object schema located at
-- components.schemas.payment_method_details_grabpay in the
-- specification.
data PaymentMethodDetailsGrabpay
PaymentMethodDetailsGrabpay :: Maybe Text -> PaymentMethodDetailsGrabpay
-- | transaction_id: Unique transaction id generated by GrabPay
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsGrabpayTransactionId] :: PaymentMethodDetailsGrabpay -> Maybe Text
-- | Create a new PaymentMethodDetailsGrabpay with all required
-- fields.
mkPaymentMethodDetailsGrabpay :: PaymentMethodDetailsGrabpay
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodDetailsGrabpay.PaymentMethodDetailsGrabpay
instance GHC.Show.Show StripeAPI.Types.PaymentMethodDetailsGrabpay.PaymentMethodDetailsGrabpay
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodDetailsGrabpay.PaymentMethodDetailsGrabpay
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodDetailsGrabpay.PaymentMethodDetailsGrabpay
-- | Contains the types generated from the schema PaymentMethodDetailsIdeal
module StripeAPI.Types.PaymentMethodDetailsIdeal
-- | Defines the object schema located at
-- components.schemas.payment_method_details_ideal in the
-- specification.
data PaymentMethodDetailsIdeal
PaymentMethodDetailsIdeal :: Maybe PaymentMethodDetailsIdealBank' -> Maybe PaymentMethodDetailsIdealBic' -> Maybe PaymentMethodDetailsIdealGeneratedSepaDebit'Variants -> Maybe PaymentMethodDetailsIdealGeneratedSepaDebitMandate'Variants -> Maybe Text -> Maybe Text -> PaymentMethodDetailsIdeal
-- | bank: The customer's bank. Can be one of `abn_amro`, `asn_bank`,
-- `bunq`, `handelsbanken`, `ing`, `knab`, `moneyou`, `rabobank`,
-- `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, or `van_lanschot`.
[paymentMethodDetailsIdealBank] :: PaymentMethodDetailsIdeal -> Maybe PaymentMethodDetailsIdealBank'
-- | bic: The Bank Identifier Code of the customer's bank.
[paymentMethodDetailsIdealBic] :: PaymentMethodDetailsIdeal -> Maybe PaymentMethodDetailsIdealBic'
-- | generated_sepa_debit: The ID of the SEPA Direct Debit PaymentMethod
-- which was generated by this Charge.
[paymentMethodDetailsIdealGeneratedSepaDebit] :: PaymentMethodDetailsIdeal -> Maybe PaymentMethodDetailsIdealGeneratedSepaDebit'Variants
-- | generated_sepa_debit_mandate: The mandate for the SEPA Direct Debit
-- PaymentMethod which was generated by this Charge.
[paymentMethodDetailsIdealGeneratedSepaDebitMandate] :: PaymentMethodDetailsIdeal -> Maybe PaymentMethodDetailsIdealGeneratedSepaDebitMandate'Variants
-- | iban_last4: Last four characters of the IBAN.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsIdealIbanLast4] :: PaymentMethodDetailsIdeal -> Maybe Text
-- | verified_name: Owner's verified full name. Values are verified or
-- provided by iDEAL directly (if supported) at the time of authorization
-- or settlement. They cannot be set or mutated.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsIdealVerifiedName] :: PaymentMethodDetailsIdeal -> Maybe Text
-- | Create a new PaymentMethodDetailsIdeal with all required
-- fields.
mkPaymentMethodDetailsIdeal :: PaymentMethodDetailsIdeal
-- | Defines the enum schema located at
-- components.schemas.payment_method_details_ideal.properties.bank
-- in the specification.
--
-- The customer's bank. Can be one of `abn_amro`, `asn_bank`, `bunq`,
-- `handelsbanken`, `ing`, `knab`, `moneyou`, `rabobank`, `regiobank`,
-- `revolut`, `sns_bank`, `triodos_bank`, or `van_lanschot`.
data PaymentMethodDetailsIdealBank'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PaymentMethodDetailsIdealBank'Other :: Value -> PaymentMethodDetailsIdealBank'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PaymentMethodDetailsIdealBank'Typed :: Text -> PaymentMethodDetailsIdealBank'
-- | Represents the JSON value "abn_amro"
PaymentMethodDetailsIdealBank'EnumAbnAmro :: PaymentMethodDetailsIdealBank'
-- | Represents the JSON value "asn_bank"
PaymentMethodDetailsIdealBank'EnumAsnBank :: PaymentMethodDetailsIdealBank'
-- | Represents the JSON value "bunq"
PaymentMethodDetailsIdealBank'EnumBunq :: PaymentMethodDetailsIdealBank'
-- | Represents the JSON value "handelsbanken"
PaymentMethodDetailsIdealBank'EnumHandelsbanken :: PaymentMethodDetailsIdealBank'
-- | Represents the JSON value "ing"
PaymentMethodDetailsIdealBank'EnumIng :: PaymentMethodDetailsIdealBank'
-- | Represents the JSON value "knab"
PaymentMethodDetailsIdealBank'EnumKnab :: PaymentMethodDetailsIdealBank'
-- | Represents the JSON value "moneyou"
PaymentMethodDetailsIdealBank'EnumMoneyou :: PaymentMethodDetailsIdealBank'
-- | Represents the JSON value "rabobank"
PaymentMethodDetailsIdealBank'EnumRabobank :: PaymentMethodDetailsIdealBank'
-- | Represents the JSON value "regiobank"
PaymentMethodDetailsIdealBank'EnumRegiobank :: PaymentMethodDetailsIdealBank'
-- | Represents the JSON value "revolut"
PaymentMethodDetailsIdealBank'EnumRevolut :: PaymentMethodDetailsIdealBank'
-- | Represents the JSON value "sns_bank"
PaymentMethodDetailsIdealBank'EnumSnsBank :: PaymentMethodDetailsIdealBank'
-- | Represents the JSON value "triodos_bank"
PaymentMethodDetailsIdealBank'EnumTriodosBank :: PaymentMethodDetailsIdealBank'
-- | Represents the JSON value "van_lanschot"
PaymentMethodDetailsIdealBank'EnumVanLanschot :: PaymentMethodDetailsIdealBank'
-- | Defines the enum schema located at
-- components.schemas.payment_method_details_ideal.properties.bic
-- in the specification.
--
-- The Bank Identifier Code of the customer's bank.
data PaymentMethodDetailsIdealBic'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PaymentMethodDetailsIdealBic'Other :: Value -> PaymentMethodDetailsIdealBic'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PaymentMethodDetailsIdealBic'Typed :: Text -> PaymentMethodDetailsIdealBic'
-- | Represents the JSON value ABNANL2A
PaymentMethodDetailsIdealBic'EnumABNANL2A :: PaymentMethodDetailsIdealBic'
-- | Represents the JSON value ASNBNL21
PaymentMethodDetailsIdealBic'EnumASNBNL21 :: PaymentMethodDetailsIdealBic'
-- | Represents the JSON value BUNQNL2A
PaymentMethodDetailsIdealBic'EnumBUNQNL2A :: PaymentMethodDetailsIdealBic'
-- | Represents the JSON value FVLBNL22
PaymentMethodDetailsIdealBic'EnumFVLBNL22 :: PaymentMethodDetailsIdealBic'
-- | Represents the JSON value HANDNL2A
PaymentMethodDetailsIdealBic'EnumHANDNL2A :: PaymentMethodDetailsIdealBic'
-- | Represents the JSON value INGBNL2A
PaymentMethodDetailsIdealBic'EnumINGBNL2A :: PaymentMethodDetailsIdealBic'
-- | Represents the JSON value KNABNL2H
PaymentMethodDetailsIdealBic'EnumKNABNL2H :: PaymentMethodDetailsIdealBic'
-- | Represents the JSON value MOYONL21
PaymentMethodDetailsIdealBic'EnumMOYONL21 :: PaymentMethodDetailsIdealBic'
-- | Represents the JSON value RABONL2U
PaymentMethodDetailsIdealBic'EnumRABONL2U :: PaymentMethodDetailsIdealBic'
-- | Represents the JSON value RBRBNL21
PaymentMethodDetailsIdealBic'EnumRBRBNL21 :: PaymentMethodDetailsIdealBic'
-- | Represents the JSON value REVOLT21
PaymentMethodDetailsIdealBic'EnumREVOLT21 :: PaymentMethodDetailsIdealBic'
-- | Represents the JSON value SNSBNL2A
PaymentMethodDetailsIdealBic'EnumSNSBNL2A :: PaymentMethodDetailsIdealBic'
-- | Represents the JSON value TRIONL2U
PaymentMethodDetailsIdealBic'EnumTRIONL2U :: PaymentMethodDetailsIdealBic'
-- | Defines the oneOf schema located at
-- components.schemas.payment_method_details_ideal.properties.generated_sepa_debit.anyOf
-- in the specification.
--
-- The ID of the SEPA Direct Debit PaymentMethod which was generated by
-- this Charge.
data PaymentMethodDetailsIdealGeneratedSepaDebit'Variants
PaymentMethodDetailsIdealGeneratedSepaDebit'Text :: Text -> PaymentMethodDetailsIdealGeneratedSepaDebit'Variants
PaymentMethodDetailsIdealGeneratedSepaDebit'PaymentMethod :: PaymentMethod -> PaymentMethodDetailsIdealGeneratedSepaDebit'Variants
-- | Defines the oneOf schema located at
-- components.schemas.payment_method_details_ideal.properties.generated_sepa_debit_mandate.anyOf
-- in the specification.
--
-- The mandate for the SEPA Direct Debit PaymentMethod which was
-- generated by this Charge.
data PaymentMethodDetailsIdealGeneratedSepaDebitMandate'Variants
PaymentMethodDetailsIdealGeneratedSepaDebitMandate'Text :: Text -> PaymentMethodDetailsIdealGeneratedSepaDebitMandate'Variants
PaymentMethodDetailsIdealGeneratedSepaDebitMandate'Mandate :: Mandate -> PaymentMethodDetailsIdealGeneratedSepaDebitMandate'Variants
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodDetailsIdeal.PaymentMethodDetailsIdealBank'
instance GHC.Show.Show StripeAPI.Types.PaymentMethodDetailsIdeal.PaymentMethodDetailsIdealBank'
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodDetailsIdeal.PaymentMethodDetailsIdealBic'
instance GHC.Show.Show StripeAPI.Types.PaymentMethodDetailsIdeal.PaymentMethodDetailsIdealBic'
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodDetailsIdeal.PaymentMethodDetailsIdealGeneratedSepaDebit'Variants
instance GHC.Show.Show StripeAPI.Types.PaymentMethodDetailsIdeal.PaymentMethodDetailsIdealGeneratedSepaDebit'Variants
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodDetailsIdeal.PaymentMethodDetailsIdealGeneratedSepaDebitMandate'Variants
instance GHC.Show.Show StripeAPI.Types.PaymentMethodDetailsIdeal.PaymentMethodDetailsIdealGeneratedSepaDebitMandate'Variants
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodDetailsIdeal.PaymentMethodDetailsIdeal
instance GHC.Show.Show StripeAPI.Types.PaymentMethodDetailsIdeal.PaymentMethodDetailsIdeal
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodDetailsIdeal.PaymentMethodDetailsIdeal
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodDetailsIdeal.PaymentMethodDetailsIdeal
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodDetailsIdeal.PaymentMethodDetailsIdealGeneratedSepaDebitMandate'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodDetailsIdeal.PaymentMethodDetailsIdealGeneratedSepaDebitMandate'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodDetailsIdeal.PaymentMethodDetailsIdealGeneratedSepaDebit'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodDetailsIdeal.PaymentMethodDetailsIdealGeneratedSepaDebit'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodDetailsIdeal.PaymentMethodDetailsIdealBic'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodDetailsIdeal.PaymentMethodDetailsIdealBic'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodDetailsIdeal.PaymentMethodDetailsIdealBank'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodDetailsIdeal.PaymentMethodDetailsIdealBank'
-- | Contains the types generated from the schema
-- PaymentMethodDetailsInteracPresent
module StripeAPI.Types.PaymentMethodDetailsInteracPresent
-- | Defines the object schema located at
-- components.schemas.payment_method_details_interac_present in
-- the specification.
data PaymentMethodDetailsInteracPresent
PaymentMethodDetailsInteracPresent :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Int -> Int -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe [Text] -> Maybe PaymentMethodDetailsInteracPresentReadMethod' -> Maybe PaymentMethodDetailsInteracPresentReceipt' -> PaymentMethodDetailsInteracPresent
-- | brand: Card brand. Can be `interac`, `mastercard` or `visa`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsInteracPresentBrand] :: PaymentMethodDetailsInteracPresent -> Maybe Text
-- | cardholder_name: The cardholder name as read from the card, in ISO
-- 7813 format. May include alphanumeric characters, special
-- characters and first/last name separator (`/`).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsInteracPresentCardholderName] :: PaymentMethodDetailsInteracPresent -> Maybe Text
-- | country: Two-letter ISO code representing the country of the card. You
-- could use this attribute to get a sense of the international breakdown
-- of cards you've collected.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsInteracPresentCountry] :: PaymentMethodDetailsInteracPresent -> Maybe Text
-- | emv_auth_data: Authorization response cryptogram.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsInteracPresentEmvAuthData] :: PaymentMethodDetailsInteracPresent -> Maybe Text
-- | exp_month: Two-digit number representing the card's expiration month.
[paymentMethodDetailsInteracPresentExpMonth] :: PaymentMethodDetailsInteracPresent -> Int
-- | exp_year: Four-digit number representing the card's expiration year.
[paymentMethodDetailsInteracPresentExpYear] :: PaymentMethodDetailsInteracPresent -> Int
-- | fingerprint: Uniquely identifies this particular card number. You can
-- use this attribute to check whether two customers who’ve signed up
-- with you are using the same card number, for example. For payment
-- methods that tokenize card information (Apple Pay, Google Pay), the
-- tokenized number might be provided instead of the underlying card
-- number.
--
--
-- - Starting May 1, 2021, card fingerprint in India for Connect will
-- change to allow two fingerprints for the same card --- one for India
-- and one for the rest of the world.*
--
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsInteracPresentFingerprint] :: PaymentMethodDetailsInteracPresent -> Maybe Text
-- | funding: Card funding type. Can be `credit`, `debit`, `prepaid`, or
-- `unknown`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsInteracPresentFunding] :: PaymentMethodDetailsInteracPresent -> Maybe Text
-- | generated_card: ID of a card PaymentMethod generated from the
-- card_present PaymentMethod that may be attached to a Customer for
-- future transactions. Only present if it was possible to generate a
-- card PaymentMethod.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsInteracPresentGeneratedCard] :: PaymentMethodDetailsInteracPresent -> Maybe Text
-- | last4: The last four digits of the card.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsInteracPresentLast4] :: PaymentMethodDetailsInteracPresent -> Maybe Text
-- | network: Identifies which network this charge was processed on. Can be
-- `amex`, `cartes_bancaires`, `diners`, `discover`, `interac`, `jcb`,
-- `mastercard`, `unionpay`, `visa`, or `unknown`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsInteracPresentNetwork] :: PaymentMethodDetailsInteracPresent -> Maybe Text
-- | preferred_locales: EMV tag 5F2D. Preferred languages specified by the
-- integrated circuit chip.
[paymentMethodDetailsInteracPresentPreferredLocales] :: PaymentMethodDetailsInteracPresent -> Maybe [Text]
-- | read_method: How card details were read in this transaction.
[paymentMethodDetailsInteracPresentReadMethod] :: PaymentMethodDetailsInteracPresent -> Maybe PaymentMethodDetailsInteracPresentReadMethod'
-- | receipt: A collection of fields required to be displayed on receipts.
-- Only required for EMV transactions.
[paymentMethodDetailsInteracPresentReceipt] :: PaymentMethodDetailsInteracPresent -> Maybe PaymentMethodDetailsInteracPresentReceipt'
-- | Create a new PaymentMethodDetailsInteracPresent with all
-- required fields.
mkPaymentMethodDetailsInteracPresent :: Int -> Int -> PaymentMethodDetailsInteracPresent
-- | Defines the enum schema located at
-- components.schemas.payment_method_details_interac_present.properties.read_method
-- in the specification.
--
-- How card details were read in this transaction.
data PaymentMethodDetailsInteracPresentReadMethod'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PaymentMethodDetailsInteracPresentReadMethod'Other :: Value -> PaymentMethodDetailsInteracPresentReadMethod'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PaymentMethodDetailsInteracPresentReadMethod'Typed :: Text -> PaymentMethodDetailsInteracPresentReadMethod'
-- | Represents the JSON value "contact_emv"
PaymentMethodDetailsInteracPresentReadMethod'EnumContactEmv :: PaymentMethodDetailsInteracPresentReadMethod'
-- | Represents the JSON value "contactless_emv"
PaymentMethodDetailsInteracPresentReadMethod'EnumContactlessEmv :: PaymentMethodDetailsInteracPresentReadMethod'
-- | Represents the JSON value "contactless_magstripe_mode"
PaymentMethodDetailsInteracPresentReadMethod'EnumContactlessMagstripeMode :: PaymentMethodDetailsInteracPresentReadMethod'
-- | Represents the JSON value "magnetic_stripe_fallback"
PaymentMethodDetailsInteracPresentReadMethod'EnumMagneticStripeFallback :: PaymentMethodDetailsInteracPresentReadMethod'
-- | Represents the JSON value "magnetic_stripe_track2"
PaymentMethodDetailsInteracPresentReadMethod'EnumMagneticStripeTrack2 :: PaymentMethodDetailsInteracPresentReadMethod'
-- | Defines the object schema located at
-- components.schemas.payment_method_details_interac_present.properties.receipt.anyOf
-- in the specification.
--
-- A collection of fields required to be displayed on receipts. Only
-- required for EMV transactions.
data PaymentMethodDetailsInteracPresentReceipt'
PaymentMethodDetailsInteracPresentReceipt' :: Maybe PaymentMethodDetailsInteracPresentReceipt'AccountType' -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PaymentMethodDetailsInteracPresentReceipt'
-- | account_type: The type of account being debited or credited
[paymentMethodDetailsInteracPresentReceipt'AccountType] :: PaymentMethodDetailsInteracPresentReceipt' -> Maybe PaymentMethodDetailsInteracPresentReceipt'AccountType'
-- | application_cryptogram: EMV tag 9F26, cryptogram generated by the
-- integrated circuit chip.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsInteracPresentReceipt'ApplicationCryptogram] :: PaymentMethodDetailsInteracPresentReceipt' -> Maybe Text
-- | application_preferred_name: Mnenomic of the Application Identifier.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsInteracPresentReceipt'ApplicationPreferredName] :: PaymentMethodDetailsInteracPresentReceipt' -> Maybe Text
-- | authorization_code: Identifier for this transaction.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsInteracPresentReceipt'AuthorizationCode] :: PaymentMethodDetailsInteracPresentReceipt' -> Maybe Text
-- | authorization_response_code: EMV tag 8A. A code returned by the card
-- issuer.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsInteracPresentReceipt'AuthorizationResponseCode] :: PaymentMethodDetailsInteracPresentReceipt' -> Maybe Text
-- | cardholder_verification_method: How the cardholder verified ownership
-- of the card.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsInteracPresentReceipt'CardholderVerificationMethod] :: PaymentMethodDetailsInteracPresentReceipt' -> Maybe Text
-- | dedicated_file_name: EMV tag 84. Similar to the application identifier
-- stored on the integrated circuit chip.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsInteracPresentReceipt'DedicatedFileName] :: PaymentMethodDetailsInteracPresentReceipt' -> Maybe Text
-- | terminal_verification_results: The outcome of a series of EMV
-- functions performed by the card reader.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsInteracPresentReceipt'TerminalVerificationResults] :: PaymentMethodDetailsInteracPresentReceipt' -> Maybe Text
-- | transaction_status_information: An indication of various EMV functions
-- performed during the transaction.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsInteracPresentReceipt'TransactionStatusInformation] :: PaymentMethodDetailsInteracPresentReceipt' -> Maybe Text
-- | Create a new PaymentMethodDetailsInteracPresentReceipt' with
-- all required fields.
mkPaymentMethodDetailsInteracPresentReceipt' :: PaymentMethodDetailsInteracPresentReceipt'
-- | Defines the enum schema located at
-- components.schemas.payment_method_details_interac_present.properties.receipt.anyOf.properties.account_type
-- in the specification.
--
-- The type of account being debited or credited
data PaymentMethodDetailsInteracPresentReceipt'AccountType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PaymentMethodDetailsInteracPresentReceipt'AccountType'Other :: Value -> PaymentMethodDetailsInteracPresentReceipt'AccountType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PaymentMethodDetailsInteracPresentReceipt'AccountType'Typed :: Text -> PaymentMethodDetailsInteracPresentReceipt'AccountType'
-- | Represents the JSON value "checking"
PaymentMethodDetailsInteracPresentReceipt'AccountType'EnumChecking :: PaymentMethodDetailsInteracPresentReceipt'AccountType'
-- | Represents the JSON value "savings"
PaymentMethodDetailsInteracPresentReceipt'AccountType'EnumSavings :: PaymentMethodDetailsInteracPresentReceipt'AccountType'
-- | Represents the JSON value "unknown"
PaymentMethodDetailsInteracPresentReceipt'AccountType'EnumUnknown :: PaymentMethodDetailsInteracPresentReceipt'AccountType'
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodDetailsInteracPresent.PaymentMethodDetailsInteracPresentReadMethod'
instance GHC.Show.Show StripeAPI.Types.PaymentMethodDetailsInteracPresent.PaymentMethodDetailsInteracPresentReadMethod'
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodDetailsInteracPresent.PaymentMethodDetailsInteracPresentReceipt'AccountType'
instance GHC.Show.Show StripeAPI.Types.PaymentMethodDetailsInteracPresent.PaymentMethodDetailsInteracPresentReceipt'AccountType'
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodDetailsInteracPresent.PaymentMethodDetailsInteracPresentReceipt'
instance GHC.Show.Show StripeAPI.Types.PaymentMethodDetailsInteracPresent.PaymentMethodDetailsInteracPresentReceipt'
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodDetailsInteracPresent.PaymentMethodDetailsInteracPresent
instance GHC.Show.Show StripeAPI.Types.PaymentMethodDetailsInteracPresent.PaymentMethodDetailsInteracPresent
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodDetailsInteracPresent.PaymentMethodDetailsInteracPresent
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodDetailsInteracPresent.PaymentMethodDetailsInteracPresent
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodDetailsInteracPresent.PaymentMethodDetailsInteracPresentReceipt'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodDetailsInteracPresent.PaymentMethodDetailsInteracPresentReceipt'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodDetailsInteracPresent.PaymentMethodDetailsInteracPresentReceipt'AccountType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodDetailsInteracPresent.PaymentMethodDetailsInteracPresentReceipt'AccountType'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodDetailsInteracPresent.PaymentMethodDetailsInteracPresentReadMethod'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodDetailsInteracPresent.PaymentMethodDetailsInteracPresentReadMethod'
-- | Contains the types generated from the schema
-- PaymentMethodDetailsInteracPresentReceipt
module StripeAPI.Types.PaymentMethodDetailsInteracPresentReceipt
-- | Defines the object schema located at
-- components.schemas.payment_method_details_interac_present_receipt
-- in the specification.
data PaymentMethodDetailsInteracPresentReceipt
PaymentMethodDetailsInteracPresentReceipt :: Maybe PaymentMethodDetailsInteracPresentReceiptAccountType' -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PaymentMethodDetailsInteracPresentReceipt
-- | account_type: The type of account being debited or credited
[paymentMethodDetailsInteracPresentReceiptAccountType] :: PaymentMethodDetailsInteracPresentReceipt -> Maybe PaymentMethodDetailsInteracPresentReceiptAccountType'
-- | application_cryptogram: EMV tag 9F26, cryptogram generated by the
-- integrated circuit chip.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsInteracPresentReceiptApplicationCryptogram] :: PaymentMethodDetailsInteracPresentReceipt -> Maybe Text
-- | application_preferred_name: Mnenomic of the Application Identifier.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsInteracPresentReceiptApplicationPreferredName] :: PaymentMethodDetailsInteracPresentReceipt -> Maybe Text
-- | authorization_code: Identifier for this transaction.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsInteracPresentReceiptAuthorizationCode] :: PaymentMethodDetailsInteracPresentReceipt -> Maybe Text
-- | authorization_response_code: EMV tag 8A. A code returned by the card
-- issuer.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsInteracPresentReceiptAuthorizationResponseCode] :: PaymentMethodDetailsInteracPresentReceipt -> Maybe Text
-- | cardholder_verification_method: How the cardholder verified ownership
-- of the card.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsInteracPresentReceiptCardholderVerificationMethod] :: PaymentMethodDetailsInteracPresentReceipt -> Maybe Text
-- | dedicated_file_name: EMV tag 84. Similar to the application identifier
-- stored on the integrated circuit chip.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsInteracPresentReceiptDedicatedFileName] :: PaymentMethodDetailsInteracPresentReceipt -> Maybe Text
-- | terminal_verification_results: The outcome of a series of EMV
-- functions performed by the card reader.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsInteracPresentReceiptTerminalVerificationResults] :: PaymentMethodDetailsInteracPresentReceipt -> Maybe Text
-- | transaction_status_information: An indication of various EMV functions
-- performed during the transaction.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsInteracPresentReceiptTransactionStatusInformation] :: PaymentMethodDetailsInteracPresentReceipt -> Maybe Text
-- | Create a new PaymentMethodDetailsInteracPresentReceipt with all
-- required fields.
mkPaymentMethodDetailsInteracPresentReceipt :: PaymentMethodDetailsInteracPresentReceipt
-- | Defines the enum schema located at
-- components.schemas.payment_method_details_interac_present_receipt.properties.account_type
-- in the specification.
--
-- The type of account being debited or credited
data PaymentMethodDetailsInteracPresentReceiptAccountType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PaymentMethodDetailsInteracPresentReceiptAccountType'Other :: Value -> PaymentMethodDetailsInteracPresentReceiptAccountType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PaymentMethodDetailsInteracPresentReceiptAccountType'Typed :: Text -> PaymentMethodDetailsInteracPresentReceiptAccountType'
-- | Represents the JSON value "checking"
PaymentMethodDetailsInteracPresentReceiptAccountType'EnumChecking :: PaymentMethodDetailsInteracPresentReceiptAccountType'
-- | Represents the JSON value "savings"
PaymentMethodDetailsInteracPresentReceiptAccountType'EnumSavings :: PaymentMethodDetailsInteracPresentReceiptAccountType'
-- | Represents the JSON value "unknown"
PaymentMethodDetailsInteracPresentReceiptAccountType'EnumUnknown :: PaymentMethodDetailsInteracPresentReceiptAccountType'
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodDetailsInteracPresentReceipt.PaymentMethodDetailsInteracPresentReceiptAccountType'
instance GHC.Show.Show StripeAPI.Types.PaymentMethodDetailsInteracPresentReceipt.PaymentMethodDetailsInteracPresentReceiptAccountType'
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodDetailsInteracPresentReceipt.PaymentMethodDetailsInteracPresentReceipt
instance GHC.Show.Show StripeAPI.Types.PaymentMethodDetailsInteracPresentReceipt.PaymentMethodDetailsInteracPresentReceipt
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodDetailsInteracPresentReceipt.PaymentMethodDetailsInteracPresentReceipt
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodDetailsInteracPresentReceipt.PaymentMethodDetailsInteracPresentReceipt
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodDetailsInteracPresentReceipt.PaymentMethodDetailsInteracPresentReceiptAccountType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodDetailsInteracPresentReceipt.PaymentMethodDetailsInteracPresentReceiptAccountType'
-- | Contains the types generated from the schema
-- PaymentMethodDetailsMultibanco
module StripeAPI.Types.PaymentMethodDetailsMultibanco
-- | Defines the object schema located at
-- components.schemas.payment_method_details_multibanco in the
-- specification.
data PaymentMethodDetailsMultibanco
PaymentMethodDetailsMultibanco :: Maybe Text -> Maybe Text -> PaymentMethodDetailsMultibanco
-- | entity: Entity number associated with this Multibanco payment.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsMultibancoEntity] :: PaymentMethodDetailsMultibanco -> Maybe Text
-- | reference: Reference number associated with this Multibanco payment.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsMultibancoReference] :: PaymentMethodDetailsMultibanco -> Maybe Text
-- | Create a new PaymentMethodDetailsMultibanco with all required
-- fields.
mkPaymentMethodDetailsMultibanco :: PaymentMethodDetailsMultibanco
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodDetailsMultibanco.PaymentMethodDetailsMultibanco
instance GHC.Show.Show StripeAPI.Types.PaymentMethodDetailsMultibanco.PaymentMethodDetailsMultibanco
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodDetailsMultibanco.PaymentMethodDetailsMultibanco
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodDetailsMultibanco.PaymentMethodDetailsMultibanco
-- | Contains the types generated from the schema PaymentMethodDetailsOxxo
module StripeAPI.Types.PaymentMethodDetailsOxxo
-- | Defines the object schema located at
-- components.schemas.payment_method_details_oxxo in the
-- specification.
data PaymentMethodDetailsOxxo
PaymentMethodDetailsOxxo :: Maybe Text -> PaymentMethodDetailsOxxo
-- | number: OXXO reference number
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsOxxoNumber] :: PaymentMethodDetailsOxxo -> Maybe Text
-- | Create a new PaymentMethodDetailsOxxo with all required fields.
mkPaymentMethodDetailsOxxo :: PaymentMethodDetailsOxxo
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodDetailsOxxo.PaymentMethodDetailsOxxo
instance GHC.Show.Show StripeAPI.Types.PaymentMethodDetailsOxxo.PaymentMethodDetailsOxxo
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodDetailsOxxo.PaymentMethodDetailsOxxo
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodDetailsOxxo.PaymentMethodDetailsOxxo
-- | Contains the types generated from the schema PaymentMethodDetailsP24
module StripeAPI.Types.PaymentMethodDetailsP24
-- | Defines the object schema located at
-- components.schemas.payment_method_details_p24 in the
-- specification.
data PaymentMethodDetailsP24
PaymentMethodDetailsP24 :: Maybe PaymentMethodDetailsP24Bank' -> Maybe Text -> Maybe Text -> PaymentMethodDetailsP24
-- | bank: The customer's bank. Can be one of `ing`, `citi_handlowy`,
-- `tmobile_usbugi_bankowe`, `plus_bank`, `etransfer_pocztowy24`,
-- `banki_spbdzielcze`, `bank_nowy_bfg_sa`, `getin_bank`, `blik`,
-- `noble_pay`, `ideabank`, `envelobank`, `santander_przelew24`,
-- `nest_przelew`, `mbank_mtransfer`, `inteligo`, `pbac_z_ipko`,
-- `bnp_paribas`, `credit_agricole`, `toyota_bank`, `bank_pekao_sa`,
-- `volkswagen_bank`, `bank_millennium`, `alior_bank`, or `boz`.
[paymentMethodDetailsP24Bank] :: PaymentMethodDetailsP24 -> Maybe PaymentMethodDetailsP24Bank'
-- | reference: Unique reference for this Przelewy24 payment.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsP24Reference] :: PaymentMethodDetailsP24 -> Maybe Text
-- | verified_name: Owner's verified full name. Values are verified or
-- provided by Przelewy24 directly (if supported) at the time of
-- authorization or settlement. They cannot be set or mutated. Przelewy24
-- rarely provides this information so the attribute is usually empty.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsP24VerifiedName] :: PaymentMethodDetailsP24 -> Maybe Text
-- | Create a new PaymentMethodDetailsP24 with all required fields.
mkPaymentMethodDetailsP24 :: PaymentMethodDetailsP24
-- | Defines the enum schema located at
-- components.schemas.payment_method_details_p24.properties.bank
-- in the specification.
--
-- The customer's bank. Can be one of `ing`, `citi_handlowy`,
-- `tmobile_usbugi_bankowe`, `plus_bank`, `etransfer_pocztowy24`,
-- `banki_spbdzielcze`, `bank_nowy_bfg_sa`, `getin_bank`, `blik`,
-- `noble_pay`, `ideabank`, `envelobank`, `santander_przelew24`,
-- `nest_przelew`, `mbank_mtransfer`, `inteligo`, `pbac_z_ipko`,
-- `bnp_paribas`, `credit_agricole`, `toyota_bank`, `bank_pekao_sa`,
-- `volkswagen_bank`, `bank_millennium`, `alior_bank`, or `boz`.
data PaymentMethodDetailsP24Bank'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PaymentMethodDetailsP24Bank'Other :: Value -> PaymentMethodDetailsP24Bank'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PaymentMethodDetailsP24Bank'Typed :: Text -> PaymentMethodDetailsP24Bank'
-- | Represents the JSON value "alior_bank"
PaymentMethodDetailsP24Bank'EnumAliorBank :: PaymentMethodDetailsP24Bank'
-- | Represents the JSON value "bank_millennium"
PaymentMethodDetailsP24Bank'EnumBankMillennium :: PaymentMethodDetailsP24Bank'
-- | Represents the JSON value "bank_nowy_bfg_sa"
PaymentMethodDetailsP24Bank'EnumBankNowyBfgSa :: PaymentMethodDetailsP24Bank'
-- | Represents the JSON value "bank_pekao_sa"
PaymentMethodDetailsP24Bank'EnumBankPekaoSa :: PaymentMethodDetailsP24Bank'
-- | Represents the JSON value "banki_spbdzielcze"
PaymentMethodDetailsP24Bank'EnumBankiSpbdzielcze :: PaymentMethodDetailsP24Bank'
-- | Represents the JSON value "blik"
PaymentMethodDetailsP24Bank'EnumBlik :: PaymentMethodDetailsP24Bank'
-- | Represents the JSON value "bnp_paribas"
PaymentMethodDetailsP24Bank'EnumBnpParibas :: PaymentMethodDetailsP24Bank'
-- | Represents the JSON value "boz"
PaymentMethodDetailsP24Bank'EnumBoz :: PaymentMethodDetailsP24Bank'
-- | Represents the JSON value "citi_handlowy"
PaymentMethodDetailsP24Bank'EnumCitiHandlowy :: PaymentMethodDetailsP24Bank'
-- | Represents the JSON value "credit_agricole"
PaymentMethodDetailsP24Bank'EnumCreditAgricole :: PaymentMethodDetailsP24Bank'
-- | Represents the JSON value "envelobank"
PaymentMethodDetailsP24Bank'EnumEnvelobank :: PaymentMethodDetailsP24Bank'
-- | Represents the JSON value "etransfer_pocztowy24"
PaymentMethodDetailsP24Bank'EnumEtransferPocztowy24 :: PaymentMethodDetailsP24Bank'
-- | Represents the JSON value "getin_bank"
PaymentMethodDetailsP24Bank'EnumGetinBank :: PaymentMethodDetailsP24Bank'
-- | Represents the JSON value "ideabank"
PaymentMethodDetailsP24Bank'EnumIdeabank :: PaymentMethodDetailsP24Bank'
-- | Represents the JSON value "ing"
PaymentMethodDetailsP24Bank'EnumIng :: PaymentMethodDetailsP24Bank'
-- | Represents the JSON value "inteligo"
PaymentMethodDetailsP24Bank'EnumInteligo :: PaymentMethodDetailsP24Bank'
-- | Represents the JSON value "mbank_mtransfer"
PaymentMethodDetailsP24Bank'EnumMbankMtransfer :: PaymentMethodDetailsP24Bank'
-- | Represents the JSON value "nest_przelew"
PaymentMethodDetailsP24Bank'EnumNestPrzelew :: PaymentMethodDetailsP24Bank'
-- | Represents the JSON value "noble_pay"
PaymentMethodDetailsP24Bank'EnumNoblePay :: PaymentMethodDetailsP24Bank'
-- | Represents the JSON value "pbac_z_ipko"
PaymentMethodDetailsP24Bank'EnumPbacZIpko :: PaymentMethodDetailsP24Bank'
-- | Represents the JSON value "plus_bank"
PaymentMethodDetailsP24Bank'EnumPlusBank :: PaymentMethodDetailsP24Bank'
-- | Represents the JSON value "santander_przelew24"
PaymentMethodDetailsP24Bank'EnumSantanderPrzelew24 :: PaymentMethodDetailsP24Bank'
-- | Represents the JSON value "tmobile_usbugi_bankowe"
PaymentMethodDetailsP24Bank'EnumTmobileUsbugiBankowe :: PaymentMethodDetailsP24Bank'
-- | Represents the JSON value "toyota_bank"
PaymentMethodDetailsP24Bank'EnumToyotaBank :: PaymentMethodDetailsP24Bank'
-- | Represents the JSON value "volkswagen_bank"
PaymentMethodDetailsP24Bank'EnumVolkswagenBank :: PaymentMethodDetailsP24Bank'
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodDetailsP24.PaymentMethodDetailsP24Bank'
instance GHC.Show.Show StripeAPI.Types.PaymentMethodDetailsP24.PaymentMethodDetailsP24Bank'
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodDetailsP24.PaymentMethodDetailsP24
instance GHC.Show.Show StripeAPI.Types.PaymentMethodDetailsP24.PaymentMethodDetailsP24
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodDetailsP24.PaymentMethodDetailsP24
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodDetailsP24.PaymentMethodDetailsP24
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodDetailsP24.PaymentMethodDetailsP24Bank'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodDetailsP24.PaymentMethodDetailsP24Bank'
-- | Contains the types generated from the schema
-- PaymentMethodDetailsSepaDebit
module StripeAPI.Types.PaymentMethodDetailsSepaDebit
-- | Defines the object schema located at
-- components.schemas.payment_method_details_sepa_debit in the
-- specification.
data PaymentMethodDetailsSepaDebit
PaymentMethodDetailsSepaDebit :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PaymentMethodDetailsSepaDebit
-- | bank_code: Bank code of bank associated with the bank account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsSepaDebitBankCode] :: PaymentMethodDetailsSepaDebit -> Maybe Text
-- | branch_code: Branch code of bank associated with the bank account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsSepaDebitBranchCode] :: PaymentMethodDetailsSepaDebit -> Maybe Text
-- | country: Two-letter ISO code representing the country the bank account
-- is located in.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsSepaDebitCountry] :: PaymentMethodDetailsSepaDebit -> Maybe Text
-- | fingerprint: Uniquely identifies this particular bank account. You can
-- use this attribute to check whether two bank accounts are the same.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsSepaDebitFingerprint] :: PaymentMethodDetailsSepaDebit -> Maybe Text
-- | last4: Last four characters of the IBAN.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsSepaDebitLast4] :: PaymentMethodDetailsSepaDebit -> Maybe Text
-- | mandate: ID of the mandate used to make this payment.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsSepaDebitMandate] :: PaymentMethodDetailsSepaDebit -> Maybe Text
-- | Create a new PaymentMethodDetailsSepaDebit with all required
-- fields.
mkPaymentMethodDetailsSepaDebit :: PaymentMethodDetailsSepaDebit
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodDetailsSepaDebit.PaymentMethodDetailsSepaDebit
instance GHC.Show.Show StripeAPI.Types.PaymentMethodDetailsSepaDebit.PaymentMethodDetailsSepaDebit
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodDetailsSepaDebit.PaymentMethodDetailsSepaDebit
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodDetailsSepaDebit.PaymentMethodDetailsSepaDebit
-- | Contains the types generated from the schema PaymentMethodDetails
module StripeAPI.Types.PaymentMethodDetails
-- | Defines the object schema located at
-- components.schemas.payment_method_details in the
-- specification.
data PaymentMethodDetails
PaymentMethodDetails :: Maybe PaymentMethodDetailsAchCreditTransfer -> Maybe PaymentMethodDetailsAchDebit -> Maybe PaymentMethodDetailsAcssDebit -> Maybe PaymentMethodDetailsAfterpayClearpay -> Maybe PaymentFlowsPrivatePaymentMethodsAlipayDetails -> Maybe PaymentMethodDetailsAuBecsDebit -> Maybe PaymentMethodDetailsBacsDebit -> Maybe PaymentMethodDetailsBancontact -> Maybe PaymentMethodDetailsBoleto -> Maybe PaymentMethodDetailsCard -> Maybe PaymentMethodDetailsCardPresent -> Maybe PaymentMethodDetailsEps -> Maybe PaymentMethodDetailsFpx -> Maybe PaymentMethodDetailsGiropay -> Maybe PaymentMethodDetailsGrabpay -> Maybe PaymentMethodDetailsIdeal -> Maybe PaymentMethodDetailsInteracPresent -> Maybe PaymentMethodDetailsKlarna -> Maybe PaymentMethodDetailsMultibanco -> Maybe PaymentMethodDetailsOxxo -> Maybe PaymentMethodDetailsP24 -> Maybe PaymentMethodDetailsSepaDebit -> Maybe PaymentMethodDetailsSofort -> Maybe PaymentMethodDetailsStripeAccount -> Text -> Maybe PaymentMethodDetailsWechat -> PaymentMethodDetails
-- | ach_credit_transfer:
[paymentMethodDetailsAchCreditTransfer] :: PaymentMethodDetails -> Maybe PaymentMethodDetailsAchCreditTransfer
-- | ach_debit:
[paymentMethodDetailsAchDebit] :: PaymentMethodDetails -> Maybe PaymentMethodDetailsAchDebit
-- | acss_debit:
[paymentMethodDetailsAcssDebit] :: PaymentMethodDetails -> Maybe PaymentMethodDetailsAcssDebit
-- | afterpay_clearpay:
[paymentMethodDetailsAfterpayClearpay] :: PaymentMethodDetails -> Maybe PaymentMethodDetailsAfterpayClearpay
-- | alipay:
[paymentMethodDetailsAlipay] :: PaymentMethodDetails -> Maybe PaymentFlowsPrivatePaymentMethodsAlipayDetails
-- | au_becs_debit:
[paymentMethodDetailsAuBecsDebit] :: PaymentMethodDetails -> Maybe PaymentMethodDetailsAuBecsDebit
-- | bacs_debit:
[paymentMethodDetailsBacsDebit] :: PaymentMethodDetails -> Maybe PaymentMethodDetailsBacsDebit
-- | bancontact:
[paymentMethodDetailsBancontact] :: PaymentMethodDetails -> Maybe PaymentMethodDetailsBancontact
-- | boleto:
[paymentMethodDetailsBoleto] :: PaymentMethodDetails -> Maybe PaymentMethodDetailsBoleto
-- | card:
[paymentMethodDetailsCard] :: PaymentMethodDetails -> Maybe PaymentMethodDetailsCard
-- | card_present:
[paymentMethodDetailsCardPresent] :: PaymentMethodDetails -> Maybe PaymentMethodDetailsCardPresent
-- | eps:
[paymentMethodDetailsEps] :: PaymentMethodDetails -> Maybe PaymentMethodDetailsEps
-- | fpx:
[paymentMethodDetailsFpx] :: PaymentMethodDetails -> Maybe PaymentMethodDetailsFpx
-- | giropay:
[paymentMethodDetailsGiropay] :: PaymentMethodDetails -> Maybe PaymentMethodDetailsGiropay
-- | grabpay:
[paymentMethodDetailsGrabpay] :: PaymentMethodDetails -> Maybe PaymentMethodDetailsGrabpay
-- | ideal:
[paymentMethodDetailsIdeal] :: PaymentMethodDetails -> Maybe PaymentMethodDetailsIdeal
-- | interac_present:
[paymentMethodDetailsInteracPresent] :: PaymentMethodDetails -> Maybe PaymentMethodDetailsInteracPresent
-- | klarna:
[paymentMethodDetailsKlarna] :: PaymentMethodDetails -> Maybe PaymentMethodDetailsKlarna
-- | multibanco:
[paymentMethodDetailsMultibanco] :: PaymentMethodDetails -> Maybe PaymentMethodDetailsMultibanco
-- | oxxo:
[paymentMethodDetailsOxxo] :: PaymentMethodDetails -> Maybe PaymentMethodDetailsOxxo
-- | p24:
[paymentMethodDetailsP24] :: PaymentMethodDetails -> Maybe PaymentMethodDetailsP24
-- | sepa_debit:
[paymentMethodDetailsSepaDebit] :: PaymentMethodDetails -> Maybe PaymentMethodDetailsSepaDebit
-- | sofort:
[paymentMethodDetailsSofort] :: PaymentMethodDetails -> Maybe PaymentMethodDetailsSofort
-- | stripe_account:
[paymentMethodDetailsStripeAccount] :: PaymentMethodDetails -> Maybe PaymentMethodDetailsStripeAccount
-- | type: The type of transaction-specific details of the payment method
-- used in the payment, one of `ach_credit_transfer`, `ach_debit`,
-- `acss_debit`, `alipay`, `au_becs_debit`, `bancontact`, `card`,
-- `card_present`, `eps`, `giropay`, `ideal`, `klarna`, `multibanco`,
-- `p24`, `sepa_debit`, `sofort`, `stripe_account`, or `wechat`. An
-- additional hash is included on `payment_method_details` with a name
-- matching this value. It contains information specific to the payment
-- method.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsType] :: PaymentMethodDetails -> Text
-- | wechat:
[paymentMethodDetailsWechat] :: PaymentMethodDetails -> Maybe PaymentMethodDetailsWechat
-- | Create a new PaymentMethodDetails with all required fields.
mkPaymentMethodDetails :: Text -> PaymentMethodDetails
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodDetails.PaymentMethodDetails
instance GHC.Show.Show StripeAPI.Types.PaymentMethodDetails.PaymentMethodDetails
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodDetails.PaymentMethodDetails
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodDetails.PaymentMethodDetails
-- | Contains the types generated from the schema
-- PaymentMethodDetailsSofort
module StripeAPI.Types.PaymentMethodDetailsSofort
-- | Defines the object schema located at
-- components.schemas.payment_method_details_sofort in the
-- specification.
data PaymentMethodDetailsSofort
PaymentMethodDetailsSofort :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe PaymentMethodDetailsSofortGeneratedSepaDebit'Variants -> Maybe PaymentMethodDetailsSofortGeneratedSepaDebitMandate'Variants -> Maybe Text -> Maybe PaymentMethodDetailsSofortPreferredLanguage' -> Maybe Text -> PaymentMethodDetailsSofort
-- | bank_code: Bank code of bank associated with the bank account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsSofortBankCode] :: PaymentMethodDetailsSofort -> Maybe Text
-- | bank_name: Name of the bank associated with the bank account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsSofortBankName] :: PaymentMethodDetailsSofort -> Maybe Text
-- | bic: Bank Identifier Code of the bank associated with the bank
-- account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsSofortBic] :: PaymentMethodDetailsSofort -> Maybe Text
-- | country: Two-letter ISO code representing the country the bank account
-- is located in.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsSofortCountry] :: PaymentMethodDetailsSofort -> Maybe Text
-- | generated_sepa_debit: The ID of the SEPA Direct Debit PaymentMethod
-- which was generated by this Charge.
[paymentMethodDetailsSofortGeneratedSepaDebit] :: PaymentMethodDetailsSofort -> Maybe PaymentMethodDetailsSofortGeneratedSepaDebit'Variants
-- | generated_sepa_debit_mandate: The mandate for the SEPA Direct Debit
-- PaymentMethod which was generated by this Charge.
[paymentMethodDetailsSofortGeneratedSepaDebitMandate] :: PaymentMethodDetailsSofort -> Maybe PaymentMethodDetailsSofortGeneratedSepaDebitMandate'Variants
-- | iban_last4: Last four characters of the IBAN.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsSofortIbanLast4] :: PaymentMethodDetailsSofort -> Maybe Text
-- | preferred_language: Preferred language of the SOFORT authorization
-- page that the customer is redirected to. Can be one of `de`, `en`,
-- `es`, `fr`, `it`, `nl`, or `pl`
[paymentMethodDetailsSofortPreferredLanguage] :: PaymentMethodDetailsSofort -> Maybe PaymentMethodDetailsSofortPreferredLanguage'
-- | verified_name: Owner's verified full name. Values are verified or
-- provided by SOFORT directly (if supported) at the time of
-- authorization or settlement. They cannot be set or mutated.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsSofortVerifiedName] :: PaymentMethodDetailsSofort -> Maybe Text
-- | Create a new PaymentMethodDetailsSofort with all required
-- fields.
mkPaymentMethodDetailsSofort :: PaymentMethodDetailsSofort
-- | Defines the oneOf schema located at
-- components.schemas.payment_method_details_sofort.properties.generated_sepa_debit.anyOf
-- in the specification.
--
-- The ID of the SEPA Direct Debit PaymentMethod which was generated by
-- this Charge.
data PaymentMethodDetailsSofortGeneratedSepaDebit'Variants
PaymentMethodDetailsSofortGeneratedSepaDebit'Text :: Text -> PaymentMethodDetailsSofortGeneratedSepaDebit'Variants
PaymentMethodDetailsSofortGeneratedSepaDebit'PaymentMethod :: PaymentMethod -> PaymentMethodDetailsSofortGeneratedSepaDebit'Variants
-- | Defines the oneOf schema located at
-- components.schemas.payment_method_details_sofort.properties.generated_sepa_debit_mandate.anyOf
-- in the specification.
--
-- The mandate for the SEPA Direct Debit PaymentMethod which was
-- generated by this Charge.
data PaymentMethodDetailsSofortGeneratedSepaDebitMandate'Variants
PaymentMethodDetailsSofortGeneratedSepaDebitMandate'Text :: Text -> PaymentMethodDetailsSofortGeneratedSepaDebitMandate'Variants
PaymentMethodDetailsSofortGeneratedSepaDebitMandate'Mandate :: Mandate -> PaymentMethodDetailsSofortGeneratedSepaDebitMandate'Variants
-- | Defines the enum schema located at
-- components.schemas.payment_method_details_sofort.properties.preferred_language
-- in the specification.
--
-- Preferred language of the SOFORT authorization page that the customer
-- is redirected to. Can be one of `de`, `en`, `es`, `fr`, `it`, `nl`, or
-- `pl`
data PaymentMethodDetailsSofortPreferredLanguage'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PaymentMethodDetailsSofortPreferredLanguage'Other :: Value -> PaymentMethodDetailsSofortPreferredLanguage'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PaymentMethodDetailsSofortPreferredLanguage'Typed :: Text -> PaymentMethodDetailsSofortPreferredLanguage'
-- | Represents the JSON value "de"
PaymentMethodDetailsSofortPreferredLanguage'EnumDe :: PaymentMethodDetailsSofortPreferredLanguage'
-- | Represents the JSON value "en"
PaymentMethodDetailsSofortPreferredLanguage'EnumEn :: PaymentMethodDetailsSofortPreferredLanguage'
-- | Represents the JSON value "es"
PaymentMethodDetailsSofortPreferredLanguage'EnumEs :: PaymentMethodDetailsSofortPreferredLanguage'
-- | Represents the JSON value "fr"
PaymentMethodDetailsSofortPreferredLanguage'EnumFr :: PaymentMethodDetailsSofortPreferredLanguage'
-- | Represents the JSON value "it"
PaymentMethodDetailsSofortPreferredLanguage'EnumIt :: PaymentMethodDetailsSofortPreferredLanguage'
-- | Represents the JSON value "nl"
PaymentMethodDetailsSofortPreferredLanguage'EnumNl :: PaymentMethodDetailsSofortPreferredLanguage'
-- | Represents the JSON value "pl"
PaymentMethodDetailsSofortPreferredLanguage'EnumPl :: PaymentMethodDetailsSofortPreferredLanguage'
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodDetailsSofort.PaymentMethodDetailsSofortGeneratedSepaDebit'Variants
instance GHC.Show.Show StripeAPI.Types.PaymentMethodDetailsSofort.PaymentMethodDetailsSofortGeneratedSepaDebit'Variants
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodDetailsSofort.PaymentMethodDetailsSofortGeneratedSepaDebitMandate'Variants
instance GHC.Show.Show StripeAPI.Types.PaymentMethodDetailsSofort.PaymentMethodDetailsSofortGeneratedSepaDebitMandate'Variants
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodDetailsSofort.PaymentMethodDetailsSofortPreferredLanguage'
instance GHC.Show.Show StripeAPI.Types.PaymentMethodDetailsSofort.PaymentMethodDetailsSofortPreferredLanguage'
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodDetailsSofort.PaymentMethodDetailsSofort
instance GHC.Show.Show StripeAPI.Types.PaymentMethodDetailsSofort.PaymentMethodDetailsSofort
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodDetailsSofort.PaymentMethodDetailsSofort
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodDetailsSofort.PaymentMethodDetailsSofort
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodDetailsSofort.PaymentMethodDetailsSofortPreferredLanguage'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodDetailsSofort.PaymentMethodDetailsSofortPreferredLanguage'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodDetailsSofort.PaymentMethodDetailsSofortGeneratedSepaDebitMandate'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodDetailsSofort.PaymentMethodDetailsSofortGeneratedSepaDebitMandate'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodDetailsSofort.PaymentMethodDetailsSofortGeneratedSepaDebit'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodDetailsSofort.PaymentMethodDetailsSofortGeneratedSepaDebit'Variants
-- | Contains the types generated from the schema PaymentMethodEps
module StripeAPI.Types.PaymentMethodEps
-- | Defines the object schema located at
-- components.schemas.payment_method_eps in the specification.
data PaymentMethodEps
PaymentMethodEps :: Maybe PaymentMethodEpsBank' -> PaymentMethodEps
-- | bank: The customer's bank. Should be one of
-- `arzte_und_apotheker_bank`, `austrian_anadi_bank_ag`, `bank_austria`,
-- `bankhaus_carl_spangler`, `bankhaus_schelhammer_und_schattera_ag`,
-- `bawag_psk_ag`, `bks_bank_ag`, `brull_kallmus_bank_ag`,
-- `btv_vier_lander_bank`, `capital_bank_grawe_gruppe_ag`,
-- `dolomitenbank`, `easybank_ag`, `erste_bank_und_sparkassen`,
-- `hypo_alpeadriabank_international_ag`,
-- `hypo_noe_lb_fur_niederosterreich_u_wien`,
-- `hypo_oberosterreich_salzburg_steiermark`, `hypo_tirol_bank_ag`,
-- `hypo_vorarlberg_bank_ag`, `hypo_bank_burgenland_aktiengesellschaft`,
-- `marchfelder_bank`, `oberbank_ag`,
-- `raiffeisen_bankengruppe_osterreich`, `schoellerbank_ag`,
-- `sparda_bank_wien`, `volksbank_gruppe`, `volkskreditbank_ag`, or
-- `vr_bank_braunau`.
[paymentMethodEpsBank] :: PaymentMethodEps -> Maybe PaymentMethodEpsBank'
-- | Create a new PaymentMethodEps with all required fields.
mkPaymentMethodEps :: PaymentMethodEps
-- | Defines the enum schema located at
-- components.schemas.payment_method_eps.properties.bank in the
-- specification.
--
-- The customer's bank. Should be one of `arzte_und_apotheker_bank`,
-- `austrian_anadi_bank_ag`, `bank_austria`, `bankhaus_carl_spangler`,
-- `bankhaus_schelhammer_und_schattera_ag`, `bawag_psk_ag`,
-- `bks_bank_ag`, `brull_kallmus_bank_ag`, `btv_vier_lander_bank`,
-- `capital_bank_grawe_gruppe_ag`, `dolomitenbank`, `easybank_ag`,
-- `erste_bank_und_sparkassen`, `hypo_alpeadriabank_international_ag`,
-- `hypo_noe_lb_fur_niederosterreich_u_wien`,
-- `hypo_oberosterreich_salzburg_steiermark`, `hypo_tirol_bank_ag`,
-- `hypo_vorarlberg_bank_ag`, `hypo_bank_burgenland_aktiengesellschaft`,
-- `marchfelder_bank`, `oberbank_ag`,
-- `raiffeisen_bankengruppe_osterreich`, `schoellerbank_ag`,
-- `sparda_bank_wien`, `volksbank_gruppe`, `volkskreditbank_ag`, or
-- `vr_bank_braunau`.
data PaymentMethodEpsBank'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PaymentMethodEpsBank'Other :: Value -> PaymentMethodEpsBank'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PaymentMethodEpsBank'Typed :: Text -> PaymentMethodEpsBank'
-- | Represents the JSON value "arzte_und_apotheker_bank"
PaymentMethodEpsBank'EnumArzteUndApothekerBank :: PaymentMethodEpsBank'
-- | Represents the JSON value "austrian_anadi_bank_ag"
PaymentMethodEpsBank'EnumAustrianAnadiBankAg :: PaymentMethodEpsBank'
-- | Represents the JSON value "bank_austria"
PaymentMethodEpsBank'EnumBankAustria :: PaymentMethodEpsBank'
-- | Represents the JSON value "bankhaus_carl_spangler"
PaymentMethodEpsBank'EnumBankhausCarlSpangler :: PaymentMethodEpsBank'
-- | Represents the JSON value
-- "bankhaus_schelhammer_und_schattera_ag"
PaymentMethodEpsBank'EnumBankhausSchelhammerUndSchatteraAg :: PaymentMethodEpsBank'
-- | Represents the JSON value "bawag_psk_ag"
PaymentMethodEpsBank'EnumBawagPskAg :: PaymentMethodEpsBank'
-- | Represents the JSON value "bks_bank_ag"
PaymentMethodEpsBank'EnumBksBankAg :: PaymentMethodEpsBank'
-- | Represents the JSON value "brull_kallmus_bank_ag"
PaymentMethodEpsBank'EnumBrullKallmusBankAg :: PaymentMethodEpsBank'
-- | Represents the JSON value "btv_vier_lander_bank"
PaymentMethodEpsBank'EnumBtvVierLanderBank :: PaymentMethodEpsBank'
-- | Represents the JSON value "capital_bank_grawe_gruppe_ag"
PaymentMethodEpsBank'EnumCapitalBankGraweGruppeAg :: PaymentMethodEpsBank'
-- | Represents the JSON value "dolomitenbank"
PaymentMethodEpsBank'EnumDolomitenbank :: PaymentMethodEpsBank'
-- | Represents the JSON value "easybank_ag"
PaymentMethodEpsBank'EnumEasybankAg :: PaymentMethodEpsBank'
-- | Represents the JSON value "erste_bank_und_sparkassen"
PaymentMethodEpsBank'EnumErsteBankUndSparkassen :: PaymentMethodEpsBank'
-- | Represents the JSON value
-- "hypo_alpeadriabank_international_ag"
PaymentMethodEpsBank'EnumHypoAlpeadriabankInternationalAg :: PaymentMethodEpsBank'
-- | Represents the JSON value
-- "hypo_bank_burgenland_aktiengesellschaft"
PaymentMethodEpsBank'EnumHypoBankBurgenlandAktiengesellschaft :: PaymentMethodEpsBank'
-- | Represents the JSON value
-- "hypo_noe_lb_fur_niederosterreich_u_wien"
PaymentMethodEpsBank'EnumHypoNoeLbFurNiederosterreichUWien :: PaymentMethodEpsBank'
-- | Represents the JSON value
-- "hypo_oberosterreich_salzburg_steiermark"
PaymentMethodEpsBank'EnumHypoOberosterreichSalzburgSteiermark :: PaymentMethodEpsBank'
-- | Represents the JSON value "hypo_tirol_bank_ag"
PaymentMethodEpsBank'EnumHypoTirolBankAg :: PaymentMethodEpsBank'
-- | Represents the JSON value "hypo_vorarlberg_bank_ag"
PaymentMethodEpsBank'EnumHypoVorarlbergBankAg :: PaymentMethodEpsBank'
-- | Represents the JSON value "marchfelder_bank"
PaymentMethodEpsBank'EnumMarchfelderBank :: PaymentMethodEpsBank'
-- | Represents the JSON value "oberbank_ag"
PaymentMethodEpsBank'EnumOberbankAg :: PaymentMethodEpsBank'
-- | Represents the JSON value
-- "raiffeisen_bankengruppe_osterreich"
PaymentMethodEpsBank'EnumRaiffeisenBankengruppeOsterreich :: PaymentMethodEpsBank'
-- | Represents the JSON value "schoellerbank_ag"
PaymentMethodEpsBank'EnumSchoellerbankAg :: PaymentMethodEpsBank'
-- | Represents the JSON value "sparda_bank_wien"
PaymentMethodEpsBank'EnumSpardaBankWien :: PaymentMethodEpsBank'
-- | Represents the JSON value "volksbank_gruppe"
PaymentMethodEpsBank'EnumVolksbankGruppe :: PaymentMethodEpsBank'
-- | Represents the JSON value "volkskreditbank_ag"
PaymentMethodEpsBank'EnumVolkskreditbankAg :: PaymentMethodEpsBank'
-- | Represents the JSON value "vr_bank_braunau"
PaymentMethodEpsBank'EnumVrBankBraunau :: PaymentMethodEpsBank'
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodEps.PaymentMethodEpsBank'
instance GHC.Show.Show StripeAPI.Types.PaymentMethodEps.PaymentMethodEpsBank'
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodEps.PaymentMethodEps
instance GHC.Show.Show StripeAPI.Types.PaymentMethodEps.PaymentMethodEps
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodEps.PaymentMethodEps
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodEps.PaymentMethodEps
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodEps.PaymentMethodEpsBank'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodEps.PaymentMethodEpsBank'
-- | Contains the types generated from the schema PaymentMethodFpx
module StripeAPI.Types.PaymentMethodFpx
-- | Defines the object schema located at
-- components.schemas.payment_method_fpx in the specification.
data PaymentMethodFpx
PaymentMethodFpx :: PaymentMethodFpxBank' -> PaymentMethodFpx
-- | bank: The customer's bank, if provided. Can be one of `affin_bank`,
-- `alliance_bank`, `ambank`, `bank_islam`, `bank_muamalat`,
-- `bank_rakyat`, `bsn`, `cimb`, `hong_leong_bank`, `hsbc`, `kfh`,
-- `maybank2u`, `ocbc`, `public_bank`, `rhb`, `standard_chartered`,
-- `uob`, `deutsche_bank`, `maybank2e`, or `pb_enterprise`.
[paymentMethodFpxBank] :: PaymentMethodFpx -> PaymentMethodFpxBank'
-- | Create a new PaymentMethodFpx with all required fields.
mkPaymentMethodFpx :: PaymentMethodFpxBank' -> PaymentMethodFpx
-- | Defines the enum schema located at
-- components.schemas.payment_method_fpx.properties.bank in the
-- specification.
--
-- The customer's bank, if provided. Can be one of `affin_bank`,
-- `alliance_bank`, `ambank`, `bank_islam`, `bank_muamalat`,
-- `bank_rakyat`, `bsn`, `cimb`, `hong_leong_bank`, `hsbc`, `kfh`,
-- `maybank2u`, `ocbc`, `public_bank`, `rhb`, `standard_chartered`,
-- `uob`, `deutsche_bank`, `maybank2e`, or `pb_enterprise`.
data PaymentMethodFpxBank'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PaymentMethodFpxBank'Other :: Value -> PaymentMethodFpxBank'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PaymentMethodFpxBank'Typed :: Text -> PaymentMethodFpxBank'
-- | Represents the JSON value "affin_bank"
PaymentMethodFpxBank'EnumAffinBank :: PaymentMethodFpxBank'
-- | Represents the JSON value "alliance_bank"
PaymentMethodFpxBank'EnumAllianceBank :: PaymentMethodFpxBank'
-- | Represents the JSON value "ambank"
PaymentMethodFpxBank'EnumAmbank :: PaymentMethodFpxBank'
-- | Represents the JSON value "bank_islam"
PaymentMethodFpxBank'EnumBankIslam :: PaymentMethodFpxBank'
-- | Represents the JSON value "bank_muamalat"
PaymentMethodFpxBank'EnumBankMuamalat :: PaymentMethodFpxBank'
-- | Represents the JSON value "bank_rakyat"
PaymentMethodFpxBank'EnumBankRakyat :: PaymentMethodFpxBank'
-- | Represents the JSON value "bsn"
PaymentMethodFpxBank'EnumBsn :: PaymentMethodFpxBank'
-- | Represents the JSON value "cimb"
PaymentMethodFpxBank'EnumCimb :: PaymentMethodFpxBank'
-- | Represents the JSON value "deutsche_bank"
PaymentMethodFpxBank'EnumDeutscheBank :: PaymentMethodFpxBank'
-- | Represents the JSON value "hong_leong_bank"
PaymentMethodFpxBank'EnumHongLeongBank :: PaymentMethodFpxBank'
-- | Represents the JSON value "hsbc"
PaymentMethodFpxBank'EnumHsbc :: PaymentMethodFpxBank'
-- | Represents the JSON value "kfh"
PaymentMethodFpxBank'EnumKfh :: PaymentMethodFpxBank'
-- | Represents the JSON value "maybank2e"
PaymentMethodFpxBank'EnumMaybank2e :: PaymentMethodFpxBank'
-- | Represents the JSON value "maybank2u"
PaymentMethodFpxBank'EnumMaybank2u :: PaymentMethodFpxBank'
-- | Represents the JSON value "ocbc"
PaymentMethodFpxBank'EnumOcbc :: PaymentMethodFpxBank'
-- | Represents the JSON value "pb_enterprise"
PaymentMethodFpxBank'EnumPbEnterprise :: PaymentMethodFpxBank'
-- | Represents the JSON value "public_bank"
PaymentMethodFpxBank'EnumPublicBank :: PaymentMethodFpxBank'
-- | Represents the JSON value "rhb"
PaymentMethodFpxBank'EnumRhb :: PaymentMethodFpxBank'
-- | Represents the JSON value "standard_chartered"
PaymentMethodFpxBank'EnumStandardChartered :: PaymentMethodFpxBank'
-- | Represents the JSON value "uob"
PaymentMethodFpxBank'EnumUob :: PaymentMethodFpxBank'
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodFpx.PaymentMethodFpxBank'
instance GHC.Show.Show StripeAPI.Types.PaymentMethodFpx.PaymentMethodFpxBank'
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodFpx.PaymentMethodFpx
instance GHC.Show.Show StripeAPI.Types.PaymentMethodFpx.PaymentMethodFpx
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodFpx.PaymentMethodFpx
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodFpx.PaymentMethodFpx
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodFpx.PaymentMethodFpxBank'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodFpx.PaymentMethodFpxBank'
-- | Contains the types generated from the schema PaymentMethodIdeal
module StripeAPI.Types.PaymentMethodIdeal
-- | Defines the object schema located at
-- components.schemas.payment_method_ideal in the specification.
data PaymentMethodIdeal
PaymentMethodIdeal :: Maybe PaymentMethodIdealBank' -> Maybe PaymentMethodIdealBic' -> PaymentMethodIdeal
-- | bank: The customer's bank, if provided. Can be one of `abn_amro`,
-- `asn_bank`, `bunq`, `handelsbanken`, `ing`, `knab`, `moneyou`,
-- `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, or
-- `van_lanschot`.
[paymentMethodIdealBank] :: PaymentMethodIdeal -> Maybe PaymentMethodIdealBank'
-- | bic: The Bank Identifier Code of the customer's bank, if the bank was
-- provided.
[paymentMethodIdealBic] :: PaymentMethodIdeal -> Maybe PaymentMethodIdealBic'
-- | Create a new PaymentMethodIdeal with all required fields.
mkPaymentMethodIdeal :: PaymentMethodIdeal
-- | Defines the enum schema located at
-- components.schemas.payment_method_ideal.properties.bank in
-- the specification.
--
-- The customer's bank, if provided. Can be one of `abn_amro`,
-- `asn_bank`, `bunq`, `handelsbanken`, `ing`, `knab`, `moneyou`,
-- `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, or
-- `van_lanschot`.
data PaymentMethodIdealBank'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PaymentMethodIdealBank'Other :: Value -> PaymentMethodIdealBank'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PaymentMethodIdealBank'Typed :: Text -> PaymentMethodIdealBank'
-- | Represents the JSON value "abn_amro"
PaymentMethodIdealBank'EnumAbnAmro :: PaymentMethodIdealBank'
-- | Represents the JSON value "asn_bank"
PaymentMethodIdealBank'EnumAsnBank :: PaymentMethodIdealBank'
-- | Represents the JSON value "bunq"
PaymentMethodIdealBank'EnumBunq :: PaymentMethodIdealBank'
-- | Represents the JSON value "handelsbanken"
PaymentMethodIdealBank'EnumHandelsbanken :: PaymentMethodIdealBank'
-- | Represents the JSON value "ing"
PaymentMethodIdealBank'EnumIng :: PaymentMethodIdealBank'
-- | Represents the JSON value "knab"
PaymentMethodIdealBank'EnumKnab :: PaymentMethodIdealBank'
-- | Represents the JSON value "moneyou"
PaymentMethodIdealBank'EnumMoneyou :: PaymentMethodIdealBank'
-- | Represents the JSON value "rabobank"
PaymentMethodIdealBank'EnumRabobank :: PaymentMethodIdealBank'
-- | Represents the JSON value "regiobank"
PaymentMethodIdealBank'EnumRegiobank :: PaymentMethodIdealBank'
-- | Represents the JSON value "revolut"
PaymentMethodIdealBank'EnumRevolut :: PaymentMethodIdealBank'
-- | Represents the JSON value "sns_bank"
PaymentMethodIdealBank'EnumSnsBank :: PaymentMethodIdealBank'
-- | Represents the JSON value "triodos_bank"
PaymentMethodIdealBank'EnumTriodosBank :: PaymentMethodIdealBank'
-- | Represents the JSON value "van_lanschot"
PaymentMethodIdealBank'EnumVanLanschot :: PaymentMethodIdealBank'
-- | Defines the enum schema located at
-- components.schemas.payment_method_ideal.properties.bic in the
-- specification.
--
-- The Bank Identifier Code of the customer's bank, if the bank was
-- provided.
data PaymentMethodIdealBic'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PaymentMethodIdealBic'Other :: Value -> PaymentMethodIdealBic'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PaymentMethodIdealBic'Typed :: Text -> PaymentMethodIdealBic'
-- | Represents the JSON value ABNANL2A
PaymentMethodIdealBic'EnumABNANL2A :: PaymentMethodIdealBic'
-- | Represents the JSON value ASNBNL21
PaymentMethodIdealBic'EnumASNBNL21 :: PaymentMethodIdealBic'
-- | Represents the JSON value BUNQNL2A
PaymentMethodIdealBic'EnumBUNQNL2A :: PaymentMethodIdealBic'
-- | Represents the JSON value FVLBNL22
PaymentMethodIdealBic'EnumFVLBNL22 :: PaymentMethodIdealBic'
-- | Represents the JSON value HANDNL2A
PaymentMethodIdealBic'EnumHANDNL2A :: PaymentMethodIdealBic'
-- | Represents the JSON value INGBNL2A
PaymentMethodIdealBic'EnumINGBNL2A :: PaymentMethodIdealBic'
-- | Represents the JSON value KNABNL2H
PaymentMethodIdealBic'EnumKNABNL2H :: PaymentMethodIdealBic'
-- | Represents the JSON value MOYONL21
PaymentMethodIdealBic'EnumMOYONL21 :: PaymentMethodIdealBic'
-- | Represents the JSON value RABONL2U
PaymentMethodIdealBic'EnumRABONL2U :: PaymentMethodIdealBic'
-- | Represents the JSON value RBRBNL21
PaymentMethodIdealBic'EnumRBRBNL21 :: PaymentMethodIdealBic'
-- | Represents the JSON value REVOLT21
PaymentMethodIdealBic'EnumREVOLT21 :: PaymentMethodIdealBic'
-- | Represents the JSON value SNSBNL2A
PaymentMethodIdealBic'EnumSNSBNL2A :: PaymentMethodIdealBic'
-- | Represents the JSON value TRIONL2U
PaymentMethodIdealBic'EnumTRIONL2U :: PaymentMethodIdealBic'
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodIdeal.PaymentMethodIdealBank'
instance GHC.Show.Show StripeAPI.Types.PaymentMethodIdeal.PaymentMethodIdealBank'
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodIdeal.PaymentMethodIdealBic'
instance GHC.Show.Show StripeAPI.Types.PaymentMethodIdeal.PaymentMethodIdealBic'
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodIdeal.PaymentMethodIdeal
instance GHC.Show.Show StripeAPI.Types.PaymentMethodIdeal.PaymentMethodIdeal
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodIdeal.PaymentMethodIdeal
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodIdeal.PaymentMethodIdeal
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodIdeal.PaymentMethodIdealBic'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodIdeal.PaymentMethodIdealBic'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodIdeal.PaymentMethodIdealBank'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodIdeal.PaymentMethodIdealBank'
-- | Contains the types generated from the schema
-- PaymentMethodOptionsAfterpayClearpay
module StripeAPI.Types.PaymentMethodOptionsAfterpayClearpay
-- | Defines the object schema located at
-- components.schemas.payment_method_options_afterpay_clearpay
-- in the specification.
data PaymentMethodOptionsAfterpayClearpay
PaymentMethodOptionsAfterpayClearpay :: Maybe Text -> PaymentMethodOptionsAfterpayClearpay
-- | reference: Order identifier shown to the merchant in Afterpay’s online
-- portal. We recommend using a value that helps you answer any questions
-- a customer might have about the payment. The identifier is limited to
-- 128 characters and may contain only letters, digits, underscores,
-- backslashes and dashes.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodOptionsAfterpayClearpayReference] :: PaymentMethodOptionsAfterpayClearpay -> Maybe Text
-- | Create a new PaymentMethodOptionsAfterpayClearpay with all
-- required fields.
mkPaymentMethodOptionsAfterpayClearpay :: PaymentMethodOptionsAfterpayClearpay
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodOptionsAfterpayClearpay.PaymentMethodOptionsAfterpayClearpay
instance GHC.Show.Show StripeAPI.Types.PaymentMethodOptionsAfterpayClearpay.PaymentMethodOptionsAfterpayClearpay
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodOptionsAfterpayClearpay.PaymentMethodOptionsAfterpayClearpay
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodOptionsAfterpayClearpay.PaymentMethodOptionsAfterpayClearpay
-- | Contains the types generated from the schema
-- PaymentMethodOptionsBancontact
module StripeAPI.Types.PaymentMethodOptionsBancontact
-- | Defines the object schema located at
-- components.schemas.payment_method_options_bancontact in the
-- specification.
data PaymentMethodOptionsBancontact
PaymentMethodOptionsBancontact :: PaymentMethodOptionsBancontactPreferredLanguage' -> PaymentMethodOptionsBancontact
-- | preferred_language: Preferred language of the Bancontact authorization
-- page that the customer is redirected to.
[paymentMethodOptionsBancontactPreferredLanguage] :: PaymentMethodOptionsBancontact -> PaymentMethodOptionsBancontactPreferredLanguage'
-- | Create a new PaymentMethodOptionsBancontact with all required
-- fields.
mkPaymentMethodOptionsBancontact :: PaymentMethodOptionsBancontactPreferredLanguage' -> PaymentMethodOptionsBancontact
-- | Defines the enum schema located at
-- components.schemas.payment_method_options_bancontact.properties.preferred_language
-- in the specification.
--
-- Preferred language of the Bancontact authorization page that the
-- customer is redirected to.
data PaymentMethodOptionsBancontactPreferredLanguage'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PaymentMethodOptionsBancontactPreferredLanguage'Other :: Value -> PaymentMethodOptionsBancontactPreferredLanguage'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PaymentMethodOptionsBancontactPreferredLanguage'Typed :: Text -> PaymentMethodOptionsBancontactPreferredLanguage'
-- | Represents the JSON value "de"
PaymentMethodOptionsBancontactPreferredLanguage'EnumDe :: PaymentMethodOptionsBancontactPreferredLanguage'
-- | Represents the JSON value "en"
PaymentMethodOptionsBancontactPreferredLanguage'EnumEn :: PaymentMethodOptionsBancontactPreferredLanguage'
-- | Represents the JSON value "fr"
PaymentMethodOptionsBancontactPreferredLanguage'EnumFr :: PaymentMethodOptionsBancontactPreferredLanguage'
-- | Represents the JSON value "nl"
PaymentMethodOptionsBancontactPreferredLanguage'EnumNl :: PaymentMethodOptionsBancontactPreferredLanguage'
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodOptionsBancontact.PaymentMethodOptionsBancontactPreferredLanguage'
instance GHC.Show.Show StripeAPI.Types.PaymentMethodOptionsBancontact.PaymentMethodOptionsBancontactPreferredLanguage'
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodOptionsBancontact.PaymentMethodOptionsBancontact
instance GHC.Show.Show StripeAPI.Types.PaymentMethodOptionsBancontact.PaymentMethodOptionsBancontact
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodOptionsBancontact.PaymentMethodOptionsBancontact
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodOptionsBancontact.PaymentMethodOptionsBancontact
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodOptionsBancontact.PaymentMethodOptionsBancontactPreferredLanguage'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodOptionsBancontact.PaymentMethodOptionsBancontactPreferredLanguage'
-- | Contains the types generated from the schema
-- PaymentMethodOptionsBoleto
module StripeAPI.Types.PaymentMethodOptionsBoleto
-- | Defines the object schema located at
-- components.schemas.payment_method_options_boleto in the
-- specification.
data PaymentMethodOptionsBoleto
PaymentMethodOptionsBoleto :: Int -> PaymentMethodOptionsBoleto
-- | expires_after_days: The number of calendar days before a Boleto
-- voucher expires. For example, if you create a Boleto voucher on Monday
-- and you set expires_after_days to 2, the Boleto voucher will expire on
-- Wednesday at 23:59 America/Sao_Paulo time.
[paymentMethodOptionsBoletoExpiresAfterDays] :: PaymentMethodOptionsBoleto -> Int
-- | Create a new PaymentMethodOptionsBoleto with all required
-- fields.
mkPaymentMethodOptionsBoleto :: Int -> PaymentMethodOptionsBoleto
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodOptionsBoleto.PaymentMethodOptionsBoleto
instance GHC.Show.Show StripeAPI.Types.PaymentMethodOptionsBoleto.PaymentMethodOptionsBoleto
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodOptionsBoleto.PaymentMethodOptionsBoleto
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodOptionsBoleto.PaymentMethodOptionsBoleto
-- | Contains the types generated from the schema
-- PaymentIntentPaymentMethodOptionsCard
module StripeAPI.Types.PaymentIntentPaymentMethodOptionsCard
-- | Defines the object schema located at
-- components.schemas.payment_intent_payment_method_options_card
-- in the specification.
data PaymentIntentPaymentMethodOptionsCard
PaymentIntentPaymentMethodOptionsCard :: Maybe PaymentIntentPaymentMethodOptionsCardInstallments' -> Maybe PaymentIntentPaymentMethodOptionsCardNetwork' -> Maybe PaymentIntentPaymentMethodOptionsCardRequestThreeDSecure' -> PaymentIntentPaymentMethodOptionsCard
-- | installments: Installment details for this payment (Mexico only).
--
-- For more information, see the installments integration guide.
[paymentIntentPaymentMethodOptionsCardInstallments] :: PaymentIntentPaymentMethodOptionsCard -> Maybe PaymentIntentPaymentMethodOptionsCardInstallments'
-- | network: Selected network to process this payment intent on. Depends
-- on the available networks of the card attached to the payment intent.
-- Can be only set confirm-time.
[paymentIntentPaymentMethodOptionsCardNetwork] :: PaymentIntentPaymentMethodOptionsCard -> Maybe PaymentIntentPaymentMethodOptionsCardNetwork'
-- | request_three_d_secure: We strongly recommend that you rely on our SCA
-- Engine to automatically prompt your customers for authentication based
-- on risk level and other requirements. However, if you wish to
-- request 3D Secure based on logic from your own fraud engine, provide
-- this option. Permitted values include: `automatic` or `any`. If not
-- provided, defaults to `automatic`. Read our guide on manually
-- requesting 3D Secure for more information on how this
-- configuration interacts with Radar and our SCA Engine.
[paymentIntentPaymentMethodOptionsCardRequestThreeDSecure] :: PaymentIntentPaymentMethodOptionsCard -> Maybe PaymentIntentPaymentMethodOptionsCardRequestThreeDSecure'
-- | Create a new PaymentIntentPaymentMethodOptionsCard with all
-- required fields.
mkPaymentIntentPaymentMethodOptionsCard :: PaymentIntentPaymentMethodOptionsCard
-- | Defines the object schema located at
-- components.schemas.payment_intent_payment_method_options_card.properties.installments.anyOf
-- in the specification.
--
-- Installment details for this payment (Mexico only).
--
-- For more information, see the installments integration guide.
data PaymentIntentPaymentMethodOptionsCardInstallments'
PaymentIntentPaymentMethodOptionsCardInstallments' :: Maybe [PaymentMethodDetailsCardInstallmentsPlan] -> Maybe Bool -> Maybe PaymentIntentPaymentMethodOptionsCardInstallments'Plan' -> PaymentIntentPaymentMethodOptionsCardInstallments'
-- | available_plans: Installment plans that may be selected for this
-- PaymentIntent.
[paymentIntentPaymentMethodOptionsCardInstallments'AvailablePlans] :: PaymentIntentPaymentMethodOptionsCardInstallments' -> Maybe [PaymentMethodDetailsCardInstallmentsPlan]
-- | enabled: Whether Installments are enabled for this PaymentIntent.
[paymentIntentPaymentMethodOptionsCardInstallments'Enabled] :: PaymentIntentPaymentMethodOptionsCardInstallments' -> Maybe Bool
-- | plan: Installment plan selected for this PaymentIntent.
[paymentIntentPaymentMethodOptionsCardInstallments'Plan] :: PaymentIntentPaymentMethodOptionsCardInstallments' -> Maybe PaymentIntentPaymentMethodOptionsCardInstallments'Plan'
-- | Create a new PaymentIntentPaymentMethodOptionsCardInstallments'
-- with all required fields.
mkPaymentIntentPaymentMethodOptionsCardInstallments' :: PaymentIntentPaymentMethodOptionsCardInstallments'
-- | Defines the object schema located at
-- components.schemas.payment_intent_payment_method_options_card.properties.installments.anyOf.properties.plan.anyOf
-- in the specification.
--
-- Installment plan selected for this PaymentIntent.
data PaymentIntentPaymentMethodOptionsCardInstallments'Plan'
PaymentIntentPaymentMethodOptionsCardInstallments'Plan' :: Maybe Int -> Maybe PaymentIntentPaymentMethodOptionsCardInstallments'Plan'Interval' -> Maybe PaymentIntentPaymentMethodOptionsCardInstallments'Plan'Type' -> PaymentIntentPaymentMethodOptionsCardInstallments'Plan'
-- | count: For `fixed_count` installment plans, this is the number of
-- installment payments your customer will make to their credit card.
[paymentIntentPaymentMethodOptionsCardInstallments'Plan'Count] :: PaymentIntentPaymentMethodOptionsCardInstallments'Plan' -> Maybe Int
-- | interval: For `fixed_count` installment plans, this is the interval
-- between installment payments your customer will make to their credit
-- card. One of `month`.
[paymentIntentPaymentMethodOptionsCardInstallments'Plan'Interval] :: PaymentIntentPaymentMethodOptionsCardInstallments'Plan' -> Maybe PaymentIntentPaymentMethodOptionsCardInstallments'Plan'Interval'
-- | type: Type of installment plan, one of `fixed_count`.
[paymentIntentPaymentMethodOptionsCardInstallments'Plan'Type] :: PaymentIntentPaymentMethodOptionsCardInstallments'Plan' -> Maybe PaymentIntentPaymentMethodOptionsCardInstallments'Plan'Type'
-- | Create a new
-- PaymentIntentPaymentMethodOptionsCardInstallments'Plan' with
-- all required fields.
mkPaymentIntentPaymentMethodOptionsCardInstallments'Plan' :: PaymentIntentPaymentMethodOptionsCardInstallments'Plan'
-- | Defines the enum schema located at
-- components.schemas.payment_intent_payment_method_options_card.properties.installments.anyOf.properties.plan.anyOf.properties.interval
-- in the specification.
--
-- For `fixed_count` installment plans, this is the interval between
-- installment payments your customer will make to their credit card. One
-- of `month`.
data PaymentIntentPaymentMethodOptionsCardInstallments'Plan'Interval'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PaymentIntentPaymentMethodOptionsCardInstallments'Plan'Interval'Other :: Value -> PaymentIntentPaymentMethodOptionsCardInstallments'Plan'Interval'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PaymentIntentPaymentMethodOptionsCardInstallments'Plan'Interval'Typed :: Text -> PaymentIntentPaymentMethodOptionsCardInstallments'Plan'Interval'
-- | Represents the JSON value "month"
PaymentIntentPaymentMethodOptionsCardInstallments'Plan'Interval'EnumMonth :: PaymentIntentPaymentMethodOptionsCardInstallments'Plan'Interval'
-- | Defines the enum schema located at
-- components.schemas.payment_intent_payment_method_options_card.properties.installments.anyOf.properties.plan.anyOf.properties.type
-- in the specification.
--
-- Type of installment plan, one of `fixed_count`.
data PaymentIntentPaymentMethodOptionsCardInstallments'Plan'Type'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PaymentIntentPaymentMethodOptionsCardInstallments'Plan'Type'Other :: Value -> PaymentIntentPaymentMethodOptionsCardInstallments'Plan'Type'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PaymentIntentPaymentMethodOptionsCardInstallments'Plan'Type'Typed :: Text -> PaymentIntentPaymentMethodOptionsCardInstallments'Plan'Type'
-- | Represents the JSON value "fixed_count"
PaymentIntentPaymentMethodOptionsCardInstallments'Plan'Type'EnumFixedCount :: PaymentIntentPaymentMethodOptionsCardInstallments'Plan'Type'
-- | Defines the enum schema located at
-- components.schemas.payment_intent_payment_method_options_card.properties.network
-- in the specification.
--
-- Selected network to process this payment intent on. Depends on the
-- available networks of the card attached to the payment intent. Can be
-- only set confirm-time.
data PaymentIntentPaymentMethodOptionsCardNetwork'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PaymentIntentPaymentMethodOptionsCardNetwork'Other :: Value -> PaymentIntentPaymentMethodOptionsCardNetwork'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PaymentIntentPaymentMethodOptionsCardNetwork'Typed :: Text -> PaymentIntentPaymentMethodOptionsCardNetwork'
-- | Represents the JSON value "amex"
PaymentIntentPaymentMethodOptionsCardNetwork'EnumAmex :: PaymentIntentPaymentMethodOptionsCardNetwork'
-- | Represents the JSON value "cartes_bancaires"
PaymentIntentPaymentMethodOptionsCardNetwork'EnumCartesBancaires :: PaymentIntentPaymentMethodOptionsCardNetwork'
-- | Represents the JSON value "diners"
PaymentIntentPaymentMethodOptionsCardNetwork'EnumDiners :: PaymentIntentPaymentMethodOptionsCardNetwork'
-- | Represents the JSON value "discover"
PaymentIntentPaymentMethodOptionsCardNetwork'EnumDiscover :: PaymentIntentPaymentMethodOptionsCardNetwork'
-- | Represents the JSON value "interac"
PaymentIntentPaymentMethodOptionsCardNetwork'EnumInterac :: PaymentIntentPaymentMethodOptionsCardNetwork'
-- | Represents the JSON value "jcb"
PaymentIntentPaymentMethodOptionsCardNetwork'EnumJcb :: PaymentIntentPaymentMethodOptionsCardNetwork'
-- | Represents the JSON value "mastercard"
PaymentIntentPaymentMethodOptionsCardNetwork'EnumMastercard :: PaymentIntentPaymentMethodOptionsCardNetwork'
-- | Represents the JSON value "unionpay"
PaymentIntentPaymentMethodOptionsCardNetwork'EnumUnionpay :: PaymentIntentPaymentMethodOptionsCardNetwork'
-- | Represents the JSON value "unknown"
PaymentIntentPaymentMethodOptionsCardNetwork'EnumUnknown :: PaymentIntentPaymentMethodOptionsCardNetwork'
-- | Represents the JSON value "visa"
PaymentIntentPaymentMethodOptionsCardNetwork'EnumVisa :: PaymentIntentPaymentMethodOptionsCardNetwork'
-- | Defines the enum schema located at
-- components.schemas.payment_intent_payment_method_options_card.properties.request_three_d_secure
-- in the specification.
--
-- We strongly recommend that you rely on our SCA Engine to automatically
-- prompt your customers for authentication based on risk level and
-- other requirements. However, if you wish to request 3D Secure
-- based on logic from your own fraud engine, provide this option.
-- Permitted values include: `automatic` or `any`. If not provided,
-- defaults to `automatic`. Read our guide on manually requesting 3D
-- Secure for more information on how this configuration interacts
-- with Radar and our SCA Engine.
data PaymentIntentPaymentMethodOptionsCardRequestThreeDSecure'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PaymentIntentPaymentMethodOptionsCardRequestThreeDSecure'Other :: Value -> PaymentIntentPaymentMethodOptionsCardRequestThreeDSecure'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PaymentIntentPaymentMethodOptionsCardRequestThreeDSecure'Typed :: Text -> PaymentIntentPaymentMethodOptionsCardRequestThreeDSecure'
-- | Represents the JSON value "any"
PaymentIntentPaymentMethodOptionsCardRequestThreeDSecure'EnumAny :: PaymentIntentPaymentMethodOptionsCardRequestThreeDSecure'
-- | Represents the JSON value "automatic"
PaymentIntentPaymentMethodOptionsCardRequestThreeDSecure'EnumAutomatic :: PaymentIntentPaymentMethodOptionsCardRequestThreeDSecure'
-- | Represents the JSON value "challenge_only"
PaymentIntentPaymentMethodOptionsCardRequestThreeDSecure'EnumChallengeOnly :: PaymentIntentPaymentMethodOptionsCardRequestThreeDSecure'
instance GHC.Classes.Eq StripeAPI.Types.PaymentIntentPaymentMethodOptionsCard.PaymentIntentPaymentMethodOptionsCardInstallments'Plan'Interval'
instance GHC.Show.Show StripeAPI.Types.PaymentIntentPaymentMethodOptionsCard.PaymentIntentPaymentMethodOptionsCardInstallments'Plan'Interval'
instance GHC.Classes.Eq StripeAPI.Types.PaymentIntentPaymentMethodOptionsCard.PaymentIntentPaymentMethodOptionsCardInstallments'Plan'Type'
instance GHC.Show.Show StripeAPI.Types.PaymentIntentPaymentMethodOptionsCard.PaymentIntentPaymentMethodOptionsCardInstallments'Plan'Type'
instance GHC.Classes.Eq StripeAPI.Types.PaymentIntentPaymentMethodOptionsCard.PaymentIntentPaymentMethodOptionsCardInstallments'Plan'
instance GHC.Show.Show StripeAPI.Types.PaymentIntentPaymentMethodOptionsCard.PaymentIntentPaymentMethodOptionsCardInstallments'Plan'
instance GHC.Classes.Eq StripeAPI.Types.PaymentIntentPaymentMethodOptionsCard.PaymentIntentPaymentMethodOptionsCardInstallments'
instance GHC.Show.Show StripeAPI.Types.PaymentIntentPaymentMethodOptionsCard.PaymentIntentPaymentMethodOptionsCardInstallments'
instance GHC.Classes.Eq StripeAPI.Types.PaymentIntentPaymentMethodOptionsCard.PaymentIntentPaymentMethodOptionsCardNetwork'
instance GHC.Show.Show StripeAPI.Types.PaymentIntentPaymentMethodOptionsCard.PaymentIntentPaymentMethodOptionsCardNetwork'
instance GHC.Classes.Eq StripeAPI.Types.PaymentIntentPaymentMethodOptionsCard.PaymentIntentPaymentMethodOptionsCardRequestThreeDSecure'
instance GHC.Show.Show StripeAPI.Types.PaymentIntentPaymentMethodOptionsCard.PaymentIntentPaymentMethodOptionsCardRequestThreeDSecure'
instance GHC.Classes.Eq StripeAPI.Types.PaymentIntentPaymentMethodOptionsCard.PaymentIntentPaymentMethodOptionsCard
instance GHC.Show.Show StripeAPI.Types.PaymentIntentPaymentMethodOptionsCard.PaymentIntentPaymentMethodOptionsCard
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentIntentPaymentMethodOptionsCard.PaymentIntentPaymentMethodOptionsCard
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentIntentPaymentMethodOptionsCard.PaymentIntentPaymentMethodOptionsCard
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentIntentPaymentMethodOptionsCard.PaymentIntentPaymentMethodOptionsCardRequestThreeDSecure'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentIntentPaymentMethodOptionsCard.PaymentIntentPaymentMethodOptionsCardRequestThreeDSecure'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentIntentPaymentMethodOptionsCard.PaymentIntentPaymentMethodOptionsCardNetwork'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentIntentPaymentMethodOptionsCard.PaymentIntentPaymentMethodOptionsCardNetwork'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentIntentPaymentMethodOptionsCard.PaymentIntentPaymentMethodOptionsCardInstallments'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentIntentPaymentMethodOptionsCard.PaymentIntentPaymentMethodOptionsCardInstallments'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentIntentPaymentMethodOptionsCard.PaymentIntentPaymentMethodOptionsCardInstallments'Plan'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentIntentPaymentMethodOptionsCard.PaymentIntentPaymentMethodOptionsCardInstallments'Plan'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentIntentPaymentMethodOptionsCard.PaymentIntentPaymentMethodOptionsCardInstallments'Plan'Type'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentIntentPaymentMethodOptionsCard.PaymentIntentPaymentMethodOptionsCardInstallments'Plan'Type'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentIntentPaymentMethodOptionsCard.PaymentIntentPaymentMethodOptionsCardInstallments'Plan'Interval'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentIntentPaymentMethodOptionsCard.PaymentIntentPaymentMethodOptionsCardInstallments'Plan'Interval'
-- | Contains the types generated from the schema
-- PaymentMethodOptionsCardInstallments
module StripeAPI.Types.PaymentMethodOptionsCardInstallments
-- | Defines the object schema located at
-- components.schemas.payment_method_options_card_installments
-- in the specification.
data PaymentMethodOptionsCardInstallments
PaymentMethodOptionsCardInstallments :: Maybe [PaymentMethodDetailsCardInstallmentsPlan] -> Bool -> Maybe PaymentMethodOptionsCardInstallmentsPlan' -> PaymentMethodOptionsCardInstallments
-- | available_plans: Installment plans that may be selected for this
-- PaymentIntent.
[paymentMethodOptionsCardInstallmentsAvailablePlans] :: PaymentMethodOptionsCardInstallments -> Maybe [PaymentMethodDetailsCardInstallmentsPlan]
-- | enabled: Whether Installments are enabled for this PaymentIntent.
[paymentMethodOptionsCardInstallmentsEnabled] :: PaymentMethodOptionsCardInstallments -> Bool
-- | plan: Installment plan selected for this PaymentIntent.
[paymentMethodOptionsCardInstallmentsPlan] :: PaymentMethodOptionsCardInstallments -> Maybe PaymentMethodOptionsCardInstallmentsPlan'
-- | Create a new PaymentMethodOptionsCardInstallments with all
-- required fields.
mkPaymentMethodOptionsCardInstallments :: Bool -> PaymentMethodOptionsCardInstallments
-- | Defines the object schema located at
-- components.schemas.payment_method_options_card_installments.properties.plan.anyOf
-- in the specification.
--
-- Installment plan selected for this PaymentIntent.
data PaymentMethodOptionsCardInstallmentsPlan'
PaymentMethodOptionsCardInstallmentsPlan' :: Maybe Int -> Maybe PaymentMethodOptionsCardInstallmentsPlan'Interval' -> Maybe PaymentMethodOptionsCardInstallmentsPlan'Type' -> PaymentMethodOptionsCardInstallmentsPlan'
-- | count: For `fixed_count` installment plans, this is the number of
-- installment payments your customer will make to their credit card.
[paymentMethodOptionsCardInstallmentsPlan'Count] :: PaymentMethodOptionsCardInstallmentsPlan' -> Maybe Int
-- | interval: For `fixed_count` installment plans, this is the interval
-- between installment payments your customer will make to their credit
-- card. One of `month`.
[paymentMethodOptionsCardInstallmentsPlan'Interval] :: PaymentMethodOptionsCardInstallmentsPlan' -> Maybe PaymentMethodOptionsCardInstallmentsPlan'Interval'
-- | type: Type of installment plan, one of `fixed_count`.
[paymentMethodOptionsCardInstallmentsPlan'Type] :: PaymentMethodOptionsCardInstallmentsPlan' -> Maybe PaymentMethodOptionsCardInstallmentsPlan'Type'
-- | Create a new PaymentMethodOptionsCardInstallmentsPlan' with all
-- required fields.
mkPaymentMethodOptionsCardInstallmentsPlan' :: PaymentMethodOptionsCardInstallmentsPlan'
-- | Defines the enum schema located at
-- components.schemas.payment_method_options_card_installments.properties.plan.anyOf.properties.interval
-- in the specification.
--
-- For `fixed_count` installment plans, this is the interval between
-- installment payments your customer will make to their credit card. One
-- of `month`.
data PaymentMethodOptionsCardInstallmentsPlan'Interval'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PaymentMethodOptionsCardInstallmentsPlan'Interval'Other :: Value -> PaymentMethodOptionsCardInstallmentsPlan'Interval'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PaymentMethodOptionsCardInstallmentsPlan'Interval'Typed :: Text -> PaymentMethodOptionsCardInstallmentsPlan'Interval'
-- | Represents the JSON value "month"
PaymentMethodOptionsCardInstallmentsPlan'Interval'EnumMonth :: PaymentMethodOptionsCardInstallmentsPlan'Interval'
-- | Defines the enum schema located at
-- components.schemas.payment_method_options_card_installments.properties.plan.anyOf.properties.type
-- in the specification.
--
-- Type of installment plan, one of `fixed_count`.
data PaymentMethodOptionsCardInstallmentsPlan'Type'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PaymentMethodOptionsCardInstallmentsPlan'Type'Other :: Value -> PaymentMethodOptionsCardInstallmentsPlan'Type'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PaymentMethodOptionsCardInstallmentsPlan'Type'Typed :: Text -> PaymentMethodOptionsCardInstallmentsPlan'Type'
-- | Represents the JSON value "fixed_count"
PaymentMethodOptionsCardInstallmentsPlan'Type'EnumFixedCount :: PaymentMethodOptionsCardInstallmentsPlan'Type'
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodOptionsCardInstallments.PaymentMethodOptionsCardInstallmentsPlan'Interval'
instance GHC.Show.Show StripeAPI.Types.PaymentMethodOptionsCardInstallments.PaymentMethodOptionsCardInstallmentsPlan'Interval'
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodOptionsCardInstallments.PaymentMethodOptionsCardInstallmentsPlan'Type'
instance GHC.Show.Show StripeAPI.Types.PaymentMethodOptionsCardInstallments.PaymentMethodOptionsCardInstallmentsPlan'Type'
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodOptionsCardInstallments.PaymentMethodOptionsCardInstallmentsPlan'
instance GHC.Show.Show StripeAPI.Types.PaymentMethodOptionsCardInstallments.PaymentMethodOptionsCardInstallmentsPlan'
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodOptionsCardInstallments.PaymentMethodOptionsCardInstallments
instance GHC.Show.Show StripeAPI.Types.PaymentMethodOptionsCardInstallments.PaymentMethodOptionsCardInstallments
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodOptionsCardInstallments.PaymentMethodOptionsCardInstallments
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodOptionsCardInstallments.PaymentMethodOptionsCardInstallments
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodOptionsCardInstallments.PaymentMethodOptionsCardInstallmentsPlan'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodOptionsCardInstallments.PaymentMethodOptionsCardInstallmentsPlan'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodOptionsCardInstallments.PaymentMethodOptionsCardInstallmentsPlan'Type'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodOptionsCardInstallments.PaymentMethodOptionsCardInstallmentsPlan'Type'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodOptionsCardInstallments.PaymentMethodOptionsCardInstallmentsPlan'Interval'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodOptionsCardInstallments.PaymentMethodOptionsCardInstallmentsPlan'Interval'
-- | Contains the types generated from the schema PaymentMethodOptionsOxxo
module StripeAPI.Types.PaymentMethodOptionsOxxo
-- | Defines the object schema located at
-- components.schemas.payment_method_options_oxxo in the
-- specification.
data PaymentMethodOptionsOxxo
PaymentMethodOptionsOxxo :: Int -> PaymentMethodOptionsOxxo
-- | expires_after_days: The number of calendar days before an OXXO invoice
-- expires. For example, if you create an OXXO invoice on Monday and you
-- set expires_after_days to 2, the OXXO invoice will expire on Wednesday
-- at 23:59 America/Mexico_City time.
[paymentMethodOptionsOxxoExpiresAfterDays] :: PaymentMethodOptionsOxxo -> Int
-- | Create a new PaymentMethodOptionsOxxo with all required fields.
mkPaymentMethodOptionsOxxo :: Int -> PaymentMethodOptionsOxxo
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodOptionsOxxo.PaymentMethodOptionsOxxo
instance GHC.Show.Show StripeAPI.Types.PaymentMethodOptionsOxxo.PaymentMethodOptionsOxxo
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodOptionsOxxo.PaymentMethodOptionsOxxo
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodOptionsOxxo.PaymentMethodOptionsOxxo
-- | Contains the types generated from the schema
-- PaymentIntentPaymentMethodOptions
module StripeAPI.Types.PaymentIntentPaymentMethodOptions
-- | Defines the object schema located at
-- components.schemas.payment_intent_payment_method_options in
-- the specification.
data PaymentIntentPaymentMethodOptions
PaymentIntentPaymentMethodOptions :: Maybe PaymentIntentPaymentMethodOptionsAcssDebit -> Maybe PaymentMethodOptionsAfterpayClearpay -> Maybe PaymentMethodOptionsAlipay -> Maybe PaymentMethodOptionsBancontact -> Maybe PaymentMethodOptionsBoleto -> Maybe PaymentIntentPaymentMethodOptionsCard -> Maybe PaymentMethodOptionsCardPresent -> Maybe PaymentMethodOptionsOxxo -> Maybe PaymentMethodOptionsP24 -> Maybe PaymentIntentPaymentMethodOptionsSepaDebit -> Maybe PaymentMethodOptionsSofort -> PaymentIntentPaymentMethodOptions
-- | acss_debit:
[paymentIntentPaymentMethodOptionsAcssDebit] :: PaymentIntentPaymentMethodOptions -> Maybe PaymentIntentPaymentMethodOptionsAcssDebit
-- | afterpay_clearpay:
[paymentIntentPaymentMethodOptionsAfterpayClearpay] :: PaymentIntentPaymentMethodOptions -> Maybe PaymentMethodOptionsAfterpayClearpay
-- | alipay:
[paymentIntentPaymentMethodOptionsAlipay] :: PaymentIntentPaymentMethodOptions -> Maybe PaymentMethodOptionsAlipay
-- | bancontact:
[paymentIntentPaymentMethodOptionsBancontact] :: PaymentIntentPaymentMethodOptions -> Maybe PaymentMethodOptionsBancontact
-- | boleto:
[paymentIntentPaymentMethodOptionsBoleto] :: PaymentIntentPaymentMethodOptions -> Maybe PaymentMethodOptionsBoleto
-- | card:
[paymentIntentPaymentMethodOptionsCard] :: PaymentIntentPaymentMethodOptions -> Maybe PaymentIntentPaymentMethodOptionsCard
-- | card_present:
[paymentIntentPaymentMethodOptionsCardPresent] :: PaymentIntentPaymentMethodOptions -> Maybe PaymentMethodOptionsCardPresent
-- | oxxo:
[paymentIntentPaymentMethodOptionsOxxo] :: PaymentIntentPaymentMethodOptions -> Maybe PaymentMethodOptionsOxxo
-- | p24:
[paymentIntentPaymentMethodOptionsP24] :: PaymentIntentPaymentMethodOptions -> Maybe PaymentMethodOptionsP24
-- | sepa_debit:
[paymentIntentPaymentMethodOptionsSepaDebit] :: PaymentIntentPaymentMethodOptions -> Maybe PaymentIntentPaymentMethodOptionsSepaDebit
-- | sofort:
[paymentIntentPaymentMethodOptionsSofort] :: PaymentIntentPaymentMethodOptions -> Maybe PaymentMethodOptionsSofort
-- | Create a new PaymentIntentPaymentMethodOptions with all
-- required fields.
mkPaymentIntentPaymentMethodOptions :: PaymentIntentPaymentMethodOptions
instance GHC.Classes.Eq StripeAPI.Types.PaymentIntentPaymentMethodOptions.PaymentIntentPaymentMethodOptions
instance GHC.Show.Show StripeAPI.Types.PaymentIntentPaymentMethodOptions.PaymentIntentPaymentMethodOptions
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentIntentPaymentMethodOptions.PaymentIntentPaymentMethodOptions
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentIntentPaymentMethodOptions.PaymentIntentPaymentMethodOptions
-- | Contains the types generated from the schema
-- PaymentMethodOptionsSofort
module StripeAPI.Types.PaymentMethodOptionsSofort
-- | Defines the object schema located at
-- components.schemas.payment_method_options_sofort in the
-- specification.
data PaymentMethodOptionsSofort
PaymentMethodOptionsSofort :: Maybe PaymentMethodOptionsSofortPreferredLanguage' -> PaymentMethodOptionsSofort
-- | preferred_language: Preferred language of the SOFORT authorization
-- page that the customer is redirected to.
[paymentMethodOptionsSofortPreferredLanguage] :: PaymentMethodOptionsSofort -> Maybe PaymentMethodOptionsSofortPreferredLanguage'
-- | Create a new PaymentMethodOptionsSofort with all required
-- fields.
mkPaymentMethodOptionsSofort :: PaymentMethodOptionsSofort
-- | Defines the enum schema located at
-- components.schemas.payment_method_options_sofort.properties.preferred_language
-- in the specification.
--
-- Preferred language of the SOFORT authorization page that the customer
-- is redirected to.
data PaymentMethodOptionsSofortPreferredLanguage'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PaymentMethodOptionsSofortPreferredLanguage'Other :: Value -> PaymentMethodOptionsSofortPreferredLanguage'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PaymentMethodOptionsSofortPreferredLanguage'Typed :: Text -> PaymentMethodOptionsSofortPreferredLanguage'
-- | Represents the JSON value "de"
PaymentMethodOptionsSofortPreferredLanguage'EnumDe :: PaymentMethodOptionsSofortPreferredLanguage'
-- | Represents the JSON value "en"
PaymentMethodOptionsSofortPreferredLanguage'EnumEn :: PaymentMethodOptionsSofortPreferredLanguage'
-- | Represents the JSON value "es"
PaymentMethodOptionsSofortPreferredLanguage'EnumEs :: PaymentMethodOptionsSofortPreferredLanguage'
-- | Represents the JSON value "fr"
PaymentMethodOptionsSofortPreferredLanguage'EnumFr :: PaymentMethodOptionsSofortPreferredLanguage'
-- | Represents the JSON value "it"
PaymentMethodOptionsSofortPreferredLanguage'EnumIt :: PaymentMethodOptionsSofortPreferredLanguage'
-- | Represents the JSON value "nl"
PaymentMethodOptionsSofortPreferredLanguage'EnumNl :: PaymentMethodOptionsSofortPreferredLanguage'
-- | Represents the JSON value "pl"
PaymentMethodOptionsSofortPreferredLanguage'EnumPl :: PaymentMethodOptionsSofortPreferredLanguage'
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodOptionsSofort.PaymentMethodOptionsSofortPreferredLanguage'
instance GHC.Show.Show StripeAPI.Types.PaymentMethodOptionsSofort.PaymentMethodOptionsSofortPreferredLanguage'
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodOptionsSofort.PaymentMethodOptionsSofort
instance GHC.Show.Show StripeAPI.Types.PaymentMethodOptionsSofort.PaymentMethodOptionsSofort
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodOptionsSofort.PaymentMethodOptionsSofort
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodOptionsSofort.PaymentMethodOptionsSofort
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodOptionsSofort.PaymentMethodOptionsSofortPreferredLanguage'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodOptionsSofort.PaymentMethodOptionsSofortPreferredLanguage'
-- | Contains the types generated from the schema PaymentMethodP24
module StripeAPI.Types.PaymentMethodP24
-- | Defines the object schema located at
-- components.schemas.payment_method_p24 in the specification.
data PaymentMethodP24
PaymentMethodP24 :: Maybe PaymentMethodP24Bank' -> PaymentMethodP24
-- | bank: The customer's bank, if provided.
[paymentMethodP24Bank] :: PaymentMethodP24 -> Maybe PaymentMethodP24Bank'
-- | Create a new PaymentMethodP24 with all required fields.
mkPaymentMethodP24 :: PaymentMethodP24
-- | Defines the enum schema located at
-- components.schemas.payment_method_p24.properties.bank in the
-- specification.
--
-- The customer's bank, if provided.
data PaymentMethodP24Bank'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PaymentMethodP24Bank'Other :: Value -> PaymentMethodP24Bank'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PaymentMethodP24Bank'Typed :: Text -> PaymentMethodP24Bank'
-- | Represents the JSON value "alior_bank"
PaymentMethodP24Bank'EnumAliorBank :: PaymentMethodP24Bank'
-- | Represents the JSON value "bank_millennium"
PaymentMethodP24Bank'EnumBankMillennium :: PaymentMethodP24Bank'
-- | Represents the JSON value "bank_nowy_bfg_sa"
PaymentMethodP24Bank'EnumBankNowyBfgSa :: PaymentMethodP24Bank'
-- | Represents the JSON value "bank_pekao_sa"
PaymentMethodP24Bank'EnumBankPekaoSa :: PaymentMethodP24Bank'
-- | Represents the JSON value "banki_spbdzielcze"
PaymentMethodP24Bank'EnumBankiSpbdzielcze :: PaymentMethodP24Bank'
-- | Represents the JSON value "blik"
PaymentMethodP24Bank'EnumBlik :: PaymentMethodP24Bank'
-- | Represents the JSON value "bnp_paribas"
PaymentMethodP24Bank'EnumBnpParibas :: PaymentMethodP24Bank'
-- | Represents the JSON value "boz"
PaymentMethodP24Bank'EnumBoz :: PaymentMethodP24Bank'
-- | Represents the JSON value "citi_handlowy"
PaymentMethodP24Bank'EnumCitiHandlowy :: PaymentMethodP24Bank'
-- | Represents the JSON value "credit_agricole"
PaymentMethodP24Bank'EnumCreditAgricole :: PaymentMethodP24Bank'
-- | Represents the JSON value "envelobank"
PaymentMethodP24Bank'EnumEnvelobank :: PaymentMethodP24Bank'
-- | Represents the JSON value "etransfer_pocztowy24"
PaymentMethodP24Bank'EnumEtransferPocztowy24 :: PaymentMethodP24Bank'
-- | Represents the JSON value "getin_bank"
PaymentMethodP24Bank'EnumGetinBank :: PaymentMethodP24Bank'
-- | Represents the JSON value "ideabank"
PaymentMethodP24Bank'EnumIdeabank :: PaymentMethodP24Bank'
-- | Represents the JSON value "ing"
PaymentMethodP24Bank'EnumIng :: PaymentMethodP24Bank'
-- | Represents the JSON value "inteligo"
PaymentMethodP24Bank'EnumInteligo :: PaymentMethodP24Bank'
-- | Represents the JSON value "mbank_mtransfer"
PaymentMethodP24Bank'EnumMbankMtransfer :: PaymentMethodP24Bank'
-- | Represents the JSON value "nest_przelew"
PaymentMethodP24Bank'EnumNestPrzelew :: PaymentMethodP24Bank'
-- | Represents the JSON value "noble_pay"
PaymentMethodP24Bank'EnumNoblePay :: PaymentMethodP24Bank'
-- | Represents the JSON value "pbac_z_ipko"
PaymentMethodP24Bank'EnumPbacZIpko :: PaymentMethodP24Bank'
-- | Represents the JSON value "plus_bank"
PaymentMethodP24Bank'EnumPlusBank :: PaymentMethodP24Bank'
-- | Represents the JSON value "santander_przelew24"
PaymentMethodP24Bank'EnumSantanderPrzelew24 :: PaymentMethodP24Bank'
-- | Represents the JSON value "tmobile_usbugi_bankowe"
PaymentMethodP24Bank'EnumTmobileUsbugiBankowe :: PaymentMethodP24Bank'
-- | Represents the JSON value "toyota_bank"
PaymentMethodP24Bank'EnumToyotaBank :: PaymentMethodP24Bank'
-- | Represents the JSON value "volkswagen_bank"
PaymentMethodP24Bank'EnumVolkswagenBank :: PaymentMethodP24Bank'
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodP24.PaymentMethodP24Bank'
instance GHC.Show.Show StripeAPI.Types.PaymentMethodP24.PaymentMethodP24Bank'
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodP24.PaymentMethodP24
instance GHC.Show.Show StripeAPI.Types.PaymentMethodP24.PaymentMethodP24
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodP24.PaymentMethodP24
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodP24.PaymentMethodP24
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodP24.PaymentMethodP24Bank'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodP24.PaymentMethodP24Bank'
-- | Contains the types generated from the schema PaymentMethod
module StripeAPI.Types.PaymentMethod
-- | Defines the object schema located at
-- components.schemas.payment_method in the specification.
--
-- PaymentMethod objects represent your customer's payment instruments.
-- They can be used with PaymentIntents to collect payments or
-- saved to Customer objects to store instrument details for future
-- payments.
--
-- Related guides: Payment Methods and More Payment
-- Scenarios.
data PaymentMethod
PaymentMethod :: Maybe PaymentMethodAcssDebit -> Maybe PaymentMethodAfterpayClearpay -> Maybe PaymentFlowsPrivatePaymentMethodsAlipay -> Maybe PaymentMethodAuBecsDebit -> Maybe PaymentMethodBacsDebit -> Maybe PaymentMethodBancontact -> BillingDetails -> Maybe PaymentMethodBoleto -> Maybe PaymentMethodCard -> Maybe PaymentMethodCardPresent -> Int -> Maybe PaymentMethodCustomer'Variants -> Maybe PaymentMethodEps -> Maybe PaymentMethodFpx -> Maybe PaymentMethodGiropay -> Maybe PaymentMethodGrabpay -> Text -> Maybe PaymentMethodIdeal -> Maybe PaymentMethodInteracPresent -> Bool -> Maybe Object -> Maybe PaymentMethodOxxo -> Maybe PaymentMethodP24 -> Maybe PaymentMethodSepaDebit -> Maybe PaymentMethodSofort -> PaymentMethodType' -> PaymentMethod
-- | acss_debit:
[paymentMethodAcssDebit] :: PaymentMethod -> Maybe PaymentMethodAcssDebit
-- | afterpay_clearpay:
[paymentMethodAfterpayClearpay] :: PaymentMethod -> Maybe PaymentMethodAfterpayClearpay
-- | alipay:
[paymentMethodAlipay] :: PaymentMethod -> Maybe PaymentFlowsPrivatePaymentMethodsAlipay
-- | au_becs_debit:
[paymentMethodAuBecsDebit] :: PaymentMethod -> Maybe PaymentMethodAuBecsDebit
-- | bacs_debit:
[paymentMethodBacsDebit] :: PaymentMethod -> Maybe PaymentMethodBacsDebit
-- | bancontact:
[paymentMethodBancontact] :: PaymentMethod -> Maybe PaymentMethodBancontact
-- | billing_details:
[paymentMethodBillingDetails] :: PaymentMethod -> BillingDetails
-- | boleto:
[paymentMethodBoleto] :: PaymentMethod -> Maybe PaymentMethodBoleto
-- | card:
[paymentMethodCard] :: PaymentMethod -> Maybe PaymentMethodCard
-- | card_present:
[paymentMethodCardPresent] :: PaymentMethod -> Maybe PaymentMethodCardPresent
-- | created: Time at which the object was created. Measured in seconds
-- since the Unix epoch.
[paymentMethodCreated] :: PaymentMethod -> Int
-- | customer: The ID of the Customer to which this PaymentMethod is saved.
-- This will not be set when the PaymentMethod has not been saved to a
-- Customer.
[paymentMethodCustomer] :: PaymentMethod -> Maybe PaymentMethodCustomer'Variants
-- | eps:
[paymentMethodEps] :: PaymentMethod -> Maybe PaymentMethodEps
-- | fpx:
[paymentMethodFpx] :: PaymentMethod -> Maybe PaymentMethodFpx
-- | giropay:
[paymentMethodGiropay] :: PaymentMethod -> Maybe PaymentMethodGiropay
-- | grabpay:
[paymentMethodGrabpay] :: PaymentMethod -> Maybe PaymentMethodGrabpay
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodId] :: PaymentMethod -> Text
-- | ideal:
[paymentMethodIdeal] :: PaymentMethod -> Maybe PaymentMethodIdeal
-- | interac_present:
[paymentMethodInteracPresent] :: PaymentMethod -> Maybe PaymentMethodInteracPresent
-- | livemode: Has the value `true` if the object exists in live mode or
-- the value `false` if the object exists in test mode.
[paymentMethodLivemode] :: PaymentMethod -> Bool
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format.
[paymentMethodMetadata] :: PaymentMethod -> Maybe Object
-- | oxxo:
[paymentMethodOxxo] :: PaymentMethod -> Maybe PaymentMethodOxxo
-- | p24:
[paymentMethodP24] :: PaymentMethod -> Maybe PaymentMethodP24
-- | sepa_debit:
[paymentMethodSepaDebit] :: PaymentMethod -> Maybe PaymentMethodSepaDebit
-- | sofort:
[paymentMethodSofort] :: PaymentMethod -> Maybe PaymentMethodSofort
-- | type: The type of the PaymentMethod. An additional hash is included on
-- the PaymentMethod with a name matching this value. It contains
-- additional information specific to the PaymentMethod type.
[paymentMethodType] :: PaymentMethod -> PaymentMethodType'
-- | Create a new PaymentMethod with all required fields.
mkPaymentMethod :: BillingDetails -> Int -> Text -> Bool -> PaymentMethodType' -> PaymentMethod
-- | Defines the oneOf schema located at
-- components.schemas.payment_method.properties.customer.anyOf
-- in the specification.
--
-- The ID of the Customer to which this PaymentMethod is saved. This will
-- not be set when the PaymentMethod has not been saved to a Customer.
data PaymentMethodCustomer'Variants
PaymentMethodCustomer'Text :: Text -> PaymentMethodCustomer'Variants
PaymentMethodCustomer'Customer :: Customer -> PaymentMethodCustomer'Variants
-- | Defines the enum schema located at
-- components.schemas.payment_method.properties.type in the
-- specification.
--
-- The type of the PaymentMethod. An additional hash is included on the
-- PaymentMethod with a name matching this value. It contains additional
-- information specific to the PaymentMethod type.
data PaymentMethodType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PaymentMethodType'Other :: Value -> PaymentMethodType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PaymentMethodType'Typed :: Text -> PaymentMethodType'
-- | Represents the JSON value "acss_debit"
PaymentMethodType'EnumAcssDebit :: PaymentMethodType'
-- | Represents the JSON value "afterpay_clearpay"
PaymentMethodType'EnumAfterpayClearpay :: PaymentMethodType'
-- | Represents the JSON value "alipay"
PaymentMethodType'EnumAlipay :: PaymentMethodType'
-- | Represents the JSON value "au_becs_debit"
PaymentMethodType'EnumAuBecsDebit :: PaymentMethodType'
-- | Represents the JSON value "bacs_debit"
PaymentMethodType'EnumBacsDebit :: PaymentMethodType'
-- | Represents the JSON value "bancontact"
PaymentMethodType'EnumBancontact :: PaymentMethodType'
-- | Represents the JSON value "boleto"
PaymentMethodType'EnumBoleto :: PaymentMethodType'
-- | Represents the JSON value "card"
PaymentMethodType'EnumCard :: PaymentMethodType'
-- | Represents the JSON value "card_present"
PaymentMethodType'EnumCardPresent :: PaymentMethodType'
-- | Represents the JSON value "eps"
PaymentMethodType'EnumEps :: PaymentMethodType'
-- | Represents the JSON value "fpx"
PaymentMethodType'EnumFpx :: PaymentMethodType'
-- | Represents the JSON value "giropay"
PaymentMethodType'EnumGiropay :: PaymentMethodType'
-- | Represents the JSON value "grabpay"
PaymentMethodType'EnumGrabpay :: PaymentMethodType'
-- | Represents the JSON value "ideal"
PaymentMethodType'EnumIdeal :: PaymentMethodType'
-- | Represents the JSON value "interac_present"
PaymentMethodType'EnumInteracPresent :: PaymentMethodType'
-- | Represents the JSON value "oxxo"
PaymentMethodType'EnumOxxo :: PaymentMethodType'
-- | Represents the JSON value "p24"
PaymentMethodType'EnumP24 :: PaymentMethodType'
-- | Represents the JSON value "sepa_debit"
PaymentMethodType'EnumSepaDebit :: PaymentMethodType'
-- | Represents the JSON value "sofort"
PaymentMethodType'EnumSofort :: PaymentMethodType'
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethod.PaymentMethodCustomer'Variants
instance GHC.Show.Show StripeAPI.Types.PaymentMethod.PaymentMethodCustomer'Variants
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethod.PaymentMethodType'
instance GHC.Show.Show StripeAPI.Types.PaymentMethod.PaymentMethodType'
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethod.PaymentMethod
instance GHC.Show.Show StripeAPI.Types.PaymentMethod.PaymentMethod
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethod.PaymentMethod
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethod.PaymentMethod
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethod.PaymentMethodType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethod.PaymentMethodType'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethod.PaymentMethodCustomer'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethod.PaymentMethodCustomer'Variants
-- | Contains the types generated from the schema PaymentMethodSofort
module StripeAPI.Types.PaymentMethodSofort
-- | Defines the object schema located at
-- components.schemas.payment_method_sofort in the
-- specification.
data PaymentMethodSofort
PaymentMethodSofort :: Maybe Text -> PaymentMethodSofort
-- | country: Two-letter ISO code representing the country the bank account
-- is located in.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodSofortCountry] :: PaymentMethodSofort -> Maybe Text
-- | Create a new PaymentMethodSofort with all required fields.
mkPaymentMethodSofort :: PaymentMethodSofort
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodSofort.PaymentMethodSofort
instance GHC.Show.Show StripeAPI.Types.PaymentMethodSofort.PaymentMethodSofort
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodSofort.PaymentMethodSofort
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodSofort.PaymentMethodSofort
-- | Contains the types generated from the schema
-- PaymentPagesCheckoutSessionAutomaticTax
module StripeAPI.Types.PaymentPagesCheckoutSessionAutomaticTax
-- | Defines the object schema located at
-- components.schemas.payment_pages_checkout_session_automatic_tax
-- in the specification.
data PaymentPagesCheckoutSessionAutomaticTax
PaymentPagesCheckoutSessionAutomaticTax :: Bool -> Maybe PaymentPagesCheckoutSessionAutomaticTaxStatus' -> PaymentPagesCheckoutSessionAutomaticTax
-- | enabled: Indicates whether automatic tax is enabled for the session
[paymentPagesCheckoutSessionAutomaticTaxEnabled] :: PaymentPagesCheckoutSessionAutomaticTax -> Bool
-- | status: The status of the most recent automated tax calculation for
-- this session.
[paymentPagesCheckoutSessionAutomaticTaxStatus] :: PaymentPagesCheckoutSessionAutomaticTax -> Maybe PaymentPagesCheckoutSessionAutomaticTaxStatus'
-- | Create a new PaymentPagesCheckoutSessionAutomaticTax with all
-- required fields.
mkPaymentPagesCheckoutSessionAutomaticTax :: Bool -> PaymentPagesCheckoutSessionAutomaticTax
-- | Defines the enum schema located at
-- components.schemas.payment_pages_checkout_session_automatic_tax.properties.status
-- in the specification.
--
-- The status of the most recent automated tax calculation for this
-- session.
data PaymentPagesCheckoutSessionAutomaticTaxStatus'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PaymentPagesCheckoutSessionAutomaticTaxStatus'Other :: Value -> PaymentPagesCheckoutSessionAutomaticTaxStatus'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PaymentPagesCheckoutSessionAutomaticTaxStatus'Typed :: Text -> PaymentPagesCheckoutSessionAutomaticTaxStatus'
-- | Represents the JSON value "complete"
PaymentPagesCheckoutSessionAutomaticTaxStatus'EnumComplete :: PaymentPagesCheckoutSessionAutomaticTaxStatus'
-- | Represents the JSON value "failed"
PaymentPagesCheckoutSessionAutomaticTaxStatus'EnumFailed :: PaymentPagesCheckoutSessionAutomaticTaxStatus'
-- | Represents the JSON value "requires_location_inputs"
PaymentPagesCheckoutSessionAutomaticTaxStatus'EnumRequiresLocationInputs :: PaymentPagesCheckoutSessionAutomaticTaxStatus'
instance GHC.Classes.Eq StripeAPI.Types.PaymentPagesCheckoutSessionAutomaticTax.PaymentPagesCheckoutSessionAutomaticTaxStatus'
instance GHC.Show.Show StripeAPI.Types.PaymentPagesCheckoutSessionAutomaticTax.PaymentPagesCheckoutSessionAutomaticTaxStatus'
instance GHC.Classes.Eq StripeAPI.Types.PaymentPagesCheckoutSessionAutomaticTax.PaymentPagesCheckoutSessionAutomaticTax
instance GHC.Show.Show StripeAPI.Types.PaymentPagesCheckoutSessionAutomaticTax.PaymentPagesCheckoutSessionAutomaticTax
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentPagesCheckoutSessionAutomaticTax.PaymentPagesCheckoutSessionAutomaticTax
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentPagesCheckoutSessionAutomaticTax.PaymentPagesCheckoutSessionAutomaticTax
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentPagesCheckoutSessionAutomaticTax.PaymentPagesCheckoutSessionAutomaticTaxStatus'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentPagesCheckoutSessionAutomaticTax.PaymentPagesCheckoutSessionAutomaticTaxStatus'
-- | Contains the types generated from the schema
-- PaymentPagesCheckoutSessionCustomerDetails
module StripeAPI.Types.PaymentPagesCheckoutSessionCustomerDetails
-- | Defines the object schema located at
-- components.schemas.payment_pages_checkout_session_customer_details
-- in the specification.
data PaymentPagesCheckoutSessionCustomerDetails
PaymentPagesCheckoutSessionCustomerDetails :: Maybe Text -> Maybe PaymentPagesCheckoutSessionCustomerDetailsTaxExempt' -> Maybe [PaymentPagesCheckoutSessionTaxId] -> PaymentPagesCheckoutSessionCustomerDetails
-- | email: The customer’s email at time of checkout.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentPagesCheckoutSessionCustomerDetailsEmail] :: PaymentPagesCheckoutSessionCustomerDetails -> Maybe Text
-- | tax_exempt: The customer’s tax exempt status at time of checkout.
[paymentPagesCheckoutSessionCustomerDetailsTaxExempt] :: PaymentPagesCheckoutSessionCustomerDetails -> Maybe PaymentPagesCheckoutSessionCustomerDetailsTaxExempt'
-- | tax_ids: The customer’s tax IDs at time of checkout.
[paymentPagesCheckoutSessionCustomerDetailsTaxIds] :: PaymentPagesCheckoutSessionCustomerDetails -> Maybe [PaymentPagesCheckoutSessionTaxId]
-- | Create a new PaymentPagesCheckoutSessionCustomerDetails with
-- all required fields.
mkPaymentPagesCheckoutSessionCustomerDetails :: PaymentPagesCheckoutSessionCustomerDetails
-- | Defines the enum schema located at
-- components.schemas.payment_pages_checkout_session_customer_details.properties.tax_exempt
-- in the specification.
--
-- The customer’s tax exempt status at time of checkout.
data PaymentPagesCheckoutSessionCustomerDetailsTaxExempt'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PaymentPagesCheckoutSessionCustomerDetailsTaxExempt'Other :: Value -> PaymentPagesCheckoutSessionCustomerDetailsTaxExempt'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PaymentPagesCheckoutSessionCustomerDetailsTaxExempt'Typed :: Text -> PaymentPagesCheckoutSessionCustomerDetailsTaxExempt'
-- | Represents the JSON value "exempt"
PaymentPagesCheckoutSessionCustomerDetailsTaxExempt'EnumExempt :: PaymentPagesCheckoutSessionCustomerDetailsTaxExempt'
-- | Represents the JSON value "none"
PaymentPagesCheckoutSessionCustomerDetailsTaxExempt'EnumNone :: PaymentPagesCheckoutSessionCustomerDetailsTaxExempt'
-- | Represents the JSON value "reverse"
PaymentPagesCheckoutSessionCustomerDetailsTaxExempt'EnumReverse :: PaymentPagesCheckoutSessionCustomerDetailsTaxExempt'
instance GHC.Classes.Eq StripeAPI.Types.PaymentPagesCheckoutSessionCustomerDetails.PaymentPagesCheckoutSessionCustomerDetailsTaxExempt'
instance GHC.Show.Show StripeAPI.Types.PaymentPagesCheckoutSessionCustomerDetails.PaymentPagesCheckoutSessionCustomerDetailsTaxExempt'
instance GHC.Classes.Eq StripeAPI.Types.PaymentPagesCheckoutSessionCustomerDetails.PaymentPagesCheckoutSessionCustomerDetails
instance GHC.Show.Show StripeAPI.Types.PaymentPagesCheckoutSessionCustomerDetails.PaymentPagesCheckoutSessionCustomerDetails
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentPagesCheckoutSessionCustomerDetails.PaymentPagesCheckoutSessionCustomerDetails
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentPagesCheckoutSessionCustomerDetails.PaymentPagesCheckoutSessionCustomerDetails
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentPagesCheckoutSessionCustomerDetails.PaymentPagesCheckoutSessionCustomerDetailsTaxExempt'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentPagesCheckoutSessionCustomerDetails.PaymentPagesCheckoutSessionCustomerDetailsTaxExempt'
-- | Contains the types generated from the schema
-- PaymentPagesCheckoutSessionTaxId
module StripeAPI.Types.PaymentPagesCheckoutSessionTaxId
-- | Defines the object schema located at
-- components.schemas.payment_pages_checkout_session_tax_id in
-- the specification.
data PaymentPagesCheckoutSessionTaxId
PaymentPagesCheckoutSessionTaxId :: PaymentPagesCheckoutSessionTaxIdType' -> Maybe Text -> PaymentPagesCheckoutSessionTaxId
-- | type: The type of the tax ID, one of `eu_vat`, `br_cnpj`, `br_cpf`,
-- `gb_vat`, `nz_gst`, `au_abn`, `in_gst`, `no_vat`, `za_vat`, `ch_vat`,
-- `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`,
-- `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `li_uid`, `my_itn`, `us_ein`,
-- `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`,
-- `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`,
-- `id_npwp`, `my_frp`, `il_vat`, or `unknown`
[paymentPagesCheckoutSessionTaxIdType] :: PaymentPagesCheckoutSessionTaxId -> PaymentPagesCheckoutSessionTaxIdType'
-- | value: The value of the tax ID.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentPagesCheckoutSessionTaxIdValue] :: PaymentPagesCheckoutSessionTaxId -> Maybe Text
-- | Create a new PaymentPagesCheckoutSessionTaxId with all required
-- fields.
mkPaymentPagesCheckoutSessionTaxId :: PaymentPagesCheckoutSessionTaxIdType' -> PaymentPagesCheckoutSessionTaxId
-- | Defines the enum schema located at
-- components.schemas.payment_pages_checkout_session_tax_id.properties.type
-- in the specification.
--
-- The type of the tax ID, one of `eu_vat`, `br_cnpj`, `br_cpf`,
-- `gb_vat`, `nz_gst`, `au_abn`, `in_gst`, `no_vat`, `za_vat`, `ch_vat`,
-- `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`,
-- `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `li_uid`, `my_itn`, `us_ein`,
-- `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`,
-- `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`,
-- `id_npwp`, `my_frp`, `il_vat`, or `unknown`
data PaymentPagesCheckoutSessionTaxIdType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PaymentPagesCheckoutSessionTaxIdType'Other :: Value -> PaymentPagesCheckoutSessionTaxIdType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PaymentPagesCheckoutSessionTaxIdType'Typed :: Text -> PaymentPagesCheckoutSessionTaxIdType'
-- | Represents the JSON value "ae_trn"
PaymentPagesCheckoutSessionTaxIdType'EnumAeTrn :: PaymentPagesCheckoutSessionTaxIdType'
-- | Represents the JSON value "au_abn"
PaymentPagesCheckoutSessionTaxIdType'EnumAuAbn :: PaymentPagesCheckoutSessionTaxIdType'
-- | Represents the JSON value "br_cnpj"
PaymentPagesCheckoutSessionTaxIdType'EnumBrCnpj :: PaymentPagesCheckoutSessionTaxIdType'
-- | Represents the JSON value "br_cpf"
PaymentPagesCheckoutSessionTaxIdType'EnumBrCpf :: PaymentPagesCheckoutSessionTaxIdType'
-- | Represents the JSON value "ca_bn"
PaymentPagesCheckoutSessionTaxIdType'EnumCaBn :: PaymentPagesCheckoutSessionTaxIdType'
-- | Represents the JSON value "ca_gst_hst"
PaymentPagesCheckoutSessionTaxIdType'EnumCaGstHst :: PaymentPagesCheckoutSessionTaxIdType'
-- | Represents the JSON value "ca_pst_bc"
PaymentPagesCheckoutSessionTaxIdType'EnumCaPstBc :: PaymentPagesCheckoutSessionTaxIdType'
-- | Represents the JSON value "ca_pst_mb"
PaymentPagesCheckoutSessionTaxIdType'EnumCaPstMb :: PaymentPagesCheckoutSessionTaxIdType'
-- | Represents the JSON value "ca_pst_sk"
PaymentPagesCheckoutSessionTaxIdType'EnumCaPstSk :: PaymentPagesCheckoutSessionTaxIdType'
-- | Represents the JSON value "ca_qst"
PaymentPagesCheckoutSessionTaxIdType'EnumCaQst :: PaymentPagesCheckoutSessionTaxIdType'
-- | Represents the JSON value "ch_vat"
PaymentPagesCheckoutSessionTaxIdType'EnumChVat :: PaymentPagesCheckoutSessionTaxIdType'
-- | Represents the JSON value "cl_tin"
PaymentPagesCheckoutSessionTaxIdType'EnumClTin :: PaymentPagesCheckoutSessionTaxIdType'
-- | Represents the JSON value "es_cif"
PaymentPagesCheckoutSessionTaxIdType'EnumEsCif :: PaymentPagesCheckoutSessionTaxIdType'
-- | Represents the JSON value "eu_vat"
PaymentPagesCheckoutSessionTaxIdType'EnumEuVat :: PaymentPagesCheckoutSessionTaxIdType'
-- | Represents the JSON value "gb_vat"
PaymentPagesCheckoutSessionTaxIdType'EnumGbVat :: PaymentPagesCheckoutSessionTaxIdType'
-- | Represents the JSON value "hk_br"
PaymentPagesCheckoutSessionTaxIdType'EnumHkBr :: PaymentPagesCheckoutSessionTaxIdType'
-- | Represents the JSON value "id_npwp"
PaymentPagesCheckoutSessionTaxIdType'EnumIdNpwp :: PaymentPagesCheckoutSessionTaxIdType'
-- | Represents the JSON value "il_vat"
PaymentPagesCheckoutSessionTaxIdType'EnumIlVat :: PaymentPagesCheckoutSessionTaxIdType'
-- | Represents the JSON value "in_gst"
PaymentPagesCheckoutSessionTaxIdType'EnumInGst :: PaymentPagesCheckoutSessionTaxIdType'
-- | Represents the JSON value "jp_cn"
PaymentPagesCheckoutSessionTaxIdType'EnumJpCn :: PaymentPagesCheckoutSessionTaxIdType'
-- | Represents the JSON value "jp_rn"
PaymentPagesCheckoutSessionTaxIdType'EnumJpRn :: PaymentPagesCheckoutSessionTaxIdType'
-- | Represents the JSON value "kr_brn"
PaymentPagesCheckoutSessionTaxIdType'EnumKrBrn :: PaymentPagesCheckoutSessionTaxIdType'
-- | Represents the JSON value "li_uid"
PaymentPagesCheckoutSessionTaxIdType'EnumLiUid :: PaymentPagesCheckoutSessionTaxIdType'
-- | Represents the JSON value "mx_rfc"
PaymentPagesCheckoutSessionTaxIdType'EnumMxRfc :: PaymentPagesCheckoutSessionTaxIdType'
-- | Represents the JSON value "my_frp"
PaymentPagesCheckoutSessionTaxIdType'EnumMyFrp :: PaymentPagesCheckoutSessionTaxIdType'
-- | Represents the JSON value "my_itn"
PaymentPagesCheckoutSessionTaxIdType'EnumMyItn :: PaymentPagesCheckoutSessionTaxIdType'
-- | Represents the JSON value "my_sst"
PaymentPagesCheckoutSessionTaxIdType'EnumMySst :: PaymentPagesCheckoutSessionTaxIdType'
-- | Represents the JSON value "no_vat"
PaymentPagesCheckoutSessionTaxIdType'EnumNoVat :: PaymentPagesCheckoutSessionTaxIdType'
-- | Represents the JSON value "nz_gst"
PaymentPagesCheckoutSessionTaxIdType'EnumNzGst :: PaymentPagesCheckoutSessionTaxIdType'
-- | Represents the JSON value "ru_inn"
PaymentPagesCheckoutSessionTaxIdType'EnumRuInn :: PaymentPagesCheckoutSessionTaxIdType'
-- | Represents the JSON value "ru_kpp"
PaymentPagesCheckoutSessionTaxIdType'EnumRuKpp :: PaymentPagesCheckoutSessionTaxIdType'
-- | Represents the JSON value "sa_vat"
PaymentPagesCheckoutSessionTaxIdType'EnumSaVat :: PaymentPagesCheckoutSessionTaxIdType'
-- | Represents the JSON value "sg_gst"
PaymentPagesCheckoutSessionTaxIdType'EnumSgGst :: PaymentPagesCheckoutSessionTaxIdType'
-- | Represents the JSON value "sg_uen"
PaymentPagesCheckoutSessionTaxIdType'EnumSgUen :: PaymentPagesCheckoutSessionTaxIdType'
-- | Represents the JSON value "th_vat"
PaymentPagesCheckoutSessionTaxIdType'EnumThVat :: PaymentPagesCheckoutSessionTaxIdType'
-- | Represents the JSON value "tw_vat"
PaymentPagesCheckoutSessionTaxIdType'EnumTwVat :: PaymentPagesCheckoutSessionTaxIdType'
-- | Represents the JSON value "unknown"
PaymentPagesCheckoutSessionTaxIdType'EnumUnknown :: PaymentPagesCheckoutSessionTaxIdType'
-- | Represents the JSON value "us_ein"
PaymentPagesCheckoutSessionTaxIdType'EnumUsEin :: PaymentPagesCheckoutSessionTaxIdType'
-- | Represents the JSON value "za_vat"
PaymentPagesCheckoutSessionTaxIdType'EnumZaVat :: PaymentPagesCheckoutSessionTaxIdType'
instance GHC.Classes.Eq StripeAPI.Types.PaymentPagesCheckoutSessionTaxId.PaymentPagesCheckoutSessionTaxIdType'
instance GHC.Show.Show StripeAPI.Types.PaymentPagesCheckoutSessionTaxId.PaymentPagesCheckoutSessionTaxIdType'
instance GHC.Classes.Eq StripeAPI.Types.PaymentPagesCheckoutSessionTaxId.PaymentPagesCheckoutSessionTaxId
instance GHC.Show.Show StripeAPI.Types.PaymentPagesCheckoutSessionTaxId.PaymentPagesCheckoutSessionTaxId
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentPagesCheckoutSessionTaxId.PaymentPagesCheckoutSessionTaxId
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentPagesCheckoutSessionTaxId.PaymentPagesCheckoutSessionTaxId
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentPagesCheckoutSessionTaxId.PaymentPagesCheckoutSessionTaxIdType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentPagesCheckoutSessionTaxId.PaymentPagesCheckoutSessionTaxIdType'
-- | Contains the types generated from the schema
-- PaymentPagesCheckoutSessionTaxIdCollection
module StripeAPI.Types.PaymentPagesCheckoutSessionTaxIdCollection
-- | Defines the object schema located at
-- components.schemas.payment_pages_checkout_session_tax_id_collection
-- in the specification.
data PaymentPagesCheckoutSessionTaxIdCollection
PaymentPagesCheckoutSessionTaxIdCollection :: Bool -> PaymentPagesCheckoutSessionTaxIdCollection
-- | enabled: Indicates whether tax ID collection is enabled for the
-- session
[paymentPagesCheckoutSessionTaxIdCollectionEnabled] :: PaymentPagesCheckoutSessionTaxIdCollection -> Bool
-- | Create a new PaymentPagesCheckoutSessionTaxIdCollection with
-- all required fields.
mkPaymentPagesCheckoutSessionTaxIdCollection :: Bool -> PaymentPagesCheckoutSessionTaxIdCollection
instance GHC.Classes.Eq StripeAPI.Types.PaymentPagesCheckoutSessionTaxIdCollection.PaymentPagesCheckoutSessionTaxIdCollection
instance GHC.Show.Show StripeAPI.Types.PaymentPagesCheckoutSessionTaxIdCollection.PaymentPagesCheckoutSessionTaxIdCollection
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentPagesCheckoutSessionTaxIdCollection.PaymentPagesCheckoutSessionTaxIdCollection
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentPagesCheckoutSessionTaxIdCollection.PaymentPagesCheckoutSessionTaxIdCollection
-- | Contains the types generated from the schema
-- PaymentPagesCheckoutSessionTotalDetails
module StripeAPI.Types.PaymentPagesCheckoutSessionTotalDetails
-- | Defines the object schema located at
-- components.schemas.payment_pages_checkout_session_total_details
-- in the specification.
data PaymentPagesCheckoutSessionTotalDetails
PaymentPagesCheckoutSessionTotalDetails :: Int -> Maybe Int -> Int -> Maybe PaymentPagesCheckoutSessionTotalDetailsResourceBreakdown -> PaymentPagesCheckoutSessionTotalDetails
-- | amount_discount: This is the sum of all the line item discounts.
[paymentPagesCheckoutSessionTotalDetailsAmountDiscount] :: PaymentPagesCheckoutSessionTotalDetails -> Int
-- | amount_shipping: This is the sum of all the line item shipping
-- amounts.
[paymentPagesCheckoutSessionTotalDetailsAmountShipping] :: PaymentPagesCheckoutSessionTotalDetails -> Maybe Int
-- | amount_tax: This is the sum of all the line item tax amounts.
[paymentPagesCheckoutSessionTotalDetailsAmountTax] :: PaymentPagesCheckoutSessionTotalDetails -> Int
-- | breakdown:
[paymentPagesCheckoutSessionTotalDetailsBreakdown] :: PaymentPagesCheckoutSessionTotalDetails -> Maybe PaymentPagesCheckoutSessionTotalDetailsResourceBreakdown
-- | Create a new PaymentPagesCheckoutSessionTotalDetails with all
-- required fields.
mkPaymentPagesCheckoutSessionTotalDetails :: Int -> Int -> PaymentPagesCheckoutSessionTotalDetails
instance GHC.Classes.Eq StripeAPI.Types.PaymentPagesCheckoutSessionTotalDetails.PaymentPagesCheckoutSessionTotalDetails
instance GHC.Show.Show StripeAPI.Types.PaymentPagesCheckoutSessionTotalDetails.PaymentPagesCheckoutSessionTotalDetails
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentPagesCheckoutSessionTotalDetails.PaymentPagesCheckoutSessionTotalDetails
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentPagesCheckoutSessionTotalDetails.PaymentPagesCheckoutSessionTotalDetails
-- | Contains the types generated from the schema
-- PaymentPagesCheckoutSessionTotalDetailsResourceBreakdown
module StripeAPI.Types.PaymentPagesCheckoutSessionTotalDetailsResourceBreakdown
-- | Defines the object schema located at
-- components.schemas.payment_pages_checkout_session_total_details_resource_breakdown
-- in the specification.
data PaymentPagesCheckoutSessionTotalDetailsResourceBreakdown
PaymentPagesCheckoutSessionTotalDetailsResourceBreakdown :: [LineItemsDiscountAmount] -> [LineItemsTaxAmount] -> PaymentPagesCheckoutSessionTotalDetailsResourceBreakdown
-- | discounts: The aggregated line item discounts.
[paymentPagesCheckoutSessionTotalDetailsResourceBreakdownDiscounts] :: PaymentPagesCheckoutSessionTotalDetailsResourceBreakdown -> [LineItemsDiscountAmount]
-- | taxes: The aggregated line item tax amounts by rate.
[paymentPagesCheckoutSessionTotalDetailsResourceBreakdownTaxes] :: PaymentPagesCheckoutSessionTotalDetailsResourceBreakdown -> [LineItemsTaxAmount]
-- | Create a new
-- PaymentPagesCheckoutSessionTotalDetailsResourceBreakdown with
-- all required fields.
mkPaymentPagesCheckoutSessionTotalDetailsResourceBreakdown :: [LineItemsDiscountAmount] -> [LineItemsTaxAmount] -> PaymentPagesCheckoutSessionTotalDetailsResourceBreakdown
instance GHC.Classes.Eq StripeAPI.Types.PaymentPagesCheckoutSessionTotalDetailsResourceBreakdown.PaymentPagesCheckoutSessionTotalDetailsResourceBreakdown
instance GHC.Show.Show StripeAPI.Types.PaymentPagesCheckoutSessionTotalDetailsResourceBreakdown.PaymentPagesCheckoutSessionTotalDetailsResourceBreakdown
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentPagesCheckoutSessionTotalDetailsResourceBreakdown.PaymentPagesCheckoutSessionTotalDetailsResourceBreakdown
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentPagesCheckoutSessionTotalDetailsResourceBreakdown.PaymentPagesCheckoutSessionTotalDetailsResourceBreakdown
-- | Contains the types generated from the schema
-- PaymentPagesPaymentPageResourcesShippingAddressCollection
module StripeAPI.Types.PaymentPagesPaymentPageResourcesShippingAddressCollection
-- | Defines the object schema located at
-- components.schemas.payment_pages_payment_page_resources_shipping_address_collection
-- in the specification.
data PaymentPagesPaymentPageResourcesShippingAddressCollection
PaymentPagesPaymentPageResourcesShippingAddressCollection :: [PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'] -> PaymentPagesPaymentPageResourcesShippingAddressCollection
-- | allowed_countries: An array of two-letter ISO country codes
-- representing which countries Checkout should provide as options for
-- shipping locations. Unsupported country codes: `AS, CX, CC, CU, HM,
-- IR, KP, MH, FM, NF, MP, PW, SD, SY, UM, VI`.
[paymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries] :: PaymentPagesPaymentPageResourcesShippingAddressCollection -> [PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries']
-- | Create a new
-- PaymentPagesPaymentPageResourcesShippingAddressCollection with
-- all required fields.
mkPaymentPagesPaymentPageResourcesShippingAddressCollection :: [PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'] -> PaymentPagesPaymentPageResourcesShippingAddressCollection
-- | Defines the enum schema located at
-- components.schemas.payment_pages_payment_page_resources_shipping_address_collection.properties.allowed_countries.items
-- in the specification.
data PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'Other :: Value -> PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'Typed :: Text -> PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value AC
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumAC :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value AD
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumAD :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value AE
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumAE :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value AF
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumAF :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value AG
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumAG :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value AI
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumAI :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value AL
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumAL :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value AM
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumAM :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value AO
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumAO :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value AQ
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumAQ :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value AR
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumAR :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value AT
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumAT :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value AU
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumAU :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value AW
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumAW :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value AX
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumAX :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value AZ
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumAZ :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value BA
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumBA :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value BB
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumBB :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value BD
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumBD :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value BE
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumBE :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value BF
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumBF :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value BG
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumBG :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value BH
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumBH :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value BI
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumBI :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value BJ
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumBJ :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value BL
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumBL :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value BM
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumBM :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value BN
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumBN :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value BO
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumBO :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value BQ
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumBQ :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value BR
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumBR :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value BS
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumBS :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value BT
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumBT :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value BV
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumBV :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value BW
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumBW :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value BY
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumBY :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value BZ
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumBZ :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value CA
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumCA :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value CD
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumCD :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value CF
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumCF :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value CG
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumCG :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value CH
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumCH :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value CI
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumCI :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value CK
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumCK :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value CL
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumCL :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value CM
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumCM :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value CN
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumCN :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value CO
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumCO :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value CR
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumCR :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value CV
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumCV :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value CW
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumCW :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value CY
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumCY :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value CZ
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumCZ :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value DE
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumDE :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value DJ
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumDJ :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value DK
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumDK :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value DM
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumDM :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value DO
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumDO :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value DZ
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumDZ :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value EC
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumEC :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value EE
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumEE :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value EG
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumEG :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value EH
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumEH :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value ER
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumER :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value ES
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumES :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value ET
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumET :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value FI
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumFI :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value FJ
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumFJ :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value FK
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumFK :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value FO
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumFO :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value FR
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumFR :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value GA
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumGA :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value GB
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumGB :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value GD
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumGD :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value GE
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumGE :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value GF
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumGF :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value GG
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumGG :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value GH
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumGH :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value GI
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumGI :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value GL
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumGL :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value GM
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumGM :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value GN
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumGN :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value GP
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumGP :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value GQ
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumGQ :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value GR
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumGR :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value GS
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumGS :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value GT
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumGT :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value GU
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumGU :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value GW
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumGW :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value GY
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumGY :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value HK
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumHK :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value HN
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumHN :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value HR
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumHR :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value HT
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumHT :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value HU
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumHU :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value ID
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumID :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value IE
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumIE :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value IL
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumIL :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value IM
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumIM :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value IN
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumIN :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value IO
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumIO :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value IQ
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumIQ :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value IS
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumIS :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value IT
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumIT :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value JE
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumJE :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value JM
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumJM :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value JO
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumJO :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value JP
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumJP :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value KE
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumKE :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value KG
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumKG :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value KH
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumKH :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value KI
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumKI :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value KM
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumKM :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value KN
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumKN :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value KR
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumKR :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value KW
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumKW :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value KY
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumKY :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value KZ
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumKZ :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value LA
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumLA :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value LB
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumLB :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value LC
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumLC :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value LI
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumLI :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value LK
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumLK :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value LR
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumLR :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value LS
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumLS :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value LT
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumLT :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value LU
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumLU :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value LV
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumLV :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value LY
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumLY :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value MA
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumMA :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value MC
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumMC :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value MD
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumMD :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value ME
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumME :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value MF
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumMF :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value MG
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumMG :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value MK
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumMK :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value ML
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumML :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value MM
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumMM :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value MN
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumMN :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value MO
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumMO :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value MQ
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumMQ :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value MR
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumMR :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value MS
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumMS :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value MT
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumMT :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value MU
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumMU :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value MV
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumMV :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value MW
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumMW :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value MX
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumMX :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value MY
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumMY :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value MZ
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumMZ :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value NA
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumNA :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value NC
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumNC :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value NE
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumNE :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value NG
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumNG :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value NI
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumNI :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value NL
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumNL :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value NO
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumNO :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value NP
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumNP :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value NR
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumNR :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value NU
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumNU :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value NZ
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumNZ :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value OM
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumOM :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value PA
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumPA :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value PE
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumPE :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value PF
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumPF :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value PG
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumPG :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value PH
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumPH :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value PK
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumPK :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value PL
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumPL :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value PM
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumPM :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value PN
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumPN :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value PR
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumPR :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value PS
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumPS :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value PT
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumPT :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value PY
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumPY :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value QA
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumQA :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value RE
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumRE :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value RO
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumRO :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value RS
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumRS :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value RU
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumRU :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value RW
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumRW :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value SA
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumSA :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value SB
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumSB :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value SC
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumSC :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value SE
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumSE :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value SG
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumSG :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value SH
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumSH :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value SI
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumSI :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value SJ
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumSJ :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value SK
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumSK :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value SL
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumSL :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value SM
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumSM :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value SN
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumSN :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value SO
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumSO :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value SR
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumSR :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value SS
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumSS :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value ST
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumST :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value SV
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumSV :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value SX
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumSX :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value SZ
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumSZ :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value TA
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumTA :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value TC
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumTC :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value TD
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumTD :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value TF
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumTF :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value TG
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumTG :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value TH
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumTH :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value TJ
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumTJ :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value TK
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumTK :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value TL
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumTL :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value TM
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumTM :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value TN
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumTN :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value TO
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumTO :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value TR
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumTR :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value TT
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumTT :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value TV
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumTV :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value TW
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumTW :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value TZ
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumTZ :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value UA
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumUA :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value UG
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumUG :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value US
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumUS :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value UY
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumUY :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value UZ
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumUZ :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value VA
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumVA :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value VC
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumVC :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value VE
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumVE :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value VG
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumVG :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value VN
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumVN :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value VU
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumVU :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value WF
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumWF :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value WS
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumWS :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value XK
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumXK :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value YE
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumYE :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value YT
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumYT :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value ZA
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumZA :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value ZM
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumZM :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value ZW
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumZW :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Represents the JSON value ZZ
PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'EnumZZ :: PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
instance GHC.Classes.Eq StripeAPI.Types.PaymentPagesPaymentPageResourcesShippingAddressCollection.PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
instance GHC.Show.Show StripeAPI.Types.PaymentPagesPaymentPageResourcesShippingAddressCollection.PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
instance GHC.Classes.Eq StripeAPI.Types.PaymentPagesPaymentPageResourcesShippingAddressCollection.PaymentPagesPaymentPageResourcesShippingAddressCollection
instance GHC.Show.Show StripeAPI.Types.PaymentPagesPaymentPageResourcesShippingAddressCollection.PaymentPagesPaymentPageResourcesShippingAddressCollection
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentPagesPaymentPageResourcesShippingAddressCollection.PaymentPagesPaymentPageResourcesShippingAddressCollection
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentPagesPaymentPageResourcesShippingAddressCollection.PaymentPagesPaymentPageResourcesShippingAddressCollection
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentPagesPaymentPageResourcesShippingAddressCollection.PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentPagesPaymentPageResourcesShippingAddressCollection.PaymentPagesPaymentPageResourcesShippingAddressCollectionAllowedCountries'
-- | Contains the types generated from the schema Payout
module StripeAPI.Types.Payout
-- | Defines the object schema located at
-- components.schemas.payout in the specification.
--
-- A `Payout` object is created when you receive funds from Stripe, or
-- when you initiate a payout to either a bank account or debit card of a
-- connected Stripe account. You can retrieve individual payouts,
-- as well as list all payouts. Payouts are made on varying
-- schedules, depending on your country and industry.
--
-- Related guide: Receiving Payouts.
data Payout
Payout :: Int -> Int -> Bool -> Maybe PayoutBalanceTransaction'Variants -> Int -> Text -> Maybe Text -> Maybe PayoutDestination'Variants -> Maybe PayoutFailureBalanceTransaction'Variants -> Maybe Text -> Maybe Text -> Text -> Bool -> Maybe Object -> Text -> Maybe PayoutOriginalPayout'Variants -> Maybe PayoutReversedBy'Variants -> Text -> Maybe Text -> Text -> PayoutType' -> Payout
-- | amount: Amount (in %s) to be transferred to your bank account or debit
-- card.
[payoutAmount] :: Payout -> Int
-- | arrival_date: Date the payout is expected to arrive in the bank. This
-- factors in delays like weekends or bank holidays.
[payoutArrivalDate] :: Payout -> Int
-- | automatic: Returns `true` if the payout was created by an automated
-- payout schedule, and `false` if it was requested manually.
[payoutAutomatic] :: Payout -> Bool
-- | balance_transaction: ID of the balance transaction that describes the
-- impact of this payout on your account balance.
[payoutBalanceTransaction] :: Payout -> Maybe PayoutBalanceTransaction'Variants
-- | created: Time at which the object was created. Measured in seconds
-- since the Unix epoch.
[payoutCreated] :: Payout -> Int
-- | currency: Three-letter ISO currency code, in lowercase. Must be
-- a supported currency.
[payoutCurrency] :: Payout -> Text
-- | description: An arbitrary string attached to the object. Often useful
-- for displaying to users.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[payoutDescription] :: Payout -> Maybe Text
-- | destination: ID of the bank account or card the payout was sent to.
[payoutDestination] :: Payout -> Maybe PayoutDestination'Variants
-- | failure_balance_transaction: If the payout failed or was canceled,
-- this will be the ID of the balance transaction that reversed the
-- initial balance transaction, and puts the funds from the failed payout
-- back in your balance.
[payoutFailureBalanceTransaction] :: Payout -> Maybe PayoutFailureBalanceTransaction'Variants
-- | failure_code: Error code explaining reason for payout failure if
-- available. See Types of payout failures for a list of failure
-- codes.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[payoutFailureCode] :: Payout -> Maybe Text
-- | failure_message: Message to user further explaining reason for payout
-- failure if available.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[payoutFailureMessage] :: Payout -> Maybe Text
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[payoutId] :: Payout -> Text
-- | livemode: Has the value `true` if the object exists in live mode or
-- the value `false` if the object exists in test mode.
[payoutLivemode] :: Payout -> Bool
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format.
[payoutMetadata] :: Payout -> Maybe Object
-- | method: The method used to send this payout, which can be `standard`
-- or `instant`. `instant` is only supported for payouts to debit cards.
-- (See Instant payouts for marketplaces for more information.)
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[payoutMethod] :: Payout -> Text
-- | original_payout: If the payout reverses another, this is the ID of the
-- original payout.
[payoutOriginalPayout] :: Payout -> Maybe PayoutOriginalPayout'Variants
-- | reversed_by: If the payout was reversed, this is the ID of the payout
-- that reverses this payout.
[payoutReversedBy] :: Payout -> Maybe PayoutReversedBy'Variants
-- | source_type: The source balance this payout came from. One of `card`,
-- `fpx`, or `bank_account`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[payoutSourceType] :: Payout -> Text
-- | statement_descriptor: Extra information about a payout to be displayed
-- on the user's bank statement.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[payoutStatementDescriptor] :: Payout -> Maybe Text
-- | status: Current status of the payout: `paid`, `pending`, `in_transit`,
-- `canceled` or `failed`. A payout is `pending` until it is submitted to
-- the bank, when it becomes `in_transit`. The status then changes to
-- `paid` if the transaction goes through, or to `failed` or `canceled`
-- (within 5 business days). Some failed payouts may initially show as
-- `paid` but then change to `failed`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[payoutStatus] :: Payout -> Text
-- | type: Can be `bank_account` or `card`.
[payoutType] :: Payout -> PayoutType'
-- | Create a new Payout with all required fields.
mkPayout :: Int -> Int -> Bool -> Int -> Text -> Text -> Bool -> Text -> Text -> Text -> PayoutType' -> Payout
-- | Defines the oneOf schema located at
-- components.schemas.payout.properties.balance_transaction.anyOf
-- in the specification.
--
-- ID of the balance transaction that describes the impact of this payout
-- on your account balance.
data PayoutBalanceTransaction'Variants
PayoutBalanceTransaction'Text :: Text -> PayoutBalanceTransaction'Variants
PayoutBalanceTransaction'BalanceTransaction :: BalanceTransaction -> PayoutBalanceTransaction'Variants
-- | Defines the oneOf schema located at
-- components.schemas.payout.properties.destination.anyOf in the
-- specification.
--
-- ID of the bank account or card the payout was sent to.
data PayoutDestination'Variants
PayoutDestination'Text :: Text -> PayoutDestination'Variants
PayoutDestination'BankAccount :: BankAccount -> PayoutDestination'Variants
PayoutDestination'Card :: Card -> PayoutDestination'Variants
PayoutDestination'DeletedBankAccount :: DeletedBankAccount -> PayoutDestination'Variants
PayoutDestination'DeletedCard :: DeletedCard -> PayoutDestination'Variants
-- | Defines the oneOf schema located at
-- components.schemas.payout.properties.failure_balance_transaction.anyOf
-- in the specification.
--
-- If the payout failed or was canceled, this will be the ID of the
-- balance transaction that reversed the initial balance transaction, and
-- puts the funds from the failed payout back in your balance.
data PayoutFailureBalanceTransaction'Variants
PayoutFailureBalanceTransaction'Text :: Text -> PayoutFailureBalanceTransaction'Variants
PayoutFailureBalanceTransaction'BalanceTransaction :: BalanceTransaction -> PayoutFailureBalanceTransaction'Variants
-- | Defines the oneOf schema located at
-- components.schemas.payout.properties.original_payout.anyOf in
-- the specification.
--
-- If the payout reverses another, this is the ID of the original payout.
data PayoutOriginalPayout'Variants
PayoutOriginalPayout'Text :: Text -> PayoutOriginalPayout'Variants
PayoutOriginalPayout'Payout :: Payout -> PayoutOriginalPayout'Variants
-- | Defines the oneOf schema located at
-- components.schemas.payout.properties.reversed_by.anyOf in the
-- specification.
--
-- If the payout was reversed, this is the ID of the payout that reverses
-- this payout.
data PayoutReversedBy'Variants
PayoutReversedBy'Text :: Text -> PayoutReversedBy'Variants
PayoutReversedBy'Payout :: Payout -> PayoutReversedBy'Variants
-- | Defines the enum schema located at
-- components.schemas.payout.properties.type in the
-- specification.
--
-- Can be `bank_account` or `card`.
data PayoutType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PayoutType'Other :: Value -> PayoutType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PayoutType'Typed :: Text -> PayoutType'
-- | Represents the JSON value "bank_account"
PayoutType'EnumBankAccount :: PayoutType'
-- | Represents the JSON value "card"
PayoutType'EnumCard :: PayoutType'
instance GHC.Classes.Eq StripeAPI.Types.Payout.PayoutBalanceTransaction'Variants
instance GHC.Show.Show StripeAPI.Types.Payout.PayoutBalanceTransaction'Variants
instance GHC.Classes.Eq StripeAPI.Types.Payout.PayoutDestination'Variants
instance GHC.Show.Show StripeAPI.Types.Payout.PayoutDestination'Variants
instance GHC.Classes.Eq StripeAPI.Types.Payout.PayoutFailureBalanceTransaction'Variants
instance GHC.Show.Show StripeAPI.Types.Payout.PayoutFailureBalanceTransaction'Variants
instance GHC.Classes.Eq StripeAPI.Types.Payout.PayoutType'
instance GHC.Show.Show StripeAPI.Types.Payout.PayoutType'
instance GHC.Classes.Eq StripeAPI.Types.Payout.PayoutOriginalPayout'Variants
instance GHC.Show.Show StripeAPI.Types.Payout.PayoutOriginalPayout'Variants
instance GHC.Classes.Eq StripeAPI.Types.Payout.PayoutReversedBy'Variants
instance GHC.Show.Show StripeAPI.Types.Payout.PayoutReversedBy'Variants
instance GHC.Classes.Eq StripeAPI.Types.Payout.Payout
instance GHC.Show.Show StripeAPI.Types.Payout.Payout
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Payout.Payout
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Payout.Payout
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Payout.PayoutOriginalPayout'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Payout.PayoutOriginalPayout'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Payout.PayoutReversedBy'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Payout.PayoutReversedBy'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Payout.PayoutType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Payout.PayoutType'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Payout.PayoutFailureBalanceTransaction'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Payout.PayoutFailureBalanceTransaction'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Payout.PayoutDestination'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Payout.PayoutDestination'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Payout.PayoutBalanceTransaction'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Payout.PayoutBalanceTransaction'Variants
-- | Contains the types generated from the schema Period
module StripeAPI.Types.Period
-- | Defines the object schema located at
-- components.schemas.period in the specification.
data Period
Period :: Maybe Int -> Maybe Int -> Period
-- | end: The end date of this usage period. All usage up to and including
-- this point in time is included.
[periodEnd] :: Period -> Maybe Int
-- | start: The start date of this usage period. All usage after this point
-- in time is included.
[periodStart] :: Period -> Maybe Int
-- | Create a new Period with all required fields.
mkPeriod :: Period
instance GHC.Classes.Eq StripeAPI.Types.Period.Period
instance GHC.Show.Show StripeAPI.Types.Period.Period
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Period.Period
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Period.Period
-- | Contains the types generated from the schema PersonRelationship
module StripeAPI.Types.PersonRelationship
-- | Defines the object schema located at
-- components.schemas.person_relationship in the specification.
data PersonRelationship
PersonRelationship :: Maybe Bool -> Maybe Bool -> Maybe Bool -> Maybe Double -> Maybe Bool -> Maybe Text -> PersonRelationship
-- | director: Whether the person is a director of the account's legal
-- entity. Currently only required for accounts in the EU. Directors are
-- typically members of the governing board of the company, or
-- responsible for ensuring the company meets its regulatory obligations.
[personRelationshipDirector] :: PersonRelationship -> Maybe Bool
-- | executive: Whether the person has significant responsibility to
-- control, manage, or direct the organization.
[personRelationshipExecutive] :: PersonRelationship -> Maybe Bool
-- | owner: Whether the person is an owner of the account’s legal entity.
[personRelationshipOwner] :: PersonRelationship -> Maybe Bool
-- | percent_ownership: The percent owned by the person of the account's
-- legal entity.
[personRelationshipPercentOwnership] :: PersonRelationship -> Maybe Double
-- | representative: Whether the person is authorized as the primary
-- representative of the account. This is the person nominated by the
-- business to provide information about themselves, and general
-- information about the account. There can only be one representative at
-- any given time. At the time the account is created, this person should
-- be set to the person responsible for opening the account.
[personRelationshipRepresentative] :: PersonRelationship -> Maybe Bool
-- | title: The person's title (e.g., CEO, Support Engineer).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[personRelationshipTitle] :: PersonRelationship -> Maybe Text
-- | Create a new PersonRelationship with all required fields.
mkPersonRelationship :: PersonRelationship
instance GHC.Classes.Eq StripeAPI.Types.PersonRelationship.PersonRelationship
instance GHC.Show.Show StripeAPI.Types.PersonRelationship.PersonRelationship
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PersonRelationship.PersonRelationship
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PersonRelationship.PersonRelationship
-- | Contains the types generated from the schema Person
module StripeAPI.Types.Person
-- | Defines the object schema located at
-- components.schemas.person in the specification.
--
-- This is an object representing a person associated with a Stripe
-- account.
--
-- A platform cannot access a Standard or Express account's persons after
-- the account starts onboarding, such as after generating an account
-- link for the account. See the Standard onboarding or Express
-- onboarding documentation for information about platform
-- pre-filling and account onboarding steps.
--
-- Related guide: Handling Identity Verification with the API.
data Person
Person :: Text -> Maybe Address -> Maybe PersonAddressKana' -> Maybe PersonAddressKanji' -> Int -> Maybe LegalEntityDob -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Text -> Maybe Bool -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Object -> Maybe Text -> Maybe Text -> Maybe PersonPoliticalExposure' -> Maybe PersonRelationship -> Maybe PersonRequirements' -> Maybe Bool -> Maybe LegalEntityPersonVerification -> Person
-- | account: The account the person is associated with.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[personAccount] :: Person -> Text
-- | address:
[personAddress] :: Person -> Maybe Address
-- | address_kana
[personAddressKana] :: Person -> Maybe PersonAddressKana'
-- | address_kanji
[personAddressKanji] :: Person -> Maybe PersonAddressKanji'
-- | created: Time at which the object was created. Measured in seconds
-- since the Unix epoch.
[personCreated] :: Person -> Int
-- | dob:
[personDob] :: Person -> Maybe LegalEntityDob
-- | email: The person's email address.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[personEmail] :: Person -> Maybe Text
-- | first_name: The person's first name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[personFirstName] :: Person -> Maybe Text
-- | first_name_kana: The Kana variation of the person's first name (Japan
-- only).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[personFirstNameKana] :: Person -> Maybe Text
-- | first_name_kanji: The Kanji variation of the person's first name
-- (Japan only).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[personFirstNameKanji] :: Person -> Maybe Text
-- | gender: The person's gender (International regulations require either
-- "male" or "female").
[personGender] :: Person -> Maybe Text
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[personId] :: Person -> Text
-- | id_number_provided: Whether the person's `id_number` was provided.
[personIdNumberProvided] :: Person -> Maybe Bool
-- | last_name: The person's last name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[personLastName] :: Person -> Maybe Text
-- | last_name_kana: The Kana variation of the person's last name (Japan
-- only).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[personLastNameKana] :: Person -> Maybe Text
-- | last_name_kanji: The Kanji variation of the person's last name (Japan
-- only).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[personLastNameKanji] :: Person -> Maybe Text
-- | maiden_name: The person's maiden name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[personMaidenName] :: Person -> Maybe Text
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format.
[personMetadata] :: Person -> Maybe Object
-- | nationality: The country where the person is a national.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[personNationality] :: Person -> Maybe Text
-- | phone: The person's phone number.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[personPhone] :: Person -> Maybe Text
-- | political_exposure: Indicates if the person or any of their
-- representatives, family members, or other closely related persons,
-- declares that they hold or have held an important public job or
-- function, in any jurisdiction.
[personPoliticalExposure] :: Person -> Maybe PersonPoliticalExposure'
-- | relationship:
[personRelationship] :: Person -> Maybe PersonRelationship
-- | requirements
[personRequirements] :: Person -> Maybe PersonRequirements'
-- | ssn_last_4_provided: Whether the last four digits of the person's
-- Social Security number have been provided (U.S. only).
[personSsnLast_4Provided] :: Person -> Maybe Bool
-- | verification:
[personVerification] :: Person -> Maybe LegalEntityPersonVerification
-- | Create a new Person with all required fields.
mkPerson :: Text -> Int -> Text -> Person
-- | Defines the object schema located at
-- components.schemas.person.properties.address_kana.anyOf in
-- the specification.
data PersonAddressKana'
PersonAddressKana' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PersonAddressKana'
-- | city: City/Ward.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[personAddressKana'City] :: PersonAddressKana' -> Maybe Text
-- | country: Two-letter country code ([ISO 3166-1
-- alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[personAddressKana'Country] :: PersonAddressKana' -> Maybe Text
-- | line1: Block/Building number.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[personAddressKana'Line1] :: PersonAddressKana' -> Maybe Text
-- | line2: Building details.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[personAddressKana'Line2] :: PersonAddressKana' -> Maybe Text
-- | postal_code: ZIP or postal code.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[personAddressKana'PostalCode] :: PersonAddressKana' -> Maybe Text
-- | state: Prefecture.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[personAddressKana'State] :: PersonAddressKana' -> Maybe Text
-- | town: Town/cho-me.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[personAddressKana'Town] :: PersonAddressKana' -> Maybe Text
-- | Create a new PersonAddressKana' with all required fields.
mkPersonAddressKana' :: PersonAddressKana'
-- | Defines the object schema located at
-- components.schemas.person.properties.address_kanji.anyOf in
-- the specification.
data PersonAddressKanji'
PersonAddressKanji' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PersonAddressKanji'
-- | city: City/Ward.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[personAddressKanji'City] :: PersonAddressKanji' -> Maybe Text
-- | country: Two-letter country code ([ISO 3166-1
-- alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[personAddressKanji'Country] :: PersonAddressKanji' -> Maybe Text
-- | line1: Block/Building number.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[personAddressKanji'Line1] :: PersonAddressKanji' -> Maybe Text
-- | line2: Building details.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[personAddressKanji'Line2] :: PersonAddressKanji' -> Maybe Text
-- | postal_code: ZIP or postal code.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[personAddressKanji'PostalCode] :: PersonAddressKanji' -> Maybe Text
-- | state: Prefecture.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[personAddressKanji'State] :: PersonAddressKanji' -> Maybe Text
-- | town: Town/cho-me.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[personAddressKanji'Town] :: PersonAddressKanji' -> Maybe Text
-- | Create a new PersonAddressKanji' with all required fields.
mkPersonAddressKanji' :: PersonAddressKanji'
-- | Defines the enum schema located at
-- components.schemas.person.properties.political_exposure in
-- the specification.
--
-- Indicates if the person or any of their representatives, family
-- members, or other closely related persons, declares that they hold or
-- have held an important public job or function, in any jurisdiction.
data PersonPoliticalExposure'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PersonPoliticalExposure'Other :: Value -> PersonPoliticalExposure'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PersonPoliticalExposure'Typed :: Text -> PersonPoliticalExposure'
-- | Represents the JSON value "existing"
PersonPoliticalExposure'EnumExisting :: PersonPoliticalExposure'
-- | Represents the JSON value "none"
PersonPoliticalExposure'EnumNone :: PersonPoliticalExposure'
-- | Defines the object schema located at
-- components.schemas.person.properties.requirements.anyOf in
-- the specification.
data PersonRequirements'
PersonRequirements' :: Maybe [Text] -> Maybe [AccountRequirementsError] -> Maybe [Text] -> Maybe [Text] -> Maybe [Text] -> PersonRequirements'
-- | currently_due: Fields that need to be collected to keep the person's
-- account enabled. If not collected by the account's `current_deadline`,
-- these fields appear in `past_due` as well, and the account is
-- disabled.
[personRequirements'CurrentlyDue] :: PersonRequirements' -> Maybe [Text]
-- | errors: Fields that are `currently_due` and need to be collected again
-- because validation or verification failed.
[personRequirements'Errors] :: PersonRequirements' -> Maybe [AccountRequirementsError]
-- | eventually_due: Fields that need to be collected assuming all volume
-- thresholds are reached. As they become required, they appear in
-- `currently_due` as well, and the account's `current_deadline` becomes
-- set.
[personRequirements'EventuallyDue] :: PersonRequirements' -> Maybe [Text]
-- | past_due: Fields that weren't collected by the account's
-- `current_deadline`. These fields need to be collected to enable the
-- person's account.
[personRequirements'PastDue] :: PersonRequirements' -> Maybe [Text]
-- | pending_verification: Fields that may become required depending on the
-- results of verification or review. Will be an empty array unless an
-- asynchronous verification is pending. If verification fails, these
-- fields move to `eventually_due`, `currently_due`, or `past_due`.
[personRequirements'PendingVerification] :: PersonRequirements' -> Maybe [Text]
-- | Create a new PersonRequirements' with all required fields.
mkPersonRequirements' :: PersonRequirements'
instance GHC.Classes.Eq StripeAPI.Types.Person.PersonAddressKana'
instance GHC.Show.Show StripeAPI.Types.Person.PersonAddressKana'
instance GHC.Classes.Eq StripeAPI.Types.Person.PersonAddressKanji'
instance GHC.Show.Show StripeAPI.Types.Person.PersonAddressKanji'
instance GHC.Classes.Eq StripeAPI.Types.Person.PersonPoliticalExposure'
instance GHC.Show.Show StripeAPI.Types.Person.PersonPoliticalExposure'
instance GHC.Classes.Eq StripeAPI.Types.Person.PersonRequirements'
instance GHC.Show.Show StripeAPI.Types.Person.PersonRequirements'
instance GHC.Classes.Eq StripeAPI.Types.Person.Person
instance GHC.Show.Show StripeAPI.Types.Person.Person
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Person.Person
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Person.Person
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Person.PersonRequirements'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Person.PersonRequirements'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Person.PersonPoliticalExposure'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Person.PersonPoliticalExposure'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Person.PersonAddressKanji'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Person.PersonAddressKanji'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Person.PersonAddressKana'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Person.PersonAddressKana'
-- | Contains the types generated from the schema PersonRequirements
module StripeAPI.Types.PersonRequirements
-- | Defines the object schema located at
-- components.schemas.person_requirements in the specification.
data PersonRequirements
PersonRequirements :: [Text] -> [AccountRequirementsError] -> [Text] -> [Text] -> [Text] -> PersonRequirements
-- | currently_due: Fields that need to be collected to keep the person's
-- account enabled. If not collected by the account's `current_deadline`,
-- these fields appear in `past_due` as well, and the account is
-- disabled.
[personRequirementsCurrentlyDue] :: PersonRequirements -> [Text]
-- | errors: Fields that are `currently_due` and need to be collected again
-- because validation or verification failed.
[personRequirementsErrors] :: PersonRequirements -> [AccountRequirementsError]
-- | eventually_due: Fields that need to be collected assuming all volume
-- thresholds are reached. As they become required, they appear in
-- `currently_due` as well, and the account's `current_deadline` becomes
-- set.
[personRequirementsEventuallyDue] :: PersonRequirements -> [Text]
-- | past_due: Fields that weren't collected by the account's
-- `current_deadline`. These fields need to be collected to enable the
-- person's account.
[personRequirementsPastDue] :: PersonRequirements -> [Text]
-- | pending_verification: Fields that may become required depending on the
-- results of verification or review. Will be an empty array unless an
-- asynchronous verification is pending. If verification fails, these
-- fields move to `eventually_due`, `currently_due`, or `past_due`.
[personRequirementsPendingVerification] :: PersonRequirements -> [Text]
-- | Create a new PersonRequirements with all required fields.
mkPersonRequirements :: [Text] -> [AccountRequirementsError] -> [Text] -> [Text] -> [Text] -> PersonRequirements
instance GHC.Classes.Eq StripeAPI.Types.PersonRequirements.PersonRequirements
instance GHC.Show.Show StripeAPI.Types.PersonRequirements.PersonRequirements
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PersonRequirements.PersonRequirements
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PersonRequirements.PersonRequirements
-- | Contains the types generated from the schema PlanTier
module StripeAPI.Types.PlanTier
-- | Defines the object schema located at
-- components.schemas.plan_tier in the specification.
data PlanTier
PlanTier :: Maybe Int -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe Int -> PlanTier
-- | flat_amount: Price for the entire tier.
[planTierFlatAmount] :: PlanTier -> Maybe Int
-- | flat_amount_decimal: Same as `flat_amount`, but contains a decimal
-- value with at most 12 decimal places.
[planTierFlatAmountDecimal] :: PlanTier -> Maybe Text
-- | unit_amount: Per unit price for units relevant to the tier.
[planTierUnitAmount] :: PlanTier -> Maybe Int
-- | unit_amount_decimal: Same as `unit_amount`, but contains a decimal
-- value with at most 12 decimal places.
[planTierUnitAmountDecimal] :: PlanTier -> Maybe Text
-- | up_to: Up to and including to this quantity will be contained in the
-- tier.
[planTierUpTo] :: PlanTier -> Maybe Int
-- | Create a new PlanTier with all required fields.
mkPlanTier :: PlanTier
instance GHC.Classes.Eq StripeAPI.Types.PlanTier.PlanTier
instance GHC.Show.Show StripeAPI.Types.PlanTier.PlanTier
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PlanTier.PlanTier
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PlanTier.PlanTier
-- | Contains the types generated from the schema PlatformTaxFee
module StripeAPI.Types.PlatformTaxFee
-- | Defines the object schema located at
-- components.schemas.platform_tax_fee in the specification.
data PlatformTaxFee
PlatformTaxFee :: Text -> Text -> Text -> Text -> PlatformTaxFee
-- | account: The Connected account that incurred this charge.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[platformTaxFeeAccount] :: PlatformTaxFee -> Text
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[platformTaxFeeId] :: PlatformTaxFee -> Text
-- | source_transaction: The payment object that caused this tax to be
-- inflicted.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[platformTaxFeeSourceTransaction] :: PlatformTaxFee -> Text
-- | type: The type of tax (VAT).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[platformTaxFeeType] :: PlatformTaxFee -> Text
-- | Create a new PlatformTaxFee with all required fields.
mkPlatformTaxFee :: Text -> Text -> Text -> Text -> PlatformTaxFee
instance GHC.Classes.Eq StripeAPI.Types.PlatformTaxFee.PlatformTaxFee
instance GHC.Show.Show StripeAPI.Types.PlatformTaxFee.PlatformTaxFee
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PlatformTaxFee.PlatformTaxFee
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PlatformTaxFee.PlatformTaxFee
-- | Contains the types generated from the schema PortalBusinessProfile
module StripeAPI.Types.PortalBusinessProfile
-- | Defines the object schema located at
-- components.schemas.portal_business_profile in the
-- specification.
data PortalBusinessProfile
PortalBusinessProfile :: Maybe Text -> Text -> Text -> PortalBusinessProfile
-- | headline: The messaging shown to customers in the portal.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[portalBusinessProfileHeadline] :: PortalBusinessProfile -> Maybe Text
-- | privacy_policy_url: A link to the business’s publicly available
-- privacy policy.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[portalBusinessProfilePrivacyPolicyUrl] :: PortalBusinessProfile -> Text
-- | terms_of_service_url: A link to the business’s publicly available
-- terms of service.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[portalBusinessProfileTermsOfServiceUrl] :: PortalBusinessProfile -> Text
-- | Create a new PortalBusinessProfile with all required fields.
mkPortalBusinessProfile :: Text -> Text -> PortalBusinessProfile
instance GHC.Classes.Eq StripeAPI.Types.PortalBusinessProfile.PortalBusinessProfile
instance GHC.Show.Show StripeAPI.Types.PortalBusinessProfile.PortalBusinessProfile
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PortalBusinessProfile.PortalBusinessProfile
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PortalBusinessProfile.PortalBusinessProfile
-- | Contains the types generated from the schema PortalCustomerUpdate
module StripeAPI.Types.PortalCustomerUpdate
-- | Defines the object schema located at
-- components.schemas.portal_customer_update in the
-- specification.
data PortalCustomerUpdate
PortalCustomerUpdate :: [PortalCustomerUpdateAllowedUpdates'] -> Bool -> PortalCustomerUpdate
-- | allowed_updates: The types of customer updates that are supported.
-- When empty, customers are not updateable.
[portalCustomerUpdateAllowedUpdates] :: PortalCustomerUpdate -> [PortalCustomerUpdateAllowedUpdates']
-- | enabled: Whether the feature is enabled.
[portalCustomerUpdateEnabled] :: PortalCustomerUpdate -> Bool
-- | Create a new PortalCustomerUpdate with all required fields.
mkPortalCustomerUpdate :: [PortalCustomerUpdateAllowedUpdates'] -> Bool -> PortalCustomerUpdate
-- | Defines the enum schema located at
-- components.schemas.portal_customer_update.properties.allowed_updates.items
-- in the specification.
data PortalCustomerUpdateAllowedUpdates'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PortalCustomerUpdateAllowedUpdates'Other :: Value -> PortalCustomerUpdateAllowedUpdates'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PortalCustomerUpdateAllowedUpdates'Typed :: Text -> PortalCustomerUpdateAllowedUpdates'
-- | Represents the JSON value "address"
PortalCustomerUpdateAllowedUpdates'EnumAddress :: PortalCustomerUpdateAllowedUpdates'
-- | Represents the JSON value "email"
PortalCustomerUpdateAllowedUpdates'EnumEmail :: PortalCustomerUpdateAllowedUpdates'
-- | Represents the JSON value "phone"
PortalCustomerUpdateAllowedUpdates'EnumPhone :: PortalCustomerUpdateAllowedUpdates'
-- | Represents the JSON value "shipping"
PortalCustomerUpdateAllowedUpdates'EnumShipping :: PortalCustomerUpdateAllowedUpdates'
-- | Represents the JSON value "tax_id"
PortalCustomerUpdateAllowedUpdates'EnumTaxId :: PortalCustomerUpdateAllowedUpdates'
instance GHC.Classes.Eq StripeAPI.Types.PortalCustomerUpdate.PortalCustomerUpdateAllowedUpdates'
instance GHC.Show.Show StripeAPI.Types.PortalCustomerUpdate.PortalCustomerUpdateAllowedUpdates'
instance GHC.Classes.Eq StripeAPI.Types.PortalCustomerUpdate.PortalCustomerUpdate
instance GHC.Show.Show StripeAPI.Types.PortalCustomerUpdate.PortalCustomerUpdate
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PortalCustomerUpdate.PortalCustomerUpdate
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PortalCustomerUpdate.PortalCustomerUpdate
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PortalCustomerUpdate.PortalCustomerUpdateAllowedUpdates'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PortalCustomerUpdate.PortalCustomerUpdateAllowedUpdates'
-- | Contains the types generated from the schema
-- BillingPortal_Configuration
module StripeAPI.Types.BillingPortal_Configuration
-- | Defines the object schema located at
-- components.schemas.billing_portal.configuration in the
-- specification.
--
-- A portal configuration describes the functionality and behavior of a
-- portal session.
data BillingPortal'configuration
BillingPortal'configuration :: Bool -> Maybe Text -> PortalBusinessProfile -> Int -> Maybe Text -> PortalFeatures -> Text -> Bool -> Bool -> Int -> BillingPortal'configuration
-- | active: Whether the configuration is active and can be used to create
-- portal sessions.
[billingPortal'configurationActive] :: BillingPortal'configuration -> Bool
-- | application: ID of the Connect Application that created the
-- configuration.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[billingPortal'configurationApplication] :: BillingPortal'configuration -> Maybe Text
-- | business_profile:
[billingPortal'configurationBusinessProfile] :: BillingPortal'configuration -> PortalBusinessProfile
-- | created: Time at which the object was created. Measured in seconds
-- since the Unix epoch.
[billingPortal'configurationCreated] :: BillingPortal'configuration -> Int
-- | default_return_url: The default URL to redirect customers to when they
-- click on the portal's link to return to your website. This can be
-- overriden when creating the session.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[billingPortal'configurationDefaultReturnUrl] :: BillingPortal'configuration -> Maybe Text
-- | features:
[billingPortal'configurationFeatures] :: BillingPortal'configuration -> PortalFeatures
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[billingPortal'configurationId] :: BillingPortal'configuration -> Text
-- | is_default: Whether the configuration is the default. If `true`, this
-- configuration can be managed in the Dashboard and portal sessions will
-- use this configuration unless it is overriden when creating the
-- session.
[billingPortal'configurationIsDefault] :: BillingPortal'configuration -> Bool
-- | livemode: Has the value `true` if the object exists in live mode or
-- the value `false` if the object exists in test mode.
[billingPortal'configurationLivemode] :: BillingPortal'configuration -> Bool
-- | updated: Time at which the object was last updated. Measured in
-- seconds since the Unix epoch.
[billingPortal'configurationUpdated] :: BillingPortal'configuration -> Int
-- | Create a new BillingPortal'configuration with all required
-- fields.
mkBillingPortal'configuration :: Bool -> PortalBusinessProfile -> Int -> PortalFeatures -> Text -> Bool -> Bool -> Int -> BillingPortal'configuration
instance GHC.Classes.Eq StripeAPI.Types.BillingPortal_Configuration.BillingPortal'configuration
instance GHC.Show.Show StripeAPI.Types.BillingPortal_Configuration.BillingPortal'configuration
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.BillingPortal_Configuration.BillingPortal'configuration
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.BillingPortal_Configuration.BillingPortal'configuration
-- | Contains the types generated from the schema PortalInvoiceList
module StripeAPI.Types.PortalInvoiceList
-- | Defines the object schema located at
-- components.schemas.portal_invoice_list in the specification.
data PortalInvoiceList
PortalInvoiceList :: Bool -> PortalInvoiceList
-- | enabled: Whether the feature is enabled.
[portalInvoiceListEnabled] :: PortalInvoiceList -> Bool
-- | Create a new PortalInvoiceList with all required fields.
mkPortalInvoiceList :: Bool -> PortalInvoiceList
instance GHC.Classes.Eq StripeAPI.Types.PortalInvoiceList.PortalInvoiceList
instance GHC.Show.Show StripeAPI.Types.PortalInvoiceList.PortalInvoiceList
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PortalInvoiceList.PortalInvoiceList
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PortalInvoiceList.PortalInvoiceList
-- | Contains the types generated from the schema PortalPaymentMethodUpdate
module StripeAPI.Types.PortalPaymentMethodUpdate
-- | Defines the object schema located at
-- components.schemas.portal_payment_method_update in the
-- specification.
data PortalPaymentMethodUpdate
PortalPaymentMethodUpdate :: Bool -> PortalPaymentMethodUpdate
-- | enabled: Whether the feature is enabled.
[portalPaymentMethodUpdateEnabled] :: PortalPaymentMethodUpdate -> Bool
-- | Create a new PortalPaymentMethodUpdate with all required
-- fields.
mkPortalPaymentMethodUpdate :: Bool -> PortalPaymentMethodUpdate
instance GHC.Classes.Eq StripeAPI.Types.PortalPaymentMethodUpdate.PortalPaymentMethodUpdate
instance GHC.Show.Show StripeAPI.Types.PortalPaymentMethodUpdate.PortalPaymentMethodUpdate
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PortalPaymentMethodUpdate.PortalPaymentMethodUpdate
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PortalPaymentMethodUpdate.PortalPaymentMethodUpdate
-- | Contains the types generated from the schema PortalSubscriptionCancel
module StripeAPI.Types.PortalSubscriptionCancel
-- | Defines the object schema located at
-- components.schemas.portal_subscription_cancel in the
-- specification.
data PortalSubscriptionCancel
PortalSubscriptionCancel :: Bool -> PortalSubscriptionCancelMode' -> PortalSubscriptionCancelProrationBehavior' -> PortalSubscriptionCancel
-- | enabled: Whether the feature is enabled.
[portalSubscriptionCancelEnabled] :: PortalSubscriptionCancel -> Bool
-- | mode: Whether to cancel subscriptions immediately or at the end of the
-- billing period.
[portalSubscriptionCancelMode] :: PortalSubscriptionCancel -> PortalSubscriptionCancelMode'
-- | proration_behavior: Whether to create prorations when canceling
-- subscriptions. Possible values are `none` and `create_prorations`.
[portalSubscriptionCancelProrationBehavior] :: PortalSubscriptionCancel -> PortalSubscriptionCancelProrationBehavior'
-- | Create a new PortalSubscriptionCancel with all required fields.
mkPortalSubscriptionCancel :: Bool -> PortalSubscriptionCancelMode' -> PortalSubscriptionCancelProrationBehavior' -> PortalSubscriptionCancel
-- | Defines the enum schema located at
-- components.schemas.portal_subscription_cancel.properties.mode
-- in the specification.
--
-- Whether to cancel subscriptions immediately or at the end of the
-- billing period.
data PortalSubscriptionCancelMode'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PortalSubscriptionCancelMode'Other :: Value -> PortalSubscriptionCancelMode'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PortalSubscriptionCancelMode'Typed :: Text -> PortalSubscriptionCancelMode'
-- | Represents the JSON value "at_period_end"
PortalSubscriptionCancelMode'EnumAtPeriodEnd :: PortalSubscriptionCancelMode'
-- | Represents the JSON value "immediately"
PortalSubscriptionCancelMode'EnumImmediately :: PortalSubscriptionCancelMode'
-- | Defines the enum schema located at
-- components.schemas.portal_subscription_cancel.properties.proration_behavior
-- in the specification.
--
-- Whether to create prorations when canceling subscriptions. Possible
-- values are `none` and `create_prorations`.
data PortalSubscriptionCancelProrationBehavior'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PortalSubscriptionCancelProrationBehavior'Other :: Value -> PortalSubscriptionCancelProrationBehavior'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PortalSubscriptionCancelProrationBehavior'Typed :: Text -> PortalSubscriptionCancelProrationBehavior'
-- | Represents the JSON value "always_invoice"
PortalSubscriptionCancelProrationBehavior'EnumAlwaysInvoice :: PortalSubscriptionCancelProrationBehavior'
-- | Represents the JSON value "create_prorations"
PortalSubscriptionCancelProrationBehavior'EnumCreateProrations :: PortalSubscriptionCancelProrationBehavior'
-- | Represents the JSON value "none"
PortalSubscriptionCancelProrationBehavior'EnumNone :: PortalSubscriptionCancelProrationBehavior'
instance GHC.Classes.Eq StripeAPI.Types.PortalSubscriptionCancel.PortalSubscriptionCancelMode'
instance GHC.Show.Show StripeAPI.Types.PortalSubscriptionCancel.PortalSubscriptionCancelMode'
instance GHC.Classes.Eq StripeAPI.Types.PortalSubscriptionCancel.PortalSubscriptionCancelProrationBehavior'
instance GHC.Show.Show StripeAPI.Types.PortalSubscriptionCancel.PortalSubscriptionCancelProrationBehavior'
instance GHC.Classes.Eq StripeAPI.Types.PortalSubscriptionCancel.PortalSubscriptionCancel
instance GHC.Show.Show StripeAPI.Types.PortalSubscriptionCancel.PortalSubscriptionCancel
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PortalSubscriptionCancel.PortalSubscriptionCancel
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PortalSubscriptionCancel.PortalSubscriptionCancel
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PortalSubscriptionCancel.PortalSubscriptionCancelProrationBehavior'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PortalSubscriptionCancel.PortalSubscriptionCancelProrationBehavior'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PortalSubscriptionCancel.PortalSubscriptionCancelMode'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PortalSubscriptionCancel.PortalSubscriptionCancelMode'
-- | Contains the types generated from the schema PortalSubscriptionPause
module StripeAPI.Types.PortalSubscriptionPause
-- | Defines the object schema located at
-- components.schemas.portal_subscription_pause in the
-- specification.
data PortalSubscriptionPause
PortalSubscriptionPause :: Bool -> PortalSubscriptionPause
-- | enabled: Whether the feature is enabled.
[portalSubscriptionPauseEnabled] :: PortalSubscriptionPause -> Bool
-- | Create a new PortalSubscriptionPause with all required fields.
mkPortalSubscriptionPause :: Bool -> PortalSubscriptionPause
instance GHC.Classes.Eq StripeAPI.Types.PortalSubscriptionPause.PortalSubscriptionPause
instance GHC.Show.Show StripeAPI.Types.PortalSubscriptionPause.PortalSubscriptionPause
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PortalSubscriptionPause.PortalSubscriptionPause
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PortalSubscriptionPause.PortalSubscriptionPause
-- | Contains the types generated from the schema PortalFeatures
module StripeAPI.Types.PortalFeatures
-- | Defines the object schema located at
-- components.schemas.portal_features in the specification.
data PortalFeatures
PortalFeatures :: PortalCustomerUpdate -> PortalInvoiceList -> PortalPaymentMethodUpdate -> PortalSubscriptionCancel -> PortalSubscriptionPause -> PortalSubscriptionUpdate -> PortalFeatures
-- | customer_update:
[portalFeaturesCustomerUpdate] :: PortalFeatures -> PortalCustomerUpdate
-- | invoice_history:
[portalFeaturesInvoiceHistory] :: PortalFeatures -> PortalInvoiceList
-- | payment_method_update:
[portalFeaturesPaymentMethodUpdate] :: PortalFeatures -> PortalPaymentMethodUpdate
-- | subscription_cancel:
[portalFeaturesSubscriptionCancel] :: PortalFeatures -> PortalSubscriptionCancel
-- | subscription_pause:
[portalFeaturesSubscriptionPause] :: PortalFeatures -> PortalSubscriptionPause
-- | subscription_update:
[portalFeaturesSubscriptionUpdate] :: PortalFeatures -> PortalSubscriptionUpdate
-- | Create a new PortalFeatures with all required fields.
mkPortalFeatures :: PortalCustomerUpdate -> PortalInvoiceList -> PortalPaymentMethodUpdate -> PortalSubscriptionCancel -> PortalSubscriptionPause -> PortalSubscriptionUpdate -> PortalFeatures
instance GHC.Classes.Eq StripeAPI.Types.PortalFeatures.PortalFeatures
instance GHC.Show.Show StripeAPI.Types.PortalFeatures.PortalFeatures
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PortalFeatures.PortalFeatures
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PortalFeatures.PortalFeatures
-- | Contains the types generated from the schema PortalSubscriptionUpdate
module StripeAPI.Types.PortalSubscriptionUpdate
-- | Defines the object schema located at
-- components.schemas.portal_subscription_update in the
-- specification.
data PortalSubscriptionUpdate
PortalSubscriptionUpdate :: [PortalSubscriptionUpdateDefaultAllowedUpdates'] -> Bool -> Maybe [PortalSubscriptionUpdateProduct] -> PortalSubscriptionUpdateProrationBehavior' -> PortalSubscriptionUpdate
-- | default_allowed_updates: The types of subscription updates that are
-- supported for items listed in the `products` attribute. When empty,
-- subscriptions are not updateable.
[portalSubscriptionUpdateDefaultAllowedUpdates] :: PortalSubscriptionUpdate -> [PortalSubscriptionUpdateDefaultAllowedUpdates']
-- | enabled: Whether the feature is enabled.
[portalSubscriptionUpdateEnabled] :: PortalSubscriptionUpdate -> Bool
-- | products: The list of products that support subscription updates.
[portalSubscriptionUpdateProducts] :: PortalSubscriptionUpdate -> Maybe [PortalSubscriptionUpdateProduct]
-- | proration_behavior: Determines how to handle prorations resulting from
-- subscription updates. Valid values are `none`, `create_prorations`,
-- and `always_invoice`.
[portalSubscriptionUpdateProrationBehavior] :: PortalSubscriptionUpdate -> PortalSubscriptionUpdateProrationBehavior'
-- | Create a new PortalSubscriptionUpdate with all required fields.
mkPortalSubscriptionUpdate :: [PortalSubscriptionUpdateDefaultAllowedUpdates'] -> Bool -> PortalSubscriptionUpdateProrationBehavior' -> PortalSubscriptionUpdate
-- | Defines the enum schema located at
-- components.schemas.portal_subscription_update.properties.default_allowed_updates.items
-- in the specification.
data PortalSubscriptionUpdateDefaultAllowedUpdates'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PortalSubscriptionUpdateDefaultAllowedUpdates'Other :: Value -> PortalSubscriptionUpdateDefaultAllowedUpdates'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PortalSubscriptionUpdateDefaultAllowedUpdates'Typed :: Text -> PortalSubscriptionUpdateDefaultAllowedUpdates'
-- | Represents the JSON value "price"
PortalSubscriptionUpdateDefaultAllowedUpdates'EnumPrice :: PortalSubscriptionUpdateDefaultAllowedUpdates'
-- | Represents the JSON value "promotion_code"
PortalSubscriptionUpdateDefaultAllowedUpdates'EnumPromotionCode :: PortalSubscriptionUpdateDefaultAllowedUpdates'
-- | Represents the JSON value "quantity"
PortalSubscriptionUpdateDefaultAllowedUpdates'EnumQuantity :: PortalSubscriptionUpdateDefaultAllowedUpdates'
-- | Defines the enum schema located at
-- components.schemas.portal_subscription_update.properties.proration_behavior
-- in the specification.
--
-- Determines how to handle prorations resulting from subscription
-- updates. Valid values are `none`, `create_prorations`, and
-- `always_invoice`.
data PortalSubscriptionUpdateProrationBehavior'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PortalSubscriptionUpdateProrationBehavior'Other :: Value -> PortalSubscriptionUpdateProrationBehavior'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PortalSubscriptionUpdateProrationBehavior'Typed :: Text -> PortalSubscriptionUpdateProrationBehavior'
-- | Represents the JSON value "always_invoice"
PortalSubscriptionUpdateProrationBehavior'EnumAlwaysInvoice :: PortalSubscriptionUpdateProrationBehavior'
-- | Represents the JSON value "create_prorations"
PortalSubscriptionUpdateProrationBehavior'EnumCreateProrations :: PortalSubscriptionUpdateProrationBehavior'
-- | Represents the JSON value "none"
PortalSubscriptionUpdateProrationBehavior'EnumNone :: PortalSubscriptionUpdateProrationBehavior'
instance GHC.Classes.Eq StripeAPI.Types.PortalSubscriptionUpdate.PortalSubscriptionUpdateDefaultAllowedUpdates'
instance GHC.Show.Show StripeAPI.Types.PortalSubscriptionUpdate.PortalSubscriptionUpdateDefaultAllowedUpdates'
instance GHC.Classes.Eq StripeAPI.Types.PortalSubscriptionUpdate.PortalSubscriptionUpdateProrationBehavior'
instance GHC.Show.Show StripeAPI.Types.PortalSubscriptionUpdate.PortalSubscriptionUpdateProrationBehavior'
instance GHC.Classes.Eq StripeAPI.Types.PortalSubscriptionUpdate.PortalSubscriptionUpdate
instance GHC.Show.Show StripeAPI.Types.PortalSubscriptionUpdate.PortalSubscriptionUpdate
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PortalSubscriptionUpdate.PortalSubscriptionUpdate
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PortalSubscriptionUpdate.PortalSubscriptionUpdate
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PortalSubscriptionUpdate.PortalSubscriptionUpdateProrationBehavior'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PortalSubscriptionUpdate.PortalSubscriptionUpdateProrationBehavior'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PortalSubscriptionUpdate.PortalSubscriptionUpdateDefaultAllowedUpdates'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PortalSubscriptionUpdate.PortalSubscriptionUpdateDefaultAllowedUpdates'
-- | Contains the types generated from the schema
-- PortalSubscriptionUpdateProduct
module StripeAPI.Types.PortalSubscriptionUpdateProduct
-- | Defines the object schema located at
-- components.schemas.portal_subscription_update_product in the
-- specification.
data PortalSubscriptionUpdateProduct
PortalSubscriptionUpdateProduct :: [Text] -> Text -> PortalSubscriptionUpdateProduct
-- | prices: The list of price IDs which, when subscribed to, a
-- subscription can be updated.
[portalSubscriptionUpdateProductPrices] :: PortalSubscriptionUpdateProduct -> [Text]
-- | product: The product ID.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[portalSubscriptionUpdateProductProduct] :: PortalSubscriptionUpdateProduct -> Text
-- | Create a new PortalSubscriptionUpdateProduct with all required
-- fields.
mkPortalSubscriptionUpdateProduct :: [Text] -> Text -> PortalSubscriptionUpdateProduct
instance GHC.Classes.Eq StripeAPI.Types.PortalSubscriptionUpdateProduct.PortalSubscriptionUpdateProduct
instance GHC.Show.Show StripeAPI.Types.PortalSubscriptionUpdateProduct.PortalSubscriptionUpdateProduct
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PortalSubscriptionUpdateProduct.PortalSubscriptionUpdateProduct
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PortalSubscriptionUpdateProduct.PortalSubscriptionUpdateProduct
-- | Contains the types generated from the schema PriceTier
module StripeAPI.Types.PriceTier
-- | Defines the object schema located at
-- components.schemas.price_tier in the specification.
data PriceTier
PriceTier :: Maybe Int -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe Int -> PriceTier
-- | flat_amount: Price for the entire tier.
[priceTierFlatAmount] :: PriceTier -> Maybe Int
-- | flat_amount_decimal: Same as `flat_amount`, but contains a decimal
-- value with at most 12 decimal places.
[priceTierFlatAmountDecimal] :: PriceTier -> Maybe Text
-- | unit_amount: Per unit price for units relevant to the tier.
[priceTierUnitAmount] :: PriceTier -> Maybe Int
-- | unit_amount_decimal: Same as `unit_amount`, but contains a decimal
-- value with at most 12 decimal places.
[priceTierUnitAmountDecimal] :: PriceTier -> Maybe Text
-- | up_to: Up to and including to this quantity will be contained in the
-- tier.
[priceTierUpTo] :: PriceTier -> Maybe Int
-- | Create a new PriceTier with all required fields.
mkPriceTier :: PriceTier
instance GHC.Classes.Eq StripeAPI.Types.PriceTier.PriceTier
instance GHC.Show.Show StripeAPI.Types.PriceTier.PriceTier
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PriceTier.PriceTier
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PriceTier.PriceTier
-- | Contains the types generated from the schema Discount
module StripeAPI.Types.Discount
-- | Defines the object schema located at
-- components.schemas.discount in the specification.
--
-- A discount represents the actual application of a coupon to a
-- particular customer. It contains information about when the discount
-- began and when it will end.
--
-- Related guide: Applying Discounts to Subscriptions.
data Discount
Discount :: Maybe Text -> Coupon -> Maybe DiscountCustomer'Variants -> Maybe Int -> Text -> Maybe Text -> Maybe Text -> Maybe DiscountPromotionCode'Variants -> Int -> Maybe Text -> Discount
-- | checkout_session: The Checkout session that this coupon is applied to,
-- if it is applied to a particular session in payment mode. Will not be
-- present for subscription mode.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[discountCheckoutSession] :: Discount -> Maybe Text
-- | coupon: A coupon contains information about a percent-off or
-- amount-off discount you might want to apply to a customer. Coupons may
-- be applied to invoices or orders. Coupons do not work
-- with conventional one-off charges.
[discountCoupon] :: Discount -> Coupon
-- | customer: The ID of the customer associated with this discount.
[discountCustomer] :: Discount -> Maybe DiscountCustomer'Variants
-- | end: If the coupon has a duration of `repeating`, the date that this
-- discount will end. If the coupon has a duration of `once` or
-- `forever`, this attribute will be null.
[discountEnd] :: Discount -> Maybe Int
-- | id: The ID of the discount object. Discounts cannot be fetched by ID.
-- Use `expand[]=discounts` in API calls to expand discount IDs in an
-- array.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[discountId] :: Discount -> Text
-- | invoice: The invoice that the discount's coupon was applied to, if it
-- was applied directly to a particular invoice.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[discountInvoice] :: Discount -> Maybe Text
-- | invoice_item: The invoice item `id` (or invoice line item `id` for
-- invoice line items of type='subscription') that the discount's coupon
-- was applied to, if it was applied directly to a particular invoice
-- item or invoice line item.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[discountInvoiceItem] :: Discount -> Maybe Text
-- | promotion_code: The promotion code applied to create this discount.
[discountPromotionCode] :: Discount -> Maybe DiscountPromotionCode'Variants
-- | start: Date that the coupon was applied.
[discountStart] :: Discount -> Int
-- | subscription: The subscription that this coupon is applied to, if it
-- is applied to a particular subscription.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[discountSubscription] :: Discount -> Maybe Text
-- | Create a new Discount with all required fields.
mkDiscount :: Coupon -> Text -> Int -> Discount
-- | Defines the oneOf schema located at
-- components.schemas.discount.properties.customer.anyOf in the
-- specification.
--
-- The ID of the customer associated with this discount.
data DiscountCustomer'Variants
DiscountCustomer'Text :: Text -> DiscountCustomer'Variants
DiscountCustomer'Customer :: Customer -> DiscountCustomer'Variants
DiscountCustomer'DeletedCustomer :: DeletedCustomer -> DiscountCustomer'Variants
-- | Defines the oneOf schema located at
-- components.schemas.discount.properties.promotion_code.anyOf
-- in the specification.
--
-- The promotion code applied to create this discount.
data DiscountPromotionCode'Variants
DiscountPromotionCode'Text :: Text -> DiscountPromotionCode'Variants
DiscountPromotionCode'PromotionCode :: PromotionCode -> DiscountPromotionCode'Variants
instance GHC.Classes.Eq StripeAPI.Types.Discount.DiscountCustomer'Variants
instance GHC.Show.Show StripeAPI.Types.Discount.DiscountCustomer'Variants
instance GHC.Classes.Eq StripeAPI.Types.Discount.DiscountPromotionCode'Variants
instance GHC.Show.Show StripeAPI.Types.Discount.DiscountPromotionCode'Variants
instance GHC.Classes.Eq StripeAPI.Types.Discount.Discount
instance GHC.Show.Show StripeAPI.Types.Discount.Discount
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Discount.Discount
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Discount.Discount
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Discount.DiscountPromotionCode'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Discount.DiscountPromotionCode'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Discount.DiscountCustomer'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Discount.DiscountCustomer'Variants
-- | Contains the types generated from the schema DeletedDiscount
module StripeAPI.Types.DeletedDiscount
-- | Defines the object schema located at
-- components.schemas.deleted_discount in the specification.
data DeletedDiscount
DeletedDiscount :: Maybe Text -> Coupon -> Maybe DeletedDiscountCustomer'Variants -> Text -> Maybe Text -> Maybe Text -> Maybe DeletedDiscountPromotionCode'Variants -> Int -> Maybe Text -> DeletedDiscount
-- | checkout_session: The Checkout session that this coupon is applied to,
-- if it is applied to a particular session in payment mode. Will not be
-- present for subscription mode.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deletedDiscountCheckoutSession] :: DeletedDiscount -> Maybe Text
-- | coupon: A coupon contains information about a percent-off or
-- amount-off discount you might want to apply to a customer. Coupons may
-- be applied to invoices or orders. Coupons do not work
-- with conventional one-off charges.
[deletedDiscountCoupon] :: DeletedDiscount -> Coupon
-- | customer: The ID of the customer associated with this discount.
[deletedDiscountCustomer] :: DeletedDiscount -> Maybe DeletedDiscountCustomer'Variants
-- | id: The ID of the discount object. Discounts cannot be fetched by ID.
-- Use `expand[]=discounts` in API calls to expand discount IDs in an
-- array.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deletedDiscountId] :: DeletedDiscount -> Text
-- | invoice: The invoice that the discount's coupon was applied to, if it
-- was applied directly to a particular invoice.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deletedDiscountInvoice] :: DeletedDiscount -> Maybe Text
-- | invoice_item: The invoice item `id` (or invoice line item `id` for
-- invoice line items of type='subscription') that the discount's coupon
-- was applied to, if it was applied directly to a particular invoice
-- item or invoice line item.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deletedDiscountInvoiceItem] :: DeletedDiscount -> Maybe Text
-- | promotion_code: The promotion code applied to create this discount.
[deletedDiscountPromotionCode] :: DeletedDiscount -> Maybe DeletedDiscountPromotionCode'Variants
-- | start: Date that the coupon was applied.
[deletedDiscountStart] :: DeletedDiscount -> Int
-- | subscription: The subscription that this coupon is applied to, if it
-- is applied to a particular subscription.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deletedDiscountSubscription] :: DeletedDiscount -> Maybe Text
-- | Create a new DeletedDiscount with all required fields.
mkDeletedDiscount :: Coupon -> Text -> Int -> DeletedDiscount
-- | Defines the oneOf schema located at
-- components.schemas.deleted_discount.properties.customer.anyOf
-- in the specification.
--
-- The ID of the customer associated with this discount.
data DeletedDiscountCustomer'Variants
DeletedDiscountCustomer'Text :: Text -> DeletedDiscountCustomer'Variants
DeletedDiscountCustomer'Customer :: Customer -> DeletedDiscountCustomer'Variants
DeletedDiscountCustomer'DeletedCustomer :: DeletedCustomer -> DeletedDiscountCustomer'Variants
-- | Defines the oneOf schema located at
-- components.schemas.deleted_discount.properties.promotion_code.anyOf
-- in the specification.
--
-- The promotion code applied to create this discount.
data DeletedDiscountPromotionCode'Variants
DeletedDiscountPromotionCode'Text :: Text -> DeletedDiscountPromotionCode'Variants
DeletedDiscountPromotionCode'PromotionCode :: PromotionCode -> DeletedDiscountPromotionCode'Variants
instance GHC.Classes.Eq StripeAPI.Types.DeletedDiscount.DeletedDiscountCustomer'Variants
instance GHC.Show.Show StripeAPI.Types.DeletedDiscount.DeletedDiscountCustomer'Variants
instance GHC.Classes.Eq StripeAPI.Types.DeletedDiscount.DeletedDiscountPromotionCode'Variants
instance GHC.Show.Show StripeAPI.Types.DeletedDiscount.DeletedDiscountPromotionCode'Variants
instance GHC.Classes.Eq StripeAPI.Types.DeletedDiscount.DeletedDiscount
instance GHC.Show.Show StripeAPI.Types.DeletedDiscount.DeletedDiscount
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.DeletedDiscount.DeletedDiscount
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.DeletedDiscount.DeletedDiscount
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.DeletedDiscount.DeletedDiscountPromotionCode'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.DeletedDiscount.DeletedDiscountPromotionCode'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.DeletedDiscount.DeletedDiscountCustomer'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.DeletedDiscount.DeletedDiscountCustomer'Variants
-- | Contains the types generated from the schema PromotionCode
module StripeAPI.Types.PromotionCode
-- | Defines the object schema located at
-- components.schemas.promotion_code in the specification.
--
-- A Promotion Code represents a customer-redeemable code for a coupon.
-- It can be used to create multiple codes for a single coupon.
data PromotionCode
PromotionCode :: Bool -> Text -> Coupon -> Int -> Maybe PromotionCodeCustomer'Variants -> Maybe Int -> Text -> Bool -> Maybe Int -> Maybe Object -> PromotionCodesResourceRestrictions -> Int -> PromotionCode
-- | active: Whether the promotion code is currently active. A promotion
-- code is only active if the coupon is also valid.
[promotionCodeActive] :: PromotionCode -> Bool
-- | code: The customer-facing code. Regardless of case, this code must be
-- unique across all active promotion codes for each customer.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[promotionCodeCode] :: PromotionCode -> Text
-- | coupon: A coupon contains information about a percent-off or
-- amount-off discount you might want to apply to a customer. Coupons may
-- be applied to invoices or orders. Coupons do not work
-- with conventional one-off charges.
[promotionCodeCoupon] :: PromotionCode -> Coupon
-- | created: Time at which the object was created. Measured in seconds
-- since the Unix epoch.
[promotionCodeCreated] :: PromotionCode -> Int
-- | customer: The customer that this promotion code can be used by.
[promotionCodeCustomer] :: PromotionCode -> Maybe PromotionCodeCustomer'Variants
-- | expires_at: Date at which the promotion code can no longer be
-- redeemed.
[promotionCodeExpiresAt] :: PromotionCode -> Maybe Int
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[promotionCodeId] :: PromotionCode -> Text
-- | livemode: Has the value `true` if the object exists in live mode or
-- the value `false` if the object exists in test mode.
[promotionCodeLivemode] :: PromotionCode -> Bool
-- | max_redemptions: Maximum number of times this promotion code can be
-- redeemed.
[promotionCodeMaxRedemptions] :: PromotionCode -> Maybe Int
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format.
[promotionCodeMetadata] :: PromotionCode -> Maybe Object
-- | restrictions:
[promotionCodeRestrictions] :: PromotionCode -> PromotionCodesResourceRestrictions
-- | times_redeemed: Number of times this promotion code has been used.
[promotionCodeTimesRedeemed] :: PromotionCode -> Int
-- | Create a new PromotionCode with all required fields.
mkPromotionCode :: Bool -> Text -> Coupon -> Int -> Text -> Bool -> PromotionCodesResourceRestrictions -> Int -> PromotionCode
-- | Defines the oneOf schema located at
-- components.schemas.promotion_code.properties.customer.anyOf
-- in the specification.
--
-- The customer that this promotion code can be used by.
data PromotionCodeCustomer'Variants
PromotionCodeCustomer'Text :: Text -> PromotionCodeCustomer'Variants
PromotionCodeCustomer'Customer :: Customer -> PromotionCodeCustomer'Variants
PromotionCodeCustomer'DeletedCustomer :: DeletedCustomer -> PromotionCodeCustomer'Variants
instance GHC.Classes.Eq StripeAPI.Types.PromotionCode.PromotionCodeCustomer'Variants
instance GHC.Show.Show StripeAPI.Types.PromotionCode.PromotionCodeCustomer'Variants
instance GHC.Classes.Eq StripeAPI.Types.PromotionCode.PromotionCode
instance GHC.Show.Show StripeAPI.Types.PromotionCode.PromotionCode
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PromotionCode.PromotionCode
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PromotionCode.PromotionCode
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PromotionCode.PromotionCodeCustomer'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PromotionCode.PromotionCodeCustomer'Variants
-- | Contains the types generated from the schema
-- PromotionCodesResourceRestrictions
module StripeAPI.Types.PromotionCodesResourceRestrictions
-- | Defines the object schema located at
-- components.schemas.promotion_codes_resource_restrictions in
-- the specification.
data PromotionCodesResourceRestrictions
PromotionCodesResourceRestrictions :: Bool -> Maybe Int -> Maybe Text -> PromotionCodesResourceRestrictions
-- | first_time_transaction: A Boolean indicating if the Promotion Code
-- should only be redeemed for Customers without any successful payments
-- or invoices
[promotionCodesResourceRestrictionsFirstTimeTransaction] :: PromotionCodesResourceRestrictions -> Bool
-- | minimum_amount: Minimum amount required to redeem this Promotion Code
-- into a Coupon (e.g., a purchase must be $100 or more to work).
[promotionCodesResourceRestrictionsMinimumAmount] :: PromotionCodesResourceRestrictions -> Maybe Int
-- | minimum_amount_currency: Three-letter ISO code for
-- minimum_amount
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[promotionCodesResourceRestrictionsMinimumAmountCurrency] :: PromotionCodesResourceRestrictions -> Maybe Text
-- | Create a new PromotionCodesResourceRestrictions with all
-- required fields.
mkPromotionCodesResourceRestrictions :: Bool -> PromotionCodesResourceRestrictions
instance GHC.Classes.Eq StripeAPI.Types.PromotionCodesResourceRestrictions.PromotionCodesResourceRestrictions
instance GHC.Show.Show StripeAPI.Types.PromotionCodesResourceRestrictions.PromotionCodesResourceRestrictions
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PromotionCodesResourceRestrictions.PromotionCodesResourceRestrictions
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PromotionCodesResourceRestrictions.PromotionCodesResourceRestrictions
-- | Contains the types generated from the schema
-- RadarReviewResourceLocation
module StripeAPI.Types.RadarReviewResourceLocation
-- | Defines the object schema located at
-- components.schemas.radar_review_resource_location in the
-- specification.
data RadarReviewResourceLocation
RadarReviewResourceLocation :: Maybe Text -> Maybe Text -> Maybe Double -> Maybe Double -> Maybe Text -> RadarReviewResourceLocation
-- | city: The city where the payment originated.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[radarReviewResourceLocationCity] :: RadarReviewResourceLocation -> Maybe Text
-- | country: Two-letter ISO code representing the country where the
-- payment originated.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[radarReviewResourceLocationCountry] :: RadarReviewResourceLocation -> Maybe Text
-- | latitude: The geographic latitude where the payment originated.
[radarReviewResourceLocationLatitude] :: RadarReviewResourceLocation -> Maybe Double
-- | longitude: The geographic longitude where the payment originated.
[radarReviewResourceLocationLongitude] :: RadarReviewResourceLocation -> Maybe Double
-- | region: The state/county/province/region where the payment originated.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[radarReviewResourceLocationRegion] :: RadarReviewResourceLocation -> Maybe Text
-- | Create a new RadarReviewResourceLocation with all required
-- fields.
mkRadarReviewResourceLocation :: RadarReviewResourceLocation
instance GHC.Classes.Eq StripeAPI.Types.RadarReviewResourceLocation.RadarReviewResourceLocation
instance GHC.Show.Show StripeAPI.Types.RadarReviewResourceLocation.RadarReviewResourceLocation
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.RadarReviewResourceLocation.RadarReviewResourceLocation
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.RadarReviewResourceLocation.RadarReviewResourceLocation
-- | Contains the types generated from the schema
-- RadarReviewResourceSession
module StripeAPI.Types.RadarReviewResourceSession
-- | Defines the object schema located at
-- components.schemas.radar_review_resource_session in the
-- specification.
data RadarReviewResourceSession
RadarReviewResourceSession :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> RadarReviewResourceSession
-- | browser: The browser used in this browser session (e.g., `Chrome`).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[radarReviewResourceSessionBrowser] :: RadarReviewResourceSession -> Maybe Text
-- | device: Information about the device used for the browser session
-- (e.g., `Samsung SM-G930T`).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[radarReviewResourceSessionDevice] :: RadarReviewResourceSession -> Maybe Text
-- | platform: The platform for the browser session (e.g., `Macintosh`).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[radarReviewResourceSessionPlatform] :: RadarReviewResourceSession -> Maybe Text
-- | version: The version for the browser session (e.g., `61.0.3163.100`).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[radarReviewResourceSessionVersion] :: RadarReviewResourceSession -> Maybe Text
-- | Create a new RadarReviewResourceSession with all required
-- fields.
mkRadarReviewResourceSession :: RadarReviewResourceSession
instance GHC.Classes.Eq StripeAPI.Types.RadarReviewResourceSession.RadarReviewResourceSession
instance GHC.Show.Show StripeAPI.Types.RadarReviewResourceSession.RadarReviewResourceSession
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.RadarReviewResourceSession.RadarReviewResourceSession
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.RadarReviewResourceSession.RadarReviewResourceSession
-- | Contains the types generated from the schema Radar_EarlyFraudWarning
module StripeAPI.Types.Radar_EarlyFraudWarning
-- | Defines the object schema located at
-- components.schemas.radar.early_fraud_warning in the
-- specification.
--
-- An early fraud warning indicates that the card issuer has notified us
-- that a charge may be fraudulent.
--
-- Related guide: Early Fraud Warnings.
data Radar'earlyFraudWarning
Radar'earlyFraudWarning :: Bool -> Radar'earlyFraudWarningCharge'Variants -> Int -> Text -> Text -> Bool -> Maybe Radar'earlyFraudWarningPaymentIntent'Variants -> Radar'earlyFraudWarning
-- | actionable: An EFW is actionable if it has not received a dispute and
-- has not been fully refunded. You may wish to proactively refund a
-- charge that receives an EFW, in order to avoid receiving a dispute
-- later.
[radar'earlyFraudWarningActionable] :: Radar'earlyFraudWarning -> Bool
-- | charge: ID of the charge this early fraud warning is for, optionally
-- expanded.
[radar'earlyFraudWarningCharge] :: Radar'earlyFraudWarning -> Radar'earlyFraudWarningCharge'Variants
-- | created: Time at which the object was created. Measured in seconds
-- since the Unix epoch.
[radar'earlyFraudWarningCreated] :: Radar'earlyFraudWarning -> Int
-- | fraud_type: The type of fraud labelled by the issuer. One of
-- `card_never_received`, `fraudulent_card_application`,
-- `made_with_counterfeit_card`, `made_with_lost_card`,
-- `made_with_stolen_card`, `misc`, `unauthorized_use_of_card`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[radar'earlyFraudWarningFraudType] :: Radar'earlyFraudWarning -> Text
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[radar'earlyFraudWarningId] :: Radar'earlyFraudWarning -> Text
-- | livemode: Has the value `true` if the object exists in live mode or
-- the value `false` if the object exists in test mode.
[radar'earlyFraudWarningLivemode] :: Radar'earlyFraudWarning -> Bool
-- | payment_intent: ID of the Payment Intent this early fraud warning is
-- for, optionally expanded.
[radar'earlyFraudWarningPaymentIntent] :: Radar'earlyFraudWarning -> Maybe Radar'earlyFraudWarningPaymentIntent'Variants
-- | Create a new Radar'earlyFraudWarning with all required fields.
mkRadar'earlyFraudWarning :: Bool -> Radar'earlyFraudWarningCharge'Variants -> Int -> Text -> Text -> Bool -> Radar'earlyFraudWarning
-- | Defines the oneOf schema located at
-- components.schemas.radar.early_fraud_warning.properties.charge.anyOf
-- in the specification.
--
-- ID of the charge this early fraud warning is for, optionally expanded.
data Radar'earlyFraudWarningCharge'Variants
Radar'earlyFraudWarningCharge'Text :: Text -> Radar'earlyFraudWarningCharge'Variants
Radar'earlyFraudWarningCharge'Charge :: Charge -> Radar'earlyFraudWarningCharge'Variants
-- | Defines the oneOf schema located at
-- components.schemas.radar.early_fraud_warning.properties.payment_intent.anyOf
-- in the specification.
--
-- ID of the Payment Intent this early fraud warning is for, optionally
-- expanded.
data Radar'earlyFraudWarningPaymentIntent'Variants
Radar'earlyFraudWarningPaymentIntent'Text :: Text -> Radar'earlyFraudWarningPaymentIntent'Variants
Radar'earlyFraudWarningPaymentIntent'PaymentIntent :: PaymentIntent -> Radar'earlyFraudWarningPaymentIntent'Variants
instance GHC.Classes.Eq StripeAPI.Types.Radar_EarlyFraudWarning.Radar'earlyFraudWarningCharge'Variants
instance GHC.Show.Show StripeAPI.Types.Radar_EarlyFraudWarning.Radar'earlyFraudWarningCharge'Variants
instance GHC.Classes.Eq StripeAPI.Types.Radar_EarlyFraudWarning.Radar'earlyFraudWarningPaymentIntent'Variants
instance GHC.Show.Show StripeAPI.Types.Radar_EarlyFraudWarning.Radar'earlyFraudWarningPaymentIntent'Variants
instance GHC.Classes.Eq StripeAPI.Types.Radar_EarlyFraudWarning.Radar'earlyFraudWarning
instance GHC.Show.Show StripeAPI.Types.Radar_EarlyFraudWarning.Radar'earlyFraudWarning
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Radar_EarlyFraudWarning.Radar'earlyFraudWarning
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Radar_EarlyFraudWarning.Radar'earlyFraudWarning
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Radar_EarlyFraudWarning.Radar'earlyFraudWarningPaymentIntent'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Radar_EarlyFraudWarning.Radar'earlyFraudWarningPaymentIntent'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Radar_EarlyFraudWarning.Radar'earlyFraudWarningCharge'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Radar_EarlyFraudWarning.Radar'earlyFraudWarningCharge'Variants
-- | Contains the types generated from the schema Radar_ValueList
module StripeAPI.Types.Radar_ValueList
-- | Defines the object schema located at
-- components.schemas.radar.value_list in the specification.
--
-- Value lists allow you to group values together which can then be
-- referenced in rules.
--
-- Related guide: Default Stripe Lists.
data Radar'valueList
Radar'valueList :: Text -> Int -> Text -> Text -> Radar'valueListItemType' -> Radar'valueListListItems' -> Bool -> Object -> Text -> Radar'valueList
-- | alias: The name of the value list for use in rules.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[radar'valueListAlias] :: Radar'valueList -> Text
-- | created: Time at which the object was created. Measured in seconds
-- since the Unix epoch.
[radar'valueListCreated] :: Radar'valueList -> Int
-- | created_by: The name or email address of the user who created this
-- value list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[radar'valueListCreatedBy] :: Radar'valueList -> Text
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[radar'valueListId] :: Radar'valueList -> Text
-- | item_type: The type of items in the value list. One of
-- `card_fingerprint`, `card_bin`, `email`, `ip_address`, `country`,
-- `string`, or `case_sensitive_string`.
[radar'valueListItemType] :: Radar'valueList -> Radar'valueListItemType'
-- | list_items: List of items contained within this value list.
[radar'valueListListItems] :: Radar'valueList -> Radar'valueListListItems'
-- | livemode: Has the value `true` if the object exists in live mode or
-- the value `false` if the object exists in test mode.
[radar'valueListLivemode] :: Radar'valueList -> Bool
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format.
[radar'valueListMetadata] :: Radar'valueList -> Object
-- | name: The name of the value list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[radar'valueListName] :: Radar'valueList -> Text
-- | Create a new Radar'valueList with all required fields.
mkRadar'valueList :: Text -> Int -> Text -> Text -> Radar'valueListItemType' -> Radar'valueListListItems' -> Bool -> Object -> Text -> Radar'valueList
-- | Defines the enum schema located at
-- components.schemas.radar.value_list.properties.item_type in
-- the specification.
--
-- The type of items in the value list. One of `card_fingerprint`,
-- `card_bin`, `email`, `ip_address`, `country`, `string`, or
-- `case_sensitive_string`.
data Radar'valueListItemType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
Radar'valueListItemType'Other :: Value -> Radar'valueListItemType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
Radar'valueListItemType'Typed :: Text -> Radar'valueListItemType'
-- | Represents the JSON value "card_bin"
Radar'valueListItemType'EnumCardBin :: Radar'valueListItemType'
-- | Represents the JSON value "card_fingerprint"
Radar'valueListItemType'EnumCardFingerprint :: Radar'valueListItemType'
-- | Represents the JSON value "case_sensitive_string"
Radar'valueListItemType'EnumCaseSensitiveString :: Radar'valueListItemType'
-- | Represents the JSON value "country"
Radar'valueListItemType'EnumCountry :: Radar'valueListItemType'
-- | Represents the JSON value "email"
Radar'valueListItemType'EnumEmail :: Radar'valueListItemType'
-- | Represents the JSON value "ip_address"
Radar'valueListItemType'EnumIpAddress :: Radar'valueListItemType'
-- | Represents the JSON value "string"
Radar'valueListItemType'EnumString :: Radar'valueListItemType'
-- | Defines the object schema located at
-- components.schemas.radar.value_list.properties.list_items in
-- the specification.
--
-- List of items contained within this value list.
data Radar'valueListListItems'
Radar'valueListListItems' :: [Radar'valueListItem] -> Bool -> Text -> Radar'valueListListItems'
-- | data: Details about each object.
[radar'valueListListItems'Data] :: Radar'valueListListItems' -> [Radar'valueListItem]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[radar'valueListListItems'HasMore] :: Radar'valueListListItems' -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[radar'valueListListItems'Url] :: Radar'valueListListItems' -> Text
-- | Create a new Radar'valueListListItems' with all required
-- fields.
mkRadar'valueListListItems' :: [Radar'valueListItem] -> Bool -> Text -> Radar'valueListListItems'
instance GHC.Classes.Eq StripeAPI.Types.Radar_ValueList.Radar'valueListItemType'
instance GHC.Show.Show StripeAPI.Types.Radar_ValueList.Radar'valueListItemType'
instance GHC.Classes.Eq StripeAPI.Types.Radar_ValueList.Radar'valueListListItems'
instance GHC.Show.Show StripeAPI.Types.Radar_ValueList.Radar'valueListListItems'
instance GHC.Classes.Eq StripeAPI.Types.Radar_ValueList.Radar'valueList
instance GHC.Show.Show StripeAPI.Types.Radar_ValueList.Radar'valueList
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Radar_ValueList.Radar'valueList
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Radar_ValueList.Radar'valueList
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Radar_ValueList.Radar'valueListListItems'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Radar_ValueList.Radar'valueListListItems'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Radar_ValueList.Radar'valueListItemType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Radar_ValueList.Radar'valueListItemType'
-- | Contains the types generated from the schema Radar_ValueListItem
module StripeAPI.Types.Radar_ValueListItem
-- | Defines the object schema located at
-- components.schemas.radar.value_list_item in the
-- specification.
--
-- Value list items allow you to add specific values to a given Radar
-- value list, which can then be used in rules.
--
-- Related guide: Managing List Items.
data Radar'valueListItem
Radar'valueListItem :: Int -> Text -> Text -> Bool -> Text -> Text -> Radar'valueListItem
-- | created: Time at which the object was created. Measured in seconds
-- since the Unix epoch.
[radar'valueListItemCreated] :: Radar'valueListItem -> Int
-- | created_by: The name or email address of the user who added this item
-- to the value list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[radar'valueListItemCreatedBy] :: Radar'valueListItem -> Text
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[radar'valueListItemId] :: Radar'valueListItem -> Text
-- | livemode: Has the value `true` if the object exists in live mode or
-- the value `false` if the object exists in test mode.
[radar'valueListItemLivemode] :: Radar'valueListItem -> Bool
-- | value: The value of the item.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[radar'valueListItemValue] :: Radar'valueListItem -> Text
-- | value_list: The identifier of the value list this item belongs to.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[radar'valueListItemValueList] :: Radar'valueListItem -> Text
-- | Create a new Radar'valueListItem with all required fields.
mkRadar'valueListItem :: Int -> Text -> Text -> Bool -> Text -> Text -> Radar'valueListItem
instance GHC.Classes.Eq StripeAPI.Types.Radar_ValueListItem.Radar'valueListItem
instance GHC.Show.Show StripeAPI.Types.Radar_ValueListItem.Radar'valueListItem
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Radar_ValueListItem.Radar'valueListItem
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Radar_ValueListItem.Radar'valueListItem
-- | Contains the types generated from the schema ExternalAccount
module StripeAPI.Types.ExternalAccount
-- | Defines the object schema located at
-- components.schemas.external_account.anyOf in the
-- specification.
data ExternalAccount
ExternalAccount :: Maybe ExternalAccountAccount'Variants -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe [ExternalAccountAvailablePayoutMethods'] -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe ExternalAccountCustomer'Variants -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe Int -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Object -> Maybe Text -> Maybe ExternalAccountObject' -> Maybe ExternalAccountRecipient'Variants -> Maybe Text -> Maybe Text -> Maybe Text -> ExternalAccount
-- | account: The ID of the account that the bank account is associated
-- with.
[externalAccountAccount] :: ExternalAccount -> Maybe ExternalAccountAccount'Variants
-- | account_holder_name: The name of the person or business that owns the
-- bank account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[externalAccountAccountHolderName] :: ExternalAccount -> Maybe Text
-- | account_holder_type: The type of entity that holds the account. This
-- can be either `individual` or `company`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[externalAccountAccountHolderType] :: ExternalAccount -> Maybe Text
-- | address_city: City/District/Suburb/Town/Village.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[externalAccountAddressCity] :: ExternalAccount -> Maybe Text
-- | address_country: Billing address country, if provided when creating
-- card.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[externalAccountAddressCountry] :: ExternalAccount -> Maybe Text
-- | address_line1: Address line 1 (Street address/PO Box/Company name).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[externalAccountAddressLine1] :: ExternalAccount -> Maybe Text
-- | address_line1_check: If `address_line1` was provided, results of the
-- check: `pass`, `fail`, `unavailable`, or `unchecked`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[externalAccountAddressLine1Check] :: ExternalAccount -> Maybe Text
-- | address_line2: Address line 2 (Apartment/Suite/Unit/Building).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[externalAccountAddressLine2] :: ExternalAccount -> Maybe Text
-- | address_state: State/County/Province/Region.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[externalAccountAddressState] :: ExternalAccount -> Maybe Text
-- | address_zip: ZIP or postal code.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[externalAccountAddressZip] :: ExternalAccount -> Maybe Text
-- | address_zip_check: If `address_zip` was provided, results of the
-- check: `pass`, `fail`, `unavailable`, or `unchecked`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[externalAccountAddressZipCheck] :: ExternalAccount -> Maybe Text
-- | available_payout_methods: A set of available payout methods for this
-- bank account. Only values from this set should be passed as the
-- `method` when creating a payout.
[externalAccountAvailablePayoutMethods] :: ExternalAccount -> Maybe [ExternalAccountAvailablePayoutMethods']
-- | bank_name: Name of the bank associated with the routing number (e.g.,
-- `WELLS FARGO`).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[externalAccountBankName] :: ExternalAccount -> Maybe Text
-- | brand: Card brand. Can be `American Express`, `Diners Club`,
-- `Discover`, `JCB`, `MasterCard`, `UnionPay`, `Visa`, or `Unknown`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[externalAccountBrand] :: ExternalAccount -> Maybe Text
-- | country: Two-letter ISO code representing the country the bank account
-- is located in.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[externalAccountCountry] :: ExternalAccount -> Maybe Text
-- | currency: Three-letter ISO code for the currency paid out to
-- the bank account.
[externalAccountCurrency] :: ExternalAccount -> Maybe Text
-- | customer: The ID of the customer that the bank account is associated
-- with.
[externalAccountCustomer] :: ExternalAccount -> Maybe ExternalAccountCustomer'Variants
-- | cvc_check: If a CVC was provided, results of the check: `pass`,
-- `fail`, `unavailable`, or `unchecked`. A result of unchecked indicates
-- that CVC was provided but hasn't been checked yet. Checks are
-- typically performed when attaching a card to a Customer object, or
-- when creating a charge. For more details, see Check if a card is
-- valid without a charge.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[externalAccountCvcCheck] :: ExternalAccount -> Maybe Text
-- | default_for_currency: Whether this bank account is the default
-- external account for its currency.
[externalAccountDefaultForCurrency] :: ExternalAccount -> Maybe Bool
-- | dynamic_last4: (For tokenized numbers only.) The last four digits of
-- the device account number.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[externalAccountDynamicLast4] :: ExternalAccount -> Maybe Text
-- | exp_month: Two-digit number representing the card's expiration month.
[externalAccountExpMonth] :: ExternalAccount -> Maybe Int
-- | exp_year: Four-digit number representing the card's expiration year.
[externalAccountExpYear] :: ExternalAccount -> Maybe Int
-- | fingerprint: Uniquely identifies this particular bank account. You can
-- use this attribute to check whether two bank accounts are the same.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[externalAccountFingerprint] :: ExternalAccount -> Maybe Text
-- | funding: Card funding type. Can be `credit`, `debit`, `prepaid`, or
-- `unknown`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[externalAccountFunding] :: ExternalAccount -> Maybe Text
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[externalAccountId] :: ExternalAccount -> Maybe Text
-- | last4: The last four digits of the bank account number.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[externalAccountLast4] :: ExternalAccount -> Maybe Text
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format.
[externalAccountMetadata] :: ExternalAccount -> Maybe Object
-- | name: Cardholder name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[externalAccountName] :: ExternalAccount -> Maybe Text
-- | object: String representing the object's type. Objects of the same
-- type share the same value.
[externalAccountObject] :: ExternalAccount -> Maybe ExternalAccountObject'
-- | recipient: 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.
[externalAccountRecipient] :: ExternalAccount -> Maybe ExternalAccountRecipient'Variants
-- | routing_number: The routing transit number for the bank account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[externalAccountRoutingNumber] :: ExternalAccount -> Maybe Text
-- | status: For bank accounts, possible values are `new`, `validated`,
-- `verified`, `verification_failed`, or `errored`. A bank account that
-- hasn't had any activity or validation performed is `new`. If Stripe
-- can determine that the bank account exists, its status will be
-- `validated`. Note that there often isn’t enough information to know
-- (e.g., for smaller credit unions), and the validation is not always
-- run. If customer bank account verification has succeeded, the bank
-- account status will be `verified`. If the verification failed for any
-- reason, such as microdeposit failure, the status will be
-- `verification_failed`. If a transfer sent to this bank account fails,
-- we'll set the status to `errored` and will not continue to send
-- transfers until the bank details are updated.
--
-- For external accounts, possible values are `new` and `errored`.
-- Validations aren't run against external accounts because they're only
-- used for payouts. This means the other statuses don't apply. If a
-- transfer fails, the status is set to `errored` and transfers are
-- stopped until account details are updated.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[externalAccountStatus] :: ExternalAccount -> Maybe Text
-- | tokenization_method: If the card number is tokenized, this is the
-- method that was used. Can be `android_pay` (includes Google Pay),
-- `apple_pay`, `masterpass`, `visa_checkout`, or null.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[externalAccountTokenizationMethod] :: ExternalAccount -> Maybe Text
-- | Create a new ExternalAccount with all required fields.
mkExternalAccount :: ExternalAccount
-- | Defines the oneOf schema located at
-- components.schemas.external_account.anyOf.properties.account.anyOf
-- in the specification.
--
-- The ID of the account that the bank account is associated with.
data ExternalAccountAccount'Variants
ExternalAccountAccount'Text :: Text -> ExternalAccountAccount'Variants
ExternalAccountAccount'Account :: Account -> ExternalAccountAccount'Variants
-- | Defines the enum schema located at
-- components.schemas.external_account.anyOf.properties.available_payout_methods.items
-- in the specification.
data ExternalAccountAvailablePayoutMethods'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
ExternalAccountAvailablePayoutMethods'Other :: Value -> ExternalAccountAvailablePayoutMethods'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
ExternalAccountAvailablePayoutMethods'Typed :: Text -> ExternalAccountAvailablePayoutMethods'
-- | Represents the JSON value "instant"
ExternalAccountAvailablePayoutMethods'EnumInstant :: ExternalAccountAvailablePayoutMethods'
-- | Represents the JSON value "standard"
ExternalAccountAvailablePayoutMethods'EnumStandard :: ExternalAccountAvailablePayoutMethods'
-- | Defines the oneOf schema located at
-- components.schemas.external_account.anyOf.properties.customer.anyOf
-- in the specification.
--
-- The ID of the customer that the bank account is associated with.
data ExternalAccountCustomer'Variants
ExternalAccountCustomer'Text :: Text -> ExternalAccountCustomer'Variants
ExternalAccountCustomer'Customer :: Customer -> ExternalAccountCustomer'Variants
ExternalAccountCustomer'DeletedCustomer :: DeletedCustomer -> ExternalAccountCustomer'Variants
-- | Defines the enum schema located at
-- components.schemas.external_account.anyOf.properties.object
-- in the specification.
--
-- String representing the object's type. Objects of the same type share
-- the same value.
data ExternalAccountObject'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
ExternalAccountObject'Other :: Value -> ExternalAccountObject'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
ExternalAccountObject'Typed :: Text -> ExternalAccountObject'
-- | Represents the JSON value "bank_account"
ExternalAccountObject'EnumBankAccount :: ExternalAccountObject'
-- | Defines the oneOf schema located at
-- components.schemas.external_account.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 ExternalAccountRecipient'Variants
ExternalAccountRecipient'Text :: Text -> ExternalAccountRecipient'Variants
ExternalAccountRecipient'Recipient :: Recipient -> ExternalAccountRecipient'Variants
instance GHC.Classes.Eq StripeAPI.Types.ExternalAccount.ExternalAccountAccount'Variants
instance GHC.Show.Show StripeAPI.Types.ExternalAccount.ExternalAccountAccount'Variants
instance GHC.Classes.Eq StripeAPI.Types.ExternalAccount.ExternalAccountAvailablePayoutMethods'
instance GHC.Show.Show StripeAPI.Types.ExternalAccount.ExternalAccountAvailablePayoutMethods'
instance GHC.Classes.Eq StripeAPI.Types.ExternalAccount.ExternalAccountCustomer'Variants
instance GHC.Show.Show StripeAPI.Types.ExternalAccount.ExternalAccountCustomer'Variants
instance GHC.Classes.Eq StripeAPI.Types.ExternalAccount.ExternalAccountObject'
instance GHC.Show.Show StripeAPI.Types.ExternalAccount.ExternalAccountObject'
instance GHC.Classes.Eq StripeAPI.Types.ExternalAccount.ExternalAccountRecipient'Variants
instance GHC.Show.Show StripeAPI.Types.ExternalAccount.ExternalAccountRecipient'Variants
instance GHC.Classes.Eq StripeAPI.Types.ExternalAccount.ExternalAccount
instance GHC.Show.Show StripeAPI.Types.ExternalAccount.ExternalAccount
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.ExternalAccount.ExternalAccount
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.ExternalAccount.ExternalAccount
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.ExternalAccount.ExternalAccountRecipient'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.ExternalAccount.ExternalAccountRecipient'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.ExternalAccount.ExternalAccountObject'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.ExternalAccount.ExternalAccountObject'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.ExternalAccount.ExternalAccountCustomer'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.ExternalAccount.ExternalAccountCustomer'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.ExternalAccount.ExternalAccountAvailablePayoutMethods'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.ExternalAccount.ExternalAccountAvailablePayoutMethods'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.ExternalAccount.ExternalAccountAccount'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.ExternalAccount.ExternalAccountAccount'Variants
-- | Contains the types generated from the schema Card
module StripeAPI.Types.Card
-- | Defines the object schema located at components.schemas.card
-- in the specification.
--
-- You can store multiple cards on a customer in order to charge the
-- customer later. You can also store multiple debit cards on a recipient
-- in order to transfer to those cards later.
--
-- Related guide: Card Payments with Sources.
data Card
Card :: Maybe CardAccount'Variants -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe [CardAvailablePayoutMethods'] -> Text -> Maybe Text -> Maybe Text -> Maybe CardCustomer'Variants -> Maybe Text -> Maybe Bool -> Maybe Text -> Int -> Int -> Maybe Text -> Text -> Text -> Text -> Maybe Object -> Maybe Text -> Maybe CardRecipient'Variants -> Maybe Text -> Card
-- | account: The account this card belongs to. This attribute will not be
-- in the card object if the card belongs to a customer or recipient
-- instead.
[cardAccount] :: Card -> Maybe CardAccount'Variants
-- | address_city: City/District/Suburb/Town/Village.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[cardAddressCity] :: Card -> Maybe Text
-- | address_country: Billing address country, if provided when creating
-- card.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[cardAddressCountry] :: Card -> Maybe Text
-- | address_line1: Address line 1 (Street address/PO Box/Company name).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[cardAddressLine1] :: Card -> Maybe Text
-- | address_line1_check: If `address_line1` was provided, results of the
-- check: `pass`, `fail`, `unavailable`, or `unchecked`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[cardAddressLine1Check] :: Card -> Maybe Text
-- | address_line2: Address line 2 (Apartment/Suite/Unit/Building).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[cardAddressLine2] :: Card -> Maybe Text
-- | address_state: State/County/Province/Region.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[cardAddressState] :: Card -> Maybe Text
-- | address_zip: ZIP or postal code.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[cardAddressZip] :: Card -> Maybe Text
-- | address_zip_check: If `address_zip` was provided, results of the
-- check: `pass`, `fail`, `unavailable`, or `unchecked`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[cardAddressZipCheck] :: Card -> Maybe Text
-- | available_payout_methods: A set of available payout methods for this
-- card. Only values from this set should be passed as the `method` when
-- creating a payout.
[cardAvailablePayoutMethods] :: Card -> Maybe [CardAvailablePayoutMethods']
-- | brand: Card brand. Can be `American Express`, `Diners Club`,
-- `Discover`, `JCB`, `MasterCard`, `UnionPay`, `Visa`, or `Unknown`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[cardBrand] :: Card -> Text
-- | country: Two-letter ISO code representing the country of the card. You
-- could use this attribute to get a sense of the international breakdown
-- of cards you've collected.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[cardCountry] :: Card -> Maybe Text
-- | currency: Three-letter ISO code for currency. Only applicable
-- on accounts (not customers or recipients). The card can be used as a
-- transfer destination for funds in this currency.
[cardCurrency] :: Card -> Maybe Text
-- | customer: The customer that this card belongs to. This attribute will
-- not be in the card object if the card belongs to an account or
-- recipient instead.
[cardCustomer] :: Card -> Maybe CardCustomer'Variants
-- | cvc_check: If a CVC was provided, results of the check: `pass`,
-- `fail`, `unavailable`, or `unchecked`. A result of unchecked indicates
-- that CVC was provided but hasn't been checked yet. Checks are
-- typically performed when attaching a card to a Customer object, or
-- when creating a charge. For more details, see Check if a card is
-- valid without a charge.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[cardCvcCheck] :: Card -> Maybe Text
-- | default_for_currency: Whether this card is the default external
-- account for its currency.
[cardDefaultForCurrency] :: Card -> Maybe Bool
-- | dynamic_last4: (For tokenized numbers only.) The last four digits of
-- the device account number.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[cardDynamicLast4] :: Card -> Maybe Text
-- | exp_month: Two-digit number representing the card's expiration month.
[cardExpMonth] :: Card -> Int
-- | exp_year: Four-digit number representing the card's expiration year.
[cardExpYear] :: Card -> Int
-- | fingerprint: Uniquely identifies this particular card number. You can
-- use this attribute to check whether two customers who’ve signed up
-- with you are using the same card number, for example. For payment
-- methods that tokenize card information (Apple Pay, Google Pay), the
-- tokenized number might be provided instead of the underlying card
-- number.
--
--
-- - Starting May 1, 2021, card fingerprint in India for Connect will
-- change to allow two fingerprints for the same card --- one for India
-- and one for the rest of the world.*
--
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[cardFingerprint] :: Card -> Maybe Text
-- | funding: Card funding type. Can be `credit`, `debit`, `prepaid`, or
-- `unknown`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[cardFunding] :: Card -> Text
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[cardId] :: Card -> Text
-- | last4: The last four digits of the card.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[cardLast4] :: Card -> Text
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format.
[cardMetadata] :: Card -> Maybe Object
-- | name: Cardholder name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[cardName] :: Card -> Maybe Text
-- | recipient: 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.
[cardRecipient] :: Card -> Maybe CardRecipient'Variants
-- | tokenization_method: If the card number is tokenized, this is the
-- method that was used. Can be `android_pay` (includes Google Pay),
-- `apple_pay`, `masterpass`, `visa_checkout`, or null.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[cardTokenizationMethod] :: Card -> Maybe Text
-- | Create a new Card with all required fields.
mkCard :: Text -> Int -> Int -> Text -> Text -> Text -> Card
-- | Defines the oneOf schema located at
-- components.schemas.card.properties.account.anyOf in the
-- specification.
--
-- The account this card belongs to. This attribute will not be in the
-- card object if the card belongs to a customer or recipient instead.
data CardAccount'Variants
CardAccount'Text :: Text -> CardAccount'Variants
CardAccount'Account :: Account -> CardAccount'Variants
-- | Defines the enum schema located at
-- components.schemas.card.properties.available_payout_methods.items
-- in the specification.
data CardAvailablePayoutMethods'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
CardAvailablePayoutMethods'Other :: Value -> CardAvailablePayoutMethods'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
CardAvailablePayoutMethods'Typed :: Text -> CardAvailablePayoutMethods'
-- | Represents the JSON value "instant"
CardAvailablePayoutMethods'EnumInstant :: CardAvailablePayoutMethods'
-- | Represents the JSON value "standard"
CardAvailablePayoutMethods'EnumStandard :: CardAvailablePayoutMethods'
-- | Defines the oneOf schema located at
-- components.schemas.card.properties.customer.anyOf in the
-- specification.
--
-- The customer that this card belongs to. This attribute will not be in
-- the card object if the card belongs to an account or recipient
-- instead.
data CardCustomer'Variants
CardCustomer'Text :: Text -> CardCustomer'Variants
CardCustomer'Customer :: Customer -> CardCustomer'Variants
CardCustomer'DeletedCustomer :: DeletedCustomer -> CardCustomer'Variants
-- | Defines the oneOf schema located at
-- components.schemas.card.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 CardRecipient'Variants
CardRecipient'Text :: Text -> CardRecipient'Variants
CardRecipient'Recipient :: Recipient -> CardRecipient'Variants
instance GHC.Classes.Eq StripeAPI.Types.Card.CardAccount'Variants
instance GHC.Show.Show StripeAPI.Types.Card.CardAccount'Variants
instance GHC.Classes.Eq StripeAPI.Types.Card.CardAvailablePayoutMethods'
instance GHC.Show.Show StripeAPI.Types.Card.CardAvailablePayoutMethods'
instance GHC.Classes.Eq StripeAPI.Types.Card.CardCustomer'Variants
instance GHC.Show.Show StripeAPI.Types.Card.CardCustomer'Variants
instance GHC.Classes.Eq StripeAPI.Types.Card.CardRecipient'Variants
instance GHC.Show.Show StripeAPI.Types.Card.CardRecipient'Variants
instance GHC.Classes.Eq StripeAPI.Types.Card.Card
instance GHC.Show.Show StripeAPI.Types.Card.Card
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Card.Card
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Card.Card
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Card.CardRecipient'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Card.CardRecipient'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Card.CardCustomer'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Card.CardCustomer'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Card.CardAvailablePayoutMethods'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Card.CardAvailablePayoutMethods'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Card.CardAccount'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Card.CardAccount'Variants
-- | Contains the types generated from the schema Account
module StripeAPI.Types.Account
-- | Defines the object schema located at
-- components.schemas.account in the specification.
--
-- This is an object representing a Stripe account. You can retrieve it
-- to see properties on the account like its current e-mail address or if
-- the account is enabled yet to make live charges.
--
-- Some properties, marked below, are available only to platforms that
-- want to create and manage Express or Custom accounts.
data Account
Account :: Maybe AccountBusinessProfile' -> Maybe AccountBusinessType' -> Maybe AccountCapabilities -> Maybe Bool -> Maybe LegalEntityCompany -> Maybe AccountController -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe AccountExternalAccounts' -> Text -> Maybe Person -> Maybe Object -> Maybe Bool -> Maybe AccountRequirements -> Maybe AccountSettings' -> Maybe AccountTosAcceptance -> Maybe AccountType' -> Account
-- | business_profile: Business information about the account.
[accountBusinessProfile] :: Account -> Maybe AccountBusinessProfile'
-- | business_type: The business type.
[accountBusinessType] :: Account -> Maybe AccountBusinessType'
-- | capabilities:
[accountCapabilities] :: Account -> Maybe AccountCapabilities
-- | charges_enabled: Whether the account can create live charges.
[accountChargesEnabled] :: Account -> Maybe Bool
-- | company:
[accountCompany] :: Account -> Maybe LegalEntityCompany
-- | controller:
[accountController] :: Account -> Maybe AccountController
-- | country: The account's country.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[accountCountry] :: Account -> Maybe Text
-- | created: Time at which the object was created. Measured in seconds
-- since the Unix epoch.
[accountCreated] :: Account -> Maybe Int
-- | default_currency: Three-letter ISO currency code representing the
-- default currency for the account. This must be a currency that
-- Stripe supports in the account's country.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[accountDefaultCurrency] :: Account -> Maybe Text
-- | details_submitted: Whether account details have been submitted.
-- Standard accounts cannot receive payouts before this is true.
[accountDetailsSubmitted] :: Account -> Maybe Bool
-- | email: An email address associated with the account. You can treat
-- this as metadata: it is not used for authentication or messaging
-- account holders.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[accountEmail] :: Account -> Maybe Text
-- | external_accounts: External accounts (bank accounts and debit cards)
-- currently attached to this account
[accountExternalAccounts] :: Account -> Maybe AccountExternalAccounts'
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[accountId] :: Account -> Text
-- | individual: This is an object representing a person associated with a
-- Stripe account.
--
-- A platform cannot access a Standard or Express account's persons after
-- the account starts onboarding, such as after generating an account
-- link for the account. See the Standard onboarding or Express
-- onboarding documentation for information about platform
-- pre-filling and account onboarding steps.
--
-- Related guide: Handling Identity Verification with the API.
[accountIndividual] :: Account -> Maybe Person
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format.
[accountMetadata] :: Account -> Maybe Object
-- | payouts_enabled: Whether Stripe can send payouts to this account.
[accountPayoutsEnabled] :: Account -> Maybe Bool
-- | requirements:
[accountRequirements] :: Account -> Maybe AccountRequirements
-- | settings: Options for customizing how the account functions within
-- Stripe.
[accountSettings] :: Account -> Maybe AccountSettings'
-- | tos_acceptance:
[accountTosAcceptance] :: Account -> Maybe AccountTosAcceptance
-- | type: The Stripe account type. Can be `standard`, `express`, or
-- `custom`.
[accountType] :: Account -> Maybe AccountType'
-- | Create a new Account with all required fields.
mkAccount :: Text -> Account
-- | Defines the object schema located at
-- components.schemas.account.properties.business_profile.anyOf
-- in the specification.
--
-- Business information about the account.
data AccountBusinessProfile'
AccountBusinessProfile' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe AccountBusinessProfile'SupportAddress' -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> AccountBusinessProfile'
-- | mcc: The merchant category code for the account. MCCs are used
-- to classify businesses based on the goods or services they provide.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[accountBusinessProfile'Mcc] :: AccountBusinessProfile' -> Maybe Text
-- | name: The customer-facing business name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[accountBusinessProfile'Name] :: AccountBusinessProfile' -> Maybe Text
-- | product_description: Internal-only description of the product sold or
-- service provided by the business. It's used by Stripe for risk and
-- underwriting purposes.
--
-- Constraints:
--
--
-- - Maximum length of 40000
--
[accountBusinessProfile'ProductDescription] :: AccountBusinessProfile' -> Maybe Text
-- | support_address: A publicly available mailing address for sending
-- support issues to.
[accountBusinessProfile'SupportAddress] :: AccountBusinessProfile' -> Maybe AccountBusinessProfile'SupportAddress'
-- | support_email: A publicly available email address for sending support
-- issues to.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[accountBusinessProfile'SupportEmail] :: AccountBusinessProfile' -> Maybe Text
-- | support_phone: A publicly available phone number to call with support
-- issues.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[accountBusinessProfile'SupportPhone] :: AccountBusinessProfile' -> Maybe Text
-- | support_url: A publicly available website for handling support issues.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[accountBusinessProfile'SupportUrl] :: AccountBusinessProfile' -> Maybe Text
-- | url: The business's publicly available website.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[accountBusinessProfile'Url] :: AccountBusinessProfile' -> Maybe Text
-- | Create a new AccountBusinessProfile' with all required fields.
mkAccountBusinessProfile' :: AccountBusinessProfile'
-- | Defines the object schema located at
-- components.schemas.account.properties.business_profile.anyOf.properties.support_address.anyOf
-- in the specification.
--
-- A publicly available mailing address for sending support issues to.
data AccountBusinessProfile'SupportAddress'
AccountBusinessProfile'SupportAddress' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> AccountBusinessProfile'SupportAddress'
-- | city: City, district, suburb, town, or village.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[accountBusinessProfile'SupportAddress'City] :: AccountBusinessProfile'SupportAddress' -> Maybe Text
-- | country: Two-letter country code ([ISO 3166-1
-- alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[accountBusinessProfile'SupportAddress'Country] :: AccountBusinessProfile'SupportAddress' -> Maybe Text
-- | line1: Address line 1 (e.g., street, PO Box, or company name).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[accountBusinessProfile'SupportAddress'Line1] :: AccountBusinessProfile'SupportAddress' -> Maybe Text
-- | line2: Address line 2 (e.g., apartment, suite, unit, or building).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[accountBusinessProfile'SupportAddress'Line2] :: AccountBusinessProfile'SupportAddress' -> Maybe Text
-- | postal_code: ZIP or postal code.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[accountBusinessProfile'SupportAddress'PostalCode] :: AccountBusinessProfile'SupportAddress' -> Maybe Text
-- | state: State, county, province, or region.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[accountBusinessProfile'SupportAddress'State] :: AccountBusinessProfile'SupportAddress' -> Maybe Text
-- | Create a new AccountBusinessProfile'SupportAddress' with all
-- required fields.
mkAccountBusinessProfile'SupportAddress' :: AccountBusinessProfile'SupportAddress'
-- | Defines the enum schema located at
-- components.schemas.account.properties.business_type in the
-- specification.
--
-- The business type.
data AccountBusinessType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
AccountBusinessType'Other :: Value -> AccountBusinessType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
AccountBusinessType'Typed :: Text -> AccountBusinessType'
-- | Represents the JSON value "company"
AccountBusinessType'EnumCompany :: AccountBusinessType'
-- | Represents the JSON value "government_entity"
AccountBusinessType'EnumGovernmentEntity :: AccountBusinessType'
-- | Represents the JSON value "individual"
AccountBusinessType'EnumIndividual :: AccountBusinessType'
-- | Represents the JSON value "non_profit"
AccountBusinessType'EnumNonProfit :: AccountBusinessType'
-- | Defines the object schema located at
-- components.schemas.account.properties.external_accounts in
-- the specification.
--
-- External accounts (bank accounts and debit cards) currently attached
-- to this account
data AccountExternalAccounts'
AccountExternalAccounts' :: [AccountExternalAccounts'Data'] -> Bool -> Text -> AccountExternalAccounts'
-- | data: The list contains all external accounts that have been attached
-- to the Stripe account. These may be bank accounts or cards.
[accountExternalAccounts'Data] :: AccountExternalAccounts' -> [AccountExternalAccounts'Data']
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[accountExternalAccounts'HasMore] :: AccountExternalAccounts' -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[accountExternalAccounts'Url] :: AccountExternalAccounts' -> Text
-- | Create a new AccountExternalAccounts' with all required fields.
mkAccountExternalAccounts' :: [AccountExternalAccounts'Data'] -> Bool -> Text -> AccountExternalAccounts'
-- | Defines the object schema located at
-- components.schemas.account.properties.external_accounts.properties.data.items.anyOf
-- in the specification.
data AccountExternalAccounts'Data'
AccountExternalAccounts'Data' :: Maybe AccountExternalAccounts'Data'Account'Variants -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe [AccountExternalAccounts'Data'AvailablePayoutMethods'] -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe AccountExternalAccounts'Data'Customer'Variants -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe Int -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Object -> Maybe Text -> Maybe AccountExternalAccounts'Data'Object' -> Maybe AccountExternalAccounts'Data'Recipient'Variants -> Maybe Text -> Maybe Text -> Maybe Text -> AccountExternalAccounts'Data'
-- | account: The ID of the account that the bank account is associated
-- with.
[accountExternalAccounts'Data'Account] :: AccountExternalAccounts'Data' -> Maybe AccountExternalAccounts'Data'Account'Variants
-- | account_holder_name: The name of the person or business that owns the
-- bank account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[accountExternalAccounts'Data'AccountHolderName] :: AccountExternalAccounts'Data' -> Maybe Text
-- | account_holder_type: The type of entity that holds the account. This
-- can be either `individual` or `company`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[accountExternalAccounts'Data'AccountHolderType] :: AccountExternalAccounts'Data' -> Maybe Text
-- | address_city: City/District/Suburb/Town/Village.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[accountExternalAccounts'Data'AddressCity] :: AccountExternalAccounts'Data' -> Maybe Text
-- | address_country: Billing address country, if provided when creating
-- card.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[accountExternalAccounts'Data'AddressCountry] :: AccountExternalAccounts'Data' -> Maybe Text
-- | address_line1: Address line 1 (Street address/PO Box/Company name).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[accountExternalAccounts'Data'AddressLine1] :: AccountExternalAccounts'Data' -> Maybe Text
-- | address_line1_check: If `address_line1` was provided, results of the
-- check: `pass`, `fail`, `unavailable`, or `unchecked`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[accountExternalAccounts'Data'AddressLine1Check] :: AccountExternalAccounts'Data' -> Maybe Text
-- | address_line2: Address line 2 (Apartment/Suite/Unit/Building).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[accountExternalAccounts'Data'AddressLine2] :: AccountExternalAccounts'Data' -> Maybe Text
-- | address_state: State/County/Province/Region.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[accountExternalAccounts'Data'AddressState] :: AccountExternalAccounts'Data' -> Maybe Text
-- | address_zip: ZIP or postal code.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[accountExternalAccounts'Data'AddressZip] :: AccountExternalAccounts'Data' -> Maybe Text
-- | address_zip_check: If `address_zip` was provided, results of the
-- check: `pass`, `fail`, `unavailable`, or `unchecked`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[accountExternalAccounts'Data'AddressZipCheck] :: AccountExternalAccounts'Data' -> Maybe Text
-- | available_payout_methods: A set of available payout methods for this
-- bank account. Only values from this set should be passed as the
-- `method` when creating a payout.
[accountExternalAccounts'Data'AvailablePayoutMethods] :: AccountExternalAccounts'Data' -> Maybe [AccountExternalAccounts'Data'AvailablePayoutMethods']
-- | bank_name: Name of the bank associated with the routing number (e.g.,
-- `WELLS FARGO`).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[accountExternalAccounts'Data'BankName] :: AccountExternalAccounts'Data' -> Maybe Text
-- | brand: Card brand. Can be `American Express`, `Diners Club`,
-- `Discover`, `JCB`, `MasterCard`, `UnionPay`, `Visa`, or `Unknown`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[accountExternalAccounts'Data'Brand] :: AccountExternalAccounts'Data' -> Maybe Text
-- | country: Two-letter ISO code representing the country the bank account
-- is located in.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[accountExternalAccounts'Data'Country] :: AccountExternalAccounts'Data' -> Maybe Text
-- | currency: Three-letter ISO code for the currency paid out to
-- the bank account.
[accountExternalAccounts'Data'Currency] :: AccountExternalAccounts'Data' -> Maybe Text
-- | customer: The ID of the customer that the bank account is associated
-- with.
[accountExternalAccounts'Data'Customer] :: AccountExternalAccounts'Data' -> Maybe AccountExternalAccounts'Data'Customer'Variants
-- | cvc_check: If a CVC was provided, results of the check: `pass`,
-- `fail`, `unavailable`, or `unchecked`. A result of unchecked indicates
-- that CVC was provided but hasn't been checked yet. Checks are
-- typically performed when attaching a card to a Customer object, or
-- when creating a charge. For more details, see Check if a card is
-- valid without a charge.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[accountExternalAccounts'Data'CvcCheck] :: AccountExternalAccounts'Data' -> Maybe Text
-- | default_for_currency: Whether this bank account is the default
-- external account for its currency.
[accountExternalAccounts'Data'DefaultForCurrency] :: AccountExternalAccounts'Data' -> Maybe Bool
-- | dynamic_last4: (For tokenized numbers only.) The last four digits of
-- the device account number.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[accountExternalAccounts'Data'DynamicLast4] :: AccountExternalAccounts'Data' -> Maybe Text
-- | exp_month: Two-digit number representing the card's expiration month.
[accountExternalAccounts'Data'ExpMonth] :: AccountExternalAccounts'Data' -> Maybe Int
-- | exp_year: Four-digit number representing the card's expiration year.
[accountExternalAccounts'Data'ExpYear] :: AccountExternalAccounts'Data' -> Maybe Int
-- | fingerprint: Uniquely identifies this particular bank account. You can
-- use this attribute to check whether two bank accounts are the same.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[accountExternalAccounts'Data'Fingerprint] :: AccountExternalAccounts'Data' -> Maybe Text
-- | funding: Card funding type. Can be `credit`, `debit`, `prepaid`, or
-- `unknown`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[accountExternalAccounts'Data'Funding] :: AccountExternalAccounts'Data' -> Maybe Text
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[accountExternalAccounts'Data'Id] :: AccountExternalAccounts'Data' -> Maybe Text
-- | last4: The last four digits of the bank account number.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[accountExternalAccounts'Data'Last4] :: AccountExternalAccounts'Data' -> Maybe Text
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format.
[accountExternalAccounts'Data'Metadata] :: AccountExternalAccounts'Data' -> Maybe Object
-- | name: Cardholder name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[accountExternalAccounts'Data'Name] :: AccountExternalAccounts'Data' -> Maybe Text
-- | object: String representing the object's type. Objects of the same
-- type share the same value.
[accountExternalAccounts'Data'Object] :: AccountExternalAccounts'Data' -> Maybe AccountExternalAccounts'Data'Object'
-- | recipient: 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.
[accountExternalAccounts'Data'Recipient] :: AccountExternalAccounts'Data' -> Maybe AccountExternalAccounts'Data'Recipient'Variants
-- | routing_number: The routing transit number for the bank account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[accountExternalAccounts'Data'RoutingNumber] :: AccountExternalAccounts'Data' -> Maybe Text
-- | status: For bank accounts, possible values are `new`, `validated`,
-- `verified`, `verification_failed`, or `errored`. A bank account that
-- hasn't had any activity or validation performed is `new`. If Stripe
-- can determine that the bank account exists, its status will be
-- `validated`. Note that there often isn’t enough information to know
-- (e.g., for smaller credit unions), and the validation is not always
-- run. If customer bank account verification has succeeded, the bank
-- account status will be `verified`. If the verification failed for any
-- reason, such as microdeposit failure, the status will be
-- `verification_failed`. If a transfer sent to this bank account fails,
-- we'll set the status to `errored` and will not continue to send
-- transfers until the bank details are updated.
--
-- For external accounts, possible values are `new` and `errored`.
-- Validations aren't run against external accounts because they're only
-- used for payouts. This means the other statuses don't apply. If a
-- transfer fails, the status is set to `errored` and transfers are
-- stopped until account details are updated.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[accountExternalAccounts'Data'Status] :: AccountExternalAccounts'Data' -> Maybe Text
-- | tokenization_method: If the card number is tokenized, this is the
-- method that was used. Can be `android_pay` (includes Google Pay),
-- `apple_pay`, `masterpass`, `visa_checkout`, or null.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[accountExternalAccounts'Data'TokenizationMethod] :: AccountExternalAccounts'Data' -> Maybe Text
-- | Create a new AccountExternalAccounts'Data' with all required
-- fields.
mkAccountExternalAccounts'Data' :: AccountExternalAccounts'Data'
-- | Defines the oneOf schema located at
-- components.schemas.account.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.
data AccountExternalAccounts'Data'Account'Variants
AccountExternalAccounts'Data'Account'Text :: Text -> AccountExternalAccounts'Data'Account'Variants
AccountExternalAccounts'Data'Account'Account :: Account -> AccountExternalAccounts'Data'Account'Variants
-- | Defines the enum schema located at
-- components.schemas.account.properties.external_accounts.properties.data.items.anyOf.properties.available_payout_methods.items
-- in the specification.
data AccountExternalAccounts'Data'AvailablePayoutMethods'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
AccountExternalAccounts'Data'AvailablePayoutMethods'Other :: Value -> AccountExternalAccounts'Data'AvailablePayoutMethods'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
AccountExternalAccounts'Data'AvailablePayoutMethods'Typed :: Text -> AccountExternalAccounts'Data'AvailablePayoutMethods'
-- | Represents the JSON value "instant"
AccountExternalAccounts'Data'AvailablePayoutMethods'EnumInstant :: AccountExternalAccounts'Data'AvailablePayoutMethods'
-- | Represents the JSON value "standard"
AccountExternalAccounts'Data'AvailablePayoutMethods'EnumStandard :: AccountExternalAccounts'Data'AvailablePayoutMethods'
-- | Defines the oneOf schema located at
-- components.schemas.account.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.
data AccountExternalAccounts'Data'Customer'Variants
AccountExternalAccounts'Data'Customer'Text :: Text -> AccountExternalAccounts'Data'Customer'Variants
AccountExternalAccounts'Data'Customer'Customer :: Customer -> AccountExternalAccounts'Data'Customer'Variants
AccountExternalAccounts'Data'Customer'DeletedCustomer :: DeletedCustomer -> AccountExternalAccounts'Data'Customer'Variants
-- | Defines the enum schema located at
-- components.schemas.account.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.
data AccountExternalAccounts'Data'Object'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
AccountExternalAccounts'Data'Object'Other :: Value -> AccountExternalAccounts'Data'Object'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
AccountExternalAccounts'Data'Object'Typed :: Text -> AccountExternalAccounts'Data'Object'
-- | Represents the JSON value "bank_account"
AccountExternalAccounts'Data'Object'EnumBankAccount :: AccountExternalAccounts'Data'Object'
-- | Defines the oneOf schema located at
-- components.schemas.account.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.
data AccountExternalAccounts'Data'Recipient'Variants
AccountExternalAccounts'Data'Recipient'Text :: Text -> AccountExternalAccounts'Data'Recipient'Variants
AccountExternalAccounts'Data'Recipient'Recipient :: Recipient -> AccountExternalAccounts'Data'Recipient'Variants
-- | Defines the object schema located at
-- components.schemas.account.properties.settings.anyOf in the
-- specification.
--
-- Options for customizing how the account functions within Stripe.
data AccountSettings'
AccountSettings' :: Maybe AccountBacsDebitPaymentsSettings -> Maybe AccountBrandingSettings -> Maybe AccountCardIssuingSettings -> Maybe AccountCardPaymentsSettings -> Maybe AccountDashboardSettings -> Maybe AccountPaymentsSettings -> Maybe AccountPayoutSettings -> Maybe AccountSepaDebitPaymentsSettings -> AccountSettings'
-- | bacs_debit_payments:
[accountSettings'BacsDebitPayments] :: AccountSettings' -> Maybe AccountBacsDebitPaymentsSettings
-- | branding:
[accountSettings'Branding] :: AccountSettings' -> Maybe AccountBrandingSettings
-- | card_issuing:
[accountSettings'CardIssuing] :: AccountSettings' -> Maybe AccountCardIssuingSettings
-- | card_payments:
[accountSettings'CardPayments] :: AccountSettings' -> Maybe AccountCardPaymentsSettings
-- | dashboard:
[accountSettings'Dashboard] :: AccountSettings' -> Maybe AccountDashboardSettings
-- | payments:
[accountSettings'Payments] :: AccountSettings' -> Maybe AccountPaymentsSettings
-- | payouts:
[accountSettings'Payouts] :: AccountSettings' -> Maybe AccountPayoutSettings
-- | sepa_debit_payments:
[accountSettings'SepaDebitPayments] :: AccountSettings' -> Maybe AccountSepaDebitPaymentsSettings
-- | Create a new AccountSettings' with all required fields.
mkAccountSettings' :: AccountSettings'
-- | Defines the enum schema located at
-- components.schemas.account.properties.type in the
-- specification.
--
-- The Stripe account type. Can be `standard`, `express`, or `custom`.
data AccountType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
AccountType'Other :: Value -> AccountType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
AccountType'Typed :: Text -> AccountType'
-- | Represents the JSON value "custom"
AccountType'EnumCustom :: AccountType'
-- | Represents the JSON value "express"
AccountType'EnumExpress :: AccountType'
-- | Represents the JSON value "standard"
AccountType'EnumStandard :: AccountType'
instance GHC.Classes.Eq StripeAPI.Types.Account.AccountBusinessProfile'SupportAddress'
instance GHC.Show.Show StripeAPI.Types.Account.AccountBusinessProfile'SupportAddress'
instance GHC.Classes.Eq StripeAPI.Types.Account.AccountBusinessProfile'
instance GHC.Show.Show StripeAPI.Types.Account.AccountBusinessProfile'
instance GHC.Classes.Eq StripeAPI.Types.Account.AccountBusinessType'
instance GHC.Show.Show StripeAPI.Types.Account.AccountBusinessType'
instance GHC.Classes.Eq StripeAPI.Types.Account.AccountExternalAccounts'Data'AvailablePayoutMethods'
instance GHC.Show.Show StripeAPI.Types.Account.AccountExternalAccounts'Data'AvailablePayoutMethods'
instance GHC.Classes.Eq StripeAPI.Types.Account.AccountExternalAccounts'Data'Customer'Variants
instance GHC.Show.Show StripeAPI.Types.Account.AccountExternalAccounts'Data'Customer'Variants
instance GHC.Classes.Eq StripeAPI.Types.Account.AccountExternalAccounts'Data'Object'
instance GHC.Show.Show StripeAPI.Types.Account.AccountExternalAccounts'Data'Object'
instance GHC.Classes.Eq StripeAPI.Types.Account.AccountExternalAccounts'Data'Recipient'Variants
instance GHC.Show.Show StripeAPI.Types.Account.AccountExternalAccounts'Data'Recipient'Variants
instance GHC.Classes.Eq StripeAPI.Types.Account.AccountSettings'
instance GHC.Show.Show StripeAPI.Types.Account.AccountSettings'
instance GHC.Classes.Eq StripeAPI.Types.Account.AccountType'
instance GHC.Show.Show StripeAPI.Types.Account.AccountType'
instance GHC.Classes.Eq StripeAPI.Types.Account.AccountExternalAccounts'Data'Account'Variants
instance GHC.Show.Show StripeAPI.Types.Account.AccountExternalAccounts'Data'Account'Variants
instance GHC.Classes.Eq StripeAPI.Types.Account.AccountExternalAccounts'Data'
instance GHC.Show.Show StripeAPI.Types.Account.AccountExternalAccounts'Data'
instance GHC.Classes.Eq StripeAPI.Types.Account.AccountExternalAccounts'
instance GHC.Show.Show StripeAPI.Types.Account.AccountExternalAccounts'
instance GHC.Classes.Eq StripeAPI.Types.Account.Account
instance GHC.Show.Show StripeAPI.Types.Account.Account
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Account.Account
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Account.Account
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Account.AccountExternalAccounts'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Account.AccountExternalAccounts'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Account.AccountExternalAccounts'Data'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Account.AccountExternalAccounts'Data'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Account.AccountExternalAccounts'Data'Account'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Account.AccountExternalAccounts'Data'Account'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Account.AccountType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Account.AccountType'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Account.AccountSettings'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Account.AccountSettings'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Account.AccountExternalAccounts'Data'Recipient'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Account.AccountExternalAccounts'Data'Recipient'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Account.AccountExternalAccounts'Data'Object'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Account.AccountExternalAccounts'Data'Object'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Account.AccountExternalAccounts'Data'Customer'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Account.AccountExternalAccounts'Data'Customer'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Account.AccountExternalAccounts'Data'AvailablePayoutMethods'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Account.AccountExternalAccounts'Data'AvailablePayoutMethods'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Account.AccountBusinessType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Account.AccountBusinessType'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Account.AccountBusinessProfile'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Account.AccountBusinessProfile'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Account.AccountBusinessProfile'SupportAddress'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Account.AccountBusinessProfile'SupportAddress'
-- | Contains the types generated from the schema Recipient
module StripeAPI.Types.Recipient
-- | Defines the object schema located at
-- components.schemas.recipient in the specification.
--
-- With `Recipient` objects, you can transfer money from your Stripe
-- account to a third-party bank account or debit card. The API allows
-- you to create, delete, and update your recipients. You can retrieve
-- individual recipients as well as a list of all your recipients.
--
--
-- - *`Recipient` objects have been deprecated in favor of
-- Connect, specifically Connect's much more powerful Account
-- objects. Stripe accounts that don't already use recipients can no
-- longer begin doing so. Please use `Account` objects instead.**
--
data Recipient
Recipient :: Maybe RecipientActiveAccount' -> Maybe RecipientCards' -> Int -> Maybe RecipientDefaultCard'Variants -> Maybe Text -> Maybe Text -> Text -> Bool -> Object -> Maybe RecipientMigratedTo'Variants -> Maybe Text -> Maybe RecipientRolledBackFrom'Variants -> Text -> Recipient
-- | active_account: Hash describing the current account on the recipient,
-- if there is one.
[recipientActiveAccount] :: Recipient -> Maybe RecipientActiveAccount'
-- | cards:
[recipientCards] :: Recipient -> Maybe RecipientCards'
-- | created: Time at which the object was created. Measured in seconds
-- since the Unix epoch.
[recipientCreated] :: Recipient -> Int
-- | default_card: The default card to use for creating transfers to this
-- recipient.
[recipientDefaultCard] :: Recipient -> Maybe RecipientDefaultCard'Variants
-- | description: An arbitrary string attached to the object. Often useful
-- for displaying to users.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[recipientDescription] :: Recipient -> Maybe Text
-- | email
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[recipientEmail] :: Recipient -> Maybe Text
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[recipientId] :: Recipient -> Text
-- | livemode: Has the value `true` if the object exists in live mode or
-- the value `false` if the object exists in test mode.
[recipientLivemode] :: Recipient -> Bool
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format.
[recipientMetadata] :: Recipient -> Object
-- | migrated_to: The ID of the Custom account this recipient was
-- migrated to. If set, the recipient can no longer be updated, nor can
-- transfers be made to it: use the Custom account instead.
[recipientMigratedTo] :: Recipient -> Maybe RecipientMigratedTo'Variants
-- | name: Full, legal name of the recipient.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[recipientName] :: Recipient -> Maybe Text
-- | rolled_back_from
[recipientRolledBackFrom] :: Recipient -> Maybe RecipientRolledBackFrom'Variants
-- | type: Type of the recipient, one of `individual` or `corporation`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[recipientType] :: Recipient -> Text
-- | Create a new Recipient with all required fields.
mkRecipient :: Int -> Text -> Bool -> Object -> Text -> Recipient
-- | Defines the object schema located at
-- components.schemas.recipient.properties.active_account.anyOf
-- in the specification.
--
-- Hash describing the current account on the recipient, if there is one.
data RecipientActiveAccount'
RecipientActiveAccount' :: Maybe RecipientActiveAccount'Account'Variants -> Maybe Text -> Maybe Text -> Maybe [RecipientActiveAccount'AvailablePayoutMethods'] -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe RecipientActiveAccount'Customer'Variants -> Maybe Bool -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Object -> Maybe RecipientActiveAccount'Object' -> Maybe Text -> Maybe Text -> RecipientActiveAccount'
-- | account: The ID of the account that the bank account is associated
-- with.
[recipientActiveAccount'Account] :: RecipientActiveAccount' -> Maybe RecipientActiveAccount'Account'Variants
-- | account_holder_name: The name of the person or business that owns the
-- bank account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[recipientActiveAccount'AccountHolderName] :: RecipientActiveAccount' -> Maybe Text
-- | account_holder_type: The type of entity that holds the account. This
-- can be either `individual` or `company`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[recipientActiveAccount'AccountHolderType] :: RecipientActiveAccount' -> Maybe Text
-- | available_payout_methods: A set of available payout methods for this
-- bank account. Only values from this set should be passed as the
-- `method` when creating a payout.
[recipientActiveAccount'AvailablePayoutMethods] :: RecipientActiveAccount' -> Maybe [RecipientActiveAccount'AvailablePayoutMethods']
-- | bank_name: Name of the bank associated with the routing number (e.g.,
-- `WELLS FARGO`).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[recipientActiveAccount'BankName] :: RecipientActiveAccount' -> Maybe Text
-- | country: Two-letter ISO code representing the country the bank account
-- is located in.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[recipientActiveAccount'Country] :: RecipientActiveAccount' -> Maybe Text
-- | currency: Three-letter ISO code for the currency paid out to
-- the bank account.
[recipientActiveAccount'Currency] :: RecipientActiveAccount' -> Maybe Text
-- | customer: The ID of the customer that the bank account is associated
-- with.
[recipientActiveAccount'Customer] :: RecipientActiveAccount' -> Maybe RecipientActiveAccount'Customer'Variants
-- | default_for_currency: Whether this bank account is the default
-- external account for its currency.
[recipientActiveAccount'DefaultForCurrency] :: RecipientActiveAccount' -> Maybe Bool
-- | fingerprint: Uniquely identifies this particular bank account. You can
-- use this attribute to check whether two bank accounts are the same.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[recipientActiveAccount'Fingerprint] :: RecipientActiveAccount' -> Maybe Text
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[recipientActiveAccount'Id] :: RecipientActiveAccount' -> Maybe Text
-- | last4: The last four digits of the bank account number.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[recipientActiveAccount'Last4] :: RecipientActiveAccount' -> Maybe Text
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format.
[recipientActiveAccount'Metadata] :: RecipientActiveAccount' -> Maybe Object
-- | object: String representing the object's type. Objects of the same
-- type share the same value.
[recipientActiveAccount'Object] :: RecipientActiveAccount' -> Maybe RecipientActiveAccount'Object'
-- | routing_number: The routing transit number for the bank account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[recipientActiveAccount'RoutingNumber] :: RecipientActiveAccount' -> Maybe Text
-- | status: For bank accounts, possible values are `new`, `validated`,
-- `verified`, `verification_failed`, or `errored`. A bank account that
-- hasn't had any activity or validation performed is `new`. If Stripe
-- can determine that the bank account exists, its status will be
-- `validated`. Note that there often isn’t enough information to know
-- (e.g., for smaller credit unions), and the validation is not always
-- run. If customer bank account verification has succeeded, the bank
-- account status will be `verified`. If the verification failed for any
-- reason, such as microdeposit failure, the status will be
-- `verification_failed`. If a transfer sent to this bank account fails,
-- we'll set the status to `errored` and will not continue to send
-- transfers until the bank details are updated.
--
-- For external accounts, possible values are `new` and `errored`.
-- Validations aren't run against external accounts because they're only
-- used for payouts. This means the other statuses don't apply. If a
-- transfer fails, the status is set to `errored` and transfers are
-- stopped until account details are updated.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[recipientActiveAccount'Status] :: RecipientActiveAccount' -> Maybe Text
-- | Create a new RecipientActiveAccount' with all required fields.
mkRecipientActiveAccount' :: RecipientActiveAccount'
-- | Defines the oneOf schema located at
-- components.schemas.recipient.properties.active_account.anyOf.properties.account.anyOf
-- in the specification.
--
-- The ID of the account that the bank account is associated with.
data RecipientActiveAccount'Account'Variants
RecipientActiveAccount'Account'Text :: Text -> RecipientActiveAccount'Account'Variants
RecipientActiveAccount'Account'Account :: Account -> RecipientActiveAccount'Account'Variants
-- | Defines the enum schema located at
-- components.schemas.recipient.properties.active_account.anyOf.properties.available_payout_methods.items
-- in the specification.
data RecipientActiveAccount'AvailablePayoutMethods'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
RecipientActiveAccount'AvailablePayoutMethods'Other :: Value -> RecipientActiveAccount'AvailablePayoutMethods'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
RecipientActiveAccount'AvailablePayoutMethods'Typed :: Text -> RecipientActiveAccount'AvailablePayoutMethods'
-- | Represents the JSON value "instant"
RecipientActiveAccount'AvailablePayoutMethods'EnumInstant :: RecipientActiveAccount'AvailablePayoutMethods'
-- | Represents the JSON value "standard"
RecipientActiveAccount'AvailablePayoutMethods'EnumStandard :: RecipientActiveAccount'AvailablePayoutMethods'
-- | Defines the oneOf schema located at
-- components.schemas.recipient.properties.active_account.anyOf.properties.customer.anyOf
-- in the specification.
--
-- The ID of the customer that the bank account is associated with.
data RecipientActiveAccount'Customer'Variants
RecipientActiveAccount'Customer'Text :: Text -> RecipientActiveAccount'Customer'Variants
RecipientActiveAccount'Customer'Customer :: Customer -> RecipientActiveAccount'Customer'Variants
RecipientActiveAccount'Customer'DeletedCustomer :: DeletedCustomer -> RecipientActiveAccount'Customer'Variants
-- | Defines the enum schema located at
-- components.schemas.recipient.properties.active_account.anyOf.properties.object
-- in the specification.
--
-- String representing the object's type. Objects of the same type share
-- the same value.
data RecipientActiveAccount'Object'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
RecipientActiveAccount'Object'Other :: Value -> RecipientActiveAccount'Object'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
RecipientActiveAccount'Object'Typed :: Text -> RecipientActiveAccount'Object'
-- | Represents the JSON value "bank_account"
RecipientActiveAccount'Object'EnumBankAccount :: RecipientActiveAccount'Object'
-- | Defines the object schema located at
-- components.schemas.recipient.properties.cards in the
-- specification.
data RecipientCards'
RecipientCards' :: [Card] -> Bool -> Text -> RecipientCards'
-- | data
[recipientCards'Data] :: RecipientCards' -> [Card]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[recipientCards'HasMore] :: RecipientCards' -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[recipientCards'Url] :: RecipientCards' -> Text
-- | Create a new RecipientCards' with all required fields.
mkRecipientCards' :: [Card] -> Bool -> Text -> RecipientCards'
-- | Defines the oneOf schema located at
-- components.schemas.recipient.properties.default_card.anyOf in
-- the specification.
--
-- The default card to use for creating transfers to this recipient.
data RecipientDefaultCard'Variants
RecipientDefaultCard'Text :: Text -> RecipientDefaultCard'Variants
RecipientDefaultCard'Card :: Card -> RecipientDefaultCard'Variants
-- | Defines the oneOf schema located at
-- components.schemas.recipient.properties.migrated_to.anyOf in
-- the specification.
--
-- The ID of the Custom account this recipient was migrated to. If
-- set, the recipient can no longer be updated, nor can transfers be made
-- to it: use the Custom account instead.
data RecipientMigratedTo'Variants
RecipientMigratedTo'Text :: Text -> RecipientMigratedTo'Variants
RecipientMigratedTo'Account :: Account -> RecipientMigratedTo'Variants
-- | Defines the oneOf schema located at
-- components.schemas.recipient.properties.rolled_back_from.anyOf
-- in the specification.
data RecipientRolledBackFrom'Variants
RecipientRolledBackFrom'Text :: Text -> RecipientRolledBackFrom'Variants
RecipientRolledBackFrom'Account :: Account -> RecipientRolledBackFrom'Variants
instance GHC.Classes.Eq StripeAPI.Types.Recipient.RecipientActiveAccount'Account'Variants
instance GHC.Show.Show StripeAPI.Types.Recipient.RecipientActiveAccount'Account'Variants
instance GHC.Classes.Eq StripeAPI.Types.Recipient.RecipientActiveAccount'AvailablePayoutMethods'
instance GHC.Show.Show StripeAPI.Types.Recipient.RecipientActiveAccount'AvailablePayoutMethods'
instance GHC.Classes.Eq StripeAPI.Types.Recipient.RecipientActiveAccount'Customer'Variants
instance GHC.Show.Show StripeAPI.Types.Recipient.RecipientActiveAccount'Customer'Variants
instance GHC.Classes.Eq StripeAPI.Types.Recipient.RecipientActiveAccount'Object'
instance GHC.Show.Show StripeAPI.Types.Recipient.RecipientActiveAccount'Object'
instance GHC.Classes.Eq StripeAPI.Types.Recipient.RecipientActiveAccount'
instance GHC.Show.Show StripeAPI.Types.Recipient.RecipientActiveAccount'
instance GHC.Classes.Eq StripeAPI.Types.Recipient.RecipientCards'
instance GHC.Show.Show StripeAPI.Types.Recipient.RecipientCards'
instance GHC.Classes.Eq StripeAPI.Types.Recipient.RecipientDefaultCard'Variants
instance GHC.Show.Show StripeAPI.Types.Recipient.RecipientDefaultCard'Variants
instance GHC.Classes.Eq StripeAPI.Types.Recipient.RecipientMigratedTo'Variants
instance GHC.Show.Show StripeAPI.Types.Recipient.RecipientMigratedTo'Variants
instance GHC.Classes.Eq StripeAPI.Types.Recipient.RecipientRolledBackFrom'Variants
instance GHC.Show.Show StripeAPI.Types.Recipient.RecipientRolledBackFrom'Variants
instance GHC.Classes.Eq StripeAPI.Types.Recipient.Recipient
instance GHC.Show.Show StripeAPI.Types.Recipient.Recipient
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Recipient.Recipient
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Recipient.Recipient
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Recipient.RecipientRolledBackFrom'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Recipient.RecipientRolledBackFrom'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Recipient.RecipientMigratedTo'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Recipient.RecipientMigratedTo'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Recipient.RecipientDefaultCard'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Recipient.RecipientDefaultCard'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Recipient.RecipientCards'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Recipient.RecipientCards'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Recipient.RecipientActiveAccount'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Recipient.RecipientActiveAccount'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Recipient.RecipientActiveAccount'Object'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Recipient.RecipientActiveAccount'Object'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Recipient.RecipientActiveAccount'Customer'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Recipient.RecipientActiveAccount'Customer'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Recipient.RecipientActiveAccount'AvailablePayoutMethods'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Recipient.RecipientActiveAccount'AvailablePayoutMethods'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Recipient.RecipientActiveAccount'Account'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Recipient.RecipientActiveAccount'Account'Variants
-- | Contains the types generated from the schema Recurring
module StripeAPI.Types.Recurring
-- | Defines the object schema located at
-- components.schemas.recurring in the specification.
data Recurring
Recurring :: Maybe RecurringAggregateUsage' -> RecurringInterval' -> Int -> RecurringUsageType' -> Recurring
-- | aggregate_usage: Specifies a usage aggregation strategy for prices of
-- `usage_type=metered`. Allowed values are `sum` for summing up all
-- usage during a period, `last_during_period` for using the last usage
-- record reported within a period, `last_ever` for using the last usage
-- record ever (across period bounds) or `max` which uses the usage
-- record with the maximum reported usage during a period. Defaults to
-- `sum`.
[recurringAggregateUsage] :: Recurring -> Maybe RecurringAggregateUsage'
-- | interval: The frequency at which a subscription is billed. One of
-- `day`, `week`, `month` or `year`.
[recurringInterval] :: Recurring -> RecurringInterval'
-- | interval_count: The number of intervals (specified in the `interval`
-- attribute) between subscription billings. For example,
-- `interval=month` and `interval_count=3` bills every 3 months.
[recurringIntervalCount] :: Recurring -> Int
-- | usage_type: Configures how the quantity per period should be
-- determined. Can be either `metered` or `licensed`. `licensed`
-- automatically bills the `quantity` set when adding it to a
-- subscription. `metered` aggregates the total usage based on usage
-- records. Defaults to `licensed`.
[recurringUsageType] :: Recurring -> RecurringUsageType'
-- | Create a new Recurring with all required fields.
mkRecurring :: RecurringInterval' -> Int -> RecurringUsageType' -> Recurring
-- | Defines the enum schema located at
-- components.schemas.recurring.properties.aggregate_usage in
-- the specification.
--
-- Specifies a usage aggregation strategy for prices of
-- `usage_type=metered`. Allowed values are `sum` for summing up all
-- usage during a period, `last_during_period` for using the last usage
-- record reported within a period, `last_ever` for using the last usage
-- record ever (across period bounds) or `max` which uses the usage
-- record with the maximum reported usage during a period. Defaults to
-- `sum`.
data RecurringAggregateUsage'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
RecurringAggregateUsage'Other :: Value -> RecurringAggregateUsage'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
RecurringAggregateUsage'Typed :: Text -> RecurringAggregateUsage'
-- | Represents the JSON value "last_during_period"
RecurringAggregateUsage'EnumLastDuringPeriod :: RecurringAggregateUsage'
-- | Represents the JSON value "last_ever"
RecurringAggregateUsage'EnumLastEver :: RecurringAggregateUsage'
-- | Represents the JSON value "max"
RecurringAggregateUsage'EnumMax :: RecurringAggregateUsage'
-- | Represents the JSON value "sum"
RecurringAggregateUsage'EnumSum :: RecurringAggregateUsage'
-- | Defines the enum schema located at
-- components.schemas.recurring.properties.interval in the
-- specification.
--
-- The frequency at which a subscription is billed. One of `day`, `week`,
-- `month` or `year`.
data RecurringInterval'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
RecurringInterval'Other :: Value -> RecurringInterval'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
RecurringInterval'Typed :: Text -> RecurringInterval'
-- | Represents the JSON value "day"
RecurringInterval'EnumDay :: RecurringInterval'
-- | Represents the JSON value "month"
RecurringInterval'EnumMonth :: RecurringInterval'
-- | Represents the JSON value "week"
RecurringInterval'EnumWeek :: RecurringInterval'
-- | Represents the JSON value "year"
RecurringInterval'EnumYear :: RecurringInterval'
-- | Defines the enum schema located at
-- components.schemas.recurring.properties.usage_type in the
-- specification.
--
-- Configures how the quantity per period should be determined. Can be
-- either `metered` or `licensed`. `licensed` automatically bills the
-- `quantity` set when adding it to a subscription. `metered` aggregates
-- the total usage based on usage records. Defaults to `licensed`.
data RecurringUsageType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
RecurringUsageType'Other :: Value -> RecurringUsageType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
RecurringUsageType'Typed :: Text -> RecurringUsageType'
-- | Represents the JSON value "licensed"
RecurringUsageType'EnumLicensed :: RecurringUsageType'
-- | Represents the JSON value "metered"
RecurringUsageType'EnumMetered :: RecurringUsageType'
instance GHC.Classes.Eq StripeAPI.Types.Recurring.RecurringAggregateUsage'
instance GHC.Show.Show StripeAPI.Types.Recurring.RecurringAggregateUsage'
instance GHC.Classes.Eq StripeAPI.Types.Recurring.RecurringInterval'
instance GHC.Show.Show StripeAPI.Types.Recurring.RecurringInterval'
instance GHC.Classes.Eq StripeAPI.Types.Recurring.RecurringUsageType'
instance GHC.Show.Show StripeAPI.Types.Recurring.RecurringUsageType'
instance GHC.Classes.Eq StripeAPI.Types.Recurring.Recurring
instance GHC.Show.Show StripeAPI.Types.Recurring.Recurring
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Recurring.Recurring
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Recurring.Recurring
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Recurring.RecurringUsageType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Recurring.RecurringUsageType'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Recurring.RecurringInterval'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Recurring.RecurringInterval'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Recurring.RecurringAggregateUsage'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Recurring.RecurringAggregateUsage'
-- | Contains the types generated from the schema OrderReturn
module StripeAPI.Types.OrderReturn
-- | Defines the object schema located at
-- components.schemas.order_return in the specification.
--
-- A return represents the full or partial return of a number of order
-- items. Returns always belong to an order, and may optionally
-- contain a refund.
--
-- Related guide: Handling Returns.
data OrderReturn
OrderReturn :: Int -> Int -> Text -> Text -> [OrderItem] -> Bool -> Maybe OrderReturnOrder'Variants -> Maybe OrderReturnRefund'Variants -> OrderReturn
-- | amount: A positive integer in the smallest currency unit (that is, 100
-- cents for $1.00, or 1 for ¥1, Japanese Yen being a zero-decimal
-- currency) representing the total amount for the returned line item.
[orderReturnAmount] :: OrderReturn -> Int
-- | created: Time at which the object was created. Measured in seconds
-- since the Unix epoch.
[orderReturnCreated] :: OrderReturn -> Int
-- | currency: Three-letter ISO currency code, in lowercase. Must be
-- a supported currency.
[orderReturnCurrency] :: OrderReturn -> Text
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[orderReturnId] :: OrderReturn -> Text
-- | items: The items included in this order return.
[orderReturnItems] :: OrderReturn -> [OrderItem]
-- | livemode: Has the value `true` if the object exists in live mode or
-- the value `false` if the object exists in test mode.
[orderReturnLivemode] :: OrderReturn -> Bool
-- | order: The order that this return includes items from.
[orderReturnOrder] :: OrderReturn -> Maybe OrderReturnOrder'Variants
-- | refund: The ID of the refund issued for this return.
[orderReturnRefund] :: OrderReturn -> Maybe OrderReturnRefund'Variants
-- | Create a new OrderReturn with all required fields.
mkOrderReturn :: Int -> Int -> Text -> Text -> [OrderItem] -> Bool -> OrderReturn
-- | Defines the oneOf schema located at
-- components.schemas.order_return.properties.order.anyOf in the
-- specification.
--
-- The order that this return includes items from.
data OrderReturnOrder'Variants
OrderReturnOrder'Text :: Text -> OrderReturnOrder'Variants
OrderReturnOrder'Order :: Order -> OrderReturnOrder'Variants
-- | Defines the oneOf schema located at
-- components.schemas.order_return.properties.refund.anyOf in
-- the specification.
--
-- The ID of the refund issued for this return.
data OrderReturnRefund'Variants
OrderReturnRefund'Text :: Text -> OrderReturnRefund'Variants
OrderReturnRefund'Refund :: Refund -> OrderReturnRefund'Variants
instance GHC.Classes.Eq StripeAPI.Types.OrderReturn.OrderReturnOrder'Variants
instance GHC.Show.Show StripeAPI.Types.OrderReturn.OrderReturnOrder'Variants
instance GHC.Classes.Eq StripeAPI.Types.OrderReturn.OrderReturnRefund'Variants
instance GHC.Show.Show StripeAPI.Types.OrderReturn.OrderReturnRefund'Variants
instance GHC.Classes.Eq StripeAPI.Types.OrderReturn.OrderReturn
instance GHC.Show.Show StripeAPI.Types.OrderReturn.OrderReturn
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.OrderReturn.OrderReturn
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.OrderReturn.OrderReturn
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.OrderReturn.OrderReturnRefund'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.OrderReturn.OrderReturnRefund'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.OrderReturn.OrderReturnOrder'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.OrderReturn.OrderReturnOrder'Variants
-- | Contains the types generated from the schema CreditNote
module StripeAPI.Types.CreditNote
-- | Defines the object schema located at
-- components.schemas.credit_note in the specification.
--
-- Issue a credit note to adjust an invoice's amount after the invoice is
-- finalized.
--
-- Related guide: Credit Notes.
data CreditNote
CreditNote :: Int -> Int -> Text -> CreditNoteCustomer'Variants -> Maybe CreditNoteCustomerBalanceTransaction'Variants -> Int -> [DiscountsResourceDiscountAmount] -> Text -> CreditNoteInvoice'Variants -> CreditNoteLines' -> Bool -> Maybe Text -> Maybe Object -> Text -> Maybe Int -> Text -> Maybe CreditNoteReason' -> Maybe CreditNoteRefund'Variants -> CreditNoteStatus' -> Int -> [CreditNoteTaxAmount] -> Int -> CreditNoteType' -> Maybe Int -> CreditNote
-- | amount: The integer amount in %s representing the total amount of the
-- credit note, including tax.
[creditNoteAmount] :: CreditNote -> Int
-- | created: Time at which the object was created. Measured in seconds
-- since the Unix epoch.
[creditNoteCreated] :: CreditNote -> Int
-- | currency: Three-letter ISO currency code, in lowercase. Must be
-- a supported currency.
[creditNoteCurrency] :: CreditNote -> Text
-- | customer: ID of the customer.
[creditNoteCustomer] :: CreditNote -> CreditNoteCustomer'Variants
-- | customer_balance_transaction: Customer balance transaction related to
-- this credit note.
[creditNoteCustomerBalanceTransaction] :: CreditNote -> Maybe CreditNoteCustomerBalanceTransaction'Variants
-- | discount_amount: The integer amount in %s representing the total
-- amount of discount that was credited.
[creditNoteDiscountAmount] :: CreditNote -> Int
-- | discount_amounts: The aggregate amounts calculated per discount for
-- all line items.
[creditNoteDiscountAmounts] :: CreditNote -> [DiscountsResourceDiscountAmount]
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[creditNoteId] :: CreditNote -> Text
-- | invoice: ID of the invoice.
[creditNoteInvoice] :: CreditNote -> CreditNoteInvoice'Variants
-- | lines: Line items that make up the credit note
[creditNoteLines] :: CreditNote -> CreditNoteLines'
-- | livemode: Has the value `true` if the object exists in live mode or
-- the value `false` if the object exists in test mode.
[creditNoteLivemode] :: CreditNote -> Bool
-- | memo: Customer-facing text that appears on the credit note PDF.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[creditNoteMemo] :: CreditNote -> Maybe Text
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format.
[creditNoteMetadata] :: CreditNote -> Maybe Object
-- | number: A unique number that identifies this particular credit note
-- and appears on the PDF of the credit note and its associated invoice.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[creditNoteNumber] :: CreditNote -> Text
-- | out_of_band_amount: Amount that was credited outside of Stripe.
[creditNoteOutOfBandAmount] :: CreditNote -> Maybe Int
-- | pdf: The link to download the PDF of the credit note.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[creditNotePdf] :: CreditNote -> Text
-- | reason: Reason for issuing this credit note, one of `duplicate`,
-- `fraudulent`, `order_change`, or `product_unsatisfactory`
[creditNoteReason] :: CreditNote -> Maybe CreditNoteReason'
-- | refund: Refund related to this credit note.
[creditNoteRefund] :: CreditNote -> Maybe CreditNoteRefund'Variants
-- | status: Status of this credit note, one of `issued` or `void`. Learn
-- more about voiding credit notes.
[creditNoteStatus] :: CreditNote -> CreditNoteStatus'
-- | subtotal: The integer amount in %s representing the amount of the
-- credit note, excluding tax and invoice level discounts.
[creditNoteSubtotal] :: CreditNote -> Int
-- | tax_amounts: The aggregate amounts calculated per tax rate for all
-- line items.
[creditNoteTaxAmounts] :: CreditNote -> [CreditNoteTaxAmount]
-- | total: The integer amount in %s representing the total amount of the
-- credit note, including tax and all discount.
[creditNoteTotal] :: CreditNote -> Int
-- | type: Type of this credit note, one of `pre_payment` or
-- `post_payment`. A `pre_payment` credit note means it was issued when
-- the invoice was open. A `post_payment` credit note means it was issued
-- when the invoice was paid.
[creditNoteType] :: CreditNote -> CreditNoteType'
-- | voided_at: The time that the credit note was voided.
[creditNoteVoidedAt] :: CreditNote -> Maybe Int
-- | Create a new CreditNote with all required fields.
mkCreditNote :: Int -> Int -> Text -> CreditNoteCustomer'Variants -> Int -> [DiscountsResourceDiscountAmount] -> Text -> CreditNoteInvoice'Variants -> CreditNoteLines' -> Bool -> Text -> Text -> CreditNoteStatus' -> Int -> [CreditNoteTaxAmount] -> Int -> CreditNoteType' -> CreditNote
-- | Defines the oneOf schema located at
-- components.schemas.credit_note.properties.customer.anyOf in
-- the specification.
--
-- ID of the customer.
data CreditNoteCustomer'Variants
CreditNoteCustomer'Text :: Text -> CreditNoteCustomer'Variants
CreditNoteCustomer'Customer :: Customer -> CreditNoteCustomer'Variants
CreditNoteCustomer'DeletedCustomer :: DeletedCustomer -> CreditNoteCustomer'Variants
-- | Defines the oneOf schema located at
-- components.schemas.credit_note.properties.customer_balance_transaction.anyOf
-- in the specification.
--
-- Customer balance transaction related to this credit note.
data CreditNoteCustomerBalanceTransaction'Variants
CreditNoteCustomerBalanceTransaction'Text :: Text -> CreditNoteCustomerBalanceTransaction'Variants
CreditNoteCustomerBalanceTransaction'CustomerBalanceTransaction :: CustomerBalanceTransaction -> CreditNoteCustomerBalanceTransaction'Variants
-- | Defines the oneOf schema located at
-- components.schemas.credit_note.properties.invoice.anyOf in
-- the specification.
--
-- ID of the invoice.
data CreditNoteInvoice'Variants
CreditNoteInvoice'Text :: Text -> CreditNoteInvoice'Variants
CreditNoteInvoice'Invoice :: Invoice -> CreditNoteInvoice'Variants
-- | Defines the object schema located at
-- components.schemas.credit_note.properties.lines in the
-- specification.
--
-- Line items that make up the credit note
data CreditNoteLines'
CreditNoteLines' :: [CreditNoteLineItem] -> Bool -> Text -> CreditNoteLines'
-- | data: Details about each object.
[creditNoteLines'Data] :: CreditNoteLines' -> [CreditNoteLineItem]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[creditNoteLines'HasMore] :: CreditNoteLines' -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[creditNoteLines'Url] :: CreditNoteLines' -> Text
-- | Create a new CreditNoteLines' with all required fields.
mkCreditNoteLines' :: [CreditNoteLineItem] -> Bool -> Text -> CreditNoteLines'
-- | Defines the enum schema located at
-- components.schemas.credit_note.properties.reason in the
-- specification.
--
-- Reason for issuing this credit note, one of `duplicate`, `fraudulent`,
-- `order_change`, or `product_unsatisfactory`
data CreditNoteReason'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
CreditNoteReason'Other :: Value -> CreditNoteReason'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
CreditNoteReason'Typed :: Text -> CreditNoteReason'
-- | Represents the JSON value "duplicate"
CreditNoteReason'EnumDuplicate :: CreditNoteReason'
-- | Represents the JSON value "fraudulent"
CreditNoteReason'EnumFraudulent :: CreditNoteReason'
-- | Represents the JSON value "order_change"
CreditNoteReason'EnumOrderChange :: CreditNoteReason'
-- | Represents the JSON value "product_unsatisfactory"
CreditNoteReason'EnumProductUnsatisfactory :: CreditNoteReason'
-- | Defines the oneOf schema located at
-- components.schemas.credit_note.properties.refund.anyOf in the
-- specification.
--
-- Refund related to this credit note.
data CreditNoteRefund'Variants
CreditNoteRefund'Text :: Text -> CreditNoteRefund'Variants
CreditNoteRefund'Refund :: Refund -> CreditNoteRefund'Variants
-- | Defines the enum schema located at
-- components.schemas.credit_note.properties.status in the
-- specification.
--
-- Status of this credit note, one of `issued` or `void`. Learn more
-- about voiding credit notes.
data CreditNoteStatus'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
CreditNoteStatus'Other :: Value -> CreditNoteStatus'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
CreditNoteStatus'Typed :: Text -> CreditNoteStatus'
-- | Represents the JSON value "issued"
CreditNoteStatus'EnumIssued :: CreditNoteStatus'
-- | Represents the JSON value "void"
CreditNoteStatus'EnumVoid :: CreditNoteStatus'
-- | Defines the enum schema located at
-- components.schemas.credit_note.properties.type in the
-- specification.
--
-- Type of this credit note, one of `pre_payment` or `post_payment`. A
-- `pre_payment` credit note means it was issued when the invoice was
-- open. A `post_payment` credit note means it was issued when the
-- invoice was paid.
data CreditNoteType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
CreditNoteType'Other :: Value -> CreditNoteType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
CreditNoteType'Typed :: Text -> CreditNoteType'
-- | Represents the JSON value "post_payment"
CreditNoteType'EnumPostPayment :: CreditNoteType'
-- | Represents the JSON value "pre_payment"
CreditNoteType'EnumPrePayment :: CreditNoteType'
instance GHC.Classes.Eq StripeAPI.Types.CreditNote.CreditNoteCustomer'Variants
instance GHC.Show.Show StripeAPI.Types.CreditNote.CreditNoteCustomer'Variants
instance GHC.Classes.Eq StripeAPI.Types.CreditNote.CreditNoteCustomerBalanceTransaction'Variants
instance GHC.Show.Show StripeAPI.Types.CreditNote.CreditNoteCustomerBalanceTransaction'Variants
instance GHC.Classes.Eq StripeAPI.Types.CreditNote.CreditNoteInvoice'Variants
instance GHC.Show.Show StripeAPI.Types.CreditNote.CreditNoteInvoice'Variants
instance GHC.Classes.Eq StripeAPI.Types.CreditNote.CreditNoteLines'
instance GHC.Show.Show StripeAPI.Types.CreditNote.CreditNoteLines'
instance GHC.Classes.Eq StripeAPI.Types.CreditNote.CreditNoteReason'
instance GHC.Show.Show StripeAPI.Types.CreditNote.CreditNoteReason'
instance GHC.Classes.Eq StripeAPI.Types.CreditNote.CreditNoteRefund'Variants
instance GHC.Show.Show StripeAPI.Types.CreditNote.CreditNoteRefund'Variants
instance GHC.Classes.Eq StripeAPI.Types.CreditNote.CreditNoteStatus'
instance GHC.Show.Show StripeAPI.Types.CreditNote.CreditNoteStatus'
instance GHC.Classes.Eq StripeAPI.Types.CreditNote.CreditNoteType'
instance GHC.Show.Show StripeAPI.Types.CreditNote.CreditNoteType'
instance GHC.Classes.Eq StripeAPI.Types.CreditNote.CreditNote
instance GHC.Show.Show StripeAPI.Types.CreditNote.CreditNote
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.CreditNote.CreditNote
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.CreditNote.CreditNote
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.CreditNote.CreditNoteType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.CreditNote.CreditNoteType'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.CreditNote.CreditNoteStatus'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.CreditNote.CreditNoteStatus'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.CreditNote.CreditNoteRefund'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.CreditNote.CreditNoteRefund'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.CreditNote.CreditNoteReason'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.CreditNote.CreditNoteReason'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.CreditNote.CreditNoteLines'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.CreditNote.CreditNoteLines'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.CreditNote.CreditNoteInvoice'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.CreditNote.CreditNoteInvoice'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.CreditNote.CreditNoteCustomerBalanceTransaction'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.CreditNote.CreditNoteCustomerBalanceTransaction'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.CreditNote.CreditNoteCustomer'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.CreditNote.CreditNoteCustomer'Variants
-- | Contains the types generated from the schema Reporting_ReportRun
module StripeAPI.Types.Reporting_ReportRun
-- | Defines the object schema located at
-- components.schemas.reporting.report_run in the specification.
--
-- The Report Run object represents an instance of a report type
-- generated with specific run parameters. Once the object is created,
-- Stripe begins processing the report. When the report has finished
-- running, it will give you a reference to a file where you can retrieve
-- your results. For an overview, see API Access to Reports.
--
-- Note that certain report types can only be run based on your live-mode
-- data (not test-mode data), and will error when queried without a
-- live-mode API key.
data Reporting'reportRun
Reporting'reportRun :: Int -> Maybe Text -> Text -> Bool -> FinancialReportingFinanceReportRunRunParameters -> Text -> Maybe Reporting'reportRunResult' -> Text -> Maybe Int -> Reporting'reportRun
-- | created: Time at which the object was created. Measured in seconds
-- since the Unix epoch.
[reporting'reportRunCreated] :: Reporting'reportRun -> Int
-- | error: If something should go wrong during the run, a message about
-- the failure (populated when `status=failed`).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[reporting'reportRunError] :: Reporting'reportRun -> Maybe Text
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[reporting'reportRunId] :: Reporting'reportRun -> Text
-- | livemode: `true` if the report is run on live mode data and `false` if
-- it is run on test mode data.
[reporting'reportRunLivemode] :: Reporting'reportRun -> Bool
-- | parameters:
[reporting'reportRunParameters] :: Reporting'reportRun -> FinancialReportingFinanceReportRunRunParameters
-- | report_type: The ID of the report type to run, such as
-- `"balance.summary.1"`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[reporting'reportRunReportType] :: Reporting'reportRun -> Text
-- | result: The file object representing the result of the report run
-- (populated when `status=succeeded`).
[reporting'reportRunResult] :: Reporting'reportRun -> Maybe Reporting'reportRunResult'
-- | status: Status of this report run. This will be `pending` when the run
-- is initially created. When the run finishes, this will be set to
-- `succeeded` and the `result` field will be populated. Rarely, we may
-- encounter an error, at which point this will be set to `failed` and
-- the `error` field will be populated.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[reporting'reportRunStatus] :: Reporting'reportRun -> Text
-- | succeeded_at: Timestamp at which this run successfully finished
-- (populated when `status=succeeded`). Measured in seconds since the
-- Unix epoch.
[reporting'reportRunSucceededAt] :: Reporting'reportRun -> Maybe Int
-- | Create a new Reporting'reportRun with all required fields.
mkReporting'reportRun :: Int -> Text -> Bool -> FinancialReportingFinanceReportRunRunParameters -> Text -> Text -> Reporting'reportRun
-- | Defines the object schema located at
-- components.schemas.reporting.report_run.properties.result.anyOf
-- in the specification.
--
-- The file object representing the result of the report run (populated
-- when \`status=succeeded\`).
data Reporting'reportRunResult'
Reporting'reportRunResult' :: Maybe Int -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe Reporting'reportRunResult'Links' -> Maybe Reporting'reportRunResult'Object' -> Maybe Reporting'reportRunResult'Purpose' -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe Text -> Reporting'reportRunResult'
-- | created: Time at which the object was created. Measured in seconds
-- since the Unix epoch.
[reporting'reportRunResult'Created] :: Reporting'reportRunResult' -> Maybe Int
-- | expires_at: The time at which the file expires and is no longer
-- available in epoch seconds.
[reporting'reportRunResult'ExpiresAt] :: Reporting'reportRunResult' -> Maybe Int
-- | filename: A filename for the file, suitable for saving to a
-- filesystem.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[reporting'reportRunResult'Filename] :: Reporting'reportRunResult' -> Maybe Text
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[reporting'reportRunResult'Id] :: Reporting'reportRunResult' -> Maybe Text
-- | links: A list of file links that point at this file.
[reporting'reportRunResult'Links] :: Reporting'reportRunResult' -> Maybe Reporting'reportRunResult'Links'
-- | object: String representing the object's type. Objects of the same
-- type share the same value.
[reporting'reportRunResult'Object] :: Reporting'reportRunResult' -> Maybe Reporting'reportRunResult'Object'
-- | purpose: The purpose of the uploaded file.
[reporting'reportRunResult'Purpose] :: Reporting'reportRunResult' -> Maybe Reporting'reportRunResult'Purpose'
-- | size: The size in bytes of the file object.
[reporting'reportRunResult'Size] :: Reporting'reportRunResult' -> Maybe Int
-- | title: A user friendly title for the document.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[reporting'reportRunResult'Title] :: Reporting'reportRunResult' -> Maybe Text
-- | type: The type of the file returned (e.g., `csv`, `pdf`, `jpg`, or
-- `png`).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[reporting'reportRunResult'Type] :: Reporting'reportRunResult' -> Maybe Text
-- | url: The URL from which the file can be downloaded using your live
-- secret API key.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[reporting'reportRunResult'Url] :: Reporting'reportRunResult' -> Maybe Text
-- | Create a new Reporting'reportRunResult' with all required
-- fields.
mkReporting'reportRunResult' :: Reporting'reportRunResult'
-- | Defines the object schema located at
-- components.schemas.reporting.report_run.properties.result.anyOf.properties.links
-- in the specification.
--
-- A list of file links that point at this file.
data Reporting'reportRunResult'Links'
Reporting'reportRunResult'Links' :: [FileLink] -> Bool -> Text -> Reporting'reportRunResult'Links'
-- | data: Details about each object.
[reporting'reportRunResult'Links'Data] :: Reporting'reportRunResult'Links' -> [FileLink]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[reporting'reportRunResult'Links'HasMore] :: Reporting'reportRunResult'Links' -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[reporting'reportRunResult'Links'Url] :: Reporting'reportRunResult'Links' -> Text
-- | Create a new Reporting'reportRunResult'Links' with all required
-- fields.
mkReporting'reportRunResult'Links' :: [FileLink] -> Bool -> Text -> Reporting'reportRunResult'Links'
-- | Defines the enum schema located at
-- components.schemas.reporting.report_run.properties.result.anyOf.properties.object
-- in the specification.
--
-- String representing the object's type. Objects of the same type share
-- the same value.
data Reporting'reportRunResult'Object'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
Reporting'reportRunResult'Object'Other :: Value -> Reporting'reportRunResult'Object'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
Reporting'reportRunResult'Object'Typed :: Text -> Reporting'reportRunResult'Object'
-- | Represents the JSON value "file"
Reporting'reportRunResult'Object'EnumFile :: Reporting'reportRunResult'Object'
-- | Defines the enum schema located at
-- components.schemas.reporting.report_run.properties.result.anyOf.properties.purpose
-- in the specification.
--
-- The purpose of the uploaded file.
data Reporting'reportRunResult'Purpose'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
Reporting'reportRunResult'Purpose'Other :: Value -> Reporting'reportRunResult'Purpose'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
Reporting'reportRunResult'Purpose'Typed :: Text -> Reporting'reportRunResult'Purpose'
-- | Represents the JSON value "account_requirement"
Reporting'reportRunResult'Purpose'EnumAccountRequirement :: Reporting'reportRunResult'Purpose'
-- | Represents the JSON value "additional_verification"
Reporting'reportRunResult'Purpose'EnumAdditionalVerification :: Reporting'reportRunResult'Purpose'
-- | Represents the JSON value "business_icon"
Reporting'reportRunResult'Purpose'EnumBusinessIcon :: Reporting'reportRunResult'Purpose'
-- | Represents the JSON value "business_logo"
Reporting'reportRunResult'Purpose'EnumBusinessLogo :: Reporting'reportRunResult'Purpose'
-- | Represents the JSON value "customer_signature"
Reporting'reportRunResult'Purpose'EnumCustomerSignature :: Reporting'reportRunResult'Purpose'
-- | Represents the JSON value "dispute_evidence"
Reporting'reportRunResult'Purpose'EnumDisputeEvidence :: Reporting'reportRunResult'Purpose'
-- | Represents the JSON value
-- "document_provider_identity_document"
Reporting'reportRunResult'Purpose'EnumDocumentProviderIdentityDocument :: Reporting'reportRunResult'Purpose'
-- | Represents the JSON value "finance_report_run"
Reporting'reportRunResult'Purpose'EnumFinanceReportRun :: Reporting'reportRunResult'Purpose'
-- | Represents the JSON value "identity_document"
Reporting'reportRunResult'Purpose'EnumIdentityDocument :: Reporting'reportRunResult'Purpose'
-- | Represents the JSON value "identity_document_downloadable"
Reporting'reportRunResult'Purpose'EnumIdentityDocumentDownloadable :: Reporting'reportRunResult'Purpose'
-- | Represents the JSON value "pci_document"
Reporting'reportRunResult'Purpose'EnumPciDocument :: Reporting'reportRunResult'Purpose'
-- | Represents the JSON value "selfie"
Reporting'reportRunResult'Purpose'EnumSelfie :: Reporting'reportRunResult'Purpose'
-- | Represents the JSON value "sigma_scheduled_query"
Reporting'reportRunResult'Purpose'EnumSigmaScheduledQuery :: Reporting'reportRunResult'Purpose'
-- | Represents the JSON value "tax_document_user_upload"
Reporting'reportRunResult'Purpose'EnumTaxDocumentUserUpload :: Reporting'reportRunResult'Purpose'
instance GHC.Classes.Eq StripeAPI.Types.Reporting_ReportRun.Reporting'reportRunResult'Links'
instance GHC.Show.Show StripeAPI.Types.Reporting_ReportRun.Reporting'reportRunResult'Links'
instance GHC.Classes.Eq StripeAPI.Types.Reporting_ReportRun.Reporting'reportRunResult'Object'
instance GHC.Show.Show StripeAPI.Types.Reporting_ReportRun.Reporting'reportRunResult'Object'
instance GHC.Classes.Eq StripeAPI.Types.Reporting_ReportRun.Reporting'reportRunResult'Purpose'
instance GHC.Show.Show StripeAPI.Types.Reporting_ReportRun.Reporting'reportRunResult'Purpose'
instance GHC.Classes.Eq StripeAPI.Types.Reporting_ReportRun.Reporting'reportRunResult'
instance GHC.Show.Show StripeAPI.Types.Reporting_ReportRun.Reporting'reportRunResult'
instance GHC.Classes.Eq StripeAPI.Types.Reporting_ReportRun.Reporting'reportRun
instance GHC.Show.Show StripeAPI.Types.Reporting_ReportRun.Reporting'reportRun
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Reporting_ReportRun.Reporting'reportRun
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Reporting_ReportRun.Reporting'reportRun
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Reporting_ReportRun.Reporting'reportRunResult'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Reporting_ReportRun.Reporting'reportRunResult'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Reporting_ReportRun.Reporting'reportRunResult'Purpose'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Reporting_ReportRun.Reporting'reportRunResult'Purpose'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Reporting_ReportRun.Reporting'reportRunResult'Object'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Reporting_ReportRun.Reporting'reportRunResult'Object'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Reporting_ReportRun.Reporting'reportRunResult'Links'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Reporting_ReportRun.Reporting'reportRunResult'Links'
-- | Contains the types generated from the schema Reporting_ReportType
module StripeAPI.Types.Reporting_ReportType
-- | Defines the object schema located at
-- components.schemas.reporting.report_type in the
-- specification.
--
-- The Report Type resource corresponds to a particular type of report,
-- such as the "Activity summary" or "Itemized payouts" reports. These
-- objects are identified by an ID belonging to a set of enumerated
-- values. See API Access to Reports documentation for those
-- Report Type IDs, along with required and optional parameters.
--
-- Note that certain report types can only be run based on your live-mode
-- data (not test-mode data), and will error when queried without a
-- live-mode API key.
data Reporting'reportType
Reporting'reportType :: Int -> Int -> Maybe [Text] -> Text -> Text -> Int -> Int -> Reporting'reportType
-- | data_available_end: Most recent time for which this Report Type is
-- available. Measured in seconds since the Unix epoch.
[reporting'reportTypeDataAvailableEnd] :: Reporting'reportType -> Int
-- | data_available_start: Earliest time for which this Report Type is
-- available. Measured in seconds since the Unix epoch.
[reporting'reportTypeDataAvailableStart] :: Reporting'reportType -> Int
-- | default_columns: List of column names that are included by default
-- when this Report Type gets run. (If the Report Type doesn't support
-- the `columns` parameter, this will be null.)
[reporting'reportTypeDefaultColumns] :: Reporting'reportType -> Maybe [Text]
-- | id: The ID of the Report Type, such as `balance.summary.1`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[reporting'reportTypeId] :: Reporting'reportType -> Text
-- | name: Human-readable name of the Report Type
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[reporting'reportTypeName] :: Reporting'reportType -> Text
-- | updated: When this Report Type was latest updated. Measured in seconds
-- since the Unix epoch.
[reporting'reportTypeUpdated] :: Reporting'reportType -> Int
-- | version: Version of the Report Type. Different versions report with
-- the same ID will have the same purpose, but may take different run
-- parameters or have different result schemas.
[reporting'reportTypeVersion] :: Reporting'reportType -> Int
-- | Create a new Reporting'reportType with all required fields.
mkReporting'reportType :: Int -> Int -> Text -> Text -> Int -> Int -> Reporting'reportType
instance GHC.Classes.Eq StripeAPI.Types.Reporting_ReportType.Reporting'reportType
instance GHC.Show.Show StripeAPI.Types.Reporting_ReportType.Reporting'reportType
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Reporting_ReportType.Reporting'reportType
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Reporting_ReportType.Reporting'reportType
-- | Contains the types generated from the schema ReserveTransaction
module StripeAPI.Types.ReserveTransaction
-- | Defines the object schema located at
-- components.schemas.reserve_transaction in the specification.
data ReserveTransaction
ReserveTransaction :: Int -> Text -> Maybe Text -> Text -> ReserveTransaction
-- | amount
[reserveTransactionAmount] :: ReserveTransaction -> Int
-- | currency: Three-letter ISO currency code, in lowercase. Must be
-- a supported currency.
[reserveTransactionCurrency] :: ReserveTransaction -> Text
-- | description: An arbitrary string attached to the object. Often useful
-- for displaying to users.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[reserveTransactionDescription] :: ReserveTransaction -> Maybe Text
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[reserveTransactionId] :: ReserveTransaction -> Text
-- | Create a new ReserveTransaction with all required fields.
mkReserveTransaction :: Int -> Text -> Text -> ReserveTransaction
instance GHC.Classes.Eq StripeAPI.Types.ReserveTransaction.ReserveTransaction
instance GHC.Show.Show StripeAPI.Types.ReserveTransaction.ReserveTransaction
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.ReserveTransaction.ReserveTransaction
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.ReserveTransaction.ReserveTransaction
-- | Contains the types generated from the schema Review
module StripeAPI.Types.Review
-- | Defines the object schema located at
-- components.schemas.review in the specification.
--
-- Reviews can be used to supplement automated fraud detection with human
-- expertise.
--
-- Learn more about Radar and reviewing payments here.
data Review
Review :: Maybe Text -> Maybe ReviewCharge'Variants -> Maybe ReviewClosedReason' -> Int -> Text -> Maybe Text -> Maybe ReviewIpAddressLocation' -> Bool -> Bool -> ReviewOpenedReason' -> Maybe ReviewPaymentIntent'Variants -> Text -> Maybe ReviewSession' -> Review
-- | billing_zip: The ZIP or postal code of the card used, if applicable.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[reviewBillingZip] :: Review -> Maybe Text
-- | charge: The charge associated with this review.
[reviewCharge] :: Review -> Maybe ReviewCharge'Variants
-- | closed_reason: The reason the review was closed, or null if it has not
-- yet been closed. One of `approved`, `refunded`, `refunded_as_fraud`,
-- or `disputed`.
[reviewClosedReason] :: Review -> Maybe ReviewClosedReason'
-- | created: Time at which the object was created. Measured in seconds
-- since the Unix epoch.
[reviewCreated] :: Review -> Int
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[reviewId] :: Review -> Text
-- | ip_address: The IP address where the payment originated.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[reviewIpAddress] :: Review -> Maybe Text
-- | ip_address_location: Information related to the location of the
-- payment. Note that this information is an approximation and attempts
-- to locate the nearest population center - it should not be used to
-- determine a specific address.
[reviewIpAddressLocation] :: Review -> Maybe ReviewIpAddressLocation'
-- | livemode: Has the value `true` if the object exists in live mode or
-- the value `false` if the object exists in test mode.
[reviewLivemode] :: Review -> Bool
-- | open: If `true`, the review needs action.
[reviewOpen] :: Review -> Bool
-- | opened_reason: The reason the review was opened. One of `rule` or
-- `manual`.
[reviewOpenedReason] :: Review -> ReviewOpenedReason'
-- | payment_intent: The PaymentIntent ID associated with this review, if
-- one exists.
[reviewPaymentIntent] :: Review -> Maybe ReviewPaymentIntent'Variants
-- | reason: The reason the review is currently open or closed. One of
-- `rule`, `manual`, `approved`, `refunded`, `refunded_as_fraud`, or
-- `disputed`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[reviewReason] :: Review -> Text
-- | session: Information related to the browsing session of the user who
-- initiated the payment.
[reviewSession] :: Review -> Maybe ReviewSession'
-- | Create a new Review with all required fields.
mkReview :: Int -> Text -> Bool -> Bool -> ReviewOpenedReason' -> Text -> Review
-- | Defines the oneOf schema located at
-- components.schemas.review.properties.charge.anyOf in the
-- specification.
--
-- The charge associated with this review.
data ReviewCharge'Variants
ReviewCharge'Text :: Text -> ReviewCharge'Variants
ReviewCharge'Charge :: Charge -> ReviewCharge'Variants
-- | Defines the enum schema located at
-- components.schemas.review.properties.closed_reason in the
-- specification.
--
-- The reason the review was closed, or null if it has not yet been
-- closed. One of `approved`, `refunded`, `refunded_as_fraud`, or
-- `disputed`.
data ReviewClosedReason'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
ReviewClosedReason'Other :: Value -> ReviewClosedReason'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
ReviewClosedReason'Typed :: Text -> ReviewClosedReason'
-- | Represents the JSON value "approved"
ReviewClosedReason'EnumApproved :: ReviewClosedReason'
-- | Represents the JSON value "disputed"
ReviewClosedReason'EnumDisputed :: ReviewClosedReason'
-- | Represents the JSON value "refunded"
ReviewClosedReason'EnumRefunded :: ReviewClosedReason'
-- | Represents the JSON value "refunded_as_fraud"
ReviewClosedReason'EnumRefundedAsFraud :: ReviewClosedReason'
-- | Defines the object schema located at
-- components.schemas.review.properties.ip_address_location.anyOf
-- in the specification.
--
-- Information related to the location of the payment. Note that this
-- information is an approximation and attempts to locate the nearest
-- population center - it should not be used to determine a specific
-- address.
data ReviewIpAddressLocation'
ReviewIpAddressLocation' :: Maybe Text -> Maybe Text -> Maybe Double -> Maybe Double -> Maybe Text -> ReviewIpAddressLocation'
-- | city: The city where the payment originated.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[reviewIpAddressLocation'City] :: ReviewIpAddressLocation' -> Maybe Text
-- | country: Two-letter ISO code representing the country where the
-- payment originated.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[reviewIpAddressLocation'Country] :: ReviewIpAddressLocation' -> Maybe Text
-- | latitude: The geographic latitude where the payment originated.
[reviewIpAddressLocation'Latitude] :: ReviewIpAddressLocation' -> Maybe Double
-- | longitude: The geographic longitude where the payment originated.
[reviewIpAddressLocation'Longitude] :: ReviewIpAddressLocation' -> Maybe Double
-- | region: The state/county/province/region where the payment originated.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[reviewIpAddressLocation'Region] :: ReviewIpAddressLocation' -> Maybe Text
-- | Create a new ReviewIpAddressLocation' with all required fields.
mkReviewIpAddressLocation' :: ReviewIpAddressLocation'
-- | Defines the enum schema located at
-- components.schemas.review.properties.opened_reason in the
-- specification.
--
-- The reason the review was opened. One of `rule` or `manual`.
data ReviewOpenedReason'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
ReviewOpenedReason'Other :: Value -> ReviewOpenedReason'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
ReviewOpenedReason'Typed :: Text -> ReviewOpenedReason'
-- | Represents the JSON value "manual"
ReviewOpenedReason'EnumManual :: ReviewOpenedReason'
-- | Represents the JSON value "rule"
ReviewOpenedReason'EnumRule :: ReviewOpenedReason'
-- | Defines the oneOf schema located at
-- components.schemas.review.properties.payment_intent.anyOf in
-- the specification.
--
-- The PaymentIntent ID associated with this review, if one exists.
data ReviewPaymentIntent'Variants
ReviewPaymentIntent'Text :: Text -> ReviewPaymentIntent'Variants
ReviewPaymentIntent'PaymentIntent :: PaymentIntent -> ReviewPaymentIntent'Variants
-- | Defines the object schema located at
-- components.schemas.review.properties.session.anyOf in the
-- specification.
--
-- Information related to the browsing session of the user who initiated
-- the payment.
data ReviewSession'
ReviewSession' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> ReviewSession'
-- | browser: The browser used in this browser session (e.g., `Chrome`).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[reviewSession'Browser] :: ReviewSession' -> Maybe Text
-- | device: Information about the device used for the browser session
-- (e.g., `Samsung SM-G930T`).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[reviewSession'Device] :: ReviewSession' -> Maybe Text
-- | platform: The platform for the browser session (e.g., `Macintosh`).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[reviewSession'Platform] :: ReviewSession' -> Maybe Text
-- | version: The version for the browser session (e.g., `61.0.3163.100`).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[reviewSession'Version] :: ReviewSession' -> Maybe Text
-- | Create a new ReviewSession' with all required fields.
mkReviewSession' :: ReviewSession'
instance GHC.Classes.Eq StripeAPI.Types.Review.ReviewCharge'Variants
instance GHC.Show.Show StripeAPI.Types.Review.ReviewCharge'Variants
instance GHC.Classes.Eq StripeAPI.Types.Review.ReviewClosedReason'
instance GHC.Show.Show StripeAPI.Types.Review.ReviewClosedReason'
instance GHC.Classes.Eq StripeAPI.Types.Review.ReviewIpAddressLocation'
instance GHC.Show.Show StripeAPI.Types.Review.ReviewIpAddressLocation'
instance GHC.Classes.Eq StripeAPI.Types.Review.ReviewOpenedReason'
instance GHC.Show.Show StripeAPI.Types.Review.ReviewOpenedReason'
instance GHC.Classes.Eq StripeAPI.Types.Review.ReviewPaymentIntent'Variants
instance GHC.Show.Show StripeAPI.Types.Review.ReviewPaymentIntent'Variants
instance GHC.Classes.Eq StripeAPI.Types.Review.ReviewSession'
instance GHC.Show.Show StripeAPI.Types.Review.ReviewSession'
instance GHC.Classes.Eq StripeAPI.Types.Review.Review
instance GHC.Show.Show StripeAPI.Types.Review.Review
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Review.Review
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Review.Review
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Review.ReviewSession'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Review.ReviewSession'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Review.ReviewPaymentIntent'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Review.ReviewPaymentIntent'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Review.ReviewOpenedReason'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Review.ReviewOpenedReason'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Review.ReviewIpAddressLocation'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Review.ReviewIpAddressLocation'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Review.ReviewClosedReason'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Review.ReviewClosedReason'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Review.ReviewCharge'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Review.ReviewCharge'Variants
-- | Contains the types generated from the schema ChargeOutcome
module StripeAPI.Types.ChargeOutcome
-- | Defines the object schema located at
-- components.schemas.charge_outcome in the specification.
data ChargeOutcome
ChargeOutcome :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Int -> Maybe ChargeOutcomeRule'Variants -> Maybe Text -> Text -> ChargeOutcome
-- | network_status: Possible values are `approved_by_network`,
-- `declined_by_network`, `not_sent_to_network`, and
-- `reversed_after_approval`. The value `reversed_after_approval`
-- indicates the payment was blocked by Stripe after bank
-- authorization, and may temporarily appear as "pending" on a
-- cardholder's statement.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[chargeOutcomeNetworkStatus] :: ChargeOutcome -> Maybe Text
-- | reason: An enumerated value providing a more detailed explanation of
-- the outcome's `type`. Charges blocked by Radar's default block rule
-- have the value `highest_risk_level`. Charges placed in review by
-- Radar's default review rule have the value `elevated_risk_level`.
-- Charges authorized, blocked, or placed in review by custom rules have
-- the value `rule`. See understanding declines for more details.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[chargeOutcomeReason] :: ChargeOutcome -> Maybe Text
-- | risk_level: Stripe Radar's evaluation of the riskiness of the payment.
-- Possible values for evaluated payments are `normal`, `elevated`,
-- `highest`. For non-card payments, and card-based payments predating
-- the public assignment of risk levels, this field will have the value
-- `not_assessed`. In the event of an error in the evaluation, this field
-- will have the value `unknown`. This field is only available with
-- Radar.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[chargeOutcomeRiskLevel] :: ChargeOutcome -> Maybe Text
-- | risk_score: Stripe Radar's evaluation of the riskiness of the payment.
-- Possible values for evaluated payments are between 0 and 100. For
-- non-card payments, card-based payments predating the public assignment
-- of risk scores, or in the event of an error during evaluation, this
-- field will not be present. This field is only available with Radar for
-- Fraud Teams.
[chargeOutcomeRiskScore] :: ChargeOutcome -> Maybe Int
-- | rule: The ID of the Radar rule that matched the payment, if
-- applicable.
[chargeOutcomeRule] :: ChargeOutcome -> Maybe ChargeOutcomeRule'Variants
-- | seller_message: A human-readable description of the outcome type and
-- reason, designed for you (the recipient of the payment), not your
-- customer.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[chargeOutcomeSellerMessage] :: ChargeOutcome -> Maybe Text
-- | type: Possible values are `authorized`, `manual_review`,
-- `issuer_declined`, `blocked`, and `invalid`. See understanding
-- declines and Radar reviews for details.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[chargeOutcomeType] :: ChargeOutcome -> Text
-- | Create a new ChargeOutcome with all required fields.
mkChargeOutcome :: Text -> ChargeOutcome
-- | Defines the oneOf schema located at
-- components.schemas.charge_outcome.properties.rule.anyOf in
-- the specification.
--
-- The ID of the Radar rule that matched the payment, if applicable.
data ChargeOutcomeRule'Variants
ChargeOutcomeRule'Text :: Text -> ChargeOutcomeRule'Variants
ChargeOutcomeRule'Rule :: Rule -> ChargeOutcomeRule'Variants
instance GHC.Classes.Eq StripeAPI.Types.ChargeOutcome.ChargeOutcomeRule'Variants
instance GHC.Show.Show StripeAPI.Types.ChargeOutcome.ChargeOutcomeRule'Variants
instance GHC.Classes.Eq StripeAPI.Types.ChargeOutcome.ChargeOutcome
instance GHC.Show.Show StripeAPI.Types.ChargeOutcome.ChargeOutcome
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.ChargeOutcome.ChargeOutcome
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.ChargeOutcome.ChargeOutcome
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.ChargeOutcome.ChargeOutcomeRule'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.ChargeOutcome.ChargeOutcomeRule'Variants
-- | Contains the types generated from the schema Rule
module StripeAPI.Types.Rule
-- | Defines the object schema located at components.schemas.rule
-- in the specification.
data Rule
Rule :: Text -> Text -> Text -> Rule
-- | action: The action taken on the payment.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[ruleAction] :: Rule -> Text
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[ruleId] :: Rule -> Text
-- | predicate: The predicate to evaluate the payment against.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[rulePredicate] :: Rule -> Text
-- | Create a new Rule with all required fields.
mkRule :: Text -> Text -> Text -> Rule
instance GHC.Classes.Eq StripeAPI.Types.Rule.Rule
instance GHC.Show.Show StripeAPI.Types.Rule.Rule
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Rule.Rule
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Rule.Rule
-- | Contains the types generated from the schema
-- SchedulesPhaseAutomaticTax
module StripeAPI.Types.SchedulesPhaseAutomaticTax
-- | Defines the object schema located at
-- components.schemas.schedules_phase_automatic_tax in the
-- specification.
data SchedulesPhaseAutomaticTax
SchedulesPhaseAutomaticTax :: Bool -> SchedulesPhaseAutomaticTax
-- | enabled: Whether Stripe automatically computes tax on invoices created
-- during this phase.
[schedulesPhaseAutomaticTaxEnabled] :: SchedulesPhaseAutomaticTax -> Bool
-- | Create a new SchedulesPhaseAutomaticTax with all required
-- fields.
mkSchedulesPhaseAutomaticTax :: Bool -> SchedulesPhaseAutomaticTax
instance GHC.Classes.Eq StripeAPI.Types.SchedulesPhaseAutomaticTax.SchedulesPhaseAutomaticTax
instance GHC.Show.Show StripeAPI.Types.SchedulesPhaseAutomaticTax.SchedulesPhaseAutomaticTax
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SchedulesPhaseAutomaticTax.SchedulesPhaseAutomaticTax
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SchedulesPhaseAutomaticTax.SchedulesPhaseAutomaticTax
-- | Contains the types generated from the schema SepaDebitGeneratedFrom
module StripeAPI.Types.SepaDebitGeneratedFrom
-- | Defines the object schema located at
-- components.schemas.sepa_debit_generated_from in the
-- specification.
data SepaDebitGeneratedFrom
SepaDebitGeneratedFrom :: Maybe SepaDebitGeneratedFromCharge'Variants -> Maybe SepaDebitGeneratedFromSetupAttempt'Variants -> SepaDebitGeneratedFrom
-- | charge: The ID of the Charge that generated this PaymentMethod, if
-- any.
[sepaDebitGeneratedFromCharge] :: SepaDebitGeneratedFrom -> Maybe SepaDebitGeneratedFromCharge'Variants
-- | setup_attempt: The ID of the SetupAttempt that generated this
-- PaymentMethod, if any.
[sepaDebitGeneratedFromSetupAttempt] :: SepaDebitGeneratedFrom -> Maybe SepaDebitGeneratedFromSetupAttempt'Variants
-- | Create a new SepaDebitGeneratedFrom with all required fields.
mkSepaDebitGeneratedFrom :: SepaDebitGeneratedFrom
-- | Defines the oneOf schema located at
-- components.schemas.sepa_debit_generated_from.properties.charge.anyOf
-- in the specification.
--
-- The ID of the Charge that generated this PaymentMethod, if any.
data SepaDebitGeneratedFromCharge'Variants
SepaDebitGeneratedFromCharge'Text :: Text -> SepaDebitGeneratedFromCharge'Variants
SepaDebitGeneratedFromCharge'Charge :: Charge -> SepaDebitGeneratedFromCharge'Variants
-- | Defines the oneOf schema located at
-- components.schemas.sepa_debit_generated_from.properties.setup_attempt.anyOf
-- in the specification.
--
-- The ID of the SetupAttempt that generated this PaymentMethod, if any.
data SepaDebitGeneratedFromSetupAttempt'Variants
SepaDebitGeneratedFromSetupAttempt'Text :: Text -> SepaDebitGeneratedFromSetupAttempt'Variants
SepaDebitGeneratedFromSetupAttempt'SetupAttempt :: SetupAttempt -> SepaDebitGeneratedFromSetupAttempt'Variants
instance GHC.Classes.Eq StripeAPI.Types.SepaDebitGeneratedFrom.SepaDebitGeneratedFromCharge'Variants
instance GHC.Show.Show StripeAPI.Types.SepaDebitGeneratedFrom.SepaDebitGeneratedFromCharge'Variants
instance GHC.Classes.Eq StripeAPI.Types.SepaDebitGeneratedFrom.SepaDebitGeneratedFromSetupAttempt'Variants
instance GHC.Show.Show StripeAPI.Types.SepaDebitGeneratedFrom.SepaDebitGeneratedFromSetupAttempt'Variants
instance GHC.Classes.Eq StripeAPI.Types.SepaDebitGeneratedFrom.SepaDebitGeneratedFrom
instance GHC.Show.Show StripeAPI.Types.SepaDebitGeneratedFrom.SepaDebitGeneratedFrom
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SepaDebitGeneratedFrom.SepaDebitGeneratedFrom
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SepaDebitGeneratedFrom.SepaDebitGeneratedFrom
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SepaDebitGeneratedFrom.SepaDebitGeneratedFromSetupAttempt'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SepaDebitGeneratedFrom.SepaDebitGeneratedFromSetupAttempt'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SepaDebitGeneratedFrom.SepaDebitGeneratedFromCharge'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SepaDebitGeneratedFrom.SepaDebitGeneratedFromCharge'Variants
-- | Contains the types generated from the schema PaymentMethodSepaDebit
module StripeAPI.Types.PaymentMethodSepaDebit
-- | Defines the object schema located at
-- components.schemas.payment_method_sepa_debit in the
-- specification.
data PaymentMethodSepaDebit
PaymentMethodSepaDebit :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe PaymentMethodSepaDebitGeneratedFrom' -> Maybe Text -> PaymentMethodSepaDebit
-- | bank_code: Bank code of bank associated with the bank account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodSepaDebitBankCode] :: PaymentMethodSepaDebit -> Maybe Text
-- | branch_code: Branch code of bank associated with the bank account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodSepaDebitBranchCode] :: PaymentMethodSepaDebit -> Maybe Text
-- | country: Two-letter ISO code representing the country the bank account
-- is located in.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodSepaDebitCountry] :: PaymentMethodSepaDebit -> Maybe Text
-- | fingerprint: Uniquely identifies this particular bank account. You can
-- use this attribute to check whether two bank accounts are the same.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodSepaDebitFingerprint] :: PaymentMethodSepaDebit -> Maybe Text
-- | generated_from: Information about the object that generated this
-- PaymentMethod.
[paymentMethodSepaDebitGeneratedFrom] :: PaymentMethodSepaDebit -> Maybe PaymentMethodSepaDebitGeneratedFrom'
-- | last4: Last four characters of the IBAN.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodSepaDebitLast4] :: PaymentMethodSepaDebit -> Maybe Text
-- | Create a new PaymentMethodSepaDebit with all required fields.
mkPaymentMethodSepaDebit :: PaymentMethodSepaDebit
-- | Defines the object schema located at
-- components.schemas.payment_method_sepa_debit.properties.generated_from.anyOf
-- in the specification.
--
-- Information about the object that generated this PaymentMethod.
data PaymentMethodSepaDebitGeneratedFrom'
PaymentMethodSepaDebitGeneratedFrom' :: Maybe PaymentMethodSepaDebitGeneratedFrom'Charge'Variants -> Maybe PaymentMethodSepaDebitGeneratedFrom'SetupAttempt'Variants -> PaymentMethodSepaDebitGeneratedFrom'
-- | charge: The ID of the Charge that generated this PaymentMethod, if
-- any.
[paymentMethodSepaDebitGeneratedFrom'Charge] :: PaymentMethodSepaDebitGeneratedFrom' -> Maybe PaymentMethodSepaDebitGeneratedFrom'Charge'Variants
-- | setup_attempt: The ID of the SetupAttempt that generated this
-- PaymentMethod, if any.
[paymentMethodSepaDebitGeneratedFrom'SetupAttempt] :: PaymentMethodSepaDebitGeneratedFrom' -> Maybe PaymentMethodSepaDebitGeneratedFrom'SetupAttempt'Variants
-- | Create a new PaymentMethodSepaDebitGeneratedFrom' with all
-- required fields.
mkPaymentMethodSepaDebitGeneratedFrom' :: PaymentMethodSepaDebitGeneratedFrom'
-- | Defines the oneOf schema located at
-- components.schemas.payment_method_sepa_debit.properties.generated_from.anyOf.properties.charge.anyOf
-- in the specification.
--
-- The ID of the Charge that generated this PaymentMethod, if any.
data PaymentMethodSepaDebitGeneratedFrom'Charge'Variants
PaymentMethodSepaDebitGeneratedFrom'Charge'Text :: Text -> PaymentMethodSepaDebitGeneratedFrom'Charge'Variants
PaymentMethodSepaDebitGeneratedFrom'Charge'Charge :: Charge -> PaymentMethodSepaDebitGeneratedFrom'Charge'Variants
-- | Defines the oneOf schema located at
-- components.schemas.payment_method_sepa_debit.properties.generated_from.anyOf.properties.setup_attempt.anyOf
-- in the specification.
--
-- The ID of the SetupAttempt that generated this PaymentMethod, if any.
data PaymentMethodSepaDebitGeneratedFrom'SetupAttempt'Variants
PaymentMethodSepaDebitGeneratedFrom'SetupAttempt'Text :: Text -> PaymentMethodSepaDebitGeneratedFrom'SetupAttempt'Variants
PaymentMethodSepaDebitGeneratedFrom'SetupAttempt'SetupAttempt :: SetupAttempt -> PaymentMethodSepaDebitGeneratedFrom'SetupAttempt'Variants
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodSepaDebit.PaymentMethodSepaDebitGeneratedFrom'Charge'Variants
instance GHC.Show.Show StripeAPI.Types.PaymentMethodSepaDebit.PaymentMethodSepaDebitGeneratedFrom'Charge'Variants
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodSepaDebit.PaymentMethodSepaDebitGeneratedFrom'SetupAttempt'Variants
instance GHC.Show.Show StripeAPI.Types.PaymentMethodSepaDebit.PaymentMethodSepaDebitGeneratedFrom'SetupAttempt'Variants
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodSepaDebit.PaymentMethodSepaDebitGeneratedFrom'
instance GHC.Show.Show StripeAPI.Types.PaymentMethodSepaDebit.PaymentMethodSepaDebitGeneratedFrom'
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodSepaDebit.PaymentMethodSepaDebit
instance GHC.Show.Show StripeAPI.Types.PaymentMethodSepaDebit.PaymentMethodSepaDebit
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodSepaDebit.PaymentMethodSepaDebit
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodSepaDebit.PaymentMethodSepaDebit
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodSepaDebit.PaymentMethodSepaDebitGeneratedFrom'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodSepaDebit.PaymentMethodSepaDebitGeneratedFrom'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodSepaDebit.PaymentMethodSepaDebitGeneratedFrom'SetupAttempt'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodSepaDebit.PaymentMethodSepaDebitGeneratedFrom'SetupAttempt'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodSepaDebit.PaymentMethodSepaDebitGeneratedFrom'Charge'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodSepaDebit.PaymentMethodSepaDebitGeneratedFrom'Charge'Variants
-- | Contains the types generated from the schema
-- PaymentMethodCardGeneratedCard
module StripeAPI.Types.PaymentMethodCardGeneratedCard
-- | Defines the object schema located at
-- components.schemas.payment_method_card_generated_card in the
-- specification.
data PaymentMethodCardGeneratedCard
PaymentMethodCardGeneratedCard :: Maybe Text -> Maybe PaymentMethodCardGeneratedCardPaymentMethodDetails' -> Maybe PaymentMethodCardGeneratedCardSetupAttempt'Variants -> PaymentMethodCardGeneratedCard
-- | charge: The charge that created this object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodCardGeneratedCardCharge] :: PaymentMethodCardGeneratedCard -> Maybe Text
-- | payment_method_details: Transaction-specific details of the payment
-- method used in the payment.
[paymentMethodCardGeneratedCardPaymentMethodDetails] :: PaymentMethodCardGeneratedCard -> Maybe PaymentMethodCardGeneratedCardPaymentMethodDetails'
-- | setup_attempt: The ID of the SetupAttempt that generated this
-- PaymentMethod, if any.
[paymentMethodCardGeneratedCardSetupAttempt] :: PaymentMethodCardGeneratedCard -> Maybe PaymentMethodCardGeneratedCardSetupAttempt'Variants
-- | Create a new PaymentMethodCardGeneratedCard with all required
-- fields.
mkPaymentMethodCardGeneratedCard :: PaymentMethodCardGeneratedCard
-- | Defines the object schema located at
-- components.schemas.payment_method_card_generated_card.properties.payment_method_details.anyOf
-- in the specification.
--
-- Transaction-specific details of the payment method used in the
-- payment.
data PaymentMethodCardGeneratedCardPaymentMethodDetails'
PaymentMethodCardGeneratedCardPaymentMethodDetails' :: Maybe PaymentMethodDetailsCardPresent -> Maybe Text -> PaymentMethodCardGeneratedCardPaymentMethodDetails'
-- | card_present:
[paymentMethodCardGeneratedCardPaymentMethodDetails'CardPresent] :: PaymentMethodCardGeneratedCardPaymentMethodDetails' -> Maybe PaymentMethodDetailsCardPresent
-- | type: The type of payment method transaction-specific details from the
-- transaction that generated this `card` payment method. Always
-- `card_present`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodCardGeneratedCardPaymentMethodDetails'Type] :: PaymentMethodCardGeneratedCardPaymentMethodDetails' -> Maybe Text
-- | Create a new
-- PaymentMethodCardGeneratedCardPaymentMethodDetails' with all
-- required fields.
mkPaymentMethodCardGeneratedCardPaymentMethodDetails' :: PaymentMethodCardGeneratedCardPaymentMethodDetails'
-- | Defines the oneOf schema located at
-- components.schemas.payment_method_card_generated_card.properties.setup_attempt.anyOf
-- in the specification.
--
-- The ID of the SetupAttempt that generated this PaymentMethod, if any.
data PaymentMethodCardGeneratedCardSetupAttempt'Variants
PaymentMethodCardGeneratedCardSetupAttempt'Text :: Text -> PaymentMethodCardGeneratedCardSetupAttempt'Variants
PaymentMethodCardGeneratedCardSetupAttempt'SetupAttempt :: SetupAttempt -> PaymentMethodCardGeneratedCardSetupAttempt'Variants
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodCardGeneratedCard.PaymentMethodCardGeneratedCardPaymentMethodDetails'
instance GHC.Show.Show StripeAPI.Types.PaymentMethodCardGeneratedCard.PaymentMethodCardGeneratedCardPaymentMethodDetails'
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodCardGeneratedCard.PaymentMethodCardGeneratedCardSetupAttempt'Variants
instance GHC.Show.Show StripeAPI.Types.PaymentMethodCardGeneratedCard.PaymentMethodCardGeneratedCardSetupAttempt'Variants
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodCardGeneratedCard.PaymentMethodCardGeneratedCard
instance GHC.Show.Show StripeAPI.Types.PaymentMethodCardGeneratedCard.PaymentMethodCardGeneratedCard
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodCardGeneratedCard.PaymentMethodCardGeneratedCard
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodCardGeneratedCard.PaymentMethodCardGeneratedCard
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodCardGeneratedCard.PaymentMethodCardGeneratedCardSetupAttempt'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodCardGeneratedCard.PaymentMethodCardGeneratedCardSetupAttempt'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodCardGeneratedCard.PaymentMethodCardGeneratedCardPaymentMethodDetails'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodCardGeneratedCard.PaymentMethodCardGeneratedCardPaymentMethodDetails'
-- | Contains the types generated from the schema
-- SetupAttemptPaymentMethodDetailsBancontact
module StripeAPI.Types.SetupAttemptPaymentMethodDetailsBancontact
-- | Defines the object schema located at
-- components.schemas.setup_attempt_payment_method_details_bancontact
-- in the specification.
data SetupAttemptPaymentMethodDetailsBancontact
SetupAttemptPaymentMethodDetailsBancontact :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe SetupAttemptPaymentMethodDetailsBancontactGeneratedSepaDebit'Variants -> Maybe SetupAttemptPaymentMethodDetailsBancontactGeneratedSepaDebitMandate'Variants -> Maybe Text -> Maybe SetupAttemptPaymentMethodDetailsBancontactPreferredLanguage' -> Maybe Text -> SetupAttemptPaymentMethodDetailsBancontact
-- | bank_code: Bank code of bank associated with the bank account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupAttemptPaymentMethodDetailsBancontactBankCode] :: SetupAttemptPaymentMethodDetailsBancontact -> Maybe Text
-- | bank_name: Name of the bank associated with the bank account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupAttemptPaymentMethodDetailsBancontactBankName] :: SetupAttemptPaymentMethodDetailsBancontact -> Maybe Text
-- | bic: Bank Identifier Code of the bank associated with the bank
-- account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupAttemptPaymentMethodDetailsBancontactBic] :: SetupAttemptPaymentMethodDetailsBancontact -> Maybe Text
-- | generated_sepa_debit: The ID of the SEPA Direct Debit PaymentMethod
-- which was generated by this SetupAttempt.
[setupAttemptPaymentMethodDetailsBancontactGeneratedSepaDebit] :: SetupAttemptPaymentMethodDetailsBancontact -> Maybe SetupAttemptPaymentMethodDetailsBancontactGeneratedSepaDebit'Variants
-- | generated_sepa_debit_mandate: The mandate for the SEPA Direct Debit
-- PaymentMethod which was generated by this SetupAttempt.
[setupAttemptPaymentMethodDetailsBancontactGeneratedSepaDebitMandate] :: SetupAttemptPaymentMethodDetailsBancontact -> Maybe SetupAttemptPaymentMethodDetailsBancontactGeneratedSepaDebitMandate'Variants
-- | iban_last4: Last four characters of the IBAN.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupAttemptPaymentMethodDetailsBancontactIbanLast4] :: SetupAttemptPaymentMethodDetailsBancontact -> Maybe Text
-- | preferred_language: Preferred language of the Bancontact authorization
-- page that the customer is redirected to. Can be one of `en`, `de`,
-- `fr`, or `nl`
[setupAttemptPaymentMethodDetailsBancontactPreferredLanguage] :: SetupAttemptPaymentMethodDetailsBancontact -> Maybe SetupAttemptPaymentMethodDetailsBancontactPreferredLanguage'
-- | verified_name: Owner's verified full name. Values are verified or
-- provided by Bancontact directly (if supported) at the time of
-- authorization or settlement. They cannot be set or mutated.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupAttemptPaymentMethodDetailsBancontactVerifiedName] :: SetupAttemptPaymentMethodDetailsBancontact -> Maybe Text
-- | Create a new SetupAttemptPaymentMethodDetailsBancontact with
-- all required fields.
mkSetupAttemptPaymentMethodDetailsBancontact :: SetupAttemptPaymentMethodDetailsBancontact
-- | Defines the oneOf schema located at
-- components.schemas.setup_attempt_payment_method_details_bancontact.properties.generated_sepa_debit.anyOf
-- in the specification.
--
-- The ID of the SEPA Direct Debit PaymentMethod which was generated by
-- this SetupAttempt.
data SetupAttemptPaymentMethodDetailsBancontactGeneratedSepaDebit'Variants
SetupAttemptPaymentMethodDetailsBancontactGeneratedSepaDebit'Text :: Text -> SetupAttemptPaymentMethodDetailsBancontactGeneratedSepaDebit'Variants
SetupAttemptPaymentMethodDetailsBancontactGeneratedSepaDebit'PaymentMethod :: PaymentMethod -> SetupAttemptPaymentMethodDetailsBancontactGeneratedSepaDebit'Variants
-- | Defines the oneOf schema located at
-- components.schemas.setup_attempt_payment_method_details_bancontact.properties.generated_sepa_debit_mandate.anyOf
-- in the specification.
--
-- The mandate for the SEPA Direct Debit PaymentMethod which was
-- generated by this SetupAttempt.
data SetupAttemptPaymentMethodDetailsBancontactGeneratedSepaDebitMandate'Variants
SetupAttemptPaymentMethodDetailsBancontactGeneratedSepaDebitMandate'Text :: Text -> SetupAttemptPaymentMethodDetailsBancontactGeneratedSepaDebitMandate'Variants
SetupAttemptPaymentMethodDetailsBancontactGeneratedSepaDebitMandate'Mandate :: Mandate -> SetupAttemptPaymentMethodDetailsBancontactGeneratedSepaDebitMandate'Variants
-- | Defines the enum schema located at
-- components.schemas.setup_attempt_payment_method_details_bancontact.properties.preferred_language
-- in the specification.
--
-- Preferred language of the Bancontact authorization page that the
-- customer is redirected to. Can be one of `en`, `de`, `fr`, or `nl`
data SetupAttemptPaymentMethodDetailsBancontactPreferredLanguage'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
SetupAttemptPaymentMethodDetailsBancontactPreferredLanguage'Other :: Value -> SetupAttemptPaymentMethodDetailsBancontactPreferredLanguage'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
SetupAttemptPaymentMethodDetailsBancontactPreferredLanguage'Typed :: Text -> SetupAttemptPaymentMethodDetailsBancontactPreferredLanguage'
-- | Represents the JSON value "de"
SetupAttemptPaymentMethodDetailsBancontactPreferredLanguage'EnumDe :: SetupAttemptPaymentMethodDetailsBancontactPreferredLanguage'
-- | Represents the JSON value "en"
SetupAttemptPaymentMethodDetailsBancontactPreferredLanguage'EnumEn :: SetupAttemptPaymentMethodDetailsBancontactPreferredLanguage'
-- | Represents the JSON value "fr"
SetupAttemptPaymentMethodDetailsBancontactPreferredLanguage'EnumFr :: SetupAttemptPaymentMethodDetailsBancontactPreferredLanguage'
-- | Represents the JSON value "nl"
SetupAttemptPaymentMethodDetailsBancontactPreferredLanguage'EnumNl :: SetupAttemptPaymentMethodDetailsBancontactPreferredLanguage'
instance GHC.Classes.Eq StripeAPI.Types.SetupAttemptPaymentMethodDetailsBancontact.SetupAttemptPaymentMethodDetailsBancontactGeneratedSepaDebit'Variants
instance GHC.Show.Show StripeAPI.Types.SetupAttemptPaymentMethodDetailsBancontact.SetupAttemptPaymentMethodDetailsBancontactGeneratedSepaDebit'Variants
instance GHC.Classes.Eq StripeAPI.Types.SetupAttemptPaymentMethodDetailsBancontact.SetupAttemptPaymentMethodDetailsBancontactGeneratedSepaDebitMandate'Variants
instance GHC.Show.Show StripeAPI.Types.SetupAttemptPaymentMethodDetailsBancontact.SetupAttemptPaymentMethodDetailsBancontactGeneratedSepaDebitMandate'Variants
instance GHC.Classes.Eq StripeAPI.Types.SetupAttemptPaymentMethodDetailsBancontact.SetupAttemptPaymentMethodDetailsBancontactPreferredLanguage'
instance GHC.Show.Show StripeAPI.Types.SetupAttemptPaymentMethodDetailsBancontact.SetupAttemptPaymentMethodDetailsBancontactPreferredLanguage'
instance GHC.Classes.Eq StripeAPI.Types.SetupAttemptPaymentMethodDetailsBancontact.SetupAttemptPaymentMethodDetailsBancontact
instance GHC.Show.Show StripeAPI.Types.SetupAttemptPaymentMethodDetailsBancontact.SetupAttemptPaymentMethodDetailsBancontact
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SetupAttemptPaymentMethodDetailsBancontact.SetupAttemptPaymentMethodDetailsBancontact
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SetupAttemptPaymentMethodDetailsBancontact.SetupAttemptPaymentMethodDetailsBancontact
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SetupAttemptPaymentMethodDetailsBancontact.SetupAttemptPaymentMethodDetailsBancontactPreferredLanguage'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SetupAttemptPaymentMethodDetailsBancontact.SetupAttemptPaymentMethodDetailsBancontactPreferredLanguage'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SetupAttemptPaymentMethodDetailsBancontact.SetupAttemptPaymentMethodDetailsBancontactGeneratedSepaDebitMandate'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SetupAttemptPaymentMethodDetailsBancontact.SetupAttemptPaymentMethodDetailsBancontactGeneratedSepaDebitMandate'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SetupAttemptPaymentMethodDetailsBancontact.SetupAttemptPaymentMethodDetailsBancontactGeneratedSepaDebit'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SetupAttemptPaymentMethodDetailsBancontact.SetupAttemptPaymentMethodDetailsBancontactGeneratedSepaDebit'Variants
-- | Contains the types generated from the schema
-- SetupAttemptPaymentMethodDetailsCardPresent
module StripeAPI.Types.SetupAttemptPaymentMethodDetailsCardPresent
-- | Defines the object schema located at
-- components.schemas.setup_attempt_payment_method_details_card_present
-- in the specification.
data SetupAttemptPaymentMethodDetailsCardPresent
SetupAttemptPaymentMethodDetailsCardPresent :: Maybe SetupAttemptPaymentMethodDetailsCardPresentGeneratedCard'Variants -> SetupAttemptPaymentMethodDetailsCardPresent
-- | generated_card: The ID of the Card PaymentMethod which was generated
-- by this SetupAttempt.
[setupAttemptPaymentMethodDetailsCardPresentGeneratedCard] :: SetupAttemptPaymentMethodDetailsCardPresent -> Maybe SetupAttemptPaymentMethodDetailsCardPresentGeneratedCard'Variants
-- | Create a new SetupAttemptPaymentMethodDetailsCardPresent with
-- all required fields.
mkSetupAttemptPaymentMethodDetailsCardPresent :: SetupAttemptPaymentMethodDetailsCardPresent
-- | Defines the oneOf schema located at
-- components.schemas.setup_attempt_payment_method_details_card_present.properties.generated_card.anyOf
-- in the specification.
--
-- The ID of the Card PaymentMethod which was generated by this
-- SetupAttempt.
data SetupAttemptPaymentMethodDetailsCardPresentGeneratedCard'Variants
SetupAttemptPaymentMethodDetailsCardPresentGeneratedCard'Text :: Text -> SetupAttemptPaymentMethodDetailsCardPresentGeneratedCard'Variants
SetupAttemptPaymentMethodDetailsCardPresentGeneratedCard'PaymentMethod :: PaymentMethod -> SetupAttemptPaymentMethodDetailsCardPresentGeneratedCard'Variants
instance GHC.Classes.Eq StripeAPI.Types.SetupAttemptPaymentMethodDetailsCardPresent.SetupAttemptPaymentMethodDetailsCardPresentGeneratedCard'Variants
instance GHC.Show.Show StripeAPI.Types.SetupAttemptPaymentMethodDetailsCardPresent.SetupAttemptPaymentMethodDetailsCardPresentGeneratedCard'Variants
instance GHC.Classes.Eq StripeAPI.Types.SetupAttemptPaymentMethodDetailsCardPresent.SetupAttemptPaymentMethodDetailsCardPresent
instance GHC.Show.Show StripeAPI.Types.SetupAttemptPaymentMethodDetailsCardPresent.SetupAttemptPaymentMethodDetailsCardPresent
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SetupAttemptPaymentMethodDetailsCardPresent.SetupAttemptPaymentMethodDetailsCardPresent
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SetupAttemptPaymentMethodDetailsCardPresent.SetupAttemptPaymentMethodDetailsCardPresent
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SetupAttemptPaymentMethodDetailsCardPresent.SetupAttemptPaymentMethodDetailsCardPresentGeneratedCard'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SetupAttemptPaymentMethodDetailsCardPresent.SetupAttemptPaymentMethodDetailsCardPresentGeneratedCard'Variants
-- | Contains the types generated from the schema
-- SetupAttemptPaymentMethodDetailsIdeal
module StripeAPI.Types.SetupAttemptPaymentMethodDetailsIdeal
-- | Defines the object schema located at
-- components.schemas.setup_attempt_payment_method_details_ideal
-- in the specification.
data SetupAttemptPaymentMethodDetailsIdeal
SetupAttemptPaymentMethodDetailsIdeal :: Maybe SetupAttemptPaymentMethodDetailsIdealBank' -> Maybe SetupAttemptPaymentMethodDetailsIdealBic' -> Maybe SetupAttemptPaymentMethodDetailsIdealGeneratedSepaDebit'Variants -> Maybe SetupAttemptPaymentMethodDetailsIdealGeneratedSepaDebitMandate'Variants -> Maybe Text -> Maybe Text -> SetupAttemptPaymentMethodDetailsIdeal
-- | bank: The customer's bank. Can be one of `abn_amro`, `asn_bank`,
-- `bunq`, `handelsbanken`, `ing`, `knab`, `moneyou`, `rabobank`,
-- `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, or `van_lanschot`.
[setupAttemptPaymentMethodDetailsIdealBank] :: SetupAttemptPaymentMethodDetailsIdeal -> Maybe SetupAttemptPaymentMethodDetailsIdealBank'
-- | bic: The Bank Identifier Code of the customer's bank.
[setupAttemptPaymentMethodDetailsIdealBic] :: SetupAttemptPaymentMethodDetailsIdeal -> Maybe SetupAttemptPaymentMethodDetailsIdealBic'
-- | generated_sepa_debit: The ID of the SEPA Direct Debit PaymentMethod
-- which was generated by this SetupAttempt.
[setupAttemptPaymentMethodDetailsIdealGeneratedSepaDebit] :: SetupAttemptPaymentMethodDetailsIdeal -> Maybe SetupAttemptPaymentMethodDetailsIdealGeneratedSepaDebit'Variants
-- | generated_sepa_debit_mandate: The mandate for the SEPA Direct Debit
-- PaymentMethod which was generated by this SetupAttempt.
[setupAttemptPaymentMethodDetailsIdealGeneratedSepaDebitMandate] :: SetupAttemptPaymentMethodDetailsIdeal -> Maybe SetupAttemptPaymentMethodDetailsIdealGeneratedSepaDebitMandate'Variants
-- | iban_last4: Last four characters of the IBAN.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupAttemptPaymentMethodDetailsIdealIbanLast4] :: SetupAttemptPaymentMethodDetailsIdeal -> Maybe Text
-- | verified_name: Owner's verified full name. Values are verified or
-- provided by iDEAL directly (if supported) at the time of authorization
-- or settlement. They cannot be set or mutated.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupAttemptPaymentMethodDetailsIdealVerifiedName] :: SetupAttemptPaymentMethodDetailsIdeal -> Maybe Text
-- | Create a new SetupAttemptPaymentMethodDetailsIdeal with all
-- required fields.
mkSetupAttemptPaymentMethodDetailsIdeal :: SetupAttemptPaymentMethodDetailsIdeal
-- | Defines the enum schema located at
-- components.schemas.setup_attempt_payment_method_details_ideal.properties.bank
-- in the specification.
--
-- The customer's bank. Can be one of `abn_amro`, `asn_bank`, `bunq`,
-- `handelsbanken`, `ing`, `knab`, `moneyou`, `rabobank`, `regiobank`,
-- `revolut`, `sns_bank`, `triodos_bank`, or `van_lanschot`.
data SetupAttemptPaymentMethodDetailsIdealBank'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
SetupAttemptPaymentMethodDetailsIdealBank'Other :: Value -> SetupAttemptPaymentMethodDetailsIdealBank'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
SetupAttemptPaymentMethodDetailsIdealBank'Typed :: Text -> SetupAttemptPaymentMethodDetailsIdealBank'
-- | Represents the JSON value "abn_amro"
SetupAttemptPaymentMethodDetailsIdealBank'EnumAbnAmro :: SetupAttemptPaymentMethodDetailsIdealBank'
-- | Represents the JSON value "asn_bank"
SetupAttemptPaymentMethodDetailsIdealBank'EnumAsnBank :: SetupAttemptPaymentMethodDetailsIdealBank'
-- | Represents the JSON value "bunq"
SetupAttemptPaymentMethodDetailsIdealBank'EnumBunq :: SetupAttemptPaymentMethodDetailsIdealBank'
-- | Represents the JSON value "handelsbanken"
SetupAttemptPaymentMethodDetailsIdealBank'EnumHandelsbanken :: SetupAttemptPaymentMethodDetailsIdealBank'
-- | Represents the JSON value "ing"
SetupAttemptPaymentMethodDetailsIdealBank'EnumIng :: SetupAttemptPaymentMethodDetailsIdealBank'
-- | Represents the JSON value "knab"
SetupAttemptPaymentMethodDetailsIdealBank'EnumKnab :: SetupAttemptPaymentMethodDetailsIdealBank'
-- | Represents the JSON value "moneyou"
SetupAttemptPaymentMethodDetailsIdealBank'EnumMoneyou :: SetupAttemptPaymentMethodDetailsIdealBank'
-- | Represents the JSON value "rabobank"
SetupAttemptPaymentMethodDetailsIdealBank'EnumRabobank :: SetupAttemptPaymentMethodDetailsIdealBank'
-- | Represents the JSON value "regiobank"
SetupAttemptPaymentMethodDetailsIdealBank'EnumRegiobank :: SetupAttemptPaymentMethodDetailsIdealBank'
-- | Represents the JSON value "revolut"
SetupAttemptPaymentMethodDetailsIdealBank'EnumRevolut :: SetupAttemptPaymentMethodDetailsIdealBank'
-- | Represents the JSON value "sns_bank"
SetupAttemptPaymentMethodDetailsIdealBank'EnumSnsBank :: SetupAttemptPaymentMethodDetailsIdealBank'
-- | Represents the JSON value "triodos_bank"
SetupAttemptPaymentMethodDetailsIdealBank'EnumTriodosBank :: SetupAttemptPaymentMethodDetailsIdealBank'
-- | Represents the JSON value "van_lanschot"
SetupAttemptPaymentMethodDetailsIdealBank'EnumVanLanschot :: SetupAttemptPaymentMethodDetailsIdealBank'
-- | Defines the enum schema located at
-- components.schemas.setup_attempt_payment_method_details_ideal.properties.bic
-- in the specification.
--
-- The Bank Identifier Code of the customer's bank.
data SetupAttemptPaymentMethodDetailsIdealBic'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
SetupAttemptPaymentMethodDetailsIdealBic'Other :: Value -> SetupAttemptPaymentMethodDetailsIdealBic'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
SetupAttemptPaymentMethodDetailsIdealBic'Typed :: Text -> SetupAttemptPaymentMethodDetailsIdealBic'
-- | Represents the JSON value ABNANL2A
SetupAttemptPaymentMethodDetailsIdealBic'EnumABNANL2A :: SetupAttemptPaymentMethodDetailsIdealBic'
-- | Represents the JSON value ASNBNL21
SetupAttemptPaymentMethodDetailsIdealBic'EnumASNBNL21 :: SetupAttemptPaymentMethodDetailsIdealBic'
-- | Represents the JSON value BUNQNL2A
SetupAttemptPaymentMethodDetailsIdealBic'EnumBUNQNL2A :: SetupAttemptPaymentMethodDetailsIdealBic'
-- | Represents the JSON value FVLBNL22
SetupAttemptPaymentMethodDetailsIdealBic'EnumFVLBNL22 :: SetupAttemptPaymentMethodDetailsIdealBic'
-- | Represents the JSON value HANDNL2A
SetupAttemptPaymentMethodDetailsIdealBic'EnumHANDNL2A :: SetupAttemptPaymentMethodDetailsIdealBic'
-- | Represents the JSON value INGBNL2A
SetupAttemptPaymentMethodDetailsIdealBic'EnumINGBNL2A :: SetupAttemptPaymentMethodDetailsIdealBic'
-- | Represents the JSON value KNABNL2H
SetupAttemptPaymentMethodDetailsIdealBic'EnumKNABNL2H :: SetupAttemptPaymentMethodDetailsIdealBic'
-- | Represents the JSON value MOYONL21
SetupAttemptPaymentMethodDetailsIdealBic'EnumMOYONL21 :: SetupAttemptPaymentMethodDetailsIdealBic'
-- | Represents the JSON value RABONL2U
SetupAttemptPaymentMethodDetailsIdealBic'EnumRABONL2U :: SetupAttemptPaymentMethodDetailsIdealBic'
-- | Represents the JSON value RBRBNL21
SetupAttemptPaymentMethodDetailsIdealBic'EnumRBRBNL21 :: SetupAttemptPaymentMethodDetailsIdealBic'
-- | Represents the JSON value REVOLT21
SetupAttemptPaymentMethodDetailsIdealBic'EnumREVOLT21 :: SetupAttemptPaymentMethodDetailsIdealBic'
-- | Represents the JSON value SNSBNL2A
SetupAttemptPaymentMethodDetailsIdealBic'EnumSNSBNL2A :: SetupAttemptPaymentMethodDetailsIdealBic'
-- | Represents the JSON value TRIONL2U
SetupAttemptPaymentMethodDetailsIdealBic'EnumTRIONL2U :: SetupAttemptPaymentMethodDetailsIdealBic'
-- | Defines the oneOf schema located at
-- components.schemas.setup_attempt_payment_method_details_ideal.properties.generated_sepa_debit.anyOf
-- in the specification.
--
-- The ID of the SEPA Direct Debit PaymentMethod which was generated by
-- this SetupAttempt.
data SetupAttemptPaymentMethodDetailsIdealGeneratedSepaDebit'Variants
SetupAttemptPaymentMethodDetailsIdealGeneratedSepaDebit'Text :: Text -> SetupAttemptPaymentMethodDetailsIdealGeneratedSepaDebit'Variants
SetupAttemptPaymentMethodDetailsIdealGeneratedSepaDebit'PaymentMethod :: PaymentMethod -> SetupAttemptPaymentMethodDetailsIdealGeneratedSepaDebit'Variants
-- | Defines the oneOf schema located at
-- components.schemas.setup_attempt_payment_method_details_ideal.properties.generated_sepa_debit_mandate.anyOf
-- in the specification.
--
-- The mandate for the SEPA Direct Debit PaymentMethod which was
-- generated by this SetupAttempt.
data SetupAttemptPaymentMethodDetailsIdealGeneratedSepaDebitMandate'Variants
SetupAttemptPaymentMethodDetailsIdealGeneratedSepaDebitMandate'Text :: Text -> SetupAttemptPaymentMethodDetailsIdealGeneratedSepaDebitMandate'Variants
SetupAttemptPaymentMethodDetailsIdealGeneratedSepaDebitMandate'Mandate :: Mandate -> SetupAttemptPaymentMethodDetailsIdealGeneratedSepaDebitMandate'Variants
instance GHC.Classes.Eq StripeAPI.Types.SetupAttemptPaymentMethodDetailsIdeal.SetupAttemptPaymentMethodDetailsIdealBank'
instance GHC.Show.Show StripeAPI.Types.SetupAttemptPaymentMethodDetailsIdeal.SetupAttemptPaymentMethodDetailsIdealBank'
instance GHC.Classes.Eq StripeAPI.Types.SetupAttemptPaymentMethodDetailsIdeal.SetupAttemptPaymentMethodDetailsIdealBic'
instance GHC.Show.Show StripeAPI.Types.SetupAttemptPaymentMethodDetailsIdeal.SetupAttemptPaymentMethodDetailsIdealBic'
instance GHC.Classes.Eq StripeAPI.Types.SetupAttemptPaymentMethodDetailsIdeal.SetupAttemptPaymentMethodDetailsIdealGeneratedSepaDebit'Variants
instance GHC.Show.Show StripeAPI.Types.SetupAttemptPaymentMethodDetailsIdeal.SetupAttemptPaymentMethodDetailsIdealGeneratedSepaDebit'Variants
instance GHC.Classes.Eq StripeAPI.Types.SetupAttemptPaymentMethodDetailsIdeal.SetupAttemptPaymentMethodDetailsIdealGeneratedSepaDebitMandate'Variants
instance GHC.Show.Show StripeAPI.Types.SetupAttemptPaymentMethodDetailsIdeal.SetupAttemptPaymentMethodDetailsIdealGeneratedSepaDebitMandate'Variants
instance GHC.Classes.Eq StripeAPI.Types.SetupAttemptPaymentMethodDetailsIdeal.SetupAttemptPaymentMethodDetailsIdeal
instance GHC.Show.Show StripeAPI.Types.SetupAttemptPaymentMethodDetailsIdeal.SetupAttemptPaymentMethodDetailsIdeal
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SetupAttemptPaymentMethodDetailsIdeal.SetupAttemptPaymentMethodDetailsIdeal
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SetupAttemptPaymentMethodDetailsIdeal.SetupAttemptPaymentMethodDetailsIdeal
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SetupAttemptPaymentMethodDetailsIdeal.SetupAttemptPaymentMethodDetailsIdealGeneratedSepaDebitMandate'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SetupAttemptPaymentMethodDetailsIdeal.SetupAttemptPaymentMethodDetailsIdealGeneratedSepaDebitMandate'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SetupAttemptPaymentMethodDetailsIdeal.SetupAttemptPaymentMethodDetailsIdealGeneratedSepaDebit'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SetupAttemptPaymentMethodDetailsIdeal.SetupAttemptPaymentMethodDetailsIdealGeneratedSepaDebit'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SetupAttemptPaymentMethodDetailsIdeal.SetupAttemptPaymentMethodDetailsIdealBic'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SetupAttemptPaymentMethodDetailsIdeal.SetupAttemptPaymentMethodDetailsIdealBic'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SetupAttemptPaymentMethodDetailsIdeal.SetupAttemptPaymentMethodDetailsIdealBank'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SetupAttemptPaymentMethodDetailsIdeal.SetupAttemptPaymentMethodDetailsIdealBank'
-- | Contains the types generated from the schema
-- SetupAttemptPaymentMethodDetails
module StripeAPI.Types.SetupAttemptPaymentMethodDetails
-- | Defines the object schema located at
-- components.schemas.setup_attempt_payment_method_details in
-- the specification.
data SetupAttemptPaymentMethodDetails
SetupAttemptPaymentMethodDetails :: Maybe SetupAttemptPaymentMethodDetailsAcssDebit -> Maybe SetupAttemptPaymentMethodDetailsAuBecsDebit -> Maybe SetupAttemptPaymentMethodDetailsBacsDebit -> Maybe SetupAttemptPaymentMethodDetailsBancontact -> Maybe SetupAttemptPaymentMethodDetailsCard -> Maybe SetupAttemptPaymentMethodDetailsCardPresent -> Maybe SetupAttemptPaymentMethodDetailsIdeal -> Maybe SetupAttemptPaymentMethodDetailsSepaDebit -> Maybe SetupAttemptPaymentMethodDetailsSofort -> Text -> SetupAttemptPaymentMethodDetails
-- | acss_debit:
[setupAttemptPaymentMethodDetailsAcssDebit] :: SetupAttemptPaymentMethodDetails -> Maybe SetupAttemptPaymentMethodDetailsAcssDebit
-- | au_becs_debit:
[setupAttemptPaymentMethodDetailsAuBecsDebit] :: SetupAttemptPaymentMethodDetails -> Maybe SetupAttemptPaymentMethodDetailsAuBecsDebit
-- | bacs_debit:
[setupAttemptPaymentMethodDetailsBacsDebit] :: SetupAttemptPaymentMethodDetails -> Maybe SetupAttemptPaymentMethodDetailsBacsDebit
-- | bancontact:
[setupAttemptPaymentMethodDetailsBancontact] :: SetupAttemptPaymentMethodDetails -> Maybe SetupAttemptPaymentMethodDetailsBancontact
-- | card:
[setupAttemptPaymentMethodDetailsCard] :: SetupAttemptPaymentMethodDetails -> Maybe SetupAttemptPaymentMethodDetailsCard
-- | card_present:
[setupAttemptPaymentMethodDetailsCardPresent] :: SetupAttemptPaymentMethodDetails -> Maybe SetupAttemptPaymentMethodDetailsCardPresent
-- | ideal:
[setupAttemptPaymentMethodDetailsIdeal] :: SetupAttemptPaymentMethodDetails -> Maybe SetupAttemptPaymentMethodDetailsIdeal
-- | sepa_debit:
[setupAttemptPaymentMethodDetailsSepaDebit] :: SetupAttemptPaymentMethodDetails -> Maybe SetupAttemptPaymentMethodDetailsSepaDebit
-- | sofort:
[setupAttemptPaymentMethodDetailsSofort] :: SetupAttemptPaymentMethodDetails -> Maybe SetupAttemptPaymentMethodDetailsSofort
-- | type: The type of the payment method used in the SetupIntent (e.g.,
-- `card`). An additional hash is included on `payment_method_details`
-- with a name matching this value. It contains confirmation-specific
-- information for the payment method.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupAttemptPaymentMethodDetailsType] :: SetupAttemptPaymentMethodDetails -> Text
-- | Create a new SetupAttemptPaymentMethodDetails with all required
-- fields.
mkSetupAttemptPaymentMethodDetails :: Text -> SetupAttemptPaymentMethodDetails
instance GHC.Classes.Eq StripeAPI.Types.SetupAttemptPaymentMethodDetails.SetupAttemptPaymentMethodDetails
instance GHC.Show.Show StripeAPI.Types.SetupAttemptPaymentMethodDetails.SetupAttemptPaymentMethodDetails
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SetupAttemptPaymentMethodDetails.SetupAttemptPaymentMethodDetails
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SetupAttemptPaymentMethodDetails.SetupAttemptPaymentMethodDetails
-- | Contains the types generated from the schema
-- SetupAttemptPaymentMethodDetailsSofort
module StripeAPI.Types.SetupAttemptPaymentMethodDetailsSofort
-- | Defines the object schema located at
-- components.schemas.setup_attempt_payment_method_details_sofort
-- in the specification.
data SetupAttemptPaymentMethodDetailsSofort
SetupAttemptPaymentMethodDetailsSofort :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe SetupAttemptPaymentMethodDetailsSofortGeneratedSepaDebit'Variants -> Maybe SetupAttemptPaymentMethodDetailsSofortGeneratedSepaDebitMandate'Variants -> Maybe Text -> Maybe SetupAttemptPaymentMethodDetailsSofortPreferredLanguage' -> Maybe Text -> SetupAttemptPaymentMethodDetailsSofort
-- | bank_code: Bank code of bank associated with the bank account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupAttemptPaymentMethodDetailsSofortBankCode] :: SetupAttemptPaymentMethodDetailsSofort -> Maybe Text
-- | bank_name: Name of the bank associated with the bank account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupAttemptPaymentMethodDetailsSofortBankName] :: SetupAttemptPaymentMethodDetailsSofort -> Maybe Text
-- | bic: Bank Identifier Code of the bank associated with the bank
-- account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupAttemptPaymentMethodDetailsSofortBic] :: SetupAttemptPaymentMethodDetailsSofort -> Maybe Text
-- | generated_sepa_debit: The ID of the SEPA Direct Debit PaymentMethod
-- which was generated by this SetupAttempt.
[setupAttemptPaymentMethodDetailsSofortGeneratedSepaDebit] :: SetupAttemptPaymentMethodDetailsSofort -> Maybe SetupAttemptPaymentMethodDetailsSofortGeneratedSepaDebit'Variants
-- | generated_sepa_debit_mandate: The mandate for the SEPA Direct Debit
-- PaymentMethod which was generated by this SetupAttempt.
[setupAttemptPaymentMethodDetailsSofortGeneratedSepaDebitMandate] :: SetupAttemptPaymentMethodDetailsSofort -> Maybe SetupAttemptPaymentMethodDetailsSofortGeneratedSepaDebitMandate'Variants
-- | iban_last4: Last four characters of the IBAN.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupAttemptPaymentMethodDetailsSofortIbanLast4] :: SetupAttemptPaymentMethodDetailsSofort -> Maybe Text
-- | preferred_language: Preferred language of the Sofort authorization
-- page that the customer is redirected to. Can be one of `en`, `de`,
-- `fr`, or `nl`
[setupAttemptPaymentMethodDetailsSofortPreferredLanguage] :: SetupAttemptPaymentMethodDetailsSofort -> Maybe SetupAttemptPaymentMethodDetailsSofortPreferredLanguage'
-- | verified_name: Owner's verified full name. Values are verified or
-- provided by Sofort directly (if supported) at the time of
-- authorization or settlement. They cannot be set or mutated.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupAttemptPaymentMethodDetailsSofortVerifiedName] :: SetupAttemptPaymentMethodDetailsSofort -> Maybe Text
-- | Create a new SetupAttemptPaymentMethodDetailsSofort with all
-- required fields.
mkSetupAttemptPaymentMethodDetailsSofort :: SetupAttemptPaymentMethodDetailsSofort
-- | Defines the oneOf schema located at
-- components.schemas.setup_attempt_payment_method_details_sofort.properties.generated_sepa_debit.anyOf
-- in the specification.
--
-- The ID of the SEPA Direct Debit PaymentMethod which was generated by
-- this SetupAttempt.
data SetupAttemptPaymentMethodDetailsSofortGeneratedSepaDebit'Variants
SetupAttemptPaymentMethodDetailsSofortGeneratedSepaDebit'Text :: Text -> SetupAttemptPaymentMethodDetailsSofortGeneratedSepaDebit'Variants
SetupAttemptPaymentMethodDetailsSofortGeneratedSepaDebit'PaymentMethod :: PaymentMethod -> SetupAttemptPaymentMethodDetailsSofortGeneratedSepaDebit'Variants
-- | Defines the oneOf schema located at
-- components.schemas.setup_attempt_payment_method_details_sofort.properties.generated_sepa_debit_mandate.anyOf
-- in the specification.
--
-- The mandate for the SEPA Direct Debit PaymentMethod which was
-- generated by this SetupAttempt.
data SetupAttemptPaymentMethodDetailsSofortGeneratedSepaDebitMandate'Variants
SetupAttemptPaymentMethodDetailsSofortGeneratedSepaDebitMandate'Text :: Text -> SetupAttemptPaymentMethodDetailsSofortGeneratedSepaDebitMandate'Variants
SetupAttemptPaymentMethodDetailsSofortGeneratedSepaDebitMandate'Mandate :: Mandate -> SetupAttemptPaymentMethodDetailsSofortGeneratedSepaDebitMandate'Variants
-- | Defines the enum schema located at
-- components.schemas.setup_attempt_payment_method_details_sofort.properties.preferred_language
-- in the specification.
--
-- Preferred language of the Sofort authorization page that the customer
-- is redirected to. Can be one of `en`, `de`, `fr`, or `nl`
data SetupAttemptPaymentMethodDetailsSofortPreferredLanguage'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
SetupAttemptPaymentMethodDetailsSofortPreferredLanguage'Other :: Value -> SetupAttemptPaymentMethodDetailsSofortPreferredLanguage'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
SetupAttemptPaymentMethodDetailsSofortPreferredLanguage'Typed :: Text -> SetupAttemptPaymentMethodDetailsSofortPreferredLanguage'
-- | Represents the JSON value "de"
SetupAttemptPaymentMethodDetailsSofortPreferredLanguage'EnumDe :: SetupAttemptPaymentMethodDetailsSofortPreferredLanguage'
-- | Represents the JSON value "en"
SetupAttemptPaymentMethodDetailsSofortPreferredLanguage'EnumEn :: SetupAttemptPaymentMethodDetailsSofortPreferredLanguage'
-- | Represents the JSON value "fr"
SetupAttemptPaymentMethodDetailsSofortPreferredLanguage'EnumFr :: SetupAttemptPaymentMethodDetailsSofortPreferredLanguage'
-- | Represents the JSON value "nl"
SetupAttemptPaymentMethodDetailsSofortPreferredLanguage'EnumNl :: SetupAttemptPaymentMethodDetailsSofortPreferredLanguage'
instance GHC.Classes.Eq StripeAPI.Types.SetupAttemptPaymentMethodDetailsSofort.SetupAttemptPaymentMethodDetailsSofortGeneratedSepaDebit'Variants
instance GHC.Show.Show StripeAPI.Types.SetupAttemptPaymentMethodDetailsSofort.SetupAttemptPaymentMethodDetailsSofortGeneratedSepaDebit'Variants
instance GHC.Classes.Eq StripeAPI.Types.SetupAttemptPaymentMethodDetailsSofort.SetupAttemptPaymentMethodDetailsSofortGeneratedSepaDebitMandate'Variants
instance GHC.Show.Show StripeAPI.Types.SetupAttemptPaymentMethodDetailsSofort.SetupAttemptPaymentMethodDetailsSofortGeneratedSepaDebitMandate'Variants
instance GHC.Classes.Eq StripeAPI.Types.SetupAttemptPaymentMethodDetailsSofort.SetupAttemptPaymentMethodDetailsSofortPreferredLanguage'
instance GHC.Show.Show StripeAPI.Types.SetupAttemptPaymentMethodDetailsSofort.SetupAttemptPaymentMethodDetailsSofortPreferredLanguage'
instance GHC.Classes.Eq StripeAPI.Types.SetupAttemptPaymentMethodDetailsSofort.SetupAttemptPaymentMethodDetailsSofort
instance GHC.Show.Show StripeAPI.Types.SetupAttemptPaymentMethodDetailsSofort.SetupAttemptPaymentMethodDetailsSofort
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SetupAttemptPaymentMethodDetailsSofort.SetupAttemptPaymentMethodDetailsSofort
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SetupAttemptPaymentMethodDetailsSofort.SetupAttemptPaymentMethodDetailsSofort
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SetupAttemptPaymentMethodDetailsSofort.SetupAttemptPaymentMethodDetailsSofortPreferredLanguage'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SetupAttemptPaymentMethodDetailsSofort.SetupAttemptPaymentMethodDetailsSofortPreferredLanguage'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SetupAttemptPaymentMethodDetailsSofort.SetupAttemptPaymentMethodDetailsSofortGeneratedSepaDebitMandate'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SetupAttemptPaymentMethodDetailsSofort.SetupAttemptPaymentMethodDetailsSofortGeneratedSepaDebitMandate'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SetupAttemptPaymentMethodDetailsSofort.SetupAttemptPaymentMethodDetailsSofortGeneratedSepaDebit'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SetupAttemptPaymentMethodDetailsSofort.SetupAttemptPaymentMethodDetailsSofortGeneratedSepaDebit'Variants
-- | Contains the types generated from the schema
-- SetupIntentNextActionRedirectToUrl
module StripeAPI.Types.SetupIntentNextActionRedirectToUrl
-- | Defines the object schema located at
-- components.schemas.setup_intent_next_action_redirect_to_url
-- in the specification.
data SetupIntentNextActionRedirectToUrl
SetupIntentNextActionRedirectToUrl :: Maybe Text -> Maybe Text -> SetupIntentNextActionRedirectToUrl
-- | return_url: If the customer does not exit their browser while
-- authenticating, they will be redirected to this specified URL after
-- completion.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupIntentNextActionRedirectToUrlReturnUrl] :: SetupIntentNextActionRedirectToUrl -> Maybe Text
-- | url: The URL you must redirect your customer to in order to
-- authenticate.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupIntentNextActionRedirectToUrlUrl] :: SetupIntentNextActionRedirectToUrl -> Maybe Text
-- | Create a new SetupIntentNextActionRedirectToUrl with all
-- required fields.
mkSetupIntentNextActionRedirectToUrl :: SetupIntentNextActionRedirectToUrl
instance GHC.Classes.Eq StripeAPI.Types.SetupIntentNextActionRedirectToUrl.SetupIntentNextActionRedirectToUrl
instance GHC.Show.Show StripeAPI.Types.SetupIntentNextActionRedirectToUrl.SetupIntentNextActionRedirectToUrl
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SetupIntentNextActionRedirectToUrl.SetupIntentNextActionRedirectToUrl
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SetupIntentNextActionRedirectToUrl.SetupIntentNextActionRedirectToUrl
-- | Contains the types generated from the schema SetupIntentNextAction
module StripeAPI.Types.SetupIntentNextAction
-- | Defines the object schema located at
-- components.schemas.setup_intent_next_action in the
-- specification.
data SetupIntentNextAction
SetupIntentNextAction :: Maybe SetupIntentNextActionRedirectToUrl -> Text -> Maybe Object -> Maybe SetupIntentNextActionVerifyWithMicrodeposits -> SetupIntentNextAction
-- | redirect_to_url:
[setupIntentNextActionRedirectToUrl] :: SetupIntentNextAction -> Maybe SetupIntentNextActionRedirectToUrl
-- | type: Type of the next action to perform, one of `redirect_to_url`,
-- `use_stripe_sdk`, `alipay_handle_redirect`, or `oxxo_display_details`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupIntentNextActionType] :: SetupIntentNextAction -> Text
-- | use_stripe_sdk: When confirming a SetupIntent with Stripe.js,
-- Stripe.js depends on the contents of this dictionary to invoke
-- authentication flows. The shape of the contents is subject to change
-- and is only intended to be used by Stripe.js.
[setupIntentNextActionUseStripeSdk] :: SetupIntentNextAction -> Maybe Object
-- | verify_with_microdeposits:
[setupIntentNextActionVerifyWithMicrodeposits] :: SetupIntentNextAction -> Maybe SetupIntentNextActionVerifyWithMicrodeposits
-- | Create a new SetupIntentNextAction with all required fields.
mkSetupIntentNextAction :: Text -> SetupIntentNextAction
instance GHC.Classes.Eq StripeAPI.Types.SetupIntentNextAction.SetupIntentNextAction
instance GHC.Show.Show StripeAPI.Types.SetupIntentNextAction.SetupIntentNextAction
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SetupIntentNextAction.SetupIntentNextAction
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SetupIntentNextAction.SetupIntentNextAction
-- | Contains the types generated from the schema
-- SetupIntentNextActionVerifyWithMicrodeposits
module StripeAPI.Types.SetupIntentNextActionVerifyWithMicrodeposits
-- | Defines the object schema located at
-- components.schemas.setup_intent_next_action_verify_with_microdeposits
-- in the specification.
data SetupIntentNextActionVerifyWithMicrodeposits
SetupIntentNextActionVerifyWithMicrodeposits :: Int -> Text -> SetupIntentNextActionVerifyWithMicrodeposits
-- | arrival_date: The timestamp when the microdeposits are expected to
-- land.
[setupIntentNextActionVerifyWithMicrodepositsArrivalDate] :: SetupIntentNextActionVerifyWithMicrodeposits -> Int
-- | hosted_verification_url: The URL for the hosted verification page,
-- which allows customers to verify their bank account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupIntentNextActionVerifyWithMicrodepositsHostedVerificationUrl] :: SetupIntentNextActionVerifyWithMicrodeposits -> Text
-- | Create a new SetupIntentNextActionVerifyWithMicrodeposits with
-- all required fields.
mkSetupIntentNextActionVerifyWithMicrodeposits :: Int -> Text -> SetupIntentNextActionVerifyWithMicrodeposits
instance GHC.Classes.Eq StripeAPI.Types.SetupIntentNextActionVerifyWithMicrodeposits.SetupIntentNextActionVerifyWithMicrodeposits
instance GHC.Show.Show StripeAPI.Types.SetupIntentNextActionVerifyWithMicrodeposits.SetupIntentNextActionVerifyWithMicrodeposits
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SetupIntentNextActionVerifyWithMicrodeposits.SetupIntentNextActionVerifyWithMicrodeposits
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SetupIntentNextActionVerifyWithMicrodeposits.SetupIntentNextActionVerifyWithMicrodeposits
-- | Contains the types generated from the schema
-- SetupIntentPaymentMethodOptionsCard
module StripeAPI.Types.SetupIntentPaymentMethodOptionsCard
-- | Defines the object schema located at
-- components.schemas.setup_intent_payment_method_options_card
-- in the specification.
data SetupIntentPaymentMethodOptionsCard
SetupIntentPaymentMethodOptionsCard :: Maybe SetupIntentPaymentMethodOptionsCardRequestThreeDSecure' -> SetupIntentPaymentMethodOptionsCard
-- | request_three_d_secure: We strongly recommend that you rely on our SCA
-- Engine to automatically prompt your customers for authentication based
-- on risk level and other requirements. However, if you wish to
-- request 3D Secure based on logic from your own fraud engine, provide
-- this option. Permitted values include: `automatic` or `any`. If not
-- provided, defaults to `automatic`. Read our guide on manually
-- requesting 3D Secure for more information on how this
-- configuration interacts with Radar and our SCA Engine.
[setupIntentPaymentMethodOptionsCardRequestThreeDSecure] :: SetupIntentPaymentMethodOptionsCard -> Maybe SetupIntentPaymentMethodOptionsCardRequestThreeDSecure'
-- | Create a new SetupIntentPaymentMethodOptionsCard with all
-- required fields.
mkSetupIntentPaymentMethodOptionsCard :: SetupIntentPaymentMethodOptionsCard
-- | Defines the enum schema located at
-- components.schemas.setup_intent_payment_method_options_card.properties.request_three_d_secure
-- in the specification.
--
-- We strongly recommend that you rely on our SCA Engine to automatically
-- prompt your customers for authentication based on risk level and
-- other requirements. However, if you wish to request 3D Secure
-- based on logic from your own fraud engine, provide this option.
-- Permitted values include: `automatic` or `any`. If not provided,
-- defaults to `automatic`. Read our guide on manually requesting 3D
-- Secure for more information on how this configuration interacts
-- with Radar and our SCA Engine.
data SetupIntentPaymentMethodOptionsCardRequestThreeDSecure'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
SetupIntentPaymentMethodOptionsCardRequestThreeDSecure'Other :: Value -> SetupIntentPaymentMethodOptionsCardRequestThreeDSecure'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
SetupIntentPaymentMethodOptionsCardRequestThreeDSecure'Typed :: Text -> SetupIntentPaymentMethodOptionsCardRequestThreeDSecure'
-- | Represents the JSON value "any"
SetupIntentPaymentMethodOptionsCardRequestThreeDSecure'EnumAny :: SetupIntentPaymentMethodOptionsCardRequestThreeDSecure'
-- | Represents the JSON value "automatic"
SetupIntentPaymentMethodOptionsCardRequestThreeDSecure'EnumAutomatic :: SetupIntentPaymentMethodOptionsCardRequestThreeDSecure'
-- | Represents the JSON value "challenge_only"
SetupIntentPaymentMethodOptionsCardRequestThreeDSecure'EnumChallengeOnly :: SetupIntentPaymentMethodOptionsCardRequestThreeDSecure'
instance GHC.Classes.Eq StripeAPI.Types.SetupIntentPaymentMethodOptionsCard.SetupIntentPaymentMethodOptionsCardRequestThreeDSecure'
instance GHC.Show.Show StripeAPI.Types.SetupIntentPaymentMethodOptionsCard.SetupIntentPaymentMethodOptionsCardRequestThreeDSecure'
instance GHC.Classes.Eq StripeAPI.Types.SetupIntentPaymentMethodOptionsCard.SetupIntentPaymentMethodOptionsCard
instance GHC.Show.Show StripeAPI.Types.SetupIntentPaymentMethodOptionsCard.SetupIntentPaymentMethodOptionsCard
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SetupIntentPaymentMethodOptionsCard.SetupIntentPaymentMethodOptionsCard
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SetupIntentPaymentMethodOptionsCard.SetupIntentPaymentMethodOptionsCard
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SetupIntentPaymentMethodOptionsCard.SetupIntentPaymentMethodOptionsCardRequestThreeDSecure'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SetupIntentPaymentMethodOptionsCard.SetupIntentPaymentMethodOptionsCardRequestThreeDSecure'
-- | Contains the types generated from the schema
-- SetupIntentPaymentMethodOptionsAcssDebit
module StripeAPI.Types.SetupIntentPaymentMethodOptionsAcssDebit
-- | Defines the object schema located at
-- components.schemas.setup_intent_payment_method_options_acss_debit
-- in the specification.
data SetupIntentPaymentMethodOptionsAcssDebit
SetupIntentPaymentMethodOptionsAcssDebit :: Maybe SetupIntentPaymentMethodOptionsAcssDebitCurrency' -> Maybe SetupIntentPaymentMethodOptionsMandateOptionsAcssDebit -> Maybe SetupIntentPaymentMethodOptionsAcssDebitVerificationMethod' -> SetupIntentPaymentMethodOptionsAcssDebit
-- | currency: Currency supported by the bank account
[setupIntentPaymentMethodOptionsAcssDebitCurrency] :: SetupIntentPaymentMethodOptionsAcssDebit -> Maybe SetupIntentPaymentMethodOptionsAcssDebitCurrency'
-- | mandate_options:
[setupIntentPaymentMethodOptionsAcssDebitMandateOptions] :: SetupIntentPaymentMethodOptionsAcssDebit -> Maybe SetupIntentPaymentMethodOptionsMandateOptionsAcssDebit
-- | verification_method: Bank account verification method.
[setupIntentPaymentMethodOptionsAcssDebitVerificationMethod] :: SetupIntentPaymentMethodOptionsAcssDebit -> Maybe SetupIntentPaymentMethodOptionsAcssDebitVerificationMethod'
-- | Create a new SetupIntentPaymentMethodOptionsAcssDebit with all
-- required fields.
mkSetupIntentPaymentMethodOptionsAcssDebit :: SetupIntentPaymentMethodOptionsAcssDebit
-- | Defines the enum schema located at
-- components.schemas.setup_intent_payment_method_options_acss_debit.properties.currency
-- in the specification.
--
-- Currency supported by the bank account
data SetupIntentPaymentMethodOptionsAcssDebitCurrency'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
SetupIntentPaymentMethodOptionsAcssDebitCurrency'Other :: Value -> SetupIntentPaymentMethodOptionsAcssDebitCurrency'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
SetupIntentPaymentMethodOptionsAcssDebitCurrency'Typed :: Text -> SetupIntentPaymentMethodOptionsAcssDebitCurrency'
-- | Represents the JSON value "cad"
SetupIntentPaymentMethodOptionsAcssDebitCurrency'EnumCad :: SetupIntentPaymentMethodOptionsAcssDebitCurrency'
-- | Represents the JSON value "usd"
SetupIntentPaymentMethodOptionsAcssDebitCurrency'EnumUsd :: SetupIntentPaymentMethodOptionsAcssDebitCurrency'
-- | Defines the enum schema located at
-- components.schemas.setup_intent_payment_method_options_acss_debit.properties.verification_method
-- in the specification.
--
-- Bank account verification method.
data SetupIntentPaymentMethodOptionsAcssDebitVerificationMethod'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
SetupIntentPaymentMethodOptionsAcssDebitVerificationMethod'Other :: Value -> SetupIntentPaymentMethodOptionsAcssDebitVerificationMethod'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
SetupIntentPaymentMethodOptionsAcssDebitVerificationMethod'Typed :: Text -> SetupIntentPaymentMethodOptionsAcssDebitVerificationMethod'
-- | Represents the JSON value "automatic"
SetupIntentPaymentMethodOptionsAcssDebitVerificationMethod'EnumAutomatic :: SetupIntentPaymentMethodOptionsAcssDebitVerificationMethod'
-- | Represents the JSON value "instant"
SetupIntentPaymentMethodOptionsAcssDebitVerificationMethod'EnumInstant :: SetupIntentPaymentMethodOptionsAcssDebitVerificationMethod'
-- | Represents the JSON value "microdeposits"
SetupIntentPaymentMethodOptionsAcssDebitVerificationMethod'EnumMicrodeposits :: SetupIntentPaymentMethodOptionsAcssDebitVerificationMethod'
instance GHC.Classes.Eq StripeAPI.Types.SetupIntentPaymentMethodOptionsAcssDebit.SetupIntentPaymentMethodOptionsAcssDebitCurrency'
instance GHC.Show.Show StripeAPI.Types.SetupIntentPaymentMethodOptionsAcssDebit.SetupIntentPaymentMethodOptionsAcssDebitCurrency'
instance GHC.Classes.Eq StripeAPI.Types.SetupIntentPaymentMethodOptionsAcssDebit.SetupIntentPaymentMethodOptionsAcssDebitVerificationMethod'
instance GHC.Show.Show StripeAPI.Types.SetupIntentPaymentMethodOptionsAcssDebit.SetupIntentPaymentMethodOptionsAcssDebitVerificationMethod'
instance GHC.Classes.Eq StripeAPI.Types.SetupIntentPaymentMethodOptionsAcssDebit.SetupIntentPaymentMethodOptionsAcssDebit
instance GHC.Show.Show StripeAPI.Types.SetupIntentPaymentMethodOptionsAcssDebit.SetupIntentPaymentMethodOptionsAcssDebit
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SetupIntentPaymentMethodOptionsAcssDebit.SetupIntentPaymentMethodOptionsAcssDebit
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SetupIntentPaymentMethodOptionsAcssDebit.SetupIntentPaymentMethodOptionsAcssDebit
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SetupIntentPaymentMethodOptionsAcssDebit.SetupIntentPaymentMethodOptionsAcssDebitVerificationMethod'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SetupIntentPaymentMethodOptionsAcssDebit.SetupIntentPaymentMethodOptionsAcssDebitVerificationMethod'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SetupIntentPaymentMethodOptionsAcssDebit.SetupIntentPaymentMethodOptionsAcssDebitCurrency'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SetupIntentPaymentMethodOptionsAcssDebit.SetupIntentPaymentMethodOptionsAcssDebitCurrency'
-- | Contains the types generated from the schema
-- SetupIntentPaymentMethodOptionsMandateOptionsAcssDebit
module StripeAPI.Types.SetupIntentPaymentMethodOptionsMandateOptionsAcssDebit
-- | Defines the object schema located at
-- components.schemas.setup_intent_payment_method_options_mandate_options_acss_debit
-- in the specification.
data SetupIntentPaymentMethodOptionsMandateOptionsAcssDebit
SetupIntentPaymentMethodOptionsMandateOptionsAcssDebit :: Maybe Text -> Maybe Text -> Maybe SetupIntentPaymentMethodOptionsMandateOptionsAcssDebitPaymentSchedule' -> Maybe SetupIntentPaymentMethodOptionsMandateOptionsAcssDebitTransactionType' -> SetupIntentPaymentMethodOptionsMandateOptionsAcssDebit
-- | custom_mandate_url: A URL for custom mandate text
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupIntentPaymentMethodOptionsMandateOptionsAcssDebitCustomMandateUrl] :: SetupIntentPaymentMethodOptionsMandateOptionsAcssDebit -> Maybe Text
-- | interval_description: Description of the interval. Only required if
-- 'payment_schedule' parmeter is 'interval' or 'combined'.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupIntentPaymentMethodOptionsMandateOptionsAcssDebitIntervalDescription] :: SetupIntentPaymentMethodOptionsMandateOptionsAcssDebit -> Maybe Text
-- | payment_schedule: Payment schedule for the mandate.
[setupIntentPaymentMethodOptionsMandateOptionsAcssDebitPaymentSchedule] :: SetupIntentPaymentMethodOptionsMandateOptionsAcssDebit -> Maybe SetupIntentPaymentMethodOptionsMandateOptionsAcssDebitPaymentSchedule'
-- | transaction_type: Transaction type of the mandate.
[setupIntentPaymentMethodOptionsMandateOptionsAcssDebitTransactionType] :: SetupIntentPaymentMethodOptionsMandateOptionsAcssDebit -> Maybe SetupIntentPaymentMethodOptionsMandateOptionsAcssDebitTransactionType'
-- | Create a new
-- SetupIntentPaymentMethodOptionsMandateOptionsAcssDebit with all
-- required fields.
mkSetupIntentPaymentMethodOptionsMandateOptionsAcssDebit :: SetupIntentPaymentMethodOptionsMandateOptionsAcssDebit
-- | Defines the enum schema located at
-- components.schemas.setup_intent_payment_method_options_mandate_options_acss_debit.properties.payment_schedule
-- in the specification.
--
-- Payment schedule for the mandate.
data SetupIntentPaymentMethodOptionsMandateOptionsAcssDebitPaymentSchedule'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
SetupIntentPaymentMethodOptionsMandateOptionsAcssDebitPaymentSchedule'Other :: Value -> SetupIntentPaymentMethodOptionsMandateOptionsAcssDebitPaymentSchedule'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
SetupIntentPaymentMethodOptionsMandateOptionsAcssDebitPaymentSchedule'Typed :: Text -> SetupIntentPaymentMethodOptionsMandateOptionsAcssDebitPaymentSchedule'
-- | Represents the JSON value "combined"
SetupIntentPaymentMethodOptionsMandateOptionsAcssDebitPaymentSchedule'EnumCombined :: SetupIntentPaymentMethodOptionsMandateOptionsAcssDebitPaymentSchedule'
-- | Represents the JSON value "interval"
SetupIntentPaymentMethodOptionsMandateOptionsAcssDebitPaymentSchedule'EnumInterval :: SetupIntentPaymentMethodOptionsMandateOptionsAcssDebitPaymentSchedule'
-- | Represents the JSON value "sporadic"
SetupIntentPaymentMethodOptionsMandateOptionsAcssDebitPaymentSchedule'EnumSporadic :: SetupIntentPaymentMethodOptionsMandateOptionsAcssDebitPaymentSchedule'
-- | Defines the enum schema located at
-- components.schemas.setup_intent_payment_method_options_mandate_options_acss_debit.properties.transaction_type
-- in the specification.
--
-- Transaction type of the mandate.
data SetupIntentPaymentMethodOptionsMandateOptionsAcssDebitTransactionType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
SetupIntentPaymentMethodOptionsMandateOptionsAcssDebitTransactionType'Other :: Value -> SetupIntentPaymentMethodOptionsMandateOptionsAcssDebitTransactionType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
SetupIntentPaymentMethodOptionsMandateOptionsAcssDebitTransactionType'Typed :: Text -> SetupIntentPaymentMethodOptionsMandateOptionsAcssDebitTransactionType'
-- | Represents the JSON value "business"
SetupIntentPaymentMethodOptionsMandateOptionsAcssDebitTransactionType'EnumBusiness :: SetupIntentPaymentMethodOptionsMandateOptionsAcssDebitTransactionType'
-- | Represents the JSON value "personal"
SetupIntentPaymentMethodOptionsMandateOptionsAcssDebitTransactionType'EnumPersonal :: SetupIntentPaymentMethodOptionsMandateOptionsAcssDebitTransactionType'
instance GHC.Classes.Eq StripeAPI.Types.SetupIntentPaymentMethodOptionsMandateOptionsAcssDebit.SetupIntentPaymentMethodOptionsMandateOptionsAcssDebitPaymentSchedule'
instance GHC.Show.Show StripeAPI.Types.SetupIntentPaymentMethodOptionsMandateOptionsAcssDebit.SetupIntentPaymentMethodOptionsMandateOptionsAcssDebitPaymentSchedule'
instance GHC.Classes.Eq StripeAPI.Types.SetupIntentPaymentMethodOptionsMandateOptionsAcssDebit.SetupIntentPaymentMethodOptionsMandateOptionsAcssDebitTransactionType'
instance GHC.Show.Show StripeAPI.Types.SetupIntentPaymentMethodOptionsMandateOptionsAcssDebit.SetupIntentPaymentMethodOptionsMandateOptionsAcssDebitTransactionType'
instance GHC.Classes.Eq StripeAPI.Types.SetupIntentPaymentMethodOptionsMandateOptionsAcssDebit.SetupIntentPaymentMethodOptionsMandateOptionsAcssDebit
instance GHC.Show.Show StripeAPI.Types.SetupIntentPaymentMethodOptionsMandateOptionsAcssDebit.SetupIntentPaymentMethodOptionsMandateOptionsAcssDebit
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SetupIntentPaymentMethodOptionsMandateOptionsAcssDebit.SetupIntentPaymentMethodOptionsMandateOptionsAcssDebit
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SetupIntentPaymentMethodOptionsMandateOptionsAcssDebit.SetupIntentPaymentMethodOptionsMandateOptionsAcssDebit
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SetupIntentPaymentMethodOptionsMandateOptionsAcssDebit.SetupIntentPaymentMethodOptionsMandateOptionsAcssDebitTransactionType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SetupIntentPaymentMethodOptionsMandateOptionsAcssDebit.SetupIntentPaymentMethodOptionsMandateOptionsAcssDebitTransactionType'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SetupIntentPaymentMethodOptionsMandateOptionsAcssDebit.SetupIntentPaymentMethodOptionsMandateOptionsAcssDebitPaymentSchedule'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SetupIntentPaymentMethodOptionsMandateOptionsAcssDebit.SetupIntentPaymentMethodOptionsMandateOptionsAcssDebitPaymentSchedule'
-- | Contains the types generated from the schema
-- SetupIntentPaymentMethodOptions
module StripeAPI.Types.SetupIntentPaymentMethodOptions
-- | Defines the object schema located at
-- components.schemas.setup_intent_payment_method_options in the
-- specification.
data SetupIntentPaymentMethodOptions
SetupIntentPaymentMethodOptions :: Maybe SetupIntentPaymentMethodOptionsAcssDebit -> Maybe SetupIntentPaymentMethodOptionsCard -> Maybe SetupIntentPaymentMethodOptionsSepaDebit -> SetupIntentPaymentMethodOptions
-- | acss_debit:
[setupIntentPaymentMethodOptionsAcssDebit] :: SetupIntentPaymentMethodOptions -> Maybe SetupIntentPaymentMethodOptionsAcssDebit
-- | card:
[setupIntentPaymentMethodOptionsCard] :: SetupIntentPaymentMethodOptions -> Maybe SetupIntentPaymentMethodOptionsCard
-- | sepa_debit:
[setupIntentPaymentMethodOptionsSepaDebit] :: SetupIntentPaymentMethodOptions -> Maybe SetupIntentPaymentMethodOptionsSepaDebit
-- | Create a new SetupIntentPaymentMethodOptions with all required
-- fields.
mkSetupIntentPaymentMethodOptions :: SetupIntentPaymentMethodOptions
instance GHC.Classes.Eq StripeAPI.Types.SetupIntentPaymentMethodOptions.SetupIntentPaymentMethodOptions
instance GHC.Show.Show StripeAPI.Types.SetupIntentPaymentMethodOptions.SetupIntentPaymentMethodOptions
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SetupIntentPaymentMethodOptions.SetupIntentPaymentMethodOptions
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SetupIntentPaymentMethodOptions.SetupIntentPaymentMethodOptions
-- | Contains the types generated from the schema
-- SetupIntentPaymentMethodOptionsSepaDebit
module StripeAPI.Types.SetupIntentPaymentMethodOptionsSepaDebit
-- | Defines the object schema located at
-- components.schemas.setup_intent_payment_method_options_sepa_debit
-- in the specification.
data SetupIntentPaymentMethodOptionsSepaDebit
SetupIntentPaymentMethodOptionsSepaDebit :: Maybe SetupIntentPaymentMethodOptionsMandateOptionsSepaDebit -> SetupIntentPaymentMethodOptionsSepaDebit
-- | mandate_options:
[setupIntentPaymentMethodOptionsSepaDebitMandateOptions] :: SetupIntentPaymentMethodOptionsSepaDebit -> Maybe SetupIntentPaymentMethodOptionsMandateOptionsSepaDebit
-- | Create a new SetupIntentPaymentMethodOptionsSepaDebit with all
-- required fields.
mkSetupIntentPaymentMethodOptionsSepaDebit :: SetupIntentPaymentMethodOptionsSepaDebit
instance GHC.Classes.Eq StripeAPI.Types.SetupIntentPaymentMethodOptionsSepaDebit.SetupIntentPaymentMethodOptionsSepaDebit
instance GHC.Show.Show StripeAPI.Types.SetupIntentPaymentMethodOptionsSepaDebit.SetupIntentPaymentMethodOptionsSepaDebit
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SetupIntentPaymentMethodOptionsSepaDebit.SetupIntentPaymentMethodOptionsSepaDebit
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SetupIntentPaymentMethodOptionsSepaDebit.SetupIntentPaymentMethodOptionsSepaDebit
-- | Contains the types generated from the schema Shipping
module StripeAPI.Types.Shipping
-- | Defines the object schema located at
-- components.schemas.shipping in the specification.
data Shipping
Shipping :: Maybe Address -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Shipping
-- | address:
[shippingAddress] :: Shipping -> Maybe Address
-- | carrier: The delivery service that shipped a physical product, such as
-- Fedex, UPS, USPS, etc.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[shippingCarrier] :: Shipping -> Maybe Text
-- | name: Recipient name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[shippingName] :: Shipping -> Maybe Text
-- | phone: Recipient phone (including extension).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[shippingPhone] :: Shipping -> Maybe Text
-- | tracking_number: The tracking number for a physical product, obtained
-- from the delivery service. If multiple tracking numbers were generated
-- for this purchase, please separate them with commas.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[shippingTrackingNumber] :: Shipping -> Maybe Text
-- | Create a new Shipping with all required fields.
mkShipping :: Shipping
instance GHC.Classes.Eq StripeAPI.Types.Shipping.Shipping
instance GHC.Show.Show StripeAPI.Types.Shipping.Shipping
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Shipping.Shipping
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Shipping.Shipping
-- | Contains the types generated from the schema ShippingMethod
module StripeAPI.Types.ShippingMethod
-- | Defines the object schema located at
-- components.schemas.shipping_method in the specification.
data ShippingMethod
ShippingMethod :: Int -> Text -> Maybe ShippingMethodDeliveryEstimate' -> Text -> Text -> ShippingMethod
-- | amount: A positive integer in the smallest currency unit (that is, 100
-- cents for $1.00, or 1 for ¥1, Japanese Yen being a zero-decimal
-- currency) representing the total amount for the line item.
[shippingMethodAmount] :: ShippingMethod -> Int
-- | currency: Three-letter ISO currency code, in lowercase. Must be
-- a supported currency.
[shippingMethodCurrency] :: ShippingMethod -> Text
-- | delivery_estimate: The estimated delivery date for the given shipping
-- method. Can be either a specific date or a range.
[shippingMethodDeliveryEstimate] :: ShippingMethod -> Maybe ShippingMethodDeliveryEstimate'
-- | description: An arbitrary string attached to the object. Often useful
-- for displaying to users.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[shippingMethodDescription] :: ShippingMethod -> Text
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[shippingMethodId] :: ShippingMethod -> Text
-- | Create a new ShippingMethod with all required fields.
mkShippingMethod :: Int -> Text -> Text -> Text -> ShippingMethod
-- | Defines the object schema located at
-- components.schemas.shipping_method.properties.delivery_estimate.anyOf
-- in the specification.
--
-- The estimated delivery date for the given shipping method. Can be
-- either a specific date or a range.
data ShippingMethodDeliveryEstimate'
ShippingMethodDeliveryEstimate' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> ShippingMethodDeliveryEstimate'
-- | date: If `type` is `"exact"`, `date` will be the expected delivery
-- date in the format YYYY-MM-DD.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[shippingMethodDeliveryEstimate'Date] :: ShippingMethodDeliveryEstimate' -> Maybe Text
-- | earliest: If `type` is `"range"`, `earliest` will be be the earliest
-- delivery date in the format YYYY-MM-DD.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[shippingMethodDeliveryEstimate'Earliest] :: ShippingMethodDeliveryEstimate' -> Maybe Text
-- | latest: If `type` is `"range"`, `latest` will be the latest delivery
-- date in the format YYYY-MM-DD.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[shippingMethodDeliveryEstimate'Latest] :: ShippingMethodDeliveryEstimate' -> Maybe Text
-- | type: The type of estimate. Must be either `"range"` or `"exact"`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[shippingMethodDeliveryEstimate'Type] :: ShippingMethodDeliveryEstimate' -> Maybe Text
-- | Create a new ShippingMethodDeliveryEstimate' with all required
-- fields.
mkShippingMethodDeliveryEstimate' :: ShippingMethodDeliveryEstimate'
instance GHC.Classes.Eq StripeAPI.Types.ShippingMethod.ShippingMethodDeliveryEstimate'
instance GHC.Show.Show StripeAPI.Types.ShippingMethod.ShippingMethodDeliveryEstimate'
instance GHC.Classes.Eq StripeAPI.Types.ShippingMethod.ShippingMethod
instance GHC.Show.Show StripeAPI.Types.ShippingMethod.ShippingMethod
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.ShippingMethod.ShippingMethod
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.ShippingMethod.ShippingMethod
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.ShippingMethod.ShippingMethodDeliveryEstimate'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.ShippingMethod.ShippingMethodDeliveryEstimate'
-- | Contains the types generated from the schema ScheduledQueryRun
module StripeAPI.Types.ScheduledQueryRun
-- | Defines the object schema located at
-- components.schemas.scheduled_query_run in the specification.
--
-- If you have scheduled a Sigma query, you'll receive a
-- `sigma.scheduled_query_run.created` webhook each time the query runs.
-- The webhook contains a `ScheduledQueryRun` object, which you can use
-- to retrieve the query results.
data ScheduledQueryRun
ScheduledQueryRun :: Int -> Int -> Maybe SigmaScheduledQueryRunError -> Maybe ScheduledQueryRunFile' -> Text -> Bool -> Int -> Text -> Text -> Text -> ScheduledQueryRun
-- | created: Time at which the object was created. Measured in seconds
-- since the Unix epoch.
[scheduledQueryRunCreated] :: ScheduledQueryRun -> Int
-- | data_load_time: When the query was run, Sigma contained a snapshot of
-- your Stripe data at this time.
[scheduledQueryRunDataLoadTime] :: ScheduledQueryRun -> Int
-- | error:
[scheduledQueryRunError] :: ScheduledQueryRun -> Maybe SigmaScheduledQueryRunError
-- | file: The file object representing the results of the query.
[scheduledQueryRunFile] :: ScheduledQueryRun -> Maybe ScheduledQueryRunFile'
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[scheduledQueryRunId] :: ScheduledQueryRun -> Text
-- | livemode: Has the value `true` if the object exists in live mode or
-- the value `false` if the object exists in test mode.
[scheduledQueryRunLivemode] :: ScheduledQueryRun -> Bool
-- | result_available_until: Time at which the result expires and is no
-- longer available for download.
[scheduledQueryRunResultAvailableUntil] :: ScheduledQueryRun -> Int
-- | sql: SQL for the query.
--
-- Constraints:
--
--
-- - Maximum length of 100000
--
[scheduledQueryRunSql] :: ScheduledQueryRun -> Text
-- | status: The query's execution status, which will be `completed` for
-- successful runs, and `canceled`, `failed`, or `timed_out` otherwise.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[scheduledQueryRunStatus] :: ScheduledQueryRun -> Text
-- | title: Title of the query.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[scheduledQueryRunTitle] :: ScheduledQueryRun -> Text
-- | Create a new ScheduledQueryRun with all required fields.
mkScheduledQueryRun :: Int -> Int -> Text -> Bool -> Int -> Text -> Text -> Text -> ScheduledQueryRun
-- | Defines the object schema located at
-- components.schemas.scheduled_query_run.properties.file.anyOf
-- in the specification.
--
-- The file object representing the results of the query.
data ScheduledQueryRunFile'
ScheduledQueryRunFile' :: Maybe Int -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe ScheduledQueryRunFile'Links' -> Maybe ScheduledQueryRunFile'Object' -> Maybe ScheduledQueryRunFile'Purpose' -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe Text -> ScheduledQueryRunFile'
-- | created: Time at which the object was created. Measured in seconds
-- since the Unix epoch.
[scheduledQueryRunFile'Created] :: ScheduledQueryRunFile' -> Maybe Int
-- | expires_at: The time at which the file expires and is no longer
-- available in epoch seconds.
[scheduledQueryRunFile'ExpiresAt] :: ScheduledQueryRunFile' -> Maybe Int
-- | filename: A filename for the file, suitable for saving to a
-- filesystem.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[scheduledQueryRunFile'Filename] :: ScheduledQueryRunFile' -> Maybe Text
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[scheduledQueryRunFile'Id] :: ScheduledQueryRunFile' -> Maybe Text
-- | links: A list of file links that point at this file.
[scheduledQueryRunFile'Links] :: ScheduledQueryRunFile' -> Maybe ScheduledQueryRunFile'Links'
-- | object: String representing the object's type. Objects of the same
-- type share the same value.
[scheduledQueryRunFile'Object] :: ScheduledQueryRunFile' -> Maybe ScheduledQueryRunFile'Object'
-- | purpose: The purpose of the uploaded file.
[scheduledQueryRunFile'Purpose] :: ScheduledQueryRunFile' -> Maybe ScheduledQueryRunFile'Purpose'
-- | size: The size in bytes of the file object.
[scheduledQueryRunFile'Size] :: ScheduledQueryRunFile' -> Maybe Int
-- | title: A user friendly title for the document.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[scheduledQueryRunFile'Title] :: ScheduledQueryRunFile' -> Maybe Text
-- | type: The type of the file returned (e.g., `csv`, `pdf`, `jpg`, or
-- `png`).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[scheduledQueryRunFile'Type] :: ScheduledQueryRunFile' -> Maybe Text
-- | url: The URL from which the file can be downloaded using your live
-- secret API key.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[scheduledQueryRunFile'Url] :: ScheduledQueryRunFile' -> Maybe Text
-- | Create a new ScheduledQueryRunFile' with all required fields.
mkScheduledQueryRunFile' :: ScheduledQueryRunFile'
-- | Defines the object schema located at
-- components.schemas.scheduled_query_run.properties.file.anyOf.properties.links
-- in the specification.
--
-- A list of file links that point at this file.
data ScheduledQueryRunFile'Links'
ScheduledQueryRunFile'Links' :: [FileLink] -> Bool -> Text -> ScheduledQueryRunFile'Links'
-- | data: Details about each object.
[scheduledQueryRunFile'Links'Data] :: ScheduledQueryRunFile'Links' -> [FileLink]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[scheduledQueryRunFile'Links'HasMore] :: ScheduledQueryRunFile'Links' -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[scheduledQueryRunFile'Links'Url] :: ScheduledQueryRunFile'Links' -> Text
-- | Create a new ScheduledQueryRunFile'Links' with all required
-- fields.
mkScheduledQueryRunFile'Links' :: [FileLink] -> Bool -> Text -> ScheduledQueryRunFile'Links'
-- | Defines the enum schema located at
-- components.schemas.scheduled_query_run.properties.file.anyOf.properties.object
-- in the specification.
--
-- String representing the object's type. Objects of the same type share
-- the same value.
data ScheduledQueryRunFile'Object'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
ScheduledQueryRunFile'Object'Other :: Value -> ScheduledQueryRunFile'Object'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
ScheduledQueryRunFile'Object'Typed :: Text -> ScheduledQueryRunFile'Object'
-- | Represents the JSON value "file"
ScheduledQueryRunFile'Object'EnumFile :: ScheduledQueryRunFile'Object'
-- | Defines the enum schema located at
-- components.schemas.scheduled_query_run.properties.file.anyOf.properties.purpose
-- in the specification.
--
-- The purpose of the uploaded file.
data ScheduledQueryRunFile'Purpose'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
ScheduledQueryRunFile'Purpose'Other :: Value -> ScheduledQueryRunFile'Purpose'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
ScheduledQueryRunFile'Purpose'Typed :: Text -> ScheduledQueryRunFile'Purpose'
-- | Represents the JSON value "account_requirement"
ScheduledQueryRunFile'Purpose'EnumAccountRequirement :: ScheduledQueryRunFile'Purpose'
-- | Represents the JSON value "additional_verification"
ScheduledQueryRunFile'Purpose'EnumAdditionalVerification :: ScheduledQueryRunFile'Purpose'
-- | Represents the JSON value "business_icon"
ScheduledQueryRunFile'Purpose'EnumBusinessIcon :: ScheduledQueryRunFile'Purpose'
-- | Represents the JSON value "business_logo"
ScheduledQueryRunFile'Purpose'EnumBusinessLogo :: ScheduledQueryRunFile'Purpose'
-- | Represents the JSON value "customer_signature"
ScheduledQueryRunFile'Purpose'EnumCustomerSignature :: ScheduledQueryRunFile'Purpose'
-- | Represents the JSON value "dispute_evidence"
ScheduledQueryRunFile'Purpose'EnumDisputeEvidence :: ScheduledQueryRunFile'Purpose'
-- | Represents the JSON value
-- "document_provider_identity_document"
ScheduledQueryRunFile'Purpose'EnumDocumentProviderIdentityDocument :: ScheduledQueryRunFile'Purpose'
-- | Represents the JSON value "finance_report_run"
ScheduledQueryRunFile'Purpose'EnumFinanceReportRun :: ScheduledQueryRunFile'Purpose'
-- | Represents the JSON value "identity_document"
ScheduledQueryRunFile'Purpose'EnumIdentityDocument :: ScheduledQueryRunFile'Purpose'
-- | Represents the JSON value "identity_document_downloadable"
ScheduledQueryRunFile'Purpose'EnumIdentityDocumentDownloadable :: ScheduledQueryRunFile'Purpose'
-- | Represents the JSON value "pci_document"
ScheduledQueryRunFile'Purpose'EnumPciDocument :: ScheduledQueryRunFile'Purpose'
-- | Represents the JSON value "selfie"
ScheduledQueryRunFile'Purpose'EnumSelfie :: ScheduledQueryRunFile'Purpose'
-- | Represents the JSON value "sigma_scheduled_query"
ScheduledQueryRunFile'Purpose'EnumSigmaScheduledQuery :: ScheduledQueryRunFile'Purpose'
-- | Represents the JSON value "tax_document_user_upload"
ScheduledQueryRunFile'Purpose'EnumTaxDocumentUserUpload :: ScheduledQueryRunFile'Purpose'
instance GHC.Classes.Eq StripeAPI.Types.ScheduledQueryRun.ScheduledQueryRunFile'Links'
instance GHC.Show.Show StripeAPI.Types.ScheduledQueryRun.ScheduledQueryRunFile'Links'
instance GHC.Classes.Eq StripeAPI.Types.ScheduledQueryRun.ScheduledQueryRunFile'Object'
instance GHC.Show.Show StripeAPI.Types.ScheduledQueryRun.ScheduledQueryRunFile'Object'
instance GHC.Classes.Eq StripeAPI.Types.ScheduledQueryRun.ScheduledQueryRunFile'Purpose'
instance GHC.Show.Show StripeAPI.Types.ScheduledQueryRun.ScheduledQueryRunFile'Purpose'
instance GHC.Classes.Eq StripeAPI.Types.ScheduledQueryRun.ScheduledQueryRunFile'
instance GHC.Show.Show StripeAPI.Types.ScheduledQueryRun.ScheduledQueryRunFile'
instance GHC.Classes.Eq StripeAPI.Types.ScheduledQueryRun.ScheduledQueryRun
instance GHC.Show.Show StripeAPI.Types.ScheduledQueryRun.ScheduledQueryRun
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.ScheduledQueryRun.ScheduledQueryRun
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.ScheduledQueryRun.ScheduledQueryRun
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.ScheduledQueryRun.ScheduledQueryRunFile'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.ScheduledQueryRun.ScheduledQueryRunFile'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.ScheduledQueryRun.ScheduledQueryRunFile'Purpose'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.ScheduledQueryRun.ScheduledQueryRunFile'Purpose'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.ScheduledQueryRun.ScheduledQueryRunFile'Object'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.ScheduledQueryRun.ScheduledQueryRunFile'Object'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.ScheduledQueryRun.ScheduledQueryRunFile'Links'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.ScheduledQueryRun.ScheduledQueryRunFile'Links'
-- | Contains the types generated from the schema
-- SigmaScheduledQueryRunError
module StripeAPI.Types.SigmaScheduledQueryRunError
-- | Defines the object schema located at
-- components.schemas.sigma_scheduled_query_run_error in the
-- specification.
data SigmaScheduledQueryRunError
SigmaScheduledQueryRunError :: Text -> SigmaScheduledQueryRunError
-- | message: Information about the run failure.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[sigmaScheduledQueryRunErrorMessage] :: SigmaScheduledQueryRunError -> Text
-- | Create a new SigmaScheduledQueryRunError with all required
-- fields.
mkSigmaScheduledQueryRunError :: Text -> SigmaScheduledQueryRunError
instance GHC.Classes.Eq StripeAPI.Types.SigmaScheduledQueryRunError.SigmaScheduledQueryRunError
instance GHC.Show.Show StripeAPI.Types.SigmaScheduledQueryRunError.SigmaScheduledQueryRunError
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SigmaScheduledQueryRunError.SigmaScheduledQueryRunError
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SigmaScheduledQueryRunError.SigmaScheduledQueryRunError
-- | Contains the types generated from the schema OrderItem
module StripeAPI.Types.OrderItem
-- | Defines the object schema located at
-- components.schemas.order_item in the specification.
--
-- A representation of the constituent items of any given order. Can be
-- used to represent SKUs, shipping costs, or taxes owed on the
-- order.
--
-- Related guide: Orders.
data OrderItem
OrderItem :: Int -> Text -> Text -> Maybe OrderItemParent'Variants -> Maybe Int -> Text -> OrderItem
-- | amount: A positive integer in the smallest currency unit (that is, 100
-- cents for $1.00, or 1 for ¥1, Japanese Yen being a zero-decimal
-- currency) representing the total amount for the line item.
[orderItemAmount] :: OrderItem -> Int
-- | currency: Three-letter ISO currency code, in lowercase. Must be
-- a supported currency.
[orderItemCurrency] :: OrderItem -> Text
-- | description: Description of the line item, meant to be displayable to
-- the user (e.g., `"Express shipping"`).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[orderItemDescription] :: OrderItem -> Text
-- | parent: The ID of the associated object for this line item. Expandable
-- if not null (e.g., expandable to a SKU).
[orderItemParent] :: OrderItem -> Maybe OrderItemParent'Variants
-- | quantity: A positive integer representing the number of instances of
-- `parent` that are included in this order item. Applicable/present only
-- if `type` is `sku`.
[orderItemQuantity] :: OrderItem -> Maybe Int
-- | type: The type of line item. One of `sku`, `tax`, `shipping`, or
-- `discount`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[orderItemType] :: OrderItem -> Text
-- | Create a new OrderItem with all required fields.
mkOrderItem :: Int -> Text -> Text -> Text -> OrderItem
-- | Defines the oneOf schema located at
-- components.schemas.order_item.properties.parent.anyOf in the
-- specification.
--
-- The ID of the associated object for this line item. Expandable if not
-- null (e.g., expandable to a SKU).
data OrderItemParent'Variants
OrderItemParent'Text :: Text -> OrderItemParent'Variants
OrderItemParent'Sku :: Sku -> OrderItemParent'Variants
instance GHC.Classes.Eq StripeAPI.Types.OrderItem.OrderItemParent'Variants
instance GHC.Show.Show StripeAPI.Types.OrderItem.OrderItemParent'Variants
instance GHC.Classes.Eq StripeAPI.Types.OrderItem.OrderItem
instance GHC.Show.Show StripeAPI.Types.OrderItem.OrderItem
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.OrderItem.OrderItem
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.OrderItem.OrderItem
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.OrderItem.OrderItemParent'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.OrderItem.OrderItemParent'Variants
-- | Contains the types generated from the schema Sku
module StripeAPI.Types.Sku
-- | Defines the object schema located at components.schemas.sku
-- in the specification.
--
-- Stores representations of stock keeping units. SKUs describe
-- specific product variations, taking into account any combination of:
-- attributes, currency, and cost. For example, a product may be a
-- T-shirt, whereas a specific SKU represents the `size: large`, `color:
-- red` version of that shirt.
--
-- Can also be used to manage inventory.
--
-- Related guide: Tax, Shipping, and Inventory.
data Sku
Sku :: Bool -> Object -> Int -> Text -> Text -> Maybe Text -> SkuInventory -> Bool -> Object -> Maybe SkuPackageDimensions' -> Int -> SkuProduct'Variants -> Int -> Sku
-- | active: Whether the SKU is available for purchase.
[skuActive] :: Sku -> Bool
-- | attributes: A dictionary of attributes and values for the attributes
-- defined by the product. If, for example, a product's attributes are
-- `["size", "gender"]`, a valid SKU has the following dictionary of
-- attributes: `{"size": "Medium", "gender": "Unisex"}`.
[skuAttributes] :: Sku -> Object
-- | created: Time at which the object was created. Measured in seconds
-- since the Unix epoch.
[skuCreated] :: Sku -> Int
-- | currency: Three-letter ISO currency code, in lowercase. Must be
-- a supported currency.
[skuCurrency] :: Sku -> Text
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[skuId] :: Sku -> Text
-- | image: The URL of an image for this SKU, meant to be displayable to
-- the customer.
--
-- Constraints:
--
--
-- - Maximum length of 2048
--
[skuImage] :: Sku -> Maybe Text
-- | inventory:
[skuInventory] :: Sku -> SkuInventory
-- | livemode: Has the value `true` if the object exists in live mode or
-- the value `false` if the object exists in test mode.
[skuLivemode] :: Sku -> Bool
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format.
[skuMetadata] :: Sku -> Object
-- | package_dimensions: The dimensions of this SKU for shipping purposes.
[skuPackageDimensions] :: Sku -> Maybe SkuPackageDimensions'
-- | price: The cost of the item as a positive integer in the smallest
-- currency unit (that is, 100 cents to charge $1.00, or 100 to charge
-- ¥100, Japanese Yen being a zero-decimal currency).
[skuPrice] :: Sku -> Int
-- | product: The ID of the product this SKU is associated with. The
-- product must be currently active.
[skuProduct] :: Sku -> SkuProduct'Variants
-- | updated: Time at which the object was last updated. Measured in
-- seconds since the Unix epoch.
[skuUpdated] :: Sku -> Int
-- | Create a new Sku with all required fields.
mkSku :: Bool -> Object -> Int -> Text -> Text -> SkuInventory -> Bool -> Object -> Int -> SkuProduct'Variants -> Int -> Sku
-- | Defines the object schema located at
-- components.schemas.sku.properties.package_dimensions.anyOf in
-- the specification.
--
-- The dimensions of this SKU for shipping purposes.
data SkuPackageDimensions'
SkuPackageDimensions' :: Maybe Double -> Maybe Double -> Maybe Double -> Maybe Double -> SkuPackageDimensions'
-- | height: Height, in inches.
[skuPackageDimensions'Height] :: SkuPackageDimensions' -> Maybe Double
-- | length: Length, in inches.
[skuPackageDimensions'Length] :: SkuPackageDimensions' -> Maybe Double
-- | weight: Weight, in ounces.
[skuPackageDimensions'Weight] :: SkuPackageDimensions' -> Maybe Double
-- | width: Width, in inches.
[skuPackageDimensions'Width] :: SkuPackageDimensions' -> Maybe Double
-- | Create a new SkuPackageDimensions' with all required fields.
mkSkuPackageDimensions' :: SkuPackageDimensions'
-- | Defines the oneOf schema located at
-- components.schemas.sku.properties.product.anyOf in the
-- specification.
--
-- The ID of the product this SKU is associated with. The product must be
-- currently active.
data SkuProduct'Variants
SkuProduct'Text :: Text -> SkuProduct'Variants
SkuProduct'Product :: Product -> SkuProduct'Variants
instance GHC.Classes.Eq StripeAPI.Types.Sku.SkuPackageDimensions'
instance GHC.Show.Show StripeAPI.Types.Sku.SkuPackageDimensions'
instance GHC.Classes.Eq StripeAPI.Types.Sku.SkuProduct'Variants
instance GHC.Show.Show StripeAPI.Types.Sku.SkuProduct'Variants
instance GHC.Classes.Eq StripeAPI.Types.Sku.Sku
instance GHC.Show.Show StripeAPI.Types.Sku.Sku
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Sku.Sku
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Sku.Sku
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Sku.SkuProduct'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Sku.SkuProduct'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Sku.SkuPackageDimensions'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Sku.SkuPackageDimensions'
-- | Contains the types generated from the schema SkuInventory
module StripeAPI.Types.SkuInventory
-- | Defines the object schema located at
-- components.schemas.sku_inventory in the specification.
data SkuInventory
SkuInventory :: Maybe Int -> Text -> Maybe Text -> SkuInventory
-- | quantity: The count of inventory available. Will be present if and
-- only if `type` is `finite`.
[skuInventoryQuantity] :: SkuInventory -> Maybe Int
-- | type: Inventory type. Possible values are `finite`, `bucket` (not
-- quantified), and `infinite`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[skuInventoryType] :: SkuInventory -> Text
-- | value: An indicator of the inventory available. Possible values are
-- `in_stock`, `limited`, and `out_of_stock`. Will be present if and only
-- if `type` is `bucket`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[skuInventoryValue] :: SkuInventory -> Maybe Text
-- | Create a new SkuInventory with all required fields.
mkSkuInventory :: Text -> SkuInventory
instance GHC.Classes.Eq StripeAPI.Types.SkuInventory.SkuInventory
instance GHC.Show.Show StripeAPI.Types.SkuInventory.SkuInventory
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SkuInventory.SkuInventory
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SkuInventory.SkuInventory
-- | Contains the types generated from the schema
-- SourceCodeVerificationFlow
module StripeAPI.Types.SourceCodeVerificationFlow
-- | Defines the object schema located at
-- components.schemas.source_code_verification_flow in the
-- specification.
data SourceCodeVerificationFlow
SourceCodeVerificationFlow :: Int -> Text -> SourceCodeVerificationFlow
-- | attempts_remaining: The number of attempts remaining to authenticate
-- the source object with a verification code.
[sourceCodeVerificationFlowAttemptsRemaining] :: SourceCodeVerificationFlow -> Int
-- | status: The status of the code verification, either `pending`
-- (awaiting verification, `attempts_remaining` should be greater than
-- 0), `succeeded` (successful verification) or `failed` (failed
-- verification, cannot be verified anymore as `attempts_remaining`
-- should be 0).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[sourceCodeVerificationFlowStatus] :: SourceCodeVerificationFlow -> Text
-- | Create a new SourceCodeVerificationFlow with all required
-- fields.
mkSourceCodeVerificationFlow :: Int -> Text -> SourceCodeVerificationFlow
instance GHC.Classes.Eq StripeAPI.Types.SourceCodeVerificationFlow.SourceCodeVerificationFlow
instance GHC.Show.Show StripeAPI.Types.SourceCodeVerificationFlow.SourceCodeVerificationFlow
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SourceCodeVerificationFlow.SourceCodeVerificationFlow
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SourceCodeVerificationFlow.SourceCodeVerificationFlow
-- | Contains the types generated from the schema
-- SourceMandateNotificationAcssDebitData
module StripeAPI.Types.SourceMandateNotificationAcssDebitData
-- | Defines the object schema located at
-- components.schemas.source_mandate_notification_acss_debit_data
-- in the specification.
data SourceMandateNotificationAcssDebitData
SourceMandateNotificationAcssDebitData :: Maybe Text -> SourceMandateNotificationAcssDebitData
-- | statement_descriptor: The statement descriptor associate with the
-- debit.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[sourceMandateNotificationAcssDebitDataStatementDescriptor] :: SourceMandateNotificationAcssDebitData -> Maybe Text
-- | Create a new SourceMandateNotificationAcssDebitData with all
-- required fields.
mkSourceMandateNotificationAcssDebitData :: SourceMandateNotificationAcssDebitData
instance GHC.Classes.Eq StripeAPI.Types.SourceMandateNotificationAcssDebitData.SourceMandateNotificationAcssDebitData
instance GHC.Show.Show StripeAPI.Types.SourceMandateNotificationAcssDebitData.SourceMandateNotificationAcssDebitData
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SourceMandateNotificationAcssDebitData.SourceMandateNotificationAcssDebitData
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SourceMandateNotificationAcssDebitData.SourceMandateNotificationAcssDebitData
-- | Contains the types generated from the schema
-- SourceMandateNotificationBacsDebitData
module StripeAPI.Types.SourceMandateNotificationBacsDebitData
-- | Defines the object schema located at
-- components.schemas.source_mandate_notification_bacs_debit_data
-- in the specification.
data SourceMandateNotificationBacsDebitData
SourceMandateNotificationBacsDebitData :: Maybe Text -> SourceMandateNotificationBacsDebitData
-- | last4: Last 4 digits of the account number associated with the debit.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[sourceMandateNotificationBacsDebitDataLast4] :: SourceMandateNotificationBacsDebitData -> Maybe Text
-- | Create a new SourceMandateNotificationBacsDebitData with all
-- required fields.
mkSourceMandateNotificationBacsDebitData :: SourceMandateNotificationBacsDebitData
instance GHC.Classes.Eq StripeAPI.Types.SourceMandateNotificationBacsDebitData.SourceMandateNotificationBacsDebitData
instance GHC.Show.Show StripeAPI.Types.SourceMandateNotificationBacsDebitData.SourceMandateNotificationBacsDebitData
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SourceMandateNotificationBacsDebitData.SourceMandateNotificationBacsDebitData
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SourceMandateNotificationBacsDebitData.SourceMandateNotificationBacsDebitData
-- | Contains the types generated from the schema SourceMandateNotification
module StripeAPI.Types.SourceMandateNotification
-- | Defines the object schema located at
-- components.schemas.source_mandate_notification in the
-- specification.
--
-- Source mandate notifications should be created when a notification
-- related to a source mandate must be sent to the payer. They will
-- trigger a webhook or deliver an email to the customer.
data SourceMandateNotification
SourceMandateNotification :: Maybe SourceMandateNotificationAcssDebitData -> Maybe Int -> Maybe SourceMandateNotificationBacsDebitData -> Int -> Text -> Bool -> Text -> Maybe SourceMandateNotificationSepaDebitData -> Source -> Text -> Text -> SourceMandateNotification
-- | acss_debit:
[sourceMandateNotificationAcssDebit] :: SourceMandateNotification -> Maybe SourceMandateNotificationAcssDebitData
-- | amount: A positive integer in the smallest currency unit (that is, 100
-- cents for $1.00, or 1 for ¥1, Japanese Yen being a zero-decimal
-- currency) representing the amount associated with the mandate
-- notification. The amount is expressed in the currency of the
-- underlying source. Required if the notification type is
-- `debit_initiated`.
[sourceMandateNotificationAmount] :: SourceMandateNotification -> Maybe Int
-- | bacs_debit:
[sourceMandateNotificationBacsDebit] :: SourceMandateNotification -> Maybe SourceMandateNotificationBacsDebitData
-- | created: Time at which the object was created. Measured in seconds
-- since the Unix epoch.
[sourceMandateNotificationCreated] :: SourceMandateNotification -> Int
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[sourceMandateNotificationId] :: SourceMandateNotification -> Text
-- | livemode: Has the value `true` if the object exists in live mode or
-- the value `false` if the object exists in test mode.
[sourceMandateNotificationLivemode] :: SourceMandateNotification -> Bool
-- | reason: The reason of the mandate notification. Valid reasons are
-- `mandate_confirmed` or `debit_initiated`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[sourceMandateNotificationReason] :: SourceMandateNotification -> Text
-- | sepa_debit:
[sourceMandateNotificationSepaDebit] :: SourceMandateNotification -> Maybe SourceMandateNotificationSepaDebitData
-- | source: `Source` objects allow you to accept a variety of payment
-- methods. They represent a customer's payment instrument, and can be
-- used with the Stripe API just like a `Card` object: once chargeable,
-- they can be charged, or can be attached to customers.
--
-- Related guides: Sources API and Sources & Customers.
[sourceMandateNotificationSource] :: SourceMandateNotification -> Source
-- | status: The status of the mandate notification. Valid statuses are
-- `pending` or `submitted`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[sourceMandateNotificationStatus] :: SourceMandateNotification -> Text
-- | type: The type of source this mandate notification is attached to.
-- Should be the source type identifier code for the payment method, such
-- as `three_d_secure`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[sourceMandateNotificationType] :: SourceMandateNotification -> Text
-- | Create a new SourceMandateNotification with all required
-- fields.
mkSourceMandateNotification :: Int -> Text -> Bool -> Text -> Source -> Text -> Text -> SourceMandateNotification
instance GHC.Classes.Eq StripeAPI.Types.SourceMandateNotification.SourceMandateNotification
instance GHC.Show.Show StripeAPI.Types.SourceMandateNotification.SourceMandateNotification
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SourceMandateNotification.SourceMandateNotification
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SourceMandateNotification.SourceMandateNotification
-- | Contains the types generated from the schema
-- SourceMandateNotificationSepaDebitData
module StripeAPI.Types.SourceMandateNotificationSepaDebitData
-- | Defines the object schema located at
-- components.schemas.source_mandate_notification_sepa_debit_data
-- in the specification.
data SourceMandateNotificationSepaDebitData
SourceMandateNotificationSepaDebitData :: Maybe Text -> Maybe Text -> Maybe Text -> SourceMandateNotificationSepaDebitData
-- | creditor_identifier: SEPA creditor ID.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[sourceMandateNotificationSepaDebitDataCreditorIdentifier] :: SourceMandateNotificationSepaDebitData -> Maybe Text
-- | last4: Last 4 digits of the account number associated with the debit.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[sourceMandateNotificationSepaDebitDataLast4] :: SourceMandateNotificationSepaDebitData -> Maybe Text
-- | mandate_reference: Mandate reference associated with the debit.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[sourceMandateNotificationSepaDebitDataMandateReference] :: SourceMandateNotificationSepaDebitData -> Maybe Text
-- | Create a new SourceMandateNotificationSepaDebitData with all
-- required fields.
mkSourceMandateNotificationSepaDebitData :: SourceMandateNotificationSepaDebitData
instance GHC.Classes.Eq StripeAPI.Types.SourceMandateNotificationSepaDebitData.SourceMandateNotificationSepaDebitData
instance GHC.Show.Show StripeAPI.Types.SourceMandateNotificationSepaDebitData.SourceMandateNotificationSepaDebitData
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SourceMandateNotificationSepaDebitData.SourceMandateNotificationSepaDebitData
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SourceMandateNotificationSepaDebitData.SourceMandateNotificationSepaDebitData
-- | Contains the types generated from the schema SourceOrder
module StripeAPI.Types.SourceOrder
-- | Defines the object schema located at
-- components.schemas.source_order in the specification.
data SourceOrder
SourceOrder :: Int -> Text -> Maybe Text -> Maybe [SourceOrderItem] -> Maybe Shipping -> SourceOrder
-- | amount: A positive integer in the smallest currency unit (that is, 100
-- cents for $1.00, or 1 for ¥1, Japanese Yen being a zero-decimal
-- currency) representing the total amount for the order.
[sourceOrderAmount] :: SourceOrder -> Int
-- | currency: Three-letter ISO currency code, in lowercase. Must be
-- a supported currency.
[sourceOrderCurrency] :: SourceOrder -> Text
-- | email: The email address of the customer placing the order.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[sourceOrderEmail] :: SourceOrder -> Maybe Text
-- | items: List of items constituting the order.
[sourceOrderItems] :: SourceOrder -> Maybe [SourceOrderItem]
-- | shipping:
[sourceOrderShipping] :: SourceOrder -> Maybe Shipping
-- | Create a new SourceOrder with all required fields.
mkSourceOrder :: Int -> Text -> SourceOrder
instance GHC.Classes.Eq StripeAPI.Types.SourceOrder.SourceOrder
instance GHC.Show.Show StripeAPI.Types.SourceOrder.SourceOrder
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SourceOrder.SourceOrder
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SourceOrder.SourceOrder
-- | Contains the types generated from the schema SourceOrderItem
module StripeAPI.Types.SourceOrderItem
-- | Defines the object schema located at
-- components.schemas.source_order_item in the specification.
data SourceOrderItem
SourceOrderItem :: Maybe Int -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Int -> Maybe Text -> SourceOrderItem
-- | amount: The amount (price) for this order item.
[sourceOrderItemAmount] :: SourceOrderItem -> Maybe Int
-- | currency: This currency of this order item. Required when `amount` is
-- present.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[sourceOrderItemCurrency] :: SourceOrderItem -> Maybe Text
-- | description: Human-readable description for this order item.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[sourceOrderItemDescription] :: SourceOrderItem -> Maybe Text
-- | parent: The ID of the associated object for this line item. Expandable
-- if not null (e.g., expandable to a SKU).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[sourceOrderItemParent] :: SourceOrderItem -> Maybe Text
-- | quantity: The quantity of this order item. When type is `sku`, this is
-- the number of instances of the SKU to be ordered.
[sourceOrderItemQuantity] :: SourceOrderItem -> Maybe Int
-- | type: The type of this order item. Must be `sku`, `tax`, or
-- `shipping`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[sourceOrderItemType] :: SourceOrderItem -> Maybe Text
-- | Create a new SourceOrderItem with all required fields.
mkSourceOrderItem :: SourceOrderItem
instance GHC.Classes.Eq StripeAPI.Types.SourceOrderItem.SourceOrderItem
instance GHC.Show.Show StripeAPI.Types.SourceOrderItem.SourceOrderItem
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SourceOrderItem.SourceOrderItem
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SourceOrderItem.SourceOrderItem
-- | Contains the types generated from the schema SourceOwner
module StripeAPI.Types.SourceOwner
-- | Defines the object schema located at
-- components.schemas.source_owner in the specification.
data SourceOwner
SourceOwner :: Maybe SourceOwnerAddress' -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe SourceOwnerVerifiedAddress' -> Maybe Text -> Maybe Text -> Maybe Text -> SourceOwner
-- | address: Owner's address.
[sourceOwnerAddress] :: SourceOwner -> Maybe SourceOwnerAddress'
-- | email: Owner's email address.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[sourceOwnerEmail] :: SourceOwner -> Maybe Text
-- | name: Owner's full name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[sourceOwnerName] :: SourceOwner -> Maybe Text
-- | phone: Owner's phone number (including extension).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[sourceOwnerPhone] :: SourceOwner -> Maybe Text
-- | verified_address: 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.
[sourceOwnerVerifiedAddress] :: SourceOwner -> Maybe SourceOwnerVerifiedAddress'
-- | verified_email: Verified owner's email 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.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[sourceOwnerVerifiedEmail] :: SourceOwner -> Maybe Text
-- | verified_name: Verified owner's full name. 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.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[sourceOwnerVerifiedName] :: SourceOwner -> Maybe Text
-- | verified_phone: Verified owner's phone number (including extension).
-- 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.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[sourceOwnerVerifiedPhone] :: SourceOwner -> Maybe Text
-- | Create a new SourceOwner with all required fields.
mkSourceOwner :: SourceOwner
-- | Defines the object schema located at
-- components.schemas.source_owner.properties.address.anyOf in
-- the specification.
--
-- Owner\'s address.
data SourceOwnerAddress'
SourceOwnerAddress' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> SourceOwnerAddress'
-- | city: City, district, suburb, town, or village.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[sourceOwnerAddress'City] :: SourceOwnerAddress' -> Maybe Text
-- | country: Two-letter country code ([ISO 3166-1
-- alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[sourceOwnerAddress'Country] :: SourceOwnerAddress' -> Maybe Text
-- | line1: Address line 1 (e.g., street, PO Box, or company name).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[sourceOwnerAddress'Line1] :: SourceOwnerAddress' -> Maybe Text
-- | line2: Address line 2 (e.g., apartment, suite, unit, or building).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[sourceOwnerAddress'Line2] :: SourceOwnerAddress' -> Maybe Text
-- | postal_code: ZIP or postal code.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[sourceOwnerAddress'PostalCode] :: SourceOwnerAddress' -> Maybe Text
-- | state: State, county, province, or region.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[sourceOwnerAddress'State] :: SourceOwnerAddress' -> Maybe Text
-- | Create a new SourceOwnerAddress' with all required fields.
mkSourceOwnerAddress' :: SourceOwnerAddress'
-- | Defines the object schema located at
-- components.schemas.source_owner.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.
data SourceOwnerVerifiedAddress'
SourceOwnerVerifiedAddress' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> SourceOwnerVerifiedAddress'
-- | city: City, district, suburb, town, or village.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[sourceOwnerVerifiedAddress'City] :: SourceOwnerVerifiedAddress' -> Maybe Text
-- | country: Two-letter country code ([ISO 3166-1
-- alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[sourceOwnerVerifiedAddress'Country] :: SourceOwnerVerifiedAddress' -> Maybe Text
-- | line1: Address line 1 (e.g., street, PO Box, or company name).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[sourceOwnerVerifiedAddress'Line1] :: SourceOwnerVerifiedAddress' -> Maybe Text
-- | line2: Address line 2 (e.g., apartment, suite, unit, or building).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[sourceOwnerVerifiedAddress'Line2] :: SourceOwnerVerifiedAddress' -> Maybe Text
-- | postal_code: ZIP or postal code.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[sourceOwnerVerifiedAddress'PostalCode] :: SourceOwnerVerifiedAddress' -> Maybe Text
-- | state: State, county, province, or region.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[sourceOwnerVerifiedAddress'State] :: SourceOwnerVerifiedAddress' -> Maybe Text
-- | Create a new SourceOwnerVerifiedAddress' with all required
-- fields.
mkSourceOwnerVerifiedAddress' :: SourceOwnerVerifiedAddress'
instance GHC.Classes.Eq StripeAPI.Types.SourceOwner.SourceOwnerAddress'
instance GHC.Show.Show StripeAPI.Types.SourceOwner.SourceOwnerAddress'
instance GHC.Classes.Eq StripeAPI.Types.SourceOwner.SourceOwnerVerifiedAddress'
instance GHC.Show.Show StripeAPI.Types.SourceOwner.SourceOwnerVerifiedAddress'
instance GHC.Classes.Eq StripeAPI.Types.SourceOwner.SourceOwner
instance GHC.Show.Show StripeAPI.Types.SourceOwner.SourceOwner
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SourceOwner.SourceOwner
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SourceOwner.SourceOwner
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SourceOwner.SourceOwnerVerifiedAddress'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SourceOwner.SourceOwnerVerifiedAddress'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SourceOwner.SourceOwnerAddress'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SourceOwner.SourceOwnerAddress'
-- | Contains the types generated from the schema SourceReceiverFlow
module StripeAPI.Types.SourceReceiverFlow
-- | Defines the object schema located at
-- components.schemas.source_receiver_flow in the specification.
data SourceReceiverFlow
SourceReceiverFlow :: Maybe Text -> Int -> Int -> Int -> Text -> Text -> SourceReceiverFlow
-- | address: The address of the receiver source. This is the value that
-- should be communicated to the customer to send their funds to.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[sourceReceiverFlowAddress] :: SourceReceiverFlow -> Maybe Text
-- | amount_charged: The total amount that was moved to your balance. This
-- is almost always equal to the amount charged. In rare cases when
-- customers deposit excess funds and we are unable to refund those,
-- those funds get moved to your balance and show up in amount_charged as
-- well. The amount charged is expressed in the source's currency.
[sourceReceiverFlowAmountCharged] :: SourceReceiverFlow -> Int
-- | amount_received: The total amount received by the receiver source.
-- `amount_received = amount_returned + amount_charged` should be true
-- for consumed sources unless customers deposit excess funds. The amount
-- received is expressed in the source's currency.
[sourceReceiverFlowAmountReceived] :: SourceReceiverFlow -> Int
-- | amount_returned: The total amount that was returned to the customer.
-- The amount returned is expressed in the source's currency.
[sourceReceiverFlowAmountReturned] :: SourceReceiverFlow -> Int
-- | refund_attributes_method: Type of refund attribute method, one of
-- `email`, `manual`, or `none`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[sourceReceiverFlowRefundAttributesMethod] :: SourceReceiverFlow -> Text
-- | refund_attributes_status: Type of refund attribute status, one of
-- `missing`, `requested`, or `available`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[sourceReceiverFlowRefundAttributesStatus] :: SourceReceiverFlow -> Text
-- | Create a new SourceReceiverFlow with all required fields.
mkSourceReceiverFlow :: Int -> Int -> Int -> Text -> Text -> SourceReceiverFlow
instance GHC.Classes.Eq StripeAPI.Types.SourceReceiverFlow.SourceReceiverFlow
instance GHC.Show.Show StripeAPI.Types.SourceReceiverFlow.SourceReceiverFlow
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SourceReceiverFlow.SourceReceiverFlow
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SourceReceiverFlow.SourceReceiverFlow
-- | Contains the types generated from the schema SourceRedirectFlow
module StripeAPI.Types.SourceRedirectFlow
-- | Defines the object schema located at
-- components.schemas.source_redirect_flow in the specification.
data SourceRedirectFlow
SourceRedirectFlow :: Maybe Text -> Text -> Text -> Text -> SourceRedirectFlow
-- | failure_reason: The failure reason for the redirect, either
-- `user_abort` (the customer aborted or dropped out of the redirect
-- flow), `declined` (the authentication failed or the transaction was
-- declined), or `processing_error` (the redirect failed due to a
-- technical error). Present only if the redirect status is `failed`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[sourceRedirectFlowFailureReason] :: SourceRedirectFlow -> Maybe Text
-- | return_url: The URL you provide to redirect the customer to after they
-- authenticated their payment.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[sourceRedirectFlowReturnUrl] :: SourceRedirectFlow -> Text
-- | status: The status of the redirect, either `pending` (ready to be used
-- by your customer to authenticate the transaction), `succeeded`
-- (succesful authentication, cannot be reused) or `not_required`
-- (redirect should not be used) or `failed` (failed authentication,
-- cannot be reused).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[sourceRedirectFlowStatus] :: SourceRedirectFlow -> Text
-- | url: The URL provided to you to redirect a customer to as part of a
-- `redirect` authentication flow.
--
-- Constraints:
--
--
-- - Maximum length of 2048
--
[sourceRedirectFlowUrl] :: SourceRedirectFlow -> Text
-- | Create a new SourceRedirectFlow with all required fields.
mkSourceRedirectFlow :: Text -> Text -> Text -> SourceRedirectFlow
instance GHC.Classes.Eq StripeAPI.Types.SourceRedirectFlow.SourceRedirectFlow
instance GHC.Show.Show StripeAPI.Types.SourceRedirectFlow.SourceRedirectFlow
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SourceRedirectFlow.SourceRedirectFlow
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SourceRedirectFlow.SourceRedirectFlow
-- | Contains the types generated from the schema
-- SourceTransactionAchCreditTransferData
module StripeAPI.Types.SourceTransactionAchCreditTransferData
-- | Defines the object schema located at
-- components.schemas.source_transaction_ach_credit_transfer_data
-- in the specification.
data SourceTransactionAchCreditTransferData
SourceTransactionAchCreditTransferData :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> SourceTransactionAchCreditTransferData
-- | customer_data: Customer data associated with the transfer.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[sourceTransactionAchCreditTransferDataCustomerData] :: SourceTransactionAchCreditTransferData -> Maybe Text
-- | fingerprint: Bank account fingerprint associated with the transfer.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[sourceTransactionAchCreditTransferDataFingerprint] :: SourceTransactionAchCreditTransferData -> Maybe Text
-- | last4: Last 4 digits of the account number associated with the
-- transfer.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[sourceTransactionAchCreditTransferDataLast4] :: SourceTransactionAchCreditTransferData -> Maybe Text
-- | routing_number: Routing number associated with the transfer.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[sourceTransactionAchCreditTransferDataRoutingNumber] :: SourceTransactionAchCreditTransferData -> Maybe Text
-- | Create a new SourceTransactionAchCreditTransferData with all
-- required fields.
mkSourceTransactionAchCreditTransferData :: SourceTransactionAchCreditTransferData
instance GHC.Classes.Eq StripeAPI.Types.SourceTransactionAchCreditTransferData.SourceTransactionAchCreditTransferData
instance GHC.Show.Show StripeAPI.Types.SourceTransactionAchCreditTransferData.SourceTransactionAchCreditTransferData
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SourceTransactionAchCreditTransferData.SourceTransactionAchCreditTransferData
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SourceTransactionAchCreditTransferData.SourceTransactionAchCreditTransferData
-- | Contains the types generated from the schema
-- SourceTransactionChfCreditTransferData
module StripeAPI.Types.SourceTransactionChfCreditTransferData
-- | Defines the object schema located at
-- components.schemas.source_transaction_chf_credit_transfer_data
-- in the specification.
data SourceTransactionChfCreditTransferData
SourceTransactionChfCreditTransferData :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> SourceTransactionChfCreditTransferData
-- | reference: Reference associated with the transfer.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[sourceTransactionChfCreditTransferDataReference] :: SourceTransactionChfCreditTransferData -> Maybe Text
-- | sender_address_country: Sender's country address.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[sourceTransactionChfCreditTransferDataSenderAddressCountry] :: SourceTransactionChfCreditTransferData -> Maybe Text
-- | sender_address_line1: Sender's line 1 address.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[sourceTransactionChfCreditTransferDataSenderAddressLine1] :: SourceTransactionChfCreditTransferData -> Maybe Text
-- | sender_iban: Sender's bank account IBAN.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[sourceTransactionChfCreditTransferDataSenderIban] :: SourceTransactionChfCreditTransferData -> Maybe Text
-- | sender_name: Sender's name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[sourceTransactionChfCreditTransferDataSenderName] :: SourceTransactionChfCreditTransferData -> Maybe Text
-- | Create a new SourceTransactionChfCreditTransferData with all
-- required fields.
mkSourceTransactionChfCreditTransferData :: SourceTransactionChfCreditTransferData
instance GHC.Classes.Eq StripeAPI.Types.SourceTransactionChfCreditTransferData.SourceTransactionChfCreditTransferData
instance GHC.Show.Show StripeAPI.Types.SourceTransactionChfCreditTransferData.SourceTransactionChfCreditTransferData
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SourceTransactionChfCreditTransferData.SourceTransactionChfCreditTransferData
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SourceTransactionChfCreditTransferData.SourceTransactionChfCreditTransferData
-- | Contains the types generated from the schema
-- SourceTransactionGbpCreditTransferData
module StripeAPI.Types.SourceTransactionGbpCreditTransferData
-- | Defines the object schema located at
-- components.schemas.source_transaction_gbp_credit_transfer_data
-- in the specification.
data SourceTransactionGbpCreditTransferData
SourceTransactionGbpCreditTransferData :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> SourceTransactionGbpCreditTransferData
-- | fingerprint: Bank account fingerprint associated with the Stripe owned
-- bank account receiving the transfer.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[sourceTransactionGbpCreditTransferDataFingerprint] :: SourceTransactionGbpCreditTransferData -> Maybe Text
-- | funding_method: The credit transfer rails the sender used to push this
-- transfer. The possible rails are: Faster Payments, BACS, CHAPS, and
-- wire transfers. Currently only Faster Payments is supported.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[sourceTransactionGbpCreditTransferDataFundingMethod] :: SourceTransactionGbpCreditTransferData -> Maybe Text
-- | last4: Last 4 digits of sender account number associated with the
-- transfer.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[sourceTransactionGbpCreditTransferDataLast4] :: SourceTransactionGbpCreditTransferData -> Maybe Text
-- | reference: Sender entered arbitrary information about the transfer.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[sourceTransactionGbpCreditTransferDataReference] :: SourceTransactionGbpCreditTransferData -> Maybe Text
-- | sender_account_number: Sender account number associated with the
-- transfer.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[sourceTransactionGbpCreditTransferDataSenderAccountNumber] :: SourceTransactionGbpCreditTransferData -> Maybe Text
-- | sender_name: Sender name associated with the transfer.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[sourceTransactionGbpCreditTransferDataSenderName] :: SourceTransactionGbpCreditTransferData -> Maybe Text
-- | sender_sort_code: Sender sort code associated with the transfer.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[sourceTransactionGbpCreditTransferDataSenderSortCode] :: SourceTransactionGbpCreditTransferData -> Maybe Text
-- | Create a new SourceTransactionGbpCreditTransferData with all
-- required fields.
mkSourceTransactionGbpCreditTransferData :: SourceTransactionGbpCreditTransferData
instance GHC.Classes.Eq StripeAPI.Types.SourceTransactionGbpCreditTransferData.SourceTransactionGbpCreditTransferData
instance GHC.Show.Show StripeAPI.Types.SourceTransactionGbpCreditTransferData.SourceTransactionGbpCreditTransferData
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SourceTransactionGbpCreditTransferData.SourceTransactionGbpCreditTransferData
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SourceTransactionGbpCreditTransferData.SourceTransactionGbpCreditTransferData
-- | Contains the types generated from the schema
-- SourceTransactionPaperCheckData
module StripeAPI.Types.SourceTransactionPaperCheckData
-- | Defines the object schema located at
-- components.schemas.source_transaction_paper_check_data in the
-- specification.
data SourceTransactionPaperCheckData
SourceTransactionPaperCheckData :: Maybe Text -> Maybe Text -> SourceTransactionPaperCheckData
-- | available_at: Time at which the deposited funds will be available for
-- use. Measured in seconds since the Unix epoch.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[sourceTransactionPaperCheckDataAvailableAt] :: SourceTransactionPaperCheckData -> Maybe Text
-- | invoices: Comma-separated list of invoice IDs associated with the
-- paper check.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[sourceTransactionPaperCheckDataInvoices] :: SourceTransactionPaperCheckData -> Maybe Text
-- | Create a new SourceTransactionPaperCheckData with all required
-- fields.
mkSourceTransactionPaperCheckData :: SourceTransactionPaperCheckData
instance GHC.Classes.Eq StripeAPI.Types.SourceTransactionPaperCheckData.SourceTransactionPaperCheckData
instance GHC.Show.Show StripeAPI.Types.SourceTransactionPaperCheckData.SourceTransactionPaperCheckData
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SourceTransactionPaperCheckData.SourceTransactionPaperCheckData
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SourceTransactionPaperCheckData.SourceTransactionPaperCheckData
-- | Contains the types generated from the schema SourceTransaction
module StripeAPI.Types.SourceTransaction
-- | Defines the object schema located at
-- components.schemas.source_transaction in the specification.
--
-- Some payment methods have no required amount that a customer must
-- send. Customers can be instructed to send any amount, and it can be
-- made up of multiple transactions. As such, sources can have multiple
-- associated transactions.
data SourceTransaction
SourceTransaction :: Maybe SourceTransactionAchCreditTransferData -> Int -> Maybe SourceTransactionChfCreditTransferData -> Int -> Text -> Maybe SourceTransactionGbpCreditTransferData -> Text -> Bool -> Maybe SourceTransactionPaperCheckData -> Maybe SourceTransactionSepaCreditTransferData -> Text -> Text -> SourceTransactionType' -> SourceTransaction
-- | ach_credit_transfer:
[sourceTransactionAchCreditTransfer] :: SourceTransaction -> Maybe SourceTransactionAchCreditTransferData
-- | amount: A positive integer in the smallest currency unit (that is, 100
-- cents for $1.00, or 1 for ¥1, Japanese Yen being a zero-decimal
-- currency) representing the amount your customer has pushed to the
-- receiver.
[sourceTransactionAmount] :: SourceTransaction -> Int
-- | chf_credit_transfer:
[sourceTransactionChfCreditTransfer] :: SourceTransaction -> Maybe SourceTransactionChfCreditTransferData
-- | created: Time at which the object was created. Measured in seconds
-- since the Unix epoch.
[sourceTransactionCreated] :: SourceTransaction -> Int
-- | currency: Three-letter ISO currency code, in lowercase. Must be
-- a supported currency.
[sourceTransactionCurrency] :: SourceTransaction -> Text
-- | gbp_credit_transfer:
[sourceTransactionGbpCreditTransfer] :: SourceTransaction -> Maybe SourceTransactionGbpCreditTransferData
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[sourceTransactionId] :: SourceTransaction -> Text
-- | livemode: Has the value `true` if the object exists in live mode or
-- the value `false` if the object exists in test mode.
[sourceTransactionLivemode] :: SourceTransaction -> Bool
-- | paper_check:
[sourceTransactionPaperCheck] :: SourceTransaction -> Maybe SourceTransactionPaperCheckData
-- | sepa_credit_transfer:
[sourceTransactionSepaCreditTransfer] :: SourceTransaction -> Maybe SourceTransactionSepaCreditTransferData
-- | source: The ID of the source this transaction is attached to.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[sourceTransactionSource] :: SourceTransaction -> Text
-- | status: The status of the transaction, one of `succeeded`, `pending`,
-- or `failed`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[sourceTransactionStatus] :: SourceTransaction -> Text
-- | type: The type of source this transaction is attached to.
[sourceTransactionType] :: SourceTransaction -> SourceTransactionType'
-- | Create a new SourceTransaction with all required fields.
mkSourceTransaction :: Int -> Int -> Text -> Text -> Bool -> Text -> Text -> SourceTransactionType' -> SourceTransaction
-- | Defines the enum schema located at
-- components.schemas.source_transaction.properties.type in the
-- specification.
--
-- The type of source this transaction is attached to.
data SourceTransactionType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
SourceTransactionType'Other :: Value -> SourceTransactionType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
SourceTransactionType'Typed :: Text -> SourceTransactionType'
-- | Represents the JSON value "ach_credit_transfer"
SourceTransactionType'EnumAchCreditTransfer :: SourceTransactionType'
-- | Represents the JSON value "ach_debit"
SourceTransactionType'EnumAchDebit :: SourceTransactionType'
-- | Represents the JSON value "alipay"
SourceTransactionType'EnumAlipay :: SourceTransactionType'
-- | Represents the JSON value "bancontact"
SourceTransactionType'EnumBancontact :: SourceTransactionType'
-- | Represents the JSON value "card"
SourceTransactionType'EnumCard :: SourceTransactionType'
-- | Represents the JSON value "card_present"
SourceTransactionType'EnumCardPresent :: SourceTransactionType'
-- | Represents the JSON value "eps"
SourceTransactionType'EnumEps :: SourceTransactionType'
-- | Represents the JSON value "giropay"
SourceTransactionType'EnumGiropay :: SourceTransactionType'
-- | Represents the JSON value "ideal"
SourceTransactionType'EnumIdeal :: SourceTransactionType'
-- | Represents the JSON value "klarna"
SourceTransactionType'EnumKlarna :: SourceTransactionType'
-- | Represents the JSON value "multibanco"
SourceTransactionType'EnumMultibanco :: SourceTransactionType'
-- | Represents the JSON value "p24"
SourceTransactionType'EnumP24 :: SourceTransactionType'
-- | Represents the JSON value "sepa_debit"
SourceTransactionType'EnumSepaDebit :: SourceTransactionType'
-- | Represents the JSON value "sofort"
SourceTransactionType'EnumSofort :: SourceTransactionType'
-- | Represents the JSON value "three_d_secure"
SourceTransactionType'EnumThreeDSecure :: SourceTransactionType'
-- | Represents the JSON value "wechat"
SourceTransactionType'EnumWechat :: SourceTransactionType'
instance GHC.Classes.Eq StripeAPI.Types.SourceTransaction.SourceTransactionType'
instance GHC.Show.Show StripeAPI.Types.SourceTransaction.SourceTransactionType'
instance GHC.Classes.Eq StripeAPI.Types.SourceTransaction.SourceTransaction
instance GHC.Show.Show StripeAPI.Types.SourceTransaction.SourceTransaction
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SourceTransaction.SourceTransaction
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SourceTransaction.SourceTransaction
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SourceTransaction.SourceTransactionType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SourceTransaction.SourceTransactionType'
-- | Contains the types generated from the schema
-- SourceTransactionSepaCreditTransferData
module StripeAPI.Types.SourceTransactionSepaCreditTransferData
-- | Defines the object schema located at
-- components.schemas.source_transaction_sepa_credit_transfer_data
-- in the specification.
data SourceTransactionSepaCreditTransferData
SourceTransactionSepaCreditTransferData :: Maybe Text -> Maybe Text -> Maybe Text -> SourceTransactionSepaCreditTransferData
-- | reference: Reference associated with the transfer.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[sourceTransactionSepaCreditTransferDataReference] :: SourceTransactionSepaCreditTransferData -> Maybe Text
-- | sender_iban: Sender's bank account IBAN.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[sourceTransactionSepaCreditTransferDataSenderIban] :: SourceTransactionSepaCreditTransferData -> Maybe Text
-- | sender_name: Sender's name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[sourceTransactionSepaCreditTransferDataSenderName] :: SourceTransactionSepaCreditTransferData -> Maybe Text
-- | Create a new SourceTransactionSepaCreditTransferData with all
-- required fields.
mkSourceTransactionSepaCreditTransferData :: SourceTransactionSepaCreditTransferData
instance GHC.Classes.Eq StripeAPI.Types.SourceTransactionSepaCreditTransferData.SourceTransactionSepaCreditTransferData
instance GHC.Show.Show StripeAPI.Types.SourceTransactionSepaCreditTransferData.SourceTransactionSepaCreditTransferData
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SourceTransactionSepaCreditTransferData.SourceTransactionSepaCreditTransferData
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SourceTransactionSepaCreditTransferData.SourceTransactionSepaCreditTransferData
-- | Contains the types generated from the schema
-- SourceTypeAchCreditTransfer
module StripeAPI.Types.SourceTypeAchCreditTransfer
-- | Defines the object schema located at
-- components.schemas.source_type_ach_credit_transfer in the
-- specification.
data SourceTypeAchCreditTransfer
SourceTypeAchCreditTransfer :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> SourceTypeAchCreditTransfer
-- | account_number
[sourceTypeAchCreditTransferAccountNumber] :: SourceTypeAchCreditTransfer -> Maybe Text
-- | bank_name
[sourceTypeAchCreditTransferBankName] :: SourceTypeAchCreditTransfer -> Maybe Text
-- | fingerprint
[sourceTypeAchCreditTransferFingerprint] :: SourceTypeAchCreditTransfer -> Maybe Text
-- | refund_account_holder_name
[sourceTypeAchCreditTransferRefundAccountHolderName] :: SourceTypeAchCreditTransfer -> Maybe Text
-- | refund_account_holder_type
[sourceTypeAchCreditTransferRefundAccountHolderType] :: SourceTypeAchCreditTransfer -> Maybe Text
-- | refund_routing_number
[sourceTypeAchCreditTransferRefundRoutingNumber] :: SourceTypeAchCreditTransfer -> Maybe Text
-- | routing_number
[sourceTypeAchCreditTransferRoutingNumber] :: SourceTypeAchCreditTransfer -> Maybe Text
-- | swift_code
[sourceTypeAchCreditTransferSwiftCode] :: SourceTypeAchCreditTransfer -> Maybe Text
-- | Create a new SourceTypeAchCreditTransfer with all required
-- fields.
mkSourceTypeAchCreditTransfer :: SourceTypeAchCreditTransfer
instance GHC.Classes.Eq StripeAPI.Types.SourceTypeAchCreditTransfer.SourceTypeAchCreditTransfer
instance GHC.Show.Show StripeAPI.Types.SourceTypeAchCreditTransfer.SourceTypeAchCreditTransfer
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SourceTypeAchCreditTransfer.SourceTypeAchCreditTransfer
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SourceTypeAchCreditTransfer.SourceTypeAchCreditTransfer
-- | Contains the types generated from the schema SourceTypeAchDebit
module StripeAPI.Types.SourceTypeAchDebit
-- | Defines the object schema located at
-- components.schemas.source_type_ach_debit in the
-- specification.
data SourceTypeAchDebit
SourceTypeAchDebit :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> SourceTypeAchDebit
-- | bank_name
[sourceTypeAchDebitBankName] :: SourceTypeAchDebit -> Maybe Text
-- | country
[sourceTypeAchDebitCountry] :: SourceTypeAchDebit -> Maybe Text
-- | fingerprint
[sourceTypeAchDebitFingerprint] :: SourceTypeAchDebit -> Maybe Text
-- | last4
[sourceTypeAchDebitLast4] :: SourceTypeAchDebit -> Maybe Text
-- | routing_number
[sourceTypeAchDebitRoutingNumber] :: SourceTypeAchDebit -> Maybe Text
-- | type
[sourceTypeAchDebitType] :: SourceTypeAchDebit -> Maybe Text
-- | Create a new SourceTypeAchDebit with all required fields.
mkSourceTypeAchDebit :: SourceTypeAchDebit
instance GHC.Classes.Eq StripeAPI.Types.SourceTypeAchDebit.SourceTypeAchDebit
instance GHC.Show.Show StripeAPI.Types.SourceTypeAchDebit.SourceTypeAchDebit
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SourceTypeAchDebit.SourceTypeAchDebit
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SourceTypeAchDebit.SourceTypeAchDebit
-- | Contains the types generated from the schema SourceTypeAcssDebit
module StripeAPI.Types.SourceTypeAcssDebit
-- | Defines the object schema located at
-- components.schemas.source_type_acss_debit in the
-- specification.
data SourceTypeAcssDebit
SourceTypeAcssDebit :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> SourceTypeAcssDebit
-- | bank_address_city
[sourceTypeAcssDebitBankAddressCity] :: SourceTypeAcssDebit -> Maybe Text
-- | bank_address_line_1
[sourceTypeAcssDebitBankAddressLine_1] :: SourceTypeAcssDebit -> Maybe Text
-- | bank_address_line_2
[sourceTypeAcssDebitBankAddressLine_2] :: SourceTypeAcssDebit -> Maybe Text
-- | bank_address_postal_code
[sourceTypeAcssDebitBankAddressPostalCode] :: SourceTypeAcssDebit -> Maybe Text
-- | bank_name
[sourceTypeAcssDebitBankName] :: SourceTypeAcssDebit -> Maybe Text
-- | category
[sourceTypeAcssDebitCategory] :: SourceTypeAcssDebit -> Maybe Text
-- | country
[sourceTypeAcssDebitCountry] :: SourceTypeAcssDebit -> Maybe Text
-- | fingerprint
[sourceTypeAcssDebitFingerprint] :: SourceTypeAcssDebit -> Maybe Text
-- | last4
[sourceTypeAcssDebitLast4] :: SourceTypeAcssDebit -> Maybe Text
-- | routing_number
[sourceTypeAcssDebitRoutingNumber] :: SourceTypeAcssDebit -> Maybe Text
-- | Create a new SourceTypeAcssDebit with all required fields.
mkSourceTypeAcssDebit :: SourceTypeAcssDebit
instance GHC.Classes.Eq StripeAPI.Types.SourceTypeAcssDebit.SourceTypeAcssDebit
instance GHC.Show.Show StripeAPI.Types.SourceTypeAcssDebit.SourceTypeAcssDebit
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SourceTypeAcssDebit.SourceTypeAcssDebit
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SourceTypeAcssDebit.SourceTypeAcssDebit
-- | Contains the types generated from the schema SourceTypeAlipay
module StripeAPI.Types.SourceTypeAlipay
-- | Defines the object schema located at
-- components.schemas.source_type_alipay in the specification.
data SourceTypeAlipay
SourceTypeAlipay :: Maybe Text -> Maybe Text -> Maybe Text -> SourceTypeAlipay
-- | data_string
[sourceTypeAlipayDataString] :: SourceTypeAlipay -> Maybe Text
-- | native_url
[sourceTypeAlipayNativeUrl] :: SourceTypeAlipay -> Maybe Text
-- | statement_descriptor
[sourceTypeAlipayStatementDescriptor] :: SourceTypeAlipay -> Maybe Text
-- | Create a new SourceTypeAlipay with all required fields.
mkSourceTypeAlipay :: SourceTypeAlipay
instance GHC.Classes.Eq StripeAPI.Types.SourceTypeAlipay.SourceTypeAlipay
instance GHC.Show.Show StripeAPI.Types.SourceTypeAlipay.SourceTypeAlipay
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SourceTypeAlipay.SourceTypeAlipay
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SourceTypeAlipay.SourceTypeAlipay
-- | Contains the types generated from the schema SourceTypeAuBecsDebit
module StripeAPI.Types.SourceTypeAuBecsDebit
-- | Defines the object schema located at
-- components.schemas.source_type_au_becs_debit in the
-- specification.
data SourceTypeAuBecsDebit
SourceTypeAuBecsDebit :: Maybe Text -> Maybe Text -> Maybe Text -> SourceTypeAuBecsDebit
-- | bsb_number
[sourceTypeAuBecsDebitBsbNumber] :: SourceTypeAuBecsDebit -> Maybe Text
-- | fingerprint
[sourceTypeAuBecsDebitFingerprint] :: SourceTypeAuBecsDebit -> Maybe Text
-- | last4
[sourceTypeAuBecsDebitLast4] :: SourceTypeAuBecsDebit -> Maybe Text
-- | Create a new SourceTypeAuBecsDebit with all required fields.
mkSourceTypeAuBecsDebit :: SourceTypeAuBecsDebit
instance GHC.Classes.Eq StripeAPI.Types.SourceTypeAuBecsDebit.SourceTypeAuBecsDebit
instance GHC.Show.Show StripeAPI.Types.SourceTypeAuBecsDebit.SourceTypeAuBecsDebit
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SourceTypeAuBecsDebit.SourceTypeAuBecsDebit
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SourceTypeAuBecsDebit.SourceTypeAuBecsDebit
-- | Contains the types generated from the schema SourceTypeBancontact
module StripeAPI.Types.SourceTypeBancontact
-- | Defines the object schema located at
-- components.schemas.source_type_bancontact in the
-- specification.
data SourceTypeBancontact
SourceTypeBancontact :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> SourceTypeBancontact
-- | bank_code
[sourceTypeBancontactBankCode] :: SourceTypeBancontact -> Maybe Text
-- | bank_name
[sourceTypeBancontactBankName] :: SourceTypeBancontact -> Maybe Text
-- | bic
[sourceTypeBancontactBic] :: SourceTypeBancontact -> Maybe Text
-- | iban_last4
[sourceTypeBancontactIbanLast4] :: SourceTypeBancontact -> Maybe Text
-- | preferred_language
[sourceTypeBancontactPreferredLanguage] :: SourceTypeBancontact -> Maybe Text
-- | statement_descriptor
[sourceTypeBancontactStatementDescriptor] :: SourceTypeBancontact -> Maybe Text
-- | Create a new SourceTypeBancontact with all required fields.
mkSourceTypeBancontact :: SourceTypeBancontact
instance GHC.Classes.Eq StripeAPI.Types.SourceTypeBancontact.SourceTypeBancontact
instance GHC.Show.Show StripeAPI.Types.SourceTypeBancontact.SourceTypeBancontact
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SourceTypeBancontact.SourceTypeBancontact
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SourceTypeBancontact.SourceTypeBancontact
-- | Contains the types generated from the schema SourceTypeCard
module StripeAPI.Types.SourceTypeCard
-- | Defines the object schema located at
-- components.schemas.source_type_card in the specification.
data SourceTypeCard
SourceTypeCard :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Int -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> SourceTypeCard
-- | address_line1_check
[sourceTypeCardAddressLine1Check] :: SourceTypeCard -> Maybe Text
-- | address_zip_check
[sourceTypeCardAddressZipCheck] :: SourceTypeCard -> Maybe Text
-- | brand
[sourceTypeCardBrand] :: SourceTypeCard -> Maybe Text
-- | country
[sourceTypeCardCountry] :: SourceTypeCard -> Maybe Text
-- | cvc_check
[sourceTypeCardCvcCheck] :: SourceTypeCard -> Maybe Text
-- | dynamic_last4
[sourceTypeCardDynamicLast4] :: SourceTypeCard -> Maybe Text
-- | exp_month
[sourceTypeCardExpMonth] :: SourceTypeCard -> Maybe Int
-- | exp_year
[sourceTypeCardExpYear] :: SourceTypeCard -> Maybe Int
-- | fingerprint
[sourceTypeCardFingerprint] :: SourceTypeCard -> Maybe Text
-- | funding
[sourceTypeCardFunding] :: SourceTypeCard -> Maybe Text
-- | last4
[sourceTypeCardLast4] :: SourceTypeCard -> Maybe Text
-- | name
[sourceTypeCardName] :: SourceTypeCard -> Maybe Text
-- | three_d_secure
[sourceTypeCardThreeDSecure] :: SourceTypeCard -> Maybe Text
-- | tokenization_method
[sourceTypeCardTokenizationMethod] :: SourceTypeCard -> Maybe Text
-- | Create a new SourceTypeCard with all required fields.
mkSourceTypeCard :: SourceTypeCard
instance GHC.Classes.Eq StripeAPI.Types.SourceTypeCard.SourceTypeCard
instance GHC.Show.Show StripeAPI.Types.SourceTypeCard.SourceTypeCard
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SourceTypeCard.SourceTypeCard
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SourceTypeCard.SourceTypeCard
-- | Contains the types generated from the schema SourceTypeCardPresent
module StripeAPI.Types.SourceTypeCardPresent
-- | Defines the object schema located at
-- components.schemas.source_type_card_present in the
-- specification.
data SourceTypeCardPresent
SourceTypeCardPresent :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Int -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> SourceTypeCardPresent
-- | application_cryptogram
[sourceTypeCardPresentApplicationCryptogram] :: SourceTypeCardPresent -> Maybe Text
-- | application_preferred_name
[sourceTypeCardPresentApplicationPreferredName] :: SourceTypeCardPresent -> Maybe Text
-- | authorization_code
[sourceTypeCardPresentAuthorizationCode] :: SourceTypeCardPresent -> Maybe Text
-- | authorization_response_code
[sourceTypeCardPresentAuthorizationResponseCode] :: SourceTypeCardPresent -> Maybe Text
-- | brand
[sourceTypeCardPresentBrand] :: SourceTypeCardPresent -> Maybe Text
-- | country
[sourceTypeCardPresentCountry] :: SourceTypeCardPresent -> Maybe Text
-- | cvm_type
[sourceTypeCardPresentCvmType] :: SourceTypeCardPresent -> Maybe Text
-- | data_type
[sourceTypeCardPresentDataType] :: SourceTypeCardPresent -> Maybe Text
-- | dedicated_file_name
[sourceTypeCardPresentDedicatedFileName] :: SourceTypeCardPresent -> Maybe Text
-- | emv_auth_data
[sourceTypeCardPresentEmvAuthData] :: SourceTypeCardPresent -> Maybe Text
-- | evidence_customer_signature
[sourceTypeCardPresentEvidenceCustomerSignature] :: SourceTypeCardPresent -> Maybe Text
-- | evidence_transaction_certificate
[sourceTypeCardPresentEvidenceTransactionCertificate] :: SourceTypeCardPresent -> Maybe Text
-- | exp_month
[sourceTypeCardPresentExpMonth] :: SourceTypeCardPresent -> Maybe Int
-- | exp_year
[sourceTypeCardPresentExpYear] :: SourceTypeCardPresent -> Maybe Int
-- | fingerprint
[sourceTypeCardPresentFingerprint] :: SourceTypeCardPresent -> Maybe Text
-- | funding
[sourceTypeCardPresentFunding] :: SourceTypeCardPresent -> Maybe Text
-- | last4
[sourceTypeCardPresentLast4] :: SourceTypeCardPresent -> Maybe Text
-- | pos_device_id
[sourceTypeCardPresentPosDeviceId] :: SourceTypeCardPresent -> Maybe Text
-- | pos_entry_mode
[sourceTypeCardPresentPosEntryMode] :: SourceTypeCardPresent -> Maybe Text
-- | read_method
[sourceTypeCardPresentReadMethod] :: SourceTypeCardPresent -> Maybe Text
-- | reader
[sourceTypeCardPresentReader] :: SourceTypeCardPresent -> Maybe Text
-- | terminal_verification_results
[sourceTypeCardPresentTerminalVerificationResults] :: SourceTypeCardPresent -> Maybe Text
-- | transaction_status_information
[sourceTypeCardPresentTransactionStatusInformation] :: SourceTypeCardPresent -> Maybe Text
-- | Create a new SourceTypeCardPresent with all required fields.
mkSourceTypeCardPresent :: SourceTypeCardPresent
instance GHC.Classes.Eq StripeAPI.Types.SourceTypeCardPresent.SourceTypeCardPresent
instance GHC.Show.Show StripeAPI.Types.SourceTypeCardPresent.SourceTypeCardPresent
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SourceTypeCardPresent.SourceTypeCardPresent
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SourceTypeCardPresent.SourceTypeCardPresent
-- | Contains the types generated from the schema SourceTypeEps
module StripeAPI.Types.SourceTypeEps
-- | Defines the object schema located at
-- components.schemas.source_type_eps in the specification.
data SourceTypeEps
SourceTypeEps :: Maybe Text -> Maybe Text -> SourceTypeEps
-- | reference
[sourceTypeEpsReference] :: SourceTypeEps -> Maybe Text
-- | statement_descriptor
[sourceTypeEpsStatementDescriptor] :: SourceTypeEps -> Maybe Text
-- | Create a new SourceTypeEps with all required fields.
mkSourceTypeEps :: SourceTypeEps
instance GHC.Classes.Eq StripeAPI.Types.SourceTypeEps.SourceTypeEps
instance GHC.Show.Show StripeAPI.Types.SourceTypeEps.SourceTypeEps
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SourceTypeEps.SourceTypeEps
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SourceTypeEps.SourceTypeEps
-- | Contains the types generated from the schema SourceTypeGiropay
module StripeAPI.Types.SourceTypeGiropay
-- | Defines the object schema located at
-- components.schemas.source_type_giropay in the specification.
data SourceTypeGiropay
SourceTypeGiropay :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> SourceTypeGiropay
-- | bank_code
[sourceTypeGiropayBankCode] :: SourceTypeGiropay -> Maybe Text
-- | bank_name
[sourceTypeGiropayBankName] :: SourceTypeGiropay -> Maybe Text
-- | bic
[sourceTypeGiropayBic] :: SourceTypeGiropay -> Maybe Text
-- | statement_descriptor
[sourceTypeGiropayStatementDescriptor] :: SourceTypeGiropay -> Maybe Text
-- | Create a new SourceTypeGiropay with all required fields.
mkSourceTypeGiropay :: SourceTypeGiropay
instance GHC.Classes.Eq StripeAPI.Types.SourceTypeGiropay.SourceTypeGiropay
instance GHC.Show.Show StripeAPI.Types.SourceTypeGiropay.SourceTypeGiropay
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SourceTypeGiropay.SourceTypeGiropay
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SourceTypeGiropay.SourceTypeGiropay
-- | Contains the types generated from the schema SourceTypeIdeal
module StripeAPI.Types.SourceTypeIdeal
-- | Defines the object schema located at
-- components.schemas.source_type_ideal in the specification.
data SourceTypeIdeal
SourceTypeIdeal :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> SourceTypeIdeal
-- | bank
[sourceTypeIdealBank] :: SourceTypeIdeal -> Maybe Text
-- | bic
[sourceTypeIdealBic] :: SourceTypeIdeal -> Maybe Text
-- | iban_last4
[sourceTypeIdealIbanLast4] :: SourceTypeIdeal -> Maybe Text
-- | statement_descriptor
[sourceTypeIdealStatementDescriptor] :: SourceTypeIdeal -> Maybe Text
-- | Create a new SourceTypeIdeal with all required fields.
mkSourceTypeIdeal :: SourceTypeIdeal
instance GHC.Classes.Eq StripeAPI.Types.SourceTypeIdeal.SourceTypeIdeal
instance GHC.Show.Show StripeAPI.Types.SourceTypeIdeal.SourceTypeIdeal
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SourceTypeIdeal.SourceTypeIdeal
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SourceTypeIdeal.SourceTypeIdeal
-- | Contains the types generated from the schema SourceTypeKlarna
module StripeAPI.Types.SourceTypeKlarna
-- | Defines the object schema located at
-- components.schemas.source_type_klarna in the specification.
data SourceTypeKlarna
SourceTypeKlarna :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe Text -> SourceTypeKlarna
-- | background_image_url
[sourceTypeKlarnaBackgroundImageUrl] :: SourceTypeKlarna -> Maybe Text
-- | client_token
[sourceTypeKlarnaClientToken] :: SourceTypeKlarna -> Maybe Text
-- | first_name
[sourceTypeKlarnaFirstName] :: SourceTypeKlarna -> Maybe Text
-- | last_name
[sourceTypeKlarnaLastName] :: SourceTypeKlarna -> Maybe Text
-- | locale
[sourceTypeKlarnaLocale] :: SourceTypeKlarna -> Maybe Text
-- | logo_url
[sourceTypeKlarnaLogoUrl] :: SourceTypeKlarna -> Maybe Text
-- | page_title
[sourceTypeKlarnaPageTitle] :: SourceTypeKlarna -> Maybe Text
-- | pay_later_asset_urls_descriptive
[sourceTypeKlarnaPayLaterAssetUrlsDescriptive] :: SourceTypeKlarna -> Maybe Text
-- | pay_later_asset_urls_standard
[sourceTypeKlarnaPayLaterAssetUrlsStandard] :: SourceTypeKlarna -> Maybe Text
-- | pay_later_name
[sourceTypeKlarnaPayLaterName] :: SourceTypeKlarna -> Maybe Text
-- | pay_later_redirect_url
[sourceTypeKlarnaPayLaterRedirectUrl] :: SourceTypeKlarna -> Maybe Text
-- | pay_now_asset_urls_descriptive
[sourceTypeKlarnaPayNowAssetUrlsDescriptive] :: SourceTypeKlarna -> Maybe Text
-- | pay_now_asset_urls_standard
[sourceTypeKlarnaPayNowAssetUrlsStandard] :: SourceTypeKlarna -> Maybe Text
-- | pay_now_name
[sourceTypeKlarnaPayNowName] :: SourceTypeKlarna -> Maybe Text
-- | pay_now_redirect_url
[sourceTypeKlarnaPayNowRedirectUrl] :: SourceTypeKlarna -> Maybe Text
-- | pay_over_time_asset_urls_descriptive
[sourceTypeKlarnaPayOverTimeAssetUrlsDescriptive] :: SourceTypeKlarna -> Maybe Text
-- | pay_over_time_asset_urls_standard
[sourceTypeKlarnaPayOverTimeAssetUrlsStandard] :: SourceTypeKlarna -> Maybe Text
-- | pay_over_time_name
[sourceTypeKlarnaPayOverTimeName] :: SourceTypeKlarna -> Maybe Text
-- | pay_over_time_redirect_url
[sourceTypeKlarnaPayOverTimeRedirectUrl] :: SourceTypeKlarna -> Maybe Text
-- | payment_method_categories
[sourceTypeKlarnaPaymentMethodCategories] :: SourceTypeKlarna -> Maybe Text
-- | purchase_country
[sourceTypeKlarnaPurchaseCountry] :: SourceTypeKlarna -> Maybe Text
-- | purchase_type
[sourceTypeKlarnaPurchaseType] :: SourceTypeKlarna -> Maybe Text
-- | redirect_url
[sourceTypeKlarnaRedirectUrl] :: SourceTypeKlarna -> Maybe Text
-- | shipping_delay
[sourceTypeKlarnaShippingDelay] :: SourceTypeKlarna -> Maybe Int
-- | shipping_first_name
[sourceTypeKlarnaShippingFirstName] :: SourceTypeKlarna -> Maybe Text
-- | shipping_last_name
[sourceTypeKlarnaShippingLastName] :: SourceTypeKlarna -> Maybe Text
-- | Create a new SourceTypeKlarna with all required fields.
mkSourceTypeKlarna :: SourceTypeKlarna
instance GHC.Classes.Eq StripeAPI.Types.SourceTypeKlarna.SourceTypeKlarna
instance GHC.Show.Show StripeAPI.Types.SourceTypeKlarna.SourceTypeKlarna
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SourceTypeKlarna.SourceTypeKlarna
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SourceTypeKlarna.SourceTypeKlarna
-- | Contains the types generated from the schema SourceTypeMultibanco
module StripeAPI.Types.SourceTypeMultibanco
-- | Defines the object schema located at
-- components.schemas.source_type_multibanco in the
-- specification.
data SourceTypeMultibanco
SourceTypeMultibanco :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> SourceTypeMultibanco
-- | entity
[sourceTypeMultibancoEntity] :: SourceTypeMultibanco -> Maybe Text
-- | reference
[sourceTypeMultibancoReference] :: SourceTypeMultibanco -> Maybe Text
-- | refund_account_holder_address_city
[sourceTypeMultibancoRefundAccountHolderAddressCity] :: SourceTypeMultibanco -> Maybe Text
-- | refund_account_holder_address_country
[sourceTypeMultibancoRefundAccountHolderAddressCountry] :: SourceTypeMultibanco -> Maybe Text
-- | refund_account_holder_address_line1
[sourceTypeMultibancoRefundAccountHolderAddressLine1] :: SourceTypeMultibanco -> Maybe Text
-- | refund_account_holder_address_line2
[sourceTypeMultibancoRefundAccountHolderAddressLine2] :: SourceTypeMultibanco -> Maybe Text
-- | refund_account_holder_address_postal_code
[sourceTypeMultibancoRefundAccountHolderAddressPostalCode] :: SourceTypeMultibanco -> Maybe Text
-- | refund_account_holder_address_state
[sourceTypeMultibancoRefundAccountHolderAddressState] :: SourceTypeMultibanco -> Maybe Text
-- | refund_account_holder_name
[sourceTypeMultibancoRefundAccountHolderName] :: SourceTypeMultibanco -> Maybe Text
-- | refund_iban
[sourceTypeMultibancoRefundIban] :: SourceTypeMultibanco -> Maybe Text
-- | Create a new SourceTypeMultibanco with all required fields.
mkSourceTypeMultibanco :: SourceTypeMultibanco
instance GHC.Classes.Eq StripeAPI.Types.SourceTypeMultibanco.SourceTypeMultibanco
instance GHC.Show.Show StripeAPI.Types.SourceTypeMultibanco.SourceTypeMultibanco
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SourceTypeMultibanco.SourceTypeMultibanco
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SourceTypeMultibanco.SourceTypeMultibanco
-- | Contains the types generated from the schema SourceTypeP24
module StripeAPI.Types.SourceTypeP24
-- | Defines the object schema located at
-- components.schemas.source_type_p24 in the specification.
data SourceTypeP24
SourceTypeP24 :: Maybe Text -> SourceTypeP24
-- | reference
[sourceTypeP24Reference] :: SourceTypeP24 -> Maybe Text
-- | Create a new SourceTypeP24 with all required fields.
mkSourceTypeP24 :: SourceTypeP24
instance GHC.Classes.Eq StripeAPI.Types.SourceTypeP24.SourceTypeP24
instance GHC.Show.Show StripeAPI.Types.SourceTypeP24.SourceTypeP24
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SourceTypeP24.SourceTypeP24
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SourceTypeP24.SourceTypeP24
-- | Contains the types generated from the schema SourceTypeSepaDebit
module StripeAPI.Types.SourceTypeSepaDebit
-- | Defines the object schema located at
-- components.schemas.source_type_sepa_debit in the
-- specification.
data SourceTypeSepaDebit
SourceTypeSepaDebit :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> SourceTypeSepaDebit
-- | bank_code
[sourceTypeSepaDebitBankCode] :: SourceTypeSepaDebit -> Maybe Text
-- | branch_code
[sourceTypeSepaDebitBranchCode] :: SourceTypeSepaDebit -> Maybe Text
-- | country
[sourceTypeSepaDebitCountry] :: SourceTypeSepaDebit -> Maybe Text
-- | fingerprint
[sourceTypeSepaDebitFingerprint] :: SourceTypeSepaDebit -> Maybe Text
-- | last4
[sourceTypeSepaDebitLast4] :: SourceTypeSepaDebit -> Maybe Text
-- | mandate_reference
[sourceTypeSepaDebitMandateReference] :: SourceTypeSepaDebit -> Maybe Text
-- | mandate_url
[sourceTypeSepaDebitMandateUrl] :: SourceTypeSepaDebit -> Maybe Text
-- | Create a new SourceTypeSepaDebit with all required fields.
mkSourceTypeSepaDebit :: SourceTypeSepaDebit
instance GHC.Classes.Eq StripeAPI.Types.SourceTypeSepaDebit.SourceTypeSepaDebit
instance GHC.Show.Show StripeAPI.Types.SourceTypeSepaDebit.SourceTypeSepaDebit
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SourceTypeSepaDebit.SourceTypeSepaDebit
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SourceTypeSepaDebit.SourceTypeSepaDebit
-- | Contains the types generated from the schema SourceTypeSofort
module StripeAPI.Types.SourceTypeSofort
-- | Defines the object schema located at
-- components.schemas.source_type_sofort in the specification.
data SourceTypeSofort
SourceTypeSofort :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> SourceTypeSofort
-- | bank_code
[sourceTypeSofortBankCode] :: SourceTypeSofort -> Maybe Text
-- | bank_name
[sourceTypeSofortBankName] :: SourceTypeSofort -> Maybe Text
-- | bic
[sourceTypeSofortBic] :: SourceTypeSofort -> Maybe Text
-- | country
[sourceTypeSofortCountry] :: SourceTypeSofort -> Maybe Text
-- | iban_last4
[sourceTypeSofortIbanLast4] :: SourceTypeSofort -> Maybe Text
-- | preferred_language
[sourceTypeSofortPreferredLanguage] :: SourceTypeSofort -> Maybe Text
-- | statement_descriptor
[sourceTypeSofortStatementDescriptor] :: SourceTypeSofort -> Maybe Text
-- | Create a new SourceTypeSofort with all required fields.
mkSourceTypeSofort :: SourceTypeSofort
instance GHC.Classes.Eq StripeAPI.Types.SourceTypeSofort.SourceTypeSofort
instance GHC.Show.Show StripeAPI.Types.SourceTypeSofort.SourceTypeSofort
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SourceTypeSofort.SourceTypeSofort
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SourceTypeSofort.SourceTypeSofort
-- | Contains the types generated from the schema SourceTypeThreeDSecure
module StripeAPI.Types.SourceTypeThreeDSecure
-- | Defines the object schema located at
-- components.schemas.source_type_three_d_secure in the
-- specification.
data SourceTypeThreeDSecure
SourceTypeThreeDSecure :: Maybe Text -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Int -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> SourceTypeThreeDSecure
-- | address_line1_check
[sourceTypeThreeDSecureAddressLine1Check] :: SourceTypeThreeDSecure -> Maybe Text
-- | address_zip_check
[sourceTypeThreeDSecureAddressZipCheck] :: SourceTypeThreeDSecure -> Maybe Text
-- | authenticated
[sourceTypeThreeDSecureAuthenticated] :: SourceTypeThreeDSecure -> Maybe Bool
-- | brand
[sourceTypeThreeDSecureBrand] :: SourceTypeThreeDSecure -> Maybe Text
-- | card
[sourceTypeThreeDSecureCard] :: SourceTypeThreeDSecure -> Maybe Text
-- | country
[sourceTypeThreeDSecureCountry] :: SourceTypeThreeDSecure -> Maybe Text
-- | customer
[sourceTypeThreeDSecureCustomer] :: SourceTypeThreeDSecure -> Maybe Text
-- | cvc_check
[sourceTypeThreeDSecureCvcCheck] :: SourceTypeThreeDSecure -> Maybe Text
-- | dynamic_last4
[sourceTypeThreeDSecureDynamicLast4] :: SourceTypeThreeDSecure -> Maybe Text
-- | exp_month
[sourceTypeThreeDSecureExpMonth] :: SourceTypeThreeDSecure -> Maybe Int
-- | exp_year
[sourceTypeThreeDSecureExpYear] :: SourceTypeThreeDSecure -> Maybe Int
-- | fingerprint
[sourceTypeThreeDSecureFingerprint] :: SourceTypeThreeDSecure -> Maybe Text
-- | funding
[sourceTypeThreeDSecureFunding] :: SourceTypeThreeDSecure -> Maybe Text
-- | last4
[sourceTypeThreeDSecureLast4] :: SourceTypeThreeDSecure -> Maybe Text
-- | name
[sourceTypeThreeDSecureName] :: SourceTypeThreeDSecure -> Maybe Text
-- | three_d_secure
[sourceTypeThreeDSecureThreeDSecure] :: SourceTypeThreeDSecure -> Maybe Text
-- | tokenization_method
[sourceTypeThreeDSecureTokenizationMethod] :: SourceTypeThreeDSecure -> Maybe Text
-- | Create a new SourceTypeThreeDSecure with all required fields.
mkSourceTypeThreeDSecure :: SourceTypeThreeDSecure
instance GHC.Classes.Eq StripeAPI.Types.SourceTypeThreeDSecure.SourceTypeThreeDSecure
instance GHC.Show.Show StripeAPI.Types.SourceTypeThreeDSecure.SourceTypeThreeDSecure
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SourceTypeThreeDSecure.SourceTypeThreeDSecure
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SourceTypeThreeDSecure.SourceTypeThreeDSecure
-- | Contains the types generated from the schema Source
module StripeAPI.Types.Source
-- | Defines the object schema located at
-- components.schemas.source in the specification.
--
-- `Source` objects allow you to accept a variety of payment methods.
-- They represent a customer's payment instrument, and can be used with
-- the Stripe API just like a `Card` object: once chargeable, they can be
-- charged, or can be attached to customers.
--
-- Related guides: Sources API and Sources & Customers.
data Source
Source :: Maybe SourceTypeAchCreditTransfer -> Maybe SourceTypeAchDebit -> Maybe SourceTypeAcssDebit -> Maybe SourceTypeAlipay -> Maybe Int -> Maybe SourceTypeAuBecsDebit -> Maybe SourceTypeBancontact -> Maybe SourceTypeCard -> Maybe SourceTypeCardPresent -> Text -> Maybe SourceCodeVerificationFlow -> Int -> Maybe Text -> Maybe Text -> Maybe SourceTypeEps -> Text -> Maybe SourceTypeGiropay -> Text -> Maybe SourceTypeIdeal -> Maybe SourceTypeKlarna -> Bool -> Maybe Object -> Maybe SourceTypeMultibanco -> Maybe SourceOwner' -> Maybe SourceTypeP24 -> Maybe SourceReceiverFlow -> Maybe SourceRedirectFlow -> Maybe SourceTypeSepaDebit -> Maybe SourceTypeSofort -> Maybe SourceOrder -> Maybe Text -> Text -> Maybe SourceTypeThreeDSecure -> SourceType' -> Maybe Text -> Maybe SourceTypeWechat -> Source
-- | ach_credit_transfer
[sourceAchCreditTransfer] :: Source -> Maybe SourceTypeAchCreditTransfer
-- | ach_debit
[sourceAchDebit] :: Source -> Maybe SourceTypeAchDebit
-- | acss_debit
[sourceAcssDebit] :: Source -> Maybe SourceTypeAcssDebit
-- | alipay
[sourceAlipay] :: Source -> Maybe SourceTypeAlipay
-- | amount: A positive integer in the smallest currency unit (that is, 100
-- cents for $1.00, or 1 for ¥1, Japanese Yen being a zero-decimal
-- currency) representing the total amount associated with the source.
-- This is the amount for which the source will be chargeable once ready.
-- Required for `single_use` sources.
[sourceAmount] :: Source -> Maybe Int
-- | au_becs_debit
[sourceAuBecsDebit] :: Source -> Maybe SourceTypeAuBecsDebit
-- | bancontact
[sourceBancontact] :: Source -> Maybe SourceTypeBancontact
-- | card
[sourceCard] :: Source -> Maybe SourceTypeCard
-- | card_present
[sourceCardPresent] :: Source -> Maybe SourceTypeCardPresent
-- | client_secret: The client secret of the source. Used for client-side
-- retrieval using a publishable key.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[sourceClientSecret] :: Source -> Text
-- | code_verification:
[sourceCodeVerification] :: Source -> Maybe SourceCodeVerificationFlow
-- | created: Time at which the object was created. Measured in seconds
-- since the Unix epoch.
[sourceCreated] :: Source -> Int
-- | currency: Three-letter ISO code for the currency associated
-- with the source. This is the currency for which the source will be
-- chargeable once ready. Required for `single_use` sources.
[sourceCurrency] :: Source -> Maybe Text
-- | customer: The ID of the customer to which this source is attached.
-- This will not be present when the source has not been attached to a
-- customer.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[sourceCustomer] :: Source -> Maybe Text
-- | eps
[sourceEps] :: Source -> Maybe SourceTypeEps
-- | flow: The authentication `flow` of the source. `flow` is one of
-- `redirect`, `receiver`, `code_verification`, `none`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[sourceFlow] :: Source -> Text
-- | giropay
[sourceGiropay] :: Source -> Maybe SourceTypeGiropay
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[sourceId] :: Source -> Text
-- | ideal
[sourceIdeal] :: Source -> Maybe SourceTypeIdeal
-- | klarna
[sourceKlarna] :: Source -> Maybe SourceTypeKlarna
-- | livemode: Has the value `true` if the object exists in live mode or
-- the value `false` if the object exists in test mode.
[sourceLivemode] :: Source -> Bool
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format.
[sourceMetadata] :: Source -> Maybe Object
-- | multibanco
[sourceMultibanco] :: Source -> Maybe SourceTypeMultibanco
-- | owner: Information about the owner of the payment instrument that may
-- be used or required by particular source types.
[sourceOwner] :: Source -> Maybe SourceOwner'
-- | p24
[sourceP24] :: Source -> Maybe SourceTypeP24
-- | receiver:
[sourceReceiver] :: Source -> Maybe SourceReceiverFlow
-- | redirect:
[sourceRedirect] :: Source -> Maybe SourceRedirectFlow
-- | sepa_debit
[sourceSepaDebit] :: Source -> Maybe SourceTypeSepaDebit
-- | sofort
[sourceSofort] :: Source -> Maybe SourceTypeSofort
-- | source_order:
[sourceSourceOrder] :: Source -> Maybe SourceOrder
-- | statement_descriptor: Extra information about a source. This will
-- appear on your customer's statement every time you charge the source.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[sourceStatementDescriptor] :: Source -> Maybe Text
-- | status: The status of the source, one of `canceled`, `chargeable`,
-- `consumed`, `failed`, or `pending`. Only `chargeable` sources can be
-- used to create a charge.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[sourceStatus] :: Source -> Text
-- | three_d_secure
[sourceThreeDSecure] :: Source -> Maybe SourceTypeThreeDSecure
-- | type: The `type` of the source. The `type` is a payment method, one of
-- `ach_credit_transfer`, `ach_debit`, `alipay`, `bancontact`, `card`,
-- `card_present`, `eps`, `giropay`, `ideal`, `multibanco`, `klarna`,
-- `p24`, `sepa_debit`, `sofort`, `three_d_secure`, or `wechat`. An
-- additional hash is included on the source with a name matching this
-- value. It contains additional information specific to the payment
-- method used.
[sourceType] :: Source -> SourceType'
-- | usage: Either `reusable` or `single_use`. Whether this source should
-- be reusable or not. Some source types may or may not be reusable by
-- construction, while others may leave the option at creation. If an
-- incompatible value is passed, an error will be returned.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[sourceUsage] :: Source -> Maybe Text
-- | wechat
[sourceWechat] :: Source -> Maybe SourceTypeWechat
-- | Create a new Source with all required fields.
mkSource :: Text -> Int -> Text -> Text -> Bool -> Text -> SourceType' -> Source
-- | Defines the object schema located at
-- components.schemas.source.properties.owner.anyOf in the
-- specification.
--
-- Information about the owner of the payment instrument that may be used
-- or required by particular source types.
data SourceOwner'
SourceOwner' :: Maybe SourceOwner'Address' -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe SourceOwner'VerifiedAddress' -> Maybe Text -> Maybe Text -> Maybe Text -> SourceOwner'
-- | address: Owner's address.
[sourceOwner'Address] :: SourceOwner' -> Maybe SourceOwner'Address'
-- | email: Owner's email address.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[sourceOwner'Email] :: SourceOwner' -> Maybe Text
-- | name: Owner's full name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[sourceOwner'Name] :: SourceOwner' -> Maybe Text
-- | phone: Owner's phone number (including extension).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[sourceOwner'Phone] :: SourceOwner' -> Maybe Text
-- | verified_address: 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.
[sourceOwner'VerifiedAddress] :: SourceOwner' -> Maybe SourceOwner'VerifiedAddress'
-- | verified_email: Verified owner's email 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.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[sourceOwner'VerifiedEmail] :: SourceOwner' -> Maybe Text
-- | verified_name: Verified owner's full name. 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.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[sourceOwner'VerifiedName] :: SourceOwner' -> Maybe Text
-- | verified_phone: Verified owner's phone number (including extension).
-- 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.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[sourceOwner'VerifiedPhone] :: SourceOwner' -> Maybe Text
-- | Create a new SourceOwner' with all required fields.
mkSourceOwner' :: SourceOwner'
-- | Defines the object schema located at
-- components.schemas.source.properties.owner.anyOf.properties.address.anyOf
-- in the specification.
--
-- Owner\'s address.
data SourceOwner'Address'
SourceOwner'Address' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> SourceOwner'Address'
-- | city: City, district, suburb, town, or village.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[sourceOwner'Address'City] :: SourceOwner'Address' -> Maybe Text
-- | country: Two-letter country code ([ISO 3166-1
-- alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[sourceOwner'Address'Country] :: SourceOwner'Address' -> Maybe Text
-- | line1: Address line 1 (e.g., street, PO Box, or company name).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[sourceOwner'Address'Line1] :: SourceOwner'Address' -> Maybe Text
-- | line2: Address line 2 (e.g., apartment, suite, unit, or building).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[sourceOwner'Address'Line2] :: SourceOwner'Address' -> Maybe Text
-- | postal_code: ZIP or postal code.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[sourceOwner'Address'PostalCode] :: SourceOwner'Address' -> Maybe Text
-- | state: State, county, province, or region.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[sourceOwner'Address'State] :: SourceOwner'Address' -> Maybe Text
-- | Create a new SourceOwner'Address' with all required fields.
mkSourceOwner'Address' :: SourceOwner'Address'
-- | Defines the object schema located at
-- components.schemas.source.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.
data SourceOwner'VerifiedAddress'
SourceOwner'VerifiedAddress' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> SourceOwner'VerifiedAddress'
-- | city: City, district, suburb, town, or village.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[sourceOwner'VerifiedAddress'City] :: SourceOwner'VerifiedAddress' -> Maybe Text
-- | country: Two-letter country code ([ISO 3166-1
-- alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[sourceOwner'VerifiedAddress'Country] :: SourceOwner'VerifiedAddress' -> Maybe Text
-- | line1: Address line 1 (e.g., street, PO Box, or company name).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[sourceOwner'VerifiedAddress'Line1] :: SourceOwner'VerifiedAddress' -> Maybe Text
-- | line2: Address line 2 (e.g., apartment, suite, unit, or building).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[sourceOwner'VerifiedAddress'Line2] :: SourceOwner'VerifiedAddress' -> Maybe Text
-- | postal_code: ZIP or postal code.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[sourceOwner'VerifiedAddress'PostalCode] :: SourceOwner'VerifiedAddress' -> Maybe Text
-- | state: State, county, province, or region.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[sourceOwner'VerifiedAddress'State] :: SourceOwner'VerifiedAddress' -> Maybe Text
-- | Create a new SourceOwner'VerifiedAddress' with all required
-- fields.
mkSourceOwner'VerifiedAddress' :: SourceOwner'VerifiedAddress'
-- | Defines the enum schema located at
-- components.schemas.source.properties.type in the
-- specification.
--
-- The `type` of the source. The `type` is a payment method, one of
-- `ach_credit_transfer`, `ach_debit`, `alipay`, `bancontact`, `card`,
-- `card_present`, `eps`, `giropay`, `ideal`, `multibanco`, `klarna`,
-- `p24`, `sepa_debit`, `sofort`, `three_d_secure`, or `wechat`. An
-- additional hash is included on the source with a name matching this
-- value. It contains additional information specific to the payment
-- method used.
data SourceType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
SourceType'Other :: Value -> SourceType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
SourceType'Typed :: Text -> SourceType'
-- | Represents the JSON value "ach_credit_transfer"
SourceType'EnumAchCreditTransfer :: SourceType'
-- | Represents the JSON value "ach_debit"
SourceType'EnumAchDebit :: SourceType'
-- | Represents the JSON value "acss_debit"
SourceType'EnumAcssDebit :: SourceType'
-- | Represents the JSON value "alipay"
SourceType'EnumAlipay :: SourceType'
-- | Represents the JSON value "au_becs_debit"
SourceType'EnumAuBecsDebit :: SourceType'
-- | Represents the JSON value "bancontact"
SourceType'EnumBancontact :: SourceType'
-- | Represents the JSON value "card"
SourceType'EnumCard :: SourceType'
-- | Represents the JSON value "card_present"
SourceType'EnumCardPresent :: SourceType'
-- | Represents the JSON value "eps"
SourceType'EnumEps :: SourceType'
-- | Represents the JSON value "giropay"
SourceType'EnumGiropay :: SourceType'
-- | Represents the JSON value "ideal"
SourceType'EnumIdeal :: SourceType'
-- | Represents the JSON value "klarna"
SourceType'EnumKlarna :: SourceType'
-- | Represents the JSON value "multibanco"
SourceType'EnumMultibanco :: SourceType'
-- | Represents the JSON value "p24"
SourceType'EnumP24 :: SourceType'
-- | Represents the JSON value "sepa_debit"
SourceType'EnumSepaDebit :: SourceType'
-- | Represents the JSON value "sofort"
SourceType'EnumSofort :: SourceType'
-- | Represents the JSON value "three_d_secure"
SourceType'EnumThreeDSecure :: SourceType'
-- | Represents the JSON value "wechat"
SourceType'EnumWechat :: SourceType'
instance GHC.Classes.Eq StripeAPI.Types.Source.SourceOwner'Address'
instance GHC.Show.Show StripeAPI.Types.Source.SourceOwner'Address'
instance GHC.Classes.Eq StripeAPI.Types.Source.SourceOwner'VerifiedAddress'
instance GHC.Show.Show StripeAPI.Types.Source.SourceOwner'VerifiedAddress'
instance GHC.Classes.Eq StripeAPI.Types.Source.SourceOwner'
instance GHC.Show.Show StripeAPI.Types.Source.SourceOwner'
instance GHC.Classes.Eq StripeAPI.Types.Source.SourceType'
instance GHC.Show.Show StripeAPI.Types.Source.SourceType'
instance GHC.Classes.Eq StripeAPI.Types.Source.Source
instance GHC.Show.Show StripeAPI.Types.Source.Source
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Source.Source
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Source.Source
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Source.SourceType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Source.SourceType'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Source.SourceOwner'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Source.SourceOwner'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Source.SourceOwner'VerifiedAddress'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Source.SourceOwner'VerifiedAddress'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Source.SourceOwner'Address'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Source.SourceOwner'Address'
-- | Contains the types generated from the schema SetupIntent
module StripeAPI.Types.SetupIntent
-- | Defines the object schema located at
-- components.schemas.setup_intent in the specification.
--
-- A SetupIntent guides you through the process of setting up and saving
-- a customer's payment credentials for future payments. For example, you
-- could use a SetupIntent to set up and save your customer's card
-- without immediately collecting a payment. Later, you can use
-- PaymentIntents to drive the payment flow.
--
-- Create a SetupIntent as soon as you're ready to collect your
-- customer's payment credentials. Do not maintain long-lived,
-- unconfirmed SetupIntents as they may no longer be valid. The
-- SetupIntent then transitions through multiple statuses as it
-- guides you through the setup process.
--
-- Successful SetupIntents result in payment credentials that are
-- optimized for future payments. For example, cardholders in certain
-- regions may need to be run through Strong Customer
-- Authentication at the time of payment method collection in order
-- to streamline later off-session payments. If the SetupIntent is
-- used with a Customer, upon success, it will automatically
-- attach the resulting payment method to that Customer. We recommend
-- using SetupIntents or setup_future_usage on PaymentIntents to
-- save payment methods in order to prevent saving invalid or unoptimized
-- payment methods.
--
-- By using SetupIntents, you ensure that your customers experience the
-- minimum set of required friction, even as regulations change over
-- time.
--
-- Related guide: Setup Intents API.
data SetupIntent
SetupIntent :: Maybe SetupIntentApplication'Variants -> Maybe SetupIntentCancellationReason' -> Maybe Text -> Int -> Maybe SetupIntentCustomer'Variants -> Maybe Text -> Text -> Maybe SetupIntentLastSetupError' -> Maybe SetupIntentLatestAttempt'Variants -> Bool -> Maybe SetupIntentMandate'Variants -> Maybe Object -> Maybe SetupIntentNextAction' -> Maybe SetupIntentOnBehalfOf'Variants -> Maybe SetupIntentPaymentMethod'Variants -> Maybe SetupIntentPaymentMethodOptions' -> [Text] -> Maybe SetupIntentSingleUseMandate'Variants -> SetupIntentStatus' -> Text -> SetupIntent
-- | application: ID of the Connect application that created the
-- SetupIntent.
[setupIntentApplication] :: SetupIntent -> Maybe SetupIntentApplication'Variants
-- | cancellation_reason: Reason for cancellation of this SetupIntent, one
-- of `abandoned`, `requested_by_customer`, or `duplicate`.
[setupIntentCancellationReason] :: SetupIntent -> Maybe SetupIntentCancellationReason'
-- | client_secret: The client secret of this SetupIntent. Used for
-- client-side retrieval using a publishable key.
--
-- The client secret can be used to complete payment setup from your
-- frontend. It should not be stored, logged, embedded in URLs, or
-- exposed to anyone other than the customer. Make sure that you have TLS
-- enabled on any page that includes the client secret.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupIntentClientSecret] :: SetupIntent -> Maybe Text
-- | created: Time at which the object was created. Measured in seconds
-- since the Unix epoch.
[setupIntentCreated] :: SetupIntent -> Int
-- | customer: ID of the Customer this SetupIntent belongs to, if one
-- exists.
--
-- If present, the SetupIntent's payment method will be attached to the
-- Customer on successful setup. Payment methods attached to other
-- Customers cannot be used with this SetupIntent.
[setupIntentCustomer] :: SetupIntent -> Maybe SetupIntentCustomer'Variants
-- | description: An arbitrary string attached to the object. Often useful
-- for displaying to users.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupIntentDescription] :: SetupIntent -> Maybe Text
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupIntentId] :: SetupIntent -> Text
-- | last_setup_error: The error encountered in the previous SetupIntent
-- confirmation.
[setupIntentLastSetupError] :: SetupIntent -> Maybe SetupIntentLastSetupError'
-- | latest_attempt: The most recent SetupAttempt for this SetupIntent.
[setupIntentLatestAttempt] :: SetupIntent -> Maybe SetupIntentLatestAttempt'Variants
-- | livemode: Has the value `true` if the object exists in live mode or
-- the value `false` if the object exists in test mode.
[setupIntentLivemode] :: SetupIntent -> Bool
-- | mandate: ID of the multi use Mandate generated by the SetupIntent.
[setupIntentMandate] :: SetupIntent -> Maybe SetupIntentMandate'Variants
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format.
[setupIntentMetadata] :: SetupIntent -> Maybe Object
-- | next_action: If present, this property tells you what actions you need
-- to take in order for your customer to continue payment setup.
[setupIntentNextAction] :: SetupIntent -> Maybe SetupIntentNextAction'
-- | on_behalf_of: The account (if any) for which the setup is intended.
[setupIntentOnBehalfOf] :: SetupIntent -> Maybe SetupIntentOnBehalfOf'Variants
-- | payment_method: ID of the payment method used with this SetupIntent.
[setupIntentPaymentMethod] :: SetupIntent -> Maybe SetupIntentPaymentMethod'Variants
-- | payment_method_options: Payment-method-specific configuration for this
-- SetupIntent.
[setupIntentPaymentMethodOptions] :: SetupIntent -> Maybe SetupIntentPaymentMethodOptions'
-- | payment_method_types: The list of payment method types (e.g. card)
-- that this SetupIntent is allowed to set up.
[setupIntentPaymentMethodTypes] :: SetupIntent -> [Text]
-- | single_use_mandate: ID of the single_use Mandate generated by the
-- SetupIntent.
[setupIntentSingleUseMandate] :: SetupIntent -> Maybe SetupIntentSingleUseMandate'Variants
-- | status: Status of this SetupIntent, one of
-- `requires_payment_method`, `requires_confirmation`, `requires_action`,
-- `processing`, `canceled`, or `succeeded`.
[setupIntentStatus] :: SetupIntent -> SetupIntentStatus'
-- | usage: Indicates how the payment method is intended to be used in the
-- future.
--
-- Use `on_session` if you intend to only reuse the payment method when
-- the customer is in your checkout flow. Use `off_session` if your
-- customer may or may not be in your checkout flow. If not provided,
-- this value defaults to `off_session`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupIntentUsage] :: SetupIntent -> Text
-- | Create a new SetupIntent with all required fields.
mkSetupIntent :: Int -> Text -> Bool -> [Text] -> SetupIntentStatus' -> Text -> SetupIntent
-- | Defines the oneOf schema located at
-- components.schemas.setup_intent.properties.application.anyOf
-- in the specification.
--
-- ID of the Connect application that created the SetupIntent.
data SetupIntentApplication'Variants
SetupIntentApplication'Text :: Text -> SetupIntentApplication'Variants
SetupIntentApplication'Application :: Application -> SetupIntentApplication'Variants
-- | Defines the enum schema located at
-- components.schemas.setup_intent.properties.cancellation_reason
-- in the specification.
--
-- Reason for cancellation of this SetupIntent, one of `abandoned`,
-- `requested_by_customer`, or `duplicate`.
data SetupIntentCancellationReason'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
SetupIntentCancellationReason'Other :: Value -> SetupIntentCancellationReason'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
SetupIntentCancellationReason'Typed :: Text -> SetupIntentCancellationReason'
-- | Represents the JSON value "abandoned"
SetupIntentCancellationReason'EnumAbandoned :: SetupIntentCancellationReason'
-- | Represents the JSON value "duplicate"
SetupIntentCancellationReason'EnumDuplicate :: SetupIntentCancellationReason'
-- | Represents the JSON value "requested_by_customer"
SetupIntentCancellationReason'EnumRequestedByCustomer :: SetupIntentCancellationReason'
-- | Defines the oneOf schema located at
-- components.schemas.setup_intent.properties.customer.anyOf in
-- the specification.
--
-- ID of the Customer this SetupIntent belongs to, if one exists.
--
-- If present, the SetupIntent's payment method will be attached to the
-- Customer on successful setup. Payment methods attached to other
-- Customers cannot be used with this SetupIntent.
data SetupIntentCustomer'Variants
SetupIntentCustomer'Text :: Text -> SetupIntentCustomer'Variants
SetupIntentCustomer'Customer :: Customer -> SetupIntentCustomer'Variants
SetupIntentCustomer'DeletedCustomer :: DeletedCustomer -> SetupIntentCustomer'Variants
-- | Defines the object schema located at
-- components.schemas.setup_intent.properties.last_setup_error.anyOf
-- in the specification.
--
-- The error encountered in the previous SetupIntent confirmation.
data SetupIntentLastSetupError'
SetupIntentLastSetupError' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe PaymentIntent -> Maybe PaymentMethod -> Maybe Text -> Maybe SetupIntent -> Maybe SetupIntentLastSetupError'Source' -> Maybe SetupIntentLastSetupError'Type' -> SetupIntentLastSetupError'
-- | charge: For card errors, the ID of the failed charge.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupIntentLastSetupError'Charge] :: SetupIntentLastSetupError' -> Maybe Text
-- | code: For some errors that could be handled programmatically, a short
-- string indicating the error code reported.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupIntentLastSetupError'Code] :: SetupIntentLastSetupError' -> Maybe Text
-- | decline_code: For card errors resulting from a card issuer decline, a
-- short string indicating the card issuer's reason for the
-- decline if they provide one.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupIntentLastSetupError'DeclineCode] :: SetupIntentLastSetupError' -> Maybe Text
-- | doc_url: A URL to more information about the error code
-- reported.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupIntentLastSetupError'DocUrl] :: SetupIntentLastSetupError' -> Maybe Text
-- | message: A human-readable message providing more details about the
-- error. For card errors, these messages can be shown to your users.
--
-- Constraints:
--
--
-- - Maximum length of 40000
--
[setupIntentLastSetupError'Message] :: SetupIntentLastSetupError' -> Maybe Text
-- | param: If the error is parameter-specific, the parameter related to
-- the error. For example, you can use this to display a message near the
-- correct form field.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupIntentLastSetupError'Param] :: SetupIntentLastSetupError' -> Maybe Text
-- | payment_intent: A PaymentIntent guides you through the process of
-- collecting a payment from your customer. We recommend that you create
-- exactly one PaymentIntent for each order or customer session in your
-- system. You can reference the PaymentIntent later to see the history
-- of payment attempts for a particular session.
--
-- A PaymentIntent transitions through multiple statuses
-- throughout its lifetime as it interfaces with Stripe.js to perform
-- authentication flows and ultimately creates at most one successful
-- charge.
--
-- Related guide: Payment Intents API.
[setupIntentLastSetupError'PaymentIntent] :: SetupIntentLastSetupError' -> Maybe PaymentIntent
-- | payment_method: PaymentMethod objects represent your customer's
-- payment instruments. They can be used with PaymentIntents to
-- collect payments or saved to Customer objects to store instrument
-- details for future payments.
--
-- Related guides: Payment Methods and More Payment
-- Scenarios.
[setupIntentLastSetupError'PaymentMethod] :: SetupIntentLastSetupError' -> Maybe PaymentMethod
-- | payment_method_type: If the error is specific to the type of payment
-- method, the payment method type that had a problem. This field is only
-- populated for invoice-related errors.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupIntentLastSetupError'PaymentMethodType] :: SetupIntentLastSetupError' -> Maybe Text
-- | setup_intent: A SetupIntent guides you through the process of setting
-- up and saving a customer's payment credentials for future payments.
-- For example, you could use a SetupIntent to set up and save your
-- customer's card without immediately collecting a payment. Later, you
-- can use PaymentIntents to drive the payment flow.
--
-- Create a SetupIntent as soon as you're ready to collect your
-- customer's payment credentials. Do not maintain long-lived,
-- unconfirmed SetupIntents as they may no longer be valid. The
-- SetupIntent then transitions through multiple statuses as it
-- guides you through the setup process.
--
-- Successful SetupIntents result in payment credentials that are
-- optimized for future payments. For example, cardholders in certain
-- regions may need to be run through Strong Customer
-- Authentication at the time of payment method collection in order
-- to streamline later off-session payments. If the SetupIntent is
-- used with a Customer, upon success, it will automatically
-- attach the resulting payment method to that Customer. We recommend
-- using SetupIntents or setup_future_usage on PaymentIntents to
-- save payment methods in order to prevent saving invalid or unoptimized
-- payment methods.
--
-- By using SetupIntents, you ensure that your customers experience the
-- minimum set of required friction, even as regulations change over
-- time.
--
-- Related guide: Setup Intents API.
[setupIntentLastSetupError'SetupIntent] :: SetupIntentLastSetupError' -> Maybe SetupIntent
-- | source: The source object for errors returned on a request involving a
-- source.
[setupIntentLastSetupError'Source] :: SetupIntentLastSetupError' -> Maybe SetupIntentLastSetupError'Source'
-- | type: The type of error returned. One of `api_connection_error`,
-- `api_error`, `authentication_error`, `card_error`,
-- `idempotency_error`, `invalid_request_error`, or `rate_limit_error`
[setupIntentLastSetupError'Type] :: SetupIntentLastSetupError' -> Maybe SetupIntentLastSetupError'Type'
-- | Create a new SetupIntentLastSetupError' with all required
-- fields.
mkSetupIntentLastSetupError' :: SetupIntentLastSetupError'
-- | Defines the object schema located at
-- components.schemas.setup_intent.properties.last_setup_error.anyOf.properties.source.anyOf
-- in the specification.
--
-- The source object for errors returned on a request involving a source.
data SetupIntentLastSetupError'Source'
SetupIntentLastSetupError'Source' :: Maybe SetupIntentLastSetupError'Source'Account'Variants -> Maybe Text -> Maybe Text -> Maybe SourceTypeAchCreditTransfer -> Maybe SourceTypeAchDebit -> Maybe SourceTypeAcssDebit -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe SourceTypeAlipay -> Maybe Int -> Maybe SourceTypeAuBecsDebit -> Maybe [SetupIntentLastSetupError'Source'AvailablePayoutMethods'] -> Maybe SourceTypeBancontact -> Maybe Text -> Maybe Text -> Maybe SourceTypeCard -> Maybe SourceTypeCardPresent -> Maybe Text -> Maybe SourceCodeVerificationFlow -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe SetupIntentLastSetupError'Source'Customer'Variants -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe SourceTypeEps -> Maybe Int -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe SourceTypeGiropay -> Maybe Text -> Maybe SourceTypeIdeal -> Maybe SourceTypeKlarna -> Maybe Text -> Maybe Bool -> Maybe Object -> Maybe SourceTypeMultibanco -> Maybe Text -> Maybe SetupIntentLastSetupError'Source'Object' -> Maybe SetupIntentLastSetupError'Source'Owner' -> Maybe SourceTypeP24 -> Maybe SourceReceiverFlow -> Maybe SetupIntentLastSetupError'Source'Recipient'Variants -> Maybe SourceRedirectFlow -> Maybe Text -> Maybe SourceTypeSepaDebit -> Maybe SourceTypeSofort -> Maybe SourceOrder -> Maybe Text -> Maybe Text -> Maybe SourceTypeThreeDSecure -> Maybe Text -> Maybe SetupIntentLastSetupError'Source'Type' -> Maybe Text -> Maybe SourceTypeWechat -> SetupIntentLastSetupError'Source'
-- | account: The ID of the account that the bank account is associated
-- with.
[setupIntentLastSetupError'Source'Account] :: SetupIntentLastSetupError'Source' -> Maybe SetupIntentLastSetupError'Source'Account'Variants
-- | account_holder_name: The name of the person or business that owns the
-- bank account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupIntentLastSetupError'Source'AccountHolderName] :: SetupIntentLastSetupError'Source' -> Maybe Text
-- | account_holder_type: The type of entity that holds the account. This
-- can be either `individual` or `company`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupIntentLastSetupError'Source'AccountHolderType] :: SetupIntentLastSetupError'Source' -> Maybe Text
-- | ach_credit_transfer
[setupIntentLastSetupError'Source'AchCreditTransfer] :: SetupIntentLastSetupError'Source' -> Maybe SourceTypeAchCreditTransfer
-- | ach_debit
[setupIntentLastSetupError'Source'AchDebit] :: SetupIntentLastSetupError'Source' -> Maybe SourceTypeAchDebit
-- | acss_debit
[setupIntentLastSetupError'Source'AcssDebit] :: SetupIntentLastSetupError'Source' -> Maybe SourceTypeAcssDebit
-- | address_city: City/District/Suburb/Town/Village.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupIntentLastSetupError'Source'AddressCity] :: SetupIntentLastSetupError'Source' -> Maybe Text
-- | address_country: Billing address country, if provided when creating
-- card.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupIntentLastSetupError'Source'AddressCountry] :: SetupIntentLastSetupError'Source' -> Maybe Text
-- | address_line1: Address line 1 (Street address/PO Box/Company name).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupIntentLastSetupError'Source'AddressLine1] :: SetupIntentLastSetupError'Source' -> Maybe Text
-- | address_line1_check: If `address_line1` was provided, results of the
-- check: `pass`, `fail`, `unavailable`, or `unchecked`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupIntentLastSetupError'Source'AddressLine1Check] :: SetupIntentLastSetupError'Source' -> Maybe Text
-- | address_line2: Address line 2 (Apartment/Suite/Unit/Building).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupIntentLastSetupError'Source'AddressLine2] :: SetupIntentLastSetupError'Source' -> Maybe Text
-- | address_state: State/County/Province/Region.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupIntentLastSetupError'Source'AddressState] :: SetupIntentLastSetupError'Source' -> Maybe Text
-- | address_zip: ZIP or postal code.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupIntentLastSetupError'Source'AddressZip] :: SetupIntentLastSetupError'Source' -> Maybe Text
-- | address_zip_check: If `address_zip` was provided, results of the
-- check: `pass`, `fail`, `unavailable`, or `unchecked`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupIntentLastSetupError'Source'AddressZipCheck] :: SetupIntentLastSetupError'Source' -> Maybe Text
-- | alipay
[setupIntentLastSetupError'Source'Alipay] :: SetupIntentLastSetupError'Source' -> Maybe SourceTypeAlipay
-- | amount: A positive integer in the smallest currency unit (that is, 100
-- cents for $1.00, or 1 for ¥1, Japanese Yen being a zero-decimal
-- currency) representing the total amount associated with the source.
-- This is the amount for which the source will be chargeable once ready.
-- Required for `single_use` sources.
[setupIntentLastSetupError'Source'Amount] :: SetupIntentLastSetupError'Source' -> Maybe Int
-- | au_becs_debit
[setupIntentLastSetupError'Source'AuBecsDebit] :: SetupIntentLastSetupError'Source' -> Maybe SourceTypeAuBecsDebit
-- | available_payout_methods: A set of available payout methods for this
-- bank account. Only values from this set should be passed as the
-- `method` when creating a payout.
[setupIntentLastSetupError'Source'AvailablePayoutMethods] :: SetupIntentLastSetupError'Source' -> Maybe [SetupIntentLastSetupError'Source'AvailablePayoutMethods']
-- | bancontact
[setupIntentLastSetupError'Source'Bancontact] :: SetupIntentLastSetupError'Source' -> Maybe SourceTypeBancontact
-- | bank_name: Name of the bank associated with the routing number (e.g.,
-- `WELLS FARGO`).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupIntentLastSetupError'Source'BankName] :: SetupIntentLastSetupError'Source' -> Maybe Text
-- | brand: Card brand. Can be `American Express`, `Diners Club`,
-- `Discover`, `JCB`, `MasterCard`, `UnionPay`, `Visa`, or `Unknown`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupIntentLastSetupError'Source'Brand] :: SetupIntentLastSetupError'Source' -> Maybe Text
-- | card
[setupIntentLastSetupError'Source'Card] :: SetupIntentLastSetupError'Source' -> Maybe SourceTypeCard
-- | card_present
[setupIntentLastSetupError'Source'CardPresent] :: SetupIntentLastSetupError'Source' -> Maybe SourceTypeCardPresent
-- | client_secret: The client secret of the source. Used for client-side
-- retrieval using a publishable key.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupIntentLastSetupError'Source'ClientSecret] :: SetupIntentLastSetupError'Source' -> Maybe Text
-- | code_verification:
[setupIntentLastSetupError'Source'CodeVerification] :: SetupIntentLastSetupError'Source' -> Maybe SourceCodeVerificationFlow
-- | country: Two-letter ISO code representing the country the bank account
-- is located in.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupIntentLastSetupError'Source'Country] :: SetupIntentLastSetupError'Source' -> Maybe Text
-- | created: Time at which the object was created. Measured in seconds
-- since the Unix epoch.
[setupIntentLastSetupError'Source'Created] :: SetupIntentLastSetupError'Source' -> Maybe Int
-- | currency: Three-letter ISO code for the currency paid out to
-- the bank account.
[setupIntentLastSetupError'Source'Currency] :: SetupIntentLastSetupError'Source' -> Maybe Text
-- | customer: The ID of the customer that the bank account is associated
-- with.
[setupIntentLastSetupError'Source'Customer] :: SetupIntentLastSetupError'Source' -> Maybe SetupIntentLastSetupError'Source'Customer'Variants
-- | cvc_check: If a CVC was provided, results of the check: `pass`,
-- `fail`, `unavailable`, or `unchecked`. A result of unchecked indicates
-- that CVC was provided but hasn't been checked yet. Checks are
-- typically performed when attaching a card to a Customer object, or
-- when creating a charge. For more details, see Check if a card is
-- valid without a charge.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupIntentLastSetupError'Source'CvcCheck] :: SetupIntentLastSetupError'Source' -> Maybe Text
-- | default_for_currency: Whether this bank account is the default
-- external account for its currency.
[setupIntentLastSetupError'Source'DefaultForCurrency] :: SetupIntentLastSetupError'Source' -> Maybe Bool
-- | dynamic_last4: (For tokenized numbers only.) The last four digits of
-- the device account number.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupIntentLastSetupError'Source'DynamicLast4] :: SetupIntentLastSetupError'Source' -> Maybe Text
-- | eps
[setupIntentLastSetupError'Source'Eps] :: SetupIntentLastSetupError'Source' -> Maybe SourceTypeEps
-- | exp_month: Two-digit number representing the card's expiration month.
[setupIntentLastSetupError'Source'ExpMonth] :: SetupIntentLastSetupError'Source' -> Maybe Int
-- | exp_year: Four-digit number representing the card's expiration year.
[setupIntentLastSetupError'Source'ExpYear] :: SetupIntentLastSetupError'Source' -> Maybe Int
-- | fingerprint: Uniquely identifies this particular bank account. You can
-- use this attribute to check whether two bank accounts are the same.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupIntentLastSetupError'Source'Fingerprint] :: SetupIntentLastSetupError'Source' -> Maybe Text
-- | flow: The authentication `flow` of the source. `flow` is one of
-- `redirect`, `receiver`, `code_verification`, `none`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupIntentLastSetupError'Source'Flow] :: SetupIntentLastSetupError'Source' -> Maybe Text
-- | funding: Card funding type. Can be `credit`, `debit`, `prepaid`, or
-- `unknown`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupIntentLastSetupError'Source'Funding] :: SetupIntentLastSetupError'Source' -> Maybe Text
-- | giropay
[setupIntentLastSetupError'Source'Giropay] :: SetupIntentLastSetupError'Source' -> Maybe SourceTypeGiropay
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupIntentLastSetupError'Source'Id] :: SetupIntentLastSetupError'Source' -> Maybe Text
-- | ideal
[setupIntentLastSetupError'Source'Ideal] :: SetupIntentLastSetupError'Source' -> Maybe SourceTypeIdeal
-- | klarna
[setupIntentLastSetupError'Source'Klarna] :: SetupIntentLastSetupError'Source' -> Maybe SourceTypeKlarna
-- | last4: The last four digits of the bank account number.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupIntentLastSetupError'Source'Last4] :: SetupIntentLastSetupError'Source' -> Maybe Text
-- | livemode: Has the value `true` if the object exists in live mode or
-- the value `false` if the object exists in test mode.
[setupIntentLastSetupError'Source'Livemode] :: SetupIntentLastSetupError'Source' -> Maybe Bool
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format.
[setupIntentLastSetupError'Source'Metadata] :: SetupIntentLastSetupError'Source' -> Maybe Object
-- | multibanco
[setupIntentLastSetupError'Source'Multibanco] :: SetupIntentLastSetupError'Source' -> Maybe SourceTypeMultibanco
-- | name: Cardholder name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupIntentLastSetupError'Source'Name] :: SetupIntentLastSetupError'Source' -> Maybe Text
-- | object: String representing the object's type. Objects of the same
-- type share the same value.
[setupIntentLastSetupError'Source'Object] :: SetupIntentLastSetupError'Source' -> Maybe SetupIntentLastSetupError'Source'Object'
-- | owner: Information about the owner of the payment instrument that may
-- be used or required by particular source types.
[setupIntentLastSetupError'Source'Owner] :: SetupIntentLastSetupError'Source' -> Maybe SetupIntentLastSetupError'Source'Owner'
-- | p24
[setupIntentLastSetupError'Source'P24] :: SetupIntentLastSetupError'Source' -> Maybe SourceTypeP24
-- | receiver:
[setupIntentLastSetupError'Source'Receiver] :: SetupIntentLastSetupError'Source' -> Maybe SourceReceiverFlow
-- | recipient: 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.
[setupIntentLastSetupError'Source'Recipient] :: SetupIntentLastSetupError'Source' -> Maybe SetupIntentLastSetupError'Source'Recipient'Variants
-- | redirect:
[setupIntentLastSetupError'Source'Redirect] :: SetupIntentLastSetupError'Source' -> Maybe SourceRedirectFlow
-- | routing_number: The routing transit number for the bank account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupIntentLastSetupError'Source'RoutingNumber] :: SetupIntentLastSetupError'Source' -> Maybe Text
-- | sepa_debit
[setupIntentLastSetupError'Source'SepaDebit] :: SetupIntentLastSetupError'Source' -> Maybe SourceTypeSepaDebit
-- | sofort
[setupIntentLastSetupError'Source'Sofort] :: SetupIntentLastSetupError'Source' -> Maybe SourceTypeSofort
-- | source_order:
[setupIntentLastSetupError'Source'SourceOrder] :: SetupIntentLastSetupError'Source' -> Maybe SourceOrder
-- | statement_descriptor: Extra information about a source. This will
-- appear on your customer's statement every time you charge the source.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupIntentLastSetupError'Source'StatementDescriptor] :: SetupIntentLastSetupError'Source' -> Maybe Text
-- | status: For bank accounts, possible values are `new`, `validated`,
-- `verified`, `verification_failed`, or `errored`. A bank account that
-- hasn't had any activity or validation performed is `new`. If Stripe
-- can determine that the bank account exists, its status will be
-- `validated`. Note that there often isn’t enough information to know
-- (e.g., for smaller credit unions), and the validation is not always
-- run. If customer bank account verification has succeeded, the bank
-- account status will be `verified`. If the verification failed for any
-- reason, such as microdeposit failure, the status will be
-- `verification_failed`. If a transfer sent to this bank account fails,
-- we'll set the status to `errored` and will not continue to send
-- transfers until the bank details are updated.
--
-- For external accounts, possible values are `new` and `errored`.
-- Validations aren't run against external accounts because they're only
-- used for payouts. This means the other statuses don't apply. If a
-- transfer fails, the status is set to `errored` and transfers are
-- stopped until account details are updated.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupIntentLastSetupError'Source'Status] :: SetupIntentLastSetupError'Source' -> Maybe Text
-- | three_d_secure
[setupIntentLastSetupError'Source'ThreeDSecure] :: SetupIntentLastSetupError'Source' -> Maybe SourceTypeThreeDSecure
-- | tokenization_method: If the card number is tokenized, this is the
-- method that was used. Can be `android_pay` (includes Google Pay),
-- `apple_pay`, `masterpass`, `visa_checkout`, or null.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupIntentLastSetupError'Source'TokenizationMethod] :: SetupIntentLastSetupError'Source' -> Maybe Text
-- | type: The `type` of the source. The `type` is a payment method, one of
-- `ach_credit_transfer`, `ach_debit`, `alipay`, `bancontact`, `card`,
-- `card_present`, `eps`, `giropay`, `ideal`, `multibanco`, `klarna`,
-- `p24`, `sepa_debit`, `sofort`, `three_d_secure`, or `wechat`. An
-- additional hash is included on the source with a name matching this
-- value. It contains additional information specific to the payment
-- method used.
[setupIntentLastSetupError'Source'Type] :: SetupIntentLastSetupError'Source' -> Maybe SetupIntentLastSetupError'Source'Type'
-- | usage: Either `reusable` or `single_use`. Whether this source should
-- be reusable or not. Some source types may or may not be reusable by
-- construction, while others may leave the option at creation. If an
-- incompatible value is passed, an error will be returned.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupIntentLastSetupError'Source'Usage] :: SetupIntentLastSetupError'Source' -> Maybe Text
-- | wechat
[setupIntentLastSetupError'Source'Wechat] :: SetupIntentLastSetupError'Source' -> Maybe SourceTypeWechat
-- | Create a new SetupIntentLastSetupError'Source' with all
-- required fields.
mkSetupIntentLastSetupError'Source' :: SetupIntentLastSetupError'Source'
-- | Defines the oneOf schema located at
-- components.schemas.setup_intent.properties.last_setup_error.anyOf.properties.source.anyOf.properties.account.anyOf
-- in the specification.
--
-- The ID of the account that the bank account is associated with.
data SetupIntentLastSetupError'Source'Account'Variants
SetupIntentLastSetupError'Source'Account'Text :: Text -> SetupIntentLastSetupError'Source'Account'Variants
SetupIntentLastSetupError'Source'Account'Account :: Account -> SetupIntentLastSetupError'Source'Account'Variants
-- | Defines the enum schema located at
-- components.schemas.setup_intent.properties.last_setup_error.anyOf.properties.source.anyOf.properties.available_payout_methods.items
-- in the specification.
data SetupIntentLastSetupError'Source'AvailablePayoutMethods'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
SetupIntentLastSetupError'Source'AvailablePayoutMethods'Other :: Value -> SetupIntentLastSetupError'Source'AvailablePayoutMethods'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
SetupIntentLastSetupError'Source'AvailablePayoutMethods'Typed :: Text -> SetupIntentLastSetupError'Source'AvailablePayoutMethods'
-- | Represents the JSON value "instant"
SetupIntentLastSetupError'Source'AvailablePayoutMethods'EnumInstant :: SetupIntentLastSetupError'Source'AvailablePayoutMethods'
-- | Represents the JSON value "standard"
SetupIntentLastSetupError'Source'AvailablePayoutMethods'EnumStandard :: SetupIntentLastSetupError'Source'AvailablePayoutMethods'
-- | Defines the oneOf schema located at
-- components.schemas.setup_intent.properties.last_setup_error.anyOf.properties.source.anyOf.properties.customer.anyOf
-- in the specification.
--
-- The ID of the customer that the bank account is associated with.
data SetupIntentLastSetupError'Source'Customer'Variants
SetupIntentLastSetupError'Source'Customer'Text :: Text -> SetupIntentLastSetupError'Source'Customer'Variants
SetupIntentLastSetupError'Source'Customer'Customer :: Customer -> SetupIntentLastSetupError'Source'Customer'Variants
SetupIntentLastSetupError'Source'Customer'DeletedCustomer :: DeletedCustomer -> SetupIntentLastSetupError'Source'Customer'Variants
-- | Defines the enum schema located at
-- components.schemas.setup_intent.properties.last_setup_error.anyOf.properties.source.anyOf.properties.object
-- in the specification.
--
-- String representing the object's type. Objects of the same type share
-- the same value.
data SetupIntentLastSetupError'Source'Object'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
SetupIntentLastSetupError'Source'Object'Other :: Value -> SetupIntentLastSetupError'Source'Object'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
SetupIntentLastSetupError'Source'Object'Typed :: Text -> SetupIntentLastSetupError'Source'Object'
-- | Represents the JSON value "bank_account"
SetupIntentLastSetupError'Source'Object'EnumBankAccount :: SetupIntentLastSetupError'Source'Object'
-- | Defines the object schema located at
-- components.schemas.setup_intent.properties.last_setup_error.anyOf.properties.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.
data SetupIntentLastSetupError'Source'Owner'
SetupIntentLastSetupError'Source'Owner' :: Maybe SetupIntentLastSetupError'Source'Owner'Address' -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe SetupIntentLastSetupError'Source'Owner'VerifiedAddress' -> Maybe Text -> Maybe Text -> Maybe Text -> SetupIntentLastSetupError'Source'Owner'
-- | address: Owner's address.
[setupIntentLastSetupError'Source'Owner'Address] :: SetupIntentLastSetupError'Source'Owner' -> Maybe SetupIntentLastSetupError'Source'Owner'Address'
-- | email: Owner's email address.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupIntentLastSetupError'Source'Owner'Email] :: SetupIntentLastSetupError'Source'Owner' -> Maybe Text
-- | name: Owner's full name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupIntentLastSetupError'Source'Owner'Name] :: SetupIntentLastSetupError'Source'Owner' -> Maybe Text
-- | phone: Owner's phone number (including extension).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupIntentLastSetupError'Source'Owner'Phone] :: SetupIntentLastSetupError'Source'Owner' -> Maybe Text
-- | verified_address: 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.
[setupIntentLastSetupError'Source'Owner'VerifiedAddress] :: SetupIntentLastSetupError'Source'Owner' -> Maybe SetupIntentLastSetupError'Source'Owner'VerifiedAddress'
-- | verified_email: Verified owner's email 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.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupIntentLastSetupError'Source'Owner'VerifiedEmail] :: SetupIntentLastSetupError'Source'Owner' -> Maybe Text
-- | verified_name: Verified owner's full name. 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.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupIntentLastSetupError'Source'Owner'VerifiedName] :: SetupIntentLastSetupError'Source'Owner' -> Maybe Text
-- | verified_phone: Verified owner's phone number (including extension).
-- 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.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupIntentLastSetupError'Source'Owner'VerifiedPhone] :: SetupIntentLastSetupError'Source'Owner' -> Maybe Text
-- | Create a new SetupIntentLastSetupError'Source'Owner' with all
-- required fields.
mkSetupIntentLastSetupError'Source'Owner' :: SetupIntentLastSetupError'Source'Owner'
-- | Defines the object schema located at
-- components.schemas.setup_intent.properties.last_setup_error.anyOf.properties.source.anyOf.properties.owner.anyOf.properties.address.anyOf
-- in the specification.
--
-- Owner\'s address.
data SetupIntentLastSetupError'Source'Owner'Address'
SetupIntentLastSetupError'Source'Owner'Address' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> SetupIntentLastSetupError'Source'Owner'Address'
-- | city: City, district, suburb, town, or village.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupIntentLastSetupError'Source'Owner'Address'City] :: SetupIntentLastSetupError'Source'Owner'Address' -> Maybe Text
-- | country: Two-letter country code ([ISO 3166-1
-- alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupIntentLastSetupError'Source'Owner'Address'Country] :: SetupIntentLastSetupError'Source'Owner'Address' -> Maybe Text
-- | line1: Address line 1 (e.g., street, PO Box, or company name).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupIntentLastSetupError'Source'Owner'Address'Line1] :: SetupIntentLastSetupError'Source'Owner'Address' -> Maybe Text
-- | line2: Address line 2 (e.g., apartment, suite, unit, or building).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupIntentLastSetupError'Source'Owner'Address'Line2] :: SetupIntentLastSetupError'Source'Owner'Address' -> Maybe Text
-- | postal_code: ZIP or postal code.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupIntentLastSetupError'Source'Owner'Address'PostalCode] :: SetupIntentLastSetupError'Source'Owner'Address' -> Maybe Text
-- | state: State, county, province, or region.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupIntentLastSetupError'Source'Owner'Address'State] :: SetupIntentLastSetupError'Source'Owner'Address' -> Maybe Text
-- | Create a new SetupIntentLastSetupError'Source'Owner'Address'
-- with all required fields.
mkSetupIntentLastSetupError'Source'Owner'Address' :: SetupIntentLastSetupError'Source'Owner'Address'
-- | Defines the object schema located at
-- components.schemas.setup_intent.properties.last_setup_error.anyOf.properties.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.
data SetupIntentLastSetupError'Source'Owner'VerifiedAddress'
SetupIntentLastSetupError'Source'Owner'VerifiedAddress' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> SetupIntentLastSetupError'Source'Owner'VerifiedAddress'
-- | city: City, district, suburb, town, or village.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupIntentLastSetupError'Source'Owner'VerifiedAddress'City] :: SetupIntentLastSetupError'Source'Owner'VerifiedAddress' -> Maybe Text
-- | country: Two-letter country code ([ISO 3166-1
-- alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupIntentLastSetupError'Source'Owner'VerifiedAddress'Country] :: SetupIntentLastSetupError'Source'Owner'VerifiedAddress' -> Maybe Text
-- | line1: Address line 1 (e.g., street, PO Box, or company name).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupIntentLastSetupError'Source'Owner'VerifiedAddress'Line1] :: SetupIntentLastSetupError'Source'Owner'VerifiedAddress' -> Maybe Text
-- | line2: Address line 2 (e.g., apartment, suite, unit, or building).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupIntentLastSetupError'Source'Owner'VerifiedAddress'Line2] :: SetupIntentLastSetupError'Source'Owner'VerifiedAddress' -> Maybe Text
-- | postal_code: ZIP or postal code.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupIntentLastSetupError'Source'Owner'VerifiedAddress'PostalCode] :: SetupIntentLastSetupError'Source'Owner'VerifiedAddress' -> Maybe Text
-- | state: State, county, province, or region.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupIntentLastSetupError'Source'Owner'VerifiedAddress'State] :: SetupIntentLastSetupError'Source'Owner'VerifiedAddress' -> Maybe Text
-- | Create a new
-- SetupIntentLastSetupError'Source'Owner'VerifiedAddress' with
-- all required fields.
mkSetupIntentLastSetupError'Source'Owner'VerifiedAddress' :: SetupIntentLastSetupError'Source'Owner'VerifiedAddress'
-- | Defines the oneOf schema located at
-- components.schemas.setup_intent.properties.last_setup_error.anyOf.properties.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 SetupIntentLastSetupError'Source'Recipient'Variants
SetupIntentLastSetupError'Source'Recipient'Text :: Text -> SetupIntentLastSetupError'Source'Recipient'Variants
SetupIntentLastSetupError'Source'Recipient'Recipient :: Recipient -> SetupIntentLastSetupError'Source'Recipient'Variants
-- | Defines the enum schema located at
-- components.schemas.setup_intent.properties.last_setup_error.anyOf.properties.source.anyOf.properties.type
-- in the specification.
--
-- The `type` of the source. The `type` is a payment method, one of
-- `ach_credit_transfer`, `ach_debit`, `alipay`, `bancontact`, `card`,
-- `card_present`, `eps`, `giropay`, `ideal`, `multibanco`, `klarna`,
-- `p24`, `sepa_debit`, `sofort`, `three_d_secure`, or `wechat`. An
-- additional hash is included on the source with a name matching this
-- value. It contains additional information specific to the payment
-- method used.
data SetupIntentLastSetupError'Source'Type'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
SetupIntentLastSetupError'Source'Type'Other :: Value -> SetupIntentLastSetupError'Source'Type'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
SetupIntentLastSetupError'Source'Type'Typed :: Text -> SetupIntentLastSetupError'Source'Type'
-- | Represents the JSON value "ach_credit_transfer"
SetupIntentLastSetupError'Source'Type'EnumAchCreditTransfer :: SetupIntentLastSetupError'Source'Type'
-- | Represents the JSON value "ach_debit"
SetupIntentLastSetupError'Source'Type'EnumAchDebit :: SetupIntentLastSetupError'Source'Type'
-- | Represents the JSON value "acss_debit"
SetupIntentLastSetupError'Source'Type'EnumAcssDebit :: SetupIntentLastSetupError'Source'Type'
-- | Represents the JSON value "alipay"
SetupIntentLastSetupError'Source'Type'EnumAlipay :: SetupIntentLastSetupError'Source'Type'
-- | Represents the JSON value "au_becs_debit"
SetupIntentLastSetupError'Source'Type'EnumAuBecsDebit :: SetupIntentLastSetupError'Source'Type'
-- | Represents the JSON value "bancontact"
SetupIntentLastSetupError'Source'Type'EnumBancontact :: SetupIntentLastSetupError'Source'Type'
-- | Represents the JSON value "card"
SetupIntentLastSetupError'Source'Type'EnumCard :: SetupIntentLastSetupError'Source'Type'
-- | Represents the JSON value "card_present"
SetupIntentLastSetupError'Source'Type'EnumCardPresent :: SetupIntentLastSetupError'Source'Type'
-- | Represents the JSON value "eps"
SetupIntentLastSetupError'Source'Type'EnumEps :: SetupIntentLastSetupError'Source'Type'
-- | Represents the JSON value "giropay"
SetupIntentLastSetupError'Source'Type'EnumGiropay :: SetupIntentLastSetupError'Source'Type'
-- | Represents the JSON value "ideal"
SetupIntentLastSetupError'Source'Type'EnumIdeal :: SetupIntentLastSetupError'Source'Type'
-- | Represents the JSON value "klarna"
SetupIntentLastSetupError'Source'Type'EnumKlarna :: SetupIntentLastSetupError'Source'Type'
-- | Represents the JSON value "multibanco"
SetupIntentLastSetupError'Source'Type'EnumMultibanco :: SetupIntentLastSetupError'Source'Type'
-- | Represents the JSON value "p24"
SetupIntentLastSetupError'Source'Type'EnumP24 :: SetupIntentLastSetupError'Source'Type'
-- | Represents the JSON value "sepa_debit"
SetupIntentLastSetupError'Source'Type'EnumSepaDebit :: SetupIntentLastSetupError'Source'Type'
-- | Represents the JSON value "sofort"
SetupIntentLastSetupError'Source'Type'EnumSofort :: SetupIntentLastSetupError'Source'Type'
-- | Represents the JSON value "three_d_secure"
SetupIntentLastSetupError'Source'Type'EnumThreeDSecure :: SetupIntentLastSetupError'Source'Type'
-- | Represents the JSON value "wechat"
SetupIntentLastSetupError'Source'Type'EnumWechat :: SetupIntentLastSetupError'Source'Type'
-- | Defines the enum schema located at
-- components.schemas.setup_intent.properties.last_setup_error.anyOf.properties.type
-- in the specification.
--
-- The type of error returned. One of `api_connection_error`,
-- `api_error`, `authentication_error`, `card_error`,
-- `idempotency_error`, `invalid_request_error`, or `rate_limit_error`
data SetupIntentLastSetupError'Type'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
SetupIntentLastSetupError'Type'Other :: Value -> SetupIntentLastSetupError'Type'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
SetupIntentLastSetupError'Type'Typed :: Text -> SetupIntentLastSetupError'Type'
-- | Represents the JSON value "api_connection_error"
SetupIntentLastSetupError'Type'EnumApiConnectionError :: SetupIntentLastSetupError'Type'
-- | Represents the JSON value "api_error"
SetupIntentLastSetupError'Type'EnumApiError :: SetupIntentLastSetupError'Type'
-- | Represents the JSON value "authentication_error"
SetupIntentLastSetupError'Type'EnumAuthenticationError :: SetupIntentLastSetupError'Type'
-- | Represents the JSON value "card_error"
SetupIntentLastSetupError'Type'EnumCardError :: SetupIntentLastSetupError'Type'
-- | Represents the JSON value "idempotency_error"
SetupIntentLastSetupError'Type'EnumIdempotencyError :: SetupIntentLastSetupError'Type'
-- | Represents the JSON value "invalid_request_error"
SetupIntentLastSetupError'Type'EnumInvalidRequestError :: SetupIntentLastSetupError'Type'
-- | Represents the JSON value "rate_limit_error"
SetupIntentLastSetupError'Type'EnumRateLimitError :: SetupIntentLastSetupError'Type'
-- | Defines the oneOf schema located at
-- components.schemas.setup_intent.properties.latest_attempt.anyOf
-- in the specification.
--
-- The most recent SetupAttempt for this SetupIntent.
data SetupIntentLatestAttempt'Variants
SetupIntentLatestAttempt'Text :: Text -> SetupIntentLatestAttempt'Variants
SetupIntentLatestAttempt'SetupAttempt :: SetupAttempt -> SetupIntentLatestAttempt'Variants
-- | Defines the oneOf schema located at
-- components.schemas.setup_intent.properties.mandate.anyOf in
-- the specification.
--
-- ID of the multi use Mandate generated by the SetupIntent.
data SetupIntentMandate'Variants
SetupIntentMandate'Text :: Text -> SetupIntentMandate'Variants
SetupIntentMandate'Mandate :: Mandate -> SetupIntentMandate'Variants
-- | Defines the object schema located at
-- components.schemas.setup_intent.properties.next_action.anyOf
-- in the specification.
--
-- If present, this property tells you what actions you need to take in
-- order for your customer to continue payment setup.
data SetupIntentNextAction'
SetupIntentNextAction' :: Maybe SetupIntentNextActionRedirectToUrl -> Maybe Text -> Maybe Object -> Maybe SetupIntentNextActionVerifyWithMicrodeposits -> SetupIntentNextAction'
-- | redirect_to_url:
[setupIntentNextAction'RedirectToUrl] :: SetupIntentNextAction' -> Maybe SetupIntentNextActionRedirectToUrl
-- | type: Type of the next action to perform, one of `redirect_to_url`,
-- `use_stripe_sdk`, `alipay_handle_redirect`, or `oxxo_display_details`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupIntentNextAction'Type] :: SetupIntentNextAction' -> Maybe Text
-- | use_stripe_sdk: When confirming a SetupIntent with Stripe.js,
-- Stripe.js depends on the contents of this dictionary to invoke
-- authentication flows. The shape of the contents is subject to change
-- and is only intended to be used by Stripe.js.
[setupIntentNextAction'UseStripeSdk] :: SetupIntentNextAction' -> Maybe Object
-- | verify_with_microdeposits:
[setupIntentNextAction'VerifyWithMicrodeposits] :: SetupIntentNextAction' -> Maybe SetupIntentNextActionVerifyWithMicrodeposits
-- | Create a new SetupIntentNextAction' with all required fields.
mkSetupIntentNextAction' :: SetupIntentNextAction'
-- | Defines the oneOf schema located at
-- components.schemas.setup_intent.properties.on_behalf_of.anyOf
-- in the specification.
--
-- The account (if any) for which the setup is intended.
data SetupIntentOnBehalfOf'Variants
SetupIntentOnBehalfOf'Text :: Text -> SetupIntentOnBehalfOf'Variants
SetupIntentOnBehalfOf'Account :: Account -> SetupIntentOnBehalfOf'Variants
-- | Defines the oneOf schema located at
-- components.schemas.setup_intent.properties.payment_method.anyOf
-- in the specification.
--
-- ID of the payment method used with this SetupIntent.
data SetupIntentPaymentMethod'Variants
SetupIntentPaymentMethod'Text :: Text -> SetupIntentPaymentMethod'Variants
SetupIntentPaymentMethod'PaymentMethod :: PaymentMethod -> SetupIntentPaymentMethod'Variants
-- | Defines the object schema located at
-- components.schemas.setup_intent.properties.payment_method_options.anyOf
-- in the specification.
--
-- Payment-method-specific configuration for this SetupIntent.
data SetupIntentPaymentMethodOptions'
SetupIntentPaymentMethodOptions' :: Maybe SetupIntentPaymentMethodOptionsAcssDebit -> Maybe SetupIntentPaymentMethodOptionsCard -> Maybe SetupIntentPaymentMethodOptionsSepaDebit -> SetupIntentPaymentMethodOptions'
-- | acss_debit:
[setupIntentPaymentMethodOptions'AcssDebit] :: SetupIntentPaymentMethodOptions' -> Maybe SetupIntentPaymentMethodOptionsAcssDebit
-- | card:
[setupIntentPaymentMethodOptions'Card] :: SetupIntentPaymentMethodOptions' -> Maybe SetupIntentPaymentMethodOptionsCard
-- | sepa_debit:
[setupIntentPaymentMethodOptions'SepaDebit] :: SetupIntentPaymentMethodOptions' -> Maybe SetupIntentPaymentMethodOptionsSepaDebit
-- | Create a new SetupIntentPaymentMethodOptions' with all required
-- fields.
mkSetupIntentPaymentMethodOptions' :: SetupIntentPaymentMethodOptions'
-- | Defines the oneOf schema located at
-- components.schemas.setup_intent.properties.single_use_mandate.anyOf
-- in the specification.
--
-- ID of the single_use Mandate generated by the SetupIntent.
data SetupIntentSingleUseMandate'Variants
SetupIntentSingleUseMandate'Text :: Text -> SetupIntentSingleUseMandate'Variants
SetupIntentSingleUseMandate'Mandate :: Mandate -> SetupIntentSingleUseMandate'Variants
-- | Defines the enum schema located at
-- components.schemas.setup_intent.properties.status in the
-- specification.
--
-- Status of this SetupIntent, one of `requires_payment_method`,
-- `requires_confirmation`, `requires_action`, `processing`, `canceled`,
-- or `succeeded`.
data SetupIntentStatus'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
SetupIntentStatus'Other :: Value -> SetupIntentStatus'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
SetupIntentStatus'Typed :: Text -> SetupIntentStatus'
-- | Represents the JSON value "canceled"
SetupIntentStatus'EnumCanceled :: SetupIntentStatus'
-- | Represents the JSON value "processing"
SetupIntentStatus'EnumProcessing :: SetupIntentStatus'
-- | Represents the JSON value "requires_action"
SetupIntentStatus'EnumRequiresAction :: SetupIntentStatus'
-- | Represents the JSON value "requires_confirmation"
SetupIntentStatus'EnumRequiresConfirmation :: SetupIntentStatus'
-- | Represents the JSON value "requires_payment_method"
SetupIntentStatus'EnumRequiresPaymentMethod :: SetupIntentStatus'
-- | Represents the JSON value "succeeded"
SetupIntentStatus'EnumSucceeded :: SetupIntentStatus'
instance GHC.Classes.Eq StripeAPI.Types.SetupIntent.SetupIntentApplication'Variants
instance GHC.Show.Show StripeAPI.Types.SetupIntent.SetupIntentApplication'Variants
instance GHC.Classes.Eq StripeAPI.Types.SetupIntent.SetupIntentCancellationReason'
instance GHC.Show.Show StripeAPI.Types.SetupIntent.SetupIntentCancellationReason'
instance GHC.Classes.Eq StripeAPI.Types.SetupIntent.SetupIntentCustomer'Variants
instance GHC.Show.Show StripeAPI.Types.SetupIntent.SetupIntentCustomer'Variants
instance GHC.Classes.Eq StripeAPI.Types.SetupIntent.SetupIntentLastSetupError'Source'Account'Variants
instance GHC.Show.Show StripeAPI.Types.SetupIntent.SetupIntentLastSetupError'Source'Account'Variants
instance GHC.Classes.Eq StripeAPI.Types.SetupIntent.SetupIntentLastSetupError'Source'AvailablePayoutMethods'
instance GHC.Show.Show StripeAPI.Types.SetupIntent.SetupIntentLastSetupError'Source'AvailablePayoutMethods'
instance GHC.Classes.Eq StripeAPI.Types.SetupIntent.SetupIntentLastSetupError'Source'Customer'Variants
instance GHC.Show.Show StripeAPI.Types.SetupIntent.SetupIntentLastSetupError'Source'Customer'Variants
instance GHC.Classes.Eq StripeAPI.Types.SetupIntent.SetupIntentLastSetupError'Source'Object'
instance GHC.Show.Show StripeAPI.Types.SetupIntent.SetupIntentLastSetupError'Source'Object'
instance GHC.Classes.Eq StripeAPI.Types.SetupIntent.SetupIntentLastSetupError'Source'Owner'Address'
instance GHC.Show.Show StripeAPI.Types.SetupIntent.SetupIntentLastSetupError'Source'Owner'Address'
instance GHC.Classes.Eq StripeAPI.Types.SetupIntent.SetupIntentLastSetupError'Source'Owner'VerifiedAddress'
instance GHC.Show.Show StripeAPI.Types.SetupIntent.SetupIntentLastSetupError'Source'Owner'VerifiedAddress'
instance GHC.Classes.Eq StripeAPI.Types.SetupIntent.SetupIntentLastSetupError'Source'Owner'
instance GHC.Show.Show StripeAPI.Types.SetupIntent.SetupIntentLastSetupError'Source'Owner'
instance GHC.Classes.Eq StripeAPI.Types.SetupIntent.SetupIntentLastSetupError'Source'Recipient'Variants
instance GHC.Show.Show StripeAPI.Types.SetupIntent.SetupIntentLastSetupError'Source'Recipient'Variants
instance GHC.Classes.Eq StripeAPI.Types.SetupIntent.SetupIntentLastSetupError'Source'Type'
instance GHC.Show.Show StripeAPI.Types.SetupIntent.SetupIntentLastSetupError'Source'Type'
instance GHC.Classes.Eq StripeAPI.Types.SetupIntent.SetupIntentLastSetupError'Source'
instance GHC.Show.Show StripeAPI.Types.SetupIntent.SetupIntentLastSetupError'Source'
instance GHC.Classes.Eq StripeAPI.Types.SetupIntent.SetupIntentLastSetupError'Type'
instance GHC.Show.Show StripeAPI.Types.SetupIntent.SetupIntentLastSetupError'Type'
instance GHC.Classes.Eq StripeAPI.Types.SetupIntent.SetupIntentLatestAttempt'Variants
instance GHC.Show.Show StripeAPI.Types.SetupIntent.SetupIntentLatestAttempt'Variants
instance GHC.Classes.Eq StripeAPI.Types.SetupIntent.SetupIntentMandate'Variants
instance GHC.Show.Show StripeAPI.Types.SetupIntent.SetupIntentMandate'Variants
instance GHC.Classes.Eq StripeAPI.Types.SetupIntent.SetupIntentNextAction'
instance GHC.Show.Show StripeAPI.Types.SetupIntent.SetupIntentNextAction'
instance GHC.Classes.Eq StripeAPI.Types.SetupIntent.SetupIntentOnBehalfOf'Variants
instance GHC.Show.Show StripeAPI.Types.SetupIntent.SetupIntentOnBehalfOf'Variants
instance GHC.Classes.Eq StripeAPI.Types.SetupIntent.SetupIntentPaymentMethod'Variants
instance GHC.Show.Show StripeAPI.Types.SetupIntent.SetupIntentPaymentMethod'Variants
instance GHC.Classes.Eq StripeAPI.Types.SetupIntent.SetupIntentPaymentMethodOptions'
instance GHC.Show.Show StripeAPI.Types.SetupIntent.SetupIntentPaymentMethodOptions'
instance GHC.Classes.Eq StripeAPI.Types.SetupIntent.SetupIntentSingleUseMandate'Variants
instance GHC.Show.Show StripeAPI.Types.SetupIntent.SetupIntentSingleUseMandate'Variants
instance GHC.Classes.Eq StripeAPI.Types.SetupIntent.SetupIntentStatus'
instance GHC.Show.Show StripeAPI.Types.SetupIntent.SetupIntentStatus'
instance GHC.Classes.Eq StripeAPI.Types.SetupIntent.SetupIntentLastSetupError'
instance GHC.Show.Show StripeAPI.Types.SetupIntent.SetupIntentLastSetupError'
instance GHC.Classes.Eq StripeAPI.Types.SetupIntent.SetupIntent
instance GHC.Show.Show StripeAPI.Types.SetupIntent.SetupIntent
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SetupIntent.SetupIntent
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SetupIntent.SetupIntent
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SetupIntent.SetupIntentLastSetupError'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SetupIntent.SetupIntentLastSetupError'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SetupIntent.SetupIntentStatus'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SetupIntent.SetupIntentStatus'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SetupIntent.SetupIntentSingleUseMandate'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SetupIntent.SetupIntentSingleUseMandate'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SetupIntent.SetupIntentPaymentMethodOptions'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SetupIntent.SetupIntentPaymentMethodOptions'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SetupIntent.SetupIntentPaymentMethod'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SetupIntent.SetupIntentPaymentMethod'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SetupIntent.SetupIntentOnBehalfOf'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SetupIntent.SetupIntentOnBehalfOf'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SetupIntent.SetupIntentNextAction'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SetupIntent.SetupIntentNextAction'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SetupIntent.SetupIntentMandate'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SetupIntent.SetupIntentMandate'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SetupIntent.SetupIntentLatestAttempt'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SetupIntent.SetupIntentLatestAttempt'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SetupIntent.SetupIntentLastSetupError'Type'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SetupIntent.SetupIntentLastSetupError'Type'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SetupIntent.SetupIntentLastSetupError'Source'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SetupIntent.SetupIntentLastSetupError'Source'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SetupIntent.SetupIntentLastSetupError'Source'Type'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SetupIntent.SetupIntentLastSetupError'Source'Type'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SetupIntent.SetupIntentLastSetupError'Source'Recipient'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SetupIntent.SetupIntentLastSetupError'Source'Recipient'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SetupIntent.SetupIntentLastSetupError'Source'Owner'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SetupIntent.SetupIntentLastSetupError'Source'Owner'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SetupIntent.SetupIntentLastSetupError'Source'Owner'VerifiedAddress'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SetupIntent.SetupIntentLastSetupError'Source'Owner'VerifiedAddress'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SetupIntent.SetupIntentLastSetupError'Source'Owner'Address'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SetupIntent.SetupIntentLastSetupError'Source'Owner'Address'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SetupIntent.SetupIntentLastSetupError'Source'Object'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SetupIntent.SetupIntentLastSetupError'Source'Object'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SetupIntent.SetupIntentLastSetupError'Source'Customer'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SetupIntent.SetupIntentLastSetupError'Source'Customer'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SetupIntent.SetupIntentLastSetupError'Source'AvailablePayoutMethods'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SetupIntent.SetupIntentLastSetupError'Source'AvailablePayoutMethods'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SetupIntent.SetupIntentLastSetupError'Source'Account'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SetupIntent.SetupIntentLastSetupError'Source'Account'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SetupIntent.SetupIntentCustomer'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SetupIntent.SetupIntentCustomer'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SetupIntent.SetupIntentCancellationReason'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SetupIntent.SetupIntentCancellationReason'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SetupIntent.SetupIntentApplication'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SetupIntent.SetupIntentApplication'Variants
-- | Contains the types generated from the schema SetupAttempt
module StripeAPI.Types.SetupAttempt
-- | Defines the object schema located at
-- components.schemas.setup_attempt in the specification.
--
-- A SetupAttempt describes one attempted confirmation of a SetupIntent,
-- whether that confirmation was successful or unsuccessful. You can use
-- SetupAttempts to inspect details of a specific attempt at setting up a
-- payment method using a SetupIntent.
data SetupAttempt
SetupAttempt :: Maybe SetupAttemptApplication'Variants -> Int -> Maybe SetupAttemptCustomer'Variants -> Text -> Bool -> Maybe SetupAttemptOnBehalfOf'Variants -> SetupAttemptPaymentMethod'Variants -> SetupAttemptPaymentMethodDetails -> Maybe SetupAttemptSetupError' -> SetupAttemptSetupIntent'Variants -> Text -> Text -> SetupAttempt
-- | application: The value of application on the SetupIntent at the
-- time of this confirmation.
[setupAttemptApplication] :: SetupAttempt -> Maybe SetupAttemptApplication'Variants
-- | created: Time at which the object was created. Measured in seconds
-- since the Unix epoch.
[setupAttemptCreated] :: SetupAttempt -> Int
-- | customer: The value of customer on the SetupIntent at the time
-- of this confirmation.
[setupAttemptCustomer] :: SetupAttempt -> Maybe SetupAttemptCustomer'Variants
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupAttemptId] :: SetupAttempt -> Text
-- | livemode: Has the value `true` if the object exists in live mode or
-- the value `false` if the object exists in test mode.
[setupAttemptLivemode] :: SetupAttempt -> Bool
-- | on_behalf_of: The value of on_behalf_of on the SetupIntent at
-- the time of this confirmation.
[setupAttemptOnBehalfOf] :: SetupAttempt -> Maybe SetupAttemptOnBehalfOf'Variants
-- | payment_method: ID of the payment method used with this SetupAttempt.
[setupAttemptPaymentMethod] :: SetupAttempt -> SetupAttemptPaymentMethod'Variants
-- | payment_method_details:
[setupAttemptPaymentMethodDetails] :: SetupAttempt -> SetupAttemptPaymentMethodDetails
-- | setup_error: The error encountered during this attempt to confirm the
-- SetupIntent, if any.
[setupAttemptSetupError] :: SetupAttempt -> Maybe SetupAttemptSetupError'
-- | setup_intent: ID of the SetupIntent that this attempt belongs to.
[setupAttemptSetupIntent] :: SetupAttempt -> SetupAttemptSetupIntent'Variants
-- | status: Status of this SetupAttempt, one of `requires_confirmation`,
-- `requires_action`, `processing`, `succeeded`, `failed`, or
-- `abandoned`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupAttemptStatus] :: SetupAttempt -> Text
-- | usage: The value of usage on the SetupIntent at the time of
-- this confirmation, one of `off_session` or `on_session`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupAttemptUsage] :: SetupAttempt -> Text
-- | Create a new SetupAttempt with all required fields.
mkSetupAttempt :: Int -> Text -> Bool -> SetupAttemptPaymentMethod'Variants -> SetupAttemptPaymentMethodDetails -> SetupAttemptSetupIntent'Variants -> Text -> Text -> SetupAttempt
-- | Defines the oneOf schema located at
-- components.schemas.setup_attempt.properties.application.anyOf
-- in the specification.
--
-- The value of application on the SetupIntent at the time of this
-- confirmation.
data SetupAttemptApplication'Variants
SetupAttemptApplication'Text :: Text -> SetupAttemptApplication'Variants
SetupAttemptApplication'Application :: Application -> SetupAttemptApplication'Variants
-- | Defines the oneOf schema located at
-- components.schemas.setup_attempt.properties.customer.anyOf in
-- the specification.
--
-- The value of customer on the SetupIntent at the time of this
-- confirmation.
data SetupAttemptCustomer'Variants
SetupAttemptCustomer'Text :: Text -> SetupAttemptCustomer'Variants
SetupAttemptCustomer'Customer :: Customer -> SetupAttemptCustomer'Variants
SetupAttemptCustomer'DeletedCustomer :: DeletedCustomer -> SetupAttemptCustomer'Variants
-- | Defines the oneOf schema located at
-- components.schemas.setup_attempt.properties.on_behalf_of.anyOf
-- in the specification.
--
-- The value of on_behalf_of on the SetupIntent at the time of
-- this confirmation.
data SetupAttemptOnBehalfOf'Variants
SetupAttemptOnBehalfOf'Text :: Text -> SetupAttemptOnBehalfOf'Variants
SetupAttemptOnBehalfOf'Account :: Account -> SetupAttemptOnBehalfOf'Variants
-- | Defines the oneOf schema located at
-- components.schemas.setup_attempt.properties.payment_method.anyOf
-- in the specification.
--
-- ID of the payment method used with this SetupAttempt.
data SetupAttemptPaymentMethod'Variants
SetupAttemptPaymentMethod'Text :: Text -> SetupAttemptPaymentMethod'Variants
SetupAttemptPaymentMethod'PaymentMethod :: PaymentMethod -> SetupAttemptPaymentMethod'Variants
-- | Defines the object schema located at
-- components.schemas.setup_attempt.properties.setup_error.anyOf
-- in the specification.
--
-- The error encountered during this attempt to confirm the SetupIntent,
-- if any.
data SetupAttemptSetupError'
SetupAttemptSetupError' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe PaymentIntent -> Maybe PaymentMethod -> Maybe Text -> Maybe SetupIntent -> Maybe SetupAttemptSetupError'Source' -> Maybe SetupAttemptSetupError'Type' -> SetupAttemptSetupError'
-- | charge: For card errors, the ID of the failed charge.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupAttemptSetupError'Charge] :: SetupAttemptSetupError' -> Maybe Text
-- | code: For some errors that could be handled programmatically, a short
-- string indicating the error code reported.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupAttemptSetupError'Code] :: SetupAttemptSetupError' -> Maybe Text
-- | decline_code: For card errors resulting from a card issuer decline, a
-- short string indicating the card issuer's reason for the
-- decline if they provide one.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupAttemptSetupError'DeclineCode] :: SetupAttemptSetupError' -> Maybe Text
-- | doc_url: A URL to more information about the error code
-- reported.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupAttemptSetupError'DocUrl] :: SetupAttemptSetupError' -> Maybe Text
-- | message: A human-readable message providing more details about the
-- error. For card errors, these messages can be shown to your users.
--
-- Constraints:
--
--
-- - Maximum length of 40000
--
[setupAttemptSetupError'Message] :: SetupAttemptSetupError' -> Maybe Text
-- | param: If the error is parameter-specific, the parameter related to
-- the error. For example, you can use this to display a message near the
-- correct form field.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupAttemptSetupError'Param] :: SetupAttemptSetupError' -> Maybe Text
-- | payment_intent: A PaymentIntent guides you through the process of
-- collecting a payment from your customer. We recommend that you create
-- exactly one PaymentIntent for each order or customer session in your
-- system. You can reference the PaymentIntent later to see the history
-- of payment attempts for a particular session.
--
-- A PaymentIntent transitions through multiple statuses
-- throughout its lifetime as it interfaces with Stripe.js to perform
-- authentication flows and ultimately creates at most one successful
-- charge.
--
-- Related guide: Payment Intents API.
[setupAttemptSetupError'PaymentIntent] :: SetupAttemptSetupError' -> Maybe PaymentIntent
-- | payment_method: PaymentMethod objects represent your customer's
-- payment instruments. They can be used with PaymentIntents to
-- collect payments or saved to Customer objects to store instrument
-- details for future payments.
--
-- Related guides: Payment Methods and More Payment
-- Scenarios.
[setupAttemptSetupError'PaymentMethod] :: SetupAttemptSetupError' -> Maybe PaymentMethod
-- | payment_method_type: If the error is specific to the type of payment
-- method, the payment method type that had a problem. This field is only
-- populated for invoice-related errors.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupAttemptSetupError'PaymentMethodType] :: SetupAttemptSetupError' -> Maybe Text
-- | setup_intent: A SetupIntent guides you through the process of setting
-- up and saving a customer's payment credentials for future payments.
-- For example, you could use a SetupIntent to set up and save your
-- customer's card without immediately collecting a payment. Later, you
-- can use PaymentIntents to drive the payment flow.
--
-- Create a SetupIntent as soon as you're ready to collect your
-- customer's payment credentials. Do not maintain long-lived,
-- unconfirmed SetupIntents as they may no longer be valid. The
-- SetupIntent then transitions through multiple statuses as it
-- guides you through the setup process.
--
-- Successful SetupIntents result in payment credentials that are
-- optimized for future payments. For example, cardholders in certain
-- regions may need to be run through Strong Customer
-- Authentication at the time of payment method collection in order
-- to streamline later off-session payments. If the SetupIntent is
-- used with a Customer, upon success, it will automatically
-- attach the resulting payment method to that Customer. We recommend
-- using SetupIntents or setup_future_usage on PaymentIntents to
-- save payment methods in order to prevent saving invalid or unoptimized
-- payment methods.
--
-- By using SetupIntents, you ensure that your customers experience the
-- minimum set of required friction, even as regulations change over
-- time.
--
-- Related guide: Setup Intents API.
[setupAttemptSetupError'SetupIntent] :: SetupAttemptSetupError' -> Maybe SetupIntent
-- | source: The source object for errors returned on a request involving a
-- source.
[setupAttemptSetupError'Source] :: SetupAttemptSetupError' -> Maybe SetupAttemptSetupError'Source'
-- | type: The type of error returned. One of `api_connection_error`,
-- `api_error`, `authentication_error`, `card_error`,
-- `idempotency_error`, `invalid_request_error`, or `rate_limit_error`
[setupAttemptSetupError'Type] :: SetupAttemptSetupError' -> Maybe SetupAttemptSetupError'Type'
-- | Create a new SetupAttemptSetupError' with all required fields.
mkSetupAttemptSetupError' :: SetupAttemptSetupError'
-- | Defines the object schema located at
-- components.schemas.setup_attempt.properties.setup_error.anyOf.properties.source.anyOf
-- in the specification.
--
-- The source object for errors returned on a request involving a source.
data SetupAttemptSetupError'Source'
SetupAttemptSetupError'Source' :: Maybe SetupAttemptSetupError'Source'Account'Variants -> Maybe Text -> Maybe Text -> Maybe SourceTypeAchCreditTransfer -> Maybe SourceTypeAchDebit -> Maybe SourceTypeAcssDebit -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe SourceTypeAlipay -> Maybe Int -> Maybe SourceTypeAuBecsDebit -> Maybe [SetupAttemptSetupError'Source'AvailablePayoutMethods'] -> Maybe SourceTypeBancontact -> Maybe Text -> Maybe Text -> Maybe SourceTypeCard -> Maybe SourceTypeCardPresent -> Maybe Text -> Maybe SourceCodeVerificationFlow -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe SetupAttemptSetupError'Source'Customer'Variants -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe SourceTypeEps -> Maybe Int -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe SourceTypeGiropay -> Maybe Text -> Maybe SourceTypeIdeal -> Maybe SourceTypeKlarna -> Maybe Text -> Maybe Bool -> Maybe Object -> Maybe SourceTypeMultibanco -> Maybe Text -> Maybe SetupAttemptSetupError'Source'Object' -> Maybe SetupAttemptSetupError'Source'Owner' -> Maybe SourceTypeP24 -> Maybe SourceReceiverFlow -> Maybe SetupAttemptSetupError'Source'Recipient'Variants -> Maybe SourceRedirectFlow -> Maybe Text -> Maybe SourceTypeSepaDebit -> Maybe SourceTypeSofort -> Maybe SourceOrder -> Maybe Text -> Maybe Text -> Maybe SourceTypeThreeDSecure -> Maybe Text -> Maybe SetupAttemptSetupError'Source'Type' -> Maybe Text -> Maybe SourceTypeWechat -> SetupAttemptSetupError'Source'
-- | account: The ID of the account that the bank account is associated
-- with.
[setupAttemptSetupError'Source'Account] :: SetupAttemptSetupError'Source' -> Maybe SetupAttemptSetupError'Source'Account'Variants
-- | account_holder_name: The name of the person or business that owns the
-- bank account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupAttemptSetupError'Source'AccountHolderName] :: SetupAttemptSetupError'Source' -> Maybe Text
-- | account_holder_type: The type of entity that holds the account. This
-- can be either `individual` or `company`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupAttemptSetupError'Source'AccountHolderType] :: SetupAttemptSetupError'Source' -> Maybe Text
-- | ach_credit_transfer
[setupAttemptSetupError'Source'AchCreditTransfer] :: SetupAttemptSetupError'Source' -> Maybe SourceTypeAchCreditTransfer
-- | ach_debit
[setupAttemptSetupError'Source'AchDebit] :: SetupAttemptSetupError'Source' -> Maybe SourceTypeAchDebit
-- | acss_debit
[setupAttemptSetupError'Source'AcssDebit] :: SetupAttemptSetupError'Source' -> Maybe SourceTypeAcssDebit
-- | address_city: City/District/Suburb/Town/Village.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupAttemptSetupError'Source'AddressCity] :: SetupAttemptSetupError'Source' -> Maybe Text
-- | address_country: Billing address country, if provided when creating
-- card.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupAttemptSetupError'Source'AddressCountry] :: SetupAttemptSetupError'Source' -> Maybe Text
-- | address_line1: Address line 1 (Street address/PO Box/Company name).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupAttemptSetupError'Source'AddressLine1] :: SetupAttemptSetupError'Source' -> Maybe Text
-- | address_line1_check: If `address_line1` was provided, results of the
-- check: `pass`, `fail`, `unavailable`, or `unchecked`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupAttemptSetupError'Source'AddressLine1Check] :: SetupAttemptSetupError'Source' -> Maybe Text
-- | address_line2: Address line 2 (Apartment/Suite/Unit/Building).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupAttemptSetupError'Source'AddressLine2] :: SetupAttemptSetupError'Source' -> Maybe Text
-- | address_state: State/County/Province/Region.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupAttemptSetupError'Source'AddressState] :: SetupAttemptSetupError'Source' -> Maybe Text
-- | address_zip: ZIP or postal code.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupAttemptSetupError'Source'AddressZip] :: SetupAttemptSetupError'Source' -> Maybe Text
-- | address_zip_check: If `address_zip` was provided, results of the
-- check: `pass`, `fail`, `unavailable`, or `unchecked`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupAttemptSetupError'Source'AddressZipCheck] :: SetupAttemptSetupError'Source' -> Maybe Text
-- | alipay
[setupAttemptSetupError'Source'Alipay] :: SetupAttemptSetupError'Source' -> Maybe SourceTypeAlipay
-- | amount: A positive integer in the smallest currency unit (that is, 100
-- cents for $1.00, or 1 for ¥1, Japanese Yen being a zero-decimal
-- currency) representing the total amount associated with the source.
-- This is the amount for which the source will be chargeable once ready.
-- Required for `single_use` sources.
[setupAttemptSetupError'Source'Amount] :: SetupAttemptSetupError'Source' -> Maybe Int
-- | au_becs_debit
[setupAttemptSetupError'Source'AuBecsDebit] :: SetupAttemptSetupError'Source' -> Maybe SourceTypeAuBecsDebit
-- | available_payout_methods: A set of available payout methods for this
-- bank account. Only values from this set should be passed as the
-- `method` when creating a payout.
[setupAttemptSetupError'Source'AvailablePayoutMethods] :: SetupAttemptSetupError'Source' -> Maybe [SetupAttemptSetupError'Source'AvailablePayoutMethods']
-- | bancontact
[setupAttemptSetupError'Source'Bancontact] :: SetupAttemptSetupError'Source' -> Maybe SourceTypeBancontact
-- | bank_name: Name of the bank associated with the routing number (e.g.,
-- `WELLS FARGO`).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupAttemptSetupError'Source'BankName] :: SetupAttemptSetupError'Source' -> Maybe Text
-- | brand: Card brand. Can be `American Express`, `Diners Club`,
-- `Discover`, `JCB`, `MasterCard`, `UnionPay`, `Visa`, or `Unknown`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupAttemptSetupError'Source'Brand] :: SetupAttemptSetupError'Source' -> Maybe Text
-- | card
[setupAttemptSetupError'Source'Card] :: SetupAttemptSetupError'Source' -> Maybe SourceTypeCard
-- | card_present
[setupAttemptSetupError'Source'CardPresent] :: SetupAttemptSetupError'Source' -> Maybe SourceTypeCardPresent
-- | client_secret: The client secret of the source. Used for client-side
-- retrieval using a publishable key.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupAttemptSetupError'Source'ClientSecret] :: SetupAttemptSetupError'Source' -> Maybe Text
-- | code_verification:
[setupAttemptSetupError'Source'CodeVerification] :: SetupAttemptSetupError'Source' -> Maybe SourceCodeVerificationFlow
-- | country: Two-letter ISO code representing the country the bank account
-- is located in.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupAttemptSetupError'Source'Country] :: SetupAttemptSetupError'Source' -> Maybe Text
-- | created: Time at which the object was created. Measured in seconds
-- since the Unix epoch.
[setupAttemptSetupError'Source'Created] :: SetupAttemptSetupError'Source' -> Maybe Int
-- | currency: Three-letter ISO code for the currency paid out to
-- the bank account.
[setupAttemptSetupError'Source'Currency] :: SetupAttemptSetupError'Source' -> Maybe Text
-- | customer: The ID of the customer that the bank account is associated
-- with.
[setupAttemptSetupError'Source'Customer] :: SetupAttemptSetupError'Source' -> Maybe SetupAttemptSetupError'Source'Customer'Variants
-- | cvc_check: If a CVC was provided, results of the check: `pass`,
-- `fail`, `unavailable`, or `unchecked`. A result of unchecked indicates
-- that CVC was provided but hasn't been checked yet. Checks are
-- typically performed when attaching a card to a Customer object, or
-- when creating a charge. For more details, see Check if a card is
-- valid without a charge.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupAttemptSetupError'Source'CvcCheck] :: SetupAttemptSetupError'Source' -> Maybe Text
-- | default_for_currency: Whether this bank account is the default
-- external account for its currency.
[setupAttemptSetupError'Source'DefaultForCurrency] :: SetupAttemptSetupError'Source' -> Maybe Bool
-- | dynamic_last4: (For tokenized numbers only.) The last four digits of
-- the device account number.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupAttemptSetupError'Source'DynamicLast4] :: SetupAttemptSetupError'Source' -> Maybe Text
-- | eps
[setupAttemptSetupError'Source'Eps] :: SetupAttemptSetupError'Source' -> Maybe SourceTypeEps
-- | exp_month: Two-digit number representing the card's expiration month.
[setupAttemptSetupError'Source'ExpMonth] :: SetupAttemptSetupError'Source' -> Maybe Int
-- | exp_year: Four-digit number representing the card's expiration year.
[setupAttemptSetupError'Source'ExpYear] :: SetupAttemptSetupError'Source' -> Maybe Int
-- | fingerprint: Uniquely identifies this particular bank account. You can
-- use this attribute to check whether two bank accounts are the same.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupAttemptSetupError'Source'Fingerprint] :: SetupAttemptSetupError'Source' -> Maybe Text
-- | flow: The authentication `flow` of the source. `flow` is one of
-- `redirect`, `receiver`, `code_verification`, `none`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupAttemptSetupError'Source'Flow] :: SetupAttemptSetupError'Source' -> Maybe Text
-- | funding: Card funding type. Can be `credit`, `debit`, `prepaid`, or
-- `unknown`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupAttemptSetupError'Source'Funding] :: SetupAttemptSetupError'Source' -> Maybe Text
-- | giropay
[setupAttemptSetupError'Source'Giropay] :: SetupAttemptSetupError'Source' -> Maybe SourceTypeGiropay
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupAttemptSetupError'Source'Id] :: SetupAttemptSetupError'Source' -> Maybe Text
-- | ideal
[setupAttemptSetupError'Source'Ideal] :: SetupAttemptSetupError'Source' -> Maybe SourceTypeIdeal
-- | klarna
[setupAttemptSetupError'Source'Klarna] :: SetupAttemptSetupError'Source' -> Maybe SourceTypeKlarna
-- | last4: The last four digits of the bank account number.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupAttemptSetupError'Source'Last4] :: SetupAttemptSetupError'Source' -> Maybe Text
-- | livemode: Has the value `true` if the object exists in live mode or
-- the value `false` if the object exists in test mode.
[setupAttemptSetupError'Source'Livemode] :: SetupAttemptSetupError'Source' -> Maybe Bool
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format.
[setupAttemptSetupError'Source'Metadata] :: SetupAttemptSetupError'Source' -> Maybe Object
-- | multibanco
[setupAttemptSetupError'Source'Multibanco] :: SetupAttemptSetupError'Source' -> Maybe SourceTypeMultibanco
-- | name: Cardholder name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupAttemptSetupError'Source'Name] :: SetupAttemptSetupError'Source' -> Maybe Text
-- | object: String representing the object's type. Objects of the same
-- type share the same value.
[setupAttemptSetupError'Source'Object] :: SetupAttemptSetupError'Source' -> Maybe SetupAttemptSetupError'Source'Object'
-- | owner: Information about the owner of the payment instrument that may
-- be used or required by particular source types.
[setupAttemptSetupError'Source'Owner] :: SetupAttemptSetupError'Source' -> Maybe SetupAttemptSetupError'Source'Owner'
-- | p24
[setupAttemptSetupError'Source'P24] :: SetupAttemptSetupError'Source' -> Maybe SourceTypeP24
-- | receiver:
[setupAttemptSetupError'Source'Receiver] :: SetupAttemptSetupError'Source' -> Maybe SourceReceiverFlow
-- | recipient: 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.
[setupAttemptSetupError'Source'Recipient] :: SetupAttemptSetupError'Source' -> Maybe SetupAttemptSetupError'Source'Recipient'Variants
-- | redirect:
[setupAttemptSetupError'Source'Redirect] :: SetupAttemptSetupError'Source' -> Maybe SourceRedirectFlow
-- | routing_number: The routing transit number for the bank account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupAttemptSetupError'Source'RoutingNumber] :: SetupAttemptSetupError'Source' -> Maybe Text
-- | sepa_debit
[setupAttemptSetupError'Source'SepaDebit] :: SetupAttemptSetupError'Source' -> Maybe SourceTypeSepaDebit
-- | sofort
[setupAttemptSetupError'Source'Sofort] :: SetupAttemptSetupError'Source' -> Maybe SourceTypeSofort
-- | source_order:
[setupAttemptSetupError'Source'SourceOrder] :: SetupAttemptSetupError'Source' -> Maybe SourceOrder
-- | statement_descriptor: Extra information about a source. This will
-- appear on your customer's statement every time you charge the source.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupAttemptSetupError'Source'StatementDescriptor] :: SetupAttemptSetupError'Source' -> Maybe Text
-- | status: For bank accounts, possible values are `new`, `validated`,
-- `verified`, `verification_failed`, or `errored`. A bank account that
-- hasn't had any activity or validation performed is `new`. If Stripe
-- can determine that the bank account exists, its status will be
-- `validated`. Note that there often isn’t enough information to know
-- (e.g., for smaller credit unions), and the validation is not always
-- run. If customer bank account verification has succeeded, the bank
-- account status will be `verified`. If the verification failed for any
-- reason, such as microdeposit failure, the status will be
-- `verification_failed`. If a transfer sent to this bank account fails,
-- we'll set the status to `errored` and will not continue to send
-- transfers until the bank details are updated.
--
-- For external accounts, possible values are `new` and `errored`.
-- Validations aren't run against external accounts because they're only
-- used for payouts. This means the other statuses don't apply. If a
-- transfer fails, the status is set to `errored` and transfers are
-- stopped until account details are updated.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupAttemptSetupError'Source'Status] :: SetupAttemptSetupError'Source' -> Maybe Text
-- | three_d_secure
[setupAttemptSetupError'Source'ThreeDSecure] :: SetupAttemptSetupError'Source' -> Maybe SourceTypeThreeDSecure
-- | tokenization_method: If the card number is tokenized, this is the
-- method that was used. Can be `android_pay` (includes Google Pay),
-- `apple_pay`, `masterpass`, `visa_checkout`, or null.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupAttemptSetupError'Source'TokenizationMethod] :: SetupAttemptSetupError'Source' -> Maybe Text
-- | type: The `type` of the source. The `type` is a payment method, one of
-- `ach_credit_transfer`, `ach_debit`, `alipay`, `bancontact`, `card`,
-- `card_present`, `eps`, `giropay`, `ideal`, `multibanco`, `klarna`,
-- `p24`, `sepa_debit`, `sofort`, `three_d_secure`, or `wechat`. An
-- additional hash is included on the source with a name matching this
-- value. It contains additional information specific to the payment
-- method used.
[setupAttemptSetupError'Source'Type] :: SetupAttemptSetupError'Source' -> Maybe SetupAttemptSetupError'Source'Type'
-- | usage: Either `reusable` or `single_use`. Whether this source should
-- be reusable or not. Some source types may or may not be reusable by
-- construction, while others may leave the option at creation. If an
-- incompatible value is passed, an error will be returned.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupAttemptSetupError'Source'Usage] :: SetupAttemptSetupError'Source' -> Maybe Text
-- | wechat
[setupAttemptSetupError'Source'Wechat] :: SetupAttemptSetupError'Source' -> Maybe SourceTypeWechat
-- | Create a new SetupAttemptSetupError'Source' with all required
-- fields.
mkSetupAttemptSetupError'Source' :: SetupAttemptSetupError'Source'
-- | Defines the oneOf schema located at
-- components.schemas.setup_attempt.properties.setup_error.anyOf.properties.source.anyOf.properties.account.anyOf
-- in the specification.
--
-- The ID of the account that the bank account is associated with.
data SetupAttemptSetupError'Source'Account'Variants
SetupAttemptSetupError'Source'Account'Text :: Text -> SetupAttemptSetupError'Source'Account'Variants
SetupAttemptSetupError'Source'Account'Account :: Account -> SetupAttemptSetupError'Source'Account'Variants
-- | Defines the enum schema located at
-- components.schemas.setup_attempt.properties.setup_error.anyOf.properties.source.anyOf.properties.available_payout_methods.items
-- in the specification.
data SetupAttemptSetupError'Source'AvailablePayoutMethods'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
SetupAttemptSetupError'Source'AvailablePayoutMethods'Other :: Value -> SetupAttemptSetupError'Source'AvailablePayoutMethods'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
SetupAttemptSetupError'Source'AvailablePayoutMethods'Typed :: Text -> SetupAttemptSetupError'Source'AvailablePayoutMethods'
-- | Represents the JSON value "instant"
SetupAttemptSetupError'Source'AvailablePayoutMethods'EnumInstant :: SetupAttemptSetupError'Source'AvailablePayoutMethods'
-- | Represents the JSON value "standard"
SetupAttemptSetupError'Source'AvailablePayoutMethods'EnumStandard :: SetupAttemptSetupError'Source'AvailablePayoutMethods'
-- | Defines the oneOf schema located at
-- components.schemas.setup_attempt.properties.setup_error.anyOf.properties.source.anyOf.properties.customer.anyOf
-- in the specification.
--
-- The ID of the customer that the bank account is associated with.
data SetupAttemptSetupError'Source'Customer'Variants
SetupAttemptSetupError'Source'Customer'Text :: Text -> SetupAttemptSetupError'Source'Customer'Variants
SetupAttemptSetupError'Source'Customer'Customer :: Customer -> SetupAttemptSetupError'Source'Customer'Variants
SetupAttemptSetupError'Source'Customer'DeletedCustomer :: DeletedCustomer -> SetupAttemptSetupError'Source'Customer'Variants
-- | Defines the enum schema located at
-- components.schemas.setup_attempt.properties.setup_error.anyOf.properties.source.anyOf.properties.object
-- in the specification.
--
-- String representing the object's type. Objects of the same type share
-- the same value.
data SetupAttemptSetupError'Source'Object'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
SetupAttemptSetupError'Source'Object'Other :: Value -> SetupAttemptSetupError'Source'Object'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
SetupAttemptSetupError'Source'Object'Typed :: Text -> SetupAttemptSetupError'Source'Object'
-- | Represents the JSON value "bank_account"
SetupAttemptSetupError'Source'Object'EnumBankAccount :: SetupAttemptSetupError'Source'Object'
-- | Defines the object schema located at
-- components.schemas.setup_attempt.properties.setup_error.anyOf.properties.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.
data SetupAttemptSetupError'Source'Owner'
SetupAttemptSetupError'Source'Owner' :: Maybe SetupAttemptSetupError'Source'Owner'Address' -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe SetupAttemptSetupError'Source'Owner'VerifiedAddress' -> Maybe Text -> Maybe Text -> Maybe Text -> SetupAttemptSetupError'Source'Owner'
-- | address: Owner's address.
[setupAttemptSetupError'Source'Owner'Address] :: SetupAttemptSetupError'Source'Owner' -> Maybe SetupAttemptSetupError'Source'Owner'Address'
-- | email: Owner's email address.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupAttemptSetupError'Source'Owner'Email] :: SetupAttemptSetupError'Source'Owner' -> Maybe Text
-- | name: Owner's full name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupAttemptSetupError'Source'Owner'Name] :: SetupAttemptSetupError'Source'Owner' -> Maybe Text
-- | phone: Owner's phone number (including extension).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupAttemptSetupError'Source'Owner'Phone] :: SetupAttemptSetupError'Source'Owner' -> Maybe Text
-- | verified_address: 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.
[setupAttemptSetupError'Source'Owner'VerifiedAddress] :: SetupAttemptSetupError'Source'Owner' -> Maybe SetupAttemptSetupError'Source'Owner'VerifiedAddress'
-- | verified_email: Verified owner's email 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.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupAttemptSetupError'Source'Owner'VerifiedEmail] :: SetupAttemptSetupError'Source'Owner' -> Maybe Text
-- | verified_name: Verified owner's full name. 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.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupAttemptSetupError'Source'Owner'VerifiedName] :: SetupAttemptSetupError'Source'Owner' -> Maybe Text
-- | verified_phone: Verified owner's phone number (including extension).
-- 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.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupAttemptSetupError'Source'Owner'VerifiedPhone] :: SetupAttemptSetupError'Source'Owner' -> Maybe Text
-- | Create a new SetupAttemptSetupError'Source'Owner' with all
-- required fields.
mkSetupAttemptSetupError'Source'Owner' :: SetupAttemptSetupError'Source'Owner'
-- | Defines the object schema located at
-- components.schemas.setup_attempt.properties.setup_error.anyOf.properties.source.anyOf.properties.owner.anyOf.properties.address.anyOf
-- in the specification.
--
-- Owner\'s address.
data SetupAttemptSetupError'Source'Owner'Address'
SetupAttemptSetupError'Source'Owner'Address' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> SetupAttemptSetupError'Source'Owner'Address'
-- | city: City, district, suburb, town, or village.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupAttemptSetupError'Source'Owner'Address'City] :: SetupAttemptSetupError'Source'Owner'Address' -> Maybe Text
-- | country: Two-letter country code ([ISO 3166-1
-- alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupAttemptSetupError'Source'Owner'Address'Country] :: SetupAttemptSetupError'Source'Owner'Address' -> Maybe Text
-- | line1: Address line 1 (e.g., street, PO Box, or company name).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupAttemptSetupError'Source'Owner'Address'Line1] :: SetupAttemptSetupError'Source'Owner'Address' -> Maybe Text
-- | line2: Address line 2 (e.g., apartment, suite, unit, or building).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupAttemptSetupError'Source'Owner'Address'Line2] :: SetupAttemptSetupError'Source'Owner'Address' -> Maybe Text
-- | postal_code: ZIP or postal code.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupAttemptSetupError'Source'Owner'Address'PostalCode] :: SetupAttemptSetupError'Source'Owner'Address' -> Maybe Text
-- | state: State, county, province, or region.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupAttemptSetupError'Source'Owner'Address'State] :: SetupAttemptSetupError'Source'Owner'Address' -> Maybe Text
-- | Create a new SetupAttemptSetupError'Source'Owner'Address' with
-- all required fields.
mkSetupAttemptSetupError'Source'Owner'Address' :: SetupAttemptSetupError'Source'Owner'Address'
-- | Defines the object schema located at
-- components.schemas.setup_attempt.properties.setup_error.anyOf.properties.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.
data SetupAttemptSetupError'Source'Owner'VerifiedAddress'
SetupAttemptSetupError'Source'Owner'VerifiedAddress' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> SetupAttemptSetupError'Source'Owner'VerifiedAddress'
-- | city: City, district, suburb, town, or village.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupAttemptSetupError'Source'Owner'VerifiedAddress'City] :: SetupAttemptSetupError'Source'Owner'VerifiedAddress' -> Maybe Text
-- | country: Two-letter country code ([ISO 3166-1
-- alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupAttemptSetupError'Source'Owner'VerifiedAddress'Country] :: SetupAttemptSetupError'Source'Owner'VerifiedAddress' -> Maybe Text
-- | line1: Address line 1 (e.g., street, PO Box, or company name).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupAttemptSetupError'Source'Owner'VerifiedAddress'Line1] :: SetupAttemptSetupError'Source'Owner'VerifiedAddress' -> Maybe Text
-- | line2: Address line 2 (e.g., apartment, suite, unit, or building).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupAttemptSetupError'Source'Owner'VerifiedAddress'Line2] :: SetupAttemptSetupError'Source'Owner'VerifiedAddress' -> Maybe Text
-- | postal_code: ZIP or postal code.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupAttemptSetupError'Source'Owner'VerifiedAddress'PostalCode] :: SetupAttemptSetupError'Source'Owner'VerifiedAddress' -> Maybe Text
-- | state: State, county, province, or region.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[setupAttemptSetupError'Source'Owner'VerifiedAddress'State] :: SetupAttemptSetupError'Source'Owner'VerifiedAddress' -> Maybe Text
-- | Create a new
-- SetupAttemptSetupError'Source'Owner'VerifiedAddress' with all
-- required fields.
mkSetupAttemptSetupError'Source'Owner'VerifiedAddress' :: SetupAttemptSetupError'Source'Owner'VerifiedAddress'
-- | Defines the oneOf schema located at
-- components.schemas.setup_attempt.properties.setup_error.anyOf.properties.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 SetupAttemptSetupError'Source'Recipient'Variants
SetupAttemptSetupError'Source'Recipient'Text :: Text -> SetupAttemptSetupError'Source'Recipient'Variants
SetupAttemptSetupError'Source'Recipient'Recipient :: Recipient -> SetupAttemptSetupError'Source'Recipient'Variants
-- | Defines the enum schema located at
-- components.schemas.setup_attempt.properties.setup_error.anyOf.properties.source.anyOf.properties.type
-- in the specification.
--
-- The `type` of the source. The `type` is a payment method, one of
-- `ach_credit_transfer`, `ach_debit`, `alipay`, `bancontact`, `card`,
-- `card_present`, `eps`, `giropay`, `ideal`, `multibanco`, `klarna`,
-- `p24`, `sepa_debit`, `sofort`, `three_d_secure`, or `wechat`. An
-- additional hash is included on the source with a name matching this
-- value. It contains additional information specific to the payment
-- method used.
data SetupAttemptSetupError'Source'Type'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
SetupAttemptSetupError'Source'Type'Other :: Value -> SetupAttemptSetupError'Source'Type'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
SetupAttemptSetupError'Source'Type'Typed :: Text -> SetupAttemptSetupError'Source'Type'
-- | Represents the JSON value "ach_credit_transfer"
SetupAttemptSetupError'Source'Type'EnumAchCreditTransfer :: SetupAttemptSetupError'Source'Type'
-- | Represents the JSON value "ach_debit"
SetupAttemptSetupError'Source'Type'EnumAchDebit :: SetupAttemptSetupError'Source'Type'
-- | Represents the JSON value "acss_debit"
SetupAttemptSetupError'Source'Type'EnumAcssDebit :: SetupAttemptSetupError'Source'Type'
-- | Represents the JSON value "alipay"
SetupAttemptSetupError'Source'Type'EnumAlipay :: SetupAttemptSetupError'Source'Type'
-- | Represents the JSON value "au_becs_debit"
SetupAttemptSetupError'Source'Type'EnumAuBecsDebit :: SetupAttemptSetupError'Source'Type'
-- | Represents the JSON value "bancontact"
SetupAttemptSetupError'Source'Type'EnumBancontact :: SetupAttemptSetupError'Source'Type'
-- | Represents the JSON value "card"
SetupAttemptSetupError'Source'Type'EnumCard :: SetupAttemptSetupError'Source'Type'
-- | Represents the JSON value "card_present"
SetupAttemptSetupError'Source'Type'EnumCardPresent :: SetupAttemptSetupError'Source'Type'
-- | Represents the JSON value "eps"
SetupAttemptSetupError'Source'Type'EnumEps :: SetupAttemptSetupError'Source'Type'
-- | Represents the JSON value "giropay"
SetupAttemptSetupError'Source'Type'EnumGiropay :: SetupAttemptSetupError'Source'Type'
-- | Represents the JSON value "ideal"
SetupAttemptSetupError'Source'Type'EnumIdeal :: SetupAttemptSetupError'Source'Type'
-- | Represents the JSON value "klarna"
SetupAttemptSetupError'Source'Type'EnumKlarna :: SetupAttemptSetupError'Source'Type'
-- | Represents the JSON value "multibanco"
SetupAttemptSetupError'Source'Type'EnumMultibanco :: SetupAttemptSetupError'Source'Type'
-- | Represents the JSON value "p24"
SetupAttemptSetupError'Source'Type'EnumP24 :: SetupAttemptSetupError'Source'Type'
-- | Represents the JSON value "sepa_debit"
SetupAttemptSetupError'Source'Type'EnumSepaDebit :: SetupAttemptSetupError'Source'Type'
-- | Represents the JSON value "sofort"
SetupAttemptSetupError'Source'Type'EnumSofort :: SetupAttemptSetupError'Source'Type'
-- | Represents the JSON value "three_d_secure"
SetupAttemptSetupError'Source'Type'EnumThreeDSecure :: SetupAttemptSetupError'Source'Type'
-- | Represents the JSON value "wechat"
SetupAttemptSetupError'Source'Type'EnumWechat :: SetupAttemptSetupError'Source'Type'
-- | Defines the enum schema located at
-- components.schemas.setup_attempt.properties.setup_error.anyOf.properties.type
-- in the specification.
--
-- The type of error returned. One of `api_connection_error`,
-- `api_error`, `authentication_error`, `card_error`,
-- `idempotency_error`, `invalid_request_error`, or `rate_limit_error`
data SetupAttemptSetupError'Type'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
SetupAttemptSetupError'Type'Other :: Value -> SetupAttemptSetupError'Type'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
SetupAttemptSetupError'Type'Typed :: Text -> SetupAttemptSetupError'Type'
-- | Represents the JSON value "api_connection_error"
SetupAttemptSetupError'Type'EnumApiConnectionError :: SetupAttemptSetupError'Type'
-- | Represents the JSON value "api_error"
SetupAttemptSetupError'Type'EnumApiError :: SetupAttemptSetupError'Type'
-- | Represents the JSON value "authentication_error"
SetupAttemptSetupError'Type'EnumAuthenticationError :: SetupAttemptSetupError'Type'
-- | Represents the JSON value "card_error"
SetupAttemptSetupError'Type'EnumCardError :: SetupAttemptSetupError'Type'
-- | Represents the JSON value "idempotency_error"
SetupAttemptSetupError'Type'EnumIdempotencyError :: SetupAttemptSetupError'Type'
-- | Represents the JSON value "invalid_request_error"
SetupAttemptSetupError'Type'EnumInvalidRequestError :: SetupAttemptSetupError'Type'
-- | Represents the JSON value "rate_limit_error"
SetupAttemptSetupError'Type'EnumRateLimitError :: SetupAttemptSetupError'Type'
-- | Defines the oneOf schema located at
-- components.schemas.setup_attempt.properties.setup_intent.anyOf
-- in the specification.
--
-- ID of the SetupIntent that this attempt belongs to.
data SetupAttemptSetupIntent'Variants
SetupAttemptSetupIntent'Text :: Text -> SetupAttemptSetupIntent'Variants
SetupAttemptSetupIntent'SetupIntent :: SetupIntent -> SetupAttemptSetupIntent'Variants
instance GHC.Classes.Eq StripeAPI.Types.SetupAttempt.SetupAttemptApplication'Variants
instance GHC.Show.Show StripeAPI.Types.SetupAttempt.SetupAttemptApplication'Variants
instance GHC.Classes.Eq StripeAPI.Types.SetupAttempt.SetupAttemptCustomer'Variants
instance GHC.Show.Show StripeAPI.Types.SetupAttempt.SetupAttemptCustomer'Variants
instance GHC.Classes.Eq StripeAPI.Types.SetupAttempt.SetupAttemptOnBehalfOf'Variants
instance GHC.Show.Show StripeAPI.Types.SetupAttempt.SetupAttemptOnBehalfOf'Variants
instance GHC.Classes.Eq StripeAPI.Types.SetupAttempt.SetupAttemptPaymentMethod'Variants
instance GHC.Show.Show StripeAPI.Types.SetupAttempt.SetupAttemptPaymentMethod'Variants
instance GHC.Classes.Eq StripeAPI.Types.SetupAttempt.SetupAttemptSetupError'Source'Account'Variants
instance GHC.Show.Show StripeAPI.Types.SetupAttempt.SetupAttemptSetupError'Source'Account'Variants
instance GHC.Classes.Eq StripeAPI.Types.SetupAttempt.SetupAttemptSetupError'Source'AvailablePayoutMethods'
instance GHC.Show.Show StripeAPI.Types.SetupAttempt.SetupAttemptSetupError'Source'AvailablePayoutMethods'
instance GHC.Classes.Eq StripeAPI.Types.SetupAttempt.SetupAttemptSetupError'Source'Customer'Variants
instance GHC.Show.Show StripeAPI.Types.SetupAttempt.SetupAttemptSetupError'Source'Customer'Variants
instance GHC.Classes.Eq StripeAPI.Types.SetupAttempt.SetupAttemptSetupError'Source'Object'
instance GHC.Show.Show StripeAPI.Types.SetupAttempt.SetupAttemptSetupError'Source'Object'
instance GHC.Classes.Eq StripeAPI.Types.SetupAttempt.SetupAttemptSetupError'Source'Owner'Address'
instance GHC.Show.Show StripeAPI.Types.SetupAttempt.SetupAttemptSetupError'Source'Owner'Address'
instance GHC.Classes.Eq StripeAPI.Types.SetupAttempt.SetupAttemptSetupError'Source'Owner'VerifiedAddress'
instance GHC.Show.Show StripeAPI.Types.SetupAttempt.SetupAttemptSetupError'Source'Owner'VerifiedAddress'
instance GHC.Classes.Eq StripeAPI.Types.SetupAttempt.SetupAttemptSetupError'Source'Owner'
instance GHC.Show.Show StripeAPI.Types.SetupAttempt.SetupAttemptSetupError'Source'Owner'
instance GHC.Classes.Eq StripeAPI.Types.SetupAttempt.SetupAttemptSetupError'Source'Recipient'Variants
instance GHC.Show.Show StripeAPI.Types.SetupAttempt.SetupAttemptSetupError'Source'Recipient'Variants
instance GHC.Classes.Eq StripeAPI.Types.SetupAttempt.SetupAttemptSetupError'Source'Type'
instance GHC.Show.Show StripeAPI.Types.SetupAttempt.SetupAttemptSetupError'Source'Type'
instance GHC.Classes.Eq StripeAPI.Types.SetupAttempt.SetupAttemptSetupError'Source'
instance GHC.Show.Show StripeAPI.Types.SetupAttempt.SetupAttemptSetupError'Source'
instance GHC.Classes.Eq StripeAPI.Types.SetupAttempt.SetupAttemptSetupError'Type'
instance GHC.Show.Show StripeAPI.Types.SetupAttempt.SetupAttemptSetupError'Type'
instance GHC.Classes.Eq StripeAPI.Types.SetupAttempt.SetupAttemptSetupError'
instance GHC.Show.Show StripeAPI.Types.SetupAttempt.SetupAttemptSetupError'
instance GHC.Classes.Eq StripeAPI.Types.SetupAttempt.SetupAttemptSetupIntent'Variants
instance GHC.Show.Show StripeAPI.Types.SetupAttempt.SetupAttemptSetupIntent'Variants
instance GHC.Classes.Eq StripeAPI.Types.SetupAttempt.SetupAttempt
instance GHC.Show.Show StripeAPI.Types.SetupAttempt.SetupAttempt
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SetupAttempt.SetupAttempt
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SetupAttempt.SetupAttempt
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SetupAttempt.SetupAttemptSetupIntent'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SetupAttempt.SetupAttemptSetupIntent'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SetupAttempt.SetupAttemptSetupError'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SetupAttempt.SetupAttemptSetupError'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SetupAttempt.SetupAttemptSetupError'Type'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SetupAttempt.SetupAttemptSetupError'Type'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SetupAttempt.SetupAttemptSetupError'Source'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SetupAttempt.SetupAttemptSetupError'Source'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SetupAttempt.SetupAttemptSetupError'Source'Type'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SetupAttempt.SetupAttemptSetupError'Source'Type'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SetupAttempt.SetupAttemptSetupError'Source'Recipient'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SetupAttempt.SetupAttemptSetupError'Source'Recipient'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SetupAttempt.SetupAttemptSetupError'Source'Owner'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SetupAttempt.SetupAttemptSetupError'Source'Owner'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SetupAttempt.SetupAttemptSetupError'Source'Owner'VerifiedAddress'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SetupAttempt.SetupAttemptSetupError'Source'Owner'VerifiedAddress'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SetupAttempt.SetupAttemptSetupError'Source'Owner'Address'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SetupAttempt.SetupAttemptSetupError'Source'Owner'Address'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SetupAttempt.SetupAttemptSetupError'Source'Object'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SetupAttempt.SetupAttemptSetupError'Source'Object'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SetupAttempt.SetupAttemptSetupError'Source'Customer'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SetupAttempt.SetupAttemptSetupError'Source'Customer'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SetupAttempt.SetupAttemptSetupError'Source'AvailablePayoutMethods'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SetupAttempt.SetupAttemptSetupError'Source'AvailablePayoutMethods'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SetupAttempt.SetupAttemptSetupError'Source'Account'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SetupAttempt.SetupAttemptSetupError'Source'Account'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SetupAttempt.SetupAttemptPaymentMethod'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SetupAttempt.SetupAttemptPaymentMethod'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SetupAttempt.SetupAttemptOnBehalfOf'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SetupAttempt.SetupAttemptOnBehalfOf'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SetupAttempt.SetupAttemptCustomer'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SetupAttempt.SetupAttemptCustomer'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SetupAttempt.SetupAttemptApplication'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SetupAttempt.SetupAttemptApplication'Variants
-- | Contains the types generated from the schema PaymentSource
module StripeAPI.Types.PaymentSource
-- | Defines the object schema located at
-- components.schemas.payment_source.anyOf in the specification.
data PaymentSource
PaymentSource :: Maybe PaymentSourceAccount'Variants -> Maybe Text -> Maybe Text -> Maybe SourceTypeAchCreditTransfer -> Maybe SourceTypeAchDebit -> Maybe SourceTypeAcssDebit -> Maybe Bool -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe SourceTypeAlipay -> Maybe Int -> Maybe Int -> Maybe SourceTypeAuBecsDebit -> Maybe [PaymentSourceAvailablePayoutMethods'] -> Maybe SourceTypeBancontact -> Maybe Text -> Maybe Int -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe PaymentSourceBusinessProfile' -> Maybe PaymentSourceBusinessType' -> Maybe AccountCapabilities -> Maybe SourceTypeCard -> Maybe SourceTypeCardPresent -> Maybe Bool -> Maybe Text -> Maybe SourceCodeVerificationFlow -> Maybe LegalEntityCompany -> Maybe AccountController -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe PaymentSourceCustomer'Variants -> Maybe Text -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe Text -> Maybe SourceTypeEps -> Maybe Int -> Maybe Int -> Maybe PaymentSourceExternalAccounts' -> Maybe Bool -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe SourceTypeGiropay -> Maybe Text -> Maybe SourceTypeIdeal -> Maybe Text -> Maybe Person -> Maybe SourceTypeKlarna -> Maybe Text -> Maybe Bool -> Maybe Object -> Maybe SourceTypeMultibanco -> Maybe Text -> Maybe PaymentSourceObject' -> Maybe PaymentSourceOwner' -> Maybe SourceTypeP24 -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe Bool -> Maybe SourceReceiverFlow -> Maybe PaymentSourceRecipient'Variants -> Maybe SourceRedirectFlow -> Maybe Text -> Maybe AccountRequirements -> Maybe Bool -> Maybe Text -> Maybe SourceTypeSepaDebit -> Maybe PaymentSourceSettings' -> Maybe SourceTypeSofort -> Maybe SourceOrder -> Maybe Text -> Maybe Text -> Maybe SourceTypeThreeDSecure -> Maybe Text -> Maybe AccountTosAcceptance -> Maybe PaymentSourceTransactions' -> Maybe PaymentSourceType' -> Maybe Bool -> Maybe Text -> Maybe Bool -> Maybe Bool -> Maybe Text -> Maybe SourceTypeWechat -> PaymentSource
-- | account: The ID of the account that the bank account is associated
-- with.
[paymentSourceAccount] :: PaymentSource -> Maybe PaymentSourceAccount'Variants
-- | account_holder_name: The name of the person or business that owns the
-- bank account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentSourceAccountHolderName] :: PaymentSource -> Maybe Text
-- | account_holder_type: The type of entity that holds the account. This
-- can be either `individual` or `company`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentSourceAccountHolderType] :: PaymentSource -> Maybe Text
-- | ach_credit_transfer
[paymentSourceAchCreditTransfer] :: PaymentSource -> Maybe SourceTypeAchCreditTransfer
-- | ach_debit
[paymentSourceAchDebit] :: PaymentSource -> Maybe SourceTypeAchDebit
-- | acss_debit
[paymentSourceAcssDebit] :: PaymentSource -> Maybe SourceTypeAcssDebit
-- | active: True when this bitcoin receiver has received a non-zero amount
-- of bitcoin.
[paymentSourceActive] :: PaymentSource -> Maybe Bool
-- | address_city: City/District/Suburb/Town/Village.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentSourceAddressCity] :: PaymentSource -> Maybe Text
-- | address_country: Billing address country, if provided when creating
-- card.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentSourceAddressCountry] :: PaymentSource -> Maybe Text
-- | address_line1: Address line 1 (Street address/PO Box/Company name).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentSourceAddressLine1] :: PaymentSource -> Maybe Text
-- | address_line1_check: If `address_line1` was provided, results of the
-- check: `pass`, `fail`, `unavailable`, or `unchecked`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentSourceAddressLine1Check] :: PaymentSource -> Maybe Text
-- | address_line2: Address line 2 (Apartment/Suite/Unit/Building).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentSourceAddressLine2] :: PaymentSource -> Maybe Text
-- | address_state: State/County/Province/Region.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentSourceAddressState] :: PaymentSource -> Maybe Text
-- | address_zip: ZIP or postal code.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentSourceAddressZip] :: PaymentSource -> Maybe Text
-- | address_zip_check: If `address_zip` was provided, results of the
-- check: `pass`, `fail`, `unavailable`, or `unchecked`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentSourceAddressZipCheck] :: PaymentSource -> Maybe Text
-- | alipay
[paymentSourceAlipay] :: PaymentSource -> Maybe SourceTypeAlipay
-- | amount: The amount of `currency` that you are collecting as payment.
[paymentSourceAmount] :: PaymentSource -> Maybe Int
-- | amount_received: The amount of `currency` to which
-- `bitcoin_amount_received` has been converted.
[paymentSourceAmountReceived] :: PaymentSource -> Maybe Int
-- | au_becs_debit
[paymentSourceAuBecsDebit] :: PaymentSource -> Maybe SourceTypeAuBecsDebit
-- | available_payout_methods: A set of available payout methods for this
-- bank account. Only values from this set should be passed as the
-- `method` when creating a payout.
[paymentSourceAvailablePayoutMethods] :: PaymentSource -> Maybe [PaymentSourceAvailablePayoutMethods']
-- | bancontact
[paymentSourceBancontact] :: PaymentSource -> Maybe SourceTypeBancontact
-- | bank_name: Name of the bank associated with the routing number (e.g.,
-- `WELLS FARGO`).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentSourceBankName] :: PaymentSource -> Maybe Text
-- | bitcoin_amount: The amount of bitcoin that the customer should send to
-- fill the receiver. The `bitcoin_amount` is denominated in Satoshi:
-- there are 10^8 Satoshi in one bitcoin.
[paymentSourceBitcoinAmount] :: PaymentSource -> Maybe Int
-- | bitcoin_amount_received: The amount of bitcoin that has been sent by
-- the customer to this receiver.
[paymentSourceBitcoinAmountReceived] :: PaymentSource -> Maybe Int
-- | bitcoin_uri: This URI can be displayed to the customer as a clickable
-- link (to activate their bitcoin client) or as a QR code (for mobile
-- wallets).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentSourceBitcoinUri] :: PaymentSource -> Maybe Text
-- | brand: Card brand. Can be `American Express`, `Diners Club`,
-- `Discover`, `JCB`, `MasterCard`, `UnionPay`, `Visa`, or `Unknown`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentSourceBrand] :: PaymentSource -> Maybe Text
-- | business_profile: Business information about the account.
[paymentSourceBusinessProfile] :: PaymentSource -> Maybe PaymentSourceBusinessProfile'
-- | business_type: The business type.
[paymentSourceBusinessType] :: PaymentSource -> Maybe PaymentSourceBusinessType'
-- | capabilities:
[paymentSourceCapabilities] :: PaymentSource -> Maybe AccountCapabilities
-- | card
[paymentSourceCard] :: PaymentSource -> Maybe SourceTypeCard
-- | card_present
[paymentSourceCardPresent] :: PaymentSource -> Maybe SourceTypeCardPresent
-- | charges_enabled: Whether the account can create live charges.
[paymentSourceChargesEnabled] :: PaymentSource -> Maybe Bool
-- | client_secret: The client secret of the source. Used for client-side
-- retrieval using a publishable key.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentSourceClientSecret] :: PaymentSource -> Maybe Text
-- | code_verification:
[paymentSourceCodeVerification] :: PaymentSource -> Maybe SourceCodeVerificationFlow
-- | company:
[paymentSourceCompany] :: PaymentSource -> Maybe LegalEntityCompany
-- | controller:
[paymentSourceController] :: PaymentSource -> Maybe AccountController
-- | country: The account's country.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentSourceCountry] :: PaymentSource -> Maybe Text
-- | created: Time at which the object was created. Measured in seconds
-- since the Unix epoch.
[paymentSourceCreated] :: PaymentSource -> Maybe Int
-- | currency: Three-letter ISO code for the currency paid out to
-- the bank account.
[paymentSourceCurrency] :: PaymentSource -> Maybe Text
-- | customer: The ID of the customer associated with this Alipay Account.
[paymentSourceCustomer] :: PaymentSource -> Maybe PaymentSourceCustomer'Variants
-- | cvc_check: If a CVC was provided, results of the check: `pass`,
-- `fail`, `unavailable`, or `unchecked`. A result of unchecked indicates
-- that CVC was provided but hasn't been checked yet. Checks are
-- typically performed when attaching a card to a Customer object, or
-- when creating a charge. For more details, see Check if a card is
-- valid without a charge.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentSourceCvcCheck] :: PaymentSource -> Maybe Text
-- | default_currency: Three-letter ISO currency code representing the
-- default currency for the account. This must be a currency that
-- Stripe supports in the account's country.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentSourceDefaultCurrency] :: PaymentSource -> Maybe Text
-- | default_for_currency: Whether this bank account is the default
-- external account for its currency.
[paymentSourceDefaultForCurrency] :: PaymentSource -> Maybe Bool
-- | description: An arbitrary string attached to the object. Often useful
-- for displaying to users.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentSourceDescription] :: PaymentSource -> Maybe Text
-- | details_submitted: Whether account details have been submitted.
-- Standard accounts cannot receive payouts before this is true.
[paymentSourceDetailsSubmitted] :: PaymentSource -> Maybe Bool
-- | dynamic_last4: (For tokenized numbers only.) The last four digits of
-- the device account number.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentSourceDynamicLast4] :: PaymentSource -> Maybe Text
-- | email: An email address associated with the account. You can treat
-- this as metadata: it is not used for authentication or messaging
-- account holders.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentSourceEmail] :: PaymentSource -> Maybe Text
-- | eps
[paymentSourceEps] :: PaymentSource -> Maybe SourceTypeEps
-- | exp_month: Two-digit number representing the card's expiration month.
[paymentSourceExpMonth] :: PaymentSource -> Maybe Int
-- | exp_year: Four-digit number representing the card's expiration year.
[paymentSourceExpYear] :: PaymentSource -> Maybe Int
-- | external_accounts: External accounts (bank accounts and debit cards)
-- currently attached to this account
[paymentSourceExternalAccounts] :: PaymentSource -> Maybe PaymentSourceExternalAccounts'
-- | filled: This flag is initially false and updates to true when the
-- customer sends the `bitcoin_amount` to this receiver.
[paymentSourceFilled] :: PaymentSource -> Maybe Bool
-- | fingerprint: Uniquely identifies the account and will be the same
-- across all Alipay account objects that are linked to the same Alipay
-- account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentSourceFingerprint] :: PaymentSource -> Maybe Text
-- | flow: The authentication `flow` of the source. `flow` is one of
-- `redirect`, `receiver`, `code_verification`, `none`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentSourceFlow] :: PaymentSource -> Maybe Text
-- | funding: Card funding type. Can be `credit`, `debit`, `prepaid`, or
-- `unknown`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentSourceFunding] :: PaymentSource -> Maybe Text
-- | giropay
[paymentSourceGiropay] :: PaymentSource -> Maybe SourceTypeGiropay
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentSourceId] :: PaymentSource -> Maybe Text
-- | ideal
[paymentSourceIdeal] :: PaymentSource -> Maybe SourceTypeIdeal
-- | inbound_address: A bitcoin address that is specific to this receiver.
-- The customer can send bitcoin to this address to fill the receiver.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentSourceInboundAddress] :: PaymentSource -> Maybe Text
-- | individual: This is an object representing a person associated with a
-- Stripe account.
--
-- A platform cannot access a Standard or Express account's persons after
-- the account starts onboarding, such as after generating an account
-- link for the account. See the Standard onboarding or Express
-- onboarding documentation for information about platform
-- pre-filling and account onboarding steps.
--
-- Related guide: Handling Identity Verification with the API.
[paymentSourceIndividual] :: PaymentSource -> Maybe Person
-- | klarna
[paymentSourceKlarna] :: PaymentSource -> Maybe SourceTypeKlarna
-- | last4: The last four digits of the bank account number.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentSourceLast4] :: PaymentSource -> Maybe Text
-- | livemode: Has the value `true` if the object exists in live mode or
-- the value `false` if the object exists in test mode.
[paymentSourceLivemode] :: PaymentSource -> Maybe Bool
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format.
[paymentSourceMetadata] :: PaymentSource -> Maybe Object
-- | multibanco
[paymentSourceMultibanco] :: PaymentSource -> Maybe SourceTypeMultibanco
-- | name: Cardholder name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentSourceName] :: PaymentSource -> Maybe Text
-- | object: String representing the object's type. Objects of the same
-- type share the same value.
[paymentSourceObject] :: PaymentSource -> Maybe PaymentSourceObject'
-- | owner: Information about the owner of the payment instrument that may
-- be used or required by particular source types.
[paymentSourceOwner] :: PaymentSource -> Maybe PaymentSourceOwner'
-- | p24
[paymentSourceP24] :: PaymentSource -> Maybe SourceTypeP24
-- | payment: The ID of the payment created from the receiver, if any.
-- Hidden when viewing the receiver with a publishable key.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentSourcePayment] :: PaymentSource -> Maybe Text
-- | payment_amount: If the Alipay account object is not reusable, the
-- exact amount that you can create a charge for.
[paymentSourcePaymentAmount] :: PaymentSource -> Maybe Int
-- | payment_currency: If the Alipay account object is not reusable, the
-- exact currency that you can create a charge for.
[paymentSourcePaymentCurrency] :: PaymentSource -> Maybe Text
-- | payouts_enabled: Whether Stripe can send payouts to this account.
[paymentSourcePayoutsEnabled] :: PaymentSource -> Maybe Bool
-- | receiver:
[paymentSourceReceiver] :: PaymentSource -> Maybe SourceReceiverFlow
-- | recipient: 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.
[paymentSourceRecipient] :: PaymentSource -> Maybe PaymentSourceRecipient'Variants
-- | redirect:
[paymentSourceRedirect] :: PaymentSource -> Maybe SourceRedirectFlow
-- | refund_address: The refund address of this bitcoin receiver.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentSourceRefundAddress] :: PaymentSource -> Maybe Text
-- | requirements:
[paymentSourceRequirements] :: PaymentSource -> Maybe AccountRequirements
-- | reusable: True if you can create multiple payments using this account.
-- If the account is reusable, then you can freely choose the amount of
-- each payment.
[paymentSourceReusable] :: PaymentSource -> Maybe Bool
-- | routing_number: The routing transit number for the bank account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentSourceRoutingNumber] :: PaymentSource -> Maybe Text
-- | sepa_debit
[paymentSourceSepaDebit] :: PaymentSource -> Maybe SourceTypeSepaDebit
-- | settings: Options for customizing how the account functions within
-- Stripe.
[paymentSourceSettings] :: PaymentSource -> Maybe PaymentSourceSettings'
-- | sofort
[paymentSourceSofort] :: PaymentSource -> Maybe SourceTypeSofort
-- | source_order:
[paymentSourceSourceOrder] :: PaymentSource -> Maybe SourceOrder
-- | statement_descriptor: Extra information about a source. This will
-- appear on your customer's statement every time you charge the source.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentSourceStatementDescriptor] :: PaymentSource -> Maybe Text
-- | status: For bank accounts, possible values are `new`, `validated`,
-- `verified`, `verification_failed`, or `errored`. A bank account that
-- hasn't had any activity or validation performed is `new`. If Stripe
-- can determine that the bank account exists, its status will be
-- `validated`. Note that there often isn’t enough information to know
-- (e.g., for smaller credit unions), and the validation is not always
-- run. If customer bank account verification has succeeded, the bank
-- account status will be `verified`. If the verification failed for any
-- reason, such as microdeposit failure, the status will be
-- `verification_failed`. If a transfer sent to this bank account fails,
-- we'll set the status to `errored` and will not continue to send
-- transfers until the bank details are updated.
--
-- For external accounts, possible values are `new` and `errored`.
-- Validations aren't run against external accounts because they're only
-- used for payouts. This means the other statuses don't apply. If a
-- transfer fails, the status is set to `errored` and transfers are
-- stopped until account details are updated.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentSourceStatus] :: PaymentSource -> Maybe Text
-- | three_d_secure
[paymentSourceThreeDSecure] :: PaymentSource -> Maybe SourceTypeThreeDSecure
-- | tokenization_method: If the card number is tokenized, this is the
-- method that was used. Can be `android_pay` (includes Google Pay),
-- `apple_pay`, `masterpass`, `visa_checkout`, or null.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentSourceTokenizationMethod] :: PaymentSource -> Maybe Text
-- | tos_acceptance:
[paymentSourceTosAcceptance] :: PaymentSource -> Maybe AccountTosAcceptance
-- | transactions: 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.
[paymentSourceTransactions] :: PaymentSource -> Maybe PaymentSourceTransactions'
-- | type: The Stripe account type. Can be `standard`, `express`, or
-- `custom`.
[paymentSourceType] :: PaymentSource -> Maybe PaymentSourceType'
-- | uncaptured_funds: This receiver contains uncaptured funds that can be
-- used for a payment or refunded.
[paymentSourceUncapturedFunds] :: PaymentSource -> Maybe Bool
-- | usage: Either `reusable` or `single_use`. Whether this source should
-- be reusable or not. Some source types may or may not be reusable by
-- construction, while others may leave the option at creation. If an
-- incompatible value is passed, an error will be returned.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentSourceUsage] :: PaymentSource -> Maybe Text
-- | used: Whether this Alipay account object has ever been used for a
-- payment.
[paymentSourceUsed] :: PaymentSource -> Maybe Bool
-- | used_for_payment: Indicate if this source is used for payment.
[paymentSourceUsedForPayment] :: PaymentSource -> Maybe Bool
-- | username: The username for the Alipay account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentSourceUsername] :: PaymentSource -> Maybe Text
-- | wechat
[paymentSourceWechat] :: PaymentSource -> Maybe SourceTypeWechat
-- | Create a new PaymentSource with all required fields.
mkPaymentSource :: PaymentSource
-- | Defines the oneOf schema located at
-- components.schemas.payment_source.anyOf.properties.account.anyOf
-- in the specification.
--
-- The ID of the account that the bank account is associated with.
data PaymentSourceAccount'Variants
PaymentSourceAccount'Text :: Text -> PaymentSourceAccount'Variants
PaymentSourceAccount'Account :: Account -> PaymentSourceAccount'Variants
-- | Defines the enum schema located at
-- components.schemas.payment_source.anyOf.properties.available_payout_methods.items
-- in the specification.
data PaymentSourceAvailablePayoutMethods'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PaymentSourceAvailablePayoutMethods'Other :: Value -> PaymentSourceAvailablePayoutMethods'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PaymentSourceAvailablePayoutMethods'Typed :: Text -> PaymentSourceAvailablePayoutMethods'
-- | Represents the JSON value "instant"
PaymentSourceAvailablePayoutMethods'EnumInstant :: PaymentSourceAvailablePayoutMethods'
-- | Represents the JSON value "standard"
PaymentSourceAvailablePayoutMethods'EnumStandard :: PaymentSourceAvailablePayoutMethods'
-- | Defines the object schema located at
-- components.schemas.payment_source.anyOf.properties.business_profile.anyOf
-- in the specification.
--
-- Business information about the account.
data PaymentSourceBusinessProfile'
PaymentSourceBusinessProfile' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe PaymentSourceBusinessProfile'SupportAddress' -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PaymentSourceBusinessProfile'
-- | mcc: The merchant category code for the account. MCCs are used
-- to classify businesses based on the goods or services they provide.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentSourceBusinessProfile'Mcc] :: PaymentSourceBusinessProfile' -> Maybe Text
-- | name: The customer-facing business name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentSourceBusinessProfile'Name] :: PaymentSourceBusinessProfile' -> Maybe Text
-- | product_description: Internal-only description of the product sold or
-- service provided by the business. It's used by Stripe for risk and
-- underwriting purposes.
--
-- Constraints:
--
--
-- - Maximum length of 40000
--
[paymentSourceBusinessProfile'ProductDescription] :: PaymentSourceBusinessProfile' -> Maybe Text
-- | support_address: A publicly available mailing address for sending
-- support issues to.
[paymentSourceBusinessProfile'SupportAddress] :: PaymentSourceBusinessProfile' -> Maybe PaymentSourceBusinessProfile'SupportAddress'
-- | support_email: A publicly available email address for sending support
-- issues to.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentSourceBusinessProfile'SupportEmail] :: PaymentSourceBusinessProfile' -> Maybe Text
-- | support_phone: A publicly available phone number to call with support
-- issues.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentSourceBusinessProfile'SupportPhone] :: PaymentSourceBusinessProfile' -> Maybe Text
-- | support_url: A publicly available website for handling support issues.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentSourceBusinessProfile'SupportUrl] :: PaymentSourceBusinessProfile' -> Maybe Text
-- | url: The business's publicly available website.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentSourceBusinessProfile'Url] :: PaymentSourceBusinessProfile' -> Maybe Text
-- | Create a new PaymentSourceBusinessProfile' with all required
-- fields.
mkPaymentSourceBusinessProfile' :: PaymentSourceBusinessProfile'
-- | 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.
data PaymentSourceBusinessProfile'SupportAddress'
PaymentSourceBusinessProfile'SupportAddress' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PaymentSourceBusinessProfile'SupportAddress'
-- | city: City, district, suburb, town, or village.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentSourceBusinessProfile'SupportAddress'City] :: PaymentSourceBusinessProfile'SupportAddress' -> Maybe Text
-- | country: Two-letter country code ([ISO 3166-1
-- alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentSourceBusinessProfile'SupportAddress'Country] :: PaymentSourceBusinessProfile'SupportAddress' -> Maybe Text
-- | line1: Address line 1 (e.g., street, PO Box, or company name).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentSourceBusinessProfile'SupportAddress'Line1] :: PaymentSourceBusinessProfile'SupportAddress' -> Maybe Text
-- | line2: Address line 2 (e.g., apartment, suite, unit, or building).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentSourceBusinessProfile'SupportAddress'Line2] :: PaymentSourceBusinessProfile'SupportAddress' -> Maybe Text
-- | postal_code: ZIP or postal code.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentSourceBusinessProfile'SupportAddress'PostalCode] :: PaymentSourceBusinessProfile'SupportAddress' -> Maybe Text
-- | state: State, county, province, or region.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentSourceBusinessProfile'SupportAddress'State] :: PaymentSourceBusinessProfile'SupportAddress' -> Maybe Text
-- | Create a new PaymentSourceBusinessProfile'SupportAddress' with
-- all required fields.
mkPaymentSourceBusinessProfile'SupportAddress' :: PaymentSourceBusinessProfile'SupportAddress'
-- | Defines the enum schema located at
-- components.schemas.payment_source.anyOf.properties.business_type
-- in the specification.
--
-- The business type.
data PaymentSourceBusinessType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PaymentSourceBusinessType'Other :: Value -> PaymentSourceBusinessType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PaymentSourceBusinessType'Typed :: Text -> PaymentSourceBusinessType'
-- | Represents the JSON value "company"
PaymentSourceBusinessType'EnumCompany :: PaymentSourceBusinessType'
-- | Represents the JSON value "government_entity"
PaymentSourceBusinessType'EnumGovernmentEntity :: PaymentSourceBusinessType'
-- | Represents the JSON value "individual"
PaymentSourceBusinessType'EnumIndividual :: PaymentSourceBusinessType'
-- | Represents the JSON value "non_profit"
PaymentSourceBusinessType'EnumNonProfit :: PaymentSourceBusinessType'
-- | 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 PaymentSourceCustomer'Variants
PaymentSourceCustomer'Text :: Text -> PaymentSourceCustomer'Variants
PaymentSourceCustomer'Customer :: Customer -> PaymentSourceCustomer'Variants
PaymentSourceCustomer'DeletedCustomer :: DeletedCustomer -> PaymentSourceCustomer'Variants
-- | 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
data PaymentSourceExternalAccounts'
PaymentSourceExternalAccounts' :: [PaymentSourceExternalAccounts'Data'] -> Bool -> Text -> PaymentSourceExternalAccounts'
-- | data: The list contains all external accounts that have been attached
-- to the Stripe account. These may be bank accounts or cards.
[paymentSourceExternalAccounts'Data] :: PaymentSourceExternalAccounts' -> [PaymentSourceExternalAccounts'Data']
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[paymentSourceExternalAccounts'HasMore] :: PaymentSourceExternalAccounts' -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentSourceExternalAccounts'Url] :: PaymentSourceExternalAccounts' -> Text
-- | Create a new PaymentSourceExternalAccounts' with all required
-- fields.
mkPaymentSourceExternalAccounts' :: [PaymentSourceExternalAccounts'Data'] -> Bool -> Text -> PaymentSourceExternalAccounts'
-- | Defines the object schema located at
-- components.schemas.payment_source.anyOf.properties.external_accounts.properties.data.items.anyOf
-- in the specification.
data PaymentSourceExternalAccounts'Data'
PaymentSourceExternalAccounts'Data' :: Maybe PaymentSourceExternalAccounts'Data'Account'Variants -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe [PaymentSourceExternalAccounts'Data'AvailablePayoutMethods'] -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe PaymentSourceExternalAccounts'Data'Customer'Variants -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe Int -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Object -> Maybe Text -> Maybe PaymentSourceExternalAccounts'Data'Object' -> Maybe PaymentSourceExternalAccounts'Data'Recipient'Variants -> Maybe Text -> Maybe Text -> Maybe Text -> PaymentSourceExternalAccounts'Data'
-- | account: The ID of the account that the bank account is associated
-- with.
[paymentSourceExternalAccounts'Data'Account] :: PaymentSourceExternalAccounts'Data' -> Maybe PaymentSourceExternalAccounts'Data'Account'Variants
-- | account_holder_name: The name of the person or business that owns the
-- bank account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentSourceExternalAccounts'Data'AccountHolderName] :: PaymentSourceExternalAccounts'Data' -> Maybe Text
-- | account_holder_type: The type of entity that holds the account. This
-- can be either `individual` or `company`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentSourceExternalAccounts'Data'AccountHolderType] :: PaymentSourceExternalAccounts'Data' -> Maybe Text
-- | address_city: City/District/Suburb/Town/Village.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentSourceExternalAccounts'Data'AddressCity] :: PaymentSourceExternalAccounts'Data' -> Maybe Text
-- | address_country: Billing address country, if provided when creating
-- card.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentSourceExternalAccounts'Data'AddressCountry] :: PaymentSourceExternalAccounts'Data' -> Maybe Text
-- | address_line1: Address line 1 (Street address/PO Box/Company name).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentSourceExternalAccounts'Data'AddressLine1] :: PaymentSourceExternalAccounts'Data' -> Maybe Text
-- | address_line1_check: If `address_line1` was provided, results of the
-- check: `pass`, `fail`, `unavailable`, or `unchecked`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentSourceExternalAccounts'Data'AddressLine1Check] :: PaymentSourceExternalAccounts'Data' -> Maybe Text
-- | address_line2: Address line 2 (Apartment/Suite/Unit/Building).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentSourceExternalAccounts'Data'AddressLine2] :: PaymentSourceExternalAccounts'Data' -> Maybe Text
-- | address_state: State/County/Province/Region.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentSourceExternalAccounts'Data'AddressState] :: PaymentSourceExternalAccounts'Data' -> Maybe Text
-- | address_zip: ZIP or postal code.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentSourceExternalAccounts'Data'AddressZip] :: PaymentSourceExternalAccounts'Data' -> Maybe Text
-- | address_zip_check: If `address_zip` was provided, results of the
-- check: `pass`, `fail`, `unavailable`, or `unchecked`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentSourceExternalAccounts'Data'AddressZipCheck] :: PaymentSourceExternalAccounts'Data' -> Maybe Text
-- | available_payout_methods: A set of available payout methods for this
-- bank account. Only values from this set should be passed as the
-- `method` when creating a payout.
[paymentSourceExternalAccounts'Data'AvailablePayoutMethods] :: PaymentSourceExternalAccounts'Data' -> Maybe [PaymentSourceExternalAccounts'Data'AvailablePayoutMethods']
-- | bank_name: Name of the bank associated with the routing number (e.g.,
-- `WELLS FARGO`).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentSourceExternalAccounts'Data'BankName] :: PaymentSourceExternalAccounts'Data' -> Maybe Text
-- | brand: Card brand. Can be `American Express`, `Diners Club`,
-- `Discover`, `JCB`, `MasterCard`, `UnionPay`, `Visa`, or `Unknown`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentSourceExternalAccounts'Data'Brand] :: PaymentSourceExternalAccounts'Data' -> Maybe Text
-- | country: Two-letter ISO code representing the country the bank account
-- is located in.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentSourceExternalAccounts'Data'Country] :: PaymentSourceExternalAccounts'Data' -> Maybe Text
-- | currency: Three-letter ISO code for the currency paid out to
-- the bank account.
[paymentSourceExternalAccounts'Data'Currency] :: PaymentSourceExternalAccounts'Data' -> Maybe Text
-- | customer: The ID of the customer that the bank account is associated
-- with.
[paymentSourceExternalAccounts'Data'Customer] :: PaymentSourceExternalAccounts'Data' -> Maybe PaymentSourceExternalAccounts'Data'Customer'Variants
-- | cvc_check: If a CVC was provided, results of the check: `pass`,
-- `fail`, `unavailable`, or `unchecked`. A result of unchecked indicates
-- that CVC was provided but hasn't been checked yet. Checks are
-- typically performed when attaching a card to a Customer object, or
-- when creating a charge. For more details, see Check if a card is
-- valid without a charge.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentSourceExternalAccounts'Data'CvcCheck] :: PaymentSourceExternalAccounts'Data' -> Maybe Text
-- | default_for_currency: Whether this bank account is the default
-- external account for its currency.
[paymentSourceExternalAccounts'Data'DefaultForCurrency] :: PaymentSourceExternalAccounts'Data' -> Maybe Bool
-- | dynamic_last4: (For tokenized numbers only.) The last four digits of
-- the device account number.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentSourceExternalAccounts'Data'DynamicLast4] :: PaymentSourceExternalAccounts'Data' -> Maybe Text
-- | exp_month: Two-digit number representing the card's expiration month.
[paymentSourceExternalAccounts'Data'ExpMonth] :: PaymentSourceExternalAccounts'Data' -> Maybe Int
-- | exp_year: Four-digit number representing the card's expiration year.
[paymentSourceExternalAccounts'Data'ExpYear] :: PaymentSourceExternalAccounts'Data' -> Maybe Int
-- | fingerprint: Uniquely identifies this particular bank account. You can
-- use this attribute to check whether two bank accounts are the same.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentSourceExternalAccounts'Data'Fingerprint] :: PaymentSourceExternalAccounts'Data' -> Maybe Text
-- | funding: Card funding type. Can be `credit`, `debit`, `prepaid`, or
-- `unknown`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentSourceExternalAccounts'Data'Funding] :: PaymentSourceExternalAccounts'Data' -> Maybe Text
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentSourceExternalAccounts'Data'Id] :: PaymentSourceExternalAccounts'Data' -> Maybe Text
-- | last4: The last four digits of the bank account number.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentSourceExternalAccounts'Data'Last4] :: PaymentSourceExternalAccounts'Data' -> Maybe Text
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format.
[paymentSourceExternalAccounts'Data'Metadata] :: PaymentSourceExternalAccounts'Data' -> Maybe Object
-- | name: Cardholder name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentSourceExternalAccounts'Data'Name] :: PaymentSourceExternalAccounts'Data' -> Maybe Text
-- | object: String representing the object's type. Objects of the same
-- type share the same value.
[paymentSourceExternalAccounts'Data'Object] :: PaymentSourceExternalAccounts'Data' -> Maybe PaymentSourceExternalAccounts'Data'Object'
-- | recipient: 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.
[paymentSourceExternalAccounts'Data'Recipient] :: PaymentSourceExternalAccounts'Data' -> Maybe PaymentSourceExternalAccounts'Data'Recipient'Variants
-- | routing_number: The routing transit number for the bank account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentSourceExternalAccounts'Data'RoutingNumber] :: PaymentSourceExternalAccounts'Data' -> Maybe Text
-- | status: For bank accounts, possible values are `new`, `validated`,
-- `verified`, `verification_failed`, or `errored`. A bank account that
-- hasn't had any activity or validation performed is `new`. If Stripe
-- can determine that the bank account exists, its status will be
-- `validated`. Note that there often isn’t enough information to know
-- (e.g., for smaller credit unions), and the validation is not always
-- run. If customer bank account verification has succeeded, the bank
-- account status will be `verified`. If the verification failed for any
-- reason, such as microdeposit failure, the status will be
-- `verification_failed`. If a transfer sent to this bank account fails,
-- we'll set the status to `errored` and will not continue to send
-- transfers until the bank details are updated.
--
-- For external accounts, possible values are `new` and `errored`.
-- Validations aren't run against external accounts because they're only
-- used for payouts. This means the other statuses don't apply. If a
-- transfer fails, the status is set to `errored` and transfers are
-- stopped until account details are updated.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentSourceExternalAccounts'Data'Status] :: PaymentSourceExternalAccounts'Data' -> Maybe Text
-- | tokenization_method: If the card number is tokenized, this is the
-- method that was used. Can be `android_pay` (includes Google Pay),
-- `apple_pay`, `masterpass`, `visa_checkout`, or null.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentSourceExternalAccounts'Data'TokenizationMethod] :: PaymentSourceExternalAccounts'Data' -> Maybe Text
-- | Create a new PaymentSourceExternalAccounts'Data' with all
-- required fields.
mkPaymentSourceExternalAccounts'Data' :: PaymentSourceExternalAccounts'Data'
-- | 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.
data PaymentSourceExternalAccounts'Data'Account'Variants
PaymentSourceExternalAccounts'Data'Account'Text :: Text -> PaymentSourceExternalAccounts'Data'Account'Variants
PaymentSourceExternalAccounts'Data'Account'Account :: Account -> PaymentSourceExternalAccounts'Data'Account'Variants
-- | 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.
data PaymentSourceExternalAccounts'Data'AvailablePayoutMethods'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PaymentSourceExternalAccounts'Data'AvailablePayoutMethods'Other :: Value -> PaymentSourceExternalAccounts'Data'AvailablePayoutMethods'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PaymentSourceExternalAccounts'Data'AvailablePayoutMethods'Typed :: Text -> PaymentSourceExternalAccounts'Data'AvailablePayoutMethods'
-- | Represents the JSON value "instant"
PaymentSourceExternalAccounts'Data'AvailablePayoutMethods'EnumInstant :: PaymentSourceExternalAccounts'Data'AvailablePayoutMethods'
-- | Represents the JSON value "standard"
PaymentSourceExternalAccounts'Data'AvailablePayoutMethods'EnumStandard :: PaymentSourceExternalAccounts'Data'AvailablePayoutMethods'
-- | 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.
data PaymentSourceExternalAccounts'Data'Customer'Variants
PaymentSourceExternalAccounts'Data'Customer'Text :: Text -> PaymentSourceExternalAccounts'Data'Customer'Variants
PaymentSourceExternalAccounts'Data'Customer'Customer :: Customer -> PaymentSourceExternalAccounts'Data'Customer'Variants
PaymentSourceExternalAccounts'Data'Customer'DeletedCustomer :: DeletedCustomer -> PaymentSourceExternalAccounts'Data'Customer'Variants
-- | 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.
data PaymentSourceExternalAccounts'Data'Object'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PaymentSourceExternalAccounts'Data'Object'Other :: Value -> PaymentSourceExternalAccounts'Data'Object'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PaymentSourceExternalAccounts'Data'Object'Typed :: Text -> PaymentSourceExternalAccounts'Data'Object'
-- | Represents the JSON value "bank_account"
PaymentSourceExternalAccounts'Data'Object'EnumBankAccount :: PaymentSourceExternalAccounts'Data'Object'
-- | 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.
data PaymentSourceExternalAccounts'Data'Recipient'Variants
PaymentSourceExternalAccounts'Data'Recipient'Text :: Text -> PaymentSourceExternalAccounts'Data'Recipient'Variants
PaymentSourceExternalAccounts'Data'Recipient'Recipient :: Recipient -> PaymentSourceExternalAccounts'Data'Recipient'Variants
-- | 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.
data PaymentSourceObject'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PaymentSourceObject'Other :: Value -> PaymentSourceObject'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PaymentSourceObject'Typed :: Text -> PaymentSourceObject'
-- | Represents the JSON value "account"
PaymentSourceObject'EnumAccount :: PaymentSourceObject'
-- | 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.
data PaymentSourceOwner'
PaymentSourceOwner' :: Maybe PaymentSourceOwner'Address' -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe PaymentSourceOwner'VerifiedAddress' -> Maybe Text -> Maybe Text -> Maybe Text -> PaymentSourceOwner'
-- | address: Owner's address.
[paymentSourceOwner'Address] :: PaymentSourceOwner' -> Maybe PaymentSourceOwner'Address'
-- | email: Owner's email address.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentSourceOwner'Email] :: PaymentSourceOwner' -> Maybe Text
-- | name: Owner's full name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentSourceOwner'Name] :: PaymentSourceOwner' -> Maybe Text
-- | phone: Owner's phone number (including extension).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentSourceOwner'Phone] :: PaymentSourceOwner' -> Maybe Text
-- | verified_address: 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.
[paymentSourceOwner'VerifiedAddress] :: PaymentSourceOwner' -> Maybe PaymentSourceOwner'VerifiedAddress'
-- | verified_email: Verified owner's email 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.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentSourceOwner'VerifiedEmail] :: PaymentSourceOwner' -> Maybe Text
-- | verified_name: Verified owner's full name. 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.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentSourceOwner'VerifiedName] :: PaymentSourceOwner' -> Maybe Text
-- | verified_phone: Verified owner's phone number (including extension).
-- 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.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentSourceOwner'VerifiedPhone] :: PaymentSourceOwner' -> Maybe Text
-- | Create a new PaymentSourceOwner' with all required fields.
mkPaymentSourceOwner' :: PaymentSourceOwner'
-- | Defines the object schema located at
-- components.schemas.payment_source.anyOf.properties.owner.anyOf.properties.address.anyOf
-- in the specification.
--
-- Owner\'s address.
data PaymentSourceOwner'Address'
PaymentSourceOwner'Address' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PaymentSourceOwner'Address'
-- | city: City, district, suburb, town, or village.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentSourceOwner'Address'City] :: PaymentSourceOwner'Address' -> Maybe Text
-- | country: Two-letter country code ([ISO 3166-1
-- alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentSourceOwner'Address'Country] :: PaymentSourceOwner'Address' -> Maybe Text
-- | line1: Address line 1 (e.g., street, PO Box, or company name).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentSourceOwner'Address'Line1] :: PaymentSourceOwner'Address' -> Maybe Text
-- | line2: Address line 2 (e.g., apartment, suite, unit, or building).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentSourceOwner'Address'Line2] :: PaymentSourceOwner'Address' -> Maybe Text
-- | postal_code: ZIP or postal code.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentSourceOwner'Address'PostalCode] :: PaymentSourceOwner'Address' -> Maybe Text
-- | state: State, county, province, or region.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentSourceOwner'Address'State] :: PaymentSourceOwner'Address' -> Maybe Text
-- | Create a new PaymentSourceOwner'Address' with all required
-- fields.
mkPaymentSourceOwner'Address' :: PaymentSourceOwner'Address'
-- | 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.
data PaymentSourceOwner'VerifiedAddress'
PaymentSourceOwner'VerifiedAddress' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PaymentSourceOwner'VerifiedAddress'
-- | city: City, district, suburb, town, or village.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentSourceOwner'VerifiedAddress'City] :: PaymentSourceOwner'VerifiedAddress' -> Maybe Text
-- | country: Two-letter country code ([ISO 3166-1
-- alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentSourceOwner'VerifiedAddress'Country] :: PaymentSourceOwner'VerifiedAddress' -> Maybe Text
-- | line1: Address line 1 (e.g., street, PO Box, or company name).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentSourceOwner'VerifiedAddress'Line1] :: PaymentSourceOwner'VerifiedAddress' -> Maybe Text
-- | line2: Address line 2 (e.g., apartment, suite, unit, or building).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentSourceOwner'VerifiedAddress'Line2] :: PaymentSourceOwner'VerifiedAddress' -> Maybe Text
-- | postal_code: ZIP or postal code.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentSourceOwner'VerifiedAddress'PostalCode] :: PaymentSourceOwner'VerifiedAddress' -> Maybe Text
-- | state: State, county, province, or region.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentSourceOwner'VerifiedAddress'State] :: PaymentSourceOwner'VerifiedAddress' -> Maybe Text
-- | Create a new PaymentSourceOwner'VerifiedAddress' with all
-- required fields.
mkPaymentSourceOwner'VerifiedAddress' :: PaymentSourceOwner'VerifiedAddress'
-- | 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 PaymentSourceRecipient'Variants
PaymentSourceRecipient'Text :: Text -> PaymentSourceRecipient'Variants
PaymentSourceRecipient'Recipient :: Recipient -> PaymentSourceRecipient'Variants
-- | 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 PaymentSourceSettings'
PaymentSourceSettings' :: Maybe AccountBacsDebitPaymentsSettings -> Maybe AccountBrandingSettings -> Maybe AccountCardIssuingSettings -> Maybe AccountCardPaymentsSettings -> Maybe AccountDashboardSettings -> Maybe AccountPaymentsSettings -> Maybe AccountPayoutSettings -> Maybe AccountSepaDebitPaymentsSettings -> PaymentSourceSettings'
-- | bacs_debit_payments:
[paymentSourceSettings'BacsDebitPayments] :: PaymentSourceSettings' -> Maybe AccountBacsDebitPaymentsSettings
-- | branding:
[paymentSourceSettings'Branding] :: PaymentSourceSettings' -> Maybe AccountBrandingSettings
-- | card_issuing:
[paymentSourceSettings'CardIssuing] :: PaymentSourceSettings' -> Maybe AccountCardIssuingSettings
-- | card_payments:
[paymentSourceSettings'CardPayments] :: PaymentSourceSettings' -> Maybe AccountCardPaymentsSettings
-- | dashboard:
[paymentSourceSettings'Dashboard] :: PaymentSourceSettings' -> Maybe AccountDashboardSettings
-- | payments:
[paymentSourceSettings'Payments] :: PaymentSourceSettings' -> Maybe AccountPaymentsSettings
-- | payouts:
[paymentSourceSettings'Payouts] :: PaymentSourceSettings' -> Maybe AccountPayoutSettings
-- | sepa_debit_payments:
[paymentSourceSettings'SepaDebitPayments] :: PaymentSourceSettings' -> Maybe AccountSepaDebitPaymentsSettings
-- | Create a new PaymentSourceSettings' with all required fields.
mkPaymentSourceSettings' :: PaymentSourceSettings'
-- | 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.
data PaymentSourceTransactions'
PaymentSourceTransactions' :: [BitcoinTransaction] -> Bool -> Text -> PaymentSourceTransactions'
-- | data: Details about each object.
[paymentSourceTransactions'Data] :: PaymentSourceTransactions' -> [BitcoinTransaction]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[paymentSourceTransactions'HasMore] :: PaymentSourceTransactions' -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentSourceTransactions'Url] :: PaymentSourceTransactions' -> Text
-- | Create a new PaymentSourceTransactions' with all required
-- fields.
mkPaymentSourceTransactions' :: [BitcoinTransaction] -> Bool -> Text -> PaymentSourceTransactions'
-- | 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`.
data PaymentSourceType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PaymentSourceType'Other :: Value -> PaymentSourceType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PaymentSourceType'Typed :: Text -> PaymentSourceType'
-- | Represents the JSON value "custom"
PaymentSourceType'EnumCustom :: PaymentSourceType'
-- | Represents the JSON value "express"
PaymentSourceType'EnumExpress :: PaymentSourceType'
-- | Represents the JSON value "standard"
PaymentSourceType'EnumStandard :: PaymentSourceType'
instance GHC.Classes.Eq StripeAPI.Types.PaymentSource.PaymentSourceAccount'Variants
instance GHC.Show.Show StripeAPI.Types.PaymentSource.PaymentSourceAccount'Variants
instance GHC.Classes.Eq StripeAPI.Types.PaymentSource.PaymentSourceAvailablePayoutMethods'
instance GHC.Show.Show StripeAPI.Types.PaymentSource.PaymentSourceAvailablePayoutMethods'
instance GHC.Classes.Eq StripeAPI.Types.PaymentSource.PaymentSourceBusinessProfile'SupportAddress'
instance GHC.Show.Show StripeAPI.Types.PaymentSource.PaymentSourceBusinessProfile'SupportAddress'
instance GHC.Classes.Eq StripeAPI.Types.PaymentSource.PaymentSourceBusinessProfile'
instance GHC.Show.Show StripeAPI.Types.PaymentSource.PaymentSourceBusinessProfile'
instance GHC.Classes.Eq StripeAPI.Types.PaymentSource.PaymentSourceBusinessType'
instance GHC.Show.Show StripeAPI.Types.PaymentSource.PaymentSourceBusinessType'
instance GHC.Classes.Eq StripeAPI.Types.PaymentSource.PaymentSourceCustomer'Variants
instance GHC.Show.Show StripeAPI.Types.PaymentSource.PaymentSourceCustomer'Variants
instance GHC.Classes.Eq StripeAPI.Types.PaymentSource.PaymentSourceExternalAccounts'Data'Account'Variants
instance GHC.Show.Show StripeAPI.Types.PaymentSource.PaymentSourceExternalAccounts'Data'Account'Variants
instance GHC.Classes.Eq StripeAPI.Types.PaymentSource.PaymentSourceExternalAccounts'Data'AvailablePayoutMethods'
instance GHC.Show.Show StripeAPI.Types.PaymentSource.PaymentSourceExternalAccounts'Data'AvailablePayoutMethods'
instance GHC.Classes.Eq StripeAPI.Types.PaymentSource.PaymentSourceExternalAccounts'Data'Customer'Variants
instance GHC.Show.Show StripeAPI.Types.PaymentSource.PaymentSourceExternalAccounts'Data'Customer'Variants
instance GHC.Classes.Eq StripeAPI.Types.PaymentSource.PaymentSourceExternalAccounts'Data'Object'
instance GHC.Show.Show StripeAPI.Types.PaymentSource.PaymentSourceExternalAccounts'Data'Object'
instance GHC.Classes.Eq StripeAPI.Types.PaymentSource.PaymentSourceExternalAccounts'Data'Recipient'Variants
instance GHC.Show.Show StripeAPI.Types.PaymentSource.PaymentSourceExternalAccounts'Data'Recipient'Variants
instance GHC.Classes.Eq StripeAPI.Types.PaymentSource.PaymentSourceExternalAccounts'Data'
instance GHC.Show.Show StripeAPI.Types.PaymentSource.PaymentSourceExternalAccounts'Data'
instance GHC.Classes.Eq StripeAPI.Types.PaymentSource.PaymentSourceExternalAccounts'
instance GHC.Show.Show StripeAPI.Types.PaymentSource.PaymentSourceExternalAccounts'
instance GHC.Classes.Eq StripeAPI.Types.PaymentSource.PaymentSourceObject'
instance GHC.Show.Show StripeAPI.Types.PaymentSource.PaymentSourceObject'
instance GHC.Classes.Eq StripeAPI.Types.PaymentSource.PaymentSourceOwner'Address'
instance GHC.Show.Show StripeAPI.Types.PaymentSource.PaymentSourceOwner'Address'
instance GHC.Classes.Eq StripeAPI.Types.PaymentSource.PaymentSourceOwner'VerifiedAddress'
instance GHC.Show.Show StripeAPI.Types.PaymentSource.PaymentSourceOwner'VerifiedAddress'
instance GHC.Classes.Eq StripeAPI.Types.PaymentSource.PaymentSourceOwner'
instance GHC.Show.Show StripeAPI.Types.PaymentSource.PaymentSourceOwner'
instance GHC.Classes.Eq StripeAPI.Types.PaymentSource.PaymentSourceRecipient'Variants
instance GHC.Show.Show StripeAPI.Types.PaymentSource.PaymentSourceRecipient'Variants
instance GHC.Classes.Eq StripeAPI.Types.PaymentSource.PaymentSourceSettings'
instance GHC.Show.Show StripeAPI.Types.PaymentSource.PaymentSourceSettings'
instance GHC.Classes.Eq StripeAPI.Types.PaymentSource.PaymentSourceTransactions'
instance GHC.Show.Show StripeAPI.Types.PaymentSource.PaymentSourceTransactions'
instance GHC.Classes.Eq StripeAPI.Types.PaymentSource.PaymentSourceType'
instance GHC.Show.Show StripeAPI.Types.PaymentSource.PaymentSourceType'
instance GHC.Classes.Eq StripeAPI.Types.PaymentSource.PaymentSource
instance GHC.Show.Show StripeAPI.Types.PaymentSource.PaymentSource
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentSource.PaymentSource
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentSource.PaymentSource
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentSource.PaymentSourceType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentSource.PaymentSourceType'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentSource.PaymentSourceTransactions'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentSource.PaymentSourceTransactions'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentSource.PaymentSourceSettings'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentSource.PaymentSourceSettings'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentSource.PaymentSourceRecipient'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentSource.PaymentSourceRecipient'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentSource.PaymentSourceOwner'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentSource.PaymentSourceOwner'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentSource.PaymentSourceOwner'VerifiedAddress'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentSource.PaymentSourceOwner'VerifiedAddress'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentSource.PaymentSourceOwner'Address'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentSource.PaymentSourceOwner'Address'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentSource.PaymentSourceObject'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentSource.PaymentSourceObject'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentSource.PaymentSourceExternalAccounts'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentSource.PaymentSourceExternalAccounts'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentSource.PaymentSourceExternalAccounts'Data'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentSource.PaymentSourceExternalAccounts'Data'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentSource.PaymentSourceExternalAccounts'Data'Recipient'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentSource.PaymentSourceExternalAccounts'Data'Recipient'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentSource.PaymentSourceExternalAccounts'Data'Object'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentSource.PaymentSourceExternalAccounts'Data'Object'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentSource.PaymentSourceExternalAccounts'Data'Customer'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentSource.PaymentSourceExternalAccounts'Data'Customer'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentSource.PaymentSourceExternalAccounts'Data'AvailablePayoutMethods'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentSource.PaymentSourceExternalAccounts'Data'AvailablePayoutMethods'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentSource.PaymentSourceExternalAccounts'Data'Account'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentSource.PaymentSourceExternalAccounts'Data'Account'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentSource.PaymentSourceCustomer'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentSource.PaymentSourceCustomer'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentSource.PaymentSourceBusinessType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentSource.PaymentSourceBusinessType'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentSource.PaymentSourceBusinessProfile'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentSource.PaymentSourceBusinessProfile'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentSource.PaymentSourceBusinessProfile'SupportAddress'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentSource.PaymentSourceBusinessProfile'SupportAddress'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentSource.PaymentSourceAvailablePayoutMethods'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentSource.PaymentSourceAvailablePayoutMethods'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentSource.PaymentSourceAccount'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentSource.PaymentSourceAccount'Variants
-- | Contains the types generated from the schema ApiErrors
module StripeAPI.Types.ApiErrors
-- | Defines the object schema located at
-- components.schemas.api_errors in the specification.
data ApiErrors
ApiErrors :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe PaymentIntent -> Maybe PaymentMethod -> Maybe Text -> Maybe SetupIntent -> Maybe ApiErrorsSource' -> ApiErrorsType' -> ApiErrors
-- | charge: For card errors, the ID of the failed charge.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[apiErrorsCharge] :: ApiErrors -> Maybe Text
-- | code: For some errors that could be handled programmatically, a short
-- string indicating the error code reported.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[apiErrorsCode] :: ApiErrors -> Maybe Text
-- | decline_code: For card errors resulting from a card issuer decline, a
-- short string indicating the card issuer's reason for the
-- decline if they provide one.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[apiErrorsDeclineCode] :: ApiErrors -> Maybe Text
-- | doc_url: A URL to more information about the error code
-- reported.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[apiErrorsDocUrl] :: ApiErrors -> Maybe Text
-- | message: A human-readable message providing more details about the
-- error. For card errors, these messages can be shown to your users.
--
-- Constraints:
--
--
-- - Maximum length of 40000
--
[apiErrorsMessage] :: ApiErrors -> Maybe Text
-- | param: If the error is parameter-specific, the parameter related to
-- the error. For example, you can use this to display a message near the
-- correct form field.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[apiErrorsParam] :: ApiErrors -> Maybe Text
-- | payment_intent: A PaymentIntent guides you through the process of
-- collecting a payment from your customer. We recommend that you create
-- exactly one PaymentIntent for each order or customer session in your
-- system. You can reference the PaymentIntent later to see the history
-- of payment attempts for a particular session.
--
-- A PaymentIntent transitions through multiple statuses
-- throughout its lifetime as it interfaces with Stripe.js to perform
-- authentication flows and ultimately creates at most one successful
-- charge.
--
-- Related guide: Payment Intents API.
[apiErrorsPaymentIntent] :: ApiErrors -> Maybe PaymentIntent
-- | payment_method: PaymentMethod objects represent your customer's
-- payment instruments. They can be used with PaymentIntents to
-- collect payments or saved to Customer objects to store instrument
-- details for future payments.
--
-- Related guides: Payment Methods and More Payment
-- Scenarios.
[apiErrorsPaymentMethod] :: ApiErrors -> Maybe PaymentMethod
-- | payment_method_type: If the error is specific to the type of payment
-- method, the payment method type that had a problem. This field is only
-- populated for invoice-related errors.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[apiErrorsPaymentMethodType] :: ApiErrors -> Maybe Text
-- | setup_intent: A SetupIntent guides you through the process of setting
-- up and saving a customer's payment credentials for future payments.
-- For example, you could use a SetupIntent to set up and save your
-- customer's card without immediately collecting a payment. Later, you
-- can use PaymentIntents to drive the payment flow.
--
-- Create a SetupIntent as soon as you're ready to collect your
-- customer's payment credentials. Do not maintain long-lived,
-- unconfirmed SetupIntents as they may no longer be valid. The
-- SetupIntent then transitions through multiple statuses as it
-- guides you through the setup process.
--
-- Successful SetupIntents result in payment credentials that are
-- optimized for future payments. For example, cardholders in certain
-- regions may need to be run through Strong Customer
-- Authentication at the time of payment method collection in order
-- to streamline later off-session payments. If the SetupIntent is
-- used with a Customer, upon success, it will automatically
-- attach the resulting payment method to that Customer. We recommend
-- using SetupIntents or setup_future_usage on PaymentIntents to
-- save payment methods in order to prevent saving invalid or unoptimized
-- payment methods.
--
-- By using SetupIntents, you ensure that your customers experience the
-- minimum set of required friction, even as regulations change over
-- time.
--
-- Related guide: Setup Intents API.
[apiErrorsSetupIntent] :: ApiErrors -> Maybe SetupIntent
-- | source: The source object for errors returned on a request involving a
-- source.
[apiErrorsSource] :: ApiErrors -> Maybe ApiErrorsSource'
-- | type: The type of error returned. One of `api_connection_error`,
-- `api_error`, `authentication_error`, `card_error`,
-- `idempotency_error`, `invalid_request_error`, or `rate_limit_error`
[apiErrorsType] :: ApiErrors -> ApiErrorsType'
-- | Create a new ApiErrors with all required fields.
mkApiErrors :: ApiErrorsType' -> ApiErrors
-- | Defines the object schema located at
-- components.schemas.api_errors.properties.source.anyOf in the
-- specification.
--
-- The source object for errors returned on a request involving a source.
data ApiErrorsSource'
ApiErrorsSource' :: Maybe ApiErrorsSource'Account'Variants -> Maybe Text -> Maybe Text -> Maybe SourceTypeAchCreditTransfer -> Maybe SourceTypeAchDebit -> Maybe SourceTypeAcssDebit -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe SourceTypeAlipay -> Maybe Int -> Maybe SourceTypeAuBecsDebit -> Maybe [ApiErrorsSource'AvailablePayoutMethods'] -> Maybe SourceTypeBancontact -> Maybe Text -> Maybe Text -> Maybe SourceTypeCard -> Maybe SourceTypeCardPresent -> Maybe Text -> Maybe SourceCodeVerificationFlow -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe ApiErrorsSource'Customer'Variants -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe SourceTypeEps -> Maybe Int -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe SourceTypeGiropay -> Maybe Text -> Maybe SourceTypeIdeal -> Maybe SourceTypeKlarna -> Maybe Text -> Maybe Bool -> Maybe Object -> Maybe SourceTypeMultibanco -> Maybe Text -> Maybe ApiErrorsSource'Object' -> Maybe ApiErrorsSource'Owner' -> Maybe SourceTypeP24 -> Maybe SourceReceiverFlow -> Maybe ApiErrorsSource'Recipient'Variants -> Maybe SourceRedirectFlow -> Maybe Text -> Maybe SourceTypeSepaDebit -> Maybe SourceTypeSofort -> Maybe SourceOrder -> Maybe Text -> Maybe Text -> Maybe SourceTypeThreeDSecure -> Maybe Text -> Maybe ApiErrorsSource'Type' -> Maybe Text -> Maybe SourceTypeWechat -> ApiErrorsSource'
-- | account: The ID of the account that the bank account is associated
-- with.
[apiErrorsSource'Account] :: ApiErrorsSource' -> Maybe ApiErrorsSource'Account'Variants
-- | account_holder_name: The name of the person or business that owns the
-- bank account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[apiErrorsSource'AccountHolderName] :: ApiErrorsSource' -> Maybe Text
-- | account_holder_type: The type of entity that holds the account. This
-- can be either `individual` or `company`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[apiErrorsSource'AccountHolderType] :: ApiErrorsSource' -> Maybe Text
-- | ach_credit_transfer
[apiErrorsSource'AchCreditTransfer] :: ApiErrorsSource' -> Maybe SourceTypeAchCreditTransfer
-- | ach_debit
[apiErrorsSource'AchDebit] :: ApiErrorsSource' -> Maybe SourceTypeAchDebit
-- | acss_debit
[apiErrorsSource'AcssDebit] :: ApiErrorsSource' -> Maybe SourceTypeAcssDebit
-- | address_city: City/District/Suburb/Town/Village.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[apiErrorsSource'AddressCity] :: ApiErrorsSource' -> Maybe Text
-- | address_country: Billing address country, if provided when creating
-- card.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[apiErrorsSource'AddressCountry] :: ApiErrorsSource' -> Maybe Text
-- | address_line1: Address line 1 (Street address/PO Box/Company name).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[apiErrorsSource'AddressLine1] :: ApiErrorsSource' -> Maybe Text
-- | address_line1_check: If `address_line1` was provided, results of the
-- check: `pass`, `fail`, `unavailable`, or `unchecked`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[apiErrorsSource'AddressLine1Check] :: ApiErrorsSource' -> Maybe Text
-- | address_line2: Address line 2 (Apartment/Suite/Unit/Building).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[apiErrorsSource'AddressLine2] :: ApiErrorsSource' -> Maybe Text
-- | address_state: State/County/Province/Region.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[apiErrorsSource'AddressState] :: ApiErrorsSource' -> Maybe Text
-- | address_zip: ZIP or postal code.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[apiErrorsSource'AddressZip] :: ApiErrorsSource' -> Maybe Text
-- | address_zip_check: If `address_zip` was provided, results of the
-- check: `pass`, `fail`, `unavailable`, or `unchecked`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[apiErrorsSource'AddressZipCheck] :: ApiErrorsSource' -> Maybe Text
-- | alipay
[apiErrorsSource'Alipay] :: ApiErrorsSource' -> Maybe SourceTypeAlipay
-- | amount: A positive integer in the smallest currency unit (that is, 100
-- cents for $1.00, or 1 for ¥1, Japanese Yen being a zero-decimal
-- currency) representing the total amount associated with the source.
-- This is the amount for which the source will be chargeable once ready.
-- Required for `single_use` sources.
[apiErrorsSource'Amount] :: ApiErrorsSource' -> Maybe Int
-- | au_becs_debit
[apiErrorsSource'AuBecsDebit] :: ApiErrorsSource' -> Maybe SourceTypeAuBecsDebit
-- | available_payout_methods: A set of available payout methods for this
-- bank account. Only values from this set should be passed as the
-- `method` when creating a payout.
[apiErrorsSource'AvailablePayoutMethods] :: ApiErrorsSource' -> Maybe [ApiErrorsSource'AvailablePayoutMethods']
-- | bancontact
[apiErrorsSource'Bancontact] :: ApiErrorsSource' -> Maybe SourceTypeBancontact
-- | bank_name: Name of the bank associated with the routing number (e.g.,
-- `WELLS FARGO`).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[apiErrorsSource'BankName] :: ApiErrorsSource' -> Maybe Text
-- | brand: Card brand. Can be `American Express`, `Diners Club`,
-- `Discover`, `JCB`, `MasterCard`, `UnionPay`, `Visa`, or `Unknown`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[apiErrorsSource'Brand] :: ApiErrorsSource' -> Maybe Text
-- | card
[apiErrorsSource'Card] :: ApiErrorsSource' -> Maybe SourceTypeCard
-- | card_present
[apiErrorsSource'CardPresent] :: ApiErrorsSource' -> Maybe SourceTypeCardPresent
-- | client_secret: The client secret of the source. Used for client-side
-- retrieval using a publishable key.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[apiErrorsSource'ClientSecret] :: ApiErrorsSource' -> Maybe Text
-- | code_verification:
[apiErrorsSource'CodeVerification] :: ApiErrorsSource' -> Maybe SourceCodeVerificationFlow
-- | country: Two-letter ISO code representing the country the bank account
-- is located in.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[apiErrorsSource'Country] :: ApiErrorsSource' -> Maybe Text
-- | created: Time at which the object was created. Measured in seconds
-- since the Unix epoch.
[apiErrorsSource'Created] :: ApiErrorsSource' -> Maybe Int
-- | currency: Three-letter ISO code for the currency paid out to
-- the bank account.
[apiErrorsSource'Currency] :: ApiErrorsSource' -> Maybe Text
-- | customer: The ID of the customer that the bank account is associated
-- with.
[apiErrorsSource'Customer] :: ApiErrorsSource' -> Maybe ApiErrorsSource'Customer'Variants
-- | cvc_check: If a CVC was provided, results of the check: `pass`,
-- `fail`, `unavailable`, or `unchecked`. A result of unchecked indicates
-- that CVC was provided but hasn't been checked yet. Checks are
-- typically performed when attaching a card to a Customer object, or
-- when creating a charge. For more details, see Check if a card is
-- valid without a charge.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[apiErrorsSource'CvcCheck] :: ApiErrorsSource' -> Maybe Text
-- | default_for_currency: Whether this bank account is the default
-- external account for its currency.
[apiErrorsSource'DefaultForCurrency] :: ApiErrorsSource' -> Maybe Bool
-- | dynamic_last4: (For tokenized numbers only.) The last four digits of
-- the device account number.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[apiErrorsSource'DynamicLast4] :: ApiErrorsSource' -> Maybe Text
-- | eps
[apiErrorsSource'Eps] :: ApiErrorsSource' -> Maybe SourceTypeEps
-- | exp_month: Two-digit number representing the card's expiration month.
[apiErrorsSource'ExpMonth] :: ApiErrorsSource' -> Maybe Int
-- | exp_year: Four-digit number representing the card's expiration year.
[apiErrorsSource'ExpYear] :: ApiErrorsSource' -> Maybe Int
-- | fingerprint: Uniquely identifies this particular bank account. You can
-- use this attribute to check whether two bank accounts are the same.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[apiErrorsSource'Fingerprint] :: ApiErrorsSource' -> Maybe Text
-- | flow: The authentication `flow` of the source. `flow` is one of
-- `redirect`, `receiver`, `code_verification`, `none`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[apiErrorsSource'Flow] :: ApiErrorsSource' -> Maybe Text
-- | funding: Card funding type. Can be `credit`, `debit`, `prepaid`, or
-- `unknown`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[apiErrorsSource'Funding] :: ApiErrorsSource' -> Maybe Text
-- | giropay
[apiErrorsSource'Giropay] :: ApiErrorsSource' -> Maybe SourceTypeGiropay
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[apiErrorsSource'Id] :: ApiErrorsSource' -> Maybe Text
-- | ideal
[apiErrorsSource'Ideal] :: ApiErrorsSource' -> Maybe SourceTypeIdeal
-- | klarna
[apiErrorsSource'Klarna] :: ApiErrorsSource' -> Maybe SourceTypeKlarna
-- | last4: The last four digits of the bank account number.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[apiErrorsSource'Last4] :: ApiErrorsSource' -> Maybe Text
-- | livemode: Has the value `true` if the object exists in live mode or
-- the value `false` if the object exists in test mode.
[apiErrorsSource'Livemode] :: ApiErrorsSource' -> Maybe Bool
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format.
[apiErrorsSource'Metadata] :: ApiErrorsSource' -> Maybe Object
-- | multibanco
[apiErrorsSource'Multibanco] :: ApiErrorsSource' -> Maybe SourceTypeMultibanco
-- | name: Cardholder name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[apiErrorsSource'Name] :: ApiErrorsSource' -> Maybe Text
-- | object: String representing the object's type. Objects of the same
-- type share the same value.
[apiErrorsSource'Object] :: ApiErrorsSource' -> Maybe ApiErrorsSource'Object'
-- | owner: Information about the owner of the payment instrument that may
-- be used or required by particular source types.
[apiErrorsSource'Owner] :: ApiErrorsSource' -> Maybe ApiErrorsSource'Owner'
-- | p24
[apiErrorsSource'P24] :: ApiErrorsSource' -> Maybe SourceTypeP24
-- | receiver:
[apiErrorsSource'Receiver] :: ApiErrorsSource' -> Maybe SourceReceiverFlow
-- | recipient: 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.
[apiErrorsSource'Recipient] :: ApiErrorsSource' -> Maybe ApiErrorsSource'Recipient'Variants
-- | redirect:
[apiErrorsSource'Redirect] :: ApiErrorsSource' -> Maybe SourceRedirectFlow
-- | routing_number: The routing transit number for the bank account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[apiErrorsSource'RoutingNumber] :: ApiErrorsSource' -> Maybe Text
-- | sepa_debit
[apiErrorsSource'SepaDebit] :: ApiErrorsSource' -> Maybe SourceTypeSepaDebit
-- | sofort
[apiErrorsSource'Sofort] :: ApiErrorsSource' -> Maybe SourceTypeSofort
-- | source_order:
[apiErrorsSource'SourceOrder] :: ApiErrorsSource' -> Maybe SourceOrder
-- | statement_descriptor: Extra information about a source. This will
-- appear on your customer's statement every time you charge the source.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[apiErrorsSource'StatementDescriptor] :: ApiErrorsSource' -> Maybe Text
-- | status: For bank accounts, possible values are `new`, `validated`,
-- `verified`, `verification_failed`, or `errored`. A bank account that
-- hasn't had any activity or validation performed is `new`. If Stripe
-- can determine that the bank account exists, its status will be
-- `validated`. Note that there often isn’t enough information to know
-- (e.g., for smaller credit unions), and the validation is not always
-- run. If customer bank account verification has succeeded, the bank
-- account status will be `verified`. If the verification failed for any
-- reason, such as microdeposit failure, the status will be
-- `verification_failed`. If a transfer sent to this bank account fails,
-- we'll set the status to `errored` and will not continue to send
-- transfers until the bank details are updated.
--
-- For external accounts, possible values are `new` and `errored`.
-- Validations aren't run against external accounts because they're only
-- used for payouts. This means the other statuses don't apply. If a
-- transfer fails, the status is set to `errored` and transfers are
-- stopped until account details are updated.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[apiErrorsSource'Status] :: ApiErrorsSource' -> Maybe Text
-- | three_d_secure
[apiErrorsSource'ThreeDSecure] :: ApiErrorsSource' -> Maybe SourceTypeThreeDSecure
-- | tokenization_method: If the card number is tokenized, this is the
-- method that was used. Can be `android_pay` (includes Google Pay),
-- `apple_pay`, `masterpass`, `visa_checkout`, or null.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[apiErrorsSource'TokenizationMethod] :: ApiErrorsSource' -> Maybe Text
-- | type: The `type` of the source. The `type` is a payment method, one of
-- `ach_credit_transfer`, `ach_debit`, `alipay`, `bancontact`, `card`,
-- `card_present`, `eps`, `giropay`, `ideal`, `multibanco`, `klarna`,
-- `p24`, `sepa_debit`, `sofort`, `three_d_secure`, or `wechat`. An
-- additional hash is included on the source with a name matching this
-- value. It contains additional information specific to the payment
-- method used.
[apiErrorsSource'Type] :: ApiErrorsSource' -> Maybe ApiErrorsSource'Type'
-- | usage: Either `reusable` or `single_use`. Whether this source should
-- be reusable or not. Some source types may or may not be reusable by
-- construction, while others may leave the option at creation. If an
-- incompatible value is passed, an error will be returned.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[apiErrorsSource'Usage] :: ApiErrorsSource' -> Maybe Text
-- | wechat
[apiErrorsSource'Wechat] :: ApiErrorsSource' -> Maybe SourceTypeWechat
-- | Create a new ApiErrorsSource' with all required fields.
mkApiErrorsSource' :: ApiErrorsSource'
-- | Defines the oneOf schema located at
-- components.schemas.api_errors.properties.source.anyOf.properties.account.anyOf
-- in the specification.
--
-- The ID of the account that the bank account is associated with.
data ApiErrorsSource'Account'Variants
ApiErrorsSource'Account'Text :: Text -> ApiErrorsSource'Account'Variants
ApiErrorsSource'Account'Account :: Account -> ApiErrorsSource'Account'Variants
-- | Defines the enum schema located at
-- components.schemas.api_errors.properties.source.anyOf.properties.available_payout_methods.items
-- in the specification.
data ApiErrorsSource'AvailablePayoutMethods'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
ApiErrorsSource'AvailablePayoutMethods'Other :: Value -> ApiErrorsSource'AvailablePayoutMethods'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
ApiErrorsSource'AvailablePayoutMethods'Typed :: Text -> ApiErrorsSource'AvailablePayoutMethods'
-- | Represents the JSON value "instant"
ApiErrorsSource'AvailablePayoutMethods'EnumInstant :: ApiErrorsSource'AvailablePayoutMethods'
-- | Represents the JSON value "standard"
ApiErrorsSource'AvailablePayoutMethods'EnumStandard :: ApiErrorsSource'AvailablePayoutMethods'
-- | Defines the oneOf schema located at
-- components.schemas.api_errors.properties.source.anyOf.properties.customer.anyOf
-- in the specification.
--
-- The ID of the customer that the bank account is associated with.
data ApiErrorsSource'Customer'Variants
ApiErrorsSource'Customer'Text :: Text -> ApiErrorsSource'Customer'Variants
ApiErrorsSource'Customer'Customer :: Customer -> ApiErrorsSource'Customer'Variants
ApiErrorsSource'Customer'DeletedCustomer :: DeletedCustomer -> ApiErrorsSource'Customer'Variants
-- | Defines the enum schema located at
-- components.schemas.api_errors.properties.source.anyOf.properties.object
-- in the specification.
--
-- String representing the object's type. Objects of the same type share
-- the same value.
data ApiErrorsSource'Object'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
ApiErrorsSource'Object'Other :: Value -> ApiErrorsSource'Object'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
ApiErrorsSource'Object'Typed :: Text -> ApiErrorsSource'Object'
-- | Represents the JSON value "bank_account"
ApiErrorsSource'Object'EnumBankAccount :: ApiErrorsSource'Object'
-- | Defines the object schema located at
-- components.schemas.api_errors.properties.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.
data ApiErrorsSource'Owner'
ApiErrorsSource'Owner' :: Maybe ApiErrorsSource'Owner'Address' -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe ApiErrorsSource'Owner'VerifiedAddress' -> Maybe Text -> Maybe Text -> Maybe Text -> ApiErrorsSource'Owner'
-- | address: Owner's address.
[apiErrorsSource'Owner'Address] :: ApiErrorsSource'Owner' -> Maybe ApiErrorsSource'Owner'Address'
-- | email: Owner's email address.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[apiErrorsSource'Owner'Email] :: ApiErrorsSource'Owner' -> Maybe Text
-- | name: Owner's full name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[apiErrorsSource'Owner'Name] :: ApiErrorsSource'Owner' -> Maybe Text
-- | phone: Owner's phone number (including extension).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[apiErrorsSource'Owner'Phone] :: ApiErrorsSource'Owner' -> Maybe Text
-- | verified_address: 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.
[apiErrorsSource'Owner'VerifiedAddress] :: ApiErrorsSource'Owner' -> Maybe ApiErrorsSource'Owner'VerifiedAddress'
-- | verified_email: Verified owner's email 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.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[apiErrorsSource'Owner'VerifiedEmail] :: ApiErrorsSource'Owner' -> Maybe Text
-- | verified_name: Verified owner's full name. 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.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[apiErrorsSource'Owner'VerifiedName] :: ApiErrorsSource'Owner' -> Maybe Text
-- | verified_phone: Verified owner's phone number (including extension).
-- 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.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[apiErrorsSource'Owner'VerifiedPhone] :: ApiErrorsSource'Owner' -> Maybe Text
-- | Create a new ApiErrorsSource'Owner' with all required fields.
mkApiErrorsSource'Owner' :: ApiErrorsSource'Owner'
-- | Defines the object schema located at
-- components.schemas.api_errors.properties.source.anyOf.properties.owner.anyOf.properties.address.anyOf
-- in the specification.
--
-- Owner\'s address.
data ApiErrorsSource'Owner'Address'
ApiErrorsSource'Owner'Address' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> ApiErrorsSource'Owner'Address'
-- | city: City, district, suburb, town, or village.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[apiErrorsSource'Owner'Address'City] :: ApiErrorsSource'Owner'Address' -> Maybe Text
-- | country: Two-letter country code ([ISO 3166-1
-- alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[apiErrorsSource'Owner'Address'Country] :: ApiErrorsSource'Owner'Address' -> Maybe Text
-- | line1: Address line 1 (e.g., street, PO Box, or company name).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[apiErrorsSource'Owner'Address'Line1] :: ApiErrorsSource'Owner'Address' -> Maybe Text
-- | line2: Address line 2 (e.g., apartment, suite, unit, or building).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[apiErrorsSource'Owner'Address'Line2] :: ApiErrorsSource'Owner'Address' -> Maybe Text
-- | postal_code: ZIP or postal code.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[apiErrorsSource'Owner'Address'PostalCode] :: ApiErrorsSource'Owner'Address' -> Maybe Text
-- | state: State, county, province, or region.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[apiErrorsSource'Owner'Address'State] :: ApiErrorsSource'Owner'Address' -> Maybe Text
-- | Create a new ApiErrorsSource'Owner'Address' with all required
-- fields.
mkApiErrorsSource'Owner'Address' :: ApiErrorsSource'Owner'Address'
-- | Defines the object schema located at
-- components.schemas.api_errors.properties.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.
data ApiErrorsSource'Owner'VerifiedAddress'
ApiErrorsSource'Owner'VerifiedAddress' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> ApiErrorsSource'Owner'VerifiedAddress'
-- | city: City, district, suburb, town, or village.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[apiErrorsSource'Owner'VerifiedAddress'City] :: ApiErrorsSource'Owner'VerifiedAddress' -> Maybe Text
-- | country: Two-letter country code ([ISO 3166-1
-- alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[apiErrorsSource'Owner'VerifiedAddress'Country] :: ApiErrorsSource'Owner'VerifiedAddress' -> Maybe Text
-- | line1: Address line 1 (e.g., street, PO Box, or company name).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[apiErrorsSource'Owner'VerifiedAddress'Line1] :: ApiErrorsSource'Owner'VerifiedAddress' -> Maybe Text
-- | line2: Address line 2 (e.g., apartment, suite, unit, or building).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[apiErrorsSource'Owner'VerifiedAddress'Line2] :: ApiErrorsSource'Owner'VerifiedAddress' -> Maybe Text
-- | postal_code: ZIP or postal code.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[apiErrorsSource'Owner'VerifiedAddress'PostalCode] :: ApiErrorsSource'Owner'VerifiedAddress' -> Maybe Text
-- | state: State, county, province, or region.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[apiErrorsSource'Owner'VerifiedAddress'State] :: ApiErrorsSource'Owner'VerifiedAddress' -> Maybe Text
-- | Create a new ApiErrorsSource'Owner'VerifiedAddress' with all
-- required fields.
mkApiErrorsSource'Owner'VerifiedAddress' :: ApiErrorsSource'Owner'VerifiedAddress'
-- | Defines the oneOf schema located at
-- components.schemas.api_errors.properties.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 ApiErrorsSource'Recipient'Variants
ApiErrorsSource'Recipient'Text :: Text -> ApiErrorsSource'Recipient'Variants
ApiErrorsSource'Recipient'Recipient :: Recipient -> ApiErrorsSource'Recipient'Variants
-- | Defines the enum schema located at
-- components.schemas.api_errors.properties.source.anyOf.properties.type
-- in the specification.
--
-- The `type` of the source. The `type` is a payment method, one of
-- `ach_credit_transfer`, `ach_debit`, `alipay`, `bancontact`, `card`,
-- `card_present`, `eps`, `giropay`, `ideal`, `multibanco`, `klarna`,
-- `p24`, `sepa_debit`, `sofort`, `three_d_secure`, or `wechat`. An
-- additional hash is included on the source with a name matching this
-- value. It contains additional information specific to the payment
-- method used.
data ApiErrorsSource'Type'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
ApiErrorsSource'Type'Other :: Value -> ApiErrorsSource'Type'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
ApiErrorsSource'Type'Typed :: Text -> ApiErrorsSource'Type'
-- | Represents the JSON value "ach_credit_transfer"
ApiErrorsSource'Type'EnumAchCreditTransfer :: ApiErrorsSource'Type'
-- | Represents the JSON value "ach_debit"
ApiErrorsSource'Type'EnumAchDebit :: ApiErrorsSource'Type'
-- | Represents the JSON value "acss_debit"
ApiErrorsSource'Type'EnumAcssDebit :: ApiErrorsSource'Type'
-- | Represents the JSON value "alipay"
ApiErrorsSource'Type'EnumAlipay :: ApiErrorsSource'Type'
-- | Represents the JSON value "au_becs_debit"
ApiErrorsSource'Type'EnumAuBecsDebit :: ApiErrorsSource'Type'
-- | Represents the JSON value "bancontact"
ApiErrorsSource'Type'EnumBancontact :: ApiErrorsSource'Type'
-- | Represents the JSON value "card"
ApiErrorsSource'Type'EnumCard :: ApiErrorsSource'Type'
-- | Represents the JSON value "card_present"
ApiErrorsSource'Type'EnumCardPresent :: ApiErrorsSource'Type'
-- | Represents the JSON value "eps"
ApiErrorsSource'Type'EnumEps :: ApiErrorsSource'Type'
-- | Represents the JSON value "giropay"
ApiErrorsSource'Type'EnumGiropay :: ApiErrorsSource'Type'
-- | Represents the JSON value "ideal"
ApiErrorsSource'Type'EnumIdeal :: ApiErrorsSource'Type'
-- | Represents the JSON value "klarna"
ApiErrorsSource'Type'EnumKlarna :: ApiErrorsSource'Type'
-- | Represents the JSON value "multibanco"
ApiErrorsSource'Type'EnumMultibanco :: ApiErrorsSource'Type'
-- | Represents the JSON value "p24"
ApiErrorsSource'Type'EnumP24 :: ApiErrorsSource'Type'
-- | Represents the JSON value "sepa_debit"
ApiErrorsSource'Type'EnumSepaDebit :: ApiErrorsSource'Type'
-- | Represents the JSON value "sofort"
ApiErrorsSource'Type'EnumSofort :: ApiErrorsSource'Type'
-- | Represents the JSON value "three_d_secure"
ApiErrorsSource'Type'EnumThreeDSecure :: ApiErrorsSource'Type'
-- | Represents the JSON value "wechat"
ApiErrorsSource'Type'EnumWechat :: ApiErrorsSource'Type'
-- | Defines the enum schema located at
-- components.schemas.api_errors.properties.type in the
-- specification.
--
-- The type of error returned. One of `api_connection_error`,
-- `api_error`, `authentication_error`, `card_error`,
-- `idempotency_error`, `invalid_request_error`, or `rate_limit_error`
data ApiErrorsType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
ApiErrorsType'Other :: Value -> ApiErrorsType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
ApiErrorsType'Typed :: Text -> ApiErrorsType'
-- | Represents the JSON value "api_connection_error"
ApiErrorsType'EnumApiConnectionError :: ApiErrorsType'
-- | Represents the JSON value "api_error"
ApiErrorsType'EnumApiError :: ApiErrorsType'
-- | Represents the JSON value "authentication_error"
ApiErrorsType'EnumAuthenticationError :: ApiErrorsType'
-- | Represents the JSON value "card_error"
ApiErrorsType'EnumCardError :: ApiErrorsType'
-- | Represents the JSON value "idempotency_error"
ApiErrorsType'EnumIdempotencyError :: ApiErrorsType'
-- | Represents the JSON value "invalid_request_error"
ApiErrorsType'EnumInvalidRequestError :: ApiErrorsType'
-- | Represents the JSON value "rate_limit_error"
ApiErrorsType'EnumRateLimitError :: ApiErrorsType'
instance GHC.Classes.Eq StripeAPI.Types.ApiErrors.ApiErrorsSource'Account'Variants
instance GHC.Show.Show StripeAPI.Types.ApiErrors.ApiErrorsSource'Account'Variants
instance GHC.Classes.Eq StripeAPI.Types.ApiErrors.ApiErrorsSource'AvailablePayoutMethods'
instance GHC.Show.Show StripeAPI.Types.ApiErrors.ApiErrorsSource'AvailablePayoutMethods'
instance GHC.Classes.Eq StripeAPI.Types.ApiErrors.ApiErrorsSource'Customer'Variants
instance GHC.Show.Show StripeAPI.Types.ApiErrors.ApiErrorsSource'Customer'Variants
instance GHC.Classes.Eq StripeAPI.Types.ApiErrors.ApiErrorsSource'Object'
instance GHC.Show.Show StripeAPI.Types.ApiErrors.ApiErrorsSource'Object'
instance GHC.Classes.Eq StripeAPI.Types.ApiErrors.ApiErrorsSource'Owner'Address'
instance GHC.Show.Show StripeAPI.Types.ApiErrors.ApiErrorsSource'Owner'Address'
instance GHC.Classes.Eq StripeAPI.Types.ApiErrors.ApiErrorsSource'Owner'VerifiedAddress'
instance GHC.Show.Show StripeAPI.Types.ApiErrors.ApiErrorsSource'Owner'VerifiedAddress'
instance GHC.Classes.Eq StripeAPI.Types.ApiErrors.ApiErrorsSource'Owner'
instance GHC.Show.Show StripeAPI.Types.ApiErrors.ApiErrorsSource'Owner'
instance GHC.Classes.Eq StripeAPI.Types.ApiErrors.ApiErrorsSource'Recipient'Variants
instance GHC.Show.Show StripeAPI.Types.ApiErrors.ApiErrorsSource'Recipient'Variants
instance GHC.Classes.Eq StripeAPI.Types.ApiErrors.ApiErrorsSource'Type'
instance GHC.Show.Show StripeAPI.Types.ApiErrors.ApiErrorsSource'Type'
instance GHC.Classes.Eq StripeAPI.Types.ApiErrors.ApiErrorsSource'
instance GHC.Show.Show StripeAPI.Types.ApiErrors.ApiErrorsSource'
instance GHC.Classes.Eq StripeAPI.Types.ApiErrors.ApiErrorsType'
instance GHC.Show.Show StripeAPI.Types.ApiErrors.ApiErrorsType'
instance GHC.Classes.Eq StripeAPI.Types.ApiErrors.ApiErrors
instance GHC.Show.Show StripeAPI.Types.ApiErrors.ApiErrors
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.ApiErrors.ApiErrors
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.ApiErrors.ApiErrors
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.ApiErrors.ApiErrorsType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.ApiErrors.ApiErrorsType'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.ApiErrors.ApiErrorsSource'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.ApiErrors.ApiErrorsSource'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.ApiErrors.ApiErrorsSource'Type'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.ApiErrors.ApiErrorsSource'Type'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.ApiErrors.ApiErrorsSource'Recipient'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.ApiErrors.ApiErrorsSource'Recipient'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.ApiErrors.ApiErrorsSource'Owner'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.ApiErrors.ApiErrorsSource'Owner'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.ApiErrors.ApiErrorsSource'Owner'VerifiedAddress'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.ApiErrors.ApiErrorsSource'Owner'VerifiedAddress'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.ApiErrors.ApiErrorsSource'Owner'Address'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.ApiErrors.ApiErrorsSource'Owner'Address'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.ApiErrors.ApiErrorsSource'Object'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.ApiErrors.ApiErrorsSource'Object'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.ApiErrors.ApiErrorsSource'Customer'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.ApiErrors.ApiErrorsSource'Customer'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.ApiErrors.ApiErrorsSource'AvailablePayoutMethods'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.ApiErrors.ApiErrorsSource'AvailablePayoutMethods'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.ApiErrors.ApiErrorsSource'Account'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.ApiErrors.ApiErrorsSource'Account'Variants
-- | Contains the types generated from the schema SourceTypeWechat
module StripeAPI.Types.SourceTypeWechat
-- | Defines the object schema located at
-- components.schemas.source_type_wechat in the specification.
data SourceTypeWechat
SourceTypeWechat :: Maybe Text -> Maybe Text -> Maybe Text -> SourceTypeWechat
-- | prepay_id
[sourceTypeWechatPrepayId] :: SourceTypeWechat -> Maybe Text
-- | qr_code_url
[sourceTypeWechatQrCodeUrl] :: SourceTypeWechat -> Maybe Text
-- | statement_descriptor
[sourceTypeWechatStatementDescriptor] :: SourceTypeWechat -> Maybe Text
-- | Create a new SourceTypeWechat with all required fields.
mkSourceTypeWechat :: SourceTypeWechat
instance GHC.Classes.Eq StripeAPI.Types.SourceTypeWechat.SourceTypeWechat
instance GHC.Show.Show StripeAPI.Types.SourceTypeWechat.SourceTypeWechat
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SourceTypeWechat.SourceTypeWechat
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SourceTypeWechat.SourceTypeWechat
-- | Contains the types generated from the schema Order
module StripeAPI.Types.Order
-- | Defines the object schema located at components.schemas.order
-- in the specification.
--
-- Order objects are created to handle end customers' purchases of
-- previously defined products. You can create, retrieve, and pay
-- individual orders, as well as list all orders. Orders are identified
-- by a unique, random ID.
--
-- Related guide: Tax, Shipping, and Inventory.
data Order
Order :: Int -> Maybe Int -> Maybe Text -> Maybe Int -> Maybe OrderCharge'Variants -> Int -> Text -> Maybe OrderCustomer'Variants -> Maybe Text -> Maybe Text -> Text -> [OrderItem] -> Bool -> Maybe Object -> Maybe OrderReturns' -> Maybe Text -> Maybe OrderShipping' -> Maybe [ShippingMethod] -> Text -> Maybe OrderStatusTransitions' -> Maybe Int -> Maybe Text -> Order
-- | amount: A positive integer in the smallest currency unit (that is, 100
-- cents for $1.00, or 1 for ¥1, Japanese Yen being a zero-decimal
-- currency) representing the total amount for the order.
[orderAmount] :: Order -> Int
-- | amount_returned: The total amount that was returned to the customer.
[orderAmountReturned] :: Order -> Maybe Int
-- | application: ID of the Connect Application that created the order.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[orderApplication] :: Order -> Maybe Text
-- | application_fee: A fee in cents that will be applied to the order and
-- transferred to the application owner’s Stripe account. The request
-- must be made with an OAuth key or the Stripe-Account header in order
-- to take an application fee. For more information, see the application
-- fees documentation.
[orderApplicationFee] :: Order -> Maybe Int
-- | charge: The ID of the payment used to pay for the order. Present if
-- the order status is `paid`, `fulfilled`, or `refunded`.
[orderCharge] :: Order -> Maybe OrderCharge'Variants
-- | created: Time at which the object was created. Measured in seconds
-- since the Unix epoch.
[orderCreated] :: Order -> Int
-- | currency: Three-letter ISO currency code, in lowercase. Must be
-- a supported currency.
[orderCurrency] :: Order -> Text
-- | customer: The customer used for the order.
[orderCustomer] :: Order -> Maybe OrderCustomer'Variants
-- | email: The email address of the customer placing the order.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[orderEmail] :: Order -> Maybe Text
-- | external_coupon_code: External coupon code to load for this order.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[orderExternalCouponCode] :: Order -> Maybe Text
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[orderId] :: Order -> Text
-- | items: List of items constituting the order. An order can have up to
-- 25 items.
[orderItems] :: Order -> [OrderItem]
-- | livemode: Has the value `true` if the object exists in live mode or
-- the value `false` if the object exists in test mode.
[orderLivemode] :: Order -> Bool
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format.
[orderMetadata] :: Order -> Maybe Object
-- | returns: A list of returns that have taken place for this order.
[orderReturns] :: Order -> Maybe OrderReturns'
-- | selected_shipping_method: The shipping method that is currently
-- selected for this order, if any. If present, it is equal to one of the
-- `id`s of shipping methods in the `shipping_methods` array. At order
-- creation time, if there are multiple shipping methods, Stripe will
-- automatically selected the first method.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[orderSelectedShippingMethod] :: Order -> Maybe Text
-- | shipping: The shipping address for the order. Present if the order is
-- for goods to be shipped.
[orderShipping] :: Order -> Maybe OrderShipping'
-- | shipping_methods: A list of supported shipping methods for this order.
-- The desired shipping method can be specified either by updating the
-- order, or when paying it.
[orderShippingMethods] :: Order -> Maybe [ShippingMethod]
-- | status: Current order status. One of `created`, `paid`, `canceled`,
-- `fulfilled`, or `returned`. More details in the Orders Guide.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[orderStatus] :: Order -> Text
-- | status_transitions: The timestamps at which the order status was
-- updated.
[orderStatusTransitions] :: Order -> Maybe OrderStatusTransitions'
-- | updated: Time at which the object was last updated. Measured in
-- seconds since the Unix epoch.
[orderUpdated] :: Order -> Maybe Int
-- | upstream_id: The user's order ID if it is different from the Stripe
-- order ID.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[orderUpstreamId] :: Order -> Maybe Text
-- | Create a new Order with all required fields.
mkOrder :: Int -> Int -> Text -> Text -> [OrderItem] -> Bool -> Text -> Order
-- | Defines the oneOf schema located at
-- components.schemas.order.properties.charge.anyOf in the
-- specification.
--
-- The ID of the payment used to pay for the order. Present if the order
-- status is `paid`, `fulfilled`, or `refunded`.
data OrderCharge'Variants
OrderCharge'Text :: Text -> OrderCharge'Variants
OrderCharge'Charge :: Charge -> OrderCharge'Variants
-- | Defines the oneOf schema located at
-- components.schemas.order.properties.customer.anyOf in the
-- specification.
--
-- The customer used for the order.
data OrderCustomer'Variants
OrderCustomer'Text :: Text -> OrderCustomer'Variants
OrderCustomer'Customer :: Customer -> OrderCustomer'Variants
OrderCustomer'DeletedCustomer :: DeletedCustomer -> OrderCustomer'Variants
-- | Defines the object schema located at
-- components.schemas.order.properties.returns in the
-- specification.
--
-- A list of returns that have taken place for this order.
data OrderReturns'
OrderReturns' :: [OrderReturn] -> Bool -> Text -> OrderReturns'
-- | data: Details about each object.
[orderReturns'Data] :: OrderReturns' -> [OrderReturn]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[orderReturns'HasMore] :: OrderReturns' -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[orderReturns'Url] :: OrderReturns' -> Text
-- | Create a new OrderReturns' with all required fields.
mkOrderReturns' :: [OrderReturn] -> Bool -> Text -> OrderReturns'
-- | Defines the object schema located at
-- components.schemas.order.properties.shipping.anyOf in the
-- specification.
--
-- The shipping address for the order. Present if the order is for goods
-- to be shipped.
data OrderShipping'
OrderShipping' :: Maybe Address -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> OrderShipping'
-- | address:
[orderShipping'Address] :: OrderShipping' -> Maybe Address
-- | carrier: The delivery service that shipped a physical product, such as
-- Fedex, UPS, USPS, etc.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[orderShipping'Carrier] :: OrderShipping' -> Maybe Text
-- | name: Recipient name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[orderShipping'Name] :: OrderShipping' -> Maybe Text
-- | phone: Recipient phone (including extension).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[orderShipping'Phone] :: OrderShipping' -> Maybe Text
-- | tracking_number: The tracking number for a physical product, obtained
-- from the delivery service. If multiple tracking numbers were generated
-- for this purchase, please separate them with commas.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[orderShipping'TrackingNumber] :: OrderShipping' -> Maybe Text
-- | Create a new OrderShipping' with all required fields.
mkOrderShipping' :: OrderShipping'
-- | Defines the object schema located at
-- components.schemas.order.properties.status_transitions.anyOf
-- in the specification.
--
-- The timestamps at which the order status was updated.
data OrderStatusTransitions'
OrderStatusTransitions' :: Maybe Int -> Maybe Int -> Maybe Int -> Maybe Int -> OrderStatusTransitions'
-- | canceled: The time that the order was canceled.
[orderStatusTransitions'Canceled] :: OrderStatusTransitions' -> Maybe Int
-- | fulfiled: The time that the order was fulfilled.
[orderStatusTransitions'Fulfiled] :: OrderStatusTransitions' -> Maybe Int
-- | paid: The time that the order was paid.
[orderStatusTransitions'Paid] :: OrderStatusTransitions' -> Maybe Int
-- | returned: The time that the order was returned.
[orderStatusTransitions'Returned] :: OrderStatusTransitions' -> Maybe Int
-- | Create a new OrderStatusTransitions' with all required fields.
mkOrderStatusTransitions' :: OrderStatusTransitions'
instance GHC.Classes.Eq StripeAPI.Types.Order.OrderCharge'Variants
instance GHC.Show.Show StripeAPI.Types.Order.OrderCharge'Variants
instance GHC.Classes.Eq StripeAPI.Types.Order.OrderCustomer'Variants
instance GHC.Show.Show StripeAPI.Types.Order.OrderCustomer'Variants
instance GHC.Classes.Eq StripeAPI.Types.Order.OrderReturns'
instance GHC.Show.Show StripeAPI.Types.Order.OrderReturns'
instance GHC.Classes.Eq StripeAPI.Types.Order.OrderShipping'
instance GHC.Show.Show StripeAPI.Types.Order.OrderShipping'
instance GHC.Classes.Eq StripeAPI.Types.Order.OrderStatusTransitions'
instance GHC.Show.Show StripeAPI.Types.Order.OrderStatusTransitions'
instance GHC.Classes.Eq StripeAPI.Types.Order.Order
instance GHC.Show.Show StripeAPI.Types.Order.Order
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Order.Order
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Order.Order
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Order.OrderStatusTransitions'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Order.OrderStatusTransitions'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Order.OrderShipping'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Order.OrderShipping'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Order.OrderReturns'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Order.OrderReturns'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Order.OrderCustomer'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Order.OrderCustomer'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Order.OrderCharge'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Order.OrderCharge'Variants
-- | Contains the types generated from the schema StatusTransitions
module StripeAPI.Types.StatusTransitions
-- | Defines the object schema located at
-- components.schemas.status_transitions in the specification.
data StatusTransitions
StatusTransitions :: Maybe Int -> Maybe Int -> Maybe Int -> Maybe Int -> StatusTransitions
-- | canceled: The time that the order was canceled.
[statusTransitionsCanceled] :: StatusTransitions -> Maybe Int
-- | fulfiled: The time that the order was fulfilled.
[statusTransitionsFulfiled] :: StatusTransitions -> Maybe Int
-- | paid: The time that the order was paid.
[statusTransitionsPaid] :: StatusTransitions -> Maybe Int
-- | returned: The time that the order was returned.
[statusTransitionsReturned] :: StatusTransitions -> Maybe Int
-- | Create a new StatusTransitions with all required fields.
mkStatusTransitions :: StatusTransitions
instance GHC.Classes.Eq StripeAPI.Types.StatusTransitions.StatusTransitions
instance GHC.Show.Show StripeAPI.Types.StatusTransitions.StatusTransitions
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.StatusTransitions.StatusTransitions
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.StatusTransitions.StatusTransitions
-- | Contains the types generated from the schema Checkout_Session
module StripeAPI.Types.Checkout_Session
-- | Defines the object schema located at
-- components.schemas.checkout.session in the specification.
--
-- A Checkout Session represents your customer's session as they pay for
-- one-time purchases or subscriptions through Checkout. We
-- recommend creating a new Session each time your customer attempts to
-- pay.
--
-- Once payment is successful, the Checkout Session will contain a
-- reference to the Customer, and either the successful
-- PaymentIntent or an active Subscription.
--
-- You can create a Checkout Session on your server and pass its ID to
-- the client to begin Checkout.
--
-- Related guide: Checkout Server Quickstart.
data Checkout'session
Checkout'session :: Maybe Bool -> Maybe Int -> Maybe Int -> PaymentPagesCheckoutSessionAutomaticTax -> Maybe Checkout'sessionBillingAddressCollection' -> Text -> Maybe Text -> Maybe Text -> Maybe Checkout'sessionCustomer'Variants -> Maybe Checkout'sessionCustomerDetails' -> Maybe Text -> Text -> Maybe Checkout'sessionLineItems' -> Bool -> Maybe Checkout'sessionLocale' -> Maybe Object -> Checkout'sessionMode' -> Maybe Checkout'sessionPaymentIntent'Variants -> Maybe Checkout'sessionPaymentMethodOptions' -> [Text] -> Checkout'sessionPaymentStatus' -> Maybe Checkout'sessionSetupIntent'Variants -> Maybe Checkout'sessionShipping' -> Maybe Checkout'sessionShippingAddressCollection' -> Maybe Checkout'sessionSubmitType' -> Maybe Checkout'sessionSubscription'Variants -> Text -> Maybe PaymentPagesCheckoutSessionTaxIdCollection -> Maybe Checkout'sessionTotalDetails' -> Maybe Text -> Checkout'session
-- | allow_promotion_codes: Enables user redeemable promotion codes.
[checkout'sessionAllowPromotionCodes] :: Checkout'session -> Maybe Bool
-- | amount_subtotal: Total of all items before discounts or taxes are
-- applied.
[checkout'sessionAmountSubtotal] :: Checkout'session -> Maybe Int
-- | amount_total: Total of all items after discounts and taxes are
-- applied.
[checkout'sessionAmountTotal] :: Checkout'session -> Maybe Int
-- | automatic_tax:
[checkout'sessionAutomaticTax] :: Checkout'session -> PaymentPagesCheckoutSessionAutomaticTax
-- | billing_address_collection: Describes whether Checkout should collect
-- the customer's billing address.
[checkout'sessionBillingAddressCollection] :: Checkout'session -> Maybe Checkout'sessionBillingAddressCollection'
-- | cancel_url: The URL the customer will be directed to if they decide to
-- cancel payment and return to your website.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[checkout'sessionCancelUrl] :: Checkout'session -> Text
-- | client_reference_id: A unique string to reference the Checkout
-- Session. This can be a customer ID, a cart ID, or similar, and can be
-- used to reconcile the Session with your internal systems.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[checkout'sessionClientReferenceId] :: Checkout'session -> Maybe Text
-- | currency: Three-letter ISO currency code, in lowercase. Must be
-- a supported currency.
[checkout'sessionCurrency] :: Checkout'session -> Maybe Text
-- | customer: The ID of the customer for this Session. For Checkout
-- Sessions in `payment` or `subscription` mode, Checkout will create a
-- new customer object based on information provided during the payment
-- flow unless an existing customer was provided when the Session was
-- created.
[checkout'sessionCustomer] :: Checkout'session -> Maybe Checkout'sessionCustomer'Variants
-- | customer_details: The customer details including the customer's tax
-- exempt status and the customer's tax IDs. Only present on Sessions in
-- `payment` or `subscription` mode.
[checkout'sessionCustomerDetails] :: Checkout'session -> Maybe Checkout'sessionCustomerDetails'
-- | customer_email: If provided, this value will be used when the Customer
-- object is created. If not provided, customers will be asked to enter
-- their email address. Use this parameter to prefill customer data if
-- you already have an email on file. To access information about the
-- customer once the payment flow is complete, use the `customer`
-- attribute.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[checkout'sessionCustomerEmail] :: Checkout'session -> Maybe Text
-- | id: Unique identifier for the object. Used to pass to
-- `redirectToCheckout` in Stripe.js.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[checkout'sessionId] :: Checkout'session -> Text
-- | line_items: The line items purchased by the customer.
[checkout'sessionLineItems] :: Checkout'session -> Maybe Checkout'sessionLineItems'
-- | livemode: Has the value `true` if the object exists in live mode or
-- the value `false` if the object exists in test mode.
[checkout'sessionLivemode] :: Checkout'session -> Bool
-- | locale: The IETF language tag of the locale Checkout is displayed in.
-- If blank or `auto`, the browser's locale is used.
[checkout'sessionLocale] :: Checkout'session -> Maybe Checkout'sessionLocale'
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format.
[checkout'sessionMetadata] :: Checkout'session -> Maybe Object
-- | mode: The mode of the Checkout Session.
[checkout'sessionMode] :: Checkout'session -> Checkout'sessionMode'
-- | payment_intent: The ID of the PaymentIntent for Checkout Sessions in
-- `payment` mode.
[checkout'sessionPaymentIntent] :: Checkout'session -> Maybe Checkout'sessionPaymentIntent'Variants
-- | payment_method_options: Payment-method-specific configuration for the
-- PaymentIntent or SetupIntent of this CheckoutSession.
[checkout'sessionPaymentMethodOptions] :: Checkout'session -> Maybe Checkout'sessionPaymentMethodOptions'
-- | payment_method_types: A list of the types of payment methods (e.g.
-- card) this Checkout Session is allowed to accept.
[checkout'sessionPaymentMethodTypes] :: Checkout'session -> [Text]
-- | payment_status: The payment status of the Checkout Session, one of
-- `paid`, `unpaid`, or `no_payment_required`. You can use this value to
-- decide when to fulfill your customer's order.
[checkout'sessionPaymentStatus] :: Checkout'session -> Checkout'sessionPaymentStatus'
-- | setup_intent: The ID of the SetupIntent for Checkout Sessions in
-- `setup` mode.
[checkout'sessionSetupIntent] :: Checkout'session -> Maybe Checkout'sessionSetupIntent'Variants
-- | shipping: Shipping information for this Checkout Session.
[checkout'sessionShipping] :: Checkout'session -> Maybe Checkout'sessionShipping'
-- | shipping_address_collection: When set, provides configuration for
-- Checkout to collect a shipping address from a customer.
[checkout'sessionShippingAddressCollection] :: Checkout'session -> Maybe Checkout'sessionShippingAddressCollection'
-- | submit_type: Describes the type of transaction being performed by
-- Checkout in order to customize relevant text on the page, such as the
-- submit button. `submit_type` can only be specified on Checkout
-- Sessions in `payment` mode, but not Checkout Sessions in
-- `subscription` or `setup` mode.
[checkout'sessionSubmitType] :: Checkout'session -> Maybe Checkout'sessionSubmitType'
-- | subscription: The ID of the subscription for Checkout Sessions in
-- `subscription` mode.
[checkout'sessionSubscription] :: Checkout'session -> Maybe Checkout'sessionSubscription'Variants
-- | success_url: The URL the customer will be directed to after the
-- payment or subscription creation is successful.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[checkout'sessionSuccessUrl] :: Checkout'session -> Text
-- | tax_id_collection:
[checkout'sessionTaxIdCollection] :: Checkout'session -> Maybe PaymentPagesCheckoutSessionTaxIdCollection
-- | total_details: Tax and discount details for the computed total amount.
[checkout'sessionTotalDetails] :: Checkout'session -> Maybe Checkout'sessionTotalDetails'
-- | url: The URL to the Checkout Session.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[checkout'sessionUrl] :: Checkout'session -> Maybe Text
-- | Create a new Checkout'session with all required fields.
mkCheckout'session :: PaymentPagesCheckoutSessionAutomaticTax -> Text -> Text -> Bool -> Checkout'sessionMode' -> [Text] -> Checkout'sessionPaymentStatus' -> Text -> Checkout'session
-- | Defines the enum schema located at
-- components.schemas.checkout.session.properties.billing_address_collection
-- in the specification.
--
-- Describes whether Checkout should collect the customer's billing
-- address.
data Checkout'sessionBillingAddressCollection'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
Checkout'sessionBillingAddressCollection'Other :: Value -> Checkout'sessionBillingAddressCollection'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
Checkout'sessionBillingAddressCollection'Typed :: Text -> Checkout'sessionBillingAddressCollection'
-- | Represents the JSON value "auto"
Checkout'sessionBillingAddressCollection'EnumAuto :: Checkout'sessionBillingAddressCollection'
-- | Represents the JSON value "required"
Checkout'sessionBillingAddressCollection'EnumRequired :: Checkout'sessionBillingAddressCollection'
-- | Defines the oneOf schema located at
-- components.schemas.checkout.session.properties.customer.anyOf
-- in the specification.
--
-- The ID of the customer for this Session. For Checkout Sessions in
-- `payment` or `subscription` mode, Checkout will create a new customer
-- object based on information provided during the payment flow unless an
-- existing customer was provided when the Session was created.
data Checkout'sessionCustomer'Variants
Checkout'sessionCustomer'Text :: Text -> Checkout'sessionCustomer'Variants
Checkout'sessionCustomer'Customer :: Customer -> Checkout'sessionCustomer'Variants
Checkout'sessionCustomer'DeletedCustomer :: DeletedCustomer -> Checkout'sessionCustomer'Variants
-- | Defines the object schema located at
-- components.schemas.checkout.session.properties.customer_details.anyOf
-- in the specification.
--
-- The customer details including the customer\'s tax exempt status and
-- the customer\'s tax IDs. Only present on Sessions in \`payment\` or
-- \`subscription\` mode.
data Checkout'sessionCustomerDetails'
Checkout'sessionCustomerDetails' :: Maybe Text -> Maybe Checkout'sessionCustomerDetails'TaxExempt' -> Maybe [PaymentPagesCheckoutSessionTaxId] -> Checkout'sessionCustomerDetails'
-- | email: The customer’s email at time of checkout.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[checkout'sessionCustomerDetails'Email] :: Checkout'sessionCustomerDetails' -> Maybe Text
-- | tax_exempt: The customer’s tax exempt status at time of checkout.
[checkout'sessionCustomerDetails'TaxExempt] :: Checkout'sessionCustomerDetails' -> Maybe Checkout'sessionCustomerDetails'TaxExempt'
-- | tax_ids: The customer’s tax IDs at time of checkout.
[checkout'sessionCustomerDetails'TaxIds] :: Checkout'sessionCustomerDetails' -> Maybe [PaymentPagesCheckoutSessionTaxId]
-- | Create a new Checkout'sessionCustomerDetails' with all required
-- fields.
mkCheckout'sessionCustomerDetails' :: Checkout'sessionCustomerDetails'
-- | Defines the enum schema located at
-- components.schemas.checkout.session.properties.customer_details.anyOf.properties.tax_exempt
-- in the specification.
--
-- The customer’s tax exempt status at time of checkout.
data Checkout'sessionCustomerDetails'TaxExempt'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
Checkout'sessionCustomerDetails'TaxExempt'Other :: Value -> Checkout'sessionCustomerDetails'TaxExempt'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
Checkout'sessionCustomerDetails'TaxExempt'Typed :: Text -> Checkout'sessionCustomerDetails'TaxExempt'
-- | Represents the JSON value "exempt"
Checkout'sessionCustomerDetails'TaxExempt'EnumExempt :: Checkout'sessionCustomerDetails'TaxExempt'
-- | Represents the JSON value "none"
Checkout'sessionCustomerDetails'TaxExempt'EnumNone :: Checkout'sessionCustomerDetails'TaxExempt'
-- | Represents the JSON value "reverse"
Checkout'sessionCustomerDetails'TaxExempt'EnumReverse :: Checkout'sessionCustomerDetails'TaxExempt'
-- | Defines the object schema located at
-- components.schemas.checkout.session.properties.line_items in
-- the specification.
--
-- The line items purchased by the customer.
data Checkout'sessionLineItems'
Checkout'sessionLineItems' :: [Item] -> Bool -> Text -> Checkout'sessionLineItems'
-- | data: Details about each object.
[checkout'sessionLineItems'Data] :: Checkout'sessionLineItems' -> [Item]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[checkout'sessionLineItems'HasMore] :: Checkout'sessionLineItems' -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[checkout'sessionLineItems'Url] :: Checkout'sessionLineItems' -> Text
-- | Create a new Checkout'sessionLineItems' with all required
-- fields.
mkCheckout'sessionLineItems' :: [Item] -> Bool -> Text -> Checkout'sessionLineItems'
-- | Defines the enum schema located at
-- components.schemas.checkout.session.properties.locale in the
-- specification.
--
-- The IETF language tag of the locale Checkout is displayed in. If blank
-- or `auto`, the browser's locale is used.
data Checkout'sessionLocale'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
Checkout'sessionLocale'Other :: Value -> Checkout'sessionLocale'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
Checkout'sessionLocale'Typed :: Text -> Checkout'sessionLocale'
-- | Represents the JSON value "auto"
Checkout'sessionLocale'EnumAuto :: Checkout'sessionLocale'
-- | Represents the JSON value "bg"
Checkout'sessionLocale'EnumBg :: Checkout'sessionLocale'
-- | Represents the JSON value "cs"
Checkout'sessionLocale'EnumCs :: Checkout'sessionLocale'
-- | Represents the JSON value "da"
Checkout'sessionLocale'EnumDa :: Checkout'sessionLocale'
-- | Represents the JSON value "de"
Checkout'sessionLocale'EnumDe :: Checkout'sessionLocale'
-- | Represents the JSON value "el"
Checkout'sessionLocale'EnumEl :: Checkout'sessionLocale'
-- | Represents the JSON value "en"
Checkout'sessionLocale'EnumEn :: Checkout'sessionLocale'
-- | Represents the JSON value "en-GB"
Checkout'sessionLocale'EnumEnGB :: Checkout'sessionLocale'
-- | Represents the JSON value "es"
Checkout'sessionLocale'EnumEs :: Checkout'sessionLocale'
-- | Represents the JSON value "es-419"
Checkout'sessionLocale'EnumEs_419 :: Checkout'sessionLocale'
-- | Represents the JSON value "et"
Checkout'sessionLocale'EnumEt :: Checkout'sessionLocale'
-- | Represents the JSON value "fi"
Checkout'sessionLocale'EnumFi :: Checkout'sessionLocale'
-- | Represents the JSON value "fr"
Checkout'sessionLocale'EnumFr :: Checkout'sessionLocale'
-- | Represents the JSON value "fr-CA"
Checkout'sessionLocale'EnumFrCA :: Checkout'sessionLocale'
-- | Represents the JSON value "hu"
Checkout'sessionLocale'EnumHu :: Checkout'sessionLocale'
-- | Represents the JSON value "id"
Checkout'sessionLocale'EnumId :: Checkout'sessionLocale'
-- | Represents the JSON value "it"
Checkout'sessionLocale'EnumIt :: Checkout'sessionLocale'
-- | Represents the JSON value "ja"
Checkout'sessionLocale'EnumJa :: Checkout'sessionLocale'
-- | Represents the JSON value "lt"
Checkout'sessionLocale'EnumLt :: Checkout'sessionLocale'
-- | Represents the JSON value "lv"
Checkout'sessionLocale'EnumLv :: Checkout'sessionLocale'
-- | Represents the JSON value "ms"
Checkout'sessionLocale'EnumMs :: Checkout'sessionLocale'
-- | Represents the JSON value "mt"
Checkout'sessionLocale'EnumMt :: Checkout'sessionLocale'
-- | Represents the JSON value "nb"
Checkout'sessionLocale'EnumNb :: Checkout'sessionLocale'
-- | Represents the JSON value "nl"
Checkout'sessionLocale'EnumNl :: Checkout'sessionLocale'
-- | Represents the JSON value "pl"
Checkout'sessionLocale'EnumPl :: Checkout'sessionLocale'
-- | Represents the JSON value "pt"
Checkout'sessionLocale'EnumPt :: Checkout'sessionLocale'
-- | Represents the JSON value "pt-BR"
Checkout'sessionLocale'EnumPtBR :: Checkout'sessionLocale'
-- | Represents the JSON value "ro"
Checkout'sessionLocale'EnumRo :: Checkout'sessionLocale'
-- | Represents the JSON value "ru"
Checkout'sessionLocale'EnumRu :: Checkout'sessionLocale'
-- | Represents the JSON value "sk"
Checkout'sessionLocale'EnumSk :: Checkout'sessionLocale'
-- | Represents the JSON value "sl"
Checkout'sessionLocale'EnumSl :: Checkout'sessionLocale'
-- | Represents the JSON value "sv"
Checkout'sessionLocale'EnumSv :: Checkout'sessionLocale'
-- | Represents the JSON value "th"
Checkout'sessionLocale'EnumTh :: Checkout'sessionLocale'
-- | Represents the JSON value "tr"
Checkout'sessionLocale'EnumTr :: Checkout'sessionLocale'
-- | Represents the JSON value "zh"
Checkout'sessionLocale'EnumZh :: Checkout'sessionLocale'
-- | Represents the JSON value "zh-HK"
Checkout'sessionLocale'EnumZhHK :: Checkout'sessionLocale'
-- | Represents the JSON value "zh-TW"
Checkout'sessionLocale'EnumZhTW :: Checkout'sessionLocale'
-- | Defines the enum schema located at
-- components.schemas.checkout.session.properties.mode in the
-- specification.
--
-- The mode of the Checkout Session.
data Checkout'sessionMode'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
Checkout'sessionMode'Other :: Value -> Checkout'sessionMode'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
Checkout'sessionMode'Typed :: Text -> Checkout'sessionMode'
-- | Represents the JSON value "payment"
Checkout'sessionMode'EnumPayment :: Checkout'sessionMode'
-- | Represents the JSON value "setup"
Checkout'sessionMode'EnumSetup :: Checkout'sessionMode'
-- | Represents the JSON value "subscription"
Checkout'sessionMode'EnumSubscription :: Checkout'sessionMode'
-- | Defines the oneOf schema located at
-- components.schemas.checkout.session.properties.payment_intent.anyOf
-- in the specification.
--
-- The ID of the PaymentIntent for Checkout Sessions in `payment` mode.
data Checkout'sessionPaymentIntent'Variants
Checkout'sessionPaymentIntent'Text :: Text -> Checkout'sessionPaymentIntent'Variants
Checkout'sessionPaymentIntent'PaymentIntent :: PaymentIntent -> Checkout'sessionPaymentIntent'Variants
-- | Defines the object schema located at
-- components.schemas.checkout.session.properties.payment_method_options.anyOf
-- in the specification.
--
-- Payment-method-specific configuration for the PaymentIntent or
-- SetupIntent of this CheckoutSession.
data Checkout'sessionPaymentMethodOptions'
Checkout'sessionPaymentMethodOptions' :: Maybe CheckoutAcssDebitPaymentMethodOptions -> Checkout'sessionPaymentMethodOptions'
-- | acss_debit:
[checkout'sessionPaymentMethodOptions'AcssDebit] :: Checkout'sessionPaymentMethodOptions' -> Maybe CheckoutAcssDebitPaymentMethodOptions
-- | Create a new Checkout'sessionPaymentMethodOptions' with all
-- required fields.
mkCheckout'sessionPaymentMethodOptions' :: Checkout'sessionPaymentMethodOptions'
-- | Defines the enum schema located at
-- components.schemas.checkout.session.properties.payment_status
-- in the specification.
--
-- The payment status of the Checkout Session, one of `paid`, `unpaid`,
-- or `no_payment_required`. You can use this value to decide when to
-- fulfill your customer's order.
data Checkout'sessionPaymentStatus'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
Checkout'sessionPaymentStatus'Other :: Value -> Checkout'sessionPaymentStatus'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
Checkout'sessionPaymentStatus'Typed :: Text -> Checkout'sessionPaymentStatus'
-- | Represents the JSON value "no_payment_required"
Checkout'sessionPaymentStatus'EnumNoPaymentRequired :: Checkout'sessionPaymentStatus'
-- | Represents the JSON value "paid"
Checkout'sessionPaymentStatus'EnumPaid :: Checkout'sessionPaymentStatus'
-- | Represents the JSON value "unpaid"
Checkout'sessionPaymentStatus'EnumUnpaid :: Checkout'sessionPaymentStatus'
-- | Defines the oneOf schema located at
-- components.schemas.checkout.session.properties.setup_intent.anyOf
-- in the specification.
--
-- The ID of the SetupIntent for Checkout Sessions in `setup` mode.
data Checkout'sessionSetupIntent'Variants
Checkout'sessionSetupIntent'Text :: Text -> Checkout'sessionSetupIntent'Variants
Checkout'sessionSetupIntent'SetupIntent :: SetupIntent -> Checkout'sessionSetupIntent'Variants
-- | Defines the object schema located at
-- components.schemas.checkout.session.properties.shipping.anyOf
-- in the specification.
--
-- Shipping information for this Checkout Session.
data Checkout'sessionShipping'
Checkout'sessionShipping' :: Maybe Address -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Checkout'sessionShipping'
-- | address:
[checkout'sessionShipping'Address] :: Checkout'sessionShipping' -> Maybe Address
-- | carrier: The delivery service that shipped a physical product, such as
-- Fedex, UPS, USPS, etc.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[checkout'sessionShipping'Carrier] :: Checkout'sessionShipping' -> Maybe Text
-- | name: Recipient name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[checkout'sessionShipping'Name] :: Checkout'sessionShipping' -> Maybe Text
-- | phone: Recipient phone (including extension).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[checkout'sessionShipping'Phone] :: Checkout'sessionShipping' -> Maybe Text
-- | tracking_number: The tracking number for a physical product, obtained
-- from the delivery service. If multiple tracking numbers were generated
-- for this purchase, please separate them with commas.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[checkout'sessionShipping'TrackingNumber] :: Checkout'sessionShipping' -> Maybe Text
-- | Create a new Checkout'sessionShipping' with all required
-- fields.
mkCheckout'sessionShipping' :: Checkout'sessionShipping'
-- | Defines the object schema located at
-- components.schemas.checkout.session.properties.shipping_address_collection.anyOf
-- in the specification.
--
-- When set, provides configuration for Checkout to collect a shipping
-- address from a customer.
data Checkout'sessionShippingAddressCollection'
Checkout'sessionShippingAddressCollection' :: Maybe [Checkout'sessionShippingAddressCollection'AllowedCountries'] -> Checkout'sessionShippingAddressCollection'
-- | allowed_countries: An array of two-letter ISO country codes
-- representing which countries Checkout should provide as options for
-- shipping locations. Unsupported country codes: `AS, CX, CC, CU, HM,
-- IR, KP, MH, FM, NF, MP, PW, SD, SY, UM, VI`.
[checkout'sessionShippingAddressCollection'AllowedCountries] :: Checkout'sessionShippingAddressCollection' -> Maybe [Checkout'sessionShippingAddressCollection'AllowedCountries']
-- | Create a new Checkout'sessionShippingAddressCollection' with
-- all required fields.
mkCheckout'sessionShippingAddressCollection' :: Checkout'sessionShippingAddressCollection'
-- | Defines the enum schema located at
-- components.schemas.checkout.session.properties.shipping_address_collection.anyOf.properties.allowed_countries.items
-- in the specification.
data Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
Checkout'sessionShippingAddressCollection'AllowedCountries'Other :: Value -> Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
Checkout'sessionShippingAddressCollection'AllowedCountries'Typed :: Text -> Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value AC
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumAC :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value AD
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumAD :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value AE
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumAE :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value AF
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumAF :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value AG
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumAG :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value AI
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumAI :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value AL
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumAL :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value AM
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumAM :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value AO
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumAO :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value AQ
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumAQ :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value AR
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumAR :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value AT
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumAT :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value AU
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumAU :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value AW
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumAW :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value AX
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumAX :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value AZ
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumAZ :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value BA
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumBA :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value BB
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumBB :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value BD
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumBD :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value BE
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumBE :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value BF
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumBF :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value BG
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumBG :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value BH
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumBH :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value BI
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumBI :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value BJ
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumBJ :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value BL
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumBL :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value BM
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumBM :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value BN
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumBN :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value BO
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumBO :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value BQ
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumBQ :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value BR
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumBR :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value BS
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumBS :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value BT
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumBT :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value BV
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumBV :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value BW
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumBW :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value BY
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumBY :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value BZ
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumBZ :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value CA
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumCA :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value CD
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumCD :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value CF
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumCF :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value CG
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumCG :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value CH
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumCH :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value CI
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumCI :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value CK
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumCK :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value CL
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumCL :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value CM
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumCM :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value CN
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumCN :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value CO
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumCO :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value CR
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumCR :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value CV
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumCV :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value CW
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumCW :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value CY
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumCY :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value CZ
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumCZ :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value DE
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumDE :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value DJ
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumDJ :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value DK
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumDK :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value DM
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumDM :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value DO
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumDO :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value DZ
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumDZ :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value EC
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumEC :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value EE
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumEE :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value EG
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumEG :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value EH
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumEH :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value ER
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumER :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value ES
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumES :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value ET
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumET :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value FI
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumFI :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value FJ
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumFJ :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value FK
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumFK :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value FO
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumFO :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value FR
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumFR :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value GA
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumGA :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value GB
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumGB :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value GD
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumGD :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value GE
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumGE :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value GF
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumGF :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value GG
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumGG :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value GH
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumGH :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value GI
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumGI :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value GL
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumGL :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value GM
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumGM :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value GN
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumGN :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value GP
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumGP :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value GQ
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumGQ :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value GR
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumGR :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value GS
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumGS :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value GT
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumGT :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value GU
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumGU :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value GW
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumGW :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value GY
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumGY :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value HK
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumHK :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value HN
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumHN :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value HR
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumHR :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value HT
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumHT :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value HU
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumHU :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value ID
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumID :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value IE
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumIE :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value IL
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumIL :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value IM
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumIM :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value IN
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumIN :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value IO
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumIO :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value IQ
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumIQ :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value IS
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumIS :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value IT
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumIT :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value JE
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumJE :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value JM
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumJM :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value JO
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumJO :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value JP
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumJP :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value KE
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumKE :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value KG
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumKG :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value KH
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumKH :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value KI
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumKI :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value KM
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumKM :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value KN
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumKN :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value KR
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumKR :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value KW
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumKW :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value KY
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumKY :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value KZ
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumKZ :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value LA
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumLA :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value LB
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumLB :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value LC
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumLC :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value LI
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumLI :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value LK
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumLK :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value LR
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumLR :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value LS
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumLS :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value LT
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumLT :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value LU
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumLU :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value LV
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumLV :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value LY
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumLY :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value MA
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumMA :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value MC
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumMC :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value MD
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumMD :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value ME
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumME :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value MF
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumMF :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value MG
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumMG :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value MK
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumMK :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value ML
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumML :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value MM
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumMM :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value MN
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumMN :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value MO
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumMO :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value MQ
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumMQ :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value MR
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumMR :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value MS
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumMS :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value MT
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumMT :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value MU
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumMU :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value MV
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumMV :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value MW
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumMW :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value MX
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumMX :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value MY
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumMY :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value MZ
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumMZ :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value NA
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumNA :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value NC
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumNC :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value NE
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumNE :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value NG
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumNG :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value NI
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumNI :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value NL
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumNL :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value NO
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumNO :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value NP
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumNP :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value NR
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumNR :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value NU
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumNU :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value NZ
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumNZ :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value OM
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumOM :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value PA
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumPA :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value PE
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumPE :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value PF
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumPF :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value PG
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumPG :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value PH
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumPH :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value PK
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumPK :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value PL
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumPL :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value PM
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumPM :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value PN
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumPN :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value PR
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumPR :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value PS
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumPS :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value PT
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumPT :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value PY
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumPY :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value QA
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumQA :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value RE
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumRE :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value RO
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumRO :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value RS
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumRS :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value RU
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumRU :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value RW
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumRW :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value SA
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumSA :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value SB
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumSB :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value SC
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumSC :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value SE
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumSE :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value SG
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumSG :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value SH
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumSH :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value SI
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumSI :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value SJ
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumSJ :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value SK
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumSK :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value SL
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumSL :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value SM
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumSM :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value SN
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumSN :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value SO
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumSO :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value SR
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumSR :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value SS
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumSS :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value ST
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumST :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value SV
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumSV :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value SX
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumSX :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value SZ
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumSZ :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value TA
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumTA :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value TC
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumTC :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value TD
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumTD :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value TF
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumTF :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value TG
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumTG :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value TH
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumTH :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value TJ
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumTJ :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value TK
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumTK :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value TL
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumTL :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value TM
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumTM :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value TN
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumTN :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value TO
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumTO :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value TR
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumTR :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value TT
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumTT :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value TV
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumTV :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value TW
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumTW :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value TZ
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumTZ :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value UA
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumUA :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value UG
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumUG :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value US
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumUS :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value UY
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumUY :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value UZ
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumUZ :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value VA
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumVA :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value VC
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumVC :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value VE
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumVE :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value VG
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumVG :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value VN
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumVN :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value VU
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumVU :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value WF
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumWF :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value WS
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumWS :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value XK
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumXK :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value YE
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumYE :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value YT
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumYT :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value ZA
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumZA :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value ZM
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumZM :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value ZW
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumZW :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value ZZ
Checkout'sessionShippingAddressCollection'AllowedCountries'EnumZZ :: Checkout'sessionShippingAddressCollection'AllowedCountries'
-- | Defines the enum schema located at
-- components.schemas.checkout.session.properties.submit_type in
-- the specification.
--
-- Describes the type of transaction being performed by Checkout in order
-- to customize relevant text on the page, such as the submit button.
-- `submit_type` can only be specified on Checkout Sessions in `payment`
-- mode, but not Checkout Sessions in `subscription` or `setup` mode.
data Checkout'sessionSubmitType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
Checkout'sessionSubmitType'Other :: Value -> Checkout'sessionSubmitType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
Checkout'sessionSubmitType'Typed :: Text -> Checkout'sessionSubmitType'
-- | Represents the JSON value "auto"
Checkout'sessionSubmitType'EnumAuto :: Checkout'sessionSubmitType'
-- | Represents the JSON value "book"
Checkout'sessionSubmitType'EnumBook :: Checkout'sessionSubmitType'
-- | Represents the JSON value "donate"
Checkout'sessionSubmitType'EnumDonate :: Checkout'sessionSubmitType'
-- | Represents the JSON value "pay"
Checkout'sessionSubmitType'EnumPay :: Checkout'sessionSubmitType'
-- | Defines the oneOf schema located at
-- components.schemas.checkout.session.properties.subscription.anyOf
-- in the specification.
--
-- The ID of the subscription for Checkout Sessions in `subscription`
-- mode.
data Checkout'sessionSubscription'Variants
Checkout'sessionSubscription'Text :: Text -> Checkout'sessionSubscription'Variants
Checkout'sessionSubscription'Subscription :: Subscription -> Checkout'sessionSubscription'Variants
-- | Defines the object schema located at
-- components.schemas.checkout.session.properties.total_details.anyOf
-- in the specification.
--
-- Tax and discount details for the computed total amount.
data Checkout'sessionTotalDetails'
Checkout'sessionTotalDetails' :: Maybe Int -> Maybe Int -> Maybe Int -> Maybe PaymentPagesCheckoutSessionTotalDetailsResourceBreakdown -> Checkout'sessionTotalDetails'
-- | amount_discount: This is the sum of all the line item discounts.
[checkout'sessionTotalDetails'AmountDiscount] :: Checkout'sessionTotalDetails' -> Maybe Int
-- | amount_shipping: This is the sum of all the line item shipping
-- amounts.
[checkout'sessionTotalDetails'AmountShipping] :: Checkout'sessionTotalDetails' -> Maybe Int
-- | amount_tax: This is the sum of all the line item tax amounts.
[checkout'sessionTotalDetails'AmountTax] :: Checkout'sessionTotalDetails' -> Maybe Int
-- | breakdown:
[checkout'sessionTotalDetails'Breakdown] :: Checkout'sessionTotalDetails' -> Maybe PaymentPagesCheckoutSessionTotalDetailsResourceBreakdown
-- | Create a new Checkout'sessionTotalDetails' with all required
-- fields.
mkCheckout'sessionTotalDetails' :: Checkout'sessionTotalDetails'
instance GHC.Classes.Eq StripeAPI.Types.Checkout_Session.Checkout'sessionBillingAddressCollection'
instance GHC.Show.Show StripeAPI.Types.Checkout_Session.Checkout'sessionBillingAddressCollection'
instance GHC.Classes.Eq StripeAPI.Types.Checkout_Session.Checkout'sessionCustomer'Variants
instance GHC.Show.Show StripeAPI.Types.Checkout_Session.Checkout'sessionCustomer'Variants
instance GHC.Classes.Eq StripeAPI.Types.Checkout_Session.Checkout'sessionCustomerDetails'TaxExempt'
instance GHC.Show.Show StripeAPI.Types.Checkout_Session.Checkout'sessionCustomerDetails'TaxExempt'
instance GHC.Classes.Eq StripeAPI.Types.Checkout_Session.Checkout'sessionCustomerDetails'
instance GHC.Show.Show StripeAPI.Types.Checkout_Session.Checkout'sessionCustomerDetails'
instance GHC.Classes.Eq StripeAPI.Types.Checkout_Session.Checkout'sessionLineItems'
instance GHC.Show.Show StripeAPI.Types.Checkout_Session.Checkout'sessionLineItems'
instance GHC.Classes.Eq StripeAPI.Types.Checkout_Session.Checkout'sessionLocale'
instance GHC.Show.Show StripeAPI.Types.Checkout_Session.Checkout'sessionLocale'
instance GHC.Classes.Eq StripeAPI.Types.Checkout_Session.Checkout'sessionMode'
instance GHC.Show.Show StripeAPI.Types.Checkout_Session.Checkout'sessionMode'
instance GHC.Classes.Eq StripeAPI.Types.Checkout_Session.Checkout'sessionPaymentIntent'Variants
instance GHC.Show.Show StripeAPI.Types.Checkout_Session.Checkout'sessionPaymentIntent'Variants
instance GHC.Classes.Eq StripeAPI.Types.Checkout_Session.Checkout'sessionPaymentMethodOptions'
instance GHC.Show.Show StripeAPI.Types.Checkout_Session.Checkout'sessionPaymentMethodOptions'
instance GHC.Classes.Eq StripeAPI.Types.Checkout_Session.Checkout'sessionPaymentStatus'
instance GHC.Show.Show StripeAPI.Types.Checkout_Session.Checkout'sessionPaymentStatus'
instance GHC.Classes.Eq StripeAPI.Types.Checkout_Session.Checkout'sessionSetupIntent'Variants
instance GHC.Show.Show StripeAPI.Types.Checkout_Session.Checkout'sessionSetupIntent'Variants
instance GHC.Classes.Eq StripeAPI.Types.Checkout_Session.Checkout'sessionShipping'
instance GHC.Show.Show StripeAPI.Types.Checkout_Session.Checkout'sessionShipping'
instance GHC.Classes.Eq StripeAPI.Types.Checkout_Session.Checkout'sessionShippingAddressCollection'AllowedCountries'
instance GHC.Show.Show StripeAPI.Types.Checkout_Session.Checkout'sessionShippingAddressCollection'AllowedCountries'
instance GHC.Classes.Eq StripeAPI.Types.Checkout_Session.Checkout'sessionShippingAddressCollection'
instance GHC.Show.Show StripeAPI.Types.Checkout_Session.Checkout'sessionShippingAddressCollection'
instance GHC.Classes.Eq StripeAPI.Types.Checkout_Session.Checkout'sessionSubmitType'
instance GHC.Show.Show StripeAPI.Types.Checkout_Session.Checkout'sessionSubmitType'
instance GHC.Classes.Eq StripeAPI.Types.Checkout_Session.Checkout'sessionSubscription'Variants
instance GHC.Show.Show StripeAPI.Types.Checkout_Session.Checkout'sessionSubscription'Variants
instance GHC.Classes.Eq StripeAPI.Types.Checkout_Session.Checkout'sessionTotalDetails'
instance GHC.Show.Show StripeAPI.Types.Checkout_Session.Checkout'sessionTotalDetails'
instance GHC.Classes.Eq StripeAPI.Types.Checkout_Session.Checkout'session
instance GHC.Show.Show StripeAPI.Types.Checkout_Session.Checkout'session
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Checkout_Session.Checkout'session
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Checkout_Session.Checkout'session
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Checkout_Session.Checkout'sessionTotalDetails'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Checkout_Session.Checkout'sessionTotalDetails'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Checkout_Session.Checkout'sessionSubscription'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Checkout_Session.Checkout'sessionSubscription'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Checkout_Session.Checkout'sessionSubmitType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Checkout_Session.Checkout'sessionSubmitType'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Checkout_Session.Checkout'sessionShippingAddressCollection'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Checkout_Session.Checkout'sessionShippingAddressCollection'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Checkout_Session.Checkout'sessionShippingAddressCollection'AllowedCountries'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Checkout_Session.Checkout'sessionShippingAddressCollection'AllowedCountries'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Checkout_Session.Checkout'sessionShipping'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Checkout_Session.Checkout'sessionShipping'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Checkout_Session.Checkout'sessionSetupIntent'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Checkout_Session.Checkout'sessionSetupIntent'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Checkout_Session.Checkout'sessionPaymentStatus'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Checkout_Session.Checkout'sessionPaymentStatus'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Checkout_Session.Checkout'sessionPaymentMethodOptions'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Checkout_Session.Checkout'sessionPaymentMethodOptions'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Checkout_Session.Checkout'sessionPaymentIntent'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Checkout_Session.Checkout'sessionPaymentIntent'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Checkout_Session.Checkout'sessionMode'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Checkout_Session.Checkout'sessionMode'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Checkout_Session.Checkout'sessionLocale'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Checkout_Session.Checkout'sessionLocale'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Checkout_Session.Checkout'sessionLineItems'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Checkout_Session.Checkout'sessionLineItems'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Checkout_Session.Checkout'sessionCustomerDetails'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Checkout_Session.Checkout'sessionCustomerDetails'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Checkout_Session.Checkout'sessionCustomerDetails'TaxExempt'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Checkout_Session.Checkout'sessionCustomerDetails'TaxExempt'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Checkout_Session.Checkout'sessionCustomer'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Checkout_Session.Checkout'sessionCustomer'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Checkout_Session.Checkout'sessionBillingAddressCollection'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Checkout_Session.Checkout'sessionBillingAddressCollection'
-- | Contains the types generated from the schema SubscriptionAutomaticTax
module StripeAPI.Types.SubscriptionAutomaticTax
-- | Defines the object schema located at
-- components.schemas.subscription_automatic_tax in the
-- specification.
data SubscriptionAutomaticTax
SubscriptionAutomaticTax :: Bool -> SubscriptionAutomaticTax
-- | enabled: Whether Stripe automatically computes tax on this
-- subscription.
[subscriptionAutomaticTaxEnabled] :: SubscriptionAutomaticTax -> Bool
-- | Create a new SubscriptionAutomaticTax with all required fields.
mkSubscriptionAutomaticTax :: Bool -> SubscriptionAutomaticTax
instance GHC.Classes.Eq StripeAPI.Types.SubscriptionAutomaticTax.SubscriptionAutomaticTax
instance GHC.Show.Show StripeAPI.Types.SubscriptionAutomaticTax.SubscriptionAutomaticTax
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SubscriptionAutomaticTax.SubscriptionAutomaticTax
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SubscriptionAutomaticTax.SubscriptionAutomaticTax
-- | Contains the types generated from the schema
-- SubscriptionBillingThresholds
module StripeAPI.Types.SubscriptionBillingThresholds
-- | Defines the object schema located at
-- components.schemas.subscription_billing_thresholds in the
-- specification.
data SubscriptionBillingThresholds
SubscriptionBillingThresholds :: Maybe Int -> Maybe Bool -> SubscriptionBillingThresholds
-- | amount_gte: Monetary threshold that triggers the subscription to
-- create an invoice
[subscriptionBillingThresholdsAmountGte] :: SubscriptionBillingThresholds -> Maybe Int
-- | reset_billing_cycle_anchor: Indicates if the `billing_cycle_anchor`
-- should be reset when a threshold is reached. If true,
-- `billing_cycle_anchor` will be updated to the date/time the threshold
-- was last reached; otherwise, the value will remain unchanged. This
-- value may not be `true` if the subscription contains items with plans
-- that have `aggregate_usage=last_ever`.
[subscriptionBillingThresholdsResetBillingCycleAnchor] :: SubscriptionBillingThresholds -> Maybe Bool
-- | Create a new SubscriptionBillingThresholds with all required
-- fields.
mkSubscriptionBillingThresholds :: SubscriptionBillingThresholds
instance GHC.Classes.Eq StripeAPI.Types.SubscriptionBillingThresholds.SubscriptionBillingThresholds
instance GHC.Show.Show StripeAPI.Types.SubscriptionBillingThresholds.SubscriptionBillingThresholds
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SubscriptionBillingThresholds.SubscriptionBillingThresholds
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SubscriptionBillingThresholds.SubscriptionBillingThresholds
-- | Contains the types generated from the schema
-- SubscriptionItemBillingThresholds
module StripeAPI.Types.SubscriptionItemBillingThresholds
-- | Defines the object schema located at
-- components.schemas.subscription_item_billing_thresholds in
-- the specification.
data SubscriptionItemBillingThresholds
SubscriptionItemBillingThresholds :: Maybe Int -> SubscriptionItemBillingThresholds
-- | usage_gte: Usage threshold that triggers the subscription to create an
-- invoice
[subscriptionItemBillingThresholdsUsageGte] :: SubscriptionItemBillingThresholds -> Maybe Int
-- | Create a new SubscriptionItemBillingThresholds with all
-- required fields.
mkSubscriptionItemBillingThresholds :: SubscriptionItemBillingThresholds
instance GHC.Classes.Eq StripeAPI.Types.SubscriptionItemBillingThresholds.SubscriptionItemBillingThresholds
instance GHC.Show.Show StripeAPI.Types.SubscriptionItemBillingThresholds.SubscriptionItemBillingThresholds
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SubscriptionItemBillingThresholds.SubscriptionItemBillingThresholds
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SubscriptionItemBillingThresholds.SubscriptionItemBillingThresholds
-- | Contains the types generated from the schema
-- SubscriptionPendingInvoiceItemInterval
module StripeAPI.Types.SubscriptionPendingInvoiceItemInterval
-- | Defines the object schema located at
-- components.schemas.subscription_pending_invoice_item_interval
-- in the specification.
data SubscriptionPendingInvoiceItemInterval
SubscriptionPendingInvoiceItemInterval :: SubscriptionPendingInvoiceItemIntervalInterval' -> Int -> SubscriptionPendingInvoiceItemInterval
-- | interval: Specifies invoicing frequency. Either `day`, `week`, `month`
-- or `year`.
[subscriptionPendingInvoiceItemIntervalInterval] :: SubscriptionPendingInvoiceItemInterval -> SubscriptionPendingInvoiceItemIntervalInterval'
-- | interval_count: The number of intervals between invoices. For example,
-- `interval=month` and `interval_count=3` bills every 3 months. Maximum
-- of one year interval allowed (1 year, 12 months, or 52 weeks).
[subscriptionPendingInvoiceItemIntervalIntervalCount] :: SubscriptionPendingInvoiceItemInterval -> Int
-- | Create a new SubscriptionPendingInvoiceItemInterval with all
-- required fields.
mkSubscriptionPendingInvoiceItemInterval :: SubscriptionPendingInvoiceItemIntervalInterval' -> Int -> SubscriptionPendingInvoiceItemInterval
-- | Defines the enum schema located at
-- components.schemas.subscription_pending_invoice_item_interval.properties.interval
-- in the specification.
--
-- Specifies invoicing frequency. Either `day`, `week`, `month` or
-- `year`.
data SubscriptionPendingInvoiceItemIntervalInterval'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
SubscriptionPendingInvoiceItemIntervalInterval'Other :: Value -> SubscriptionPendingInvoiceItemIntervalInterval'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
SubscriptionPendingInvoiceItemIntervalInterval'Typed :: Text -> SubscriptionPendingInvoiceItemIntervalInterval'
-- | Represents the JSON value "day"
SubscriptionPendingInvoiceItemIntervalInterval'EnumDay :: SubscriptionPendingInvoiceItemIntervalInterval'
-- | Represents the JSON value "month"
SubscriptionPendingInvoiceItemIntervalInterval'EnumMonth :: SubscriptionPendingInvoiceItemIntervalInterval'
-- | Represents the JSON value "week"
SubscriptionPendingInvoiceItemIntervalInterval'EnumWeek :: SubscriptionPendingInvoiceItemIntervalInterval'
-- | Represents the JSON value "year"
SubscriptionPendingInvoiceItemIntervalInterval'EnumYear :: SubscriptionPendingInvoiceItemIntervalInterval'
instance GHC.Classes.Eq StripeAPI.Types.SubscriptionPendingInvoiceItemInterval.SubscriptionPendingInvoiceItemIntervalInterval'
instance GHC.Show.Show StripeAPI.Types.SubscriptionPendingInvoiceItemInterval.SubscriptionPendingInvoiceItemIntervalInterval'
instance GHC.Classes.Eq StripeAPI.Types.SubscriptionPendingInvoiceItemInterval.SubscriptionPendingInvoiceItemInterval
instance GHC.Show.Show StripeAPI.Types.SubscriptionPendingInvoiceItemInterval.SubscriptionPendingInvoiceItemInterval
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SubscriptionPendingInvoiceItemInterval.SubscriptionPendingInvoiceItemInterval
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SubscriptionPendingInvoiceItemInterval.SubscriptionPendingInvoiceItemInterval
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SubscriptionPendingInvoiceItemInterval.SubscriptionPendingInvoiceItemIntervalInterval'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SubscriptionPendingInvoiceItemInterval.SubscriptionPendingInvoiceItemIntervalInterval'
-- | Contains the types generated from the schema
-- SubscriptionScheduleCurrentPhase
module StripeAPI.Types.SubscriptionScheduleCurrentPhase
-- | Defines the object schema located at
-- components.schemas.subscription_schedule_current_phase in the
-- specification.
data SubscriptionScheduleCurrentPhase
SubscriptionScheduleCurrentPhase :: Int -> Int -> SubscriptionScheduleCurrentPhase
-- | end_date: The end of this phase of the subscription schedule.
[subscriptionScheduleCurrentPhaseEndDate] :: SubscriptionScheduleCurrentPhase -> Int
-- | start_date: The start of this phase of the subscription schedule.
[subscriptionScheduleCurrentPhaseStartDate] :: SubscriptionScheduleCurrentPhase -> Int
-- | Create a new SubscriptionScheduleCurrentPhase with all required
-- fields.
mkSubscriptionScheduleCurrentPhase :: Int -> Int -> SubscriptionScheduleCurrentPhase
instance GHC.Classes.Eq StripeAPI.Types.SubscriptionScheduleCurrentPhase.SubscriptionScheduleCurrentPhase
instance GHC.Show.Show StripeAPI.Types.SubscriptionScheduleCurrentPhase.SubscriptionScheduleCurrentPhase
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SubscriptionScheduleCurrentPhase.SubscriptionScheduleCurrentPhase
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SubscriptionScheduleCurrentPhase.SubscriptionScheduleCurrentPhase
-- | Contains the types generated from the schema SubscriptionSchedule
module StripeAPI.Types.SubscriptionSchedule
-- | Defines the object schema located at
-- components.schemas.subscription_schedule in the
-- specification.
--
-- A subscription schedule allows you to create and manage the lifecycle
-- of a subscription by predefining expected changes.
--
-- Related guide: Subscription Schedules.
data SubscriptionSchedule
SubscriptionSchedule :: Maybe Int -> Maybe Int -> Int -> Maybe SubscriptionScheduleCurrentPhase' -> SubscriptionScheduleCustomer'Variants -> SubscriptionSchedulesResourceDefaultSettings -> SubscriptionScheduleEndBehavior' -> Text -> Bool -> Maybe Object -> [SubscriptionSchedulePhaseConfiguration] -> Maybe Int -> Maybe Text -> SubscriptionScheduleStatus' -> Maybe SubscriptionScheduleSubscription'Variants -> SubscriptionSchedule
-- | canceled_at: Time at which the subscription schedule was canceled.
-- Measured in seconds since the Unix epoch.
[subscriptionScheduleCanceledAt] :: SubscriptionSchedule -> Maybe Int
-- | completed_at: Time at which the subscription schedule was completed.
-- Measured in seconds since the Unix epoch.
[subscriptionScheduleCompletedAt] :: SubscriptionSchedule -> Maybe Int
-- | created: Time at which the object was created. Measured in seconds
-- since the Unix epoch.
[subscriptionScheduleCreated] :: SubscriptionSchedule -> Int
-- | current_phase: Object representing the start and end dates for the
-- current phase of the subscription schedule, if it is `active`.
[subscriptionScheduleCurrentPhase] :: SubscriptionSchedule -> Maybe SubscriptionScheduleCurrentPhase'
-- | customer: ID of the customer who owns the subscription schedule.
[subscriptionScheduleCustomer] :: SubscriptionSchedule -> SubscriptionScheduleCustomer'Variants
-- | default_settings:
[subscriptionScheduleDefaultSettings] :: SubscriptionSchedule -> SubscriptionSchedulesResourceDefaultSettings
-- | end_behavior: Behavior of the subscription schedule and underlying
-- subscription when it ends. Possible values are `release` and `cancel`.
[subscriptionScheduleEndBehavior] :: SubscriptionSchedule -> SubscriptionScheduleEndBehavior'
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[subscriptionScheduleId] :: SubscriptionSchedule -> Text
-- | livemode: Has the value `true` if the object exists in live mode or
-- the value `false` if the object exists in test mode.
[subscriptionScheduleLivemode] :: SubscriptionSchedule -> Bool
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format.
[subscriptionScheduleMetadata] :: SubscriptionSchedule -> Maybe Object
-- | phases: Configuration for the subscription schedule's phases.
[subscriptionSchedulePhases] :: SubscriptionSchedule -> [SubscriptionSchedulePhaseConfiguration]
-- | released_at: Time at which the subscription schedule was released.
-- Measured in seconds since the Unix epoch.
[subscriptionScheduleReleasedAt] :: SubscriptionSchedule -> Maybe Int
-- | released_subscription: ID of the subscription once managed by the
-- subscription schedule (if it is released).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[subscriptionScheduleReleasedSubscription] :: SubscriptionSchedule -> Maybe Text
-- | status: The present status of the subscription schedule. Possible
-- values are `not_started`, `active`, `completed`, `released`, and
-- `canceled`. You can read more about the different states in our
-- behavior guide.
[subscriptionScheduleStatus] :: SubscriptionSchedule -> SubscriptionScheduleStatus'
-- | subscription: ID of the subscription managed by the subscription
-- schedule.
[subscriptionScheduleSubscription] :: SubscriptionSchedule -> Maybe SubscriptionScheduleSubscription'Variants
-- | Create a new SubscriptionSchedule with all required fields.
mkSubscriptionSchedule :: Int -> SubscriptionScheduleCustomer'Variants -> SubscriptionSchedulesResourceDefaultSettings -> SubscriptionScheduleEndBehavior' -> Text -> Bool -> [SubscriptionSchedulePhaseConfiguration] -> SubscriptionScheduleStatus' -> SubscriptionSchedule
-- | Defines the object schema located at
-- components.schemas.subscription_schedule.properties.current_phase.anyOf
-- in the specification.
--
-- Object representing the start and end dates for the current phase of
-- the subscription schedule, if it is \`active\`.
data SubscriptionScheduleCurrentPhase'
SubscriptionScheduleCurrentPhase' :: Maybe Int -> Maybe Int -> SubscriptionScheduleCurrentPhase'
-- | end_date: The end of this phase of the subscription schedule.
[subscriptionScheduleCurrentPhase'EndDate] :: SubscriptionScheduleCurrentPhase' -> Maybe Int
-- | start_date: The start of this phase of the subscription schedule.
[subscriptionScheduleCurrentPhase'StartDate] :: SubscriptionScheduleCurrentPhase' -> Maybe Int
-- | Create a new SubscriptionScheduleCurrentPhase' with all
-- required fields.
mkSubscriptionScheduleCurrentPhase' :: SubscriptionScheduleCurrentPhase'
-- | Defines the oneOf schema located at
-- components.schemas.subscription_schedule.properties.customer.anyOf
-- in the specification.
--
-- ID of the customer who owns the subscription schedule.
data SubscriptionScheduleCustomer'Variants
SubscriptionScheduleCustomer'Text :: Text -> SubscriptionScheduleCustomer'Variants
SubscriptionScheduleCustomer'Customer :: Customer -> SubscriptionScheduleCustomer'Variants
SubscriptionScheduleCustomer'DeletedCustomer :: DeletedCustomer -> SubscriptionScheduleCustomer'Variants
-- | Defines the enum schema located at
-- components.schemas.subscription_schedule.properties.end_behavior
-- in the specification.
--
-- Behavior of the subscription schedule and underlying subscription when
-- it ends. Possible values are `release` and `cancel`.
data SubscriptionScheduleEndBehavior'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
SubscriptionScheduleEndBehavior'Other :: Value -> SubscriptionScheduleEndBehavior'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
SubscriptionScheduleEndBehavior'Typed :: Text -> SubscriptionScheduleEndBehavior'
-- | Represents the JSON value "cancel"
SubscriptionScheduleEndBehavior'EnumCancel :: SubscriptionScheduleEndBehavior'
-- | Represents the JSON value "none"
SubscriptionScheduleEndBehavior'EnumNone :: SubscriptionScheduleEndBehavior'
-- | Represents the JSON value "release"
SubscriptionScheduleEndBehavior'EnumRelease :: SubscriptionScheduleEndBehavior'
-- | Represents the JSON value "renew"
SubscriptionScheduleEndBehavior'EnumRenew :: SubscriptionScheduleEndBehavior'
-- | Defines the enum schema located at
-- components.schemas.subscription_schedule.properties.status in
-- the specification.
--
-- The present status of the subscription schedule. Possible values are
-- `not_started`, `active`, `completed`, `released`, and `canceled`. You
-- can read more about the different states in our behavior guide.
data SubscriptionScheduleStatus'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
SubscriptionScheduleStatus'Other :: Value -> SubscriptionScheduleStatus'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
SubscriptionScheduleStatus'Typed :: Text -> SubscriptionScheduleStatus'
-- | Represents the JSON value "active"
SubscriptionScheduleStatus'EnumActive :: SubscriptionScheduleStatus'
-- | Represents the JSON value "canceled"
SubscriptionScheduleStatus'EnumCanceled :: SubscriptionScheduleStatus'
-- | Represents the JSON value "completed"
SubscriptionScheduleStatus'EnumCompleted :: SubscriptionScheduleStatus'
-- | Represents the JSON value "not_started"
SubscriptionScheduleStatus'EnumNotStarted :: SubscriptionScheduleStatus'
-- | Represents the JSON value "released"
SubscriptionScheduleStatus'EnumReleased :: SubscriptionScheduleStatus'
-- | Defines the oneOf schema located at
-- components.schemas.subscription_schedule.properties.subscription.anyOf
-- in the specification.
--
-- ID of the subscription managed by the subscription schedule.
data SubscriptionScheduleSubscription'Variants
SubscriptionScheduleSubscription'Text :: Text -> SubscriptionScheduleSubscription'Variants
SubscriptionScheduleSubscription'Subscription :: Subscription -> SubscriptionScheduleSubscription'Variants
instance GHC.Classes.Eq StripeAPI.Types.SubscriptionSchedule.SubscriptionScheduleCurrentPhase'
instance GHC.Show.Show StripeAPI.Types.SubscriptionSchedule.SubscriptionScheduleCurrentPhase'
instance GHC.Classes.Eq StripeAPI.Types.SubscriptionSchedule.SubscriptionScheduleCustomer'Variants
instance GHC.Show.Show StripeAPI.Types.SubscriptionSchedule.SubscriptionScheduleCustomer'Variants
instance GHC.Classes.Eq StripeAPI.Types.SubscriptionSchedule.SubscriptionScheduleEndBehavior'
instance GHC.Show.Show StripeAPI.Types.SubscriptionSchedule.SubscriptionScheduleEndBehavior'
instance GHC.Classes.Eq StripeAPI.Types.SubscriptionSchedule.SubscriptionScheduleStatus'
instance GHC.Show.Show StripeAPI.Types.SubscriptionSchedule.SubscriptionScheduleStatus'
instance GHC.Classes.Eq StripeAPI.Types.SubscriptionSchedule.SubscriptionScheduleSubscription'Variants
instance GHC.Show.Show StripeAPI.Types.SubscriptionSchedule.SubscriptionScheduleSubscription'Variants
instance GHC.Classes.Eq StripeAPI.Types.SubscriptionSchedule.SubscriptionSchedule
instance GHC.Show.Show StripeAPI.Types.SubscriptionSchedule.SubscriptionSchedule
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SubscriptionSchedule.SubscriptionSchedule
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SubscriptionSchedule.SubscriptionSchedule
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SubscriptionSchedule.SubscriptionScheduleSubscription'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SubscriptionSchedule.SubscriptionScheduleSubscription'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SubscriptionSchedule.SubscriptionScheduleStatus'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SubscriptionSchedule.SubscriptionScheduleStatus'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SubscriptionSchedule.SubscriptionScheduleEndBehavior'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SubscriptionSchedule.SubscriptionScheduleEndBehavior'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SubscriptionSchedule.SubscriptionScheduleCustomer'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SubscriptionSchedule.SubscriptionScheduleCustomer'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SubscriptionSchedule.SubscriptionScheduleCurrentPhase'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SubscriptionSchedule.SubscriptionScheduleCurrentPhase'
-- | Contains the types generated from the schema
-- SubscriptionSchedulesResourceDefaultSettingsAutomaticTax
module StripeAPI.Types.SubscriptionSchedulesResourceDefaultSettingsAutomaticTax
-- | Defines the object schema located at
-- components.schemas.subscription_schedules_resource_default_settings_automatic_tax
-- in the specification.
data SubscriptionSchedulesResourceDefaultSettingsAutomaticTax
SubscriptionSchedulesResourceDefaultSettingsAutomaticTax :: Bool -> SubscriptionSchedulesResourceDefaultSettingsAutomaticTax
-- | enabled: Whether Stripe automatically computes tax on invoices created
-- during this phase.
[subscriptionSchedulesResourceDefaultSettingsAutomaticTaxEnabled] :: SubscriptionSchedulesResourceDefaultSettingsAutomaticTax -> Bool
-- | Create a new
-- SubscriptionSchedulesResourceDefaultSettingsAutomaticTax with
-- all required fields.
mkSubscriptionSchedulesResourceDefaultSettingsAutomaticTax :: Bool -> SubscriptionSchedulesResourceDefaultSettingsAutomaticTax
instance GHC.Classes.Eq StripeAPI.Types.SubscriptionSchedulesResourceDefaultSettingsAutomaticTax.SubscriptionSchedulesResourceDefaultSettingsAutomaticTax
instance GHC.Show.Show StripeAPI.Types.SubscriptionSchedulesResourceDefaultSettingsAutomaticTax.SubscriptionSchedulesResourceDefaultSettingsAutomaticTax
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SubscriptionSchedulesResourceDefaultSettingsAutomaticTax.SubscriptionSchedulesResourceDefaultSettingsAutomaticTax
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SubscriptionSchedulesResourceDefaultSettingsAutomaticTax.SubscriptionSchedulesResourceDefaultSettingsAutomaticTax
-- | Contains the types generated from the schema
-- SubscriptionSchedulesResourceDefaultSettings
module StripeAPI.Types.SubscriptionSchedulesResourceDefaultSettings
-- | Defines the object schema located at
-- components.schemas.subscription_schedules_resource_default_settings
-- in the specification.
data SubscriptionSchedulesResourceDefaultSettings
SubscriptionSchedulesResourceDefaultSettings :: Maybe Double -> Maybe SubscriptionSchedulesResourceDefaultSettingsAutomaticTax -> SubscriptionSchedulesResourceDefaultSettingsBillingCycleAnchor' -> Maybe SubscriptionSchedulesResourceDefaultSettingsBillingThresholds' -> Maybe SubscriptionSchedulesResourceDefaultSettingsCollectionMethod' -> Maybe SubscriptionSchedulesResourceDefaultSettingsDefaultPaymentMethod'Variants -> Maybe SubscriptionSchedulesResourceDefaultSettingsInvoiceSettings' -> Maybe SubscriptionSchedulesResourceDefaultSettingsTransferData' -> SubscriptionSchedulesResourceDefaultSettings
-- | application_fee_percent: A non-negative decimal between 0 and 100,
-- with at most two decimal places. This represents the percentage of the
-- subscription invoice subtotal that will be transferred to the
-- application owner's Stripe account during this phase of the schedule.
[subscriptionSchedulesResourceDefaultSettingsApplicationFeePercent] :: SubscriptionSchedulesResourceDefaultSettings -> Maybe Double
-- | automatic_tax:
[subscriptionSchedulesResourceDefaultSettingsAutomaticTax] :: SubscriptionSchedulesResourceDefaultSettings -> Maybe SubscriptionSchedulesResourceDefaultSettingsAutomaticTax
-- | billing_cycle_anchor: Possible values are `phase_start` or
-- `automatic`. If `phase_start` then billing cycle anchor of the
-- subscription is set to the start of the phase when entering the phase.
-- If `automatic` then the billing cycle anchor is automatically modified
-- as needed when entering the phase. For more information, see the
-- billing cycle documentation.
[subscriptionSchedulesResourceDefaultSettingsBillingCycleAnchor] :: SubscriptionSchedulesResourceDefaultSettings -> SubscriptionSchedulesResourceDefaultSettingsBillingCycleAnchor'
-- | billing_thresholds: Define thresholds at which an invoice will be
-- sent, and the subscription advanced to a new billing period
[subscriptionSchedulesResourceDefaultSettingsBillingThresholds] :: SubscriptionSchedulesResourceDefaultSettings -> Maybe SubscriptionSchedulesResourceDefaultSettingsBillingThresholds'
-- | collection_method: Either `charge_automatically`, or `send_invoice`.
-- When charging automatically, Stripe will attempt to pay the underlying
-- subscription at the end of each billing cycle using the default source
-- attached to the customer. When sending an invoice, Stripe will email
-- your customer an invoice with payment instructions.
[subscriptionSchedulesResourceDefaultSettingsCollectionMethod] :: SubscriptionSchedulesResourceDefaultSettings -> Maybe SubscriptionSchedulesResourceDefaultSettingsCollectionMethod'
-- | default_payment_method: ID of the default payment method for the
-- subscription schedule. If not set, invoices will use the default
-- payment method in the customer's invoice settings.
[subscriptionSchedulesResourceDefaultSettingsDefaultPaymentMethod] :: SubscriptionSchedulesResourceDefaultSettings -> Maybe SubscriptionSchedulesResourceDefaultSettingsDefaultPaymentMethod'Variants
-- | invoice_settings: The subscription schedule's default invoice
-- settings.
[subscriptionSchedulesResourceDefaultSettingsInvoiceSettings] :: SubscriptionSchedulesResourceDefaultSettings -> Maybe SubscriptionSchedulesResourceDefaultSettingsInvoiceSettings'
-- | transfer_data: The account (if any) the associated subscription's
-- payments will be attributed to for tax reporting, and where funds from
-- each payment will be transferred to for each of the subscription's
-- invoices.
[subscriptionSchedulesResourceDefaultSettingsTransferData] :: SubscriptionSchedulesResourceDefaultSettings -> Maybe SubscriptionSchedulesResourceDefaultSettingsTransferData'
-- | Create a new SubscriptionSchedulesResourceDefaultSettings with
-- all required fields.
mkSubscriptionSchedulesResourceDefaultSettings :: SubscriptionSchedulesResourceDefaultSettingsBillingCycleAnchor' -> SubscriptionSchedulesResourceDefaultSettings
-- | Defines the enum schema located at
-- components.schemas.subscription_schedules_resource_default_settings.properties.billing_cycle_anchor
-- in the specification.
--
-- Possible values are `phase_start` or `automatic`. If `phase_start`
-- then billing cycle anchor of the subscription is set to the start of
-- the phase when entering the phase. If `automatic` then the billing
-- cycle anchor is automatically modified as needed when entering the
-- phase. For more information, see the billing cycle
-- documentation.
data SubscriptionSchedulesResourceDefaultSettingsBillingCycleAnchor'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
SubscriptionSchedulesResourceDefaultSettingsBillingCycleAnchor'Other :: Value -> SubscriptionSchedulesResourceDefaultSettingsBillingCycleAnchor'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
SubscriptionSchedulesResourceDefaultSettingsBillingCycleAnchor'Typed :: Text -> SubscriptionSchedulesResourceDefaultSettingsBillingCycleAnchor'
-- | Represents the JSON value "automatic"
SubscriptionSchedulesResourceDefaultSettingsBillingCycleAnchor'EnumAutomatic :: SubscriptionSchedulesResourceDefaultSettingsBillingCycleAnchor'
-- | Represents the JSON value "phase_start"
SubscriptionSchedulesResourceDefaultSettingsBillingCycleAnchor'EnumPhaseStart :: SubscriptionSchedulesResourceDefaultSettingsBillingCycleAnchor'
-- | Defines the object schema located at
-- components.schemas.subscription_schedules_resource_default_settings.properties.billing_thresholds.anyOf
-- in the specification.
--
-- Define thresholds at which an invoice will be sent, and the
-- subscription advanced to a new billing period
data SubscriptionSchedulesResourceDefaultSettingsBillingThresholds'
SubscriptionSchedulesResourceDefaultSettingsBillingThresholds' :: Maybe Int -> Maybe Bool -> SubscriptionSchedulesResourceDefaultSettingsBillingThresholds'
-- | amount_gte: Monetary threshold that triggers the subscription to
-- create an invoice
[subscriptionSchedulesResourceDefaultSettingsBillingThresholds'AmountGte] :: SubscriptionSchedulesResourceDefaultSettingsBillingThresholds' -> Maybe Int
-- | reset_billing_cycle_anchor: Indicates if the `billing_cycle_anchor`
-- should be reset when a threshold is reached. If true,
-- `billing_cycle_anchor` will be updated to the date/time the threshold
-- was last reached; otherwise, the value will remain unchanged. This
-- value may not be `true` if the subscription contains items with plans
-- that have `aggregate_usage=last_ever`.
[subscriptionSchedulesResourceDefaultSettingsBillingThresholds'ResetBillingCycleAnchor] :: SubscriptionSchedulesResourceDefaultSettingsBillingThresholds' -> Maybe Bool
-- | Create a new
-- SubscriptionSchedulesResourceDefaultSettingsBillingThresholds'
-- with all required fields.
mkSubscriptionSchedulesResourceDefaultSettingsBillingThresholds' :: SubscriptionSchedulesResourceDefaultSettingsBillingThresholds'
-- | Defines the enum schema located at
-- components.schemas.subscription_schedules_resource_default_settings.properties.collection_method
-- in the specification.
--
-- Either `charge_automatically`, or `send_invoice`. When charging
-- automatically, Stripe will attempt to pay the underlying subscription
-- at the end of each billing cycle using the default source attached to
-- the customer. When sending an invoice, Stripe will email your customer
-- an invoice with payment instructions.
data SubscriptionSchedulesResourceDefaultSettingsCollectionMethod'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
SubscriptionSchedulesResourceDefaultSettingsCollectionMethod'Other :: Value -> SubscriptionSchedulesResourceDefaultSettingsCollectionMethod'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
SubscriptionSchedulesResourceDefaultSettingsCollectionMethod'Typed :: Text -> SubscriptionSchedulesResourceDefaultSettingsCollectionMethod'
-- | Represents the JSON value "charge_automatically"
SubscriptionSchedulesResourceDefaultSettingsCollectionMethod'EnumChargeAutomatically :: SubscriptionSchedulesResourceDefaultSettingsCollectionMethod'
-- | Represents the JSON value "send_invoice"
SubscriptionSchedulesResourceDefaultSettingsCollectionMethod'EnumSendInvoice :: SubscriptionSchedulesResourceDefaultSettingsCollectionMethod'
-- | Defines the oneOf schema located at
-- components.schemas.subscription_schedules_resource_default_settings.properties.default_payment_method.anyOf
-- in the specification.
--
-- ID of the default payment method for the subscription schedule. If not
-- set, invoices will use the default payment method in the customer's
-- invoice settings.
data SubscriptionSchedulesResourceDefaultSettingsDefaultPaymentMethod'Variants
SubscriptionSchedulesResourceDefaultSettingsDefaultPaymentMethod'Text :: Text -> SubscriptionSchedulesResourceDefaultSettingsDefaultPaymentMethod'Variants
SubscriptionSchedulesResourceDefaultSettingsDefaultPaymentMethod'PaymentMethod :: PaymentMethod -> SubscriptionSchedulesResourceDefaultSettingsDefaultPaymentMethod'Variants
-- | Defines the object schema located at
-- components.schemas.subscription_schedules_resource_default_settings.properties.invoice_settings.anyOf
-- in the specification.
--
-- The subscription schedule\'s default invoice settings.
data SubscriptionSchedulesResourceDefaultSettingsInvoiceSettings'
SubscriptionSchedulesResourceDefaultSettingsInvoiceSettings' :: Maybe Int -> SubscriptionSchedulesResourceDefaultSettingsInvoiceSettings'
-- | days_until_due: Number of days within which a customer must pay
-- invoices generated by this subscription schedule. This value will be
-- `null` for subscription schedules where
-- `billing=charge_automatically`.
[subscriptionSchedulesResourceDefaultSettingsInvoiceSettings'DaysUntilDue] :: SubscriptionSchedulesResourceDefaultSettingsInvoiceSettings' -> Maybe Int
-- | Create a new
-- SubscriptionSchedulesResourceDefaultSettingsInvoiceSettings'
-- with all required fields.
mkSubscriptionSchedulesResourceDefaultSettingsInvoiceSettings' :: SubscriptionSchedulesResourceDefaultSettingsInvoiceSettings'
-- | Defines the object schema located at
-- components.schemas.subscription_schedules_resource_default_settings.properties.transfer_data.anyOf
-- in the specification.
--
-- The account (if any) the associated subscription\'s payments will be
-- attributed to for tax reporting, and where funds from each payment
-- will be transferred to for each of the subscription\'s invoices.
data SubscriptionSchedulesResourceDefaultSettingsTransferData'
SubscriptionSchedulesResourceDefaultSettingsTransferData' :: Maybe Double -> Maybe SubscriptionSchedulesResourceDefaultSettingsTransferData'Destination'Variants -> SubscriptionSchedulesResourceDefaultSettingsTransferData'
-- | amount_percent: A non-negative decimal between 0 and 100, with at most
-- two decimal places. This represents the percentage of the subscription
-- invoice subtotal that will be transferred to the destination account.
-- By default, the entire amount is transferred to the destination.
[subscriptionSchedulesResourceDefaultSettingsTransferData'AmountPercent] :: SubscriptionSchedulesResourceDefaultSettingsTransferData' -> Maybe Double
-- | destination: The account where funds from the payment will be
-- transferred to upon payment success.
[subscriptionSchedulesResourceDefaultSettingsTransferData'Destination] :: SubscriptionSchedulesResourceDefaultSettingsTransferData' -> Maybe SubscriptionSchedulesResourceDefaultSettingsTransferData'Destination'Variants
-- | Create a new
-- SubscriptionSchedulesResourceDefaultSettingsTransferData' with
-- all required fields.
mkSubscriptionSchedulesResourceDefaultSettingsTransferData' :: SubscriptionSchedulesResourceDefaultSettingsTransferData'
-- | Defines the oneOf schema located at
-- components.schemas.subscription_schedules_resource_default_settings.properties.transfer_data.anyOf.properties.destination.anyOf
-- in the specification.
--
-- The account where funds from the payment will be transferred to upon
-- payment success.
data SubscriptionSchedulesResourceDefaultSettingsTransferData'Destination'Variants
SubscriptionSchedulesResourceDefaultSettingsTransferData'Destination'Text :: Text -> SubscriptionSchedulesResourceDefaultSettingsTransferData'Destination'Variants
SubscriptionSchedulesResourceDefaultSettingsTransferData'Destination'Account :: Account -> SubscriptionSchedulesResourceDefaultSettingsTransferData'Destination'Variants
instance GHC.Classes.Eq StripeAPI.Types.SubscriptionSchedulesResourceDefaultSettings.SubscriptionSchedulesResourceDefaultSettingsBillingCycleAnchor'
instance GHC.Show.Show StripeAPI.Types.SubscriptionSchedulesResourceDefaultSettings.SubscriptionSchedulesResourceDefaultSettingsBillingCycleAnchor'
instance GHC.Classes.Eq StripeAPI.Types.SubscriptionSchedulesResourceDefaultSettings.SubscriptionSchedulesResourceDefaultSettingsBillingThresholds'
instance GHC.Show.Show StripeAPI.Types.SubscriptionSchedulesResourceDefaultSettings.SubscriptionSchedulesResourceDefaultSettingsBillingThresholds'
instance GHC.Classes.Eq StripeAPI.Types.SubscriptionSchedulesResourceDefaultSettings.SubscriptionSchedulesResourceDefaultSettingsCollectionMethod'
instance GHC.Show.Show StripeAPI.Types.SubscriptionSchedulesResourceDefaultSettings.SubscriptionSchedulesResourceDefaultSettingsCollectionMethod'
instance GHC.Classes.Eq StripeAPI.Types.SubscriptionSchedulesResourceDefaultSettings.SubscriptionSchedulesResourceDefaultSettingsDefaultPaymentMethod'Variants
instance GHC.Show.Show StripeAPI.Types.SubscriptionSchedulesResourceDefaultSettings.SubscriptionSchedulesResourceDefaultSettingsDefaultPaymentMethod'Variants
instance GHC.Classes.Eq StripeAPI.Types.SubscriptionSchedulesResourceDefaultSettings.SubscriptionSchedulesResourceDefaultSettingsInvoiceSettings'
instance GHC.Show.Show StripeAPI.Types.SubscriptionSchedulesResourceDefaultSettings.SubscriptionSchedulesResourceDefaultSettingsInvoiceSettings'
instance GHC.Classes.Eq StripeAPI.Types.SubscriptionSchedulesResourceDefaultSettings.SubscriptionSchedulesResourceDefaultSettingsTransferData'Destination'Variants
instance GHC.Show.Show StripeAPI.Types.SubscriptionSchedulesResourceDefaultSettings.SubscriptionSchedulesResourceDefaultSettingsTransferData'Destination'Variants
instance GHC.Classes.Eq StripeAPI.Types.SubscriptionSchedulesResourceDefaultSettings.SubscriptionSchedulesResourceDefaultSettingsTransferData'
instance GHC.Show.Show StripeAPI.Types.SubscriptionSchedulesResourceDefaultSettings.SubscriptionSchedulesResourceDefaultSettingsTransferData'
instance GHC.Classes.Eq StripeAPI.Types.SubscriptionSchedulesResourceDefaultSettings.SubscriptionSchedulesResourceDefaultSettings
instance GHC.Show.Show StripeAPI.Types.SubscriptionSchedulesResourceDefaultSettings.SubscriptionSchedulesResourceDefaultSettings
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SubscriptionSchedulesResourceDefaultSettings.SubscriptionSchedulesResourceDefaultSettings
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SubscriptionSchedulesResourceDefaultSettings.SubscriptionSchedulesResourceDefaultSettings
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SubscriptionSchedulesResourceDefaultSettings.SubscriptionSchedulesResourceDefaultSettingsTransferData'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SubscriptionSchedulesResourceDefaultSettings.SubscriptionSchedulesResourceDefaultSettingsTransferData'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SubscriptionSchedulesResourceDefaultSettings.SubscriptionSchedulesResourceDefaultSettingsTransferData'Destination'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SubscriptionSchedulesResourceDefaultSettings.SubscriptionSchedulesResourceDefaultSettingsTransferData'Destination'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SubscriptionSchedulesResourceDefaultSettings.SubscriptionSchedulesResourceDefaultSettingsInvoiceSettings'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SubscriptionSchedulesResourceDefaultSettings.SubscriptionSchedulesResourceDefaultSettingsInvoiceSettings'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SubscriptionSchedulesResourceDefaultSettings.SubscriptionSchedulesResourceDefaultSettingsDefaultPaymentMethod'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SubscriptionSchedulesResourceDefaultSettings.SubscriptionSchedulesResourceDefaultSettingsDefaultPaymentMethod'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SubscriptionSchedulesResourceDefaultSettings.SubscriptionSchedulesResourceDefaultSettingsCollectionMethod'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SubscriptionSchedulesResourceDefaultSettings.SubscriptionSchedulesResourceDefaultSettingsCollectionMethod'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SubscriptionSchedulesResourceDefaultSettings.SubscriptionSchedulesResourceDefaultSettingsBillingThresholds'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SubscriptionSchedulesResourceDefaultSettings.SubscriptionSchedulesResourceDefaultSettingsBillingThresholds'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SubscriptionSchedulesResourceDefaultSettings.SubscriptionSchedulesResourceDefaultSettingsBillingCycleAnchor'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SubscriptionSchedulesResourceDefaultSettings.SubscriptionSchedulesResourceDefaultSettingsBillingCycleAnchor'
-- | Contains the types generated from the schema SubscriptionTransferData
module StripeAPI.Types.SubscriptionTransferData
-- | Defines the object schema located at
-- components.schemas.subscription_transfer_data in the
-- specification.
data SubscriptionTransferData
SubscriptionTransferData :: Maybe Double -> SubscriptionTransferDataDestination'Variants -> SubscriptionTransferData
-- | amount_percent: A non-negative decimal between 0 and 100, with at most
-- two decimal places. This represents the percentage of the subscription
-- invoice subtotal that will be transferred to the destination account.
-- By default, the entire amount is transferred to the destination.
[subscriptionTransferDataAmountPercent] :: SubscriptionTransferData -> Maybe Double
-- | destination: The account where funds from the payment will be
-- transferred to upon payment success.
[subscriptionTransferDataDestination] :: SubscriptionTransferData -> SubscriptionTransferDataDestination'Variants
-- | Create a new SubscriptionTransferData with all required fields.
mkSubscriptionTransferData :: SubscriptionTransferDataDestination'Variants -> SubscriptionTransferData
-- | Defines the oneOf schema located at
-- components.schemas.subscription_transfer_data.properties.destination.anyOf
-- in the specification.
--
-- The account where funds from the payment will be transferred to upon
-- payment success.
data SubscriptionTransferDataDestination'Variants
SubscriptionTransferDataDestination'Text :: Text -> SubscriptionTransferDataDestination'Variants
SubscriptionTransferDataDestination'Account :: Account -> SubscriptionTransferDataDestination'Variants
instance GHC.Classes.Eq StripeAPI.Types.SubscriptionTransferData.SubscriptionTransferDataDestination'Variants
instance GHC.Show.Show StripeAPI.Types.SubscriptionTransferData.SubscriptionTransferDataDestination'Variants
instance GHC.Classes.Eq StripeAPI.Types.SubscriptionTransferData.SubscriptionTransferData
instance GHC.Show.Show StripeAPI.Types.SubscriptionTransferData.SubscriptionTransferData
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SubscriptionTransferData.SubscriptionTransferData
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SubscriptionTransferData.SubscriptionTransferData
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SubscriptionTransferData.SubscriptionTransferDataDestination'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SubscriptionTransferData.SubscriptionTransferDataDestination'Variants
-- | Contains the types generated from the schema
-- SubscriptionsResourcePauseCollection
module StripeAPI.Types.SubscriptionsResourcePauseCollection
-- | Defines the object schema located at
-- components.schemas.subscriptions_resource_pause_collection in
-- the specification.
--
-- The Pause Collection settings determine how we will pause collection
-- for this subscription and for how long the subscription should be
-- paused.
data SubscriptionsResourcePauseCollection
SubscriptionsResourcePauseCollection :: SubscriptionsResourcePauseCollectionBehavior' -> Maybe Int -> SubscriptionsResourcePauseCollection
-- | behavior: The payment collection behavior for this subscription while
-- paused. One of `keep_as_draft`, `mark_uncollectible`, or `void`.
[subscriptionsResourcePauseCollectionBehavior] :: SubscriptionsResourcePauseCollection -> SubscriptionsResourcePauseCollectionBehavior'
-- | resumes_at: The time after which the subscription will resume
-- collecting payments.
[subscriptionsResourcePauseCollectionResumesAt] :: SubscriptionsResourcePauseCollection -> Maybe Int
-- | Create a new SubscriptionsResourcePauseCollection with all
-- required fields.
mkSubscriptionsResourcePauseCollection :: SubscriptionsResourcePauseCollectionBehavior' -> SubscriptionsResourcePauseCollection
-- | Defines the enum schema located at
-- components.schemas.subscriptions_resource_pause_collection.properties.behavior
-- in the specification.
--
-- The payment collection behavior for this subscription while paused.
-- One of `keep_as_draft`, `mark_uncollectible`, or `void`.
data SubscriptionsResourcePauseCollectionBehavior'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
SubscriptionsResourcePauseCollectionBehavior'Other :: Value -> SubscriptionsResourcePauseCollectionBehavior'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
SubscriptionsResourcePauseCollectionBehavior'Typed :: Text -> SubscriptionsResourcePauseCollectionBehavior'
-- | Represents the JSON value "keep_as_draft"
SubscriptionsResourcePauseCollectionBehavior'EnumKeepAsDraft :: SubscriptionsResourcePauseCollectionBehavior'
-- | Represents the JSON value "mark_uncollectible"
SubscriptionsResourcePauseCollectionBehavior'EnumMarkUncollectible :: SubscriptionsResourcePauseCollectionBehavior'
-- | Represents the JSON value "void"
SubscriptionsResourcePauseCollectionBehavior'EnumVoid :: SubscriptionsResourcePauseCollectionBehavior'
instance GHC.Classes.Eq StripeAPI.Types.SubscriptionsResourcePauseCollection.SubscriptionsResourcePauseCollectionBehavior'
instance GHC.Show.Show StripeAPI.Types.SubscriptionsResourcePauseCollection.SubscriptionsResourcePauseCollectionBehavior'
instance GHC.Classes.Eq StripeAPI.Types.SubscriptionsResourcePauseCollection.SubscriptionsResourcePauseCollection
instance GHC.Show.Show StripeAPI.Types.SubscriptionsResourcePauseCollection.SubscriptionsResourcePauseCollection
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SubscriptionsResourcePauseCollection.SubscriptionsResourcePauseCollection
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SubscriptionsResourcePauseCollection.SubscriptionsResourcePauseCollection
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SubscriptionsResourcePauseCollection.SubscriptionsResourcePauseCollectionBehavior'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SubscriptionsResourcePauseCollection.SubscriptionsResourcePauseCollectionBehavior'
-- | Contains the types generated from the schema
-- SubscriptionsResourcePendingUpdate
module StripeAPI.Types.SubscriptionsResourcePendingUpdate
-- | Defines the object schema located at
-- components.schemas.subscriptions_resource_pending_update in
-- the specification.
--
-- Pending Updates store the changes pending from a previous update that
-- will be applied to the Subscription upon successful payment.
data SubscriptionsResourcePendingUpdate
SubscriptionsResourcePendingUpdate :: Maybe Int -> Int -> Maybe [SubscriptionItem] -> Maybe Int -> Maybe Bool -> SubscriptionsResourcePendingUpdate
-- | billing_cycle_anchor: If the update is applied, determines the date of
-- the first full invoice, and, for plans with `month` or `year`
-- intervals, the day of the month for subsequent invoices.
[subscriptionsResourcePendingUpdateBillingCycleAnchor] :: SubscriptionsResourcePendingUpdate -> Maybe Int
-- | expires_at: The point after which the changes reflected by this update
-- will be discarded and no longer applied.
[subscriptionsResourcePendingUpdateExpiresAt] :: SubscriptionsResourcePendingUpdate -> Int
-- | subscription_items: List of subscription items, each with an attached
-- plan, that will be set if the update is applied.
[subscriptionsResourcePendingUpdateSubscriptionItems] :: SubscriptionsResourcePendingUpdate -> Maybe [SubscriptionItem]
-- | trial_end: Unix timestamp representing the end of the trial period the
-- customer will get before being charged for the first time, if the
-- update is applied.
[subscriptionsResourcePendingUpdateTrialEnd] :: SubscriptionsResourcePendingUpdate -> Maybe Int
-- | trial_from_plan: Indicates if a plan's `trial_period_days` should be
-- applied to the subscription. Setting `trial_end` per subscription is
-- preferred, and this defaults to `false`. Setting this flag to `true`
-- together with `trial_end` is not allowed.
[subscriptionsResourcePendingUpdateTrialFromPlan] :: SubscriptionsResourcePendingUpdate -> Maybe Bool
-- | Create a new SubscriptionsResourcePendingUpdate with all
-- required fields.
mkSubscriptionsResourcePendingUpdate :: Int -> SubscriptionsResourcePendingUpdate
instance GHC.Classes.Eq StripeAPI.Types.SubscriptionsResourcePendingUpdate.SubscriptionsResourcePendingUpdate
instance GHC.Show.Show StripeAPI.Types.SubscriptionsResourcePendingUpdate.SubscriptionsResourcePendingUpdate
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SubscriptionsResourcePendingUpdate.SubscriptionsResourcePendingUpdate
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SubscriptionsResourcePendingUpdate.SubscriptionsResourcePendingUpdate
-- | Contains the types generated from the schema Product
module StripeAPI.Types.Product
-- | Defines the object schema located at
-- components.schemas.product in the specification.
--
-- Products describe the specific goods or services you offer to your
-- customers. For example, you might offer a Standard and Premium version
-- of your goods or service; each version would be a separate Product.
-- They can be used in conjunction with Prices to configure
-- pricing in Checkout and Subscriptions.
--
-- Related guides: Set up a subscription or accept one-time
-- payments with Checkout and more about Products and Prices
data Product
Product :: Bool -> Int -> Maybe Text -> Text -> [Text] -> Bool -> Object -> Text -> Maybe ProductPackageDimensions' -> Maybe Bool -> Maybe Text -> Maybe ProductTaxCode'Variants -> Maybe Text -> Int -> Maybe Text -> Product
-- | active: Whether the product is currently available for purchase.
[productActive] :: Product -> Bool
-- | created: Time at which the object was created. Measured in seconds
-- since the Unix epoch.
[productCreated] :: Product -> Int
-- | description: The product's description, meant to be displayable to the
-- customer. Use this field to optionally store a long form explanation
-- of the product being sold for your own rendering purposes.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[productDescription] :: Product -> Maybe Text
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[productId] :: Product -> Text
-- | images: A list of up to 8 URLs of images for this product, meant to be
-- displayable to the customer.
[productImages] :: Product -> [Text]
-- | livemode: Has the value `true` if the object exists in live mode or
-- the value `false` if the object exists in test mode.
[productLivemode] :: Product -> Bool
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format.
[productMetadata] :: Product -> Object
-- | name: The product's name, meant to be displayable to the customer.
-- Whenever this product is sold via a subscription, name will show up on
-- associated invoice line item descriptions.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[productName] :: Product -> Text
-- | package_dimensions: The dimensions of this product for shipping
-- purposes.
[productPackageDimensions] :: Product -> Maybe ProductPackageDimensions'
-- | shippable: Whether this product is shipped (i.e., physical goods).
[productShippable] :: Product -> Maybe Bool
-- | statement_descriptor: Extra information about a product which will
-- appear on your customer's credit card statement. In the case that
-- multiple products are billed at once, the first statement descriptor
-- will be used.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[productStatementDescriptor] :: Product -> Maybe Text
-- | tax_code: A tax code ID.
[productTaxCode] :: Product -> Maybe ProductTaxCode'Variants
-- | unit_label: A label that represents units of this product in Stripe
-- and on customers’ receipts and invoices. When set, this will be
-- included in associated invoice line item descriptions.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[productUnitLabel] :: Product -> Maybe Text
-- | updated: Time at which the object was last updated. Measured in
-- seconds since the Unix epoch.
[productUpdated] :: Product -> Int
-- | url: A URL of a publicly-accessible webpage for this product.
--
-- Constraints:
--
--
-- - Maximum length of 2048
--
[productUrl] :: Product -> Maybe Text
-- | Create a new Product with all required fields.
mkProduct :: Bool -> Int -> Text -> [Text] -> Bool -> Object -> Text -> Int -> Product
-- | Defines the object schema located at
-- components.schemas.product.properties.package_dimensions.anyOf
-- in the specification.
--
-- The dimensions of this product for shipping purposes.
data ProductPackageDimensions'
ProductPackageDimensions' :: Maybe Double -> Maybe Double -> Maybe Double -> Maybe Double -> ProductPackageDimensions'
-- | height: Height, in inches.
[productPackageDimensions'Height] :: ProductPackageDimensions' -> Maybe Double
-- | length: Length, in inches.
[productPackageDimensions'Length] :: ProductPackageDimensions' -> Maybe Double
-- | weight: Weight, in ounces.
[productPackageDimensions'Weight] :: ProductPackageDimensions' -> Maybe Double
-- | width: Width, in inches.
[productPackageDimensions'Width] :: ProductPackageDimensions' -> Maybe Double
-- | Create a new ProductPackageDimensions' with all required
-- fields.
mkProductPackageDimensions' :: ProductPackageDimensions'
-- | Defines the oneOf schema located at
-- components.schemas.product.properties.tax_code.anyOf in the
-- specification.
--
-- A tax code ID.
data ProductTaxCode'Variants
ProductTaxCode'Text :: Text -> ProductTaxCode'Variants
ProductTaxCode'TaxCode :: TaxCode -> ProductTaxCode'Variants
instance GHC.Classes.Eq StripeAPI.Types.Product.ProductPackageDimensions'
instance GHC.Show.Show StripeAPI.Types.Product.ProductPackageDimensions'
instance GHC.Classes.Eq StripeAPI.Types.Product.ProductTaxCode'Variants
instance GHC.Show.Show StripeAPI.Types.Product.ProductTaxCode'Variants
instance GHC.Classes.Eq StripeAPI.Types.Product.Product
instance GHC.Show.Show StripeAPI.Types.Product.Product
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Product.Product
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Product.Product
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Product.ProductTaxCode'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Product.ProductTaxCode'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Product.ProductPackageDimensions'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Product.ProductPackageDimensions'
-- | Contains the types generated from the schema TaxCode
module StripeAPI.Types.TaxCode
-- | Defines the object schema located at
-- components.schemas.tax_code in the specification.
--
-- Tax codes classify goods and services for tax purposes.
data TaxCode
TaxCode :: Text -> Text -> Text -> TaxCode
-- | description: A detailed description of which types of products the tax
-- code represents.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[taxCodeDescription] :: TaxCode -> Text
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[taxCodeId] :: TaxCode -> Text
-- | name: A short name for the tax code.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[taxCodeName] :: TaxCode -> Text
-- | Create a new TaxCode with all required fields.
mkTaxCode :: Text -> Text -> Text -> TaxCode
instance GHC.Classes.Eq StripeAPI.Types.TaxCode.TaxCode
instance GHC.Show.Show StripeAPI.Types.TaxCode.TaxCode
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.TaxCode.TaxCode
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.TaxCode.TaxCode
-- | Contains the types generated from the schema TaxDeductedAtSource
module StripeAPI.Types.TaxDeductedAtSource
-- | Defines the object schema located at
-- components.schemas.tax_deducted_at_source in the
-- specification.
data TaxDeductedAtSource
TaxDeductedAtSource :: Text -> Int -> Int -> Text -> TaxDeductedAtSource
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[taxDeductedAtSourceId] :: TaxDeductedAtSource -> Text
-- | period_end: The end of the invoicing period. This TDS applies to
-- Stripe fees collected during this invoicing period.
[taxDeductedAtSourcePeriodEnd] :: TaxDeductedAtSource -> Int
-- | period_start: The start of the invoicing period. This TDS applies to
-- Stripe fees collected during this invoicing period.
[taxDeductedAtSourcePeriodStart] :: TaxDeductedAtSource -> Int
-- | tax_deduction_account_number: The TAN that was supplied to Stripe when
-- TDS was assessed
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[taxDeductedAtSourceTaxDeductionAccountNumber] :: TaxDeductedAtSource -> Text
-- | Create a new TaxDeductedAtSource with all required fields.
mkTaxDeductedAtSource :: Text -> Int -> Int -> Text -> TaxDeductedAtSource
instance GHC.Classes.Eq StripeAPI.Types.TaxDeductedAtSource.TaxDeductedAtSource
instance GHC.Show.Show StripeAPI.Types.TaxDeductedAtSource.TaxDeductedAtSource
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.TaxDeductedAtSource.TaxDeductedAtSource
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.TaxDeductedAtSource.TaxDeductedAtSource
-- | Contains the types generated from the schema Customer
module StripeAPI.Types.Customer
-- | Defines the object schema located at
-- components.schemas.customer in the specification.
--
-- `Customer` objects allow you to perform recurring charges, and to
-- track multiple charges, that are associated with the same customer.
-- The API allows you to create, delete, and update your customers. You
-- can retrieve individual customers as well as a list of all your
-- customers.
--
-- Related guide: Save a card during payment.
data Customer
Customer :: Maybe CustomerAddress' -> Maybe Int -> Int -> Maybe Text -> Maybe CustomerDefaultSource'Variants -> Maybe Bool -> Maybe Text -> Maybe CustomerDiscount' -> Maybe Text -> Text -> Maybe Text -> Maybe InvoiceSettingCustomerSetting -> Bool -> Maybe Object -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe [Text] -> Maybe CustomerShipping' -> Maybe CustomerSources' -> Maybe CustomerSubscriptions' -> Maybe CustomerTax -> Maybe CustomerTaxExempt' -> Maybe CustomerTaxIds' -> Customer
-- | address: The customer's address.
[customerAddress] :: Customer -> Maybe CustomerAddress'
-- | balance: Current balance, if any, being stored on the customer. If
-- negative, the customer has credit to apply to their next invoice. If
-- positive, the customer has an amount owed that will be added to their
-- next invoice. The balance does not refer to any unpaid invoices; it
-- solely takes into account amounts that have yet to be successfully
-- applied to any invoice. This balance is only taken into account as
-- invoices are finalized.
[customerBalance] :: Customer -> Maybe Int
-- | created: Time at which the object was created. Measured in seconds
-- since the Unix epoch.
[customerCreated] :: Customer -> Int
-- | currency: Three-letter ISO code for the currency the customer
-- can be charged in for recurring billing purposes.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[customerCurrency] :: Customer -> Maybe Text
-- | default_source: ID of the default payment source for the customer.
--
-- If you are using payment methods created via the PaymentMethods API,
-- see the invoice_settings.default_payment_method field instead.
[customerDefaultSource] :: Customer -> Maybe CustomerDefaultSource'Variants
-- | delinquent: When the customer's latest invoice is billed by charging
-- automatically, `delinquent` is `true` if the invoice's latest charge
-- failed. When the customer's latest invoice is billed by sending an
-- invoice, `delinquent` is `true` if the invoice isn't paid by its due
-- date.
--
-- If an invoice is marked uncollectible by dunning, `delinquent`
-- doesn't get reset to `false`.
[customerDelinquent] :: Customer -> Maybe Bool
-- | description: An arbitrary string attached to the object. Often useful
-- for displaying to users.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[customerDescription] :: Customer -> Maybe Text
-- | discount: Describes the current discount active on the customer, if
-- there is one.
[customerDiscount] :: Customer -> Maybe CustomerDiscount'
-- | email: The customer's email address.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[customerEmail] :: Customer -> Maybe Text
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[customerId] :: Customer -> Text
-- | invoice_prefix: The prefix for the customer used to generate unique
-- invoice numbers.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[customerInvoicePrefix] :: Customer -> Maybe Text
-- | invoice_settings:
[customerInvoiceSettings] :: Customer -> Maybe InvoiceSettingCustomerSetting
-- | livemode: Has the value `true` if the object exists in live mode or
-- the value `false` if the object exists in test mode.
[customerLivemode] :: Customer -> Bool
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format.
[customerMetadata] :: Customer -> Maybe Object
-- | name: The customer's full name or business name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[customerName] :: Customer -> Maybe Text
-- | next_invoice_sequence: The suffix of the customer's next invoice
-- number, e.g., 0001.
[customerNextInvoiceSequence] :: Customer -> Maybe Int
-- | phone: The customer's phone number.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[customerPhone] :: Customer -> Maybe Text
-- | preferred_locales: The customer's preferred locales (languages),
-- ordered by preference.
[customerPreferredLocales] :: Customer -> Maybe [Text]
-- | shipping: Mailing and shipping address for the customer. Appears on
-- invoices emailed to this customer.
[customerShipping] :: Customer -> Maybe CustomerShipping'
-- | sources: The customer's payment sources, if any.
[customerSources] :: Customer -> Maybe CustomerSources'
-- | subscriptions: The customer's current subscriptions, if any.
[customerSubscriptions] :: Customer -> Maybe CustomerSubscriptions'
-- | tax:
[customerTax] :: Customer -> Maybe CustomerTax
-- | tax_exempt: Describes the customer's tax exemption status. One of
-- `none`, `exempt`, or `reverse`. When set to `reverse`, invoice and
-- receipt PDFs include the text **"Reverse charge"**.
[customerTaxExempt] :: Customer -> Maybe CustomerTaxExempt'
-- | tax_ids: The customer's tax IDs.
[customerTaxIds] :: Customer -> Maybe CustomerTaxIds'
-- | Create a new Customer with all required fields.
mkCustomer :: Int -> Text -> Bool -> Customer
-- | Defines the object schema located at
-- components.schemas.customer.properties.address.anyOf in the
-- specification.
--
-- The customer\'s address.
data CustomerAddress'
CustomerAddress' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> CustomerAddress'
-- | city: City, district, suburb, town, or village.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[customerAddress'City] :: CustomerAddress' -> Maybe Text
-- | country: Two-letter country code ([ISO 3166-1
-- alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[customerAddress'Country] :: CustomerAddress' -> Maybe Text
-- | line1: Address line 1 (e.g., street, PO Box, or company name).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[customerAddress'Line1] :: CustomerAddress' -> Maybe Text
-- | line2: Address line 2 (e.g., apartment, suite, unit, or building).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[customerAddress'Line2] :: CustomerAddress' -> Maybe Text
-- | postal_code: ZIP or postal code.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[customerAddress'PostalCode] :: CustomerAddress' -> Maybe Text
-- | state: State, county, province, or region.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[customerAddress'State] :: CustomerAddress' -> Maybe Text
-- | Create a new CustomerAddress' with all required fields.
mkCustomerAddress' :: CustomerAddress'
-- | Defines the oneOf schema located at
-- components.schemas.customer.properties.default_source.anyOf
-- in the specification.
--
-- ID of the default payment source for the customer.
--
-- If you are using payment methods created via the PaymentMethods API,
-- see the invoice_settings.default_payment_method field instead.
data CustomerDefaultSource'Variants
CustomerDefaultSource'Text :: Text -> CustomerDefaultSource'Variants
CustomerDefaultSource'AlipayAccount :: AlipayAccount -> CustomerDefaultSource'Variants
CustomerDefaultSource'BankAccount :: BankAccount -> CustomerDefaultSource'Variants
CustomerDefaultSource'BitcoinReceiver :: BitcoinReceiver -> CustomerDefaultSource'Variants
CustomerDefaultSource'Card :: Card -> CustomerDefaultSource'Variants
CustomerDefaultSource'Source :: Source -> CustomerDefaultSource'Variants
-- | Defines the object schema located at
-- components.schemas.customer.properties.discount.anyOf in the
-- specification.
--
-- Describes the current discount active on the customer, if there is
-- one.
data CustomerDiscount'
CustomerDiscount' :: Maybe Text -> Maybe Coupon -> Maybe CustomerDiscount'Customer'Variants -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe CustomerDiscount'Object' -> Maybe CustomerDiscount'PromotionCode'Variants -> Maybe Int -> Maybe Text -> CustomerDiscount'
-- | checkout_session: The Checkout session that this coupon is applied to,
-- if it is applied to a particular session in payment mode. Will not be
-- present for subscription mode.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[customerDiscount'CheckoutSession] :: CustomerDiscount' -> Maybe Text
-- | coupon: A coupon contains information about a percent-off or
-- amount-off discount you might want to apply to a customer. Coupons may
-- be applied to invoices or orders. Coupons do not work
-- with conventional one-off charges.
[customerDiscount'Coupon] :: CustomerDiscount' -> Maybe Coupon
-- | customer: The ID of the customer associated with this discount.
[customerDiscount'Customer] :: CustomerDiscount' -> Maybe CustomerDiscount'Customer'Variants
-- | end: If the coupon has a duration of `repeating`, the date that this
-- discount will end. If the coupon has a duration of `once` or
-- `forever`, this attribute will be null.
[customerDiscount'End] :: CustomerDiscount' -> Maybe Int
-- | id: The ID of the discount object. Discounts cannot be fetched by ID.
-- Use `expand[]=discounts` in API calls to expand discount IDs in an
-- array.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[customerDiscount'Id] :: CustomerDiscount' -> Maybe Text
-- | invoice: The invoice that the discount's coupon was applied to, if it
-- was applied directly to a particular invoice.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[customerDiscount'Invoice] :: CustomerDiscount' -> Maybe Text
-- | invoice_item: The invoice item `id` (or invoice line item `id` for
-- invoice line items of type='subscription') that the discount's coupon
-- was applied to, if it was applied directly to a particular invoice
-- item or invoice line item.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[customerDiscount'InvoiceItem] :: CustomerDiscount' -> Maybe Text
-- | object: String representing the object's type. Objects of the same
-- type share the same value.
[customerDiscount'Object] :: CustomerDiscount' -> Maybe CustomerDiscount'Object'
-- | promotion_code: The promotion code applied to create this discount.
[customerDiscount'PromotionCode] :: CustomerDiscount' -> Maybe CustomerDiscount'PromotionCode'Variants
-- | start: Date that the coupon was applied.
[customerDiscount'Start] :: CustomerDiscount' -> Maybe Int
-- | subscription: The subscription that this coupon is applied to, if it
-- is applied to a particular subscription.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[customerDiscount'Subscription] :: CustomerDiscount' -> Maybe Text
-- | Create a new CustomerDiscount' with all required fields.
mkCustomerDiscount' :: CustomerDiscount'
-- | Defines the oneOf schema located at
-- components.schemas.customer.properties.discount.anyOf.properties.customer.anyOf
-- in the specification.
--
-- The ID of the customer associated with this discount.
data CustomerDiscount'Customer'Variants
CustomerDiscount'Customer'Text :: Text -> CustomerDiscount'Customer'Variants
CustomerDiscount'Customer'Customer :: Customer -> CustomerDiscount'Customer'Variants
CustomerDiscount'Customer'DeletedCustomer :: DeletedCustomer -> CustomerDiscount'Customer'Variants
-- | Defines the enum schema located at
-- components.schemas.customer.properties.discount.anyOf.properties.object
-- in the specification.
--
-- String representing the object's type. Objects of the same type share
-- the same value.
data CustomerDiscount'Object'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
CustomerDiscount'Object'Other :: Value -> CustomerDiscount'Object'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
CustomerDiscount'Object'Typed :: Text -> CustomerDiscount'Object'
-- | Represents the JSON value "discount"
CustomerDiscount'Object'EnumDiscount :: CustomerDiscount'Object'
-- | Defines the oneOf schema located at
-- components.schemas.customer.properties.discount.anyOf.properties.promotion_code.anyOf
-- in the specification.
--
-- The promotion code applied to create this discount.
data CustomerDiscount'PromotionCode'Variants
CustomerDiscount'PromotionCode'Text :: Text -> CustomerDiscount'PromotionCode'Variants
CustomerDiscount'PromotionCode'PromotionCode :: PromotionCode -> CustomerDiscount'PromotionCode'Variants
-- | Defines the object schema located at
-- components.schemas.customer.properties.shipping.anyOf in the
-- specification.
--
-- Mailing and shipping address for the customer. Appears on invoices
-- emailed to this customer.
data CustomerShipping'
CustomerShipping' :: Maybe Address -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> CustomerShipping'
-- | address:
[customerShipping'Address] :: CustomerShipping' -> Maybe Address
-- | carrier: The delivery service that shipped a physical product, such as
-- Fedex, UPS, USPS, etc.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[customerShipping'Carrier] :: CustomerShipping' -> Maybe Text
-- | name: Recipient name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[customerShipping'Name] :: CustomerShipping' -> Maybe Text
-- | phone: Recipient phone (including extension).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[customerShipping'Phone] :: CustomerShipping' -> Maybe Text
-- | tracking_number: The tracking number for a physical product, obtained
-- from the delivery service. If multiple tracking numbers were generated
-- for this purchase, please separate them with commas.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[customerShipping'TrackingNumber] :: CustomerShipping' -> Maybe Text
-- | Create a new CustomerShipping' with all required fields.
mkCustomerShipping' :: CustomerShipping'
-- | Defines the object schema located at
-- components.schemas.customer.properties.sources in the
-- specification.
--
-- The customer's payment sources, if any.
data CustomerSources'
CustomerSources' :: [CustomerSources'Data'] -> Bool -> Text -> CustomerSources'
-- | data: Details about each object.
[customerSources'Data] :: CustomerSources' -> [CustomerSources'Data']
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[customerSources'HasMore] :: CustomerSources' -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[customerSources'Url] :: CustomerSources' -> Text
-- | Create a new CustomerSources' with all required fields.
mkCustomerSources' :: [CustomerSources'Data'] -> Bool -> Text -> CustomerSources'
-- | Defines the object schema located at
-- components.schemas.customer.properties.sources.properties.data.items.anyOf
-- in the specification.
data CustomerSources'Data'
CustomerSources'Data' :: Maybe CustomerSources'Data'Account'Variants -> Maybe Text -> Maybe Text -> Maybe SourceTypeAchCreditTransfer -> Maybe SourceTypeAchDebit -> Maybe SourceTypeAcssDebit -> Maybe Bool -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe SourceTypeAlipay -> Maybe Int -> Maybe Int -> Maybe SourceTypeAuBecsDebit -> Maybe [CustomerSources'Data'AvailablePayoutMethods'] -> Maybe SourceTypeBancontact -> Maybe Text -> Maybe Int -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe SourceTypeCard -> Maybe SourceTypeCardPresent -> Maybe Text -> Maybe SourceCodeVerificationFlow -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe CustomerSources'Data'Customer'Variants -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe SourceTypeEps -> Maybe Int -> Maybe Int -> Maybe Bool -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe SourceTypeGiropay -> Maybe Text -> Maybe SourceTypeIdeal -> Maybe Text -> Maybe SourceTypeKlarna -> Maybe Text -> Maybe Bool -> Maybe Object -> Maybe SourceTypeMultibanco -> Maybe Text -> Maybe CustomerSources'Data'Object' -> Maybe CustomerSources'Data'Owner' -> Maybe SourceTypeP24 -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe SourceReceiverFlow -> Maybe CustomerSources'Data'Recipient'Variants -> Maybe SourceRedirectFlow -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe SourceTypeSepaDebit -> Maybe SourceTypeSofort -> Maybe SourceOrder -> Maybe Text -> Maybe Text -> Maybe SourceTypeThreeDSecure -> Maybe Text -> Maybe CustomerSources'Data'Transactions' -> Maybe CustomerSources'Data'Type' -> Maybe Bool -> Maybe Text -> Maybe Bool -> Maybe Bool -> Maybe Text -> Maybe SourceTypeWechat -> CustomerSources'Data'
-- | account: The ID of the account that the bank account is associated
-- with.
[customerSources'Data'Account] :: CustomerSources'Data' -> Maybe CustomerSources'Data'Account'Variants
-- | account_holder_name: The name of the person or business that owns the
-- bank account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[customerSources'Data'AccountHolderName] :: CustomerSources'Data' -> Maybe Text
-- | account_holder_type: The type of entity that holds the account. This
-- can be either `individual` or `company`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[customerSources'Data'AccountHolderType] :: CustomerSources'Data' -> Maybe Text
-- | ach_credit_transfer
[customerSources'Data'AchCreditTransfer] :: CustomerSources'Data' -> Maybe SourceTypeAchCreditTransfer
-- | ach_debit
[customerSources'Data'AchDebit] :: CustomerSources'Data' -> Maybe SourceTypeAchDebit
-- | acss_debit
[customerSources'Data'AcssDebit] :: CustomerSources'Data' -> Maybe SourceTypeAcssDebit
-- | active: True when this bitcoin receiver has received a non-zero amount
-- of bitcoin.
[customerSources'Data'Active] :: CustomerSources'Data' -> Maybe Bool
-- | address_city: City/District/Suburb/Town/Village.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[customerSources'Data'AddressCity] :: CustomerSources'Data' -> Maybe Text
-- | address_country: Billing address country, if provided when creating
-- card.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[customerSources'Data'AddressCountry] :: CustomerSources'Data' -> Maybe Text
-- | address_line1: Address line 1 (Street address/PO Box/Company name).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[customerSources'Data'AddressLine1] :: CustomerSources'Data' -> Maybe Text
-- | address_line1_check: If `address_line1` was provided, results of the
-- check: `pass`, `fail`, `unavailable`, or `unchecked`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[customerSources'Data'AddressLine1Check] :: CustomerSources'Data' -> Maybe Text
-- | address_line2: Address line 2 (Apartment/Suite/Unit/Building).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[customerSources'Data'AddressLine2] :: CustomerSources'Data' -> Maybe Text
-- | address_state: State/County/Province/Region.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[customerSources'Data'AddressState] :: CustomerSources'Data' -> Maybe Text
-- | address_zip: ZIP or postal code.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[customerSources'Data'AddressZip] :: CustomerSources'Data' -> Maybe Text
-- | address_zip_check: If `address_zip` was provided, results of the
-- check: `pass`, `fail`, `unavailable`, or `unchecked`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[customerSources'Data'AddressZipCheck] :: CustomerSources'Data' -> Maybe Text
-- | alipay
[customerSources'Data'Alipay] :: CustomerSources'Data' -> Maybe SourceTypeAlipay
-- | amount: The amount of `currency` that you are collecting as payment.
[customerSources'Data'Amount] :: CustomerSources'Data' -> Maybe Int
-- | amount_received: The amount of `currency` to which
-- `bitcoin_amount_received` has been converted.
[customerSources'Data'AmountReceived] :: CustomerSources'Data' -> Maybe Int
-- | au_becs_debit
[customerSources'Data'AuBecsDebit] :: CustomerSources'Data' -> Maybe SourceTypeAuBecsDebit
-- | available_payout_methods: A set of available payout methods for this
-- bank account. Only values from this set should be passed as the
-- `method` when creating a payout.
[customerSources'Data'AvailablePayoutMethods] :: CustomerSources'Data' -> Maybe [CustomerSources'Data'AvailablePayoutMethods']
-- | bancontact
[customerSources'Data'Bancontact] :: CustomerSources'Data' -> Maybe SourceTypeBancontact
-- | bank_name: Name of the bank associated with the routing number (e.g.,
-- `WELLS FARGO`).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[customerSources'Data'BankName] :: CustomerSources'Data' -> Maybe Text
-- | bitcoin_amount: The amount of bitcoin that the customer should send to
-- fill the receiver. The `bitcoin_amount` is denominated in Satoshi:
-- there are 10^8 Satoshi in one bitcoin.
[customerSources'Data'BitcoinAmount] :: CustomerSources'Data' -> Maybe Int
-- | bitcoin_amount_received: The amount of bitcoin that has been sent by
-- the customer to this receiver.
[customerSources'Data'BitcoinAmountReceived] :: CustomerSources'Data' -> Maybe Int
-- | bitcoin_uri: This URI can be displayed to the customer as a clickable
-- link (to activate their bitcoin client) or as a QR code (for mobile
-- wallets).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[customerSources'Data'BitcoinUri] :: CustomerSources'Data' -> Maybe Text
-- | brand: Card brand. Can be `American Express`, `Diners Club`,
-- `Discover`, `JCB`, `MasterCard`, `UnionPay`, `Visa`, or `Unknown`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[customerSources'Data'Brand] :: CustomerSources'Data' -> Maybe Text
-- | card
[customerSources'Data'Card] :: CustomerSources'Data' -> Maybe SourceTypeCard
-- | card_present
[customerSources'Data'CardPresent] :: CustomerSources'Data' -> Maybe SourceTypeCardPresent
-- | client_secret: The client secret of the source. Used for client-side
-- retrieval using a publishable key.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[customerSources'Data'ClientSecret] :: CustomerSources'Data' -> Maybe Text
-- | code_verification:
[customerSources'Data'CodeVerification] :: CustomerSources'Data' -> Maybe SourceCodeVerificationFlow
-- | country: Two-letter ISO code representing the country the bank account
-- is located in.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[customerSources'Data'Country] :: CustomerSources'Data' -> Maybe Text
-- | created: Time at which the object was created. Measured in seconds
-- since the Unix epoch.
[customerSources'Data'Created] :: CustomerSources'Data' -> Maybe Int
-- | currency: Three-letter ISO code for the currency paid out to
-- the bank account.
[customerSources'Data'Currency] :: CustomerSources'Data' -> Maybe Text
-- | customer: The ID of the customer associated with this Alipay Account.
[customerSources'Data'Customer] :: CustomerSources'Data' -> Maybe CustomerSources'Data'Customer'Variants
-- | cvc_check: If a CVC was provided, results of the check: `pass`,
-- `fail`, `unavailable`, or `unchecked`. A result of unchecked indicates
-- that CVC was provided but hasn't been checked yet. Checks are
-- typically performed when attaching a card to a Customer object, or
-- when creating a charge. For more details, see Check if a card is
-- valid without a charge.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[customerSources'Data'CvcCheck] :: CustomerSources'Data' -> Maybe Text
-- | default_for_currency: Whether this bank account is the default
-- external account for its currency.
[customerSources'Data'DefaultForCurrency] :: CustomerSources'Data' -> Maybe Bool
-- | description: An arbitrary string attached to the object. Often useful
-- for displaying to users.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[customerSources'Data'Description] :: CustomerSources'Data' -> Maybe Text
-- | dynamic_last4: (For tokenized numbers only.) The last four digits of
-- the device account number.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[customerSources'Data'DynamicLast4] :: CustomerSources'Data' -> Maybe Text
-- | email: The customer's email address, set by the API call that creates
-- the receiver.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[customerSources'Data'Email] :: CustomerSources'Data' -> Maybe Text
-- | eps
[customerSources'Data'Eps] :: CustomerSources'Data' -> Maybe SourceTypeEps
-- | exp_month: Two-digit number representing the card's expiration month.
[customerSources'Data'ExpMonth] :: CustomerSources'Data' -> Maybe Int
-- | exp_year: Four-digit number representing the card's expiration year.
[customerSources'Data'ExpYear] :: CustomerSources'Data' -> Maybe Int
-- | filled: This flag is initially false and updates to true when the
-- customer sends the `bitcoin_amount` to this receiver.
[customerSources'Data'Filled] :: CustomerSources'Data' -> Maybe Bool
-- | fingerprint: Uniquely identifies the account and will be the same
-- across all Alipay account objects that are linked to the same Alipay
-- account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[customerSources'Data'Fingerprint] :: CustomerSources'Data' -> Maybe Text
-- | flow: The authentication `flow` of the source. `flow` is one of
-- `redirect`, `receiver`, `code_verification`, `none`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[customerSources'Data'Flow] :: CustomerSources'Data' -> Maybe Text
-- | funding: Card funding type. Can be `credit`, `debit`, `prepaid`, or
-- `unknown`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[customerSources'Data'Funding] :: CustomerSources'Data' -> Maybe Text
-- | giropay
[customerSources'Data'Giropay] :: CustomerSources'Data' -> Maybe SourceTypeGiropay
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[customerSources'Data'Id] :: CustomerSources'Data' -> Maybe Text
-- | ideal
[customerSources'Data'Ideal] :: CustomerSources'Data' -> Maybe SourceTypeIdeal
-- | inbound_address: A bitcoin address that is specific to this receiver.
-- The customer can send bitcoin to this address to fill the receiver.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[customerSources'Data'InboundAddress] :: CustomerSources'Data' -> Maybe Text
-- | klarna
[customerSources'Data'Klarna] :: CustomerSources'Data' -> Maybe SourceTypeKlarna
-- | last4: The last four digits of the bank account number.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[customerSources'Data'Last4] :: CustomerSources'Data' -> Maybe Text
-- | livemode: Has the value `true` if the object exists in live mode or
-- the value `false` if the object exists in test mode.
[customerSources'Data'Livemode] :: CustomerSources'Data' -> Maybe Bool
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format.
[customerSources'Data'Metadata] :: CustomerSources'Data' -> Maybe Object
-- | multibanco
[customerSources'Data'Multibanco] :: CustomerSources'Data' -> Maybe SourceTypeMultibanco
-- | name: Cardholder name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[customerSources'Data'Name] :: CustomerSources'Data' -> Maybe Text
-- | object: String representing the object's type. Objects of the same
-- type share the same value.
[customerSources'Data'Object] :: CustomerSources'Data' -> Maybe CustomerSources'Data'Object'
-- | owner: Information about the owner of the payment instrument that may
-- be used or required by particular source types.
[customerSources'Data'Owner] :: CustomerSources'Data' -> Maybe CustomerSources'Data'Owner'
-- | p24
[customerSources'Data'P24] :: CustomerSources'Data' -> Maybe SourceTypeP24
-- | payment: The ID of the payment created from the receiver, if any.
-- Hidden when viewing the receiver with a publishable key.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[customerSources'Data'Payment] :: CustomerSources'Data' -> Maybe Text
-- | payment_amount: If the Alipay account object is not reusable, the
-- exact amount that you can create a charge for.
[customerSources'Data'PaymentAmount] :: CustomerSources'Data' -> Maybe Int
-- | payment_currency: If the Alipay account object is not reusable, the
-- exact currency that you can create a charge for.
[customerSources'Data'PaymentCurrency] :: CustomerSources'Data' -> Maybe Text
-- | receiver:
[customerSources'Data'Receiver] :: CustomerSources'Data' -> Maybe SourceReceiverFlow
-- | recipient: 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.
[customerSources'Data'Recipient] :: CustomerSources'Data' -> Maybe CustomerSources'Data'Recipient'Variants
-- | redirect:
[customerSources'Data'Redirect] :: CustomerSources'Data' -> Maybe SourceRedirectFlow
-- | refund_address: The refund address of this bitcoin receiver.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[customerSources'Data'RefundAddress] :: CustomerSources'Data' -> Maybe Text
-- | reusable: True if you can create multiple payments using this account.
-- If the account is reusable, then you can freely choose the amount of
-- each payment.
[customerSources'Data'Reusable] :: CustomerSources'Data' -> Maybe Bool
-- | routing_number: The routing transit number for the bank account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[customerSources'Data'RoutingNumber] :: CustomerSources'Data' -> Maybe Text
-- | sepa_debit
[customerSources'Data'SepaDebit] :: CustomerSources'Data' -> Maybe SourceTypeSepaDebit
-- | sofort
[customerSources'Data'Sofort] :: CustomerSources'Data' -> Maybe SourceTypeSofort
-- | source_order:
[customerSources'Data'SourceOrder] :: CustomerSources'Data' -> Maybe SourceOrder
-- | statement_descriptor: Extra information about a source. This will
-- appear on your customer's statement every time you charge the source.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[customerSources'Data'StatementDescriptor] :: CustomerSources'Data' -> Maybe Text
-- | status: For bank accounts, possible values are `new`, `validated`,
-- `verified`, `verification_failed`, or `errored`. A bank account that
-- hasn't had any activity or validation performed is `new`. If Stripe
-- can determine that the bank account exists, its status will be
-- `validated`. Note that there often isn’t enough information to know
-- (e.g., for smaller credit unions), and the validation is not always
-- run. If customer bank account verification has succeeded, the bank
-- account status will be `verified`. If the verification failed for any
-- reason, such as microdeposit failure, the status will be
-- `verification_failed`. If a transfer sent to this bank account fails,
-- we'll set the status to `errored` and will not continue to send
-- transfers until the bank details are updated.
--
-- For external accounts, possible values are `new` and `errored`.
-- Validations aren't run against external accounts because they're only
-- used for payouts. This means the other statuses don't apply. If a
-- transfer fails, the status is set to `errored` and transfers are
-- stopped until account details are updated.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[customerSources'Data'Status] :: CustomerSources'Data' -> Maybe Text
-- | three_d_secure
[customerSources'Data'ThreeDSecure] :: CustomerSources'Data' -> Maybe SourceTypeThreeDSecure
-- | tokenization_method: If the card number is tokenized, this is the
-- method that was used. Can be `android_pay` (includes Google Pay),
-- `apple_pay`, `masterpass`, `visa_checkout`, or null.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[customerSources'Data'TokenizationMethod] :: CustomerSources'Data' -> Maybe Text
-- | transactions: 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.
[customerSources'Data'Transactions] :: CustomerSources'Data' -> Maybe CustomerSources'Data'Transactions'
-- | type: The `type` of the source. The `type` is a payment method, one of
-- `ach_credit_transfer`, `ach_debit`, `alipay`, `bancontact`, `card`,
-- `card_present`, `eps`, `giropay`, `ideal`, `multibanco`, `klarna`,
-- `p24`, `sepa_debit`, `sofort`, `three_d_secure`, or `wechat`. An
-- additional hash is included on the source with a name matching this
-- value. It contains additional information specific to the payment
-- method used.
[customerSources'Data'Type] :: CustomerSources'Data' -> Maybe CustomerSources'Data'Type'
-- | uncaptured_funds: This receiver contains uncaptured funds that can be
-- used for a payment or refunded.
[customerSources'Data'UncapturedFunds] :: CustomerSources'Data' -> Maybe Bool
-- | usage: Either `reusable` or `single_use`. Whether this source should
-- be reusable or not. Some source types may or may not be reusable by
-- construction, while others may leave the option at creation. If an
-- incompatible value is passed, an error will be returned.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[customerSources'Data'Usage] :: CustomerSources'Data' -> Maybe Text
-- | used: Whether this Alipay account object has ever been used for a
-- payment.
[customerSources'Data'Used] :: CustomerSources'Data' -> Maybe Bool
-- | used_for_payment: Indicate if this source is used for payment.
[customerSources'Data'UsedForPayment] :: CustomerSources'Data' -> Maybe Bool
-- | username: The username for the Alipay account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[customerSources'Data'Username] :: CustomerSources'Data' -> Maybe Text
-- | wechat
[customerSources'Data'Wechat] :: CustomerSources'Data' -> Maybe SourceTypeWechat
-- | Create a new CustomerSources'Data' with all required fields.
mkCustomerSources'Data' :: CustomerSources'Data'
-- | Defines the oneOf schema located at
-- components.schemas.customer.properties.sources.properties.data.items.anyOf.properties.account.anyOf
-- in the specification.
--
-- The ID of the account that the bank account is associated with.
data CustomerSources'Data'Account'Variants
CustomerSources'Data'Account'Text :: Text -> CustomerSources'Data'Account'Variants
CustomerSources'Data'Account'Account :: Account -> CustomerSources'Data'Account'Variants
-- | Defines the enum schema located at
-- components.schemas.customer.properties.sources.properties.data.items.anyOf.properties.available_payout_methods.items
-- in the specification.
data CustomerSources'Data'AvailablePayoutMethods'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
CustomerSources'Data'AvailablePayoutMethods'Other :: Value -> CustomerSources'Data'AvailablePayoutMethods'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
CustomerSources'Data'AvailablePayoutMethods'Typed :: Text -> CustomerSources'Data'AvailablePayoutMethods'
-- | Represents the JSON value "instant"
CustomerSources'Data'AvailablePayoutMethods'EnumInstant :: CustomerSources'Data'AvailablePayoutMethods'
-- | Represents the JSON value "standard"
CustomerSources'Data'AvailablePayoutMethods'EnumStandard :: CustomerSources'Data'AvailablePayoutMethods'
-- | Defines the oneOf schema located at
-- components.schemas.customer.properties.sources.properties.data.items.anyOf.properties.customer.anyOf
-- in the specification.
--
-- The ID of the customer associated with this Alipay Account.
data CustomerSources'Data'Customer'Variants
CustomerSources'Data'Customer'Text :: Text -> CustomerSources'Data'Customer'Variants
CustomerSources'Data'Customer'Customer :: Customer -> CustomerSources'Data'Customer'Variants
CustomerSources'Data'Customer'DeletedCustomer :: DeletedCustomer -> CustomerSources'Data'Customer'Variants
-- | Defines the enum schema located at
-- components.schemas.customer.properties.sources.properties.data.items.anyOf.properties.object
-- in the specification.
--
-- String representing the object's type. Objects of the same type share
-- the same value.
data CustomerSources'Data'Object'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
CustomerSources'Data'Object'Other :: Value -> CustomerSources'Data'Object'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
CustomerSources'Data'Object'Typed :: Text -> CustomerSources'Data'Object'
-- | Represents the JSON value "alipay_account"
CustomerSources'Data'Object'EnumAlipayAccount :: CustomerSources'Data'Object'
-- | Defines the object schema located at
-- components.schemas.customer.properties.sources.properties.data.items.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.
data CustomerSources'Data'Owner'
CustomerSources'Data'Owner' :: Maybe CustomerSources'Data'Owner'Address' -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe CustomerSources'Data'Owner'VerifiedAddress' -> Maybe Text -> Maybe Text -> Maybe Text -> CustomerSources'Data'Owner'
-- | address: Owner's address.
[customerSources'Data'Owner'Address] :: CustomerSources'Data'Owner' -> Maybe CustomerSources'Data'Owner'Address'
-- | email: Owner's email address.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[customerSources'Data'Owner'Email] :: CustomerSources'Data'Owner' -> Maybe Text
-- | name: Owner's full name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[customerSources'Data'Owner'Name] :: CustomerSources'Data'Owner' -> Maybe Text
-- | phone: Owner's phone number (including extension).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[customerSources'Data'Owner'Phone] :: CustomerSources'Data'Owner' -> Maybe Text
-- | verified_address: 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.
[customerSources'Data'Owner'VerifiedAddress] :: CustomerSources'Data'Owner' -> Maybe CustomerSources'Data'Owner'VerifiedAddress'
-- | verified_email: Verified owner's email 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.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[customerSources'Data'Owner'VerifiedEmail] :: CustomerSources'Data'Owner' -> Maybe Text
-- | verified_name: Verified owner's full name. 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.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[customerSources'Data'Owner'VerifiedName] :: CustomerSources'Data'Owner' -> Maybe Text
-- | verified_phone: Verified owner's phone number (including extension).
-- 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.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[customerSources'Data'Owner'VerifiedPhone] :: CustomerSources'Data'Owner' -> Maybe Text
-- | Create a new CustomerSources'Data'Owner' with all required
-- fields.
mkCustomerSources'Data'Owner' :: CustomerSources'Data'Owner'
-- | Defines the object schema located at
-- components.schemas.customer.properties.sources.properties.data.items.anyOf.properties.owner.anyOf.properties.address.anyOf
-- in the specification.
--
-- Owner\'s address.
data CustomerSources'Data'Owner'Address'
CustomerSources'Data'Owner'Address' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> CustomerSources'Data'Owner'Address'
-- | city: City, district, suburb, town, or village.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[customerSources'Data'Owner'Address'City] :: CustomerSources'Data'Owner'Address' -> Maybe Text
-- | country: Two-letter country code ([ISO 3166-1
-- alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[customerSources'Data'Owner'Address'Country] :: CustomerSources'Data'Owner'Address' -> Maybe Text
-- | line1: Address line 1 (e.g., street, PO Box, or company name).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[customerSources'Data'Owner'Address'Line1] :: CustomerSources'Data'Owner'Address' -> Maybe Text
-- | line2: Address line 2 (e.g., apartment, suite, unit, or building).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[customerSources'Data'Owner'Address'Line2] :: CustomerSources'Data'Owner'Address' -> Maybe Text
-- | postal_code: ZIP or postal code.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[customerSources'Data'Owner'Address'PostalCode] :: CustomerSources'Data'Owner'Address' -> Maybe Text
-- | state: State, county, province, or region.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[customerSources'Data'Owner'Address'State] :: CustomerSources'Data'Owner'Address' -> Maybe Text
-- | Create a new CustomerSources'Data'Owner'Address' with all
-- required fields.
mkCustomerSources'Data'Owner'Address' :: CustomerSources'Data'Owner'Address'
-- | Defines the object schema located at
-- components.schemas.customer.properties.sources.properties.data.items.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.
data CustomerSources'Data'Owner'VerifiedAddress'
CustomerSources'Data'Owner'VerifiedAddress' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> CustomerSources'Data'Owner'VerifiedAddress'
-- | city: City, district, suburb, town, or village.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[customerSources'Data'Owner'VerifiedAddress'City] :: CustomerSources'Data'Owner'VerifiedAddress' -> Maybe Text
-- | country: Two-letter country code ([ISO 3166-1
-- alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[customerSources'Data'Owner'VerifiedAddress'Country] :: CustomerSources'Data'Owner'VerifiedAddress' -> Maybe Text
-- | line1: Address line 1 (e.g., street, PO Box, or company name).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[customerSources'Data'Owner'VerifiedAddress'Line1] :: CustomerSources'Data'Owner'VerifiedAddress' -> Maybe Text
-- | line2: Address line 2 (e.g., apartment, suite, unit, or building).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[customerSources'Data'Owner'VerifiedAddress'Line2] :: CustomerSources'Data'Owner'VerifiedAddress' -> Maybe Text
-- | postal_code: ZIP or postal code.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[customerSources'Data'Owner'VerifiedAddress'PostalCode] :: CustomerSources'Data'Owner'VerifiedAddress' -> Maybe Text
-- | state: State, county, province, or region.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[customerSources'Data'Owner'VerifiedAddress'State] :: CustomerSources'Data'Owner'VerifiedAddress' -> Maybe Text
-- | Create a new CustomerSources'Data'Owner'VerifiedAddress' with
-- all required fields.
mkCustomerSources'Data'Owner'VerifiedAddress' :: CustomerSources'Data'Owner'VerifiedAddress'
-- | Defines the oneOf schema located at
-- components.schemas.customer.properties.sources.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.
data CustomerSources'Data'Recipient'Variants
CustomerSources'Data'Recipient'Text :: Text -> CustomerSources'Data'Recipient'Variants
CustomerSources'Data'Recipient'Recipient :: Recipient -> CustomerSources'Data'Recipient'Variants
-- | Defines the object schema located at
-- components.schemas.customer.properties.sources.properties.data.items.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.
data CustomerSources'Data'Transactions'
CustomerSources'Data'Transactions' :: [BitcoinTransaction] -> Bool -> Text -> CustomerSources'Data'Transactions'
-- | data: Details about each object.
[customerSources'Data'Transactions'Data] :: CustomerSources'Data'Transactions' -> [BitcoinTransaction]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[customerSources'Data'Transactions'HasMore] :: CustomerSources'Data'Transactions' -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[customerSources'Data'Transactions'Url] :: CustomerSources'Data'Transactions' -> Text
-- | Create a new CustomerSources'Data'Transactions' with all
-- required fields.
mkCustomerSources'Data'Transactions' :: [BitcoinTransaction] -> Bool -> Text -> CustomerSources'Data'Transactions'
-- | Defines the enum schema located at
-- components.schemas.customer.properties.sources.properties.data.items.anyOf.properties.type
-- in the specification.
--
-- The `type` of the source. The `type` is a payment method, one of
-- `ach_credit_transfer`, `ach_debit`, `alipay`, `bancontact`, `card`,
-- `card_present`, `eps`, `giropay`, `ideal`, `multibanco`, `klarna`,
-- `p24`, `sepa_debit`, `sofort`, `three_d_secure`, or `wechat`. An
-- additional hash is included on the source with a name matching this
-- value. It contains additional information specific to the payment
-- method used.
data CustomerSources'Data'Type'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
CustomerSources'Data'Type'Other :: Value -> CustomerSources'Data'Type'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
CustomerSources'Data'Type'Typed :: Text -> CustomerSources'Data'Type'
-- | Represents the JSON value "ach_credit_transfer"
CustomerSources'Data'Type'EnumAchCreditTransfer :: CustomerSources'Data'Type'
-- | Represents the JSON value "ach_debit"
CustomerSources'Data'Type'EnumAchDebit :: CustomerSources'Data'Type'
-- | Represents the JSON value "acss_debit"
CustomerSources'Data'Type'EnumAcssDebit :: CustomerSources'Data'Type'
-- | Represents the JSON value "alipay"
CustomerSources'Data'Type'EnumAlipay :: CustomerSources'Data'Type'
-- | Represents the JSON value "au_becs_debit"
CustomerSources'Data'Type'EnumAuBecsDebit :: CustomerSources'Data'Type'
-- | Represents the JSON value "bancontact"
CustomerSources'Data'Type'EnumBancontact :: CustomerSources'Data'Type'
-- | Represents the JSON value "card"
CustomerSources'Data'Type'EnumCard :: CustomerSources'Data'Type'
-- | Represents the JSON value "card_present"
CustomerSources'Data'Type'EnumCardPresent :: CustomerSources'Data'Type'
-- | Represents the JSON value "eps"
CustomerSources'Data'Type'EnumEps :: CustomerSources'Data'Type'
-- | Represents the JSON value "giropay"
CustomerSources'Data'Type'EnumGiropay :: CustomerSources'Data'Type'
-- | Represents the JSON value "ideal"
CustomerSources'Data'Type'EnumIdeal :: CustomerSources'Data'Type'
-- | Represents the JSON value "klarna"
CustomerSources'Data'Type'EnumKlarna :: CustomerSources'Data'Type'
-- | Represents the JSON value "multibanco"
CustomerSources'Data'Type'EnumMultibanco :: CustomerSources'Data'Type'
-- | Represents the JSON value "p24"
CustomerSources'Data'Type'EnumP24 :: CustomerSources'Data'Type'
-- | Represents the JSON value "sepa_debit"
CustomerSources'Data'Type'EnumSepaDebit :: CustomerSources'Data'Type'
-- | Represents the JSON value "sofort"
CustomerSources'Data'Type'EnumSofort :: CustomerSources'Data'Type'
-- | Represents the JSON value "three_d_secure"
CustomerSources'Data'Type'EnumThreeDSecure :: CustomerSources'Data'Type'
-- | Represents the JSON value "wechat"
CustomerSources'Data'Type'EnumWechat :: CustomerSources'Data'Type'
-- | Defines the object schema located at
-- components.schemas.customer.properties.subscriptions in the
-- specification.
--
-- The customer's current subscriptions, if any.
data CustomerSubscriptions'
CustomerSubscriptions' :: [Subscription] -> Bool -> Text -> CustomerSubscriptions'
-- | data: Details about each object.
[customerSubscriptions'Data] :: CustomerSubscriptions' -> [Subscription]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[customerSubscriptions'HasMore] :: CustomerSubscriptions' -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[customerSubscriptions'Url] :: CustomerSubscriptions' -> Text
-- | Create a new CustomerSubscriptions' with all required fields.
mkCustomerSubscriptions' :: [Subscription] -> Bool -> Text -> CustomerSubscriptions'
-- | Defines the enum schema located at
-- components.schemas.customer.properties.tax_exempt in the
-- specification.
--
-- Describes the customer's tax exemption status. One of `none`,
-- `exempt`, or `reverse`. When set to `reverse`, invoice and receipt
-- PDFs include the text **"Reverse charge"**.
data CustomerTaxExempt'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
CustomerTaxExempt'Other :: Value -> CustomerTaxExempt'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
CustomerTaxExempt'Typed :: Text -> CustomerTaxExempt'
-- | Represents the JSON value "exempt"
CustomerTaxExempt'EnumExempt :: CustomerTaxExempt'
-- | Represents the JSON value "none"
CustomerTaxExempt'EnumNone :: CustomerTaxExempt'
-- | Represents the JSON value "reverse"
CustomerTaxExempt'EnumReverse :: CustomerTaxExempt'
-- | Defines the object schema located at
-- components.schemas.customer.properties.tax_ids in the
-- specification.
--
-- The customer's tax IDs.
data CustomerTaxIds'
CustomerTaxIds' :: [TaxId] -> Bool -> Text -> CustomerTaxIds'
-- | data: Details about each object.
[customerTaxIds'Data] :: CustomerTaxIds' -> [TaxId]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[customerTaxIds'HasMore] :: CustomerTaxIds' -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[customerTaxIds'Url] :: CustomerTaxIds' -> Text
-- | Create a new CustomerTaxIds' with all required fields.
mkCustomerTaxIds' :: [TaxId] -> Bool -> Text -> CustomerTaxIds'
instance GHC.Classes.Eq StripeAPI.Types.Customer.CustomerAddress'
instance GHC.Show.Show StripeAPI.Types.Customer.CustomerAddress'
instance GHC.Classes.Eq StripeAPI.Types.Customer.CustomerDefaultSource'Variants
instance GHC.Show.Show StripeAPI.Types.Customer.CustomerDefaultSource'Variants
instance GHC.Classes.Eq StripeAPI.Types.Customer.CustomerDiscount'Object'
instance GHC.Show.Show StripeAPI.Types.Customer.CustomerDiscount'Object'
instance GHC.Classes.Eq StripeAPI.Types.Customer.CustomerDiscount'PromotionCode'Variants
instance GHC.Show.Show StripeAPI.Types.Customer.CustomerDiscount'PromotionCode'Variants
instance GHC.Classes.Eq StripeAPI.Types.Customer.CustomerShipping'
instance GHC.Show.Show StripeAPI.Types.Customer.CustomerShipping'
instance GHC.Classes.Eq StripeAPI.Types.Customer.CustomerSources'Data'Account'Variants
instance GHC.Show.Show StripeAPI.Types.Customer.CustomerSources'Data'Account'Variants
instance GHC.Classes.Eq StripeAPI.Types.Customer.CustomerSources'Data'AvailablePayoutMethods'
instance GHC.Show.Show StripeAPI.Types.Customer.CustomerSources'Data'AvailablePayoutMethods'
instance GHC.Classes.Eq StripeAPI.Types.Customer.CustomerSources'Data'Object'
instance GHC.Show.Show StripeAPI.Types.Customer.CustomerSources'Data'Object'
instance GHC.Classes.Eq StripeAPI.Types.Customer.CustomerSources'Data'Owner'Address'
instance GHC.Show.Show StripeAPI.Types.Customer.CustomerSources'Data'Owner'Address'
instance GHC.Classes.Eq StripeAPI.Types.Customer.CustomerSources'Data'Owner'VerifiedAddress'
instance GHC.Show.Show StripeAPI.Types.Customer.CustomerSources'Data'Owner'VerifiedAddress'
instance GHC.Classes.Eq StripeAPI.Types.Customer.CustomerSources'Data'Owner'
instance GHC.Show.Show StripeAPI.Types.Customer.CustomerSources'Data'Owner'
instance GHC.Classes.Eq StripeAPI.Types.Customer.CustomerSources'Data'Recipient'Variants
instance GHC.Show.Show StripeAPI.Types.Customer.CustomerSources'Data'Recipient'Variants
instance GHC.Classes.Eq StripeAPI.Types.Customer.CustomerSources'Data'Transactions'
instance GHC.Show.Show StripeAPI.Types.Customer.CustomerSources'Data'Transactions'
instance GHC.Classes.Eq StripeAPI.Types.Customer.CustomerSources'Data'Type'
instance GHC.Show.Show StripeAPI.Types.Customer.CustomerSources'Data'Type'
instance GHC.Classes.Eq StripeAPI.Types.Customer.CustomerSubscriptions'
instance GHC.Show.Show StripeAPI.Types.Customer.CustomerSubscriptions'
instance GHC.Classes.Eq StripeAPI.Types.Customer.CustomerTaxExempt'
instance GHC.Show.Show StripeAPI.Types.Customer.CustomerTaxExempt'
instance GHC.Classes.Eq StripeAPI.Types.Customer.CustomerTaxIds'
instance GHC.Show.Show StripeAPI.Types.Customer.CustomerTaxIds'
instance GHC.Classes.Eq StripeAPI.Types.Customer.CustomerDiscount'Customer'Variants
instance GHC.Show.Show StripeAPI.Types.Customer.CustomerDiscount'Customer'Variants
instance GHC.Classes.Eq StripeAPI.Types.Customer.CustomerDiscount'
instance GHC.Show.Show StripeAPI.Types.Customer.CustomerDiscount'
instance GHC.Classes.Eq StripeAPI.Types.Customer.CustomerSources'Data'Customer'Variants
instance GHC.Show.Show StripeAPI.Types.Customer.CustomerSources'Data'Customer'Variants
instance GHC.Classes.Eq StripeAPI.Types.Customer.CustomerSources'Data'
instance GHC.Show.Show StripeAPI.Types.Customer.CustomerSources'Data'
instance GHC.Classes.Eq StripeAPI.Types.Customer.CustomerSources'
instance GHC.Show.Show StripeAPI.Types.Customer.CustomerSources'
instance GHC.Classes.Eq StripeAPI.Types.Customer.Customer
instance GHC.Show.Show StripeAPI.Types.Customer.Customer
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Customer.Customer
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Customer.Customer
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Customer.CustomerDiscount'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Customer.CustomerDiscount'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Customer.CustomerDiscount'Customer'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Customer.CustomerDiscount'Customer'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Customer.CustomerSources'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Customer.CustomerSources'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Customer.CustomerSources'Data'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Customer.CustomerSources'Data'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Customer.CustomerSources'Data'Customer'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Customer.CustomerSources'Data'Customer'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Customer.CustomerTaxIds'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Customer.CustomerTaxIds'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Customer.CustomerTaxExempt'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Customer.CustomerTaxExempt'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Customer.CustomerSubscriptions'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Customer.CustomerSubscriptions'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Customer.CustomerSources'Data'Type'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Customer.CustomerSources'Data'Type'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Customer.CustomerSources'Data'Transactions'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Customer.CustomerSources'Data'Transactions'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Customer.CustomerSources'Data'Recipient'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Customer.CustomerSources'Data'Recipient'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Customer.CustomerSources'Data'Owner'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Customer.CustomerSources'Data'Owner'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Customer.CustomerSources'Data'Owner'VerifiedAddress'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Customer.CustomerSources'Data'Owner'VerifiedAddress'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Customer.CustomerSources'Data'Owner'Address'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Customer.CustomerSources'Data'Owner'Address'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Customer.CustomerSources'Data'Object'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Customer.CustomerSources'Data'Object'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Customer.CustomerSources'Data'AvailablePayoutMethods'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Customer.CustomerSources'Data'AvailablePayoutMethods'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Customer.CustomerSources'Data'Account'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Customer.CustomerSources'Data'Account'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Customer.CustomerShipping'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Customer.CustomerShipping'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Customer.CustomerDiscount'PromotionCode'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Customer.CustomerDiscount'PromotionCode'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Customer.CustomerDiscount'Object'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Customer.CustomerDiscount'Object'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Customer.CustomerDefaultSource'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Customer.CustomerDefaultSource'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Customer.CustomerAddress'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Customer.CustomerAddress'
-- | Contains the types generated from the schema TaxId
module StripeAPI.Types.TaxId
-- | Defines the object schema located at
-- components.schemas.tax_id in the specification.
--
-- You can add one or multiple tax IDs to a customer. A customer's
-- tax IDs are displayed on invoices and credit notes issued for the
-- customer.
--
-- Related guide: Customer Tax Identification Numbers.
data TaxId
TaxId :: Maybe Text -> Int -> Maybe TaxIdCustomer'Variants -> Text -> Bool -> TaxIdType' -> Text -> Maybe TaxIdVerification' -> TaxId
-- | country: Two-letter ISO code representing the country of the tax ID.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[taxIdCountry] :: TaxId -> Maybe Text
-- | created: Time at which the object was created. Measured in seconds
-- since the Unix epoch.
[taxIdCreated] :: TaxId -> Int
-- | customer: ID of the customer.
[taxIdCustomer] :: TaxId -> Maybe TaxIdCustomer'Variants
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[taxIdId] :: TaxId -> Text
-- | livemode: Has the value `true` if the object exists in live mode or
-- the value `false` if the object exists in test mode.
[taxIdLivemode] :: TaxId -> Bool
-- | type: Type of the tax ID, one of `ae_trn`, `au_abn`, `br_cnpj`,
-- `br_cpf`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`,
-- `ca_pst_sk`, `ca_qst`, `ch_vat`, `cl_tin`, `es_cif`, `eu_vat`,
-- `gb_vat`, `hk_br`, `id_npwp`, `il_vat`, `in_gst`, `jp_cn`, `jp_rn`,
-- `kr_brn`, `li_uid`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `no_vat`,
-- `nz_gst`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `th_vat`,
-- `tw_vat`, `us_ein`, or `za_vat`. Note that some legacy tax IDs have
-- type `unknown`
[taxIdType] :: TaxId -> TaxIdType'
-- | value: Value of the tax ID.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[taxIdValue] :: TaxId -> Text
-- | verification: Tax ID verification information.
[taxIdVerification] :: TaxId -> Maybe TaxIdVerification'
-- | Create a new TaxId with all required fields.
mkTaxId :: Int -> Text -> Bool -> TaxIdType' -> Text -> TaxId
-- | Defines the oneOf schema located at
-- components.schemas.tax_id.properties.customer.anyOf in the
-- specification.
--
-- ID of the customer.
data TaxIdCustomer'Variants
TaxIdCustomer'Text :: Text -> TaxIdCustomer'Variants
TaxIdCustomer'Customer :: Customer -> TaxIdCustomer'Variants
-- | Defines the enum schema located at
-- components.schemas.tax_id.properties.type in the
-- specification.
--
-- Type of the tax ID, one of `ae_trn`, `au_abn`, `br_cnpj`, `br_cpf`,
-- `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`,
-- `ca_qst`, `ch_vat`, `cl_tin`, `es_cif`, `eu_vat`, `gb_vat`, `hk_br`,
-- `id_npwp`, `il_vat`, `in_gst`, `jp_cn`, `jp_rn`, `kr_brn`, `li_uid`,
-- `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `no_vat`, `nz_gst`, `ru_inn`,
-- `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `th_vat`, `tw_vat`, `us_ein`,
-- or `za_vat`. Note that some legacy tax IDs have type `unknown`
data TaxIdType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
TaxIdType'Other :: Value -> TaxIdType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
TaxIdType'Typed :: Text -> TaxIdType'
-- | Represents the JSON value "ae_trn"
TaxIdType'EnumAeTrn :: TaxIdType'
-- | Represents the JSON value "au_abn"
TaxIdType'EnumAuAbn :: TaxIdType'
-- | Represents the JSON value "br_cnpj"
TaxIdType'EnumBrCnpj :: TaxIdType'
-- | Represents the JSON value "br_cpf"
TaxIdType'EnumBrCpf :: TaxIdType'
-- | Represents the JSON value "ca_bn"
TaxIdType'EnumCaBn :: TaxIdType'
-- | Represents the JSON value "ca_gst_hst"
TaxIdType'EnumCaGstHst :: TaxIdType'
-- | Represents the JSON value "ca_pst_bc"
TaxIdType'EnumCaPstBc :: TaxIdType'
-- | Represents the JSON value "ca_pst_mb"
TaxIdType'EnumCaPstMb :: TaxIdType'
-- | Represents the JSON value "ca_pst_sk"
TaxIdType'EnumCaPstSk :: TaxIdType'
-- | Represents the JSON value "ca_qst"
TaxIdType'EnumCaQst :: TaxIdType'
-- | Represents the JSON value "ch_vat"
TaxIdType'EnumChVat :: TaxIdType'
-- | Represents the JSON value "cl_tin"
TaxIdType'EnumClTin :: TaxIdType'
-- | Represents the JSON value "es_cif"
TaxIdType'EnumEsCif :: TaxIdType'
-- | Represents the JSON value "eu_vat"
TaxIdType'EnumEuVat :: TaxIdType'
-- | Represents the JSON value "gb_vat"
TaxIdType'EnumGbVat :: TaxIdType'
-- | Represents the JSON value "hk_br"
TaxIdType'EnumHkBr :: TaxIdType'
-- | Represents the JSON value "id_npwp"
TaxIdType'EnumIdNpwp :: TaxIdType'
-- | Represents the JSON value "il_vat"
TaxIdType'EnumIlVat :: TaxIdType'
-- | Represents the JSON value "in_gst"
TaxIdType'EnumInGst :: TaxIdType'
-- | Represents the JSON value "jp_cn"
TaxIdType'EnumJpCn :: TaxIdType'
-- | Represents the JSON value "jp_rn"
TaxIdType'EnumJpRn :: TaxIdType'
-- | Represents the JSON value "kr_brn"
TaxIdType'EnumKrBrn :: TaxIdType'
-- | Represents the JSON value "li_uid"
TaxIdType'EnumLiUid :: TaxIdType'
-- | Represents the JSON value "mx_rfc"
TaxIdType'EnumMxRfc :: TaxIdType'
-- | Represents the JSON value "my_frp"
TaxIdType'EnumMyFrp :: TaxIdType'
-- | Represents the JSON value "my_itn"
TaxIdType'EnumMyItn :: TaxIdType'
-- | Represents the JSON value "my_sst"
TaxIdType'EnumMySst :: TaxIdType'
-- | Represents the JSON value "no_vat"
TaxIdType'EnumNoVat :: TaxIdType'
-- | Represents the JSON value "nz_gst"
TaxIdType'EnumNzGst :: TaxIdType'
-- | Represents the JSON value "ru_inn"
TaxIdType'EnumRuInn :: TaxIdType'
-- | Represents the JSON value "ru_kpp"
TaxIdType'EnumRuKpp :: TaxIdType'
-- | Represents the JSON value "sa_vat"
TaxIdType'EnumSaVat :: TaxIdType'
-- | Represents the JSON value "sg_gst"
TaxIdType'EnumSgGst :: TaxIdType'
-- | Represents the JSON value "sg_uen"
TaxIdType'EnumSgUen :: TaxIdType'
-- | Represents the JSON value "th_vat"
TaxIdType'EnumThVat :: TaxIdType'
-- | Represents the JSON value "tw_vat"
TaxIdType'EnumTwVat :: TaxIdType'
-- | Represents the JSON value "unknown"
TaxIdType'EnumUnknown :: TaxIdType'
-- | Represents the JSON value "us_ein"
TaxIdType'EnumUsEin :: TaxIdType'
-- | Represents the JSON value "za_vat"
TaxIdType'EnumZaVat :: TaxIdType'
-- | Defines the object schema located at
-- components.schemas.tax_id.properties.verification.anyOf in
-- the specification.
--
-- Tax ID verification information.
data TaxIdVerification'
TaxIdVerification' :: Maybe TaxIdVerification'Status' -> Maybe Text -> Maybe Text -> TaxIdVerification'
-- | status: Verification status, one of `pending`, `verified`,
-- `unverified`, or `unavailable`.
[taxIdVerification'Status] :: TaxIdVerification' -> Maybe TaxIdVerification'Status'
-- | verified_address: Verified address.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[taxIdVerification'VerifiedAddress] :: TaxIdVerification' -> Maybe Text
-- | verified_name: Verified name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[taxIdVerification'VerifiedName] :: TaxIdVerification' -> Maybe Text
-- | Create a new TaxIdVerification' with all required fields.
mkTaxIdVerification' :: TaxIdVerification'
-- | Defines the enum schema located at
-- components.schemas.tax_id.properties.verification.anyOf.properties.status
-- in the specification.
--
-- Verification status, one of `pending`, `verified`, `unverified`, or
-- `unavailable`.
data TaxIdVerification'Status'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
TaxIdVerification'Status'Other :: Value -> TaxIdVerification'Status'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
TaxIdVerification'Status'Typed :: Text -> TaxIdVerification'Status'
-- | Represents the JSON value "pending"
TaxIdVerification'Status'EnumPending :: TaxIdVerification'Status'
-- | Represents the JSON value "unavailable"
TaxIdVerification'Status'EnumUnavailable :: TaxIdVerification'Status'
-- | Represents the JSON value "unverified"
TaxIdVerification'Status'EnumUnverified :: TaxIdVerification'Status'
-- | Represents the JSON value "verified"
TaxIdVerification'Status'EnumVerified :: TaxIdVerification'Status'
instance GHC.Classes.Eq StripeAPI.Types.TaxId.TaxIdCustomer'Variants
instance GHC.Show.Show StripeAPI.Types.TaxId.TaxIdCustomer'Variants
instance GHC.Classes.Eq StripeAPI.Types.TaxId.TaxIdType'
instance GHC.Show.Show StripeAPI.Types.TaxId.TaxIdType'
instance GHC.Classes.Eq StripeAPI.Types.TaxId.TaxIdVerification'Status'
instance GHC.Show.Show StripeAPI.Types.TaxId.TaxIdVerification'Status'
instance GHC.Classes.Eq StripeAPI.Types.TaxId.TaxIdVerification'
instance GHC.Show.Show StripeAPI.Types.TaxId.TaxIdVerification'
instance GHC.Classes.Eq StripeAPI.Types.TaxId.TaxId
instance GHC.Show.Show StripeAPI.Types.TaxId.TaxId
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.TaxId.TaxId
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.TaxId.TaxId
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.TaxId.TaxIdVerification'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.TaxId.TaxIdVerification'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.TaxId.TaxIdVerification'Status'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.TaxId.TaxIdVerification'Status'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.TaxId.TaxIdType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.TaxId.TaxIdType'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.TaxId.TaxIdCustomer'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.TaxId.TaxIdCustomer'Variants
-- | Contains the types generated from the schema TaxIdVerification
module StripeAPI.Types.TaxIdVerification
-- | Defines the object schema located at
-- components.schemas.tax_id_verification in the specification.
data TaxIdVerification
TaxIdVerification :: TaxIdVerificationStatus' -> Maybe Text -> Maybe Text -> TaxIdVerification
-- | status: Verification status, one of `pending`, `verified`,
-- `unverified`, or `unavailable`.
[taxIdVerificationStatus] :: TaxIdVerification -> TaxIdVerificationStatus'
-- | verified_address: Verified address.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[taxIdVerificationVerifiedAddress] :: TaxIdVerification -> Maybe Text
-- | verified_name: Verified name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[taxIdVerificationVerifiedName] :: TaxIdVerification -> Maybe Text
-- | Create a new TaxIdVerification with all required fields.
mkTaxIdVerification :: TaxIdVerificationStatus' -> TaxIdVerification
-- | Defines the enum schema located at
-- components.schemas.tax_id_verification.properties.status in
-- the specification.
--
-- Verification status, one of `pending`, `verified`, `unverified`, or
-- `unavailable`.
data TaxIdVerificationStatus'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
TaxIdVerificationStatus'Other :: Value -> TaxIdVerificationStatus'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
TaxIdVerificationStatus'Typed :: Text -> TaxIdVerificationStatus'
-- | Represents the JSON value "pending"
TaxIdVerificationStatus'EnumPending :: TaxIdVerificationStatus'
-- | Represents the JSON value "unavailable"
TaxIdVerificationStatus'EnumUnavailable :: TaxIdVerificationStatus'
-- | Represents the JSON value "unverified"
TaxIdVerificationStatus'EnumUnverified :: TaxIdVerificationStatus'
-- | Represents the JSON value "verified"
TaxIdVerificationStatus'EnumVerified :: TaxIdVerificationStatus'
instance GHC.Classes.Eq StripeAPI.Types.TaxIdVerification.TaxIdVerificationStatus'
instance GHC.Show.Show StripeAPI.Types.TaxIdVerification.TaxIdVerificationStatus'
instance GHC.Classes.Eq StripeAPI.Types.TaxIdVerification.TaxIdVerification
instance GHC.Show.Show StripeAPI.Types.TaxIdVerification.TaxIdVerification
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.TaxIdVerification.TaxIdVerification
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.TaxIdVerification.TaxIdVerification
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.TaxIdVerification.TaxIdVerificationStatus'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.TaxIdVerification.TaxIdVerificationStatus'
-- | Contains the types generated from the schema
-- SubscriptionSchedulePhaseConfiguration
module StripeAPI.Types.SubscriptionSchedulePhaseConfiguration
-- | Defines the object schema located at
-- components.schemas.subscription_schedule_phase_configuration
-- in the specification.
--
-- A phase describes the plans, coupon, and trialing status of a
-- subscription for a predefined time period.
data SubscriptionSchedulePhaseConfiguration
SubscriptionSchedulePhaseConfiguration :: [SubscriptionScheduleAddInvoiceItem] -> Maybe Double -> Maybe SchedulesPhaseAutomaticTax -> Maybe SubscriptionSchedulePhaseConfigurationBillingCycleAnchor' -> Maybe SubscriptionSchedulePhaseConfigurationBillingThresholds' -> Maybe SubscriptionSchedulePhaseConfigurationCollectionMethod' -> Maybe SubscriptionSchedulePhaseConfigurationCoupon'Variants -> Maybe SubscriptionSchedulePhaseConfigurationDefaultPaymentMethod'Variants -> Maybe [TaxRate] -> Int -> Maybe SubscriptionSchedulePhaseConfigurationInvoiceSettings' -> [SubscriptionScheduleConfigurationItem] -> SubscriptionSchedulePhaseConfigurationProrationBehavior' -> Int -> Maybe SubscriptionSchedulePhaseConfigurationTransferData' -> Maybe Int -> SubscriptionSchedulePhaseConfiguration
-- | add_invoice_items: A list of prices and quantities that will generate
-- invoice items appended to the first invoice for this phase.
[subscriptionSchedulePhaseConfigurationAddInvoiceItems] :: SubscriptionSchedulePhaseConfiguration -> [SubscriptionScheduleAddInvoiceItem]
-- | application_fee_percent: A non-negative decimal between 0 and 100,
-- with at most two decimal places. This represents the percentage of the
-- subscription invoice subtotal that will be transferred to the
-- application owner's Stripe account during this phase of the schedule.
[subscriptionSchedulePhaseConfigurationApplicationFeePercent] :: SubscriptionSchedulePhaseConfiguration -> Maybe Double
-- | automatic_tax:
[subscriptionSchedulePhaseConfigurationAutomaticTax] :: SubscriptionSchedulePhaseConfiguration -> Maybe SchedulesPhaseAutomaticTax
-- | billing_cycle_anchor: Possible values are `phase_start` or
-- `automatic`. If `phase_start` then billing cycle anchor of the
-- subscription is set to the start of the phase when entering the phase.
-- If `automatic` then the billing cycle anchor is automatically modified
-- as needed when entering the phase. For more information, see the
-- billing cycle documentation.
[subscriptionSchedulePhaseConfigurationBillingCycleAnchor] :: SubscriptionSchedulePhaseConfiguration -> Maybe SubscriptionSchedulePhaseConfigurationBillingCycleAnchor'
-- | billing_thresholds: Define thresholds at which an invoice will be
-- sent, and the subscription advanced to a new billing period
[subscriptionSchedulePhaseConfigurationBillingThresholds] :: SubscriptionSchedulePhaseConfiguration -> Maybe SubscriptionSchedulePhaseConfigurationBillingThresholds'
-- | collection_method: Either `charge_automatically`, or `send_invoice`.
-- When charging automatically, Stripe will attempt to pay the underlying
-- subscription at the end of each billing cycle using the default source
-- attached to the customer. When sending an invoice, Stripe will email
-- your customer an invoice with payment instructions.
[subscriptionSchedulePhaseConfigurationCollectionMethod] :: SubscriptionSchedulePhaseConfiguration -> Maybe SubscriptionSchedulePhaseConfigurationCollectionMethod'
-- | coupon: ID of the coupon to use during this phase of the subscription
-- schedule.
[subscriptionSchedulePhaseConfigurationCoupon] :: SubscriptionSchedulePhaseConfiguration -> Maybe SubscriptionSchedulePhaseConfigurationCoupon'Variants
-- | default_payment_method: ID of the default payment method for the
-- subscription schedule. It must belong to the customer associated with
-- the subscription schedule. If not set, invoices will use the default
-- payment method in the customer's invoice settings.
[subscriptionSchedulePhaseConfigurationDefaultPaymentMethod] :: SubscriptionSchedulePhaseConfiguration -> Maybe SubscriptionSchedulePhaseConfigurationDefaultPaymentMethod'Variants
-- | default_tax_rates: The default tax rates to apply to the subscription
-- during this phase of the subscription schedule.
[subscriptionSchedulePhaseConfigurationDefaultTaxRates] :: SubscriptionSchedulePhaseConfiguration -> Maybe [TaxRate]
-- | end_date: The end of this phase of the subscription schedule.
[subscriptionSchedulePhaseConfigurationEndDate] :: SubscriptionSchedulePhaseConfiguration -> Int
-- | invoice_settings: The invoice settings applicable during this phase.
[subscriptionSchedulePhaseConfigurationInvoiceSettings] :: SubscriptionSchedulePhaseConfiguration -> Maybe SubscriptionSchedulePhaseConfigurationInvoiceSettings'
-- | items: Subscription items to configure the subscription to during this
-- phase of the subscription schedule.
[subscriptionSchedulePhaseConfigurationItems] :: SubscriptionSchedulePhaseConfiguration -> [SubscriptionScheduleConfigurationItem]
-- | proration_behavior: If the subscription schedule will prorate when
-- transitioning to this phase. Possible values are `create_prorations`
-- and `none`.
[subscriptionSchedulePhaseConfigurationProrationBehavior] :: SubscriptionSchedulePhaseConfiguration -> SubscriptionSchedulePhaseConfigurationProrationBehavior'
-- | start_date: The start of this phase of the subscription schedule.
[subscriptionSchedulePhaseConfigurationStartDate] :: SubscriptionSchedulePhaseConfiguration -> Int
-- | transfer_data: The account (if any) the associated subscription's
-- payments will be attributed to for tax reporting, and where funds from
-- each payment will be transferred to for each of the subscription's
-- invoices.
[subscriptionSchedulePhaseConfigurationTransferData] :: SubscriptionSchedulePhaseConfiguration -> Maybe SubscriptionSchedulePhaseConfigurationTransferData'
-- | trial_end: When the trial ends within the phase.
[subscriptionSchedulePhaseConfigurationTrialEnd] :: SubscriptionSchedulePhaseConfiguration -> Maybe Int
-- | Create a new SubscriptionSchedulePhaseConfiguration with all
-- required fields.
mkSubscriptionSchedulePhaseConfiguration :: [SubscriptionScheduleAddInvoiceItem] -> Int -> [SubscriptionScheduleConfigurationItem] -> SubscriptionSchedulePhaseConfigurationProrationBehavior' -> Int -> SubscriptionSchedulePhaseConfiguration
-- | Defines the enum schema located at
-- components.schemas.subscription_schedule_phase_configuration.properties.billing_cycle_anchor
-- in the specification.
--
-- Possible values are `phase_start` or `automatic`. If `phase_start`
-- then billing cycle anchor of the subscription is set to the start of
-- the phase when entering the phase. If `automatic` then the billing
-- cycle anchor is automatically modified as needed when entering the
-- phase. For more information, see the billing cycle
-- documentation.
data SubscriptionSchedulePhaseConfigurationBillingCycleAnchor'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
SubscriptionSchedulePhaseConfigurationBillingCycleAnchor'Other :: Value -> SubscriptionSchedulePhaseConfigurationBillingCycleAnchor'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
SubscriptionSchedulePhaseConfigurationBillingCycleAnchor'Typed :: Text -> SubscriptionSchedulePhaseConfigurationBillingCycleAnchor'
-- | Represents the JSON value "automatic"
SubscriptionSchedulePhaseConfigurationBillingCycleAnchor'EnumAutomatic :: SubscriptionSchedulePhaseConfigurationBillingCycleAnchor'
-- | Represents the JSON value "phase_start"
SubscriptionSchedulePhaseConfigurationBillingCycleAnchor'EnumPhaseStart :: SubscriptionSchedulePhaseConfigurationBillingCycleAnchor'
-- | Defines the object schema located at
-- components.schemas.subscription_schedule_phase_configuration.properties.billing_thresholds.anyOf
-- in the specification.
--
-- Define thresholds at which an invoice will be sent, and the
-- subscription advanced to a new billing period
data SubscriptionSchedulePhaseConfigurationBillingThresholds'
SubscriptionSchedulePhaseConfigurationBillingThresholds' :: Maybe Int -> Maybe Bool -> SubscriptionSchedulePhaseConfigurationBillingThresholds'
-- | amount_gte: Monetary threshold that triggers the subscription to
-- create an invoice
[subscriptionSchedulePhaseConfigurationBillingThresholds'AmountGte] :: SubscriptionSchedulePhaseConfigurationBillingThresholds' -> Maybe Int
-- | reset_billing_cycle_anchor: Indicates if the `billing_cycle_anchor`
-- should be reset when a threshold is reached. If true,
-- `billing_cycle_anchor` will be updated to the date/time the threshold
-- was last reached; otherwise, the value will remain unchanged. This
-- value may not be `true` if the subscription contains items with plans
-- that have `aggregate_usage=last_ever`.
[subscriptionSchedulePhaseConfigurationBillingThresholds'ResetBillingCycleAnchor] :: SubscriptionSchedulePhaseConfigurationBillingThresholds' -> Maybe Bool
-- | Create a new
-- SubscriptionSchedulePhaseConfigurationBillingThresholds' with
-- all required fields.
mkSubscriptionSchedulePhaseConfigurationBillingThresholds' :: SubscriptionSchedulePhaseConfigurationBillingThresholds'
-- | Defines the enum schema located at
-- components.schemas.subscription_schedule_phase_configuration.properties.collection_method
-- in the specification.
--
-- Either `charge_automatically`, or `send_invoice`. When charging
-- automatically, Stripe will attempt to pay the underlying subscription
-- at the end of each billing cycle using the default source attached to
-- the customer. When sending an invoice, Stripe will email your customer
-- an invoice with payment instructions.
data SubscriptionSchedulePhaseConfigurationCollectionMethod'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
SubscriptionSchedulePhaseConfigurationCollectionMethod'Other :: Value -> SubscriptionSchedulePhaseConfigurationCollectionMethod'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
SubscriptionSchedulePhaseConfigurationCollectionMethod'Typed :: Text -> SubscriptionSchedulePhaseConfigurationCollectionMethod'
-- | Represents the JSON value "charge_automatically"
SubscriptionSchedulePhaseConfigurationCollectionMethod'EnumChargeAutomatically :: SubscriptionSchedulePhaseConfigurationCollectionMethod'
-- | Represents the JSON value "send_invoice"
SubscriptionSchedulePhaseConfigurationCollectionMethod'EnumSendInvoice :: SubscriptionSchedulePhaseConfigurationCollectionMethod'
-- | Defines the oneOf schema located at
-- components.schemas.subscription_schedule_phase_configuration.properties.coupon.anyOf
-- in the specification.
--
-- ID of the coupon to use during this phase of the subscription
-- schedule.
data SubscriptionSchedulePhaseConfigurationCoupon'Variants
SubscriptionSchedulePhaseConfigurationCoupon'Text :: Text -> SubscriptionSchedulePhaseConfigurationCoupon'Variants
SubscriptionSchedulePhaseConfigurationCoupon'Coupon :: Coupon -> SubscriptionSchedulePhaseConfigurationCoupon'Variants
SubscriptionSchedulePhaseConfigurationCoupon'DeletedCoupon :: DeletedCoupon -> SubscriptionSchedulePhaseConfigurationCoupon'Variants
-- | Defines the oneOf schema located at
-- components.schemas.subscription_schedule_phase_configuration.properties.default_payment_method.anyOf
-- in the specification.
--
-- ID of the default payment method for the subscription schedule. It
-- must belong to the customer associated with the subscription schedule.
-- If not set, invoices will use the default payment method in the
-- customer's invoice settings.
data SubscriptionSchedulePhaseConfigurationDefaultPaymentMethod'Variants
SubscriptionSchedulePhaseConfigurationDefaultPaymentMethod'Text :: Text -> SubscriptionSchedulePhaseConfigurationDefaultPaymentMethod'Variants
SubscriptionSchedulePhaseConfigurationDefaultPaymentMethod'PaymentMethod :: PaymentMethod -> SubscriptionSchedulePhaseConfigurationDefaultPaymentMethod'Variants
-- | Defines the object schema located at
-- components.schemas.subscription_schedule_phase_configuration.properties.invoice_settings.anyOf
-- in the specification.
--
-- The invoice settings applicable during this phase.
data SubscriptionSchedulePhaseConfigurationInvoiceSettings'
SubscriptionSchedulePhaseConfigurationInvoiceSettings' :: Maybe Int -> SubscriptionSchedulePhaseConfigurationInvoiceSettings'
-- | days_until_due: Number of days within which a customer must pay
-- invoices generated by this subscription schedule. This value will be
-- `null` for subscription schedules where
-- `billing=charge_automatically`.
[subscriptionSchedulePhaseConfigurationInvoiceSettings'DaysUntilDue] :: SubscriptionSchedulePhaseConfigurationInvoiceSettings' -> Maybe Int
-- | Create a new
-- SubscriptionSchedulePhaseConfigurationInvoiceSettings' with all
-- required fields.
mkSubscriptionSchedulePhaseConfigurationInvoiceSettings' :: SubscriptionSchedulePhaseConfigurationInvoiceSettings'
-- | Defines the enum schema located at
-- components.schemas.subscription_schedule_phase_configuration.properties.proration_behavior
-- in the specification.
--
-- If the subscription schedule will prorate when transitioning to this
-- phase. Possible values are `create_prorations` and `none`.
data SubscriptionSchedulePhaseConfigurationProrationBehavior'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
SubscriptionSchedulePhaseConfigurationProrationBehavior'Other :: Value -> SubscriptionSchedulePhaseConfigurationProrationBehavior'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
SubscriptionSchedulePhaseConfigurationProrationBehavior'Typed :: Text -> SubscriptionSchedulePhaseConfigurationProrationBehavior'
-- | Represents the JSON value "always_invoice"
SubscriptionSchedulePhaseConfigurationProrationBehavior'EnumAlwaysInvoice :: SubscriptionSchedulePhaseConfigurationProrationBehavior'
-- | Represents the JSON value "create_prorations"
SubscriptionSchedulePhaseConfigurationProrationBehavior'EnumCreateProrations :: SubscriptionSchedulePhaseConfigurationProrationBehavior'
-- | Represents the JSON value "none"
SubscriptionSchedulePhaseConfigurationProrationBehavior'EnumNone :: SubscriptionSchedulePhaseConfigurationProrationBehavior'
-- | Defines the object schema located at
-- components.schemas.subscription_schedule_phase_configuration.properties.transfer_data.anyOf
-- in the specification.
--
-- The account (if any) the associated subscription\'s payments will be
-- attributed to for tax reporting, and where funds from each payment
-- will be transferred to for each of the subscription\'s invoices.
data SubscriptionSchedulePhaseConfigurationTransferData'
SubscriptionSchedulePhaseConfigurationTransferData' :: Maybe Double -> Maybe SubscriptionSchedulePhaseConfigurationTransferData'Destination'Variants -> SubscriptionSchedulePhaseConfigurationTransferData'
-- | amount_percent: A non-negative decimal between 0 and 100, with at most
-- two decimal places. This represents the percentage of the subscription
-- invoice subtotal that will be transferred to the destination account.
-- By default, the entire amount is transferred to the destination.
[subscriptionSchedulePhaseConfigurationTransferData'AmountPercent] :: SubscriptionSchedulePhaseConfigurationTransferData' -> Maybe Double
-- | destination: The account where funds from the payment will be
-- transferred to upon payment success.
[subscriptionSchedulePhaseConfigurationTransferData'Destination] :: SubscriptionSchedulePhaseConfigurationTransferData' -> Maybe SubscriptionSchedulePhaseConfigurationTransferData'Destination'Variants
-- | Create a new
-- SubscriptionSchedulePhaseConfigurationTransferData' with all
-- required fields.
mkSubscriptionSchedulePhaseConfigurationTransferData' :: SubscriptionSchedulePhaseConfigurationTransferData'
-- | Defines the oneOf schema located at
-- components.schemas.subscription_schedule_phase_configuration.properties.transfer_data.anyOf.properties.destination.anyOf
-- in the specification.
--
-- The account where funds from the payment will be transferred to upon
-- payment success.
data SubscriptionSchedulePhaseConfigurationTransferData'Destination'Variants
SubscriptionSchedulePhaseConfigurationTransferData'Destination'Text :: Text -> SubscriptionSchedulePhaseConfigurationTransferData'Destination'Variants
SubscriptionSchedulePhaseConfigurationTransferData'Destination'Account :: Account -> SubscriptionSchedulePhaseConfigurationTransferData'Destination'Variants
instance GHC.Classes.Eq StripeAPI.Types.SubscriptionSchedulePhaseConfiguration.SubscriptionSchedulePhaseConfigurationBillingCycleAnchor'
instance GHC.Show.Show StripeAPI.Types.SubscriptionSchedulePhaseConfiguration.SubscriptionSchedulePhaseConfigurationBillingCycleAnchor'
instance GHC.Classes.Eq StripeAPI.Types.SubscriptionSchedulePhaseConfiguration.SubscriptionSchedulePhaseConfigurationBillingThresholds'
instance GHC.Show.Show StripeAPI.Types.SubscriptionSchedulePhaseConfiguration.SubscriptionSchedulePhaseConfigurationBillingThresholds'
instance GHC.Classes.Eq StripeAPI.Types.SubscriptionSchedulePhaseConfiguration.SubscriptionSchedulePhaseConfigurationCollectionMethod'
instance GHC.Show.Show StripeAPI.Types.SubscriptionSchedulePhaseConfiguration.SubscriptionSchedulePhaseConfigurationCollectionMethod'
instance GHC.Classes.Eq StripeAPI.Types.SubscriptionSchedulePhaseConfiguration.SubscriptionSchedulePhaseConfigurationCoupon'Variants
instance GHC.Show.Show StripeAPI.Types.SubscriptionSchedulePhaseConfiguration.SubscriptionSchedulePhaseConfigurationCoupon'Variants
instance GHC.Classes.Eq StripeAPI.Types.SubscriptionSchedulePhaseConfiguration.SubscriptionSchedulePhaseConfigurationDefaultPaymentMethod'Variants
instance GHC.Show.Show StripeAPI.Types.SubscriptionSchedulePhaseConfiguration.SubscriptionSchedulePhaseConfigurationDefaultPaymentMethod'Variants
instance GHC.Classes.Eq StripeAPI.Types.SubscriptionSchedulePhaseConfiguration.SubscriptionSchedulePhaseConfigurationInvoiceSettings'
instance GHC.Show.Show StripeAPI.Types.SubscriptionSchedulePhaseConfiguration.SubscriptionSchedulePhaseConfigurationInvoiceSettings'
instance GHC.Classes.Eq StripeAPI.Types.SubscriptionSchedulePhaseConfiguration.SubscriptionSchedulePhaseConfigurationProrationBehavior'
instance GHC.Show.Show StripeAPI.Types.SubscriptionSchedulePhaseConfiguration.SubscriptionSchedulePhaseConfigurationProrationBehavior'
instance GHC.Classes.Eq StripeAPI.Types.SubscriptionSchedulePhaseConfiguration.SubscriptionSchedulePhaseConfigurationTransferData'Destination'Variants
instance GHC.Show.Show StripeAPI.Types.SubscriptionSchedulePhaseConfiguration.SubscriptionSchedulePhaseConfigurationTransferData'Destination'Variants
instance GHC.Classes.Eq StripeAPI.Types.SubscriptionSchedulePhaseConfiguration.SubscriptionSchedulePhaseConfigurationTransferData'
instance GHC.Show.Show StripeAPI.Types.SubscriptionSchedulePhaseConfiguration.SubscriptionSchedulePhaseConfigurationTransferData'
instance GHC.Classes.Eq StripeAPI.Types.SubscriptionSchedulePhaseConfiguration.SubscriptionSchedulePhaseConfiguration
instance GHC.Show.Show StripeAPI.Types.SubscriptionSchedulePhaseConfiguration.SubscriptionSchedulePhaseConfiguration
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SubscriptionSchedulePhaseConfiguration.SubscriptionSchedulePhaseConfiguration
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SubscriptionSchedulePhaseConfiguration.SubscriptionSchedulePhaseConfiguration
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SubscriptionSchedulePhaseConfiguration.SubscriptionSchedulePhaseConfigurationTransferData'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SubscriptionSchedulePhaseConfiguration.SubscriptionSchedulePhaseConfigurationTransferData'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SubscriptionSchedulePhaseConfiguration.SubscriptionSchedulePhaseConfigurationTransferData'Destination'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SubscriptionSchedulePhaseConfiguration.SubscriptionSchedulePhaseConfigurationTransferData'Destination'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SubscriptionSchedulePhaseConfiguration.SubscriptionSchedulePhaseConfigurationProrationBehavior'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SubscriptionSchedulePhaseConfiguration.SubscriptionSchedulePhaseConfigurationProrationBehavior'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SubscriptionSchedulePhaseConfiguration.SubscriptionSchedulePhaseConfigurationInvoiceSettings'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SubscriptionSchedulePhaseConfiguration.SubscriptionSchedulePhaseConfigurationInvoiceSettings'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SubscriptionSchedulePhaseConfiguration.SubscriptionSchedulePhaseConfigurationDefaultPaymentMethod'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SubscriptionSchedulePhaseConfiguration.SubscriptionSchedulePhaseConfigurationDefaultPaymentMethod'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SubscriptionSchedulePhaseConfiguration.SubscriptionSchedulePhaseConfigurationCoupon'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SubscriptionSchedulePhaseConfiguration.SubscriptionSchedulePhaseConfigurationCoupon'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SubscriptionSchedulePhaseConfiguration.SubscriptionSchedulePhaseConfigurationCollectionMethod'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SubscriptionSchedulePhaseConfiguration.SubscriptionSchedulePhaseConfigurationCollectionMethod'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SubscriptionSchedulePhaseConfiguration.SubscriptionSchedulePhaseConfigurationBillingThresholds'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SubscriptionSchedulePhaseConfiguration.SubscriptionSchedulePhaseConfigurationBillingThresholds'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SubscriptionSchedulePhaseConfiguration.SubscriptionSchedulePhaseConfigurationBillingCycleAnchor'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SubscriptionSchedulePhaseConfiguration.SubscriptionSchedulePhaseConfigurationBillingCycleAnchor'
-- | Contains the types generated from the schema
-- SubscriptionScheduleConfigurationItem
module StripeAPI.Types.SubscriptionScheduleConfigurationItem
-- | Defines the object schema located at
-- components.schemas.subscription_schedule_configuration_item
-- in the specification.
--
-- A phase item describes the price and quantity of a phase.
data SubscriptionScheduleConfigurationItem
SubscriptionScheduleConfigurationItem :: Maybe SubscriptionScheduleConfigurationItemBillingThresholds' -> SubscriptionScheduleConfigurationItemPrice'Variants -> Maybe Int -> Maybe [TaxRate] -> SubscriptionScheduleConfigurationItem
-- | billing_thresholds: Define thresholds at which an invoice will be
-- sent, and the related subscription advanced to a new billing period
[subscriptionScheduleConfigurationItemBillingThresholds] :: SubscriptionScheduleConfigurationItem -> Maybe SubscriptionScheduleConfigurationItemBillingThresholds'
-- | price: ID of the price to which the customer should be subscribed.
[subscriptionScheduleConfigurationItemPrice] :: SubscriptionScheduleConfigurationItem -> SubscriptionScheduleConfigurationItemPrice'Variants
-- | quantity: Quantity of the plan to which the customer should be
-- subscribed.
[subscriptionScheduleConfigurationItemQuantity] :: SubscriptionScheduleConfigurationItem -> Maybe Int
-- | tax_rates: The tax rates which apply to this `phase_item`. When set,
-- the `default_tax_rates` on the phase do not apply to this
-- `phase_item`.
[subscriptionScheduleConfigurationItemTaxRates] :: SubscriptionScheduleConfigurationItem -> Maybe [TaxRate]
-- | Create a new SubscriptionScheduleConfigurationItem with all
-- required fields.
mkSubscriptionScheduleConfigurationItem :: SubscriptionScheduleConfigurationItemPrice'Variants -> SubscriptionScheduleConfigurationItem
-- | Defines the object schema located at
-- components.schemas.subscription_schedule_configuration_item.properties.billing_thresholds.anyOf
-- in the specification.
--
-- Define thresholds at which an invoice will be sent, and the related
-- subscription advanced to a new billing period
data SubscriptionScheduleConfigurationItemBillingThresholds'
SubscriptionScheduleConfigurationItemBillingThresholds' :: Maybe Int -> SubscriptionScheduleConfigurationItemBillingThresholds'
-- | usage_gte: Usage threshold that triggers the subscription to create an
-- invoice
[subscriptionScheduleConfigurationItemBillingThresholds'UsageGte] :: SubscriptionScheduleConfigurationItemBillingThresholds' -> Maybe Int
-- | Create a new
-- SubscriptionScheduleConfigurationItemBillingThresholds' with
-- all required fields.
mkSubscriptionScheduleConfigurationItemBillingThresholds' :: SubscriptionScheduleConfigurationItemBillingThresholds'
-- | Defines the oneOf schema located at
-- components.schemas.subscription_schedule_configuration_item.properties.price.anyOf
-- in the specification.
--
-- ID of the price to which the customer should be subscribed.
data SubscriptionScheduleConfigurationItemPrice'Variants
SubscriptionScheduleConfigurationItemPrice'Text :: Text -> SubscriptionScheduleConfigurationItemPrice'Variants
SubscriptionScheduleConfigurationItemPrice'Price :: Price -> SubscriptionScheduleConfigurationItemPrice'Variants
SubscriptionScheduleConfigurationItemPrice'DeletedPrice :: DeletedPrice -> SubscriptionScheduleConfigurationItemPrice'Variants
instance GHC.Classes.Eq StripeAPI.Types.SubscriptionScheduleConfigurationItem.SubscriptionScheduleConfigurationItemBillingThresholds'
instance GHC.Show.Show StripeAPI.Types.SubscriptionScheduleConfigurationItem.SubscriptionScheduleConfigurationItemBillingThresholds'
instance GHC.Classes.Eq StripeAPI.Types.SubscriptionScheduleConfigurationItem.SubscriptionScheduleConfigurationItemPrice'Variants
instance GHC.Show.Show StripeAPI.Types.SubscriptionScheduleConfigurationItem.SubscriptionScheduleConfigurationItemPrice'Variants
instance GHC.Classes.Eq StripeAPI.Types.SubscriptionScheduleConfigurationItem.SubscriptionScheduleConfigurationItem
instance GHC.Show.Show StripeAPI.Types.SubscriptionScheduleConfigurationItem.SubscriptionScheduleConfigurationItem
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SubscriptionScheduleConfigurationItem.SubscriptionScheduleConfigurationItem
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SubscriptionScheduleConfigurationItem.SubscriptionScheduleConfigurationItem
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SubscriptionScheduleConfigurationItem.SubscriptionScheduleConfigurationItemPrice'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SubscriptionScheduleConfigurationItem.SubscriptionScheduleConfigurationItemPrice'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SubscriptionScheduleConfigurationItem.SubscriptionScheduleConfigurationItemBillingThresholds'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SubscriptionScheduleConfigurationItem.SubscriptionScheduleConfigurationItemBillingThresholds'
-- | Contains the types generated from the schema
-- SubscriptionScheduleAddInvoiceItem
module StripeAPI.Types.SubscriptionScheduleAddInvoiceItem
-- | Defines the object schema located at
-- components.schemas.subscription_schedule_add_invoice_item in
-- the specification.
--
-- An Add Invoice Item describes the prices and quantities that will be
-- added as pending invoice items when entering a phase.
data SubscriptionScheduleAddInvoiceItem
SubscriptionScheduleAddInvoiceItem :: SubscriptionScheduleAddInvoiceItemPrice'Variants -> Maybe Int -> Maybe [TaxRate] -> SubscriptionScheduleAddInvoiceItem
-- | price: ID of the price used to generate the invoice item.
[subscriptionScheduleAddInvoiceItemPrice] :: SubscriptionScheduleAddInvoiceItem -> SubscriptionScheduleAddInvoiceItemPrice'Variants
-- | quantity: The quantity of the invoice item.
[subscriptionScheduleAddInvoiceItemQuantity] :: SubscriptionScheduleAddInvoiceItem -> Maybe Int
-- | tax_rates: The tax rates which apply to the item. When set, the
-- `default_tax_rates` do not apply to this item.
[subscriptionScheduleAddInvoiceItemTaxRates] :: SubscriptionScheduleAddInvoiceItem -> Maybe [TaxRate]
-- | Create a new SubscriptionScheduleAddInvoiceItem with all
-- required fields.
mkSubscriptionScheduleAddInvoiceItem :: SubscriptionScheduleAddInvoiceItemPrice'Variants -> SubscriptionScheduleAddInvoiceItem
-- | Defines the oneOf schema located at
-- components.schemas.subscription_schedule_add_invoice_item.properties.price.anyOf
-- in the specification.
--
-- ID of the price used to generate the invoice item.
data SubscriptionScheduleAddInvoiceItemPrice'Variants
SubscriptionScheduleAddInvoiceItemPrice'Text :: Text -> SubscriptionScheduleAddInvoiceItemPrice'Variants
SubscriptionScheduleAddInvoiceItemPrice'Price :: Price -> SubscriptionScheduleAddInvoiceItemPrice'Variants
SubscriptionScheduleAddInvoiceItemPrice'DeletedPrice :: DeletedPrice -> SubscriptionScheduleAddInvoiceItemPrice'Variants
instance GHC.Classes.Eq StripeAPI.Types.SubscriptionScheduleAddInvoiceItem.SubscriptionScheduleAddInvoiceItemPrice'Variants
instance GHC.Show.Show StripeAPI.Types.SubscriptionScheduleAddInvoiceItem.SubscriptionScheduleAddInvoiceItemPrice'Variants
instance GHC.Classes.Eq StripeAPI.Types.SubscriptionScheduleAddInvoiceItem.SubscriptionScheduleAddInvoiceItem
instance GHC.Show.Show StripeAPI.Types.SubscriptionScheduleAddInvoiceItem.SubscriptionScheduleAddInvoiceItem
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SubscriptionScheduleAddInvoiceItem.SubscriptionScheduleAddInvoiceItem
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SubscriptionScheduleAddInvoiceItem.SubscriptionScheduleAddInvoiceItem
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SubscriptionScheduleAddInvoiceItem.SubscriptionScheduleAddInvoiceItemPrice'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SubscriptionScheduleAddInvoiceItem.SubscriptionScheduleAddInvoiceItemPrice'Variants
-- | Contains the types generated from the schema SubscriptionItem
module StripeAPI.Types.SubscriptionItem
-- | Defines the object schema located at
-- components.schemas.subscription_item in the specification.
--
-- Subscription items allow you to create customer subscriptions with
-- more than one plan, making it easy to represent complex billing
-- relationships.
data SubscriptionItem
SubscriptionItem :: Maybe SubscriptionItemBillingThresholds' -> Int -> Text -> Object -> Price -> Maybe Int -> Text -> Maybe [TaxRate] -> SubscriptionItem
-- | billing_thresholds: Define thresholds at which an invoice will be
-- sent, and the related subscription advanced to a new billing period
[subscriptionItemBillingThresholds] :: SubscriptionItem -> Maybe SubscriptionItemBillingThresholds'
-- | created: Time at which the object was created. Measured in seconds
-- since the Unix epoch.
[subscriptionItemCreated] :: SubscriptionItem -> Int
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[subscriptionItemId] :: SubscriptionItem -> Text
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format.
[subscriptionItemMetadata] :: SubscriptionItem -> Object
-- | price: Prices define the unit cost, currency, and (optional) billing
-- cycle for both recurring and one-time purchases of products.
-- Products help you track inventory or provisioning, and prices
-- help you track payment terms. Different physical goods or levels of
-- service should be represented by products, and pricing options should
-- be represented by prices. This approach lets you change prices without
-- having to change your provisioning scheme.
--
-- For example, you might have a single "gold" product that has prices
-- for $10/month, $100/year, and €9 once.
--
-- Related guides: Set up a subscription, create an
-- invoice, and more about products and prices.
[subscriptionItemPrice] :: SubscriptionItem -> Price
-- | quantity: The quantity of the plan to which the customer should
-- be subscribed.
[subscriptionItemQuantity] :: SubscriptionItem -> Maybe Int
-- | subscription: The `subscription` this `subscription_item` belongs to.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[subscriptionItemSubscription] :: SubscriptionItem -> Text
-- | tax_rates: The tax rates which apply to this `subscription_item`. When
-- set, the `default_tax_rates` on the subscription do not apply to this
-- `subscription_item`.
[subscriptionItemTaxRates] :: SubscriptionItem -> Maybe [TaxRate]
-- | Create a new SubscriptionItem with all required fields.
mkSubscriptionItem :: Int -> Text -> Object -> Price -> Text -> SubscriptionItem
-- | Defines the object schema located at
-- components.schemas.subscription_item.properties.billing_thresholds.anyOf
-- in the specification.
--
-- Define thresholds at which an invoice will be sent, and the related
-- subscription advanced to a new billing period
data SubscriptionItemBillingThresholds'
SubscriptionItemBillingThresholds' :: Maybe Int -> SubscriptionItemBillingThresholds'
-- | usage_gte: Usage threshold that triggers the subscription to create an
-- invoice
[subscriptionItemBillingThresholds'UsageGte] :: SubscriptionItemBillingThresholds' -> Maybe Int
-- | Create a new SubscriptionItemBillingThresholds' with all
-- required fields.
mkSubscriptionItemBillingThresholds' :: SubscriptionItemBillingThresholds'
instance GHC.Classes.Eq StripeAPI.Types.SubscriptionItem.SubscriptionItemBillingThresholds'
instance GHC.Show.Show StripeAPI.Types.SubscriptionItem.SubscriptionItemBillingThresholds'
instance GHC.Classes.Eq StripeAPI.Types.SubscriptionItem.SubscriptionItem
instance GHC.Show.Show StripeAPI.Types.SubscriptionItem.SubscriptionItem
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SubscriptionItem.SubscriptionItem
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SubscriptionItem.SubscriptionItem
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SubscriptionItem.SubscriptionItemBillingThresholds'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SubscriptionItem.SubscriptionItemBillingThresholds'
-- | Contains the types generated from the schema Subscription
module StripeAPI.Types.Subscription
-- | Defines the object schema located at
-- components.schemas.subscription in the specification.
--
-- Subscriptions allow you to charge a customer on a recurring basis.
--
-- Related guide: Creating Subscriptions.
data Subscription
Subscription :: Maybe Double -> SubscriptionAutomaticTax -> Int -> Maybe SubscriptionBillingThresholds' -> Maybe Int -> Bool -> Maybe Int -> Maybe SubscriptionCollectionMethod' -> Int -> Int -> Int -> SubscriptionCustomer'Variants -> Maybe Int -> Maybe SubscriptionDefaultPaymentMethod'Variants -> Maybe SubscriptionDefaultSource'Variants -> Maybe [TaxRate] -> Maybe SubscriptionDiscount' -> Maybe Int -> Text -> SubscriptionItems' -> Maybe SubscriptionLatestInvoice'Variants -> Bool -> Object -> Maybe Int -> Maybe SubscriptionPauseCollection' -> Maybe SubscriptionPendingInvoiceItemInterval' -> Maybe SubscriptionPendingSetupIntent'Variants -> Maybe SubscriptionPendingUpdate' -> Maybe SubscriptionSchedule'Variants -> Int -> SubscriptionStatus' -> Maybe SubscriptionTransferData' -> Maybe Int -> Maybe Int -> Subscription
-- | application_fee_percent: A non-negative decimal between 0 and 100,
-- with at most two decimal places. This represents the percentage of the
-- subscription invoice subtotal that will be transferred to the
-- application owner's Stripe account.
[subscriptionApplicationFeePercent] :: Subscription -> Maybe Double
-- | automatic_tax:
[subscriptionAutomaticTax] :: Subscription -> SubscriptionAutomaticTax
-- | billing_cycle_anchor: Determines the date of the first full invoice,
-- and, for plans with `month` or `year` intervals, the day of the month
-- for subsequent invoices.
[subscriptionBillingCycleAnchor] :: Subscription -> Int
-- | billing_thresholds: Define thresholds at which an invoice will be
-- sent, and the subscription advanced to a new billing period
[subscriptionBillingThresholds] :: Subscription -> Maybe SubscriptionBillingThresholds'
-- | cancel_at: A date in the future at which the subscription will
-- automatically get canceled
[subscriptionCancelAt] :: Subscription -> Maybe Int
-- | cancel_at_period_end: If the subscription has been canceled with the
-- `at_period_end` flag set to `true`, `cancel_at_period_end` on the
-- subscription will be true. You can use this attribute to determine
-- whether a subscription that has a status of active is scheduled to be
-- canceled at the end of the current period.
[subscriptionCancelAtPeriodEnd] :: Subscription -> Bool
-- | canceled_at: If the subscription has been canceled, the date of that
-- cancellation. If the subscription was canceled with
-- `cancel_at_period_end`, `canceled_at` will reflect the time of the
-- most recent update request, not the end of the subscription period
-- when the subscription is automatically moved to a canceled state.
[subscriptionCanceledAt] :: Subscription -> Maybe Int
-- | collection_method: Either `charge_automatically`, or `send_invoice`.
-- When charging automatically, Stripe will attempt to pay this
-- subscription at the end of the cycle using the default source attached
-- to the customer. When sending an invoice, Stripe will email your
-- customer an invoice with payment instructions.
[subscriptionCollectionMethod] :: Subscription -> Maybe SubscriptionCollectionMethod'
-- | created: Time at which the object was created. Measured in seconds
-- since the Unix epoch.
[subscriptionCreated] :: Subscription -> Int
-- | current_period_end: End of the current period that the subscription
-- has been invoiced for. At the end of this period, a new invoice will
-- be created.
[subscriptionCurrentPeriodEnd] :: Subscription -> Int
-- | current_period_start: Start of the current period that the
-- subscription has been invoiced for.
[subscriptionCurrentPeriodStart] :: Subscription -> Int
-- | customer: ID of the customer who owns the subscription.
[subscriptionCustomer] :: Subscription -> SubscriptionCustomer'Variants
-- | days_until_due: Number of days a customer has to pay invoices
-- generated by this subscription. This value will be `null` for
-- subscriptions where `collection_method=charge_automatically`.
[subscriptionDaysUntilDue] :: Subscription -> Maybe Int
-- | default_payment_method: ID of the default payment method for the
-- subscription. It must belong to the customer associated with the
-- subscription. This takes precedence over `default_source`. If neither
-- are set, invoices will use the customer's
-- invoice_settings.default_payment_method or
-- default_source.
[subscriptionDefaultPaymentMethod] :: Subscription -> Maybe SubscriptionDefaultPaymentMethod'Variants
-- | default_source: ID of the default payment source for the subscription.
-- It must belong to the customer associated with the subscription and be
-- in a chargeable state. If `default_payment_method` is also set,
-- `default_payment_method` will take precedence. If neither are set,
-- invoices will use the customer's
-- invoice_settings.default_payment_method or
-- default_source.
[subscriptionDefaultSource] :: Subscription -> Maybe SubscriptionDefaultSource'Variants
-- | default_tax_rates: The tax rates that will apply to any subscription
-- item that does not have `tax_rates` set. Invoices created will have
-- their `default_tax_rates` populated from the subscription.
[subscriptionDefaultTaxRates] :: Subscription -> Maybe [TaxRate]
-- | discount: Describes the current discount applied to this subscription,
-- if there is one. When billing, a discount applied to a subscription
-- overrides a discount applied on a customer-wide basis.
[subscriptionDiscount] :: Subscription -> Maybe SubscriptionDiscount'
-- | ended_at: If the subscription has ended, the date the subscription
-- ended.
[subscriptionEndedAt] :: Subscription -> Maybe Int
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[subscriptionId] :: Subscription -> Text
-- | items: List of subscription items, each with an attached price.
[subscriptionItems] :: Subscription -> SubscriptionItems'
-- | latest_invoice: The most recent invoice this subscription has
-- generated.
[subscriptionLatestInvoice] :: Subscription -> Maybe SubscriptionLatestInvoice'Variants
-- | livemode: Has the value `true` if the object exists in live mode or
-- the value `false` if the object exists in test mode.
[subscriptionLivemode] :: Subscription -> Bool
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format.
[subscriptionMetadata] :: Subscription -> Object
-- | next_pending_invoice_item_invoice: Specifies the approximate timestamp
-- on which any pending invoice items will be billed according to the
-- schedule provided at `pending_invoice_item_interval`.
[subscriptionNextPendingInvoiceItemInvoice] :: Subscription -> Maybe Int
-- | pause_collection: If specified, payment collection for this
-- subscription will be paused.
[subscriptionPauseCollection] :: Subscription -> Maybe SubscriptionPauseCollection'
-- | pending_invoice_item_interval: Specifies an interval for how often to
-- bill for any pending invoice items. It is analogous to calling
-- Create an invoice for the given subscription at the specified
-- interval.
[subscriptionPendingInvoiceItemInterval] :: Subscription -> Maybe SubscriptionPendingInvoiceItemInterval'
-- | pending_setup_intent: You can use this SetupIntent to collect
-- user authentication when creating a subscription without immediate
-- payment or updating a subscription's payment method, allowing you to
-- optimize for off-session payments. Learn more in the SCA Migration
-- Guide.
[subscriptionPendingSetupIntent] :: Subscription -> Maybe SubscriptionPendingSetupIntent'Variants
-- | pending_update: If specified, pending updates that will be
-- applied to the subscription once the `latest_invoice` has been paid.
[subscriptionPendingUpdate] :: Subscription -> Maybe SubscriptionPendingUpdate'
-- | schedule: The schedule attached to the subscription
[subscriptionSchedule] :: Subscription -> Maybe SubscriptionSchedule'Variants
-- | start_date: Date when the subscription was first created. The date
-- might differ from the `created` date due to backdating.
[subscriptionStartDate] :: Subscription -> Int
-- | status: Possible values are `incomplete`, `incomplete_expired`,
-- `trialing`, `active`, `past_due`, `canceled`, or `unpaid`.
--
-- For `collection_method=charge_automatically` a subscription moves into
-- `incomplete` if the initial payment attempt fails. A subscription in
-- this state can only have metadata and default_source updated. Once the
-- first invoice is paid, the subscription moves into an `active` state.
-- If the first invoice is not paid within 23 hours, the subscription
-- transitions to `incomplete_expired`. This is a terminal state, the
-- open invoice will be voided and no further invoices will be generated.
--
-- A subscription that is currently in a trial period is `trialing` and
-- moves to `active` when the trial period is over.
--
-- If subscription `collection_method=charge_automatically` it becomes
-- `past_due` when payment to renew it fails and `canceled` or `unpaid`
-- (depending on your subscriptions settings) when Stripe has exhausted
-- all payment retry attempts.
--
-- If subscription `collection_method=send_invoice` it becomes `past_due`
-- when its invoice is not paid by the due date, and `canceled` or
-- `unpaid` if it is still not paid by an additional deadline after that.
-- Note that when a subscription has a status of `unpaid`, no subsequent
-- invoices will be attempted (invoices will be created, but then
-- immediately automatically closed). After receiving updated payment
-- information from a customer, you may choose to reopen and pay their
-- closed invoices.
[subscriptionStatus] :: Subscription -> SubscriptionStatus'
-- | transfer_data: The account (if any) the subscription's payments will
-- be attributed to for tax reporting, and where funds from each payment
-- will be transferred to for each of the subscription's invoices.
[subscriptionTransferData] :: Subscription -> Maybe SubscriptionTransferData'
-- | trial_end: If the subscription has a trial, the end of that trial.
[subscriptionTrialEnd] :: Subscription -> Maybe Int
-- | trial_start: If the subscription has a trial, the beginning of that
-- trial.
[subscriptionTrialStart] :: Subscription -> Maybe Int
-- | Create a new Subscription with all required fields.
mkSubscription :: SubscriptionAutomaticTax -> Int -> Bool -> Int -> Int -> Int -> SubscriptionCustomer'Variants -> Text -> SubscriptionItems' -> Bool -> Object -> Int -> SubscriptionStatus' -> Subscription
-- | Defines the object schema located at
-- components.schemas.subscription.properties.billing_thresholds.anyOf
-- in the specification.
--
-- Define thresholds at which an invoice will be sent, and the
-- subscription advanced to a new billing period
data SubscriptionBillingThresholds'
SubscriptionBillingThresholds' :: Maybe Int -> Maybe Bool -> SubscriptionBillingThresholds'
-- | amount_gte: Monetary threshold that triggers the subscription to
-- create an invoice
[subscriptionBillingThresholds'AmountGte] :: SubscriptionBillingThresholds' -> Maybe Int
-- | reset_billing_cycle_anchor: Indicates if the `billing_cycle_anchor`
-- should be reset when a threshold is reached. If true,
-- `billing_cycle_anchor` will be updated to the date/time the threshold
-- was last reached; otherwise, the value will remain unchanged. This
-- value may not be `true` if the subscription contains items with plans
-- that have `aggregate_usage=last_ever`.
[subscriptionBillingThresholds'ResetBillingCycleAnchor] :: SubscriptionBillingThresholds' -> Maybe Bool
-- | Create a new SubscriptionBillingThresholds' with all required
-- fields.
mkSubscriptionBillingThresholds' :: SubscriptionBillingThresholds'
-- | Defines the enum schema located at
-- components.schemas.subscription.properties.collection_method
-- in the specification.
--
-- Either `charge_automatically`, or `send_invoice`. When charging
-- automatically, Stripe will attempt to pay this subscription at the end
-- of the cycle using the default source attached to the customer. When
-- sending an invoice, Stripe will email your customer an invoice with
-- payment instructions.
data SubscriptionCollectionMethod'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
SubscriptionCollectionMethod'Other :: Value -> SubscriptionCollectionMethod'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
SubscriptionCollectionMethod'Typed :: Text -> SubscriptionCollectionMethod'
-- | Represents the JSON value "charge_automatically"
SubscriptionCollectionMethod'EnumChargeAutomatically :: SubscriptionCollectionMethod'
-- | Represents the JSON value "send_invoice"
SubscriptionCollectionMethod'EnumSendInvoice :: SubscriptionCollectionMethod'
-- | Defines the oneOf schema located at
-- components.schemas.subscription.properties.customer.anyOf in
-- the specification.
--
-- ID of the customer who owns the subscription.
data SubscriptionCustomer'Variants
SubscriptionCustomer'Text :: Text -> SubscriptionCustomer'Variants
SubscriptionCustomer'Customer :: Customer -> SubscriptionCustomer'Variants
SubscriptionCustomer'DeletedCustomer :: DeletedCustomer -> SubscriptionCustomer'Variants
-- | Defines the oneOf schema located at
-- components.schemas.subscription.properties.default_payment_method.anyOf
-- in the specification.
--
-- ID of the default payment method for the subscription. It must belong
-- to the customer associated with the subscription. This takes
-- precedence over `default_source`. If neither are set, invoices will
-- use the customer's invoice_settings.default_payment_method or
-- default_source.
data SubscriptionDefaultPaymentMethod'Variants
SubscriptionDefaultPaymentMethod'Text :: Text -> SubscriptionDefaultPaymentMethod'Variants
SubscriptionDefaultPaymentMethod'PaymentMethod :: PaymentMethod -> SubscriptionDefaultPaymentMethod'Variants
-- | Defines the oneOf schema located at
-- components.schemas.subscription.properties.default_source.anyOf
-- in the specification.
--
-- ID of the default payment source for the subscription. It must belong
-- to the customer associated with the subscription and be in a
-- chargeable state. If `default_payment_method` is also set,
-- `default_payment_method` will take precedence. If neither are set,
-- invoices will use the customer's
-- invoice_settings.default_payment_method or
-- default_source.
data SubscriptionDefaultSource'Variants
SubscriptionDefaultSource'Text :: Text -> SubscriptionDefaultSource'Variants
SubscriptionDefaultSource'AlipayAccount :: AlipayAccount -> SubscriptionDefaultSource'Variants
SubscriptionDefaultSource'BankAccount :: BankAccount -> SubscriptionDefaultSource'Variants
SubscriptionDefaultSource'BitcoinReceiver :: BitcoinReceiver -> SubscriptionDefaultSource'Variants
SubscriptionDefaultSource'Card :: Card -> SubscriptionDefaultSource'Variants
SubscriptionDefaultSource'Source :: Source -> SubscriptionDefaultSource'Variants
-- | Defines the object schema located at
-- components.schemas.subscription.properties.discount.anyOf in
-- the specification.
--
-- Describes the current discount applied to this subscription, if there
-- is one. When billing, a discount applied to a subscription overrides a
-- discount applied on a customer-wide basis.
data SubscriptionDiscount'
SubscriptionDiscount' :: Maybe Text -> Maybe Coupon -> Maybe SubscriptionDiscount'Customer'Variants -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe SubscriptionDiscount'Object' -> Maybe SubscriptionDiscount'PromotionCode'Variants -> Maybe Int -> Maybe Text -> SubscriptionDiscount'
-- | checkout_session: The Checkout session that this coupon is applied to,
-- if it is applied to a particular session in payment mode. Will not be
-- present for subscription mode.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[subscriptionDiscount'CheckoutSession] :: SubscriptionDiscount' -> Maybe Text
-- | coupon: A coupon contains information about a percent-off or
-- amount-off discount you might want to apply to a customer. Coupons may
-- be applied to invoices or orders. Coupons do not work
-- with conventional one-off charges.
[subscriptionDiscount'Coupon] :: SubscriptionDiscount' -> Maybe Coupon
-- | customer: The ID of the customer associated with this discount.
[subscriptionDiscount'Customer] :: SubscriptionDiscount' -> Maybe SubscriptionDiscount'Customer'Variants
-- | end: If the coupon has a duration of `repeating`, the date that this
-- discount will end. If the coupon has a duration of `once` or
-- `forever`, this attribute will be null.
[subscriptionDiscount'End] :: SubscriptionDiscount' -> Maybe Int
-- | id: The ID of the discount object. Discounts cannot be fetched by ID.
-- Use `expand[]=discounts` in API calls to expand discount IDs in an
-- array.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[subscriptionDiscount'Id] :: SubscriptionDiscount' -> Maybe Text
-- | invoice: The invoice that the discount's coupon was applied to, if it
-- was applied directly to a particular invoice.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[subscriptionDiscount'Invoice] :: SubscriptionDiscount' -> Maybe Text
-- | invoice_item: The invoice item `id` (or invoice line item `id` for
-- invoice line items of type='subscription') that the discount's coupon
-- was applied to, if it was applied directly to a particular invoice
-- item or invoice line item.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[subscriptionDiscount'InvoiceItem] :: SubscriptionDiscount' -> Maybe Text
-- | object: String representing the object's type. Objects of the same
-- type share the same value.
[subscriptionDiscount'Object] :: SubscriptionDiscount' -> Maybe SubscriptionDiscount'Object'
-- | promotion_code: The promotion code applied to create this discount.
[subscriptionDiscount'PromotionCode] :: SubscriptionDiscount' -> Maybe SubscriptionDiscount'PromotionCode'Variants
-- | start: Date that the coupon was applied.
[subscriptionDiscount'Start] :: SubscriptionDiscount' -> Maybe Int
-- | subscription: The subscription that this coupon is applied to, if it
-- is applied to a particular subscription.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[subscriptionDiscount'Subscription] :: SubscriptionDiscount' -> Maybe Text
-- | Create a new SubscriptionDiscount' with all required fields.
mkSubscriptionDiscount' :: SubscriptionDiscount'
-- | Defines the oneOf schema located at
-- components.schemas.subscription.properties.discount.anyOf.properties.customer.anyOf
-- in the specification.
--
-- The ID of the customer associated with this discount.
data SubscriptionDiscount'Customer'Variants
SubscriptionDiscount'Customer'Text :: Text -> SubscriptionDiscount'Customer'Variants
SubscriptionDiscount'Customer'Customer :: Customer -> SubscriptionDiscount'Customer'Variants
SubscriptionDiscount'Customer'DeletedCustomer :: DeletedCustomer -> SubscriptionDiscount'Customer'Variants
-- | Defines the enum schema located at
-- components.schemas.subscription.properties.discount.anyOf.properties.object
-- in the specification.
--
-- String representing the object's type. Objects of the same type share
-- the same value.
data SubscriptionDiscount'Object'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
SubscriptionDiscount'Object'Other :: Value -> SubscriptionDiscount'Object'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
SubscriptionDiscount'Object'Typed :: Text -> SubscriptionDiscount'Object'
-- | Represents the JSON value "discount"
SubscriptionDiscount'Object'EnumDiscount :: SubscriptionDiscount'Object'
-- | Defines the oneOf schema located at
-- components.schemas.subscription.properties.discount.anyOf.properties.promotion_code.anyOf
-- in the specification.
--
-- The promotion code applied to create this discount.
data SubscriptionDiscount'PromotionCode'Variants
SubscriptionDiscount'PromotionCode'Text :: Text -> SubscriptionDiscount'PromotionCode'Variants
SubscriptionDiscount'PromotionCode'PromotionCode :: PromotionCode -> SubscriptionDiscount'PromotionCode'Variants
-- | Defines the object schema located at
-- components.schemas.subscription.properties.items in the
-- specification.
--
-- List of subscription items, each with an attached price.
data SubscriptionItems'
SubscriptionItems' :: [SubscriptionItem] -> Bool -> Text -> SubscriptionItems'
-- | data: Details about each object.
[subscriptionItems'Data] :: SubscriptionItems' -> [SubscriptionItem]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[subscriptionItems'HasMore] :: SubscriptionItems' -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[subscriptionItems'Url] :: SubscriptionItems' -> Text
-- | Create a new SubscriptionItems' with all required fields.
mkSubscriptionItems' :: [SubscriptionItem] -> Bool -> Text -> SubscriptionItems'
-- | Defines the oneOf schema located at
-- components.schemas.subscription.properties.latest_invoice.anyOf
-- in the specification.
--
-- The most recent invoice this subscription has generated.
data SubscriptionLatestInvoice'Variants
SubscriptionLatestInvoice'Text :: Text -> SubscriptionLatestInvoice'Variants
SubscriptionLatestInvoice'Invoice :: Invoice -> SubscriptionLatestInvoice'Variants
-- | Defines the object schema located at
-- components.schemas.subscription.properties.pause_collection.anyOf
-- in the specification.
--
-- If specified, payment collection for this subscription will be paused.
data SubscriptionPauseCollection'
SubscriptionPauseCollection' :: Maybe SubscriptionPauseCollection'Behavior' -> Maybe Int -> SubscriptionPauseCollection'
-- | behavior: The payment collection behavior for this subscription while
-- paused. One of `keep_as_draft`, `mark_uncollectible`, or `void`.
[subscriptionPauseCollection'Behavior] :: SubscriptionPauseCollection' -> Maybe SubscriptionPauseCollection'Behavior'
-- | resumes_at: The time after which the subscription will resume
-- collecting payments.
[subscriptionPauseCollection'ResumesAt] :: SubscriptionPauseCollection' -> Maybe Int
-- | Create a new SubscriptionPauseCollection' with all required
-- fields.
mkSubscriptionPauseCollection' :: SubscriptionPauseCollection'
-- | Defines the enum schema located at
-- components.schemas.subscription.properties.pause_collection.anyOf.properties.behavior
-- in the specification.
--
-- The payment collection behavior for this subscription while paused.
-- One of `keep_as_draft`, `mark_uncollectible`, or `void`.
data SubscriptionPauseCollection'Behavior'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
SubscriptionPauseCollection'Behavior'Other :: Value -> SubscriptionPauseCollection'Behavior'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
SubscriptionPauseCollection'Behavior'Typed :: Text -> SubscriptionPauseCollection'Behavior'
-- | Represents the JSON value "keep_as_draft"
SubscriptionPauseCollection'Behavior'EnumKeepAsDraft :: SubscriptionPauseCollection'Behavior'
-- | Represents the JSON value "mark_uncollectible"
SubscriptionPauseCollection'Behavior'EnumMarkUncollectible :: SubscriptionPauseCollection'Behavior'
-- | Represents the JSON value "void"
SubscriptionPauseCollection'Behavior'EnumVoid :: SubscriptionPauseCollection'Behavior'
-- | Defines the object schema located at
-- components.schemas.subscription.properties.pending_invoice_item_interval.anyOf
-- in the specification.
--
-- Specifies an interval for how often to bill for any pending invoice
-- items. It is analogous to calling Create an invoice for the
-- given subscription at the specified interval.
data SubscriptionPendingInvoiceItemInterval'
SubscriptionPendingInvoiceItemInterval' :: Maybe SubscriptionPendingInvoiceItemInterval'Interval' -> Maybe Int -> SubscriptionPendingInvoiceItemInterval'
-- | interval: Specifies invoicing frequency. Either `day`, `week`, `month`
-- or `year`.
[subscriptionPendingInvoiceItemInterval'Interval] :: SubscriptionPendingInvoiceItemInterval' -> Maybe SubscriptionPendingInvoiceItemInterval'Interval'
-- | interval_count: The number of intervals between invoices. For example,
-- `interval=month` and `interval_count=3` bills every 3 months. Maximum
-- of one year interval allowed (1 year, 12 months, or 52 weeks).
[subscriptionPendingInvoiceItemInterval'IntervalCount] :: SubscriptionPendingInvoiceItemInterval' -> Maybe Int
-- | Create a new SubscriptionPendingInvoiceItemInterval' with all
-- required fields.
mkSubscriptionPendingInvoiceItemInterval' :: SubscriptionPendingInvoiceItemInterval'
-- | Defines the enum schema located at
-- components.schemas.subscription.properties.pending_invoice_item_interval.anyOf.properties.interval
-- in the specification.
--
-- Specifies invoicing frequency. Either `day`, `week`, `month` or
-- `year`.
data SubscriptionPendingInvoiceItemInterval'Interval'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
SubscriptionPendingInvoiceItemInterval'Interval'Other :: Value -> SubscriptionPendingInvoiceItemInterval'Interval'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
SubscriptionPendingInvoiceItemInterval'Interval'Typed :: Text -> SubscriptionPendingInvoiceItemInterval'Interval'
-- | Represents the JSON value "day"
SubscriptionPendingInvoiceItemInterval'Interval'EnumDay :: SubscriptionPendingInvoiceItemInterval'Interval'
-- | Represents the JSON value "month"
SubscriptionPendingInvoiceItemInterval'Interval'EnumMonth :: SubscriptionPendingInvoiceItemInterval'Interval'
-- | Represents the JSON value "week"
SubscriptionPendingInvoiceItemInterval'Interval'EnumWeek :: SubscriptionPendingInvoiceItemInterval'Interval'
-- | Represents the JSON value "year"
SubscriptionPendingInvoiceItemInterval'Interval'EnumYear :: SubscriptionPendingInvoiceItemInterval'Interval'
-- | Defines the oneOf schema located at
-- components.schemas.subscription.properties.pending_setup_intent.anyOf
-- in the specification.
--
-- You can use this SetupIntent to collect user authentication
-- when creating a subscription without immediate payment or updating a
-- subscription's payment method, allowing you to optimize for
-- off-session payments. Learn more in the SCA Migration Guide.
data SubscriptionPendingSetupIntent'Variants
SubscriptionPendingSetupIntent'Text :: Text -> SubscriptionPendingSetupIntent'Variants
SubscriptionPendingSetupIntent'SetupIntent :: SetupIntent -> SubscriptionPendingSetupIntent'Variants
-- | Defines the object schema located at
-- components.schemas.subscription.properties.pending_update.anyOf
-- in the specification.
--
-- If specified, pending updates that will be applied to the
-- subscription once the \`latest_invoice\` has been paid.
data SubscriptionPendingUpdate'
SubscriptionPendingUpdate' :: Maybe Int -> Maybe Int -> Maybe [SubscriptionItem] -> Maybe Int -> Maybe Bool -> SubscriptionPendingUpdate'
-- | billing_cycle_anchor: If the update is applied, determines the date of
-- the first full invoice, and, for plans with `month` or `year`
-- intervals, the day of the month for subsequent invoices.
[subscriptionPendingUpdate'BillingCycleAnchor] :: SubscriptionPendingUpdate' -> Maybe Int
-- | expires_at: The point after which the changes reflected by this update
-- will be discarded and no longer applied.
[subscriptionPendingUpdate'ExpiresAt] :: SubscriptionPendingUpdate' -> Maybe Int
-- | subscription_items: List of subscription items, each with an attached
-- plan, that will be set if the update is applied.
[subscriptionPendingUpdate'SubscriptionItems] :: SubscriptionPendingUpdate' -> Maybe [SubscriptionItem]
-- | trial_end: Unix timestamp representing the end of the trial period the
-- customer will get before being charged for the first time, if the
-- update is applied.
[subscriptionPendingUpdate'TrialEnd] :: SubscriptionPendingUpdate' -> Maybe Int
-- | trial_from_plan: Indicates if a plan's `trial_period_days` should be
-- applied to the subscription. Setting `trial_end` per subscription is
-- preferred, and this defaults to `false`. Setting this flag to `true`
-- together with `trial_end` is not allowed.
[subscriptionPendingUpdate'TrialFromPlan] :: SubscriptionPendingUpdate' -> Maybe Bool
-- | Create a new SubscriptionPendingUpdate' with all required
-- fields.
mkSubscriptionPendingUpdate' :: SubscriptionPendingUpdate'
-- | Defines the oneOf schema located at
-- components.schemas.subscription.properties.schedule.anyOf in
-- the specification.
--
-- The schedule attached to the subscription
data SubscriptionSchedule'Variants
SubscriptionSchedule'Text :: Text -> SubscriptionSchedule'Variants
SubscriptionSchedule'SubscriptionSchedule :: SubscriptionSchedule -> SubscriptionSchedule'Variants
-- | Defines the enum schema located at
-- components.schemas.subscription.properties.status in the
-- specification.
--
-- Possible values are `incomplete`, `incomplete_expired`, `trialing`,
-- `active`, `past_due`, `canceled`, or `unpaid`.
--
-- For `collection_method=charge_automatically` a subscription moves into
-- `incomplete` if the initial payment attempt fails. A subscription in
-- this state can only have metadata and default_source updated. Once the
-- first invoice is paid, the subscription moves into an `active` state.
-- If the first invoice is not paid within 23 hours, the subscription
-- transitions to `incomplete_expired`. This is a terminal state, the
-- open invoice will be voided and no further invoices will be generated.
--
-- A subscription that is currently in a trial period is `trialing` and
-- moves to `active` when the trial period is over.
--
-- If subscription `collection_method=charge_automatically` it becomes
-- `past_due` when payment to renew it fails and `canceled` or `unpaid`
-- (depending on your subscriptions settings) when Stripe has exhausted
-- all payment retry attempts.
--
-- If subscription `collection_method=send_invoice` it becomes `past_due`
-- when its invoice is not paid by the due date, and `canceled` or
-- `unpaid` if it is still not paid by an additional deadline after that.
-- Note that when a subscription has a status of `unpaid`, no subsequent
-- invoices will be attempted (invoices will be created, but then
-- immediately automatically closed). After receiving updated payment
-- information from a customer, you may choose to reopen and pay their
-- closed invoices.
data SubscriptionStatus'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
SubscriptionStatus'Other :: Value -> SubscriptionStatus'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
SubscriptionStatus'Typed :: Text -> SubscriptionStatus'
-- | Represents the JSON value "active"
SubscriptionStatus'EnumActive :: SubscriptionStatus'
-- | Represents the JSON value "canceled"
SubscriptionStatus'EnumCanceled :: SubscriptionStatus'
-- | Represents the JSON value "incomplete"
SubscriptionStatus'EnumIncomplete :: SubscriptionStatus'
-- | Represents the JSON value "incomplete_expired"
SubscriptionStatus'EnumIncompleteExpired :: SubscriptionStatus'
-- | Represents the JSON value "past_due"
SubscriptionStatus'EnumPastDue :: SubscriptionStatus'
-- | Represents the JSON value "trialing"
SubscriptionStatus'EnumTrialing :: SubscriptionStatus'
-- | Represents the JSON value "unpaid"
SubscriptionStatus'EnumUnpaid :: SubscriptionStatus'
-- | Defines the object schema located at
-- components.schemas.subscription.properties.transfer_data.anyOf
-- in the specification.
--
-- The account (if any) the subscription\'s payments will be attributed
-- to for tax reporting, and where funds from each payment will be
-- transferred to for each of the subscription\'s invoices.
data SubscriptionTransferData'
SubscriptionTransferData' :: Maybe Double -> Maybe SubscriptionTransferData'Destination'Variants -> SubscriptionTransferData'
-- | amount_percent: A non-negative decimal between 0 and 100, with at most
-- two decimal places. This represents the percentage of the subscription
-- invoice subtotal that will be transferred to the destination account.
-- By default, the entire amount is transferred to the destination.
[subscriptionTransferData'AmountPercent] :: SubscriptionTransferData' -> Maybe Double
-- | destination: The account where funds from the payment will be
-- transferred to upon payment success.
[subscriptionTransferData'Destination] :: SubscriptionTransferData' -> Maybe SubscriptionTransferData'Destination'Variants
-- | Create a new SubscriptionTransferData' with all required
-- fields.
mkSubscriptionTransferData' :: SubscriptionTransferData'
-- | Defines the oneOf schema located at
-- components.schemas.subscription.properties.transfer_data.anyOf.properties.destination.anyOf
-- in the specification.
--
-- The account where funds from the payment will be transferred to upon
-- payment success.
data SubscriptionTransferData'Destination'Variants
SubscriptionTransferData'Destination'Text :: Text -> SubscriptionTransferData'Destination'Variants
SubscriptionTransferData'Destination'Account :: Account -> SubscriptionTransferData'Destination'Variants
instance GHC.Classes.Eq StripeAPI.Types.Subscription.SubscriptionBillingThresholds'
instance GHC.Show.Show StripeAPI.Types.Subscription.SubscriptionBillingThresholds'
instance GHC.Classes.Eq StripeAPI.Types.Subscription.SubscriptionCollectionMethod'
instance GHC.Show.Show StripeAPI.Types.Subscription.SubscriptionCollectionMethod'
instance GHC.Classes.Eq StripeAPI.Types.Subscription.SubscriptionCustomer'Variants
instance GHC.Show.Show StripeAPI.Types.Subscription.SubscriptionCustomer'Variants
instance GHC.Classes.Eq StripeAPI.Types.Subscription.SubscriptionDefaultPaymentMethod'Variants
instance GHC.Show.Show StripeAPI.Types.Subscription.SubscriptionDefaultPaymentMethod'Variants
instance GHC.Classes.Eq StripeAPI.Types.Subscription.SubscriptionDefaultSource'Variants
instance GHC.Show.Show StripeAPI.Types.Subscription.SubscriptionDefaultSource'Variants
instance GHC.Classes.Eq StripeAPI.Types.Subscription.SubscriptionDiscount'Customer'Variants
instance GHC.Show.Show StripeAPI.Types.Subscription.SubscriptionDiscount'Customer'Variants
instance GHC.Classes.Eq StripeAPI.Types.Subscription.SubscriptionDiscount'Object'
instance GHC.Show.Show StripeAPI.Types.Subscription.SubscriptionDiscount'Object'
instance GHC.Classes.Eq StripeAPI.Types.Subscription.SubscriptionDiscount'PromotionCode'Variants
instance GHC.Show.Show StripeAPI.Types.Subscription.SubscriptionDiscount'PromotionCode'Variants
instance GHC.Classes.Eq StripeAPI.Types.Subscription.SubscriptionDiscount'
instance GHC.Show.Show StripeAPI.Types.Subscription.SubscriptionDiscount'
instance GHC.Classes.Eq StripeAPI.Types.Subscription.SubscriptionItems'
instance GHC.Show.Show StripeAPI.Types.Subscription.SubscriptionItems'
instance GHC.Classes.Eq StripeAPI.Types.Subscription.SubscriptionLatestInvoice'Variants
instance GHC.Show.Show StripeAPI.Types.Subscription.SubscriptionLatestInvoice'Variants
instance GHC.Classes.Eq StripeAPI.Types.Subscription.SubscriptionPauseCollection'Behavior'
instance GHC.Show.Show StripeAPI.Types.Subscription.SubscriptionPauseCollection'Behavior'
instance GHC.Classes.Eq StripeAPI.Types.Subscription.SubscriptionPauseCollection'
instance GHC.Show.Show StripeAPI.Types.Subscription.SubscriptionPauseCollection'
instance GHC.Classes.Eq StripeAPI.Types.Subscription.SubscriptionPendingInvoiceItemInterval'Interval'
instance GHC.Show.Show StripeAPI.Types.Subscription.SubscriptionPendingInvoiceItemInterval'Interval'
instance GHC.Classes.Eq StripeAPI.Types.Subscription.SubscriptionPendingInvoiceItemInterval'
instance GHC.Show.Show StripeAPI.Types.Subscription.SubscriptionPendingInvoiceItemInterval'
instance GHC.Classes.Eq StripeAPI.Types.Subscription.SubscriptionPendingSetupIntent'Variants
instance GHC.Show.Show StripeAPI.Types.Subscription.SubscriptionPendingSetupIntent'Variants
instance GHC.Classes.Eq StripeAPI.Types.Subscription.SubscriptionPendingUpdate'
instance GHC.Show.Show StripeAPI.Types.Subscription.SubscriptionPendingUpdate'
instance GHC.Classes.Eq StripeAPI.Types.Subscription.SubscriptionSchedule'Variants
instance GHC.Show.Show StripeAPI.Types.Subscription.SubscriptionSchedule'Variants
instance GHC.Classes.Eq StripeAPI.Types.Subscription.SubscriptionStatus'
instance GHC.Show.Show StripeAPI.Types.Subscription.SubscriptionStatus'
instance GHC.Classes.Eq StripeAPI.Types.Subscription.SubscriptionTransferData'Destination'Variants
instance GHC.Show.Show StripeAPI.Types.Subscription.SubscriptionTransferData'Destination'Variants
instance GHC.Classes.Eq StripeAPI.Types.Subscription.SubscriptionTransferData'
instance GHC.Show.Show StripeAPI.Types.Subscription.SubscriptionTransferData'
instance GHC.Classes.Eq StripeAPI.Types.Subscription.Subscription
instance GHC.Show.Show StripeAPI.Types.Subscription.Subscription
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Subscription.Subscription
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Subscription.Subscription
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Subscription.SubscriptionTransferData'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Subscription.SubscriptionTransferData'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Subscription.SubscriptionTransferData'Destination'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Subscription.SubscriptionTransferData'Destination'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Subscription.SubscriptionStatus'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Subscription.SubscriptionStatus'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Subscription.SubscriptionSchedule'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Subscription.SubscriptionSchedule'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Subscription.SubscriptionPendingUpdate'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Subscription.SubscriptionPendingUpdate'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Subscription.SubscriptionPendingSetupIntent'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Subscription.SubscriptionPendingSetupIntent'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Subscription.SubscriptionPendingInvoiceItemInterval'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Subscription.SubscriptionPendingInvoiceItemInterval'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Subscription.SubscriptionPendingInvoiceItemInterval'Interval'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Subscription.SubscriptionPendingInvoiceItemInterval'Interval'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Subscription.SubscriptionPauseCollection'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Subscription.SubscriptionPauseCollection'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Subscription.SubscriptionPauseCollection'Behavior'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Subscription.SubscriptionPauseCollection'Behavior'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Subscription.SubscriptionLatestInvoice'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Subscription.SubscriptionLatestInvoice'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Subscription.SubscriptionItems'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Subscription.SubscriptionItems'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Subscription.SubscriptionDiscount'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Subscription.SubscriptionDiscount'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Subscription.SubscriptionDiscount'PromotionCode'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Subscription.SubscriptionDiscount'PromotionCode'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Subscription.SubscriptionDiscount'Object'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Subscription.SubscriptionDiscount'Object'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Subscription.SubscriptionDiscount'Customer'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Subscription.SubscriptionDiscount'Customer'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Subscription.SubscriptionDefaultSource'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Subscription.SubscriptionDefaultSource'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Subscription.SubscriptionDefaultPaymentMethod'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Subscription.SubscriptionDefaultPaymentMethod'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Subscription.SubscriptionCustomer'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Subscription.SubscriptionCustomer'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Subscription.SubscriptionCollectionMethod'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Subscription.SubscriptionCollectionMethod'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Subscription.SubscriptionBillingThresholds'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Subscription.SubscriptionBillingThresholds'
-- | Contains the types generated from the schema LineItemsTaxAmount
module StripeAPI.Types.LineItemsTaxAmount
-- | Defines the object schema located at
-- components.schemas.line_items_tax_amount in the
-- specification.
data LineItemsTaxAmount
LineItemsTaxAmount :: Int -> TaxRate -> LineItemsTaxAmount
-- | amount: Amount of tax applied for this rate.
[lineItemsTaxAmountAmount] :: LineItemsTaxAmount -> Int
-- | rate: Tax rates can be applied to invoices,
-- subscriptions and Checkout Sessions to collect tax.
--
-- Related guide: Tax Rates.
[lineItemsTaxAmountRate] :: LineItemsTaxAmount -> TaxRate
-- | Create a new LineItemsTaxAmount with all required fields.
mkLineItemsTaxAmount :: Int -> TaxRate -> LineItemsTaxAmount
instance GHC.Classes.Eq StripeAPI.Types.LineItemsTaxAmount.LineItemsTaxAmount
instance GHC.Show.Show StripeAPI.Types.LineItemsTaxAmount.LineItemsTaxAmount
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.LineItemsTaxAmount.LineItemsTaxAmount
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.LineItemsTaxAmount.LineItemsTaxAmount
-- | Contains the types generated from the schema InvoiceTaxAmount
module StripeAPI.Types.InvoiceTaxAmount
-- | Defines the object schema located at
-- components.schemas.invoice_tax_amount in the specification.
data InvoiceTaxAmount
InvoiceTaxAmount :: Int -> Bool -> InvoiceTaxAmountTaxRate'Variants -> InvoiceTaxAmount
-- | amount: The amount, in %s, of the tax.
[invoiceTaxAmountAmount] :: InvoiceTaxAmount -> Int
-- | inclusive: Whether this tax amount is inclusive or exclusive.
[invoiceTaxAmountInclusive] :: InvoiceTaxAmount -> Bool
-- | tax_rate: The tax rate that was applied to get this tax amount.
[invoiceTaxAmountTaxRate] :: InvoiceTaxAmount -> InvoiceTaxAmountTaxRate'Variants
-- | Create a new InvoiceTaxAmount with all required fields.
mkInvoiceTaxAmount :: Int -> Bool -> InvoiceTaxAmountTaxRate'Variants -> InvoiceTaxAmount
-- | Defines the oneOf schema located at
-- components.schemas.invoice_tax_amount.properties.tax_rate.anyOf
-- in the specification.
--
-- The tax rate that was applied to get this tax amount.
data InvoiceTaxAmountTaxRate'Variants
InvoiceTaxAmountTaxRate'Text :: Text -> InvoiceTaxAmountTaxRate'Variants
InvoiceTaxAmountTaxRate'TaxRate :: TaxRate -> InvoiceTaxAmountTaxRate'Variants
instance GHC.Classes.Eq StripeAPI.Types.InvoiceTaxAmount.InvoiceTaxAmountTaxRate'Variants
instance GHC.Show.Show StripeAPI.Types.InvoiceTaxAmount.InvoiceTaxAmountTaxRate'Variants
instance GHC.Classes.Eq StripeAPI.Types.InvoiceTaxAmount.InvoiceTaxAmount
instance GHC.Show.Show StripeAPI.Types.InvoiceTaxAmount.InvoiceTaxAmount
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.InvoiceTaxAmount.InvoiceTaxAmount
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.InvoiceTaxAmount.InvoiceTaxAmount
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.InvoiceTaxAmount.InvoiceTaxAmountTaxRate'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.InvoiceTaxAmount.InvoiceTaxAmountTaxRate'Variants
-- | Contains the types generated from the schema Invoice
module StripeAPI.Types.Invoice
-- | Defines the object schema located at
-- components.schemas.invoice in the specification.
--
-- Invoices are statements of amounts owed by a customer, and are either
-- generated one-off, or generated periodically from a subscription.
--
-- They contain invoice items, and proration adjustments that may
-- be caused by subscription upgrades/downgrades (if necessary).
--
-- If your invoice is configured to be billed through automatic charges,
-- Stripe automatically finalizes your invoice and attempts payment. Note
-- that finalizing the invoice, when automatic, does not happen
-- immediately as the invoice is created. Stripe waits until one hour
-- after the last webhook was successfully sent (or the last webhook
-- timed out after failing). If you (and the platforms you may have
-- connected to) have no webhooks configured, Stripe waits one hour after
-- creation to finalize the invoice.
--
-- If your invoice is configured to be billed by sending an email, then
-- based on your email settings, Stripe will email the invoice to
-- your customer and await payment. These emails can contain a link to a
-- hosted page to pay the invoice.
--
-- Stripe applies any customer credit on the account before determining
-- the amount due for the invoice (i.e., the amount that will be actually
-- charged). If the amount due for the invoice is less than Stripe's
-- minimum allowed charge per currency, the invoice is
-- automatically marked paid, and we add the amount due to the customer's
-- credit balance which is applied to the next invoice.
--
-- More details on the customer's credit balance are here.
--
-- Related guide: Send Invoices to Customers.
data Invoice
Invoice :: Maybe Text -> Maybe Text -> Maybe [InvoiceAccountTaxIds'Variants] -> Int -> Int -> Int -> Maybe Int -> Int -> Bool -> Maybe Bool -> AutomaticTax -> Maybe InvoiceBillingReason' -> Maybe InvoiceCharge'Variants -> Maybe InvoiceCollectionMethod' -> Int -> Text -> Maybe [InvoiceSettingCustomField] -> Maybe InvoiceCustomer'Variants -> Maybe InvoiceCustomerAddress' -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe InvoiceCustomerShipping' -> Maybe InvoiceCustomerTaxExempt' -> Maybe [InvoicesResourceInvoiceTaxId] -> Maybe InvoiceDefaultPaymentMethod'Variants -> Maybe InvoiceDefaultSource'Variants -> [TaxRate] -> Maybe Text -> Maybe InvoiceDiscount' -> Maybe [InvoiceDiscounts'Variants] -> Maybe Int -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe InvoiceLastFinalizationError' -> InvoiceLines' -> Bool -> Maybe Object -> Maybe Int -> Maybe Text -> Maybe InvoiceOnBehalfOf'Variants -> Bool -> Maybe InvoicePaymentIntent'Variants -> InvoicesPaymentSettings -> Int -> Int -> Int -> Int -> Maybe Text -> Int -> Maybe Text -> Maybe InvoiceStatus' -> InvoicesStatusTransitions -> Maybe InvoiceSubscription'Variants -> Maybe Int -> Int -> Maybe Int -> Maybe InvoiceThresholdReason -> Int -> Maybe [DiscountsResourceDiscountAmount] -> [InvoiceTaxAmount] -> Maybe InvoiceTransferData' -> Maybe Int -> Invoice
-- | account_country: The country of the business associated with this
-- invoice, most often the business creating the invoice.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[invoiceAccountCountry] :: Invoice -> Maybe Text
-- | account_name: The public name of the business associated with this
-- invoice, most often the business creating the invoice.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[invoiceAccountName] :: Invoice -> Maybe Text
-- | account_tax_ids: The account tax IDs associated with the invoice. Only
-- editable when the invoice is a draft.
[invoiceAccountTaxIds] :: Invoice -> Maybe [InvoiceAccountTaxIds'Variants]
-- | amount_due: Final amount due at this time for this invoice. If the
-- invoice's total is smaller than the minimum charge amount, for
-- example, or if there is account credit that can be applied to the
-- invoice, the `amount_due` may be 0. If there is a positive
-- `starting_balance` for the invoice (the customer owes money), the
-- `amount_due` will also take that into account. The charge that gets
-- generated for the invoice will be for the amount specified in
-- `amount_due`.
[invoiceAmountDue] :: Invoice -> Int
-- | amount_paid: The amount, in %s, that was paid.
[invoiceAmountPaid] :: Invoice -> Int
-- | amount_remaining: The amount remaining, in %s, that is due.
[invoiceAmountRemaining] :: Invoice -> Int
-- | application_fee_amount: The fee in %s that will be applied to the
-- invoice and transferred to the application owner's Stripe account when
-- the invoice is paid.
[invoiceApplicationFeeAmount] :: Invoice -> Maybe Int
-- | attempt_count: Number of payment attempts made for this invoice, from
-- the perspective of the payment retry schedule. Any payment attempt
-- counts as the first attempt, and subsequently only automatic retries
-- increment the attempt count. In other words, manual payment attempts
-- after the first attempt do not affect the retry schedule.
[invoiceAttemptCount] :: Invoice -> Int
-- | attempted: Whether an attempt has been made to pay the invoice. An
-- invoice is not attempted until 1 hour after the `invoice.created`
-- webhook, for example, so you might not want to display that invoice as
-- unpaid to your users.
[invoiceAttempted] :: Invoice -> Bool
-- | auto_advance: Controls whether Stripe will perform automatic
-- collection of the invoice. When `false`, the invoice's state will
-- not automatically advance without an explicit action.
[invoiceAutoAdvance] :: Invoice -> Maybe Bool
-- | automatic_tax:
[invoiceAutomaticTax] :: Invoice -> AutomaticTax
-- | billing_reason: Indicates the reason why the invoice was created.
-- `subscription_cycle` indicates an invoice created by a subscription
-- advancing into a new period. `subscription_create` indicates an
-- invoice created due to creating a subscription. `subscription_update`
-- indicates an invoice created due to updating a subscription.
-- `subscription` is set for all old invoices to indicate either a change
-- to a subscription or a period advancement. `manual` is set for all
-- invoices unrelated to a subscription (for example: created via the
-- invoice editor). The `upcoming` value is reserved for simulated
-- invoices per the upcoming invoice endpoint. `subscription_threshold`
-- indicates an invoice created due to a billing threshold being reached.
[invoiceBillingReason] :: Invoice -> Maybe InvoiceBillingReason'
-- | charge: ID of the latest charge generated for this invoice, if any.
[invoiceCharge] :: Invoice -> Maybe InvoiceCharge'Variants
-- | collection_method: Either `charge_automatically`, or `send_invoice`.
-- When charging automatically, Stripe will attempt to pay this invoice
-- using the default source attached to the customer. When sending an
-- invoice, Stripe will email this invoice to the customer with payment
-- instructions.
[invoiceCollectionMethod] :: Invoice -> Maybe InvoiceCollectionMethod'
-- | created: Time at which the object was created. Measured in seconds
-- since the Unix epoch.
[invoiceCreated] :: Invoice -> Int
-- | currency: Three-letter ISO currency code, in lowercase. Must be
-- a supported currency.
[invoiceCurrency] :: Invoice -> Text
-- | custom_fields: Custom fields displayed on the invoice.
[invoiceCustomFields] :: Invoice -> Maybe [InvoiceSettingCustomField]
-- | customer: The ID of the customer who will be billed.
[invoiceCustomer] :: Invoice -> Maybe InvoiceCustomer'Variants
-- | customer_address: The customer's address. Until the invoice is
-- finalized, this field will equal `customer.address`. Once the invoice
-- is finalized, this field will no longer be updated.
[invoiceCustomerAddress] :: Invoice -> Maybe InvoiceCustomerAddress'
-- | customer_email: The customer's email. Until the invoice is finalized,
-- this field will equal `customer.email`. Once the invoice is finalized,
-- this field will no longer be updated.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[invoiceCustomerEmail] :: Invoice -> Maybe Text
-- | customer_name: The customer's name. Until the invoice is finalized,
-- this field will equal `customer.name`. Once the invoice is finalized,
-- this field will no longer be updated.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[invoiceCustomerName] :: Invoice -> Maybe Text
-- | customer_phone: The customer's phone number. Until the invoice is
-- finalized, this field will equal `customer.phone`. Once the invoice is
-- finalized, this field will no longer be updated.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[invoiceCustomerPhone] :: Invoice -> Maybe Text
-- | customer_shipping: The customer's shipping information. Until the
-- invoice is finalized, this field will equal `customer.shipping`. Once
-- the invoice is finalized, this field will no longer be updated.
[invoiceCustomerShipping] :: Invoice -> Maybe InvoiceCustomerShipping'
-- | customer_tax_exempt: The customer's tax exempt status. Until the
-- invoice is finalized, this field will equal `customer.tax_exempt`.
-- Once the invoice is finalized, this field will no longer be updated.
[invoiceCustomerTaxExempt] :: Invoice -> Maybe InvoiceCustomerTaxExempt'
-- | customer_tax_ids: The customer's tax IDs. Until the invoice is
-- finalized, this field will contain the same tax IDs as
-- `customer.tax_ids`. Once the invoice is finalized, this field will no
-- longer be updated.
[invoiceCustomerTaxIds] :: Invoice -> Maybe [InvoicesResourceInvoiceTaxId]
-- | default_payment_method: ID of the default payment method for the
-- invoice. It must belong to the customer associated with the invoice.
-- If not set, defaults to the subscription's default payment method, if
-- any, or to the default payment method in the customer's invoice
-- settings.
[invoiceDefaultPaymentMethod] :: Invoice -> Maybe InvoiceDefaultPaymentMethod'Variants
-- | default_source: ID of the default payment source for the invoice. It
-- must belong to the customer associated with the invoice and be in a
-- chargeable state. If not set, defaults to the subscription's default
-- source, if any, or to the customer's default source.
[invoiceDefaultSource] :: Invoice -> Maybe InvoiceDefaultSource'Variants
-- | default_tax_rates: The tax rates applied to this invoice, if any.
[invoiceDefaultTaxRates] :: Invoice -> [TaxRate]
-- | description: An arbitrary string attached to the object. Often useful
-- for displaying to users. Referenced as 'memo' in the Dashboard.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[invoiceDescription] :: Invoice -> Maybe Text
-- | discount: Describes the current discount applied to this invoice, if
-- there is one. Not populated if there are multiple discounts.
[invoiceDiscount] :: Invoice -> Maybe InvoiceDiscount'
-- | discounts: The discounts applied to the invoice. Line item discounts
-- are applied before invoice discounts. Use `expand[]=discounts` to
-- expand each discount.
[invoiceDiscounts] :: Invoice -> Maybe [InvoiceDiscounts'Variants]
-- | due_date: The date on which payment for this invoice is due. This
-- value will be `null` for invoices where
-- `collection_method=charge_automatically`.
[invoiceDueDate] :: Invoice -> Maybe Int
-- | ending_balance: Ending customer balance after the invoice is
-- finalized. Invoices are finalized approximately an hour after
-- successful webhook delivery or when payment collection is attempted
-- for the invoice. If the invoice has not been finalized yet, this will
-- be null.
[invoiceEndingBalance] :: Invoice -> Maybe Int
-- | footer: Footer displayed on the invoice.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[invoiceFooter] :: Invoice -> Maybe Text
-- | hosted_invoice_url: The URL for the hosted invoice page, which allows
-- customers to view and pay an invoice. If the invoice has not been
-- finalized yet, this will be null.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[invoiceHostedInvoiceUrl] :: Invoice -> Maybe Text
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[invoiceId] :: Invoice -> Maybe Text
-- | invoice_pdf: The link to download the PDF for the invoice. If the
-- invoice has not been finalized yet, this will be null.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[invoiceInvoicePdf] :: Invoice -> Maybe Text
-- | last_finalization_error: The error encountered during the previous
-- attempt to finalize the invoice. This field is cleared when the
-- invoice is successfully finalized.
[invoiceLastFinalizationError] :: Invoice -> Maybe InvoiceLastFinalizationError'
-- | lines: The individual line items that make up the invoice. `lines` is
-- sorted as follows: invoice items in reverse chronological order,
-- followed by the subscription, if any.
[invoiceLines] :: Invoice -> InvoiceLines'
-- | livemode: Has the value `true` if the object exists in live mode or
-- the value `false` if the object exists in test mode.
[invoiceLivemode] :: Invoice -> Bool
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format.
[invoiceMetadata] :: Invoice -> Maybe Object
-- | next_payment_attempt: The time at which payment will next be
-- attempted. This value will be `null` for invoices where
-- `collection_method=send_invoice`.
[invoiceNextPaymentAttempt] :: Invoice -> Maybe Int
-- | number: A unique, identifying string that appears on emails sent to
-- the customer for this invoice. This starts with the customer's unique
-- invoice_prefix if it is specified.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[invoiceNumber] :: Invoice -> Maybe Text
-- | on_behalf_of: The account (if any) for which the funds of the invoice
-- payment are intended. If set, the invoice will be presented with the
-- branding and support information of the specified account. See the
-- Invoices with Connect documentation for details.
[invoiceOnBehalfOf] :: Invoice -> Maybe InvoiceOnBehalfOf'Variants
-- | paid: Whether payment was successfully collected for this invoice. An
-- invoice can be paid (most commonly) with a charge or with credit from
-- the customer's account balance.
[invoicePaid] :: Invoice -> Bool
-- | payment_intent: The PaymentIntent associated with this invoice. The
-- PaymentIntent is generated when the invoice is finalized, and can then
-- be used to pay the invoice. Note that voiding an invoice will cancel
-- the PaymentIntent.
[invoicePaymentIntent] :: Invoice -> Maybe InvoicePaymentIntent'Variants
-- | payment_settings:
[invoicePaymentSettings] :: Invoice -> InvoicesPaymentSettings
-- | period_end: End of the usage period during which invoice items were
-- added to this invoice.
[invoicePeriodEnd] :: Invoice -> Int
-- | period_start: Start of the usage period during which invoice items
-- were added to this invoice.
[invoicePeriodStart] :: Invoice -> Int
-- | post_payment_credit_notes_amount: Total amount of all post-payment
-- credit notes issued for this invoice.
[invoicePostPaymentCreditNotesAmount] :: Invoice -> Int
-- | pre_payment_credit_notes_amount: Total amount of all pre-payment
-- credit notes issued for this invoice.
[invoicePrePaymentCreditNotesAmount] :: Invoice -> Int
-- | receipt_number: This is the transaction number that appears on email
-- receipts sent for this invoice.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[invoiceReceiptNumber] :: Invoice -> Maybe Text
-- | starting_balance: Starting customer balance before the invoice is
-- finalized. If the invoice has not been finalized yet, this will be the
-- current customer balance.
[invoiceStartingBalance] :: Invoice -> Int
-- | statement_descriptor: Extra information about an invoice for the
-- customer's credit card statement.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[invoiceStatementDescriptor] :: Invoice -> Maybe Text
-- | status: The status of the invoice, one of `draft`, `open`, `paid`,
-- `uncollectible`, or `void`. Learn more
[invoiceStatus] :: Invoice -> Maybe InvoiceStatus'
-- | status_transitions:
[invoiceStatusTransitions] :: Invoice -> InvoicesStatusTransitions
-- | subscription: The subscription that this invoice was prepared for, if
-- any.
[invoiceSubscription] :: Invoice -> Maybe InvoiceSubscription'Variants
-- | subscription_proration_date: Only set for upcoming invoices that
-- preview prorations. The time used to calculate prorations.
[invoiceSubscriptionProrationDate] :: Invoice -> Maybe Int
-- | subtotal: Total of all subscriptions, invoice items, and prorations on
-- the invoice before any invoice level discount or tax is applied. Item
-- discounts are already incorporated
[invoiceSubtotal] :: Invoice -> Int
-- | tax: The amount of tax on this invoice. This is the sum of all the tax
-- amounts on this invoice.
[invoiceTax] :: Invoice -> Maybe Int
-- | threshold_reason:
[invoiceThresholdReason] :: Invoice -> Maybe InvoiceThresholdReason
-- | total: Total after discounts and taxes.
[invoiceTotal] :: Invoice -> Int
-- | total_discount_amounts: The aggregate amounts calculated per discount
-- across all line items.
[invoiceTotalDiscountAmounts] :: Invoice -> Maybe [DiscountsResourceDiscountAmount]
-- | total_tax_amounts: The aggregate amounts calculated per tax rate for
-- all line items.
[invoiceTotalTaxAmounts] :: Invoice -> [InvoiceTaxAmount]
-- | transfer_data: The account (if any) the payment will be attributed to
-- for tax reporting, and where funds from the payment will be
-- transferred to for the invoice.
[invoiceTransferData] :: Invoice -> Maybe InvoiceTransferData'
-- | webhooks_delivered_at: Invoices are automatically paid or sent 1 hour
-- after webhooks are delivered, or until all webhook delivery attempts
-- have been exhausted. This field tracks the time when webhooks
-- for this invoice were successfully delivered. If the invoice had no
-- webhooks to deliver, this will be set while the invoice is being
-- created.
[invoiceWebhooksDeliveredAt] :: Invoice -> Maybe Int
-- | Create a new Invoice with all required fields.
mkInvoice :: Int -> Int -> Int -> Int -> Bool -> AutomaticTax -> Int -> Text -> [TaxRate] -> InvoiceLines' -> Bool -> Bool -> InvoicesPaymentSettings -> Int -> Int -> Int -> Int -> Int -> InvoicesStatusTransitions -> Int -> Int -> [InvoiceTaxAmount] -> Invoice
-- | Defines the oneOf schema located at
-- components.schemas.invoice.properties.account_tax_ids.items.anyOf
-- in the specification.
data InvoiceAccountTaxIds'Variants
InvoiceAccountTaxIds'Text :: Text -> InvoiceAccountTaxIds'Variants
InvoiceAccountTaxIds'TaxId :: TaxId -> InvoiceAccountTaxIds'Variants
InvoiceAccountTaxIds'DeletedTaxId :: DeletedTaxId -> InvoiceAccountTaxIds'Variants
-- | Defines the enum schema located at
-- components.schemas.invoice.properties.billing_reason in the
-- specification.
--
-- Indicates the reason why the invoice was created. `subscription_cycle`
-- indicates an invoice created by a subscription advancing into a new
-- period. `subscription_create` indicates an invoice created due to
-- creating a subscription. `subscription_update` indicates an invoice
-- created due to updating a subscription. `subscription` is set for all
-- old invoices to indicate either a change to a subscription or a period
-- advancement. `manual` is set for all invoices unrelated to a
-- subscription (for example: created via the invoice editor). The
-- `upcoming` value is reserved for simulated invoices per the upcoming
-- invoice endpoint. `subscription_threshold` indicates an invoice
-- created due to a billing threshold being reached.
data InvoiceBillingReason'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
InvoiceBillingReason'Other :: Value -> InvoiceBillingReason'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
InvoiceBillingReason'Typed :: Text -> InvoiceBillingReason'
-- | Represents the JSON value
-- "automatic_pending_invoice_item_invoice"
InvoiceBillingReason'EnumAutomaticPendingInvoiceItemInvoice :: InvoiceBillingReason'
-- | Represents the JSON value "manual"
InvoiceBillingReason'EnumManual :: InvoiceBillingReason'
-- | Represents the JSON value "subscription"
InvoiceBillingReason'EnumSubscription :: InvoiceBillingReason'
-- | Represents the JSON value "subscription_create"
InvoiceBillingReason'EnumSubscriptionCreate :: InvoiceBillingReason'
-- | Represents the JSON value "subscription_cycle"
InvoiceBillingReason'EnumSubscriptionCycle :: InvoiceBillingReason'
-- | Represents the JSON value "subscription_threshold"
InvoiceBillingReason'EnumSubscriptionThreshold :: InvoiceBillingReason'
-- | Represents the JSON value "subscription_update"
InvoiceBillingReason'EnumSubscriptionUpdate :: InvoiceBillingReason'
-- | Represents the JSON value "upcoming"
InvoiceBillingReason'EnumUpcoming :: InvoiceBillingReason'
-- | Defines the oneOf schema located at
-- components.schemas.invoice.properties.charge.anyOf in the
-- specification.
--
-- ID of the latest charge generated for this invoice, if any.
data InvoiceCharge'Variants
InvoiceCharge'Text :: Text -> InvoiceCharge'Variants
InvoiceCharge'Charge :: Charge -> InvoiceCharge'Variants
-- | Defines the enum schema located at
-- components.schemas.invoice.properties.collection_method in
-- the specification.
--
-- Either `charge_automatically`, or `send_invoice`. When charging
-- automatically, Stripe will attempt to pay this invoice using the
-- default source attached to the customer. When sending an invoice,
-- Stripe will email this invoice to the customer with payment
-- instructions.
data InvoiceCollectionMethod'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
InvoiceCollectionMethod'Other :: Value -> InvoiceCollectionMethod'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
InvoiceCollectionMethod'Typed :: Text -> InvoiceCollectionMethod'
-- | Represents the JSON value "charge_automatically"
InvoiceCollectionMethod'EnumChargeAutomatically :: InvoiceCollectionMethod'
-- | Represents the JSON value "send_invoice"
InvoiceCollectionMethod'EnumSendInvoice :: InvoiceCollectionMethod'
-- | Defines the oneOf schema located at
-- components.schemas.invoice.properties.customer.anyOf in the
-- specification.
--
-- The ID of the customer who will be billed.
data InvoiceCustomer'Variants
InvoiceCustomer'Text :: Text -> InvoiceCustomer'Variants
InvoiceCustomer'Customer :: Customer -> InvoiceCustomer'Variants
InvoiceCustomer'DeletedCustomer :: DeletedCustomer -> InvoiceCustomer'Variants
-- | Defines the object schema located at
-- components.schemas.invoice.properties.customer_address.anyOf
-- in the specification.
--
-- The customer\'s address. Until the invoice is finalized, this field
-- will equal \`customer.address\`. Once the invoice is finalized, this
-- field will no longer be updated.
data InvoiceCustomerAddress'
InvoiceCustomerAddress' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> InvoiceCustomerAddress'
-- | city: City, district, suburb, town, or village.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[invoiceCustomerAddress'City] :: InvoiceCustomerAddress' -> Maybe Text
-- | country: Two-letter country code ([ISO 3166-1
-- alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[invoiceCustomerAddress'Country] :: InvoiceCustomerAddress' -> Maybe Text
-- | line1: Address line 1 (e.g., street, PO Box, or company name).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[invoiceCustomerAddress'Line1] :: InvoiceCustomerAddress' -> Maybe Text
-- | line2: Address line 2 (e.g., apartment, suite, unit, or building).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[invoiceCustomerAddress'Line2] :: InvoiceCustomerAddress' -> Maybe Text
-- | postal_code: ZIP or postal code.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[invoiceCustomerAddress'PostalCode] :: InvoiceCustomerAddress' -> Maybe Text
-- | state: State, county, province, or region.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[invoiceCustomerAddress'State] :: InvoiceCustomerAddress' -> Maybe Text
-- | Create a new InvoiceCustomerAddress' with all required fields.
mkInvoiceCustomerAddress' :: InvoiceCustomerAddress'
-- | Defines the object schema located at
-- components.schemas.invoice.properties.customer_shipping.anyOf
-- in the specification.
--
-- The customer\'s shipping information. Until the invoice is finalized,
-- this field will equal \`customer.shipping\`. Once the invoice is
-- finalized, this field will no longer be updated.
data InvoiceCustomerShipping'
InvoiceCustomerShipping' :: Maybe Address -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> InvoiceCustomerShipping'
-- | address:
[invoiceCustomerShipping'Address] :: InvoiceCustomerShipping' -> Maybe Address
-- | carrier: The delivery service that shipped a physical product, such as
-- Fedex, UPS, USPS, etc.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[invoiceCustomerShipping'Carrier] :: InvoiceCustomerShipping' -> Maybe Text
-- | name: Recipient name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[invoiceCustomerShipping'Name] :: InvoiceCustomerShipping' -> Maybe Text
-- | phone: Recipient phone (including extension).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[invoiceCustomerShipping'Phone] :: InvoiceCustomerShipping' -> Maybe Text
-- | tracking_number: The tracking number for a physical product, obtained
-- from the delivery service. If multiple tracking numbers were generated
-- for this purchase, please separate them with commas.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[invoiceCustomerShipping'TrackingNumber] :: InvoiceCustomerShipping' -> Maybe Text
-- | Create a new InvoiceCustomerShipping' with all required fields.
mkInvoiceCustomerShipping' :: InvoiceCustomerShipping'
-- | Defines the enum schema located at
-- components.schemas.invoice.properties.customer_tax_exempt in
-- the specification.
--
-- The customer's tax exempt status. Until the invoice is finalized, this
-- field will equal `customer.tax_exempt`. Once the invoice is finalized,
-- this field will no longer be updated.
data InvoiceCustomerTaxExempt'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
InvoiceCustomerTaxExempt'Other :: Value -> InvoiceCustomerTaxExempt'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
InvoiceCustomerTaxExempt'Typed :: Text -> InvoiceCustomerTaxExempt'
-- | Represents the JSON value "exempt"
InvoiceCustomerTaxExempt'EnumExempt :: InvoiceCustomerTaxExempt'
-- | Represents the JSON value "none"
InvoiceCustomerTaxExempt'EnumNone :: InvoiceCustomerTaxExempt'
-- | Represents the JSON value "reverse"
InvoiceCustomerTaxExempt'EnumReverse :: InvoiceCustomerTaxExempt'
-- | Defines the oneOf schema located at
-- components.schemas.invoice.properties.default_payment_method.anyOf
-- in the specification.
--
-- ID of the default payment method for the invoice. It must belong to
-- the customer associated with the invoice. If not set, defaults to the
-- subscription's default payment method, if any, or to the default
-- payment method in the customer's invoice settings.
data InvoiceDefaultPaymentMethod'Variants
InvoiceDefaultPaymentMethod'Text :: Text -> InvoiceDefaultPaymentMethod'Variants
InvoiceDefaultPaymentMethod'PaymentMethod :: PaymentMethod -> InvoiceDefaultPaymentMethod'Variants
-- | Defines the oneOf schema located at
-- components.schemas.invoice.properties.default_source.anyOf in
-- the specification.
--
-- ID of the default payment source for the invoice. It must belong to
-- the customer associated with the invoice and be in a chargeable state.
-- If not set, defaults to the subscription's default source, if any, or
-- to the customer's default source.
data InvoiceDefaultSource'Variants
InvoiceDefaultSource'Text :: Text -> InvoiceDefaultSource'Variants
InvoiceDefaultSource'AlipayAccount :: AlipayAccount -> InvoiceDefaultSource'Variants
InvoiceDefaultSource'BankAccount :: BankAccount -> InvoiceDefaultSource'Variants
InvoiceDefaultSource'BitcoinReceiver :: BitcoinReceiver -> InvoiceDefaultSource'Variants
InvoiceDefaultSource'Card :: Card -> InvoiceDefaultSource'Variants
InvoiceDefaultSource'Source :: Source -> InvoiceDefaultSource'Variants
-- | Defines the object schema located at
-- components.schemas.invoice.properties.discount.anyOf in the
-- specification.
--
-- Describes the current discount applied to this invoice, if there is
-- one. Not populated if there are multiple discounts.
data InvoiceDiscount'
InvoiceDiscount' :: Maybe Text -> Maybe Coupon -> Maybe InvoiceDiscount'Customer'Variants -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe InvoiceDiscount'Object' -> Maybe InvoiceDiscount'PromotionCode'Variants -> Maybe Int -> Maybe Text -> InvoiceDiscount'
-- | checkout_session: The Checkout session that this coupon is applied to,
-- if it is applied to a particular session in payment mode. Will not be
-- present for subscription mode.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[invoiceDiscount'CheckoutSession] :: InvoiceDiscount' -> Maybe Text
-- | coupon: A coupon contains information about a percent-off or
-- amount-off discount you might want to apply to a customer. Coupons may
-- be applied to invoices or orders. Coupons do not work
-- with conventional one-off charges.
[invoiceDiscount'Coupon] :: InvoiceDiscount' -> Maybe Coupon
-- | customer: The ID of the customer associated with this discount.
[invoiceDiscount'Customer] :: InvoiceDiscount' -> Maybe InvoiceDiscount'Customer'Variants
-- | end: If the coupon has a duration of `repeating`, the date that this
-- discount will end. If the coupon has a duration of `once` or
-- `forever`, this attribute will be null.
[invoiceDiscount'End] :: InvoiceDiscount' -> Maybe Int
-- | id: The ID of the discount object. Discounts cannot be fetched by ID.
-- Use `expand[]=discounts` in API calls to expand discount IDs in an
-- array.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[invoiceDiscount'Id] :: InvoiceDiscount' -> Maybe Text
-- | invoice: The invoice that the discount's coupon was applied to, if it
-- was applied directly to a particular invoice.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[invoiceDiscount'Invoice] :: InvoiceDiscount' -> Maybe Text
-- | invoice_item: The invoice item `id` (or invoice line item `id` for
-- invoice line items of type='subscription') that the discount's coupon
-- was applied to, if it was applied directly to a particular invoice
-- item or invoice line item.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[invoiceDiscount'InvoiceItem] :: InvoiceDiscount' -> Maybe Text
-- | object: String representing the object's type. Objects of the same
-- type share the same value.
[invoiceDiscount'Object] :: InvoiceDiscount' -> Maybe InvoiceDiscount'Object'
-- | promotion_code: The promotion code applied to create this discount.
[invoiceDiscount'PromotionCode] :: InvoiceDiscount' -> Maybe InvoiceDiscount'PromotionCode'Variants
-- | start: Date that the coupon was applied.
[invoiceDiscount'Start] :: InvoiceDiscount' -> Maybe Int
-- | subscription: The subscription that this coupon is applied to, if it
-- is applied to a particular subscription.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[invoiceDiscount'Subscription] :: InvoiceDiscount' -> Maybe Text
-- | Create a new InvoiceDiscount' with all required fields.
mkInvoiceDiscount' :: InvoiceDiscount'
-- | Defines the oneOf schema located at
-- components.schemas.invoice.properties.discount.anyOf.properties.customer.anyOf
-- in the specification.
--
-- The ID of the customer associated with this discount.
data InvoiceDiscount'Customer'Variants
InvoiceDiscount'Customer'Text :: Text -> InvoiceDiscount'Customer'Variants
InvoiceDiscount'Customer'Customer :: Customer -> InvoiceDiscount'Customer'Variants
InvoiceDiscount'Customer'DeletedCustomer :: DeletedCustomer -> InvoiceDiscount'Customer'Variants
-- | Defines the enum schema located at
-- components.schemas.invoice.properties.discount.anyOf.properties.object
-- in the specification.
--
-- String representing the object's type. Objects of the same type share
-- the same value.
data InvoiceDiscount'Object'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
InvoiceDiscount'Object'Other :: Value -> InvoiceDiscount'Object'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
InvoiceDiscount'Object'Typed :: Text -> InvoiceDiscount'Object'
-- | Represents the JSON value "discount"
InvoiceDiscount'Object'EnumDiscount :: InvoiceDiscount'Object'
-- | Defines the oneOf schema located at
-- components.schemas.invoice.properties.discount.anyOf.properties.promotion_code.anyOf
-- in the specification.
--
-- The promotion code applied to create this discount.
data InvoiceDiscount'PromotionCode'Variants
InvoiceDiscount'PromotionCode'Text :: Text -> InvoiceDiscount'PromotionCode'Variants
InvoiceDiscount'PromotionCode'PromotionCode :: PromotionCode -> InvoiceDiscount'PromotionCode'Variants
-- | Defines the oneOf schema located at
-- components.schemas.invoice.properties.discounts.items.anyOf
-- in the specification.
data InvoiceDiscounts'Variants
InvoiceDiscounts'Text :: Text -> InvoiceDiscounts'Variants
InvoiceDiscounts'Discount :: Discount -> InvoiceDiscounts'Variants
InvoiceDiscounts'DeletedDiscount :: DeletedDiscount -> InvoiceDiscounts'Variants
-- | Defines the object schema located at
-- components.schemas.invoice.properties.last_finalization_error.anyOf
-- in the specification.
--
-- The error encountered during the previous attempt to finalize the
-- invoice. This field is cleared when the invoice is successfully
-- finalized.
data InvoiceLastFinalizationError'
InvoiceLastFinalizationError' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe PaymentIntent -> Maybe PaymentMethod -> Maybe Text -> Maybe SetupIntent -> Maybe InvoiceLastFinalizationError'Source' -> Maybe InvoiceLastFinalizationError'Type' -> InvoiceLastFinalizationError'
-- | charge: For card errors, the ID of the failed charge.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[invoiceLastFinalizationError'Charge] :: InvoiceLastFinalizationError' -> Maybe Text
-- | code: For some errors that could be handled programmatically, a short
-- string indicating the error code reported.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[invoiceLastFinalizationError'Code] :: InvoiceLastFinalizationError' -> Maybe Text
-- | decline_code: For card errors resulting from a card issuer decline, a
-- short string indicating the card issuer's reason for the
-- decline if they provide one.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[invoiceLastFinalizationError'DeclineCode] :: InvoiceLastFinalizationError' -> Maybe Text
-- | doc_url: A URL to more information about the error code
-- reported.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[invoiceLastFinalizationError'DocUrl] :: InvoiceLastFinalizationError' -> Maybe Text
-- | message: A human-readable message providing more details about the
-- error. For card errors, these messages can be shown to your users.
--
-- Constraints:
--
--
-- - Maximum length of 40000
--
[invoiceLastFinalizationError'Message] :: InvoiceLastFinalizationError' -> Maybe Text
-- | param: If the error is parameter-specific, the parameter related to
-- the error. For example, you can use this to display a message near the
-- correct form field.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[invoiceLastFinalizationError'Param] :: InvoiceLastFinalizationError' -> Maybe Text
-- | payment_intent: A PaymentIntent guides you through the process of
-- collecting a payment from your customer. We recommend that you create
-- exactly one PaymentIntent for each order or customer session in your
-- system. You can reference the PaymentIntent later to see the history
-- of payment attempts for a particular session.
--
-- A PaymentIntent transitions through multiple statuses
-- throughout its lifetime as it interfaces with Stripe.js to perform
-- authentication flows and ultimately creates at most one successful
-- charge.
--
-- Related guide: Payment Intents API.
[invoiceLastFinalizationError'PaymentIntent] :: InvoiceLastFinalizationError' -> Maybe PaymentIntent
-- | payment_method: PaymentMethod objects represent your customer's
-- payment instruments. They can be used with PaymentIntents to
-- collect payments or saved to Customer objects to store instrument
-- details for future payments.
--
-- Related guides: Payment Methods and More Payment
-- Scenarios.
[invoiceLastFinalizationError'PaymentMethod] :: InvoiceLastFinalizationError' -> Maybe PaymentMethod
-- | payment_method_type: If the error is specific to the type of payment
-- method, the payment method type that had a problem. This field is only
-- populated for invoice-related errors.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[invoiceLastFinalizationError'PaymentMethodType] :: InvoiceLastFinalizationError' -> Maybe Text
-- | setup_intent: A SetupIntent guides you through the process of setting
-- up and saving a customer's payment credentials for future payments.
-- For example, you could use a SetupIntent to set up and save your
-- customer's card without immediately collecting a payment. Later, you
-- can use PaymentIntents to drive the payment flow.
--
-- Create a SetupIntent as soon as you're ready to collect your
-- customer's payment credentials. Do not maintain long-lived,
-- unconfirmed SetupIntents as they may no longer be valid. The
-- SetupIntent then transitions through multiple statuses as it
-- guides you through the setup process.
--
-- Successful SetupIntents result in payment credentials that are
-- optimized for future payments. For example, cardholders in certain
-- regions may need to be run through Strong Customer
-- Authentication at the time of payment method collection in order
-- to streamline later off-session payments. If the SetupIntent is
-- used with a Customer, upon success, it will automatically
-- attach the resulting payment method to that Customer. We recommend
-- using SetupIntents or setup_future_usage on PaymentIntents to
-- save payment methods in order to prevent saving invalid or unoptimized
-- payment methods.
--
-- By using SetupIntents, you ensure that your customers experience the
-- minimum set of required friction, even as regulations change over
-- time.
--
-- Related guide: Setup Intents API.
[invoiceLastFinalizationError'SetupIntent] :: InvoiceLastFinalizationError' -> Maybe SetupIntent
-- | source: The source object for errors returned on a request involving a
-- source.
[invoiceLastFinalizationError'Source] :: InvoiceLastFinalizationError' -> Maybe InvoiceLastFinalizationError'Source'
-- | type: The type of error returned. One of `api_connection_error`,
-- `api_error`, `authentication_error`, `card_error`,
-- `idempotency_error`, `invalid_request_error`, or `rate_limit_error`
[invoiceLastFinalizationError'Type] :: InvoiceLastFinalizationError' -> Maybe InvoiceLastFinalizationError'Type'
-- | Create a new InvoiceLastFinalizationError' with all required
-- fields.
mkInvoiceLastFinalizationError' :: InvoiceLastFinalizationError'
-- | Defines the object schema located at
-- components.schemas.invoice.properties.last_finalization_error.anyOf.properties.source.anyOf
-- in the specification.
--
-- The source object for errors returned on a request involving a source.
data InvoiceLastFinalizationError'Source'
InvoiceLastFinalizationError'Source' :: Maybe InvoiceLastFinalizationError'Source'Account'Variants -> Maybe Text -> Maybe Text -> Maybe SourceTypeAchCreditTransfer -> Maybe SourceTypeAchDebit -> Maybe SourceTypeAcssDebit -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe SourceTypeAlipay -> Maybe Int -> Maybe SourceTypeAuBecsDebit -> Maybe [InvoiceLastFinalizationError'Source'AvailablePayoutMethods'] -> Maybe SourceTypeBancontact -> Maybe Text -> Maybe Text -> Maybe SourceTypeCard -> Maybe SourceTypeCardPresent -> Maybe Text -> Maybe SourceCodeVerificationFlow -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe InvoiceLastFinalizationError'Source'Customer'Variants -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe SourceTypeEps -> Maybe Int -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe SourceTypeGiropay -> Maybe Text -> Maybe SourceTypeIdeal -> Maybe SourceTypeKlarna -> Maybe Text -> Maybe Bool -> Maybe Object -> Maybe SourceTypeMultibanco -> Maybe Text -> Maybe InvoiceLastFinalizationError'Source'Object' -> Maybe InvoiceLastFinalizationError'Source'Owner' -> Maybe SourceTypeP24 -> Maybe SourceReceiverFlow -> Maybe InvoiceLastFinalizationError'Source'Recipient'Variants -> Maybe SourceRedirectFlow -> Maybe Text -> Maybe SourceTypeSepaDebit -> Maybe SourceTypeSofort -> Maybe SourceOrder -> Maybe Text -> Maybe Text -> Maybe SourceTypeThreeDSecure -> Maybe Text -> Maybe InvoiceLastFinalizationError'Source'Type' -> Maybe Text -> Maybe SourceTypeWechat -> InvoiceLastFinalizationError'Source'
-- | account: The ID of the account that the bank account is associated
-- with.
[invoiceLastFinalizationError'Source'Account] :: InvoiceLastFinalizationError'Source' -> Maybe InvoiceLastFinalizationError'Source'Account'Variants
-- | account_holder_name: The name of the person or business that owns the
-- bank account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[invoiceLastFinalizationError'Source'AccountHolderName] :: InvoiceLastFinalizationError'Source' -> Maybe Text
-- | account_holder_type: The type of entity that holds the account. This
-- can be either `individual` or `company`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[invoiceLastFinalizationError'Source'AccountHolderType] :: InvoiceLastFinalizationError'Source' -> Maybe Text
-- | ach_credit_transfer
[invoiceLastFinalizationError'Source'AchCreditTransfer] :: InvoiceLastFinalizationError'Source' -> Maybe SourceTypeAchCreditTransfer
-- | ach_debit
[invoiceLastFinalizationError'Source'AchDebit] :: InvoiceLastFinalizationError'Source' -> Maybe SourceTypeAchDebit
-- | acss_debit
[invoiceLastFinalizationError'Source'AcssDebit] :: InvoiceLastFinalizationError'Source' -> Maybe SourceTypeAcssDebit
-- | address_city: City/District/Suburb/Town/Village.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[invoiceLastFinalizationError'Source'AddressCity] :: InvoiceLastFinalizationError'Source' -> Maybe Text
-- | address_country: Billing address country, if provided when creating
-- card.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[invoiceLastFinalizationError'Source'AddressCountry] :: InvoiceLastFinalizationError'Source' -> Maybe Text
-- | address_line1: Address line 1 (Street address/PO Box/Company name).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[invoiceLastFinalizationError'Source'AddressLine1] :: InvoiceLastFinalizationError'Source' -> Maybe Text
-- | address_line1_check: If `address_line1` was provided, results of the
-- check: `pass`, `fail`, `unavailable`, or `unchecked`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[invoiceLastFinalizationError'Source'AddressLine1Check] :: InvoiceLastFinalizationError'Source' -> Maybe Text
-- | address_line2: Address line 2 (Apartment/Suite/Unit/Building).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[invoiceLastFinalizationError'Source'AddressLine2] :: InvoiceLastFinalizationError'Source' -> Maybe Text
-- | address_state: State/County/Province/Region.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[invoiceLastFinalizationError'Source'AddressState] :: InvoiceLastFinalizationError'Source' -> Maybe Text
-- | address_zip: ZIP or postal code.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[invoiceLastFinalizationError'Source'AddressZip] :: InvoiceLastFinalizationError'Source' -> Maybe Text
-- | address_zip_check: If `address_zip` was provided, results of the
-- check: `pass`, `fail`, `unavailable`, or `unchecked`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[invoiceLastFinalizationError'Source'AddressZipCheck] :: InvoiceLastFinalizationError'Source' -> Maybe Text
-- | alipay
[invoiceLastFinalizationError'Source'Alipay] :: InvoiceLastFinalizationError'Source' -> Maybe SourceTypeAlipay
-- | amount: A positive integer in the smallest currency unit (that is, 100
-- cents for $1.00, or 1 for ¥1, Japanese Yen being a zero-decimal
-- currency) representing the total amount associated with the source.
-- This is the amount for which the source will be chargeable once ready.
-- Required for `single_use` sources.
[invoiceLastFinalizationError'Source'Amount] :: InvoiceLastFinalizationError'Source' -> Maybe Int
-- | au_becs_debit
[invoiceLastFinalizationError'Source'AuBecsDebit] :: InvoiceLastFinalizationError'Source' -> Maybe SourceTypeAuBecsDebit
-- | available_payout_methods: A set of available payout methods for this
-- bank account. Only values from this set should be passed as the
-- `method` when creating a payout.
[invoiceLastFinalizationError'Source'AvailablePayoutMethods] :: InvoiceLastFinalizationError'Source' -> Maybe [InvoiceLastFinalizationError'Source'AvailablePayoutMethods']
-- | bancontact
[invoiceLastFinalizationError'Source'Bancontact] :: InvoiceLastFinalizationError'Source' -> Maybe SourceTypeBancontact
-- | bank_name: Name of the bank associated with the routing number (e.g.,
-- `WELLS FARGO`).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[invoiceLastFinalizationError'Source'BankName] :: InvoiceLastFinalizationError'Source' -> Maybe Text
-- | brand: Card brand. Can be `American Express`, `Diners Club`,
-- `Discover`, `JCB`, `MasterCard`, `UnionPay`, `Visa`, or `Unknown`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[invoiceLastFinalizationError'Source'Brand] :: InvoiceLastFinalizationError'Source' -> Maybe Text
-- | card
[invoiceLastFinalizationError'Source'Card] :: InvoiceLastFinalizationError'Source' -> Maybe SourceTypeCard
-- | card_present
[invoiceLastFinalizationError'Source'CardPresent] :: InvoiceLastFinalizationError'Source' -> Maybe SourceTypeCardPresent
-- | client_secret: The client secret of the source. Used for client-side
-- retrieval using a publishable key.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[invoiceLastFinalizationError'Source'ClientSecret] :: InvoiceLastFinalizationError'Source' -> Maybe Text
-- | code_verification:
[invoiceLastFinalizationError'Source'CodeVerification] :: InvoiceLastFinalizationError'Source' -> Maybe SourceCodeVerificationFlow
-- | country: Two-letter ISO code representing the country the bank account
-- is located in.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[invoiceLastFinalizationError'Source'Country] :: InvoiceLastFinalizationError'Source' -> Maybe Text
-- | created: Time at which the object was created. Measured in seconds
-- since the Unix epoch.
[invoiceLastFinalizationError'Source'Created] :: InvoiceLastFinalizationError'Source' -> Maybe Int
-- | currency: Three-letter ISO code for the currency paid out to
-- the bank account.
[invoiceLastFinalizationError'Source'Currency] :: InvoiceLastFinalizationError'Source' -> Maybe Text
-- | customer: The ID of the customer that the bank account is associated
-- with.
[invoiceLastFinalizationError'Source'Customer] :: InvoiceLastFinalizationError'Source' -> Maybe InvoiceLastFinalizationError'Source'Customer'Variants
-- | cvc_check: If a CVC was provided, results of the check: `pass`,
-- `fail`, `unavailable`, or `unchecked`. A result of unchecked indicates
-- that CVC was provided but hasn't been checked yet. Checks are
-- typically performed when attaching a card to a Customer object, or
-- when creating a charge. For more details, see Check if a card is
-- valid without a charge.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[invoiceLastFinalizationError'Source'CvcCheck] :: InvoiceLastFinalizationError'Source' -> Maybe Text
-- | default_for_currency: Whether this bank account is the default
-- external account for its currency.
[invoiceLastFinalizationError'Source'DefaultForCurrency] :: InvoiceLastFinalizationError'Source' -> Maybe Bool
-- | dynamic_last4: (For tokenized numbers only.) The last four digits of
-- the device account number.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[invoiceLastFinalizationError'Source'DynamicLast4] :: InvoiceLastFinalizationError'Source' -> Maybe Text
-- | eps
[invoiceLastFinalizationError'Source'Eps] :: InvoiceLastFinalizationError'Source' -> Maybe SourceTypeEps
-- | exp_month: Two-digit number representing the card's expiration month.
[invoiceLastFinalizationError'Source'ExpMonth] :: InvoiceLastFinalizationError'Source' -> Maybe Int
-- | exp_year: Four-digit number representing the card's expiration year.
[invoiceLastFinalizationError'Source'ExpYear] :: InvoiceLastFinalizationError'Source' -> Maybe Int
-- | fingerprint: Uniquely identifies this particular bank account. You can
-- use this attribute to check whether two bank accounts are the same.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[invoiceLastFinalizationError'Source'Fingerprint] :: InvoiceLastFinalizationError'Source' -> Maybe Text
-- | flow: The authentication `flow` of the source. `flow` is one of
-- `redirect`, `receiver`, `code_verification`, `none`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[invoiceLastFinalizationError'Source'Flow] :: InvoiceLastFinalizationError'Source' -> Maybe Text
-- | funding: Card funding type. Can be `credit`, `debit`, `prepaid`, or
-- `unknown`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[invoiceLastFinalizationError'Source'Funding] :: InvoiceLastFinalizationError'Source' -> Maybe Text
-- | giropay
[invoiceLastFinalizationError'Source'Giropay] :: InvoiceLastFinalizationError'Source' -> Maybe SourceTypeGiropay
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[invoiceLastFinalizationError'Source'Id] :: InvoiceLastFinalizationError'Source' -> Maybe Text
-- | ideal
[invoiceLastFinalizationError'Source'Ideal] :: InvoiceLastFinalizationError'Source' -> Maybe SourceTypeIdeal
-- | klarna
[invoiceLastFinalizationError'Source'Klarna] :: InvoiceLastFinalizationError'Source' -> Maybe SourceTypeKlarna
-- | last4: The last four digits of the bank account number.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[invoiceLastFinalizationError'Source'Last4] :: InvoiceLastFinalizationError'Source' -> Maybe Text
-- | livemode: Has the value `true` if the object exists in live mode or
-- the value `false` if the object exists in test mode.
[invoiceLastFinalizationError'Source'Livemode] :: InvoiceLastFinalizationError'Source' -> Maybe Bool
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format.
[invoiceLastFinalizationError'Source'Metadata] :: InvoiceLastFinalizationError'Source' -> Maybe Object
-- | multibanco
[invoiceLastFinalizationError'Source'Multibanco] :: InvoiceLastFinalizationError'Source' -> Maybe SourceTypeMultibanco
-- | name: Cardholder name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[invoiceLastFinalizationError'Source'Name] :: InvoiceLastFinalizationError'Source' -> Maybe Text
-- | object: String representing the object's type. Objects of the same
-- type share the same value.
[invoiceLastFinalizationError'Source'Object] :: InvoiceLastFinalizationError'Source' -> Maybe InvoiceLastFinalizationError'Source'Object'
-- | owner: Information about the owner of the payment instrument that may
-- be used or required by particular source types.
[invoiceLastFinalizationError'Source'Owner] :: InvoiceLastFinalizationError'Source' -> Maybe InvoiceLastFinalizationError'Source'Owner'
-- | p24
[invoiceLastFinalizationError'Source'P24] :: InvoiceLastFinalizationError'Source' -> Maybe SourceTypeP24
-- | receiver:
[invoiceLastFinalizationError'Source'Receiver] :: InvoiceLastFinalizationError'Source' -> Maybe SourceReceiverFlow
-- | recipient: 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.
[invoiceLastFinalizationError'Source'Recipient] :: InvoiceLastFinalizationError'Source' -> Maybe InvoiceLastFinalizationError'Source'Recipient'Variants
-- | redirect:
[invoiceLastFinalizationError'Source'Redirect] :: InvoiceLastFinalizationError'Source' -> Maybe SourceRedirectFlow
-- | routing_number: The routing transit number for the bank account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[invoiceLastFinalizationError'Source'RoutingNumber] :: InvoiceLastFinalizationError'Source' -> Maybe Text
-- | sepa_debit
[invoiceLastFinalizationError'Source'SepaDebit] :: InvoiceLastFinalizationError'Source' -> Maybe SourceTypeSepaDebit
-- | sofort
[invoiceLastFinalizationError'Source'Sofort] :: InvoiceLastFinalizationError'Source' -> Maybe SourceTypeSofort
-- | source_order:
[invoiceLastFinalizationError'Source'SourceOrder] :: InvoiceLastFinalizationError'Source' -> Maybe SourceOrder
-- | statement_descriptor: Extra information about a source. This will
-- appear on your customer's statement every time you charge the source.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[invoiceLastFinalizationError'Source'StatementDescriptor] :: InvoiceLastFinalizationError'Source' -> Maybe Text
-- | status: For bank accounts, possible values are `new`, `validated`,
-- `verified`, `verification_failed`, or `errored`. A bank account that
-- hasn't had any activity or validation performed is `new`. If Stripe
-- can determine that the bank account exists, its status will be
-- `validated`. Note that there often isn’t enough information to know
-- (e.g., for smaller credit unions), and the validation is not always
-- run. If customer bank account verification has succeeded, the bank
-- account status will be `verified`. If the verification failed for any
-- reason, such as microdeposit failure, the status will be
-- `verification_failed`. If a transfer sent to this bank account fails,
-- we'll set the status to `errored` and will not continue to send
-- transfers until the bank details are updated.
--
-- For external accounts, possible values are `new` and `errored`.
-- Validations aren't run against external accounts because they're only
-- used for payouts. This means the other statuses don't apply. If a
-- transfer fails, the status is set to `errored` and transfers are
-- stopped until account details are updated.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[invoiceLastFinalizationError'Source'Status] :: InvoiceLastFinalizationError'Source' -> Maybe Text
-- | three_d_secure
[invoiceLastFinalizationError'Source'ThreeDSecure] :: InvoiceLastFinalizationError'Source' -> Maybe SourceTypeThreeDSecure
-- | tokenization_method: If the card number is tokenized, this is the
-- method that was used. Can be `android_pay` (includes Google Pay),
-- `apple_pay`, `masterpass`, `visa_checkout`, or null.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[invoiceLastFinalizationError'Source'TokenizationMethod] :: InvoiceLastFinalizationError'Source' -> Maybe Text
-- | type: The `type` of the source. The `type` is a payment method, one of
-- `ach_credit_transfer`, `ach_debit`, `alipay`, `bancontact`, `card`,
-- `card_present`, `eps`, `giropay`, `ideal`, `multibanco`, `klarna`,
-- `p24`, `sepa_debit`, `sofort`, `three_d_secure`, or `wechat`. An
-- additional hash is included on the source with a name matching this
-- value. It contains additional information specific to the payment
-- method used.
[invoiceLastFinalizationError'Source'Type] :: InvoiceLastFinalizationError'Source' -> Maybe InvoiceLastFinalizationError'Source'Type'
-- | usage: Either `reusable` or `single_use`. Whether this source should
-- be reusable or not. Some source types may or may not be reusable by
-- construction, while others may leave the option at creation. If an
-- incompatible value is passed, an error will be returned.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[invoiceLastFinalizationError'Source'Usage] :: InvoiceLastFinalizationError'Source' -> Maybe Text
-- | wechat
[invoiceLastFinalizationError'Source'Wechat] :: InvoiceLastFinalizationError'Source' -> Maybe SourceTypeWechat
-- | Create a new InvoiceLastFinalizationError'Source' with all
-- required fields.
mkInvoiceLastFinalizationError'Source' :: InvoiceLastFinalizationError'Source'
-- | Defines the oneOf schema located at
-- components.schemas.invoice.properties.last_finalization_error.anyOf.properties.source.anyOf.properties.account.anyOf
-- in the specification.
--
-- The ID of the account that the bank account is associated with.
data InvoiceLastFinalizationError'Source'Account'Variants
InvoiceLastFinalizationError'Source'Account'Text :: Text -> InvoiceLastFinalizationError'Source'Account'Variants
InvoiceLastFinalizationError'Source'Account'Account :: Account -> InvoiceLastFinalizationError'Source'Account'Variants
-- | Defines the enum schema located at
-- components.schemas.invoice.properties.last_finalization_error.anyOf.properties.source.anyOf.properties.available_payout_methods.items
-- in the specification.
data InvoiceLastFinalizationError'Source'AvailablePayoutMethods'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
InvoiceLastFinalizationError'Source'AvailablePayoutMethods'Other :: Value -> InvoiceLastFinalizationError'Source'AvailablePayoutMethods'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
InvoiceLastFinalizationError'Source'AvailablePayoutMethods'Typed :: Text -> InvoiceLastFinalizationError'Source'AvailablePayoutMethods'
-- | Represents the JSON value "instant"
InvoiceLastFinalizationError'Source'AvailablePayoutMethods'EnumInstant :: InvoiceLastFinalizationError'Source'AvailablePayoutMethods'
-- | Represents the JSON value "standard"
InvoiceLastFinalizationError'Source'AvailablePayoutMethods'EnumStandard :: InvoiceLastFinalizationError'Source'AvailablePayoutMethods'
-- | Defines the oneOf schema located at
-- components.schemas.invoice.properties.last_finalization_error.anyOf.properties.source.anyOf.properties.customer.anyOf
-- in the specification.
--
-- The ID of the customer that the bank account is associated with.
data InvoiceLastFinalizationError'Source'Customer'Variants
InvoiceLastFinalizationError'Source'Customer'Text :: Text -> InvoiceLastFinalizationError'Source'Customer'Variants
InvoiceLastFinalizationError'Source'Customer'Customer :: Customer -> InvoiceLastFinalizationError'Source'Customer'Variants
InvoiceLastFinalizationError'Source'Customer'DeletedCustomer :: DeletedCustomer -> InvoiceLastFinalizationError'Source'Customer'Variants
-- | Defines the enum schema located at
-- components.schemas.invoice.properties.last_finalization_error.anyOf.properties.source.anyOf.properties.object
-- in the specification.
--
-- String representing the object's type. Objects of the same type share
-- the same value.
data InvoiceLastFinalizationError'Source'Object'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
InvoiceLastFinalizationError'Source'Object'Other :: Value -> InvoiceLastFinalizationError'Source'Object'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
InvoiceLastFinalizationError'Source'Object'Typed :: Text -> InvoiceLastFinalizationError'Source'Object'
-- | Represents the JSON value "bank_account"
InvoiceLastFinalizationError'Source'Object'EnumBankAccount :: InvoiceLastFinalizationError'Source'Object'
-- | Defines the object schema located at
-- components.schemas.invoice.properties.last_finalization_error.anyOf.properties.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.
data InvoiceLastFinalizationError'Source'Owner'
InvoiceLastFinalizationError'Source'Owner' :: Maybe InvoiceLastFinalizationError'Source'Owner'Address' -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe InvoiceLastFinalizationError'Source'Owner'VerifiedAddress' -> Maybe Text -> Maybe Text -> Maybe Text -> InvoiceLastFinalizationError'Source'Owner'
-- | address: Owner's address.
[invoiceLastFinalizationError'Source'Owner'Address] :: InvoiceLastFinalizationError'Source'Owner' -> Maybe InvoiceLastFinalizationError'Source'Owner'Address'
-- | email: Owner's email address.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[invoiceLastFinalizationError'Source'Owner'Email] :: InvoiceLastFinalizationError'Source'Owner' -> Maybe Text
-- | name: Owner's full name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[invoiceLastFinalizationError'Source'Owner'Name] :: InvoiceLastFinalizationError'Source'Owner' -> Maybe Text
-- | phone: Owner's phone number (including extension).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[invoiceLastFinalizationError'Source'Owner'Phone] :: InvoiceLastFinalizationError'Source'Owner' -> Maybe Text
-- | verified_address: 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.
[invoiceLastFinalizationError'Source'Owner'VerifiedAddress] :: InvoiceLastFinalizationError'Source'Owner' -> Maybe InvoiceLastFinalizationError'Source'Owner'VerifiedAddress'
-- | verified_email: Verified owner's email 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.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[invoiceLastFinalizationError'Source'Owner'VerifiedEmail] :: InvoiceLastFinalizationError'Source'Owner' -> Maybe Text
-- | verified_name: Verified owner's full name. 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.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[invoiceLastFinalizationError'Source'Owner'VerifiedName] :: InvoiceLastFinalizationError'Source'Owner' -> Maybe Text
-- | verified_phone: Verified owner's phone number (including extension).
-- 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.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[invoiceLastFinalizationError'Source'Owner'VerifiedPhone] :: InvoiceLastFinalizationError'Source'Owner' -> Maybe Text
-- | Create a new InvoiceLastFinalizationError'Source'Owner' with
-- all required fields.
mkInvoiceLastFinalizationError'Source'Owner' :: InvoiceLastFinalizationError'Source'Owner'
-- | Defines the object schema located at
-- components.schemas.invoice.properties.last_finalization_error.anyOf.properties.source.anyOf.properties.owner.anyOf.properties.address.anyOf
-- in the specification.
--
-- Owner\'s address.
data InvoiceLastFinalizationError'Source'Owner'Address'
InvoiceLastFinalizationError'Source'Owner'Address' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> InvoiceLastFinalizationError'Source'Owner'Address'
-- | city: City, district, suburb, town, or village.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[invoiceLastFinalizationError'Source'Owner'Address'City] :: InvoiceLastFinalizationError'Source'Owner'Address' -> Maybe Text
-- | country: Two-letter country code ([ISO 3166-1
-- alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[invoiceLastFinalizationError'Source'Owner'Address'Country] :: InvoiceLastFinalizationError'Source'Owner'Address' -> Maybe Text
-- | line1: Address line 1 (e.g., street, PO Box, or company name).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[invoiceLastFinalizationError'Source'Owner'Address'Line1] :: InvoiceLastFinalizationError'Source'Owner'Address' -> Maybe Text
-- | line2: Address line 2 (e.g., apartment, suite, unit, or building).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[invoiceLastFinalizationError'Source'Owner'Address'Line2] :: InvoiceLastFinalizationError'Source'Owner'Address' -> Maybe Text
-- | postal_code: ZIP or postal code.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[invoiceLastFinalizationError'Source'Owner'Address'PostalCode] :: InvoiceLastFinalizationError'Source'Owner'Address' -> Maybe Text
-- | state: State, county, province, or region.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[invoiceLastFinalizationError'Source'Owner'Address'State] :: InvoiceLastFinalizationError'Source'Owner'Address' -> Maybe Text
-- | Create a new InvoiceLastFinalizationError'Source'Owner'Address'
-- with all required fields.
mkInvoiceLastFinalizationError'Source'Owner'Address' :: InvoiceLastFinalizationError'Source'Owner'Address'
-- | Defines the object schema located at
-- components.schemas.invoice.properties.last_finalization_error.anyOf.properties.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.
data InvoiceLastFinalizationError'Source'Owner'VerifiedAddress'
InvoiceLastFinalizationError'Source'Owner'VerifiedAddress' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> InvoiceLastFinalizationError'Source'Owner'VerifiedAddress'
-- | city: City, district, suburb, town, or village.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[invoiceLastFinalizationError'Source'Owner'VerifiedAddress'City] :: InvoiceLastFinalizationError'Source'Owner'VerifiedAddress' -> Maybe Text
-- | country: Two-letter country code ([ISO 3166-1
-- alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[invoiceLastFinalizationError'Source'Owner'VerifiedAddress'Country] :: InvoiceLastFinalizationError'Source'Owner'VerifiedAddress' -> Maybe Text
-- | line1: Address line 1 (e.g., street, PO Box, or company name).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[invoiceLastFinalizationError'Source'Owner'VerifiedAddress'Line1] :: InvoiceLastFinalizationError'Source'Owner'VerifiedAddress' -> Maybe Text
-- | line2: Address line 2 (e.g., apartment, suite, unit, or building).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[invoiceLastFinalizationError'Source'Owner'VerifiedAddress'Line2] :: InvoiceLastFinalizationError'Source'Owner'VerifiedAddress' -> Maybe Text
-- | postal_code: ZIP or postal code.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[invoiceLastFinalizationError'Source'Owner'VerifiedAddress'PostalCode] :: InvoiceLastFinalizationError'Source'Owner'VerifiedAddress' -> Maybe Text
-- | state: State, county, province, or region.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[invoiceLastFinalizationError'Source'Owner'VerifiedAddress'State] :: InvoiceLastFinalizationError'Source'Owner'VerifiedAddress' -> Maybe Text
-- | Create a new
-- InvoiceLastFinalizationError'Source'Owner'VerifiedAddress' with
-- all required fields.
mkInvoiceLastFinalizationError'Source'Owner'VerifiedAddress' :: InvoiceLastFinalizationError'Source'Owner'VerifiedAddress'
-- | Defines the oneOf schema located at
-- components.schemas.invoice.properties.last_finalization_error.anyOf.properties.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 InvoiceLastFinalizationError'Source'Recipient'Variants
InvoiceLastFinalizationError'Source'Recipient'Text :: Text -> InvoiceLastFinalizationError'Source'Recipient'Variants
InvoiceLastFinalizationError'Source'Recipient'Recipient :: Recipient -> InvoiceLastFinalizationError'Source'Recipient'Variants
-- | Defines the enum schema located at
-- components.schemas.invoice.properties.last_finalization_error.anyOf.properties.source.anyOf.properties.type
-- in the specification.
--
-- The `type` of the source. The `type` is a payment method, one of
-- `ach_credit_transfer`, `ach_debit`, `alipay`, `bancontact`, `card`,
-- `card_present`, `eps`, `giropay`, `ideal`, `multibanco`, `klarna`,
-- `p24`, `sepa_debit`, `sofort`, `three_d_secure`, or `wechat`. An
-- additional hash is included on the source with a name matching this
-- value. It contains additional information specific to the payment
-- method used.
data InvoiceLastFinalizationError'Source'Type'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
InvoiceLastFinalizationError'Source'Type'Other :: Value -> InvoiceLastFinalizationError'Source'Type'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
InvoiceLastFinalizationError'Source'Type'Typed :: Text -> InvoiceLastFinalizationError'Source'Type'
-- | Represents the JSON value "ach_credit_transfer"
InvoiceLastFinalizationError'Source'Type'EnumAchCreditTransfer :: InvoiceLastFinalizationError'Source'Type'
-- | Represents the JSON value "ach_debit"
InvoiceLastFinalizationError'Source'Type'EnumAchDebit :: InvoiceLastFinalizationError'Source'Type'
-- | Represents the JSON value "acss_debit"
InvoiceLastFinalizationError'Source'Type'EnumAcssDebit :: InvoiceLastFinalizationError'Source'Type'
-- | Represents the JSON value "alipay"
InvoiceLastFinalizationError'Source'Type'EnumAlipay :: InvoiceLastFinalizationError'Source'Type'
-- | Represents the JSON value "au_becs_debit"
InvoiceLastFinalizationError'Source'Type'EnumAuBecsDebit :: InvoiceLastFinalizationError'Source'Type'
-- | Represents the JSON value "bancontact"
InvoiceLastFinalizationError'Source'Type'EnumBancontact :: InvoiceLastFinalizationError'Source'Type'
-- | Represents the JSON value "card"
InvoiceLastFinalizationError'Source'Type'EnumCard :: InvoiceLastFinalizationError'Source'Type'
-- | Represents the JSON value "card_present"
InvoiceLastFinalizationError'Source'Type'EnumCardPresent :: InvoiceLastFinalizationError'Source'Type'
-- | Represents the JSON value "eps"
InvoiceLastFinalizationError'Source'Type'EnumEps :: InvoiceLastFinalizationError'Source'Type'
-- | Represents the JSON value "giropay"
InvoiceLastFinalizationError'Source'Type'EnumGiropay :: InvoiceLastFinalizationError'Source'Type'
-- | Represents the JSON value "ideal"
InvoiceLastFinalizationError'Source'Type'EnumIdeal :: InvoiceLastFinalizationError'Source'Type'
-- | Represents the JSON value "klarna"
InvoiceLastFinalizationError'Source'Type'EnumKlarna :: InvoiceLastFinalizationError'Source'Type'
-- | Represents the JSON value "multibanco"
InvoiceLastFinalizationError'Source'Type'EnumMultibanco :: InvoiceLastFinalizationError'Source'Type'
-- | Represents the JSON value "p24"
InvoiceLastFinalizationError'Source'Type'EnumP24 :: InvoiceLastFinalizationError'Source'Type'
-- | Represents the JSON value "sepa_debit"
InvoiceLastFinalizationError'Source'Type'EnumSepaDebit :: InvoiceLastFinalizationError'Source'Type'
-- | Represents the JSON value "sofort"
InvoiceLastFinalizationError'Source'Type'EnumSofort :: InvoiceLastFinalizationError'Source'Type'
-- | Represents the JSON value "three_d_secure"
InvoiceLastFinalizationError'Source'Type'EnumThreeDSecure :: InvoiceLastFinalizationError'Source'Type'
-- | Represents the JSON value "wechat"
InvoiceLastFinalizationError'Source'Type'EnumWechat :: InvoiceLastFinalizationError'Source'Type'
-- | Defines the enum schema located at
-- components.schemas.invoice.properties.last_finalization_error.anyOf.properties.type
-- in the specification.
--
-- The type of error returned. One of `api_connection_error`,
-- `api_error`, `authentication_error`, `card_error`,
-- `idempotency_error`, `invalid_request_error`, or `rate_limit_error`
data InvoiceLastFinalizationError'Type'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
InvoiceLastFinalizationError'Type'Other :: Value -> InvoiceLastFinalizationError'Type'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
InvoiceLastFinalizationError'Type'Typed :: Text -> InvoiceLastFinalizationError'Type'
-- | Represents the JSON value "api_connection_error"
InvoiceLastFinalizationError'Type'EnumApiConnectionError :: InvoiceLastFinalizationError'Type'
-- | Represents the JSON value "api_error"
InvoiceLastFinalizationError'Type'EnumApiError :: InvoiceLastFinalizationError'Type'
-- | Represents the JSON value "authentication_error"
InvoiceLastFinalizationError'Type'EnumAuthenticationError :: InvoiceLastFinalizationError'Type'
-- | Represents the JSON value "card_error"
InvoiceLastFinalizationError'Type'EnumCardError :: InvoiceLastFinalizationError'Type'
-- | Represents the JSON value "idempotency_error"
InvoiceLastFinalizationError'Type'EnumIdempotencyError :: InvoiceLastFinalizationError'Type'
-- | Represents the JSON value "invalid_request_error"
InvoiceLastFinalizationError'Type'EnumInvalidRequestError :: InvoiceLastFinalizationError'Type'
-- | Represents the JSON value "rate_limit_error"
InvoiceLastFinalizationError'Type'EnumRateLimitError :: InvoiceLastFinalizationError'Type'
-- | Defines the object schema located at
-- components.schemas.invoice.properties.lines in the
-- specification.
--
-- The individual line items that make up the invoice. `lines` is sorted
-- as follows: invoice items in reverse chronological order, followed by
-- the subscription, if any.
data InvoiceLines'
InvoiceLines' :: [LineItem] -> Bool -> Text -> InvoiceLines'
-- | data: Details about each object.
[invoiceLines'Data] :: InvoiceLines' -> [LineItem]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[invoiceLines'HasMore] :: InvoiceLines' -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[invoiceLines'Url] :: InvoiceLines' -> Text
-- | Create a new InvoiceLines' with all required fields.
mkInvoiceLines' :: [LineItem] -> Bool -> Text -> InvoiceLines'
-- | Defines the oneOf schema located at
-- components.schemas.invoice.properties.on_behalf_of.anyOf in
-- the specification.
--
-- The account (if any) for which the funds of the invoice payment are
-- intended. If set, the invoice will be presented with the branding and
-- support information of the specified account. See the Invoices with
-- Connect documentation for details.
data InvoiceOnBehalfOf'Variants
InvoiceOnBehalfOf'Text :: Text -> InvoiceOnBehalfOf'Variants
InvoiceOnBehalfOf'Account :: Account -> InvoiceOnBehalfOf'Variants
-- | Defines the oneOf schema located at
-- components.schemas.invoice.properties.payment_intent.anyOf in
-- the specification.
--
-- The PaymentIntent associated with this invoice. The PaymentIntent is
-- generated when the invoice is finalized, and can then be used to pay
-- the invoice. Note that voiding an invoice will cancel the
-- PaymentIntent.
data InvoicePaymentIntent'Variants
InvoicePaymentIntent'Text :: Text -> InvoicePaymentIntent'Variants
InvoicePaymentIntent'PaymentIntent :: PaymentIntent -> InvoicePaymentIntent'Variants
-- | Defines the enum schema located at
-- components.schemas.invoice.properties.status in the
-- specification.
--
-- The status of the invoice, one of `draft`, `open`, `paid`,
-- `uncollectible`, or `void`. Learn more
data InvoiceStatus'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
InvoiceStatus'Other :: Value -> InvoiceStatus'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
InvoiceStatus'Typed :: Text -> InvoiceStatus'
-- | Represents the JSON value "deleted"
InvoiceStatus'EnumDeleted :: InvoiceStatus'
-- | Represents the JSON value "draft"
InvoiceStatus'EnumDraft :: InvoiceStatus'
-- | Represents the JSON value "open"
InvoiceStatus'EnumOpen :: InvoiceStatus'
-- | Represents the JSON value "paid"
InvoiceStatus'EnumPaid :: InvoiceStatus'
-- | Represents the JSON value "uncollectible"
InvoiceStatus'EnumUncollectible :: InvoiceStatus'
-- | Represents the JSON value "void"
InvoiceStatus'EnumVoid :: InvoiceStatus'
-- | Defines the oneOf schema located at
-- components.schemas.invoice.properties.subscription.anyOf in
-- the specification.
--
-- The subscription that this invoice was prepared for, if any.
data InvoiceSubscription'Variants
InvoiceSubscription'Text :: Text -> InvoiceSubscription'Variants
InvoiceSubscription'Subscription :: Subscription -> InvoiceSubscription'Variants
-- | Defines the object schema located at
-- components.schemas.invoice.properties.transfer_data.anyOf in
-- the specification.
--
-- The account (if any) the payment will be attributed to for tax
-- reporting, and where funds from the payment will be transferred to for
-- the invoice.
data InvoiceTransferData'
InvoiceTransferData' :: Maybe Int -> Maybe InvoiceTransferData'Destination'Variants -> InvoiceTransferData'
-- | amount: The amount in %s that will be transferred to the destination
-- account when the invoice is paid. By default, the entire amount is
-- transferred to the destination.
[invoiceTransferData'Amount] :: InvoiceTransferData' -> Maybe Int
-- | destination: The account where funds from the payment will be
-- transferred to upon payment success.
[invoiceTransferData'Destination] :: InvoiceTransferData' -> Maybe InvoiceTransferData'Destination'Variants
-- | Create a new InvoiceTransferData' with all required fields.
mkInvoiceTransferData' :: InvoiceTransferData'
-- | Defines the oneOf schema located at
-- components.schemas.invoice.properties.transfer_data.anyOf.properties.destination.anyOf
-- in the specification.
--
-- The account where funds from the payment will be transferred to upon
-- payment success.
data InvoiceTransferData'Destination'Variants
InvoiceTransferData'Destination'Text :: Text -> InvoiceTransferData'Destination'Variants
InvoiceTransferData'Destination'Account :: Account -> InvoiceTransferData'Destination'Variants
instance GHC.Classes.Eq StripeAPI.Types.Invoice.InvoiceAccountTaxIds'Variants
instance GHC.Show.Show StripeAPI.Types.Invoice.InvoiceAccountTaxIds'Variants
instance GHC.Classes.Eq StripeAPI.Types.Invoice.InvoiceBillingReason'
instance GHC.Show.Show StripeAPI.Types.Invoice.InvoiceBillingReason'
instance GHC.Classes.Eq StripeAPI.Types.Invoice.InvoiceCharge'Variants
instance GHC.Show.Show StripeAPI.Types.Invoice.InvoiceCharge'Variants
instance GHC.Classes.Eq StripeAPI.Types.Invoice.InvoiceCollectionMethod'
instance GHC.Show.Show StripeAPI.Types.Invoice.InvoiceCollectionMethod'
instance GHC.Classes.Eq StripeAPI.Types.Invoice.InvoiceCustomer'Variants
instance GHC.Show.Show StripeAPI.Types.Invoice.InvoiceCustomer'Variants
instance GHC.Classes.Eq StripeAPI.Types.Invoice.InvoiceCustomerAddress'
instance GHC.Show.Show StripeAPI.Types.Invoice.InvoiceCustomerAddress'
instance GHC.Classes.Eq StripeAPI.Types.Invoice.InvoiceCustomerShipping'
instance GHC.Show.Show StripeAPI.Types.Invoice.InvoiceCustomerShipping'
instance GHC.Classes.Eq StripeAPI.Types.Invoice.InvoiceCustomerTaxExempt'
instance GHC.Show.Show StripeAPI.Types.Invoice.InvoiceCustomerTaxExempt'
instance GHC.Classes.Eq StripeAPI.Types.Invoice.InvoiceDefaultPaymentMethod'Variants
instance GHC.Show.Show StripeAPI.Types.Invoice.InvoiceDefaultPaymentMethod'Variants
instance GHC.Classes.Eq StripeAPI.Types.Invoice.InvoiceDefaultSource'Variants
instance GHC.Show.Show StripeAPI.Types.Invoice.InvoiceDefaultSource'Variants
instance GHC.Classes.Eq StripeAPI.Types.Invoice.InvoiceDiscount'Customer'Variants
instance GHC.Show.Show StripeAPI.Types.Invoice.InvoiceDiscount'Customer'Variants
instance GHC.Classes.Eq StripeAPI.Types.Invoice.InvoiceDiscount'Object'
instance GHC.Show.Show StripeAPI.Types.Invoice.InvoiceDiscount'Object'
instance GHC.Classes.Eq StripeAPI.Types.Invoice.InvoiceDiscount'PromotionCode'Variants
instance GHC.Show.Show StripeAPI.Types.Invoice.InvoiceDiscount'PromotionCode'Variants
instance GHC.Classes.Eq StripeAPI.Types.Invoice.InvoiceDiscount'
instance GHC.Show.Show StripeAPI.Types.Invoice.InvoiceDiscount'
instance GHC.Classes.Eq StripeAPI.Types.Invoice.InvoiceDiscounts'Variants
instance GHC.Show.Show StripeAPI.Types.Invoice.InvoiceDiscounts'Variants
instance GHC.Classes.Eq StripeAPI.Types.Invoice.InvoiceLastFinalizationError'Source'Account'Variants
instance GHC.Show.Show StripeAPI.Types.Invoice.InvoiceLastFinalizationError'Source'Account'Variants
instance GHC.Classes.Eq StripeAPI.Types.Invoice.InvoiceLastFinalizationError'Source'AvailablePayoutMethods'
instance GHC.Show.Show StripeAPI.Types.Invoice.InvoiceLastFinalizationError'Source'AvailablePayoutMethods'
instance GHC.Classes.Eq StripeAPI.Types.Invoice.InvoiceLastFinalizationError'Source'Customer'Variants
instance GHC.Show.Show StripeAPI.Types.Invoice.InvoiceLastFinalizationError'Source'Customer'Variants
instance GHC.Classes.Eq StripeAPI.Types.Invoice.InvoiceLastFinalizationError'Source'Object'
instance GHC.Show.Show StripeAPI.Types.Invoice.InvoiceLastFinalizationError'Source'Object'
instance GHC.Classes.Eq StripeAPI.Types.Invoice.InvoiceLastFinalizationError'Source'Owner'Address'
instance GHC.Show.Show StripeAPI.Types.Invoice.InvoiceLastFinalizationError'Source'Owner'Address'
instance GHC.Classes.Eq StripeAPI.Types.Invoice.InvoiceLastFinalizationError'Source'Owner'VerifiedAddress'
instance GHC.Show.Show StripeAPI.Types.Invoice.InvoiceLastFinalizationError'Source'Owner'VerifiedAddress'
instance GHC.Classes.Eq StripeAPI.Types.Invoice.InvoiceLastFinalizationError'Source'Owner'
instance GHC.Show.Show StripeAPI.Types.Invoice.InvoiceLastFinalizationError'Source'Owner'
instance GHC.Classes.Eq StripeAPI.Types.Invoice.InvoiceLastFinalizationError'Source'Recipient'Variants
instance GHC.Show.Show StripeAPI.Types.Invoice.InvoiceLastFinalizationError'Source'Recipient'Variants
instance GHC.Classes.Eq StripeAPI.Types.Invoice.InvoiceLastFinalizationError'Source'Type'
instance GHC.Show.Show StripeAPI.Types.Invoice.InvoiceLastFinalizationError'Source'Type'
instance GHC.Classes.Eq StripeAPI.Types.Invoice.InvoiceLastFinalizationError'Source'
instance GHC.Show.Show StripeAPI.Types.Invoice.InvoiceLastFinalizationError'Source'
instance GHC.Classes.Eq StripeAPI.Types.Invoice.InvoiceLastFinalizationError'Type'
instance GHC.Show.Show StripeAPI.Types.Invoice.InvoiceLastFinalizationError'Type'
instance GHC.Classes.Eq StripeAPI.Types.Invoice.InvoiceLastFinalizationError'
instance GHC.Show.Show StripeAPI.Types.Invoice.InvoiceLastFinalizationError'
instance GHC.Classes.Eq StripeAPI.Types.Invoice.InvoiceLines'
instance GHC.Show.Show StripeAPI.Types.Invoice.InvoiceLines'
instance GHC.Classes.Eq StripeAPI.Types.Invoice.InvoiceOnBehalfOf'Variants
instance GHC.Show.Show StripeAPI.Types.Invoice.InvoiceOnBehalfOf'Variants
instance GHC.Classes.Eq StripeAPI.Types.Invoice.InvoicePaymentIntent'Variants
instance GHC.Show.Show StripeAPI.Types.Invoice.InvoicePaymentIntent'Variants
instance GHC.Classes.Eq StripeAPI.Types.Invoice.InvoiceStatus'
instance GHC.Show.Show StripeAPI.Types.Invoice.InvoiceStatus'
instance GHC.Classes.Eq StripeAPI.Types.Invoice.InvoiceSubscription'Variants
instance GHC.Show.Show StripeAPI.Types.Invoice.InvoiceSubscription'Variants
instance GHC.Classes.Eq StripeAPI.Types.Invoice.InvoiceTransferData'Destination'Variants
instance GHC.Show.Show StripeAPI.Types.Invoice.InvoiceTransferData'Destination'Variants
instance GHC.Classes.Eq StripeAPI.Types.Invoice.InvoiceTransferData'
instance GHC.Show.Show StripeAPI.Types.Invoice.InvoiceTransferData'
instance GHC.Classes.Eq StripeAPI.Types.Invoice.Invoice
instance GHC.Show.Show StripeAPI.Types.Invoice.Invoice
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Invoice.Invoice
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Invoice.Invoice
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Invoice.InvoiceTransferData'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Invoice.InvoiceTransferData'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Invoice.InvoiceTransferData'Destination'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Invoice.InvoiceTransferData'Destination'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Invoice.InvoiceSubscription'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Invoice.InvoiceSubscription'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Invoice.InvoiceStatus'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Invoice.InvoiceStatus'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Invoice.InvoicePaymentIntent'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Invoice.InvoicePaymentIntent'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Invoice.InvoiceOnBehalfOf'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Invoice.InvoiceOnBehalfOf'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Invoice.InvoiceLines'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Invoice.InvoiceLines'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Invoice.InvoiceLastFinalizationError'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Invoice.InvoiceLastFinalizationError'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Invoice.InvoiceLastFinalizationError'Type'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Invoice.InvoiceLastFinalizationError'Type'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Invoice.InvoiceLastFinalizationError'Source'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Invoice.InvoiceLastFinalizationError'Source'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Invoice.InvoiceLastFinalizationError'Source'Type'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Invoice.InvoiceLastFinalizationError'Source'Type'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Invoice.InvoiceLastFinalizationError'Source'Recipient'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Invoice.InvoiceLastFinalizationError'Source'Recipient'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Invoice.InvoiceLastFinalizationError'Source'Owner'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Invoice.InvoiceLastFinalizationError'Source'Owner'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Invoice.InvoiceLastFinalizationError'Source'Owner'VerifiedAddress'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Invoice.InvoiceLastFinalizationError'Source'Owner'VerifiedAddress'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Invoice.InvoiceLastFinalizationError'Source'Owner'Address'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Invoice.InvoiceLastFinalizationError'Source'Owner'Address'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Invoice.InvoiceLastFinalizationError'Source'Object'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Invoice.InvoiceLastFinalizationError'Source'Object'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Invoice.InvoiceLastFinalizationError'Source'Customer'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Invoice.InvoiceLastFinalizationError'Source'Customer'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Invoice.InvoiceLastFinalizationError'Source'AvailablePayoutMethods'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Invoice.InvoiceLastFinalizationError'Source'AvailablePayoutMethods'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Invoice.InvoiceLastFinalizationError'Source'Account'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Invoice.InvoiceLastFinalizationError'Source'Account'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Invoice.InvoiceDiscounts'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Invoice.InvoiceDiscounts'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Invoice.InvoiceDiscount'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Invoice.InvoiceDiscount'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Invoice.InvoiceDiscount'PromotionCode'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Invoice.InvoiceDiscount'PromotionCode'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Invoice.InvoiceDiscount'Object'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Invoice.InvoiceDiscount'Object'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Invoice.InvoiceDiscount'Customer'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Invoice.InvoiceDiscount'Customer'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Invoice.InvoiceDefaultSource'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Invoice.InvoiceDefaultSource'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Invoice.InvoiceDefaultPaymentMethod'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Invoice.InvoiceDefaultPaymentMethod'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Invoice.InvoiceCustomerTaxExempt'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Invoice.InvoiceCustomerTaxExempt'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Invoice.InvoiceCustomerShipping'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Invoice.InvoiceCustomerShipping'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Invoice.InvoiceCustomerAddress'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Invoice.InvoiceCustomerAddress'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Invoice.InvoiceCustomer'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Invoice.InvoiceCustomer'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Invoice.InvoiceCollectionMethod'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Invoice.InvoiceCollectionMethod'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Invoice.InvoiceCharge'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Invoice.InvoiceCharge'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Invoice.InvoiceBillingReason'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Invoice.InvoiceBillingReason'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Invoice.InvoiceAccountTaxIds'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Invoice.InvoiceAccountTaxIds'Variants
-- | Contains the types generated from the schema CreditNoteTaxAmount
module StripeAPI.Types.CreditNoteTaxAmount
-- | Defines the object schema located at
-- components.schemas.credit_note_tax_amount in the
-- specification.
data CreditNoteTaxAmount
CreditNoteTaxAmount :: Int -> Bool -> CreditNoteTaxAmountTaxRate'Variants -> CreditNoteTaxAmount
-- | amount: The amount, in %s, of the tax.
[creditNoteTaxAmountAmount] :: CreditNoteTaxAmount -> Int
-- | inclusive: Whether this tax amount is inclusive or exclusive.
[creditNoteTaxAmountInclusive] :: CreditNoteTaxAmount -> Bool
-- | tax_rate: The tax rate that was applied to get this tax amount.
[creditNoteTaxAmountTaxRate] :: CreditNoteTaxAmount -> CreditNoteTaxAmountTaxRate'Variants
-- | Create a new CreditNoteTaxAmount with all required fields.
mkCreditNoteTaxAmount :: Int -> Bool -> CreditNoteTaxAmountTaxRate'Variants -> CreditNoteTaxAmount
-- | Defines the oneOf schema located at
-- components.schemas.credit_note_tax_amount.properties.tax_rate.anyOf
-- in the specification.
--
-- The tax rate that was applied to get this tax amount.
data CreditNoteTaxAmountTaxRate'Variants
CreditNoteTaxAmountTaxRate'Text :: Text -> CreditNoteTaxAmountTaxRate'Variants
CreditNoteTaxAmountTaxRate'TaxRate :: TaxRate -> CreditNoteTaxAmountTaxRate'Variants
instance GHC.Classes.Eq StripeAPI.Types.CreditNoteTaxAmount.CreditNoteTaxAmountTaxRate'Variants
instance GHC.Show.Show StripeAPI.Types.CreditNoteTaxAmount.CreditNoteTaxAmountTaxRate'Variants
instance GHC.Classes.Eq StripeAPI.Types.CreditNoteTaxAmount.CreditNoteTaxAmount
instance GHC.Show.Show StripeAPI.Types.CreditNoteTaxAmount.CreditNoteTaxAmount
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.CreditNoteTaxAmount.CreditNoteTaxAmount
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.CreditNoteTaxAmount.CreditNoteTaxAmount
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.CreditNoteTaxAmount.CreditNoteTaxAmountTaxRate'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.CreditNoteTaxAmount.CreditNoteTaxAmountTaxRate'Variants
-- | Contains the types generated from the schema CreditNoteLineItem
module StripeAPI.Types.CreditNoteLineItem
-- | Defines the object schema located at
-- components.schemas.credit_note_line_item in the
-- specification.
data CreditNoteLineItem
CreditNoteLineItem :: Int -> Maybe Text -> Int -> [DiscountsResourceDiscountAmount] -> Text -> Maybe Text -> Bool -> Maybe Int -> [CreditNoteTaxAmount] -> [TaxRate] -> CreditNoteLineItemType' -> Maybe Int -> Maybe Text -> CreditNoteLineItem
-- | amount: The integer amount in %s representing the gross amount being
-- credited for this line item, excluding (exclusive) tax and discounts.
[creditNoteLineItemAmount] :: CreditNoteLineItem -> Int
-- | description: Description of the item being credited.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[creditNoteLineItemDescription] :: CreditNoteLineItem -> Maybe Text
-- | discount_amount: The integer amount in %s representing the discount
-- being credited for this line item.
[creditNoteLineItemDiscountAmount] :: CreditNoteLineItem -> Int
-- | discount_amounts: The amount of discount calculated per discount for
-- this line item
[creditNoteLineItemDiscountAmounts] :: CreditNoteLineItem -> [DiscountsResourceDiscountAmount]
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[creditNoteLineItemId] :: CreditNoteLineItem -> Text
-- | invoice_line_item: ID of the invoice line item being credited
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[creditNoteLineItemInvoiceLineItem] :: CreditNoteLineItem -> Maybe Text
-- | livemode: Has the value `true` if the object exists in live mode or
-- the value `false` if the object exists in test mode.
[creditNoteLineItemLivemode] :: CreditNoteLineItem -> Bool
-- | quantity: The number of units of product being credited.
[creditNoteLineItemQuantity] :: CreditNoteLineItem -> Maybe Int
-- | tax_amounts: The amount of tax calculated per tax rate for this line
-- item
[creditNoteLineItemTaxAmounts] :: CreditNoteLineItem -> [CreditNoteTaxAmount]
-- | tax_rates: The tax rates which apply to the line item.
[creditNoteLineItemTaxRates] :: CreditNoteLineItem -> [TaxRate]
-- | type: The type of the credit note line item, one of
-- `invoice_line_item` or `custom_line_item`. When the type is
-- `invoice_line_item` there is an additional `invoice_line_item`
-- property on the resource the value of which is the id of the credited
-- line item on the invoice.
[creditNoteLineItemType] :: CreditNoteLineItem -> CreditNoteLineItemType'
-- | unit_amount: The cost of each unit of product being credited.
[creditNoteLineItemUnitAmount] :: CreditNoteLineItem -> Maybe Int
-- | unit_amount_decimal: Same as `unit_amount`, but contains a decimal
-- value with at most 12 decimal places.
[creditNoteLineItemUnitAmountDecimal] :: CreditNoteLineItem -> Maybe Text
-- | Create a new CreditNoteLineItem with all required fields.
mkCreditNoteLineItem :: Int -> Int -> [DiscountsResourceDiscountAmount] -> Text -> Bool -> [CreditNoteTaxAmount] -> [TaxRate] -> CreditNoteLineItemType' -> CreditNoteLineItem
-- | Defines the enum schema located at
-- components.schemas.credit_note_line_item.properties.type in
-- the specification.
--
-- The type of the credit note line item, one of `invoice_line_item` or
-- `custom_line_item`. When the type is `invoice_line_item` there is an
-- additional `invoice_line_item` property on the resource the value of
-- which is the id of the credited line item on the invoice.
data CreditNoteLineItemType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
CreditNoteLineItemType'Other :: Value -> CreditNoteLineItemType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
CreditNoteLineItemType'Typed :: Text -> CreditNoteLineItemType'
-- | Represents the JSON value "custom_line_item"
CreditNoteLineItemType'EnumCustomLineItem :: CreditNoteLineItemType'
-- | Represents the JSON value "invoice_line_item"
CreditNoteLineItemType'EnumInvoiceLineItem :: CreditNoteLineItemType'
instance GHC.Classes.Eq StripeAPI.Types.CreditNoteLineItem.CreditNoteLineItemType'
instance GHC.Show.Show StripeAPI.Types.CreditNoteLineItem.CreditNoteLineItemType'
instance GHC.Classes.Eq StripeAPI.Types.CreditNoteLineItem.CreditNoteLineItem
instance GHC.Show.Show StripeAPI.Types.CreditNoteLineItem.CreditNoteLineItem
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.CreditNoteLineItem.CreditNoteLineItem
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.CreditNoteLineItem.CreditNoteLineItem
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.CreditNoteLineItem.CreditNoteLineItemType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.CreditNoteLineItem.CreditNoteLineItemType'
-- | Contains the types generated from the schema TaxRate
module StripeAPI.Types.TaxRate
-- | Defines the object schema located at
-- components.schemas.tax_rate in the specification.
--
-- Tax rates can be applied to invoices, subscriptions and
-- Checkout Sessions to collect tax.
--
-- Related guide: Tax Rates.
data TaxRate
TaxRate :: Bool -> Maybe Text -> Int -> Maybe Text -> Text -> Text -> Bool -> Maybe Text -> Bool -> Maybe Object -> Double -> Maybe Text -> Maybe TaxRateTaxType' -> TaxRate
-- | active: Defaults to `true`. When set to `false`, this tax rate cannot
-- be used with new applications or Checkout Sessions, but will still
-- work for subscriptions and invoices that already have it set.
[taxRateActive] :: TaxRate -> Bool
-- | country: Two-letter country code ([ISO 3166-1
-- alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[taxRateCountry] :: TaxRate -> Maybe Text
-- | created: Time at which the object was created. Measured in seconds
-- since the Unix epoch.
[taxRateCreated] :: TaxRate -> Int
-- | description: An arbitrary string attached to the tax rate for your
-- internal use only. It will not be visible to your customers.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[taxRateDescription] :: TaxRate -> Maybe Text
-- | display_name: The display name of the tax rates as it will appear to
-- your customer on their receipt email, PDF, and the hosted invoice
-- page.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[taxRateDisplayName] :: TaxRate -> Text
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[taxRateId] :: TaxRate -> Text
-- | inclusive: This specifies if the tax rate is inclusive or exclusive.
[taxRateInclusive] :: TaxRate -> Bool
-- | jurisdiction: The jurisdiction for the tax rate. You can use this
-- label field for tax reporting purposes. It also appears on your
-- customer’s invoice.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[taxRateJurisdiction] :: TaxRate -> Maybe Text
-- | livemode: Has the value `true` if the object exists in live mode or
-- the value `false` if the object exists in test mode.
[taxRateLivemode] :: TaxRate -> Bool
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format.
[taxRateMetadata] :: TaxRate -> Maybe Object
-- | percentage: This represents the tax rate percent out of 100.
[taxRatePercentage] :: TaxRate -> Double
-- | state: ISO 3166-2 subdivision code, without country prefix. For
-- example, "NY" for New York, United States.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[taxRateState] :: TaxRate -> Maybe Text
-- | tax_type: The high-level tax type, such as `vat` or `sales_tax`.
[taxRateTaxType] :: TaxRate -> Maybe TaxRateTaxType'
-- | Create a new TaxRate with all required fields.
mkTaxRate :: Bool -> Int -> Text -> Text -> Bool -> Bool -> Double -> TaxRate
-- | Defines the enum schema located at
-- components.schemas.tax_rate.properties.tax_type in the
-- specification.
--
-- The high-level tax type, such as `vat` or `sales_tax`.
data TaxRateTaxType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
TaxRateTaxType'Other :: Value -> TaxRateTaxType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
TaxRateTaxType'Typed :: Text -> TaxRateTaxType'
-- | Represents the JSON value "gst"
TaxRateTaxType'EnumGst :: TaxRateTaxType'
-- | Represents the JSON value "hst"
TaxRateTaxType'EnumHst :: TaxRateTaxType'
-- | Represents the JSON value "pst"
TaxRateTaxType'EnumPst :: TaxRateTaxType'
-- | Represents the JSON value "qst"
TaxRateTaxType'EnumQst :: TaxRateTaxType'
-- | Represents the JSON value "sales_tax"
TaxRateTaxType'EnumSalesTax :: TaxRateTaxType'
-- | Represents the JSON value "vat"
TaxRateTaxType'EnumVat :: TaxRateTaxType'
instance GHC.Classes.Eq StripeAPI.Types.TaxRate.TaxRateTaxType'
instance GHC.Show.Show StripeAPI.Types.TaxRate.TaxRateTaxType'
instance GHC.Classes.Eq StripeAPI.Types.TaxRate.TaxRate
instance GHC.Show.Show StripeAPI.Types.TaxRate.TaxRate
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.TaxRate.TaxRate
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.TaxRate.TaxRate
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.TaxRate.TaxRateTaxType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.TaxRate.TaxRateTaxType'
-- | Contains the types generated from the schema Terminal_ConnectionToken
module StripeAPI.Types.Terminal_ConnectionToken
-- | Defines the object schema located at
-- components.schemas.terminal.connection_token in the
-- specification.
--
-- A Connection Token is used by the Stripe Terminal SDK to connect to a
-- reader.
--
-- Related guide: Fleet Management.
data Terminal'connectionToken
Terminal'connectionToken :: Maybe Text -> Text -> Terminal'connectionToken
-- | location: The id of the location that this connection token is scoped
-- to. Note that location scoping only applies to internet-connected
-- readers. For more details, see the docs on scoping connection
-- tokens.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[terminal'connectionTokenLocation] :: Terminal'connectionToken -> Maybe Text
-- | secret: Your application should pass this token to the Stripe Terminal
-- SDK.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[terminal'connectionTokenSecret] :: Terminal'connectionToken -> Text
-- | Create a new Terminal'connectionToken with all required fields.
mkTerminal'connectionToken :: Text -> Terminal'connectionToken
instance GHC.Classes.Eq StripeAPI.Types.Terminal_ConnectionToken.Terminal'connectionToken
instance GHC.Show.Show StripeAPI.Types.Terminal_ConnectionToken.Terminal'connectionToken
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Terminal_ConnectionToken.Terminal'connectionToken
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Terminal_ConnectionToken.Terminal'connectionToken
-- | Contains the types generated from the schema Terminal_Location
module StripeAPI.Types.Terminal_Location
-- | Defines the object schema located at
-- components.schemas.terminal.location in the specification.
--
-- A Location represents a grouping of readers.
--
-- Related guide: Fleet Management.
data Terminal'location
Terminal'location :: Address -> Text -> Text -> Bool -> Object -> Terminal'location
-- | address:
[terminal'locationAddress] :: Terminal'location -> Address
-- | display_name: The display name of the location.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[terminal'locationDisplayName] :: Terminal'location -> Text
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[terminal'locationId] :: Terminal'location -> Text
-- | livemode: Has the value `true` if the object exists in live mode or
-- the value `false` if the object exists in test mode.
[terminal'locationLivemode] :: Terminal'location -> Bool
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format.
[terminal'locationMetadata] :: Terminal'location -> Object
-- | Create a new Terminal'location with all required fields.
mkTerminal'location :: Address -> Text -> Text -> Bool -> Object -> Terminal'location
instance GHC.Classes.Eq StripeAPI.Types.Terminal_Location.Terminal'location
instance GHC.Show.Show StripeAPI.Types.Terminal_Location.Terminal'location
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Terminal_Location.Terminal'location
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Terminal_Location.Terminal'location
-- | Contains the types generated from the schema Terminal_Reader
module StripeAPI.Types.Terminal_Reader
-- | Defines the object schema located at
-- components.schemas.terminal.reader in the specification.
--
-- A Reader represents a physical device for accepting payment details.
--
-- Related guide: Connecting to a Reader.
data Terminal'reader
Terminal'reader :: Maybe Text -> Terminal'readerDeviceType' -> Text -> Maybe Text -> Text -> Bool -> Maybe Terminal'readerLocation'Variants -> Object -> Text -> Maybe Text -> Terminal'reader
-- | device_sw_version: The current software version of the reader.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[terminal'readerDeviceSwVersion] :: Terminal'reader -> Maybe Text
-- | device_type: Type of reader, one of `bbpos_chipper2x` or
-- `verifone_P400`.
[terminal'readerDeviceType] :: Terminal'reader -> Terminal'readerDeviceType'
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[terminal'readerId] :: Terminal'reader -> Text
-- | ip_address: The local IP address of the reader.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[terminal'readerIpAddress] :: Terminal'reader -> Maybe Text
-- | label: Custom label given to the reader for easier identification.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[terminal'readerLabel] :: Terminal'reader -> Text
-- | livemode: Has the value `true` if the object exists in live mode or
-- the value `false` if the object exists in test mode.
[terminal'readerLivemode] :: Terminal'reader -> Bool
-- | location: The location identifier of the reader.
[terminal'readerLocation] :: Terminal'reader -> Maybe Terminal'readerLocation'Variants
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format.
[terminal'readerMetadata] :: Terminal'reader -> Object
-- | serial_number: Serial number of the reader.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[terminal'readerSerialNumber] :: Terminal'reader -> Text
-- | status: The networking status of the reader.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[terminal'readerStatus] :: Terminal'reader -> Maybe Text
-- | Create a new Terminal'reader with all required fields.
mkTerminal'reader :: Terminal'readerDeviceType' -> Text -> Text -> Bool -> Object -> Text -> Terminal'reader
-- | Defines the enum schema located at
-- components.schemas.terminal.reader.properties.device_type in
-- the specification.
--
-- Type of reader, one of `bbpos_chipper2x` or `verifone_P400`.
data Terminal'readerDeviceType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
Terminal'readerDeviceType'Other :: Value -> Terminal'readerDeviceType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
Terminal'readerDeviceType'Typed :: Text -> Terminal'readerDeviceType'
-- | Represents the JSON value "bbpos_chipper2x"
Terminal'readerDeviceType'EnumBbposChipper2x :: Terminal'readerDeviceType'
-- | Represents the JSON value "verifone_P400"
Terminal'readerDeviceType'EnumVerifoneP400 :: Terminal'readerDeviceType'
-- | Defines the oneOf schema located at
-- components.schemas.terminal.reader.properties.location.anyOf
-- in the specification.
--
-- The location identifier of the reader.
data Terminal'readerLocation'Variants
Terminal'readerLocation'Text :: Text -> Terminal'readerLocation'Variants
Terminal'readerLocation'Terminal'location :: Terminal'location -> Terminal'readerLocation'Variants
instance GHC.Classes.Eq StripeAPI.Types.Terminal_Reader.Terminal'readerDeviceType'
instance GHC.Show.Show StripeAPI.Types.Terminal_Reader.Terminal'readerDeviceType'
instance GHC.Classes.Eq StripeAPI.Types.Terminal_Reader.Terminal'readerLocation'Variants
instance GHC.Show.Show StripeAPI.Types.Terminal_Reader.Terminal'readerLocation'Variants
instance GHC.Classes.Eq StripeAPI.Types.Terminal_Reader.Terminal'reader
instance GHC.Show.Show StripeAPI.Types.Terminal_Reader.Terminal'reader
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Terminal_Reader.Terminal'reader
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Terminal_Reader.Terminal'reader
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Terminal_Reader.Terminal'readerLocation'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Terminal_Reader.Terminal'readerLocation'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Terminal_Reader.Terminal'readerDeviceType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Terminal_Reader.Terminal'readerDeviceType'
-- | Contains the types generated from the schema ThreeDSecure
module StripeAPI.Types.ThreeDSecure
-- | Defines the object schema located at
-- components.schemas.three_d_secure in the specification.
--
-- Cardholder authentication via 3D Secure is initiated by creating a `3D
-- Secure` object. Once the object has been created, you can use it to
-- authenticate the cardholder and create a charge.
data ThreeDSecure
ThreeDSecure :: Int -> Bool -> Card -> Int -> Text -> Text -> Bool -> Maybe Text -> Text -> ThreeDSecure
-- | amount: Amount of the charge that you will create when authentication
-- completes.
[threeDSecureAmount] :: ThreeDSecure -> Int
-- | authenticated: True if the cardholder went through the authentication
-- flow and their bank indicated that authentication succeeded.
[threeDSecureAuthenticated] :: ThreeDSecure -> Bool
-- | card: You can store multiple cards on a customer in order to charge
-- the customer later. You can also store multiple debit cards on a
-- recipient in order to transfer to those cards later.
--
-- Related guide: Card Payments with Sources.
[threeDSecureCard] :: ThreeDSecure -> Card
-- | created: Time at which the object was created. Measured in seconds
-- since the Unix epoch.
[threeDSecureCreated] :: ThreeDSecure -> Int
-- | currency: Three-letter ISO currency code, in lowercase. Must be
-- a supported currency.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[threeDSecureCurrency] :: ThreeDSecure -> Text
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[threeDSecureId] :: ThreeDSecure -> Text
-- | livemode: Has the value `true` if the object exists in live mode or
-- the value `false` if the object exists in test mode.
[threeDSecureLivemode] :: ThreeDSecure -> Bool
-- | redirect_url: If present, this is the URL that you should send the
-- cardholder to for authentication. If you are going to use Stripe.js to
-- display the authentication page in an iframe, you should use the value
-- "_callback".
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[threeDSecureRedirectUrl] :: ThreeDSecure -> Maybe Text
-- | status: Possible values are `redirect_pending`, `succeeded`, or
-- `failed`. When the cardholder can be authenticated, the object starts
-- with status `redirect_pending`. When liability will be shifted to the
-- cardholder's bank (either because the cardholder was successfully
-- authenticated, or because the bank has not implemented 3D Secure, the
-- object wlil be in status `succeeded`. `failed` indicates that
-- authentication was attempted unsuccessfully.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[threeDSecureStatus] :: ThreeDSecure -> Text
-- | Create a new ThreeDSecure with all required fields.
mkThreeDSecure :: Int -> Bool -> Card -> Int -> Text -> Text -> Bool -> Text -> ThreeDSecure
instance GHC.Classes.Eq StripeAPI.Types.ThreeDSecure.ThreeDSecure
instance GHC.Show.Show StripeAPI.Types.ThreeDSecure.ThreeDSecure
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.ThreeDSecure.ThreeDSecure
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.ThreeDSecure.ThreeDSecure
-- | Contains the types generated from the schema
-- SetupAttemptPaymentMethodDetailsCard
module StripeAPI.Types.SetupAttemptPaymentMethodDetailsCard
-- | Defines the object schema located at
-- components.schemas.setup_attempt_payment_method_details_card
-- in the specification.
data SetupAttemptPaymentMethodDetailsCard
SetupAttemptPaymentMethodDetailsCard :: Maybe SetupAttemptPaymentMethodDetailsCardThreeDSecure' -> SetupAttemptPaymentMethodDetailsCard
-- | three_d_secure: Populated if this authorization used 3D Secure
-- authentication.
[setupAttemptPaymentMethodDetailsCardThreeDSecure] :: SetupAttemptPaymentMethodDetailsCard -> Maybe SetupAttemptPaymentMethodDetailsCardThreeDSecure'
-- | Create a new SetupAttemptPaymentMethodDetailsCard with all
-- required fields.
mkSetupAttemptPaymentMethodDetailsCard :: SetupAttemptPaymentMethodDetailsCard
-- | Defines the object schema located at
-- components.schemas.setup_attempt_payment_method_details_card.properties.three_d_secure.anyOf
-- in the specification.
--
-- Populated if this authorization used 3D Secure authentication.
data SetupAttemptPaymentMethodDetailsCardThreeDSecure'
SetupAttemptPaymentMethodDetailsCardThreeDSecure' :: Maybe SetupAttemptPaymentMethodDetailsCardThreeDSecure'AuthenticationFlow' -> Maybe SetupAttemptPaymentMethodDetailsCardThreeDSecure'Result' -> Maybe SetupAttemptPaymentMethodDetailsCardThreeDSecure'ResultReason' -> Maybe SetupAttemptPaymentMethodDetailsCardThreeDSecure'Version' -> SetupAttemptPaymentMethodDetailsCardThreeDSecure'
-- | authentication_flow: For authenticated transactions: how the customer
-- was authenticated by the issuing bank.
[setupAttemptPaymentMethodDetailsCardThreeDSecure'AuthenticationFlow] :: SetupAttemptPaymentMethodDetailsCardThreeDSecure' -> Maybe SetupAttemptPaymentMethodDetailsCardThreeDSecure'AuthenticationFlow'
-- | result: Indicates the outcome of 3D Secure authentication.
[setupAttemptPaymentMethodDetailsCardThreeDSecure'Result] :: SetupAttemptPaymentMethodDetailsCardThreeDSecure' -> Maybe SetupAttemptPaymentMethodDetailsCardThreeDSecure'Result'
-- | result_reason: Additional information about why 3D Secure succeeded or
-- failed based on the `result`.
[setupAttemptPaymentMethodDetailsCardThreeDSecure'ResultReason] :: SetupAttemptPaymentMethodDetailsCardThreeDSecure' -> Maybe SetupAttemptPaymentMethodDetailsCardThreeDSecure'ResultReason'
-- | version: The version of 3D Secure that was used.
[setupAttemptPaymentMethodDetailsCardThreeDSecure'Version] :: SetupAttemptPaymentMethodDetailsCardThreeDSecure' -> Maybe SetupAttemptPaymentMethodDetailsCardThreeDSecure'Version'
-- | Create a new SetupAttemptPaymentMethodDetailsCardThreeDSecure'
-- with all required fields.
mkSetupAttemptPaymentMethodDetailsCardThreeDSecure' :: SetupAttemptPaymentMethodDetailsCardThreeDSecure'
-- | Defines the enum schema located at
-- components.schemas.setup_attempt_payment_method_details_card.properties.three_d_secure.anyOf.properties.authentication_flow
-- in the specification.
--
-- For authenticated transactions: how the customer was authenticated by
-- the issuing bank.
data SetupAttemptPaymentMethodDetailsCardThreeDSecure'AuthenticationFlow'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
SetupAttemptPaymentMethodDetailsCardThreeDSecure'AuthenticationFlow'Other :: Value -> SetupAttemptPaymentMethodDetailsCardThreeDSecure'AuthenticationFlow'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
SetupAttemptPaymentMethodDetailsCardThreeDSecure'AuthenticationFlow'Typed :: Text -> SetupAttemptPaymentMethodDetailsCardThreeDSecure'AuthenticationFlow'
-- | Represents the JSON value "challenge"
SetupAttemptPaymentMethodDetailsCardThreeDSecure'AuthenticationFlow'EnumChallenge :: SetupAttemptPaymentMethodDetailsCardThreeDSecure'AuthenticationFlow'
-- | Represents the JSON value "frictionless"
SetupAttemptPaymentMethodDetailsCardThreeDSecure'AuthenticationFlow'EnumFrictionless :: SetupAttemptPaymentMethodDetailsCardThreeDSecure'AuthenticationFlow'
-- | Defines the enum schema located at
-- components.schemas.setup_attempt_payment_method_details_card.properties.three_d_secure.anyOf.properties.result
-- in the specification.
--
-- Indicates the outcome of 3D Secure authentication.
data SetupAttemptPaymentMethodDetailsCardThreeDSecure'Result'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
SetupAttemptPaymentMethodDetailsCardThreeDSecure'Result'Other :: Value -> SetupAttemptPaymentMethodDetailsCardThreeDSecure'Result'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
SetupAttemptPaymentMethodDetailsCardThreeDSecure'Result'Typed :: Text -> SetupAttemptPaymentMethodDetailsCardThreeDSecure'Result'
-- | Represents the JSON value "attempt_acknowledged"
SetupAttemptPaymentMethodDetailsCardThreeDSecure'Result'EnumAttemptAcknowledged :: SetupAttemptPaymentMethodDetailsCardThreeDSecure'Result'
-- | Represents the JSON value "authenticated"
SetupAttemptPaymentMethodDetailsCardThreeDSecure'Result'EnumAuthenticated :: SetupAttemptPaymentMethodDetailsCardThreeDSecure'Result'
-- | Represents the JSON value "failed"
SetupAttemptPaymentMethodDetailsCardThreeDSecure'Result'EnumFailed :: SetupAttemptPaymentMethodDetailsCardThreeDSecure'Result'
-- | Represents the JSON value "not_supported"
SetupAttemptPaymentMethodDetailsCardThreeDSecure'Result'EnumNotSupported :: SetupAttemptPaymentMethodDetailsCardThreeDSecure'Result'
-- | Represents the JSON value "processing_error"
SetupAttemptPaymentMethodDetailsCardThreeDSecure'Result'EnumProcessingError :: SetupAttemptPaymentMethodDetailsCardThreeDSecure'Result'
-- | Defines the enum schema located at
-- components.schemas.setup_attempt_payment_method_details_card.properties.three_d_secure.anyOf.properties.result_reason
-- in the specification.
--
-- Additional information about why 3D Secure succeeded or failed based
-- on the `result`.
data SetupAttemptPaymentMethodDetailsCardThreeDSecure'ResultReason'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
SetupAttemptPaymentMethodDetailsCardThreeDSecure'ResultReason'Other :: Value -> SetupAttemptPaymentMethodDetailsCardThreeDSecure'ResultReason'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
SetupAttemptPaymentMethodDetailsCardThreeDSecure'ResultReason'Typed :: Text -> SetupAttemptPaymentMethodDetailsCardThreeDSecure'ResultReason'
-- | Represents the JSON value "abandoned"
SetupAttemptPaymentMethodDetailsCardThreeDSecure'ResultReason'EnumAbandoned :: SetupAttemptPaymentMethodDetailsCardThreeDSecure'ResultReason'
-- | Represents the JSON value "bypassed"
SetupAttemptPaymentMethodDetailsCardThreeDSecure'ResultReason'EnumBypassed :: SetupAttemptPaymentMethodDetailsCardThreeDSecure'ResultReason'
-- | Represents the JSON value "canceled"
SetupAttemptPaymentMethodDetailsCardThreeDSecure'ResultReason'EnumCanceled :: SetupAttemptPaymentMethodDetailsCardThreeDSecure'ResultReason'
-- | Represents the JSON value "card_not_enrolled"
SetupAttemptPaymentMethodDetailsCardThreeDSecure'ResultReason'EnumCardNotEnrolled :: SetupAttemptPaymentMethodDetailsCardThreeDSecure'ResultReason'
-- | Represents the JSON value "network_not_supported"
SetupAttemptPaymentMethodDetailsCardThreeDSecure'ResultReason'EnumNetworkNotSupported :: SetupAttemptPaymentMethodDetailsCardThreeDSecure'ResultReason'
-- | Represents the JSON value "protocol_error"
SetupAttemptPaymentMethodDetailsCardThreeDSecure'ResultReason'EnumProtocolError :: SetupAttemptPaymentMethodDetailsCardThreeDSecure'ResultReason'
-- | Represents the JSON value "rejected"
SetupAttemptPaymentMethodDetailsCardThreeDSecure'ResultReason'EnumRejected :: SetupAttemptPaymentMethodDetailsCardThreeDSecure'ResultReason'
-- | Defines the enum schema located at
-- components.schemas.setup_attempt_payment_method_details_card.properties.three_d_secure.anyOf.properties.version
-- in the specification.
--
-- The version of 3D Secure that was used.
data SetupAttemptPaymentMethodDetailsCardThreeDSecure'Version'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
SetupAttemptPaymentMethodDetailsCardThreeDSecure'Version'Other :: Value -> SetupAttemptPaymentMethodDetailsCardThreeDSecure'Version'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
SetupAttemptPaymentMethodDetailsCardThreeDSecure'Version'Typed :: Text -> SetupAttemptPaymentMethodDetailsCardThreeDSecure'Version'
-- | Represents the JSON value "1.0.2"
SetupAttemptPaymentMethodDetailsCardThreeDSecure'Version'Enum1'0'2 :: SetupAttemptPaymentMethodDetailsCardThreeDSecure'Version'
-- | Represents the JSON value "2.1.0"
SetupAttemptPaymentMethodDetailsCardThreeDSecure'Version'Enum2'1'0 :: SetupAttemptPaymentMethodDetailsCardThreeDSecure'Version'
-- | Represents the JSON value "2.2.0"
SetupAttemptPaymentMethodDetailsCardThreeDSecure'Version'Enum2'2'0 :: SetupAttemptPaymentMethodDetailsCardThreeDSecure'Version'
instance GHC.Classes.Eq StripeAPI.Types.SetupAttemptPaymentMethodDetailsCard.SetupAttemptPaymentMethodDetailsCardThreeDSecure'AuthenticationFlow'
instance GHC.Show.Show StripeAPI.Types.SetupAttemptPaymentMethodDetailsCard.SetupAttemptPaymentMethodDetailsCardThreeDSecure'AuthenticationFlow'
instance GHC.Classes.Eq StripeAPI.Types.SetupAttemptPaymentMethodDetailsCard.SetupAttemptPaymentMethodDetailsCardThreeDSecure'Result'
instance GHC.Show.Show StripeAPI.Types.SetupAttemptPaymentMethodDetailsCard.SetupAttemptPaymentMethodDetailsCardThreeDSecure'Result'
instance GHC.Classes.Eq StripeAPI.Types.SetupAttemptPaymentMethodDetailsCard.SetupAttemptPaymentMethodDetailsCardThreeDSecure'ResultReason'
instance GHC.Show.Show StripeAPI.Types.SetupAttemptPaymentMethodDetailsCard.SetupAttemptPaymentMethodDetailsCardThreeDSecure'ResultReason'
instance GHC.Classes.Eq StripeAPI.Types.SetupAttemptPaymentMethodDetailsCard.SetupAttemptPaymentMethodDetailsCardThreeDSecure'Version'
instance GHC.Show.Show StripeAPI.Types.SetupAttemptPaymentMethodDetailsCard.SetupAttemptPaymentMethodDetailsCardThreeDSecure'Version'
instance GHC.Classes.Eq StripeAPI.Types.SetupAttemptPaymentMethodDetailsCard.SetupAttemptPaymentMethodDetailsCardThreeDSecure'
instance GHC.Show.Show StripeAPI.Types.SetupAttemptPaymentMethodDetailsCard.SetupAttemptPaymentMethodDetailsCardThreeDSecure'
instance GHC.Classes.Eq StripeAPI.Types.SetupAttemptPaymentMethodDetailsCard.SetupAttemptPaymentMethodDetailsCard
instance GHC.Show.Show StripeAPI.Types.SetupAttemptPaymentMethodDetailsCard.SetupAttemptPaymentMethodDetailsCard
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SetupAttemptPaymentMethodDetailsCard.SetupAttemptPaymentMethodDetailsCard
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SetupAttemptPaymentMethodDetailsCard.SetupAttemptPaymentMethodDetailsCard
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SetupAttemptPaymentMethodDetailsCard.SetupAttemptPaymentMethodDetailsCardThreeDSecure'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SetupAttemptPaymentMethodDetailsCard.SetupAttemptPaymentMethodDetailsCardThreeDSecure'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SetupAttemptPaymentMethodDetailsCard.SetupAttemptPaymentMethodDetailsCardThreeDSecure'Version'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SetupAttemptPaymentMethodDetailsCard.SetupAttemptPaymentMethodDetailsCardThreeDSecure'Version'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SetupAttemptPaymentMethodDetailsCard.SetupAttemptPaymentMethodDetailsCardThreeDSecure'ResultReason'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SetupAttemptPaymentMethodDetailsCard.SetupAttemptPaymentMethodDetailsCardThreeDSecure'ResultReason'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SetupAttemptPaymentMethodDetailsCard.SetupAttemptPaymentMethodDetailsCardThreeDSecure'Result'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SetupAttemptPaymentMethodDetailsCard.SetupAttemptPaymentMethodDetailsCardThreeDSecure'Result'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.SetupAttemptPaymentMethodDetailsCard.SetupAttemptPaymentMethodDetailsCardThreeDSecure'AuthenticationFlow'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.SetupAttemptPaymentMethodDetailsCard.SetupAttemptPaymentMethodDetailsCardThreeDSecure'AuthenticationFlow'
-- | Contains the types generated from the schema PaymentMethodDetailsCard
module StripeAPI.Types.PaymentMethodDetailsCard
-- | Defines the object schema located at
-- components.schemas.payment_method_details_card in the
-- specification.
data PaymentMethodDetailsCard
PaymentMethodDetailsCard :: Maybe Text -> Maybe PaymentMethodDetailsCardChecks' -> Maybe Text -> Int -> Int -> Maybe Text -> Maybe Text -> Maybe PaymentMethodDetailsCardInstallments' -> Maybe Text -> Maybe Text -> Maybe PaymentMethodDetailsCardThreeDSecure' -> Maybe PaymentMethodDetailsCardWallet' -> PaymentMethodDetailsCard
-- | brand: Card brand. Can be `amex`, `diners`, `discover`, `jcb`,
-- `mastercard`, `unionpay`, `visa`, or `unknown`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsCardBrand] :: PaymentMethodDetailsCard -> Maybe Text
-- | checks: Check results by Card networks on Card address and CVC at time
-- of payment.
[paymentMethodDetailsCardChecks] :: PaymentMethodDetailsCard -> Maybe PaymentMethodDetailsCardChecks'
-- | country: Two-letter ISO code representing the country of the card. You
-- could use this attribute to get a sense of the international breakdown
-- of cards you've collected.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsCardCountry] :: PaymentMethodDetailsCard -> Maybe Text
-- | exp_month: Two-digit number representing the card's expiration month.
[paymentMethodDetailsCardExpMonth] :: PaymentMethodDetailsCard -> Int
-- | exp_year: Four-digit number representing the card's expiration year.
[paymentMethodDetailsCardExpYear] :: PaymentMethodDetailsCard -> Int
-- | fingerprint: Uniquely identifies this particular card number. You can
-- use this attribute to check whether two customers who’ve signed up
-- with you are using the same card number, for example. For payment
-- methods that tokenize card information (Apple Pay, Google Pay), the
-- tokenized number might be provided instead of the underlying card
-- number.
--
--
-- - Starting May 1, 2021, card fingerprint in India for Connect will
-- change to allow two fingerprints for the same card --- one for India
-- and one for the rest of the world.*
--
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsCardFingerprint] :: PaymentMethodDetailsCard -> Maybe Text
-- | funding: Card funding type. Can be `credit`, `debit`, `prepaid`, or
-- `unknown`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsCardFunding] :: PaymentMethodDetailsCard -> Maybe Text
-- | installments: Installment details for this payment (Mexico only).
--
-- For more information, see the installments integration guide.
[paymentMethodDetailsCardInstallments] :: PaymentMethodDetailsCard -> Maybe PaymentMethodDetailsCardInstallments'
-- | last4: The last four digits of the card.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsCardLast4] :: PaymentMethodDetailsCard -> Maybe Text
-- | network: Identifies which network this charge was processed on. Can be
-- `amex`, `cartes_bancaires`, `diners`, `discover`, `interac`, `jcb`,
-- `mastercard`, `unionpay`, `visa`, or `unknown`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsCardNetwork] :: PaymentMethodDetailsCard -> Maybe Text
-- | three_d_secure: Populated if this transaction used 3D Secure
-- authentication.
[paymentMethodDetailsCardThreeDSecure] :: PaymentMethodDetailsCard -> Maybe PaymentMethodDetailsCardThreeDSecure'
-- | wallet: If this Card is part of a card wallet, this contains the
-- details of the card wallet.
[paymentMethodDetailsCardWallet] :: PaymentMethodDetailsCard -> Maybe PaymentMethodDetailsCardWallet'
-- | Create a new PaymentMethodDetailsCard with all required fields.
mkPaymentMethodDetailsCard :: Int -> Int -> PaymentMethodDetailsCard
-- | Defines the object schema located at
-- components.schemas.payment_method_details_card.properties.checks.anyOf
-- in the specification.
--
-- Check results by Card networks on Card address and CVC at time of
-- payment.
data PaymentMethodDetailsCardChecks'
PaymentMethodDetailsCardChecks' :: Maybe Text -> Maybe Text -> Maybe Text -> PaymentMethodDetailsCardChecks'
-- | address_line1_check: If a address line1 was provided, results of the
-- check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsCardChecks'AddressLine1Check] :: PaymentMethodDetailsCardChecks' -> Maybe Text
-- | address_postal_code_check: If a address postal code was provided,
-- results of the check, one of `pass`, `fail`, `unavailable`, or
-- `unchecked`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsCardChecks'AddressPostalCodeCheck] :: PaymentMethodDetailsCardChecks' -> Maybe Text
-- | cvc_check: If a CVC was provided, results of the check, one of `pass`,
-- `fail`, `unavailable`, or `unchecked`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsCardChecks'CvcCheck] :: PaymentMethodDetailsCardChecks' -> Maybe Text
-- | Create a new PaymentMethodDetailsCardChecks' with all required
-- fields.
mkPaymentMethodDetailsCardChecks' :: PaymentMethodDetailsCardChecks'
-- | Defines the object schema located at
-- components.schemas.payment_method_details_card.properties.installments.anyOf
-- in the specification.
--
-- Installment details for this payment (Mexico only).
--
-- For more information, see the installments integration guide.
data PaymentMethodDetailsCardInstallments'
PaymentMethodDetailsCardInstallments' :: Maybe PaymentMethodDetailsCardInstallments'Plan' -> PaymentMethodDetailsCardInstallments'
-- | plan: Installment plan selected for the payment.
[paymentMethodDetailsCardInstallments'Plan] :: PaymentMethodDetailsCardInstallments' -> Maybe PaymentMethodDetailsCardInstallments'Plan'
-- | Create a new PaymentMethodDetailsCardInstallments' with all
-- required fields.
mkPaymentMethodDetailsCardInstallments' :: PaymentMethodDetailsCardInstallments'
-- | Defines the object schema located at
-- components.schemas.payment_method_details_card.properties.installments.anyOf.properties.plan.anyOf
-- in the specification.
--
-- Installment plan selected for the payment.
data PaymentMethodDetailsCardInstallments'Plan'
PaymentMethodDetailsCardInstallments'Plan' :: Maybe Int -> Maybe PaymentMethodDetailsCardInstallments'Plan'Interval' -> Maybe PaymentMethodDetailsCardInstallments'Plan'Type' -> PaymentMethodDetailsCardInstallments'Plan'
-- | count: For `fixed_count` installment plans, this is the number of
-- installment payments your customer will make to their credit card.
[paymentMethodDetailsCardInstallments'Plan'Count] :: PaymentMethodDetailsCardInstallments'Plan' -> Maybe Int
-- | interval: For `fixed_count` installment plans, this is the interval
-- between installment payments your customer will make to their credit
-- card. One of `month`.
[paymentMethodDetailsCardInstallments'Plan'Interval] :: PaymentMethodDetailsCardInstallments'Plan' -> Maybe PaymentMethodDetailsCardInstallments'Plan'Interval'
-- | type: Type of installment plan, one of `fixed_count`.
[paymentMethodDetailsCardInstallments'Plan'Type] :: PaymentMethodDetailsCardInstallments'Plan' -> Maybe PaymentMethodDetailsCardInstallments'Plan'Type'
-- | Create a new PaymentMethodDetailsCardInstallments'Plan' with
-- all required fields.
mkPaymentMethodDetailsCardInstallments'Plan' :: PaymentMethodDetailsCardInstallments'Plan'
-- | Defines the enum schema located at
-- components.schemas.payment_method_details_card.properties.installments.anyOf.properties.plan.anyOf.properties.interval
-- in the specification.
--
-- For `fixed_count` installment plans, this is the interval between
-- installment payments your customer will make to their credit card. One
-- of `month`.
data PaymentMethodDetailsCardInstallments'Plan'Interval'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PaymentMethodDetailsCardInstallments'Plan'Interval'Other :: Value -> PaymentMethodDetailsCardInstallments'Plan'Interval'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PaymentMethodDetailsCardInstallments'Plan'Interval'Typed :: Text -> PaymentMethodDetailsCardInstallments'Plan'Interval'
-- | Represents the JSON value "month"
PaymentMethodDetailsCardInstallments'Plan'Interval'EnumMonth :: PaymentMethodDetailsCardInstallments'Plan'Interval'
-- | Defines the enum schema located at
-- components.schemas.payment_method_details_card.properties.installments.anyOf.properties.plan.anyOf.properties.type
-- in the specification.
--
-- Type of installment plan, one of `fixed_count`.
data PaymentMethodDetailsCardInstallments'Plan'Type'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PaymentMethodDetailsCardInstallments'Plan'Type'Other :: Value -> PaymentMethodDetailsCardInstallments'Plan'Type'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PaymentMethodDetailsCardInstallments'Plan'Type'Typed :: Text -> PaymentMethodDetailsCardInstallments'Plan'Type'
-- | Represents the JSON value "fixed_count"
PaymentMethodDetailsCardInstallments'Plan'Type'EnumFixedCount :: PaymentMethodDetailsCardInstallments'Plan'Type'
-- | Defines the object schema located at
-- components.schemas.payment_method_details_card.properties.three_d_secure.anyOf
-- in the specification.
--
-- Populated if this transaction used 3D Secure authentication.
data PaymentMethodDetailsCardThreeDSecure'
PaymentMethodDetailsCardThreeDSecure' :: Maybe PaymentMethodDetailsCardThreeDSecure'AuthenticationFlow' -> Maybe PaymentMethodDetailsCardThreeDSecure'Result' -> Maybe PaymentMethodDetailsCardThreeDSecure'ResultReason' -> Maybe PaymentMethodDetailsCardThreeDSecure'Version' -> PaymentMethodDetailsCardThreeDSecure'
-- | authentication_flow: For authenticated transactions: how the customer
-- was authenticated by the issuing bank.
[paymentMethodDetailsCardThreeDSecure'AuthenticationFlow] :: PaymentMethodDetailsCardThreeDSecure' -> Maybe PaymentMethodDetailsCardThreeDSecure'AuthenticationFlow'
-- | result: Indicates the outcome of 3D Secure authentication.
[paymentMethodDetailsCardThreeDSecure'Result] :: PaymentMethodDetailsCardThreeDSecure' -> Maybe PaymentMethodDetailsCardThreeDSecure'Result'
-- | result_reason: Additional information about why 3D Secure succeeded or
-- failed based on the `result`.
[paymentMethodDetailsCardThreeDSecure'ResultReason] :: PaymentMethodDetailsCardThreeDSecure' -> Maybe PaymentMethodDetailsCardThreeDSecure'ResultReason'
-- | version: The version of 3D Secure that was used.
[paymentMethodDetailsCardThreeDSecure'Version] :: PaymentMethodDetailsCardThreeDSecure' -> Maybe PaymentMethodDetailsCardThreeDSecure'Version'
-- | Create a new PaymentMethodDetailsCardThreeDSecure' with all
-- required fields.
mkPaymentMethodDetailsCardThreeDSecure' :: PaymentMethodDetailsCardThreeDSecure'
-- | Defines the enum schema located at
-- components.schemas.payment_method_details_card.properties.three_d_secure.anyOf.properties.authentication_flow
-- in the specification.
--
-- For authenticated transactions: how the customer was authenticated by
-- the issuing bank.
data PaymentMethodDetailsCardThreeDSecure'AuthenticationFlow'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PaymentMethodDetailsCardThreeDSecure'AuthenticationFlow'Other :: Value -> PaymentMethodDetailsCardThreeDSecure'AuthenticationFlow'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PaymentMethodDetailsCardThreeDSecure'AuthenticationFlow'Typed :: Text -> PaymentMethodDetailsCardThreeDSecure'AuthenticationFlow'
-- | Represents the JSON value "challenge"
PaymentMethodDetailsCardThreeDSecure'AuthenticationFlow'EnumChallenge :: PaymentMethodDetailsCardThreeDSecure'AuthenticationFlow'
-- | Represents the JSON value "frictionless"
PaymentMethodDetailsCardThreeDSecure'AuthenticationFlow'EnumFrictionless :: PaymentMethodDetailsCardThreeDSecure'AuthenticationFlow'
-- | Defines the enum schema located at
-- components.schemas.payment_method_details_card.properties.three_d_secure.anyOf.properties.result
-- in the specification.
--
-- Indicates the outcome of 3D Secure authentication.
data PaymentMethodDetailsCardThreeDSecure'Result'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PaymentMethodDetailsCardThreeDSecure'Result'Other :: Value -> PaymentMethodDetailsCardThreeDSecure'Result'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PaymentMethodDetailsCardThreeDSecure'Result'Typed :: Text -> PaymentMethodDetailsCardThreeDSecure'Result'
-- | Represents the JSON value "attempt_acknowledged"
PaymentMethodDetailsCardThreeDSecure'Result'EnumAttemptAcknowledged :: PaymentMethodDetailsCardThreeDSecure'Result'
-- | Represents the JSON value "authenticated"
PaymentMethodDetailsCardThreeDSecure'Result'EnumAuthenticated :: PaymentMethodDetailsCardThreeDSecure'Result'
-- | Represents the JSON value "failed"
PaymentMethodDetailsCardThreeDSecure'Result'EnumFailed :: PaymentMethodDetailsCardThreeDSecure'Result'
-- | Represents the JSON value "not_supported"
PaymentMethodDetailsCardThreeDSecure'Result'EnumNotSupported :: PaymentMethodDetailsCardThreeDSecure'Result'
-- | Represents the JSON value "processing_error"
PaymentMethodDetailsCardThreeDSecure'Result'EnumProcessingError :: PaymentMethodDetailsCardThreeDSecure'Result'
-- | Defines the enum schema located at
-- components.schemas.payment_method_details_card.properties.three_d_secure.anyOf.properties.result_reason
-- in the specification.
--
-- Additional information about why 3D Secure succeeded or failed based
-- on the `result`.
data PaymentMethodDetailsCardThreeDSecure'ResultReason'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PaymentMethodDetailsCardThreeDSecure'ResultReason'Other :: Value -> PaymentMethodDetailsCardThreeDSecure'ResultReason'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PaymentMethodDetailsCardThreeDSecure'ResultReason'Typed :: Text -> PaymentMethodDetailsCardThreeDSecure'ResultReason'
-- | Represents the JSON value "abandoned"
PaymentMethodDetailsCardThreeDSecure'ResultReason'EnumAbandoned :: PaymentMethodDetailsCardThreeDSecure'ResultReason'
-- | Represents the JSON value "bypassed"
PaymentMethodDetailsCardThreeDSecure'ResultReason'EnumBypassed :: PaymentMethodDetailsCardThreeDSecure'ResultReason'
-- | Represents the JSON value "canceled"
PaymentMethodDetailsCardThreeDSecure'ResultReason'EnumCanceled :: PaymentMethodDetailsCardThreeDSecure'ResultReason'
-- | Represents the JSON value "card_not_enrolled"
PaymentMethodDetailsCardThreeDSecure'ResultReason'EnumCardNotEnrolled :: PaymentMethodDetailsCardThreeDSecure'ResultReason'
-- | Represents the JSON value "network_not_supported"
PaymentMethodDetailsCardThreeDSecure'ResultReason'EnumNetworkNotSupported :: PaymentMethodDetailsCardThreeDSecure'ResultReason'
-- | Represents the JSON value "protocol_error"
PaymentMethodDetailsCardThreeDSecure'ResultReason'EnumProtocolError :: PaymentMethodDetailsCardThreeDSecure'ResultReason'
-- | Represents the JSON value "rejected"
PaymentMethodDetailsCardThreeDSecure'ResultReason'EnumRejected :: PaymentMethodDetailsCardThreeDSecure'ResultReason'
-- | Defines the enum schema located at
-- components.schemas.payment_method_details_card.properties.three_d_secure.anyOf.properties.version
-- in the specification.
--
-- The version of 3D Secure that was used.
data PaymentMethodDetailsCardThreeDSecure'Version'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PaymentMethodDetailsCardThreeDSecure'Version'Other :: Value -> PaymentMethodDetailsCardThreeDSecure'Version'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PaymentMethodDetailsCardThreeDSecure'Version'Typed :: Text -> PaymentMethodDetailsCardThreeDSecure'Version'
-- | Represents the JSON value "1.0.2"
PaymentMethodDetailsCardThreeDSecure'Version'Enum1'0'2 :: PaymentMethodDetailsCardThreeDSecure'Version'
-- | Represents the JSON value "2.1.0"
PaymentMethodDetailsCardThreeDSecure'Version'Enum2'1'0 :: PaymentMethodDetailsCardThreeDSecure'Version'
-- | Represents the JSON value "2.2.0"
PaymentMethodDetailsCardThreeDSecure'Version'Enum2'2'0 :: PaymentMethodDetailsCardThreeDSecure'Version'
-- | Defines the object schema located at
-- components.schemas.payment_method_details_card.properties.wallet.anyOf
-- in the specification.
--
-- If this Card is part of a card wallet, this contains the details of
-- the card wallet.
data PaymentMethodDetailsCardWallet'
PaymentMethodDetailsCardWallet' :: Maybe PaymentMethodDetailsCardWalletAmexExpressCheckout -> Maybe PaymentMethodDetailsCardWalletApplePay -> Maybe Text -> Maybe PaymentMethodDetailsCardWalletGooglePay -> Maybe PaymentMethodDetailsCardWalletMasterpass -> Maybe PaymentMethodDetailsCardWalletSamsungPay -> Maybe PaymentMethodDetailsCardWallet'Type' -> Maybe PaymentMethodDetailsCardWalletVisaCheckout -> PaymentMethodDetailsCardWallet'
-- | amex_express_checkout:
[paymentMethodDetailsCardWallet'AmexExpressCheckout] :: PaymentMethodDetailsCardWallet' -> Maybe PaymentMethodDetailsCardWalletAmexExpressCheckout
-- | apple_pay:
[paymentMethodDetailsCardWallet'ApplePay] :: PaymentMethodDetailsCardWallet' -> Maybe PaymentMethodDetailsCardWalletApplePay
-- | dynamic_last4: (For tokenized numbers only.) The last four digits of
-- the device account number.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodDetailsCardWallet'DynamicLast4] :: PaymentMethodDetailsCardWallet' -> Maybe Text
-- | google_pay:
[paymentMethodDetailsCardWallet'GooglePay] :: PaymentMethodDetailsCardWallet' -> Maybe PaymentMethodDetailsCardWalletGooglePay
-- | masterpass:
[paymentMethodDetailsCardWallet'Masterpass] :: PaymentMethodDetailsCardWallet' -> Maybe PaymentMethodDetailsCardWalletMasterpass
-- | samsung_pay:
[paymentMethodDetailsCardWallet'SamsungPay] :: PaymentMethodDetailsCardWallet' -> Maybe PaymentMethodDetailsCardWalletSamsungPay
-- | type: 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.
[paymentMethodDetailsCardWallet'Type] :: PaymentMethodDetailsCardWallet' -> Maybe PaymentMethodDetailsCardWallet'Type'
-- | visa_checkout:
[paymentMethodDetailsCardWallet'VisaCheckout] :: PaymentMethodDetailsCardWallet' -> Maybe PaymentMethodDetailsCardWalletVisaCheckout
-- | Create a new PaymentMethodDetailsCardWallet' with all required
-- fields.
mkPaymentMethodDetailsCardWallet' :: PaymentMethodDetailsCardWallet'
-- | Defines the enum schema located at
-- components.schemas.payment_method_details_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.
data PaymentMethodDetailsCardWallet'Type'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PaymentMethodDetailsCardWallet'Type'Other :: Value -> PaymentMethodDetailsCardWallet'Type'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PaymentMethodDetailsCardWallet'Type'Typed :: Text -> PaymentMethodDetailsCardWallet'Type'
-- | Represents the JSON value "amex_express_checkout"
PaymentMethodDetailsCardWallet'Type'EnumAmexExpressCheckout :: PaymentMethodDetailsCardWallet'Type'
-- | Represents the JSON value "apple_pay"
PaymentMethodDetailsCardWallet'Type'EnumApplePay :: PaymentMethodDetailsCardWallet'Type'
-- | Represents the JSON value "google_pay"
PaymentMethodDetailsCardWallet'Type'EnumGooglePay :: PaymentMethodDetailsCardWallet'Type'
-- | Represents the JSON value "masterpass"
PaymentMethodDetailsCardWallet'Type'EnumMasterpass :: PaymentMethodDetailsCardWallet'Type'
-- | Represents the JSON value "samsung_pay"
PaymentMethodDetailsCardWallet'Type'EnumSamsungPay :: PaymentMethodDetailsCardWallet'Type'
-- | Represents the JSON value "visa_checkout"
PaymentMethodDetailsCardWallet'Type'EnumVisaCheckout :: PaymentMethodDetailsCardWallet'Type'
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodDetailsCard.PaymentMethodDetailsCardChecks'
instance GHC.Show.Show StripeAPI.Types.PaymentMethodDetailsCard.PaymentMethodDetailsCardChecks'
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodDetailsCard.PaymentMethodDetailsCardInstallments'Plan'Interval'
instance GHC.Show.Show StripeAPI.Types.PaymentMethodDetailsCard.PaymentMethodDetailsCardInstallments'Plan'Interval'
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodDetailsCard.PaymentMethodDetailsCardInstallments'Plan'Type'
instance GHC.Show.Show StripeAPI.Types.PaymentMethodDetailsCard.PaymentMethodDetailsCardInstallments'Plan'Type'
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodDetailsCard.PaymentMethodDetailsCardInstallments'Plan'
instance GHC.Show.Show StripeAPI.Types.PaymentMethodDetailsCard.PaymentMethodDetailsCardInstallments'Plan'
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodDetailsCard.PaymentMethodDetailsCardInstallments'
instance GHC.Show.Show StripeAPI.Types.PaymentMethodDetailsCard.PaymentMethodDetailsCardInstallments'
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodDetailsCard.PaymentMethodDetailsCardThreeDSecure'AuthenticationFlow'
instance GHC.Show.Show StripeAPI.Types.PaymentMethodDetailsCard.PaymentMethodDetailsCardThreeDSecure'AuthenticationFlow'
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodDetailsCard.PaymentMethodDetailsCardThreeDSecure'Result'
instance GHC.Show.Show StripeAPI.Types.PaymentMethodDetailsCard.PaymentMethodDetailsCardThreeDSecure'Result'
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodDetailsCard.PaymentMethodDetailsCardThreeDSecure'ResultReason'
instance GHC.Show.Show StripeAPI.Types.PaymentMethodDetailsCard.PaymentMethodDetailsCardThreeDSecure'ResultReason'
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodDetailsCard.PaymentMethodDetailsCardThreeDSecure'Version'
instance GHC.Show.Show StripeAPI.Types.PaymentMethodDetailsCard.PaymentMethodDetailsCardThreeDSecure'Version'
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodDetailsCard.PaymentMethodDetailsCardThreeDSecure'
instance GHC.Show.Show StripeAPI.Types.PaymentMethodDetailsCard.PaymentMethodDetailsCardThreeDSecure'
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodDetailsCard.PaymentMethodDetailsCardWallet'Type'
instance GHC.Show.Show StripeAPI.Types.PaymentMethodDetailsCard.PaymentMethodDetailsCardWallet'Type'
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodDetailsCard.PaymentMethodDetailsCardWallet'
instance GHC.Show.Show StripeAPI.Types.PaymentMethodDetailsCard.PaymentMethodDetailsCardWallet'
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodDetailsCard.PaymentMethodDetailsCard
instance GHC.Show.Show StripeAPI.Types.PaymentMethodDetailsCard.PaymentMethodDetailsCard
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodDetailsCard.PaymentMethodDetailsCard
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodDetailsCard.PaymentMethodDetailsCard
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodDetailsCard.PaymentMethodDetailsCardWallet'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodDetailsCard.PaymentMethodDetailsCardWallet'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodDetailsCard.PaymentMethodDetailsCardWallet'Type'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodDetailsCard.PaymentMethodDetailsCardWallet'Type'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodDetailsCard.PaymentMethodDetailsCardThreeDSecure'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodDetailsCard.PaymentMethodDetailsCardThreeDSecure'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodDetailsCard.PaymentMethodDetailsCardThreeDSecure'Version'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodDetailsCard.PaymentMethodDetailsCardThreeDSecure'Version'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodDetailsCard.PaymentMethodDetailsCardThreeDSecure'ResultReason'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodDetailsCard.PaymentMethodDetailsCardThreeDSecure'ResultReason'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodDetailsCard.PaymentMethodDetailsCardThreeDSecure'Result'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodDetailsCard.PaymentMethodDetailsCardThreeDSecure'Result'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodDetailsCard.PaymentMethodDetailsCardThreeDSecure'AuthenticationFlow'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodDetailsCard.PaymentMethodDetailsCardThreeDSecure'AuthenticationFlow'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodDetailsCard.PaymentMethodDetailsCardInstallments'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodDetailsCard.PaymentMethodDetailsCardInstallments'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodDetailsCard.PaymentMethodDetailsCardInstallments'Plan'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodDetailsCard.PaymentMethodDetailsCardInstallments'Plan'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodDetailsCard.PaymentMethodDetailsCardInstallments'Plan'Type'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodDetailsCard.PaymentMethodDetailsCardInstallments'Plan'Type'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodDetailsCard.PaymentMethodDetailsCardInstallments'Plan'Interval'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodDetailsCard.PaymentMethodDetailsCardInstallments'Plan'Interval'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodDetailsCard.PaymentMethodDetailsCardChecks'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodDetailsCard.PaymentMethodDetailsCardChecks'
-- | Contains the types generated from the schema ThreeDSecureDetails
module StripeAPI.Types.ThreeDSecureDetails
-- | Defines the object schema located at
-- components.schemas.three_d_secure_details in the
-- specification.
data ThreeDSecureDetails
ThreeDSecureDetails :: Maybe ThreeDSecureDetailsAuthenticationFlow' -> ThreeDSecureDetailsResult' -> Maybe ThreeDSecureDetailsResultReason' -> ThreeDSecureDetailsVersion' -> ThreeDSecureDetails
-- | authentication_flow: For authenticated transactions: how the customer
-- was authenticated by the issuing bank.
[threeDSecureDetailsAuthenticationFlow] :: ThreeDSecureDetails -> Maybe ThreeDSecureDetailsAuthenticationFlow'
-- | result: Indicates the outcome of 3D Secure authentication.
[threeDSecureDetailsResult] :: ThreeDSecureDetails -> ThreeDSecureDetailsResult'
-- | result_reason: Additional information about why 3D Secure succeeded or
-- failed based on the `result`.
[threeDSecureDetailsResultReason] :: ThreeDSecureDetails -> Maybe ThreeDSecureDetailsResultReason'
-- | version: The version of 3D Secure that was used.
[threeDSecureDetailsVersion] :: ThreeDSecureDetails -> ThreeDSecureDetailsVersion'
-- | Create a new ThreeDSecureDetails with all required fields.
mkThreeDSecureDetails :: ThreeDSecureDetailsResult' -> ThreeDSecureDetailsVersion' -> ThreeDSecureDetails
-- | Defines the enum schema located at
-- components.schemas.three_d_secure_details.properties.authentication_flow
-- in the specification.
--
-- For authenticated transactions: how the customer was authenticated by
-- the issuing bank.
data ThreeDSecureDetailsAuthenticationFlow'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
ThreeDSecureDetailsAuthenticationFlow'Other :: Value -> ThreeDSecureDetailsAuthenticationFlow'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
ThreeDSecureDetailsAuthenticationFlow'Typed :: Text -> ThreeDSecureDetailsAuthenticationFlow'
-- | Represents the JSON value "challenge"
ThreeDSecureDetailsAuthenticationFlow'EnumChallenge :: ThreeDSecureDetailsAuthenticationFlow'
-- | Represents the JSON value "frictionless"
ThreeDSecureDetailsAuthenticationFlow'EnumFrictionless :: ThreeDSecureDetailsAuthenticationFlow'
-- | Defines the enum schema located at
-- components.schemas.three_d_secure_details.properties.result
-- in the specification.
--
-- Indicates the outcome of 3D Secure authentication.
data ThreeDSecureDetailsResult'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
ThreeDSecureDetailsResult'Other :: Value -> ThreeDSecureDetailsResult'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
ThreeDSecureDetailsResult'Typed :: Text -> ThreeDSecureDetailsResult'
-- | Represents the JSON value "attempt_acknowledged"
ThreeDSecureDetailsResult'EnumAttemptAcknowledged :: ThreeDSecureDetailsResult'
-- | Represents the JSON value "authenticated"
ThreeDSecureDetailsResult'EnumAuthenticated :: ThreeDSecureDetailsResult'
-- | Represents the JSON value "failed"
ThreeDSecureDetailsResult'EnumFailed :: ThreeDSecureDetailsResult'
-- | Represents the JSON value "not_supported"
ThreeDSecureDetailsResult'EnumNotSupported :: ThreeDSecureDetailsResult'
-- | Represents the JSON value "processing_error"
ThreeDSecureDetailsResult'EnumProcessingError :: ThreeDSecureDetailsResult'
-- | Defines the enum schema located at
-- components.schemas.three_d_secure_details.properties.result_reason
-- in the specification.
--
-- Additional information about why 3D Secure succeeded or failed based
-- on the `result`.
data ThreeDSecureDetailsResultReason'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
ThreeDSecureDetailsResultReason'Other :: Value -> ThreeDSecureDetailsResultReason'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
ThreeDSecureDetailsResultReason'Typed :: Text -> ThreeDSecureDetailsResultReason'
-- | Represents the JSON value "abandoned"
ThreeDSecureDetailsResultReason'EnumAbandoned :: ThreeDSecureDetailsResultReason'
-- | Represents the JSON value "bypassed"
ThreeDSecureDetailsResultReason'EnumBypassed :: ThreeDSecureDetailsResultReason'
-- | Represents the JSON value "canceled"
ThreeDSecureDetailsResultReason'EnumCanceled :: ThreeDSecureDetailsResultReason'
-- | Represents the JSON value "card_not_enrolled"
ThreeDSecureDetailsResultReason'EnumCardNotEnrolled :: ThreeDSecureDetailsResultReason'
-- | Represents the JSON value "network_not_supported"
ThreeDSecureDetailsResultReason'EnumNetworkNotSupported :: ThreeDSecureDetailsResultReason'
-- | Represents the JSON value "protocol_error"
ThreeDSecureDetailsResultReason'EnumProtocolError :: ThreeDSecureDetailsResultReason'
-- | Represents the JSON value "rejected"
ThreeDSecureDetailsResultReason'EnumRejected :: ThreeDSecureDetailsResultReason'
-- | Defines the enum schema located at
-- components.schemas.three_d_secure_details.properties.version
-- in the specification.
--
-- The version of 3D Secure that was used.
data ThreeDSecureDetailsVersion'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
ThreeDSecureDetailsVersion'Other :: Value -> ThreeDSecureDetailsVersion'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
ThreeDSecureDetailsVersion'Typed :: Text -> ThreeDSecureDetailsVersion'
-- | Represents the JSON value "1.0.2"
ThreeDSecureDetailsVersion'Enum1'0'2 :: ThreeDSecureDetailsVersion'
-- | Represents the JSON value "2.1.0"
ThreeDSecureDetailsVersion'Enum2'1'0 :: ThreeDSecureDetailsVersion'
-- | Represents the JSON value "2.2.0"
ThreeDSecureDetailsVersion'Enum2'2'0 :: ThreeDSecureDetailsVersion'
instance GHC.Classes.Eq StripeAPI.Types.ThreeDSecureDetails.ThreeDSecureDetailsAuthenticationFlow'
instance GHC.Show.Show StripeAPI.Types.ThreeDSecureDetails.ThreeDSecureDetailsAuthenticationFlow'
instance GHC.Classes.Eq StripeAPI.Types.ThreeDSecureDetails.ThreeDSecureDetailsResult'
instance GHC.Show.Show StripeAPI.Types.ThreeDSecureDetails.ThreeDSecureDetailsResult'
instance GHC.Classes.Eq StripeAPI.Types.ThreeDSecureDetails.ThreeDSecureDetailsResultReason'
instance GHC.Show.Show StripeAPI.Types.ThreeDSecureDetails.ThreeDSecureDetailsResultReason'
instance GHC.Classes.Eq StripeAPI.Types.ThreeDSecureDetails.ThreeDSecureDetailsVersion'
instance GHC.Show.Show StripeAPI.Types.ThreeDSecureDetails.ThreeDSecureDetailsVersion'
instance GHC.Classes.Eq StripeAPI.Types.ThreeDSecureDetails.ThreeDSecureDetails
instance GHC.Show.Show StripeAPI.Types.ThreeDSecureDetails.ThreeDSecureDetails
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.ThreeDSecureDetails.ThreeDSecureDetails
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.ThreeDSecureDetails.ThreeDSecureDetails
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.ThreeDSecureDetails.ThreeDSecureDetailsVersion'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.ThreeDSecureDetails.ThreeDSecureDetailsVersion'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.ThreeDSecureDetails.ThreeDSecureDetailsResultReason'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.ThreeDSecureDetails.ThreeDSecureDetailsResultReason'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.ThreeDSecureDetails.ThreeDSecureDetailsResult'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.ThreeDSecureDetails.ThreeDSecureDetailsResult'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.ThreeDSecureDetails.ThreeDSecureDetailsAuthenticationFlow'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.ThreeDSecureDetails.ThreeDSecureDetailsAuthenticationFlow'
-- | Contains the types generated from the schema PaymentMethodCard
module StripeAPI.Types.PaymentMethodCard
-- | Defines the object schema located at
-- components.schemas.payment_method_card in the specification.
data PaymentMethodCard
PaymentMethodCard :: Text -> Maybe PaymentMethodCardChecks' -> Maybe Text -> Int -> Int -> Maybe Text -> Text -> Maybe PaymentMethodCardGeneratedFrom' -> Text -> Maybe PaymentMethodCardNetworks' -> Maybe PaymentMethodCardThreeDSecureUsage' -> Maybe PaymentMethodCardWallet' -> PaymentMethodCard
-- | brand: Card brand. Can be `amex`, `diners`, `discover`, `jcb`,
-- `mastercard`, `unionpay`, `visa`, or `unknown`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodCardBrand] :: PaymentMethodCard -> Text
-- | checks: Checks on Card address and CVC if provided.
[paymentMethodCardChecks] :: PaymentMethodCard -> Maybe PaymentMethodCardChecks'
-- | country: Two-letter ISO code representing the country of the card. You
-- could use this attribute to get a sense of the international breakdown
-- of cards you've collected.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodCardCountry] :: PaymentMethodCard -> Maybe Text
-- | exp_month: Two-digit number representing the card's expiration month.
[paymentMethodCardExpMonth] :: PaymentMethodCard -> Int
-- | exp_year: Four-digit number representing the card's expiration year.
[paymentMethodCardExpYear] :: PaymentMethodCard -> Int
-- | fingerprint: Uniquely identifies this particular card number. You can
-- use this attribute to check whether two customers who’ve signed up
-- with you are using the same card number, for example. For payment
-- methods that tokenize card information (Apple Pay, Google Pay), the
-- tokenized number might be provided instead of the underlying card
-- number.
--
--
-- - Starting May 1, 2021, card fingerprint in India for Connect will
-- change to allow two fingerprints for the same card --- one for India
-- and one for the rest of the world.*
--
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodCardFingerprint] :: PaymentMethodCard -> Maybe Text
-- | funding: Card funding type. Can be `credit`, `debit`, `prepaid`, or
-- `unknown`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodCardFunding] :: PaymentMethodCard -> Text
-- | generated_from: Details of the original PaymentMethod that created
-- this object.
[paymentMethodCardGeneratedFrom] :: PaymentMethodCard -> Maybe PaymentMethodCardGeneratedFrom'
-- | last4: The last four digits of the card.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodCardLast4] :: PaymentMethodCard -> Text
-- | networks: Contains information about card networks that can be used to
-- process the payment.
[paymentMethodCardNetworks] :: PaymentMethodCard -> Maybe PaymentMethodCardNetworks'
-- | three_d_secure_usage: Contains details on how this Card maybe be used
-- for 3D Secure authentication.
[paymentMethodCardThreeDSecureUsage] :: PaymentMethodCard -> Maybe PaymentMethodCardThreeDSecureUsage'
-- | wallet: If this Card is part of a card wallet, this contains the
-- details of the card wallet.
[paymentMethodCardWallet] :: PaymentMethodCard -> Maybe PaymentMethodCardWallet'
-- | Create a new PaymentMethodCard with all required fields.
mkPaymentMethodCard :: Text -> Int -> Int -> Text -> Text -> PaymentMethodCard
-- | 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.
data PaymentMethodCardChecks'
PaymentMethodCardChecks' :: Maybe Text -> Maybe Text -> Maybe Text -> PaymentMethodCardChecks'
-- | address_line1_check: If a address line1 was provided, results of the
-- check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodCardChecks'AddressLine1Check] :: PaymentMethodCardChecks' -> Maybe Text
-- | address_postal_code_check: If a address postal code was provided,
-- results of the check, one of `pass`, `fail`, `unavailable`, or
-- `unchecked`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodCardChecks'AddressPostalCodeCheck] :: PaymentMethodCardChecks' -> Maybe Text
-- | cvc_check: If a CVC was provided, results of the check, one of `pass`,
-- `fail`, `unavailable`, or `unchecked`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodCardChecks'CvcCheck] :: PaymentMethodCardChecks' -> Maybe Text
-- | Create a new PaymentMethodCardChecks' with all required fields.
mkPaymentMethodCardChecks' :: PaymentMethodCardChecks'
-- | 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.
data PaymentMethodCardGeneratedFrom'
PaymentMethodCardGeneratedFrom' :: Maybe Text -> Maybe PaymentMethodCardGeneratedFrom'PaymentMethodDetails' -> Maybe PaymentMethodCardGeneratedFrom'SetupAttempt'Variants -> PaymentMethodCardGeneratedFrom'
-- | charge: The charge that created this object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodCardGeneratedFrom'Charge] :: PaymentMethodCardGeneratedFrom' -> Maybe Text
-- | payment_method_details: Transaction-specific details of the payment
-- method used in the payment.
[paymentMethodCardGeneratedFrom'PaymentMethodDetails] :: PaymentMethodCardGeneratedFrom' -> Maybe PaymentMethodCardGeneratedFrom'PaymentMethodDetails'
-- | setup_attempt: The ID of the SetupAttempt that generated this
-- PaymentMethod, if any.
[paymentMethodCardGeneratedFrom'SetupAttempt] :: PaymentMethodCardGeneratedFrom' -> Maybe PaymentMethodCardGeneratedFrom'SetupAttempt'Variants
-- | Create a new PaymentMethodCardGeneratedFrom' with all required
-- fields.
mkPaymentMethodCardGeneratedFrom' :: PaymentMethodCardGeneratedFrom'
-- | 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.
data PaymentMethodCardGeneratedFrom'PaymentMethodDetails'
PaymentMethodCardGeneratedFrom'PaymentMethodDetails' :: Maybe PaymentMethodDetailsCardPresent -> Maybe Text -> PaymentMethodCardGeneratedFrom'PaymentMethodDetails'
-- | card_present:
[paymentMethodCardGeneratedFrom'PaymentMethodDetails'CardPresent] :: PaymentMethodCardGeneratedFrom'PaymentMethodDetails' -> Maybe PaymentMethodDetailsCardPresent
-- | type: The type of payment method transaction-specific details from the
-- transaction that generated this `card` payment method. Always
-- `card_present`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodCardGeneratedFrom'PaymentMethodDetails'Type] :: PaymentMethodCardGeneratedFrom'PaymentMethodDetails' -> Maybe Text
-- | Create a new
-- PaymentMethodCardGeneratedFrom'PaymentMethodDetails' with all
-- required fields.
mkPaymentMethodCardGeneratedFrom'PaymentMethodDetails' :: PaymentMethodCardGeneratedFrom'PaymentMethodDetails'
-- | 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.
data PaymentMethodCardGeneratedFrom'SetupAttempt'Variants
PaymentMethodCardGeneratedFrom'SetupAttempt'Text :: Text -> PaymentMethodCardGeneratedFrom'SetupAttempt'Variants
PaymentMethodCardGeneratedFrom'SetupAttempt'SetupAttempt :: SetupAttempt -> PaymentMethodCardGeneratedFrom'SetupAttempt'Variants
-- | 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.
data PaymentMethodCardNetworks'
PaymentMethodCardNetworks' :: Maybe [Text] -> Maybe Text -> PaymentMethodCardNetworks'
-- | available: All available networks for the card.
[paymentMethodCardNetworks'Available] :: PaymentMethodCardNetworks' -> Maybe [Text]
-- | preferred: The preferred network for the card.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodCardNetworks'Preferred] :: PaymentMethodCardNetworks' -> Maybe Text
-- | Create a new PaymentMethodCardNetworks' with all required
-- fields.
mkPaymentMethodCardNetworks' :: PaymentMethodCardNetworks'
-- | 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.
data PaymentMethodCardThreeDSecureUsage'
PaymentMethodCardThreeDSecureUsage' :: Maybe Bool -> PaymentMethodCardThreeDSecureUsage'
-- | supported: Whether 3D Secure is supported on this card.
[paymentMethodCardThreeDSecureUsage'Supported] :: PaymentMethodCardThreeDSecureUsage' -> Maybe Bool
-- | Create a new PaymentMethodCardThreeDSecureUsage' with all
-- required fields.
mkPaymentMethodCardThreeDSecureUsage' :: PaymentMethodCardThreeDSecureUsage'
-- | 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.
data PaymentMethodCardWallet'
PaymentMethodCardWallet' :: Maybe PaymentMethodCardWalletAmexExpressCheckout -> Maybe PaymentMethodCardWalletApplePay -> Maybe Text -> Maybe PaymentMethodCardWalletGooglePay -> Maybe PaymentMethodCardWalletMasterpass -> Maybe PaymentMethodCardWalletSamsungPay -> Maybe PaymentMethodCardWallet'Type' -> Maybe PaymentMethodCardWalletVisaCheckout -> PaymentMethodCardWallet'
-- | amex_express_checkout:
[paymentMethodCardWallet'AmexExpressCheckout] :: PaymentMethodCardWallet' -> Maybe PaymentMethodCardWalletAmexExpressCheckout
-- | apple_pay:
[paymentMethodCardWallet'ApplePay] :: PaymentMethodCardWallet' -> Maybe PaymentMethodCardWalletApplePay
-- | dynamic_last4: (For tokenized numbers only.) The last four digits of
-- the device account number.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentMethodCardWallet'DynamicLast4] :: PaymentMethodCardWallet' -> Maybe Text
-- | google_pay:
[paymentMethodCardWallet'GooglePay] :: PaymentMethodCardWallet' -> Maybe PaymentMethodCardWalletGooglePay
-- | masterpass:
[paymentMethodCardWallet'Masterpass] :: PaymentMethodCardWallet' -> Maybe PaymentMethodCardWalletMasterpass
-- | samsung_pay:
[paymentMethodCardWallet'SamsungPay] :: PaymentMethodCardWallet' -> Maybe PaymentMethodCardWalletSamsungPay
-- | type: 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] :: PaymentMethodCardWallet' -> Maybe PaymentMethodCardWallet'Type'
-- | visa_checkout:
[paymentMethodCardWallet'VisaCheckout] :: PaymentMethodCardWallet' -> Maybe PaymentMethodCardWalletVisaCheckout
-- | Create a new PaymentMethodCardWallet' with all required fields.
mkPaymentMethodCardWallet' :: PaymentMethodCardWallet'
-- | 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.
data PaymentMethodCardWallet'Type'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PaymentMethodCardWallet'Type'Other :: Value -> PaymentMethodCardWallet'Type'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PaymentMethodCardWallet'Type'Typed :: Text -> PaymentMethodCardWallet'Type'
-- | Represents the JSON value "amex_express_checkout"
PaymentMethodCardWallet'Type'EnumAmexExpressCheckout :: PaymentMethodCardWallet'Type'
-- | Represents the JSON value "apple_pay"
PaymentMethodCardWallet'Type'EnumApplePay :: PaymentMethodCardWallet'Type'
-- | Represents the JSON value "google_pay"
PaymentMethodCardWallet'Type'EnumGooglePay :: PaymentMethodCardWallet'Type'
-- | Represents the JSON value "masterpass"
PaymentMethodCardWallet'Type'EnumMasterpass :: PaymentMethodCardWallet'Type'
-- | Represents the JSON value "samsung_pay"
PaymentMethodCardWallet'Type'EnumSamsungPay :: PaymentMethodCardWallet'Type'
-- | Represents the JSON value "visa_checkout"
PaymentMethodCardWallet'Type'EnumVisaCheckout :: PaymentMethodCardWallet'Type'
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodCard.PaymentMethodCardChecks'
instance GHC.Show.Show StripeAPI.Types.PaymentMethodCard.PaymentMethodCardChecks'
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodCard.PaymentMethodCardGeneratedFrom'PaymentMethodDetails'
instance GHC.Show.Show StripeAPI.Types.PaymentMethodCard.PaymentMethodCardGeneratedFrom'PaymentMethodDetails'
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodCard.PaymentMethodCardGeneratedFrom'SetupAttempt'Variants
instance GHC.Show.Show StripeAPI.Types.PaymentMethodCard.PaymentMethodCardGeneratedFrom'SetupAttempt'Variants
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodCard.PaymentMethodCardGeneratedFrom'
instance GHC.Show.Show StripeAPI.Types.PaymentMethodCard.PaymentMethodCardGeneratedFrom'
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodCard.PaymentMethodCardNetworks'
instance GHC.Show.Show StripeAPI.Types.PaymentMethodCard.PaymentMethodCardNetworks'
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodCard.PaymentMethodCardThreeDSecureUsage'
instance GHC.Show.Show StripeAPI.Types.PaymentMethodCard.PaymentMethodCardThreeDSecureUsage'
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodCard.PaymentMethodCardWallet'Type'
instance GHC.Show.Show StripeAPI.Types.PaymentMethodCard.PaymentMethodCardWallet'Type'
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodCard.PaymentMethodCardWallet'
instance GHC.Show.Show StripeAPI.Types.PaymentMethodCard.PaymentMethodCardWallet'
instance GHC.Classes.Eq StripeAPI.Types.PaymentMethodCard.PaymentMethodCard
instance GHC.Show.Show StripeAPI.Types.PaymentMethodCard.PaymentMethodCard
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodCard.PaymentMethodCard
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodCard.PaymentMethodCard
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodCard.PaymentMethodCardWallet'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodCard.PaymentMethodCardWallet'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodCard.PaymentMethodCardWallet'Type'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodCard.PaymentMethodCardWallet'Type'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodCard.PaymentMethodCardThreeDSecureUsage'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodCard.PaymentMethodCardThreeDSecureUsage'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodCard.PaymentMethodCardNetworks'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodCard.PaymentMethodCardNetworks'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodCard.PaymentMethodCardGeneratedFrom'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodCard.PaymentMethodCardGeneratedFrom'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodCard.PaymentMethodCardGeneratedFrom'SetupAttempt'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodCard.PaymentMethodCardGeneratedFrom'SetupAttempt'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodCard.PaymentMethodCardGeneratedFrom'PaymentMethodDetails'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodCard.PaymentMethodCardGeneratedFrom'PaymentMethodDetails'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentMethodCard.PaymentMethodCardChecks'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentMethodCard.PaymentMethodCardChecks'
-- | Contains the types generated from the schema ThreeDSecureUsage
module StripeAPI.Types.ThreeDSecureUsage
-- | Defines the object schema located at
-- components.schemas.three_d_secure_usage in the specification.
data ThreeDSecureUsage
ThreeDSecureUsage :: Bool -> ThreeDSecureUsage
-- | supported: Whether 3D Secure is supported on this card.
[threeDSecureUsageSupported] :: ThreeDSecureUsage -> Bool
-- | Create a new ThreeDSecureUsage with all required fields.
mkThreeDSecureUsage :: Bool -> ThreeDSecureUsage
instance GHC.Classes.Eq StripeAPI.Types.ThreeDSecureUsage.ThreeDSecureUsage
instance GHC.Show.Show StripeAPI.Types.ThreeDSecureUsage.ThreeDSecureUsage
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.ThreeDSecureUsage.ThreeDSecureUsage
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.ThreeDSecureUsage.ThreeDSecureUsage
-- | Contains the types generated from the schema Token
module StripeAPI.Types.Token
-- | Defines the object schema located at components.schemas.token
-- in the specification.
--
-- Tokenization is the process Stripe uses to collect sensitive card or
-- bank account details, or personally identifiable information (PII),
-- directly from your customers in a secure manner. A token representing
-- this information is returned to your server to use. You should use our
-- recommended payments integrations to perform this process
-- client-side. This ensures that no sensitive card data touches your
-- server, and allows your integration to operate in a PCI-compliant way.
--
-- If you cannot use client-side tokenization, you can also create tokens
-- using the API with either your publishable or secret API key. Keep in
-- mind that if your integration uses this method, you are responsible
-- for any PCI compliance that may be required, and you must keep your
-- secret API key safe. Unlike with client-side tokenization, your
-- customer's information is not sent directly to Stripe, so we cannot
-- determine how it is handled or stored.
--
-- Tokens cannot be stored or used more than once. To store card or bank
-- account information for later use, you can create Customer
-- objects or Custom accounts. Note that Radar, our
-- integrated solution for automatic fraud protection, performs best with
-- integrations that use client-side tokenization.
--
-- Related guide: Accept a payment
data Token
Token :: Maybe BankAccount -> Maybe Card -> Maybe Text -> Int -> Text -> Bool -> Text -> Bool -> Token
-- | bank_account: These bank accounts are payment methods on `Customer`
-- objects.
--
-- On the other hand External Accounts are transfer destinations
-- on `Account` objects for Custom accounts. They can be bank
-- accounts or debit cards as well, and are documented in the links
-- above.
--
-- Related guide: Bank Debits and Transfers.
[tokenBankAccount] :: Token -> Maybe BankAccount
-- | card: You can store multiple cards on a customer in order to charge
-- the customer later. You can also store multiple debit cards on a
-- recipient in order to transfer to those cards later.
--
-- Related guide: Card Payments with Sources.
[tokenCard] :: Token -> Maybe Card
-- | client_ip: IP address of the client that generated the token.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[tokenClientIp] :: Token -> Maybe Text
-- | created: Time at which the object was created. Measured in seconds
-- since the Unix epoch.
[tokenCreated] :: Token -> Int
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[tokenId] :: Token -> Text
-- | livemode: Has the value `true` if the object exists in live mode or
-- the value `false` if the object exists in test mode.
[tokenLivemode] :: Token -> Bool
-- | type: Type of the token: `account`, `bank_account`, `card`, or `pii`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[tokenType] :: Token -> Text
-- | used: Whether this token has already been used (tokens can be used
-- only once).
[tokenUsed] :: Token -> Bool
-- | Create a new Token with all required fields.
mkToken :: Int -> Text -> Bool -> Text -> Bool -> Token
instance GHC.Classes.Eq StripeAPI.Types.Token.Token
instance GHC.Show.Show StripeAPI.Types.Token.Token
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Token.Token
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Token.Token
-- | Contains the types generated from the schema Topup
module StripeAPI.Types.Topup
-- | Defines the object schema located at components.schemas.topup
-- in the specification.
--
-- To top up your Stripe balance, you create a top-up object. You can
-- retrieve individual top-ups, as well as list all top-ups. Top-ups are
-- identified by a unique, random ID.
--
-- Related guide: Topping Up your Platform Account.
data Topup
Topup :: Int -> Maybe TopupBalanceTransaction'Variants -> Int -> Text -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe Text -> Text -> Bool -> Object -> Source -> Maybe Text -> TopupStatus' -> Maybe Text -> Topup
-- | amount: Amount transferred.
[topupAmount] :: Topup -> Int
-- | balance_transaction: ID of the balance transaction that describes the
-- impact of this top-up on your account balance. May not be specified
-- depending on status of top-up.
[topupBalanceTransaction] :: Topup -> Maybe TopupBalanceTransaction'Variants
-- | created: Time at which the object was created. Measured in seconds
-- since the Unix epoch.
[topupCreated] :: Topup -> Int
-- | currency: Three-letter ISO currency code, in lowercase. Must be
-- a supported currency.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[topupCurrency] :: Topup -> Text
-- | description: An arbitrary string attached to the object. Often useful
-- for displaying to users.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[topupDescription] :: Topup -> Maybe Text
-- | expected_availability_date: Date the funds are expected to arrive in
-- your Stripe account for payouts. This factors in delays like weekends
-- or bank holidays. May not be specified depending on status of top-up.
[topupExpectedAvailabilityDate] :: Topup -> Maybe Int
-- | failure_code: Error code explaining reason for top-up failure if
-- available (see the errors section for a list of codes).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[topupFailureCode] :: Topup -> Maybe Text
-- | failure_message: Message to user further explaining reason for top-up
-- failure if available.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[topupFailureMessage] :: Topup -> Maybe Text
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[topupId] :: Topup -> Text
-- | livemode: Has the value `true` if the object exists in live mode or
-- the value `false` if the object exists in test mode.
[topupLivemode] :: Topup -> Bool
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format.
[topupMetadata] :: Topup -> Object
-- | source: `Source` objects allow you to accept a variety of payment
-- methods. They represent a customer's payment instrument, and can be
-- used with the Stripe API just like a `Card` object: once chargeable,
-- they can be charged, or can be attached to customers.
--
-- Related guides: Sources API and Sources & Customers.
[topupSource] :: Topup -> Source
-- | statement_descriptor: Extra information about a top-up. This will
-- appear on your source's bank statement. It must contain at least one
-- letter.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[topupStatementDescriptor] :: Topup -> Maybe Text
-- | status: The status of the top-up is either `canceled`, `failed`,
-- `pending`, `reversed`, or `succeeded`.
[topupStatus] :: Topup -> TopupStatus'
-- | transfer_group: A string that identifies this top-up as part of a
-- group.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[topupTransferGroup] :: Topup -> Maybe Text
-- | Create a new Topup with all required fields.
mkTopup :: Int -> Int -> Text -> Text -> Bool -> Object -> Source -> TopupStatus' -> Topup
-- | Defines the oneOf schema located at
-- components.schemas.topup.properties.balance_transaction.anyOf
-- in the specification.
--
-- ID of the balance transaction that describes the impact of this top-up
-- on your account balance. May not be specified depending on status of
-- top-up.
data TopupBalanceTransaction'Variants
TopupBalanceTransaction'Text :: Text -> TopupBalanceTransaction'Variants
TopupBalanceTransaction'BalanceTransaction :: BalanceTransaction -> TopupBalanceTransaction'Variants
-- | Defines the enum schema located at
-- components.schemas.topup.properties.status in the
-- specification.
--
-- The status of the top-up is either `canceled`, `failed`, `pending`,
-- `reversed`, or `succeeded`.
data TopupStatus'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
TopupStatus'Other :: Value -> TopupStatus'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
TopupStatus'Typed :: Text -> TopupStatus'
-- | Represents the JSON value "canceled"
TopupStatus'EnumCanceled :: TopupStatus'
-- | Represents the JSON value "failed"
TopupStatus'EnumFailed :: TopupStatus'
-- | Represents the JSON value "pending"
TopupStatus'EnumPending :: TopupStatus'
-- | Represents the JSON value "reversed"
TopupStatus'EnumReversed :: TopupStatus'
-- | Represents the JSON value "succeeded"
TopupStatus'EnumSucceeded :: TopupStatus'
instance GHC.Classes.Eq StripeAPI.Types.Topup.TopupBalanceTransaction'Variants
instance GHC.Show.Show StripeAPI.Types.Topup.TopupBalanceTransaction'Variants
instance GHC.Classes.Eq StripeAPI.Types.Topup.TopupStatus'
instance GHC.Show.Show StripeAPI.Types.Topup.TopupStatus'
instance GHC.Classes.Eq StripeAPI.Types.Topup.Topup
instance GHC.Show.Show StripeAPI.Types.Topup.Topup
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Topup.Topup
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Topup.Topup
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Topup.TopupStatus'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Topup.TopupStatus'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Topup.TopupBalanceTransaction'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Topup.TopupBalanceTransaction'Variants
-- | Contains the types generated from the schema Charge
module StripeAPI.Types.Charge
-- | Defines the object schema located at
-- components.schemas.charge in the specification.
--
-- To charge a credit or a debit card, you create a `Charge` object. You
-- can retrieve and refund individual charges as well as list all
-- charges. Charges are identified by a unique, random ID.
--
-- Related guide: Accept a payment with the Charges API.
data Charge
Charge :: Int -> Int -> Int -> Maybe ChargeApplication'Variants -> Maybe ChargeApplicationFee'Variants -> Maybe Int -> Maybe ChargeBalanceTransaction'Variants -> BillingDetails -> Maybe Text -> Bool -> Int -> Text -> Maybe ChargeCustomer'Variants -> Maybe Text -> Bool -> Maybe Text -> Maybe Text -> Maybe ChargeFraudDetails' -> Text -> Maybe ChargeInvoice'Variants -> Bool -> Object -> Maybe ChargeOnBehalfOf'Variants -> Maybe ChargeOrder'Variants -> Maybe ChargeOutcome' -> Bool -> Maybe ChargePaymentIntent'Variants -> Maybe Text -> Maybe ChargePaymentMethodDetails' -> Maybe Text -> Maybe Text -> Maybe Text -> Bool -> ChargeRefunds' -> Maybe ChargeReview'Variants -> Maybe ChargeShipping' -> Maybe ChargeSourceTransfer'Variants -> Maybe Text -> Maybe Text -> Text -> Maybe ChargeTransfer'Variants -> Maybe ChargeTransferData' -> Maybe Text -> Charge
-- | amount: Amount intended to be collected by this payment. A positive
-- integer representing how much to charge in the smallest currency
-- unit (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a
-- zero-decimal currency). The minimum amount is $0.50 US or
-- equivalent in charge currency. The amount value supports up to
-- eight digits (e.g., a value of 99999999 for a USD charge of
-- $999,999.99).
[chargeAmount] :: Charge -> Int
-- | amount_captured: Amount in %s captured (can be less than the amount
-- attribute on the charge if a partial capture was made).
[chargeAmountCaptured] :: Charge -> Int
-- | amount_refunded: Amount in %s refunded (can be less than the amount
-- attribute on the charge if a partial refund was issued).
[chargeAmountRefunded] :: Charge -> Int
-- | application: ID of the Connect application that created the charge.
[chargeApplication] :: Charge -> Maybe ChargeApplication'Variants
-- | application_fee: The application fee (if any) for the charge. See
-- the Connect documentation for details.
[chargeApplicationFee] :: Charge -> Maybe ChargeApplicationFee'Variants
-- | application_fee_amount: The amount of the application fee (if any)
-- requested for the charge. See the Connect documentation for
-- details.
[chargeApplicationFeeAmount] :: Charge -> Maybe Int
-- | balance_transaction: ID of the balance transaction that describes the
-- impact of this charge on your account balance (not including refunds
-- or disputes).
[chargeBalanceTransaction] :: Charge -> Maybe ChargeBalanceTransaction'Variants
-- | billing_details:
[chargeBillingDetails] :: Charge -> BillingDetails
-- | calculated_statement_descriptor: The full statement descriptor that is
-- passed to card networks, and that is displayed on your customers'
-- credit card and bank statements. Allows you to see what the statement
-- descriptor looks like after the static and dynamic portions are
-- combined.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[chargeCalculatedStatementDescriptor] :: Charge -> Maybe Text
-- | captured: If the charge was created without capturing, this Boolean
-- represents whether it is still uncaptured or has since been captured.
[chargeCaptured] :: Charge -> Bool
-- | created: Time at which the object was created. Measured in seconds
-- since the Unix epoch.
[chargeCreated] :: Charge -> Int
-- | currency: Three-letter ISO currency code, in lowercase. Must be
-- a supported currency.
[chargeCurrency] :: Charge -> Text
-- | customer: ID of the customer this charge is for if one exists.
[chargeCustomer] :: Charge -> Maybe ChargeCustomer'Variants
-- | description: An arbitrary string attached to the object. Often useful
-- for displaying to users.
--
-- Constraints:
--
--
-- - Maximum length of 40000
--
[chargeDescription] :: Charge -> Maybe Text
-- | disputed: Whether the charge has been disputed.
[chargeDisputed] :: Charge -> Bool
-- | failure_code: Error code explaining reason for charge failure if
-- available (see the errors section for a list of codes).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[chargeFailureCode] :: Charge -> Maybe Text
-- | failure_message: Message to user further explaining reason for charge
-- failure if available.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[chargeFailureMessage] :: Charge -> Maybe Text
-- | fraud_details: Information on fraud assessments for the charge.
[chargeFraudDetails] :: Charge -> Maybe ChargeFraudDetails'
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[chargeId] :: Charge -> Text
-- | invoice: ID of the invoice this charge is for if one exists.
[chargeInvoice] :: Charge -> Maybe ChargeInvoice'Variants
-- | livemode: Has the value `true` if the object exists in live mode or
-- the value `false` if the object exists in test mode.
[chargeLivemode] :: Charge -> Bool
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format.
[chargeMetadata] :: Charge -> Object
-- | on_behalf_of: The account (if any) the charge was made on behalf of
-- without triggering an automatic transfer. See the Connect
-- documentation for details.
[chargeOnBehalfOf] :: Charge -> Maybe ChargeOnBehalfOf'Variants
-- | order: ID of the order this charge is for if one exists.
[chargeOrder] :: Charge -> Maybe ChargeOrder'Variants
-- | outcome: Details about whether the payment was accepted, and why. See
-- understanding declines for details.
[chargeOutcome] :: Charge -> Maybe ChargeOutcome'
-- | paid: `true` if the charge succeeded, or was successfully authorized
-- for later capture.
[chargePaid] :: Charge -> Bool
-- | payment_intent: ID of the PaymentIntent associated with this charge,
-- if one exists.
[chargePaymentIntent] :: Charge -> Maybe ChargePaymentIntent'Variants
-- | payment_method: ID of the payment method used in this charge.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[chargePaymentMethod] :: Charge -> Maybe Text
-- | payment_method_details: Details about the payment method at the time
-- of the transaction.
[chargePaymentMethodDetails] :: Charge -> Maybe ChargePaymentMethodDetails'
-- | receipt_email: This is the email address that the receipt for this
-- charge was sent to.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[chargeReceiptEmail] :: Charge -> Maybe Text
-- | receipt_number: This is the transaction number that appears on email
-- receipts sent for this charge. This attribute will be `null` until a
-- receipt has been sent.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[chargeReceiptNumber] :: Charge -> Maybe Text
-- | receipt_url: This is the URL to view the receipt for this charge. The
-- receipt is kept up-to-date to the latest state of the charge,
-- including any refunds. If the charge is for an Invoice, the receipt
-- will be stylized as an Invoice receipt.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[chargeReceiptUrl] :: Charge -> Maybe Text
-- | refunded: Whether the charge has been fully refunded. If the charge is
-- only partially refunded, this attribute will still be false.
[chargeRefunded] :: Charge -> Bool
-- | refunds: A list of refunds that have been applied to the charge.
[chargeRefunds] :: Charge -> ChargeRefunds'
-- | review: ID of the review associated with this charge if one exists.
[chargeReview] :: Charge -> Maybe ChargeReview'Variants
-- | shipping: Shipping information for the charge.
[chargeShipping] :: Charge -> Maybe ChargeShipping'
-- | source_transfer: The transfer ID which created this charge. Only
-- present if the charge came from another Stripe account. See the
-- Connect documentation for details.
[chargeSourceTransfer] :: Charge -> Maybe ChargeSourceTransfer'Variants
-- | statement_descriptor: For card charges, use
-- `statement_descriptor_suffix` instead. Otherwise, you can use this
-- value as the complete description of a charge on your customers’
-- statements. Must contain at least one letter, maximum 22 characters.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[chargeStatementDescriptor] :: Charge -> Maybe Text
-- | statement_descriptor_suffix: Provides information about the charge
-- that customers see on their statements. Concatenated with the prefix
-- (shortened descriptor) or statement descriptor that’s set on the
-- account to form the complete statement descriptor. Maximum 22
-- characters for the concatenated descriptor.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[chargeStatementDescriptorSuffix] :: Charge -> Maybe Text
-- | status: The status of the payment is either `succeeded`, `pending`, or
-- `failed`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[chargeStatus] :: Charge -> Text
-- | transfer: ID of the transfer to the `destination` account (only
-- applicable if the charge was created using the `destination`
-- parameter).
[chargeTransfer] :: Charge -> Maybe ChargeTransfer'Variants
-- | transfer_data: An optional dictionary including the account to
-- automatically transfer to as part of a destination charge. See the
-- Connect documentation for details.
[chargeTransferData] :: Charge -> Maybe ChargeTransferData'
-- | transfer_group: A string that identifies this transaction as part of a
-- group. See the Connect documentation for details.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[chargeTransferGroup] :: Charge -> Maybe Text
-- | Create a new Charge with all required fields.
mkCharge :: Int -> Int -> Int -> BillingDetails -> Bool -> Int -> Text -> Bool -> Text -> Bool -> Object -> Bool -> Bool -> ChargeRefunds' -> Text -> Charge
-- | Defines the oneOf schema located at
-- components.schemas.charge.properties.application.anyOf in the
-- specification.
--
-- ID of the Connect application that created the charge.
data ChargeApplication'Variants
ChargeApplication'Text :: Text -> ChargeApplication'Variants
ChargeApplication'Application :: Application -> ChargeApplication'Variants
-- | Defines the oneOf schema located at
-- components.schemas.charge.properties.application_fee.anyOf in
-- the specification.
--
-- The application fee (if any) for the charge. See the Connect
-- documentation for details.
data ChargeApplicationFee'Variants
ChargeApplicationFee'Text :: Text -> ChargeApplicationFee'Variants
ChargeApplicationFee'ApplicationFee :: ApplicationFee -> ChargeApplicationFee'Variants
-- | Defines the oneOf schema located at
-- components.schemas.charge.properties.balance_transaction.anyOf
-- in the specification.
--
-- ID of the balance transaction that describes the impact of this charge
-- on your account balance (not including refunds or disputes).
data ChargeBalanceTransaction'Variants
ChargeBalanceTransaction'Text :: Text -> ChargeBalanceTransaction'Variants
ChargeBalanceTransaction'BalanceTransaction :: BalanceTransaction -> ChargeBalanceTransaction'Variants
-- | Defines the oneOf schema located at
-- components.schemas.charge.properties.customer.anyOf in the
-- specification.
--
-- ID of the customer this charge is for if one exists.
data ChargeCustomer'Variants
ChargeCustomer'Text :: Text -> ChargeCustomer'Variants
ChargeCustomer'Customer :: Customer -> ChargeCustomer'Variants
ChargeCustomer'DeletedCustomer :: DeletedCustomer -> ChargeCustomer'Variants
-- | Defines the object schema located at
-- components.schemas.charge.properties.fraud_details.anyOf in
-- the specification.
--
-- Information on fraud assessments for the charge.
data ChargeFraudDetails'
ChargeFraudDetails' :: Maybe Text -> Maybe Text -> ChargeFraudDetails'
-- | stripe_report: Assessments from Stripe. If set, the value is
-- `fraudulent`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[chargeFraudDetails'StripeReport] :: ChargeFraudDetails' -> Maybe Text
-- | user_report: Assessments reported by you. If set, possible values of
-- are `safe` and `fraudulent`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[chargeFraudDetails'UserReport] :: ChargeFraudDetails' -> Maybe Text
-- | Create a new ChargeFraudDetails' with all required fields.
mkChargeFraudDetails' :: ChargeFraudDetails'
-- | Defines the oneOf schema located at
-- components.schemas.charge.properties.invoice.anyOf in the
-- specification.
--
-- ID of the invoice this charge is for if one exists.
data ChargeInvoice'Variants
ChargeInvoice'Text :: Text -> ChargeInvoice'Variants
ChargeInvoice'Invoice :: Invoice -> ChargeInvoice'Variants
-- | Defines the oneOf schema located at
-- components.schemas.charge.properties.on_behalf_of.anyOf in
-- the specification.
--
-- The account (if any) the charge was made on behalf of without
-- triggering an automatic transfer. See the Connect documentation
-- for details.
data ChargeOnBehalfOf'Variants
ChargeOnBehalfOf'Text :: Text -> ChargeOnBehalfOf'Variants
ChargeOnBehalfOf'Account :: Account -> ChargeOnBehalfOf'Variants
-- | Defines the oneOf schema located at
-- components.schemas.charge.properties.order.anyOf in the
-- specification.
--
-- ID of the order this charge is for if one exists.
data ChargeOrder'Variants
ChargeOrder'Text :: Text -> ChargeOrder'Variants
ChargeOrder'Order :: Order -> ChargeOrder'Variants
-- | Defines the object schema located at
-- components.schemas.charge.properties.outcome.anyOf in the
-- specification.
--
-- Details about whether the payment was accepted, and why. See
-- understanding declines for details.
data ChargeOutcome'
ChargeOutcome' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Int -> Maybe ChargeOutcome'Rule'Variants -> Maybe Text -> Maybe Text -> ChargeOutcome'
-- | network_status: Possible values are `approved_by_network`,
-- `declined_by_network`, `not_sent_to_network`, and
-- `reversed_after_approval`. The value `reversed_after_approval`
-- indicates the payment was blocked by Stripe after bank
-- authorization, and may temporarily appear as "pending" on a
-- cardholder's statement.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[chargeOutcome'NetworkStatus] :: ChargeOutcome' -> Maybe Text
-- | reason: An enumerated value providing a more detailed explanation of
-- the outcome's `type`. Charges blocked by Radar's default block rule
-- have the value `highest_risk_level`. Charges placed in review by
-- Radar's default review rule have the value `elevated_risk_level`.
-- Charges authorized, blocked, or placed in review by custom rules have
-- the value `rule`. See understanding declines for more details.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[chargeOutcome'Reason] :: ChargeOutcome' -> Maybe Text
-- | risk_level: Stripe Radar's evaluation of the riskiness of the payment.
-- Possible values for evaluated payments are `normal`, `elevated`,
-- `highest`. For non-card payments, and card-based payments predating
-- the public assignment of risk levels, this field will have the value
-- `not_assessed`. In the event of an error in the evaluation, this field
-- will have the value `unknown`. This field is only available with
-- Radar.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[chargeOutcome'RiskLevel] :: ChargeOutcome' -> Maybe Text
-- | risk_score: Stripe Radar's evaluation of the riskiness of the payment.
-- Possible values for evaluated payments are between 0 and 100. For
-- non-card payments, card-based payments predating the public assignment
-- of risk scores, or in the event of an error during evaluation, this
-- field will not be present. This field is only available with Radar for
-- Fraud Teams.
[chargeOutcome'RiskScore] :: ChargeOutcome' -> Maybe Int
-- | rule: The ID of the Radar rule that matched the payment, if
-- applicable.
[chargeOutcome'Rule] :: ChargeOutcome' -> Maybe ChargeOutcome'Rule'Variants
-- | seller_message: A human-readable description of the outcome type and
-- reason, designed for you (the recipient of the payment), not your
-- customer.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[chargeOutcome'SellerMessage] :: ChargeOutcome' -> Maybe Text
-- | type: Possible values are `authorized`, `manual_review`,
-- `issuer_declined`, `blocked`, and `invalid`. See understanding
-- declines and Radar reviews for details.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[chargeOutcome'Type] :: ChargeOutcome' -> Maybe Text
-- | Create a new ChargeOutcome' with all required fields.
mkChargeOutcome' :: ChargeOutcome'
-- | Defines the oneOf schema located at
-- components.schemas.charge.properties.outcome.anyOf.properties.rule.anyOf
-- in the specification.
--
-- The ID of the Radar rule that matched the payment, if applicable.
data ChargeOutcome'Rule'Variants
ChargeOutcome'Rule'Text :: Text -> ChargeOutcome'Rule'Variants
ChargeOutcome'Rule'Rule :: Rule -> ChargeOutcome'Rule'Variants
-- | Defines the oneOf schema located at
-- components.schemas.charge.properties.payment_intent.anyOf in
-- the specification.
--
-- ID of the PaymentIntent associated with this charge, if one exists.
data ChargePaymentIntent'Variants
ChargePaymentIntent'Text :: Text -> ChargePaymentIntent'Variants
ChargePaymentIntent'PaymentIntent :: PaymentIntent -> ChargePaymentIntent'Variants
-- | Defines the object schema located at
-- components.schemas.charge.properties.payment_method_details.anyOf
-- in the specification.
--
-- Details about the payment method at the time of the transaction.
data ChargePaymentMethodDetails'
ChargePaymentMethodDetails' :: Maybe PaymentMethodDetailsAchCreditTransfer -> Maybe PaymentMethodDetailsAchDebit -> Maybe PaymentMethodDetailsAcssDebit -> Maybe PaymentMethodDetailsAfterpayClearpay -> Maybe PaymentFlowsPrivatePaymentMethodsAlipayDetails -> Maybe PaymentMethodDetailsAuBecsDebit -> Maybe PaymentMethodDetailsBacsDebit -> Maybe PaymentMethodDetailsBancontact -> Maybe PaymentMethodDetailsBoleto -> Maybe PaymentMethodDetailsCard -> Maybe PaymentMethodDetailsCardPresent -> Maybe PaymentMethodDetailsEps -> Maybe PaymentMethodDetailsFpx -> Maybe PaymentMethodDetailsGiropay -> Maybe PaymentMethodDetailsGrabpay -> Maybe PaymentMethodDetailsIdeal -> Maybe PaymentMethodDetailsInteracPresent -> Maybe PaymentMethodDetailsKlarna -> Maybe PaymentMethodDetailsMultibanco -> Maybe PaymentMethodDetailsOxxo -> Maybe PaymentMethodDetailsP24 -> Maybe PaymentMethodDetailsSepaDebit -> Maybe PaymentMethodDetailsSofort -> Maybe PaymentMethodDetailsStripeAccount -> Maybe Text -> Maybe PaymentMethodDetailsWechat -> ChargePaymentMethodDetails'
-- | ach_credit_transfer:
[chargePaymentMethodDetails'AchCreditTransfer] :: ChargePaymentMethodDetails' -> Maybe PaymentMethodDetailsAchCreditTransfer
-- | ach_debit:
[chargePaymentMethodDetails'AchDebit] :: ChargePaymentMethodDetails' -> Maybe PaymentMethodDetailsAchDebit
-- | acss_debit:
[chargePaymentMethodDetails'AcssDebit] :: ChargePaymentMethodDetails' -> Maybe PaymentMethodDetailsAcssDebit
-- | afterpay_clearpay:
[chargePaymentMethodDetails'AfterpayClearpay] :: ChargePaymentMethodDetails' -> Maybe PaymentMethodDetailsAfterpayClearpay
-- | alipay:
[chargePaymentMethodDetails'Alipay] :: ChargePaymentMethodDetails' -> Maybe PaymentFlowsPrivatePaymentMethodsAlipayDetails
-- | au_becs_debit:
[chargePaymentMethodDetails'AuBecsDebit] :: ChargePaymentMethodDetails' -> Maybe PaymentMethodDetailsAuBecsDebit
-- | bacs_debit:
[chargePaymentMethodDetails'BacsDebit] :: ChargePaymentMethodDetails' -> Maybe PaymentMethodDetailsBacsDebit
-- | bancontact:
[chargePaymentMethodDetails'Bancontact] :: ChargePaymentMethodDetails' -> Maybe PaymentMethodDetailsBancontact
-- | boleto:
[chargePaymentMethodDetails'Boleto] :: ChargePaymentMethodDetails' -> Maybe PaymentMethodDetailsBoleto
-- | card:
[chargePaymentMethodDetails'Card] :: ChargePaymentMethodDetails' -> Maybe PaymentMethodDetailsCard
-- | card_present:
[chargePaymentMethodDetails'CardPresent] :: ChargePaymentMethodDetails' -> Maybe PaymentMethodDetailsCardPresent
-- | eps:
[chargePaymentMethodDetails'Eps] :: ChargePaymentMethodDetails' -> Maybe PaymentMethodDetailsEps
-- | fpx:
[chargePaymentMethodDetails'Fpx] :: ChargePaymentMethodDetails' -> Maybe PaymentMethodDetailsFpx
-- | giropay:
[chargePaymentMethodDetails'Giropay] :: ChargePaymentMethodDetails' -> Maybe PaymentMethodDetailsGiropay
-- | grabpay:
[chargePaymentMethodDetails'Grabpay] :: ChargePaymentMethodDetails' -> Maybe PaymentMethodDetailsGrabpay
-- | ideal:
[chargePaymentMethodDetails'Ideal] :: ChargePaymentMethodDetails' -> Maybe PaymentMethodDetailsIdeal
-- | interac_present:
[chargePaymentMethodDetails'InteracPresent] :: ChargePaymentMethodDetails' -> Maybe PaymentMethodDetailsInteracPresent
-- | klarna:
[chargePaymentMethodDetails'Klarna] :: ChargePaymentMethodDetails' -> Maybe PaymentMethodDetailsKlarna
-- | multibanco:
[chargePaymentMethodDetails'Multibanco] :: ChargePaymentMethodDetails' -> Maybe PaymentMethodDetailsMultibanco
-- | oxxo:
[chargePaymentMethodDetails'Oxxo] :: ChargePaymentMethodDetails' -> Maybe PaymentMethodDetailsOxxo
-- | p24:
[chargePaymentMethodDetails'P24] :: ChargePaymentMethodDetails' -> Maybe PaymentMethodDetailsP24
-- | sepa_debit:
[chargePaymentMethodDetails'SepaDebit] :: ChargePaymentMethodDetails' -> Maybe PaymentMethodDetailsSepaDebit
-- | sofort:
[chargePaymentMethodDetails'Sofort] :: ChargePaymentMethodDetails' -> Maybe PaymentMethodDetailsSofort
-- | stripe_account:
[chargePaymentMethodDetails'StripeAccount] :: ChargePaymentMethodDetails' -> Maybe PaymentMethodDetailsStripeAccount
-- | type: The type of transaction-specific details of the payment method
-- used in the payment, one of `ach_credit_transfer`, `ach_debit`,
-- `acss_debit`, `alipay`, `au_becs_debit`, `bancontact`, `card`,
-- `card_present`, `eps`, `giropay`, `ideal`, `klarna`, `multibanco`,
-- `p24`, `sepa_debit`, `sofort`, `stripe_account`, or `wechat`. An
-- additional hash is included on `payment_method_details` with a name
-- matching this value. It contains information specific to the payment
-- method.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[chargePaymentMethodDetails'Type] :: ChargePaymentMethodDetails' -> Maybe Text
-- | wechat:
[chargePaymentMethodDetails'Wechat] :: ChargePaymentMethodDetails' -> Maybe PaymentMethodDetailsWechat
-- | Create a new ChargePaymentMethodDetails' with all required
-- fields.
mkChargePaymentMethodDetails' :: ChargePaymentMethodDetails'
-- | Defines the object schema located at
-- components.schemas.charge.properties.refunds in the
-- specification.
--
-- A list of refunds that have been applied to the charge.
data ChargeRefunds'
ChargeRefunds' :: [Refund] -> Bool -> Text -> ChargeRefunds'
-- | data: Details about each object.
[chargeRefunds'Data] :: ChargeRefunds' -> [Refund]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[chargeRefunds'HasMore] :: ChargeRefunds' -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[chargeRefunds'Url] :: ChargeRefunds' -> Text
-- | Create a new ChargeRefunds' with all required fields.
mkChargeRefunds' :: [Refund] -> Bool -> Text -> ChargeRefunds'
-- | Defines the oneOf schema located at
-- components.schemas.charge.properties.review.anyOf in the
-- specification.
--
-- ID of the review associated with this charge if one exists.
data ChargeReview'Variants
ChargeReview'Text :: Text -> ChargeReview'Variants
ChargeReview'Review :: Review -> ChargeReview'Variants
-- | Defines the object schema located at
-- components.schemas.charge.properties.shipping.anyOf in the
-- specification.
--
-- Shipping information for the charge.
data ChargeShipping'
ChargeShipping' :: Maybe Address -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> ChargeShipping'
-- | address:
[chargeShipping'Address] :: ChargeShipping' -> Maybe Address
-- | carrier: The delivery service that shipped a physical product, such as
-- Fedex, UPS, USPS, etc.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[chargeShipping'Carrier] :: ChargeShipping' -> Maybe Text
-- | name: Recipient name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[chargeShipping'Name] :: ChargeShipping' -> Maybe Text
-- | phone: Recipient phone (including extension).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[chargeShipping'Phone] :: ChargeShipping' -> Maybe Text
-- | tracking_number: The tracking number for a physical product, obtained
-- from the delivery service. If multiple tracking numbers were generated
-- for this purchase, please separate them with commas.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[chargeShipping'TrackingNumber] :: ChargeShipping' -> Maybe Text
-- | Create a new ChargeShipping' with all required fields.
mkChargeShipping' :: ChargeShipping'
-- | Defines the oneOf schema located at
-- components.schemas.charge.properties.source_transfer.anyOf in
-- the specification.
--
-- The transfer ID which created this charge. Only present if the charge
-- came from another Stripe account. See the Connect documentation
-- for details.
data ChargeSourceTransfer'Variants
ChargeSourceTransfer'Text :: Text -> ChargeSourceTransfer'Variants
ChargeSourceTransfer'Transfer :: Transfer -> ChargeSourceTransfer'Variants
-- | Defines the oneOf schema located at
-- components.schemas.charge.properties.transfer.anyOf in the
-- specification.
--
-- ID of the transfer to the `destination` account (only applicable if
-- the charge was created using the `destination` parameter).
data ChargeTransfer'Variants
ChargeTransfer'Text :: Text -> ChargeTransfer'Variants
ChargeTransfer'Transfer :: Transfer -> ChargeTransfer'Variants
-- | Defines the object schema located at
-- components.schemas.charge.properties.transfer_data.anyOf in
-- the specification.
--
-- An optional dictionary including the account to automatically transfer
-- to as part of a destination charge. See the Connect
-- documentation for details.
data ChargeTransferData'
ChargeTransferData' :: Maybe Int -> Maybe ChargeTransferData'Destination'Variants -> ChargeTransferData'
-- | amount: The amount transferred to the destination account, if
-- specified. By default, the entire charge amount is transferred to the
-- destination account.
[chargeTransferData'Amount] :: ChargeTransferData' -> Maybe Int
-- | destination: ID of an existing, connected Stripe account to transfer
-- funds to if `transfer_data` was specified in the charge request.
[chargeTransferData'Destination] :: ChargeTransferData' -> Maybe ChargeTransferData'Destination'Variants
-- | Create a new ChargeTransferData' with all required fields.
mkChargeTransferData' :: ChargeTransferData'
-- | Defines the oneOf schema located at
-- components.schemas.charge.properties.transfer_data.anyOf.properties.destination.anyOf
-- in the specification.
--
-- ID of an existing, connected Stripe account to transfer funds to if
-- `transfer_data` was specified in the charge request.
data ChargeTransferData'Destination'Variants
ChargeTransferData'Destination'Text :: Text -> ChargeTransferData'Destination'Variants
ChargeTransferData'Destination'Account :: Account -> ChargeTransferData'Destination'Variants
instance GHC.Classes.Eq StripeAPI.Types.Charge.ChargeApplication'Variants
instance GHC.Show.Show StripeAPI.Types.Charge.ChargeApplication'Variants
instance GHC.Classes.Eq StripeAPI.Types.Charge.ChargeApplicationFee'Variants
instance GHC.Show.Show StripeAPI.Types.Charge.ChargeApplicationFee'Variants
instance GHC.Classes.Eq StripeAPI.Types.Charge.ChargeBalanceTransaction'Variants
instance GHC.Show.Show StripeAPI.Types.Charge.ChargeBalanceTransaction'Variants
instance GHC.Classes.Eq StripeAPI.Types.Charge.ChargeCustomer'Variants
instance GHC.Show.Show StripeAPI.Types.Charge.ChargeCustomer'Variants
instance GHC.Classes.Eq StripeAPI.Types.Charge.ChargeFraudDetails'
instance GHC.Show.Show StripeAPI.Types.Charge.ChargeFraudDetails'
instance GHC.Classes.Eq StripeAPI.Types.Charge.ChargeInvoice'Variants
instance GHC.Show.Show StripeAPI.Types.Charge.ChargeInvoice'Variants
instance GHC.Classes.Eq StripeAPI.Types.Charge.ChargeOnBehalfOf'Variants
instance GHC.Show.Show StripeAPI.Types.Charge.ChargeOnBehalfOf'Variants
instance GHC.Classes.Eq StripeAPI.Types.Charge.ChargeOrder'Variants
instance GHC.Show.Show StripeAPI.Types.Charge.ChargeOrder'Variants
instance GHC.Classes.Eq StripeAPI.Types.Charge.ChargeOutcome'Rule'Variants
instance GHC.Show.Show StripeAPI.Types.Charge.ChargeOutcome'Rule'Variants
instance GHC.Classes.Eq StripeAPI.Types.Charge.ChargeOutcome'
instance GHC.Show.Show StripeAPI.Types.Charge.ChargeOutcome'
instance GHC.Classes.Eq StripeAPI.Types.Charge.ChargePaymentIntent'Variants
instance GHC.Show.Show StripeAPI.Types.Charge.ChargePaymentIntent'Variants
instance GHC.Classes.Eq StripeAPI.Types.Charge.ChargePaymentMethodDetails'
instance GHC.Show.Show StripeAPI.Types.Charge.ChargePaymentMethodDetails'
instance GHC.Classes.Eq StripeAPI.Types.Charge.ChargeRefunds'
instance GHC.Show.Show StripeAPI.Types.Charge.ChargeRefunds'
instance GHC.Classes.Eq StripeAPI.Types.Charge.ChargeReview'Variants
instance GHC.Show.Show StripeAPI.Types.Charge.ChargeReview'Variants
instance GHC.Classes.Eq StripeAPI.Types.Charge.ChargeShipping'
instance GHC.Show.Show StripeAPI.Types.Charge.ChargeShipping'
instance GHC.Classes.Eq StripeAPI.Types.Charge.ChargeSourceTransfer'Variants
instance GHC.Show.Show StripeAPI.Types.Charge.ChargeSourceTransfer'Variants
instance GHC.Classes.Eq StripeAPI.Types.Charge.ChargeTransfer'Variants
instance GHC.Show.Show StripeAPI.Types.Charge.ChargeTransfer'Variants
instance GHC.Classes.Eq StripeAPI.Types.Charge.ChargeTransferData'Destination'Variants
instance GHC.Show.Show StripeAPI.Types.Charge.ChargeTransferData'Destination'Variants
instance GHC.Classes.Eq StripeAPI.Types.Charge.ChargeTransferData'
instance GHC.Show.Show StripeAPI.Types.Charge.ChargeTransferData'
instance GHC.Classes.Eq StripeAPI.Types.Charge.Charge
instance GHC.Show.Show StripeAPI.Types.Charge.Charge
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Charge.Charge
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Charge.Charge
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Charge.ChargeTransferData'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Charge.ChargeTransferData'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Charge.ChargeTransferData'Destination'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Charge.ChargeTransferData'Destination'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Charge.ChargeTransfer'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Charge.ChargeTransfer'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Charge.ChargeSourceTransfer'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Charge.ChargeSourceTransfer'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Charge.ChargeShipping'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Charge.ChargeShipping'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Charge.ChargeReview'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Charge.ChargeReview'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Charge.ChargeRefunds'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Charge.ChargeRefunds'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Charge.ChargePaymentMethodDetails'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Charge.ChargePaymentMethodDetails'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Charge.ChargePaymentIntent'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Charge.ChargePaymentIntent'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Charge.ChargeOutcome'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Charge.ChargeOutcome'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Charge.ChargeOutcome'Rule'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Charge.ChargeOutcome'Rule'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Charge.ChargeOrder'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Charge.ChargeOrder'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Charge.ChargeOnBehalfOf'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Charge.ChargeOnBehalfOf'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Charge.ChargeInvoice'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Charge.ChargeInvoice'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Charge.ChargeFraudDetails'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Charge.ChargeFraudDetails'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Charge.ChargeCustomer'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Charge.ChargeCustomer'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Charge.ChargeBalanceTransaction'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Charge.ChargeBalanceTransaction'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Charge.ChargeApplicationFee'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Charge.ChargeApplicationFee'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Charge.ChargeApplication'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Charge.ChargeApplication'Variants
-- | Contains the types generated from the schema PaymentIntent
module StripeAPI.Types.PaymentIntent
-- | Defines the object schema located at
-- components.schemas.payment_intent in the specification.
--
-- A PaymentIntent guides you through the process of collecting a payment
-- from your customer. We recommend that you create exactly one
-- PaymentIntent for each order or customer session in your system. You
-- can reference the PaymentIntent later to see the history of payment
-- attempts for a particular session.
--
-- A PaymentIntent transitions through multiple statuses
-- throughout its lifetime as it interfaces with Stripe.js to perform
-- authentication flows and ultimately creates at most one successful
-- charge.
--
-- Related guide: Payment Intents API.
data PaymentIntent
PaymentIntent :: Int -> Maybe Int -> Maybe Int -> Maybe PaymentIntentApplication'Variants -> Maybe Int -> Maybe Int -> Maybe PaymentIntentCancellationReason' -> PaymentIntentCaptureMethod' -> Maybe PaymentIntentCharges' -> Maybe Text -> PaymentIntentConfirmationMethod' -> Int -> Text -> Maybe PaymentIntentCustomer'Variants -> Maybe Text -> Text -> Maybe PaymentIntentInvoice'Variants -> Maybe PaymentIntentLastPaymentError' -> Bool -> Maybe Object -> Maybe PaymentIntentNextAction' -> Maybe PaymentIntentOnBehalfOf'Variants -> Maybe PaymentIntentPaymentMethod'Variants -> Maybe PaymentIntentPaymentMethodOptions' -> [Text] -> Maybe Text -> Maybe PaymentIntentReview'Variants -> Maybe PaymentIntentSetupFutureUsage' -> Maybe PaymentIntentShipping' -> Maybe Text -> Maybe Text -> PaymentIntentStatus' -> Maybe PaymentIntentTransferData' -> Maybe Text -> PaymentIntent
-- | amount: Amount intended to be collected by this PaymentIntent. A
-- positive integer representing how much to charge in the smallest
-- currency unit (e.g., 100 cents to charge $1.00 or 100 to charge
-- ¥100, a zero-decimal currency). The minimum amount is $0.50 US or
-- equivalent in charge currency. The amount value supports up to
-- eight digits (e.g., a value of 99999999 for a USD charge of
-- $999,999.99).
[paymentIntentAmount] :: PaymentIntent -> Int
-- | amount_capturable: Amount that can be captured from this
-- PaymentIntent.
[paymentIntentAmountCapturable] :: PaymentIntent -> Maybe Int
-- | amount_received: Amount that was collected by this PaymentIntent.
[paymentIntentAmountReceived] :: PaymentIntent -> Maybe Int
-- | application: ID of the Connect application that created the
-- PaymentIntent.
[paymentIntentApplication] :: PaymentIntent -> Maybe PaymentIntentApplication'Variants
-- | application_fee_amount: The amount of the application fee (if any)
-- that will be requested to be applied to the payment and transferred to
-- the application owner's Stripe account. The amount of the application
-- fee collected will be capped at the total payment amount. For more
-- information, see the PaymentIntents use case for connected
-- accounts.
[paymentIntentApplicationFeeAmount] :: PaymentIntent -> Maybe Int
-- | canceled_at: Populated when `status` is `canceled`, this is the time
-- at which the PaymentIntent was canceled. Measured in seconds since the
-- Unix epoch.
[paymentIntentCanceledAt] :: PaymentIntent -> Maybe Int
-- | cancellation_reason: Reason for cancellation of this PaymentIntent,
-- either user-provided (`duplicate`, `fraudulent`,
-- `requested_by_customer`, or `abandoned`) or generated by Stripe
-- internally (`failed_invoice`, `void_invoice`, or `automatic`).
[paymentIntentCancellationReason] :: PaymentIntent -> Maybe PaymentIntentCancellationReason'
-- | capture_method: Controls when the funds will be captured from the
-- customer's account.
[paymentIntentCaptureMethod] :: PaymentIntent -> PaymentIntentCaptureMethod'
-- | charges: Charges that were created by this PaymentIntent, if any.
[paymentIntentCharges] :: PaymentIntent -> Maybe PaymentIntentCharges'
-- | client_secret: The client secret of this PaymentIntent. Used for
-- client-side retrieval using a publishable key.
--
-- The client secret can be used to complete a payment from your
-- frontend. It should not be stored, logged, embedded in URLs, or
-- exposed to anyone other than the customer. Make sure that you have TLS
-- enabled on any page that includes the client secret.
--
-- Refer to our docs to accept a payment and learn about how
-- `client_secret` should be handled.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentIntentClientSecret] :: PaymentIntent -> Maybe Text
-- | confirmation_method
[paymentIntentConfirmationMethod] :: PaymentIntent -> PaymentIntentConfirmationMethod'
-- | created: Time at which the object was created. Measured in seconds
-- since the Unix epoch.
[paymentIntentCreated] :: PaymentIntent -> Int
-- | currency: Three-letter ISO currency code, in lowercase. Must be
-- a supported currency.
[paymentIntentCurrency] :: PaymentIntent -> Text
-- | customer: ID of the Customer this PaymentIntent belongs to, if one
-- exists.
--
-- Payment methods attached to other Customers cannot be used with this
-- PaymentIntent.
--
-- If present in combination with setup_future_usage, this
-- PaymentIntent's payment method will be attached to the Customer after
-- the PaymentIntent has been confirmed and any required actions from the
-- user are complete.
[paymentIntentCustomer] :: PaymentIntent -> Maybe PaymentIntentCustomer'Variants
-- | description: An arbitrary string attached to the object. Often useful
-- for displaying to users.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentIntentDescription] :: PaymentIntent -> Maybe Text
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentIntentId] :: PaymentIntent -> Text
-- | invoice: ID of the invoice that created this PaymentIntent, if it
-- exists.
[paymentIntentInvoice] :: PaymentIntent -> Maybe PaymentIntentInvoice'Variants
-- | last_payment_error: The payment error encountered in the previous
-- PaymentIntent confirmation. It will be cleared if the PaymentIntent is
-- later updated for any reason.
[paymentIntentLastPaymentError] :: PaymentIntent -> Maybe PaymentIntentLastPaymentError'
-- | livemode: Has the value `true` if the object exists in live mode or
-- the value `false` if the object exists in test mode.
[paymentIntentLivemode] :: PaymentIntent -> Bool
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. For more information, see the
-- documentation.
[paymentIntentMetadata] :: PaymentIntent -> Maybe Object
-- | next_action: If present, this property tells you what actions you need
-- to take in order for your customer to fulfill a payment using the
-- provided source.
[paymentIntentNextAction] :: PaymentIntent -> Maybe PaymentIntentNextAction'
-- | on_behalf_of: The account (if any) for which the funds of the
-- PaymentIntent are intended. See the PaymentIntents use case for
-- connected accounts for details.
[paymentIntentOnBehalfOf] :: PaymentIntent -> Maybe PaymentIntentOnBehalfOf'Variants
-- | payment_method: ID of the payment method used in this PaymentIntent.
[paymentIntentPaymentMethod] :: PaymentIntent -> Maybe PaymentIntentPaymentMethod'Variants
-- | payment_method_options: Payment-method-specific configuration for this
-- PaymentIntent.
[paymentIntentPaymentMethodOptions] :: PaymentIntent -> Maybe PaymentIntentPaymentMethodOptions'
-- | payment_method_types: The list of payment method types (e.g. card)
-- that this PaymentIntent is allowed to use.
[paymentIntentPaymentMethodTypes] :: PaymentIntent -> [Text]
-- | receipt_email: Email address that the receipt for the resulting
-- payment will be sent to. If `receipt_email` is specified for a payment
-- in live mode, a receipt will be sent regardless of your email
-- settings.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentIntentReceiptEmail] :: PaymentIntent -> Maybe Text
-- | review: ID of the review associated with this PaymentIntent, if any.
[paymentIntentReview] :: PaymentIntent -> Maybe PaymentIntentReview'Variants
-- | setup_future_usage: Indicates that you intend to make future payments
-- with this PaymentIntent's payment method.
--
-- Providing this parameter will attach the payment method to the
-- PaymentIntent's Customer, if present, after the PaymentIntent is
-- confirmed and any required actions from the user are complete. If no
-- Customer was provided, the payment method can still be attached
-- to a Customer after the transaction completes.
--
-- When processing card payments, Stripe also uses `setup_future_usage`
-- to dynamically optimize your payment flow and comply with regional
-- legislation and network rules, such as SCA.
[paymentIntentSetupFutureUsage] :: PaymentIntent -> Maybe PaymentIntentSetupFutureUsage'
-- | shipping: Shipping information for this PaymentIntent.
[paymentIntentShipping] :: PaymentIntent -> Maybe PaymentIntentShipping'
-- | statement_descriptor: For non-card charges, you can use this value as
-- the complete description that appears on your customers’ statements.
-- Must contain at least one letter, maximum 22 characters.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentIntentStatementDescriptor] :: PaymentIntent -> Maybe Text
-- | statement_descriptor_suffix: Provides information about a card payment
-- that customers see on their statements. Concatenated with the prefix
-- (shortened descriptor) or statement descriptor that’s set on the
-- account to form the complete statement descriptor. Maximum 22
-- characters for the concatenated descriptor.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentIntentStatementDescriptorSuffix] :: PaymentIntent -> Maybe Text
-- | status: Status of this PaymentIntent, one of
-- `requires_payment_method`, `requires_confirmation`, `requires_action`,
-- `processing`, `requires_capture`, `canceled`, or `succeeded`. Read
-- more about each PaymentIntent status.
[paymentIntentStatus] :: PaymentIntent -> PaymentIntentStatus'
-- | transfer_data: The data with which to automatically create a Transfer
-- when the payment is finalized. See the PaymentIntents use case for
-- connected accounts for details.
[paymentIntentTransferData] :: PaymentIntent -> Maybe PaymentIntentTransferData'
-- | transfer_group: A string that identifies the resulting payment as part
-- of a group. See the PaymentIntents use case for connected
-- accounts for details.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentIntentTransferGroup] :: PaymentIntent -> Maybe Text
-- | Create a new PaymentIntent with all required fields.
mkPaymentIntent :: Int -> PaymentIntentCaptureMethod' -> PaymentIntentConfirmationMethod' -> Int -> Text -> Text -> Bool -> [Text] -> PaymentIntentStatus' -> PaymentIntent
-- | Defines the oneOf schema located at
-- components.schemas.payment_intent.properties.application.anyOf
-- in the specification.
--
-- ID of the Connect application that created the PaymentIntent.
data PaymentIntentApplication'Variants
PaymentIntentApplication'Text :: Text -> PaymentIntentApplication'Variants
PaymentIntentApplication'Application :: Application -> PaymentIntentApplication'Variants
-- | Defines the enum schema located at
-- components.schemas.payment_intent.properties.cancellation_reason
-- in the specification.
--
-- Reason for cancellation of this PaymentIntent, either user-provided
-- (`duplicate`, `fraudulent`, `requested_by_customer`, or `abandoned`)
-- or generated by Stripe internally (`failed_invoice`, `void_invoice`,
-- or `automatic`).
data PaymentIntentCancellationReason'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PaymentIntentCancellationReason'Other :: Value -> PaymentIntentCancellationReason'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PaymentIntentCancellationReason'Typed :: Text -> PaymentIntentCancellationReason'
-- | Represents the JSON value "abandoned"
PaymentIntentCancellationReason'EnumAbandoned :: PaymentIntentCancellationReason'
-- | Represents the JSON value "automatic"
PaymentIntentCancellationReason'EnumAutomatic :: PaymentIntentCancellationReason'
-- | Represents the JSON value "duplicate"
PaymentIntentCancellationReason'EnumDuplicate :: PaymentIntentCancellationReason'
-- | Represents the JSON value "failed_invoice"
PaymentIntentCancellationReason'EnumFailedInvoice :: PaymentIntentCancellationReason'
-- | Represents the JSON value "fraudulent"
PaymentIntentCancellationReason'EnumFraudulent :: PaymentIntentCancellationReason'
-- | Represents the JSON value "requested_by_customer"
PaymentIntentCancellationReason'EnumRequestedByCustomer :: PaymentIntentCancellationReason'
-- | Represents the JSON value "void_invoice"
PaymentIntentCancellationReason'EnumVoidInvoice :: PaymentIntentCancellationReason'
-- | Defines the enum schema located at
-- components.schemas.payment_intent.properties.capture_method
-- in the specification.
--
-- Controls when the funds will be captured from the customer's account.
data PaymentIntentCaptureMethod'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PaymentIntentCaptureMethod'Other :: Value -> PaymentIntentCaptureMethod'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PaymentIntentCaptureMethod'Typed :: Text -> PaymentIntentCaptureMethod'
-- | Represents the JSON value "automatic"
PaymentIntentCaptureMethod'EnumAutomatic :: PaymentIntentCaptureMethod'
-- | Represents the JSON value "manual"
PaymentIntentCaptureMethod'EnumManual :: PaymentIntentCaptureMethod'
-- | Defines the object schema located at
-- components.schemas.payment_intent.properties.charges in the
-- specification.
--
-- Charges that were created by this PaymentIntent, if any.
data PaymentIntentCharges'
PaymentIntentCharges' :: [Charge] -> Bool -> Text -> PaymentIntentCharges'
-- | data: This list only contains the latest charge, even if there were
-- previously multiple unsuccessful charges. To view all previous charges
-- for a PaymentIntent, you can filter the charges list using the
-- `payment_intent` parameter.
[paymentIntentCharges'Data] :: PaymentIntentCharges' -> [Charge]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[paymentIntentCharges'HasMore] :: PaymentIntentCharges' -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentIntentCharges'Url] :: PaymentIntentCharges' -> Text
-- | Create a new PaymentIntentCharges' with all required fields.
mkPaymentIntentCharges' :: [Charge] -> Bool -> Text -> PaymentIntentCharges'
-- | Defines the enum schema located at
-- components.schemas.payment_intent.properties.confirmation_method
-- in the specification.
data PaymentIntentConfirmationMethod'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PaymentIntentConfirmationMethod'Other :: Value -> PaymentIntentConfirmationMethod'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PaymentIntentConfirmationMethod'Typed :: Text -> PaymentIntentConfirmationMethod'
-- | Represents the JSON value "automatic"
PaymentIntentConfirmationMethod'EnumAutomatic :: PaymentIntentConfirmationMethod'
-- | Represents the JSON value "manual"
PaymentIntentConfirmationMethod'EnumManual :: PaymentIntentConfirmationMethod'
-- | Defines the oneOf schema located at
-- components.schemas.payment_intent.properties.customer.anyOf
-- in the specification.
--
-- ID of the Customer this PaymentIntent belongs to, if one exists.
--
-- Payment methods attached to other Customers cannot be used with this
-- PaymentIntent.
--
-- If present in combination with setup_future_usage, this
-- PaymentIntent's payment method will be attached to the Customer after
-- the PaymentIntent has been confirmed and any required actions from the
-- user are complete.
data PaymentIntentCustomer'Variants
PaymentIntentCustomer'Text :: Text -> PaymentIntentCustomer'Variants
PaymentIntentCustomer'Customer :: Customer -> PaymentIntentCustomer'Variants
PaymentIntentCustomer'DeletedCustomer :: DeletedCustomer -> PaymentIntentCustomer'Variants
-- | Defines the oneOf schema located at
-- components.schemas.payment_intent.properties.invoice.anyOf in
-- the specification.
--
-- ID of the invoice that created this PaymentIntent, if it exists.
data PaymentIntentInvoice'Variants
PaymentIntentInvoice'Text :: Text -> PaymentIntentInvoice'Variants
PaymentIntentInvoice'Invoice :: Invoice -> PaymentIntentInvoice'Variants
-- | Defines the object schema located at
-- components.schemas.payment_intent.properties.last_payment_error.anyOf
-- in the specification.
--
-- The payment error encountered in the previous PaymentIntent
-- confirmation. It will be cleared if the PaymentIntent is later updated
-- for any reason.
data PaymentIntentLastPaymentError'
PaymentIntentLastPaymentError' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe PaymentIntent -> Maybe PaymentMethod -> Maybe Text -> Maybe SetupIntent -> Maybe PaymentIntentLastPaymentError'Source' -> Maybe PaymentIntentLastPaymentError'Type' -> PaymentIntentLastPaymentError'
-- | charge: For card errors, the ID of the failed charge.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentIntentLastPaymentError'Charge] :: PaymentIntentLastPaymentError' -> Maybe Text
-- | code: For some errors that could be handled programmatically, a short
-- string indicating the error code reported.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentIntentLastPaymentError'Code] :: PaymentIntentLastPaymentError' -> Maybe Text
-- | decline_code: For card errors resulting from a card issuer decline, a
-- short string indicating the card issuer's reason for the
-- decline if they provide one.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentIntentLastPaymentError'DeclineCode] :: PaymentIntentLastPaymentError' -> Maybe Text
-- | doc_url: A URL to more information about the error code
-- reported.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentIntentLastPaymentError'DocUrl] :: PaymentIntentLastPaymentError' -> Maybe Text
-- | message: A human-readable message providing more details about the
-- error. For card errors, these messages can be shown to your users.
--
-- Constraints:
--
--
-- - Maximum length of 40000
--
[paymentIntentLastPaymentError'Message] :: PaymentIntentLastPaymentError' -> Maybe Text
-- | param: If the error is parameter-specific, the parameter related to
-- the error. For example, you can use this to display a message near the
-- correct form field.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentIntentLastPaymentError'Param] :: PaymentIntentLastPaymentError' -> Maybe Text
-- | payment_intent: A PaymentIntent guides you through the process of
-- collecting a payment from your customer. We recommend that you create
-- exactly one PaymentIntent for each order or customer session in your
-- system. You can reference the PaymentIntent later to see the history
-- of payment attempts for a particular session.
--
-- A PaymentIntent transitions through multiple statuses
-- throughout its lifetime as it interfaces with Stripe.js to perform
-- authentication flows and ultimately creates at most one successful
-- charge.
--
-- Related guide: Payment Intents API.
[paymentIntentLastPaymentError'PaymentIntent] :: PaymentIntentLastPaymentError' -> Maybe PaymentIntent
-- | payment_method: PaymentMethod objects represent your customer's
-- payment instruments. They can be used with PaymentIntents to
-- collect payments or saved to Customer objects to store instrument
-- details for future payments.
--
-- Related guides: Payment Methods and More Payment
-- Scenarios.
[paymentIntentLastPaymentError'PaymentMethod] :: PaymentIntentLastPaymentError' -> Maybe PaymentMethod
-- | payment_method_type: If the error is specific to the type of payment
-- method, the payment method type that had a problem. This field is only
-- populated for invoice-related errors.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentIntentLastPaymentError'PaymentMethodType] :: PaymentIntentLastPaymentError' -> Maybe Text
-- | setup_intent: A SetupIntent guides you through the process of setting
-- up and saving a customer's payment credentials for future payments.
-- For example, you could use a SetupIntent to set up and save your
-- customer's card without immediately collecting a payment. Later, you
-- can use PaymentIntents to drive the payment flow.
--
-- Create a SetupIntent as soon as you're ready to collect your
-- customer's payment credentials. Do not maintain long-lived,
-- unconfirmed SetupIntents as they may no longer be valid. The
-- SetupIntent then transitions through multiple statuses as it
-- guides you through the setup process.
--
-- Successful SetupIntents result in payment credentials that are
-- optimized for future payments. For example, cardholders in certain
-- regions may need to be run through Strong Customer
-- Authentication at the time of payment method collection in order
-- to streamline later off-session payments. If the SetupIntent is
-- used with a Customer, upon success, it will automatically
-- attach the resulting payment method to that Customer. We recommend
-- using SetupIntents or setup_future_usage on PaymentIntents to
-- save payment methods in order to prevent saving invalid or unoptimized
-- payment methods.
--
-- By using SetupIntents, you ensure that your customers experience the
-- minimum set of required friction, even as regulations change over
-- time.
--
-- Related guide: Setup Intents API.
[paymentIntentLastPaymentError'SetupIntent] :: PaymentIntentLastPaymentError' -> Maybe SetupIntent
-- | source: The source object for errors returned on a request involving a
-- source.
[paymentIntentLastPaymentError'Source] :: PaymentIntentLastPaymentError' -> Maybe PaymentIntentLastPaymentError'Source'
-- | type: The type of error returned. One of `api_connection_error`,
-- `api_error`, `authentication_error`, `card_error`,
-- `idempotency_error`, `invalid_request_error`, or `rate_limit_error`
[paymentIntentLastPaymentError'Type] :: PaymentIntentLastPaymentError' -> Maybe PaymentIntentLastPaymentError'Type'
-- | Create a new PaymentIntentLastPaymentError' with all required
-- fields.
mkPaymentIntentLastPaymentError' :: PaymentIntentLastPaymentError'
-- | Defines the object schema located at
-- components.schemas.payment_intent.properties.last_payment_error.anyOf.properties.source.anyOf
-- in the specification.
--
-- The source object for errors returned on a request involving a source.
data PaymentIntentLastPaymentError'Source'
PaymentIntentLastPaymentError'Source' :: Maybe PaymentIntentLastPaymentError'Source'Account'Variants -> Maybe Text -> Maybe Text -> Maybe SourceTypeAchCreditTransfer -> Maybe SourceTypeAchDebit -> Maybe SourceTypeAcssDebit -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe SourceTypeAlipay -> Maybe Int -> Maybe SourceTypeAuBecsDebit -> Maybe [PaymentIntentLastPaymentError'Source'AvailablePayoutMethods'] -> Maybe SourceTypeBancontact -> Maybe Text -> Maybe Text -> Maybe SourceTypeCard -> Maybe SourceTypeCardPresent -> Maybe Text -> Maybe SourceCodeVerificationFlow -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe PaymentIntentLastPaymentError'Source'Customer'Variants -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe SourceTypeEps -> Maybe Int -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe SourceTypeGiropay -> Maybe Text -> Maybe SourceTypeIdeal -> Maybe SourceTypeKlarna -> Maybe Text -> Maybe Bool -> Maybe Object -> Maybe SourceTypeMultibanco -> Maybe Text -> Maybe PaymentIntentLastPaymentError'Source'Object' -> Maybe PaymentIntentLastPaymentError'Source'Owner' -> Maybe SourceTypeP24 -> Maybe SourceReceiverFlow -> Maybe PaymentIntentLastPaymentError'Source'Recipient'Variants -> Maybe SourceRedirectFlow -> Maybe Text -> Maybe SourceTypeSepaDebit -> Maybe SourceTypeSofort -> Maybe SourceOrder -> Maybe Text -> Maybe Text -> Maybe SourceTypeThreeDSecure -> Maybe Text -> Maybe PaymentIntentLastPaymentError'Source'Type' -> Maybe Text -> Maybe SourceTypeWechat -> PaymentIntentLastPaymentError'Source'
-- | account: The ID of the account that the bank account is associated
-- with.
[paymentIntentLastPaymentError'Source'Account] :: PaymentIntentLastPaymentError'Source' -> Maybe PaymentIntentLastPaymentError'Source'Account'Variants
-- | account_holder_name: The name of the person or business that owns the
-- bank account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentIntentLastPaymentError'Source'AccountHolderName] :: PaymentIntentLastPaymentError'Source' -> Maybe Text
-- | account_holder_type: The type of entity that holds the account. This
-- can be either `individual` or `company`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentIntentLastPaymentError'Source'AccountHolderType] :: PaymentIntentLastPaymentError'Source' -> Maybe Text
-- | ach_credit_transfer
[paymentIntentLastPaymentError'Source'AchCreditTransfer] :: PaymentIntentLastPaymentError'Source' -> Maybe SourceTypeAchCreditTransfer
-- | ach_debit
[paymentIntentLastPaymentError'Source'AchDebit] :: PaymentIntentLastPaymentError'Source' -> Maybe SourceTypeAchDebit
-- | acss_debit
[paymentIntentLastPaymentError'Source'AcssDebit] :: PaymentIntentLastPaymentError'Source' -> Maybe SourceTypeAcssDebit
-- | address_city: City/District/Suburb/Town/Village.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentIntentLastPaymentError'Source'AddressCity] :: PaymentIntentLastPaymentError'Source' -> Maybe Text
-- | address_country: Billing address country, if provided when creating
-- card.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentIntentLastPaymentError'Source'AddressCountry] :: PaymentIntentLastPaymentError'Source' -> Maybe Text
-- | address_line1: Address line 1 (Street address/PO Box/Company name).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentIntentLastPaymentError'Source'AddressLine1] :: PaymentIntentLastPaymentError'Source' -> Maybe Text
-- | address_line1_check: If `address_line1` was provided, results of the
-- check: `pass`, `fail`, `unavailable`, or `unchecked`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentIntentLastPaymentError'Source'AddressLine1Check] :: PaymentIntentLastPaymentError'Source' -> Maybe Text
-- | address_line2: Address line 2 (Apartment/Suite/Unit/Building).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentIntentLastPaymentError'Source'AddressLine2] :: PaymentIntentLastPaymentError'Source' -> Maybe Text
-- | address_state: State/County/Province/Region.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentIntentLastPaymentError'Source'AddressState] :: PaymentIntentLastPaymentError'Source' -> Maybe Text
-- | address_zip: ZIP or postal code.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentIntentLastPaymentError'Source'AddressZip] :: PaymentIntentLastPaymentError'Source' -> Maybe Text
-- | address_zip_check: If `address_zip` was provided, results of the
-- check: `pass`, `fail`, `unavailable`, or `unchecked`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentIntentLastPaymentError'Source'AddressZipCheck] :: PaymentIntentLastPaymentError'Source' -> Maybe Text
-- | alipay
[paymentIntentLastPaymentError'Source'Alipay] :: PaymentIntentLastPaymentError'Source' -> Maybe SourceTypeAlipay
-- | amount: A positive integer in the smallest currency unit (that is, 100
-- cents for $1.00, or 1 for ¥1, Japanese Yen being a zero-decimal
-- currency) representing the total amount associated with the source.
-- This is the amount for which the source will be chargeable once ready.
-- Required for `single_use` sources.
[paymentIntentLastPaymentError'Source'Amount] :: PaymentIntentLastPaymentError'Source' -> Maybe Int
-- | au_becs_debit
[paymentIntentLastPaymentError'Source'AuBecsDebit] :: PaymentIntentLastPaymentError'Source' -> Maybe SourceTypeAuBecsDebit
-- | available_payout_methods: A set of available payout methods for this
-- bank account. Only values from this set should be passed as the
-- `method` when creating a payout.
[paymentIntentLastPaymentError'Source'AvailablePayoutMethods] :: PaymentIntentLastPaymentError'Source' -> Maybe [PaymentIntentLastPaymentError'Source'AvailablePayoutMethods']
-- | bancontact
[paymentIntentLastPaymentError'Source'Bancontact] :: PaymentIntentLastPaymentError'Source' -> Maybe SourceTypeBancontact
-- | bank_name: Name of the bank associated with the routing number (e.g.,
-- `WELLS FARGO`).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentIntentLastPaymentError'Source'BankName] :: PaymentIntentLastPaymentError'Source' -> Maybe Text
-- | brand: Card brand. Can be `American Express`, `Diners Club`,
-- `Discover`, `JCB`, `MasterCard`, `UnionPay`, `Visa`, or `Unknown`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentIntentLastPaymentError'Source'Brand] :: PaymentIntentLastPaymentError'Source' -> Maybe Text
-- | card
[paymentIntentLastPaymentError'Source'Card] :: PaymentIntentLastPaymentError'Source' -> Maybe SourceTypeCard
-- | card_present
[paymentIntentLastPaymentError'Source'CardPresent] :: PaymentIntentLastPaymentError'Source' -> Maybe SourceTypeCardPresent
-- | client_secret: The client secret of the source. Used for client-side
-- retrieval using a publishable key.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentIntentLastPaymentError'Source'ClientSecret] :: PaymentIntentLastPaymentError'Source' -> Maybe Text
-- | code_verification:
[paymentIntentLastPaymentError'Source'CodeVerification] :: PaymentIntentLastPaymentError'Source' -> Maybe SourceCodeVerificationFlow
-- | country: Two-letter ISO code representing the country the bank account
-- is located in.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentIntentLastPaymentError'Source'Country] :: PaymentIntentLastPaymentError'Source' -> Maybe Text
-- | created: Time at which the object was created. Measured in seconds
-- since the Unix epoch.
[paymentIntentLastPaymentError'Source'Created] :: PaymentIntentLastPaymentError'Source' -> Maybe Int
-- | currency: Three-letter ISO code for the currency paid out to
-- the bank account.
[paymentIntentLastPaymentError'Source'Currency] :: PaymentIntentLastPaymentError'Source' -> Maybe Text
-- | customer: The ID of the customer that the bank account is associated
-- with.
[paymentIntentLastPaymentError'Source'Customer] :: PaymentIntentLastPaymentError'Source' -> Maybe PaymentIntentLastPaymentError'Source'Customer'Variants
-- | cvc_check: If a CVC was provided, results of the check: `pass`,
-- `fail`, `unavailable`, or `unchecked`. A result of unchecked indicates
-- that CVC was provided but hasn't been checked yet. Checks are
-- typically performed when attaching a card to a Customer object, or
-- when creating a charge. For more details, see Check if a card is
-- valid without a charge.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentIntentLastPaymentError'Source'CvcCheck] :: PaymentIntentLastPaymentError'Source' -> Maybe Text
-- | default_for_currency: Whether this bank account is the default
-- external account for its currency.
[paymentIntentLastPaymentError'Source'DefaultForCurrency] :: PaymentIntentLastPaymentError'Source' -> Maybe Bool
-- | dynamic_last4: (For tokenized numbers only.) The last four digits of
-- the device account number.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentIntentLastPaymentError'Source'DynamicLast4] :: PaymentIntentLastPaymentError'Source' -> Maybe Text
-- | eps
[paymentIntentLastPaymentError'Source'Eps] :: PaymentIntentLastPaymentError'Source' -> Maybe SourceTypeEps
-- | exp_month: Two-digit number representing the card's expiration month.
[paymentIntentLastPaymentError'Source'ExpMonth] :: PaymentIntentLastPaymentError'Source' -> Maybe Int
-- | exp_year: Four-digit number representing the card's expiration year.
[paymentIntentLastPaymentError'Source'ExpYear] :: PaymentIntentLastPaymentError'Source' -> Maybe Int
-- | fingerprint: Uniquely identifies this particular bank account. You can
-- use this attribute to check whether two bank accounts are the same.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentIntentLastPaymentError'Source'Fingerprint] :: PaymentIntentLastPaymentError'Source' -> Maybe Text
-- | flow: The authentication `flow` of the source. `flow` is one of
-- `redirect`, `receiver`, `code_verification`, `none`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentIntentLastPaymentError'Source'Flow] :: PaymentIntentLastPaymentError'Source' -> Maybe Text
-- | funding: Card funding type. Can be `credit`, `debit`, `prepaid`, or
-- `unknown`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentIntentLastPaymentError'Source'Funding] :: PaymentIntentLastPaymentError'Source' -> Maybe Text
-- | giropay
[paymentIntentLastPaymentError'Source'Giropay] :: PaymentIntentLastPaymentError'Source' -> Maybe SourceTypeGiropay
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentIntentLastPaymentError'Source'Id] :: PaymentIntentLastPaymentError'Source' -> Maybe Text
-- | ideal
[paymentIntentLastPaymentError'Source'Ideal] :: PaymentIntentLastPaymentError'Source' -> Maybe SourceTypeIdeal
-- | klarna
[paymentIntentLastPaymentError'Source'Klarna] :: PaymentIntentLastPaymentError'Source' -> Maybe SourceTypeKlarna
-- | last4: The last four digits of the bank account number.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentIntentLastPaymentError'Source'Last4] :: PaymentIntentLastPaymentError'Source' -> Maybe Text
-- | livemode: Has the value `true` if the object exists in live mode or
-- the value `false` if the object exists in test mode.
[paymentIntentLastPaymentError'Source'Livemode] :: PaymentIntentLastPaymentError'Source' -> Maybe Bool
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format.
[paymentIntentLastPaymentError'Source'Metadata] :: PaymentIntentLastPaymentError'Source' -> Maybe Object
-- | multibanco
[paymentIntentLastPaymentError'Source'Multibanco] :: PaymentIntentLastPaymentError'Source' -> Maybe SourceTypeMultibanco
-- | name: Cardholder name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentIntentLastPaymentError'Source'Name] :: PaymentIntentLastPaymentError'Source' -> Maybe Text
-- | object: String representing the object's type. Objects of the same
-- type share the same value.
[paymentIntentLastPaymentError'Source'Object] :: PaymentIntentLastPaymentError'Source' -> Maybe PaymentIntentLastPaymentError'Source'Object'
-- | owner: Information about the owner of the payment instrument that may
-- be used or required by particular source types.
[paymentIntentLastPaymentError'Source'Owner] :: PaymentIntentLastPaymentError'Source' -> Maybe PaymentIntentLastPaymentError'Source'Owner'
-- | p24
[paymentIntentLastPaymentError'Source'P24] :: PaymentIntentLastPaymentError'Source' -> Maybe SourceTypeP24
-- | receiver:
[paymentIntentLastPaymentError'Source'Receiver] :: PaymentIntentLastPaymentError'Source' -> Maybe SourceReceiverFlow
-- | recipient: 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.
[paymentIntentLastPaymentError'Source'Recipient] :: PaymentIntentLastPaymentError'Source' -> Maybe PaymentIntentLastPaymentError'Source'Recipient'Variants
-- | redirect:
[paymentIntentLastPaymentError'Source'Redirect] :: PaymentIntentLastPaymentError'Source' -> Maybe SourceRedirectFlow
-- | routing_number: The routing transit number for the bank account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentIntentLastPaymentError'Source'RoutingNumber] :: PaymentIntentLastPaymentError'Source' -> Maybe Text
-- | sepa_debit
[paymentIntentLastPaymentError'Source'SepaDebit] :: PaymentIntentLastPaymentError'Source' -> Maybe SourceTypeSepaDebit
-- | sofort
[paymentIntentLastPaymentError'Source'Sofort] :: PaymentIntentLastPaymentError'Source' -> Maybe SourceTypeSofort
-- | source_order:
[paymentIntentLastPaymentError'Source'SourceOrder] :: PaymentIntentLastPaymentError'Source' -> Maybe SourceOrder
-- | statement_descriptor: Extra information about a source. This will
-- appear on your customer's statement every time you charge the source.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentIntentLastPaymentError'Source'StatementDescriptor] :: PaymentIntentLastPaymentError'Source' -> Maybe Text
-- | status: For bank accounts, possible values are `new`, `validated`,
-- `verified`, `verification_failed`, or `errored`. A bank account that
-- hasn't had any activity or validation performed is `new`. If Stripe
-- can determine that the bank account exists, its status will be
-- `validated`. Note that there often isn’t enough information to know
-- (e.g., for smaller credit unions), and the validation is not always
-- run. If customer bank account verification has succeeded, the bank
-- account status will be `verified`. If the verification failed for any
-- reason, such as microdeposit failure, the status will be
-- `verification_failed`. If a transfer sent to this bank account fails,
-- we'll set the status to `errored` and will not continue to send
-- transfers until the bank details are updated.
--
-- For external accounts, possible values are `new` and `errored`.
-- Validations aren't run against external accounts because they're only
-- used for payouts. This means the other statuses don't apply. If a
-- transfer fails, the status is set to `errored` and transfers are
-- stopped until account details are updated.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentIntentLastPaymentError'Source'Status] :: PaymentIntentLastPaymentError'Source' -> Maybe Text
-- | three_d_secure
[paymentIntentLastPaymentError'Source'ThreeDSecure] :: PaymentIntentLastPaymentError'Source' -> Maybe SourceTypeThreeDSecure
-- | tokenization_method: If the card number is tokenized, this is the
-- method that was used. Can be `android_pay` (includes Google Pay),
-- `apple_pay`, `masterpass`, `visa_checkout`, or null.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentIntentLastPaymentError'Source'TokenizationMethod] :: PaymentIntentLastPaymentError'Source' -> Maybe Text
-- | type: The `type` of the source. The `type` is a payment method, one of
-- `ach_credit_transfer`, `ach_debit`, `alipay`, `bancontact`, `card`,
-- `card_present`, `eps`, `giropay`, `ideal`, `multibanco`, `klarna`,
-- `p24`, `sepa_debit`, `sofort`, `three_d_secure`, or `wechat`. An
-- additional hash is included on the source with a name matching this
-- value. It contains additional information specific to the payment
-- method used.
[paymentIntentLastPaymentError'Source'Type] :: PaymentIntentLastPaymentError'Source' -> Maybe PaymentIntentLastPaymentError'Source'Type'
-- | usage: Either `reusable` or `single_use`. Whether this source should
-- be reusable or not. Some source types may or may not be reusable by
-- construction, while others may leave the option at creation. If an
-- incompatible value is passed, an error will be returned.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentIntentLastPaymentError'Source'Usage] :: PaymentIntentLastPaymentError'Source' -> Maybe Text
-- | wechat
[paymentIntentLastPaymentError'Source'Wechat] :: PaymentIntentLastPaymentError'Source' -> Maybe SourceTypeWechat
-- | Create a new PaymentIntentLastPaymentError'Source' with all
-- required fields.
mkPaymentIntentLastPaymentError'Source' :: PaymentIntentLastPaymentError'Source'
-- | Defines the oneOf schema located at
-- components.schemas.payment_intent.properties.last_payment_error.anyOf.properties.source.anyOf.properties.account.anyOf
-- in the specification.
--
-- The ID of the account that the bank account is associated with.
data PaymentIntentLastPaymentError'Source'Account'Variants
PaymentIntentLastPaymentError'Source'Account'Text :: Text -> PaymentIntentLastPaymentError'Source'Account'Variants
PaymentIntentLastPaymentError'Source'Account'Account :: Account -> PaymentIntentLastPaymentError'Source'Account'Variants
-- | Defines the enum schema located at
-- components.schemas.payment_intent.properties.last_payment_error.anyOf.properties.source.anyOf.properties.available_payout_methods.items
-- in the specification.
data PaymentIntentLastPaymentError'Source'AvailablePayoutMethods'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PaymentIntentLastPaymentError'Source'AvailablePayoutMethods'Other :: Value -> PaymentIntentLastPaymentError'Source'AvailablePayoutMethods'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PaymentIntentLastPaymentError'Source'AvailablePayoutMethods'Typed :: Text -> PaymentIntentLastPaymentError'Source'AvailablePayoutMethods'
-- | Represents the JSON value "instant"
PaymentIntentLastPaymentError'Source'AvailablePayoutMethods'EnumInstant :: PaymentIntentLastPaymentError'Source'AvailablePayoutMethods'
-- | Represents the JSON value "standard"
PaymentIntentLastPaymentError'Source'AvailablePayoutMethods'EnumStandard :: PaymentIntentLastPaymentError'Source'AvailablePayoutMethods'
-- | Defines the oneOf schema located at
-- components.schemas.payment_intent.properties.last_payment_error.anyOf.properties.source.anyOf.properties.customer.anyOf
-- in the specification.
--
-- The ID of the customer that the bank account is associated with.
data PaymentIntentLastPaymentError'Source'Customer'Variants
PaymentIntentLastPaymentError'Source'Customer'Text :: Text -> PaymentIntentLastPaymentError'Source'Customer'Variants
PaymentIntentLastPaymentError'Source'Customer'Customer :: Customer -> PaymentIntentLastPaymentError'Source'Customer'Variants
PaymentIntentLastPaymentError'Source'Customer'DeletedCustomer :: DeletedCustomer -> PaymentIntentLastPaymentError'Source'Customer'Variants
-- | Defines the enum schema located at
-- components.schemas.payment_intent.properties.last_payment_error.anyOf.properties.source.anyOf.properties.object
-- in the specification.
--
-- String representing the object's type. Objects of the same type share
-- the same value.
data PaymentIntentLastPaymentError'Source'Object'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PaymentIntentLastPaymentError'Source'Object'Other :: Value -> PaymentIntentLastPaymentError'Source'Object'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PaymentIntentLastPaymentError'Source'Object'Typed :: Text -> PaymentIntentLastPaymentError'Source'Object'
-- | Represents the JSON value "bank_account"
PaymentIntentLastPaymentError'Source'Object'EnumBankAccount :: PaymentIntentLastPaymentError'Source'Object'
-- | Defines the object schema located at
-- components.schemas.payment_intent.properties.last_payment_error.anyOf.properties.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.
data PaymentIntentLastPaymentError'Source'Owner'
PaymentIntentLastPaymentError'Source'Owner' :: Maybe PaymentIntentLastPaymentError'Source'Owner'Address' -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe PaymentIntentLastPaymentError'Source'Owner'VerifiedAddress' -> Maybe Text -> Maybe Text -> Maybe Text -> PaymentIntentLastPaymentError'Source'Owner'
-- | address: Owner's address.
[paymentIntentLastPaymentError'Source'Owner'Address] :: PaymentIntentLastPaymentError'Source'Owner' -> Maybe PaymentIntentLastPaymentError'Source'Owner'Address'
-- | email: Owner's email address.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentIntentLastPaymentError'Source'Owner'Email] :: PaymentIntentLastPaymentError'Source'Owner' -> Maybe Text
-- | name: Owner's full name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentIntentLastPaymentError'Source'Owner'Name] :: PaymentIntentLastPaymentError'Source'Owner' -> Maybe Text
-- | phone: Owner's phone number (including extension).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentIntentLastPaymentError'Source'Owner'Phone] :: PaymentIntentLastPaymentError'Source'Owner' -> Maybe Text
-- | verified_address: 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.
[paymentIntentLastPaymentError'Source'Owner'VerifiedAddress] :: PaymentIntentLastPaymentError'Source'Owner' -> Maybe PaymentIntentLastPaymentError'Source'Owner'VerifiedAddress'
-- | verified_email: Verified owner's email 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.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentIntentLastPaymentError'Source'Owner'VerifiedEmail] :: PaymentIntentLastPaymentError'Source'Owner' -> Maybe Text
-- | verified_name: Verified owner's full name. 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.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentIntentLastPaymentError'Source'Owner'VerifiedName] :: PaymentIntentLastPaymentError'Source'Owner' -> Maybe Text
-- | verified_phone: Verified owner's phone number (including extension).
-- 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.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentIntentLastPaymentError'Source'Owner'VerifiedPhone] :: PaymentIntentLastPaymentError'Source'Owner' -> Maybe Text
-- | Create a new PaymentIntentLastPaymentError'Source'Owner' with
-- all required fields.
mkPaymentIntentLastPaymentError'Source'Owner' :: PaymentIntentLastPaymentError'Source'Owner'
-- | Defines the object schema located at
-- components.schemas.payment_intent.properties.last_payment_error.anyOf.properties.source.anyOf.properties.owner.anyOf.properties.address.anyOf
-- in the specification.
--
-- Owner\'s address.
data PaymentIntentLastPaymentError'Source'Owner'Address'
PaymentIntentLastPaymentError'Source'Owner'Address' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PaymentIntentLastPaymentError'Source'Owner'Address'
-- | city: City, district, suburb, town, or village.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentIntentLastPaymentError'Source'Owner'Address'City] :: PaymentIntentLastPaymentError'Source'Owner'Address' -> Maybe Text
-- | country: Two-letter country code ([ISO 3166-1
-- alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentIntentLastPaymentError'Source'Owner'Address'Country] :: PaymentIntentLastPaymentError'Source'Owner'Address' -> Maybe Text
-- | line1: Address line 1 (e.g., street, PO Box, or company name).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentIntentLastPaymentError'Source'Owner'Address'Line1] :: PaymentIntentLastPaymentError'Source'Owner'Address' -> Maybe Text
-- | line2: Address line 2 (e.g., apartment, suite, unit, or building).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentIntentLastPaymentError'Source'Owner'Address'Line2] :: PaymentIntentLastPaymentError'Source'Owner'Address' -> Maybe Text
-- | postal_code: ZIP or postal code.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentIntentLastPaymentError'Source'Owner'Address'PostalCode] :: PaymentIntentLastPaymentError'Source'Owner'Address' -> Maybe Text
-- | state: State, county, province, or region.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentIntentLastPaymentError'Source'Owner'Address'State] :: PaymentIntentLastPaymentError'Source'Owner'Address' -> Maybe Text
-- | Create a new
-- PaymentIntentLastPaymentError'Source'Owner'Address' with all
-- required fields.
mkPaymentIntentLastPaymentError'Source'Owner'Address' :: PaymentIntentLastPaymentError'Source'Owner'Address'
-- | Defines the object schema located at
-- components.schemas.payment_intent.properties.last_payment_error.anyOf.properties.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.
data PaymentIntentLastPaymentError'Source'Owner'VerifiedAddress'
PaymentIntentLastPaymentError'Source'Owner'VerifiedAddress' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PaymentIntentLastPaymentError'Source'Owner'VerifiedAddress'
-- | city: City, district, suburb, town, or village.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentIntentLastPaymentError'Source'Owner'VerifiedAddress'City] :: PaymentIntentLastPaymentError'Source'Owner'VerifiedAddress' -> Maybe Text
-- | country: Two-letter country code ([ISO 3166-1
-- alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentIntentLastPaymentError'Source'Owner'VerifiedAddress'Country] :: PaymentIntentLastPaymentError'Source'Owner'VerifiedAddress' -> Maybe Text
-- | line1: Address line 1 (e.g., street, PO Box, or company name).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentIntentLastPaymentError'Source'Owner'VerifiedAddress'Line1] :: PaymentIntentLastPaymentError'Source'Owner'VerifiedAddress' -> Maybe Text
-- | line2: Address line 2 (e.g., apartment, suite, unit, or building).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentIntentLastPaymentError'Source'Owner'VerifiedAddress'Line2] :: PaymentIntentLastPaymentError'Source'Owner'VerifiedAddress' -> Maybe Text
-- | postal_code: ZIP or postal code.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentIntentLastPaymentError'Source'Owner'VerifiedAddress'PostalCode] :: PaymentIntentLastPaymentError'Source'Owner'VerifiedAddress' -> Maybe Text
-- | state: State, county, province, or region.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentIntentLastPaymentError'Source'Owner'VerifiedAddress'State] :: PaymentIntentLastPaymentError'Source'Owner'VerifiedAddress' -> Maybe Text
-- | Create a new
-- PaymentIntentLastPaymentError'Source'Owner'VerifiedAddress'
-- with all required fields.
mkPaymentIntentLastPaymentError'Source'Owner'VerifiedAddress' :: PaymentIntentLastPaymentError'Source'Owner'VerifiedAddress'
-- | Defines the oneOf schema located at
-- components.schemas.payment_intent.properties.last_payment_error.anyOf.properties.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 PaymentIntentLastPaymentError'Source'Recipient'Variants
PaymentIntentLastPaymentError'Source'Recipient'Text :: Text -> PaymentIntentLastPaymentError'Source'Recipient'Variants
PaymentIntentLastPaymentError'Source'Recipient'Recipient :: Recipient -> PaymentIntentLastPaymentError'Source'Recipient'Variants
-- | Defines the enum schema located at
-- components.schemas.payment_intent.properties.last_payment_error.anyOf.properties.source.anyOf.properties.type
-- in the specification.
--
-- The `type` of the source. The `type` is a payment method, one of
-- `ach_credit_transfer`, `ach_debit`, `alipay`, `bancontact`, `card`,
-- `card_present`, `eps`, `giropay`, `ideal`, `multibanco`, `klarna`,
-- `p24`, `sepa_debit`, `sofort`, `three_d_secure`, or `wechat`. An
-- additional hash is included on the source with a name matching this
-- value. It contains additional information specific to the payment
-- method used.
data PaymentIntentLastPaymentError'Source'Type'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PaymentIntentLastPaymentError'Source'Type'Other :: Value -> PaymentIntentLastPaymentError'Source'Type'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PaymentIntentLastPaymentError'Source'Type'Typed :: Text -> PaymentIntentLastPaymentError'Source'Type'
-- | Represents the JSON value "ach_credit_transfer"
PaymentIntentLastPaymentError'Source'Type'EnumAchCreditTransfer :: PaymentIntentLastPaymentError'Source'Type'
-- | Represents the JSON value "ach_debit"
PaymentIntentLastPaymentError'Source'Type'EnumAchDebit :: PaymentIntentLastPaymentError'Source'Type'
-- | Represents the JSON value "acss_debit"
PaymentIntentLastPaymentError'Source'Type'EnumAcssDebit :: PaymentIntentLastPaymentError'Source'Type'
-- | Represents the JSON value "alipay"
PaymentIntentLastPaymentError'Source'Type'EnumAlipay :: PaymentIntentLastPaymentError'Source'Type'
-- | Represents the JSON value "au_becs_debit"
PaymentIntentLastPaymentError'Source'Type'EnumAuBecsDebit :: PaymentIntentLastPaymentError'Source'Type'
-- | Represents the JSON value "bancontact"
PaymentIntentLastPaymentError'Source'Type'EnumBancontact :: PaymentIntentLastPaymentError'Source'Type'
-- | Represents the JSON value "card"
PaymentIntentLastPaymentError'Source'Type'EnumCard :: PaymentIntentLastPaymentError'Source'Type'
-- | Represents the JSON value "card_present"
PaymentIntentLastPaymentError'Source'Type'EnumCardPresent :: PaymentIntentLastPaymentError'Source'Type'
-- | Represents the JSON value "eps"
PaymentIntentLastPaymentError'Source'Type'EnumEps :: PaymentIntentLastPaymentError'Source'Type'
-- | Represents the JSON value "giropay"
PaymentIntentLastPaymentError'Source'Type'EnumGiropay :: PaymentIntentLastPaymentError'Source'Type'
-- | Represents the JSON value "ideal"
PaymentIntentLastPaymentError'Source'Type'EnumIdeal :: PaymentIntentLastPaymentError'Source'Type'
-- | Represents the JSON value "klarna"
PaymentIntentLastPaymentError'Source'Type'EnumKlarna :: PaymentIntentLastPaymentError'Source'Type'
-- | Represents the JSON value "multibanco"
PaymentIntentLastPaymentError'Source'Type'EnumMultibanco :: PaymentIntentLastPaymentError'Source'Type'
-- | Represents the JSON value "p24"
PaymentIntentLastPaymentError'Source'Type'EnumP24 :: PaymentIntentLastPaymentError'Source'Type'
-- | Represents the JSON value "sepa_debit"
PaymentIntentLastPaymentError'Source'Type'EnumSepaDebit :: PaymentIntentLastPaymentError'Source'Type'
-- | Represents the JSON value "sofort"
PaymentIntentLastPaymentError'Source'Type'EnumSofort :: PaymentIntentLastPaymentError'Source'Type'
-- | Represents the JSON value "three_d_secure"
PaymentIntentLastPaymentError'Source'Type'EnumThreeDSecure :: PaymentIntentLastPaymentError'Source'Type'
-- | Represents the JSON value "wechat"
PaymentIntentLastPaymentError'Source'Type'EnumWechat :: PaymentIntentLastPaymentError'Source'Type'
-- | Defines the enum schema located at
-- components.schemas.payment_intent.properties.last_payment_error.anyOf.properties.type
-- in the specification.
--
-- The type of error returned. One of `api_connection_error`,
-- `api_error`, `authentication_error`, `card_error`,
-- `idempotency_error`, `invalid_request_error`, or `rate_limit_error`
data PaymentIntentLastPaymentError'Type'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PaymentIntentLastPaymentError'Type'Other :: Value -> PaymentIntentLastPaymentError'Type'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PaymentIntentLastPaymentError'Type'Typed :: Text -> PaymentIntentLastPaymentError'Type'
-- | Represents the JSON value "api_connection_error"
PaymentIntentLastPaymentError'Type'EnumApiConnectionError :: PaymentIntentLastPaymentError'Type'
-- | Represents the JSON value "api_error"
PaymentIntentLastPaymentError'Type'EnumApiError :: PaymentIntentLastPaymentError'Type'
-- | Represents the JSON value "authentication_error"
PaymentIntentLastPaymentError'Type'EnumAuthenticationError :: PaymentIntentLastPaymentError'Type'
-- | Represents the JSON value "card_error"
PaymentIntentLastPaymentError'Type'EnumCardError :: PaymentIntentLastPaymentError'Type'
-- | Represents the JSON value "idempotency_error"
PaymentIntentLastPaymentError'Type'EnumIdempotencyError :: PaymentIntentLastPaymentError'Type'
-- | Represents the JSON value "invalid_request_error"
PaymentIntentLastPaymentError'Type'EnumInvalidRequestError :: PaymentIntentLastPaymentError'Type'
-- | Represents the JSON value "rate_limit_error"
PaymentIntentLastPaymentError'Type'EnumRateLimitError :: PaymentIntentLastPaymentError'Type'
-- | Defines the object schema located at
-- components.schemas.payment_intent.properties.next_action.anyOf
-- in the specification.
--
-- If present, this property tells you what actions you need to take in
-- order for your customer to fulfill a payment using the provided
-- source.
data PaymentIntentNextAction'
PaymentIntentNextAction' :: Maybe PaymentIntentNextActionAlipayHandleRedirect -> Maybe PaymentIntentNextActionBoleto -> Maybe PaymentIntentNextActionDisplayOxxoDetails -> Maybe PaymentIntentNextActionRedirectToUrl -> Maybe Text -> Maybe Object -> Maybe PaymentIntentNextActionVerifyWithMicrodeposits -> PaymentIntentNextAction'
-- | alipay_handle_redirect:
[paymentIntentNextAction'AlipayHandleRedirect] :: PaymentIntentNextAction' -> Maybe PaymentIntentNextActionAlipayHandleRedirect
-- | boleto_display_details:
[paymentIntentNextAction'BoletoDisplayDetails] :: PaymentIntentNextAction' -> Maybe PaymentIntentNextActionBoleto
-- | oxxo_display_details:
[paymentIntentNextAction'OxxoDisplayDetails] :: PaymentIntentNextAction' -> Maybe PaymentIntentNextActionDisplayOxxoDetails
-- | redirect_to_url:
[paymentIntentNextAction'RedirectToUrl] :: PaymentIntentNextAction' -> Maybe PaymentIntentNextActionRedirectToUrl
-- | type: Type of the next action to perform, one of `redirect_to_url`,
-- `use_stripe_sdk`, `alipay_handle_redirect`, or `oxxo_display_details`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentIntentNextAction'Type] :: PaymentIntentNextAction' -> Maybe Text
-- | use_stripe_sdk: When confirming a PaymentIntent with Stripe.js,
-- Stripe.js depends on the contents of this dictionary to invoke
-- authentication flows. The shape of the contents is subject to change
-- and is only intended to be used by Stripe.js.
[paymentIntentNextAction'UseStripeSdk] :: PaymentIntentNextAction' -> Maybe Object
-- | verify_with_microdeposits:
[paymentIntentNextAction'VerifyWithMicrodeposits] :: PaymentIntentNextAction' -> Maybe PaymentIntentNextActionVerifyWithMicrodeposits
-- | Create a new PaymentIntentNextAction' with all required fields.
mkPaymentIntentNextAction' :: PaymentIntentNextAction'
-- | Defines the oneOf schema located at
-- components.schemas.payment_intent.properties.on_behalf_of.anyOf
-- in the specification.
--
-- The account (if any) for which the funds of the PaymentIntent are
-- intended. See the PaymentIntents use case for connected
-- accounts for details.
data PaymentIntentOnBehalfOf'Variants
PaymentIntentOnBehalfOf'Text :: Text -> PaymentIntentOnBehalfOf'Variants
PaymentIntentOnBehalfOf'Account :: Account -> PaymentIntentOnBehalfOf'Variants
-- | Defines the oneOf schema located at
-- components.schemas.payment_intent.properties.payment_method.anyOf
-- in the specification.
--
-- ID of the payment method used in this PaymentIntent.
data PaymentIntentPaymentMethod'Variants
PaymentIntentPaymentMethod'Text :: Text -> PaymentIntentPaymentMethod'Variants
PaymentIntentPaymentMethod'PaymentMethod :: PaymentMethod -> PaymentIntentPaymentMethod'Variants
-- | Defines the object schema located at
-- components.schemas.payment_intent.properties.payment_method_options.anyOf
-- in the specification.
--
-- Payment-method-specific configuration for this PaymentIntent.
data PaymentIntentPaymentMethodOptions'
PaymentIntentPaymentMethodOptions' :: Maybe PaymentIntentPaymentMethodOptionsAcssDebit -> Maybe PaymentMethodOptionsAfterpayClearpay -> Maybe PaymentMethodOptionsAlipay -> Maybe PaymentMethodOptionsBancontact -> Maybe PaymentMethodOptionsBoleto -> Maybe PaymentIntentPaymentMethodOptionsCard -> Maybe PaymentMethodOptionsCardPresent -> Maybe PaymentMethodOptionsOxxo -> Maybe PaymentMethodOptionsP24 -> Maybe PaymentIntentPaymentMethodOptionsSepaDebit -> Maybe PaymentMethodOptionsSofort -> PaymentIntentPaymentMethodOptions'
-- | acss_debit:
[paymentIntentPaymentMethodOptions'AcssDebit] :: PaymentIntentPaymentMethodOptions' -> Maybe PaymentIntentPaymentMethodOptionsAcssDebit
-- | afterpay_clearpay:
[paymentIntentPaymentMethodOptions'AfterpayClearpay] :: PaymentIntentPaymentMethodOptions' -> Maybe PaymentMethodOptionsAfterpayClearpay
-- | alipay:
[paymentIntentPaymentMethodOptions'Alipay] :: PaymentIntentPaymentMethodOptions' -> Maybe PaymentMethodOptionsAlipay
-- | bancontact:
[paymentIntentPaymentMethodOptions'Bancontact] :: PaymentIntentPaymentMethodOptions' -> Maybe PaymentMethodOptionsBancontact
-- | boleto:
[paymentIntentPaymentMethodOptions'Boleto] :: PaymentIntentPaymentMethodOptions' -> Maybe PaymentMethodOptionsBoleto
-- | card:
[paymentIntentPaymentMethodOptions'Card] :: PaymentIntentPaymentMethodOptions' -> Maybe PaymentIntentPaymentMethodOptionsCard
-- | card_present:
[paymentIntentPaymentMethodOptions'CardPresent] :: PaymentIntentPaymentMethodOptions' -> Maybe PaymentMethodOptionsCardPresent
-- | oxxo:
[paymentIntentPaymentMethodOptions'Oxxo] :: PaymentIntentPaymentMethodOptions' -> Maybe PaymentMethodOptionsOxxo
-- | p24:
[paymentIntentPaymentMethodOptions'P24] :: PaymentIntentPaymentMethodOptions' -> Maybe PaymentMethodOptionsP24
-- | sepa_debit:
[paymentIntentPaymentMethodOptions'SepaDebit] :: PaymentIntentPaymentMethodOptions' -> Maybe PaymentIntentPaymentMethodOptionsSepaDebit
-- | sofort:
[paymentIntentPaymentMethodOptions'Sofort] :: PaymentIntentPaymentMethodOptions' -> Maybe PaymentMethodOptionsSofort
-- | Create a new PaymentIntentPaymentMethodOptions' with all
-- required fields.
mkPaymentIntentPaymentMethodOptions' :: PaymentIntentPaymentMethodOptions'
-- | Defines the oneOf schema located at
-- components.schemas.payment_intent.properties.review.anyOf in
-- the specification.
--
-- ID of the review associated with this PaymentIntent, if any.
data PaymentIntentReview'Variants
PaymentIntentReview'Text :: Text -> PaymentIntentReview'Variants
PaymentIntentReview'Review :: Review -> PaymentIntentReview'Variants
-- | Defines the enum schema located at
-- components.schemas.payment_intent.properties.setup_future_usage
-- in the specification.
--
-- Indicates that you intend to make future payments with this
-- PaymentIntent's payment method.
--
-- Providing this parameter will attach the payment method to the
-- PaymentIntent's Customer, if present, after the PaymentIntent is
-- confirmed and any required actions from the user are complete. If no
-- Customer was provided, the payment method can still be attached
-- to a Customer after the transaction completes.
--
-- When processing card payments, Stripe also uses `setup_future_usage`
-- to dynamically optimize your payment flow and comply with regional
-- legislation and network rules, such as SCA.
data PaymentIntentSetupFutureUsage'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PaymentIntentSetupFutureUsage'Other :: Value -> PaymentIntentSetupFutureUsage'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PaymentIntentSetupFutureUsage'Typed :: Text -> PaymentIntentSetupFutureUsage'
-- | Represents the JSON value "off_session"
PaymentIntentSetupFutureUsage'EnumOffSession :: PaymentIntentSetupFutureUsage'
-- | Represents the JSON value "on_session"
PaymentIntentSetupFutureUsage'EnumOnSession :: PaymentIntentSetupFutureUsage'
-- | Defines the object schema located at
-- components.schemas.payment_intent.properties.shipping.anyOf
-- in the specification.
--
-- Shipping information for this PaymentIntent.
data PaymentIntentShipping'
PaymentIntentShipping' :: Maybe Address -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PaymentIntentShipping'
-- | address:
[paymentIntentShipping'Address] :: PaymentIntentShipping' -> Maybe Address
-- | carrier: The delivery service that shipped a physical product, such as
-- Fedex, UPS, USPS, etc.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentIntentShipping'Carrier] :: PaymentIntentShipping' -> Maybe Text
-- | name: Recipient name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentIntentShipping'Name] :: PaymentIntentShipping' -> Maybe Text
-- | phone: Recipient phone (including extension).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentIntentShipping'Phone] :: PaymentIntentShipping' -> Maybe Text
-- | tracking_number: The tracking number for a physical product, obtained
-- from the delivery service. If multiple tracking numbers were generated
-- for this purchase, please separate them with commas.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[paymentIntentShipping'TrackingNumber] :: PaymentIntentShipping' -> Maybe Text
-- | Create a new PaymentIntentShipping' with all required fields.
mkPaymentIntentShipping' :: PaymentIntentShipping'
-- | Defines the enum schema located at
-- components.schemas.payment_intent.properties.status in the
-- specification.
--
-- Status of this PaymentIntent, one of `requires_payment_method`,
-- `requires_confirmation`, `requires_action`, `processing`,
-- `requires_capture`, `canceled`, or `succeeded`. Read more about each
-- PaymentIntent status.
data PaymentIntentStatus'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PaymentIntentStatus'Other :: Value -> PaymentIntentStatus'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PaymentIntentStatus'Typed :: Text -> PaymentIntentStatus'
-- | Represents the JSON value "canceled"
PaymentIntentStatus'EnumCanceled :: PaymentIntentStatus'
-- | Represents the JSON value "processing"
PaymentIntentStatus'EnumProcessing :: PaymentIntentStatus'
-- | Represents the JSON value "requires_action"
PaymentIntentStatus'EnumRequiresAction :: PaymentIntentStatus'
-- | Represents the JSON value "requires_capture"
PaymentIntentStatus'EnumRequiresCapture :: PaymentIntentStatus'
-- | Represents the JSON value "requires_confirmation"
PaymentIntentStatus'EnumRequiresConfirmation :: PaymentIntentStatus'
-- | Represents the JSON value "requires_payment_method"
PaymentIntentStatus'EnumRequiresPaymentMethod :: PaymentIntentStatus'
-- | Represents the JSON value "succeeded"
PaymentIntentStatus'EnumSucceeded :: PaymentIntentStatus'
-- | Defines the object schema located at
-- components.schemas.payment_intent.properties.transfer_data.anyOf
-- in the specification.
--
-- The data with which to automatically create a Transfer when the
-- payment is finalized. See the PaymentIntents use case for connected
-- accounts for details.
data PaymentIntentTransferData'
PaymentIntentTransferData' :: Maybe Int -> Maybe PaymentIntentTransferData'Destination'Variants -> PaymentIntentTransferData'
-- | amount: Amount intended to be collected by this PaymentIntent. A
-- positive integer representing how much to charge in the smallest
-- currency unit (e.g., 100 cents to charge $1.00 or 100 to charge
-- ¥100, a zero-decimal currency). The minimum amount is $0.50 US or
-- equivalent in charge currency. The amount value supports up to
-- eight digits (e.g., a value of 99999999 for a USD charge of
-- $999,999.99).
[paymentIntentTransferData'Amount] :: PaymentIntentTransferData' -> Maybe Int
-- | destination: The account (if any) the payment will be attributed to
-- for tax reporting, and where funds from the payment will be
-- transferred to upon payment success.
[paymentIntentTransferData'Destination] :: PaymentIntentTransferData' -> Maybe PaymentIntentTransferData'Destination'Variants
-- | Create a new PaymentIntentTransferData' with all required
-- fields.
mkPaymentIntentTransferData' :: PaymentIntentTransferData'
-- | Defines the oneOf schema located at
-- components.schemas.payment_intent.properties.transfer_data.anyOf.properties.destination.anyOf
-- in the specification.
--
-- The account (if any) the payment will be attributed to for tax
-- reporting, and where funds from the payment will be transferred to
-- upon payment success.
data PaymentIntentTransferData'Destination'Variants
PaymentIntentTransferData'Destination'Text :: Text -> PaymentIntentTransferData'Destination'Variants
PaymentIntentTransferData'Destination'Account :: Account -> PaymentIntentTransferData'Destination'Variants
instance GHC.Classes.Eq StripeAPI.Types.PaymentIntent.PaymentIntentApplication'Variants
instance GHC.Show.Show StripeAPI.Types.PaymentIntent.PaymentIntentApplication'Variants
instance GHC.Classes.Eq StripeAPI.Types.PaymentIntent.PaymentIntentCancellationReason'
instance GHC.Show.Show StripeAPI.Types.PaymentIntent.PaymentIntentCancellationReason'
instance GHC.Classes.Eq StripeAPI.Types.PaymentIntent.PaymentIntentCaptureMethod'
instance GHC.Show.Show StripeAPI.Types.PaymentIntent.PaymentIntentCaptureMethod'
instance GHC.Classes.Eq StripeAPI.Types.PaymentIntent.PaymentIntentCharges'
instance GHC.Show.Show StripeAPI.Types.PaymentIntent.PaymentIntentCharges'
instance GHC.Classes.Eq StripeAPI.Types.PaymentIntent.PaymentIntentConfirmationMethod'
instance GHC.Show.Show StripeAPI.Types.PaymentIntent.PaymentIntentConfirmationMethod'
instance GHC.Classes.Eq StripeAPI.Types.PaymentIntent.PaymentIntentCustomer'Variants
instance GHC.Show.Show StripeAPI.Types.PaymentIntent.PaymentIntentCustomer'Variants
instance GHC.Classes.Eq StripeAPI.Types.PaymentIntent.PaymentIntentInvoice'Variants
instance GHC.Show.Show StripeAPI.Types.PaymentIntent.PaymentIntentInvoice'Variants
instance GHC.Classes.Eq StripeAPI.Types.PaymentIntent.PaymentIntentLastPaymentError'Source'Account'Variants
instance GHC.Show.Show StripeAPI.Types.PaymentIntent.PaymentIntentLastPaymentError'Source'Account'Variants
instance GHC.Classes.Eq StripeAPI.Types.PaymentIntent.PaymentIntentLastPaymentError'Source'AvailablePayoutMethods'
instance GHC.Show.Show StripeAPI.Types.PaymentIntent.PaymentIntentLastPaymentError'Source'AvailablePayoutMethods'
instance GHC.Classes.Eq StripeAPI.Types.PaymentIntent.PaymentIntentLastPaymentError'Source'Customer'Variants
instance GHC.Show.Show StripeAPI.Types.PaymentIntent.PaymentIntentLastPaymentError'Source'Customer'Variants
instance GHC.Classes.Eq StripeAPI.Types.PaymentIntent.PaymentIntentLastPaymentError'Source'Object'
instance GHC.Show.Show StripeAPI.Types.PaymentIntent.PaymentIntentLastPaymentError'Source'Object'
instance GHC.Classes.Eq StripeAPI.Types.PaymentIntent.PaymentIntentLastPaymentError'Source'Owner'Address'
instance GHC.Show.Show StripeAPI.Types.PaymentIntent.PaymentIntentLastPaymentError'Source'Owner'Address'
instance GHC.Classes.Eq StripeAPI.Types.PaymentIntent.PaymentIntentLastPaymentError'Source'Owner'VerifiedAddress'
instance GHC.Show.Show StripeAPI.Types.PaymentIntent.PaymentIntentLastPaymentError'Source'Owner'VerifiedAddress'
instance GHC.Classes.Eq StripeAPI.Types.PaymentIntent.PaymentIntentLastPaymentError'Source'Owner'
instance GHC.Show.Show StripeAPI.Types.PaymentIntent.PaymentIntentLastPaymentError'Source'Owner'
instance GHC.Classes.Eq StripeAPI.Types.PaymentIntent.PaymentIntentLastPaymentError'Source'Recipient'Variants
instance GHC.Show.Show StripeAPI.Types.PaymentIntent.PaymentIntentLastPaymentError'Source'Recipient'Variants
instance GHC.Classes.Eq StripeAPI.Types.PaymentIntent.PaymentIntentLastPaymentError'Source'Type'
instance GHC.Show.Show StripeAPI.Types.PaymentIntent.PaymentIntentLastPaymentError'Source'Type'
instance GHC.Classes.Eq StripeAPI.Types.PaymentIntent.PaymentIntentLastPaymentError'Source'
instance GHC.Show.Show StripeAPI.Types.PaymentIntent.PaymentIntentLastPaymentError'Source'
instance GHC.Classes.Eq StripeAPI.Types.PaymentIntent.PaymentIntentLastPaymentError'Type'
instance GHC.Show.Show StripeAPI.Types.PaymentIntent.PaymentIntentLastPaymentError'Type'
instance GHC.Classes.Eq StripeAPI.Types.PaymentIntent.PaymentIntentNextAction'
instance GHC.Show.Show StripeAPI.Types.PaymentIntent.PaymentIntentNextAction'
instance GHC.Classes.Eq StripeAPI.Types.PaymentIntent.PaymentIntentOnBehalfOf'Variants
instance GHC.Show.Show StripeAPI.Types.PaymentIntent.PaymentIntentOnBehalfOf'Variants
instance GHC.Classes.Eq StripeAPI.Types.PaymentIntent.PaymentIntentPaymentMethod'Variants
instance GHC.Show.Show StripeAPI.Types.PaymentIntent.PaymentIntentPaymentMethod'Variants
instance GHC.Classes.Eq StripeAPI.Types.PaymentIntent.PaymentIntentPaymentMethodOptions'
instance GHC.Show.Show StripeAPI.Types.PaymentIntent.PaymentIntentPaymentMethodOptions'
instance GHC.Classes.Eq StripeAPI.Types.PaymentIntent.PaymentIntentReview'Variants
instance GHC.Show.Show StripeAPI.Types.PaymentIntent.PaymentIntentReview'Variants
instance GHC.Classes.Eq StripeAPI.Types.PaymentIntent.PaymentIntentSetupFutureUsage'
instance GHC.Show.Show StripeAPI.Types.PaymentIntent.PaymentIntentSetupFutureUsage'
instance GHC.Classes.Eq StripeAPI.Types.PaymentIntent.PaymentIntentShipping'
instance GHC.Show.Show StripeAPI.Types.PaymentIntent.PaymentIntentShipping'
instance GHC.Classes.Eq StripeAPI.Types.PaymentIntent.PaymentIntentStatus'
instance GHC.Show.Show StripeAPI.Types.PaymentIntent.PaymentIntentStatus'
instance GHC.Classes.Eq StripeAPI.Types.PaymentIntent.PaymentIntentTransferData'Destination'Variants
instance GHC.Show.Show StripeAPI.Types.PaymentIntent.PaymentIntentTransferData'Destination'Variants
instance GHC.Classes.Eq StripeAPI.Types.PaymentIntent.PaymentIntentTransferData'
instance GHC.Show.Show StripeAPI.Types.PaymentIntent.PaymentIntentTransferData'
instance GHC.Classes.Eq StripeAPI.Types.PaymentIntent.PaymentIntentLastPaymentError'
instance GHC.Show.Show StripeAPI.Types.PaymentIntent.PaymentIntentLastPaymentError'
instance GHC.Classes.Eq StripeAPI.Types.PaymentIntent.PaymentIntent
instance GHC.Show.Show StripeAPI.Types.PaymentIntent.PaymentIntent
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentIntent.PaymentIntent
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentIntent.PaymentIntent
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentIntent.PaymentIntentLastPaymentError'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentIntent.PaymentIntentLastPaymentError'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentIntent.PaymentIntentTransferData'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentIntent.PaymentIntentTransferData'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentIntent.PaymentIntentTransferData'Destination'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentIntent.PaymentIntentTransferData'Destination'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentIntent.PaymentIntentStatus'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentIntent.PaymentIntentStatus'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentIntent.PaymentIntentShipping'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentIntent.PaymentIntentShipping'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentIntent.PaymentIntentSetupFutureUsage'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentIntent.PaymentIntentSetupFutureUsage'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentIntent.PaymentIntentReview'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentIntent.PaymentIntentReview'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentIntent.PaymentIntentPaymentMethodOptions'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentIntent.PaymentIntentPaymentMethodOptions'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentIntent.PaymentIntentPaymentMethod'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentIntent.PaymentIntentPaymentMethod'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentIntent.PaymentIntentOnBehalfOf'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentIntent.PaymentIntentOnBehalfOf'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentIntent.PaymentIntentNextAction'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentIntent.PaymentIntentNextAction'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentIntent.PaymentIntentLastPaymentError'Type'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentIntent.PaymentIntentLastPaymentError'Type'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentIntent.PaymentIntentLastPaymentError'Source'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentIntent.PaymentIntentLastPaymentError'Source'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentIntent.PaymentIntentLastPaymentError'Source'Type'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentIntent.PaymentIntentLastPaymentError'Source'Type'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentIntent.PaymentIntentLastPaymentError'Source'Recipient'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentIntent.PaymentIntentLastPaymentError'Source'Recipient'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentIntent.PaymentIntentLastPaymentError'Source'Owner'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentIntent.PaymentIntentLastPaymentError'Source'Owner'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentIntent.PaymentIntentLastPaymentError'Source'Owner'VerifiedAddress'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentIntent.PaymentIntentLastPaymentError'Source'Owner'VerifiedAddress'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentIntent.PaymentIntentLastPaymentError'Source'Owner'Address'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentIntent.PaymentIntentLastPaymentError'Source'Owner'Address'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentIntent.PaymentIntentLastPaymentError'Source'Object'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentIntent.PaymentIntentLastPaymentError'Source'Object'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentIntent.PaymentIntentLastPaymentError'Source'Customer'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentIntent.PaymentIntentLastPaymentError'Source'Customer'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentIntent.PaymentIntentLastPaymentError'Source'AvailablePayoutMethods'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentIntent.PaymentIntentLastPaymentError'Source'AvailablePayoutMethods'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentIntent.PaymentIntentLastPaymentError'Source'Account'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentIntent.PaymentIntentLastPaymentError'Source'Account'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentIntent.PaymentIntentInvoice'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentIntent.PaymentIntentInvoice'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentIntent.PaymentIntentCustomer'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentIntent.PaymentIntentCustomer'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentIntent.PaymentIntentConfirmationMethod'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentIntent.PaymentIntentConfirmationMethod'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentIntent.PaymentIntentCharges'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentIntent.PaymentIntentCharges'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentIntent.PaymentIntentCaptureMethod'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentIntent.PaymentIntentCaptureMethod'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentIntent.PaymentIntentCancellationReason'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentIntent.PaymentIntentCancellationReason'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.PaymentIntent.PaymentIntentApplication'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.PaymentIntent.PaymentIntentApplication'Variants
-- | Contains the types generated from the schema TransferData
module StripeAPI.Types.TransferData
-- | Defines the object schema located at
-- components.schemas.transfer_data in the specification.
data TransferData
TransferData :: Maybe Int -> TransferDataDestination'Variants -> TransferData
-- | amount: Amount intended to be collected by this PaymentIntent. A
-- positive integer representing how much to charge in the smallest
-- currency unit (e.g., 100 cents to charge $1.00 or 100 to charge
-- ¥100, a zero-decimal currency). The minimum amount is $0.50 US or
-- equivalent in charge currency. The amount value supports up to
-- eight digits (e.g., a value of 99999999 for a USD charge of
-- $999,999.99).
[transferDataAmount] :: TransferData -> Maybe Int
-- | destination: The account (if any) the payment will be attributed to
-- for tax reporting, and where funds from the payment will be
-- transferred to upon payment success.
[transferDataDestination] :: TransferData -> TransferDataDestination'Variants
-- | Create a new TransferData with all required fields.
mkTransferData :: TransferDataDestination'Variants -> TransferData
-- | Defines the oneOf schema located at
-- components.schemas.transfer_data.properties.destination.anyOf
-- in the specification.
--
-- The account (if any) the payment will be attributed to for tax
-- reporting, and where funds from the payment will be transferred to
-- upon payment success.
data TransferDataDestination'Variants
TransferDataDestination'Text :: Text -> TransferDataDestination'Variants
TransferDataDestination'Account :: Account -> TransferDataDestination'Variants
instance GHC.Classes.Eq StripeAPI.Types.TransferData.TransferDataDestination'Variants
instance GHC.Show.Show StripeAPI.Types.TransferData.TransferDataDestination'Variants
instance GHC.Classes.Eq StripeAPI.Types.TransferData.TransferData
instance GHC.Show.Show StripeAPI.Types.TransferData.TransferData
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.TransferData.TransferData
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.TransferData.TransferData
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.TransferData.TransferDataDestination'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.TransferData.TransferDataDestination'Variants
-- | Contains the types generated from the schema Transfer
module StripeAPI.Types.Transfer
-- | Defines the object schema located at
-- components.schemas.transfer in the specification.
--
-- A `Transfer` object is created when you move funds between Stripe
-- accounts as part of Connect.
--
-- Before April 6, 2017, transfers also represented movement of funds
-- from a Stripe account to a card or bank account. This behavior has
-- since been split out into a Payout object, with corresponding
-- payout endpoints. For more information, read about the
-- transfer/payout split.
--
-- Related guide: Creating Separate Charges and Transfers.
data Transfer
Transfer :: Int -> Int -> Maybe TransferBalanceTransaction'Variants -> Int -> Text -> Maybe Text -> Maybe TransferDestination'Variants -> Maybe TransferDestinationPayment'Variants -> Text -> Bool -> Object -> TransferReversals' -> Bool -> Maybe TransferSourceTransaction'Variants -> Maybe Text -> Maybe Text -> Transfer
-- | amount: Amount in %s to be transferred.
[transferAmount] :: Transfer -> Int
-- | amount_reversed: Amount in %s reversed (can be less than the amount
-- attribute on the transfer if a partial reversal was issued).
[transferAmountReversed] :: Transfer -> Int
-- | balance_transaction: Balance transaction that describes the impact of
-- this transfer on your account balance.
[transferBalanceTransaction] :: Transfer -> Maybe TransferBalanceTransaction'Variants
-- | created: Time that this record of the transfer was first created.
[transferCreated] :: Transfer -> Int
-- | currency: Three-letter ISO currency code, in lowercase. Must be
-- a supported currency.
[transferCurrency] :: Transfer -> Text
-- | description: An arbitrary string attached to the object. Often useful
-- for displaying to users.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[transferDescription] :: Transfer -> Maybe Text
-- | destination: ID of the Stripe account the transfer was sent to.
[transferDestination] :: Transfer -> Maybe TransferDestination'Variants
-- | destination_payment: If the destination is a Stripe account, this will
-- be the ID of the payment that the destination account received for the
-- transfer.
[transferDestinationPayment] :: Transfer -> Maybe TransferDestinationPayment'Variants
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[transferId] :: Transfer -> Text
-- | livemode: Has the value `true` if the object exists in live mode or
-- the value `false` if the object exists in test mode.
[transferLivemode] :: Transfer -> Bool
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format.
[transferMetadata] :: Transfer -> Object
-- | reversals: A list of reversals that have been applied to the transfer.
[transferReversals] :: Transfer -> TransferReversals'
-- | reversed: Whether the transfer has been fully reversed. If the
-- transfer is only partially reversed, this attribute will still be
-- false.
[transferReversed] :: Transfer -> Bool
-- | source_transaction: ID of the charge or payment that was used to fund
-- the transfer. If null, the transfer was funded from the available
-- balance.
[transferSourceTransaction] :: Transfer -> Maybe TransferSourceTransaction'Variants
-- | source_type: The source balance this transfer came from. One of
-- `card`, `fpx`, or `bank_account`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[transferSourceType] :: Transfer -> Maybe Text
-- | transfer_group: A string that identifies this transaction as part of a
-- group. See the Connect documentation for details.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[transferTransferGroup] :: Transfer -> Maybe Text
-- | Create a new Transfer with all required fields.
mkTransfer :: Int -> Int -> Int -> Text -> Text -> Bool -> Object -> TransferReversals' -> Bool -> Transfer
-- | Defines the oneOf schema located at
-- components.schemas.transfer.properties.balance_transaction.anyOf
-- in the specification.
--
-- Balance transaction that describes the impact of this transfer on your
-- account balance.
data TransferBalanceTransaction'Variants
TransferBalanceTransaction'Text :: Text -> TransferBalanceTransaction'Variants
TransferBalanceTransaction'BalanceTransaction :: BalanceTransaction -> TransferBalanceTransaction'Variants
-- | Defines the oneOf schema located at
-- components.schemas.transfer.properties.destination.anyOf in
-- the specification.
--
-- ID of the Stripe account the transfer was sent to.
data TransferDestination'Variants
TransferDestination'Text :: Text -> TransferDestination'Variants
TransferDestination'Account :: Account -> TransferDestination'Variants
-- | Defines the oneOf schema located at
-- components.schemas.transfer.properties.destination_payment.anyOf
-- in the specification.
--
-- If the destination is a Stripe account, this will be the ID of the
-- payment that the destination account received for the transfer.
data TransferDestinationPayment'Variants
TransferDestinationPayment'Text :: Text -> TransferDestinationPayment'Variants
TransferDestinationPayment'Charge :: Charge -> TransferDestinationPayment'Variants
-- | Defines the object schema located at
-- components.schemas.transfer.properties.reversals in the
-- specification.
--
-- A list of reversals that have been applied to the transfer.
data TransferReversals'
TransferReversals' :: [TransferReversal] -> Bool -> Text -> TransferReversals'
-- | data: Details about each object.
[transferReversals'Data] :: TransferReversals' -> [TransferReversal]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[transferReversals'HasMore] :: TransferReversals' -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[transferReversals'Url] :: TransferReversals' -> Text
-- | Create a new TransferReversals' with all required fields.
mkTransferReversals' :: [TransferReversal] -> Bool -> Text -> TransferReversals'
-- | Defines the oneOf schema located at
-- components.schemas.transfer.properties.source_transaction.anyOf
-- in the specification.
--
-- ID of the charge or payment that was used to fund the transfer. If
-- null, the transfer was funded from the available balance.
data TransferSourceTransaction'Variants
TransferSourceTransaction'Text :: Text -> TransferSourceTransaction'Variants
TransferSourceTransaction'Charge :: Charge -> TransferSourceTransaction'Variants
instance GHC.Classes.Eq StripeAPI.Types.Transfer.TransferBalanceTransaction'Variants
instance GHC.Show.Show StripeAPI.Types.Transfer.TransferBalanceTransaction'Variants
instance GHC.Classes.Eq StripeAPI.Types.Transfer.TransferDestination'Variants
instance GHC.Show.Show StripeAPI.Types.Transfer.TransferDestination'Variants
instance GHC.Classes.Eq StripeAPI.Types.Transfer.TransferDestinationPayment'Variants
instance GHC.Show.Show StripeAPI.Types.Transfer.TransferDestinationPayment'Variants
instance GHC.Classes.Eq StripeAPI.Types.Transfer.TransferReversals'
instance GHC.Show.Show StripeAPI.Types.Transfer.TransferReversals'
instance GHC.Classes.Eq StripeAPI.Types.Transfer.TransferSourceTransaction'Variants
instance GHC.Show.Show StripeAPI.Types.Transfer.TransferSourceTransaction'Variants
instance GHC.Classes.Eq StripeAPI.Types.Transfer.Transfer
instance GHC.Show.Show StripeAPI.Types.Transfer.Transfer
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Transfer.Transfer
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Transfer.Transfer
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Transfer.TransferSourceTransaction'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Transfer.TransferSourceTransaction'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Transfer.TransferReversals'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Transfer.TransferReversals'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Transfer.TransferDestinationPayment'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Transfer.TransferDestinationPayment'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Transfer.TransferDestination'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Transfer.TransferDestination'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Transfer.TransferBalanceTransaction'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Transfer.TransferBalanceTransaction'Variants
-- | Contains the types generated from the schema Refund
module StripeAPI.Types.Refund
-- | Defines the object schema located at
-- components.schemas.refund in the specification.
--
-- `Refund` objects allow you to refund a charge that has previously been
-- created but not yet refunded. Funds will be refunded to the credit or
-- debit card that was originally charged.
--
-- Related guide: Refunds.
data Refund
Refund :: Int -> Maybe RefundBalanceTransaction'Variants -> Maybe RefundCharge'Variants -> Int -> Text -> Maybe Text -> Maybe RefundFailureBalanceTransaction'Variants -> Maybe Text -> Text -> Maybe Object -> Maybe RefundPaymentIntent'Variants -> Maybe Text -> Maybe Text -> Maybe RefundSourceTransferReversal'Variants -> Maybe Text -> Maybe RefundTransferReversal'Variants -> Refund
-- | amount: Amount, in %s.
[refundAmount] :: Refund -> Int
-- | balance_transaction: Balance transaction that describes the impact on
-- your account balance.
[refundBalanceTransaction] :: Refund -> Maybe RefundBalanceTransaction'Variants
-- | charge: ID of the charge that was refunded.
[refundCharge] :: Refund -> Maybe RefundCharge'Variants
-- | created: Time at which the object was created. Measured in seconds
-- since the Unix epoch.
[refundCreated] :: Refund -> Int
-- | currency: Three-letter ISO currency code, in lowercase. Must be
-- a supported currency.
[refundCurrency] :: Refund -> Text
-- | description: An arbitrary string attached to the object. Often useful
-- for displaying to users. (Available on non-card refunds only)
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[refundDescription] :: Refund -> Maybe Text
-- | failure_balance_transaction: If the refund failed, this balance
-- transaction describes the adjustment made on your account balance that
-- reverses the initial balance transaction.
[refundFailureBalanceTransaction] :: Refund -> Maybe RefundFailureBalanceTransaction'Variants
-- | failure_reason: If the refund failed, the reason for refund failure if
-- known. Possible values are `lost_or_stolen_card`,
-- `expired_or_canceled_card`, or `unknown`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[refundFailureReason] :: Refund -> Maybe Text
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[refundId] :: Refund -> Text
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format.
[refundMetadata] :: Refund -> Maybe Object
-- | payment_intent: ID of the PaymentIntent that was refunded.
[refundPaymentIntent] :: Refund -> Maybe RefundPaymentIntent'Variants
-- | reason: Reason for the refund, either user-provided (`duplicate`,
-- `fraudulent`, or `requested_by_customer`) or generated by Stripe
-- internally (`expired_uncaptured_charge`).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[refundReason] :: Refund -> Maybe Text
-- | receipt_number: This is the transaction number that appears on email
-- receipts sent for this refund.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[refundReceiptNumber] :: Refund -> Maybe Text
-- | source_transfer_reversal: The transfer reversal that is associated
-- with the refund. Only present if the charge came from another Stripe
-- account. See the Connect documentation for details.
[refundSourceTransferReversal] :: Refund -> Maybe RefundSourceTransferReversal'Variants
-- | status: Status of the refund. For credit card refunds, this can be
-- `pending`, `succeeded`, or `failed`. For other types of refunds, it
-- can be `pending`, `succeeded`, `failed`, or `canceled`. Refer to our
-- refunds documentation for more details.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[refundStatus] :: Refund -> Maybe Text
-- | transfer_reversal: If the accompanying transfer was reversed, the
-- transfer reversal object. Only applicable if the charge was created
-- using the destination parameter.
[refundTransferReversal] :: Refund -> Maybe RefundTransferReversal'Variants
-- | Create a new Refund with all required fields.
mkRefund :: Int -> Int -> Text -> Text -> Refund
-- | Defines the oneOf schema located at
-- components.schemas.refund.properties.balance_transaction.anyOf
-- in the specification.
--
-- Balance transaction that describes the impact on your account balance.
data RefundBalanceTransaction'Variants
RefundBalanceTransaction'Text :: Text -> RefundBalanceTransaction'Variants
RefundBalanceTransaction'BalanceTransaction :: BalanceTransaction -> RefundBalanceTransaction'Variants
-- | Defines the oneOf schema located at
-- components.schemas.refund.properties.charge.anyOf in the
-- specification.
--
-- ID of the charge that was refunded.
data RefundCharge'Variants
RefundCharge'Text :: Text -> RefundCharge'Variants
RefundCharge'Charge :: Charge -> RefundCharge'Variants
-- | Defines the oneOf schema located at
-- components.schemas.refund.properties.failure_balance_transaction.anyOf
-- in the specification.
--
-- If the refund failed, this balance transaction describes the
-- adjustment made on your account balance that reverses the initial
-- balance transaction.
data RefundFailureBalanceTransaction'Variants
RefundFailureBalanceTransaction'Text :: Text -> RefundFailureBalanceTransaction'Variants
RefundFailureBalanceTransaction'BalanceTransaction :: BalanceTransaction -> RefundFailureBalanceTransaction'Variants
-- | Defines the oneOf schema located at
-- components.schemas.refund.properties.payment_intent.anyOf in
-- the specification.
--
-- ID of the PaymentIntent that was refunded.
data RefundPaymentIntent'Variants
RefundPaymentIntent'Text :: Text -> RefundPaymentIntent'Variants
RefundPaymentIntent'PaymentIntent :: PaymentIntent -> RefundPaymentIntent'Variants
-- | Defines the oneOf schema located at
-- components.schemas.refund.properties.source_transfer_reversal.anyOf
-- in the specification.
--
-- The transfer reversal that is associated with the refund. Only present
-- if the charge came from another Stripe account. See the Connect
-- documentation for details.
data RefundSourceTransferReversal'Variants
RefundSourceTransferReversal'Text :: Text -> RefundSourceTransferReversal'Variants
RefundSourceTransferReversal'TransferReversal :: TransferReversal -> RefundSourceTransferReversal'Variants
-- | Defines the oneOf schema located at
-- components.schemas.refund.properties.transfer_reversal.anyOf
-- in the specification.
--
-- If the accompanying transfer was reversed, the transfer reversal
-- object. Only applicable if the charge was created using the
-- destination parameter.
data RefundTransferReversal'Variants
RefundTransferReversal'Text :: Text -> RefundTransferReversal'Variants
RefundTransferReversal'TransferReversal :: TransferReversal -> RefundTransferReversal'Variants
instance GHC.Classes.Eq StripeAPI.Types.Refund.RefundBalanceTransaction'Variants
instance GHC.Show.Show StripeAPI.Types.Refund.RefundBalanceTransaction'Variants
instance GHC.Classes.Eq StripeAPI.Types.Refund.RefundCharge'Variants
instance GHC.Show.Show StripeAPI.Types.Refund.RefundCharge'Variants
instance GHC.Classes.Eq StripeAPI.Types.Refund.RefundFailureBalanceTransaction'Variants
instance GHC.Show.Show StripeAPI.Types.Refund.RefundFailureBalanceTransaction'Variants
instance GHC.Classes.Eq StripeAPI.Types.Refund.RefundPaymentIntent'Variants
instance GHC.Show.Show StripeAPI.Types.Refund.RefundPaymentIntent'Variants
instance GHC.Classes.Eq StripeAPI.Types.Refund.RefundSourceTransferReversal'Variants
instance GHC.Show.Show StripeAPI.Types.Refund.RefundSourceTransferReversal'Variants
instance GHC.Classes.Eq StripeAPI.Types.Refund.RefundTransferReversal'Variants
instance GHC.Show.Show StripeAPI.Types.Refund.RefundTransferReversal'Variants
instance GHC.Classes.Eq StripeAPI.Types.Refund.Refund
instance GHC.Show.Show StripeAPI.Types.Refund.Refund
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Refund.Refund
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Refund.Refund
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Refund.RefundTransferReversal'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Refund.RefundTransferReversal'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Refund.RefundSourceTransferReversal'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Refund.RefundSourceTransferReversal'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Refund.RefundPaymentIntent'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Refund.RefundPaymentIntent'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Refund.RefundFailureBalanceTransaction'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Refund.RefundFailureBalanceTransaction'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Refund.RefundCharge'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Refund.RefundCharge'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Refund.RefundBalanceTransaction'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Refund.RefundBalanceTransaction'Variants
-- | Contains the types generated from the schema BalanceTransaction
module StripeAPI.Types.BalanceTransaction
-- | Defines the object schema located at
-- components.schemas.balance_transaction in the specification.
--
-- Balance transactions represent funds moving through your Stripe
-- account. They're created for every type of transaction that comes into
-- or flows out of your Stripe account balance.
--
-- Related guide: Balance Transaction Types.
data BalanceTransaction
BalanceTransaction :: Int -> Int -> Int -> Text -> Maybe Text -> Maybe Double -> Int -> [Fee] -> Text -> Int -> Text -> Maybe BalanceTransactionSource'Variants -> Text -> BalanceTransactionType' -> BalanceTransaction
-- | amount: Gross amount of the transaction, in %s.
[balanceTransactionAmount] :: BalanceTransaction -> Int
-- | available_on: The date the transaction's net funds will become
-- available in the Stripe balance.
[balanceTransactionAvailableOn] :: BalanceTransaction -> Int
-- | created: Time at which the object was created. Measured in seconds
-- since the Unix epoch.
[balanceTransactionCreated] :: BalanceTransaction -> Int
-- | currency: Three-letter ISO currency code, in lowercase. Must be
-- a supported currency.
[balanceTransactionCurrency] :: BalanceTransaction -> Text
-- | description: An arbitrary string attached to the object. Often useful
-- for displaying to users.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[balanceTransactionDescription] :: BalanceTransaction -> Maybe Text
-- | exchange_rate: The exchange rate used, if applicable, for this
-- transaction. Specifically, if money was converted from currency A to
-- currency B, then the `amount` in currency A, times `exchange_rate`,
-- would be the `amount` in currency B. For example, suppose you charged
-- a customer 10.00 EUR. Then the PaymentIntent's `amount` would be
-- `1000` and `currency` would be `eur`. Suppose this was converted into
-- 12.34 USD in your Stripe account. Then the BalanceTransaction's
-- `amount` would be `1234`, `currency` would be `usd`, and
-- `exchange_rate` would be `1.234`.
[balanceTransactionExchangeRate] :: BalanceTransaction -> Maybe Double
-- | fee: Fees (in %s) paid for this transaction.
[balanceTransactionFee] :: BalanceTransaction -> Int
-- | fee_details: Detailed breakdown of fees (in %s) paid for this
-- transaction.
[balanceTransactionFeeDetails] :: BalanceTransaction -> [Fee]
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[balanceTransactionId] :: BalanceTransaction -> Text
-- | net: Net amount of the transaction, in %s.
[balanceTransactionNet] :: BalanceTransaction -> Int
-- | reporting_category: Learn more about how reporting categories
-- can help you understand balance transactions from an accounting
-- perspective.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[balanceTransactionReportingCategory] :: BalanceTransaction -> Text
-- | source: The Stripe object to which this transaction is related.
[balanceTransactionSource] :: BalanceTransaction -> Maybe BalanceTransactionSource'Variants
-- | status: If the transaction's net funds are available in the Stripe
-- balance yet. Either `available` or `pending`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[balanceTransactionStatus] :: BalanceTransaction -> Text
-- | type: Transaction type: `adjustment`, `advance`, `advance_funding`,
-- `anticipation_repayment`, `application_fee`, `application_fee_refund`,
-- `charge`, `connect_collection_transfer`, `contribution`,
-- `issuing_authorization_hold`, `issuing_authorization_release`,
-- `issuing_dispute`, `issuing_transaction`, `payment`,
-- `payment_failure_refund`, `payment_refund`, `payout`, `payout_cancel`,
-- `payout_failure`, `refund`, `refund_failure`, `reserve_transaction`,
-- `reserved_funds`, `stripe_fee`, `stripe_fx_fee`, `tax_fee`, `topup`,
-- `topup_reversal`, `transfer`, `transfer_cancel`, `transfer_failure`,
-- or `transfer_refund`. Learn more about balance transaction
-- types and what they represent. If you are looking to classify
-- transactions for accounting purposes, you might want to consider
-- `reporting_category` instead.
[balanceTransactionType] :: BalanceTransaction -> BalanceTransactionType'
-- | Create a new BalanceTransaction with all required fields.
mkBalanceTransaction :: Int -> Int -> Int -> Text -> Int -> [Fee] -> Text -> Int -> Text -> Text -> BalanceTransactionType' -> BalanceTransaction
-- | Defines the oneOf schema located at
-- components.schemas.balance_transaction.properties.source.anyOf
-- in the specification.
--
-- The Stripe object to which this transaction is related.
data BalanceTransactionSource'Variants
BalanceTransactionSource'Text :: Text -> BalanceTransactionSource'Variants
BalanceTransactionSource'ApplicationFee :: ApplicationFee -> BalanceTransactionSource'Variants
BalanceTransactionSource'Charge :: Charge -> BalanceTransactionSource'Variants
BalanceTransactionSource'ConnectCollectionTransfer :: ConnectCollectionTransfer -> BalanceTransactionSource'Variants
BalanceTransactionSource'Dispute :: Dispute -> BalanceTransactionSource'Variants
BalanceTransactionSource'FeeRefund :: FeeRefund -> BalanceTransactionSource'Variants
BalanceTransactionSource'Issuing'authorization :: Issuing'authorization -> BalanceTransactionSource'Variants
BalanceTransactionSource'Issuing'dispute :: Issuing'dispute -> BalanceTransactionSource'Variants
BalanceTransactionSource'Issuing'transaction :: Issuing'transaction -> BalanceTransactionSource'Variants
BalanceTransactionSource'Payout :: Payout -> BalanceTransactionSource'Variants
BalanceTransactionSource'PlatformTaxFee :: PlatformTaxFee -> BalanceTransactionSource'Variants
BalanceTransactionSource'Refund :: Refund -> BalanceTransactionSource'Variants
BalanceTransactionSource'ReserveTransaction :: ReserveTransaction -> BalanceTransactionSource'Variants
BalanceTransactionSource'TaxDeductedAtSource :: TaxDeductedAtSource -> BalanceTransactionSource'Variants
BalanceTransactionSource'Topup :: Topup -> BalanceTransactionSource'Variants
BalanceTransactionSource'Transfer :: Transfer -> BalanceTransactionSource'Variants
BalanceTransactionSource'TransferReversal :: TransferReversal -> BalanceTransactionSource'Variants
-- | Defines the enum schema located at
-- components.schemas.balance_transaction.properties.type in the
-- specification.
--
-- Transaction type: `adjustment`, `advance`, `advance_funding`,
-- `anticipation_repayment`, `application_fee`, `application_fee_refund`,
-- `charge`, `connect_collection_transfer`, `contribution`,
-- `issuing_authorization_hold`, `issuing_authorization_release`,
-- `issuing_dispute`, `issuing_transaction`, `payment`,
-- `payment_failure_refund`, `payment_refund`, `payout`, `payout_cancel`,
-- `payout_failure`, `refund`, `refund_failure`, `reserve_transaction`,
-- `reserved_funds`, `stripe_fee`, `stripe_fx_fee`, `tax_fee`, `topup`,
-- `topup_reversal`, `transfer`, `transfer_cancel`, `transfer_failure`,
-- or `transfer_refund`. Learn more about balance transaction
-- types and what they represent. If you are looking to classify
-- transactions for accounting purposes, you might want to consider
-- `reporting_category` instead.
data BalanceTransactionType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
BalanceTransactionType'Other :: Value -> BalanceTransactionType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
BalanceTransactionType'Typed :: Text -> BalanceTransactionType'
-- | Represents the JSON value "adjustment"
BalanceTransactionType'EnumAdjustment :: BalanceTransactionType'
-- | Represents the JSON value "advance"
BalanceTransactionType'EnumAdvance :: BalanceTransactionType'
-- | Represents the JSON value "advance_funding"
BalanceTransactionType'EnumAdvanceFunding :: BalanceTransactionType'
-- | Represents the JSON value "anticipation_repayment"
BalanceTransactionType'EnumAnticipationRepayment :: BalanceTransactionType'
-- | Represents the JSON value "application_fee"
BalanceTransactionType'EnumApplicationFee :: BalanceTransactionType'
-- | Represents the JSON value "application_fee_refund"
BalanceTransactionType'EnumApplicationFeeRefund :: BalanceTransactionType'
-- | Represents the JSON value "charge"
BalanceTransactionType'EnumCharge :: BalanceTransactionType'
-- | Represents the JSON value "connect_collection_transfer"
BalanceTransactionType'EnumConnectCollectionTransfer :: BalanceTransactionType'
-- | Represents the JSON value "contribution"
BalanceTransactionType'EnumContribution :: BalanceTransactionType'
-- | Represents the JSON value "issuing_authorization_hold"
BalanceTransactionType'EnumIssuingAuthorizationHold :: BalanceTransactionType'
-- | Represents the JSON value "issuing_authorization_release"
BalanceTransactionType'EnumIssuingAuthorizationRelease :: BalanceTransactionType'
-- | Represents the JSON value "issuing_dispute"
BalanceTransactionType'EnumIssuingDispute :: BalanceTransactionType'
-- | Represents the JSON value "issuing_transaction"
BalanceTransactionType'EnumIssuingTransaction :: BalanceTransactionType'
-- | Represents the JSON value "payment"
BalanceTransactionType'EnumPayment :: BalanceTransactionType'
-- | Represents the JSON value "payment_failure_refund"
BalanceTransactionType'EnumPaymentFailureRefund :: BalanceTransactionType'
-- | Represents the JSON value "payment_refund"
BalanceTransactionType'EnumPaymentRefund :: BalanceTransactionType'
-- | Represents the JSON value "payout"
BalanceTransactionType'EnumPayout :: BalanceTransactionType'
-- | Represents the JSON value "payout_cancel"
BalanceTransactionType'EnumPayoutCancel :: BalanceTransactionType'
-- | Represents the JSON value "payout_failure"
BalanceTransactionType'EnumPayoutFailure :: BalanceTransactionType'
-- | Represents the JSON value "refund"
BalanceTransactionType'EnumRefund :: BalanceTransactionType'
-- | Represents the JSON value "refund_failure"
BalanceTransactionType'EnumRefundFailure :: BalanceTransactionType'
-- | Represents the JSON value "reserve_transaction"
BalanceTransactionType'EnumReserveTransaction :: BalanceTransactionType'
-- | Represents the JSON value "reserved_funds"
BalanceTransactionType'EnumReservedFunds :: BalanceTransactionType'
-- | Represents the JSON value "stripe_fee"
BalanceTransactionType'EnumStripeFee :: BalanceTransactionType'
-- | Represents the JSON value "stripe_fx_fee"
BalanceTransactionType'EnumStripeFxFee :: BalanceTransactionType'
-- | Represents the JSON value "tax_fee"
BalanceTransactionType'EnumTaxFee :: BalanceTransactionType'
-- | Represents the JSON value "topup"
BalanceTransactionType'EnumTopup :: BalanceTransactionType'
-- | Represents the JSON value "topup_reversal"
BalanceTransactionType'EnumTopupReversal :: BalanceTransactionType'
-- | Represents the JSON value "transfer"
BalanceTransactionType'EnumTransfer :: BalanceTransactionType'
-- | Represents the JSON value "transfer_cancel"
BalanceTransactionType'EnumTransferCancel :: BalanceTransactionType'
-- | Represents the JSON value "transfer_failure"
BalanceTransactionType'EnumTransferFailure :: BalanceTransactionType'
-- | Represents the JSON value "transfer_refund"
BalanceTransactionType'EnumTransferRefund :: BalanceTransactionType'
instance GHC.Classes.Eq StripeAPI.Types.BalanceTransaction.BalanceTransactionSource'Variants
instance GHC.Show.Show StripeAPI.Types.BalanceTransaction.BalanceTransactionSource'Variants
instance GHC.Classes.Eq StripeAPI.Types.BalanceTransaction.BalanceTransactionType'
instance GHC.Show.Show StripeAPI.Types.BalanceTransaction.BalanceTransactionType'
instance GHC.Classes.Eq StripeAPI.Types.BalanceTransaction.BalanceTransaction
instance GHC.Show.Show StripeAPI.Types.BalanceTransaction.BalanceTransaction
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.BalanceTransaction.BalanceTransaction
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.BalanceTransaction.BalanceTransaction
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.BalanceTransaction.BalanceTransactionType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.BalanceTransaction.BalanceTransactionType'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.BalanceTransaction.BalanceTransactionSource'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.BalanceTransaction.BalanceTransactionSource'Variants
-- | Contains the types generated from the schema TransferReversal
module StripeAPI.Types.TransferReversal
-- | Defines the object schema located at
-- components.schemas.transfer_reversal in the specification.
--
-- Stripe Connect platforms can reverse transfers made to a
-- connected account, either entirely or partially, and can also specify
-- whether to refund any related application fees. Transfer reversals add
-- to the platform's balance and subtract from the destination account's
-- balance.
--
-- Reversing a transfer that was made for a destination charge is
-- allowed only up to the amount of the charge. It is possible to reverse
-- a transfer_group transfer only if the destination account has
-- enough balance to cover the reversal.
--
-- Related guide: Reversing Transfers.
data TransferReversal
TransferReversal :: Int -> Maybe TransferReversalBalanceTransaction'Variants -> Int -> Text -> Maybe TransferReversalDestinationPaymentRefund'Variants -> Text -> Maybe Object -> Maybe TransferReversalSourceRefund'Variants -> TransferReversalTransfer'Variants -> TransferReversal
-- | amount: Amount, in %s.
[transferReversalAmount] :: TransferReversal -> Int
-- | balance_transaction: Balance transaction that describes the impact on
-- your account balance.
[transferReversalBalanceTransaction] :: TransferReversal -> Maybe TransferReversalBalanceTransaction'Variants
-- | created: Time at which the object was created. Measured in seconds
-- since the Unix epoch.
[transferReversalCreated] :: TransferReversal -> Int
-- | currency: Three-letter ISO currency code, in lowercase. Must be
-- a supported currency.
[transferReversalCurrency] :: TransferReversal -> Text
-- | destination_payment_refund: Linked payment refund for the transfer
-- reversal.
[transferReversalDestinationPaymentRefund] :: TransferReversal -> Maybe TransferReversalDestinationPaymentRefund'Variants
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[transferReversalId] :: TransferReversal -> Text
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format.
[transferReversalMetadata] :: TransferReversal -> Maybe Object
-- | source_refund: ID of the refund responsible for the transfer reversal.
[transferReversalSourceRefund] :: TransferReversal -> Maybe TransferReversalSourceRefund'Variants
-- | transfer: ID of the transfer that was reversed.
[transferReversalTransfer] :: TransferReversal -> TransferReversalTransfer'Variants
-- | Create a new TransferReversal with all required fields.
mkTransferReversal :: Int -> Int -> Text -> Text -> TransferReversalTransfer'Variants -> TransferReversal
-- | Defines the oneOf schema located at
-- components.schemas.transfer_reversal.properties.balance_transaction.anyOf
-- in the specification.
--
-- Balance transaction that describes the impact on your account balance.
data TransferReversalBalanceTransaction'Variants
TransferReversalBalanceTransaction'Text :: Text -> TransferReversalBalanceTransaction'Variants
TransferReversalBalanceTransaction'BalanceTransaction :: BalanceTransaction -> TransferReversalBalanceTransaction'Variants
-- | Defines the oneOf schema located at
-- components.schemas.transfer_reversal.properties.destination_payment_refund.anyOf
-- in the specification.
--
-- Linked payment refund for the transfer reversal.
data TransferReversalDestinationPaymentRefund'Variants
TransferReversalDestinationPaymentRefund'Text :: Text -> TransferReversalDestinationPaymentRefund'Variants
TransferReversalDestinationPaymentRefund'Refund :: Refund -> TransferReversalDestinationPaymentRefund'Variants
-- | Defines the oneOf schema located at
-- components.schemas.transfer_reversal.properties.source_refund.anyOf
-- in the specification.
--
-- ID of the refund responsible for the transfer reversal.
data TransferReversalSourceRefund'Variants
TransferReversalSourceRefund'Text :: Text -> TransferReversalSourceRefund'Variants
TransferReversalSourceRefund'Refund :: Refund -> TransferReversalSourceRefund'Variants
-- | Defines the oneOf schema located at
-- components.schemas.transfer_reversal.properties.transfer.anyOf
-- in the specification.
--
-- ID of the transfer that was reversed.
data TransferReversalTransfer'Variants
TransferReversalTransfer'Text :: Text -> TransferReversalTransfer'Variants
TransferReversalTransfer'Transfer :: Transfer -> TransferReversalTransfer'Variants
instance GHC.Classes.Eq StripeAPI.Types.TransferReversal.TransferReversalBalanceTransaction'Variants
instance GHC.Show.Show StripeAPI.Types.TransferReversal.TransferReversalBalanceTransaction'Variants
instance GHC.Classes.Eq StripeAPI.Types.TransferReversal.TransferReversalDestinationPaymentRefund'Variants
instance GHC.Show.Show StripeAPI.Types.TransferReversal.TransferReversalDestinationPaymentRefund'Variants
instance GHC.Classes.Eq StripeAPI.Types.TransferReversal.TransferReversalSourceRefund'Variants
instance GHC.Show.Show StripeAPI.Types.TransferReversal.TransferReversalSourceRefund'Variants
instance GHC.Classes.Eq StripeAPI.Types.TransferReversal.TransferReversalTransfer'Variants
instance GHC.Show.Show StripeAPI.Types.TransferReversal.TransferReversalTransfer'Variants
instance GHC.Classes.Eq StripeAPI.Types.TransferReversal.TransferReversal
instance GHC.Show.Show StripeAPI.Types.TransferReversal.TransferReversal
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.TransferReversal.TransferReversal
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.TransferReversal.TransferReversal
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.TransferReversal.TransferReversalTransfer'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.TransferReversal.TransferReversalTransfer'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.TransferReversal.TransferReversalSourceRefund'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.TransferReversal.TransferReversalSourceRefund'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.TransferReversal.TransferReversalDestinationPaymentRefund'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.TransferReversal.TransferReversalDestinationPaymentRefund'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.TransferReversal.TransferReversalBalanceTransaction'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.TransferReversal.TransferReversalBalanceTransaction'Variants
-- | Contains the types generated from the schema AccountPayoutSettings
module StripeAPI.Types.AccountPayoutSettings
-- | Defines the object schema located at
-- components.schemas.account_payout_settings in the
-- specification.
data AccountPayoutSettings
AccountPayoutSettings :: Bool -> TransferSchedule -> Maybe Text -> AccountPayoutSettings
-- | debit_negative_balances: A Boolean indicating if Stripe should try to
-- reclaim negative balances from an attached bank account. See our
-- Understanding Connect Account Balances documentation for
-- details. Default value is `true` for Express accounts and `false` for
-- Custom accounts.
[accountPayoutSettingsDebitNegativeBalances] :: AccountPayoutSettings -> Bool
-- | schedule:
[accountPayoutSettingsSchedule] :: AccountPayoutSettings -> TransferSchedule
-- | statement_descriptor: The text that appears on the bank account
-- statement for payouts. If not set, this defaults to the platform's
-- bank descriptor as set in the Dashboard.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[accountPayoutSettingsStatementDescriptor] :: AccountPayoutSettings -> Maybe Text
-- | Create a new AccountPayoutSettings with all required fields.
mkAccountPayoutSettings :: Bool -> TransferSchedule -> AccountPayoutSettings
instance GHC.Classes.Eq StripeAPI.Types.AccountPayoutSettings.AccountPayoutSettings
instance GHC.Show.Show StripeAPI.Types.AccountPayoutSettings.AccountPayoutSettings
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.AccountPayoutSettings.AccountPayoutSettings
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.AccountPayoutSettings.AccountPayoutSettings
-- | Contains the types generated from the schema TransferSchedule
module StripeAPI.Types.TransferSchedule
-- | Defines the object schema located at
-- components.schemas.transfer_schedule in the specification.
data TransferSchedule
TransferSchedule :: Int -> Text -> Maybe Int -> Maybe Text -> TransferSchedule
-- | delay_days: The number of days charges for the account will be held
-- before being paid out.
[transferScheduleDelayDays] :: TransferSchedule -> Int
-- | interval: How frequently funds will be paid out. One of `manual`
-- (payouts only created via API call), `daily`, `weekly`, or `monthly`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[transferScheduleInterval] :: TransferSchedule -> Text
-- | monthly_anchor: The day of the month funds will be paid out. Only
-- shown if `interval` is monthly. Payouts scheduled between the 29th and
-- 31st of the month are sent on the last day of shorter months.
[transferScheduleMonthlyAnchor] :: TransferSchedule -> Maybe Int
-- | weekly_anchor: The day of the week funds will be paid out, of the
-- style 'monday', 'tuesday', etc. Only shown if `interval` is weekly.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[transferScheduleWeeklyAnchor] :: TransferSchedule -> Maybe Text
-- | Create a new TransferSchedule with all required fields.
mkTransferSchedule :: Int -> Text -> TransferSchedule
instance GHC.Classes.Eq StripeAPI.Types.TransferSchedule.TransferSchedule
instance GHC.Show.Show StripeAPI.Types.TransferSchedule.TransferSchedule
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.TransferSchedule.TransferSchedule
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.TransferSchedule.TransferSchedule
-- | Contains the types generated from the schema Price
module StripeAPI.Types.Price
-- | Defines the object schema located at components.schemas.price
-- in the specification.
--
-- Prices define the unit cost, currency, and (optional) billing cycle
-- for both recurring and one-time purchases of products. Products
-- help you track inventory or provisioning, and prices help you track
-- payment terms. Different physical goods or levels of service should be
-- represented by products, and pricing options should be represented by
-- prices. This approach lets you change prices without having to change
-- your provisioning scheme.
--
-- For example, you might have a single "gold" product that has prices
-- for $10/month, $100/year, and €9 once.
--
-- Related guides: Set up a subscription, create an
-- invoice, and more about products and prices.
data Price
Price :: Bool -> PriceBillingScheme' -> Int -> Text -> Text -> Bool -> Maybe Text -> Object -> Maybe Text -> PriceProduct'Variants -> Maybe PriceRecurring' -> Maybe PriceTaxBehavior' -> Maybe [PriceTier] -> Maybe PriceTiersMode' -> Maybe PriceTransformQuantity' -> PriceType' -> Maybe Int -> Maybe Text -> Price
-- | active: Whether the price can be used for new purchases.
[priceActive] :: Price -> Bool
-- | billing_scheme: Describes how to compute the price per period. Either
-- `per_unit` or `tiered`. `per_unit` indicates that the fixed amount
-- (specified in `unit_amount` or `unit_amount_decimal`) will be charged
-- per unit in `quantity` (for prices with `usage_type=licensed`), or per
-- unit of total usage (for prices with `usage_type=metered`). `tiered`
-- indicates that the unit pricing will be computed using a tiering
-- strategy as defined using the `tiers` and `tiers_mode` attributes.
[priceBillingScheme] :: Price -> PriceBillingScheme'
-- | created: Time at which the object was created. Measured in seconds
-- since the Unix epoch.
[priceCreated] :: Price -> Int
-- | currency: Three-letter ISO currency code, in lowercase. Must be
-- a supported currency.
[priceCurrency] :: Price -> Text
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[priceId] :: Price -> Text
-- | livemode: Has the value `true` if the object exists in live mode or
-- the value `false` if the object exists in test mode.
[priceLivemode] :: Price -> Bool
-- | lookup_key: A lookup key used to retrieve prices dynamically from a
-- static string.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[priceLookupKey] :: Price -> Maybe Text
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format.
[priceMetadata] :: Price -> Object
-- | nickname: A brief description of the price, hidden from customers.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[priceNickname] :: Price -> Maybe Text
-- | product: The ID of the product this price is associated with.
[priceProduct] :: Price -> PriceProduct'Variants
-- | recurring: The recurring components of a price such as `interval` and
-- `usage_type`.
[priceRecurring] :: Price -> Maybe PriceRecurring'
-- | tax_behavior: Specifies whether the price is considered inclusive of
-- taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or
-- `unspecified`. Once specified as either `inclusive` or `exclusive`, it
-- cannot be changed.
[priceTaxBehavior] :: Price -> Maybe PriceTaxBehavior'
-- | tiers: Each element represents a pricing tier. This parameter requires
-- `billing_scheme` to be set to `tiered`. See also the documentation for
-- `billing_scheme`.
[priceTiers] :: Price -> Maybe [PriceTier]
-- | tiers_mode: Defines if the tiering price should be `graduated` or
-- `volume` based. In `volume`-based tiering, the maximum quantity within
-- a period determines the per unit price. In `graduated` tiering,
-- pricing can change as the quantity grows.
[priceTiersMode] :: Price -> Maybe PriceTiersMode'
-- | transform_quantity: Apply a transformation to the reported usage or
-- set quantity before computing the amount billed. Cannot be combined
-- with `tiers`.
[priceTransformQuantity] :: Price -> Maybe PriceTransformQuantity'
-- | type: One of `one_time` or `recurring` depending on whether the price
-- is for a one-time purchase or a recurring (subscription) purchase.
[priceType] :: Price -> PriceType'
-- | unit_amount: The unit amount in %s to be charged, represented as a
-- whole integer if possible. Only set if `billing_scheme=per_unit`.
[priceUnitAmount] :: Price -> Maybe Int
-- | unit_amount_decimal: The unit amount in %s to be charged, represented
-- as a decimal string with at most 12 decimal places. Only set if
-- `billing_scheme=per_unit`.
[priceUnitAmountDecimal] :: Price -> Maybe Text
-- | Create a new Price with all required fields.
mkPrice :: Bool -> PriceBillingScheme' -> Int -> Text -> Text -> Bool -> Object -> PriceProduct'Variants -> PriceType' -> Price
-- | Defines the enum schema located at
-- components.schemas.price.properties.billing_scheme in the
-- specification.
--
-- Describes how to compute the price per period. Either `per_unit` or
-- `tiered`. `per_unit` indicates that the fixed amount (specified in
-- `unit_amount` or `unit_amount_decimal`) will be charged per unit in
-- `quantity` (for prices with `usage_type=licensed`), or per unit of
-- total usage (for prices with `usage_type=metered`). `tiered` indicates
-- that the unit pricing will be computed using a tiering strategy as
-- defined using the `tiers` and `tiers_mode` attributes.
data PriceBillingScheme'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PriceBillingScheme'Other :: Value -> PriceBillingScheme'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PriceBillingScheme'Typed :: Text -> PriceBillingScheme'
-- | Represents the JSON value "per_unit"
PriceBillingScheme'EnumPerUnit :: PriceBillingScheme'
-- | Represents the JSON value "tiered"
PriceBillingScheme'EnumTiered :: PriceBillingScheme'
-- | Defines the oneOf schema located at
-- components.schemas.price.properties.product.anyOf in the
-- specification.
--
-- The ID of the product this price is associated with.
data PriceProduct'Variants
PriceProduct'Text :: Text -> PriceProduct'Variants
PriceProduct'Product :: Product -> PriceProduct'Variants
PriceProduct'DeletedProduct :: DeletedProduct -> PriceProduct'Variants
-- | Defines the object schema located at
-- components.schemas.price.properties.recurring.anyOf in the
-- specification.
--
-- The recurring components of a price such as \`interval\` and
-- \`usage_type\`.
data PriceRecurring'
PriceRecurring' :: Maybe PriceRecurring'AggregateUsage' -> Maybe PriceRecurring'Interval' -> Maybe Int -> Maybe PriceRecurring'UsageType' -> PriceRecurring'
-- | aggregate_usage: Specifies a usage aggregation strategy for prices of
-- `usage_type=metered`. Allowed values are `sum` for summing up all
-- usage during a period, `last_during_period` for using the last usage
-- record reported within a period, `last_ever` for using the last usage
-- record ever (across period bounds) or `max` which uses the usage
-- record with the maximum reported usage during a period. Defaults to
-- `sum`.
[priceRecurring'AggregateUsage] :: PriceRecurring' -> Maybe PriceRecurring'AggregateUsage'
-- | interval: The frequency at which a subscription is billed. One of
-- `day`, `week`, `month` or `year`.
[priceRecurring'Interval] :: PriceRecurring' -> Maybe PriceRecurring'Interval'
-- | interval_count: The number of intervals (specified in the `interval`
-- attribute) between subscription billings. For example,
-- `interval=month` and `interval_count=3` bills every 3 months.
[priceRecurring'IntervalCount] :: PriceRecurring' -> Maybe Int
-- | usage_type: Configures how the quantity per period should be
-- determined. Can be either `metered` or `licensed`. `licensed`
-- automatically bills the `quantity` set when adding it to a
-- subscription. `metered` aggregates the total usage based on usage
-- records. Defaults to `licensed`.
[priceRecurring'UsageType] :: PriceRecurring' -> Maybe PriceRecurring'UsageType'
-- | Create a new PriceRecurring' with all required fields.
mkPriceRecurring' :: PriceRecurring'
-- | Defines the enum schema located at
-- components.schemas.price.properties.recurring.anyOf.properties.aggregate_usage
-- in the specification.
--
-- Specifies a usage aggregation strategy for prices of
-- `usage_type=metered`. Allowed values are `sum` for summing up all
-- usage during a period, `last_during_period` for using the last usage
-- record reported within a period, `last_ever` for using the last usage
-- record ever (across period bounds) or `max` which uses the usage
-- record with the maximum reported usage during a period. Defaults to
-- `sum`.
data PriceRecurring'AggregateUsage'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PriceRecurring'AggregateUsage'Other :: Value -> PriceRecurring'AggregateUsage'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PriceRecurring'AggregateUsage'Typed :: Text -> PriceRecurring'AggregateUsage'
-- | Represents the JSON value "last_during_period"
PriceRecurring'AggregateUsage'EnumLastDuringPeriod :: PriceRecurring'AggregateUsage'
-- | Represents the JSON value "last_ever"
PriceRecurring'AggregateUsage'EnumLastEver :: PriceRecurring'AggregateUsage'
-- | Represents the JSON value "max"
PriceRecurring'AggregateUsage'EnumMax :: PriceRecurring'AggregateUsage'
-- | Represents the JSON value "sum"
PriceRecurring'AggregateUsage'EnumSum :: PriceRecurring'AggregateUsage'
-- | Defines the enum schema located at
-- components.schemas.price.properties.recurring.anyOf.properties.interval
-- in the specification.
--
-- The frequency at which a subscription is billed. One of `day`, `week`,
-- `month` or `year`.
data PriceRecurring'Interval'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PriceRecurring'Interval'Other :: Value -> PriceRecurring'Interval'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PriceRecurring'Interval'Typed :: Text -> PriceRecurring'Interval'
-- | Represents the JSON value "day"
PriceRecurring'Interval'EnumDay :: PriceRecurring'Interval'
-- | Represents the JSON value "month"
PriceRecurring'Interval'EnumMonth :: PriceRecurring'Interval'
-- | Represents the JSON value "week"
PriceRecurring'Interval'EnumWeek :: PriceRecurring'Interval'
-- | Represents the JSON value "year"
PriceRecurring'Interval'EnumYear :: PriceRecurring'Interval'
-- | Defines the enum schema located at
-- components.schemas.price.properties.recurring.anyOf.properties.usage_type
-- in the specification.
--
-- Configures how the quantity per period should be determined. Can be
-- either `metered` or `licensed`. `licensed` automatically bills the
-- `quantity` set when adding it to a subscription. `metered` aggregates
-- the total usage based on usage records. Defaults to `licensed`.
data PriceRecurring'UsageType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PriceRecurring'UsageType'Other :: Value -> PriceRecurring'UsageType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PriceRecurring'UsageType'Typed :: Text -> PriceRecurring'UsageType'
-- | Represents the JSON value "licensed"
PriceRecurring'UsageType'EnumLicensed :: PriceRecurring'UsageType'
-- | Represents the JSON value "metered"
PriceRecurring'UsageType'EnumMetered :: PriceRecurring'UsageType'
-- | Defines the enum schema located at
-- components.schemas.price.properties.tax_behavior in the
-- specification.
--
-- Specifies whether the price is considered inclusive of taxes or
-- exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`.
-- Once specified as either `inclusive` or `exclusive`, it cannot be
-- changed.
data PriceTaxBehavior'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PriceTaxBehavior'Other :: Value -> PriceTaxBehavior'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PriceTaxBehavior'Typed :: Text -> PriceTaxBehavior'
-- | Represents the JSON value "exclusive"
PriceTaxBehavior'EnumExclusive :: PriceTaxBehavior'
-- | Represents the JSON value "inclusive"
PriceTaxBehavior'EnumInclusive :: PriceTaxBehavior'
-- | Represents the JSON value "unspecified"
PriceTaxBehavior'EnumUnspecified :: PriceTaxBehavior'
-- | Defines the enum schema located at
-- components.schemas.price.properties.tiers_mode in the
-- specification.
--
-- Defines if the tiering price should be `graduated` or `volume` based.
-- In `volume`-based tiering, the maximum quantity within a period
-- determines the per unit price. In `graduated` tiering, pricing can
-- change as the quantity grows.
data PriceTiersMode'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PriceTiersMode'Other :: Value -> PriceTiersMode'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PriceTiersMode'Typed :: Text -> PriceTiersMode'
-- | Represents the JSON value "graduated"
PriceTiersMode'EnumGraduated :: PriceTiersMode'
-- | Represents the JSON value "volume"
PriceTiersMode'EnumVolume :: PriceTiersMode'
-- | Defines the object schema located at
-- components.schemas.price.properties.transform_quantity.anyOf
-- in the specification.
--
-- Apply a transformation to the reported usage or set quantity before
-- computing the amount billed. Cannot be combined with \`tiers\`.
data PriceTransformQuantity'
PriceTransformQuantity' :: Maybe Int -> Maybe PriceTransformQuantity'Round' -> PriceTransformQuantity'
-- | divide_by: Divide usage by this number.
[priceTransformQuantity'DivideBy] :: PriceTransformQuantity' -> Maybe Int
-- | round: After division, either round the result `up` or `down`.
[priceTransformQuantity'Round] :: PriceTransformQuantity' -> Maybe PriceTransformQuantity'Round'
-- | Create a new PriceTransformQuantity' with all required fields.
mkPriceTransformQuantity' :: PriceTransformQuantity'
-- | Defines the enum schema located at
-- components.schemas.price.properties.transform_quantity.anyOf.properties.round
-- in the specification.
--
-- After division, either round the result `up` or `down`.
data PriceTransformQuantity'Round'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PriceTransformQuantity'Round'Other :: Value -> PriceTransformQuantity'Round'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PriceTransformQuantity'Round'Typed :: Text -> PriceTransformQuantity'Round'
-- | Represents the JSON value "down"
PriceTransformQuantity'Round'EnumDown :: PriceTransformQuantity'Round'
-- | Represents the JSON value "up"
PriceTransformQuantity'Round'EnumUp :: PriceTransformQuantity'Round'
-- | Defines the enum schema located at
-- components.schemas.price.properties.type in the
-- specification.
--
-- One of `one_time` or `recurring` depending on whether the price is for
-- a one-time purchase or a recurring (subscription) purchase.
data PriceType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PriceType'Other :: Value -> PriceType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PriceType'Typed :: Text -> PriceType'
-- | Represents the JSON value "one_time"
PriceType'EnumOneTime :: PriceType'
-- | Represents the JSON value "recurring"
PriceType'EnumRecurring :: PriceType'
instance GHC.Classes.Eq StripeAPI.Types.Price.PriceBillingScheme'
instance GHC.Show.Show StripeAPI.Types.Price.PriceBillingScheme'
instance GHC.Classes.Eq StripeAPI.Types.Price.PriceProduct'Variants
instance GHC.Show.Show StripeAPI.Types.Price.PriceProduct'Variants
instance GHC.Classes.Eq StripeAPI.Types.Price.PriceRecurring'AggregateUsage'
instance GHC.Show.Show StripeAPI.Types.Price.PriceRecurring'AggregateUsage'
instance GHC.Classes.Eq StripeAPI.Types.Price.PriceRecurring'Interval'
instance GHC.Show.Show StripeAPI.Types.Price.PriceRecurring'Interval'
instance GHC.Classes.Eq StripeAPI.Types.Price.PriceRecurring'UsageType'
instance GHC.Show.Show StripeAPI.Types.Price.PriceRecurring'UsageType'
instance GHC.Classes.Eq StripeAPI.Types.Price.PriceRecurring'
instance GHC.Show.Show StripeAPI.Types.Price.PriceRecurring'
instance GHC.Classes.Eq StripeAPI.Types.Price.PriceTaxBehavior'
instance GHC.Show.Show StripeAPI.Types.Price.PriceTaxBehavior'
instance GHC.Classes.Eq StripeAPI.Types.Price.PriceTiersMode'
instance GHC.Show.Show StripeAPI.Types.Price.PriceTiersMode'
instance GHC.Classes.Eq StripeAPI.Types.Price.PriceTransformQuantity'Round'
instance GHC.Show.Show StripeAPI.Types.Price.PriceTransformQuantity'Round'
instance GHC.Classes.Eq StripeAPI.Types.Price.PriceTransformQuantity'
instance GHC.Show.Show StripeAPI.Types.Price.PriceTransformQuantity'
instance GHC.Classes.Eq StripeAPI.Types.Price.PriceType'
instance GHC.Show.Show StripeAPI.Types.Price.PriceType'
instance GHC.Classes.Eq StripeAPI.Types.Price.Price
instance GHC.Show.Show StripeAPI.Types.Price.Price
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Price.Price
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Price.Price
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Price.PriceType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Price.PriceType'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Price.PriceTransformQuantity'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Price.PriceTransformQuantity'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Price.PriceTransformQuantity'Round'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Price.PriceTransformQuantity'Round'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Price.PriceTiersMode'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Price.PriceTiersMode'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Price.PriceTaxBehavior'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Price.PriceTaxBehavior'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Price.PriceRecurring'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Price.PriceRecurring'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Price.PriceRecurring'UsageType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Price.PriceRecurring'UsageType'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Price.PriceRecurring'Interval'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Price.PriceRecurring'Interval'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Price.PriceRecurring'AggregateUsage'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Price.PriceRecurring'AggregateUsage'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Price.PriceProduct'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Price.PriceProduct'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Price.PriceBillingScheme'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Price.PriceBillingScheme'
-- | Contains the types generated from the schema LineItem
module StripeAPI.Types.LineItem
-- | Defines the object schema located at
-- components.schemas.line_item in the specification.
data LineItem
LineItem :: Int -> Text -> Maybe Text -> Maybe [DiscountsResourceDiscountAmount] -> Bool -> Maybe [LineItemDiscounts'Variants] -> Text -> Maybe Text -> Bool -> Object -> InvoiceLineItemPeriod -> Maybe LineItemPrice' -> Bool -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe [InvoiceTaxAmount] -> Maybe [TaxRate] -> LineItemType' -> LineItem
-- | amount: The amount, in %s.
[lineItemAmount] :: LineItem -> Int
-- | currency: Three-letter ISO currency code, in lowercase. Must be
-- a supported currency.
[lineItemCurrency] :: LineItem -> Text
-- | description: An arbitrary string attached to the object. Often useful
-- for displaying to users.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[lineItemDescription] :: LineItem -> Maybe Text
-- | discount_amounts: The amount of discount calculated per discount for
-- this line item.
[lineItemDiscountAmounts] :: LineItem -> Maybe [DiscountsResourceDiscountAmount]
-- | discountable: If true, discounts will apply to this line item. Always
-- false for prorations.
[lineItemDiscountable] :: LineItem -> Bool
-- | discounts: The discounts applied to the invoice line item. Line item
-- discounts are applied before invoice discounts. Use
-- `expand[]=discounts` to expand each discount.
[lineItemDiscounts] :: LineItem -> Maybe [LineItemDiscounts'Variants]
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[lineItemId] :: LineItem -> Text
-- | invoice_item: The ID of the invoice item associated with this
-- line item if any.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[lineItemInvoiceItem] :: LineItem -> Maybe Text
-- | livemode: Has the value `true` if the object exists in live mode or
-- the value `false` if the object exists in test mode.
[lineItemLivemode] :: LineItem -> Bool
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Note that for line items with
-- `type=subscription` this will reflect the metadata of the subscription
-- that caused the line item to be created.
[lineItemMetadata] :: LineItem -> Object
-- | period:
[lineItemPeriod] :: LineItem -> InvoiceLineItemPeriod
-- | price: The price of the line item.
[lineItemPrice] :: LineItem -> Maybe LineItemPrice'
-- | proration: Whether this is a proration.
[lineItemProration] :: LineItem -> Bool
-- | quantity: The quantity of the subscription, if the line item is a
-- subscription or a proration.
[lineItemQuantity] :: LineItem -> Maybe Int
-- | subscription: The subscription that the invoice item pertains to, if
-- any.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[lineItemSubscription] :: LineItem -> Maybe Text
-- | subscription_item: The subscription item that generated this invoice
-- item. Left empty if the line item is not an explicit result of a
-- subscription.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[lineItemSubscriptionItem] :: LineItem -> Maybe Text
-- | tax_amounts: The amount of tax calculated per tax rate for this line
-- item
[lineItemTaxAmounts] :: LineItem -> Maybe [InvoiceTaxAmount]
-- | tax_rates: The tax rates which apply to the line item.
[lineItemTaxRates] :: LineItem -> Maybe [TaxRate]
-- | type: A string identifying the type of the source of this line item,
-- either an `invoiceitem` or a `subscription`.
[lineItemType] :: LineItem -> LineItemType'
-- | Create a new LineItem with all required fields.
mkLineItem :: Int -> Text -> Bool -> Text -> Bool -> Object -> InvoiceLineItemPeriod -> Bool -> LineItemType' -> LineItem
-- | Defines the oneOf schema located at
-- components.schemas.line_item.properties.discounts.items.anyOf
-- in the specification.
data LineItemDiscounts'Variants
LineItemDiscounts'Text :: Text -> LineItemDiscounts'Variants
LineItemDiscounts'Discount :: Discount -> LineItemDiscounts'Variants
-- | Defines the object schema located at
-- components.schemas.line_item.properties.price.anyOf in the
-- specification.
--
-- The price of the line item.
data LineItemPrice'
LineItemPrice' :: Maybe Bool -> Maybe LineItemPrice'BillingScheme' -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe Object -> Maybe Text -> Maybe LineItemPrice'Object' -> Maybe LineItemPrice'Product'Variants -> Maybe LineItemPrice'Recurring' -> Maybe LineItemPrice'TaxBehavior' -> Maybe [PriceTier] -> Maybe LineItemPrice'TiersMode' -> Maybe LineItemPrice'TransformQuantity' -> Maybe LineItemPrice'Type' -> Maybe Int -> Maybe Text -> LineItemPrice'
-- | active: Whether the price can be used for new purchases.
[lineItemPrice'Active] :: LineItemPrice' -> Maybe Bool
-- | billing_scheme: Describes how to compute the price per period. Either
-- `per_unit` or `tiered`. `per_unit` indicates that the fixed amount
-- (specified in `unit_amount` or `unit_amount_decimal`) will be charged
-- per unit in `quantity` (for prices with `usage_type=licensed`), or per
-- unit of total usage (for prices with `usage_type=metered`). `tiered`
-- indicates that the unit pricing will be computed using a tiering
-- strategy as defined using the `tiers` and `tiers_mode` attributes.
[lineItemPrice'BillingScheme] :: LineItemPrice' -> Maybe LineItemPrice'BillingScheme'
-- | created: Time at which the object was created. Measured in seconds
-- since the Unix epoch.
[lineItemPrice'Created] :: LineItemPrice' -> Maybe Int
-- | currency: Three-letter ISO currency code, in lowercase. Must be
-- a supported currency.
[lineItemPrice'Currency] :: LineItemPrice' -> Maybe Text
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[lineItemPrice'Id] :: LineItemPrice' -> Maybe Text
-- | livemode: Has the value `true` if the object exists in live mode or
-- the value `false` if the object exists in test mode.
[lineItemPrice'Livemode] :: LineItemPrice' -> Maybe Bool
-- | lookup_key: A lookup key used to retrieve prices dynamically from a
-- static string.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[lineItemPrice'LookupKey] :: LineItemPrice' -> Maybe Text
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format.
[lineItemPrice'Metadata] :: LineItemPrice' -> Maybe Object
-- | nickname: A brief description of the price, hidden from customers.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[lineItemPrice'Nickname] :: LineItemPrice' -> Maybe Text
-- | object: String representing the object's type. Objects of the same
-- type share the same value.
[lineItemPrice'Object] :: LineItemPrice' -> Maybe LineItemPrice'Object'
-- | product: The ID of the product this price is associated with.
[lineItemPrice'Product] :: LineItemPrice' -> Maybe LineItemPrice'Product'Variants
-- | recurring: The recurring components of a price such as `interval` and
-- `usage_type`.
[lineItemPrice'Recurring] :: LineItemPrice' -> Maybe LineItemPrice'Recurring'
-- | tax_behavior: Specifies whether the price is considered inclusive of
-- taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or
-- `unspecified`. Once specified as either `inclusive` or `exclusive`, it
-- cannot be changed.
[lineItemPrice'TaxBehavior] :: LineItemPrice' -> Maybe LineItemPrice'TaxBehavior'
-- | tiers: Each element represents a pricing tier. This parameter requires
-- `billing_scheme` to be set to `tiered`. See also the documentation for
-- `billing_scheme`.
[lineItemPrice'Tiers] :: LineItemPrice' -> Maybe [PriceTier]
-- | tiers_mode: Defines if the tiering price should be `graduated` or
-- `volume` based. In `volume`-based tiering, the maximum quantity within
-- a period determines the per unit price. In `graduated` tiering,
-- pricing can change as the quantity grows.
[lineItemPrice'TiersMode] :: LineItemPrice' -> Maybe LineItemPrice'TiersMode'
-- | transform_quantity: Apply a transformation to the reported usage or
-- set quantity before computing the amount billed. Cannot be combined
-- with `tiers`.
[lineItemPrice'TransformQuantity] :: LineItemPrice' -> Maybe LineItemPrice'TransformQuantity'
-- | type: One of `one_time` or `recurring` depending on whether the price
-- is for a one-time purchase or a recurring (subscription) purchase.
[lineItemPrice'Type] :: LineItemPrice' -> Maybe LineItemPrice'Type'
-- | unit_amount: The unit amount in %s to be charged, represented as a
-- whole integer if possible. Only set if `billing_scheme=per_unit`.
[lineItemPrice'UnitAmount] :: LineItemPrice' -> Maybe Int
-- | unit_amount_decimal: The unit amount in %s to be charged, represented
-- as a decimal string with at most 12 decimal places. Only set if
-- `billing_scheme=per_unit`.
[lineItemPrice'UnitAmountDecimal] :: LineItemPrice' -> Maybe Text
-- | Create a new LineItemPrice' with all required fields.
mkLineItemPrice' :: LineItemPrice'
-- | Defines the enum schema located at
-- components.schemas.line_item.properties.price.anyOf.properties.billing_scheme
-- in the specification.
--
-- Describes how to compute the price per period. Either `per_unit` or
-- `tiered`. `per_unit` indicates that the fixed amount (specified in
-- `unit_amount` or `unit_amount_decimal`) will be charged per unit in
-- `quantity` (for prices with `usage_type=licensed`), or per unit of
-- total usage (for prices with `usage_type=metered`). `tiered` indicates
-- that the unit pricing will be computed using a tiering strategy as
-- defined using the `tiers` and `tiers_mode` attributes.
data LineItemPrice'BillingScheme'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
LineItemPrice'BillingScheme'Other :: Value -> LineItemPrice'BillingScheme'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
LineItemPrice'BillingScheme'Typed :: Text -> LineItemPrice'BillingScheme'
-- | Represents the JSON value "per_unit"
LineItemPrice'BillingScheme'EnumPerUnit :: LineItemPrice'BillingScheme'
-- | Represents the JSON value "tiered"
LineItemPrice'BillingScheme'EnumTiered :: LineItemPrice'BillingScheme'
-- | Defines the enum schema located at
-- components.schemas.line_item.properties.price.anyOf.properties.object
-- in the specification.
--
-- String representing the object's type. Objects of the same type share
-- the same value.
data LineItemPrice'Object'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
LineItemPrice'Object'Other :: Value -> LineItemPrice'Object'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
LineItemPrice'Object'Typed :: Text -> LineItemPrice'Object'
-- | Represents the JSON value "price"
LineItemPrice'Object'EnumPrice :: LineItemPrice'Object'
-- | Defines the oneOf schema located at
-- components.schemas.line_item.properties.price.anyOf.properties.product.anyOf
-- in the specification.
--
-- The ID of the product this price is associated with.
data LineItemPrice'Product'Variants
LineItemPrice'Product'Text :: Text -> LineItemPrice'Product'Variants
LineItemPrice'Product'Product :: Product -> LineItemPrice'Product'Variants
LineItemPrice'Product'DeletedProduct :: DeletedProduct -> LineItemPrice'Product'Variants
-- | Defines the object schema located at
-- components.schemas.line_item.properties.price.anyOf.properties.recurring.anyOf
-- in the specification.
--
-- The recurring components of a price such as \`interval\` and
-- \`usage_type\`.
data LineItemPrice'Recurring'
LineItemPrice'Recurring' :: Maybe LineItemPrice'Recurring'AggregateUsage' -> Maybe LineItemPrice'Recurring'Interval' -> Maybe Int -> Maybe LineItemPrice'Recurring'UsageType' -> LineItemPrice'Recurring'
-- | aggregate_usage: Specifies a usage aggregation strategy for prices of
-- `usage_type=metered`. Allowed values are `sum` for summing up all
-- usage during a period, `last_during_period` for using the last usage
-- record reported within a period, `last_ever` for using the last usage
-- record ever (across period bounds) or `max` which uses the usage
-- record with the maximum reported usage during a period. Defaults to
-- `sum`.
[lineItemPrice'Recurring'AggregateUsage] :: LineItemPrice'Recurring' -> Maybe LineItemPrice'Recurring'AggregateUsage'
-- | interval: The frequency at which a subscription is billed. One of
-- `day`, `week`, `month` or `year`.
[lineItemPrice'Recurring'Interval] :: LineItemPrice'Recurring' -> Maybe LineItemPrice'Recurring'Interval'
-- | interval_count: The number of intervals (specified in the `interval`
-- attribute) between subscription billings. For example,
-- `interval=month` and `interval_count=3` bills every 3 months.
[lineItemPrice'Recurring'IntervalCount] :: LineItemPrice'Recurring' -> Maybe Int
-- | usage_type: Configures how the quantity per period should be
-- determined. Can be either `metered` or `licensed`. `licensed`
-- automatically bills the `quantity` set when adding it to a
-- subscription. `metered` aggregates the total usage based on usage
-- records. Defaults to `licensed`.
[lineItemPrice'Recurring'UsageType] :: LineItemPrice'Recurring' -> Maybe LineItemPrice'Recurring'UsageType'
-- | Create a new LineItemPrice'Recurring' with all required fields.
mkLineItemPrice'Recurring' :: LineItemPrice'Recurring'
-- | Defines the enum schema located at
-- components.schemas.line_item.properties.price.anyOf.properties.recurring.anyOf.properties.aggregate_usage
-- in the specification.
--
-- Specifies a usage aggregation strategy for prices of
-- `usage_type=metered`. Allowed values are `sum` for summing up all
-- usage during a period, `last_during_period` for using the last usage
-- record reported within a period, `last_ever` for using the last usage
-- record ever (across period bounds) or `max` which uses the usage
-- record with the maximum reported usage during a period. Defaults to
-- `sum`.
data LineItemPrice'Recurring'AggregateUsage'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
LineItemPrice'Recurring'AggregateUsage'Other :: Value -> LineItemPrice'Recurring'AggregateUsage'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
LineItemPrice'Recurring'AggregateUsage'Typed :: Text -> LineItemPrice'Recurring'AggregateUsage'
-- | Represents the JSON value "last_during_period"
LineItemPrice'Recurring'AggregateUsage'EnumLastDuringPeriod :: LineItemPrice'Recurring'AggregateUsage'
-- | Represents the JSON value "last_ever"
LineItemPrice'Recurring'AggregateUsage'EnumLastEver :: LineItemPrice'Recurring'AggregateUsage'
-- | Represents the JSON value "max"
LineItemPrice'Recurring'AggregateUsage'EnumMax :: LineItemPrice'Recurring'AggregateUsage'
-- | Represents the JSON value "sum"
LineItemPrice'Recurring'AggregateUsage'EnumSum :: LineItemPrice'Recurring'AggregateUsage'
-- | Defines the enum schema located at
-- components.schemas.line_item.properties.price.anyOf.properties.recurring.anyOf.properties.interval
-- in the specification.
--
-- The frequency at which a subscription is billed. One of `day`, `week`,
-- `month` or `year`.
data LineItemPrice'Recurring'Interval'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
LineItemPrice'Recurring'Interval'Other :: Value -> LineItemPrice'Recurring'Interval'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
LineItemPrice'Recurring'Interval'Typed :: Text -> LineItemPrice'Recurring'Interval'
-- | Represents the JSON value "day"
LineItemPrice'Recurring'Interval'EnumDay :: LineItemPrice'Recurring'Interval'
-- | Represents the JSON value "month"
LineItemPrice'Recurring'Interval'EnumMonth :: LineItemPrice'Recurring'Interval'
-- | Represents the JSON value "week"
LineItemPrice'Recurring'Interval'EnumWeek :: LineItemPrice'Recurring'Interval'
-- | Represents the JSON value "year"
LineItemPrice'Recurring'Interval'EnumYear :: LineItemPrice'Recurring'Interval'
-- | Defines the enum schema located at
-- components.schemas.line_item.properties.price.anyOf.properties.recurring.anyOf.properties.usage_type
-- in the specification.
--
-- Configures how the quantity per period should be determined. Can be
-- either `metered` or `licensed`. `licensed` automatically bills the
-- `quantity` set when adding it to a subscription. `metered` aggregates
-- the total usage based on usage records. Defaults to `licensed`.
data LineItemPrice'Recurring'UsageType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
LineItemPrice'Recurring'UsageType'Other :: Value -> LineItemPrice'Recurring'UsageType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
LineItemPrice'Recurring'UsageType'Typed :: Text -> LineItemPrice'Recurring'UsageType'
-- | Represents the JSON value "licensed"
LineItemPrice'Recurring'UsageType'EnumLicensed :: LineItemPrice'Recurring'UsageType'
-- | Represents the JSON value "metered"
LineItemPrice'Recurring'UsageType'EnumMetered :: LineItemPrice'Recurring'UsageType'
-- | Defines the enum schema located at
-- components.schemas.line_item.properties.price.anyOf.properties.tax_behavior
-- in the specification.
--
-- Specifies whether the price is considered inclusive of taxes or
-- exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`.
-- Once specified as either `inclusive` or `exclusive`, it cannot be
-- changed.
data LineItemPrice'TaxBehavior'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
LineItemPrice'TaxBehavior'Other :: Value -> LineItemPrice'TaxBehavior'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
LineItemPrice'TaxBehavior'Typed :: Text -> LineItemPrice'TaxBehavior'
-- | Represents the JSON value "exclusive"
LineItemPrice'TaxBehavior'EnumExclusive :: LineItemPrice'TaxBehavior'
-- | Represents the JSON value "inclusive"
LineItemPrice'TaxBehavior'EnumInclusive :: LineItemPrice'TaxBehavior'
-- | Represents the JSON value "unspecified"
LineItemPrice'TaxBehavior'EnumUnspecified :: LineItemPrice'TaxBehavior'
-- | Defines the enum schema located at
-- components.schemas.line_item.properties.price.anyOf.properties.tiers_mode
-- in the specification.
--
-- Defines if the tiering price should be `graduated` or `volume` based.
-- In `volume`-based tiering, the maximum quantity within a period
-- determines the per unit price. In `graduated` tiering, pricing can
-- change as the quantity grows.
data LineItemPrice'TiersMode'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
LineItemPrice'TiersMode'Other :: Value -> LineItemPrice'TiersMode'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
LineItemPrice'TiersMode'Typed :: Text -> LineItemPrice'TiersMode'
-- | Represents the JSON value "graduated"
LineItemPrice'TiersMode'EnumGraduated :: LineItemPrice'TiersMode'
-- | Represents the JSON value "volume"
LineItemPrice'TiersMode'EnumVolume :: LineItemPrice'TiersMode'
-- | Defines the object schema located at
-- components.schemas.line_item.properties.price.anyOf.properties.transform_quantity.anyOf
-- in the specification.
--
-- Apply a transformation to the reported usage or set quantity before
-- computing the amount billed. Cannot be combined with \`tiers\`.
data LineItemPrice'TransformQuantity'
LineItemPrice'TransformQuantity' :: Maybe Int -> Maybe LineItemPrice'TransformQuantity'Round' -> LineItemPrice'TransformQuantity'
-- | divide_by: Divide usage by this number.
[lineItemPrice'TransformQuantity'DivideBy] :: LineItemPrice'TransformQuantity' -> Maybe Int
-- | round: After division, either round the result `up` or `down`.
[lineItemPrice'TransformQuantity'Round] :: LineItemPrice'TransformQuantity' -> Maybe LineItemPrice'TransformQuantity'Round'
-- | Create a new LineItemPrice'TransformQuantity' with all required
-- fields.
mkLineItemPrice'TransformQuantity' :: LineItemPrice'TransformQuantity'
-- | Defines the enum schema located at
-- components.schemas.line_item.properties.price.anyOf.properties.transform_quantity.anyOf.properties.round
-- in the specification.
--
-- After division, either round the result `up` or `down`.
data LineItemPrice'TransformQuantity'Round'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
LineItemPrice'TransformQuantity'Round'Other :: Value -> LineItemPrice'TransformQuantity'Round'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
LineItemPrice'TransformQuantity'Round'Typed :: Text -> LineItemPrice'TransformQuantity'Round'
-- | Represents the JSON value "down"
LineItemPrice'TransformQuantity'Round'EnumDown :: LineItemPrice'TransformQuantity'Round'
-- | Represents the JSON value "up"
LineItemPrice'TransformQuantity'Round'EnumUp :: LineItemPrice'TransformQuantity'Round'
-- | Defines the enum schema located at
-- components.schemas.line_item.properties.price.anyOf.properties.type
-- in the specification.
--
-- One of `one_time` or `recurring` depending on whether the price is for
-- a one-time purchase or a recurring (subscription) purchase.
data LineItemPrice'Type'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
LineItemPrice'Type'Other :: Value -> LineItemPrice'Type'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
LineItemPrice'Type'Typed :: Text -> LineItemPrice'Type'
-- | Represents the JSON value "one_time"
LineItemPrice'Type'EnumOneTime :: LineItemPrice'Type'
-- | Represents the JSON value "recurring"
LineItemPrice'Type'EnumRecurring :: LineItemPrice'Type'
-- | Defines the enum schema located at
-- components.schemas.line_item.properties.type in the
-- specification.
--
-- A string identifying the type of the source of this line item, either
-- an `invoiceitem` or a `subscription`.
data LineItemType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
LineItemType'Other :: Value -> LineItemType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
LineItemType'Typed :: Text -> LineItemType'
-- | Represents the JSON value "invoiceitem"
LineItemType'EnumInvoiceitem :: LineItemType'
-- | Represents the JSON value "subscription"
LineItemType'EnumSubscription :: LineItemType'
instance GHC.Classes.Eq StripeAPI.Types.LineItem.LineItemDiscounts'Variants
instance GHC.Show.Show StripeAPI.Types.LineItem.LineItemDiscounts'Variants
instance GHC.Classes.Eq StripeAPI.Types.LineItem.LineItemPrice'BillingScheme'
instance GHC.Show.Show StripeAPI.Types.LineItem.LineItemPrice'BillingScheme'
instance GHC.Classes.Eq StripeAPI.Types.LineItem.LineItemPrice'Object'
instance GHC.Show.Show StripeAPI.Types.LineItem.LineItemPrice'Object'
instance GHC.Classes.Eq StripeAPI.Types.LineItem.LineItemPrice'Product'Variants
instance GHC.Show.Show StripeAPI.Types.LineItem.LineItemPrice'Product'Variants
instance GHC.Classes.Eq StripeAPI.Types.LineItem.LineItemPrice'Recurring'AggregateUsage'
instance GHC.Show.Show StripeAPI.Types.LineItem.LineItemPrice'Recurring'AggregateUsage'
instance GHC.Classes.Eq StripeAPI.Types.LineItem.LineItemPrice'Recurring'Interval'
instance GHC.Show.Show StripeAPI.Types.LineItem.LineItemPrice'Recurring'Interval'
instance GHC.Classes.Eq StripeAPI.Types.LineItem.LineItemPrice'Recurring'UsageType'
instance GHC.Show.Show StripeAPI.Types.LineItem.LineItemPrice'Recurring'UsageType'
instance GHC.Classes.Eq StripeAPI.Types.LineItem.LineItemPrice'Recurring'
instance GHC.Show.Show StripeAPI.Types.LineItem.LineItemPrice'Recurring'
instance GHC.Classes.Eq StripeAPI.Types.LineItem.LineItemPrice'TaxBehavior'
instance GHC.Show.Show StripeAPI.Types.LineItem.LineItemPrice'TaxBehavior'
instance GHC.Classes.Eq StripeAPI.Types.LineItem.LineItemPrice'TiersMode'
instance GHC.Show.Show StripeAPI.Types.LineItem.LineItemPrice'TiersMode'
instance GHC.Classes.Eq StripeAPI.Types.LineItem.LineItemPrice'TransformQuantity'Round'
instance GHC.Show.Show StripeAPI.Types.LineItem.LineItemPrice'TransformQuantity'Round'
instance GHC.Classes.Eq StripeAPI.Types.LineItem.LineItemPrice'TransformQuantity'
instance GHC.Show.Show StripeAPI.Types.LineItem.LineItemPrice'TransformQuantity'
instance GHC.Classes.Eq StripeAPI.Types.LineItem.LineItemPrice'Type'
instance GHC.Show.Show StripeAPI.Types.LineItem.LineItemPrice'Type'
instance GHC.Classes.Eq StripeAPI.Types.LineItem.LineItemPrice'
instance GHC.Show.Show StripeAPI.Types.LineItem.LineItemPrice'
instance GHC.Classes.Eq StripeAPI.Types.LineItem.LineItemType'
instance GHC.Show.Show StripeAPI.Types.LineItem.LineItemType'
instance GHC.Classes.Eq StripeAPI.Types.LineItem.LineItem
instance GHC.Show.Show StripeAPI.Types.LineItem.LineItem
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.LineItem.LineItem
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.LineItem.LineItem
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.LineItem.LineItemType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.LineItem.LineItemType'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.LineItem.LineItemPrice'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.LineItem.LineItemPrice'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.LineItem.LineItemPrice'Type'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.LineItem.LineItemPrice'Type'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.LineItem.LineItemPrice'TransformQuantity'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.LineItem.LineItemPrice'TransformQuantity'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.LineItem.LineItemPrice'TransformQuantity'Round'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.LineItem.LineItemPrice'TransformQuantity'Round'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.LineItem.LineItemPrice'TiersMode'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.LineItem.LineItemPrice'TiersMode'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.LineItem.LineItemPrice'TaxBehavior'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.LineItem.LineItemPrice'TaxBehavior'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.LineItem.LineItemPrice'Recurring'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.LineItem.LineItemPrice'Recurring'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.LineItem.LineItemPrice'Recurring'UsageType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.LineItem.LineItemPrice'Recurring'UsageType'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.LineItem.LineItemPrice'Recurring'Interval'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.LineItem.LineItemPrice'Recurring'Interval'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.LineItem.LineItemPrice'Recurring'AggregateUsage'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.LineItem.LineItemPrice'Recurring'AggregateUsage'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.LineItem.LineItemPrice'Product'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.LineItem.LineItemPrice'Product'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.LineItem.LineItemPrice'Object'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.LineItem.LineItemPrice'Object'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.LineItem.LineItemPrice'BillingScheme'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.LineItem.LineItemPrice'BillingScheme'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.LineItem.LineItemDiscounts'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.LineItem.LineItemDiscounts'Variants
-- | Contains the types generated from the schema Item
module StripeAPI.Types.Item
-- | Defines the object schema located at components.schemas.item
-- in the specification.
--
-- A line item.
data Item
Item :: Int -> Int -> Text -> Text -> Maybe [LineItemsDiscountAmount] -> Text -> Maybe ItemPrice' -> Maybe Int -> Maybe [LineItemsTaxAmount] -> Item
-- | amount_subtotal: Total before any discounts or taxes are applied.
[itemAmountSubtotal] :: Item -> Int
-- | amount_total: Total after discounts and taxes.
[itemAmountTotal] :: Item -> Int
-- | currency: Three-letter ISO currency code, in lowercase. Must be
-- a supported currency.
[itemCurrency] :: Item -> Text
-- | description: An arbitrary string attached to the object. Often useful
-- for displaying to users. Defaults to product name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[itemDescription] :: Item -> Text
-- | discounts: The discounts applied to the line item.
[itemDiscounts] :: Item -> Maybe [LineItemsDiscountAmount]
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[itemId] :: Item -> Text
-- | price: The price used to generate the line item.
[itemPrice] :: Item -> Maybe ItemPrice'
-- | quantity: The quantity of products being purchased.
[itemQuantity] :: Item -> Maybe Int
-- | taxes: The taxes applied to the line item.
[itemTaxes] :: Item -> Maybe [LineItemsTaxAmount]
-- | Create a new Item with all required fields.
mkItem :: Int -> Int -> Text -> Text -> Text -> Item
-- | Defines the object schema located at
-- components.schemas.item.properties.price.anyOf in the
-- specification.
--
-- The price used to generate the line item.
data ItemPrice'
ItemPrice' :: Maybe Bool -> Maybe ItemPrice'BillingScheme' -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe Object -> Maybe Text -> Maybe ItemPrice'Object' -> Maybe ItemPrice'Product'Variants -> Maybe ItemPrice'Recurring' -> Maybe ItemPrice'TaxBehavior' -> Maybe [PriceTier] -> Maybe ItemPrice'TiersMode' -> Maybe ItemPrice'TransformQuantity' -> Maybe ItemPrice'Type' -> Maybe Int -> Maybe Text -> ItemPrice'
-- | active: Whether the price can be used for new purchases.
[itemPrice'Active] :: ItemPrice' -> Maybe Bool
-- | billing_scheme: Describes how to compute the price per period. Either
-- `per_unit` or `tiered`. `per_unit` indicates that the fixed amount
-- (specified in `unit_amount` or `unit_amount_decimal`) will be charged
-- per unit in `quantity` (for prices with `usage_type=licensed`), or per
-- unit of total usage (for prices with `usage_type=metered`). `tiered`
-- indicates that the unit pricing will be computed using a tiering
-- strategy as defined using the `tiers` and `tiers_mode` attributes.
[itemPrice'BillingScheme] :: ItemPrice' -> Maybe ItemPrice'BillingScheme'
-- | created: Time at which the object was created. Measured in seconds
-- since the Unix epoch.
[itemPrice'Created] :: ItemPrice' -> Maybe Int
-- | currency: Three-letter ISO currency code, in lowercase. Must be
-- a supported currency.
[itemPrice'Currency] :: ItemPrice' -> Maybe Text
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[itemPrice'Id] :: ItemPrice' -> Maybe Text
-- | livemode: Has the value `true` if the object exists in live mode or
-- the value `false` if the object exists in test mode.
[itemPrice'Livemode] :: ItemPrice' -> Maybe Bool
-- | lookup_key: A lookup key used to retrieve prices dynamically from a
-- static string.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[itemPrice'LookupKey] :: ItemPrice' -> Maybe Text
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format.
[itemPrice'Metadata] :: ItemPrice' -> Maybe Object
-- | nickname: A brief description of the price, hidden from customers.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[itemPrice'Nickname] :: ItemPrice' -> Maybe Text
-- | object: String representing the object's type. Objects of the same
-- type share the same value.
[itemPrice'Object] :: ItemPrice' -> Maybe ItemPrice'Object'
-- | product: The ID of the product this price is associated with.
[itemPrice'Product] :: ItemPrice' -> Maybe ItemPrice'Product'Variants
-- | recurring: The recurring components of a price such as `interval` and
-- `usage_type`.
[itemPrice'Recurring] :: ItemPrice' -> Maybe ItemPrice'Recurring'
-- | tax_behavior: Specifies whether the price is considered inclusive of
-- taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or
-- `unspecified`. Once specified as either `inclusive` or `exclusive`, it
-- cannot be changed.
[itemPrice'TaxBehavior] :: ItemPrice' -> Maybe ItemPrice'TaxBehavior'
-- | tiers: Each element represents a pricing tier. This parameter requires
-- `billing_scheme` to be set to `tiered`. See also the documentation for
-- `billing_scheme`.
[itemPrice'Tiers] :: ItemPrice' -> Maybe [PriceTier]
-- | tiers_mode: Defines if the tiering price should be `graduated` or
-- `volume` based. In `volume`-based tiering, the maximum quantity within
-- a period determines the per unit price. In `graduated` tiering,
-- pricing can change as the quantity grows.
[itemPrice'TiersMode] :: ItemPrice' -> Maybe ItemPrice'TiersMode'
-- | transform_quantity: Apply a transformation to the reported usage or
-- set quantity before computing the amount billed. Cannot be combined
-- with `tiers`.
[itemPrice'TransformQuantity] :: ItemPrice' -> Maybe ItemPrice'TransformQuantity'
-- | type: One of `one_time` or `recurring` depending on whether the price
-- is for a one-time purchase or a recurring (subscription) purchase.
[itemPrice'Type] :: ItemPrice' -> Maybe ItemPrice'Type'
-- | unit_amount: The unit amount in %s to be charged, represented as a
-- whole integer if possible. Only set if `billing_scheme=per_unit`.
[itemPrice'UnitAmount] :: ItemPrice' -> Maybe Int
-- | unit_amount_decimal: The unit amount in %s to be charged, represented
-- as a decimal string with at most 12 decimal places. Only set if
-- `billing_scheme=per_unit`.
[itemPrice'UnitAmountDecimal] :: ItemPrice' -> Maybe Text
-- | Create a new ItemPrice' with all required fields.
mkItemPrice' :: ItemPrice'
-- | Defines the enum schema located at
-- components.schemas.item.properties.price.anyOf.properties.billing_scheme
-- in the specification.
--
-- Describes how to compute the price per period. Either `per_unit` or
-- `tiered`. `per_unit` indicates that the fixed amount (specified in
-- `unit_amount` or `unit_amount_decimal`) will be charged per unit in
-- `quantity` (for prices with `usage_type=licensed`), or per unit of
-- total usage (for prices with `usage_type=metered`). `tiered` indicates
-- that the unit pricing will be computed using a tiering strategy as
-- defined using the `tiers` and `tiers_mode` attributes.
data ItemPrice'BillingScheme'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
ItemPrice'BillingScheme'Other :: Value -> ItemPrice'BillingScheme'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
ItemPrice'BillingScheme'Typed :: Text -> ItemPrice'BillingScheme'
-- | Represents the JSON value "per_unit"
ItemPrice'BillingScheme'EnumPerUnit :: ItemPrice'BillingScheme'
-- | Represents the JSON value "tiered"
ItemPrice'BillingScheme'EnumTiered :: ItemPrice'BillingScheme'
-- | Defines the enum schema located at
-- components.schemas.item.properties.price.anyOf.properties.object
-- in the specification.
--
-- String representing the object's type. Objects of the same type share
-- the same value.
data ItemPrice'Object'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
ItemPrice'Object'Other :: Value -> ItemPrice'Object'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
ItemPrice'Object'Typed :: Text -> ItemPrice'Object'
-- | Represents the JSON value "price"
ItemPrice'Object'EnumPrice :: ItemPrice'Object'
-- | Defines the oneOf schema located at
-- components.schemas.item.properties.price.anyOf.properties.product.anyOf
-- in the specification.
--
-- The ID of the product this price is associated with.
data ItemPrice'Product'Variants
ItemPrice'Product'Text :: Text -> ItemPrice'Product'Variants
ItemPrice'Product'Product :: Product -> ItemPrice'Product'Variants
ItemPrice'Product'DeletedProduct :: DeletedProduct -> ItemPrice'Product'Variants
-- | Defines the object schema located at
-- components.schemas.item.properties.price.anyOf.properties.recurring.anyOf
-- in the specification.
--
-- The recurring components of a price such as \`interval\` and
-- \`usage_type\`.
data ItemPrice'Recurring'
ItemPrice'Recurring' :: Maybe ItemPrice'Recurring'AggregateUsage' -> Maybe ItemPrice'Recurring'Interval' -> Maybe Int -> Maybe ItemPrice'Recurring'UsageType' -> ItemPrice'Recurring'
-- | aggregate_usage: Specifies a usage aggregation strategy for prices of
-- `usage_type=metered`. Allowed values are `sum` for summing up all
-- usage during a period, `last_during_period` for using the last usage
-- record reported within a period, `last_ever` for using the last usage
-- record ever (across period bounds) or `max` which uses the usage
-- record with the maximum reported usage during a period. Defaults to
-- `sum`.
[itemPrice'Recurring'AggregateUsage] :: ItemPrice'Recurring' -> Maybe ItemPrice'Recurring'AggregateUsage'
-- | interval: The frequency at which a subscription is billed. One of
-- `day`, `week`, `month` or `year`.
[itemPrice'Recurring'Interval] :: ItemPrice'Recurring' -> Maybe ItemPrice'Recurring'Interval'
-- | interval_count: The number of intervals (specified in the `interval`
-- attribute) between subscription billings. For example,
-- `interval=month` and `interval_count=3` bills every 3 months.
[itemPrice'Recurring'IntervalCount] :: ItemPrice'Recurring' -> Maybe Int
-- | usage_type: Configures how the quantity per period should be
-- determined. Can be either `metered` or `licensed`. `licensed`
-- automatically bills the `quantity` set when adding it to a
-- subscription. `metered` aggregates the total usage based on usage
-- records. Defaults to `licensed`.
[itemPrice'Recurring'UsageType] :: ItemPrice'Recurring' -> Maybe ItemPrice'Recurring'UsageType'
-- | Create a new ItemPrice'Recurring' with all required fields.
mkItemPrice'Recurring' :: ItemPrice'Recurring'
-- | Defines the enum schema located at
-- components.schemas.item.properties.price.anyOf.properties.recurring.anyOf.properties.aggregate_usage
-- in the specification.
--
-- Specifies a usage aggregation strategy for prices of
-- `usage_type=metered`. Allowed values are `sum` for summing up all
-- usage during a period, `last_during_period` for using the last usage
-- record reported within a period, `last_ever` for using the last usage
-- record ever (across period bounds) or `max` which uses the usage
-- record with the maximum reported usage during a period. Defaults to
-- `sum`.
data ItemPrice'Recurring'AggregateUsage'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
ItemPrice'Recurring'AggregateUsage'Other :: Value -> ItemPrice'Recurring'AggregateUsage'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
ItemPrice'Recurring'AggregateUsage'Typed :: Text -> ItemPrice'Recurring'AggregateUsage'
-- | Represents the JSON value "last_during_period"
ItemPrice'Recurring'AggregateUsage'EnumLastDuringPeriod :: ItemPrice'Recurring'AggregateUsage'
-- | Represents the JSON value "last_ever"
ItemPrice'Recurring'AggregateUsage'EnumLastEver :: ItemPrice'Recurring'AggregateUsage'
-- | Represents the JSON value "max"
ItemPrice'Recurring'AggregateUsage'EnumMax :: ItemPrice'Recurring'AggregateUsage'
-- | Represents the JSON value "sum"
ItemPrice'Recurring'AggregateUsage'EnumSum :: ItemPrice'Recurring'AggregateUsage'
-- | Defines the enum schema located at
-- components.schemas.item.properties.price.anyOf.properties.recurring.anyOf.properties.interval
-- in the specification.
--
-- The frequency at which a subscription is billed. One of `day`, `week`,
-- `month` or `year`.
data ItemPrice'Recurring'Interval'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
ItemPrice'Recurring'Interval'Other :: Value -> ItemPrice'Recurring'Interval'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
ItemPrice'Recurring'Interval'Typed :: Text -> ItemPrice'Recurring'Interval'
-- | Represents the JSON value "day"
ItemPrice'Recurring'Interval'EnumDay :: ItemPrice'Recurring'Interval'
-- | Represents the JSON value "month"
ItemPrice'Recurring'Interval'EnumMonth :: ItemPrice'Recurring'Interval'
-- | Represents the JSON value "week"
ItemPrice'Recurring'Interval'EnumWeek :: ItemPrice'Recurring'Interval'
-- | Represents the JSON value "year"
ItemPrice'Recurring'Interval'EnumYear :: ItemPrice'Recurring'Interval'
-- | Defines the enum schema located at
-- components.schemas.item.properties.price.anyOf.properties.recurring.anyOf.properties.usage_type
-- in the specification.
--
-- Configures how the quantity per period should be determined. Can be
-- either `metered` or `licensed`. `licensed` automatically bills the
-- `quantity` set when adding it to a subscription. `metered` aggregates
-- the total usage based on usage records. Defaults to `licensed`.
data ItemPrice'Recurring'UsageType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
ItemPrice'Recurring'UsageType'Other :: Value -> ItemPrice'Recurring'UsageType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
ItemPrice'Recurring'UsageType'Typed :: Text -> ItemPrice'Recurring'UsageType'
-- | Represents the JSON value "licensed"
ItemPrice'Recurring'UsageType'EnumLicensed :: ItemPrice'Recurring'UsageType'
-- | Represents the JSON value "metered"
ItemPrice'Recurring'UsageType'EnumMetered :: ItemPrice'Recurring'UsageType'
-- | Defines the enum schema located at
-- components.schemas.item.properties.price.anyOf.properties.tax_behavior
-- in the specification.
--
-- Specifies whether the price is considered inclusive of taxes or
-- exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`.
-- Once specified as either `inclusive` or `exclusive`, it cannot be
-- changed.
data ItemPrice'TaxBehavior'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
ItemPrice'TaxBehavior'Other :: Value -> ItemPrice'TaxBehavior'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
ItemPrice'TaxBehavior'Typed :: Text -> ItemPrice'TaxBehavior'
-- | Represents the JSON value "exclusive"
ItemPrice'TaxBehavior'EnumExclusive :: ItemPrice'TaxBehavior'
-- | Represents the JSON value "inclusive"
ItemPrice'TaxBehavior'EnumInclusive :: ItemPrice'TaxBehavior'
-- | Represents the JSON value "unspecified"
ItemPrice'TaxBehavior'EnumUnspecified :: ItemPrice'TaxBehavior'
-- | Defines the enum schema located at
-- components.schemas.item.properties.price.anyOf.properties.tiers_mode
-- in the specification.
--
-- Defines if the tiering price should be `graduated` or `volume` based.
-- In `volume`-based tiering, the maximum quantity within a period
-- determines the per unit price. In `graduated` tiering, pricing can
-- change as the quantity grows.
data ItemPrice'TiersMode'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
ItemPrice'TiersMode'Other :: Value -> ItemPrice'TiersMode'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
ItemPrice'TiersMode'Typed :: Text -> ItemPrice'TiersMode'
-- | Represents the JSON value "graduated"
ItemPrice'TiersMode'EnumGraduated :: ItemPrice'TiersMode'
-- | Represents the JSON value "volume"
ItemPrice'TiersMode'EnumVolume :: ItemPrice'TiersMode'
-- | Defines the object schema located at
-- components.schemas.item.properties.price.anyOf.properties.transform_quantity.anyOf
-- in the specification.
--
-- Apply a transformation to the reported usage or set quantity before
-- computing the amount billed. Cannot be combined with \`tiers\`.
data ItemPrice'TransformQuantity'
ItemPrice'TransformQuantity' :: Maybe Int -> Maybe ItemPrice'TransformQuantity'Round' -> ItemPrice'TransformQuantity'
-- | divide_by: Divide usage by this number.
[itemPrice'TransformQuantity'DivideBy] :: ItemPrice'TransformQuantity' -> Maybe Int
-- | round: After division, either round the result `up` or `down`.
[itemPrice'TransformQuantity'Round] :: ItemPrice'TransformQuantity' -> Maybe ItemPrice'TransformQuantity'Round'
-- | Create a new ItemPrice'TransformQuantity' with all required
-- fields.
mkItemPrice'TransformQuantity' :: ItemPrice'TransformQuantity'
-- | Defines the enum schema located at
-- components.schemas.item.properties.price.anyOf.properties.transform_quantity.anyOf.properties.round
-- in the specification.
--
-- After division, either round the result `up` or `down`.
data ItemPrice'TransformQuantity'Round'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
ItemPrice'TransformQuantity'Round'Other :: Value -> ItemPrice'TransformQuantity'Round'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
ItemPrice'TransformQuantity'Round'Typed :: Text -> ItemPrice'TransformQuantity'Round'
-- | Represents the JSON value "down"
ItemPrice'TransformQuantity'Round'EnumDown :: ItemPrice'TransformQuantity'Round'
-- | Represents the JSON value "up"
ItemPrice'TransformQuantity'Round'EnumUp :: ItemPrice'TransformQuantity'Round'
-- | Defines the enum schema located at
-- components.schemas.item.properties.price.anyOf.properties.type
-- in the specification.
--
-- One of `one_time` or `recurring` depending on whether the price is for
-- a one-time purchase or a recurring (subscription) purchase.
data ItemPrice'Type'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
ItemPrice'Type'Other :: Value -> ItemPrice'Type'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
ItemPrice'Type'Typed :: Text -> ItemPrice'Type'
-- | Represents the JSON value "one_time"
ItemPrice'Type'EnumOneTime :: ItemPrice'Type'
-- | Represents the JSON value "recurring"
ItemPrice'Type'EnumRecurring :: ItemPrice'Type'
instance GHC.Classes.Eq StripeAPI.Types.Item.ItemPrice'BillingScheme'
instance GHC.Show.Show StripeAPI.Types.Item.ItemPrice'BillingScheme'
instance GHC.Classes.Eq StripeAPI.Types.Item.ItemPrice'Object'
instance GHC.Show.Show StripeAPI.Types.Item.ItemPrice'Object'
instance GHC.Classes.Eq StripeAPI.Types.Item.ItemPrice'Product'Variants
instance GHC.Show.Show StripeAPI.Types.Item.ItemPrice'Product'Variants
instance GHC.Classes.Eq StripeAPI.Types.Item.ItemPrice'Recurring'AggregateUsage'
instance GHC.Show.Show StripeAPI.Types.Item.ItemPrice'Recurring'AggregateUsage'
instance GHC.Classes.Eq StripeAPI.Types.Item.ItemPrice'Recurring'Interval'
instance GHC.Show.Show StripeAPI.Types.Item.ItemPrice'Recurring'Interval'
instance GHC.Classes.Eq StripeAPI.Types.Item.ItemPrice'Recurring'UsageType'
instance GHC.Show.Show StripeAPI.Types.Item.ItemPrice'Recurring'UsageType'
instance GHC.Classes.Eq StripeAPI.Types.Item.ItemPrice'Recurring'
instance GHC.Show.Show StripeAPI.Types.Item.ItemPrice'Recurring'
instance GHC.Classes.Eq StripeAPI.Types.Item.ItemPrice'TaxBehavior'
instance GHC.Show.Show StripeAPI.Types.Item.ItemPrice'TaxBehavior'
instance GHC.Classes.Eq StripeAPI.Types.Item.ItemPrice'TiersMode'
instance GHC.Show.Show StripeAPI.Types.Item.ItemPrice'TiersMode'
instance GHC.Classes.Eq StripeAPI.Types.Item.ItemPrice'TransformQuantity'Round'
instance GHC.Show.Show StripeAPI.Types.Item.ItemPrice'TransformQuantity'Round'
instance GHC.Classes.Eq StripeAPI.Types.Item.ItemPrice'TransformQuantity'
instance GHC.Show.Show StripeAPI.Types.Item.ItemPrice'TransformQuantity'
instance GHC.Classes.Eq StripeAPI.Types.Item.ItemPrice'Type'
instance GHC.Show.Show StripeAPI.Types.Item.ItemPrice'Type'
instance GHC.Classes.Eq StripeAPI.Types.Item.ItemPrice'
instance GHC.Show.Show StripeAPI.Types.Item.ItemPrice'
instance GHC.Classes.Eq StripeAPI.Types.Item.Item
instance GHC.Show.Show StripeAPI.Types.Item.Item
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Item.Item
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Item.Item
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Item.ItemPrice'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Item.ItemPrice'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Item.ItemPrice'Type'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Item.ItemPrice'Type'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Item.ItemPrice'TransformQuantity'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Item.ItemPrice'TransformQuantity'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Item.ItemPrice'TransformQuantity'Round'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Item.ItemPrice'TransformQuantity'Round'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Item.ItemPrice'TiersMode'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Item.ItemPrice'TiersMode'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Item.ItemPrice'TaxBehavior'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Item.ItemPrice'TaxBehavior'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Item.ItemPrice'Recurring'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Item.ItemPrice'Recurring'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Item.ItemPrice'Recurring'UsageType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Item.ItemPrice'Recurring'UsageType'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Item.ItemPrice'Recurring'Interval'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Item.ItemPrice'Recurring'Interval'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Item.ItemPrice'Recurring'AggregateUsage'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Item.ItemPrice'Recurring'AggregateUsage'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Item.ItemPrice'Product'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Item.ItemPrice'Product'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Item.ItemPrice'Object'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Item.ItemPrice'Object'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Item.ItemPrice'BillingScheme'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Item.ItemPrice'BillingScheme'
-- | Contains the types generated from the schema Invoiceitem
module StripeAPI.Types.Invoiceitem
-- | Defines the object schema located at
-- components.schemas.invoiceitem in the specification.
--
-- Sometimes you want to add a charge or credit to a customer, but
-- actually charge or credit the customer's card only at the end of a
-- regular billing cycle. This is useful for combining several charges
-- (to minimize per-transaction fees), or for having Stripe tabulate your
-- usage-based billing totals.
--
-- Related guide: Subscription Invoices.
data Invoiceitem
Invoiceitem :: Int -> Text -> InvoiceitemCustomer'Variants -> Int -> Maybe Text -> Bool -> Maybe [InvoiceitemDiscounts'Variants] -> Text -> Maybe InvoiceitemInvoice'Variants -> Bool -> Maybe Object -> InvoiceLineItemPeriod -> Maybe InvoiceitemPrice' -> Bool -> Int -> Maybe InvoiceitemSubscription'Variants -> Maybe Text -> Maybe [TaxRate] -> Maybe Int -> Maybe Text -> Invoiceitem
-- | amount: Amount (in the `currency` specified) of the invoice item. This
-- should always be equal to `unit_amount * quantity`.
[invoiceitemAmount] :: Invoiceitem -> Int
-- | currency: Three-letter ISO currency code, in lowercase. Must be
-- a supported currency.
[invoiceitemCurrency] :: Invoiceitem -> Text
-- | customer: The ID of the customer who will be billed when this invoice
-- item is billed.
[invoiceitemCustomer] :: Invoiceitem -> InvoiceitemCustomer'Variants
-- | date: Time at which the object was created. Measured in seconds since
-- the Unix epoch.
[invoiceitemDate] :: Invoiceitem -> Int
-- | description: An arbitrary string attached to the object. Often useful
-- for displaying to users.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[invoiceitemDescription] :: Invoiceitem -> Maybe Text
-- | discountable: If true, discounts will apply to this invoice item.
-- Always false for prorations.
[invoiceitemDiscountable] :: Invoiceitem -> Bool
-- | discounts: The discounts which apply to the invoice item. Item
-- discounts are applied before invoice discounts. Use
-- `expand[]=discounts` to expand each discount.
[invoiceitemDiscounts] :: Invoiceitem -> Maybe [InvoiceitemDiscounts'Variants]
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[invoiceitemId] :: Invoiceitem -> Text
-- | invoice: The ID of the invoice this invoice item belongs to.
[invoiceitemInvoice] :: Invoiceitem -> Maybe InvoiceitemInvoice'Variants
-- | livemode: Has the value `true` if the object exists in live mode or
-- the value `false` if the object exists in test mode.
[invoiceitemLivemode] :: Invoiceitem -> Bool
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format.
[invoiceitemMetadata] :: Invoiceitem -> Maybe Object
-- | period:
[invoiceitemPeriod] :: Invoiceitem -> InvoiceLineItemPeriod
-- | price: The price of the invoice item.
[invoiceitemPrice] :: Invoiceitem -> Maybe InvoiceitemPrice'
-- | proration: Whether the invoice item was created automatically as a
-- proration adjustment when the customer switched plans.
[invoiceitemProration] :: Invoiceitem -> Bool
-- | quantity: Quantity of units for the invoice item. If the invoice item
-- is a proration, the quantity of the subscription that the proration
-- was computed for.
[invoiceitemQuantity] :: Invoiceitem -> Int
-- | subscription: The subscription that this invoice item has been created
-- for, if any.
[invoiceitemSubscription] :: Invoiceitem -> Maybe InvoiceitemSubscription'Variants
-- | subscription_item: The subscription item that this invoice item has
-- been created for, if any.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[invoiceitemSubscriptionItem] :: Invoiceitem -> Maybe Text
-- | tax_rates: The tax rates which apply to the invoice item. When set,
-- the `default_tax_rates` on the invoice do not apply to this invoice
-- item.
[invoiceitemTaxRates] :: Invoiceitem -> Maybe [TaxRate]
-- | unit_amount: Unit amount (in the `currency` specified) of the invoice
-- item.
[invoiceitemUnitAmount] :: Invoiceitem -> Maybe Int
-- | unit_amount_decimal: Same as `unit_amount`, but contains a decimal
-- value with at most 12 decimal places.
[invoiceitemUnitAmountDecimal] :: Invoiceitem -> Maybe Text
-- | Create a new Invoiceitem with all required fields.
mkInvoiceitem :: Int -> Text -> InvoiceitemCustomer'Variants -> Int -> Bool -> Text -> Bool -> InvoiceLineItemPeriod -> Bool -> Int -> Invoiceitem
-- | Defines the oneOf schema located at
-- components.schemas.invoiceitem.properties.customer.anyOf in
-- the specification.
--
-- The ID of the customer who will be billed when this invoice item is
-- billed.
data InvoiceitemCustomer'Variants
InvoiceitemCustomer'Text :: Text -> InvoiceitemCustomer'Variants
InvoiceitemCustomer'Customer :: Customer -> InvoiceitemCustomer'Variants
InvoiceitemCustomer'DeletedCustomer :: DeletedCustomer -> InvoiceitemCustomer'Variants
-- | Defines the oneOf schema located at
-- components.schemas.invoiceitem.properties.discounts.items.anyOf
-- in the specification.
data InvoiceitemDiscounts'Variants
InvoiceitemDiscounts'Text :: Text -> InvoiceitemDiscounts'Variants
InvoiceitemDiscounts'Discount :: Discount -> InvoiceitemDiscounts'Variants
-- | Defines the oneOf schema located at
-- components.schemas.invoiceitem.properties.invoice.anyOf in
-- the specification.
--
-- The ID of the invoice this invoice item belongs to.
data InvoiceitemInvoice'Variants
InvoiceitemInvoice'Text :: Text -> InvoiceitemInvoice'Variants
InvoiceitemInvoice'Invoice :: Invoice -> InvoiceitemInvoice'Variants
-- | Defines the object schema located at
-- components.schemas.invoiceitem.properties.price.anyOf in the
-- specification.
--
-- The price of the invoice item.
data InvoiceitemPrice'
InvoiceitemPrice' :: Maybe Bool -> Maybe InvoiceitemPrice'BillingScheme' -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe Object -> Maybe Text -> Maybe InvoiceitemPrice'Object' -> Maybe InvoiceitemPrice'Product'Variants -> Maybe InvoiceitemPrice'Recurring' -> Maybe InvoiceitemPrice'TaxBehavior' -> Maybe [PriceTier] -> Maybe InvoiceitemPrice'TiersMode' -> Maybe InvoiceitemPrice'TransformQuantity' -> Maybe InvoiceitemPrice'Type' -> Maybe Int -> Maybe Text -> InvoiceitemPrice'
-- | active: Whether the price can be used for new purchases.
[invoiceitemPrice'Active] :: InvoiceitemPrice' -> Maybe Bool
-- | billing_scheme: Describes how to compute the price per period. Either
-- `per_unit` or `tiered`. `per_unit` indicates that the fixed amount
-- (specified in `unit_amount` or `unit_amount_decimal`) will be charged
-- per unit in `quantity` (for prices with `usage_type=licensed`), or per
-- unit of total usage (for prices with `usage_type=metered`). `tiered`
-- indicates that the unit pricing will be computed using a tiering
-- strategy as defined using the `tiers` and `tiers_mode` attributes.
[invoiceitemPrice'BillingScheme] :: InvoiceitemPrice' -> Maybe InvoiceitemPrice'BillingScheme'
-- | created: Time at which the object was created. Measured in seconds
-- since the Unix epoch.
[invoiceitemPrice'Created] :: InvoiceitemPrice' -> Maybe Int
-- | currency: Three-letter ISO currency code, in lowercase. Must be
-- a supported currency.
[invoiceitemPrice'Currency] :: InvoiceitemPrice' -> Maybe Text
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[invoiceitemPrice'Id] :: InvoiceitemPrice' -> Maybe Text
-- | livemode: Has the value `true` if the object exists in live mode or
-- the value `false` if the object exists in test mode.
[invoiceitemPrice'Livemode] :: InvoiceitemPrice' -> Maybe Bool
-- | lookup_key: A lookup key used to retrieve prices dynamically from a
-- static string.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[invoiceitemPrice'LookupKey] :: InvoiceitemPrice' -> Maybe Text
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format.
[invoiceitemPrice'Metadata] :: InvoiceitemPrice' -> Maybe Object
-- | nickname: A brief description of the price, hidden from customers.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[invoiceitemPrice'Nickname] :: InvoiceitemPrice' -> Maybe Text
-- | object: String representing the object's type. Objects of the same
-- type share the same value.
[invoiceitemPrice'Object] :: InvoiceitemPrice' -> Maybe InvoiceitemPrice'Object'
-- | product: The ID of the product this price is associated with.
[invoiceitemPrice'Product] :: InvoiceitemPrice' -> Maybe InvoiceitemPrice'Product'Variants
-- | recurring: The recurring components of a price such as `interval` and
-- `usage_type`.
[invoiceitemPrice'Recurring] :: InvoiceitemPrice' -> Maybe InvoiceitemPrice'Recurring'
-- | tax_behavior: Specifies whether the price is considered inclusive of
-- taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or
-- `unspecified`. Once specified as either `inclusive` or `exclusive`, it
-- cannot be changed.
[invoiceitemPrice'TaxBehavior] :: InvoiceitemPrice' -> Maybe InvoiceitemPrice'TaxBehavior'
-- | tiers: Each element represents a pricing tier. This parameter requires
-- `billing_scheme` to be set to `tiered`. See also the documentation for
-- `billing_scheme`.
[invoiceitemPrice'Tiers] :: InvoiceitemPrice' -> Maybe [PriceTier]
-- | tiers_mode: Defines if the tiering price should be `graduated` or
-- `volume` based. In `volume`-based tiering, the maximum quantity within
-- a period determines the per unit price. In `graduated` tiering,
-- pricing can change as the quantity grows.
[invoiceitemPrice'TiersMode] :: InvoiceitemPrice' -> Maybe InvoiceitemPrice'TiersMode'
-- | transform_quantity: Apply a transformation to the reported usage or
-- set quantity before computing the amount billed. Cannot be combined
-- with `tiers`.
[invoiceitemPrice'TransformQuantity] :: InvoiceitemPrice' -> Maybe InvoiceitemPrice'TransformQuantity'
-- | type: One of `one_time` or `recurring` depending on whether the price
-- is for a one-time purchase or a recurring (subscription) purchase.
[invoiceitemPrice'Type] :: InvoiceitemPrice' -> Maybe InvoiceitemPrice'Type'
-- | unit_amount: The unit amount in %s to be charged, represented as a
-- whole integer if possible. Only set if `billing_scheme=per_unit`.
[invoiceitemPrice'UnitAmount] :: InvoiceitemPrice' -> Maybe Int
-- | unit_amount_decimal: The unit amount in %s to be charged, represented
-- as a decimal string with at most 12 decimal places. Only set if
-- `billing_scheme=per_unit`.
[invoiceitemPrice'UnitAmountDecimal] :: InvoiceitemPrice' -> Maybe Text
-- | Create a new InvoiceitemPrice' with all required fields.
mkInvoiceitemPrice' :: InvoiceitemPrice'
-- | Defines the enum schema located at
-- components.schemas.invoiceitem.properties.price.anyOf.properties.billing_scheme
-- in the specification.
--
-- Describes how to compute the price per period. Either `per_unit` or
-- `tiered`. `per_unit` indicates that the fixed amount (specified in
-- `unit_amount` or `unit_amount_decimal`) will be charged per unit in
-- `quantity` (for prices with `usage_type=licensed`), or per unit of
-- total usage (for prices with `usage_type=metered`). `tiered` indicates
-- that the unit pricing will be computed using a tiering strategy as
-- defined using the `tiers` and `tiers_mode` attributes.
data InvoiceitemPrice'BillingScheme'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
InvoiceitemPrice'BillingScheme'Other :: Value -> InvoiceitemPrice'BillingScheme'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
InvoiceitemPrice'BillingScheme'Typed :: Text -> InvoiceitemPrice'BillingScheme'
-- | Represents the JSON value "per_unit"
InvoiceitemPrice'BillingScheme'EnumPerUnit :: InvoiceitemPrice'BillingScheme'
-- | Represents the JSON value "tiered"
InvoiceitemPrice'BillingScheme'EnumTiered :: InvoiceitemPrice'BillingScheme'
-- | Defines the enum schema located at
-- components.schemas.invoiceitem.properties.price.anyOf.properties.object
-- in the specification.
--
-- String representing the object's type. Objects of the same type share
-- the same value.
data InvoiceitemPrice'Object'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
InvoiceitemPrice'Object'Other :: Value -> InvoiceitemPrice'Object'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
InvoiceitemPrice'Object'Typed :: Text -> InvoiceitemPrice'Object'
-- | Represents the JSON value "price"
InvoiceitemPrice'Object'EnumPrice :: InvoiceitemPrice'Object'
-- | Defines the oneOf schema located at
-- components.schemas.invoiceitem.properties.price.anyOf.properties.product.anyOf
-- in the specification.
--
-- The ID of the product this price is associated with.
data InvoiceitemPrice'Product'Variants
InvoiceitemPrice'Product'Text :: Text -> InvoiceitemPrice'Product'Variants
InvoiceitemPrice'Product'Product :: Product -> InvoiceitemPrice'Product'Variants
InvoiceitemPrice'Product'DeletedProduct :: DeletedProduct -> InvoiceitemPrice'Product'Variants
-- | Defines the object schema located at
-- components.schemas.invoiceitem.properties.price.anyOf.properties.recurring.anyOf
-- in the specification.
--
-- The recurring components of a price such as \`interval\` and
-- \`usage_type\`.
data InvoiceitemPrice'Recurring'
InvoiceitemPrice'Recurring' :: Maybe InvoiceitemPrice'Recurring'AggregateUsage' -> Maybe InvoiceitemPrice'Recurring'Interval' -> Maybe Int -> Maybe InvoiceitemPrice'Recurring'UsageType' -> InvoiceitemPrice'Recurring'
-- | aggregate_usage: Specifies a usage aggregation strategy for prices of
-- `usage_type=metered`. Allowed values are `sum` for summing up all
-- usage during a period, `last_during_period` for using the last usage
-- record reported within a period, `last_ever` for using the last usage
-- record ever (across period bounds) or `max` which uses the usage
-- record with the maximum reported usage during a period. Defaults to
-- `sum`.
[invoiceitemPrice'Recurring'AggregateUsage] :: InvoiceitemPrice'Recurring' -> Maybe InvoiceitemPrice'Recurring'AggregateUsage'
-- | interval: The frequency at which a subscription is billed. One of
-- `day`, `week`, `month` or `year`.
[invoiceitemPrice'Recurring'Interval] :: InvoiceitemPrice'Recurring' -> Maybe InvoiceitemPrice'Recurring'Interval'
-- | interval_count: The number of intervals (specified in the `interval`
-- attribute) between subscription billings. For example,
-- `interval=month` and `interval_count=3` bills every 3 months.
[invoiceitemPrice'Recurring'IntervalCount] :: InvoiceitemPrice'Recurring' -> Maybe Int
-- | usage_type: Configures how the quantity per period should be
-- determined. Can be either `metered` or `licensed`. `licensed`
-- automatically bills the `quantity` set when adding it to a
-- subscription. `metered` aggregates the total usage based on usage
-- records. Defaults to `licensed`.
[invoiceitemPrice'Recurring'UsageType] :: InvoiceitemPrice'Recurring' -> Maybe InvoiceitemPrice'Recurring'UsageType'
-- | Create a new InvoiceitemPrice'Recurring' with all required
-- fields.
mkInvoiceitemPrice'Recurring' :: InvoiceitemPrice'Recurring'
-- | Defines the enum schema located at
-- components.schemas.invoiceitem.properties.price.anyOf.properties.recurring.anyOf.properties.aggregate_usage
-- in the specification.
--
-- Specifies a usage aggregation strategy for prices of
-- `usage_type=metered`. Allowed values are `sum` for summing up all
-- usage during a period, `last_during_period` for using the last usage
-- record reported within a period, `last_ever` for using the last usage
-- record ever (across period bounds) or `max` which uses the usage
-- record with the maximum reported usage during a period. Defaults to
-- `sum`.
data InvoiceitemPrice'Recurring'AggregateUsage'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
InvoiceitemPrice'Recurring'AggregateUsage'Other :: Value -> InvoiceitemPrice'Recurring'AggregateUsage'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
InvoiceitemPrice'Recurring'AggregateUsage'Typed :: Text -> InvoiceitemPrice'Recurring'AggregateUsage'
-- | Represents the JSON value "last_during_period"
InvoiceitemPrice'Recurring'AggregateUsage'EnumLastDuringPeriod :: InvoiceitemPrice'Recurring'AggregateUsage'
-- | Represents the JSON value "last_ever"
InvoiceitemPrice'Recurring'AggregateUsage'EnumLastEver :: InvoiceitemPrice'Recurring'AggregateUsage'
-- | Represents the JSON value "max"
InvoiceitemPrice'Recurring'AggregateUsage'EnumMax :: InvoiceitemPrice'Recurring'AggregateUsage'
-- | Represents the JSON value "sum"
InvoiceitemPrice'Recurring'AggregateUsage'EnumSum :: InvoiceitemPrice'Recurring'AggregateUsage'
-- | Defines the enum schema located at
-- components.schemas.invoiceitem.properties.price.anyOf.properties.recurring.anyOf.properties.interval
-- in the specification.
--
-- The frequency at which a subscription is billed. One of `day`, `week`,
-- `month` or `year`.
data InvoiceitemPrice'Recurring'Interval'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
InvoiceitemPrice'Recurring'Interval'Other :: Value -> InvoiceitemPrice'Recurring'Interval'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
InvoiceitemPrice'Recurring'Interval'Typed :: Text -> InvoiceitemPrice'Recurring'Interval'
-- | Represents the JSON value "day"
InvoiceitemPrice'Recurring'Interval'EnumDay :: InvoiceitemPrice'Recurring'Interval'
-- | Represents the JSON value "month"
InvoiceitemPrice'Recurring'Interval'EnumMonth :: InvoiceitemPrice'Recurring'Interval'
-- | Represents the JSON value "week"
InvoiceitemPrice'Recurring'Interval'EnumWeek :: InvoiceitemPrice'Recurring'Interval'
-- | Represents the JSON value "year"
InvoiceitemPrice'Recurring'Interval'EnumYear :: InvoiceitemPrice'Recurring'Interval'
-- | Defines the enum schema located at
-- components.schemas.invoiceitem.properties.price.anyOf.properties.recurring.anyOf.properties.usage_type
-- in the specification.
--
-- Configures how the quantity per period should be determined. Can be
-- either `metered` or `licensed`. `licensed` automatically bills the
-- `quantity` set when adding it to a subscription. `metered` aggregates
-- the total usage based on usage records. Defaults to `licensed`.
data InvoiceitemPrice'Recurring'UsageType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
InvoiceitemPrice'Recurring'UsageType'Other :: Value -> InvoiceitemPrice'Recurring'UsageType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
InvoiceitemPrice'Recurring'UsageType'Typed :: Text -> InvoiceitemPrice'Recurring'UsageType'
-- | Represents the JSON value "licensed"
InvoiceitemPrice'Recurring'UsageType'EnumLicensed :: InvoiceitemPrice'Recurring'UsageType'
-- | Represents the JSON value "metered"
InvoiceitemPrice'Recurring'UsageType'EnumMetered :: InvoiceitemPrice'Recurring'UsageType'
-- | Defines the enum schema located at
-- components.schemas.invoiceitem.properties.price.anyOf.properties.tax_behavior
-- in the specification.
--
-- Specifies whether the price is considered inclusive of taxes or
-- exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`.
-- Once specified as either `inclusive` or `exclusive`, it cannot be
-- changed.
data InvoiceitemPrice'TaxBehavior'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
InvoiceitemPrice'TaxBehavior'Other :: Value -> InvoiceitemPrice'TaxBehavior'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
InvoiceitemPrice'TaxBehavior'Typed :: Text -> InvoiceitemPrice'TaxBehavior'
-- | Represents the JSON value "exclusive"
InvoiceitemPrice'TaxBehavior'EnumExclusive :: InvoiceitemPrice'TaxBehavior'
-- | Represents the JSON value "inclusive"
InvoiceitemPrice'TaxBehavior'EnumInclusive :: InvoiceitemPrice'TaxBehavior'
-- | Represents the JSON value "unspecified"
InvoiceitemPrice'TaxBehavior'EnumUnspecified :: InvoiceitemPrice'TaxBehavior'
-- | Defines the enum schema located at
-- components.schemas.invoiceitem.properties.price.anyOf.properties.tiers_mode
-- in the specification.
--
-- Defines if the tiering price should be `graduated` or `volume` based.
-- In `volume`-based tiering, the maximum quantity within a period
-- determines the per unit price. In `graduated` tiering, pricing can
-- change as the quantity grows.
data InvoiceitemPrice'TiersMode'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
InvoiceitemPrice'TiersMode'Other :: Value -> InvoiceitemPrice'TiersMode'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
InvoiceitemPrice'TiersMode'Typed :: Text -> InvoiceitemPrice'TiersMode'
-- | Represents the JSON value "graduated"
InvoiceitemPrice'TiersMode'EnumGraduated :: InvoiceitemPrice'TiersMode'
-- | Represents the JSON value "volume"
InvoiceitemPrice'TiersMode'EnumVolume :: InvoiceitemPrice'TiersMode'
-- | Defines the object schema located at
-- components.schemas.invoiceitem.properties.price.anyOf.properties.transform_quantity.anyOf
-- in the specification.
--
-- Apply a transformation to the reported usage or set quantity before
-- computing the amount billed. Cannot be combined with \`tiers\`.
data InvoiceitemPrice'TransformQuantity'
InvoiceitemPrice'TransformQuantity' :: Maybe Int -> Maybe InvoiceitemPrice'TransformQuantity'Round' -> InvoiceitemPrice'TransformQuantity'
-- | divide_by: Divide usage by this number.
[invoiceitemPrice'TransformQuantity'DivideBy] :: InvoiceitemPrice'TransformQuantity' -> Maybe Int
-- | round: After division, either round the result `up` or `down`.
[invoiceitemPrice'TransformQuantity'Round] :: InvoiceitemPrice'TransformQuantity' -> Maybe InvoiceitemPrice'TransformQuantity'Round'
-- | Create a new InvoiceitemPrice'TransformQuantity' with all
-- required fields.
mkInvoiceitemPrice'TransformQuantity' :: InvoiceitemPrice'TransformQuantity'
-- | Defines the enum schema located at
-- components.schemas.invoiceitem.properties.price.anyOf.properties.transform_quantity.anyOf.properties.round
-- in the specification.
--
-- After division, either round the result `up` or `down`.
data InvoiceitemPrice'TransformQuantity'Round'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
InvoiceitemPrice'TransformQuantity'Round'Other :: Value -> InvoiceitemPrice'TransformQuantity'Round'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
InvoiceitemPrice'TransformQuantity'Round'Typed :: Text -> InvoiceitemPrice'TransformQuantity'Round'
-- | Represents the JSON value "down"
InvoiceitemPrice'TransformQuantity'Round'EnumDown :: InvoiceitemPrice'TransformQuantity'Round'
-- | Represents the JSON value "up"
InvoiceitemPrice'TransformQuantity'Round'EnumUp :: InvoiceitemPrice'TransformQuantity'Round'
-- | Defines the enum schema located at
-- components.schemas.invoiceitem.properties.price.anyOf.properties.type
-- in the specification.
--
-- One of `one_time` or `recurring` depending on whether the price is for
-- a one-time purchase or a recurring (subscription) purchase.
data InvoiceitemPrice'Type'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
InvoiceitemPrice'Type'Other :: Value -> InvoiceitemPrice'Type'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
InvoiceitemPrice'Type'Typed :: Text -> InvoiceitemPrice'Type'
-- | Represents the JSON value "one_time"
InvoiceitemPrice'Type'EnumOneTime :: InvoiceitemPrice'Type'
-- | Represents the JSON value "recurring"
InvoiceitemPrice'Type'EnumRecurring :: InvoiceitemPrice'Type'
-- | Defines the oneOf schema located at
-- components.schemas.invoiceitem.properties.subscription.anyOf
-- in the specification.
--
-- The subscription that this invoice item has been created for, if any.
data InvoiceitemSubscription'Variants
InvoiceitemSubscription'Text :: Text -> InvoiceitemSubscription'Variants
InvoiceitemSubscription'Subscription :: Subscription -> InvoiceitemSubscription'Variants
instance GHC.Classes.Eq StripeAPI.Types.Invoiceitem.InvoiceitemCustomer'Variants
instance GHC.Show.Show StripeAPI.Types.Invoiceitem.InvoiceitemCustomer'Variants
instance GHC.Classes.Eq StripeAPI.Types.Invoiceitem.InvoiceitemDiscounts'Variants
instance GHC.Show.Show StripeAPI.Types.Invoiceitem.InvoiceitemDiscounts'Variants
instance GHC.Classes.Eq StripeAPI.Types.Invoiceitem.InvoiceitemInvoice'Variants
instance GHC.Show.Show StripeAPI.Types.Invoiceitem.InvoiceitemInvoice'Variants
instance GHC.Classes.Eq StripeAPI.Types.Invoiceitem.InvoiceitemPrice'BillingScheme'
instance GHC.Show.Show StripeAPI.Types.Invoiceitem.InvoiceitemPrice'BillingScheme'
instance GHC.Classes.Eq StripeAPI.Types.Invoiceitem.InvoiceitemPrice'Object'
instance GHC.Show.Show StripeAPI.Types.Invoiceitem.InvoiceitemPrice'Object'
instance GHC.Classes.Eq StripeAPI.Types.Invoiceitem.InvoiceitemPrice'Product'Variants
instance GHC.Show.Show StripeAPI.Types.Invoiceitem.InvoiceitemPrice'Product'Variants
instance GHC.Classes.Eq StripeAPI.Types.Invoiceitem.InvoiceitemPrice'Recurring'AggregateUsage'
instance GHC.Show.Show StripeAPI.Types.Invoiceitem.InvoiceitemPrice'Recurring'AggregateUsage'
instance GHC.Classes.Eq StripeAPI.Types.Invoiceitem.InvoiceitemPrice'Recurring'Interval'
instance GHC.Show.Show StripeAPI.Types.Invoiceitem.InvoiceitemPrice'Recurring'Interval'
instance GHC.Classes.Eq StripeAPI.Types.Invoiceitem.InvoiceitemPrice'Recurring'UsageType'
instance GHC.Show.Show StripeAPI.Types.Invoiceitem.InvoiceitemPrice'Recurring'UsageType'
instance GHC.Classes.Eq StripeAPI.Types.Invoiceitem.InvoiceitemPrice'Recurring'
instance GHC.Show.Show StripeAPI.Types.Invoiceitem.InvoiceitemPrice'Recurring'
instance GHC.Classes.Eq StripeAPI.Types.Invoiceitem.InvoiceitemPrice'TaxBehavior'
instance GHC.Show.Show StripeAPI.Types.Invoiceitem.InvoiceitemPrice'TaxBehavior'
instance GHC.Classes.Eq StripeAPI.Types.Invoiceitem.InvoiceitemPrice'TiersMode'
instance GHC.Show.Show StripeAPI.Types.Invoiceitem.InvoiceitemPrice'TiersMode'
instance GHC.Classes.Eq StripeAPI.Types.Invoiceitem.InvoiceitemPrice'TransformQuantity'Round'
instance GHC.Show.Show StripeAPI.Types.Invoiceitem.InvoiceitemPrice'TransformQuantity'Round'
instance GHC.Classes.Eq StripeAPI.Types.Invoiceitem.InvoiceitemPrice'TransformQuantity'
instance GHC.Show.Show StripeAPI.Types.Invoiceitem.InvoiceitemPrice'TransformQuantity'
instance GHC.Classes.Eq StripeAPI.Types.Invoiceitem.InvoiceitemPrice'Type'
instance GHC.Show.Show StripeAPI.Types.Invoiceitem.InvoiceitemPrice'Type'
instance GHC.Classes.Eq StripeAPI.Types.Invoiceitem.InvoiceitemPrice'
instance GHC.Show.Show StripeAPI.Types.Invoiceitem.InvoiceitemPrice'
instance GHC.Classes.Eq StripeAPI.Types.Invoiceitem.InvoiceitemSubscription'Variants
instance GHC.Show.Show StripeAPI.Types.Invoiceitem.InvoiceitemSubscription'Variants
instance GHC.Classes.Eq StripeAPI.Types.Invoiceitem.Invoiceitem
instance GHC.Show.Show StripeAPI.Types.Invoiceitem.Invoiceitem
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Invoiceitem.Invoiceitem
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Invoiceitem.Invoiceitem
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Invoiceitem.InvoiceitemSubscription'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Invoiceitem.InvoiceitemSubscription'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Invoiceitem.InvoiceitemPrice'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Invoiceitem.InvoiceitemPrice'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Invoiceitem.InvoiceitemPrice'Type'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Invoiceitem.InvoiceitemPrice'Type'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Invoiceitem.InvoiceitemPrice'TransformQuantity'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Invoiceitem.InvoiceitemPrice'TransformQuantity'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Invoiceitem.InvoiceitemPrice'TransformQuantity'Round'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Invoiceitem.InvoiceitemPrice'TransformQuantity'Round'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Invoiceitem.InvoiceitemPrice'TiersMode'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Invoiceitem.InvoiceitemPrice'TiersMode'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Invoiceitem.InvoiceitemPrice'TaxBehavior'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Invoiceitem.InvoiceitemPrice'TaxBehavior'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Invoiceitem.InvoiceitemPrice'Recurring'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Invoiceitem.InvoiceitemPrice'Recurring'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Invoiceitem.InvoiceitemPrice'Recurring'UsageType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Invoiceitem.InvoiceitemPrice'Recurring'UsageType'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Invoiceitem.InvoiceitemPrice'Recurring'Interval'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Invoiceitem.InvoiceitemPrice'Recurring'Interval'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Invoiceitem.InvoiceitemPrice'Recurring'AggregateUsage'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Invoiceitem.InvoiceitemPrice'Recurring'AggregateUsage'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Invoiceitem.InvoiceitemPrice'Product'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Invoiceitem.InvoiceitemPrice'Product'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Invoiceitem.InvoiceitemPrice'Object'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Invoiceitem.InvoiceitemPrice'Object'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Invoiceitem.InvoiceitemPrice'BillingScheme'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Invoiceitem.InvoiceitemPrice'BillingScheme'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Invoiceitem.InvoiceitemInvoice'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Invoiceitem.InvoiceitemInvoice'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Invoiceitem.InvoiceitemDiscounts'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Invoiceitem.InvoiceitemDiscounts'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Invoiceitem.InvoiceitemCustomer'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Invoiceitem.InvoiceitemCustomer'Variants
-- | Contains the types generated from the schema TransformQuantity
module StripeAPI.Types.TransformQuantity
-- | Defines the object schema located at
-- components.schemas.transform_quantity in the specification.
data TransformQuantity
TransformQuantity :: Int -> TransformQuantityRound' -> TransformQuantity
-- | divide_by: Divide usage by this number.
[transformQuantityDivideBy] :: TransformQuantity -> Int
-- | round: After division, either round the result `up` or `down`.
[transformQuantityRound] :: TransformQuantity -> TransformQuantityRound'
-- | Create a new TransformQuantity with all required fields.
mkTransformQuantity :: Int -> TransformQuantityRound' -> TransformQuantity
-- | Defines the enum schema located at
-- components.schemas.transform_quantity.properties.round in the
-- specification.
--
-- After division, either round the result `up` or `down`.
data TransformQuantityRound'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
TransformQuantityRound'Other :: Value -> TransformQuantityRound'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
TransformQuantityRound'Typed :: Text -> TransformQuantityRound'
-- | Represents the JSON value "down"
TransformQuantityRound'EnumDown :: TransformQuantityRound'
-- | Represents the JSON value "up"
TransformQuantityRound'EnumUp :: TransformQuantityRound'
instance GHC.Classes.Eq StripeAPI.Types.TransformQuantity.TransformQuantityRound'
instance GHC.Show.Show StripeAPI.Types.TransformQuantity.TransformQuantityRound'
instance GHC.Classes.Eq StripeAPI.Types.TransformQuantity.TransformQuantity
instance GHC.Show.Show StripeAPI.Types.TransformQuantity.TransformQuantity
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.TransformQuantity.TransformQuantity
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.TransformQuantity.TransformQuantity
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.TransformQuantity.TransformQuantityRound'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.TransformQuantity.TransformQuantityRound'
-- | Contains the types generated from the schema Plan
module StripeAPI.Types.Plan
-- | Defines the object schema located at components.schemas.plan
-- in the specification.
--
-- You can now model subscriptions more flexibly using the Prices
-- API. It replaces the Plans API and is backwards compatible to
-- simplify your migration.
--
-- Plans define the base price, currency, and billing cycle for recurring
-- purchases of products. Products help you track inventory or
-- provisioning, and plans help you track pricing. Different physical
-- goods or levels of service should be represented by products, and
-- pricing options should be represented by plans. This approach lets you
-- change prices without having to change your provisioning scheme.
--
-- For example, you might have a single "gold" product that has plans for
-- $10/month, $100/year, €9/month, and €90/year.
--
-- Related guides: Set up a subscription and more about
-- products and prices.
data Plan
Plan :: Bool -> Maybe PlanAggregateUsage' -> Maybe Int -> Maybe Text -> PlanBillingScheme' -> Int -> Text -> Text -> PlanInterval' -> Int -> Bool -> Maybe Object -> Maybe Text -> Maybe PlanProduct'Variants -> Maybe [PlanTier] -> Maybe PlanTiersMode' -> Maybe PlanTransformUsage' -> Maybe Int -> PlanUsageType' -> Plan
-- | active: Whether the plan can be used for new purchases.
[planActive] :: Plan -> Bool
-- | aggregate_usage: Specifies a usage aggregation strategy for plans of
-- `usage_type=metered`. Allowed values are `sum` for summing up all
-- usage during a period, `last_during_period` for using the last usage
-- record reported within a period, `last_ever` for using the last usage
-- record ever (across period bounds) or `max` which uses the usage
-- record with the maximum reported usage during a period. Defaults to
-- `sum`.
[planAggregateUsage] :: Plan -> Maybe PlanAggregateUsage'
-- | amount: The unit amount in %s to be charged, represented as a whole
-- integer if possible. Only set if `billing_scheme=per_unit`.
[planAmount] :: Plan -> Maybe Int
-- | amount_decimal: The unit amount in %s to be charged, represented as a
-- decimal string with at most 12 decimal places. Only set if
-- `billing_scheme=per_unit`.
[planAmountDecimal] :: Plan -> Maybe Text
-- | billing_scheme: Describes how to compute the price per period. Either
-- `per_unit` or `tiered`. `per_unit` indicates that the fixed amount
-- (specified in `amount`) will be charged per unit in `quantity` (for
-- plans with `usage_type=licensed`), or per unit of total usage (for
-- plans with `usage_type=metered`). `tiered` indicates that the unit
-- pricing will be computed using a tiering strategy as defined using the
-- `tiers` and `tiers_mode` attributes.
[planBillingScheme] :: Plan -> PlanBillingScheme'
-- | created: Time at which the object was created. Measured in seconds
-- since the Unix epoch.
[planCreated] :: Plan -> Int
-- | currency: Three-letter ISO currency code, in lowercase. Must be
-- a supported currency.
[planCurrency] :: Plan -> Text
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[planId] :: Plan -> Text
-- | interval: The frequency at which a subscription is billed. One of
-- `day`, `week`, `month` or `year`.
[planInterval] :: Plan -> PlanInterval'
-- | interval_count: The number of intervals (specified in the `interval`
-- attribute) between subscription billings. For example,
-- `interval=month` and `interval_count=3` bills every 3 months.
[planIntervalCount] :: Plan -> Int
-- | livemode: Has the value `true` if the object exists in live mode or
-- the value `false` if the object exists in test mode.
[planLivemode] :: Plan -> Bool
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format.
[planMetadata] :: Plan -> Maybe Object
-- | nickname: A brief description of the plan, hidden from customers.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[planNickname] :: Plan -> Maybe Text
-- | product: The product whose pricing this plan determines.
[planProduct] :: Plan -> Maybe PlanProduct'Variants
-- | tiers: Each element represents a pricing tier. This parameter requires
-- `billing_scheme` to be set to `tiered`. See also the documentation for
-- `billing_scheme`.
[planTiers] :: Plan -> Maybe [PlanTier]
-- | tiers_mode: Defines if the tiering price should be `graduated` or
-- `volume` based. In `volume`-based tiering, the maximum quantity within
-- a period determines the per unit price. In `graduated` tiering,
-- pricing can change as the quantity grows.
[planTiersMode] :: Plan -> Maybe PlanTiersMode'
-- | transform_usage: Apply a transformation to the reported usage or set
-- quantity before computing the amount billed. Cannot be combined with
-- `tiers`.
[planTransformUsage] :: Plan -> Maybe PlanTransformUsage'
-- | trial_period_days: Default number of trial days when subscribing a
-- customer to this plan using `trial_from_plan=true`.
[planTrialPeriodDays] :: Plan -> Maybe Int
-- | usage_type: Configures how the quantity per period should be
-- determined. Can be either `metered` or `licensed`. `licensed`
-- automatically bills the `quantity` set when adding it to a
-- subscription. `metered` aggregates the total usage based on usage
-- records. Defaults to `licensed`.
[planUsageType] :: Plan -> PlanUsageType'
-- | Create a new Plan with all required fields.
mkPlan :: Bool -> PlanBillingScheme' -> Int -> Text -> Text -> PlanInterval' -> Int -> Bool -> PlanUsageType' -> Plan
-- | Defines the enum schema located at
-- components.schemas.plan.properties.aggregate_usage in the
-- specification.
--
-- Specifies a usage aggregation strategy for plans of
-- `usage_type=metered`. Allowed values are `sum` for summing up all
-- usage during a period, `last_during_period` for using the last usage
-- record reported within a period, `last_ever` for using the last usage
-- record ever (across period bounds) or `max` which uses the usage
-- record with the maximum reported usage during a period. Defaults to
-- `sum`.
data PlanAggregateUsage'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PlanAggregateUsage'Other :: Value -> PlanAggregateUsage'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PlanAggregateUsage'Typed :: Text -> PlanAggregateUsage'
-- | Represents the JSON value "last_during_period"
PlanAggregateUsage'EnumLastDuringPeriod :: PlanAggregateUsage'
-- | Represents the JSON value "last_ever"
PlanAggregateUsage'EnumLastEver :: PlanAggregateUsage'
-- | Represents the JSON value "max"
PlanAggregateUsage'EnumMax :: PlanAggregateUsage'
-- | Represents the JSON value "sum"
PlanAggregateUsage'EnumSum :: PlanAggregateUsage'
-- | Defines the enum schema located at
-- components.schemas.plan.properties.billing_scheme in the
-- specification.
--
-- Describes how to compute the price per period. Either `per_unit` or
-- `tiered`. `per_unit` indicates that the fixed amount (specified in
-- `amount`) will be charged per unit in `quantity` (for plans with
-- `usage_type=licensed`), or per unit of total usage (for plans with
-- `usage_type=metered`). `tiered` indicates that the unit pricing will
-- be computed using a tiering strategy as defined using the `tiers` and
-- `tiers_mode` attributes.
data PlanBillingScheme'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PlanBillingScheme'Other :: Value -> PlanBillingScheme'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PlanBillingScheme'Typed :: Text -> PlanBillingScheme'
-- | Represents the JSON value "per_unit"
PlanBillingScheme'EnumPerUnit :: PlanBillingScheme'
-- | Represents the JSON value "tiered"
PlanBillingScheme'EnumTiered :: PlanBillingScheme'
-- | Defines the enum schema located at
-- components.schemas.plan.properties.interval in the
-- specification.
--
-- The frequency at which a subscription is billed. One of `day`, `week`,
-- `month` or `year`.
data PlanInterval'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PlanInterval'Other :: Value -> PlanInterval'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PlanInterval'Typed :: Text -> PlanInterval'
-- | Represents the JSON value "day"
PlanInterval'EnumDay :: PlanInterval'
-- | Represents the JSON value "month"
PlanInterval'EnumMonth :: PlanInterval'
-- | Represents the JSON value "week"
PlanInterval'EnumWeek :: PlanInterval'
-- | Represents the JSON value "year"
PlanInterval'EnumYear :: PlanInterval'
-- | Defines the oneOf schema located at
-- components.schemas.plan.properties.product.anyOf in the
-- specification.
--
-- The product whose pricing this plan determines.
data PlanProduct'Variants
PlanProduct'Text :: Text -> PlanProduct'Variants
PlanProduct'Product :: Product -> PlanProduct'Variants
PlanProduct'DeletedProduct :: DeletedProduct -> PlanProduct'Variants
-- | Defines the enum schema located at
-- components.schemas.plan.properties.tiers_mode in the
-- specification.
--
-- Defines if the tiering price should be `graduated` or `volume` based.
-- In `volume`-based tiering, the maximum quantity within a period
-- determines the per unit price. In `graduated` tiering, pricing can
-- change as the quantity grows.
data PlanTiersMode'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PlanTiersMode'Other :: Value -> PlanTiersMode'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PlanTiersMode'Typed :: Text -> PlanTiersMode'
-- | Represents the JSON value "graduated"
PlanTiersMode'EnumGraduated :: PlanTiersMode'
-- | Represents the JSON value "volume"
PlanTiersMode'EnumVolume :: PlanTiersMode'
-- | Defines the object schema located at
-- components.schemas.plan.properties.transform_usage.anyOf in
-- the specification.
--
-- Apply a transformation to the reported usage or set quantity before
-- computing the amount billed. Cannot be combined with \`tiers\`.
data PlanTransformUsage'
PlanTransformUsage' :: Maybe Int -> Maybe PlanTransformUsage'Round' -> PlanTransformUsage'
-- | divide_by: Divide usage by this number.
[planTransformUsage'DivideBy] :: PlanTransformUsage' -> Maybe Int
-- | round: After division, either round the result `up` or `down`.
[planTransformUsage'Round] :: PlanTransformUsage' -> Maybe PlanTransformUsage'Round'
-- | Create a new PlanTransformUsage' with all required fields.
mkPlanTransformUsage' :: PlanTransformUsage'
-- | Defines the enum schema located at
-- components.schemas.plan.properties.transform_usage.anyOf.properties.round
-- in the specification.
--
-- After division, either round the result `up` or `down`.
data PlanTransformUsage'Round'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PlanTransformUsage'Round'Other :: Value -> PlanTransformUsage'Round'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PlanTransformUsage'Round'Typed :: Text -> PlanTransformUsage'Round'
-- | Represents the JSON value "down"
PlanTransformUsage'Round'EnumDown :: PlanTransformUsage'Round'
-- | Represents the JSON value "up"
PlanTransformUsage'Round'EnumUp :: PlanTransformUsage'Round'
-- | Defines the enum schema located at
-- components.schemas.plan.properties.usage_type in the
-- specification.
--
-- Configures how the quantity per period should be determined. Can be
-- either `metered` or `licensed`. `licensed` automatically bills the
-- `quantity` set when adding it to a subscription. `metered` aggregates
-- the total usage based on usage records. Defaults to `licensed`.
data PlanUsageType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PlanUsageType'Other :: Value -> PlanUsageType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PlanUsageType'Typed :: Text -> PlanUsageType'
-- | Represents the JSON value "licensed"
PlanUsageType'EnumLicensed :: PlanUsageType'
-- | Represents the JSON value "metered"
PlanUsageType'EnumMetered :: PlanUsageType'
instance GHC.Classes.Eq StripeAPI.Types.Plan.PlanAggregateUsage'
instance GHC.Show.Show StripeAPI.Types.Plan.PlanAggregateUsage'
instance GHC.Classes.Eq StripeAPI.Types.Plan.PlanBillingScheme'
instance GHC.Show.Show StripeAPI.Types.Plan.PlanBillingScheme'
instance GHC.Classes.Eq StripeAPI.Types.Plan.PlanInterval'
instance GHC.Show.Show StripeAPI.Types.Plan.PlanInterval'
instance GHC.Classes.Eq StripeAPI.Types.Plan.PlanProduct'Variants
instance GHC.Show.Show StripeAPI.Types.Plan.PlanProduct'Variants
instance GHC.Classes.Eq StripeAPI.Types.Plan.PlanTiersMode'
instance GHC.Show.Show StripeAPI.Types.Plan.PlanTiersMode'
instance GHC.Classes.Eq StripeAPI.Types.Plan.PlanTransformUsage'Round'
instance GHC.Show.Show StripeAPI.Types.Plan.PlanTransformUsage'Round'
instance GHC.Classes.Eq StripeAPI.Types.Plan.PlanTransformUsage'
instance GHC.Show.Show StripeAPI.Types.Plan.PlanTransformUsage'
instance GHC.Classes.Eq StripeAPI.Types.Plan.PlanUsageType'
instance GHC.Show.Show StripeAPI.Types.Plan.PlanUsageType'
instance GHC.Classes.Eq StripeAPI.Types.Plan.Plan
instance GHC.Show.Show StripeAPI.Types.Plan.Plan
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Plan.Plan
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Plan.Plan
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Plan.PlanUsageType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Plan.PlanUsageType'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Plan.PlanTransformUsage'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Plan.PlanTransformUsage'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Plan.PlanTransformUsage'Round'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Plan.PlanTransformUsage'Round'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Plan.PlanTiersMode'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Plan.PlanTiersMode'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Plan.PlanProduct'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Plan.PlanProduct'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Plan.PlanInterval'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Plan.PlanInterval'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Plan.PlanBillingScheme'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Plan.PlanBillingScheme'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Plan.PlanAggregateUsage'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Plan.PlanAggregateUsage'
-- | Contains manually written helper code to ease the use of
-- NotificationEventData
module StripeAPI.Types.NotificationEventData.Extra
-- | Parse the NotificationEventData of an Event according to
-- the eventType
getEventData :: Event -> EventData
-- | All events supported by Stripe (see
-- https://stripe.com/docs/api/events/types)
data EventData
-- | Occurs whenever an account status or property has changed.
AccountUpdatedEvent :: Account -> EventData
-- | Occurs whenever a user authorizes an application. Sent to the related
-- application only.
AccountApplicationAuthorizedEvent :: Application -> EventData
-- | Occurs whenever a user deauthorizes an application. Sent to the
-- related application only.
AccountApplicationDeauthorizedEvent :: Application -> EventData
-- | Occurs whenever an external account is created.
AccountExternalAccountCreatedEvent :: ExternalAccount -> EventData
-- | Occurs whenever an external account is deleted.
AccountExternalAccountDeletedEvent :: ExternalAccount -> EventData
-- | Occurs whenever an external account is updated.
AccountExternalAccountUpdatedEvent :: ExternalAccount -> EventData
-- | Occurs whenever an application fee is created on a charge.
ApplicationFeeCreatedEvent :: ApplicationFee -> EventData
-- | Occurs whenever an application fee is refunded, whether from refunding
-- a charge or from refunding the application fee directly. This includes
-- partial refunds.
ApplicationFeeRefundedEvent :: ApplicationFee -> EventData
-- | Occurs whenever an application fee refund is updated.
ApplicationFeeRefundUpdatedEvent :: FeeRefund -> EventData
-- | Occurs whenever your Stripe balance has been updated (e.g., when a
-- charge is available to be paid out). By default, Stripe automatically
-- transfers funds in your balance to your bank account on a daily basis.
BalanceAvailableEvent :: Balance -> EventData
-- | Occurs whenever a capability has new requirements or a new status.
CapabilityUpdatedEvent :: Capability -> EventData
-- | Occurs whenever a previously uncaptured charge is captured.
ChargeCapturedEvent :: Charge -> EventData
-- | Occurs whenever an uncaptured charge expires.
ChargeExpiredEvent :: Charge -> EventData
-- | Occurs whenever a failed charge attempt occurs.
ChargeFailedEvent :: Charge -> EventData
-- | Occurs whenever a pending charge is created.
ChargePendingEvent :: Charge -> EventData
-- | Occurs whenever a charge is refunded, including partial refunds.
ChargeRefundedEvent :: Charge -> EventData
-- | Occurs whenever a new charge is created and is successful.
ChargeSucceededEvent :: Charge -> EventData
-- | Occurs whenever a charge description or metadata is updated.
ChargeUpdatedEvent :: Charge -> EventData
-- | Occurs when a dispute is closed and the dispute status changes to
-- lost, warningClosed, or won.
ChargeDisputeClosedEvent :: Dispute -> EventData
-- | Occurs whenever a customer disputes a charge with their bank.
ChargeDisputeCreatedEvent :: Dispute -> EventData
-- | Occurs when funds are reinstated to your account after a dispute is
-- closed. This includes partially refunded payments.
ChargeDisputeFundsReinstatedEvent :: Dispute -> EventData
-- | Occurs when funds are removed from your account due to a dispute.
ChargeDisputeFundsWithdrawnEvent :: Dispute -> EventData
-- | Occurs when the dispute is updated (usually with evidence).
ChargeDisputeUpdatedEvent :: Dispute -> EventData
-- | Occurs whenever a refund is updated, on selected payment methods.
ChargeRefundUpdatedEvent :: Refund -> EventData
-- | Occurs when a payment intent using a delayed payment method fails.
CheckoutSessionAsyncPaymentFailedEvent :: Checkout'session -> EventData
-- | Occurs when a payment intent using a delayed payment method finally
-- succeeds.
CheckoutSessionAsyncPaymentSucceededEvent :: Checkout'session -> EventData
-- | Occurs when a Checkout Session has been successfully completed.
CheckoutSessionCompletedEvent :: Checkout'session -> EventData
-- | Occurs whenever a coupon is created.
CouponCreatedEvent :: Coupon -> EventData
-- | Occurs whenever a coupon is deleted.
CouponDeletedEvent :: Coupon -> EventData
-- | Occurs whenever a coupon is updated.
CouponUpdatedEvent :: Coupon -> EventData
-- | Occurs whenever a credit note is created.
CreditNoteCreatedEvent :: CreditNote -> EventData
-- | Occurs whenever a credit note is updated.
CreditNoteUpdatedEvent :: CreditNote -> EventData
-- | Occurs whenever a credit note is voided.
CreditNoteVoidedEvent :: CreditNote -> EventData
-- | Occurs whenever a new customer is created.
CustomerCreatedEvent :: Customer -> EventData
-- | Occurs whenever a customer is deleted.
CustomerDeletedEvent :: Customer -> EventData
-- | Occurs whenever any property of a customer changes.
CustomerUpdatedEvent :: Customer -> EventData
-- | Occurs whenever a coupon is attached to a customer.
CustomerDiscountCreatedEvent :: Discount -> EventData
-- | Occurs whenever a coupon is removed from a customer.
CustomerDiscountDeletedEvent :: Discount -> EventData
-- | Occurs whenever a customer is switched from one coupon to another.
CustomerDiscountUpdatedEvent :: Discount -> EventData
-- | Occurs whenever a new source is created for a customer.
CustomerSourceCreatedEvent :: Source -> EventData
-- | Occurs whenever a source is removed from a customer.
CustomerSourceDeletedEvent :: Source -> EventData
-- | Occurs whenever a card or source will expire at the end of the month.
CustomerSourceExpiringEvent :: Source -> EventData
-- | Occurs whenever a source's details are changed.
CustomerSourceUpdatedEvent :: Source -> EventData
-- | Occurs whenever a customer is signed up for a new plan.
CustomerSubscriptionCreatedEvent :: Subscription -> EventData
-- | Occurs whenever a customer's subscription ends.
CustomerSubscriptionDeletedEvent :: Subscription -> EventData
-- | Occurs whenever a customer's subscription's pending update is applied,
-- and the subscription is updated.
CustomerSubscriptionPendingUpdateAppliedEvent :: Subscription -> EventData
-- | Occurs whenever a customer's subscription's pending update expires
-- before the related invoice is paid.
CustomerSubscriptionPendingUpdateExpiredEvent :: Subscription -> EventData
-- | Occurs three days before a subscription's trial period is scheduled to
-- end, or when a trial is ended immediately (using trialEnd=now).
CustomerSubscriptionTrialWillEndEvent :: Subscription -> EventData
-- | Occurs whenever a subscription changes (e.g., switching from one plan
-- to another, or changing the status from trial to active).
CustomerSubscriptionUpdatedEvent :: Subscription -> EventData
-- | Occurs whenever a tax ID is created for a customer.
CustomerTaxIdCreatedEvent :: TaxId -> EventData
-- | Occurs whenever a tax ID is deleted from a customer.
CustomerTaxIdDeletedEvent :: TaxId -> EventData
-- | Occurs whenever a customer's tax ID is updated.
CustomerTaxIdUpdatedEvent :: TaxId -> EventData
-- | Occurs whenever a new Stripe-generated file is available for your
-- account.
FileCreatedEvent :: File -> EventData
-- | Occurs whenever a new invoice is created. To learn how webhooks can be
-- used with this event, and how they can affect it, see Using Webhooks
-- with Subscriptions.
InvoiceCreatedEvent :: Invoice -> EventData
-- | Occurs whenever a draft invoice is deleted.
InvoiceDeletedEvent :: Invoice -> EventData
-- | Occurs whenever a draft invoice is finalized and updated to be an open
-- invoice.
InvoiceFinalizedEvent :: Invoice -> EventData
-- | Occurs whenever an invoice is marked uncollectible.
InvoiceMarkedUncollectibleEvent :: Invoice -> EventData
-- | Occurs whenever an invoice payment attempt succeeds or an invoice is
-- marked as paid out-of-band.
InvoicePaidEvent :: Invoice -> EventData
-- | Occurs whenever an invoice payment attempt requires further user
-- action to complete.
InvoicePaymentActionRequiredEvent :: Invoice -> EventData
-- | Occurs whenever an invoice payment attempt fails, due either to a
-- declined payment or to the lack of a stored payment method.
InvoicePaymentFailedEvent :: Invoice -> EventData
-- | Occurs whenever an invoice payment attempt succeeds.
InvoicePaymentSucceededEvent :: Invoice -> EventData
-- | Occurs whenever an invoice email is sent out.
InvoiceSentEvent :: Invoice -> EventData
-- | Occurs X number of days before a subscription is scheduled to create
-- an invoice that is automatically charged—where X is determined by your
-- subscriptions settings. Note: The received Invoice object will not
-- have an invoice ID.
InvoiceUpcomingEvent :: Invoice -> EventData
-- | Occurs whenever an invoice changes (e.g., the invoice amount).
InvoiceUpdatedEvent :: Invoice -> EventData
-- | Occurs whenever an invoice is voided.
InvoiceVoidedEvent :: Invoice -> EventData
-- | Occurs whenever an invoice item is created.
InvoiceitemCreatedEvent :: Invoiceitem -> EventData
-- | Occurs whenever an invoice item is deleted.
InvoiceitemDeletedEvent :: Invoiceitem -> EventData
-- | Occurs whenever an invoice item is updated.
InvoiceitemUpdatedEvent :: Invoiceitem -> EventData
-- | Occurs whenever an authorization is created.
IssuingAuthorizationCreatedEvent :: Issuing'authorization -> EventData
-- | Represents a synchronous request for authorization, see Using your
-- integration to handle authorization requests. You must create a
-- webhook endpoint which explicitly subscribes to this event type to
-- access it. Webhook endpoints which subscribe to all events will not
-- include this event type.
IssuingAuthorizationRequestEvent :: Issuing'authorization -> EventData
-- | Occurs whenever an authorization is updated.
IssuingAuthorizationUpdatedEvent :: Issuing'authorization -> EventData
-- | Occurs whenever a card is created.
IssuingCardCreatedEvent :: Issuing'card -> EventData
-- | Occurs whenever a card is updated.
IssuingCardUpdatedEvent :: Issuing'card -> EventData
-- | Occurs whenever a cardholder is created.
IssuingCardholderCreatedEvent :: Issuing'cardholder -> EventData
-- | Occurs whenever a cardholder is updated.
IssuingCardholderUpdatedEvent :: Issuing'cardholder -> EventData
-- | Occurs whenever a dispute is created.
IssuingDisputeCreatedEvent :: Issuing'dispute -> EventData
-- | Occurs whenever funds are reinstated to your account for an Issuing
-- dispute.
IssuingDisputeFundsReinstatedEvent :: Issuing'dispute -> EventData
-- | Occurs whenever a dispute is updated.
IssuingDisputeUpdatedEvent :: Issuing'dispute -> EventData
-- | Occurs whenever an issuing transaction is created.
IssuingTransactionCreatedEvent :: Issuing'transaction -> EventData
-- | Occurs whenever an issuing transaction is updated.
IssuingTransactionUpdatedEvent :: Issuing'transaction -> EventData
-- | Occurs whenever a Mandate is updated.
MandateUpdatedEvent :: Mandate -> EventData
-- | Occurs whenever an order is created.
OrderCreatedEvent :: Order -> EventData
-- | Occurs whenever an order payment attempt fails.
OrderPaymentFailedEvent :: Order -> EventData
-- | Occurs whenever an order payment attempt succeeds.
OrderPaymentSucceededEvent :: Order -> EventData
-- | Occurs whenever an order is updated.
OrderUpdatedEvent :: Order -> EventData
-- | Occurs whenever an order return is created.
OrderReturnCreatedEvent :: OrderReturn -> EventData
-- | Occurs when a PaymentIntent has funds to be captured. Check the
-- amountCapturable property on the PaymentIntent to determine the amount
-- that can be captured. You may capture the PaymentIntent with an
-- amountToCapture value up to the specified amount. Learn more about
-- capturing PaymentIntents.
PaymentIntentAmountCapturableUpdatedEvent :: PaymentIntent -> EventData
-- | Occurs when a PaymentIntent is canceled.
PaymentIntentCanceledEvent :: PaymentIntent -> EventData
-- | Occurs when a new PaymentIntent is created.
PaymentIntentCreatedEvent :: PaymentIntent -> EventData
-- | Occurs when a PaymentIntent has failed the attempt to create a payment
-- method or a payment.
PaymentIntentPaymentFailedEvent :: PaymentIntent -> EventData
-- | Occurs when a PaymentIntent has started processing.
PaymentIntentProcessingEvent :: PaymentIntent -> EventData
-- | Occurs when a PaymentIntent has successfully completed payment.
PaymentIntentSucceededEvent :: PaymentIntent -> EventData
-- | Occurs whenever a new payment method is attached to a customer.
PaymentMethodAttachedEvent :: PaymentMethod -> EventData
-- | Occurs whenever a card payment method's details are automatically
-- updated by the network.
PaymentMethodCardAutomaticallyUpdatedEvent :: PaymentMethod -> EventData
-- | Occurs whenever a payment method is detached from a customer.
PaymentMethodDetachedEvent :: PaymentMethod -> EventData
-- | Occurs whenever a payment method is updated via the PaymentMethod
-- update API.
PaymentMethodUpdatedEvent :: PaymentMethod -> EventData
-- | Occurs whenever a payout is canceled.
PayoutCanceledEvent :: Payout -> EventData
-- | Occurs whenever a payout is created.
PayoutCreatedEvent :: Payout -> EventData
-- | Occurs whenever a payout attempt fails.
PayoutFailedEvent :: Payout -> EventData
-- | Occurs whenever a payout is expected to be available in the
-- destination account. If the payout fails, a payout.failed notification
-- is also sent, at a later time.
PayoutPaidEvent :: Payout -> EventData
-- | Occurs whenever a payout is updated.
PayoutUpdatedEvent :: Payout -> EventData
-- | Occurs whenever a person associated with an account is created.
PersonCreatedEvent :: Person -> EventData
-- | Occurs whenever a person associated with an account is deleted.
PersonDeletedEvent :: Person -> EventData
-- | Occurs whenever a person associated with an account is updated.
PersonUpdatedEvent :: Person -> EventData
-- | Occurs whenever a plan is created.
PlanCreatedEvent :: Plan -> EventData
-- | Occurs whenever a plan is deleted.
PlanDeletedEvent :: Plan -> EventData
-- | Occurs whenever a plan is updated.
PlanUpdatedEvent :: Plan -> EventData
-- | Occurs whenever a price is created.
PriceCreatedEvent :: Object -> EventData
-- | Occurs whenever a price is deleted.
PriceDeletedEvent :: Object -> EventData
-- | Occurs whenever a price is updated.
PriceUpdatedEvent :: Object -> EventData
-- | Occurs whenever a product is created.
ProductCreatedEvent :: Product -> EventData
-- | Occurs whenever a product is deleted.
ProductDeletedEvent :: Product -> EventData
-- | Occurs whenever a product is updated.
ProductUpdatedEvent :: Product -> EventData
-- | Occurs whenever an early fraud warning is created.
RadarEarlyFraudWarningCreatedEvent :: Radar'earlyFraudWarning -> EventData
-- | Occurs whenever an early fraud warning is updated.
RadarEarlyFraudWarningUpdatedEvent :: Radar'earlyFraudWarning -> EventData
-- | Occurs whenever a recipient is created.
RecipientCreatedEvent :: Recipient -> EventData
-- | Occurs whenever a recipient is deleted.
RecipientDeletedEvent :: Recipient -> EventData
-- | Occurs whenever a recipient is updated.
RecipientUpdatedEvent :: Recipient -> EventData
-- | Occurs whenever a requested ReportRun failed to complete.
ReportingReportRunFailedEvent :: Reporting'reportRun -> EventData
-- | Occurs whenever a requested ReportRun completed succesfully.
ReportingReportRunSucceededEvent :: Reporting'reportRun -> EventData
-- | Occurs whenever a ReportType is updated (typically to indicate that a
-- new day's data has come available). You must create a webhook endpoint
-- which explicitly subscribes to this event type to access it. Webhook
-- endpoints which subscribe to all events will not include this event
-- type.
ReportingReportTypeUpdatedEvent :: Reporting'reportType -> EventData
-- | Occurs whenever a review is closed. The review's reason field
-- indicates why: approved, disputed, refunded, or refundedAsFraud.
ReviewClosedEvent :: Review -> EventData
-- | Occurs whenever a review is opened.
ReviewOpenedEvent :: Review -> EventData
-- | Occurs when a SetupIntent is canceled.
SetupIntentCanceledEvent :: SetupIntent -> EventData
-- | Occurs when a new SetupIntent is created.
SetupIntentCreatedEvent :: SetupIntent -> EventData
-- | Occurs when a SetupIntent has failed the attempt to setup a payment
-- method.
SetupIntentSetupFailedEvent :: SetupIntent -> EventData
-- | Occurs when an SetupIntent has successfully setup a payment method.
SetupIntentSucceededEvent :: SetupIntent -> EventData
-- | Occurs whenever a Sigma scheduled query run finishes.
SigmaScheduledQueryRunCreatedEvent :: ScheduledQueryRun -> EventData
-- | Occurs whenever a SKU is created.
SkuCreatedEvent :: Sku -> EventData
-- | Occurs whenever a SKU is deleted.
SkuDeletedEvent :: Sku -> EventData
-- | Occurs whenever a SKU is updated.
SkuUpdatedEvent :: Sku -> EventData
-- | Occurs whenever a source is canceled.
SourceCanceledEvent :: Source -> EventData
-- | Occurs whenever a source transitions to chargeable.
SourceChargeableEvent :: Source -> EventData
-- | Occurs whenever a source fails.
SourceFailedEvent :: Source -> EventData
-- | Occurs whenever a source mandate notification method is set to manual.
SourceMandateNotificationEvent :: Source -> EventData
-- | Occurs whenever the refund attributes are required on a receiver
-- source to process a refund or a mispayment.
SourceRefundAttributesRequiredEvent :: Source -> EventData
-- | Occurs whenever a source transaction is created.
SourceTransactionCreatedEvent :: SourceTransaction -> EventData
-- | Occurs whenever a source transaction is updated.
SourceTransactionUpdatedEvent :: SourceTransaction -> EventData
-- | Occurs whenever a subscription schedule is canceled due to the
-- underlying subscription being canceled because of delinquency.
SubscriptionScheduleAbortedEvent :: SubscriptionSchedule -> EventData
-- | Occurs whenever a subscription schedule is canceled.
SubscriptionScheduleCanceledEvent :: SubscriptionSchedule -> EventData
-- | Occurs whenever a new subscription schedule is completed.
SubscriptionScheduleCompletedEvent :: SubscriptionSchedule -> EventData
-- | Occurs whenever a new subscription schedule is created.
SubscriptionScheduleCreatedEvent :: SubscriptionSchedule -> EventData
-- | Occurs 7 days before a subscription schedule will expire.
SubscriptionScheduleExpiringEvent :: SubscriptionSchedule -> EventData
-- | Occurs whenever a new subscription schedule is released.
SubscriptionScheduleReleasedEvent :: SubscriptionSchedule -> EventData
-- | Occurs whenever a subscription schedule is updated.
SubscriptionScheduleUpdatedEvent :: SubscriptionSchedule -> EventData
-- | Occurs whenever a new tax rate is created.
TaxRateCreatedEvent :: TaxRate -> EventData
-- | Occurs whenever a tax rate is updated.
TaxRateUpdatedEvent :: TaxRate -> EventData
-- | Occurs whenever a top-up is canceled.
TopupCanceledEvent :: Topup -> EventData
-- | Occurs whenever a top-up is created.
TopupCreatedEvent :: Topup -> EventData
-- | Occurs whenever a top-up fails.
TopupFailedEvent :: Topup -> EventData
-- | Occurs whenever a top-up is reversed.
TopupReversedEvent :: Topup -> EventData
-- | Occurs whenever a top-up succeeds.
TopupSucceededEvent :: Topup -> EventData
-- | Occurs whenever a transfer is created.
TransferCreatedEvent :: Transfer -> EventData
-- | Occurs whenever a transfer failed.
TransferFailedEvent :: Transfer -> EventData
-- | Occurs after a transfer is paid. For Instant Payouts, the event will
-- typically be sent within 30 minutes.
TransferPaidEvent :: Transfer -> EventData
-- | Occurs whenever a transfer is reversed, including partial reversals.
TransferReversedEvent :: Transfer -> EventData
-- | Occurs whenever a transfer's description or metadata is updated.
TransferUpdatedEvent :: Transfer -> EventData
UnknownEvent :: Text -> EventData
-- | Contains the types generated from the schema TransformUsage
module StripeAPI.Types.TransformUsage
-- | Defines the object schema located at
-- components.schemas.transform_usage in the specification.
data TransformUsage
TransformUsage :: Int -> TransformUsageRound' -> TransformUsage
-- | divide_by: Divide usage by this number.
[transformUsageDivideBy] :: TransformUsage -> Int
-- | round: After division, either round the result `up` or `down`.
[transformUsageRound] :: TransformUsage -> TransformUsageRound'
-- | Create a new TransformUsage with all required fields.
mkTransformUsage :: Int -> TransformUsageRound' -> TransformUsage
-- | Defines the enum schema located at
-- components.schemas.transform_usage.properties.round in the
-- specification.
--
-- After division, either round the result `up` or `down`.
data TransformUsageRound'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
TransformUsageRound'Other :: Value -> TransformUsageRound'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
TransformUsageRound'Typed :: Text -> TransformUsageRound'
-- | Represents the JSON value "down"
TransformUsageRound'EnumDown :: TransformUsageRound'
-- | Represents the JSON value "up"
TransformUsageRound'EnumUp :: TransformUsageRound'
instance GHC.Classes.Eq StripeAPI.Types.TransformUsage.TransformUsageRound'
instance GHC.Show.Show StripeAPI.Types.TransformUsage.TransformUsageRound'
instance GHC.Classes.Eq StripeAPI.Types.TransformUsage.TransformUsage
instance GHC.Show.Show StripeAPI.Types.TransformUsage.TransformUsage
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.TransformUsage.TransformUsage
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.TransformUsage.TransformUsage
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.TransformUsage.TransformUsageRound'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.TransformUsage.TransformUsageRound'
-- | Contains the types generated from the schema UsageRecord
module StripeAPI.Types.UsageRecord
-- | Defines the object schema located at
-- components.schemas.usage_record in the specification.
--
-- Usage records allow you to report customer usage and metrics to Stripe
-- for metered billing of subscription prices.
--
-- Related guide: Metered Billing.
data UsageRecord
UsageRecord :: Text -> Bool -> Int -> Text -> Int -> UsageRecord
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[usageRecordId] :: UsageRecord -> Text
-- | livemode: Has the value `true` if the object exists in live mode or
-- the value `false` if the object exists in test mode.
[usageRecordLivemode] :: UsageRecord -> Bool
-- | quantity: The usage quantity for the specified date.
[usageRecordQuantity] :: UsageRecord -> Int
-- | subscription_item: The ID of the subscription item this usage record
-- contains data for.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[usageRecordSubscriptionItem] :: UsageRecord -> Text
-- | timestamp: The timestamp when this usage occurred.
[usageRecordTimestamp] :: UsageRecord -> Int
-- | Create a new UsageRecord with all required fields.
mkUsageRecord :: Text -> Bool -> Int -> Text -> Int -> UsageRecord
instance GHC.Classes.Eq StripeAPI.Types.UsageRecord.UsageRecord
instance GHC.Show.Show StripeAPI.Types.UsageRecord.UsageRecord
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.UsageRecord.UsageRecord
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.UsageRecord.UsageRecord
-- | Contains the types generated from the schema UsageRecordSummary
module StripeAPI.Types.UsageRecordSummary
-- | Defines the object schema located at
-- components.schemas.usage_record_summary in the specification.
data UsageRecordSummary
UsageRecordSummary :: Text -> Maybe Text -> Bool -> Period -> Text -> Int -> UsageRecordSummary
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[usageRecordSummaryId] :: UsageRecordSummary -> Text
-- | invoice: The invoice in which this usage period has been billed for.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[usageRecordSummaryInvoice] :: UsageRecordSummary -> Maybe Text
-- | livemode: Has the value `true` if the object exists in live mode or
-- the value `false` if the object exists in test mode.
[usageRecordSummaryLivemode] :: UsageRecordSummary -> Bool
-- | period:
[usageRecordSummaryPeriod] :: UsageRecordSummary -> Period
-- | subscription_item: The ID of the subscription item this summary is
-- describing.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[usageRecordSummarySubscriptionItem] :: UsageRecordSummary -> Text
-- | total_usage: The total usage within this usage period.
[usageRecordSummaryTotalUsage] :: UsageRecordSummary -> Int
-- | Create a new UsageRecordSummary with all required fields.
mkUsageRecordSummary :: Text -> Bool -> Period -> Text -> Int -> UsageRecordSummary
instance GHC.Classes.Eq StripeAPI.Types.UsageRecordSummary.UsageRecordSummary
instance GHC.Show.Show StripeAPI.Types.UsageRecordSummary.UsageRecordSummary
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.UsageRecordSummary.UsageRecordSummary
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.UsageRecordSummary.UsageRecordSummary
-- | Contains the types generated from the schema
-- Identity_VerificationSession
module StripeAPI.Types.Identity_VerificationSession
-- | Defines the object schema located at
-- components.schemas.identity.verification_session in the
-- specification.
--
-- A VerificationSession guides you through the process of collecting and
-- verifying the identities of your users. It contains details about the
-- type of verification, such as what verification check to
-- perform. Only create one VerificationSession for each verification in
-- your system.
--
-- A VerificationSession transitions through multiple statuses
-- throughout its lifetime as it progresses through the verification
-- flow. The VerificationSession contains the user’s verified data after
-- verification checks are complete.
--
-- Related guide: The Verification Sessions API
data Identity'verificationSession
Identity'verificationSession :: Maybe Text -> Int -> Text -> Maybe Identity'verificationSessionLastError' -> Maybe Identity'verificationSessionLastVerificationReport'Variants -> Bool -> Object -> GelatoVerificationSessionOptions -> Maybe Identity'verificationSessionRedaction' -> Identity'verificationSessionStatus' -> Identity'verificationSessionType' -> Maybe Text -> Maybe Identity'verificationSessionVerifiedOutputs' -> Identity'verificationSession
-- | client_secret: The short-lived client secret used by Stripe.js to
-- show a verification modal inside your app. This client secret
-- expires after 24 hours and can only be used once. Don’t store it, log
-- it, embed it in a URL, or expose it to anyone other than the user.
-- Make sure that you have TLS enabled on any page that includes the
-- client secret. Refer to our docs on passing the client secret to
-- the frontend to learn more.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[identity'verificationSessionClientSecret] :: Identity'verificationSession -> Maybe Text
-- | created: Time at which the object was created. Measured in seconds
-- since the Unix epoch.
[identity'verificationSessionCreated] :: Identity'verificationSession -> Int
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[identity'verificationSessionId] :: Identity'verificationSession -> Text
-- | last_error: If present, this property tells you the last error
-- encountered when processing the verification.
[identity'verificationSessionLastError] :: Identity'verificationSession -> Maybe Identity'verificationSessionLastError'
-- | last_verification_report: ID of the most recent VerificationReport.
-- Learn more about accessing detailed verification results.
[identity'verificationSessionLastVerificationReport] :: Identity'verificationSession -> Maybe Identity'verificationSessionLastVerificationReport'Variants
-- | livemode: Has the value `true` if the object exists in live mode or
-- the value `false` if the object exists in test mode.
[identity'verificationSessionLivemode] :: Identity'verificationSession -> Bool
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format.
[identity'verificationSessionMetadata] :: Identity'verificationSession -> Object
-- | options:
[identity'verificationSessionOptions] :: Identity'verificationSession -> GelatoVerificationSessionOptions
-- | redaction: Redaction status of this VerificationSession. If the
-- VerificationSession is not redacted, this field will be null.
[identity'verificationSessionRedaction] :: Identity'verificationSession -> Maybe Identity'verificationSessionRedaction'
-- | status: Status of this VerificationSession. Learn more about the
-- lifecycle of sessions.
[identity'verificationSessionStatus] :: Identity'verificationSession -> Identity'verificationSessionStatus'
-- | type: The type of verification check to be performed.
[identity'verificationSessionType] :: Identity'verificationSession -> Identity'verificationSessionType'
-- | url: The short-lived URL that you use to redirect a user to Stripe to
-- submit their identity information. This URL expires after 24 hours and
-- can only be used once. Don’t store it, log it, send it in emails or
-- expose it to anyone other than the user. Refer to our docs on
-- verifying identity documents to learn how to redirect users to
-- Stripe.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[identity'verificationSessionUrl] :: Identity'verificationSession -> Maybe Text
-- | verified_outputs: The user’s verified data.
[identity'verificationSessionVerifiedOutputs] :: Identity'verificationSession -> Maybe Identity'verificationSessionVerifiedOutputs'
-- | Create a new Identity'verificationSession with all required
-- fields.
mkIdentity'verificationSession :: Int -> Text -> Bool -> Object -> GelatoVerificationSessionOptions -> Identity'verificationSessionStatus' -> Identity'verificationSessionType' -> Identity'verificationSession
-- | Defines the object schema located at
-- components.schemas.identity.verification_session.properties.last_error.anyOf
-- in the specification.
--
-- If present, this property tells you the last error encountered when
-- processing the verification.
data Identity'verificationSessionLastError'
Identity'verificationSessionLastError' :: Maybe Identity'verificationSessionLastError'Code' -> Maybe Text -> Identity'verificationSessionLastError'
-- | code: A short machine-readable string giving the reason for the
-- verification or user-session failure.
[identity'verificationSessionLastError'Code] :: Identity'verificationSessionLastError' -> Maybe Identity'verificationSessionLastError'Code'
-- | reason: A message that explains the reason for verification or
-- user-session failure.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[identity'verificationSessionLastError'Reason] :: Identity'verificationSessionLastError' -> Maybe Text
-- | Create a new Identity'verificationSessionLastError' with all
-- required fields.
mkIdentity'verificationSessionLastError' :: Identity'verificationSessionLastError'
-- | Defines the enum schema located at
-- components.schemas.identity.verification_session.properties.last_error.anyOf.properties.code
-- in the specification.
--
-- A short machine-readable string giving the reason for the verification
-- or user-session failure.
data Identity'verificationSessionLastError'Code'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
Identity'verificationSessionLastError'Code'Other :: Value -> Identity'verificationSessionLastError'Code'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
Identity'verificationSessionLastError'Code'Typed :: Text -> Identity'verificationSessionLastError'Code'
-- | Represents the JSON value "abandoned"
Identity'verificationSessionLastError'Code'EnumAbandoned :: Identity'verificationSessionLastError'Code'
-- | Represents the JSON value "consent_declined"
Identity'verificationSessionLastError'Code'EnumConsentDeclined :: Identity'verificationSessionLastError'Code'
-- | Represents the JSON value "country_not_supported"
Identity'verificationSessionLastError'Code'EnumCountryNotSupported :: Identity'verificationSessionLastError'Code'
-- | Represents the JSON value "device_not_supported"
Identity'verificationSessionLastError'Code'EnumDeviceNotSupported :: Identity'verificationSessionLastError'Code'
-- | Represents the JSON value "document_expired"
Identity'verificationSessionLastError'Code'EnumDocumentExpired :: Identity'verificationSessionLastError'Code'
-- | Represents the JSON value "document_type_not_supported"
Identity'verificationSessionLastError'Code'EnumDocumentTypeNotSupported :: Identity'verificationSessionLastError'Code'
-- | Represents the JSON value "document_unverified_other"
Identity'verificationSessionLastError'Code'EnumDocumentUnverifiedOther :: Identity'verificationSessionLastError'Code'
-- | Represents the JSON value
-- "id_number_insufficient_document_data"
Identity'verificationSessionLastError'Code'EnumIdNumberInsufficientDocumentData :: Identity'verificationSessionLastError'Code'
-- | Represents the JSON value "id_number_mismatch"
Identity'verificationSessionLastError'Code'EnumIdNumberMismatch :: Identity'verificationSessionLastError'Code'
-- | Represents the JSON value "id_number_unverified_other"
Identity'verificationSessionLastError'Code'EnumIdNumberUnverifiedOther :: Identity'verificationSessionLastError'Code'
-- | Represents the JSON value "selfie_document_missing_photo"
Identity'verificationSessionLastError'Code'EnumSelfieDocumentMissingPhoto :: Identity'verificationSessionLastError'Code'
-- | Represents the JSON value "selfie_face_mismatch"
Identity'verificationSessionLastError'Code'EnumSelfieFaceMismatch :: Identity'verificationSessionLastError'Code'
-- | Represents the JSON value "selfie_manipulated"
Identity'verificationSessionLastError'Code'EnumSelfieManipulated :: Identity'verificationSessionLastError'Code'
-- | Represents the JSON value "selfie_unverified_other"
Identity'verificationSessionLastError'Code'EnumSelfieUnverifiedOther :: Identity'verificationSessionLastError'Code'
-- | Represents the JSON value "under_supported_age"
Identity'verificationSessionLastError'Code'EnumUnderSupportedAge :: Identity'verificationSessionLastError'Code'
-- | Defines the oneOf schema located at
-- components.schemas.identity.verification_session.properties.last_verification_report.anyOf
-- in the specification.
--
-- ID of the most recent VerificationReport. Learn more about
-- accessing detailed verification results.
data Identity'verificationSessionLastVerificationReport'Variants
Identity'verificationSessionLastVerificationReport'Text :: Text -> Identity'verificationSessionLastVerificationReport'Variants
Identity'verificationSessionLastVerificationReport'Identity'verificationReport :: Identity'verificationReport -> Identity'verificationSessionLastVerificationReport'Variants
-- | Defines the object schema located at
-- components.schemas.identity.verification_session.properties.redaction.anyOf
-- in the specification.
--
-- Redaction status of this VerificationSession. If the
-- VerificationSession is not redacted, this field will be null.
data Identity'verificationSessionRedaction'
Identity'verificationSessionRedaction' :: Maybe Identity'verificationSessionRedaction'Status' -> Identity'verificationSessionRedaction'
-- | status: Indicates whether this object and its related objects have
-- been redacted or not.
[identity'verificationSessionRedaction'Status] :: Identity'verificationSessionRedaction' -> Maybe Identity'verificationSessionRedaction'Status'
-- | Create a new Identity'verificationSessionRedaction' with all
-- required fields.
mkIdentity'verificationSessionRedaction' :: Identity'verificationSessionRedaction'
-- | Defines the enum schema located at
-- components.schemas.identity.verification_session.properties.redaction.anyOf.properties.status
-- in the specification.
--
-- Indicates whether this object and its related objects have been
-- redacted or not.
data Identity'verificationSessionRedaction'Status'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
Identity'verificationSessionRedaction'Status'Other :: Value -> Identity'verificationSessionRedaction'Status'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
Identity'verificationSessionRedaction'Status'Typed :: Text -> Identity'verificationSessionRedaction'Status'
-- | Represents the JSON value "processing"
Identity'verificationSessionRedaction'Status'EnumProcessing :: Identity'verificationSessionRedaction'Status'
-- | Represents the JSON value "redacted"
Identity'verificationSessionRedaction'Status'EnumRedacted :: Identity'verificationSessionRedaction'Status'
-- | Defines the enum schema located at
-- components.schemas.identity.verification_session.properties.status
-- in the specification.
--
-- Status of this VerificationSession. Learn more about the lifecycle
-- of sessions.
data Identity'verificationSessionStatus'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
Identity'verificationSessionStatus'Other :: Value -> Identity'verificationSessionStatus'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
Identity'verificationSessionStatus'Typed :: Text -> Identity'verificationSessionStatus'
-- | Represents the JSON value "canceled"
Identity'verificationSessionStatus'EnumCanceled :: Identity'verificationSessionStatus'
-- | Represents the JSON value "processing"
Identity'verificationSessionStatus'EnumProcessing :: Identity'verificationSessionStatus'
-- | Represents the JSON value "requires_input"
Identity'verificationSessionStatus'EnumRequiresInput :: Identity'verificationSessionStatus'
-- | Represents the JSON value "verified"
Identity'verificationSessionStatus'EnumVerified :: Identity'verificationSessionStatus'
-- | Defines the enum schema located at
-- components.schemas.identity.verification_session.properties.type
-- in the specification.
--
-- The type of verification check to be performed.
data Identity'verificationSessionType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
Identity'verificationSessionType'Other :: Value -> Identity'verificationSessionType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
Identity'verificationSessionType'Typed :: Text -> Identity'verificationSessionType'
-- | Represents the JSON value "document"
Identity'verificationSessionType'EnumDocument :: Identity'verificationSessionType'
-- | Represents the JSON value "id_number"
Identity'verificationSessionType'EnumIdNumber :: Identity'verificationSessionType'
-- | Defines the object schema located at
-- components.schemas.identity.verification_session.properties.verified_outputs.anyOf
-- in the specification.
--
-- The user’s verified data.
data Identity'verificationSessionVerifiedOutputs'
Identity'verificationSessionVerifiedOutputs' :: Maybe Identity'verificationSessionVerifiedOutputs'Address' -> Maybe Identity'verificationSessionVerifiedOutputs'Dob' -> Maybe Text -> Maybe Text -> Maybe Identity'verificationSessionVerifiedOutputs'IdNumberType' -> Maybe Text -> Identity'verificationSessionVerifiedOutputs'
-- | address: The user's verified address.
[identity'verificationSessionVerifiedOutputs'Address] :: Identity'verificationSessionVerifiedOutputs' -> Maybe Identity'verificationSessionVerifiedOutputs'Address'
-- | dob: The user’s verified date of birth.
[identity'verificationSessionVerifiedOutputs'Dob] :: Identity'verificationSessionVerifiedOutputs' -> Maybe Identity'verificationSessionVerifiedOutputs'Dob'
-- | first_name: The user's verified first name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[identity'verificationSessionVerifiedOutputs'FirstName] :: Identity'verificationSessionVerifiedOutputs' -> Maybe Text
-- | id_number: The user's verified id number.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[identity'verificationSessionVerifiedOutputs'IdNumber] :: Identity'verificationSessionVerifiedOutputs' -> Maybe Text
-- | id_number_type: The user's verified id number type.
[identity'verificationSessionVerifiedOutputs'IdNumberType] :: Identity'verificationSessionVerifiedOutputs' -> Maybe Identity'verificationSessionVerifiedOutputs'IdNumberType'
-- | last_name: The user's verified last name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[identity'verificationSessionVerifiedOutputs'LastName] :: Identity'verificationSessionVerifiedOutputs' -> Maybe Text
-- | Create a new Identity'verificationSessionVerifiedOutputs' with
-- all required fields.
mkIdentity'verificationSessionVerifiedOutputs' :: Identity'verificationSessionVerifiedOutputs'
-- | Defines the object schema located at
-- components.schemas.identity.verification_session.properties.verified_outputs.anyOf.properties.address.anyOf
-- in the specification.
--
-- The user\'s verified address.
data Identity'verificationSessionVerifiedOutputs'Address'
Identity'verificationSessionVerifiedOutputs'Address' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Identity'verificationSessionVerifiedOutputs'Address'
-- | city: City, district, suburb, town, or village.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[identity'verificationSessionVerifiedOutputs'Address'City] :: Identity'verificationSessionVerifiedOutputs'Address' -> Maybe Text
-- | country: Two-letter country code ([ISO 3166-1
-- alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[identity'verificationSessionVerifiedOutputs'Address'Country] :: Identity'verificationSessionVerifiedOutputs'Address' -> Maybe Text
-- | line1: Address line 1 (e.g., street, PO Box, or company name).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[identity'verificationSessionVerifiedOutputs'Address'Line1] :: Identity'verificationSessionVerifiedOutputs'Address' -> Maybe Text
-- | line2: Address line 2 (e.g., apartment, suite, unit, or building).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[identity'verificationSessionVerifiedOutputs'Address'Line2] :: Identity'verificationSessionVerifiedOutputs'Address' -> Maybe Text
-- | postal_code: ZIP or postal code.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[identity'verificationSessionVerifiedOutputs'Address'PostalCode] :: Identity'verificationSessionVerifiedOutputs'Address' -> Maybe Text
-- | state: State, county, province, or region.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[identity'verificationSessionVerifiedOutputs'Address'State] :: Identity'verificationSessionVerifiedOutputs'Address' -> Maybe Text
-- | Create a new
-- Identity'verificationSessionVerifiedOutputs'Address' with all
-- required fields.
mkIdentity'verificationSessionVerifiedOutputs'Address' :: Identity'verificationSessionVerifiedOutputs'Address'
-- | Defines the object schema located at
-- components.schemas.identity.verification_session.properties.verified_outputs.anyOf.properties.dob.anyOf
-- in the specification.
--
-- The user’s verified date of birth.
data Identity'verificationSessionVerifiedOutputs'Dob'
Identity'verificationSessionVerifiedOutputs'Dob' :: Maybe Int -> Maybe Int -> Maybe Int -> Identity'verificationSessionVerifiedOutputs'Dob'
-- | day: Numerical day between 1 and 31.
[identity'verificationSessionVerifiedOutputs'Dob'Day] :: Identity'verificationSessionVerifiedOutputs'Dob' -> Maybe Int
-- | month: Numerical month between 1 and 12.
[identity'verificationSessionVerifiedOutputs'Dob'Month] :: Identity'verificationSessionVerifiedOutputs'Dob' -> Maybe Int
-- | year: The four-digit year.
[identity'verificationSessionVerifiedOutputs'Dob'Year] :: Identity'verificationSessionVerifiedOutputs'Dob' -> Maybe Int
-- | Create a new Identity'verificationSessionVerifiedOutputs'Dob'
-- with all required fields.
mkIdentity'verificationSessionVerifiedOutputs'Dob' :: Identity'verificationSessionVerifiedOutputs'Dob'
-- | Defines the enum schema located at
-- components.schemas.identity.verification_session.properties.verified_outputs.anyOf.properties.id_number_type
-- in the specification.
--
-- The user's verified id number type.
data Identity'verificationSessionVerifiedOutputs'IdNumberType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
Identity'verificationSessionVerifiedOutputs'IdNumberType'Other :: Value -> Identity'verificationSessionVerifiedOutputs'IdNumberType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
Identity'verificationSessionVerifiedOutputs'IdNumberType'Typed :: Text -> Identity'verificationSessionVerifiedOutputs'IdNumberType'
-- | Represents the JSON value "br_cpf"
Identity'verificationSessionVerifiedOutputs'IdNumberType'EnumBrCpf :: Identity'verificationSessionVerifiedOutputs'IdNumberType'
-- | Represents the JSON value "sg_nric"
Identity'verificationSessionVerifiedOutputs'IdNumberType'EnumSgNric :: Identity'verificationSessionVerifiedOutputs'IdNumberType'
-- | Represents the JSON value "us_ssn"
Identity'verificationSessionVerifiedOutputs'IdNumberType'EnumUsSsn :: Identity'verificationSessionVerifiedOutputs'IdNumberType'
instance GHC.Classes.Eq StripeAPI.Types.Identity_VerificationSession.Identity'verificationSessionLastError'Code'
instance GHC.Show.Show StripeAPI.Types.Identity_VerificationSession.Identity'verificationSessionLastError'Code'
instance GHC.Classes.Eq StripeAPI.Types.Identity_VerificationSession.Identity'verificationSessionLastError'
instance GHC.Show.Show StripeAPI.Types.Identity_VerificationSession.Identity'verificationSessionLastError'
instance GHC.Classes.Eq StripeAPI.Types.Identity_VerificationSession.Identity'verificationSessionLastVerificationReport'Variants
instance GHC.Show.Show StripeAPI.Types.Identity_VerificationSession.Identity'verificationSessionLastVerificationReport'Variants
instance GHC.Classes.Eq StripeAPI.Types.Identity_VerificationSession.Identity'verificationSessionRedaction'Status'
instance GHC.Show.Show StripeAPI.Types.Identity_VerificationSession.Identity'verificationSessionRedaction'Status'
instance GHC.Classes.Eq StripeAPI.Types.Identity_VerificationSession.Identity'verificationSessionRedaction'
instance GHC.Show.Show StripeAPI.Types.Identity_VerificationSession.Identity'verificationSessionRedaction'
instance GHC.Classes.Eq StripeAPI.Types.Identity_VerificationSession.Identity'verificationSessionStatus'
instance GHC.Show.Show StripeAPI.Types.Identity_VerificationSession.Identity'verificationSessionStatus'
instance GHC.Classes.Eq StripeAPI.Types.Identity_VerificationSession.Identity'verificationSessionType'
instance GHC.Show.Show StripeAPI.Types.Identity_VerificationSession.Identity'verificationSessionType'
instance GHC.Classes.Eq StripeAPI.Types.Identity_VerificationSession.Identity'verificationSessionVerifiedOutputs'Address'
instance GHC.Show.Show StripeAPI.Types.Identity_VerificationSession.Identity'verificationSessionVerifiedOutputs'Address'
instance GHC.Classes.Eq StripeAPI.Types.Identity_VerificationSession.Identity'verificationSessionVerifiedOutputs'Dob'
instance GHC.Show.Show StripeAPI.Types.Identity_VerificationSession.Identity'verificationSessionVerifiedOutputs'Dob'
instance GHC.Classes.Eq StripeAPI.Types.Identity_VerificationSession.Identity'verificationSessionVerifiedOutputs'IdNumberType'
instance GHC.Show.Show StripeAPI.Types.Identity_VerificationSession.Identity'verificationSessionVerifiedOutputs'IdNumberType'
instance GHC.Classes.Eq StripeAPI.Types.Identity_VerificationSession.Identity'verificationSessionVerifiedOutputs'
instance GHC.Show.Show StripeAPI.Types.Identity_VerificationSession.Identity'verificationSessionVerifiedOutputs'
instance GHC.Classes.Eq StripeAPI.Types.Identity_VerificationSession.Identity'verificationSession
instance GHC.Show.Show StripeAPI.Types.Identity_VerificationSession.Identity'verificationSession
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Identity_VerificationSession.Identity'verificationSession
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Identity_VerificationSession.Identity'verificationSession
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Identity_VerificationSession.Identity'verificationSessionVerifiedOutputs'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Identity_VerificationSession.Identity'verificationSessionVerifiedOutputs'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Identity_VerificationSession.Identity'verificationSessionVerifiedOutputs'IdNumberType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Identity_VerificationSession.Identity'verificationSessionVerifiedOutputs'IdNumberType'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Identity_VerificationSession.Identity'verificationSessionVerifiedOutputs'Dob'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Identity_VerificationSession.Identity'verificationSessionVerifiedOutputs'Dob'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Identity_VerificationSession.Identity'verificationSessionVerifiedOutputs'Address'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Identity_VerificationSession.Identity'verificationSessionVerifiedOutputs'Address'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Identity_VerificationSession.Identity'verificationSessionType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Identity_VerificationSession.Identity'verificationSessionType'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Identity_VerificationSession.Identity'verificationSessionStatus'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Identity_VerificationSession.Identity'verificationSessionStatus'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Identity_VerificationSession.Identity'verificationSessionRedaction'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Identity_VerificationSession.Identity'verificationSessionRedaction'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Identity_VerificationSession.Identity'verificationSessionRedaction'Status'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Identity_VerificationSession.Identity'verificationSessionRedaction'Status'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Identity_VerificationSession.Identity'verificationSessionLastVerificationReport'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Identity_VerificationSession.Identity'verificationSessionLastVerificationReport'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Identity_VerificationSession.Identity'verificationSessionLastError'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Identity_VerificationSession.Identity'verificationSessionLastError'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.Identity_VerificationSession.Identity'verificationSessionLastError'Code'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.Identity_VerificationSession.Identity'verificationSessionLastError'Code'
-- | Contains the types generated from the schema
-- VerificationSessionRedaction
module StripeAPI.Types.VerificationSessionRedaction
-- | Defines the object schema located at
-- components.schemas.verification_session_redaction in the
-- specification.
data VerificationSessionRedaction
VerificationSessionRedaction :: VerificationSessionRedactionStatus' -> VerificationSessionRedaction
-- | status: Indicates whether this object and its related objects have
-- been redacted or not.
[verificationSessionRedactionStatus] :: VerificationSessionRedaction -> VerificationSessionRedactionStatus'
-- | Create a new VerificationSessionRedaction with all required
-- fields.
mkVerificationSessionRedaction :: VerificationSessionRedactionStatus' -> VerificationSessionRedaction
-- | Defines the enum schema located at
-- components.schemas.verification_session_redaction.properties.status
-- in the specification.
--
-- Indicates whether this object and its related objects have been
-- redacted or not.
data VerificationSessionRedactionStatus'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
VerificationSessionRedactionStatus'Other :: Value -> VerificationSessionRedactionStatus'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
VerificationSessionRedactionStatus'Typed :: Text -> VerificationSessionRedactionStatus'
-- | Represents the JSON value "processing"
VerificationSessionRedactionStatus'EnumProcessing :: VerificationSessionRedactionStatus'
-- | Represents the JSON value "redacted"
VerificationSessionRedactionStatus'EnumRedacted :: VerificationSessionRedactionStatus'
instance GHC.Classes.Eq StripeAPI.Types.VerificationSessionRedaction.VerificationSessionRedactionStatus'
instance GHC.Show.Show StripeAPI.Types.VerificationSessionRedaction.VerificationSessionRedactionStatus'
instance GHC.Classes.Eq StripeAPI.Types.VerificationSessionRedaction.VerificationSessionRedaction
instance GHC.Show.Show StripeAPI.Types.VerificationSessionRedaction.VerificationSessionRedaction
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.VerificationSessionRedaction.VerificationSessionRedaction
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.VerificationSessionRedaction.VerificationSessionRedaction
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.VerificationSessionRedaction.VerificationSessionRedactionStatus'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.VerificationSessionRedaction.VerificationSessionRedactionStatus'
-- | Contains the types generated from the schema WebhookEndpoint
module StripeAPI.Types.WebhookEndpoint
-- | Defines the object schema located at
-- components.schemas.webhook_endpoint in the specification.
--
-- You can configure webhook endpoints via the API to be notified
-- about events that happen in your Stripe account or connected accounts.
--
-- Most users configure webhooks from the dashboard, which
-- provides a user interface for registering and testing your webhook
-- endpoints.
--
-- Related guide: Setting up Webhooks.
data WebhookEndpoint
WebhookEndpoint :: Maybe Text -> Maybe Text -> Int -> Maybe Text -> [Text] -> Text -> Bool -> Object -> Maybe Text -> Text -> Text -> WebhookEndpoint
-- | api_version: The API version events are rendered as for this webhook
-- endpoint.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[webhookEndpointApiVersion] :: WebhookEndpoint -> Maybe Text
-- | application: The ID of the associated Connect application.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[webhookEndpointApplication] :: WebhookEndpoint -> Maybe Text
-- | created: Time at which the object was created. Measured in seconds
-- since the Unix epoch.
[webhookEndpointCreated] :: WebhookEndpoint -> Int
-- | description: An optional description of what the webhook is used for.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[webhookEndpointDescription] :: WebhookEndpoint -> Maybe Text
-- | enabled_events: The list of events to enable for this endpoint.
-- `['*']` indicates that all events are enabled, except those that
-- require explicit selection.
[webhookEndpointEnabledEvents] :: WebhookEndpoint -> [Text]
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[webhookEndpointId] :: WebhookEndpoint -> Text
-- | livemode: Has the value `true` if the object exists in live mode or
-- the value `false` if the object exists in test mode.
[webhookEndpointLivemode] :: WebhookEndpoint -> Bool
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format.
[webhookEndpointMetadata] :: WebhookEndpoint -> Object
-- | secret: The endpoint's secret, used to generate webhook
-- signatures. Only returned at creation.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[webhookEndpointSecret] :: WebhookEndpoint -> Maybe Text
-- | status: The status of the webhook. It can be `enabled` or `disabled`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[webhookEndpointStatus] :: WebhookEndpoint -> Text
-- | url: The URL of the webhook endpoint.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[webhookEndpointUrl] :: WebhookEndpoint -> Text
-- | Create a new WebhookEndpoint with all required fields.
mkWebhookEndpoint :: Int -> [Text] -> Text -> Bool -> Object -> Text -> Text -> WebhookEndpoint
instance GHC.Classes.Eq StripeAPI.Types.WebhookEndpoint.WebhookEndpoint
instance GHC.Show.Show StripeAPI.Types.WebhookEndpoint.WebhookEndpoint
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Types.WebhookEndpoint.WebhookEndpoint
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Types.WebhookEndpoint.WebhookEndpoint
-- | Rexports all type modules (used in the operation modules).
module StripeAPI.Types
-- | Contains the different functions to run the operation
-- postWebhookEndpointsWebhookEndpoint
module StripeAPI.Operations.PostWebhookEndpointsWebhookEndpoint
-- |
-- POST /v1/webhook_endpoints/{webhook_endpoint}
--
--
-- <p>Updates the webhook endpoint. You may edit the
-- <code>url</code>, the list of
-- <code>enabled_events</code>, and the status of your
-- endpoint.</p>
postWebhookEndpointsWebhookEndpoint :: forall m. MonadHTTP m => Text -> Maybe PostWebhookEndpointsWebhookEndpointRequestBody -> ClientT m (Response PostWebhookEndpointsWebhookEndpointResponse)
-- | Defines the object schema located at
-- paths./v1/webhook_endpoints/{webhook_endpoint}.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostWebhookEndpointsWebhookEndpointRequestBody
PostWebhookEndpointsWebhookEndpointRequestBody :: Maybe Text -> Maybe Bool -> Maybe [PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'] -> Maybe [Text] -> Maybe PostWebhookEndpointsWebhookEndpointRequestBodyMetadata'Variants -> Maybe Text -> PostWebhookEndpointsWebhookEndpointRequestBody
-- | description: An optional description of what the webhook is used for.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postWebhookEndpointsWebhookEndpointRequestBodyDescription] :: PostWebhookEndpointsWebhookEndpointRequestBody -> Maybe Text
-- | disabled: Disable the webhook endpoint if set to true.
[postWebhookEndpointsWebhookEndpointRequestBodyDisabled] :: PostWebhookEndpointsWebhookEndpointRequestBody -> Maybe Bool
-- | enabled_events: The list of events to enable for this endpoint. You
-- may specify `['*']` to enable all events, except those that require
-- explicit selection.
[postWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents] :: PostWebhookEndpointsWebhookEndpointRequestBody -> Maybe [PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents']
-- | expand: Specifies which fields in the response should be expanded.
[postWebhookEndpointsWebhookEndpointRequestBodyExpand] :: PostWebhookEndpointsWebhookEndpointRequestBody -> Maybe [Text]
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postWebhookEndpointsWebhookEndpointRequestBodyMetadata] :: PostWebhookEndpointsWebhookEndpointRequestBody -> Maybe PostWebhookEndpointsWebhookEndpointRequestBodyMetadata'Variants
-- | url: The URL of the webhook endpoint.
[postWebhookEndpointsWebhookEndpointRequestBodyUrl] :: PostWebhookEndpointsWebhookEndpointRequestBody -> Maybe Text
-- | Create a new PostWebhookEndpointsWebhookEndpointRequestBody
-- with all required fields.
mkPostWebhookEndpointsWebhookEndpointRequestBody :: PostWebhookEndpointsWebhookEndpointRequestBody
-- | Defines the enum schema located at
-- paths./v1/webhook_endpoints/{webhook_endpoint}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.enabled_events.items
-- in the specification.
data PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'Other :: Value -> PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'Typed :: Text -> PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "*"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'Enum_ :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "account.application.authorized"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumAccount'application'authorized :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "account.application.deauthorized"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumAccount'application'deauthorized :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "account.external_account.created"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumAccount'externalAccount'created :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "account.external_account.deleted"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumAccount'externalAccount'deleted :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "account.external_account.updated"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumAccount'externalAccount'updated :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "account.updated"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumAccount'updated :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "application_fee.created"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumApplicationFee'created :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "application_fee.refund.updated"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumApplicationFee'refund'updated :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "application_fee.refunded"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumApplicationFee'refunded :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "balance.available"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumBalance'available :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value
-- "billing_portal.configuration.created"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumBillingPortal'configuration'created :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value
-- "billing_portal.configuration.updated"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumBillingPortal'configuration'updated :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "capability.updated"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumCapability'updated :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "charge.captured"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumCharge'captured :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "charge.dispute.closed"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumCharge'dispute'closed :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "charge.dispute.created"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumCharge'dispute'created :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "charge.dispute.funds_reinstated"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumCharge'dispute'fundsReinstated :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "charge.dispute.funds_withdrawn"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumCharge'dispute'fundsWithdrawn :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "charge.dispute.updated"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumCharge'dispute'updated :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "charge.expired"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumCharge'expired :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "charge.failed"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumCharge'failed :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "charge.pending"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumCharge'pending :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "charge.refund.updated"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumCharge'refund'updated :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "charge.refunded"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumCharge'refunded :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "charge.succeeded"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumCharge'succeeded :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "charge.updated"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumCharge'updated :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value
-- "checkout.session.async_payment_failed"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumCheckout'session'asyncPaymentFailed :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value
-- "checkout.session.async_payment_succeeded"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumCheckout'session'asyncPaymentSucceeded :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "checkout.session.completed"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumCheckout'session'completed :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "coupon.created"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumCoupon'created :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "coupon.deleted"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumCoupon'deleted :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "coupon.updated"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumCoupon'updated :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "credit_note.created"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumCreditNote'created :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "credit_note.updated"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumCreditNote'updated :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "credit_note.voided"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumCreditNote'voided :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "customer.created"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumCustomer'created :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "customer.deleted"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumCustomer'deleted :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "customer.discount.created"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumCustomer'discount'created :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "customer.discount.deleted"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumCustomer'discount'deleted :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "customer.discount.updated"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumCustomer'discount'updated :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "customer.source.created"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumCustomer'source'created :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "customer.source.deleted"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumCustomer'source'deleted :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "customer.source.expiring"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumCustomer'source'expiring :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "customer.source.updated"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumCustomer'source'updated :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "customer.subscription.created"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumCustomer'subscription'created :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "customer.subscription.deleted"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumCustomer'subscription'deleted :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value
-- "customer.subscription.pending_update_applied"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumCustomer'subscription'pendingUpdateApplied :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value
-- "customer.subscription.pending_update_expired"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumCustomer'subscription'pendingUpdateExpired :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value
-- "customer.subscription.trial_will_end"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumCustomer'subscription'trialWillEnd :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "customer.subscription.updated"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumCustomer'subscription'updated :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "customer.tax_id.created"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumCustomer'taxId'created :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "customer.tax_id.deleted"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumCustomer'taxId'deleted :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "customer.tax_id.updated"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumCustomer'taxId'updated :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "customer.updated"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumCustomer'updated :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "file.created"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumFile'created :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value
-- "identity.verification_session.canceled"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumIdentity'verificationSession'canceled :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value
-- "identity.verification_session.created"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumIdentity'verificationSession'created :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value
-- "identity.verification_session.processing"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumIdentity'verificationSession'processing :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value
-- "identity.verification_session.redacted"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumIdentity'verificationSession'redacted :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value
-- "identity.verification_session.requires_input"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumIdentity'verificationSession'requiresInput :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value
-- "identity.verification_session.verified"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumIdentity'verificationSession'verified :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "invoice.created"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumInvoice'created :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "invoice.deleted"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumInvoice'deleted :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "invoice.finalization_failed"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumInvoice'finalizationFailed :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "invoice.finalized"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumInvoice'finalized :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "invoice.marked_uncollectible"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumInvoice'markedUncollectible :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "invoice.paid"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumInvoice'paid :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "invoice.payment_action_required"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumInvoice'paymentActionRequired :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "invoice.payment_failed"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumInvoice'paymentFailed :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "invoice.payment_succeeded"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumInvoice'paymentSucceeded :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "invoice.sent"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumInvoice'sent :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "invoice.upcoming"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumInvoice'upcoming :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "invoice.updated"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumInvoice'updated :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "invoice.voided"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumInvoice'voided :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "invoiceitem.created"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumInvoiceitem'created :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "invoiceitem.deleted"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumInvoiceitem'deleted :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "invoiceitem.updated"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumInvoiceitem'updated :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "issuing_authorization.created"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumIssuingAuthorization'created :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "issuing_authorization.request"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumIssuingAuthorization'request :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "issuing_authorization.updated"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumIssuingAuthorization'updated :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "issuing_card.created"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumIssuingCard'created :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "issuing_card.updated"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumIssuingCard'updated :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "issuing_cardholder.created"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumIssuingCardholder'created :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "issuing_cardholder.updated"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumIssuingCardholder'updated :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "issuing_dispute.closed"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumIssuingDispute'closed :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "issuing_dispute.created"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumIssuingDispute'created :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "issuing_dispute.funds_reinstated"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumIssuingDispute'fundsReinstated :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "issuing_dispute.submitted"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumIssuingDispute'submitted :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "issuing_dispute.updated"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumIssuingDispute'updated :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "issuing_transaction.created"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumIssuingTransaction'created :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "issuing_transaction.updated"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumIssuingTransaction'updated :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "mandate.updated"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumMandate'updated :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "order.created"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumOrder'created :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "order.payment_failed"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumOrder'paymentFailed :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "order.payment_succeeded"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumOrder'paymentSucceeded :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "order.updated"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumOrder'updated :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "order_return.created"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumOrderReturn'created :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value
-- "payment_intent.amount_capturable_updated"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumPaymentIntent'amountCapturableUpdated :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "payment_intent.canceled"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumPaymentIntent'canceled :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "payment_intent.created"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumPaymentIntent'created :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "payment_intent.payment_failed"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumPaymentIntent'paymentFailed :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "payment_intent.processing"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumPaymentIntent'processing :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "payment_intent.requires_action"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumPaymentIntent'requiresAction :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "payment_intent.succeeded"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumPaymentIntent'succeeded :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "payment_method.attached"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumPaymentMethod'attached :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value
-- "payment_method.automatically_updated"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumPaymentMethod'automaticallyUpdated :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "payment_method.detached"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumPaymentMethod'detached :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "payment_method.updated"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumPaymentMethod'updated :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "payout.canceled"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumPayout'canceled :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "payout.created"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumPayout'created :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "payout.failed"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumPayout'failed :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "payout.paid"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumPayout'paid :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "payout.updated"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumPayout'updated :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "person.created"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumPerson'created :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "person.deleted"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumPerson'deleted :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "person.updated"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumPerson'updated :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "plan.created"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumPlan'created :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "plan.deleted"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumPlan'deleted :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "plan.updated"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumPlan'updated :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "price.created"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumPrice'created :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "price.deleted"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumPrice'deleted :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "price.updated"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumPrice'updated :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "product.created"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumProduct'created :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "product.deleted"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumProduct'deleted :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "product.updated"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumProduct'updated :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "promotion_code.created"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumPromotionCode'created :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "promotion_code.updated"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumPromotionCode'updated :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "radar.early_fraud_warning.created"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumRadar'earlyFraudWarning'created :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "radar.early_fraud_warning.updated"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumRadar'earlyFraudWarning'updated :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "recipient.created"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumRecipient'created :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "recipient.deleted"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumRecipient'deleted :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "recipient.updated"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumRecipient'updated :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "reporting.report_run.failed"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumReporting'reportRun'failed :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "reporting.report_run.succeeded"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumReporting'reportRun'succeeded :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "reporting.report_type.updated"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumReporting'reportType'updated :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "review.closed"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumReview'closed :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "review.opened"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumReview'opened :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "setup_intent.canceled"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumSetupIntent'canceled :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "setup_intent.created"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumSetupIntent'created :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "setup_intent.requires_action"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumSetupIntent'requiresAction :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "setup_intent.setup_failed"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumSetupIntent'setupFailed :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "setup_intent.succeeded"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumSetupIntent'succeeded :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "sigma.scheduled_query_run.created"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumSigma'scheduledQueryRun'created :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "sku.created"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumSku'created :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "sku.deleted"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumSku'deleted :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "sku.updated"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumSku'updated :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "source.canceled"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumSource'canceled :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "source.chargeable"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumSource'chargeable :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "source.failed"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumSource'failed :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "source.mandate_notification"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumSource'mandateNotification :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "source.refund_attributes_required"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumSource'refundAttributesRequired :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "source.transaction.created"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumSource'transaction'created :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "source.transaction.updated"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumSource'transaction'updated :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "subscription_schedule.aborted"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumSubscriptionSchedule'aborted :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "subscription_schedule.canceled"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumSubscriptionSchedule'canceled :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "subscription_schedule.completed"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumSubscriptionSchedule'completed :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "subscription_schedule.created"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumSubscriptionSchedule'created :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "subscription_schedule.expiring"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumSubscriptionSchedule'expiring :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "subscription_schedule.released"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumSubscriptionSchedule'released :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "subscription_schedule.updated"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumSubscriptionSchedule'updated :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "tax_rate.created"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumTaxRate'created :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "tax_rate.updated"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumTaxRate'updated :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "topup.canceled"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumTopup'canceled :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "topup.created"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumTopup'created :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "topup.failed"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumTopup'failed :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "topup.reversed"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumTopup'reversed :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "topup.succeeded"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumTopup'succeeded :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "transfer.created"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumTransfer'created :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "transfer.failed"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumTransfer'failed :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "transfer.paid"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumTransfer'paid :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "transfer.reversed"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumTransfer'reversed :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Represents the JSON value "transfer.updated"
PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'EnumTransfer'updated :: PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Defines the oneOf schema located at
-- paths./v1/webhook_endpoints/{webhook_endpoint}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.metadata.anyOf
-- in the specification.
--
-- Set of key-value pairs that you can attach to an object. This
-- can be useful for storing additional information about the object in a
-- structured format. Individual keys can be unset by posting an empty
-- value to them. All keys can be unset by posting an empty value to
-- `metadata`.
data PostWebhookEndpointsWebhookEndpointRequestBodyMetadata'Variants
-- | Represents the JSON value ""
PostWebhookEndpointsWebhookEndpointRequestBodyMetadata'EmptyString :: PostWebhookEndpointsWebhookEndpointRequestBodyMetadata'Variants
PostWebhookEndpointsWebhookEndpointRequestBodyMetadata'Object :: Object -> PostWebhookEndpointsWebhookEndpointRequestBodyMetadata'Variants
-- | Represents a response of the operation
-- postWebhookEndpointsWebhookEndpoint.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- PostWebhookEndpointsWebhookEndpointResponseError is used.
data PostWebhookEndpointsWebhookEndpointResponse
-- | Means either no matching case available or a parse error
PostWebhookEndpointsWebhookEndpointResponseError :: String -> PostWebhookEndpointsWebhookEndpointResponse
-- | Successful response.
PostWebhookEndpointsWebhookEndpointResponse200 :: WebhookEndpoint -> PostWebhookEndpointsWebhookEndpointResponse
-- | Error response.
PostWebhookEndpointsWebhookEndpointResponseDefault :: Error -> PostWebhookEndpointsWebhookEndpointResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostWebhookEndpointsWebhookEndpoint.PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
instance GHC.Show.Show StripeAPI.Operations.PostWebhookEndpointsWebhookEndpoint.PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
instance GHC.Classes.Eq StripeAPI.Operations.PostWebhookEndpointsWebhookEndpoint.PostWebhookEndpointsWebhookEndpointRequestBodyMetadata'Variants
instance GHC.Show.Show StripeAPI.Operations.PostWebhookEndpointsWebhookEndpoint.PostWebhookEndpointsWebhookEndpointRequestBodyMetadata'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostWebhookEndpointsWebhookEndpoint.PostWebhookEndpointsWebhookEndpointRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostWebhookEndpointsWebhookEndpoint.PostWebhookEndpointsWebhookEndpointRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostWebhookEndpointsWebhookEndpoint.PostWebhookEndpointsWebhookEndpointResponse
instance GHC.Show.Show StripeAPI.Operations.PostWebhookEndpointsWebhookEndpoint.PostWebhookEndpointsWebhookEndpointResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostWebhookEndpointsWebhookEndpoint.PostWebhookEndpointsWebhookEndpointRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostWebhookEndpointsWebhookEndpoint.PostWebhookEndpointsWebhookEndpointRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostWebhookEndpointsWebhookEndpoint.PostWebhookEndpointsWebhookEndpointRequestBodyMetadata'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostWebhookEndpointsWebhookEndpoint.PostWebhookEndpointsWebhookEndpointRequestBodyMetadata'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostWebhookEndpointsWebhookEndpoint.PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostWebhookEndpointsWebhookEndpoint.PostWebhookEndpointsWebhookEndpointRequestBodyEnabledEvents'
-- | Contains the different functions to run the operation
-- postWebhookEndpoints
module StripeAPI.Operations.PostWebhookEndpoints
-- |
-- POST /v1/webhook_endpoints
--
--
-- <p>A webhook endpoint must have a <code>url</code>
-- and a list of <code>enabled_events</code>. You may
-- optionally specify the Boolean <code>connect</code>
-- parameter. If set to true, then a Connect webhook endpoint that
-- notifies the specified <code>url</code> about events from
-- all connected accounts is created; otherwise an account webhook
-- endpoint that notifies the specified <code>url</code> only
-- about events from your account is created. You can also create webhook
-- endpoints in the <a
-- href="https://dashboard.stripe.com/account/webhooks">webhooks
-- settings</a> section of the Dashboard.</p>
postWebhookEndpoints :: forall m. MonadHTTP m => PostWebhookEndpointsRequestBody -> ClientT m (Response PostWebhookEndpointsResponse)
-- | Defines the object schema located at
-- paths./v1/webhook_endpoints.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostWebhookEndpointsRequestBody
PostWebhookEndpointsRequestBody :: Maybe PostWebhookEndpointsRequestBodyApiVersion' -> Maybe Bool -> Maybe Text -> [PostWebhookEndpointsRequestBodyEnabledEvents'] -> Maybe [Text] -> Maybe PostWebhookEndpointsRequestBodyMetadata'Variants -> Text -> PostWebhookEndpointsRequestBody
-- | api_version: Events sent to this endpoint will be generated with this
-- Stripe Version instead of your account's default Stripe Version.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postWebhookEndpointsRequestBodyApiVersion] :: PostWebhookEndpointsRequestBody -> Maybe PostWebhookEndpointsRequestBodyApiVersion'
-- | connect: Whether this endpoint should receive events from connected
-- accounts (`true`), or from your account (`false`). Defaults to
-- `false`.
[postWebhookEndpointsRequestBodyConnect] :: PostWebhookEndpointsRequestBody -> Maybe Bool
-- | description: An optional description of what the webhook is used for.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postWebhookEndpointsRequestBodyDescription] :: PostWebhookEndpointsRequestBody -> Maybe Text
-- | enabled_events: The list of events to enable for this endpoint. You
-- may specify `['*']` to enable all events, except those that require
-- explicit selection.
[postWebhookEndpointsRequestBodyEnabledEvents] :: PostWebhookEndpointsRequestBody -> [PostWebhookEndpointsRequestBodyEnabledEvents']
-- | expand: Specifies which fields in the response should be expanded.
[postWebhookEndpointsRequestBodyExpand] :: PostWebhookEndpointsRequestBody -> Maybe [Text]
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postWebhookEndpointsRequestBodyMetadata] :: PostWebhookEndpointsRequestBody -> Maybe PostWebhookEndpointsRequestBodyMetadata'Variants
-- | url: The URL of the webhook endpoint.
[postWebhookEndpointsRequestBodyUrl] :: PostWebhookEndpointsRequestBody -> Text
-- | Create a new PostWebhookEndpointsRequestBody with all required
-- fields.
mkPostWebhookEndpointsRequestBody :: [PostWebhookEndpointsRequestBodyEnabledEvents'] -> Text -> PostWebhookEndpointsRequestBody
-- | Defines the enum schema located at
-- paths./v1/webhook_endpoints.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.api_version
-- in the specification.
--
-- Events sent to this endpoint will be generated with this Stripe
-- Version instead of your account's default Stripe Version.
data PostWebhookEndpointsRequestBodyApiVersion'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostWebhookEndpointsRequestBodyApiVersion'Other :: Value -> PostWebhookEndpointsRequestBodyApiVersion'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostWebhookEndpointsRequestBodyApiVersion'Typed :: Text -> PostWebhookEndpointsRequestBodyApiVersion'
-- | Represents the JSON value "2011-01-01"
PostWebhookEndpointsRequestBodyApiVersion'Enum2011_01_01 :: PostWebhookEndpointsRequestBodyApiVersion'
-- | Represents the JSON value "2011-06-21"
PostWebhookEndpointsRequestBodyApiVersion'Enum2011_06_21 :: PostWebhookEndpointsRequestBodyApiVersion'
-- | Represents the JSON value "2011-06-28"
PostWebhookEndpointsRequestBodyApiVersion'Enum2011_06_28 :: PostWebhookEndpointsRequestBodyApiVersion'
-- | Represents the JSON value "2011-08-01"
PostWebhookEndpointsRequestBodyApiVersion'Enum2011_08_01 :: PostWebhookEndpointsRequestBodyApiVersion'
-- | Represents the JSON value "2011-09-15"
PostWebhookEndpointsRequestBodyApiVersion'Enum2011_09_15 :: PostWebhookEndpointsRequestBodyApiVersion'
-- | Represents the JSON value "2011-11-17"
PostWebhookEndpointsRequestBodyApiVersion'Enum2011_11_17 :: PostWebhookEndpointsRequestBodyApiVersion'
-- | Represents the JSON value "2012-02-23"
PostWebhookEndpointsRequestBodyApiVersion'Enum2012_02_23 :: PostWebhookEndpointsRequestBodyApiVersion'
-- | Represents the JSON value "2012-03-25"
PostWebhookEndpointsRequestBodyApiVersion'Enum2012_03_25 :: PostWebhookEndpointsRequestBodyApiVersion'
-- | Represents the JSON value "2012-06-18"
PostWebhookEndpointsRequestBodyApiVersion'Enum2012_06_18 :: PostWebhookEndpointsRequestBodyApiVersion'
-- | Represents the JSON value "2012-06-28"
PostWebhookEndpointsRequestBodyApiVersion'Enum2012_06_28 :: PostWebhookEndpointsRequestBodyApiVersion'
-- | Represents the JSON value "2012-07-09"
PostWebhookEndpointsRequestBodyApiVersion'Enum2012_07_09 :: PostWebhookEndpointsRequestBodyApiVersion'
-- | Represents the JSON value "2012-09-24"
PostWebhookEndpointsRequestBodyApiVersion'Enum2012_09_24 :: PostWebhookEndpointsRequestBodyApiVersion'
-- | Represents the JSON value "2012-10-26"
PostWebhookEndpointsRequestBodyApiVersion'Enum2012_10_26 :: PostWebhookEndpointsRequestBodyApiVersion'
-- | Represents the JSON value "2012-11-07"
PostWebhookEndpointsRequestBodyApiVersion'Enum2012_11_07 :: PostWebhookEndpointsRequestBodyApiVersion'
-- | Represents the JSON value "2013-02-11"
PostWebhookEndpointsRequestBodyApiVersion'Enum2013_02_11 :: PostWebhookEndpointsRequestBodyApiVersion'
-- | Represents the JSON value "2013-02-13"
PostWebhookEndpointsRequestBodyApiVersion'Enum2013_02_13 :: PostWebhookEndpointsRequestBodyApiVersion'
-- | Represents the JSON value "2013-07-05"
PostWebhookEndpointsRequestBodyApiVersion'Enum2013_07_05 :: PostWebhookEndpointsRequestBodyApiVersion'
-- | Represents the JSON value "2013-08-12"
PostWebhookEndpointsRequestBodyApiVersion'Enum2013_08_12 :: PostWebhookEndpointsRequestBodyApiVersion'
-- | Represents the JSON value "2013-08-13"
PostWebhookEndpointsRequestBodyApiVersion'Enum2013_08_13 :: PostWebhookEndpointsRequestBodyApiVersion'
-- | Represents the JSON value "2013-10-29"
PostWebhookEndpointsRequestBodyApiVersion'Enum2013_10_29 :: PostWebhookEndpointsRequestBodyApiVersion'
-- | Represents the JSON value "2013-12-03"
PostWebhookEndpointsRequestBodyApiVersion'Enum2013_12_03 :: PostWebhookEndpointsRequestBodyApiVersion'
-- | Represents the JSON value "2014-01-31"
PostWebhookEndpointsRequestBodyApiVersion'Enum2014_01_31 :: PostWebhookEndpointsRequestBodyApiVersion'
-- | Represents the JSON value "2014-03-13"
PostWebhookEndpointsRequestBodyApiVersion'Enum2014_03_13 :: PostWebhookEndpointsRequestBodyApiVersion'
-- | Represents the JSON value "2014-03-28"
PostWebhookEndpointsRequestBodyApiVersion'Enum2014_03_28 :: PostWebhookEndpointsRequestBodyApiVersion'
-- | Represents the JSON value "2014-05-19"
PostWebhookEndpointsRequestBodyApiVersion'Enum2014_05_19 :: PostWebhookEndpointsRequestBodyApiVersion'
-- | Represents the JSON value "2014-06-13"
PostWebhookEndpointsRequestBodyApiVersion'Enum2014_06_13 :: PostWebhookEndpointsRequestBodyApiVersion'
-- | Represents the JSON value "2014-06-17"
PostWebhookEndpointsRequestBodyApiVersion'Enum2014_06_17 :: PostWebhookEndpointsRequestBodyApiVersion'
-- | Represents the JSON value "2014-07-22"
PostWebhookEndpointsRequestBodyApiVersion'Enum2014_07_22 :: PostWebhookEndpointsRequestBodyApiVersion'
-- | Represents the JSON value "2014-07-26"
PostWebhookEndpointsRequestBodyApiVersion'Enum2014_07_26 :: PostWebhookEndpointsRequestBodyApiVersion'
-- | Represents the JSON value "2014-08-04"
PostWebhookEndpointsRequestBodyApiVersion'Enum2014_08_04 :: PostWebhookEndpointsRequestBodyApiVersion'
-- | Represents the JSON value "2014-08-20"
PostWebhookEndpointsRequestBodyApiVersion'Enum2014_08_20 :: PostWebhookEndpointsRequestBodyApiVersion'
-- | Represents the JSON value "2014-09-08"
PostWebhookEndpointsRequestBodyApiVersion'Enum2014_09_08 :: PostWebhookEndpointsRequestBodyApiVersion'
-- | Represents the JSON value "2014-10-07"
PostWebhookEndpointsRequestBodyApiVersion'Enum2014_10_07 :: PostWebhookEndpointsRequestBodyApiVersion'
-- | Represents the JSON value "2014-11-05"
PostWebhookEndpointsRequestBodyApiVersion'Enum2014_11_05 :: PostWebhookEndpointsRequestBodyApiVersion'
-- | Represents the JSON value "2014-11-20"
PostWebhookEndpointsRequestBodyApiVersion'Enum2014_11_20 :: PostWebhookEndpointsRequestBodyApiVersion'
-- | Represents the JSON value "2014-12-08"
PostWebhookEndpointsRequestBodyApiVersion'Enum2014_12_08 :: PostWebhookEndpointsRequestBodyApiVersion'
-- | Represents the JSON value "2014-12-17"
PostWebhookEndpointsRequestBodyApiVersion'Enum2014_12_17 :: PostWebhookEndpointsRequestBodyApiVersion'
-- | Represents the JSON value "2014-12-22"
PostWebhookEndpointsRequestBodyApiVersion'Enum2014_12_22 :: PostWebhookEndpointsRequestBodyApiVersion'
-- | Represents the JSON value "2015-01-11"
PostWebhookEndpointsRequestBodyApiVersion'Enum2015_01_11 :: PostWebhookEndpointsRequestBodyApiVersion'
-- | Represents the JSON value "2015-01-26"
PostWebhookEndpointsRequestBodyApiVersion'Enum2015_01_26 :: PostWebhookEndpointsRequestBodyApiVersion'
-- | Represents the JSON value "2015-02-10"
PostWebhookEndpointsRequestBodyApiVersion'Enum2015_02_10 :: PostWebhookEndpointsRequestBodyApiVersion'
-- | Represents the JSON value "2015-02-16"
PostWebhookEndpointsRequestBodyApiVersion'Enum2015_02_16 :: PostWebhookEndpointsRequestBodyApiVersion'
-- | Represents the JSON value "2015-02-18"
PostWebhookEndpointsRequestBodyApiVersion'Enum2015_02_18 :: PostWebhookEndpointsRequestBodyApiVersion'
-- | Represents the JSON value "2015-03-24"
PostWebhookEndpointsRequestBodyApiVersion'Enum2015_03_24 :: PostWebhookEndpointsRequestBodyApiVersion'
-- | Represents the JSON value "2015-04-07"
PostWebhookEndpointsRequestBodyApiVersion'Enum2015_04_07 :: PostWebhookEndpointsRequestBodyApiVersion'
-- | Represents the JSON value "2015-06-15"
PostWebhookEndpointsRequestBodyApiVersion'Enum2015_06_15 :: PostWebhookEndpointsRequestBodyApiVersion'
-- | Represents the JSON value "2015-07-07"
PostWebhookEndpointsRequestBodyApiVersion'Enum2015_07_07 :: PostWebhookEndpointsRequestBodyApiVersion'
-- | Represents the JSON value "2015-07-13"
PostWebhookEndpointsRequestBodyApiVersion'Enum2015_07_13 :: PostWebhookEndpointsRequestBodyApiVersion'
-- | Represents the JSON value "2015-07-28"
PostWebhookEndpointsRequestBodyApiVersion'Enum2015_07_28 :: PostWebhookEndpointsRequestBodyApiVersion'
-- | Represents the JSON value "2015-08-07"
PostWebhookEndpointsRequestBodyApiVersion'Enum2015_08_07 :: PostWebhookEndpointsRequestBodyApiVersion'
-- | Represents the JSON value "2015-08-19"
PostWebhookEndpointsRequestBodyApiVersion'Enum2015_08_19 :: PostWebhookEndpointsRequestBodyApiVersion'
-- | Represents the JSON value "2015-09-03"
PostWebhookEndpointsRequestBodyApiVersion'Enum2015_09_03 :: PostWebhookEndpointsRequestBodyApiVersion'
-- | Represents the JSON value "2015-09-08"
PostWebhookEndpointsRequestBodyApiVersion'Enum2015_09_08 :: PostWebhookEndpointsRequestBodyApiVersion'
-- | Represents the JSON value "2015-09-23"
PostWebhookEndpointsRequestBodyApiVersion'Enum2015_09_23 :: PostWebhookEndpointsRequestBodyApiVersion'
-- | Represents the JSON value "2015-10-01"
PostWebhookEndpointsRequestBodyApiVersion'Enum2015_10_01 :: PostWebhookEndpointsRequestBodyApiVersion'
-- | Represents the JSON value "2015-10-12"
PostWebhookEndpointsRequestBodyApiVersion'Enum2015_10_12 :: PostWebhookEndpointsRequestBodyApiVersion'
-- | Represents the JSON value "2015-10-16"
PostWebhookEndpointsRequestBodyApiVersion'Enum2015_10_16 :: PostWebhookEndpointsRequestBodyApiVersion'
-- | Represents the JSON value "2016-02-03"
PostWebhookEndpointsRequestBodyApiVersion'Enum2016_02_03 :: PostWebhookEndpointsRequestBodyApiVersion'
-- | Represents the JSON value "2016-02-19"
PostWebhookEndpointsRequestBodyApiVersion'Enum2016_02_19 :: PostWebhookEndpointsRequestBodyApiVersion'
-- | Represents the JSON value "2016-02-22"
PostWebhookEndpointsRequestBodyApiVersion'Enum2016_02_22 :: PostWebhookEndpointsRequestBodyApiVersion'
-- | Represents the JSON value "2016-02-23"
PostWebhookEndpointsRequestBodyApiVersion'Enum2016_02_23 :: PostWebhookEndpointsRequestBodyApiVersion'
-- | Represents the JSON value "2016-02-29"
PostWebhookEndpointsRequestBodyApiVersion'Enum2016_02_29 :: PostWebhookEndpointsRequestBodyApiVersion'
-- | Represents the JSON value "2016-03-07"
PostWebhookEndpointsRequestBodyApiVersion'Enum2016_03_07 :: PostWebhookEndpointsRequestBodyApiVersion'
-- | Represents the JSON value "2016-06-15"
PostWebhookEndpointsRequestBodyApiVersion'Enum2016_06_15 :: PostWebhookEndpointsRequestBodyApiVersion'
-- | Represents the JSON value "2016-07-06"
PostWebhookEndpointsRequestBodyApiVersion'Enum2016_07_06 :: PostWebhookEndpointsRequestBodyApiVersion'
-- | Represents the JSON value "2016-10-19"
PostWebhookEndpointsRequestBodyApiVersion'Enum2016_10_19 :: PostWebhookEndpointsRequestBodyApiVersion'
-- | Represents the JSON value "2017-01-27"
PostWebhookEndpointsRequestBodyApiVersion'Enum2017_01_27 :: PostWebhookEndpointsRequestBodyApiVersion'
-- | Represents the JSON value "2017-02-14"
PostWebhookEndpointsRequestBodyApiVersion'Enum2017_02_14 :: PostWebhookEndpointsRequestBodyApiVersion'
-- | Represents the JSON value "2017-04-06"
PostWebhookEndpointsRequestBodyApiVersion'Enum2017_04_06 :: PostWebhookEndpointsRequestBodyApiVersion'
-- | Represents the JSON value "2017-05-25"
PostWebhookEndpointsRequestBodyApiVersion'Enum2017_05_25 :: PostWebhookEndpointsRequestBodyApiVersion'
-- | Represents the JSON value "2017-06-05"
PostWebhookEndpointsRequestBodyApiVersion'Enum2017_06_05 :: PostWebhookEndpointsRequestBodyApiVersion'
-- | Represents the JSON value "2017-08-15"
PostWebhookEndpointsRequestBodyApiVersion'Enum2017_08_15 :: PostWebhookEndpointsRequestBodyApiVersion'
-- | Represents the JSON value "2017-12-14"
PostWebhookEndpointsRequestBodyApiVersion'Enum2017_12_14 :: PostWebhookEndpointsRequestBodyApiVersion'
-- | Represents the JSON value "2018-01-23"
PostWebhookEndpointsRequestBodyApiVersion'Enum2018_01_23 :: PostWebhookEndpointsRequestBodyApiVersion'
-- | Represents the JSON value "2018-02-05"
PostWebhookEndpointsRequestBodyApiVersion'Enum2018_02_05 :: PostWebhookEndpointsRequestBodyApiVersion'
-- | Represents the JSON value "2018-02-06"
PostWebhookEndpointsRequestBodyApiVersion'Enum2018_02_06 :: PostWebhookEndpointsRequestBodyApiVersion'
-- | Represents the JSON value "2018-02-28"
PostWebhookEndpointsRequestBodyApiVersion'Enum2018_02_28 :: PostWebhookEndpointsRequestBodyApiVersion'
-- | Represents the JSON value "2018-05-21"
PostWebhookEndpointsRequestBodyApiVersion'Enum2018_05_21 :: PostWebhookEndpointsRequestBodyApiVersion'
-- | Represents the JSON value "2018-07-27"
PostWebhookEndpointsRequestBodyApiVersion'Enum2018_07_27 :: PostWebhookEndpointsRequestBodyApiVersion'
-- | Represents the JSON value "2018-08-23"
PostWebhookEndpointsRequestBodyApiVersion'Enum2018_08_23 :: PostWebhookEndpointsRequestBodyApiVersion'
-- | Represents the JSON value "2018-09-06"
PostWebhookEndpointsRequestBodyApiVersion'Enum2018_09_06 :: PostWebhookEndpointsRequestBodyApiVersion'
-- | Represents the JSON value "2018-09-24"
PostWebhookEndpointsRequestBodyApiVersion'Enum2018_09_24 :: PostWebhookEndpointsRequestBodyApiVersion'
-- | Represents the JSON value "2018-10-31"
PostWebhookEndpointsRequestBodyApiVersion'Enum2018_10_31 :: PostWebhookEndpointsRequestBodyApiVersion'
-- | Represents the JSON value "2018-11-08"
PostWebhookEndpointsRequestBodyApiVersion'Enum2018_11_08 :: PostWebhookEndpointsRequestBodyApiVersion'
-- | Represents the JSON value "2019-02-11"
PostWebhookEndpointsRequestBodyApiVersion'Enum2019_02_11 :: PostWebhookEndpointsRequestBodyApiVersion'
-- | Represents the JSON value "2019-02-19"
PostWebhookEndpointsRequestBodyApiVersion'Enum2019_02_19 :: PostWebhookEndpointsRequestBodyApiVersion'
-- | Represents the JSON value "2019-03-14"
PostWebhookEndpointsRequestBodyApiVersion'Enum2019_03_14 :: PostWebhookEndpointsRequestBodyApiVersion'
-- | Represents the JSON value "2019-05-16"
PostWebhookEndpointsRequestBodyApiVersion'Enum2019_05_16 :: PostWebhookEndpointsRequestBodyApiVersion'
-- | Represents the JSON value "2019-08-14"
PostWebhookEndpointsRequestBodyApiVersion'Enum2019_08_14 :: PostWebhookEndpointsRequestBodyApiVersion'
-- | Represents the JSON value "2019-09-09"
PostWebhookEndpointsRequestBodyApiVersion'Enum2019_09_09 :: PostWebhookEndpointsRequestBodyApiVersion'
-- | Represents the JSON value "2019-10-08"
PostWebhookEndpointsRequestBodyApiVersion'Enum2019_10_08 :: PostWebhookEndpointsRequestBodyApiVersion'
-- | Represents the JSON value "2019-10-17"
PostWebhookEndpointsRequestBodyApiVersion'Enum2019_10_17 :: PostWebhookEndpointsRequestBodyApiVersion'
-- | Represents the JSON value "2019-11-05"
PostWebhookEndpointsRequestBodyApiVersion'Enum2019_11_05 :: PostWebhookEndpointsRequestBodyApiVersion'
-- | Represents the JSON value "2019-12-03"
PostWebhookEndpointsRequestBodyApiVersion'Enum2019_12_03 :: PostWebhookEndpointsRequestBodyApiVersion'
-- | Represents the JSON value "2020-03-02"
PostWebhookEndpointsRequestBodyApiVersion'Enum2020_03_02 :: PostWebhookEndpointsRequestBodyApiVersion'
-- | Represents the JSON value "2020-08-27"
PostWebhookEndpointsRequestBodyApiVersion'Enum2020_08_27 :: PostWebhookEndpointsRequestBodyApiVersion'
-- | Defines the enum schema located at
-- paths./v1/webhook_endpoints.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.enabled_events.items
-- in the specification.
data PostWebhookEndpointsRequestBodyEnabledEvents'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostWebhookEndpointsRequestBodyEnabledEvents'Other :: Value -> PostWebhookEndpointsRequestBodyEnabledEvents'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostWebhookEndpointsRequestBodyEnabledEvents'Typed :: Text -> PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "*"
PostWebhookEndpointsRequestBodyEnabledEvents'Enum_ :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "account.application.authorized"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumAccount'application'authorized :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "account.application.deauthorized"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumAccount'application'deauthorized :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "account.external_account.created"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumAccount'externalAccount'created :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "account.external_account.deleted"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumAccount'externalAccount'deleted :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "account.external_account.updated"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumAccount'externalAccount'updated :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "account.updated"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumAccount'updated :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "application_fee.created"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumApplicationFee'created :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "application_fee.refund.updated"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumApplicationFee'refund'updated :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "application_fee.refunded"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumApplicationFee'refunded :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "balance.available"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumBalance'available :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value
-- "billing_portal.configuration.created"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumBillingPortal'configuration'created :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value
-- "billing_portal.configuration.updated"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumBillingPortal'configuration'updated :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "capability.updated"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumCapability'updated :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "charge.captured"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumCharge'captured :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "charge.dispute.closed"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumCharge'dispute'closed :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "charge.dispute.created"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumCharge'dispute'created :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "charge.dispute.funds_reinstated"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumCharge'dispute'fundsReinstated :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "charge.dispute.funds_withdrawn"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumCharge'dispute'fundsWithdrawn :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "charge.dispute.updated"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumCharge'dispute'updated :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "charge.expired"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumCharge'expired :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "charge.failed"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumCharge'failed :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "charge.pending"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumCharge'pending :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "charge.refund.updated"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumCharge'refund'updated :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "charge.refunded"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumCharge'refunded :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "charge.succeeded"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumCharge'succeeded :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "charge.updated"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumCharge'updated :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value
-- "checkout.session.async_payment_failed"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumCheckout'session'asyncPaymentFailed :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value
-- "checkout.session.async_payment_succeeded"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumCheckout'session'asyncPaymentSucceeded :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "checkout.session.completed"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumCheckout'session'completed :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "coupon.created"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumCoupon'created :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "coupon.deleted"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumCoupon'deleted :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "coupon.updated"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumCoupon'updated :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "credit_note.created"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumCreditNote'created :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "credit_note.updated"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumCreditNote'updated :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "credit_note.voided"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumCreditNote'voided :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "customer.created"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumCustomer'created :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "customer.deleted"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumCustomer'deleted :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "customer.discount.created"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumCustomer'discount'created :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "customer.discount.deleted"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumCustomer'discount'deleted :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "customer.discount.updated"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumCustomer'discount'updated :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "customer.source.created"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumCustomer'source'created :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "customer.source.deleted"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumCustomer'source'deleted :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "customer.source.expiring"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumCustomer'source'expiring :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "customer.source.updated"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumCustomer'source'updated :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "customer.subscription.created"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumCustomer'subscription'created :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "customer.subscription.deleted"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumCustomer'subscription'deleted :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value
-- "customer.subscription.pending_update_applied"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumCustomer'subscription'pendingUpdateApplied :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value
-- "customer.subscription.pending_update_expired"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumCustomer'subscription'pendingUpdateExpired :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value
-- "customer.subscription.trial_will_end"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumCustomer'subscription'trialWillEnd :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "customer.subscription.updated"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumCustomer'subscription'updated :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "customer.tax_id.created"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumCustomer'taxId'created :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "customer.tax_id.deleted"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumCustomer'taxId'deleted :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "customer.tax_id.updated"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumCustomer'taxId'updated :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "customer.updated"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumCustomer'updated :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "file.created"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumFile'created :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value
-- "identity.verification_session.canceled"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumIdentity'verificationSession'canceled :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value
-- "identity.verification_session.created"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumIdentity'verificationSession'created :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value
-- "identity.verification_session.processing"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumIdentity'verificationSession'processing :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value
-- "identity.verification_session.redacted"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumIdentity'verificationSession'redacted :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value
-- "identity.verification_session.requires_input"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumIdentity'verificationSession'requiresInput :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value
-- "identity.verification_session.verified"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumIdentity'verificationSession'verified :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "invoice.created"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumInvoice'created :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "invoice.deleted"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumInvoice'deleted :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "invoice.finalization_failed"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumInvoice'finalizationFailed :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "invoice.finalized"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumInvoice'finalized :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "invoice.marked_uncollectible"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumInvoice'markedUncollectible :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "invoice.paid"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumInvoice'paid :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "invoice.payment_action_required"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumInvoice'paymentActionRequired :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "invoice.payment_failed"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumInvoice'paymentFailed :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "invoice.payment_succeeded"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumInvoice'paymentSucceeded :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "invoice.sent"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumInvoice'sent :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "invoice.upcoming"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumInvoice'upcoming :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "invoice.updated"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumInvoice'updated :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "invoice.voided"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumInvoice'voided :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "invoiceitem.created"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumInvoiceitem'created :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "invoiceitem.deleted"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumInvoiceitem'deleted :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "invoiceitem.updated"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumInvoiceitem'updated :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "issuing_authorization.created"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumIssuingAuthorization'created :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "issuing_authorization.request"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumIssuingAuthorization'request :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "issuing_authorization.updated"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumIssuingAuthorization'updated :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "issuing_card.created"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumIssuingCard'created :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "issuing_card.updated"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumIssuingCard'updated :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "issuing_cardholder.created"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumIssuingCardholder'created :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "issuing_cardholder.updated"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumIssuingCardholder'updated :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "issuing_dispute.closed"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumIssuingDispute'closed :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "issuing_dispute.created"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumIssuingDispute'created :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "issuing_dispute.funds_reinstated"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumIssuingDispute'fundsReinstated :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "issuing_dispute.submitted"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumIssuingDispute'submitted :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "issuing_dispute.updated"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumIssuingDispute'updated :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "issuing_transaction.created"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumIssuingTransaction'created :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "issuing_transaction.updated"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumIssuingTransaction'updated :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "mandate.updated"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumMandate'updated :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "order.created"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumOrder'created :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "order.payment_failed"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumOrder'paymentFailed :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "order.payment_succeeded"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumOrder'paymentSucceeded :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "order.updated"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumOrder'updated :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "order_return.created"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumOrderReturn'created :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value
-- "payment_intent.amount_capturable_updated"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumPaymentIntent'amountCapturableUpdated :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "payment_intent.canceled"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumPaymentIntent'canceled :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "payment_intent.created"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumPaymentIntent'created :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "payment_intent.payment_failed"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumPaymentIntent'paymentFailed :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "payment_intent.processing"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumPaymentIntent'processing :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "payment_intent.requires_action"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumPaymentIntent'requiresAction :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "payment_intent.succeeded"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumPaymentIntent'succeeded :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "payment_method.attached"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumPaymentMethod'attached :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value
-- "payment_method.automatically_updated"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumPaymentMethod'automaticallyUpdated :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "payment_method.detached"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumPaymentMethod'detached :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "payment_method.updated"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumPaymentMethod'updated :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "payout.canceled"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumPayout'canceled :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "payout.created"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumPayout'created :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "payout.failed"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumPayout'failed :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "payout.paid"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumPayout'paid :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "payout.updated"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumPayout'updated :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "person.created"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumPerson'created :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "person.deleted"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumPerson'deleted :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "person.updated"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumPerson'updated :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "plan.created"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumPlan'created :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "plan.deleted"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumPlan'deleted :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "plan.updated"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumPlan'updated :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "price.created"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumPrice'created :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "price.deleted"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumPrice'deleted :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "price.updated"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumPrice'updated :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "product.created"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumProduct'created :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "product.deleted"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumProduct'deleted :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "product.updated"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumProduct'updated :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "promotion_code.created"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumPromotionCode'created :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "promotion_code.updated"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumPromotionCode'updated :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "radar.early_fraud_warning.created"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumRadar'earlyFraudWarning'created :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "radar.early_fraud_warning.updated"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumRadar'earlyFraudWarning'updated :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "recipient.created"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumRecipient'created :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "recipient.deleted"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumRecipient'deleted :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "recipient.updated"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumRecipient'updated :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "reporting.report_run.failed"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumReporting'reportRun'failed :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "reporting.report_run.succeeded"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumReporting'reportRun'succeeded :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "reporting.report_type.updated"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumReporting'reportType'updated :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "review.closed"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumReview'closed :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "review.opened"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumReview'opened :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "setup_intent.canceled"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumSetupIntent'canceled :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "setup_intent.created"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumSetupIntent'created :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "setup_intent.requires_action"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumSetupIntent'requiresAction :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "setup_intent.setup_failed"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumSetupIntent'setupFailed :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "setup_intent.succeeded"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumSetupIntent'succeeded :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "sigma.scheduled_query_run.created"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumSigma'scheduledQueryRun'created :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "sku.created"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumSku'created :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "sku.deleted"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumSku'deleted :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "sku.updated"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumSku'updated :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "source.canceled"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumSource'canceled :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "source.chargeable"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumSource'chargeable :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "source.failed"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumSource'failed :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "source.mandate_notification"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumSource'mandateNotification :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "source.refund_attributes_required"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumSource'refundAttributesRequired :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "source.transaction.created"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumSource'transaction'created :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "source.transaction.updated"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumSource'transaction'updated :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "subscription_schedule.aborted"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumSubscriptionSchedule'aborted :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "subscription_schedule.canceled"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumSubscriptionSchedule'canceled :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "subscription_schedule.completed"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumSubscriptionSchedule'completed :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "subscription_schedule.created"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumSubscriptionSchedule'created :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "subscription_schedule.expiring"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumSubscriptionSchedule'expiring :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "subscription_schedule.released"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumSubscriptionSchedule'released :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "subscription_schedule.updated"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumSubscriptionSchedule'updated :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "tax_rate.created"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumTaxRate'created :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "tax_rate.updated"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumTaxRate'updated :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "topup.canceled"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumTopup'canceled :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "topup.created"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumTopup'created :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "topup.failed"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumTopup'failed :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "topup.reversed"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumTopup'reversed :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "topup.succeeded"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumTopup'succeeded :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "transfer.created"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumTransfer'created :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "transfer.failed"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumTransfer'failed :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "transfer.paid"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumTransfer'paid :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "transfer.reversed"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumTransfer'reversed :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Represents the JSON value "transfer.updated"
PostWebhookEndpointsRequestBodyEnabledEvents'EnumTransfer'updated :: PostWebhookEndpointsRequestBodyEnabledEvents'
-- | Defines the oneOf schema located at
-- paths./v1/webhook_endpoints.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.metadata.anyOf
-- in the specification.
--
-- Set of key-value pairs that you can attach to an object. This
-- can be useful for storing additional information about the object in a
-- structured format. Individual keys can be unset by posting an empty
-- value to them. All keys can be unset by posting an empty value to
-- `metadata`.
data PostWebhookEndpointsRequestBodyMetadata'Variants
-- | Represents the JSON value ""
PostWebhookEndpointsRequestBodyMetadata'EmptyString :: PostWebhookEndpointsRequestBodyMetadata'Variants
PostWebhookEndpointsRequestBodyMetadata'Object :: Object -> PostWebhookEndpointsRequestBodyMetadata'Variants
-- | Represents a response of the operation postWebhookEndpoints.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostWebhookEndpointsResponseError is
-- used.
data PostWebhookEndpointsResponse
-- | Means either no matching case available or a parse error
PostWebhookEndpointsResponseError :: String -> PostWebhookEndpointsResponse
-- | Successful response.
PostWebhookEndpointsResponse200 :: WebhookEndpoint -> PostWebhookEndpointsResponse
-- | Error response.
PostWebhookEndpointsResponseDefault :: Error -> PostWebhookEndpointsResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostWebhookEndpoints.PostWebhookEndpointsRequestBodyApiVersion'
instance GHC.Show.Show StripeAPI.Operations.PostWebhookEndpoints.PostWebhookEndpointsRequestBodyApiVersion'
instance GHC.Classes.Eq StripeAPI.Operations.PostWebhookEndpoints.PostWebhookEndpointsRequestBodyEnabledEvents'
instance GHC.Show.Show StripeAPI.Operations.PostWebhookEndpoints.PostWebhookEndpointsRequestBodyEnabledEvents'
instance GHC.Classes.Eq StripeAPI.Operations.PostWebhookEndpoints.PostWebhookEndpointsRequestBodyMetadata'Variants
instance GHC.Show.Show StripeAPI.Operations.PostWebhookEndpoints.PostWebhookEndpointsRequestBodyMetadata'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostWebhookEndpoints.PostWebhookEndpointsRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostWebhookEndpoints.PostWebhookEndpointsRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostWebhookEndpoints.PostWebhookEndpointsResponse
instance GHC.Show.Show StripeAPI.Operations.PostWebhookEndpoints.PostWebhookEndpointsResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostWebhookEndpoints.PostWebhookEndpointsRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostWebhookEndpoints.PostWebhookEndpointsRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostWebhookEndpoints.PostWebhookEndpointsRequestBodyMetadata'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostWebhookEndpoints.PostWebhookEndpointsRequestBodyMetadata'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostWebhookEndpoints.PostWebhookEndpointsRequestBodyEnabledEvents'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostWebhookEndpoints.PostWebhookEndpointsRequestBodyEnabledEvents'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostWebhookEndpoints.PostWebhookEndpointsRequestBodyApiVersion'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostWebhookEndpoints.PostWebhookEndpointsRequestBodyApiVersion'
-- | Contains the different functions to run the operation
-- postTransfersTransferReversalsId
module StripeAPI.Operations.PostTransfersTransferReversalsId
-- |
-- POST /v1/transfers/{transfer}/reversals/{id}
--
--
-- <p>Updates the specified reversal by setting the values of the
-- parameters passed. Any parameters not provided will be left
-- unchanged.</p>
--
-- <p>This request only accepts metadata and description as
-- arguments.</p>
postTransfersTransferReversalsId :: forall m. MonadHTTP m => PostTransfersTransferReversalsIdParameters -> Maybe PostTransfersTransferReversalsIdRequestBody -> ClientT m (Response PostTransfersTransferReversalsIdResponse)
-- | Defines the object schema located at
-- paths./v1/transfers/{transfer}/reversals/{id}.POST.parameters
-- in the specification.
data PostTransfersTransferReversalsIdParameters
PostTransfersTransferReversalsIdParameters :: Text -> Text -> PostTransfersTransferReversalsIdParameters
-- | pathId: Represents the parameter named 'id'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTransfersTransferReversalsIdParametersPathId] :: PostTransfersTransferReversalsIdParameters -> Text
-- | pathTransfer: Represents the parameter named 'transfer'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTransfersTransferReversalsIdParametersPathTransfer] :: PostTransfersTransferReversalsIdParameters -> Text
-- | Create a new PostTransfersTransferReversalsIdParameters with
-- all required fields.
mkPostTransfersTransferReversalsIdParameters :: Text -> Text -> PostTransfersTransferReversalsIdParameters
-- | Defines the object schema located at
-- paths./v1/transfers/{transfer}/reversals/{id}.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostTransfersTransferReversalsIdRequestBody
PostTransfersTransferReversalsIdRequestBody :: Maybe [Text] -> Maybe PostTransfersTransferReversalsIdRequestBodyMetadata'Variants -> PostTransfersTransferReversalsIdRequestBody
-- | expand: Specifies which fields in the response should be expanded.
[postTransfersTransferReversalsIdRequestBodyExpand] :: PostTransfersTransferReversalsIdRequestBody -> Maybe [Text]
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postTransfersTransferReversalsIdRequestBodyMetadata] :: PostTransfersTransferReversalsIdRequestBody -> Maybe PostTransfersTransferReversalsIdRequestBodyMetadata'Variants
-- | Create a new PostTransfersTransferReversalsIdRequestBody with
-- all required fields.
mkPostTransfersTransferReversalsIdRequestBody :: PostTransfersTransferReversalsIdRequestBody
-- | Defines the oneOf schema located at
-- paths./v1/transfers/{transfer}/reversals/{id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.metadata.anyOf
-- in the specification.
--
-- Set of key-value pairs that you can attach to an object. This
-- can be useful for storing additional information about the object in a
-- structured format. Individual keys can be unset by posting an empty
-- value to them. All keys can be unset by posting an empty value to
-- `metadata`.
data PostTransfersTransferReversalsIdRequestBodyMetadata'Variants
-- | Represents the JSON value ""
PostTransfersTransferReversalsIdRequestBodyMetadata'EmptyString :: PostTransfersTransferReversalsIdRequestBodyMetadata'Variants
PostTransfersTransferReversalsIdRequestBodyMetadata'Object :: Object -> PostTransfersTransferReversalsIdRequestBodyMetadata'Variants
-- | Represents a response of the operation
-- postTransfersTransferReversalsId.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- PostTransfersTransferReversalsIdResponseError is used.
data PostTransfersTransferReversalsIdResponse
-- | Means either no matching case available or a parse error
PostTransfersTransferReversalsIdResponseError :: String -> PostTransfersTransferReversalsIdResponse
-- | Successful response.
PostTransfersTransferReversalsIdResponse200 :: TransferReversal -> PostTransfersTransferReversalsIdResponse
-- | Error response.
PostTransfersTransferReversalsIdResponseDefault :: Error -> PostTransfersTransferReversalsIdResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostTransfersTransferReversalsId.PostTransfersTransferReversalsIdParameters
instance GHC.Show.Show StripeAPI.Operations.PostTransfersTransferReversalsId.PostTransfersTransferReversalsIdParameters
instance GHC.Classes.Eq StripeAPI.Operations.PostTransfersTransferReversalsId.PostTransfersTransferReversalsIdRequestBodyMetadata'Variants
instance GHC.Show.Show StripeAPI.Operations.PostTransfersTransferReversalsId.PostTransfersTransferReversalsIdRequestBodyMetadata'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostTransfersTransferReversalsId.PostTransfersTransferReversalsIdRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostTransfersTransferReversalsId.PostTransfersTransferReversalsIdRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostTransfersTransferReversalsId.PostTransfersTransferReversalsIdResponse
instance GHC.Show.Show StripeAPI.Operations.PostTransfersTransferReversalsId.PostTransfersTransferReversalsIdResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostTransfersTransferReversalsId.PostTransfersTransferReversalsIdRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostTransfersTransferReversalsId.PostTransfersTransferReversalsIdRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostTransfersTransferReversalsId.PostTransfersTransferReversalsIdRequestBodyMetadata'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostTransfersTransferReversalsId.PostTransfersTransferReversalsIdRequestBodyMetadata'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostTransfersTransferReversalsId.PostTransfersTransferReversalsIdParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostTransfersTransferReversalsId.PostTransfersTransferReversalsIdParameters
-- | Contains the different functions to run the operation
-- postTransfersTransfer
module StripeAPI.Operations.PostTransfersTransfer
-- |
-- POST /v1/transfers/{transfer}
--
--
-- <p>Updates the specified transfer by setting the values of the
-- parameters passed. Any parameters not provided will be left
-- unchanged.</p>
--
-- <p>This request accepts only metadata as an argument.</p>
postTransfersTransfer :: forall m. MonadHTTP m => Text -> Maybe PostTransfersTransferRequestBody -> ClientT m (Response PostTransfersTransferResponse)
-- | Defines the object schema located at
-- paths./v1/transfers/{transfer}.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostTransfersTransferRequestBody
PostTransfersTransferRequestBody :: Maybe Text -> Maybe [Text] -> Maybe PostTransfersTransferRequestBodyMetadata'Variants -> PostTransfersTransferRequestBody
-- | description: An arbitrary string attached to the object. Often useful
-- for displaying to users.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTransfersTransferRequestBodyDescription] :: PostTransfersTransferRequestBody -> Maybe Text
-- | expand: Specifies which fields in the response should be expanded.
[postTransfersTransferRequestBodyExpand] :: PostTransfersTransferRequestBody -> Maybe [Text]
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postTransfersTransferRequestBodyMetadata] :: PostTransfersTransferRequestBody -> Maybe PostTransfersTransferRequestBodyMetadata'Variants
-- | Create a new PostTransfersTransferRequestBody with all required
-- fields.
mkPostTransfersTransferRequestBody :: PostTransfersTransferRequestBody
-- | Defines the oneOf schema located at
-- paths./v1/transfers/{transfer}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.metadata.anyOf
-- in the specification.
--
-- Set of key-value pairs that you can attach to an object. This
-- can be useful for storing additional information about the object in a
-- structured format. Individual keys can be unset by posting an empty
-- value to them. All keys can be unset by posting an empty value to
-- `metadata`.
data PostTransfersTransferRequestBodyMetadata'Variants
-- | Represents the JSON value ""
PostTransfersTransferRequestBodyMetadata'EmptyString :: PostTransfersTransferRequestBodyMetadata'Variants
PostTransfersTransferRequestBodyMetadata'Object :: Object -> PostTransfersTransferRequestBodyMetadata'Variants
-- | Represents a response of the operation postTransfersTransfer.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostTransfersTransferResponseError is
-- used.
data PostTransfersTransferResponse
-- | Means either no matching case available or a parse error
PostTransfersTransferResponseError :: String -> PostTransfersTransferResponse
-- | Successful response.
PostTransfersTransferResponse200 :: Transfer -> PostTransfersTransferResponse
-- | Error response.
PostTransfersTransferResponseDefault :: Error -> PostTransfersTransferResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostTransfersTransfer.PostTransfersTransferRequestBodyMetadata'Variants
instance GHC.Show.Show StripeAPI.Operations.PostTransfersTransfer.PostTransfersTransferRequestBodyMetadata'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostTransfersTransfer.PostTransfersTransferRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostTransfersTransfer.PostTransfersTransferRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostTransfersTransfer.PostTransfersTransferResponse
instance GHC.Show.Show StripeAPI.Operations.PostTransfersTransfer.PostTransfersTransferResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostTransfersTransfer.PostTransfersTransferRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostTransfersTransfer.PostTransfersTransferRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostTransfersTransfer.PostTransfersTransferRequestBodyMetadata'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostTransfersTransfer.PostTransfersTransferRequestBodyMetadata'Variants
-- | Contains the different functions to run the operation
-- postTransfersIdReversals
module StripeAPI.Operations.PostTransfersIdReversals
-- |
-- POST /v1/transfers/{id}/reversals
--
--
-- <p>When you create a new reversal, you must specify a transfer
-- to create it on.</p>
--
-- <p>When reversing transfers, you can optionally reverse part of
-- the transfer. You can do so as many times as you wish until the entire
-- transfer has been reversed.</p>
--
-- <p>Once entirely reversed, a transfer can’t be reversed again.
-- This method will return an error when called on an already-reversed
-- transfer, or when trying to reverse more money than is left on a
-- transfer.</p>
postTransfersIdReversals :: forall m. MonadHTTP m => Text -> Maybe PostTransfersIdReversalsRequestBody -> ClientT m (Response PostTransfersIdReversalsResponse)
-- | Defines the object schema located at
-- paths./v1/transfers/{id}/reversals.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostTransfersIdReversalsRequestBody
PostTransfersIdReversalsRequestBody :: Maybe Int -> Maybe Text -> Maybe [Text] -> Maybe PostTransfersIdReversalsRequestBodyMetadata'Variants -> Maybe Bool -> PostTransfersIdReversalsRequestBody
-- | amount: A positive integer in %s representing how much of this
-- transfer to reverse. Can only reverse up to the unreversed amount
-- remaining of the transfer. Partial transfer reversals are only allowed
-- for transfers to Stripe Accounts. Defaults to the entire transfer
-- amount.
[postTransfersIdReversalsRequestBodyAmount] :: PostTransfersIdReversalsRequestBody -> Maybe Int
-- | description: An arbitrary string which you can attach to a reversal
-- object. It is displayed alongside the reversal in the Dashboard. This
-- will be unset if you POST an empty value.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTransfersIdReversalsRequestBodyDescription] :: PostTransfersIdReversalsRequestBody -> Maybe Text
-- | expand: Specifies which fields in the response should be expanded.
[postTransfersIdReversalsRequestBodyExpand] :: PostTransfersIdReversalsRequestBody -> Maybe [Text]
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postTransfersIdReversalsRequestBodyMetadata] :: PostTransfersIdReversalsRequestBody -> Maybe PostTransfersIdReversalsRequestBodyMetadata'Variants
-- | refund_application_fee: Boolean indicating whether the application fee
-- should be refunded when reversing this transfer. If a full transfer
-- reversal is given, the full application fee will be refunded.
-- Otherwise, the application fee will be refunded with an amount
-- proportional to the amount of the transfer reversed.
[postTransfersIdReversalsRequestBodyRefundApplicationFee] :: PostTransfersIdReversalsRequestBody -> Maybe Bool
-- | Create a new PostTransfersIdReversalsRequestBody with all
-- required fields.
mkPostTransfersIdReversalsRequestBody :: PostTransfersIdReversalsRequestBody
-- | Defines the oneOf schema located at
-- paths./v1/transfers/{id}/reversals.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.metadata.anyOf
-- in the specification.
--
-- Set of key-value pairs that you can attach to an object. This
-- can be useful for storing additional information about the object in a
-- structured format. Individual keys can be unset by posting an empty
-- value to them. All keys can be unset by posting an empty value to
-- `metadata`.
data PostTransfersIdReversalsRequestBodyMetadata'Variants
-- | Represents the JSON value ""
PostTransfersIdReversalsRequestBodyMetadata'EmptyString :: PostTransfersIdReversalsRequestBodyMetadata'Variants
PostTransfersIdReversalsRequestBodyMetadata'Object :: Object -> PostTransfersIdReversalsRequestBodyMetadata'Variants
-- | Represents a response of the operation
-- postTransfersIdReversals.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostTransfersIdReversalsResponseError
-- is used.
data PostTransfersIdReversalsResponse
-- | Means either no matching case available or a parse error
PostTransfersIdReversalsResponseError :: String -> PostTransfersIdReversalsResponse
-- | Successful response.
PostTransfersIdReversalsResponse200 :: TransferReversal -> PostTransfersIdReversalsResponse
-- | Error response.
PostTransfersIdReversalsResponseDefault :: Error -> PostTransfersIdReversalsResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostTransfersIdReversals.PostTransfersIdReversalsRequestBodyMetadata'Variants
instance GHC.Show.Show StripeAPI.Operations.PostTransfersIdReversals.PostTransfersIdReversalsRequestBodyMetadata'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostTransfersIdReversals.PostTransfersIdReversalsRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostTransfersIdReversals.PostTransfersIdReversalsRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostTransfersIdReversals.PostTransfersIdReversalsResponse
instance GHC.Show.Show StripeAPI.Operations.PostTransfersIdReversals.PostTransfersIdReversalsResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostTransfersIdReversals.PostTransfersIdReversalsRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostTransfersIdReversals.PostTransfersIdReversalsRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostTransfersIdReversals.PostTransfersIdReversalsRequestBodyMetadata'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostTransfersIdReversals.PostTransfersIdReversalsRequestBodyMetadata'Variants
-- | Contains the different functions to run the operation postTransfers
module StripeAPI.Operations.PostTransfers
-- |
-- POST /v1/transfers
--
--
-- <p>To send funds from your Stripe account to a connected
-- account, you create a new transfer object. Your <a
-- href="#balance">Stripe balance</a> must be able to cover the
-- transfer amount, or you’ll receive an “Insufficient Funds”
-- error.</p>
postTransfers :: forall m. MonadHTTP m => PostTransfersRequestBody -> ClientT m (Response PostTransfersResponse)
-- | Defines the object schema located at
-- paths./v1/transfers.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostTransfersRequestBody
PostTransfersRequestBody :: Maybe Int -> Text -> Maybe Text -> Text -> Maybe [Text] -> Maybe Object -> Maybe Text -> Maybe PostTransfersRequestBodySourceType' -> Maybe Text -> PostTransfersRequestBody
-- | amount: A positive integer in %s representing how much to transfer.
[postTransfersRequestBodyAmount] :: PostTransfersRequestBody -> Maybe Int
-- | currency: 3-letter ISO code for currency.
[postTransfersRequestBodyCurrency] :: PostTransfersRequestBody -> Text
-- | description: An arbitrary string attached to the object. Often useful
-- for displaying to users.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTransfersRequestBodyDescription] :: PostTransfersRequestBody -> Maybe Text
-- | destination: The ID of a connected Stripe account. <a
-- href="/docs/connect/charges-transfers">See the Connect
-- documentation</a> for details.
[postTransfersRequestBodyDestination] :: PostTransfersRequestBody -> Text
-- | expand: Specifies which fields in the response should be expanded.
[postTransfersRequestBodyExpand] :: PostTransfersRequestBody -> Maybe [Text]
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postTransfersRequestBodyMetadata] :: PostTransfersRequestBody -> Maybe Object
-- | source_transaction: You can use this parameter to transfer funds from
-- a charge before they are added to your available balance. A pending
-- balance will transfer immediately but the funds will not become
-- available until the original charge becomes available. See the
-- Connect documentation for details.
[postTransfersRequestBodySourceTransaction] :: PostTransfersRequestBody -> Maybe Text
-- | source_type: The source balance to use for this transfer. One of
-- `bank_account`, `card`, or `fpx`. For most users, this will default to
-- `card`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTransfersRequestBodySourceType] :: PostTransfersRequestBody -> Maybe PostTransfersRequestBodySourceType'
-- | transfer_group: A string that identifies this transaction as part of a
-- group. See the Connect documentation for details.
[postTransfersRequestBodyTransferGroup] :: PostTransfersRequestBody -> Maybe Text
-- | Create a new PostTransfersRequestBody with all required fields.
mkPostTransfersRequestBody :: Text -> Text -> PostTransfersRequestBody
-- | Defines the enum schema located at
-- paths./v1/transfers.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.source_type
-- in the specification.
--
-- The source balance to use for this transfer. One of `bank_account`,
-- `card`, or `fpx`. For most users, this will default to `card`.
data PostTransfersRequestBodySourceType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostTransfersRequestBodySourceType'Other :: Value -> PostTransfersRequestBodySourceType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostTransfersRequestBodySourceType'Typed :: Text -> PostTransfersRequestBodySourceType'
-- | Represents the JSON value "bank_account"
PostTransfersRequestBodySourceType'EnumBankAccount :: PostTransfersRequestBodySourceType'
-- | Represents the JSON value "card"
PostTransfersRequestBodySourceType'EnumCard :: PostTransfersRequestBodySourceType'
-- | Represents the JSON value "fpx"
PostTransfersRequestBodySourceType'EnumFpx :: PostTransfersRequestBodySourceType'
-- | Represents a response of the operation postTransfers.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostTransfersResponseError is used.
data PostTransfersResponse
-- | Means either no matching case available or a parse error
PostTransfersResponseError :: String -> PostTransfersResponse
-- | Successful response.
PostTransfersResponse200 :: Transfer -> PostTransfersResponse
-- | Error response.
PostTransfersResponseDefault :: Error -> PostTransfersResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostTransfers.PostTransfersRequestBodySourceType'
instance GHC.Show.Show StripeAPI.Operations.PostTransfers.PostTransfersRequestBodySourceType'
instance GHC.Classes.Eq StripeAPI.Operations.PostTransfers.PostTransfersRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostTransfers.PostTransfersRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostTransfers.PostTransfersResponse
instance GHC.Show.Show StripeAPI.Operations.PostTransfers.PostTransfersResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostTransfers.PostTransfersRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostTransfers.PostTransfersRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostTransfers.PostTransfersRequestBodySourceType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostTransfers.PostTransfersRequestBodySourceType'
-- | Contains the different functions to run the operation
-- postTopupsTopupCancel
module StripeAPI.Operations.PostTopupsTopupCancel
-- |
-- POST /v1/topups/{topup}/cancel
--
--
-- <p>Cancels a top-up. Only pending top-ups can be
-- canceled.</p>
postTopupsTopupCancel :: forall m. MonadHTTP m => Text -> Maybe PostTopupsTopupCancelRequestBody -> ClientT m (Response PostTopupsTopupCancelResponse)
-- | Defines the object schema located at
-- paths./v1/topups/{topup}/cancel.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostTopupsTopupCancelRequestBody
PostTopupsTopupCancelRequestBody :: Maybe [Text] -> PostTopupsTopupCancelRequestBody
-- | expand: Specifies which fields in the response should be expanded.
[postTopupsTopupCancelRequestBodyExpand] :: PostTopupsTopupCancelRequestBody -> Maybe [Text]
-- | Create a new PostTopupsTopupCancelRequestBody with all required
-- fields.
mkPostTopupsTopupCancelRequestBody :: PostTopupsTopupCancelRequestBody
-- | Represents a response of the operation postTopupsTopupCancel.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostTopupsTopupCancelResponseError is
-- used.
data PostTopupsTopupCancelResponse
-- | Means either no matching case available or a parse error
PostTopupsTopupCancelResponseError :: String -> PostTopupsTopupCancelResponse
-- | Successful response.
PostTopupsTopupCancelResponse200 :: Topup -> PostTopupsTopupCancelResponse
-- | Error response.
PostTopupsTopupCancelResponseDefault :: Error -> PostTopupsTopupCancelResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostTopupsTopupCancel.PostTopupsTopupCancelRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostTopupsTopupCancel.PostTopupsTopupCancelRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostTopupsTopupCancel.PostTopupsTopupCancelResponse
instance GHC.Show.Show StripeAPI.Operations.PostTopupsTopupCancel.PostTopupsTopupCancelResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostTopupsTopupCancel.PostTopupsTopupCancelRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostTopupsTopupCancel.PostTopupsTopupCancelRequestBody
-- | Contains the different functions to run the operation postTopupsTopup
module StripeAPI.Operations.PostTopupsTopup
-- |
-- POST /v1/topups/{topup}
--
--
-- <p>Updates the metadata of a top-up. Other top-up details are
-- not editable by design.</p>
postTopupsTopup :: forall m. MonadHTTP m => Text -> Maybe PostTopupsTopupRequestBody -> ClientT m (Response PostTopupsTopupResponse)
-- | Defines the object schema located at
-- paths./v1/topups/{topup}.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostTopupsTopupRequestBody
PostTopupsTopupRequestBody :: Maybe Text -> Maybe [Text] -> Maybe PostTopupsTopupRequestBodyMetadata'Variants -> PostTopupsTopupRequestBody
-- | description: An arbitrary string attached to the object. Often useful
-- for displaying to users.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTopupsTopupRequestBodyDescription] :: PostTopupsTopupRequestBody -> Maybe Text
-- | expand: Specifies which fields in the response should be expanded.
[postTopupsTopupRequestBodyExpand] :: PostTopupsTopupRequestBody -> Maybe [Text]
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postTopupsTopupRequestBodyMetadata] :: PostTopupsTopupRequestBody -> Maybe PostTopupsTopupRequestBodyMetadata'Variants
-- | Create a new PostTopupsTopupRequestBody with all required
-- fields.
mkPostTopupsTopupRequestBody :: PostTopupsTopupRequestBody
-- | Defines the oneOf schema located at
-- paths./v1/topups/{topup}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.metadata.anyOf
-- in the specification.
--
-- Set of key-value pairs that you can attach to an object. This
-- can be useful for storing additional information about the object in a
-- structured format. Individual keys can be unset by posting an empty
-- value to them. All keys can be unset by posting an empty value to
-- `metadata`.
data PostTopupsTopupRequestBodyMetadata'Variants
-- | Represents the JSON value ""
PostTopupsTopupRequestBodyMetadata'EmptyString :: PostTopupsTopupRequestBodyMetadata'Variants
PostTopupsTopupRequestBodyMetadata'Object :: Object -> PostTopupsTopupRequestBodyMetadata'Variants
-- | Represents a response of the operation postTopupsTopup.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostTopupsTopupResponseError is used.
data PostTopupsTopupResponse
-- | Means either no matching case available or a parse error
PostTopupsTopupResponseError :: String -> PostTopupsTopupResponse
-- | Successful response.
PostTopupsTopupResponse200 :: Topup -> PostTopupsTopupResponse
-- | Error response.
PostTopupsTopupResponseDefault :: Error -> PostTopupsTopupResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostTopupsTopup.PostTopupsTopupRequestBodyMetadata'Variants
instance GHC.Show.Show StripeAPI.Operations.PostTopupsTopup.PostTopupsTopupRequestBodyMetadata'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostTopupsTopup.PostTopupsTopupRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostTopupsTopup.PostTopupsTopupRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostTopupsTopup.PostTopupsTopupResponse
instance GHC.Show.Show StripeAPI.Operations.PostTopupsTopup.PostTopupsTopupResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostTopupsTopup.PostTopupsTopupRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostTopupsTopup.PostTopupsTopupRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostTopupsTopup.PostTopupsTopupRequestBodyMetadata'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostTopupsTopup.PostTopupsTopupRequestBodyMetadata'Variants
-- | Contains the different functions to run the operation postTopups
module StripeAPI.Operations.PostTopups
-- |
-- POST /v1/topups
--
--
-- <p>Top up the balance of an account</p>
postTopups :: forall m. MonadHTTP m => PostTopupsRequestBody -> ClientT m (Response PostTopupsResponse)
-- | Defines the object schema located at
-- paths./v1/topups.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostTopupsRequestBody
PostTopupsRequestBody :: Int -> Text -> Maybe Text -> Maybe [Text] -> Maybe PostTopupsRequestBodyMetadata'Variants -> Maybe Text -> Maybe Text -> Maybe Text -> PostTopupsRequestBody
-- | amount: A positive integer representing how much to transfer.
[postTopupsRequestBodyAmount] :: PostTopupsRequestBody -> Int
-- | currency: Three-letter ISO currency code, in lowercase. Must be
-- a supported currency.
[postTopupsRequestBodyCurrency] :: PostTopupsRequestBody -> Text
-- | description: An arbitrary string attached to the object. Often useful
-- for displaying to users.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTopupsRequestBodyDescription] :: PostTopupsRequestBody -> Maybe Text
-- | expand: Specifies which fields in the response should be expanded.
[postTopupsRequestBodyExpand] :: PostTopupsRequestBody -> Maybe [Text]
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postTopupsRequestBodyMetadata] :: PostTopupsRequestBody -> Maybe PostTopupsRequestBodyMetadata'Variants
-- | source: The ID of a source to transfer funds from. For most users,
-- this should be left unspecified which will use the bank account that
-- was set up in the dashboard for the specified currency. In test mode,
-- this can be a test bank token (see Testing Top-ups).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTopupsRequestBodySource] :: PostTopupsRequestBody -> Maybe Text
-- | statement_descriptor: Extra information about a top-up for the
-- source's bank statement. Limited to 15 ASCII characters.
--
-- Constraints:
--
--
-- - Maximum length of 15
--
[postTopupsRequestBodyStatementDescriptor] :: PostTopupsRequestBody -> Maybe Text
-- | transfer_group: A string that identifies this top-up as part of a
-- group.
[postTopupsRequestBodyTransferGroup] :: PostTopupsRequestBody -> Maybe Text
-- | Create a new PostTopupsRequestBody with all required fields.
mkPostTopupsRequestBody :: Int -> Text -> PostTopupsRequestBody
-- | Defines the oneOf schema located at
-- paths./v1/topups.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.metadata.anyOf
-- in the specification.
--
-- Set of key-value pairs that you can attach to an object. This
-- can be useful for storing additional information about the object in a
-- structured format. Individual keys can be unset by posting an empty
-- value to them. All keys can be unset by posting an empty value to
-- `metadata`.
data PostTopupsRequestBodyMetadata'Variants
-- | Represents the JSON value ""
PostTopupsRequestBodyMetadata'EmptyString :: PostTopupsRequestBodyMetadata'Variants
PostTopupsRequestBodyMetadata'Object :: Object -> PostTopupsRequestBodyMetadata'Variants
-- | Represents a response of the operation postTopups.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostTopupsResponseError is used.
data PostTopupsResponse
-- | Means either no matching case available or a parse error
PostTopupsResponseError :: String -> PostTopupsResponse
-- | Successful response.
PostTopupsResponse200 :: Topup -> PostTopupsResponse
-- | Error response.
PostTopupsResponseDefault :: Error -> PostTopupsResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostTopups.PostTopupsRequestBodyMetadata'Variants
instance GHC.Show.Show StripeAPI.Operations.PostTopups.PostTopupsRequestBodyMetadata'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostTopups.PostTopupsRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostTopups.PostTopupsRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostTopups.PostTopupsResponse
instance GHC.Show.Show StripeAPI.Operations.PostTopups.PostTopupsResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostTopups.PostTopupsRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostTopups.PostTopupsRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostTopups.PostTopupsRequestBodyMetadata'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostTopups.PostTopupsRequestBodyMetadata'Variants
-- | Contains the different functions to run the operation postTokens
module StripeAPI.Operations.PostTokens
-- |
-- POST /v1/tokens
--
--
-- <p>Creates a single-use token that represents a bank account’s
-- details. This token can be used with any API method in place of a bank
-- account dictionary. This token can be used only once, by attaching it
-- to a <a href="#accounts">Custom account</a>.</p>
postTokens :: forall m. MonadHTTP m => Maybe PostTokensRequestBody -> ClientT m (Response PostTokensResponse)
-- | Defines the object schema located at
-- paths./v1/tokens.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostTokensRequestBody
PostTokensRequestBody :: Maybe PostTokensRequestBodyAccount' -> Maybe PostTokensRequestBodyBankAccount' -> Maybe PostTokensRequestBodyCard'Variants -> Maybe Text -> Maybe PostTokensRequestBodyCvcUpdate' -> Maybe [Text] -> Maybe PostTokensRequestBodyPerson' -> Maybe PostTokensRequestBodyPii' -> PostTokensRequestBody
-- | account: Information for the account this token will represent.
[postTokensRequestBodyAccount] :: PostTokensRequestBody -> Maybe PostTokensRequestBodyAccount'
-- | bank_account: The bank account this token will represent.
[postTokensRequestBodyBankAccount] :: PostTokensRequestBody -> Maybe PostTokensRequestBodyBankAccount'
-- | card
[postTokensRequestBodyCard] :: PostTokensRequestBody -> Maybe PostTokensRequestBodyCard'Variants
-- | customer: The customer (owned by the application's account) for which
-- to create a token. This can be used only with an OAuth access
-- token or Stripe-Account header. For more details, see
-- Cloning Saved Payment Methods.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTokensRequestBodyCustomer] :: PostTokensRequestBody -> Maybe Text
-- | cvc_update: The updated CVC value this token will represent.
[postTokensRequestBodyCvcUpdate] :: PostTokensRequestBody -> Maybe PostTokensRequestBodyCvcUpdate'
-- | expand: Specifies which fields in the response should be expanded.
[postTokensRequestBodyExpand] :: PostTokensRequestBody -> Maybe [Text]
-- | person: Information for the person this token will represent.
[postTokensRequestBodyPerson] :: PostTokensRequestBody -> Maybe PostTokensRequestBodyPerson'
-- | pii: The PII this token will represent.
[postTokensRequestBodyPii] :: PostTokensRequestBody -> Maybe PostTokensRequestBodyPii'
-- | Create a new PostTokensRequestBody with all required fields.
mkPostTokensRequestBody :: PostTokensRequestBody
-- | Defines the object schema located at
-- paths./v1/tokens.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.account
-- in the specification.
--
-- Information for the account this token will represent.
data PostTokensRequestBodyAccount'
PostTokensRequestBodyAccount' :: Maybe PostTokensRequestBodyAccount'BusinessType' -> Maybe PostTokensRequestBodyAccount'Company' -> Maybe PostTokensRequestBodyAccount'Individual' -> Maybe Bool -> PostTokensRequestBodyAccount'
-- | business_type
[postTokensRequestBodyAccount'BusinessType] :: PostTokensRequestBodyAccount' -> Maybe PostTokensRequestBodyAccount'BusinessType'
-- | company
[postTokensRequestBodyAccount'Company] :: PostTokensRequestBodyAccount' -> Maybe PostTokensRequestBodyAccount'Company'
-- | individual
[postTokensRequestBodyAccount'Individual] :: PostTokensRequestBodyAccount' -> Maybe PostTokensRequestBodyAccount'Individual'
-- | tos_shown_and_accepted
[postTokensRequestBodyAccount'TosShownAndAccepted] :: PostTokensRequestBodyAccount' -> Maybe Bool
-- | Create a new PostTokensRequestBodyAccount' with all required
-- fields.
mkPostTokensRequestBodyAccount' :: PostTokensRequestBodyAccount'
-- | Defines the enum schema located at
-- paths./v1/tokens.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.account.properties.business_type
-- in the specification.
data PostTokensRequestBodyAccount'BusinessType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostTokensRequestBodyAccount'BusinessType'Other :: Value -> PostTokensRequestBodyAccount'BusinessType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostTokensRequestBodyAccount'BusinessType'Typed :: Text -> PostTokensRequestBodyAccount'BusinessType'
-- | Represents the JSON value "company"
PostTokensRequestBodyAccount'BusinessType'EnumCompany :: PostTokensRequestBodyAccount'BusinessType'
-- | Represents the JSON value "government_entity"
PostTokensRequestBodyAccount'BusinessType'EnumGovernmentEntity :: PostTokensRequestBodyAccount'BusinessType'
-- | Represents the JSON value "individual"
PostTokensRequestBodyAccount'BusinessType'EnumIndividual :: PostTokensRequestBodyAccount'BusinessType'
-- | Represents the JSON value "non_profit"
PostTokensRequestBodyAccount'BusinessType'EnumNonProfit :: PostTokensRequestBodyAccount'BusinessType'
-- | Defines the object schema located at
-- paths./v1/tokens.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.account.properties.company
-- in the specification.
data PostTokensRequestBodyAccount'Company'
PostTokensRequestBodyAccount'Company' :: Maybe PostTokensRequestBodyAccount'Company'Address' -> Maybe PostTokensRequestBodyAccount'Company'AddressKana' -> Maybe PostTokensRequestBodyAccount'Company'AddressKanji' -> Maybe Bool -> Maybe Bool -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe Text -> Maybe PostTokensRequestBodyAccount'Company'Structure' -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe PostTokensRequestBodyAccount'Company'Verification' -> PostTokensRequestBodyAccount'Company'
-- | address
[postTokensRequestBodyAccount'Company'Address] :: PostTokensRequestBodyAccount'Company' -> Maybe PostTokensRequestBodyAccount'Company'Address'
-- | address_kana
[postTokensRequestBodyAccount'Company'AddressKana] :: PostTokensRequestBodyAccount'Company' -> Maybe PostTokensRequestBodyAccount'Company'AddressKana'
-- | address_kanji
[postTokensRequestBodyAccount'Company'AddressKanji] :: PostTokensRequestBodyAccount'Company' -> Maybe PostTokensRequestBodyAccount'Company'AddressKanji'
-- | directors_provided
[postTokensRequestBodyAccount'Company'DirectorsProvided] :: PostTokensRequestBodyAccount'Company' -> Maybe Bool
-- | executives_provided
[postTokensRequestBodyAccount'Company'ExecutivesProvided] :: PostTokensRequestBodyAccount'Company' -> Maybe Bool
-- | name
--
-- Constraints:
--
--
-- - Maximum length of 100
--
[postTokensRequestBodyAccount'Company'Name] :: PostTokensRequestBodyAccount'Company' -> Maybe Text
-- | name_kana
--
-- Constraints:
--
--
-- - Maximum length of 100
--
[postTokensRequestBodyAccount'Company'NameKana] :: PostTokensRequestBodyAccount'Company' -> Maybe Text
-- | name_kanji
--
-- Constraints:
--
--
-- - Maximum length of 100
--
[postTokensRequestBodyAccount'Company'NameKanji] :: PostTokensRequestBodyAccount'Company' -> Maybe Text
-- | owners_provided
[postTokensRequestBodyAccount'Company'OwnersProvided] :: PostTokensRequestBodyAccount'Company' -> Maybe Bool
-- | phone
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTokensRequestBodyAccount'Company'Phone] :: PostTokensRequestBodyAccount'Company' -> Maybe Text
-- | registration_number
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTokensRequestBodyAccount'Company'RegistrationNumber] :: PostTokensRequestBodyAccount'Company' -> Maybe Text
-- | structure
[postTokensRequestBodyAccount'Company'Structure] :: PostTokensRequestBodyAccount'Company' -> Maybe PostTokensRequestBodyAccount'Company'Structure'
-- | tax_id
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTokensRequestBodyAccount'Company'TaxId] :: PostTokensRequestBodyAccount'Company' -> Maybe Text
-- | tax_id_registrar
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTokensRequestBodyAccount'Company'TaxIdRegistrar] :: PostTokensRequestBodyAccount'Company' -> Maybe Text
-- | vat_id
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTokensRequestBodyAccount'Company'VatId] :: PostTokensRequestBodyAccount'Company' -> Maybe Text
-- | verification
[postTokensRequestBodyAccount'Company'Verification] :: PostTokensRequestBodyAccount'Company' -> Maybe PostTokensRequestBodyAccount'Company'Verification'
-- | Create a new PostTokensRequestBodyAccount'Company' with all
-- required fields.
mkPostTokensRequestBodyAccount'Company' :: PostTokensRequestBodyAccount'Company'
-- | Defines the object schema located at
-- paths./v1/tokens.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.account.properties.company.properties.address
-- in the specification.
data PostTokensRequestBodyAccount'Company'Address'
PostTokensRequestBodyAccount'Company'Address' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PostTokensRequestBodyAccount'Company'Address'
-- | city
--
-- Constraints:
--
--
-- - Maximum length of 100
--
[postTokensRequestBodyAccount'Company'Address'City] :: PostTokensRequestBodyAccount'Company'Address' -> Maybe Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTokensRequestBodyAccount'Company'Address'Country] :: PostTokensRequestBodyAccount'Company'Address' -> Maybe Text
-- | line1
--
-- Constraints:
--
--
-- - Maximum length of 200
--
[postTokensRequestBodyAccount'Company'Address'Line1] :: PostTokensRequestBodyAccount'Company'Address' -> Maybe Text
-- | line2
--
-- Constraints:
--
--
-- - Maximum length of 200
--
[postTokensRequestBodyAccount'Company'Address'Line2] :: PostTokensRequestBodyAccount'Company'Address' -> Maybe Text
-- | postal_code
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTokensRequestBodyAccount'Company'Address'PostalCode] :: PostTokensRequestBodyAccount'Company'Address' -> Maybe Text
-- | state
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTokensRequestBodyAccount'Company'Address'State] :: PostTokensRequestBodyAccount'Company'Address' -> Maybe Text
-- | Create a new PostTokensRequestBodyAccount'Company'Address' with
-- all required fields.
mkPostTokensRequestBodyAccount'Company'Address' :: PostTokensRequestBodyAccount'Company'Address'
-- | Defines the object schema located at
-- paths./v1/tokens.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.account.properties.company.properties.address_kana
-- in the specification.
data PostTokensRequestBodyAccount'Company'AddressKana'
PostTokensRequestBodyAccount'Company'AddressKana' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PostTokensRequestBodyAccount'Company'AddressKana'
-- | city
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTokensRequestBodyAccount'Company'AddressKana'City] :: PostTokensRequestBodyAccount'Company'AddressKana' -> Maybe Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTokensRequestBodyAccount'Company'AddressKana'Country] :: PostTokensRequestBodyAccount'Company'AddressKana' -> Maybe Text
-- | line1
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTokensRequestBodyAccount'Company'AddressKana'Line1] :: PostTokensRequestBodyAccount'Company'AddressKana' -> Maybe Text
-- | line2
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTokensRequestBodyAccount'Company'AddressKana'Line2] :: PostTokensRequestBodyAccount'Company'AddressKana' -> Maybe Text
-- | postal_code
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTokensRequestBodyAccount'Company'AddressKana'PostalCode] :: PostTokensRequestBodyAccount'Company'AddressKana' -> Maybe Text
-- | state
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTokensRequestBodyAccount'Company'AddressKana'State] :: PostTokensRequestBodyAccount'Company'AddressKana' -> Maybe Text
-- | town
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTokensRequestBodyAccount'Company'AddressKana'Town] :: PostTokensRequestBodyAccount'Company'AddressKana' -> Maybe Text
-- | Create a new PostTokensRequestBodyAccount'Company'AddressKana'
-- with all required fields.
mkPostTokensRequestBodyAccount'Company'AddressKana' :: PostTokensRequestBodyAccount'Company'AddressKana'
-- | Defines the object schema located at
-- paths./v1/tokens.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.account.properties.company.properties.address_kanji
-- in the specification.
data PostTokensRequestBodyAccount'Company'AddressKanji'
PostTokensRequestBodyAccount'Company'AddressKanji' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PostTokensRequestBodyAccount'Company'AddressKanji'
-- | city
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTokensRequestBodyAccount'Company'AddressKanji'City] :: PostTokensRequestBodyAccount'Company'AddressKanji' -> Maybe Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTokensRequestBodyAccount'Company'AddressKanji'Country] :: PostTokensRequestBodyAccount'Company'AddressKanji' -> Maybe Text
-- | line1
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTokensRequestBodyAccount'Company'AddressKanji'Line1] :: PostTokensRequestBodyAccount'Company'AddressKanji' -> Maybe Text
-- | line2
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTokensRequestBodyAccount'Company'AddressKanji'Line2] :: PostTokensRequestBodyAccount'Company'AddressKanji' -> Maybe Text
-- | postal_code
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTokensRequestBodyAccount'Company'AddressKanji'PostalCode] :: PostTokensRequestBodyAccount'Company'AddressKanji' -> Maybe Text
-- | state
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTokensRequestBodyAccount'Company'AddressKanji'State] :: PostTokensRequestBodyAccount'Company'AddressKanji' -> Maybe Text
-- | town
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTokensRequestBodyAccount'Company'AddressKanji'Town] :: PostTokensRequestBodyAccount'Company'AddressKanji' -> Maybe Text
-- | Create a new PostTokensRequestBodyAccount'Company'AddressKanji'
-- with all required fields.
mkPostTokensRequestBodyAccount'Company'AddressKanji' :: PostTokensRequestBodyAccount'Company'AddressKanji'
-- | Defines the enum schema located at
-- paths./v1/tokens.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.account.properties.company.properties.structure
-- in the specification.
data PostTokensRequestBodyAccount'Company'Structure'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostTokensRequestBodyAccount'Company'Structure'Other :: Value -> PostTokensRequestBodyAccount'Company'Structure'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostTokensRequestBodyAccount'Company'Structure'Typed :: Text -> PostTokensRequestBodyAccount'Company'Structure'
-- | Represents the JSON value ""
PostTokensRequestBodyAccount'Company'Structure'EnumEmptyString :: PostTokensRequestBodyAccount'Company'Structure'
-- | Represents the JSON value "free_zone_establishment"
PostTokensRequestBodyAccount'Company'Structure'EnumFreeZoneEstablishment :: PostTokensRequestBodyAccount'Company'Structure'
-- | Represents the JSON value "free_zone_llc"
PostTokensRequestBodyAccount'Company'Structure'EnumFreeZoneLlc :: PostTokensRequestBodyAccount'Company'Structure'
-- | Represents the JSON value "government_instrumentality"
PostTokensRequestBodyAccount'Company'Structure'EnumGovernmentInstrumentality :: PostTokensRequestBodyAccount'Company'Structure'
-- | Represents the JSON value "governmental_unit"
PostTokensRequestBodyAccount'Company'Structure'EnumGovernmentalUnit :: PostTokensRequestBodyAccount'Company'Structure'
-- | Represents the JSON value "incorporated_non_profit"
PostTokensRequestBodyAccount'Company'Structure'EnumIncorporatedNonProfit :: PostTokensRequestBodyAccount'Company'Structure'
-- | Represents the JSON value "limited_liability_partnership"
PostTokensRequestBodyAccount'Company'Structure'EnumLimitedLiabilityPartnership :: PostTokensRequestBodyAccount'Company'Structure'
-- | Represents the JSON value "llc"
PostTokensRequestBodyAccount'Company'Structure'EnumLlc :: PostTokensRequestBodyAccount'Company'Structure'
-- | Represents the JSON value "multi_member_llc"
PostTokensRequestBodyAccount'Company'Structure'EnumMultiMemberLlc :: PostTokensRequestBodyAccount'Company'Structure'
-- | Represents the JSON value "private_company"
PostTokensRequestBodyAccount'Company'Structure'EnumPrivateCompany :: PostTokensRequestBodyAccount'Company'Structure'
-- | Represents the JSON value "private_corporation"
PostTokensRequestBodyAccount'Company'Structure'EnumPrivateCorporation :: PostTokensRequestBodyAccount'Company'Structure'
-- | Represents the JSON value "private_partnership"
PostTokensRequestBodyAccount'Company'Structure'EnumPrivatePartnership :: PostTokensRequestBodyAccount'Company'Structure'
-- | Represents the JSON value "public_company"
PostTokensRequestBodyAccount'Company'Structure'EnumPublicCompany :: PostTokensRequestBodyAccount'Company'Structure'
-- | Represents the JSON value "public_corporation"
PostTokensRequestBodyAccount'Company'Structure'EnumPublicCorporation :: PostTokensRequestBodyAccount'Company'Structure'
-- | Represents the JSON value "public_partnership"
PostTokensRequestBodyAccount'Company'Structure'EnumPublicPartnership :: PostTokensRequestBodyAccount'Company'Structure'
-- | Represents the JSON value "single_member_llc"
PostTokensRequestBodyAccount'Company'Structure'EnumSingleMemberLlc :: PostTokensRequestBodyAccount'Company'Structure'
-- | Represents the JSON value "sole_establishment"
PostTokensRequestBodyAccount'Company'Structure'EnumSoleEstablishment :: PostTokensRequestBodyAccount'Company'Structure'
-- | Represents the JSON value "sole_proprietorship"
PostTokensRequestBodyAccount'Company'Structure'EnumSoleProprietorship :: PostTokensRequestBodyAccount'Company'Structure'
-- | Represents the JSON value
-- "tax_exempt_government_instrumentality"
PostTokensRequestBodyAccount'Company'Structure'EnumTaxExemptGovernmentInstrumentality :: PostTokensRequestBodyAccount'Company'Structure'
-- | Represents the JSON value "unincorporated_association"
PostTokensRequestBodyAccount'Company'Structure'EnumUnincorporatedAssociation :: PostTokensRequestBodyAccount'Company'Structure'
-- | Represents the JSON value "unincorporated_non_profit"
PostTokensRequestBodyAccount'Company'Structure'EnumUnincorporatedNonProfit :: PostTokensRequestBodyAccount'Company'Structure'
-- | Defines the object schema located at
-- paths./v1/tokens.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.account.properties.company.properties.verification
-- in the specification.
data PostTokensRequestBodyAccount'Company'Verification'
PostTokensRequestBodyAccount'Company'Verification' :: Maybe PostTokensRequestBodyAccount'Company'Verification'Document' -> PostTokensRequestBodyAccount'Company'Verification'
-- | document
[postTokensRequestBodyAccount'Company'Verification'Document] :: PostTokensRequestBodyAccount'Company'Verification' -> Maybe PostTokensRequestBodyAccount'Company'Verification'Document'
-- | Create a new PostTokensRequestBodyAccount'Company'Verification'
-- with all required fields.
mkPostTokensRequestBodyAccount'Company'Verification' :: PostTokensRequestBodyAccount'Company'Verification'
-- | Defines the object schema located at
-- paths./v1/tokens.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.account.properties.company.properties.verification.properties.document
-- in the specification.
data PostTokensRequestBodyAccount'Company'Verification'Document'
PostTokensRequestBodyAccount'Company'Verification'Document' :: Maybe Text -> Maybe Text -> PostTokensRequestBodyAccount'Company'Verification'Document'
-- | back
--
-- Constraints:
--
--
-- - Maximum length of 500
--
[postTokensRequestBodyAccount'Company'Verification'Document'Back] :: PostTokensRequestBodyAccount'Company'Verification'Document' -> Maybe Text
-- | front
--
-- Constraints:
--
--
-- - Maximum length of 500
--
[postTokensRequestBodyAccount'Company'Verification'Document'Front] :: PostTokensRequestBodyAccount'Company'Verification'Document' -> Maybe Text
-- | Create a new
-- PostTokensRequestBodyAccount'Company'Verification'Document'
-- with all required fields.
mkPostTokensRequestBodyAccount'Company'Verification'Document' :: PostTokensRequestBodyAccount'Company'Verification'Document'
-- | Defines the object schema located at
-- paths./v1/tokens.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.account.properties.individual
-- in the specification.
data PostTokensRequestBodyAccount'Individual'
PostTokensRequestBodyAccount'Individual' :: Maybe PostTokensRequestBodyAccount'Individual'Address' -> Maybe PostTokensRequestBodyAccount'Individual'AddressKana' -> Maybe PostTokensRequestBodyAccount'Individual'AddressKanji' -> Maybe PostTokensRequestBodyAccount'Individual'Dob'Variants -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe PostTokensRequestBodyAccount'Individual'Metadata'Variants -> Maybe Text -> Maybe PostTokensRequestBodyAccount'Individual'PoliticalExposure' -> Maybe Text -> Maybe PostTokensRequestBodyAccount'Individual'Verification' -> PostTokensRequestBodyAccount'Individual'
-- | address
[postTokensRequestBodyAccount'Individual'Address] :: PostTokensRequestBodyAccount'Individual' -> Maybe PostTokensRequestBodyAccount'Individual'Address'
-- | address_kana
[postTokensRequestBodyAccount'Individual'AddressKana] :: PostTokensRequestBodyAccount'Individual' -> Maybe PostTokensRequestBodyAccount'Individual'AddressKana'
-- | address_kanji
[postTokensRequestBodyAccount'Individual'AddressKanji] :: PostTokensRequestBodyAccount'Individual' -> Maybe PostTokensRequestBodyAccount'Individual'AddressKanji'
-- | dob
[postTokensRequestBodyAccount'Individual'Dob] :: PostTokensRequestBodyAccount'Individual' -> Maybe PostTokensRequestBodyAccount'Individual'Dob'Variants
-- | email
[postTokensRequestBodyAccount'Individual'Email] :: PostTokensRequestBodyAccount'Individual' -> Maybe Text
-- | first_name
--
-- Constraints:
--
--
-- - Maximum length of 100
--
[postTokensRequestBodyAccount'Individual'FirstName] :: PostTokensRequestBodyAccount'Individual' -> Maybe Text
-- | first_name_kana
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTokensRequestBodyAccount'Individual'FirstNameKana] :: PostTokensRequestBodyAccount'Individual' -> Maybe Text
-- | first_name_kanji
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTokensRequestBodyAccount'Individual'FirstNameKanji] :: PostTokensRequestBodyAccount'Individual' -> Maybe Text
-- | gender
[postTokensRequestBodyAccount'Individual'Gender] :: PostTokensRequestBodyAccount'Individual' -> Maybe Text
-- | id_number
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTokensRequestBodyAccount'Individual'IdNumber] :: PostTokensRequestBodyAccount'Individual' -> Maybe Text
-- | last_name
--
-- Constraints:
--
--
-- - Maximum length of 100
--
[postTokensRequestBodyAccount'Individual'LastName] :: PostTokensRequestBodyAccount'Individual' -> Maybe Text
-- | last_name_kana
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTokensRequestBodyAccount'Individual'LastNameKana] :: PostTokensRequestBodyAccount'Individual' -> Maybe Text
-- | last_name_kanji
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTokensRequestBodyAccount'Individual'LastNameKanji] :: PostTokensRequestBodyAccount'Individual' -> Maybe Text
-- | maiden_name
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTokensRequestBodyAccount'Individual'MaidenName] :: PostTokensRequestBodyAccount'Individual' -> Maybe Text
-- | metadata
[postTokensRequestBodyAccount'Individual'Metadata] :: PostTokensRequestBodyAccount'Individual' -> Maybe PostTokensRequestBodyAccount'Individual'Metadata'Variants
-- | phone
[postTokensRequestBodyAccount'Individual'Phone] :: PostTokensRequestBodyAccount'Individual' -> Maybe Text
-- | political_exposure
[postTokensRequestBodyAccount'Individual'PoliticalExposure] :: PostTokensRequestBodyAccount'Individual' -> Maybe PostTokensRequestBodyAccount'Individual'PoliticalExposure'
-- | ssn_last_4
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTokensRequestBodyAccount'Individual'SsnLast_4] :: PostTokensRequestBodyAccount'Individual' -> Maybe Text
-- | verification
[postTokensRequestBodyAccount'Individual'Verification] :: PostTokensRequestBodyAccount'Individual' -> Maybe PostTokensRequestBodyAccount'Individual'Verification'
-- | Create a new PostTokensRequestBodyAccount'Individual' with all
-- required fields.
mkPostTokensRequestBodyAccount'Individual' :: PostTokensRequestBodyAccount'Individual'
-- | Defines the object schema located at
-- paths./v1/tokens.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.account.properties.individual.properties.address
-- in the specification.
data PostTokensRequestBodyAccount'Individual'Address'
PostTokensRequestBodyAccount'Individual'Address' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PostTokensRequestBodyAccount'Individual'Address'
-- | city
--
-- Constraints:
--
--
-- - Maximum length of 100
--
[postTokensRequestBodyAccount'Individual'Address'City] :: PostTokensRequestBodyAccount'Individual'Address' -> Maybe Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTokensRequestBodyAccount'Individual'Address'Country] :: PostTokensRequestBodyAccount'Individual'Address' -> Maybe Text
-- | line1
--
-- Constraints:
--
--
-- - Maximum length of 200
--
[postTokensRequestBodyAccount'Individual'Address'Line1] :: PostTokensRequestBodyAccount'Individual'Address' -> Maybe Text
-- | line2
--
-- Constraints:
--
--
-- - Maximum length of 200
--
[postTokensRequestBodyAccount'Individual'Address'Line2] :: PostTokensRequestBodyAccount'Individual'Address' -> Maybe Text
-- | postal_code
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTokensRequestBodyAccount'Individual'Address'PostalCode] :: PostTokensRequestBodyAccount'Individual'Address' -> Maybe Text
-- | state
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTokensRequestBodyAccount'Individual'Address'State] :: PostTokensRequestBodyAccount'Individual'Address' -> Maybe Text
-- | Create a new PostTokensRequestBodyAccount'Individual'Address'
-- with all required fields.
mkPostTokensRequestBodyAccount'Individual'Address' :: PostTokensRequestBodyAccount'Individual'Address'
-- | Defines the object schema located at
-- paths./v1/tokens.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.account.properties.individual.properties.address_kana
-- in the specification.
data PostTokensRequestBodyAccount'Individual'AddressKana'
PostTokensRequestBodyAccount'Individual'AddressKana' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PostTokensRequestBodyAccount'Individual'AddressKana'
-- | city
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTokensRequestBodyAccount'Individual'AddressKana'City] :: PostTokensRequestBodyAccount'Individual'AddressKana' -> Maybe Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTokensRequestBodyAccount'Individual'AddressKana'Country] :: PostTokensRequestBodyAccount'Individual'AddressKana' -> Maybe Text
-- | line1
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTokensRequestBodyAccount'Individual'AddressKana'Line1] :: PostTokensRequestBodyAccount'Individual'AddressKana' -> Maybe Text
-- | line2
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTokensRequestBodyAccount'Individual'AddressKana'Line2] :: PostTokensRequestBodyAccount'Individual'AddressKana' -> Maybe Text
-- | postal_code
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTokensRequestBodyAccount'Individual'AddressKana'PostalCode] :: PostTokensRequestBodyAccount'Individual'AddressKana' -> Maybe Text
-- | state
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTokensRequestBodyAccount'Individual'AddressKana'State] :: PostTokensRequestBodyAccount'Individual'AddressKana' -> Maybe Text
-- | town
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTokensRequestBodyAccount'Individual'AddressKana'Town] :: PostTokensRequestBodyAccount'Individual'AddressKana' -> Maybe Text
-- | Create a new
-- PostTokensRequestBodyAccount'Individual'AddressKana' with all
-- required fields.
mkPostTokensRequestBodyAccount'Individual'AddressKana' :: PostTokensRequestBodyAccount'Individual'AddressKana'
-- | Defines the object schema located at
-- paths./v1/tokens.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.account.properties.individual.properties.address_kanji
-- in the specification.
data PostTokensRequestBodyAccount'Individual'AddressKanji'
PostTokensRequestBodyAccount'Individual'AddressKanji' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PostTokensRequestBodyAccount'Individual'AddressKanji'
-- | city
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTokensRequestBodyAccount'Individual'AddressKanji'City] :: PostTokensRequestBodyAccount'Individual'AddressKanji' -> Maybe Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTokensRequestBodyAccount'Individual'AddressKanji'Country] :: PostTokensRequestBodyAccount'Individual'AddressKanji' -> Maybe Text
-- | line1
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTokensRequestBodyAccount'Individual'AddressKanji'Line1] :: PostTokensRequestBodyAccount'Individual'AddressKanji' -> Maybe Text
-- | line2
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTokensRequestBodyAccount'Individual'AddressKanji'Line2] :: PostTokensRequestBodyAccount'Individual'AddressKanji' -> Maybe Text
-- | postal_code
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTokensRequestBodyAccount'Individual'AddressKanji'PostalCode] :: PostTokensRequestBodyAccount'Individual'AddressKanji' -> Maybe Text
-- | state
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTokensRequestBodyAccount'Individual'AddressKanji'State] :: PostTokensRequestBodyAccount'Individual'AddressKanji' -> Maybe Text
-- | town
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTokensRequestBodyAccount'Individual'AddressKanji'Town] :: PostTokensRequestBodyAccount'Individual'AddressKanji' -> Maybe Text
-- | Create a new
-- PostTokensRequestBodyAccount'Individual'AddressKanji' with all
-- required fields.
mkPostTokensRequestBodyAccount'Individual'AddressKanji' :: PostTokensRequestBodyAccount'Individual'AddressKanji'
-- | Defines the object schema located at
-- paths./v1/tokens.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.account.properties.individual.properties.dob.anyOf
-- in the specification.
data PostTokensRequestBodyAccount'Individual'Dob'OneOf1
PostTokensRequestBodyAccount'Individual'Dob'OneOf1 :: Int -> Int -> Int -> PostTokensRequestBodyAccount'Individual'Dob'OneOf1
-- | day
[postTokensRequestBodyAccount'Individual'Dob'OneOf1Day] :: PostTokensRequestBodyAccount'Individual'Dob'OneOf1 -> Int
-- | month
[postTokensRequestBodyAccount'Individual'Dob'OneOf1Month] :: PostTokensRequestBodyAccount'Individual'Dob'OneOf1 -> Int
-- | year
[postTokensRequestBodyAccount'Individual'Dob'OneOf1Year] :: PostTokensRequestBodyAccount'Individual'Dob'OneOf1 -> Int
-- | Create a new PostTokensRequestBodyAccount'Individual'Dob'OneOf1
-- with all required fields.
mkPostTokensRequestBodyAccount'Individual'Dob'OneOf1 :: Int -> Int -> Int -> PostTokensRequestBodyAccount'Individual'Dob'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/tokens.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.account.properties.individual.properties.dob.anyOf
-- in the specification.
data PostTokensRequestBodyAccount'Individual'Dob'Variants
-- | Represents the JSON value ""
PostTokensRequestBodyAccount'Individual'Dob'EmptyString :: PostTokensRequestBodyAccount'Individual'Dob'Variants
PostTokensRequestBodyAccount'Individual'Dob'PostTokensRequestBodyAccount'Individual'Dob'OneOf1 :: PostTokensRequestBodyAccount'Individual'Dob'OneOf1 -> PostTokensRequestBodyAccount'Individual'Dob'Variants
-- | Defines the oneOf schema located at
-- paths./v1/tokens.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.account.properties.individual.properties.metadata.anyOf
-- in the specification.
data PostTokensRequestBodyAccount'Individual'Metadata'Variants
-- | Represents the JSON value ""
PostTokensRequestBodyAccount'Individual'Metadata'EmptyString :: PostTokensRequestBodyAccount'Individual'Metadata'Variants
PostTokensRequestBodyAccount'Individual'Metadata'Object :: Object -> PostTokensRequestBodyAccount'Individual'Metadata'Variants
-- | Defines the enum schema located at
-- paths./v1/tokens.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.account.properties.individual.properties.political_exposure
-- in the specification.
data PostTokensRequestBodyAccount'Individual'PoliticalExposure'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostTokensRequestBodyAccount'Individual'PoliticalExposure'Other :: Value -> PostTokensRequestBodyAccount'Individual'PoliticalExposure'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostTokensRequestBodyAccount'Individual'PoliticalExposure'Typed :: Text -> PostTokensRequestBodyAccount'Individual'PoliticalExposure'
-- | Represents the JSON value "existing"
PostTokensRequestBodyAccount'Individual'PoliticalExposure'EnumExisting :: PostTokensRequestBodyAccount'Individual'PoliticalExposure'
-- | Represents the JSON value "none"
PostTokensRequestBodyAccount'Individual'PoliticalExposure'EnumNone :: PostTokensRequestBodyAccount'Individual'PoliticalExposure'
-- | Defines the object schema located at
-- paths./v1/tokens.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.account.properties.individual.properties.verification
-- in the specification.
data PostTokensRequestBodyAccount'Individual'Verification'
PostTokensRequestBodyAccount'Individual'Verification' :: Maybe PostTokensRequestBodyAccount'Individual'Verification'AdditionalDocument' -> Maybe PostTokensRequestBodyAccount'Individual'Verification'Document' -> PostTokensRequestBodyAccount'Individual'Verification'
-- | additional_document
[postTokensRequestBodyAccount'Individual'Verification'AdditionalDocument] :: PostTokensRequestBodyAccount'Individual'Verification' -> Maybe PostTokensRequestBodyAccount'Individual'Verification'AdditionalDocument'
-- | document
[postTokensRequestBodyAccount'Individual'Verification'Document] :: PostTokensRequestBodyAccount'Individual'Verification' -> Maybe PostTokensRequestBodyAccount'Individual'Verification'Document'
-- | Create a new
-- PostTokensRequestBodyAccount'Individual'Verification' with all
-- required fields.
mkPostTokensRequestBodyAccount'Individual'Verification' :: PostTokensRequestBodyAccount'Individual'Verification'
-- | Defines the object schema located at
-- paths./v1/tokens.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.account.properties.individual.properties.verification.properties.additional_document
-- in the specification.
data PostTokensRequestBodyAccount'Individual'Verification'AdditionalDocument'
PostTokensRequestBodyAccount'Individual'Verification'AdditionalDocument' :: Maybe Text -> Maybe Text -> PostTokensRequestBodyAccount'Individual'Verification'AdditionalDocument'
-- | back
--
-- Constraints:
--
--
-- - Maximum length of 500
--
[postTokensRequestBodyAccount'Individual'Verification'AdditionalDocument'Back] :: PostTokensRequestBodyAccount'Individual'Verification'AdditionalDocument' -> Maybe Text
-- | front
--
-- Constraints:
--
--
-- - Maximum length of 500
--
[postTokensRequestBodyAccount'Individual'Verification'AdditionalDocument'Front] :: PostTokensRequestBodyAccount'Individual'Verification'AdditionalDocument' -> Maybe Text
-- | Create a new
-- PostTokensRequestBodyAccount'Individual'Verification'AdditionalDocument'
-- with all required fields.
mkPostTokensRequestBodyAccount'Individual'Verification'AdditionalDocument' :: PostTokensRequestBodyAccount'Individual'Verification'AdditionalDocument'
-- | Defines the object schema located at
-- paths./v1/tokens.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.account.properties.individual.properties.verification.properties.document
-- in the specification.
data PostTokensRequestBodyAccount'Individual'Verification'Document'
PostTokensRequestBodyAccount'Individual'Verification'Document' :: Maybe Text -> Maybe Text -> PostTokensRequestBodyAccount'Individual'Verification'Document'
-- | back
--
-- Constraints:
--
--
-- - Maximum length of 500
--
[postTokensRequestBodyAccount'Individual'Verification'Document'Back] :: PostTokensRequestBodyAccount'Individual'Verification'Document' -> Maybe Text
-- | front
--
-- Constraints:
--
--
-- - Maximum length of 500
--
[postTokensRequestBodyAccount'Individual'Verification'Document'Front] :: PostTokensRequestBodyAccount'Individual'Verification'Document' -> Maybe Text
-- | Create a new
-- PostTokensRequestBodyAccount'Individual'Verification'Document'
-- with all required fields.
mkPostTokensRequestBodyAccount'Individual'Verification'Document' :: PostTokensRequestBodyAccount'Individual'Verification'Document'
-- | Defines the object schema located at
-- paths./v1/tokens.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.bank_account
-- in the specification.
--
-- The bank account this token will represent.
data PostTokensRequestBodyBankAccount'
PostTokensRequestBodyBankAccount' :: Maybe Text -> Maybe PostTokensRequestBodyBankAccount'AccountHolderType' -> Text -> Text -> Maybe Text -> Maybe Text -> PostTokensRequestBodyBankAccount'
-- | account_holder_name
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTokensRequestBodyBankAccount'AccountHolderName] :: PostTokensRequestBodyBankAccount' -> Maybe Text
-- | account_holder_type
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTokensRequestBodyBankAccount'AccountHolderType] :: PostTokensRequestBodyBankAccount' -> Maybe PostTokensRequestBodyBankAccount'AccountHolderType'
-- | account_number
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTokensRequestBodyBankAccount'AccountNumber] :: PostTokensRequestBodyBankAccount' -> Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTokensRequestBodyBankAccount'Country] :: PostTokensRequestBodyBankAccount' -> Text
-- | currency
[postTokensRequestBodyBankAccount'Currency] :: PostTokensRequestBodyBankAccount' -> Maybe Text
-- | routing_number
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTokensRequestBodyBankAccount'RoutingNumber] :: PostTokensRequestBodyBankAccount' -> Maybe Text
-- | Create a new PostTokensRequestBodyBankAccount' with all
-- required fields.
mkPostTokensRequestBodyBankAccount' :: Text -> Text -> PostTokensRequestBodyBankAccount'
-- | Defines the enum schema located at
-- paths./v1/tokens.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.bank_account.properties.account_holder_type
-- in the specification.
data PostTokensRequestBodyBankAccount'AccountHolderType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostTokensRequestBodyBankAccount'AccountHolderType'Other :: Value -> PostTokensRequestBodyBankAccount'AccountHolderType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostTokensRequestBodyBankAccount'AccountHolderType'Typed :: Text -> PostTokensRequestBodyBankAccount'AccountHolderType'
-- | Represents the JSON value "company"
PostTokensRequestBodyBankAccount'AccountHolderType'EnumCompany :: PostTokensRequestBodyBankAccount'AccountHolderType'
-- | Represents the JSON value "individual"
PostTokensRequestBodyBankAccount'AccountHolderType'EnumIndividual :: PostTokensRequestBodyBankAccount'AccountHolderType'
-- | Defines the object schema located at
-- paths./v1/tokens.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.card.anyOf
-- in the specification.
data PostTokensRequestBodyCard'OneOf1
PostTokensRequestBodyCard'OneOf1 :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Text -> Text -> Maybe Text -> Text -> PostTokensRequestBodyCard'OneOf1
-- | address_city
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTokensRequestBodyCard'OneOf1AddressCity] :: PostTokensRequestBodyCard'OneOf1 -> Maybe Text
-- | address_country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTokensRequestBodyCard'OneOf1AddressCountry] :: PostTokensRequestBodyCard'OneOf1 -> Maybe Text
-- | address_line1
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTokensRequestBodyCard'OneOf1AddressLine1] :: PostTokensRequestBodyCard'OneOf1 -> Maybe Text
-- | address_line2
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTokensRequestBodyCard'OneOf1AddressLine2] :: PostTokensRequestBodyCard'OneOf1 -> Maybe Text
-- | address_state
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTokensRequestBodyCard'OneOf1AddressState] :: PostTokensRequestBodyCard'OneOf1 -> Maybe Text
-- | address_zip
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTokensRequestBodyCard'OneOf1AddressZip] :: PostTokensRequestBodyCard'OneOf1 -> Maybe Text
-- | currency
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTokensRequestBodyCard'OneOf1Currency] :: PostTokensRequestBodyCard'OneOf1 -> Maybe Text
-- | cvc
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTokensRequestBodyCard'OneOf1Cvc] :: PostTokensRequestBodyCard'OneOf1 -> Maybe Text
-- | exp_month
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTokensRequestBodyCard'OneOf1ExpMonth] :: PostTokensRequestBodyCard'OneOf1 -> Text
-- | exp_year
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTokensRequestBodyCard'OneOf1ExpYear] :: PostTokensRequestBodyCard'OneOf1 -> Text
-- | name
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTokensRequestBodyCard'OneOf1Name] :: PostTokensRequestBodyCard'OneOf1 -> Maybe Text
-- | number
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTokensRequestBodyCard'OneOf1Number] :: PostTokensRequestBodyCard'OneOf1 -> Text
-- | Create a new PostTokensRequestBodyCard'OneOf1 with all required
-- fields.
mkPostTokensRequestBodyCard'OneOf1 :: Text -> Text -> Text -> PostTokensRequestBodyCard'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/tokens.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.card.anyOf
-- in the specification.
data PostTokensRequestBodyCard'Variants
PostTokensRequestBodyCard'PostTokensRequestBodyCard'OneOf1 :: PostTokensRequestBodyCard'OneOf1 -> PostTokensRequestBodyCard'Variants
PostTokensRequestBodyCard'Text :: Text -> PostTokensRequestBodyCard'Variants
-- | Defines the object schema located at
-- paths./v1/tokens.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.cvc_update
-- in the specification.
--
-- The updated CVC value this token will represent.
data PostTokensRequestBodyCvcUpdate'
PostTokensRequestBodyCvcUpdate' :: Text -> PostTokensRequestBodyCvcUpdate'
-- | cvc
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTokensRequestBodyCvcUpdate'Cvc] :: PostTokensRequestBodyCvcUpdate' -> Text
-- | Create a new PostTokensRequestBodyCvcUpdate' with all required
-- fields.
mkPostTokensRequestBodyCvcUpdate' :: Text -> PostTokensRequestBodyCvcUpdate'
-- | Defines the object schema located at
-- paths./v1/tokens.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.person
-- in the specification.
--
-- Information for the person this token will represent.
data PostTokensRequestBodyPerson'
PostTokensRequestBodyPerson' :: Maybe PostTokensRequestBodyPerson'Address' -> Maybe PostTokensRequestBodyPerson'AddressKana' -> Maybe PostTokensRequestBodyPerson'AddressKanji' -> Maybe PostTokensRequestBodyPerson'Dob'Variants -> Maybe PostTokensRequestBodyPerson'Documents' -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe PostTokensRequestBodyPerson'Metadata'Variants -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe PostTokensRequestBodyPerson'Relationship' -> Maybe Text -> Maybe PostTokensRequestBodyPerson'Verification' -> PostTokensRequestBodyPerson'
-- | address
[postTokensRequestBodyPerson'Address] :: PostTokensRequestBodyPerson' -> Maybe PostTokensRequestBodyPerson'Address'
-- | address_kana
[postTokensRequestBodyPerson'AddressKana] :: PostTokensRequestBodyPerson' -> Maybe PostTokensRequestBodyPerson'AddressKana'
-- | address_kanji
[postTokensRequestBodyPerson'AddressKanji] :: PostTokensRequestBodyPerson' -> Maybe PostTokensRequestBodyPerson'AddressKanji'
-- | dob
[postTokensRequestBodyPerson'Dob] :: PostTokensRequestBodyPerson' -> Maybe PostTokensRequestBodyPerson'Dob'Variants
-- | documents
[postTokensRequestBodyPerson'Documents] :: PostTokensRequestBodyPerson' -> Maybe PostTokensRequestBodyPerson'Documents'
-- | email
[postTokensRequestBodyPerson'Email] :: PostTokensRequestBodyPerson' -> Maybe Text
-- | first_name
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTokensRequestBodyPerson'FirstName] :: PostTokensRequestBodyPerson' -> Maybe Text
-- | first_name_kana
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTokensRequestBodyPerson'FirstNameKana] :: PostTokensRequestBodyPerson' -> Maybe Text
-- | first_name_kanji
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTokensRequestBodyPerson'FirstNameKanji] :: PostTokensRequestBodyPerson' -> Maybe Text
-- | gender
[postTokensRequestBodyPerson'Gender] :: PostTokensRequestBodyPerson' -> Maybe Text
-- | id_number
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTokensRequestBodyPerson'IdNumber] :: PostTokensRequestBodyPerson' -> Maybe Text
-- | last_name
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTokensRequestBodyPerson'LastName] :: PostTokensRequestBodyPerson' -> Maybe Text
-- | last_name_kana
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTokensRequestBodyPerson'LastNameKana] :: PostTokensRequestBodyPerson' -> Maybe Text
-- | last_name_kanji
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTokensRequestBodyPerson'LastNameKanji] :: PostTokensRequestBodyPerson' -> Maybe Text
-- | maiden_name
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTokensRequestBodyPerson'MaidenName] :: PostTokensRequestBodyPerson' -> Maybe Text
-- | metadata
[postTokensRequestBodyPerson'Metadata] :: PostTokensRequestBodyPerson' -> Maybe PostTokensRequestBodyPerson'Metadata'Variants
-- | nationality
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTokensRequestBodyPerson'Nationality] :: PostTokensRequestBodyPerson' -> Maybe Text
-- | phone
[postTokensRequestBodyPerson'Phone] :: PostTokensRequestBodyPerson' -> Maybe Text
-- | political_exposure
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTokensRequestBodyPerson'PoliticalExposure] :: PostTokensRequestBodyPerson' -> Maybe Text
-- | relationship
[postTokensRequestBodyPerson'Relationship] :: PostTokensRequestBodyPerson' -> Maybe PostTokensRequestBodyPerson'Relationship'
-- | ssn_last_4
[postTokensRequestBodyPerson'SsnLast_4] :: PostTokensRequestBodyPerson' -> Maybe Text
-- | verification
[postTokensRequestBodyPerson'Verification] :: PostTokensRequestBodyPerson' -> Maybe PostTokensRequestBodyPerson'Verification'
-- | Create a new PostTokensRequestBodyPerson' with all required
-- fields.
mkPostTokensRequestBodyPerson' :: PostTokensRequestBodyPerson'
-- | Defines the object schema located at
-- paths./v1/tokens.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.person.properties.address
-- in the specification.
data PostTokensRequestBodyPerson'Address'
PostTokensRequestBodyPerson'Address' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PostTokensRequestBodyPerson'Address'
-- | city
--
-- Constraints:
--
--
-- - Maximum length of 100
--
[postTokensRequestBodyPerson'Address'City] :: PostTokensRequestBodyPerson'Address' -> Maybe Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTokensRequestBodyPerson'Address'Country] :: PostTokensRequestBodyPerson'Address' -> Maybe Text
-- | line1
--
-- Constraints:
--
--
-- - Maximum length of 200
--
[postTokensRequestBodyPerson'Address'Line1] :: PostTokensRequestBodyPerson'Address' -> Maybe Text
-- | line2
--
-- Constraints:
--
--
-- - Maximum length of 200
--
[postTokensRequestBodyPerson'Address'Line2] :: PostTokensRequestBodyPerson'Address' -> Maybe Text
-- | postal_code
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTokensRequestBodyPerson'Address'PostalCode] :: PostTokensRequestBodyPerson'Address' -> Maybe Text
-- | state
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTokensRequestBodyPerson'Address'State] :: PostTokensRequestBodyPerson'Address' -> Maybe Text
-- | Create a new PostTokensRequestBodyPerson'Address' with all
-- required fields.
mkPostTokensRequestBodyPerson'Address' :: PostTokensRequestBodyPerson'Address'
-- | Defines the object schema located at
-- paths./v1/tokens.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.person.properties.address_kana
-- in the specification.
data PostTokensRequestBodyPerson'AddressKana'
PostTokensRequestBodyPerson'AddressKana' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PostTokensRequestBodyPerson'AddressKana'
-- | city
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTokensRequestBodyPerson'AddressKana'City] :: PostTokensRequestBodyPerson'AddressKana' -> Maybe Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTokensRequestBodyPerson'AddressKana'Country] :: PostTokensRequestBodyPerson'AddressKana' -> Maybe Text
-- | line1
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTokensRequestBodyPerson'AddressKana'Line1] :: PostTokensRequestBodyPerson'AddressKana' -> Maybe Text
-- | line2
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTokensRequestBodyPerson'AddressKana'Line2] :: PostTokensRequestBodyPerson'AddressKana' -> Maybe Text
-- | postal_code
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTokensRequestBodyPerson'AddressKana'PostalCode] :: PostTokensRequestBodyPerson'AddressKana' -> Maybe Text
-- | state
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTokensRequestBodyPerson'AddressKana'State] :: PostTokensRequestBodyPerson'AddressKana' -> Maybe Text
-- | town
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTokensRequestBodyPerson'AddressKana'Town] :: PostTokensRequestBodyPerson'AddressKana' -> Maybe Text
-- | Create a new PostTokensRequestBodyPerson'AddressKana' with all
-- required fields.
mkPostTokensRequestBodyPerson'AddressKana' :: PostTokensRequestBodyPerson'AddressKana'
-- | Defines the object schema located at
-- paths./v1/tokens.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.person.properties.address_kanji
-- in the specification.
data PostTokensRequestBodyPerson'AddressKanji'
PostTokensRequestBodyPerson'AddressKanji' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PostTokensRequestBodyPerson'AddressKanji'
-- | city
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTokensRequestBodyPerson'AddressKanji'City] :: PostTokensRequestBodyPerson'AddressKanji' -> Maybe Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTokensRequestBodyPerson'AddressKanji'Country] :: PostTokensRequestBodyPerson'AddressKanji' -> Maybe Text
-- | line1
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTokensRequestBodyPerson'AddressKanji'Line1] :: PostTokensRequestBodyPerson'AddressKanji' -> Maybe Text
-- | line2
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTokensRequestBodyPerson'AddressKanji'Line2] :: PostTokensRequestBodyPerson'AddressKanji' -> Maybe Text
-- | postal_code
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTokensRequestBodyPerson'AddressKanji'PostalCode] :: PostTokensRequestBodyPerson'AddressKanji' -> Maybe Text
-- | state
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTokensRequestBodyPerson'AddressKanji'State] :: PostTokensRequestBodyPerson'AddressKanji' -> Maybe Text
-- | town
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTokensRequestBodyPerson'AddressKanji'Town] :: PostTokensRequestBodyPerson'AddressKanji' -> Maybe Text
-- | Create a new PostTokensRequestBodyPerson'AddressKanji' with all
-- required fields.
mkPostTokensRequestBodyPerson'AddressKanji' :: PostTokensRequestBodyPerson'AddressKanji'
-- | Defines the object schema located at
-- paths./v1/tokens.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.person.properties.dob.anyOf
-- in the specification.
data PostTokensRequestBodyPerson'Dob'OneOf1
PostTokensRequestBodyPerson'Dob'OneOf1 :: Int -> Int -> Int -> PostTokensRequestBodyPerson'Dob'OneOf1
-- | day
[postTokensRequestBodyPerson'Dob'OneOf1Day] :: PostTokensRequestBodyPerson'Dob'OneOf1 -> Int
-- | month
[postTokensRequestBodyPerson'Dob'OneOf1Month] :: PostTokensRequestBodyPerson'Dob'OneOf1 -> Int
-- | year
[postTokensRequestBodyPerson'Dob'OneOf1Year] :: PostTokensRequestBodyPerson'Dob'OneOf1 -> Int
-- | Create a new PostTokensRequestBodyPerson'Dob'OneOf1 with all
-- required fields.
mkPostTokensRequestBodyPerson'Dob'OneOf1 :: Int -> Int -> Int -> PostTokensRequestBodyPerson'Dob'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/tokens.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.person.properties.dob.anyOf
-- in the specification.
data PostTokensRequestBodyPerson'Dob'Variants
-- | Represents the JSON value ""
PostTokensRequestBodyPerson'Dob'EmptyString :: PostTokensRequestBodyPerson'Dob'Variants
PostTokensRequestBodyPerson'Dob'PostTokensRequestBodyPerson'Dob'OneOf1 :: PostTokensRequestBodyPerson'Dob'OneOf1 -> PostTokensRequestBodyPerson'Dob'Variants
-- | Defines the object schema located at
-- paths./v1/tokens.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.person.properties.documents
-- in the specification.
data PostTokensRequestBodyPerson'Documents'
PostTokensRequestBodyPerson'Documents' :: Maybe PostTokensRequestBodyPerson'Documents'CompanyAuthorization' -> Maybe PostTokensRequestBodyPerson'Documents'Passport' -> Maybe PostTokensRequestBodyPerson'Documents'Visa' -> PostTokensRequestBodyPerson'Documents'
-- | company_authorization
[postTokensRequestBodyPerson'Documents'CompanyAuthorization] :: PostTokensRequestBodyPerson'Documents' -> Maybe PostTokensRequestBodyPerson'Documents'CompanyAuthorization'
-- | passport
[postTokensRequestBodyPerson'Documents'Passport] :: PostTokensRequestBodyPerson'Documents' -> Maybe PostTokensRequestBodyPerson'Documents'Passport'
-- | visa
[postTokensRequestBodyPerson'Documents'Visa] :: PostTokensRequestBodyPerson'Documents' -> Maybe PostTokensRequestBodyPerson'Documents'Visa'
-- | Create a new PostTokensRequestBodyPerson'Documents' with all
-- required fields.
mkPostTokensRequestBodyPerson'Documents' :: PostTokensRequestBodyPerson'Documents'
-- | Defines the object schema located at
-- paths./v1/tokens.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.person.properties.documents.properties.company_authorization
-- in the specification.
data PostTokensRequestBodyPerson'Documents'CompanyAuthorization'
PostTokensRequestBodyPerson'Documents'CompanyAuthorization' :: Maybe [Text] -> PostTokensRequestBodyPerson'Documents'CompanyAuthorization'
-- | files
[postTokensRequestBodyPerson'Documents'CompanyAuthorization'Files] :: PostTokensRequestBodyPerson'Documents'CompanyAuthorization' -> Maybe [Text]
-- | Create a new
-- PostTokensRequestBodyPerson'Documents'CompanyAuthorization'
-- with all required fields.
mkPostTokensRequestBodyPerson'Documents'CompanyAuthorization' :: PostTokensRequestBodyPerson'Documents'CompanyAuthorization'
-- | Defines the object schema located at
-- paths./v1/tokens.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.person.properties.documents.properties.passport
-- in the specification.
data PostTokensRequestBodyPerson'Documents'Passport'
PostTokensRequestBodyPerson'Documents'Passport' :: Maybe [Text] -> PostTokensRequestBodyPerson'Documents'Passport'
-- | files
[postTokensRequestBodyPerson'Documents'Passport'Files] :: PostTokensRequestBodyPerson'Documents'Passport' -> Maybe [Text]
-- | Create a new PostTokensRequestBodyPerson'Documents'Passport'
-- with all required fields.
mkPostTokensRequestBodyPerson'Documents'Passport' :: PostTokensRequestBodyPerson'Documents'Passport'
-- | Defines the object schema located at
-- paths./v1/tokens.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.person.properties.documents.properties.visa
-- in the specification.
data PostTokensRequestBodyPerson'Documents'Visa'
PostTokensRequestBodyPerson'Documents'Visa' :: Maybe [Text] -> PostTokensRequestBodyPerson'Documents'Visa'
-- | files
[postTokensRequestBodyPerson'Documents'Visa'Files] :: PostTokensRequestBodyPerson'Documents'Visa' -> Maybe [Text]
-- | Create a new PostTokensRequestBodyPerson'Documents'Visa' with
-- all required fields.
mkPostTokensRequestBodyPerson'Documents'Visa' :: PostTokensRequestBodyPerson'Documents'Visa'
-- | Defines the oneOf schema located at
-- paths./v1/tokens.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.person.properties.metadata.anyOf
-- in the specification.
data PostTokensRequestBodyPerson'Metadata'Variants
-- | Represents the JSON value ""
PostTokensRequestBodyPerson'Metadata'EmptyString :: PostTokensRequestBodyPerson'Metadata'Variants
PostTokensRequestBodyPerson'Metadata'Object :: Object -> PostTokensRequestBodyPerson'Metadata'Variants
-- | Defines the object schema located at
-- paths./v1/tokens.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.person.properties.relationship
-- in the specification.
data PostTokensRequestBodyPerson'Relationship'
PostTokensRequestBodyPerson'Relationship' :: Maybe Bool -> Maybe Bool -> Maybe Bool -> Maybe PostTokensRequestBodyPerson'Relationship'PercentOwnership'Variants -> Maybe Bool -> Maybe Text -> PostTokensRequestBodyPerson'Relationship'
-- | director
[postTokensRequestBodyPerson'Relationship'Director] :: PostTokensRequestBodyPerson'Relationship' -> Maybe Bool
-- | executive
[postTokensRequestBodyPerson'Relationship'Executive] :: PostTokensRequestBodyPerson'Relationship' -> Maybe Bool
-- | owner
[postTokensRequestBodyPerson'Relationship'Owner] :: PostTokensRequestBodyPerson'Relationship' -> Maybe Bool
-- | percent_ownership
[postTokensRequestBodyPerson'Relationship'PercentOwnership] :: PostTokensRequestBodyPerson'Relationship' -> Maybe PostTokensRequestBodyPerson'Relationship'PercentOwnership'Variants
-- | representative
[postTokensRequestBodyPerson'Relationship'Representative] :: PostTokensRequestBodyPerson'Relationship' -> Maybe Bool
-- | title
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTokensRequestBodyPerson'Relationship'Title] :: PostTokensRequestBodyPerson'Relationship' -> Maybe Text
-- | Create a new PostTokensRequestBodyPerson'Relationship' with all
-- required fields.
mkPostTokensRequestBodyPerson'Relationship' :: PostTokensRequestBodyPerson'Relationship'
-- | Defines the oneOf schema located at
-- paths./v1/tokens.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.person.properties.relationship.properties.percent_ownership.anyOf
-- in the specification.
data PostTokensRequestBodyPerson'Relationship'PercentOwnership'Variants
-- | Represents the JSON value ""
PostTokensRequestBodyPerson'Relationship'PercentOwnership'EmptyString :: PostTokensRequestBodyPerson'Relationship'PercentOwnership'Variants
PostTokensRequestBodyPerson'Relationship'PercentOwnership'Double :: Double -> PostTokensRequestBodyPerson'Relationship'PercentOwnership'Variants
-- | Defines the object schema located at
-- paths./v1/tokens.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.person.properties.verification
-- in the specification.
data PostTokensRequestBodyPerson'Verification'
PostTokensRequestBodyPerson'Verification' :: Maybe PostTokensRequestBodyPerson'Verification'AdditionalDocument' -> Maybe PostTokensRequestBodyPerson'Verification'Document' -> PostTokensRequestBodyPerson'Verification'
-- | additional_document
[postTokensRequestBodyPerson'Verification'AdditionalDocument] :: PostTokensRequestBodyPerson'Verification' -> Maybe PostTokensRequestBodyPerson'Verification'AdditionalDocument'
-- | document
[postTokensRequestBodyPerson'Verification'Document] :: PostTokensRequestBodyPerson'Verification' -> Maybe PostTokensRequestBodyPerson'Verification'Document'
-- | Create a new PostTokensRequestBodyPerson'Verification' with all
-- required fields.
mkPostTokensRequestBodyPerson'Verification' :: PostTokensRequestBodyPerson'Verification'
-- | Defines the object schema located at
-- paths./v1/tokens.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.person.properties.verification.properties.additional_document
-- in the specification.
data PostTokensRequestBodyPerson'Verification'AdditionalDocument'
PostTokensRequestBodyPerson'Verification'AdditionalDocument' :: Maybe Text -> Maybe Text -> PostTokensRequestBodyPerson'Verification'AdditionalDocument'
-- | back
--
-- Constraints:
--
--
-- - Maximum length of 500
--
[postTokensRequestBodyPerson'Verification'AdditionalDocument'Back] :: PostTokensRequestBodyPerson'Verification'AdditionalDocument' -> Maybe Text
-- | front
--
-- Constraints:
--
--
-- - Maximum length of 500
--
[postTokensRequestBodyPerson'Verification'AdditionalDocument'Front] :: PostTokensRequestBodyPerson'Verification'AdditionalDocument' -> Maybe Text
-- | Create a new
-- PostTokensRequestBodyPerson'Verification'AdditionalDocument'
-- with all required fields.
mkPostTokensRequestBodyPerson'Verification'AdditionalDocument' :: PostTokensRequestBodyPerson'Verification'AdditionalDocument'
-- | Defines the object schema located at
-- paths./v1/tokens.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.person.properties.verification.properties.document
-- in the specification.
data PostTokensRequestBodyPerson'Verification'Document'
PostTokensRequestBodyPerson'Verification'Document' :: Maybe Text -> Maybe Text -> PostTokensRequestBodyPerson'Verification'Document'
-- | back
--
-- Constraints:
--
--
-- - Maximum length of 500
--
[postTokensRequestBodyPerson'Verification'Document'Back] :: PostTokensRequestBodyPerson'Verification'Document' -> Maybe Text
-- | front
--
-- Constraints:
--
--
-- - Maximum length of 500
--
[postTokensRequestBodyPerson'Verification'Document'Front] :: PostTokensRequestBodyPerson'Verification'Document' -> Maybe Text
-- | Create a new PostTokensRequestBodyPerson'Verification'Document'
-- with all required fields.
mkPostTokensRequestBodyPerson'Verification'Document' :: PostTokensRequestBodyPerson'Verification'Document'
-- | Defines the object schema located at
-- paths./v1/tokens.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.pii
-- in the specification.
--
-- The PII this token will represent.
data PostTokensRequestBodyPii'
PostTokensRequestBodyPii' :: Maybe Text -> PostTokensRequestBodyPii'
-- | id_number
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTokensRequestBodyPii'IdNumber] :: PostTokensRequestBodyPii' -> Maybe Text
-- | Create a new PostTokensRequestBodyPii' with all required
-- fields.
mkPostTokensRequestBodyPii' :: PostTokensRequestBodyPii'
-- | Represents a response of the operation postTokens.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostTokensResponseError is used.
data PostTokensResponse
-- | Means either no matching case available or a parse error
PostTokensResponseError :: String -> PostTokensResponse
-- | Successful response.
PostTokensResponse200 :: Token -> PostTokensResponse
-- | Error response.
PostTokensResponseDefault :: Error -> PostTokensResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostTokens.PostTokensRequestBodyAccount'BusinessType'
instance GHC.Show.Show StripeAPI.Operations.PostTokens.PostTokensRequestBodyAccount'BusinessType'
instance GHC.Classes.Eq StripeAPI.Operations.PostTokens.PostTokensRequestBodyAccount'Company'Address'
instance GHC.Show.Show StripeAPI.Operations.PostTokens.PostTokensRequestBodyAccount'Company'Address'
instance GHC.Classes.Eq StripeAPI.Operations.PostTokens.PostTokensRequestBodyAccount'Company'AddressKana'
instance GHC.Show.Show StripeAPI.Operations.PostTokens.PostTokensRequestBodyAccount'Company'AddressKana'
instance GHC.Classes.Eq StripeAPI.Operations.PostTokens.PostTokensRequestBodyAccount'Company'AddressKanji'
instance GHC.Show.Show StripeAPI.Operations.PostTokens.PostTokensRequestBodyAccount'Company'AddressKanji'
instance GHC.Classes.Eq StripeAPI.Operations.PostTokens.PostTokensRequestBodyAccount'Company'Structure'
instance GHC.Show.Show StripeAPI.Operations.PostTokens.PostTokensRequestBodyAccount'Company'Structure'
instance GHC.Classes.Eq StripeAPI.Operations.PostTokens.PostTokensRequestBodyAccount'Company'Verification'Document'
instance GHC.Show.Show StripeAPI.Operations.PostTokens.PostTokensRequestBodyAccount'Company'Verification'Document'
instance GHC.Classes.Eq StripeAPI.Operations.PostTokens.PostTokensRequestBodyAccount'Company'Verification'
instance GHC.Show.Show StripeAPI.Operations.PostTokens.PostTokensRequestBodyAccount'Company'Verification'
instance GHC.Classes.Eq StripeAPI.Operations.PostTokens.PostTokensRequestBodyAccount'Company'
instance GHC.Show.Show StripeAPI.Operations.PostTokens.PostTokensRequestBodyAccount'Company'
instance GHC.Classes.Eq StripeAPI.Operations.PostTokens.PostTokensRequestBodyAccount'Individual'Address'
instance GHC.Show.Show StripeAPI.Operations.PostTokens.PostTokensRequestBodyAccount'Individual'Address'
instance GHC.Classes.Eq StripeAPI.Operations.PostTokens.PostTokensRequestBodyAccount'Individual'AddressKana'
instance GHC.Show.Show StripeAPI.Operations.PostTokens.PostTokensRequestBodyAccount'Individual'AddressKana'
instance GHC.Classes.Eq StripeAPI.Operations.PostTokens.PostTokensRequestBodyAccount'Individual'AddressKanji'
instance GHC.Show.Show StripeAPI.Operations.PostTokens.PostTokensRequestBodyAccount'Individual'AddressKanji'
instance GHC.Classes.Eq StripeAPI.Operations.PostTokens.PostTokensRequestBodyAccount'Individual'Dob'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostTokens.PostTokensRequestBodyAccount'Individual'Dob'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostTokens.PostTokensRequestBodyAccount'Individual'Dob'Variants
instance GHC.Show.Show StripeAPI.Operations.PostTokens.PostTokensRequestBodyAccount'Individual'Dob'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostTokens.PostTokensRequestBodyAccount'Individual'Metadata'Variants
instance GHC.Show.Show StripeAPI.Operations.PostTokens.PostTokensRequestBodyAccount'Individual'Metadata'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostTokens.PostTokensRequestBodyAccount'Individual'PoliticalExposure'
instance GHC.Show.Show StripeAPI.Operations.PostTokens.PostTokensRequestBodyAccount'Individual'PoliticalExposure'
instance GHC.Classes.Eq StripeAPI.Operations.PostTokens.PostTokensRequestBodyAccount'Individual'Verification'AdditionalDocument'
instance GHC.Show.Show StripeAPI.Operations.PostTokens.PostTokensRequestBodyAccount'Individual'Verification'AdditionalDocument'
instance GHC.Classes.Eq StripeAPI.Operations.PostTokens.PostTokensRequestBodyAccount'Individual'Verification'Document'
instance GHC.Show.Show StripeAPI.Operations.PostTokens.PostTokensRequestBodyAccount'Individual'Verification'Document'
instance GHC.Classes.Eq StripeAPI.Operations.PostTokens.PostTokensRequestBodyAccount'Individual'Verification'
instance GHC.Show.Show StripeAPI.Operations.PostTokens.PostTokensRequestBodyAccount'Individual'Verification'
instance GHC.Classes.Eq StripeAPI.Operations.PostTokens.PostTokensRequestBodyAccount'Individual'
instance GHC.Show.Show StripeAPI.Operations.PostTokens.PostTokensRequestBodyAccount'Individual'
instance GHC.Classes.Eq StripeAPI.Operations.PostTokens.PostTokensRequestBodyAccount'
instance GHC.Show.Show StripeAPI.Operations.PostTokens.PostTokensRequestBodyAccount'
instance GHC.Classes.Eq StripeAPI.Operations.PostTokens.PostTokensRequestBodyBankAccount'AccountHolderType'
instance GHC.Show.Show StripeAPI.Operations.PostTokens.PostTokensRequestBodyBankAccount'AccountHolderType'
instance GHC.Classes.Eq StripeAPI.Operations.PostTokens.PostTokensRequestBodyBankAccount'
instance GHC.Show.Show StripeAPI.Operations.PostTokens.PostTokensRequestBodyBankAccount'
instance GHC.Classes.Eq StripeAPI.Operations.PostTokens.PostTokensRequestBodyCard'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostTokens.PostTokensRequestBodyCard'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostTokens.PostTokensRequestBodyCard'Variants
instance GHC.Show.Show StripeAPI.Operations.PostTokens.PostTokensRequestBodyCard'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostTokens.PostTokensRequestBodyCvcUpdate'
instance GHC.Show.Show StripeAPI.Operations.PostTokens.PostTokensRequestBodyCvcUpdate'
instance GHC.Classes.Eq StripeAPI.Operations.PostTokens.PostTokensRequestBodyPerson'Address'
instance GHC.Show.Show StripeAPI.Operations.PostTokens.PostTokensRequestBodyPerson'Address'
instance GHC.Classes.Eq StripeAPI.Operations.PostTokens.PostTokensRequestBodyPerson'AddressKana'
instance GHC.Show.Show StripeAPI.Operations.PostTokens.PostTokensRequestBodyPerson'AddressKana'
instance GHC.Classes.Eq StripeAPI.Operations.PostTokens.PostTokensRequestBodyPerson'AddressKanji'
instance GHC.Show.Show StripeAPI.Operations.PostTokens.PostTokensRequestBodyPerson'AddressKanji'
instance GHC.Classes.Eq StripeAPI.Operations.PostTokens.PostTokensRequestBodyPerson'Dob'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostTokens.PostTokensRequestBodyPerson'Dob'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostTokens.PostTokensRequestBodyPerson'Dob'Variants
instance GHC.Show.Show StripeAPI.Operations.PostTokens.PostTokensRequestBodyPerson'Dob'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostTokens.PostTokensRequestBodyPerson'Documents'CompanyAuthorization'
instance GHC.Show.Show StripeAPI.Operations.PostTokens.PostTokensRequestBodyPerson'Documents'CompanyAuthorization'
instance GHC.Classes.Eq StripeAPI.Operations.PostTokens.PostTokensRequestBodyPerson'Documents'Passport'
instance GHC.Show.Show StripeAPI.Operations.PostTokens.PostTokensRequestBodyPerson'Documents'Passport'
instance GHC.Classes.Eq StripeAPI.Operations.PostTokens.PostTokensRequestBodyPerson'Documents'Visa'
instance GHC.Show.Show StripeAPI.Operations.PostTokens.PostTokensRequestBodyPerson'Documents'Visa'
instance GHC.Classes.Eq StripeAPI.Operations.PostTokens.PostTokensRequestBodyPerson'Documents'
instance GHC.Show.Show StripeAPI.Operations.PostTokens.PostTokensRequestBodyPerson'Documents'
instance GHC.Classes.Eq StripeAPI.Operations.PostTokens.PostTokensRequestBodyPerson'Metadata'Variants
instance GHC.Show.Show StripeAPI.Operations.PostTokens.PostTokensRequestBodyPerson'Metadata'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostTokens.PostTokensRequestBodyPerson'Relationship'PercentOwnership'Variants
instance GHC.Show.Show StripeAPI.Operations.PostTokens.PostTokensRequestBodyPerson'Relationship'PercentOwnership'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostTokens.PostTokensRequestBodyPerson'Relationship'
instance GHC.Show.Show StripeAPI.Operations.PostTokens.PostTokensRequestBodyPerson'Relationship'
instance GHC.Classes.Eq StripeAPI.Operations.PostTokens.PostTokensRequestBodyPerson'Verification'AdditionalDocument'
instance GHC.Show.Show StripeAPI.Operations.PostTokens.PostTokensRequestBodyPerson'Verification'AdditionalDocument'
instance GHC.Classes.Eq StripeAPI.Operations.PostTokens.PostTokensRequestBodyPerson'Verification'Document'
instance GHC.Show.Show StripeAPI.Operations.PostTokens.PostTokensRequestBodyPerson'Verification'Document'
instance GHC.Classes.Eq StripeAPI.Operations.PostTokens.PostTokensRequestBodyPerson'Verification'
instance GHC.Show.Show StripeAPI.Operations.PostTokens.PostTokensRequestBodyPerson'Verification'
instance GHC.Classes.Eq StripeAPI.Operations.PostTokens.PostTokensRequestBodyPerson'
instance GHC.Show.Show StripeAPI.Operations.PostTokens.PostTokensRequestBodyPerson'
instance GHC.Classes.Eq StripeAPI.Operations.PostTokens.PostTokensRequestBodyPii'
instance GHC.Show.Show StripeAPI.Operations.PostTokens.PostTokensRequestBodyPii'
instance GHC.Classes.Eq StripeAPI.Operations.PostTokens.PostTokensRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostTokens.PostTokensRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostTokens.PostTokensResponse
instance GHC.Show.Show StripeAPI.Operations.PostTokens.PostTokensResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostTokens.PostTokensRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostTokens.PostTokensRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostTokens.PostTokensRequestBodyPii'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostTokens.PostTokensRequestBodyPii'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostTokens.PostTokensRequestBodyPerson'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostTokens.PostTokensRequestBodyPerson'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostTokens.PostTokensRequestBodyPerson'Verification'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostTokens.PostTokensRequestBodyPerson'Verification'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostTokens.PostTokensRequestBodyPerson'Verification'Document'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostTokens.PostTokensRequestBodyPerson'Verification'Document'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostTokens.PostTokensRequestBodyPerson'Verification'AdditionalDocument'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostTokens.PostTokensRequestBodyPerson'Verification'AdditionalDocument'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostTokens.PostTokensRequestBodyPerson'Relationship'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostTokens.PostTokensRequestBodyPerson'Relationship'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostTokens.PostTokensRequestBodyPerson'Relationship'PercentOwnership'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostTokens.PostTokensRequestBodyPerson'Relationship'PercentOwnership'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostTokens.PostTokensRequestBodyPerson'Metadata'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostTokens.PostTokensRequestBodyPerson'Metadata'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostTokens.PostTokensRequestBodyPerson'Documents'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostTokens.PostTokensRequestBodyPerson'Documents'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostTokens.PostTokensRequestBodyPerson'Documents'Visa'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostTokens.PostTokensRequestBodyPerson'Documents'Visa'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostTokens.PostTokensRequestBodyPerson'Documents'Passport'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostTokens.PostTokensRequestBodyPerson'Documents'Passport'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostTokens.PostTokensRequestBodyPerson'Documents'CompanyAuthorization'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostTokens.PostTokensRequestBodyPerson'Documents'CompanyAuthorization'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostTokens.PostTokensRequestBodyPerson'Dob'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostTokens.PostTokensRequestBodyPerson'Dob'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostTokens.PostTokensRequestBodyPerson'Dob'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostTokens.PostTokensRequestBodyPerson'Dob'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostTokens.PostTokensRequestBodyPerson'AddressKanji'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostTokens.PostTokensRequestBodyPerson'AddressKanji'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostTokens.PostTokensRequestBodyPerson'AddressKana'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostTokens.PostTokensRequestBodyPerson'AddressKana'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostTokens.PostTokensRequestBodyPerson'Address'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostTokens.PostTokensRequestBodyPerson'Address'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostTokens.PostTokensRequestBodyCvcUpdate'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostTokens.PostTokensRequestBodyCvcUpdate'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostTokens.PostTokensRequestBodyCard'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostTokens.PostTokensRequestBodyCard'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostTokens.PostTokensRequestBodyCard'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostTokens.PostTokensRequestBodyCard'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostTokens.PostTokensRequestBodyBankAccount'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostTokens.PostTokensRequestBodyBankAccount'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostTokens.PostTokensRequestBodyBankAccount'AccountHolderType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostTokens.PostTokensRequestBodyBankAccount'AccountHolderType'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostTokens.PostTokensRequestBodyAccount'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostTokens.PostTokensRequestBodyAccount'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostTokens.PostTokensRequestBodyAccount'Individual'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostTokens.PostTokensRequestBodyAccount'Individual'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostTokens.PostTokensRequestBodyAccount'Individual'Verification'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostTokens.PostTokensRequestBodyAccount'Individual'Verification'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostTokens.PostTokensRequestBodyAccount'Individual'Verification'Document'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostTokens.PostTokensRequestBodyAccount'Individual'Verification'Document'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostTokens.PostTokensRequestBodyAccount'Individual'Verification'AdditionalDocument'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostTokens.PostTokensRequestBodyAccount'Individual'Verification'AdditionalDocument'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostTokens.PostTokensRequestBodyAccount'Individual'PoliticalExposure'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostTokens.PostTokensRequestBodyAccount'Individual'PoliticalExposure'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostTokens.PostTokensRequestBodyAccount'Individual'Metadata'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostTokens.PostTokensRequestBodyAccount'Individual'Metadata'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostTokens.PostTokensRequestBodyAccount'Individual'Dob'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostTokens.PostTokensRequestBodyAccount'Individual'Dob'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostTokens.PostTokensRequestBodyAccount'Individual'Dob'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostTokens.PostTokensRequestBodyAccount'Individual'Dob'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostTokens.PostTokensRequestBodyAccount'Individual'AddressKanji'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostTokens.PostTokensRequestBodyAccount'Individual'AddressKanji'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostTokens.PostTokensRequestBodyAccount'Individual'AddressKana'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostTokens.PostTokensRequestBodyAccount'Individual'AddressKana'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostTokens.PostTokensRequestBodyAccount'Individual'Address'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostTokens.PostTokensRequestBodyAccount'Individual'Address'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostTokens.PostTokensRequestBodyAccount'Company'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostTokens.PostTokensRequestBodyAccount'Company'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostTokens.PostTokensRequestBodyAccount'Company'Verification'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostTokens.PostTokensRequestBodyAccount'Company'Verification'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostTokens.PostTokensRequestBodyAccount'Company'Verification'Document'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostTokens.PostTokensRequestBodyAccount'Company'Verification'Document'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostTokens.PostTokensRequestBodyAccount'Company'Structure'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostTokens.PostTokensRequestBodyAccount'Company'Structure'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostTokens.PostTokensRequestBodyAccount'Company'AddressKanji'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostTokens.PostTokensRequestBodyAccount'Company'AddressKanji'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostTokens.PostTokensRequestBodyAccount'Company'AddressKana'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostTokens.PostTokensRequestBodyAccount'Company'AddressKana'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostTokens.PostTokensRequestBodyAccount'Company'Address'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostTokens.PostTokensRequestBodyAccount'Company'Address'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostTokens.PostTokensRequestBodyAccount'BusinessType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostTokens.PostTokensRequestBodyAccount'BusinessType'
-- | Contains the different functions to run the operation
-- postTerminalReadersReader
module StripeAPI.Operations.PostTerminalReadersReader
-- |
-- POST /v1/terminal/readers/{reader}
--
--
-- <p>Updates a <code>Reader</code> object by setting
-- the values of the parameters passed. Any parameters not provided will
-- be left unchanged.</p>
postTerminalReadersReader :: forall m. MonadHTTP m => Text -> Maybe PostTerminalReadersReaderRequestBody -> ClientT m (Response PostTerminalReadersReaderResponse)
-- | Defines the object schema located at
-- paths./v1/terminal/readers/{reader}.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostTerminalReadersReaderRequestBody
PostTerminalReadersReaderRequestBody :: Maybe [Text] -> Maybe Text -> Maybe PostTerminalReadersReaderRequestBodyMetadata'Variants -> PostTerminalReadersReaderRequestBody
-- | expand: Specifies which fields in the response should be expanded.
[postTerminalReadersReaderRequestBodyExpand] :: PostTerminalReadersReaderRequestBody -> Maybe [Text]
-- | label: The new label of the reader.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTerminalReadersReaderRequestBodyLabel] :: PostTerminalReadersReaderRequestBody -> Maybe Text
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postTerminalReadersReaderRequestBodyMetadata] :: PostTerminalReadersReaderRequestBody -> Maybe PostTerminalReadersReaderRequestBodyMetadata'Variants
-- | Create a new PostTerminalReadersReaderRequestBody with all
-- required fields.
mkPostTerminalReadersReaderRequestBody :: PostTerminalReadersReaderRequestBody
-- | Defines the oneOf schema located at
-- paths./v1/terminal/readers/{reader}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.metadata.anyOf
-- in the specification.
--
-- Set of key-value pairs that you can attach to an object. This
-- can be useful for storing additional information about the object in a
-- structured format. Individual keys can be unset by posting an empty
-- value to them. All keys can be unset by posting an empty value to
-- `metadata`.
data PostTerminalReadersReaderRequestBodyMetadata'Variants
-- | Represents the JSON value ""
PostTerminalReadersReaderRequestBodyMetadata'EmptyString :: PostTerminalReadersReaderRequestBodyMetadata'Variants
PostTerminalReadersReaderRequestBodyMetadata'Object :: Object -> PostTerminalReadersReaderRequestBodyMetadata'Variants
-- | Represents a response of the operation
-- postTerminalReadersReader.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostTerminalReadersReaderResponseError
-- is used.
data PostTerminalReadersReaderResponse
-- | Means either no matching case available or a parse error
PostTerminalReadersReaderResponseError :: String -> PostTerminalReadersReaderResponse
-- | Successful response.
PostTerminalReadersReaderResponse200 :: Terminal'reader -> PostTerminalReadersReaderResponse
-- | Error response.
PostTerminalReadersReaderResponseDefault :: Error -> PostTerminalReadersReaderResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostTerminalReadersReader.PostTerminalReadersReaderRequestBodyMetadata'Variants
instance GHC.Show.Show StripeAPI.Operations.PostTerminalReadersReader.PostTerminalReadersReaderRequestBodyMetadata'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostTerminalReadersReader.PostTerminalReadersReaderRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostTerminalReadersReader.PostTerminalReadersReaderRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostTerminalReadersReader.PostTerminalReadersReaderResponse
instance GHC.Show.Show StripeAPI.Operations.PostTerminalReadersReader.PostTerminalReadersReaderResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostTerminalReadersReader.PostTerminalReadersReaderRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostTerminalReadersReader.PostTerminalReadersReaderRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostTerminalReadersReader.PostTerminalReadersReaderRequestBodyMetadata'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostTerminalReadersReader.PostTerminalReadersReaderRequestBodyMetadata'Variants
-- | Contains the different functions to run the operation
-- postTerminalReaders
module StripeAPI.Operations.PostTerminalReaders
-- |
-- POST /v1/terminal/readers
--
--
-- <p>Creates a new <code>Reader</code>
-- object.</p>
postTerminalReaders :: forall m. MonadHTTP m => PostTerminalReadersRequestBody -> ClientT m (Response PostTerminalReadersResponse)
-- | Defines the object schema located at
-- paths./v1/terminal/readers.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostTerminalReadersRequestBody
PostTerminalReadersRequestBody :: Maybe [Text] -> Maybe Text -> Maybe Text -> Maybe PostTerminalReadersRequestBodyMetadata'Variants -> Text -> PostTerminalReadersRequestBody
-- | expand: Specifies which fields in the response should be expanded.
[postTerminalReadersRequestBodyExpand] :: PostTerminalReadersRequestBody -> Maybe [Text]
-- | label: Custom label given to the reader for easier identification. If
-- no label is specified, the registration code will be used.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTerminalReadersRequestBodyLabel] :: PostTerminalReadersRequestBody -> Maybe Text
-- | location: The location to assign the reader to. If no location is
-- specified, the reader will be assigned to the account's default
-- location.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTerminalReadersRequestBodyLocation] :: PostTerminalReadersRequestBody -> Maybe Text
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postTerminalReadersRequestBodyMetadata] :: PostTerminalReadersRequestBody -> Maybe PostTerminalReadersRequestBodyMetadata'Variants
-- | registration_code: A code generated by the reader used for registering
-- to an account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTerminalReadersRequestBodyRegistrationCode] :: PostTerminalReadersRequestBody -> Text
-- | Create a new PostTerminalReadersRequestBody with all required
-- fields.
mkPostTerminalReadersRequestBody :: Text -> PostTerminalReadersRequestBody
-- | Defines the oneOf schema located at
-- paths./v1/terminal/readers.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.metadata.anyOf
-- in the specification.
--
-- Set of key-value pairs that you can attach to an object. This
-- can be useful for storing additional information about the object in a
-- structured format. Individual keys can be unset by posting an empty
-- value to them. All keys can be unset by posting an empty value to
-- `metadata`.
data PostTerminalReadersRequestBodyMetadata'Variants
-- | Represents the JSON value ""
PostTerminalReadersRequestBodyMetadata'EmptyString :: PostTerminalReadersRequestBodyMetadata'Variants
PostTerminalReadersRequestBodyMetadata'Object :: Object -> PostTerminalReadersRequestBodyMetadata'Variants
-- | Represents a response of the operation postTerminalReaders.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostTerminalReadersResponseError is
-- used.
data PostTerminalReadersResponse
-- | Means either no matching case available or a parse error
PostTerminalReadersResponseError :: String -> PostTerminalReadersResponse
-- | Successful response.
PostTerminalReadersResponse200 :: Terminal'reader -> PostTerminalReadersResponse
-- | Error response.
PostTerminalReadersResponseDefault :: Error -> PostTerminalReadersResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostTerminalReaders.PostTerminalReadersRequestBodyMetadata'Variants
instance GHC.Show.Show StripeAPI.Operations.PostTerminalReaders.PostTerminalReadersRequestBodyMetadata'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostTerminalReaders.PostTerminalReadersRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostTerminalReaders.PostTerminalReadersRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostTerminalReaders.PostTerminalReadersResponse
instance GHC.Show.Show StripeAPI.Operations.PostTerminalReaders.PostTerminalReadersResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostTerminalReaders.PostTerminalReadersRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostTerminalReaders.PostTerminalReadersRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostTerminalReaders.PostTerminalReadersRequestBodyMetadata'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostTerminalReaders.PostTerminalReadersRequestBodyMetadata'Variants
-- | Contains the different functions to run the operation
-- postTerminalLocationsLocation
module StripeAPI.Operations.PostTerminalLocationsLocation
-- |
-- POST /v1/terminal/locations/{location}
--
--
-- <p>Updates a <code>Location</code> object by setting
-- the values of the parameters passed. Any parameters not provided will
-- be left unchanged.</p>
postTerminalLocationsLocation :: forall m. MonadHTTP m => Text -> Maybe PostTerminalLocationsLocationRequestBody -> ClientT m (Response PostTerminalLocationsLocationResponse)
-- | Defines the object schema located at
-- paths./v1/terminal/locations/{location}.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostTerminalLocationsLocationRequestBody
PostTerminalLocationsLocationRequestBody :: Maybe PostTerminalLocationsLocationRequestBodyAddress' -> Maybe Text -> Maybe [Text] -> Maybe PostTerminalLocationsLocationRequestBodyMetadata'Variants -> PostTerminalLocationsLocationRequestBody
-- | address: The full address of the location.
[postTerminalLocationsLocationRequestBodyAddress] :: PostTerminalLocationsLocationRequestBody -> Maybe PostTerminalLocationsLocationRequestBodyAddress'
-- | display_name: A name for the location.
--
-- Constraints:
--
--
-- - Maximum length of 1000
--
[postTerminalLocationsLocationRequestBodyDisplayName] :: PostTerminalLocationsLocationRequestBody -> Maybe Text
-- | expand: Specifies which fields in the response should be expanded.
[postTerminalLocationsLocationRequestBodyExpand] :: PostTerminalLocationsLocationRequestBody -> Maybe [Text]
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postTerminalLocationsLocationRequestBodyMetadata] :: PostTerminalLocationsLocationRequestBody -> Maybe PostTerminalLocationsLocationRequestBodyMetadata'Variants
-- | Create a new PostTerminalLocationsLocationRequestBody with all
-- required fields.
mkPostTerminalLocationsLocationRequestBody :: PostTerminalLocationsLocationRequestBody
-- | Defines the object schema located at
-- paths./v1/terminal/locations/{location}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.address
-- in the specification.
--
-- The full address of the location.
data PostTerminalLocationsLocationRequestBodyAddress'
PostTerminalLocationsLocationRequestBodyAddress' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PostTerminalLocationsLocationRequestBodyAddress'
-- | city
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTerminalLocationsLocationRequestBodyAddress'City] :: PostTerminalLocationsLocationRequestBodyAddress' -> Maybe Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTerminalLocationsLocationRequestBodyAddress'Country] :: PostTerminalLocationsLocationRequestBodyAddress' -> Maybe Text
-- | line1
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTerminalLocationsLocationRequestBodyAddress'Line1] :: PostTerminalLocationsLocationRequestBodyAddress' -> Maybe Text
-- | line2
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTerminalLocationsLocationRequestBodyAddress'Line2] :: PostTerminalLocationsLocationRequestBodyAddress' -> Maybe Text
-- | postal_code
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTerminalLocationsLocationRequestBodyAddress'PostalCode] :: PostTerminalLocationsLocationRequestBodyAddress' -> Maybe Text
-- | state
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTerminalLocationsLocationRequestBodyAddress'State] :: PostTerminalLocationsLocationRequestBodyAddress' -> Maybe Text
-- | Create a new PostTerminalLocationsLocationRequestBodyAddress'
-- with all required fields.
mkPostTerminalLocationsLocationRequestBodyAddress' :: PostTerminalLocationsLocationRequestBodyAddress'
-- | Defines the oneOf schema located at
-- paths./v1/terminal/locations/{location}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.metadata.anyOf
-- in the specification.
--
-- Set of key-value pairs that you can attach to an object. This
-- can be useful for storing additional information about the object in a
-- structured format. Individual keys can be unset by posting an empty
-- value to them. All keys can be unset by posting an empty value to
-- `metadata`.
data PostTerminalLocationsLocationRequestBodyMetadata'Variants
-- | Represents the JSON value ""
PostTerminalLocationsLocationRequestBodyMetadata'EmptyString :: PostTerminalLocationsLocationRequestBodyMetadata'Variants
PostTerminalLocationsLocationRequestBodyMetadata'Object :: Object -> PostTerminalLocationsLocationRequestBodyMetadata'Variants
-- | Represents a response of the operation
-- postTerminalLocationsLocation.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- PostTerminalLocationsLocationResponseError is used.
data PostTerminalLocationsLocationResponse
-- | Means either no matching case available or a parse error
PostTerminalLocationsLocationResponseError :: String -> PostTerminalLocationsLocationResponse
-- | Successful response.
PostTerminalLocationsLocationResponse200 :: Terminal'location -> PostTerminalLocationsLocationResponse
-- | Error response.
PostTerminalLocationsLocationResponseDefault :: Error -> PostTerminalLocationsLocationResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostTerminalLocationsLocation.PostTerminalLocationsLocationRequestBodyAddress'
instance GHC.Show.Show StripeAPI.Operations.PostTerminalLocationsLocation.PostTerminalLocationsLocationRequestBodyAddress'
instance GHC.Classes.Eq StripeAPI.Operations.PostTerminalLocationsLocation.PostTerminalLocationsLocationRequestBodyMetadata'Variants
instance GHC.Show.Show StripeAPI.Operations.PostTerminalLocationsLocation.PostTerminalLocationsLocationRequestBodyMetadata'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostTerminalLocationsLocation.PostTerminalLocationsLocationRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostTerminalLocationsLocation.PostTerminalLocationsLocationRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostTerminalLocationsLocation.PostTerminalLocationsLocationResponse
instance GHC.Show.Show StripeAPI.Operations.PostTerminalLocationsLocation.PostTerminalLocationsLocationResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostTerminalLocationsLocation.PostTerminalLocationsLocationRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostTerminalLocationsLocation.PostTerminalLocationsLocationRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostTerminalLocationsLocation.PostTerminalLocationsLocationRequestBodyMetadata'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostTerminalLocationsLocation.PostTerminalLocationsLocationRequestBodyMetadata'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostTerminalLocationsLocation.PostTerminalLocationsLocationRequestBodyAddress'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostTerminalLocationsLocation.PostTerminalLocationsLocationRequestBodyAddress'
-- | Contains the different functions to run the operation
-- postTerminalLocations
module StripeAPI.Operations.PostTerminalLocations
-- |
-- POST /v1/terminal/locations
--
--
-- <p>Creates a new <code>Location</code>
-- object.</p>
postTerminalLocations :: forall m. MonadHTTP m => PostTerminalLocationsRequestBody -> ClientT m (Response PostTerminalLocationsResponse)
-- | Defines the object schema located at
-- paths./v1/terminal/locations.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostTerminalLocationsRequestBody
PostTerminalLocationsRequestBody :: PostTerminalLocationsRequestBodyAddress' -> Text -> Maybe [Text] -> Maybe PostTerminalLocationsRequestBodyMetadata'Variants -> PostTerminalLocationsRequestBody
-- | address: The full address of the location.
[postTerminalLocationsRequestBodyAddress] :: PostTerminalLocationsRequestBody -> PostTerminalLocationsRequestBodyAddress'
-- | display_name: A name for the location.
--
-- Constraints:
--
--
-- - Maximum length of 1000
--
[postTerminalLocationsRequestBodyDisplayName] :: PostTerminalLocationsRequestBody -> Text
-- | expand: Specifies which fields in the response should be expanded.
[postTerminalLocationsRequestBodyExpand] :: PostTerminalLocationsRequestBody -> Maybe [Text]
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postTerminalLocationsRequestBodyMetadata] :: PostTerminalLocationsRequestBody -> Maybe PostTerminalLocationsRequestBodyMetadata'Variants
-- | Create a new PostTerminalLocationsRequestBody with all required
-- fields.
mkPostTerminalLocationsRequestBody :: PostTerminalLocationsRequestBodyAddress' -> Text -> PostTerminalLocationsRequestBody
-- | Defines the object schema located at
-- paths./v1/terminal/locations.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.address
-- in the specification.
--
-- The full address of the location.
data PostTerminalLocationsRequestBodyAddress'
PostTerminalLocationsRequestBodyAddress' :: Maybe Text -> Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PostTerminalLocationsRequestBodyAddress'
-- | city
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTerminalLocationsRequestBodyAddress'City] :: PostTerminalLocationsRequestBodyAddress' -> Maybe Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTerminalLocationsRequestBodyAddress'Country] :: PostTerminalLocationsRequestBodyAddress' -> Text
-- | line1
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTerminalLocationsRequestBodyAddress'Line1] :: PostTerminalLocationsRequestBodyAddress' -> Maybe Text
-- | line2
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTerminalLocationsRequestBodyAddress'Line2] :: PostTerminalLocationsRequestBodyAddress' -> Maybe Text
-- | postal_code
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTerminalLocationsRequestBodyAddress'PostalCode] :: PostTerminalLocationsRequestBodyAddress' -> Maybe Text
-- | state
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTerminalLocationsRequestBodyAddress'State] :: PostTerminalLocationsRequestBodyAddress' -> Maybe Text
-- | Create a new PostTerminalLocationsRequestBodyAddress' with all
-- required fields.
mkPostTerminalLocationsRequestBodyAddress' :: Text -> PostTerminalLocationsRequestBodyAddress'
-- | Defines the oneOf schema located at
-- paths./v1/terminal/locations.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.metadata.anyOf
-- in the specification.
--
-- Set of key-value pairs that you can attach to an object. This
-- can be useful for storing additional information about the object in a
-- structured format. Individual keys can be unset by posting an empty
-- value to them. All keys can be unset by posting an empty value to
-- `metadata`.
data PostTerminalLocationsRequestBodyMetadata'Variants
-- | Represents the JSON value ""
PostTerminalLocationsRequestBodyMetadata'EmptyString :: PostTerminalLocationsRequestBodyMetadata'Variants
PostTerminalLocationsRequestBodyMetadata'Object :: Object -> PostTerminalLocationsRequestBodyMetadata'Variants
-- | Represents a response of the operation postTerminalLocations.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostTerminalLocationsResponseError is
-- used.
data PostTerminalLocationsResponse
-- | Means either no matching case available or a parse error
PostTerminalLocationsResponseError :: String -> PostTerminalLocationsResponse
-- | Successful response.
PostTerminalLocationsResponse200 :: Terminal'location -> PostTerminalLocationsResponse
-- | Error response.
PostTerminalLocationsResponseDefault :: Error -> PostTerminalLocationsResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostTerminalLocations.PostTerminalLocationsRequestBodyAddress'
instance GHC.Show.Show StripeAPI.Operations.PostTerminalLocations.PostTerminalLocationsRequestBodyAddress'
instance GHC.Classes.Eq StripeAPI.Operations.PostTerminalLocations.PostTerminalLocationsRequestBodyMetadata'Variants
instance GHC.Show.Show StripeAPI.Operations.PostTerminalLocations.PostTerminalLocationsRequestBodyMetadata'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostTerminalLocations.PostTerminalLocationsRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostTerminalLocations.PostTerminalLocationsRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostTerminalLocations.PostTerminalLocationsResponse
instance GHC.Show.Show StripeAPI.Operations.PostTerminalLocations.PostTerminalLocationsResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostTerminalLocations.PostTerminalLocationsRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostTerminalLocations.PostTerminalLocationsRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostTerminalLocations.PostTerminalLocationsRequestBodyMetadata'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostTerminalLocations.PostTerminalLocationsRequestBodyMetadata'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostTerminalLocations.PostTerminalLocationsRequestBodyAddress'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostTerminalLocations.PostTerminalLocationsRequestBodyAddress'
-- | Contains the different functions to run the operation
-- postTerminalConnectionTokens
module StripeAPI.Operations.PostTerminalConnectionTokens
-- |
-- POST /v1/terminal/connection_tokens
--
--
-- <p>To connect to a reader the Stripe Terminal SDK needs to
-- retrieve a short-lived connection token from Stripe, proxied through
-- your server. On your backend, add an endpoint that creates and returns
-- a connection token.</p>
postTerminalConnectionTokens :: forall m. MonadHTTP m => Maybe PostTerminalConnectionTokensRequestBody -> ClientT m (Response PostTerminalConnectionTokensResponse)
-- | Defines the object schema located at
-- paths./v1/terminal/connection_tokens.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostTerminalConnectionTokensRequestBody
PostTerminalConnectionTokensRequestBody :: Maybe [Text] -> Maybe Text -> PostTerminalConnectionTokensRequestBody
-- | expand: Specifies which fields in the response should be expanded.
[postTerminalConnectionTokensRequestBodyExpand] :: PostTerminalConnectionTokensRequestBody -> Maybe [Text]
-- | location: The id of the location that this connection token is scoped
-- to. If specified the connection token will only be usable with readers
-- assigned to that location, otherwise the connection token will be
-- usable with all readers. Note that location scoping only applies to
-- internet-connected readers. For more details, see the docs on
-- scoping connection tokens.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTerminalConnectionTokensRequestBodyLocation] :: PostTerminalConnectionTokensRequestBody -> Maybe Text
-- | Create a new PostTerminalConnectionTokensRequestBody with all
-- required fields.
mkPostTerminalConnectionTokensRequestBody :: PostTerminalConnectionTokensRequestBody
-- | Represents a response of the operation
-- postTerminalConnectionTokens.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- PostTerminalConnectionTokensResponseError is used.
data PostTerminalConnectionTokensResponse
-- | Means either no matching case available or a parse error
PostTerminalConnectionTokensResponseError :: String -> PostTerminalConnectionTokensResponse
-- | Successful response.
PostTerminalConnectionTokensResponse200 :: Terminal'connectionToken -> PostTerminalConnectionTokensResponse
-- | Error response.
PostTerminalConnectionTokensResponseDefault :: Error -> PostTerminalConnectionTokensResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostTerminalConnectionTokens.PostTerminalConnectionTokensRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostTerminalConnectionTokens.PostTerminalConnectionTokensRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostTerminalConnectionTokens.PostTerminalConnectionTokensResponse
instance GHC.Show.Show StripeAPI.Operations.PostTerminalConnectionTokens.PostTerminalConnectionTokensResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostTerminalConnectionTokens.PostTerminalConnectionTokensRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostTerminalConnectionTokens.PostTerminalConnectionTokensRequestBody
-- | Contains the different functions to run the operation
-- postTaxRatesTaxRate
module StripeAPI.Operations.PostTaxRatesTaxRate
-- |
-- POST /v1/tax_rates/{tax_rate}
--
--
-- <p>Updates an existing tax rate.</p>
postTaxRatesTaxRate :: forall m. MonadHTTP m => Text -> Maybe PostTaxRatesTaxRateRequestBody -> ClientT m (Response PostTaxRatesTaxRateResponse)
-- | Defines the object schema located at
-- paths./v1/tax_rates/{tax_rate}.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostTaxRatesTaxRateRequestBody
PostTaxRatesTaxRateRequestBody :: Maybe Bool -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe [Text] -> Maybe Text -> Maybe PostTaxRatesTaxRateRequestBodyMetadata'Variants -> Maybe Text -> Maybe PostTaxRatesTaxRateRequestBodyTaxType' -> PostTaxRatesTaxRateRequestBody
-- | active: Flag determining whether the tax rate is active or inactive
-- (archived). Inactive tax rates cannot be used with new applications or
-- Checkout Sessions, but will still work for subscriptions and invoices
-- that already have it set.
[postTaxRatesTaxRateRequestBodyActive] :: PostTaxRatesTaxRateRequestBody -> Maybe Bool
-- | country: Two-letter country code ([ISO 3166-1
-- alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTaxRatesTaxRateRequestBodyCountry] :: PostTaxRatesTaxRateRequestBody -> Maybe Text
-- | description: An arbitrary string attached to the tax rate for your
-- internal use only. It will not be visible to your customers.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTaxRatesTaxRateRequestBodyDescription] :: PostTaxRatesTaxRateRequestBody -> Maybe Text
-- | display_name: The display name of the tax rate, which will be shown to
-- users.
--
-- Constraints:
--
--
-- - Maximum length of 50
--
[postTaxRatesTaxRateRequestBodyDisplayName] :: PostTaxRatesTaxRateRequestBody -> Maybe Text
-- | expand: Specifies which fields in the response should be expanded.
[postTaxRatesTaxRateRequestBodyExpand] :: PostTaxRatesTaxRateRequestBody -> Maybe [Text]
-- | jurisdiction: The jurisdiction for the tax rate. You can use this
-- label field for tax reporting purposes. It also appears on your
-- customer’s invoice.
--
-- Constraints:
--
--
-- - Maximum length of 50
--
[postTaxRatesTaxRateRequestBodyJurisdiction] :: PostTaxRatesTaxRateRequestBody -> Maybe Text
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postTaxRatesTaxRateRequestBodyMetadata] :: PostTaxRatesTaxRateRequestBody -> Maybe PostTaxRatesTaxRateRequestBodyMetadata'Variants
-- | state: ISO 3166-2 subdivision code, without country prefix. For
-- example, "NY" for New York, United States.
--
-- Constraints:
--
--
-- - Maximum length of 2
--
[postTaxRatesTaxRateRequestBodyState] :: PostTaxRatesTaxRateRequestBody -> Maybe Text
-- | tax_type: The high-level tax type, such as `vat` or `sales_tax`.
[postTaxRatesTaxRateRequestBodyTaxType] :: PostTaxRatesTaxRateRequestBody -> Maybe PostTaxRatesTaxRateRequestBodyTaxType'
-- | Create a new PostTaxRatesTaxRateRequestBody with all required
-- fields.
mkPostTaxRatesTaxRateRequestBody :: PostTaxRatesTaxRateRequestBody
-- | Defines the oneOf schema located at
-- paths./v1/tax_rates/{tax_rate}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.metadata.anyOf
-- in the specification.
--
-- Set of key-value pairs that you can attach to an object. This
-- can be useful for storing additional information about the object in a
-- structured format. Individual keys can be unset by posting an empty
-- value to them. All keys can be unset by posting an empty value to
-- `metadata`.
data PostTaxRatesTaxRateRequestBodyMetadata'Variants
-- | Represents the JSON value ""
PostTaxRatesTaxRateRequestBodyMetadata'EmptyString :: PostTaxRatesTaxRateRequestBodyMetadata'Variants
PostTaxRatesTaxRateRequestBodyMetadata'Object :: Object -> PostTaxRatesTaxRateRequestBodyMetadata'Variants
-- | Defines the enum schema located at
-- paths./v1/tax_rates/{tax_rate}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.tax_type
-- in the specification.
--
-- The high-level tax type, such as `vat` or `sales_tax`.
data PostTaxRatesTaxRateRequestBodyTaxType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostTaxRatesTaxRateRequestBodyTaxType'Other :: Value -> PostTaxRatesTaxRateRequestBodyTaxType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostTaxRatesTaxRateRequestBodyTaxType'Typed :: Text -> PostTaxRatesTaxRateRequestBodyTaxType'
-- | Represents the JSON value "gst"
PostTaxRatesTaxRateRequestBodyTaxType'EnumGst :: PostTaxRatesTaxRateRequestBodyTaxType'
-- | Represents the JSON value "hst"
PostTaxRatesTaxRateRequestBodyTaxType'EnumHst :: PostTaxRatesTaxRateRequestBodyTaxType'
-- | Represents the JSON value "pst"
PostTaxRatesTaxRateRequestBodyTaxType'EnumPst :: PostTaxRatesTaxRateRequestBodyTaxType'
-- | Represents the JSON value "qst"
PostTaxRatesTaxRateRequestBodyTaxType'EnumQst :: PostTaxRatesTaxRateRequestBodyTaxType'
-- | Represents the JSON value "sales_tax"
PostTaxRatesTaxRateRequestBodyTaxType'EnumSalesTax :: PostTaxRatesTaxRateRequestBodyTaxType'
-- | Represents the JSON value "vat"
PostTaxRatesTaxRateRequestBodyTaxType'EnumVat :: PostTaxRatesTaxRateRequestBodyTaxType'
-- | Represents a response of the operation postTaxRatesTaxRate.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostTaxRatesTaxRateResponseError is
-- used.
data PostTaxRatesTaxRateResponse
-- | Means either no matching case available or a parse error
PostTaxRatesTaxRateResponseError :: String -> PostTaxRatesTaxRateResponse
-- | Successful response.
PostTaxRatesTaxRateResponse200 :: TaxRate -> PostTaxRatesTaxRateResponse
-- | Error response.
PostTaxRatesTaxRateResponseDefault :: Error -> PostTaxRatesTaxRateResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostTaxRatesTaxRate.PostTaxRatesTaxRateRequestBodyMetadata'Variants
instance GHC.Show.Show StripeAPI.Operations.PostTaxRatesTaxRate.PostTaxRatesTaxRateRequestBodyMetadata'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostTaxRatesTaxRate.PostTaxRatesTaxRateRequestBodyTaxType'
instance GHC.Show.Show StripeAPI.Operations.PostTaxRatesTaxRate.PostTaxRatesTaxRateRequestBodyTaxType'
instance GHC.Classes.Eq StripeAPI.Operations.PostTaxRatesTaxRate.PostTaxRatesTaxRateRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostTaxRatesTaxRate.PostTaxRatesTaxRateRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostTaxRatesTaxRate.PostTaxRatesTaxRateResponse
instance GHC.Show.Show StripeAPI.Operations.PostTaxRatesTaxRate.PostTaxRatesTaxRateResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostTaxRatesTaxRate.PostTaxRatesTaxRateRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostTaxRatesTaxRate.PostTaxRatesTaxRateRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostTaxRatesTaxRate.PostTaxRatesTaxRateRequestBodyTaxType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostTaxRatesTaxRate.PostTaxRatesTaxRateRequestBodyTaxType'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostTaxRatesTaxRate.PostTaxRatesTaxRateRequestBodyMetadata'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostTaxRatesTaxRate.PostTaxRatesTaxRateRequestBodyMetadata'Variants
-- | Contains the different functions to run the operation postTaxRates
module StripeAPI.Operations.PostTaxRates
-- |
-- POST /v1/tax_rates
--
--
-- <p>Creates a new tax rate.</p>
postTaxRates :: forall m. MonadHTTP m => PostTaxRatesRequestBody -> ClientT m (Response PostTaxRatesResponse)
-- | Defines the object schema located at
-- paths./v1/tax_rates.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostTaxRatesRequestBody
PostTaxRatesRequestBody :: Maybe Bool -> Maybe Text -> Maybe Text -> Text -> Maybe [Text] -> Bool -> Maybe Text -> Maybe Object -> Double -> Maybe Text -> Maybe PostTaxRatesRequestBodyTaxType' -> PostTaxRatesRequestBody
-- | active: Flag determining whether the tax rate is active or inactive
-- (archived). Inactive tax rates cannot be used with new applications or
-- Checkout Sessions, but will still work for subscriptions and invoices
-- that already have it set.
[postTaxRatesRequestBodyActive] :: PostTaxRatesRequestBody -> Maybe Bool
-- | country: Two-letter country code ([ISO 3166-1
-- alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTaxRatesRequestBodyCountry] :: PostTaxRatesRequestBody -> Maybe Text
-- | description: An arbitrary string attached to the tax rate for your
-- internal use only. It will not be visible to your customers.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postTaxRatesRequestBodyDescription] :: PostTaxRatesRequestBody -> Maybe Text
-- | display_name: The display name of the tax rate, which will be shown to
-- users.
--
-- Constraints:
--
--
-- - Maximum length of 50
--
[postTaxRatesRequestBodyDisplayName] :: PostTaxRatesRequestBody -> Text
-- | expand: Specifies which fields in the response should be expanded.
[postTaxRatesRequestBodyExpand] :: PostTaxRatesRequestBody -> Maybe [Text]
-- | inclusive: This specifies if the tax rate is inclusive or exclusive.
[postTaxRatesRequestBodyInclusive] :: PostTaxRatesRequestBody -> Bool
-- | jurisdiction: The jurisdiction for the tax rate. You can use this
-- label field for tax reporting purposes. It also appears on your
-- customer’s invoice.
--
-- Constraints:
--
--
-- - Maximum length of 50
--
[postTaxRatesRequestBodyJurisdiction] :: PostTaxRatesRequestBody -> Maybe Text
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postTaxRatesRequestBodyMetadata] :: PostTaxRatesRequestBody -> Maybe Object
-- | percentage: This represents the tax rate percent out of 100.
[postTaxRatesRequestBodyPercentage] :: PostTaxRatesRequestBody -> Double
-- | state: ISO 3166-2 subdivision code, without country prefix. For
-- example, "NY" for New York, United States.
--
-- Constraints:
--
--
-- - Maximum length of 2
--
[postTaxRatesRequestBodyState] :: PostTaxRatesRequestBody -> Maybe Text
-- | tax_type: The high-level tax type, such as `vat` or `sales_tax`.
[postTaxRatesRequestBodyTaxType] :: PostTaxRatesRequestBody -> Maybe PostTaxRatesRequestBodyTaxType'
-- | Create a new PostTaxRatesRequestBody with all required fields.
mkPostTaxRatesRequestBody :: Text -> Bool -> Double -> PostTaxRatesRequestBody
-- | Defines the enum schema located at
-- paths./v1/tax_rates.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.tax_type
-- in the specification.
--
-- The high-level tax type, such as `vat` or `sales_tax`.
data PostTaxRatesRequestBodyTaxType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostTaxRatesRequestBodyTaxType'Other :: Value -> PostTaxRatesRequestBodyTaxType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostTaxRatesRequestBodyTaxType'Typed :: Text -> PostTaxRatesRequestBodyTaxType'
-- | Represents the JSON value "gst"
PostTaxRatesRequestBodyTaxType'EnumGst :: PostTaxRatesRequestBodyTaxType'
-- | Represents the JSON value "hst"
PostTaxRatesRequestBodyTaxType'EnumHst :: PostTaxRatesRequestBodyTaxType'
-- | Represents the JSON value "pst"
PostTaxRatesRequestBodyTaxType'EnumPst :: PostTaxRatesRequestBodyTaxType'
-- | Represents the JSON value "qst"
PostTaxRatesRequestBodyTaxType'EnumQst :: PostTaxRatesRequestBodyTaxType'
-- | Represents the JSON value "sales_tax"
PostTaxRatesRequestBodyTaxType'EnumSalesTax :: PostTaxRatesRequestBodyTaxType'
-- | Represents the JSON value "vat"
PostTaxRatesRequestBodyTaxType'EnumVat :: PostTaxRatesRequestBodyTaxType'
-- | Represents a response of the operation postTaxRates.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostTaxRatesResponseError is used.
data PostTaxRatesResponse
-- | Means either no matching case available or a parse error
PostTaxRatesResponseError :: String -> PostTaxRatesResponse
-- | Successful response.
PostTaxRatesResponse200 :: TaxRate -> PostTaxRatesResponse
-- | Error response.
PostTaxRatesResponseDefault :: Error -> PostTaxRatesResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostTaxRates.PostTaxRatesRequestBodyTaxType'
instance GHC.Show.Show StripeAPI.Operations.PostTaxRates.PostTaxRatesRequestBodyTaxType'
instance GHC.Classes.Eq StripeAPI.Operations.PostTaxRates.PostTaxRatesRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostTaxRates.PostTaxRatesRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostTaxRates.PostTaxRatesResponse
instance GHC.Show.Show StripeAPI.Operations.PostTaxRates.PostTaxRatesResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostTaxRates.PostTaxRatesRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostTaxRates.PostTaxRatesRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostTaxRates.PostTaxRatesRequestBodyTaxType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostTaxRates.PostTaxRatesRequestBodyTaxType'
-- | Contains the different functions to run the operation
-- postSubscriptionsSubscriptionExposedId
module StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId
-- |
-- POST /v1/subscriptions/{subscription_exposed_id}
--
--
-- <p>Updates an existing subscription on a customer to match the
-- specified parameters. When changing plans or quantities, we will
-- optionally prorate the price we charge next month to make up for any
-- price changes. To preview how the proration will be calculated, use
-- the <a href="#upcoming_invoice">upcoming invoice</a>
-- endpoint.</p>
postSubscriptionsSubscriptionExposedId :: forall m. MonadHTTP m => Text -> Maybe PostSubscriptionsSubscriptionExposedIdRequestBody -> ClientT m (Response PostSubscriptionsSubscriptionExposedIdResponse)
-- | Defines the object schema located at
-- paths./v1/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostSubscriptionsSubscriptionExposedIdRequestBody
PostSubscriptionsSubscriptionExposedIdRequestBody :: Maybe [PostSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'] -> Maybe Double -> Maybe PostSubscriptionsSubscriptionExposedIdRequestBodyAutomaticTax' -> Maybe PostSubscriptionsSubscriptionExposedIdRequestBodyBillingCycleAnchor' -> Maybe PostSubscriptionsSubscriptionExposedIdRequestBodyBillingThresholds'Variants -> Maybe PostSubscriptionsSubscriptionExposedIdRequestBodyCancelAt'Variants -> Maybe Bool -> Maybe PostSubscriptionsSubscriptionExposedIdRequestBodyCollectionMethod' -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe PostSubscriptionsSubscriptionExposedIdRequestBodyDefaultTaxRates'Variants -> Maybe [Text] -> Maybe [PostSubscriptionsSubscriptionExposedIdRequestBodyItems'] -> Maybe PostSubscriptionsSubscriptionExposedIdRequestBodyMetadata'Variants -> Maybe Bool -> Maybe PostSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'Variants -> Maybe PostSubscriptionsSubscriptionExposedIdRequestBodyPaymentBehavior' -> Maybe PostSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'Variants -> Maybe Text -> Maybe PostSubscriptionsSubscriptionExposedIdRequestBodyProrationBehavior' -> Maybe Int -> Maybe PostSubscriptionsSubscriptionExposedIdRequestBodyTransferData'Variants -> Maybe PostSubscriptionsSubscriptionExposedIdRequestBodyTrialEnd'Variants -> Maybe Bool -> PostSubscriptionsSubscriptionExposedIdRequestBody
-- | add_invoice_items: A list of prices and quantities that will generate
-- invoice items appended to the first invoice for this subscription. You
-- may pass up to 20 items.
[postSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems] :: PostSubscriptionsSubscriptionExposedIdRequestBody -> Maybe [PostSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems']
-- | application_fee_percent: A non-negative decimal between 0 and 100,
-- with at most two decimal places. This represents the percentage of the
-- subscription invoice subtotal that will be transferred to the
-- application owner's Stripe account. The request must be made by a
-- platform account on a connected account in order to set an application
-- fee percentage. For more information, see the application fees
-- documentation.
[postSubscriptionsSubscriptionExposedIdRequestBodyApplicationFeePercent] :: PostSubscriptionsSubscriptionExposedIdRequestBody -> Maybe Double
-- | automatic_tax: Automatic tax settings for this subscription.
[postSubscriptionsSubscriptionExposedIdRequestBodyAutomaticTax] :: PostSubscriptionsSubscriptionExposedIdRequestBody -> Maybe PostSubscriptionsSubscriptionExposedIdRequestBodyAutomaticTax'
-- | billing_cycle_anchor: Either `now` or `unchanged`. Setting the value
-- to `now` resets the subscription's billing cycle anchor to the current
-- time. For more information, see the billing cycle
-- documentation.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSubscriptionsSubscriptionExposedIdRequestBodyBillingCycleAnchor] :: PostSubscriptionsSubscriptionExposedIdRequestBody -> Maybe PostSubscriptionsSubscriptionExposedIdRequestBodyBillingCycleAnchor'
-- | billing_thresholds: Define thresholds at which an invoice will be
-- sent, and the subscription advanced to a new billing period. Pass an
-- empty string to remove previously-defined thresholds.
[postSubscriptionsSubscriptionExposedIdRequestBodyBillingThresholds] :: PostSubscriptionsSubscriptionExposedIdRequestBody -> Maybe PostSubscriptionsSubscriptionExposedIdRequestBodyBillingThresholds'Variants
-- | cancel_at: A timestamp at which the subscription should cancel. If set
-- to a date before the current period ends, this will cause a proration
-- if prorations have been enabled using `proration_behavior`. If set
-- during a future period, this will always cause a proration for that
-- period.
[postSubscriptionsSubscriptionExposedIdRequestBodyCancelAt] :: PostSubscriptionsSubscriptionExposedIdRequestBody -> Maybe PostSubscriptionsSubscriptionExposedIdRequestBodyCancelAt'Variants
-- | cancel_at_period_end: Boolean indicating whether this subscription
-- should cancel at the end of the current period.
[postSubscriptionsSubscriptionExposedIdRequestBodyCancelAtPeriodEnd] :: PostSubscriptionsSubscriptionExposedIdRequestBody -> Maybe Bool
-- | collection_method: Either `charge_automatically`, or `send_invoice`.
-- When charging automatically, Stripe will attempt to pay this
-- subscription at the end of the cycle using the default source attached
-- to the customer. When sending an invoice, Stripe will email your
-- customer an invoice with payment instructions. Defaults to
-- `charge_automatically`.
[postSubscriptionsSubscriptionExposedIdRequestBodyCollectionMethod] :: PostSubscriptionsSubscriptionExposedIdRequestBody -> Maybe PostSubscriptionsSubscriptionExposedIdRequestBodyCollectionMethod'
-- | coupon: The ID of the coupon to apply to this subscription. A coupon
-- applied to a subscription will only affect invoices created for that
-- particular subscription.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSubscriptionsSubscriptionExposedIdRequestBodyCoupon] :: PostSubscriptionsSubscriptionExposedIdRequestBody -> Maybe Text
-- | days_until_due: Number of days a customer has to pay invoices
-- generated by this subscription. Valid only for subscriptions where
-- `collection_method` is set to `send_invoice`.
[postSubscriptionsSubscriptionExposedIdRequestBodyDaysUntilDue] :: PostSubscriptionsSubscriptionExposedIdRequestBody -> Maybe Int
-- | default_payment_method: ID of the default payment method for the
-- subscription. It must belong to the customer associated with the
-- subscription. This takes precedence over `default_source`. If neither
-- are set, invoices will use the customer's
-- invoice_settings.default_payment_method or
-- default_source.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSubscriptionsSubscriptionExposedIdRequestBodyDefaultPaymentMethod] :: PostSubscriptionsSubscriptionExposedIdRequestBody -> Maybe Text
-- | default_source: ID of the default payment source for the subscription.
-- It must belong to the customer associated with the subscription and be
-- in a chargeable state. If `default_payment_method` is also set,
-- `default_payment_method` will take precedence. If neither are set,
-- invoices will use the customer's
-- invoice_settings.default_payment_method or
-- default_source.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSubscriptionsSubscriptionExposedIdRequestBodyDefaultSource] :: PostSubscriptionsSubscriptionExposedIdRequestBody -> Maybe Text
-- | default_tax_rates: The tax rates that will apply to any subscription
-- item that does not have `tax_rates` set. Invoices created will have
-- their `default_tax_rates` populated from the subscription. Pass an
-- empty string to remove previously-defined tax rates.
[postSubscriptionsSubscriptionExposedIdRequestBodyDefaultTaxRates] :: PostSubscriptionsSubscriptionExposedIdRequestBody -> Maybe PostSubscriptionsSubscriptionExposedIdRequestBodyDefaultTaxRates'Variants
-- | expand: Specifies which fields in the response should be expanded.
[postSubscriptionsSubscriptionExposedIdRequestBodyExpand] :: PostSubscriptionsSubscriptionExposedIdRequestBody -> Maybe [Text]
-- | items: A list of up to 20 subscription items, each with an attached
-- price.
[postSubscriptionsSubscriptionExposedIdRequestBodyItems] :: PostSubscriptionsSubscriptionExposedIdRequestBody -> Maybe [PostSubscriptionsSubscriptionExposedIdRequestBodyItems']
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postSubscriptionsSubscriptionExposedIdRequestBodyMetadata] :: PostSubscriptionsSubscriptionExposedIdRequestBody -> Maybe PostSubscriptionsSubscriptionExposedIdRequestBodyMetadata'Variants
-- | off_session: Indicates if a customer is on or off-session while an
-- invoice payment is attempted.
[postSubscriptionsSubscriptionExposedIdRequestBodyOffSession] :: PostSubscriptionsSubscriptionExposedIdRequestBody -> Maybe Bool
-- | pause_collection: If specified, payment collection for this
-- subscription will be paused.
[postSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection] :: PostSubscriptionsSubscriptionExposedIdRequestBody -> Maybe PostSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'Variants
-- | payment_behavior: Use `allow_incomplete` to transition the
-- subscription to `status=past_due` if a payment is required but cannot
-- be paid. This allows you to manage scenarios where additional user
-- actions are needed to pay a subscription's invoice. For example, SCA
-- regulation may require 3DS authentication to complete payment. See the
-- SCA Migration Guide for Billing to learn more. This is the
-- default behavior.
--
-- Use `default_incomplete` to transition the subscription to
-- `status=past_due` when payment is required and await explicit
-- confirmation of the invoice's payment intent. This allows simpler
-- management of scenarios where additional user actions are needed to
-- pay a subscription’s invoice. Such as failed payments, SCA
-- regulation, or collecting a mandate for a bank debit payment
-- method.
--
-- Use `pending_if_incomplete` to update the subscription using
-- pending updates. When you use `pending_if_incomplete` you can
-- only pass the parameters supported by pending updates.
--
-- Use `error_if_incomplete` if you want Stripe to return an HTTP 402
-- status code if a subscription's invoice cannot be paid. For example,
-- if a payment method requires 3DS authentication due to SCA regulation
-- and further user action is needed, this parameter does not update the
-- subscription and returns an error instead. This was the default
-- behavior for API versions prior to 2019-03-14. See the
-- changelog to learn more.
[postSubscriptionsSubscriptionExposedIdRequestBodyPaymentBehavior] :: PostSubscriptionsSubscriptionExposedIdRequestBody -> Maybe PostSubscriptionsSubscriptionExposedIdRequestBodyPaymentBehavior'
-- | pending_invoice_item_interval: Specifies an interval for how often to
-- bill for any pending invoice items. It is analogous to calling
-- Create an invoice for the given subscription at the specified
-- interval.
[postSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval] :: PostSubscriptionsSubscriptionExposedIdRequestBody -> Maybe PostSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'Variants
-- | promotion_code: The promotion code to apply to this subscription. A
-- promotion code applied to a subscription will only affect invoices
-- created for that particular subscription.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSubscriptionsSubscriptionExposedIdRequestBodyPromotionCode] :: PostSubscriptionsSubscriptionExposedIdRequestBody -> Maybe Text
-- | proration_behavior: Determines how to handle prorations when
-- the billing cycle changes (e.g., when switching plans, resetting
-- `billing_cycle_anchor=now`, or starting a trial), or if an item's
-- `quantity` changes. Valid values are `create_prorations`, `none`, or
-- `always_invoice`.
--
-- Passing `create_prorations` will cause proration invoice items to be
-- created when applicable. These proration items will only be invoiced
-- immediately under certain conditions. In order to always
-- invoice immediately for prorations, pass `always_invoice`.
--
-- Prorations can be disabled by passing `none`.
[postSubscriptionsSubscriptionExposedIdRequestBodyProrationBehavior] :: PostSubscriptionsSubscriptionExposedIdRequestBody -> Maybe PostSubscriptionsSubscriptionExposedIdRequestBodyProrationBehavior'
-- | proration_date: If set, the proration will be calculated as though the
-- subscription was updated at the given time. This can be used to apply
-- exactly the same proration that was previewed with upcoming
-- invoice endpoint. It can also be used to implement custom
-- proration logic, such as prorating by day instead of by second, by
-- providing the time that you wish to use for proration calculations.
[postSubscriptionsSubscriptionExposedIdRequestBodyProrationDate] :: PostSubscriptionsSubscriptionExposedIdRequestBody -> Maybe Int
-- | transfer_data: If specified, the funds from the subscription's
-- invoices will be transferred to the destination and the ID of the
-- resulting transfers will be found on the resulting charges. This will
-- be unset if you POST an empty value.
[postSubscriptionsSubscriptionExposedIdRequestBodyTransferData] :: PostSubscriptionsSubscriptionExposedIdRequestBody -> Maybe PostSubscriptionsSubscriptionExposedIdRequestBodyTransferData'Variants
-- | trial_end: Unix timestamp representing the end of the trial period the
-- customer will get before being charged for the first time. This will
-- always overwrite any trials that might apply via a subscribed plan. If
-- set, trial_end will override the default trial period of the plan the
-- customer is being subscribed to. The special value `now` can be
-- provided to end the customer's trial immediately. Can be at most two
-- years from `billing_cycle_anchor`.
[postSubscriptionsSubscriptionExposedIdRequestBodyTrialEnd] :: PostSubscriptionsSubscriptionExposedIdRequestBody -> Maybe PostSubscriptionsSubscriptionExposedIdRequestBodyTrialEnd'Variants
-- | trial_from_plan: Indicates if a plan's `trial_period_days` should be
-- applied to the subscription. Setting `trial_end` per subscription is
-- preferred, and this defaults to `false`. Setting this flag to `true`
-- together with `trial_end` is not allowed.
[postSubscriptionsSubscriptionExposedIdRequestBodyTrialFromPlan] :: PostSubscriptionsSubscriptionExposedIdRequestBody -> Maybe Bool
-- | Create a new PostSubscriptionsSubscriptionExposedIdRequestBody
-- with all required fields.
mkPostSubscriptionsSubscriptionExposedIdRequestBody :: PostSubscriptionsSubscriptionExposedIdRequestBody
-- | Defines the object schema located at
-- paths./v1/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.add_invoice_items.items
-- in the specification.
data PostSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'
PostSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems' :: Maybe Text -> Maybe PostSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'PriceData' -> Maybe Int -> Maybe PostSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'TaxRates'Variants -> PostSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'
-- | price
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'Price] :: PostSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems' -> Maybe Text
-- | price_data
[postSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'PriceData] :: PostSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems' -> Maybe PostSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'PriceData'
-- | quantity
[postSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'Quantity] :: PostSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems' -> Maybe Int
-- | tax_rates
[postSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'TaxRates] :: PostSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems' -> Maybe PostSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'TaxRates'Variants
-- | Create a new
-- PostSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'
-- with all required fields.
mkPostSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems' :: PostSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'
-- | Defines the object schema located at
-- paths./v1/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.add_invoice_items.items.properties.price_data
-- in the specification.
data PostSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'PriceData'
PostSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'PriceData' :: Text -> Text -> Maybe PostSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'PriceData'TaxBehavior' -> Maybe Int -> Maybe Text -> PostSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'PriceData'
-- | currency
[postSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'PriceData'Currency] :: PostSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'PriceData' -> Text
-- | product
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'PriceData'Product] :: PostSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'PriceData' -> Text
-- | tax_behavior
[postSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'PriceData'TaxBehavior] :: PostSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'PriceData' -> Maybe PostSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'PriceData'TaxBehavior'
-- | unit_amount
[postSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'PriceData'UnitAmount] :: PostSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'PriceData' -> Maybe Int
-- | unit_amount_decimal
[postSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'PriceData'UnitAmountDecimal] :: PostSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'PriceData' -> Maybe Text
-- | Create a new
-- PostSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'PriceData'
-- with all required fields.
mkPostSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'PriceData' :: Text -> Text -> PostSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'PriceData'
-- | Defines the enum schema located at
-- paths./v1/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.add_invoice_items.items.properties.price_data.properties.tax_behavior
-- in the specification.
data PostSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'PriceData'TaxBehavior'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'PriceData'TaxBehavior'Other :: Value -> PostSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'PriceData'TaxBehavior'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'PriceData'TaxBehavior'Typed :: Text -> PostSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'PriceData'TaxBehavior'
-- | Represents the JSON value "exclusive"
PostSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'PriceData'TaxBehavior'EnumExclusive :: PostSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'PriceData'TaxBehavior'
-- | Represents the JSON value "inclusive"
PostSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'PriceData'TaxBehavior'EnumInclusive :: PostSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'PriceData'TaxBehavior'
-- | Represents the JSON value "unspecified"
PostSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'PriceData'TaxBehavior'EnumUnspecified :: PostSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'PriceData'TaxBehavior'
-- | Defines the oneOf schema located at
-- paths./v1/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.add_invoice_items.items.properties.tax_rates.anyOf
-- in the specification.
data PostSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'TaxRates'Variants
-- | Represents the JSON value ""
PostSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'TaxRates'EmptyString :: PostSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'TaxRates'Variants
PostSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'TaxRates'ListTText :: [Text] -> PostSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'TaxRates'Variants
-- | Defines the object schema located at
-- paths./v1/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.automatic_tax
-- in the specification.
--
-- Automatic tax settings for this subscription.
data PostSubscriptionsSubscriptionExposedIdRequestBodyAutomaticTax'
PostSubscriptionsSubscriptionExposedIdRequestBodyAutomaticTax' :: Bool -> PostSubscriptionsSubscriptionExposedIdRequestBodyAutomaticTax'
-- | enabled
[postSubscriptionsSubscriptionExposedIdRequestBodyAutomaticTax'Enabled] :: PostSubscriptionsSubscriptionExposedIdRequestBodyAutomaticTax' -> Bool
-- | Create a new
-- PostSubscriptionsSubscriptionExposedIdRequestBodyAutomaticTax'
-- with all required fields.
mkPostSubscriptionsSubscriptionExposedIdRequestBodyAutomaticTax' :: Bool -> PostSubscriptionsSubscriptionExposedIdRequestBodyAutomaticTax'
-- | Defines the enum schema located at
-- paths./v1/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.billing_cycle_anchor
-- in the specification.
--
-- Either `now` or `unchanged`. Setting the value to `now` resets the
-- subscription's billing cycle anchor to the current time. For more
-- information, see the billing cycle documentation.
data PostSubscriptionsSubscriptionExposedIdRequestBodyBillingCycleAnchor'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostSubscriptionsSubscriptionExposedIdRequestBodyBillingCycleAnchor'Other :: Value -> PostSubscriptionsSubscriptionExposedIdRequestBodyBillingCycleAnchor'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostSubscriptionsSubscriptionExposedIdRequestBodyBillingCycleAnchor'Typed :: Text -> PostSubscriptionsSubscriptionExposedIdRequestBodyBillingCycleAnchor'
-- | Represents the JSON value "now"
PostSubscriptionsSubscriptionExposedIdRequestBodyBillingCycleAnchor'EnumNow :: PostSubscriptionsSubscriptionExposedIdRequestBodyBillingCycleAnchor'
-- | Represents the JSON value "unchanged"
PostSubscriptionsSubscriptionExposedIdRequestBodyBillingCycleAnchor'EnumUnchanged :: PostSubscriptionsSubscriptionExposedIdRequestBodyBillingCycleAnchor'
-- | Defines the object schema located at
-- paths./v1/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.billing_thresholds.anyOf
-- in the specification.
data PostSubscriptionsSubscriptionExposedIdRequestBodyBillingThresholds'OneOf1
PostSubscriptionsSubscriptionExposedIdRequestBodyBillingThresholds'OneOf1 :: Maybe Int -> Maybe Bool -> PostSubscriptionsSubscriptionExposedIdRequestBodyBillingThresholds'OneOf1
-- | amount_gte
[postSubscriptionsSubscriptionExposedIdRequestBodyBillingThresholds'OneOf1AmountGte] :: PostSubscriptionsSubscriptionExposedIdRequestBodyBillingThresholds'OneOf1 -> Maybe Int
-- | reset_billing_cycle_anchor
[postSubscriptionsSubscriptionExposedIdRequestBodyBillingThresholds'OneOf1ResetBillingCycleAnchor] :: PostSubscriptionsSubscriptionExposedIdRequestBodyBillingThresholds'OneOf1 -> Maybe Bool
-- | Create a new
-- PostSubscriptionsSubscriptionExposedIdRequestBodyBillingThresholds'OneOf1
-- with all required fields.
mkPostSubscriptionsSubscriptionExposedIdRequestBodyBillingThresholds'OneOf1 :: PostSubscriptionsSubscriptionExposedIdRequestBodyBillingThresholds'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.billing_thresholds.anyOf
-- in the specification.
--
-- Define thresholds at which an invoice will be sent, and the
-- subscription advanced to a new billing period. Pass an empty string to
-- remove previously-defined thresholds.
data PostSubscriptionsSubscriptionExposedIdRequestBodyBillingThresholds'Variants
-- | Represents the JSON value ""
PostSubscriptionsSubscriptionExposedIdRequestBodyBillingThresholds'EmptyString :: PostSubscriptionsSubscriptionExposedIdRequestBodyBillingThresholds'Variants
PostSubscriptionsSubscriptionExposedIdRequestBodyBillingThresholds'PostSubscriptionsSubscriptionExposedIdRequestBodyBillingThresholds'OneOf1 :: PostSubscriptionsSubscriptionExposedIdRequestBodyBillingThresholds'OneOf1 -> PostSubscriptionsSubscriptionExposedIdRequestBodyBillingThresholds'Variants
-- | Defines the oneOf schema located at
-- paths./v1/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.cancel_at.anyOf
-- in the specification.
--
-- A timestamp at which the subscription should cancel. If set to a date
-- before the current period ends, this will cause a proration if
-- prorations have been enabled using `proration_behavior`. If set during
-- a future period, this will always cause a proration for that period.
data PostSubscriptionsSubscriptionExposedIdRequestBodyCancelAt'Variants
-- | Represents the JSON value ""
PostSubscriptionsSubscriptionExposedIdRequestBodyCancelAt'EmptyString :: PostSubscriptionsSubscriptionExposedIdRequestBodyCancelAt'Variants
PostSubscriptionsSubscriptionExposedIdRequestBodyCancelAt'Int :: Int -> PostSubscriptionsSubscriptionExposedIdRequestBodyCancelAt'Variants
-- | Defines the enum schema located at
-- paths./v1/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.collection_method
-- in the specification.
--
-- Either `charge_automatically`, or `send_invoice`. When charging
-- automatically, Stripe will attempt to pay this subscription at the end
-- of the cycle using the default source attached to the customer. When
-- sending an invoice, Stripe will email your customer an invoice with
-- payment instructions. Defaults to `charge_automatically`.
data PostSubscriptionsSubscriptionExposedIdRequestBodyCollectionMethod'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostSubscriptionsSubscriptionExposedIdRequestBodyCollectionMethod'Other :: Value -> PostSubscriptionsSubscriptionExposedIdRequestBodyCollectionMethod'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostSubscriptionsSubscriptionExposedIdRequestBodyCollectionMethod'Typed :: Text -> PostSubscriptionsSubscriptionExposedIdRequestBodyCollectionMethod'
-- | Represents the JSON value "charge_automatically"
PostSubscriptionsSubscriptionExposedIdRequestBodyCollectionMethod'EnumChargeAutomatically :: PostSubscriptionsSubscriptionExposedIdRequestBodyCollectionMethod'
-- | Represents the JSON value "send_invoice"
PostSubscriptionsSubscriptionExposedIdRequestBodyCollectionMethod'EnumSendInvoice :: PostSubscriptionsSubscriptionExposedIdRequestBodyCollectionMethod'
-- | Defines the oneOf schema located at
-- paths./v1/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.default_tax_rates.anyOf
-- in the specification.
--
-- The tax rates that will apply to any subscription item that does not
-- have `tax_rates` set. Invoices created will have their
-- `default_tax_rates` populated from the subscription. Pass an empty
-- string to remove previously-defined tax rates.
data PostSubscriptionsSubscriptionExposedIdRequestBodyDefaultTaxRates'Variants
-- | Represents the JSON value ""
PostSubscriptionsSubscriptionExposedIdRequestBodyDefaultTaxRates'EmptyString :: PostSubscriptionsSubscriptionExposedIdRequestBodyDefaultTaxRates'Variants
PostSubscriptionsSubscriptionExposedIdRequestBodyDefaultTaxRates'ListTText :: [Text] -> PostSubscriptionsSubscriptionExposedIdRequestBodyDefaultTaxRates'Variants
-- | Defines the object schema located at
-- paths./v1/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.items.items
-- in the specification.
data PostSubscriptionsSubscriptionExposedIdRequestBodyItems'
PostSubscriptionsSubscriptionExposedIdRequestBodyItems' :: Maybe PostSubscriptionsSubscriptionExposedIdRequestBodyItems'BillingThresholds'Variants -> Maybe Bool -> Maybe Bool -> Maybe Text -> Maybe PostSubscriptionsSubscriptionExposedIdRequestBodyItems'Metadata'Variants -> Maybe Text -> Maybe PostSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData' -> Maybe Int -> Maybe PostSubscriptionsSubscriptionExposedIdRequestBodyItems'TaxRates'Variants -> PostSubscriptionsSubscriptionExposedIdRequestBodyItems'
-- | billing_thresholds
[postSubscriptionsSubscriptionExposedIdRequestBodyItems'BillingThresholds] :: PostSubscriptionsSubscriptionExposedIdRequestBodyItems' -> Maybe PostSubscriptionsSubscriptionExposedIdRequestBodyItems'BillingThresholds'Variants
-- | clear_usage
[postSubscriptionsSubscriptionExposedIdRequestBodyItems'ClearUsage] :: PostSubscriptionsSubscriptionExposedIdRequestBodyItems' -> Maybe Bool
-- | deleted
[postSubscriptionsSubscriptionExposedIdRequestBodyItems'Deleted] :: PostSubscriptionsSubscriptionExposedIdRequestBodyItems' -> Maybe Bool
-- | id
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSubscriptionsSubscriptionExposedIdRequestBodyItems'Id] :: PostSubscriptionsSubscriptionExposedIdRequestBodyItems' -> Maybe Text
-- | metadata
[postSubscriptionsSubscriptionExposedIdRequestBodyItems'Metadata] :: PostSubscriptionsSubscriptionExposedIdRequestBodyItems' -> Maybe PostSubscriptionsSubscriptionExposedIdRequestBodyItems'Metadata'Variants
-- | price
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSubscriptionsSubscriptionExposedIdRequestBodyItems'Price] :: PostSubscriptionsSubscriptionExposedIdRequestBodyItems' -> Maybe Text
-- | price_data
[postSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData] :: PostSubscriptionsSubscriptionExposedIdRequestBodyItems' -> Maybe PostSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'
-- | quantity
[postSubscriptionsSubscriptionExposedIdRequestBodyItems'Quantity] :: PostSubscriptionsSubscriptionExposedIdRequestBodyItems' -> Maybe Int
-- | tax_rates
[postSubscriptionsSubscriptionExposedIdRequestBodyItems'TaxRates] :: PostSubscriptionsSubscriptionExposedIdRequestBodyItems' -> Maybe PostSubscriptionsSubscriptionExposedIdRequestBodyItems'TaxRates'Variants
-- | Create a new
-- PostSubscriptionsSubscriptionExposedIdRequestBodyItems' with
-- all required fields.
mkPostSubscriptionsSubscriptionExposedIdRequestBodyItems' :: PostSubscriptionsSubscriptionExposedIdRequestBodyItems'
-- | Defines the object schema located at
-- paths./v1/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.items.items.properties.billing_thresholds.anyOf
-- in the specification.
data PostSubscriptionsSubscriptionExposedIdRequestBodyItems'BillingThresholds'OneOf1
PostSubscriptionsSubscriptionExposedIdRequestBodyItems'BillingThresholds'OneOf1 :: Int -> PostSubscriptionsSubscriptionExposedIdRequestBodyItems'BillingThresholds'OneOf1
-- | usage_gte
[postSubscriptionsSubscriptionExposedIdRequestBodyItems'BillingThresholds'OneOf1UsageGte] :: PostSubscriptionsSubscriptionExposedIdRequestBodyItems'BillingThresholds'OneOf1 -> Int
-- | Create a new
-- PostSubscriptionsSubscriptionExposedIdRequestBodyItems'BillingThresholds'OneOf1
-- with all required fields.
mkPostSubscriptionsSubscriptionExposedIdRequestBodyItems'BillingThresholds'OneOf1 :: Int -> PostSubscriptionsSubscriptionExposedIdRequestBodyItems'BillingThresholds'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.items.items.properties.billing_thresholds.anyOf
-- in the specification.
data PostSubscriptionsSubscriptionExposedIdRequestBodyItems'BillingThresholds'Variants
-- | Represents the JSON value ""
PostSubscriptionsSubscriptionExposedIdRequestBodyItems'BillingThresholds'EmptyString :: PostSubscriptionsSubscriptionExposedIdRequestBodyItems'BillingThresholds'Variants
PostSubscriptionsSubscriptionExposedIdRequestBodyItems'BillingThresholds'PostSubscriptionsSubscriptionExposedIdRequestBodyItems'BillingThresholds'OneOf1 :: PostSubscriptionsSubscriptionExposedIdRequestBodyItems'BillingThresholds'OneOf1 -> PostSubscriptionsSubscriptionExposedIdRequestBodyItems'BillingThresholds'Variants
-- | Defines the oneOf schema located at
-- paths./v1/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.items.items.properties.metadata.anyOf
-- in the specification.
data PostSubscriptionsSubscriptionExposedIdRequestBodyItems'Metadata'Variants
-- | Represents the JSON value ""
PostSubscriptionsSubscriptionExposedIdRequestBodyItems'Metadata'EmptyString :: PostSubscriptionsSubscriptionExposedIdRequestBodyItems'Metadata'Variants
PostSubscriptionsSubscriptionExposedIdRequestBodyItems'Metadata'Object :: Object -> PostSubscriptionsSubscriptionExposedIdRequestBodyItems'Metadata'Variants
-- | Defines the object schema located at
-- paths./v1/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.items.items.properties.price_data
-- in the specification.
data PostSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'
PostSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData' :: Text -> Text -> PostSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'Recurring' -> Maybe PostSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'TaxBehavior' -> Maybe Int -> Maybe Text -> PostSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'
-- | currency
[postSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'Currency] :: PostSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData' -> Text
-- | product
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'Product] :: PostSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData' -> Text
-- | recurring
[postSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'Recurring] :: PostSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData' -> PostSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'Recurring'
-- | tax_behavior
[postSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'TaxBehavior] :: PostSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData' -> Maybe PostSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'TaxBehavior'
-- | unit_amount
[postSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'UnitAmount] :: PostSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData' -> Maybe Int
-- | unit_amount_decimal
[postSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'UnitAmountDecimal] :: PostSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData' -> Maybe Text
-- | Create a new
-- PostSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'
-- with all required fields.
mkPostSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData' :: Text -> Text -> PostSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'Recurring' -> PostSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'
-- | Defines the object schema located at
-- paths./v1/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.items.items.properties.price_data.properties.recurring
-- in the specification.
data PostSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'Recurring'
PostSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'Recurring' :: PostSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'Recurring'Interval' -> Maybe Int -> PostSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'Recurring'
-- | interval
[postSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'Recurring'Interval] :: PostSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'Recurring' -> PostSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'Recurring'Interval'
-- | interval_count
[postSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'Recurring'IntervalCount] :: PostSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'Recurring' -> Maybe Int
-- | Create a new
-- PostSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'Recurring'
-- with all required fields.
mkPostSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'Recurring' :: PostSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'Recurring'Interval' -> PostSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'Recurring'
-- | Defines the enum schema located at
-- paths./v1/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.items.items.properties.price_data.properties.recurring.properties.interval
-- in the specification.
data PostSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'Recurring'Interval'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'Recurring'Interval'Other :: Value -> PostSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'Recurring'Interval'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'Recurring'Interval'Typed :: Text -> PostSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'Recurring'Interval'
-- | Represents the JSON value "day"
PostSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'Recurring'Interval'EnumDay :: PostSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'Recurring'Interval'
-- | Represents the JSON value "month"
PostSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'Recurring'Interval'EnumMonth :: PostSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'Recurring'Interval'
-- | Represents the JSON value "week"
PostSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'Recurring'Interval'EnumWeek :: PostSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'Recurring'Interval'
-- | Represents the JSON value "year"
PostSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'Recurring'Interval'EnumYear :: PostSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'Recurring'Interval'
-- | Defines the enum schema located at
-- paths./v1/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.items.items.properties.price_data.properties.tax_behavior
-- in the specification.
data PostSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'TaxBehavior'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'TaxBehavior'Other :: Value -> PostSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'TaxBehavior'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'TaxBehavior'Typed :: Text -> PostSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'TaxBehavior'
-- | Represents the JSON value "exclusive"
PostSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'TaxBehavior'EnumExclusive :: PostSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'TaxBehavior'
-- | Represents the JSON value "inclusive"
PostSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'TaxBehavior'EnumInclusive :: PostSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'TaxBehavior'
-- | Represents the JSON value "unspecified"
PostSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'TaxBehavior'EnumUnspecified :: PostSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'TaxBehavior'
-- | Defines the oneOf schema located at
-- paths./v1/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.items.items.properties.tax_rates.anyOf
-- in the specification.
data PostSubscriptionsSubscriptionExposedIdRequestBodyItems'TaxRates'Variants
-- | Represents the JSON value ""
PostSubscriptionsSubscriptionExposedIdRequestBodyItems'TaxRates'EmptyString :: PostSubscriptionsSubscriptionExposedIdRequestBodyItems'TaxRates'Variants
PostSubscriptionsSubscriptionExposedIdRequestBodyItems'TaxRates'ListTText :: [Text] -> PostSubscriptionsSubscriptionExposedIdRequestBodyItems'TaxRates'Variants
-- | Defines the oneOf schema located at
-- paths./v1/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.metadata.anyOf
-- in the specification.
--
-- Set of key-value pairs that you can attach to an object. This
-- can be useful for storing additional information about the object in a
-- structured format. Individual keys can be unset by posting an empty
-- value to them. All keys can be unset by posting an empty value to
-- `metadata`.
data PostSubscriptionsSubscriptionExposedIdRequestBodyMetadata'Variants
-- | Represents the JSON value ""
PostSubscriptionsSubscriptionExposedIdRequestBodyMetadata'EmptyString :: PostSubscriptionsSubscriptionExposedIdRequestBodyMetadata'Variants
PostSubscriptionsSubscriptionExposedIdRequestBodyMetadata'Object :: Object -> PostSubscriptionsSubscriptionExposedIdRequestBodyMetadata'Variants
-- | Defines the object schema located at
-- paths./v1/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.pause_collection.anyOf
-- in the specification.
data PostSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'OneOf1
PostSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'OneOf1 :: PostSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'OneOf1Behavior' -> Maybe Int -> PostSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'OneOf1
-- | behavior
[postSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'OneOf1Behavior] :: PostSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'OneOf1 -> PostSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'OneOf1Behavior'
-- | resumes_at
[postSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'OneOf1ResumesAt] :: PostSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'OneOf1 -> Maybe Int
-- | Create a new
-- PostSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'OneOf1
-- with all required fields.
mkPostSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'OneOf1 :: PostSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'OneOf1Behavior' -> PostSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'OneOf1
-- | Defines the enum schema located at
-- paths./v1/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.pause_collection.anyOf.properties.behavior
-- in the specification.
data PostSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'OneOf1Behavior'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'OneOf1Behavior'Other :: Value -> PostSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'OneOf1Behavior'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'OneOf1Behavior'Typed :: Text -> PostSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'OneOf1Behavior'
-- | Represents the JSON value "keep_as_draft"
PostSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'OneOf1Behavior'EnumKeepAsDraft :: PostSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'OneOf1Behavior'
-- | Represents the JSON value "mark_uncollectible"
PostSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'OneOf1Behavior'EnumMarkUncollectible :: PostSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'OneOf1Behavior'
-- | Represents the JSON value "void"
PostSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'OneOf1Behavior'EnumVoid :: PostSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'OneOf1Behavior'
-- | Defines the oneOf schema located at
-- paths./v1/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.pause_collection.anyOf
-- in the specification.
--
-- If specified, payment collection for this subscription will be paused.
data PostSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'Variants
-- | Represents the JSON value ""
PostSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'EmptyString :: PostSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'Variants
PostSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'PostSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'OneOf1 :: PostSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'OneOf1 -> PostSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'Variants
-- | Defines the enum schema located at
-- paths./v1/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_behavior
-- in the specification.
--
-- Use `allow_incomplete` to transition the subscription to
-- `status=past_due` if a payment is required but cannot be paid. This
-- allows you to manage scenarios where additional user actions are
-- needed to pay a subscription's invoice. For example, SCA regulation
-- may require 3DS authentication to complete payment. See the SCA
-- Migration Guide for Billing to learn more. This is the default
-- behavior.
--
-- Use `default_incomplete` to transition the subscription to
-- `status=past_due` when payment is required and await explicit
-- confirmation of the invoice's payment intent. This allows simpler
-- management of scenarios where additional user actions are needed to
-- pay a subscription’s invoice. Such as failed payments, SCA
-- regulation, or collecting a mandate for a bank debit payment
-- method.
--
-- Use `pending_if_incomplete` to update the subscription using
-- pending updates. When you use `pending_if_incomplete` you can
-- only pass the parameters supported by pending updates.
--
-- Use `error_if_incomplete` if you want Stripe to return an HTTP 402
-- status code if a subscription's invoice cannot be paid. For example,
-- if a payment method requires 3DS authentication due to SCA regulation
-- and further user action is needed, this parameter does not update the
-- subscription and returns an error instead. This was the default
-- behavior for API versions prior to 2019-03-14. See the
-- changelog to learn more.
data PostSubscriptionsSubscriptionExposedIdRequestBodyPaymentBehavior'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostSubscriptionsSubscriptionExposedIdRequestBodyPaymentBehavior'Other :: Value -> PostSubscriptionsSubscriptionExposedIdRequestBodyPaymentBehavior'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostSubscriptionsSubscriptionExposedIdRequestBodyPaymentBehavior'Typed :: Text -> PostSubscriptionsSubscriptionExposedIdRequestBodyPaymentBehavior'
-- | Represents the JSON value "allow_incomplete"
PostSubscriptionsSubscriptionExposedIdRequestBodyPaymentBehavior'EnumAllowIncomplete :: PostSubscriptionsSubscriptionExposedIdRequestBodyPaymentBehavior'
-- | Represents the JSON value "default_incomplete"
PostSubscriptionsSubscriptionExposedIdRequestBodyPaymentBehavior'EnumDefaultIncomplete :: PostSubscriptionsSubscriptionExposedIdRequestBodyPaymentBehavior'
-- | Represents the JSON value "error_if_incomplete"
PostSubscriptionsSubscriptionExposedIdRequestBodyPaymentBehavior'EnumErrorIfIncomplete :: PostSubscriptionsSubscriptionExposedIdRequestBodyPaymentBehavior'
-- | Represents the JSON value "pending_if_incomplete"
PostSubscriptionsSubscriptionExposedIdRequestBodyPaymentBehavior'EnumPendingIfIncomplete :: PostSubscriptionsSubscriptionExposedIdRequestBodyPaymentBehavior'
-- | Defines the object schema located at
-- paths./v1/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.pending_invoice_item_interval.anyOf
-- in the specification.
data PostSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'OneOf1
PostSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'OneOf1 :: PostSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'OneOf1Interval' -> Maybe Int -> PostSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'OneOf1
-- | interval
[postSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'OneOf1Interval] :: PostSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'OneOf1 -> PostSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'OneOf1Interval'
-- | interval_count
[postSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'OneOf1IntervalCount] :: PostSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'OneOf1 -> Maybe Int
-- | Create a new
-- PostSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'OneOf1
-- with all required fields.
mkPostSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'OneOf1 :: PostSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'OneOf1Interval' -> PostSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'OneOf1
-- | Defines the enum schema located at
-- paths./v1/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.pending_invoice_item_interval.anyOf.properties.interval
-- in the specification.
data PostSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'OneOf1Interval'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'OneOf1Interval'Other :: Value -> PostSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'OneOf1Interval'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'OneOf1Interval'Typed :: Text -> PostSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'OneOf1Interval'
-- | Represents the JSON value "day"
PostSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'OneOf1Interval'EnumDay :: PostSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'OneOf1Interval'
-- | Represents the JSON value "month"
PostSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'OneOf1Interval'EnumMonth :: PostSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'OneOf1Interval'
-- | Represents the JSON value "week"
PostSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'OneOf1Interval'EnumWeek :: PostSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'OneOf1Interval'
-- | Represents the JSON value "year"
PostSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'OneOf1Interval'EnumYear :: PostSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'OneOf1Interval'
-- | Defines the oneOf schema located at
-- paths./v1/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.pending_invoice_item_interval.anyOf
-- in the specification.
--
-- Specifies an interval for how often to bill for any pending invoice
-- items. It is analogous to calling Create an invoice for the
-- given subscription at the specified interval.
data PostSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'Variants
-- | Represents the JSON value ""
PostSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'EmptyString :: PostSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'Variants
PostSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'PostSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'OneOf1 :: PostSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'OneOf1 -> PostSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'Variants
-- | Defines the enum schema located at
-- paths./v1/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.proration_behavior
-- in the specification.
--
-- Determines how to handle prorations when the billing cycle
-- changes (e.g., when switching plans, resetting
-- `billing_cycle_anchor=now`, or starting a trial), or if an item's
-- `quantity` changes. Valid values are `create_prorations`, `none`, or
-- `always_invoice`.
--
-- Passing `create_prorations` will cause proration invoice items to be
-- created when applicable. These proration items will only be invoiced
-- immediately under certain conditions. In order to always
-- invoice immediately for prorations, pass `always_invoice`.
--
-- Prorations can be disabled by passing `none`.
data PostSubscriptionsSubscriptionExposedIdRequestBodyProrationBehavior'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostSubscriptionsSubscriptionExposedIdRequestBodyProrationBehavior'Other :: Value -> PostSubscriptionsSubscriptionExposedIdRequestBodyProrationBehavior'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostSubscriptionsSubscriptionExposedIdRequestBodyProrationBehavior'Typed :: Text -> PostSubscriptionsSubscriptionExposedIdRequestBodyProrationBehavior'
-- | Represents the JSON value "always_invoice"
PostSubscriptionsSubscriptionExposedIdRequestBodyProrationBehavior'EnumAlwaysInvoice :: PostSubscriptionsSubscriptionExposedIdRequestBodyProrationBehavior'
-- | Represents the JSON value "create_prorations"
PostSubscriptionsSubscriptionExposedIdRequestBodyProrationBehavior'EnumCreateProrations :: PostSubscriptionsSubscriptionExposedIdRequestBodyProrationBehavior'
-- | Represents the JSON value "none"
PostSubscriptionsSubscriptionExposedIdRequestBodyProrationBehavior'EnumNone :: PostSubscriptionsSubscriptionExposedIdRequestBodyProrationBehavior'
-- | Defines the object schema located at
-- paths./v1/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.transfer_data.anyOf
-- in the specification.
data PostSubscriptionsSubscriptionExposedIdRequestBodyTransferData'OneOf1
PostSubscriptionsSubscriptionExposedIdRequestBodyTransferData'OneOf1 :: Maybe Double -> Text -> PostSubscriptionsSubscriptionExposedIdRequestBodyTransferData'OneOf1
-- | amount_percent
[postSubscriptionsSubscriptionExposedIdRequestBodyTransferData'OneOf1AmountPercent] :: PostSubscriptionsSubscriptionExposedIdRequestBodyTransferData'OneOf1 -> Maybe Double
-- | destination
[postSubscriptionsSubscriptionExposedIdRequestBodyTransferData'OneOf1Destination] :: PostSubscriptionsSubscriptionExposedIdRequestBodyTransferData'OneOf1 -> Text
-- | Create a new
-- PostSubscriptionsSubscriptionExposedIdRequestBodyTransferData'OneOf1
-- with all required fields.
mkPostSubscriptionsSubscriptionExposedIdRequestBodyTransferData'OneOf1 :: Text -> PostSubscriptionsSubscriptionExposedIdRequestBodyTransferData'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.transfer_data.anyOf
-- in the specification.
--
-- If specified, the funds from the subscription's invoices will be
-- transferred to the destination and the ID of the resulting transfers
-- will be found on the resulting charges. This will be unset if you POST
-- an empty value.
data PostSubscriptionsSubscriptionExposedIdRequestBodyTransferData'Variants
-- | Represents the JSON value ""
PostSubscriptionsSubscriptionExposedIdRequestBodyTransferData'EmptyString :: PostSubscriptionsSubscriptionExposedIdRequestBodyTransferData'Variants
PostSubscriptionsSubscriptionExposedIdRequestBodyTransferData'PostSubscriptionsSubscriptionExposedIdRequestBodyTransferData'OneOf1 :: PostSubscriptionsSubscriptionExposedIdRequestBodyTransferData'OneOf1 -> PostSubscriptionsSubscriptionExposedIdRequestBodyTransferData'Variants
-- | Defines the oneOf schema located at
-- paths./v1/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.trial_end.anyOf
-- in the specification.
--
-- Unix timestamp representing the end of the trial period the customer
-- will get before being charged for the first time. This will always
-- overwrite any trials that might apply via a subscribed plan. If set,
-- trial_end will override the default trial period of the plan the
-- customer is being subscribed to. The special value `now` can be
-- provided to end the customer's trial immediately. Can be at most two
-- years from `billing_cycle_anchor`.
data PostSubscriptionsSubscriptionExposedIdRequestBodyTrialEnd'Variants
-- | Represents the JSON value "now"
PostSubscriptionsSubscriptionExposedIdRequestBodyTrialEnd'Now :: PostSubscriptionsSubscriptionExposedIdRequestBodyTrialEnd'Variants
PostSubscriptionsSubscriptionExposedIdRequestBodyTrialEnd'Int :: Int -> PostSubscriptionsSubscriptionExposedIdRequestBodyTrialEnd'Variants
-- | Represents a response of the operation
-- postSubscriptionsSubscriptionExposedId.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- PostSubscriptionsSubscriptionExposedIdResponseError is used.
data PostSubscriptionsSubscriptionExposedIdResponse
-- | Means either no matching case available or a parse error
PostSubscriptionsSubscriptionExposedIdResponseError :: String -> PostSubscriptionsSubscriptionExposedIdResponse
-- | Successful response.
PostSubscriptionsSubscriptionExposedIdResponse200 :: Subscription -> PostSubscriptionsSubscriptionExposedIdResponse
-- | Error response.
PostSubscriptionsSubscriptionExposedIdResponseDefault :: Error -> PostSubscriptionsSubscriptionExposedIdResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'PriceData'TaxBehavior'
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'PriceData'TaxBehavior'
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'PriceData'
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'PriceData'
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'TaxRates'Variants
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'TaxRates'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyAutomaticTax'
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyAutomaticTax'
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyBillingCycleAnchor'
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyBillingCycleAnchor'
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyBillingThresholds'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyBillingThresholds'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyBillingThresholds'Variants
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyBillingThresholds'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyCancelAt'Variants
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyCancelAt'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyCollectionMethod'
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyCollectionMethod'
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyDefaultTaxRates'Variants
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyDefaultTaxRates'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyItems'BillingThresholds'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyItems'BillingThresholds'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyItems'BillingThresholds'Variants
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyItems'BillingThresholds'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyItems'Metadata'Variants
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyItems'Metadata'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'Recurring'Interval'
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'Recurring'Interval'
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'Recurring'
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'Recurring'
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'TaxBehavior'
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'TaxBehavior'
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyItems'TaxRates'Variants
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyItems'TaxRates'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyItems'
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyItems'
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyMetadata'Variants
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyMetadata'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'OneOf1Behavior'
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'OneOf1Behavior'
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'Variants
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyPaymentBehavior'
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyPaymentBehavior'
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'OneOf1Interval'
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'OneOf1Interval'
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'Variants
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyProrationBehavior'
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyProrationBehavior'
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyTransferData'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyTransferData'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyTransferData'Variants
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyTransferData'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyTrialEnd'Variants
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyTrialEnd'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdResponse
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyTrialEnd'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyTrialEnd'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyTransferData'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyTransferData'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyTransferData'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyTransferData'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyProrationBehavior'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyProrationBehavior'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'OneOf1Interval'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'OneOf1Interval'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyPaymentBehavior'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyPaymentBehavior'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'OneOf1Behavior'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'OneOf1Behavior'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyMetadata'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyMetadata'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyItems'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyItems'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyItems'TaxRates'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyItems'TaxRates'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'TaxBehavior'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'TaxBehavior'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'Recurring'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'Recurring'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'Recurring'Interval'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'Recurring'Interval'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyItems'Metadata'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyItems'Metadata'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyItems'BillingThresholds'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyItems'BillingThresholds'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyItems'BillingThresholds'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyItems'BillingThresholds'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyDefaultTaxRates'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyDefaultTaxRates'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyCollectionMethod'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyCollectionMethod'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyCancelAt'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyCancelAt'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyBillingThresholds'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyBillingThresholds'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyBillingThresholds'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyBillingThresholds'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyBillingCycleAnchor'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyBillingCycleAnchor'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyAutomaticTax'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyAutomaticTax'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'TaxRates'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'TaxRates'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'PriceData'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'PriceData'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'PriceData'TaxBehavior'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionsSubscriptionExposedId.PostSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'PriceData'TaxBehavior'
-- | Contains the different functions to run the operation
-- postSubscriptions
module StripeAPI.Operations.PostSubscriptions
-- |
-- POST /v1/subscriptions
--
--
-- <p>Creates a new subscription on an existing customer. Each
-- customer can have up to 500 active or scheduled
-- subscriptions.</p>
postSubscriptions :: forall m. MonadHTTP m => PostSubscriptionsRequestBody -> ClientT m (Response PostSubscriptionsResponse)
-- | Defines the object schema located at
-- paths./v1/subscriptions.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostSubscriptionsRequestBody
PostSubscriptionsRequestBody :: Maybe [PostSubscriptionsRequestBodyAddInvoiceItems'] -> Maybe Double -> Maybe PostSubscriptionsRequestBodyAutomaticTax' -> Maybe Int -> Maybe Int -> Maybe PostSubscriptionsRequestBodyBillingThresholds'Variants -> Maybe Int -> Maybe Bool -> Maybe PostSubscriptionsRequestBodyCollectionMethod' -> Maybe Text -> Text -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe PostSubscriptionsRequestBodyDefaultTaxRates'Variants -> Maybe [Text] -> Maybe [PostSubscriptionsRequestBodyItems'] -> Maybe PostSubscriptionsRequestBodyMetadata'Variants -> Maybe Bool -> Maybe PostSubscriptionsRequestBodyPaymentBehavior' -> Maybe PostSubscriptionsRequestBodyPendingInvoiceItemInterval'Variants -> Maybe Text -> Maybe PostSubscriptionsRequestBodyProrationBehavior' -> Maybe PostSubscriptionsRequestBodyTransferData' -> Maybe PostSubscriptionsRequestBodyTrialEnd'Variants -> Maybe Bool -> Maybe Int -> PostSubscriptionsRequestBody
-- | add_invoice_items: A list of prices and quantities that will generate
-- invoice items appended to the first invoice for this subscription. You
-- may pass up to 20 items.
[postSubscriptionsRequestBodyAddInvoiceItems] :: PostSubscriptionsRequestBody -> Maybe [PostSubscriptionsRequestBodyAddInvoiceItems']
-- | application_fee_percent: A non-negative decimal between 0 and 100,
-- with at most two decimal places. This represents the percentage of the
-- subscription invoice subtotal that will be transferred to the
-- application owner's Stripe account. The request must be made by a
-- platform account on a connected account in order to set an application
-- fee percentage. For more information, see the application fees
-- documentation.
[postSubscriptionsRequestBodyApplicationFeePercent] :: PostSubscriptionsRequestBody -> Maybe Double
-- | automatic_tax: Automatic tax settings for this subscription.
[postSubscriptionsRequestBodyAutomaticTax] :: PostSubscriptionsRequestBody -> Maybe PostSubscriptionsRequestBodyAutomaticTax'
-- | backdate_start_date: For new subscriptions, a past timestamp to
-- backdate the subscription's start date to. If set, the first invoice
-- will contain a proration for the timespan between the start date and
-- the current time. Can be combined with trials and the billing cycle
-- anchor.
[postSubscriptionsRequestBodyBackdateStartDate] :: PostSubscriptionsRequestBody -> Maybe Int
-- | billing_cycle_anchor: A future timestamp to anchor the subscription's
-- billing cycle. This is used to determine the date of the first
-- full invoice, and, for plans with `month` or `year` intervals, the day
-- of the month for subsequent invoices.
[postSubscriptionsRequestBodyBillingCycleAnchor] :: PostSubscriptionsRequestBody -> Maybe Int
-- | billing_thresholds: Define thresholds at which an invoice will be
-- sent, and the subscription advanced to a new billing period. Pass an
-- empty string to remove previously-defined thresholds.
[postSubscriptionsRequestBodyBillingThresholds] :: PostSubscriptionsRequestBody -> Maybe PostSubscriptionsRequestBodyBillingThresholds'Variants
-- | cancel_at: A timestamp at which the subscription should cancel. If set
-- to a date before the current period ends, this will cause a proration
-- if prorations have been enabled using `proration_behavior`. If set
-- during a future period, this will always cause a proration for that
-- period.
[postSubscriptionsRequestBodyCancelAt] :: PostSubscriptionsRequestBody -> Maybe Int
-- | cancel_at_period_end: Boolean indicating whether this subscription
-- should cancel at the end of the current period.
[postSubscriptionsRequestBodyCancelAtPeriodEnd] :: PostSubscriptionsRequestBody -> Maybe Bool
-- | collection_method: Either `charge_automatically`, or `send_invoice`.
-- When charging automatically, Stripe will attempt to pay this
-- subscription at the end of the cycle using the default source attached
-- to the customer. When sending an invoice, Stripe will email your
-- customer an invoice with payment instructions. Defaults to
-- `charge_automatically`.
[postSubscriptionsRequestBodyCollectionMethod] :: PostSubscriptionsRequestBody -> Maybe PostSubscriptionsRequestBodyCollectionMethod'
-- | coupon: The ID of the coupon to apply to this subscription. A coupon
-- applied to a subscription will only affect invoices created for that
-- particular subscription.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSubscriptionsRequestBodyCoupon] :: PostSubscriptionsRequestBody -> Maybe Text
-- | customer: The identifier of the customer to subscribe.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSubscriptionsRequestBodyCustomer] :: PostSubscriptionsRequestBody -> Text
-- | days_until_due: Number of days a customer has to pay invoices
-- generated by this subscription. Valid only for subscriptions where
-- `collection_method` is set to `send_invoice`.
[postSubscriptionsRequestBodyDaysUntilDue] :: PostSubscriptionsRequestBody -> Maybe Int
-- | default_payment_method: ID of the default payment method for the
-- subscription. It must belong to the customer associated with the
-- subscription. This takes precedence over `default_source`. If neither
-- are set, invoices will use the customer's
-- invoice_settings.default_payment_method or
-- default_source.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSubscriptionsRequestBodyDefaultPaymentMethod] :: PostSubscriptionsRequestBody -> Maybe Text
-- | default_source: ID of the default payment source for the subscription.
-- It must belong to the customer associated with the subscription and be
-- in a chargeable state. If `default_payment_method` is also set,
-- `default_payment_method` will take precedence. If neither are set,
-- invoices will use the customer's
-- invoice_settings.default_payment_method or
-- default_source.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSubscriptionsRequestBodyDefaultSource] :: PostSubscriptionsRequestBody -> Maybe Text
-- | default_tax_rates: The tax rates that will apply to any subscription
-- item that does not have `tax_rates` set. Invoices created will have
-- their `default_tax_rates` populated from the subscription.
[postSubscriptionsRequestBodyDefaultTaxRates] :: PostSubscriptionsRequestBody -> Maybe PostSubscriptionsRequestBodyDefaultTaxRates'Variants
-- | expand: Specifies which fields in the response should be expanded.
[postSubscriptionsRequestBodyExpand] :: PostSubscriptionsRequestBody -> Maybe [Text]
-- | items: A list of up to 20 subscription items, each with an attached
-- price.
[postSubscriptionsRequestBodyItems] :: PostSubscriptionsRequestBody -> Maybe [PostSubscriptionsRequestBodyItems']
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postSubscriptionsRequestBodyMetadata] :: PostSubscriptionsRequestBody -> Maybe PostSubscriptionsRequestBodyMetadata'Variants
-- | off_session: Indicates if a customer is on or off-session while an
-- invoice payment is attempted.
[postSubscriptionsRequestBodyOffSession] :: PostSubscriptionsRequestBody -> Maybe Bool
-- | payment_behavior: Use `allow_incomplete` to create subscriptions with
-- `status=incomplete` if the first invoice cannot be paid. Creating
-- subscriptions with this status allows you to manage scenarios where
-- additional user actions are needed to pay a subscription's invoice.
-- For example, SCA regulation may require 3DS authentication to complete
-- payment. See the SCA Migration Guide for Billing to learn more.
-- This is the default behavior.
--
-- Use `default_incomplete` to create Subscriptions with
-- `status=incomplete` when the first invoice requires payment, otherwise
-- start as active. Subscriptions transition to `status=active` when
-- successfully confirming the payment intent on the first invoice. This
-- allows simpler management of scenarios where additional user actions
-- are needed to pay a subscription’s invoice. Such as failed payments,
-- SCA regulation, or collecting a mandate for a bank debit
-- payment method. If the payment intent is not confirmed within 23 hours
-- subscriptions transition to `status=expired_incomplete`, which is a
-- terminal state.
--
-- Use `error_if_incomplete` if you want Stripe to return an HTTP 402
-- status code if a subscription's first invoice cannot be paid. For
-- example, if a payment method requires 3DS authentication due to SCA
-- regulation and further user action is needed, this parameter does not
-- create a subscription and returns an error instead. This was the
-- default behavior for API versions prior to 2019-03-14. See the
-- changelog to learn more.
--
-- `pending_if_incomplete` is only used with updates and cannot be passed
-- when creating a subscription.
[postSubscriptionsRequestBodyPaymentBehavior] :: PostSubscriptionsRequestBody -> Maybe PostSubscriptionsRequestBodyPaymentBehavior'
-- | pending_invoice_item_interval: Specifies an interval for how often to
-- bill for any pending invoice items. It is analogous to calling
-- Create an invoice for the given subscription at the specified
-- interval.
[postSubscriptionsRequestBodyPendingInvoiceItemInterval] :: PostSubscriptionsRequestBody -> Maybe PostSubscriptionsRequestBodyPendingInvoiceItemInterval'Variants
-- | promotion_code: The API ID of a promotion code to apply to this
-- subscription. A promotion code applied to a subscription will only
-- affect invoices created for that particular subscription.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSubscriptionsRequestBodyPromotionCode] :: PostSubscriptionsRequestBody -> Maybe Text
-- | proration_behavior: Determines how to handle prorations
-- resulting from the `billing_cycle_anchor`. Valid values are
-- `create_prorations` or `none`.
--
-- Passing `create_prorations` will cause proration invoice items to be
-- created when applicable. Prorations can be disabled by passing `none`.
-- If no value is passed, the default is `create_prorations`.
[postSubscriptionsRequestBodyProrationBehavior] :: PostSubscriptionsRequestBody -> Maybe PostSubscriptionsRequestBodyProrationBehavior'
-- | transfer_data: If specified, the funds from the subscription's
-- invoices will be transferred to the destination and the ID of the
-- resulting transfers will be found on the resulting charges.
[postSubscriptionsRequestBodyTransferData] :: PostSubscriptionsRequestBody -> Maybe PostSubscriptionsRequestBodyTransferData'
-- | trial_end: Unix timestamp representing the end of the trial period the
-- customer will get before being charged for the first time. This will
-- always overwrite any trials that might apply via a subscribed plan. If
-- set, trial_end will override the default trial period of the plan the
-- customer is being subscribed to. The special value `now` can be
-- provided to end the customer's trial immediately. Can be at most two
-- years from `billing_cycle_anchor`.
[postSubscriptionsRequestBodyTrialEnd] :: PostSubscriptionsRequestBody -> Maybe PostSubscriptionsRequestBodyTrialEnd'Variants
-- | trial_from_plan: Indicates if a plan's `trial_period_days` should be
-- applied to the subscription. Setting `trial_end` per subscription is
-- preferred, and this defaults to `false`. Setting this flag to `true`
-- together with `trial_end` is not allowed.
[postSubscriptionsRequestBodyTrialFromPlan] :: PostSubscriptionsRequestBody -> Maybe Bool
-- | trial_period_days: Integer representing the number of trial period
-- days before the customer is charged for the first time. This will
-- always overwrite any trials that might apply via a subscribed plan.
[postSubscriptionsRequestBodyTrialPeriodDays] :: PostSubscriptionsRequestBody -> Maybe Int
-- | Create a new PostSubscriptionsRequestBody with all required
-- fields.
mkPostSubscriptionsRequestBody :: Text -> PostSubscriptionsRequestBody
-- | Defines the object schema located at
-- paths./v1/subscriptions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.add_invoice_items.items
-- in the specification.
data PostSubscriptionsRequestBodyAddInvoiceItems'
PostSubscriptionsRequestBodyAddInvoiceItems' :: Maybe Text -> Maybe PostSubscriptionsRequestBodyAddInvoiceItems'PriceData' -> Maybe Int -> Maybe PostSubscriptionsRequestBodyAddInvoiceItems'TaxRates'Variants -> PostSubscriptionsRequestBodyAddInvoiceItems'
-- | price
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSubscriptionsRequestBodyAddInvoiceItems'Price] :: PostSubscriptionsRequestBodyAddInvoiceItems' -> Maybe Text
-- | price_data
[postSubscriptionsRequestBodyAddInvoiceItems'PriceData] :: PostSubscriptionsRequestBodyAddInvoiceItems' -> Maybe PostSubscriptionsRequestBodyAddInvoiceItems'PriceData'
-- | quantity
[postSubscriptionsRequestBodyAddInvoiceItems'Quantity] :: PostSubscriptionsRequestBodyAddInvoiceItems' -> Maybe Int
-- | tax_rates
[postSubscriptionsRequestBodyAddInvoiceItems'TaxRates] :: PostSubscriptionsRequestBodyAddInvoiceItems' -> Maybe PostSubscriptionsRequestBodyAddInvoiceItems'TaxRates'Variants
-- | Create a new PostSubscriptionsRequestBodyAddInvoiceItems' with
-- all required fields.
mkPostSubscriptionsRequestBodyAddInvoiceItems' :: PostSubscriptionsRequestBodyAddInvoiceItems'
-- | Defines the object schema located at
-- paths./v1/subscriptions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.add_invoice_items.items.properties.price_data
-- in the specification.
data PostSubscriptionsRequestBodyAddInvoiceItems'PriceData'
PostSubscriptionsRequestBodyAddInvoiceItems'PriceData' :: Text -> Text -> Maybe PostSubscriptionsRequestBodyAddInvoiceItems'PriceData'TaxBehavior' -> Maybe Int -> Maybe Text -> PostSubscriptionsRequestBodyAddInvoiceItems'PriceData'
-- | currency
[postSubscriptionsRequestBodyAddInvoiceItems'PriceData'Currency] :: PostSubscriptionsRequestBodyAddInvoiceItems'PriceData' -> Text
-- | product
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSubscriptionsRequestBodyAddInvoiceItems'PriceData'Product] :: PostSubscriptionsRequestBodyAddInvoiceItems'PriceData' -> Text
-- | tax_behavior
[postSubscriptionsRequestBodyAddInvoiceItems'PriceData'TaxBehavior] :: PostSubscriptionsRequestBodyAddInvoiceItems'PriceData' -> Maybe PostSubscriptionsRequestBodyAddInvoiceItems'PriceData'TaxBehavior'
-- | unit_amount
[postSubscriptionsRequestBodyAddInvoiceItems'PriceData'UnitAmount] :: PostSubscriptionsRequestBodyAddInvoiceItems'PriceData' -> Maybe Int
-- | unit_amount_decimal
[postSubscriptionsRequestBodyAddInvoiceItems'PriceData'UnitAmountDecimal] :: PostSubscriptionsRequestBodyAddInvoiceItems'PriceData' -> Maybe Text
-- | Create a new
-- PostSubscriptionsRequestBodyAddInvoiceItems'PriceData' with all
-- required fields.
mkPostSubscriptionsRequestBodyAddInvoiceItems'PriceData' :: Text -> Text -> PostSubscriptionsRequestBodyAddInvoiceItems'PriceData'
-- | Defines the enum schema located at
-- paths./v1/subscriptions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.add_invoice_items.items.properties.price_data.properties.tax_behavior
-- in the specification.
data PostSubscriptionsRequestBodyAddInvoiceItems'PriceData'TaxBehavior'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostSubscriptionsRequestBodyAddInvoiceItems'PriceData'TaxBehavior'Other :: Value -> PostSubscriptionsRequestBodyAddInvoiceItems'PriceData'TaxBehavior'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostSubscriptionsRequestBodyAddInvoiceItems'PriceData'TaxBehavior'Typed :: Text -> PostSubscriptionsRequestBodyAddInvoiceItems'PriceData'TaxBehavior'
-- | Represents the JSON value "exclusive"
PostSubscriptionsRequestBodyAddInvoiceItems'PriceData'TaxBehavior'EnumExclusive :: PostSubscriptionsRequestBodyAddInvoiceItems'PriceData'TaxBehavior'
-- | Represents the JSON value "inclusive"
PostSubscriptionsRequestBodyAddInvoiceItems'PriceData'TaxBehavior'EnumInclusive :: PostSubscriptionsRequestBodyAddInvoiceItems'PriceData'TaxBehavior'
-- | Represents the JSON value "unspecified"
PostSubscriptionsRequestBodyAddInvoiceItems'PriceData'TaxBehavior'EnumUnspecified :: PostSubscriptionsRequestBodyAddInvoiceItems'PriceData'TaxBehavior'
-- | Defines the oneOf schema located at
-- paths./v1/subscriptions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.add_invoice_items.items.properties.tax_rates.anyOf
-- in the specification.
data PostSubscriptionsRequestBodyAddInvoiceItems'TaxRates'Variants
-- | Represents the JSON value ""
PostSubscriptionsRequestBodyAddInvoiceItems'TaxRates'EmptyString :: PostSubscriptionsRequestBodyAddInvoiceItems'TaxRates'Variants
PostSubscriptionsRequestBodyAddInvoiceItems'TaxRates'ListTText :: [Text] -> PostSubscriptionsRequestBodyAddInvoiceItems'TaxRates'Variants
-- | Defines the object schema located at
-- paths./v1/subscriptions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.automatic_tax
-- in the specification.
--
-- Automatic tax settings for this subscription.
data PostSubscriptionsRequestBodyAutomaticTax'
PostSubscriptionsRequestBodyAutomaticTax' :: Bool -> PostSubscriptionsRequestBodyAutomaticTax'
-- | enabled
[postSubscriptionsRequestBodyAutomaticTax'Enabled] :: PostSubscriptionsRequestBodyAutomaticTax' -> Bool
-- | Create a new PostSubscriptionsRequestBodyAutomaticTax' with all
-- required fields.
mkPostSubscriptionsRequestBodyAutomaticTax' :: Bool -> PostSubscriptionsRequestBodyAutomaticTax'
-- | Defines the object schema located at
-- paths./v1/subscriptions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.billing_thresholds.anyOf
-- in the specification.
data PostSubscriptionsRequestBodyBillingThresholds'OneOf1
PostSubscriptionsRequestBodyBillingThresholds'OneOf1 :: Maybe Int -> Maybe Bool -> PostSubscriptionsRequestBodyBillingThresholds'OneOf1
-- | amount_gte
[postSubscriptionsRequestBodyBillingThresholds'OneOf1AmountGte] :: PostSubscriptionsRequestBodyBillingThresholds'OneOf1 -> Maybe Int
-- | reset_billing_cycle_anchor
[postSubscriptionsRequestBodyBillingThresholds'OneOf1ResetBillingCycleAnchor] :: PostSubscriptionsRequestBodyBillingThresholds'OneOf1 -> Maybe Bool
-- | Create a new
-- PostSubscriptionsRequestBodyBillingThresholds'OneOf1 with all
-- required fields.
mkPostSubscriptionsRequestBodyBillingThresholds'OneOf1 :: PostSubscriptionsRequestBodyBillingThresholds'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/subscriptions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.billing_thresholds.anyOf
-- in the specification.
--
-- Define thresholds at which an invoice will be sent, and the
-- subscription advanced to a new billing period. Pass an empty string to
-- remove previously-defined thresholds.
data PostSubscriptionsRequestBodyBillingThresholds'Variants
-- | Represents the JSON value ""
PostSubscriptionsRequestBodyBillingThresholds'EmptyString :: PostSubscriptionsRequestBodyBillingThresholds'Variants
PostSubscriptionsRequestBodyBillingThresholds'PostSubscriptionsRequestBodyBillingThresholds'OneOf1 :: PostSubscriptionsRequestBodyBillingThresholds'OneOf1 -> PostSubscriptionsRequestBodyBillingThresholds'Variants
-- | Defines the enum schema located at
-- paths./v1/subscriptions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.collection_method
-- in the specification.
--
-- Either `charge_automatically`, or `send_invoice`. When charging
-- automatically, Stripe will attempt to pay this subscription at the end
-- of the cycle using the default source attached to the customer. When
-- sending an invoice, Stripe will email your customer an invoice with
-- payment instructions. Defaults to `charge_automatically`.
data PostSubscriptionsRequestBodyCollectionMethod'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostSubscriptionsRequestBodyCollectionMethod'Other :: Value -> PostSubscriptionsRequestBodyCollectionMethod'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostSubscriptionsRequestBodyCollectionMethod'Typed :: Text -> PostSubscriptionsRequestBodyCollectionMethod'
-- | Represents the JSON value "charge_automatically"
PostSubscriptionsRequestBodyCollectionMethod'EnumChargeAutomatically :: PostSubscriptionsRequestBodyCollectionMethod'
-- | Represents the JSON value "send_invoice"
PostSubscriptionsRequestBodyCollectionMethod'EnumSendInvoice :: PostSubscriptionsRequestBodyCollectionMethod'
-- | Defines the oneOf schema located at
-- paths./v1/subscriptions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.default_tax_rates.anyOf
-- in the specification.
--
-- The tax rates that will apply to any subscription item that does not
-- have `tax_rates` set. Invoices created will have their
-- `default_tax_rates` populated from the subscription.
data PostSubscriptionsRequestBodyDefaultTaxRates'Variants
-- | Represents the JSON value ""
PostSubscriptionsRequestBodyDefaultTaxRates'EmptyString :: PostSubscriptionsRequestBodyDefaultTaxRates'Variants
PostSubscriptionsRequestBodyDefaultTaxRates'ListTText :: [Text] -> PostSubscriptionsRequestBodyDefaultTaxRates'Variants
-- | Defines the object schema located at
-- paths./v1/subscriptions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.items.items
-- in the specification.
data PostSubscriptionsRequestBodyItems'
PostSubscriptionsRequestBodyItems' :: Maybe PostSubscriptionsRequestBodyItems'BillingThresholds'Variants -> Maybe Object -> Maybe Text -> Maybe PostSubscriptionsRequestBodyItems'PriceData' -> Maybe Int -> Maybe PostSubscriptionsRequestBodyItems'TaxRates'Variants -> PostSubscriptionsRequestBodyItems'
-- | billing_thresholds
[postSubscriptionsRequestBodyItems'BillingThresholds] :: PostSubscriptionsRequestBodyItems' -> Maybe PostSubscriptionsRequestBodyItems'BillingThresholds'Variants
-- | metadata
[postSubscriptionsRequestBodyItems'Metadata] :: PostSubscriptionsRequestBodyItems' -> Maybe Object
-- | price
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSubscriptionsRequestBodyItems'Price] :: PostSubscriptionsRequestBodyItems' -> Maybe Text
-- | price_data
[postSubscriptionsRequestBodyItems'PriceData] :: PostSubscriptionsRequestBodyItems' -> Maybe PostSubscriptionsRequestBodyItems'PriceData'
-- | quantity
[postSubscriptionsRequestBodyItems'Quantity] :: PostSubscriptionsRequestBodyItems' -> Maybe Int
-- | tax_rates
[postSubscriptionsRequestBodyItems'TaxRates] :: PostSubscriptionsRequestBodyItems' -> Maybe PostSubscriptionsRequestBodyItems'TaxRates'Variants
-- | Create a new PostSubscriptionsRequestBodyItems' with all
-- required fields.
mkPostSubscriptionsRequestBodyItems' :: PostSubscriptionsRequestBodyItems'
-- | Defines the object schema located at
-- paths./v1/subscriptions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.items.items.properties.billing_thresholds.anyOf
-- in the specification.
data PostSubscriptionsRequestBodyItems'BillingThresholds'OneOf1
PostSubscriptionsRequestBodyItems'BillingThresholds'OneOf1 :: Int -> PostSubscriptionsRequestBodyItems'BillingThresholds'OneOf1
-- | usage_gte
[postSubscriptionsRequestBodyItems'BillingThresholds'OneOf1UsageGte] :: PostSubscriptionsRequestBodyItems'BillingThresholds'OneOf1 -> Int
-- | Create a new
-- PostSubscriptionsRequestBodyItems'BillingThresholds'OneOf1 with
-- all required fields.
mkPostSubscriptionsRequestBodyItems'BillingThresholds'OneOf1 :: Int -> PostSubscriptionsRequestBodyItems'BillingThresholds'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/subscriptions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.items.items.properties.billing_thresholds.anyOf
-- in the specification.
data PostSubscriptionsRequestBodyItems'BillingThresholds'Variants
-- | Represents the JSON value ""
PostSubscriptionsRequestBodyItems'BillingThresholds'EmptyString :: PostSubscriptionsRequestBodyItems'BillingThresholds'Variants
PostSubscriptionsRequestBodyItems'BillingThresholds'PostSubscriptionsRequestBodyItems'BillingThresholds'OneOf1 :: PostSubscriptionsRequestBodyItems'BillingThresholds'OneOf1 -> PostSubscriptionsRequestBodyItems'BillingThresholds'Variants
-- | Defines the object schema located at
-- paths./v1/subscriptions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.items.items.properties.price_data
-- in the specification.
data PostSubscriptionsRequestBodyItems'PriceData'
PostSubscriptionsRequestBodyItems'PriceData' :: Text -> Text -> PostSubscriptionsRequestBodyItems'PriceData'Recurring' -> Maybe PostSubscriptionsRequestBodyItems'PriceData'TaxBehavior' -> Maybe Int -> Maybe Text -> PostSubscriptionsRequestBodyItems'PriceData'
-- | currency
[postSubscriptionsRequestBodyItems'PriceData'Currency] :: PostSubscriptionsRequestBodyItems'PriceData' -> Text
-- | product
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSubscriptionsRequestBodyItems'PriceData'Product] :: PostSubscriptionsRequestBodyItems'PriceData' -> Text
-- | recurring
[postSubscriptionsRequestBodyItems'PriceData'Recurring] :: PostSubscriptionsRequestBodyItems'PriceData' -> PostSubscriptionsRequestBodyItems'PriceData'Recurring'
-- | tax_behavior
[postSubscriptionsRequestBodyItems'PriceData'TaxBehavior] :: PostSubscriptionsRequestBodyItems'PriceData' -> Maybe PostSubscriptionsRequestBodyItems'PriceData'TaxBehavior'
-- | unit_amount
[postSubscriptionsRequestBodyItems'PriceData'UnitAmount] :: PostSubscriptionsRequestBodyItems'PriceData' -> Maybe Int
-- | unit_amount_decimal
[postSubscriptionsRequestBodyItems'PriceData'UnitAmountDecimal] :: PostSubscriptionsRequestBodyItems'PriceData' -> Maybe Text
-- | Create a new PostSubscriptionsRequestBodyItems'PriceData' with
-- all required fields.
mkPostSubscriptionsRequestBodyItems'PriceData' :: Text -> Text -> PostSubscriptionsRequestBodyItems'PriceData'Recurring' -> PostSubscriptionsRequestBodyItems'PriceData'
-- | Defines the object schema located at
-- paths./v1/subscriptions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.items.items.properties.price_data.properties.recurring
-- in the specification.
data PostSubscriptionsRequestBodyItems'PriceData'Recurring'
PostSubscriptionsRequestBodyItems'PriceData'Recurring' :: PostSubscriptionsRequestBodyItems'PriceData'Recurring'Interval' -> Maybe Int -> PostSubscriptionsRequestBodyItems'PriceData'Recurring'
-- | interval
[postSubscriptionsRequestBodyItems'PriceData'Recurring'Interval] :: PostSubscriptionsRequestBodyItems'PriceData'Recurring' -> PostSubscriptionsRequestBodyItems'PriceData'Recurring'Interval'
-- | interval_count
[postSubscriptionsRequestBodyItems'PriceData'Recurring'IntervalCount] :: PostSubscriptionsRequestBodyItems'PriceData'Recurring' -> Maybe Int
-- | Create a new
-- PostSubscriptionsRequestBodyItems'PriceData'Recurring' with all
-- required fields.
mkPostSubscriptionsRequestBodyItems'PriceData'Recurring' :: PostSubscriptionsRequestBodyItems'PriceData'Recurring'Interval' -> PostSubscriptionsRequestBodyItems'PriceData'Recurring'
-- | Defines the enum schema located at
-- paths./v1/subscriptions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.items.items.properties.price_data.properties.recurring.properties.interval
-- in the specification.
data PostSubscriptionsRequestBodyItems'PriceData'Recurring'Interval'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostSubscriptionsRequestBodyItems'PriceData'Recurring'Interval'Other :: Value -> PostSubscriptionsRequestBodyItems'PriceData'Recurring'Interval'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostSubscriptionsRequestBodyItems'PriceData'Recurring'Interval'Typed :: Text -> PostSubscriptionsRequestBodyItems'PriceData'Recurring'Interval'
-- | Represents the JSON value "day"
PostSubscriptionsRequestBodyItems'PriceData'Recurring'Interval'EnumDay :: PostSubscriptionsRequestBodyItems'PriceData'Recurring'Interval'
-- | Represents the JSON value "month"
PostSubscriptionsRequestBodyItems'PriceData'Recurring'Interval'EnumMonth :: PostSubscriptionsRequestBodyItems'PriceData'Recurring'Interval'
-- | Represents the JSON value "week"
PostSubscriptionsRequestBodyItems'PriceData'Recurring'Interval'EnumWeek :: PostSubscriptionsRequestBodyItems'PriceData'Recurring'Interval'
-- | Represents the JSON value "year"
PostSubscriptionsRequestBodyItems'PriceData'Recurring'Interval'EnumYear :: PostSubscriptionsRequestBodyItems'PriceData'Recurring'Interval'
-- | Defines the enum schema located at
-- paths./v1/subscriptions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.items.items.properties.price_data.properties.tax_behavior
-- in the specification.
data PostSubscriptionsRequestBodyItems'PriceData'TaxBehavior'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostSubscriptionsRequestBodyItems'PriceData'TaxBehavior'Other :: Value -> PostSubscriptionsRequestBodyItems'PriceData'TaxBehavior'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostSubscriptionsRequestBodyItems'PriceData'TaxBehavior'Typed :: Text -> PostSubscriptionsRequestBodyItems'PriceData'TaxBehavior'
-- | Represents the JSON value "exclusive"
PostSubscriptionsRequestBodyItems'PriceData'TaxBehavior'EnumExclusive :: PostSubscriptionsRequestBodyItems'PriceData'TaxBehavior'
-- | Represents the JSON value "inclusive"
PostSubscriptionsRequestBodyItems'PriceData'TaxBehavior'EnumInclusive :: PostSubscriptionsRequestBodyItems'PriceData'TaxBehavior'
-- | Represents the JSON value "unspecified"
PostSubscriptionsRequestBodyItems'PriceData'TaxBehavior'EnumUnspecified :: PostSubscriptionsRequestBodyItems'PriceData'TaxBehavior'
-- | Defines the oneOf schema located at
-- paths./v1/subscriptions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.items.items.properties.tax_rates.anyOf
-- in the specification.
data PostSubscriptionsRequestBodyItems'TaxRates'Variants
-- | Represents the JSON value ""
PostSubscriptionsRequestBodyItems'TaxRates'EmptyString :: PostSubscriptionsRequestBodyItems'TaxRates'Variants
PostSubscriptionsRequestBodyItems'TaxRates'ListTText :: [Text] -> PostSubscriptionsRequestBodyItems'TaxRates'Variants
-- | Defines the oneOf schema located at
-- paths./v1/subscriptions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.metadata.anyOf
-- in the specification.
--
-- Set of key-value pairs that you can attach to an object. This
-- can be useful for storing additional information about the object in a
-- structured format. Individual keys can be unset by posting an empty
-- value to them. All keys can be unset by posting an empty value to
-- `metadata`.
data PostSubscriptionsRequestBodyMetadata'Variants
-- | Represents the JSON value ""
PostSubscriptionsRequestBodyMetadata'EmptyString :: PostSubscriptionsRequestBodyMetadata'Variants
PostSubscriptionsRequestBodyMetadata'Object :: Object -> PostSubscriptionsRequestBodyMetadata'Variants
-- | Defines the enum schema located at
-- paths./v1/subscriptions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_behavior
-- in the specification.
--
-- Use `allow_incomplete` to create subscriptions with
-- `status=incomplete` if the first invoice cannot be paid. Creating
-- subscriptions with this status allows you to manage scenarios where
-- additional user actions are needed to pay a subscription's invoice.
-- For example, SCA regulation may require 3DS authentication to complete
-- payment. See the SCA Migration Guide for Billing to learn more.
-- This is the default behavior.
--
-- Use `default_incomplete` to create Subscriptions with
-- `status=incomplete` when the first invoice requires payment, otherwise
-- start as active. Subscriptions transition to `status=active` when
-- successfully confirming the payment intent on the first invoice. This
-- allows simpler management of scenarios where additional user actions
-- are needed to pay a subscription’s invoice. Such as failed payments,
-- SCA regulation, or collecting a mandate for a bank debit
-- payment method. If the payment intent is not confirmed within 23 hours
-- subscriptions transition to `status=expired_incomplete`, which is a
-- terminal state.
--
-- Use `error_if_incomplete` if you want Stripe to return an HTTP 402
-- status code if a subscription's first invoice cannot be paid. For
-- example, if a payment method requires 3DS authentication due to SCA
-- regulation and further user action is needed, this parameter does not
-- create a subscription and returns an error instead. This was the
-- default behavior for API versions prior to 2019-03-14. See the
-- changelog to learn more.
--
-- `pending_if_incomplete` is only used with updates and cannot be passed
-- when creating a subscription.
data PostSubscriptionsRequestBodyPaymentBehavior'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostSubscriptionsRequestBodyPaymentBehavior'Other :: Value -> PostSubscriptionsRequestBodyPaymentBehavior'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostSubscriptionsRequestBodyPaymentBehavior'Typed :: Text -> PostSubscriptionsRequestBodyPaymentBehavior'
-- | Represents the JSON value "allow_incomplete"
PostSubscriptionsRequestBodyPaymentBehavior'EnumAllowIncomplete :: PostSubscriptionsRequestBodyPaymentBehavior'
-- | Represents the JSON value "default_incomplete"
PostSubscriptionsRequestBodyPaymentBehavior'EnumDefaultIncomplete :: PostSubscriptionsRequestBodyPaymentBehavior'
-- | Represents the JSON value "error_if_incomplete"
PostSubscriptionsRequestBodyPaymentBehavior'EnumErrorIfIncomplete :: PostSubscriptionsRequestBodyPaymentBehavior'
-- | Represents the JSON value "pending_if_incomplete"
PostSubscriptionsRequestBodyPaymentBehavior'EnumPendingIfIncomplete :: PostSubscriptionsRequestBodyPaymentBehavior'
-- | Defines the object schema located at
-- paths./v1/subscriptions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.pending_invoice_item_interval.anyOf
-- in the specification.
data PostSubscriptionsRequestBodyPendingInvoiceItemInterval'OneOf1
PostSubscriptionsRequestBodyPendingInvoiceItemInterval'OneOf1 :: PostSubscriptionsRequestBodyPendingInvoiceItemInterval'OneOf1Interval' -> Maybe Int -> PostSubscriptionsRequestBodyPendingInvoiceItemInterval'OneOf1
-- | interval
[postSubscriptionsRequestBodyPendingInvoiceItemInterval'OneOf1Interval] :: PostSubscriptionsRequestBodyPendingInvoiceItemInterval'OneOf1 -> PostSubscriptionsRequestBodyPendingInvoiceItemInterval'OneOf1Interval'
-- | interval_count
[postSubscriptionsRequestBodyPendingInvoiceItemInterval'OneOf1IntervalCount] :: PostSubscriptionsRequestBodyPendingInvoiceItemInterval'OneOf1 -> Maybe Int
-- | Create a new
-- PostSubscriptionsRequestBodyPendingInvoiceItemInterval'OneOf1
-- with all required fields.
mkPostSubscriptionsRequestBodyPendingInvoiceItemInterval'OneOf1 :: PostSubscriptionsRequestBodyPendingInvoiceItemInterval'OneOf1Interval' -> PostSubscriptionsRequestBodyPendingInvoiceItemInterval'OneOf1
-- | Defines the enum schema located at
-- paths./v1/subscriptions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.pending_invoice_item_interval.anyOf.properties.interval
-- in the specification.
data PostSubscriptionsRequestBodyPendingInvoiceItemInterval'OneOf1Interval'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostSubscriptionsRequestBodyPendingInvoiceItemInterval'OneOf1Interval'Other :: Value -> PostSubscriptionsRequestBodyPendingInvoiceItemInterval'OneOf1Interval'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostSubscriptionsRequestBodyPendingInvoiceItemInterval'OneOf1Interval'Typed :: Text -> PostSubscriptionsRequestBodyPendingInvoiceItemInterval'OneOf1Interval'
-- | Represents the JSON value "day"
PostSubscriptionsRequestBodyPendingInvoiceItemInterval'OneOf1Interval'EnumDay :: PostSubscriptionsRequestBodyPendingInvoiceItemInterval'OneOf1Interval'
-- | Represents the JSON value "month"
PostSubscriptionsRequestBodyPendingInvoiceItemInterval'OneOf1Interval'EnumMonth :: PostSubscriptionsRequestBodyPendingInvoiceItemInterval'OneOf1Interval'
-- | Represents the JSON value "week"
PostSubscriptionsRequestBodyPendingInvoiceItemInterval'OneOf1Interval'EnumWeek :: PostSubscriptionsRequestBodyPendingInvoiceItemInterval'OneOf1Interval'
-- | Represents the JSON value "year"
PostSubscriptionsRequestBodyPendingInvoiceItemInterval'OneOf1Interval'EnumYear :: PostSubscriptionsRequestBodyPendingInvoiceItemInterval'OneOf1Interval'
-- | Defines the oneOf schema located at
-- paths./v1/subscriptions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.pending_invoice_item_interval.anyOf
-- in the specification.
--
-- Specifies an interval for how often to bill for any pending invoice
-- items. It is analogous to calling Create an invoice for the
-- given subscription at the specified interval.
data PostSubscriptionsRequestBodyPendingInvoiceItemInterval'Variants
-- | Represents the JSON value ""
PostSubscriptionsRequestBodyPendingInvoiceItemInterval'EmptyString :: PostSubscriptionsRequestBodyPendingInvoiceItemInterval'Variants
PostSubscriptionsRequestBodyPendingInvoiceItemInterval'PostSubscriptionsRequestBodyPendingInvoiceItemInterval'OneOf1 :: PostSubscriptionsRequestBodyPendingInvoiceItemInterval'OneOf1 -> PostSubscriptionsRequestBodyPendingInvoiceItemInterval'Variants
-- | Defines the enum schema located at
-- paths./v1/subscriptions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.proration_behavior
-- in the specification.
--
-- Determines how to handle prorations resulting from the
-- `billing_cycle_anchor`. Valid values are `create_prorations` or
-- `none`.
--
-- Passing `create_prorations` will cause proration invoice items to be
-- created when applicable. Prorations can be disabled by passing `none`.
-- If no value is passed, the default is `create_prorations`.
data PostSubscriptionsRequestBodyProrationBehavior'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostSubscriptionsRequestBodyProrationBehavior'Other :: Value -> PostSubscriptionsRequestBodyProrationBehavior'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostSubscriptionsRequestBodyProrationBehavior'Typed :: Text -> PostSubscriptionsRequestBodyProrationBehavior'
-- | Represents the JSON value "always_invoice"
PostSubscriptionsRequestBodyProrationBehavior'EnumAlwaysInvoice :: PostSubscriptionsRequestBodyProrationBehavior'
-- | Represents the JSON value "create_prorations"
PostSubscriptionsRequestBodyProrationBehavior'EnumCreateProrations :: PostSubscriptionsRequestBodyProrationBehavior'
-- | Represents the JSON value "none"
PostSubscriptionsRequestBodyProrationBehavior'EnumNone :: PostSubscriptionsRequestBodyProrationBehavior'
-- | Defines the object schema located at
-- paths./v1/subscriptions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.transfer_data
-- in the specification.
--
-- If specified, the funds from the subscription's invoices will be
-- transferred to the destination and the ID of the resulting transfers
-- will be found on the resulting charges.
data PostSubscriptionsRequestBodyTransferData'
PostSubscriptionsRequestBodyTransferData' :: Maybe Double -> Text -> PostSubscriptionsRequestBodyTransferData'
-- | amount_percent
[postSubscriptionsRequestBodyTransferData'AmountPercent] :: PostSubscriptionsRequestBodyTransferData' -> Maybe Double
-- | destination
[postSubscriptionsRequestBodyTransferData'Destination] :: PostSubscriptionsRequestBodyTransferData' -> Text
-- | Create a new PostSubscriptionsRequestBodyTransferData' with all
-- required fields.
mkPostSubscriptionsRequestBodyTransferData' :: Text -> PostSubscriptionsRequestBodyTransferData'
-- | Defines the oneOf schema located at
-- paths./v1/subscriptions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.trial_end.anyOf
-- in the specification.
--
-- Unix timestamp representing the end of the trial period the customer
-- will get before being charged for the first time. This will always
-- overwrite any trials that might apply via a subscribed plan. If set,
-- trial_end will override the default trial period of the plan the
-- customer is being subscribed to. The special value `now` can be
-- provided to end the customer's trial immediately. Can be at most two
-- years from `billing_cycle_anchor`.
data PostSubscriptionsRequestBodyTrialEnd'Variants
-- | Represents the JSON value "now"
PostSubscriptionsRequestBodyTrialEnd'Now :: PostSubscriptionsRequestBodyTrialEnd'Variants
PostSubscriptionsRequestBodyTrialEnd'Int :: Int -> PostSubscriptionsRequestBodyTrialEnd'Variants
-- | Represents a response of the operation postSubscriptions.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostSubscriptionsResponseError is used.
data PostSubscriptionsResponse
-- | Means either no matching case available or a parse error
PostSubscriptionsResponseError :: String -> PostSubscriptionsResponse
-- | Successful response.
PostSubscriptionsResponse200 :: Subscription -> PostSubscriptionsResponse
-- | Error response.
PostSubscriptionsResponseDefault :: Error -> PostSubscriptionsResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyAddInvoiceItems'PriceData'TaxBehavior'
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyAddInvoiceItems'PriceData'TaxBehavior'
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyAddInvoiceItems'PriceData'
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyAddInvoiceItems'PriceData'
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyAddInvoiceItems'TaxRates'Variants
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyAddInvoiceItems'TaxRates'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyAddInvoiceItems'
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyAddInvoiceItems'
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyAutomaticTax'
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyAutomaticTax'
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyBillingThresholds'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyBillingThresholds'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyBillingThresholds'Variants
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyBillingThresholds'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyCollectionMethod'
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyCollectionMethod'
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyDefaultTaxRates'Variants
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyDefaultTaxRates'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyItems'BillingThresholds'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyItems'BillingThresholds'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyItems'BillingThresholds'Variants
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyItems'BillingThresholds'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyItems'PriceData'Recurring'Interval'
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyItems'PriceData'Recurring'Interval'
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyItems'PriceData'Recurring'
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyItems'PriceData'Recurring'
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyItems'PriceData'TaxBehavior'
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyItems'PriceData'TaxBehavior'
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyItems'PriceData'
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyItems'PriceData'
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyItems'TaxRates'Variants
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyItems'TaxRates'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyItems'
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyItems'
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyMetadata'Variants
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyMetadata'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyPaymentBehavior'
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyPaymentBehavior'
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyPendingInvoiceItemInterval'OneOf1Interval'
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyPendingInvoiceItemInterval'OneOf1Interval'
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyPendingInvoiceItemInterval'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyPendingInvoiceItemInterval'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyPendingInvoiceItemInterval'Variants
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyPendingInvoiceItemInterval'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyProrationBehavior'
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyProrationBehavior'
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyTransferData'
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyTransferData'
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyTrialEnd'Variants
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyTrialEnd'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptions.PostSubscriptionsResponse
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptions.PostSubscriptionsResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyTrialEnd'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyTrialEnd'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyTransferData'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyTransferData'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyProrationBehavior'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyProrationBehavior'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyPendingInvoiceItemInterval'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyPendingInvoiceItemInterval'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyPendingInvoiceItemInterval'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyPendingInvoiceItemInterval'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyPendingInvoiceItemInterval'OneOf1Interval'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyPendingInvoiceItemInterval'OneOf1Interval'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyPaymentBehavior'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyPaymentBehavior'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyMetadata'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyMetadata'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyItems'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyItems'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyItems'TaxRates'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyItems'TaxRates'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyItems'PriceData'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyItems'PriceData'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyItems'PriceData'TaxBehavior'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyItems'PriceData'TaxBehavior'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyItems'PriceData'Recurring'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyItems'PriceData'Recurring'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyItems'PriceData'Recurring'Interval'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyItems'PriceData'Recurring'Interval'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyItems'BillingThresholds'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyItems'BillingThresholds'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyItems'BillingThresholds'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyItems'BillingThresholds'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyDefaultTaxRates'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyDefaultTaxRates'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyCollectionMethod'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyCollectionMethod'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyBillingThresholds'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyBillingThresholds'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyBillingThresholds'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyBillingThresholds'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyAutomaticTax'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyAutomaticTax'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyAddInvoiceItems'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyAddInvoiceItems'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyAddInvoiceItems'TaxRates'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyAddInvoiceItems'TaxRates'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyAddInvoiceItems'PriceData'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyAddInvoiceItems'PriceData'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyAddInvoiceItems'PriceData'TaxBehavior'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptions.PostSubscriptionsRequestBodyAddInvoiceItems'PriceData'TaxBehavior'
-- | Contains the different functions to run the operation
-- postSubscriptionSchedulesScheduleRelease
module StripeAPI.Operations.PostSubscriptionSchedulesScheduleRelease
-- |
-- POST /v1/subscription_schedules/{schedule}/release
--
--
-- <p>Releases the subscription schedule immediately, which will
-- stop scheduling of its phases, but leave any existing subscription in
-- place. A schedule can only be released if its status is
-- <code>not_started</code> or
-- <code>active</code>. If the subscription schedule is
-- currently associated with a subscription, releasing it will remove its
-- <code>subscription</code> property and set the
-- subscription’s ID to the
-- <code>released_subscription</code> property.</p>
postSubscriptionSchedulesScheduleRelease :: forall m. MonadHTTP m => Text -> Maybe PostSubscriptionSchedulesScheduleReleaseRequestBody -> ClientT m (Response PostSubscriptionSchedulesScheduleReleaseResponse)
-- | Defines the object schema located at
-- paths./v1/subscription_schedules/{schedule}/release.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostSubscriptionSchedulesScheduleReleaseRequestBody
PostSubscriptionSchedulesScheduleReleaseRequestBody :: Maybe [Text] -> Maybe Bool -> PostSubscriptionSchedulesScheduleReleaseRequestBody
-- | expand: Specifies which fields in the response should be expanded.
[postSubscriptionSchedulesScheduleReleaseRequestBodyExpand] :: PostSubscriptionSchedulesScheduleReleaseRequestBody -> Maybe [Text]
-- | preserve_cancel_date: Keep any cancellation on the subscription that
-- the schedule has set
[postSubscriptionSchedulesScheduleReleaseRequestBodyPreserveCancelDate] :: PostSubscriptionSchedulesScheduleReleaseRequestBody -> Maybe Bool
-- | Create a new
-- PostSubscriptionSchedulesScheduleReleaseRequestBody with all
-- required fields.
mkPostSubscriptionSchedulesScheduleReleaseRequestBody :: PostSubscriptionSchedulesScheduleReleaseRequestBody
-- | Represents a response of the operation
-- postSubscriptionSchedulesScheduleRelease.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- PostSubscriptionSchedulesScheduleReleaseResponseError is used.
data PostSubscriptionSchedulesScheduleReleaseResponse
-- | Means either no matching case available or a parse error
PostSubscriptionSchedulesScheduleReleaseResponseError :: String -> PostSubscriptionSchedulesScheduleReleaseResponse
-- | Successful response.
PostSubscriptionSchedulesScheduleReleaseResponse200 :: SubscriptionSchedule -> PostSubscriptionSchedulesScheduleReleaseResponse
-- | Error response.
PostSubscriptionSchedulesScheduleReleaseResponseDefault :: Error -> PostSubscriptionSchedulesScheduleReleaseResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionSchedulesScheduleRelease.PostSubscriptionSchedulesScheduleReleaseRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionSchedulesScheduleRelease.PostSubscriptionSchedulesScheduleReleaseRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionSchedulesScheduleRelease.PostSubscriptionSchedulesScheduleReleaseResponse
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionSchedulesScheduleRelease.PostSubscriptionSchedulesScheduleReleaseResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionSchedulesScheduleRelease.PostSubscriptionSchedulesScheduleReleaseRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionSchedulesScheduleRelease.PostSubscriptionSchedulesScheduleReleaseRequestBody
-- | Contains the different functions to run the operation
-- postSubscriptionSchedulesScheduleCancel
module StripeAPI.Operations.PostSubscriptionSchedulesScheduleCancel
-- |
-- POST /v1/subscription_schedules/{schedule}/cancel
--
--
-- <p>Cancels a subscription schedule and its associated
-- subscription immediately (if the subscription schedule has an active
-- subscription). A subscription schedule can only be canceled if its
-- status is <code>not_started</code> or
-- <code>active</code>.</p>
postSubscriptionSchedulesScheduleCancel :: forall m. MonadHTTP m => Text -> Maybe PostSubscriptionSchedulesScheduleCancelRequestBody -> ClientT m (Response PostSubscriptionSchedulesScheduleCancelResponse)
-- | Defines the object schema located at
-- paths./v1/subscription_schedules/{schedule}/cancel.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostSubscriptionSchedulesScheduleCancelRequestBody
PostSubscriptionSchedulesScheduleCancelRequestBody :: Maybe [Text] -> Maybe Bool -> Maybe Bool -> PostSubscriptionSchedulesScheduleCancelRequestBody
-- | expand: Specifies which fields in the response should be expanded.
[postSubscriptionSchedulesScheduleCancelRequestBodyExpand] :: PostSubscriptionSchedulesScheduleCancelRequestBody -> Maybe [Text]
-- | invoice_now: If the subscription schedule is `active`, indicates if a
-- final invoice will be generated that contains any un-invoiced metered
-- usage and new/pending proration invoice items. Defaults to `true`.
[postSubscriptionSchedulesScheduleCancelRequestBodyInvoiceNow] :: PostSubscriptionSchedulesScheduleCancelRequestBody -> Maybe Bool
-- | prorate: If the subscription schedule is `active`, indicates if the
-- cancellation should be prorated. Defaults to `true`.
[postSubscriptionSchedulesScheduleCancelRequestBodyProrate] :: PostSubscriptionSchedulesScheduleCancelRequestBody -> Maybe Bool
-- | Create a new PostSubscriptionSchedulesScheduleCancelRequestBody
-- with all required fields.
mkPostSubscriptionSchedulesScheduleCancelRequestBody :: PostSubscriptionSchedulesScheduleCancelRequestBody
-- | Represents a response of the operation
-- postSubscriptionSchedulesScheduleCancel.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- PostSubscriptionSchedulesScheduleCancelResponseError is used.
data PostSubscriptionSchedulesScheduleCancelResponse
-- | Means either no matching case available or a parse error
PostSubscriptionSchedulesScheduleCancelResponseError :: String -> PostSubscriptionSchedulesScheduleCancelResponse
-- | Successful response.
PostSubscriptionSchedulesScheduleCancelResponse200 :: SubscriptionSchedule -> PostSubscriptionSchedulesScheduleCancelResponse
-- | Error response.
PostSubscriptionSchedulesScheduleCancelResponseDefault :: Error -> PostSubscriptionSchedulesScheduleCancelResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionSchedulesScheduleCancel.PostSubscriptionSchedulesScheduleCancelRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionSchedulesScheduleCancel.PostSubscriptionSchedulesScheduleCancelRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionSchedulesScheduleCancel.PostSubscriptionSchedulesScheduleCancelResponse
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionSchedulesScheduleCancel.PostSubscriptionSchedulesScheduleCancelResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionSchedulesScheduleCancel.PostSubscriptionSchedulesScheduleCancelRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionSchedulesScheduleCancel.PostSubscriptionSchedulesScheduleCancelRequestBody
-- | Contains the different functions to run the operation
-- postSubscriptionSchedulesSchedule
module StripeAPI.Operations.PostSubscriptionSchedulesSchedule
-- |
-- POST /v1/subscription_schedules/{schedule}
--
--
-- <p>Updates an existing subscription schedule.</p>
postSubscriptionSchedulesSchedule :: forall m. MonadHTTP m => Text -> Maybe PostSubscriptionSchedulesScheduleRequestBody -> ClientT m (Response PostSubscriptionSchedulesScheduleResponse)
-- | Defines the object schema located at
-- paths./v1/subscription_schedules/{schedule}.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostSubscriptionSchedulesScheduleRequestBody
PostSubscriptionSchedulesScheduleRequestBody :: Maybe PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings' -> Maybe PostSubscriptionSchedulesScheduleRequestBodyEndBehavior' -> Maybe [Text] -> Maybe PostSubscriptionSchedulesScheduleRequestBodyMetadata'Variants -> Maybe [PostSubscriptionSchedulesScheduleRequestBodyPhases'] -> Maybe PostSubscriptionSchedulesScheduleRequestBodyProrationBehavior' -> PostSubscriptionSchedulesScheduleRequestBody
-- | default_settings: Object representing the subscription schedule's
-- default settings.
[postSubscriptionSchedulesScheduleRequestBodyDefaultSettings] :: PostSubscriptionSchedulesScheduleRequestBody -> Maybe PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'
-- | end_behavior: Configures how the subscription schedule behaves when it
-- ends. Possible values are `release` or `cancel` with the default being
-- `release`. `release` will end the subscription schedule and keep the
-- underlying subscription running.`cancel` will end the subscription
-- schedule and cancel the underlying subscription.
[postSubscriptionSchedulesScheduleRequestBodyEndBehavior] :: PostSubscriptionSchedulesScheduleRequestBody -> Maybe PostSubscriptionSchedulesScheduleRequestBodyEndBehavior'
-- | expand: Specifies which fields in the response should be expanded.
[postSubscriptionSchedulesScheduleRequestBodyExpand] :: PostSubscriptionSchedulesScheduleRequestBody -> Maybe [Text]
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postSubscriptionSchedulesScheduleRequestBodyMetadata] :: PostSubscriptionSchedulesScheduleRequestBody -> Maybe PostSubscriptionSchedulesScheduleRequestBodyMetadata'Variants
-- | phases: List representing phases of the subscription schedule. Each
-- phase can be customized to have different durations, plans, and
-- coupons. If there are multiple phases, the `end_date` of one phase
-- will always equal the `start_date` of the next phase. Note that past
-- phases can be omitted.
[postSubscriptionSchedulesScheduleRequestBodyPhases] :: PostSubscriptionSchedulesScheduleRequestBody -> Maybe [PostSubscriptionSchedulesScheduleRequestBodyPhases']
-- | proration_behavior: If the update changes the current phase, indicates
-- if the changes should be prorated. Possible values are
-- `create_prorations` or `none`, and the default value is
-- `create_prorations`.
[postSubscriptionSchedulesScheduleRequestBodyProrationBehavior] :: PostSubscriptionSchedulesScheduleRequestBody -> Maybe PostSubscriptionSchedulesScheduleRequestBodyProrationBehavior'
-- | Create a new PostSubscriptionSchedulesScheduleRequestBody with
-- all required fields.
mkPostSubscriptionSchedulesScheduleRequestBody :: PostSubscriptionSchedulesScheduleRequestBody
-- | Defines the object schema located at
-- paths./v1/subscription_schedules/{schedule}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.default_settings
-- in the specification.
--
-- Object representing the subscription schedule's default settings.
data PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'
PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings' :: Maybe Double -> Maybe PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'AutomaticTax' -> Maybe PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'BillingCycleAnchor' -> Maybe PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'BillingThresholds'Variants -> Maybe PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'CollectionMethod' -> Maybe Text -> Maybe PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'InvoiceSettings' -> Maybe PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'TransferData'Variants -> PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'
-- | application_fee_percent
[postSubscriptionSchedulesScheduleRequestBodyDefaultSettings'ApplicationFeePercent] :: PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings' -> Maybe Double
-- | automatic_tax
[postSubscriptionSchedulesScheduleRequestBodyDefaultSettings'AutomaticTax] :: PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings' -> Maybe PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'AutomaticTax'
-- | billing_cycle_anchor
[postSubscriptionSchedulesScheduleRequestBodyDefaultSettings'BillingCycleAnchor] :: PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings' -> Maybe PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'BillingCycleAnchor'
-- | billing_thresholds
[postSubscriptionSchedulesScheduleRequestBodyDefaultSettings'BillingThresholds] :: PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings' -> Maybe PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'BillingThresholds'Variants
-- | collection_method
[postSubscriptionSchedulesScheduleRequestBodyDefaultSettings'CollectionMethod] :: PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings' -> Maybe PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'CollectionMethod'
-- | default_payment_method
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSubscriptionSchedulesScheduleRequestBodyDefaultSettings'DefaultPaymentMethod] :: PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings' -> Maybe Text
-- | invoice_settings
[postSubscriptionSchedulesScheduleRequestBodyDefaultSettings'InvoiceSettings] :: PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings' -> Maybe PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'InvoiceSettings'
-- | transfer_data
[postSubscriptionSchedulesScheduleRequestBodyDefaultSettings'TransferData] :: PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings' -> Maybe PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'TransferData'Variants
-- | Create a new
-- PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'
-- with all required fields.
mkPostSubscriptionSchedulesScheduleRequestBodyDefaultSettings' :: PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'
-- | Defines the object schema located at
-- paths./v1/subscription_schedules/{schedule}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.default_settings.properties.automatic_tax
-- in the specification.
data PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'AutomaticTax'
PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'AutomaticTax' :: Bool -> PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'AutomaticTax'
-- | enabled
[postSubscriptionSchedulesScheduleRequestBodyDefaultSettings'AutomaticTax'Enabled] :: PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'AutomaticTax' -> Bool
-- | Create a new
-- PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'AutomaticTax'
-- with all required fields.
mkPostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'AutomaticTax' :: Bool -> PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'AutomaticTax'
-- | Defines the enum schema located at
-- paths./v1/subscription_schedules/{schedule}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.default_settings.properties.billing_cycle_anchor
-- in the specification.
data PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'BillingCycleAnchor'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'BillingCycleAnchor'Other :: Value -> PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'BillingCycleAnchor'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'BillingCycleAnchor'Typed :: Text -> PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'BillingCycleAnchor'
-- | Represents the JSON value "automatic"
PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'BillingCycleAnchor'EnumAutomatic :: PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'BillingCycleAnchor'
-- | Represents the JSON value "phase_start"
PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'BillingCycleAnchor'EnumPhaseStart :: PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'BillingCycleAnchor'
-- | Defines the object schema located at
-- paths./v1/subscription_schedules/{schedule}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.default_settings.properties.billing_thresholds.anyOf
-- in the specification.
data PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'BillingThresholds'OneOf1
PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'BillingThresholds'OneOf1 :: Maybe Int -> Maybe Bool -> PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'BillingThresholds'OneOf1
-- | amount_gte
[postSubscriptionSchedulesScheduleRequestBodyDefaultSettings'BillingThresholds'OneOf1AmountGte] :: PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'BillingThresholds'OneOf1 -> Maybe Int
-- | reset_billing_cycle_anchor
[postSubscriptionSchedulesScheduleRequestBodyDefaultSettings'BillingThresholds'OneOf1ResetBillingCycleAnchor] :: PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'BillingThresholds'OneOf1 -> Maybe Bool
-- | Create a new
-- PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'BillingThresholds'OneOf1
-- with all required fields.
mkPostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'BillingThresholds'OneOf1 :: PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'BillingThresholds'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/subscription_schedules/{schedule}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.default_settings.properties.billing_thresholds.anyOf
-- in the specification.
data PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'BillingThresholds'Variants
-- | Represents the JSON value ""
PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'BillingThresholds'EmptyString :: PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'BillingThresholds'Variants
PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'BillingThresholds'PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'BillingThresholds'OneOf1 :: PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'BillingThresholds'OneOf1 -> PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'BillingThresholds'Variants
-- | Defines the enum schema located at
-- paths./v1/subscription_schedules/{schedule}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.default_settings.properties.collection_method
-- in the specification.
data PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'CollectionMethod'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'CollectionMethod'Other :: Value -> PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'CollectionMethod'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'CollectionMethod'Typed :: Text -> PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'CollectionMethod'
-- | Represents the JSON value "charge_automatically"
PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'CollectionMethod'EnumChargeAutomatically :: PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'CollectionMethod'
-- | Represents the JSON value "send_invoice"
PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'CollectionMethod'EnumSendInvoice :: PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'CollectionMethod'
-- | Defines the object schema located at
-- paths./v1/subscription_schedules/{schedule}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.default_settings.properties.invoice_settings
-- in the specification.
data PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'InvoiceSettings'
PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'InvoiceSettings' :: Maybe Int -> PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'InvoiceSettings'
-- | days_until_due
[postSubscriptionSchedulesScheduleRequestBodyDefaultSettings'InvoiceSettings'DaysUntilDue] :: PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'InvoiceSettings' -> Maybe Int
-- | Create a new
-- PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'InvoiceSettings'
-- with all required fields.
mkPostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'InvoiceSettings' :: PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'InvoiceSettings'
-- | Defines the object schema located at
-- paths./v1/subscription_schedules/{schedule}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.default_settings.properties.transfer_data.anyOf
-- in the specification.
data PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'TransferData'OneOf1
PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'TransferData'OneOf1 :: Maybe Double -> Text -> PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'TransferData'OneOf1
-- | amount_percent
[postSubscriptionSchedulesScheduleRequestBodyDefaultSettings'TransferData'OneOf1AmountPercent] :: PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'TransferData'OneOf1 -> Maybe Double
-- | destination
[postSubscriptionSchedulesScheduleRequestBodyDefaultSettings'TransferData'OneOf1Destination] :: PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'TransferData'OneOf1 -> Text
-- | Create a new
-- PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'TransferData'OneOf1
-- with all required fields.
mkPostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'TransferData'OneOf1 :: Text -> PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'TransferData'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/subscription_schedules/{schedule}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.default_settings.properties.transfer_data.anyOf
-- in the specification.
data PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'TransferData'Variants
-- | Represents the JSON value ""
PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'TransferData'EmptyString :: PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'TransferData'Variants
PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'TransferData'PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'TransferData'OneOf1 :: PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'TransferData'OneOf1 -> PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'TransferData'Variants
-- | Defines the enum schema located at
-- paths./v1/subscription_schedules/{schedule}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.end_behavior
-- in the specification.
--
-- Configures how the subscription schedule behaves when it ends.
-- Possible values are `release` or `cancel` with the default being
-- `release`. `release` will end the subscription schedule and keep the
-- underlying subscription running.`cancel` will end the subscription
-- schedule and cancel the underlying subscription.
data PostSubscriptionSchedulesScheduleRequestBodyEndBehavior'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostSubscriptionSchedulesScheduleRequestBodyEndBehavior'Other :: Value -> PostSubscriptionSchedulesScheduleRequestBodyEndBehavior'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostSubscriptionSchedulesScheduleRequestBodyEndBehavior'Typed :: Text -> PostSubscriptionSchedulesScheduleRequestBodyEndBehavior'
-- | Represents the JSON value "cancel"
PostSubscriptionSchedulesScheduleRequestBodyEndBehavior'EnumCancel :: PostSubscriptionSchedulesScheduleRequestBodyEndBehavior'
-- | Represents the JSON value "none"
PostSubscriptionSchedulesScheduleRequestBodyEndBehavior'EnumNone :: PostSubscriptionSchedulesScheduleRequestBodyEndBehavior'
-- | Represents the JSON value "release"
PostSubscriptionSchedulesScheduleRequestBodyEndBehavior'EnumRelease :: PostSubscriptionSchedulesScheduleRequestBodyEndBehavior'
-- | Represents the JSON value "renew"
PostSubscriptionSchedulesScheduleRequestBodyEndBehavior'EnumRenew :: PostSubscriptionSchedulesScheduleRequestBodyEndBehavior'
-- | Defines the oneOf schema located at
-- paths./v1/subscription_schedules/{schedule}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.metadata.anyOf
-- in the specification.
--
-- Set of key-value pairs that you can attach to an object. This
-- can be useful for storing additional information about the object in a
-- structured format. Individual keys can be unset by posting an empty
-- value to them. All keys can be unset by posting an empty value to
-- `metadata`.
data PostSubscriptionSchedulesScheduleRequestBodyMetadata'Variants
-- | Represents the JSON value ""
PostSubscriptionSchedulesScheduleRequestBodyMetadata'EmptyString :: PostSubscriptionSchedulesScheduleRequestBodyMetadata'Variants
PostSubscriptionSchedulesScheduleRequestBodyMetadata'Object :: Object -> PostSubscriptionSchedulesScheduleRequestBodyMetadata'Variants
-- | Defines the object schema located at
-- paths./v1/subscription_schedules/{schedule}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.phases.items
-- in the specification.
data PostSubscriptionSchedulesScheduleRequestBodyPhases'
PostSubscriptionSchedulesScheduleRequestBodyPhases' :: Maybe [PostSubscriptionSchedulesScheduleRequestBodyPhases'AddInvoiceItems'] -> Maybe Double -> Maybe PostSubscriptionSchedulesScheduleRequestBodyPhases'AutomaticTax' -> Maybe PostSubscriptionSchedulesScheduleRequestBodyPhases'BillingCycleAnchor' -> Maybe PostSubscriptionSchedulesScheduleRequestBodyPhases'BillingThresholds'Variants -> Maybe PostSubscriptionSchedulesScheduleRequestBodyPhases'CollectionMethod' -> Maybe Text -> Maybe Text -> Maybe PostSubscriptionSchedulesScheduleRequestBodyPhases'DefaultTaxRates'Variants -> Maybe PostSubscriptionSchedulesScheduleRequestBodyPhases'EndDate'Variants -> Maybe PostSubscriptionSchedulesScheduleRequestBodyPhases'InvoiceSettings' -> [PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'] -> Maybe Int -> Maybe PostSubscriptionSchedulesScheduleRequestBodyPhases'ProrationBehavior' -> Maybe PostSubscriptionSchedulesScheduleRequestBodyPhases'StartDate'Variants -> Maybe PostSubscriptionSchedulesScheduleRequestBodyPhases'TransferData' -> Maybe Bool -> Maybe PostSubscriptionSchedulesScheduleRequestBodyPhases'TrialEnd'Variants -> PostSubscriptionSchedulesScheduleRequestBodyPhases'
-- | add_invoice_items
[postSubscriptionSchedulesScheduleRequestBodyPhases'AddInvoiceItems] :: PostSubscriptionSchedulesScheduleRequestBodyPhases' -> Maybe [PostSubscriptionSchedulesScheduleRequestBodyPhases'AddInvoiceItems']
-- | application_fee_percent
[postSubscriptionSchedulesScheduleRequestBodyPhases'ApplicationFeePercent] :: PostSubscriptionSchedulesScheduleRequestBodyPhases' -> Maybe Double
-- | automatic_tax
[postSubscriptionSchedulesScheduleRequestBodyPhases'AutomaticTax] :: PostSubscriptionSchedulesScheduleRequestBodyPhases' -> Maybe PostSubscriptionSchedulesScheduleRequestBodyPhases'AutomaticTax'
-- | billing_cycle_anchor
[postSubscriptionSchedulesScheduleRequestBodyPhases'BillingCycleAnchor] :: PostSubscriptionSchedulesScheduleRequestBodyPhases' -> Maybe PostSubscriptionSchedulesScheduleRequestBodyPhases'BillingCycleAnchor'
-- | billing_thresholds
[postSubscriptionSchedulesScheduleRequestBodyPhases'BillingThresholds] :: PostSubscriptionSchedulesScheduleRequestBodyPhases' -> Maybe PostSubscriptionSchedulesScheduleRequestBodyPhases'BillingThresholds'Variants
-- | collection_method
[postSubscriptionSchedulesScheduleRequestBodyPhases'CollectionMethod] :: PostSubscriptionSchedulesScheduleRequestBodyPhases' -> Maybe PostSubscriptionSchedulesScheduleRequestBodyPhases'CollectionMethod'
-- | coupon
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSubscriptionSchedulesScheduleRequestBodyPhases'Coupon] :: PostSubscriptionSchedulesScheduleRequestBodyPhases' -> Maybe Text
-- | default_payment_method
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSubscriptionSchedulesScheduleRequestBodyPhases'DefaultPaymentMethod] :: PostSubscriptionSchedulesScheduleRequestBodyPhases' -> Maybe Text
-- | default_tax_rates
[postSubscriptionSchedulesScheduleRequestBodyPhases'DefaultTaxRates] :: PostSubscriptionSchedulesScheduleRequestBodyPhases' -> Maybe PostSubscriptionSchedulesScheduleRequestBodyPhases'DefaultTaxRates'Variants
-- | end_date
[postSubscriptionSchedulesScheduleRequestBodyPhases'EndDate] :: PostSubscriptionSchedulesScheduleRequestBodyPhases' -> Maybe PostSubscriptionSchedulesScheduleRequestBodyPhases'EndDate'Variants
-- | invoice_settings
[postSubscriptionSchedulesScheduleRequestBodyPhases'InvoiceSettings] :: PostSubscriptionSchedulesScheduleRequestBodyPhases' -> Maybe PostSubscriptionSchedulesScheduleRequestBodyPhases'InvoiceSettings'
-- | items
[postSubscriptionSchedulesScheduleRequestBodyPhases'Items] :: PostSubscriptionSchedulesScheduleRequestBodyPhases' -> [PostSubscriptionSchedulesScheduleRequestBodyPhases'Items']
-- | iterations
[postSubscriptionSchedulesScheduleRequestBodyPhases'Iterations] :: PostSubscriptionSchedulesScheduleRequestBodyPhases' -> Maybe Int
-- | proration_behavior
[postSubscriptionSchedulesScheduleRequestBodyPhases'ProrationBehavior] :: PostSubscriptionSchedulesScheduleRequestBodyPhases' -> Maybe PostSubscriptionSchedulesScheduleRequestBodyPhases'ProrationBehavior'
-- | start_date
[postSubscriptionSchedulesScheduleRequestBodyPhases'StartDate] :: PostSubscriptionSchedulesScheduleRequestBodyPhases' -> Maybe PostSubscriptionSchedulesScheduleRequestBodyPhases'StartDate'Variants
-- | transfer_data
[postSubscriptionSchedulesScheduleRequestBodyPhases'TransferData] :: PostSubscriptionSchedulesScheduleRequestBodyPhases' -> Maybe PostSubscriptionSchedulesScheduleRequestBodyPhases'TransferData'
-- | trial
[postSubscriptionSchedulesScheduleRequestBodyPhases'Trial] :: PostSubscriptionSchedulesScheduleRequestBodyPhases' -> Maybe Bool
-- | trial_end
[postSubscriptionSchedulesScheduleRequestBodyPhases'TrialEnd] :: PostSubscriptionSchedulesScheduleRequestBodyPhases' -> Maybe PostSubscriptionSchedulesScheduleRequestBodyPhases'TrialEnd'Variants
-- | Create a new
-- PostSubscriptionSchedulesScheduleRequestBodyPhases' with all
-- required fields.
mkPostSubscriptionSchedulesScheduleRequestBodyPhases' :: [PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'] -> PostSubscriptionSchedulesScheduleRequestBodyPhases'
-- | Defines the object schema located at
-- paths./v1/subscription_schedules/{schedule}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.phases.items.properties.add_invoice_items.items
-- in the specification.
data PostSubscriptionSchedulesScheduleRequestBodyPhases'AddInvoiceItems'
PostSubscriptionSchedulesScheduleRequestBodyPhases'AddInvoiceItems' :: Maybe Text -> Maybe PostSubscriptionSchedulesScheduleRequestBodyPhases'AddInvoiceItems'PriceData' -> Maybe Int -> Maybe PostSubscriptionSchedulesScheduleRequestBodyPhases'AddInvoiceItems'TaxRates'Variants -> PostSubscriptionSchedulesScheduleRequestBodyPhases'AddInvoiceItems'
-- | price
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSubscriptionSchedulesScheduleRequestBodyPhases'AddInvoiceItems'Price] :: PostSubscriptionSchedulesScheduleRequestBodyPhases'AddInvoiceItems' -> Maybe Text
-- | price_data
[postSubscriptionSchedulesScheduleRequestBodyPhases'AddInvoiceItems'PriceData] :: PostSubscriptionSchedulesScheduleRequestBodyPhases'AddInvoiceItems' -> Maybe PostSubscriptionSchedulesScheduleRequestBodyPhases'AddInvoiceItems'PriceData'
-- | quantity
[postSubscriptionSchedulesScheduleRequestBodyPhases'AddInvoiceItems'Quantity] :: PostSubscriptionSchedulesScheduleRequestBodyPhases'AddInvoiceItems' -> Maybe Int
-- | tax_rates
[postSubscriptionSchedulesScheduleRequestBodyPhases'AddInvoiceItems'TaxRates] :: PostSubscriptionSchedulesScheduleRequestBodyPhases'AddInvoiceItems' -> Maybe PostSubscriptionSchedulesScheduleRequestBodyPhases'AddInvoiceItems'TaxRates'Variants
-- | Create a new
-- PostSubscriptionSchedulesScheduleRequestBodyPhases'AddInvoiceItems'
-- with all required fields.
mkPostSubscriptionSchedulesScheduleRequestBodyPhases'AddInvoiceItems' :: PostSubscriptionSchedulesScheduleRequestBodyPhases'AddInvoiceItems'
-- | Defines the object schema located at
-- paths./v1/subscription_schedules/{schedule}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.phases.items.properties.add_invoice_items.items.properties.price_data
-- in the specification.
data PostSubscriptionSchedulesScheduleRequestBodyPhases'AddInvoiceItems'PriceData'
PostSubscriptionSchedulesScheduleRequestBodyPhases'AddInvoiceItems'PriceData' :: Text -> Text -> Maybe PostSubscriptionSchedulesScheduleRequestBodyPhases'AddInvoiceItems'PriceData'TaxBehavior' -> Maybe Int -> Maybe Text -> PostSubscriptionSchedulesScheduleRequestBodyPhases'AddInvoiceItems'PriceData'
-- | currency
[postSubscriptionSchedulesScheduleRequestBodyPhases'AddInvoiceItems'PriceData'Currency] :: PostSubscriptionSchedulesScheduleRequestBodyPhases'AddInvoiceItems'PriceData' -> Text
-- | product
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSubscriptionSchedulesScheduleRequestBodyPhases'AddInvoiceItems'PriceData'Product] :: PostSubscriptionSchedulesScheduleRequestBodyPhases'AddInvoiceItems'PriceData' -> Text
-- | tax_behavior
[postSubscriptionSchedulesScheduleRequestBodyPhases'AddInvoiceItems'PriceData'TaxBehavior] :: PostSubscriptionSchedulesScheduleRequestBodyPhases'AddInvoiceItems'PriceData' -> Maybe PostSubscriptionSchedulesScheduleRequestBodyPhases'AddInvoiceItems'PriceData'TaxBehavior'
-- | unit_amount
[postSubscriptionSchedulesScheduleRequestBodyPhases'AddInvoiceItems'PriceData'UnitAmount] :: PostSubscriptionSchedulesScheduleRequestBodyPhases'AddInvoiceItems'PriceData' -> Maybe Int
-- | unit_amount_decimal
[postSubscriptionSchedulesScheduleRequestBodyPhases'AddInvoiceItems'PriceData'UnitAmountDecimal] :: PostSubscriptionSchedulesScheduleRequestBodyPhases'AddInvoiceItems'PriceData' -> Maybe Text
-- | Create a new
-- PostSubscriptionSchedulesScheduleRequestBodyPhases'AddInvoiceItems'PriceData'
-- with all required fields.
mkPostSubscriptionSchedulesScheduleRequestBodyPhases'AddInvoiceItems'PriceData' :: Text -> Text -> PostSubscriptionSchedulesScheduleRequestBodyPhases'AddInvoiceItems'PriceData'
-- | Defines the enum schema located at
-- paths./v1/subscription_schedules/{schedule}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.phases.items.properties.add_invoice_items.items.properties.price_data.properties.tax_behavior
-- in the specification.
data PostSubscriptionSchedulesScheduleRequestBodyPhases'AddInvoiceItems'PriceData'TaxBehavior'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostSubscriptionSchedulesScheduleRequestBodyPhases'AddInvoiceItems'PriceData'TaxBehavior'Other :: Value -> PostSubscriptionSchedulesScheduleRequestBodyPhases'AddInvoiceItems'PriceData'TaxBehavior'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostSubscriptionSchedulesScheduleRequestBodyPhases'AddInvoiceItems'PriceData'TaxBehavior'Typed :: Text -> PostSubscriptionSchedulesScheduleRequestBodyPhases'AddInvoiceItems'PriceData'TaxBehavior'
-- | Represents the JSON value "exclusive"
PostSubscriptionSchedulesScheduleRequestBodyPhases'AddInvoiceItems'PriceData'TaxBehavior'EnumExclusive :: PostSubscriptionSchedulesScheduleRequestBodyPhases'AddInvoiceItems'PriceData'TaxBehavior'
-- | Represents the JSON value "inclusive"
PostSubscriptionSchedulesScheduleRequestBodyPhases'AddInvoiceItems'PriceData'TaxBehavior'EnumInclusive :: PostSubscriptionSchedulesScheduleRequestBodyPhases'AddInvoiceItems'PriceData'TaxBehavior'
-- | Represents the JSON value "unspecified"
PostSubscriptionSchedulesScheduleRequestBodyPhases'AddInvoiceItems'PriceData'TaxBehavior'EnumUnspecified :: PostSubscriptionSchedulesScheduleRequestBodyPhases'AddInvoiceItems'PriceData'TaxBehavior'
-- | Defines the oneOf schema located at
-- paths./v1/subscription_schedules/{schedule}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.phases.items.properties.add_invoice_items.items.properties.tax_rates.anyOf
-- in the specification.
data PostSubscriptionSchedulesScheduleRequestBodyPhases'AddInvoiceItems'TaxRates'Variants
-- | Represents the JSON value ""
PostSubscriptionSchedulesScheduleRequestBodyPhases'AddInvoiceItems'TaxRates'EmptyString :: PostSubscriptionSchedulesScheduleRequestBodyPhases'AddInvoiceItems'TaxRates'Variants
PostSubscriptionSchedulesScheduleRequestBodyPhases'AddInvoiceItems'TaxRates'ListTText :: [Text] -> PostSubscriptionSchedulesScheduleRequestBodyPhases'AddInvoiceItems'TaxRates'Variants
-- | Defines the object schema located at
-- paths./v1/subscription_schedules/{schedule}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.phases.items.properties.automatic_tax
-- in the specification.
data PostSubscriptionSchedulesScheduleRequestBodyPhases'AutomaticTax'
PostSubscriptionSchedulesScheduleRequestBodyPhases'AutomaticTax' :: Bool -> PostSubscriptionSchedulesScheduleRequestBodyPhases'AutomaticTax'
-- | enabled
[postSubscriptionSchedulesScheduleRequestBodyPhases'AutomaticTax'Enabled] :: PostSubscriptionSchedulesScheduleRequestBodyPhases'AutomaticTax' -> Bool
-- | Create a new
-- PostSubscriptionSchedulesScheduleRequestBodyPhases'AutomaticTax'
-- with all required fields.
mkPostSubscriptionSchedulesScheduleRequestBodyPhases'AutomaticTax' :: Bool -> PostSubscriptionSchedulesScheduleRequestBodyPhases'AutomaticTax'
-- | Defines the enum schema located at
-- paths./v1/subscription_schedules/{schedule}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.phases.items.properties.billing_cycle_anchor
-- in the specification.
data PostSubscriptionSchedulesScheduleRequestBodyPhases'BillingCycleAnchor'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostSubscriptionSchedulesScheduleRequestBodyPhases'BillingCycleAnchor'Other :: Value -> PostSubscriptionSchedulesScheduleRequestBodyPhases'BillingCycleAnchor'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostSubscriptionSchedulesScheduleRequestBodyPhases'BillingCycleAnchor'Typed :: Text -> PostSubscriptionSchedulesScheduleRequestBodyPhases'BillingCycleAnchor'
-- | Represents the JSON value "automatic"
PostSubscriptionSchedulesScheduleRequestBodyPhases'BillingCycleAnchor'EnumAutomatic :: PostSubscriptionSchedulesScheduleRequestBodyPhases'BillingCycleAnchor'
-- | Represents the JSON value "phase_start"
PostSubscriptionSchedulesScheduleRequestBodyPhases'BillingCycleAnchor'EnumPhaseStart :: PostSubscriptionSchedulesScheduleRequestBodyPhases'BillingCycleAnchor'
-- | Defines the object schema located at
-- paths./v1/subscription_schedules/{schedule}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.phases.items.properties.billing_thresholds.anyOf
-- in the specification.
data PostSubscriptionSchedulesScheduleRequestBodyPhases'BillingThresholds'OneOf1
PostSubscriptionSchedulesScheduleRequestBodyPhases'BillingThresholds'OneOf1 :: Maybe Int -> Maybe Bool -> PostSubscriptionSchedulesScheduleRequestBodyPhases'BillingThresholds'OneOf1
-- | amount_gte
[postSubscriptionSchedulesScheduleRequestBodyPhases'BillingThresholds'OneOf1AmountGte] :: PostSubscriptionSchedulesScheduleRequestBodyPhases'BillingThresholds'OneOf1 -> Maybe Int
-- | reset_billing_cycle_anchor
[postSubscriptionSchedulesScheduleRequestBodyPhases'BillingThresholds'OneOf1ResetBillingCycleAnchor] :: PostSubscriptionSchedulesScheduleRequestBodyPhases'BillingThresholds'OneOf1 -> Maybe Bool
-- | Create a new
-- PostSubscriptionSchedulesScheduleRequestBodyPhases'BillingThresholds'OneOf1
-- with all required fields.
mkPostSubscriptionSchedulesScheduleRequestBodyPhases'BillingThresholds'OneOf1 :: PostSubscriptionSchedulesScheduleRequestBodyPhases'BillingThresholds'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/subscription_schedules/{schedule}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.phases.items.properties.billing_thresholds.anyOf
-- in the specification.
data PostSubscriptionSchedulesScheduleRequestBodyPhases'BillingThresholds'Variants
-- | Represents the JSON value ""
PostSubscriptionSchedulesScheduleRequestBodyPhases'BillingThresholds'EmptyString :: PostSubscriptionSchedulesScheduleRequestBodyPhases'BillingThresholds'Variants
PostSubscriptionSchedulesScheduleRequestBodyPhases'BillingThresholds'PostSubscriptionSchedulesScheduleRequestBodyPhases'BillingThresholds'OneOf1 :: PostSubscriptionSchedulesScheduleRequestBodyPhases'BillingThresholds'OneOf1 -> PostSubscriptionSchedulesScheduleRequestBodyPhases'BillingThresholds'Variants
-- | Defines the enum schema located at
-- paths./v1/subscription_schedules/{schedule}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.phases.items.properties.collection_method
-- in the specification.
data PostSubscriptionSchedulesScheduleRequestBodyPhases'CollectionMethod'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostSubscriptionSchedulesScheduleRequestBodyPhases'CollectionMethod'Other :: Value -> PostSubscriptionSchedulesScheduleRequestBodyPhases'CollectionMethod'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostSubscriptionSchedulesScheduleRequestBodyPhases'CollectionMethod'Typed :: Text -> PostSubscriptionSchedulesScheduleRequestBodyPhases'CollectionMethod'
-- | Represents the JSON value "charge_automatically"
PostSubscriptionSchedulesScheduleRequestBodyPhases'CollectionMethod'EnumChargeAutomatically :: PostSubscriptionSchedulesScheduleRequestBodyPhases'CollectionMethod'
-- | Represents the JSON value "send_invoice"
PostSubscriptionSchedulesScheduleRequestBodyPhases'CollectionMethod'EnumSendInvoice :: PostSubscriptionSchedulesScheduleRequestBodyPhases'CollectionMethod'
-- | Defines the oneOf schema located at
-- paths./v1/subscription_schedules/{schedule}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.phases.items.properties.default_tax_rates.anyOf
-- in the specification.
data PostSubscriptionSchedulesScheduleRequestBodyPhases'DefaultTaxRates'Variants
-- | Represents the JSON value ""
PostSubscriptionSchedulesScheduleRequestBodyPhases'DefaultTaxRates'EmptyString :: PostSubscriptionSchedulesScheduleRequestBodyPhases'DefaultTaxRates'Variants
PostSubscriptionSchedulesScheduleRequestBodyPhases'DefaultTaxRates'ListTText :: [Text] -> PostSubscriptionSchedulesScheduleRequestBodyPhases'DefaultTaxRates'Variants
-- | Defines the oneOf schema located at
-- paths./v1/subscription_schedules/{schedule}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.phases.items.properties.end_date.anyOf
-- in the specification.
data PostSubscriptionSchedulesScheduleRequestBodyPhases'EndDate'Variants
-- | Represents the JSON value "now"
PostSubscriptionSchedulesScheduleRequestBodyPhases'EndDate'Now :: PostSubscriptionSchedulesScheduleRequestBodyPhases'EndDate'Variants
PostSubscriptionSchedulesScheduleRequestBodyPhases'EndDate'Int :: Int -> PostSubscriptionSchedulesScheduleRequestBodyPhases'EndDate'Variants
-- | Defines the object schema located at
-- paths./v1/subscription_schedules/{schedule}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.phases.items.properties.invoice_settings
-- in the specification.
data PostSubscriptionSchedulesScheduleRequestBodyPhases'InvoiceSettings'
PostSubscriptionSchedulesScheduleRequestBodyPhases'InvoiceSettings' :: Maybe Int -> PostSubscriptionSchedulesScheduleRequestBodyPhases'InvoiceSettings'
-- | days_until_due
[postSubscriptionSchedulesScheduleRequestBodyPhases'InvoiceSettings'DaysUntilDue] :: PostSubscriptionSchedulesScheduleRequestBodyPhases'InvoiceSettings' -> Maybe Int
-- | Create a new
-- PostSubscriptionSchedulesScheduleRequestBodyPhases'InvoiceSettings'
-- with all required fields.
mkPostSubscriptionSchedulesScheduleRequestBodyPhases'InvoiceSettings' :: PostSubscriptionSchedulesScheduleRequestBodyPhases'InvoiceSettings'
-- | Defines the object schema located at
-- paths./v1/subscription_schedules/{schedule}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.phases.items.properties.items.items
-- in the specification.
data PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'
PostSubscriptionSchedulesScheduleRequestBodyPhases'Items' :: Maybe PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'BillingThresholds'Variants -> Maybe Text -> Maybe PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'PriceData' -> Maybe Int -> Maybe PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'TaxRates'Variants -> PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'
-- | billing_thresholds
[postSubscriptionSchedulesScheduleRequestBodyPhases'Items'BillingThresholds] :: PostSubscriptionSchedulesScheduleRequestBodyPhases'Items' -> Maybe PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'BillingThresholds'Variants
-- | price
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSubscriptionSchedulesScheduleRequestBodyPhases'Items'Price] :: PostSubscriptionSchedulesScheduleRequestBodyPhases'Items' -> Maybe Text
-- | price_data
[postSubscriptionSchedulesScheduleRequestBodyPhases'Items'PriceData] :: PostSubscriptionSchedulesScheduleRequestBodyPhases'Items' -> Maybe PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'PriceData'
-- | quantity
[postSubscriptionSchedulesScheduleRequestBodyPhases'Items'Quantity] :: PostSubscriptionSchedulesScheduleRequestBodyPhases'Items' -> Maybe Int
-- | tax_rates
[postSubscriptionSchedulesScheduleRequestBodyPhases'Items'TaxRates] :: PostSubscriptionSchedulesScheduleRequestBodyPhases'Items' -> Maybe PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'TaxRates'Variants
-- | Create a new
-- PostSubscriptionSchedulesScheduleRequestBodyPhases'Items' with
-- all required fields.
mkPostSubscriptionSchedulesScheduleRequestBodyPhases'Items' :: PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'
-- | Defines the object schema located at
-- paths./v1/subscription_schedules/{schedule}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.phases.items.properties.items.items.properties.billing_thresholds.anyOf
-- in the specification.
data PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'BillingThresholds'OneOf1
PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'BillingThresholds'OneOf1 :: Int -> PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'BillingThresholds'OneOf1
-- | usage_gte
[postSubscriptionSchedulesScheduleRequestBodyPhases'Items'BillingThresholds'OneOf1UsageGte] :: PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'BillingThresholds'OneOf1 -> Int
-- | Create a new
-- PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'BillingThresholds'OneOf1
-- with all required fields.
mkPostSubscriptionSchedulesScheduleRequestBodyPhases'Items'BillingThresholds'OneOf1 :: Int -> PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'BillingThresholds'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/subscription_schedules/{schedule}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.phases.items.properties.items.items.properties.billing_thresholds.anyOf
-- in the specification.
data PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'BillingThresholds'Variants
-- | Represents the JSON value ""
PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'BillingThresholds'EmptyString :: PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'BillingThresholds'Variants
PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'BillingThresholds'PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'BillingThresholds'OneOf1 :: PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'BillingThresholds'OneOf1 -> PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'BillingThresholds'Variants
-- | Defines the object schema located at
-- paths./v1/subscription_schedules/{schedule}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.phases.items.properties.items.items.properties.price_data
-- in the specification.
data PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'PriceData'
PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'PriceData' :: Text -> Text -> PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'PriceData'Recurring' -> Maybe PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'PriceData'TaxBehavior' -> Maybe Int -> Maybe Text -> PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'PriceData'
-- | currency
[postSubscriptionSchedulesScheduleRequestBodyPhases'Items'PriceData'Currency] :: PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'PriceData' -> Text
-- | product
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSubscriptionSchedulesScheduleRequestBodyPhases'Items'PriceData'Product] :: PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'PriceData' -> Text
-- | recurring
[postSubscriptionSchedulesScheduleRequestBodyPhases'Items'PriceData'Recurring] :: PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'PriceData' -> PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'PriceData'Recurring'
-- | tax_behavior
[postSubscriptionSchedulesScheduleRequestBodyPhases'Items'PriceData'TaxBehavior] :: PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'PriceData' -> Maybe PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'PriceData'TaxBehavior'
-- | unit_amount
[postSubscriptionSchedulesScheduleRequestBodyPhases'Items'PriceData'UnitAmount] :: PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'PriceData' -> Maybe Int
-- | unit_amount_decimal
[postSubscriptionSchedulesScheduleRequestBodyPhases'Items'PriceData'UnitAmountDecimal] :: PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'PriceData' -> Maybe Text
-- | Create a new
-- PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'PriceData'
-- with all required fields.
mkPostSubscriptionSchedulesScheduleRequestBodyPhases'Items'PriceData' :: Text -> Text -> PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'PriceData'Recurring' -> PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'PriceData'
-- | Defines the object schema located at
-- paths./v1/subscription_schedules/{schedule}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.phases.items.properties.items.items.properties.price_data.properties.recurring
-- in the specification.
data PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'PriceData'Recurring'
PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'PriceData'Recurring' :: PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'PriceData'Recurring'Interval' -> Maybe Int -> PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'PriceData'Recurring'
-- | interval
[postSubscriptionSchedulesScheduleRequestBodyPhases'Items'PriceData'Recurring'Interval] :: PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'PriceData'Recurring' -> PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'PriceData'Recurring'Interval'
-- | interval_count
[postSubscriptionSchedulesScheduleRequestBodyPhases'Items'PriceData'Recurring'IntervalCount] :: PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'PriceData'Recurring' -> Maybe Int
-- | Create a new
-- PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'PriceData'Recurring'
-- with all required fields.
mkPostSubscriptionSchedulesScheduleRequestBodyPhases'Items'PriceData'Recurring' :: PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'PriceData'Recurring'Interval' -> PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'PriceData'Recurring'
-- | Defines the enum schema located at
-- paths./v1/subscription_schedules/{schedule}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.phases.items.properties.items.items.properties.price_data.properties.recurring.properties.interval
-- in the specification.
data PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'PriceData'Recurring'Interval'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'PriceData'Recurring'Interval'Other :: Value -> PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'PriceData'Recurring'Interval'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'PriceData'Recurring'Interval'Typed :: Text -> PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'PriceData'Recurring'Interval'
-- | Represents the JSON value "day"
PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'PriceData'Recurring'Interval'EnumDay :: PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'PriceData'Recurring'Interval'
-- | Represents the JSON value "month"
PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'PriceData'Recurring'Interval'EnumMonth :: PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'PriceData'Recurring'Interval'
-- | Represents the JSON value "week"
PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'PriceData'Recurring'Interval'EnumWeek :: PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'PriceData'Recurring'Interval'
-- | Represents the JSON value "year"
PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'PriceData'Recurring'Interval'EnumYear :: PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'PriceData'Recurring'Interval'
-- | Defines the enum schema located at
-- paths./v1/subscription_schedules/{schedule}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.phases.items.properties.items.items.properties.price_data.properties.tax_behavior
-- in the specification.
data PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'PriceData'TaxBehavior'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'PriceData'TaxBehavior'Other :: Value -> PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'PriceData'TaxBehavior'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'PriceData'TaxBehavior'Typed :: Text -> PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'PriceData'TaxBehavior'
-- | Represents the JSON value "exclusive"
PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'PriceData'TaxBehavior'EnumExclusive :: PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'PriceData'TaxBehavior'
-- | Represents the JSON value "inclusive"
PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'PriceData'TaxBehavior'EnumInclusive :: PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'PriceData'TaxBehavior'
-- | Represents the JSON value "unspecified"
PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'PriceData'TaxBehavior'EnumUnspecified :: PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'PriceData'TaxBehavior'
-- | Defines the oneOf schema located at
-- paths./v1/subscription_schedules/{schedule}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.phases.items.properties.items.items.properties.tax_rates.anyOf
-- in the specification.
data PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'TaxRates'Variants
-- | Represents the JSON value ""
PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'TaxRates'EmptyString :: PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'TaxRates'Variants
PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'TaxRates'ListTText :: [Text] -> PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'TaxRates'Variants
-- | Defines the enum schema located at
-- paths./v1/subscription_schedules/{schedule}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.phases.items.properties.proration_behavior
-- in the specification.
data PostSubscriptionSchedulesScheduleRequestBodyPhases'ProrationBehavior'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostSubscriptionSchedulesScheduleRequestBodyPhases'ProrationBehavior'Other :: Value -> PostSubscriptionSchedulesScheduleRequestBodyPhases'ProrationBehavior'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostSubscriptionSchedulesScheduleRequestBodyPhases'ProrationBehavior'Typed :: Text -> PostSubscriptionSchedulesScheduleRequestBodyPhases'ProrationBehavior'
-- | Represents the JSON value "always_invoice"
PostSubscriptionSchedulesScheduleRequestBodyPhases'ProrationBehavior'EnumAlwaysInvoice :: PostSubscriptionSchedulesScheduleRequestBodyPhases'ProrationBehavior'
-- | Represents the JSON value "create_prorations"
PostSubscriptionSchedulesScheduleRequestBodyPhases'ProrationBehavior'EnumCreateProrations :: PostSubscriptionSchedulesScheduleRequestBodyPhases'ProrationBehavior'
-- | Represents the JSON value "none"
PostSubscriptionSchedulesScheduleRequestBodyPhases'ProrationBehavior'EnumNone :: PostSubscriptionSchedulesScheduleRequestBodyPhases'ProrationBehavior'
-- | Defines the oneOf schema located at
-- paths./v1/subscription_schedules/{schedule}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.phases.items.properties.start_date.anyOf
-- in the specification.
data PostSubscriptionSchedulesScheduleRequestBodyPhases'StartDate'Variants
-- | Represents the JSON value "now"
PostSubscriptionSchedulesScheduleRequestBodyPhases'StartDate'Now :: PostSubscriptionSchedulesScheduleRequestBodyPhases'StartDate'Variants
PostSubscriptionSchedulesScheduleRequestBodyPhases'StartDate'Int :: Int -> PostSubscriptionSchedulesScheduleRequestBodyPhases'StartDate'Variants
-- | Defines the object schema located at
-- paths./v1/subscription_schedules/{schedule}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.phases.items.properties.transfer_data
-- in the specification.
data PostSubscriptionSchedulesScheduleRequestBodyPhases'TransferData'
PostSubscriptionSchedulesScheduleRequestBodyPhases'TransferData' :: Maybe Double -> Text -> PostSubscriptionSchedulesScheduleRequestBodyPhases'TransferData'
-- | amount_percent
[postSubscriptionSchedulesScheduleRequestBodyPhases'TransferData'AmountPercent] :: PostSubscriptionSchedulesScheduleRequestBodyPhases'TransferData' -> Maybe Double
-- | destination
[postSubscriptionSchedulesScheduleRequestBodyPhases'TransferData'Destination] :: PostSubscriptionSchedulesScheduleRequestBodyPhases'TransferData' -> Text
-- | Create a new
-- PostSubscriptionSchedulesScheduleRequestBodyPhases'TransferData'
-- with all required fields.
mkPostSubscriptionSchedulesScheduleRequestBodyPhases'TransferData' :: Text -> PostSubscriptionSchedulesScheduleRequestBodyPhases'TransferData'
-- | Defines the oneOf schema located at
-- paths./v1/subscription_schedules/{schedule}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.phases.items.properties.trial_end.anyOf
-- in the specification.
data PostSubscriptionSchedulesScheduleRequestBodyPhases'TrialEnd'Variants
-- | Represents the JSON value "now"
PostSubscriptionSchedulesScheduleRequestBodyPhases'TrialEnd'Now :: PostSubscriptionSchedulesScheduleRequestBodyPhases'TrialEnd'Variants
PostSubscriptionSchedulesScheduleRequestBodyPhases'TrialEnd'Int :: Int -> PostSubscriptionSchedulesScheduleRequestBodyPhases'TrialEnd'Variants
-- | Defines the enum schema located at
-- paths./v1/subscription_schedules/{schedule}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.proration_behavior
-- in the specification.
--
-- If the update changes the current phase, indicates if the changes
-- should be prorated. Possible values are `create_prorations` or `none`,
-- and the default value is `create_prorations`.
data PostSubscriptionSchedulesScheduleRequestBodyProrationBehavior'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostSubscriptionSchedulesScheduleRequestBodyProrationBehavior'Other :: Value -> PostSubscriptionSchedulesScheduleRequestBodyProrationBehavior'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostSubscriptionSchedulesScheduleRequestBodyProrationBehavior'Typed :: Text -> PostSubscriptionSchedulesScheduleRequestBodyProrationBehavior'
-- | Represents the JSON value "always_invoice"
PostSubscriptionSchedulesScheduleRequestBodyProrationBehavior'EnumAlwaysInvoice :: PostSubscriptionSchedulesScheduleRequestBodyProrationBehavior'
-- | Represents the JSON value "create_prorations"
PostSubscriptionSchedulesScheduleRequestBodyProrationBehavior'EnumCreateProrations :: PostSubscriptionSchedulesScheduleRequestBodyProrationBehavior'
-- | Represents the JSON value "none"
PostSubscriptionSchedulesScheduleRequestBodyProrationBehavior'EnumNone :: PostSubscriptionSchedulesScheduleRequestBodyProrationBehavior'
-- | Represents a response of the operation
-- postSubscriptionSchedulesSchedule.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- PostSubscriptionSchedulesScheduleResponseError is used.
data PostSubscriptionSchedulesScheduleResponse
-- | Means either no matching case available or a parse error
PostSubscriptionSchedulesScheduleResponseError :: String -> PostSubscriptionSchedulesScheduleResponse
-- | Successful response.
PostSubscriptionSchedulesScheduleResponse200 :: SubscriptionSchedule -> PostSubscriptionSchedulesScheduleResponse
-- | Error response.
PostSubscriptionSchedulesScheduleResponseDefault :: Error -> PostSubscriptionSchedulesScheduleResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'AutomaticTax'
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'AutomaticTax'
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'BillingCycleAnchor'
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'BillingCycleAnchor'
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'BillingThresholds'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'BillingThresholds'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'BillingThresholds'Variants
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'BillingThresholds'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'CollectionMethod'
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'CollectionMethod'
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'InvoiceSettings'
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'InvoiceSettings'
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'TransferData'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'TransferData'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'TransferData'Variants
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'TransferData'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyEndBehavior'
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyEndBehavior'
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyMetadata'Variants
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyMetadata'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'AddInvoiceItems'PriceData'TaxBehavior'
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'AddInvoiceItems'PriceData'TaxBehavior'
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'AddInvoiceItems'PriceData'
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'AddInvoiceItems'PriceData'
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'AddInvoiceItems'TaxRates'Variants
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'AddInvoiceItems'TaxRates'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'AddInvoiceItems'
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'AddInvoiceItems'
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'AutomaticTax'
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'AutomaticTax'
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'BillingCycleAnchor'
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'BillingCycleAnchor'
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'BillingThresholds'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'BillingThresholds'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'BillingThresholds'Variants
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'BillingThresholds'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'CollectionMethod'
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'CollectionMethod'
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'DefaultTaxRates'Variants
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'DefaultTaxRates'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'EndDate'Variants
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'EndDate'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'InvoiceSettings'
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'InvoiceSettings'
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'BillingThresholds'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'BillingThresholds'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'BillingThresholds'Variants
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'BillingThresholds'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'PriceData'Recurring'Interval'
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'PriceData'Recurring'Interval'
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'PriceData'Recurring'
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'PriceData'Recurring'
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'PriceData'TaxBehavior'
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'PriceData'TaxBehavior'
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'PriceData'
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'PriceData'
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'TaxRates'Variants
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'TaxRates'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'ProrationBehavior'
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'ProrationBehavior'
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'StartDate'Variants
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'StartDate'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'TransferData'
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'TransferData'
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'TrialEnd'Variants
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'TrialEnd'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyProrationBehavior'
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyProrationBehavior'
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleResponse
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyProrationBehavior'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyProrationBehavior'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'TrialEnd'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'TrialEnd'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'TransferData'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'TransferData'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'StartDate'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'StartDate'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'ProrationBehavior'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'ProrationBehavior'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'TaxRates'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'TaxRates'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'PriceData'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'PriceData'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'PriceData'TaxBehavior'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'PriceData'TaxBehavior'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'PriceData'Recurring'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'PriceData'Recurring'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'PriceData'Recurring'Interval'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'PriceData'Recurring'Interval'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'BillingThresholds'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'BillingThresholds'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'BillingThresholds'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'Items'BillingThresholds'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'InvoiceSettings'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'InvoiceSettings'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'EndDate'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'EndDate'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'DefaultTaxRates'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'DefaultTaxRates'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'CollectionMethod'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'CollectionMethod'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'BillingThresholds'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'BillingThresholds'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'BillingThresholds'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'BillingThresholds'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'BillingCycleAnchor'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'BillingCycleAnchor'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'AutomaticTax'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'AutomaticTax'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'AddInvoiceItems'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'AddInvoiceItems'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'AddInvoiceItems'TaxRates'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'AddInvoiceItems'TaxRates'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'AddInvoiceItems'PriceData'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'AddInvoiceItems'PriceData'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'AddInvoiceItems'PriceData'TaxBehavior'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyPhases'AddInvoiceItems'PriceData'TaxBehavior'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyMetadata'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyMetadata'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyEndBehavior'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyEndBehavior'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'TransferData'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'TransferData'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'TransferData'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'TransferData'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'InvoiceSettings'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'InvoiceSettings'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'CollectionMethod'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'CollectionMethod'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'BillingThresholds'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'BillingThresholds'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'BillingThresholds'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'BillingThresholds'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'BillingCycleAnchor'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'BillingCycleAnchor'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'AutomaticTax'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionSchedulesSchedule.PostSubscriptionSchedulesScheduleRequestBodyDefaultSettings'AutomaticTax'
-- | Contains the different functions to run the operation
-- postSubscriptionSchedules
module StripeAPI.Operations.PostSubscriptionSchedules
-- |
-- POST /v1/subscription_schedules
--
--
-- <p>Creates a new subscription schedule object. Each customer can
-- have up to 500 active or scheduled subscriptions.</p>
postSubscriptionSchedules :: forall m. MonadHTTP m => Maybe PostSubscriptionSchedulesRequestBody -> ClientT m (Response PostSubscriptionSchedulesResponse)
-- | Defines the object schema located at
-- paths./v1/subscription_schedules.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostSubscriptionSchedulesRequestBody
PostSubscriptionSchedulesRequestBody :: Maybe Text -> Maybe PostSubscriptionSchedulesRequestBodyDefaultSettings' -> Maybe PostSubscriptionSchedulesRequestBodyEndBehavior' -> Maybe [Text] -> Maybe Text -> Maybe PostSubscriptionSchedulesRequestBodyMetadata'Variants -> Maybe [PostSubscriptionSchedulesRequestBodyPhases'] -> Maybe PostSubscriptionSchedulesRequestBodyStartDate'Variants -> PostSubscriptionSchedulesRequestBody
-- | customer: The identifier of the customer to create the subscription
-- schedule for.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSubscriptionSchedulesRequestBodyCustomer] :: PostSubscriptionSchedulesRequestBody -> Maybe Text
-- | default_settings: Object representing the subscription schedule's
-- default settings.
[postSubscriptionSchedulesRequestBodyDefaultSettings] :: PostSubscriptionSchedulesRequestBody -> Maybe PostSubscriptionSchedulesRequestBodyDefaultSettings'
-- | end_behavior: Configures how the subscription schedule behaves when it
-- ends. Possible values are `release` or `cancel` with the default being
-- `release`. `release` will end the subscription schedule and keep the
-- underlying subscription running.`cancel` will end the subscription
-- schedule and cancel the underlying subscription.
[postSubscriptionSchedulesRequestBodyEndBehavior] :: PostSubscriptionSchedulesRequestBody -> Maybe PostSubscriptionSchedulesRequestBodyEndBehavior'
-- | expand: Specifies which fields in the response should be expanded.
[postSubscriptionSchedulesRequestBodyExpand] :: PostSubscriptionSchedulesRequestBody -> Maybe [Text]
-- | from_subscription: Migrate an existing subscription to be managed by a
-- subscription schedule. If this parameter is set, a subscription
-- schedule will be created using the subscription's item(s), set to
-- auto-renew using the subscription's interval. When using this
-- parameter, other parameters (such as phase values) cannot be set. To
-- create a subscription schedule with other modifications, we recommend
-- making two separate API calls.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSubscriptionSchedulesRequestBodyFromSubscription] :: PostSubscriptionSchedulesRequestBody -> Maybe Text
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postSubscriptionSchedulesRequestBodyMetadata] :: PostSubscriptionSchedulesRequestBody -> Maybe PostSubscriptionSchedulesRequestBodyMetadata'Variants
-- | phases: List representing phases of the subscription schedule. Each
-- phase can be customized to have different durations, plans, and
-- coupons. If there are multiple phases, the `end_date` of one phase
-- will always equal the `start_date` of the next phase.
[postSubscriptionSchedulesRequestBodyPhases] :: PostSubscriptionSchedulesRequestBody -> Maybe [PostSubscriptionSchedulesRequestBodyPhases']
-- | start_date: When the subscription schedule starts. We recommend using
-- `now` so that it starts the subscription immediately. You can also use
-- a Unix timestamp to backdate the subscription so that it starts on a
-- past date, or set a future date for the subscription to start on.
[postSubscriptionSchedulesRequestBodyStartDate] :: PostSubscriptionSchedulesRequestBody -> Maybe PostSubscriptionSchedulesRequestBodyStartDate'Variants
-- | Create a new PostSubscriptionSchedulesRequestBody with all
-- required fields.
mkPostSubscriptionSchedulesRequestBody :: PostSubscriptionSchedulesRequestBody
-- | Defines the object schema located at
-- paths./v1/subscription_schedules.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.default_settings
-- in the specification.
--
-- Object representing the subscription schedule's default settings.
data PostSubscriptionSchedulesRequestBodyDefaultSettings'
PostSubscriptionSchedulesRequestBodyDefaultSettings' :: Maybe Double -> Maybe PostSubscriptionSchedulesRequestBodyDefaultSettings'AutomaticTax' -> Maybe PostSubscriptionSchedulesRequestBodyDefaultSettings'BillingCycleAnchor' -> Maybe PostSubscriptionSchedulesRequestBodyDefaultSettings'BillingThresholds'Variants -> Maybe PostSubscriptionSchedulesRequestBodyDefaultSettings'CollectionMethod' -> Maybe Text -> Maybe PostSubscriptionSchedulesRequestBodyDefaultSettings'InvoiceSettings' -> Maybe PostSubscriptionSchedulesRequestBodyDefaultSettings'TransferData'Variants -> PostSubscriptionSchedulesRequestBodyDefaultSettings'
-- | application_fee_percent
[postSubscriptionSchedulesRequestBodyDefaultSettings'ApplicationFeePercent] :: PostSubscriptionSchedulesRequestBodyDefaultSettings' -> Maybe Double
-- | automatic_tax
[postSubscriptionSchedulesRequestBodyDefaultSettings'AutomaticTax] :: PostSubscriptionSchedulesRequestBodyDefaultSettings' -> Maybe PostSubscriptionSchedulesRequestBodyDefaultSettings'AutomaticTax'
-- | billing_cycle_anchor
[postSubscriptionSchedulesRequestBodyDefaultSettings'BillingCycleAnchor] :: PostSubscriptionSchedulesRequestBodyDefaultSettings' -> Maybe PostSubscriptionSchedulesRequestBodyDefaultSettings'BillingCycleAnchor'
-- | billing_thresholds
[postSubscriptionSchedulesRequestBodyDefaultSettings'BillingThresholds] :: PostSubscriptionSchedulesRequestBodyDefaultSettings' -> Maybe PostSubscriptionSchedulesRequestBodyDefaultSettings'BillingThresholds'Variants
-- | collection_method
[postSubscriptionSchedulesRequestBodyDefaultSettings'CollectionMethod] :: PostSubscriptionSchedulesRequestBodyDefaultSettings' -> Maybe PostSubscriptionSchedulesRequestBodyDefaultSettings'CollectionMethod'
-- | default_payment_method
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSubscriptionSchedulesRequestBodyDefaultSettings'DefaultPaymentMethod] :: PostSubscriptionSchedulesRequestBodyDefaultSettings' -> Maybe Text
-- | invoice_settings
[postSubscriptionSchedulesRequestBodyDefaultSettings'InvoiceSettings] :: PostSubscriptionSchedulesRequestBodyDefaultSettings' -> Maybe PostSubscriptionSchedulesRequestBodyDefaultSettings'InvoiceSettings'
-- | transfer_data
[postSubscriptionSchedulesRequestBodyDefaultSettings'TransferData] :: PostSubscriptionSchedulesRequestBodyDefaultSettings' -> Maybe PostSubscriptionSchedulesRequestBodyDefaultSettings'TransferData'Variants
-- | Create a new
-- PostSubscriptionSchedulesRequestBodyDefaultSettings' with all
-- required fields.
mkPostSubscriptionSchedulesRequestBodyDefaultSettings' :: PostSubscriptionSchedulesRequestBodyDefaultSettings'
-- | Defines the object schema located at
-- paths./v1/subscription_schedules.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.default_settings.properties.automatic_tax
-- in the specification.
data PostSubscriptionSchedulesRequestBodyDefaultSettings'AutomaticTax'
PostSubscriptionSchedulesRequestBodyDefaultSettings'AutomaticTax' :: Bool -> PostSubscriptionSchedulesRequestBodyDefaultSettings'AutomaticTax'
-- | enabled
[postSubscriptionSchedulesRequestBodyDefaultSettings'AutomaticTax'Enabled] :: PostSubscriptionSchedulesRequestBodyDefaultSettings'AutomaticTax' -> Bool
-- | Create a new
-- PostSubscriptionSchedulesRequestBodyDefaultSettings'AutomaticTax'
-- with all required fields.
mkPostSubscriptionSchedulesRequestBodyDefaultSettings'AutomaticTax' :: Bool -> PostSubscriptionSchedulesRequestBodyDefaultSettings'AutomaticTax'
-- | Defines the enum schema located at
-- paths./v1/subscription_schedules.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.default_settings.properties.billing_cycle_anchor
-- in the specification.
data PostSubscriptionSchedulesRequestBodyDefaultSettings'BillingCycleAnchor'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostSubscriptionSchedulesRequestBodyDefaultSettings'BillingCycleAnchor'Other :: Value -> PostSubscriptionSchedulesRequestBodyDefaultSettings'BillingCycleAnchor'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostSubscriptionSchedulesRequestBodyDefaultSettings'BillingCycleAnchor'Typed :: Text -> PostSubscriptionSchedulesRequestBodyDefaultSettings'BillingCycleAnchor'
-- | Represents the JSON value "automatic"
PostSubscriptionSchedulesRequestBodyDefaultSettings'BillingCycleAnchor'EnumAutomatic :: PostSubscriptionSchedulesRequestBodyDefaultSettings'BillingCycleAnchor'
-- | Represents the JSON value "phase_start"
PostSubscriptionSchedulesRequestBodyDefaultSettings'BillingCycleAnchor'EnumPhaseStart :: PostSubscriptionSchedulesRequestBodyDefaultSettings'BillingCycleAnchor'
-- | Defines the object schema located at
-- paths./v1/subscription_schedules.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.default_settings.properties.billing_thresholds.anyOf
-- in the specification.
data PostSubscriptionSchedulesRequestBodyDefaultSettings'BillingThresholds'OneOf1
PostSubscriptionSchedulesRequestBodyDefaultSettings'BillingThresholds'OneOf1 :: Maybe Int -> Maybe Bool -> PostSubscriptionSchedulesRequestBodyDefaultSettings'BillingThresholds'OneOf1
-- | amount_gte
[postSubscriptionSchedulesRequestBodyDefaultSettings'BillingThresholds'OneOf1AmountGte] :: PostSubscriptionSchedulesRequestBodyDefaultSettings'BillingThresholds'OneOf1 -> Maybe Int
-- | reset_billing_cycle_anchor
[postSubscriptionSchedulesRequestBodyDefaultSettings'BillingThresholds'OneOf1ResetBillingCycleAnchor] :: PostSubscriptionSchedulesRequestBodyDefaultSettings'BillingThresholds'OneOf1 -> Maybe Bool
-- | Create a new
-- PostSubscriptionSchedulesRequestBodyDefaultSettings'BillingThresholds'OneOf1
-- with all required fields.
mkPostSubscriptionSchedulesRequestBodyDefaultSettings'BillingThresholds'OneOf1 :: PostSubscriptionSchedulesRequestBodyDefaultSettings'BillingThresholds'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/subscription_schedules.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.default_settings.properties.billing_thresholds.anyOf
-- in the specification.
data PostSubscriptionSchedulesRequestBodyDefaultSettings'BillingThresholds'Variants
-- | Represents the JSON value ""
PostSubscriptionSchedulesRequestBodyDefaultSettings'BillingThresholds'EmptyString :: PostSubscriptionSchedulesRequestBodyDefaultSettings'BillingThresholds'Variants
PostSubscriptionSchedulesRequestBodyDefaultSettings'BillingThresholds'PostSubscriptionSchedulesRequestBodyDefaultSettings'BillingThresholds'OneOf1 :: PostSubscriptionSchedulesRequestBodyDefaultSettings'BillingThresholds'OneOf1 -> PostSubscriptionSchedulesRequestBodyDefaultSettings'BillingThresholds'Variants
-- | Defines the enum schema located at
-- paths./v1/subscription_schedules.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.default_settings.properties.collection_method
-- in the specification.
data PostSubscriptionSchedulesRequestBodyDefaultSettings'CollectionMethod'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostSubscriptionSchedulesRequestBodyDefaultSettings'CollectionMethod'Other :: Value -> PostSubscriptionSchedulesRequestBodyDefaultSettings'CollectionMethod'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostSubscriptionSchedulesRequestBodyDefaultSettings'CollectionMethod'Typed :: Text -> PostSubscriptionSchedulesRequestBodyDefaultSettings'CollectionMethod'
-- | Represents the JSON value "charge_automatically"
PostSubscriptionSchedulesRequestBodyDefaultSettings'CollectionMethod'EnumChargeAutomatically :: PostSubscriptionSchedulesRequestBodyDefaultSettings'CollectionMethod'
-- | Represents the JSON value "send_invoice"
PostSubscriptionSchedulesRequestBodyDefaultSettings'CollectionMethod'EnumSendInvoice :: PostSubscriptionSchedulesRequestBodyDefaultSettings'CollectionMethod'
-- | Defines the object schema located at
-- paths./v1/subscription_schedules.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.default_settings.properties.invoice_settings
-- in the specification.
data PostSubscriptionSchedulesRequestBodyDefaultSettings'InvoiceSettings'
PostSubscriptionSchedulesRequestBodyDefaultSettings'InvoiceSettings' :: Maybe Int -> PostSubscriptionSchedulesRequestBodyDefaultSettings'InvoiceSettings'
-- | days_until_due
[postSubscriptionSchedulesRequestBodyDefaultSettings'InvoiceSettings'DaysUntilDue] :: PostSubscriptionSchedulesRequestBodyDefaultSettings'InvoiceSettings' -> Maybe Int
-- | Create a new
-- PostSubscriptionSchedulesRequestBodyDefaultSettings'InvoiceSettings'
-- with all required fields.
mkPostSubscriptionSchedulesRequestBodyDefaultSettings'InvoiceSettings' :: PostSubscriptionSchedulesRequestBodyDefaultSettings'InvoiceSettings'
-- | Defines the object schema located at
-- paths./v1/subscription_schedules.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.default_settings.properties.transfer_data.anyOf
-- in the specification.
data PostSubscriptionSchedulesRequestBodyDefaultSettings'TransferData'OneOf1
PostSubscriptionSchedulesRequestBodyDefaultSettings'TransferData'OneOf1 :: Maybe Double -> Text -> PostSubscriptionSchedulesRequestBodyDefaultSettings'TransferData'OneOf1
-- | amount_percent
[postSubscriptionSchedulesRequestBodyDefaultSettings'TransferData'OneOf1AmountPercent] :: PostSubscriptionSchedulesRequestBodyDefaultSettings'TransferData'OneOf1 -> Maybe Double
-- | destination
[postSubscriptionSchedulesRequestBodyDefaultSettings'TransferData'OneOf1Destination] :: PostSubscriptionSchedulesRequestBodyDefaultSettings'TransferData'OneOf1 -> Text
-- | Create a new
-- PostSubscriptionSchedulesRequestBodyDefaultSettings'TransferData'OneOf1
-- with all required fields.
mkPostSubscriptionSchedulesRequestBodyDefaultSettings'TransferData'OneOf1 :: Text -> PostSubscriptionSchedulesRequestBodyDefaultSettings'TransferData'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/subscription_schedules.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.default_settings.properties.transfer_data.anyOf
-- in the specification.
data PostSubscriptionSchedulesRequestBodyDefaultSettings'TransferData'Variants
-- | Represents the JSON value ""
PostSubscriptionSchedulesRequestBodyDefaultSettings'TransferData'EmptyString :: PostSubscriptionSchedulesRequestBodyDefaultSettings'TransferData'Variants
PostSubscriptionSchedulesRequestBodyDefaultSettings'TransferData'PostSubscriptionSchedulesRequestBodyDefaultSettings'TransferData'OneOf1 :: PostSubscriptionSchedulesRequestBodyDefaultSettings'TransferData'OneOf1 -> PostSubscriptionSchedulesRequestBodyDefaultSettings'TransferData'Variants
-- | Defines the enum schema located at
-- paths./v1/subscription_schedules.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.end_behavior
-- in the specification.
--
-- Configures how the subscription schedule behaves when it ends.
-- Possible values are `release` or `cancel` with the default being
-- `release`. `release` will end the subscription schedule and keep the
-- underlying subscription running.`cancel` will end the subscription
-- schedule and cancel the underlying subscription.
data PostSubscriptionSchedulesRequestBodyEndBehavior'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostSubscriptionSchedulesRequestBodyEndBehavior'Other :: Value -> PostSubscriptionSchedulesRequestBodyEndBehavior'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostSubscriptionSchedulesRequestBodyEndBehavior'Typed :: Text -> PostSubscriptionSchedulesRequestBodyEndBehavior'
-- | Represents the JSON value "cancel"
PostSubscriptionSchedulesRequestBodyEndBehavior'EnumCancel :: PostSubscriptionSchedulesRequestBodyEndBehavior'
-- | Represents the JSON value "none"
PostSubscriptionSchedulesRequestBodyEndBehavior'EnumNone :: PostSubscriptionSchedulesRequestBodyEndBehavior'
-- | Represents the JSON value "release"
PostSubscriptionSchedulesRequestBodyEndBehavior'EnumRelease :: PostSubscriptionSchedulesRequestBodyEndBehavior'
-- | Represents the JSON value "renew"
PostSubscriptionSchedulesRequestBodyEndBehavior'EnumRenew :: PostSubscriptionSchedulesRequestBodyEndBehavior'
-- | Defines the oneOf schema located at
-- paths./v1/subscription_schedules.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.metadata.anyOf
-- in the specification.
--
-- Set of key-value pairs that you can attach to an object. This
-- can be useful for storing additional information about the object in a
-- structured format. Individual keys can be unset by posting an empty
-- value to them. All keys can be unset by posting an empty value to
-- `metadata`.
data PostSubscriptionSchedulesRequestBodyMetadata'Variants
-- | Represents the JSON value ""
PostSubscriptionSchedulesRequestBodyMetadata'EmptyString :: PostSubscriptionSchedulesRequestBodyMetadata'Variants
PostSubscriptionSchedulesRequestBodyMetadata'Object :: Object -> PostSubscriptionSchedulesRequestBodyMetadata'Variants
-- | Defines the object schema located at
-- paths./v1/subscription_schedules.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.phases.items
-- in the specification.
data PostSubscriptionSchedulesRequestBodyPhases'
PostSubscriptionSchedulesRequestBodyPhases' :: Maybe [PostSubscriptionSchedulesRequestBodyPhases'AddInvoiceItems'] -> Maybe Double -> Maybe PostSubscriptionSchedulesRequestBodyPhases'AutomaticTax' -> Maybe PostSubscriptionSchedulesRequestBodyPhases'BillingCycleAnchor' -> Maybe PostSubscriptionSchedulesRequestBodyPhases'BillingThresholds'Variants -> Maybe PostSubscriptionSchedulesRequestBodyPhases'CollectionMethod' -> Maybe Text -> Maybe Text -> Maybe PostSubscriptionSchedulesRequestBodyPhases'DefaultTaxRates'Variants -> Maybe Int -> Maybe PostSubscriptionSchedulesRequestBodyPhases'InvoiceSettings' -> [PostSubscriptionSchedulesRequestBodyPhases'Items'] -> Maybe Int -> Maybe PostSubscriptionSchedulesRequestBodyPhases'ProrationBehavior' -> Maybe PostSubscriptionSchedulesRequestBodyPhases'TransferData' -> Maybe Bool -> Maybe Int -> PostSubscriptionSchedulesRequestBodyPhases'
-- | add_invoice_items
[postSubscriptionSchedulesRequestBodyPhases'AddInvoiceItems] :: PostSubscriptionSchedulesRequestBodyPhases' -> Maybe [PostSubscriptionSchedulesRequestBodyPhases'AddInvoiceItems']
-- | application_fee_percent
[postSubscriptionSchedulesRequestBodyPhases'ApplicationFeePercent] :: PostSubscriptionSchedulesRequestBodyPhases' -> Maybe Double
-- | automatic_tax
[postSubscriptionSchedulesRequestBodyPhases'AutomaticTax] :: PostSubscriptionSchedulesRequestBodyPhases' -> Maybe PostSubscriptionSchedulesRequestBodyPhases'AutomaticTax'
-- | billing_cycle_anchor
[postSubscriptionSchedulesRequestBodyPhases'BillingCycleAnchor] :: PostSubscriptionSchedulesRequestBodyPhases' -> Maybe PostSubscriptionSchedulesRequestBodyPhases'BillingCycleAnchor'
-- | billing_thresholds
[postSubscriptionSchedulesRequestBodyPhases'BillingThresholds] :: PostSubscriptionSchedulesRequestBodyPhases' -> Maybe PostSubscriptionSchedulesRequestBodyPhases'BillingThresholds'Variants
-- | collection_method
[postSubscriptionSchedulesRequestBodyPhases'CollectionMethod] :: PostSubscriptionSchedulesRequestBodyPhases' -> Maybe PostSubscriptionSchedulesRequestBodyPhases'CollectionMethod'
-- | coupon
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSubscriptionSchedulesRequestBodyPhases'Coupon] :: PostSubscriptionSchedulesRequestBodyPhases' -> Maybe Text
-- | default_payment_method
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSubscriptionSchedulesRequestBodyPhases'DefaultPaymentMethod] :: PostSubscriptionSchedulesRequestBodyPhases' -> Maybe Text
-- | default_tax_rates
[postSubscriptionSchedulesRequestBodyPhases'DefaultTaxRates] :: PostSubscriptionSchedulesRequestBodyPhases' -> Maybe PostSubscriptionSchedulesRequestBodyPhases'DefaultTaxRates'Variants
-- | end_date
[postSubscriptionSchedulesRequestBodyPhases'EndDate] :: PostSubscriptionSchedulesRequestBodyPhases' -> Maybe Int
-- | invoice_settings
[postSubscriptionSchedulesRequestBodyPhases'InvoiceSettings] :: PostSubscriptionSchedulesRequestBodyPhases' -> Maybe PostSubscriptionSchedulesRequestBodyPhases'InvoiceSettings'
-- | items
[postSubscriptionSchedulesRequestBodyPhases'Items] :: PostSubscriptionSchedulesRequestBodyPhases' -> [PostSubscriptionSchedulesRequestBodyPhases'Items']
-- | iterations
[postSubscriptionSchedulesRequestBodyPhases'Iterations] :: PostSubscriptionSchedulesRequestBodyPhases' -> Maybe Int
-- | proration_behavior
[postSubscriptionSchedulesRequestBodyPhases'ProrationBehavior] :: PostSubscriptionSchedulesRequestBodyPhases' -> Maybe PostSubscriptionSchedulesRequestBodyPhases'ProrationBehavior'
-- | transfer_data
[postSubscriptionSchedulesRequestBodyPhases'TransferData] :: PostSubscriptionSchedulesRequestBodyPhases' -> Maybe PostSubscriptionSchedulesRequestBodyPhases'TransferData'
-- | trial
[postSubscriptionSchedulesRequestBodyPhases'Trial] :: PostSubscriptionSchedulesRequestBodyPhases' -> Maybe Bool
-- | trial_end
[postSubscriptionSchedulesRequestBodyPhases'TrialEnd] :: PostSubscriptionSchedulesRequestBodyPhases' -> Maybe Int
-- | Create a new PostSubscriptionSchedulesRequestBodyPhases' with
-- all required fields.
mkPostSubscriptionSchedulesRequestBodyPhases' :: [PostSubscriptionSchedulesRequestBodyPhases'Items'] -> PostSubscriptionSchedulesRequestBodyPhases'
-- | Defines the object schema located at
-- paths./v1/subscription_schedules.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.phases.items.properties.add_invoice_items.items
-- in the specification.
data PostSubscriptionSchedulesRequestBodyPhases'AddInvoiceItems'
PostSubscriptionSchedulesRequestBodyPhases'AddInvoiceItems' :: Maybe Text -> Maybe PostSubscriptionSchedulesRequestBodyPhases'AddInvoiceItems'PriceData' -> Maybe Int -> Maybe PostSubscriptionSchedulesRequestBodyPhases'AddInvoiceItems'TaxRates'Variants -> PostSubscriptionSchedulesRequestBodyPhases'AddInvoiceItems'
-- | price
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSubscriptionSchedulesRequestBodyPhases'AddInvoiceItems'Price] :: PostSubscriptionSchedulesRequestBodyPhases'AddInvoiceItems' -> Maybe Text
-- | price_data
[postSubscriptionSchedulesRequestBodyPhases'AddInvoiceItems'PriceData] :: PostSubscriptionSchedulesRequestBodyPhases'AddInvoiceItems' -> Maybe PostSubscriptionSchedulesRequestBodyPhases'AddInvoiceItems'PriceData'
-- | quantity
[postSubscriptionSchedulesRequestBodyPhases'AddInvoiceItems'Quantity] :: PostSubscriptionSchedulesRequestBodyPhases'AddInvoiceItems' -> Maybe Int
-- | tax_rates
[postSubscriptionSchedulesRequestBodyPhases'AddInvoiceItems'TaxRates] :: PostSubscriptionSchedulesRequestBodyPhases'AddInvoiceItems' -> Maybe PostSubscriptionSchedulesRequestBodyPhases'AddInvoiceItems'TaxRates'Variants
-- | Create a new
-- PostSubscriptionSchedulesRequestBodyPhases'AddInvoiceItems'
-- with all required fields.
mkPostSubscriptionSchedulesRequestBodyPhases'AddInvoiceItems' :: PostSubscriptionSchedulesRequestBodyPhases'AddInvoiceItems'
-- | Defines the object schema located at
-- paths./v1/subscription_schedules.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.phases.items.properties.add_invoice_items.items.properties.price_data
-- in the specification.
data PostSubscriptionSchedulesRequestBodyPhases'AddInvoiceItems'PriceData'
PostSubscriptionSchedulesRequestBodyPhases'AddInvoiceItems'PriceData' :: Text -> Text -> Maybe PostSubscriptionSchedulesRequestBodyPhases'AddInvoiceItems'PriceData'TaxBehavior' -> Maybe Int -> Maybe Text -> PostSubscriptionSchedulesRequestBodyPhases'AddInvoiceItems'PriceData'
-- | currency
[postSubscriptionSchedulesRequestBodyPhases'AddInvoiceItems'PriceData'Currency] :: PostSubscriptionSchedulesRequestBodyPhases'AddInvoiceItems'PriceData' -> Text
-- | product
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSubscriptionSchedulesRequestBodyPhases'AddInvoiceItems'PriceData'Product] :: PostSubscriptionSchedulesRequestBodyPhases'AddInvoiceItems'PriceData' -> Text
-- | tax_behavior
[postSubscriptionSchedulesRequestBodyPhases'AddInvoiceItems'PriceData'TaxBehavior] :: PostSubscriptionSchedulesRequestBodyPhases'AddInvoiceItems'PriceData' -> Maybe PostSubscriptionSchedulesRequestBodyPhases'AddInvoiceItems'PriceData'TaxBehavior'
-- | unit_amount
[postSubscriptionSchedulesRequestBodyPhases'AddInvoiceItems'PriceData'UnitAmount] :: PostSubscriptionSchedulesRequestBodyPhases'AddInvoiceItems'PriceData' -> Maybe Int
-- | unit_amount_decimal
[postSubscriptionSchedulesRequestBodyPhases'AddInvoiceItems'PriceData'UnitAmountDecimal] :: PostSubscriptionSchedulesRequestBodyPhases'AddInvoiceItems'PriceData' -> Maybe Text
-- | Create a new
-- PostSubscriptionSchedulesRequestBodyPhases'AddInvoiceItems'PriceData'
-- with all required fields.
mkPostSubscriptionSchedulesRequestBodyPhases'AddInvoiceItems'PriceData' :: Text -> Text -> PostSubscriptionSchedulesRequestBodyPhases'AddInvoiceItems'PriceData'
-- | Defines the enum schema located at
-- paths./v1/subscription_schedules.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.phases.items.properties.add_invoice_items.items.properties.price_data.properties.tax_behavior
-- in the specification.
data PostSubscriptionSchedulesRequestBodyPhases'AddInvoiceItems'PriceData'TaxBehavior'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostSubscriptionSchedulesRequestBodyPhases'AddInvoiceItems'PriceData'TaxBehavior'Other :: Value -> PostSubscriptionSchedulesRequestBodyPhases'AddInvoiceItems'PriceData'TaxBehavior'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostSubscriptionSchedulesRequestBodyPhases'AddInvoiceItems'PriceData'TaxBehavior'Typed :: Text -> PostSubscriptionSchedulesRequestBodyPhases'AddInvoiceItems'PriceData'TaxBehavior'
-- | Represents the JSON value "exclusive"
PostSubscriptionSchedulesRequestBodyPhases'AddInvoiceItems'PriceData'TaxBehavior'EnumExclusive :: PostSubscriptionSchedulesRequestBodyPhases'AddInvoiceItems'PriceData'TaxBehavior'
-- | Represents the JSON value "inclusive"
PostSubscriptionSchedulesRequestBodyPhases'AddInvoiceItems'PriceData'TaxBehavior'EnumInclusive :: PostSubscriptionSchedulesRequestBodyPhases'AddInvoiceItems'PriceData'TaxBehavior'
-- | Represents the JSON value "unspecified"
PostSubscriptionSchedulesRequestBodyPhases'AddInvoiceItems'PriceData'TaxBehavior'EnumUnspecified :: PostSubscriptionSchedulesRequestBodyPhases'AddInvoiceItems'PriceData'TaxBehavior'
-- | Defines the oneOf schema located at
-- paths./v1/subscription_schedules.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.phases.items.properties.add_invoice_items.items.properties.tax_rates.anyOf
-- in the specification.
data PostSubscriptionSchedulesRequestBodyPhases'AddInvoiceItems'TaxRates'Variants
-- | Represents the JSON value ""
PostSubscriptionSchedulesRequestBodyPhases'AddInvoiceItems'TaxRates'EmptyString :: PostSubscriptionSchedulesRequestBodyPhases'AddInvoiceItems'TaxRates'Variants
PostSubscriptionSchedulesRequestBodyPhases'AddInvoiceItems'TaxRates'ListTText :: [Text] -> PostSubscriptionSchedulesRequestBodyPhases'AddInvoiceItems'TaxRates'Variants
-- | Defines the object schema located at
-- paths./v1/subscription_schedules.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.phases.items.properties.automatic_tax
-- in the specification.
data PostSubscriptionSchedulesRequestBodyPhases'AutomaticTax'
PostSubscriptionSchedulesRequestBodyPhases'AutomaticTax' :: Bool -> PostSubscriptionSchedulesRequestBodyPhases'AutomaticTax'
-- | enabled
[postSubscriptionSchedulesRequestBodyPhases'AutomaticTax'Enabled] :: PostSubscriptionSchedulesRequestBodyPhases'AutomaticTax' -> Bool
-- | Create a new
-- PostSubscriptionSchedulesRequestBodyPhases'AutomaticTax' with
-- all required fields.
mkPostSubscriptionSchedulesRequestBodyPhases'AutomaticTax' :: Bool -> PostSubscriptionSchedulesRequestBodyPhases'AutomaticTax'
-- | Defines the enum schema located at
-- paths./v1/subscription_schedules.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.phases.items.properties.billing_cycle_anchor
-- in the specification.
data PostSubscriptionSchedulesRequestBodyPhases'BillingCycleAnchor'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostSubscriptionSchedulesRequestBodyPhases'BillingCycleAnchor'Other :: Value -> PostSubscriptionSchedulesRequestBodyPhases'BillingCycleAnchor'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostSubscriptionSchedulesRequestBodyPhases'BillingCycleAnchor'Typed :: Text -> PostSubscriptionSchedulesRequestBodyPhases'BillingCycleAnchor'
-- | Represents the JSON value "automatic"
PostSubscriptionSchedulesRequestBodyPhases'BillingCycleAnchor'EnumAutomatic :: PostSubscriptionSchedulesRequestBodyPhases'BillingCycleAnchor'
-- | Represents the JSON value "phase_start"
PostSubscriptionSchedulesRequestBodyPhases'BillingCycleAnchor'EnumPhaseStart :: PostSubscriptionSchedulesRequestBodyPhases'BillingCycleAnchor'
-- | Defines the object schema located at
-- paths./v1/subscription_schedules.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.phases.items.properties.billing_thresholds.anyOf
-- in the specification.
data PostSubscriptionSchedulesRequestBodyPhases'BillingThresholds'OneOf1
PostSubscriptionSchedulesRequestBodyPhases'BillingThresholds'OneOf1 :: Maybe Int -> Maybe Bool -> PostSubscriptionSchedulesRequestBodyPhases'BillingThresholds'OneOf1
-- | amount_gte
[postSubscriptionSchedulesRequestBodyPhases'BillingThresholds'OneOf1AmountGte] :: PostSubscriptionSchedulesRequestBodyPhases'BillingThresholds'OneOf1 -> Maybe Int
-- | reset_billing_cycle_anchor
[postSubscriptionSchedulesRequestBodyPhases'BillingThresholds'OneOf1ResetBillingCycleAnchor] :: PostSubscriptionSchedulesRequestBodyPhases'BillingThresholds'OneOf1 -> Maybe Bool
-- | Create a new
-- PostSubscriptionSchedulesRequestBodyPhases'BillingThresholds'OneOf1
-- with all required fields.
mkPostSubscriptionSchedulesRequestBodyPhases'BillingThresholds'OneOf1 :: PostSubscriptionSchedulesRequestBodyPhases'BillingThresholds'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/subscription_schedules.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.phases.items.properties.billing_thresholds.anyOf
-- in the specification.
data PostSubscriptionSchedulesRequestBodyPhases'BillingThresholds'Variants
-- | Represents the JSON value ""
PostSubscriptionSchedulesRequestBodyPhases'BillingThresholds'EmptyString :: PostSubscriptionSchedulesRequestBodyPhases'BillingThresholds'Variants
PostSubscriptionSchedulesRequestBodyPhases'BillingThresholds'PostSubscriptionSchedulesRequestBodyPhases'BillingThresholds'OneOf1 :: PostSubscriptionSchedulesRequestBodyPhases'BillingThresholds'OneOf1 -> PostSubscriptionSchedulesRequestBodyPhases'BillingThresholds'Variants
-- | Defines the enum schema located at
-- paths./v1/subscription_schedules.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.phases.items.properties.collection_method
-- in the specification.
data PostSubscriptionSchedulesRequestBodyPhases'CollectionMethod'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostSubscriptionSchedulesRequestBodyPhases'CollectionMethod'Other :: Value -> PostSubscriptionSchedulesRequestBodyPhases'CollectionMethod'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostSubscriptionSchedulesRequestBodyPhases'CollectionMethod'Typed :: Text -> PostSubscriptionSchedulesRequestBodyPhases'CollectionMethod'
-- | Represents the JSON value "charge_automatically"
PostSubscriptionSchedulesRequestBodyPhases'CollectionMethod'EnumChargeAutomatically :: PostSubscriptionSchedulesRequestBodyPhases'CollectionMethod'
-- | Represents the JSON value "send_invoice"
PostSubscriptionSchedulesRequestBodyPhases'CollectionMethod'EnumSendInvoice :: PostSubscriptionSchedulesRequestBodyPhases'CollectionMethod'
-- | Defines the oneOf schema located at
-- paths./v1/subscription_schedules.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.phases.items.properties.default_tax_rates.anyOf
-- in the specification.
data PostSubscriptionSchedulesRequestBodyPhases'DefaultTaxRates'Variants
-- | Represents the JSON value ""
PostSubscriptionSchedulesRequestBodyPhases'DefaultTaxRates'EmptyString :: PostSubscriptionSchedulesRequestBodyPhases'DefaultTaxRates'Variants
PostSubscriptionSchedulesRequestBodyPhases'DefaultTaxRates'ListTText :: [Text] -> PostSubscriptionSchedulesRequestBodyPhases'DefaultTaxRates'Variants
-- | Defines the object schema located at
-- paths./v1/subscription_schedules.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.phases.items.properties.invoice_settings
-- in the specification.
data PostSubscriptionSchedulesRequestBodyPhases'InvoiceSettings'
PostSubscriptionSchedulesRequestBodyPhases'InvoiceSettings' :: Maybe Int -> PostSubscriptionSchedulesRequestBodyPhases'InvoiceSettings'
-- | days_until_due
[postSubscriptionSchedulesRequestBodyPhases'InvoiceSettings'DaysUntilDue] :: PostSubscriptionSchedulesRequestBodyPhases'InvoiceSettings' -> Maybe Int
-- | Create a new
-- PostSubscriptionSchedulesRequestBodyPhases'InvoiceSettings'
-- with all required fields.
mkPostSubscriptionSchedulesRequestBodyPhases'InvoiceSettings' :: PostSubscriptionSchedulesRequestBodyPhases'InvoiceSettings'
-- | Defines the object schema located at
-- paths./v1/subscription_schedules.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.phases.items.properties.items.items
-- in the specification.
data PostSubscriptionSchedulesRequestBodyPhases'Items'
PostSubscriptionSchedulesRequestBodyPhases'Items' :: Maybe PostSubscriptionSchedulesRequestBodyPhases'Items'BillingThresholds'Variants -> Maybe Text -> Maybe PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData' -> Maybe Int -> Maybe PostSubscriptionSchedulesRequestBodyPhases'Items'TaxRates'Variants -> PostSubscriptionSchedulesRequestBodyPhases'Items'
-- | billing_thresholds
[postSubscriptionSchedulesRequestBodyPhases'Items'BillingThresholds] :: PostSubscriptionSchedulesRequestBodyPhases'Items' -> Maybe PostSubscriptionSchedulesRequestBodyPhases'Items'BillingThresholds'Variants
-- | price
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSubscriptionSchedulesRequestBodyPhases'Items'Price] :: PostSubscriptionSchedulesRequestBodyPhases'Items' -> Maybe Text
-- | price_data
[postSubscriptionSchedulesRequestBodyPhases'Items'PriceData] :: PostSubscriptionSchedulesRequestBodyPhases'Items' -> Maybe PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData'
-- | quantity
[postSubscriptionSchedulesRequestBodyPhases'Items'Quantity] :: PostSubscriptionSchedulesRequestBodyPhases'Items' -> Maybe Int
-- | tax_rates
[postSubscriptionSchedulesRequestBodyPhases'Items'TaxRates] :: PostSubscriptionSchedulesRequestBodyPhases'Items' -> Maybe PostSubscriptionSchedulesRequestBodyPhases'Items'TaxRates'Variants
-- | Create a new PostSubscriptionSchedulesRequestBodyPhases'Items'
-- with all required fields.
mkPostSubscriptionSchedulesRequestBodyPhases'Items' :: PostSubscriptionSchedulesRequestBodyPhases'Items'
-- | Defines the object schema located at
-- paths./v1/subscription_schedules.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.phases.items.properties.items.items.properties.billing_thresholds.anyOf
-- in the specification.
data PostSubscriptionSchedulesRequestBodyPhases'Items'BillingThresholds'OneOf1
PostSubscriptionSchedulesRequestBodyPhases'Items'BillingThresholds'OneOf1 :: Int -> PostSubscriptionSchedulesRequestBodyPhases'Items'BillingThresholds'OneOf1
-- | usage_gte
[postSubscriptionSchedulesRequestBodyPhases'Items'BillingThresholds'OneOf1UsageGte] :: PostSubscriptionSchedulesRequestBodyPhases'Items'BillingThresholds'OneOf1 -> Int
-- | Create a new
-- PostSubscriptionSchedulesRequestBodyPhases'Items'BillingThresholds'OneOf1
-- with all required fields.
mkPostSubscriptionSchedulesRequestBodyPhases'Items'BillingThresholds'OneOf1 :: Int -> PostSubscriptionSchedulesRequestBodyPhases'Items'BillingThresholds'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/subscription_schedules.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.phases.items.properties.items.items.properties.billing_thresholds.anyOf
-- in the specification.
data PostSubscriptionSchedulesRequestBodyPhases'Items'BillingThresholds'Variants
-- | Represents the JSON value ""
PostSubscriptionSchedulesRequestBodyPhases'Items'BillingThresholds'EmptyString :: PostSubscriptionSchedulesRequestBodyPhases'Items'BillingThresholds'Variants
PostSubscriptionSchedulesRequestBodyPhases'Items'BillingThresholds'PostSubscriptionSchedulesRequestBodyPhases'Items'BillingThresholds'OneOf1 :: PostSubscriptionSchedulesRequestBodyPhases'Items'BillingThresholds'OneOf1 -> PostSubscriptionSchedulesRequestBodyPhases'Items'BillingThresholds'Variants
-- | Defines the object schema located at
-- paths./v1/subscription_schedules.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.phases.items.properties.items.items.properties.price_data
-- in the specification.
data PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData'
PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData' :: Text -> Text -> PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData'Recurring' -> Maybe PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData'TaxBehavior' -> Maybe Int -> Maybe Text -> PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData'
-- | currency
[postSubscriptionSchedulesRequestBodyPhases'Items'PriceData'Currency] :: PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData' -> Text
-- | product
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSubscriptionSchedulesRequestBodyPhases'Items'PriceData'Product] :: PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData' -> Text
-- | recurring
[postSubscriptionSchedulesRequestBodyPhases'Items'PriceData'Recurring] :: PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData' -> PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData'Recurring'
-- | tax_behavior
[postSubscriptionSchedulesRequestBodyPhases'Items'PriceData'TaxBehavior] :: PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData' -> Maybe PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData'TaxBehavior'
-- | unit_amount
[postSubscriptionSchedulesRequestBodyPhases'Items'PriceData'UnitAmount] :: PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData' -> Maybe Int
-- | unit_amount_decimal
[postSubscriptionSchedulesRequestBodyPhases'Items'PriceData'UnitAmountDecimal] :: PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData' -> Maybe Text
-- | Create a new
-- PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData'
-- with all required fields.
mkPostSubscriptionSchedulesRequestBodyPhases'Items'PriceData' :: Text -> Text -> PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData'Recurring' -> PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData'
-- | Defines the object schema located at
-- paths./v1/subscription_schedules.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.phases.items.properties.items.items.properties.price_data.properties.recurring
-- in the specification.
data PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData'Recurring'
PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData'Recurring' :: PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData'Recurring'Interval' -> Maybe Int -> PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData'Recurring'
-- | interval
[postSubscriptionSchedulesRequestBodyPhases'Items'PriceData'Recurring'Interval] :: PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData'Recurring' -> PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData'Recurring'Interval'
-- | interval_count
[postSubscriptionSchedulesRequestBodyPhases'Items'PriceData'Recurring'IntervalCount] :: PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData'Recurring' -> Maybe Int
-- | Create a new
-- PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData'Recurring'
-- with all required fields.
mkPostSubscriptionSchedulesRequestBodyPhases'Items'PriceData'Recurring' :: PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData'Recurring'Interval' -> PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData'Recurring'
-- | Defines the enum schema located at
-- paths./v1/subscription_schedules.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.phases.items.properties.items.items.properties.price_data.properties.recurring.properties.interval
-- in the specification.
data PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData'Recurring'Interval'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData'Recurring'Interval'Other :: Value -> PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData'Recurring'Interval'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData'Recurring'Interval'Typed :: Text -> PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData'Recurring'Interval'
-- | Represents the JSON value "day"
PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData'Recurring'Interval'EnumDay :: PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData'Recurring'Interval'
-- | Represents the JSON value "month"
PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData'Recurring'Interval'EnumMonth :: PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData'Recurring'Interval'
-- | Represents the JSON value "week"
PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData'Recurring'Interval'EnumWeek :: PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData'Recurring'Interval'
-- | Represents the JSON value "year"
PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData'Recurring'Interval'EnumYear :: PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData'Recurring'Interval'
-- | Defines the enum schema located at
-- paths./v1/subscription_schedules.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.phases.items.properties.items.items.properties.price_data.properties.tax_behavior
-- in the specification.
data PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData'TaxBehavior'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData'TaxBehavior'Other :: Value -> PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData'TaxBehavior'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData'TaxBehavior'Typed :: Text -> PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData'TaxBehavior'
-- | Represents the JSON value "exclusive"
PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData'TaxBehavior'EnumExclusive :: PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData'TaxBehavior'
-- | Represents the JSON value "inclusive"
PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData'TaxBehavior'EnumInclusive :: PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData'TaxBehavior'
-- | Represents the JSON value "unspecified"
PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData'TaxBehavior'EnumUnspecified :: PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData'TaxBehavior'
-- | Defines the oneOf schema located at
-- paths./v1/subscription_schedules.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.phases.items.properties.items.items.properties.tax_rates.anyOf
-- in the specification.
data PostSubscriptionSchedulesRequestBodyPhases'Items'TaxRates'Variants
-- | Represents the JSON value ""
PostSubscriptionSchedulesRequestBodyPhases'Items'TaxRates'EmptyString :: PostSubscriptionSchedulesRequestBodyPhases'Items'TaxRates'Variants
PostSubscriptionSchedulesRequestBodyPhases'Items'TaxRates'ListTText :: [Text] -> PostSubscriptionSchedulesRequestBodyPhases'Items'TaxRates'Variants
-- | Defines the enum schema located at
-- paths./v1/subscription_schedules.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.phases.items.properties.proration_behavior
-- in the specification.
data PostSubscriptionSchedulesRequestBodyPhases'ProrationBehavior'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostSubscriptionSchedulesRequestBodyPhases'ProrationBehavior'Other :: Value -> PostSubscriptionSchedulesRequestBodyPhases'ProrationBehavior'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostSubscriptionSchedulesRequestBodyPhases'ProrationBehavior'Typed :: Text -> PostSubscriptionSchedulesRequestBodyPhases'ProrationBehavior'
-- | Represents the JSON value "always_invoice"
PostSubscriptionSchedulesRequestBodyPhases'ProrationBehavior'EnumAlwaysInvoice :: PostSubscriptionSchedulesRequestBodyPhases'ProrationBehavior'
-- | Represents the JSON value "create_prorations"
PostSubscriptionSchedulesRequestBodyPhases'ProrationBehavior'EnumCreateProrations :: PostSubscriptionSchedulesRequestBodyPhases'ProrationBehavior'
-- | Represents the JSON value "none"
PostSubscriptionSchedulesRequestBodyPhases'ProrationBehavior'EnumNone :: PostSubscriptionSchedulesRequestBodyPhases'ProrationBehavior'
-- | Defines the object schema located at
-- paths./v1/subscription_schedules.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.phases.items.properties.transfer_data
-- in the specification.
data PostSubscriptionSchedulesRequestBodyPhases'TransferData'
PostSubscriptionSchedulesRequestBodyPhases'TransferData' :: Maybe Double -> Text -> PostSubscriptionSchedulesRequestBodyPhases'TransferData'
-- | amount_percent
[postSubscriptionSchedulesRequestBodyPhases'TransferData'AmountPercent] :: PostSubscriptionSchedulesRequestBodyPhases'TransferData' -> Maybe Double
-- | destination
[postSubscriptionSchedulesRequestBodyPhases'TransferData'Destination] :: PostSubscriptionSchedulesRequestBodyPhases'TransferData' -> Text
-- | Create a new
-- PostSubscriptionSchedulesRequestBodyPhases'TransferData' with
-- all required fields.
mkPostSubscriptionSchedulesRequestBodyPhases'TransferData' :: Text -> PostSubscriptionSchedulesRequestBodyPhases'TransferData'
-- | Defines the oneOf schema located at
-- paths./v1/subscription_schedules.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.start_date.anyOf
-- in the specification.
--
-- When the subscription schedule starts. We recommend using `now` so
-- that it starts the subscription immediately. You can also use a Unix
-- timestamp to backdate the subscription so that it starts on a past
-- date, or set a future date for the subscription to start on.
data PostSubscriptionSchedulesRequestBodyStartDate'Variants
-- | Represents the JSON value "now"
PostSubscriptionSchedulesRequestBodyStartDate'Now :: PostSubscriptionSchedulesRequestBodyStartDate'Variants
PostSubscriptionSchedulesRequestBodyStartDate'Int :: Int -> PostSubscriptionSchedulesRequestBodyStartDate'Variants
-- | Represents a response of the operation
-- postSubscriptionSchedules.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostSubscriptionSchedulesResponseError
-- is used.
data PostSubscriptionSchedulesResponse
-- | Means either no matching case available or a parse error
PostSubscriptionSchedulesResponseError :: String -> PostSubscriptionSchedulesResponse
-- | Successful response.
PostSubscriptionSchedulesResponse200 :: SubscriptionSchedule -> PostSubscriptionSchedulesResponse
-- | Error response.
PostSubscriptionSchedulesResponseDefault :: Error -> PostSubscriptionSchedulesResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyDefaultSettings'AutomaticTax'
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyDefaultSettings'AutomaticTax'
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyDefaultSettings'BillingCycleAnchor'
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyDefaultSettings'BillingCycleAnchor'
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyDefaultSettings'BillingThresholds'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyDefaultSettings'BillingThresholds'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyDefaultSettings'BillingThresholds'Variants
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyDefaultSettings'BillingThresholds'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyDefaultSettings'CollectionMethod'
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyDefaultSettings'CollectionMethod'
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyDefaultSettings'InvoiceSettings'
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyDefaultSettings'InvoiceSettings'
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyDefaultSettings'TransferData'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyDefaultSettings'TransferData'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyDefaultSettings'TransferData'Variants
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyDefaultSettings'TransferData'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyDefaultSettings'
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyDefaultSettings'
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyEndBehavior'
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyEndBehavior'
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyMetadata'Variants
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyMetadata'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyPhases'AddInvoiceItems'PriceData'TaxBehavior'
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyPhases'AddInvoiceItems'PriceData'TaxBehavior'
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyPhases'AddInvoiceItems'PriceData'
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyPhases'AddInvoiceItems'PriceData'
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyPhases'AddInvoiceItems'TaxRates'Variants
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyPhases'AddInvoiceItems'TaxRates'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyPhases'AddInvoiceItems'
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyPhases'AddInvoiceItems'
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyPhases'AutomaticTax'
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyPhases'AutomaticTax'
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyPhases'BillingCycleAnchor'
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyPhases'BillingCycleAnchor'
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyPhases'BillingThresholds'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyPhases'BillingThresholds'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyPhases'BillingThresholds'Variants
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyPhases'BillingThresholds'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyPhases'CollectionMethod'
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyPhases'CollectionMethod'
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyPhases'DefaultTaxRates'Variants
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyPhases'DefaultTaxRates'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyPhases'InvoiceSettings'
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyPhases'InvoiceSettings'
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyPhases'Items'BillingThresholds'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyPhases'Items'BillingThresholds'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyPhases'Items'BillingThresholds'Variants
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyPhases'Items'BillingThresholds'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData'Recurring'Interval'
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData'Recurring'Interval'
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData'Recurring'
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData'Recurring'
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData'TaxBehavior'
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData'TaxBehavior'
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData'
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData'
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyPhases'Items'TaxRates'Variants
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyPhases'Items'TaxRates'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyPhases'Items'
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyPhases'Items'
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyPhases'ProrationBehavior'
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyPhases'ProrationBehavior'
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyPhases'TransferData'
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyPhases'TransferData'
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyPhases'
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyPhases'
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyStartDate'Variants
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyStartDate'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesResponse
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyStartDate'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyStartDate'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyPhases'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyPhases'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyPhases'TransferData'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyPhases'TransferData'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyPhases'ProrationBehavior'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyPhases'ProrationBehavior'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyPhases'Items'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyPhases'Items'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyPhases'Items'TaxRates'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyPhases'Items'TaxRates'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData'TaxBehavior'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData'TaxBehavior'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData'Recurring'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData'Recurring'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData'Recurring'Interval'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData'Recurring'Interval'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyPhases'Items'BillingThresholds'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyPhases'Items'BillingThresholds'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyPhases'Items'BillingThresholds'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyPhases'Items'BillingThresholds'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyPhases'InvoiceSettings'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyPhases'InvoiceSettings'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyPhases'DefaultTaxRates'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyPhases'DefaultTaxRates'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyPhases'CollectionMethod'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyPhases'CollectionMethod'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyPhases'BillingThresholds'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyPhases'BillingThresholds'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyPhases'BillingThresholds'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyPhases'BillingThresholds'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyPhases'BillingCycleAnchor'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyPhases'BillingCycleAnchor'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyPhases'AutomaticTax'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyPhases'AutomaticTax'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyPhases'AddInvoiceItems'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyPhases'AddInvoiceItems'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyPhases'AddInvoiceItems'TaxRates'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyPhases'AddInvoiceItems'TaxRates'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyPhases'AddInvoiceItems'PriceData'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyPhases'AddInvoiceItems'PriceData'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyPhases'AddInvoiceItems'PriceData'TaxBehavior'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyPhases'AddInvoiceItems'PriceData'TaxBehavior'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyMetadata'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyMetadata'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyEndBehavior'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyEndBehavior'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyDefaultSettings'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyDefaultSettings'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyDefaultSettings'TransferData'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyDefaultSettings'TransferData'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyDefaultSettings'TransferData'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyDefaultSettings'TransferData'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyDefaultSettings'InvoiceSettings'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyDefaultSettings'InvoiceSettings'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyDefaultSettings'CollectionMethod'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyDefaultSettings'CollectionMethod'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyDefaultSettings'BillingThresholds'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyDefaultSettings'BillingThresholds'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyDefaultSettings'BillingThresholds'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyDefaultSettings'BillingThresholds'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyDefaultSettings'BillingCycleAnchor'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyDefaultSettings'BillingCycleAnchor'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyDefaultSettings'AutomaticTax'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionSchedules.PostSubscriptionSchedulesRequestBodyDefaultSettings'AutomaticTax'
-- | Contains the different functions to run the operation
-- postSubscriptionItemsSubscriptionItemUsageRecords
module StripeAPI.Operations.PostSubscriptionItemsSubscriptionItemUsageRecords
-- |
-- POST /v1/subscription_items/{subscription_item}/usage_records
--
--
-- <p>Creates a usage record for a specified subscription item and
-- date, and fills it with a quantity.</p>
--
-- <p>Usage records provide <code>quantity</code>
-- information that Stripe uses to track how much a customer is using
-- your service. With usage information and the pricing model set up by
-- the <a
-- href="https://stripe.com/docs/billing/subscriptions/metered-billing">metered
-- billing</a> plan, Stripe helps you send accurate invoices to
-- your customers.</p>
--
-- <p>The default calculation for usage is to add up all the
-- <code>quantity</code> values of the usage records within a
-- billing period. You can change this default behavior with the billing
-- plan’s <code>aggregate_usage</code> <a
-- href="/docs/api/plans/create#create_plan-aggregate_usage">parameter</a>.
-- When there is more than one usage record with the same timestamp,
-- Stripe adds the <code>quantity</code> values together. In
-- most cases, this is the desired resolution, however, you can change
-- this behavior with the <code>action</code>
-- parameter.</p>
--
-- <p>The default pricing model for metered billing is <a
-- href="/docs/api/plans/object#plan_object-billing_scheme">per-unit
-- pricing</a>. For finer granularity, you can configure metered
-- billing to have a <a
-- href="https://stripe.com/docs/billing/subscriptions/tiers">tiered
-- pricing</a> model.</p>
postSubscriptionItemsSubscriptionItemUsageRecords :: forall m. MonadHTTP m => Text -> PostSubscriptionItemsSubscriptionItemUsageRecordsRequestBody -> ClientT m (Response PostSubscriptionItemsSubscriptionItemUsageRecordsResponse)
-- | Defines the object schema located at
-- paths./v1/subscription_items/{subscription_item}/usage_records.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostSubscriptionItemsSubscriptionItemUsageRecordsRequestBody
PostSubscriptionItemsSubscriptionItemUsageRecordsRequestBody :: Maybe PostSubscriptionItemsSubscriptionItemUsageRecordsRequestBodyAction' -> Maybe [Text] -> Int -> Int -> PostSubscriptionItemsSubscriptionItemUsageRecordsRequestBody
-- | action: Valid values are `increment` (default) or `set`. When using
-- `increment` the specified `quantity` will be added to the usage at the
-- specified timestamp. The `set` action will overwrite the usage
-- quantity at that timestamp. If the subscription has billing
-- thresholds, `increment` is the only allowed value.
[postSubscriptionItemsSubscriptionItemUsageRecordsRequestBodyAction] :: PostSubscriptionItemsSubscriptionItemUsageRecordsRequestBody -> Maybe PostSubscriptionItemsSubscriptionItemUsageRecordsRequestBodyAction'
-- | expand: Specifies which fields in the response should be expanded.
[postSubscriptionItemsSubscriptionItemUsageRecordsRequestBodyExpand] :: PostSubscriptionItemsSubscriptionItemUsageRecordsRequestBody -> Maybe [Text]
-- | quantity: The usage quantity for the specified timestamp.
[postSubscriptionItemsSubscriptionItemUsageRecordsRequestBodyQuantity] :: PostSubscriptionItemsSubscriptionItemUsageRecordsRequestBody -> Int
-- | timestamp: The timestamp for the usage event. This timestamp must be
-- within the current billing period of the subscription of the provided
-- `subscription_item`.
[postSubscriptionItemsSubscriptionItemUsageRecordsRequestBodyTimestamp] :: PostSubscriptionItemsSubscriptionItemUsageRecordsRequestBody -> Int
-- | Create a new
-- PostSubscriptionItemsSubscriptionItemUsageRecordsRequestBody
-- with all required fields.
mkPostSubscriptionItemsSubscriptionItemUsageRecordsRequestBody :: Int -> Int -> PostSubscriptionItemsSubscriptionItemUsageRecordsRequestBody
-- | Defines the enum schema located at
-- paths./v1/subscription_items/{subscription_item}/usage_records.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.action
-- in the specification.
--
-- Valid values are `increment` (default) or `set`. When using
-- `increment` the specified `quantity` will be added to the usage at the
-- specified timestamp. The `set` action will overwrite the usage
-- quantity at that timestamp. If the subscription has billing
-- thresholds, `increment` is the only allowed value.
data PostSubscriptionItemsSubscriptionItemUsageRecordsRequestBodyAction'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostSubscriptionItemsSubscriptionItemUsageRecordsRequestBodyAction'Other :: Value -> PostSubscriptionItemsSubscriptionItemUsageRecordsRequestBodyAction'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostSubscriptionItemsSubscriptionItemUsageRecordsRequestBodyAction'Typed :: Text -> PostSubscriptionItemsSubscriptionItemUsageRecordsRequestBodyAction'
-- | Represents the JSON value "increment"
PostSubscriptionItemsSubscriptionItemUsageRecordsRequestBodyAction'EnumIncrement :: PostSubscriptionItemsSubscriptionItemUsageRecordsRequestBodyAction'
-- | Represents the JSON value "set"
PostSubscriptionItemsSubscriptionItemUsageRecordsRequestBodyAction'EnumSet :: PostSubscriptionItemsSubscriptionItemUsageRecordsRequestBodyAction'
-- | Represents a response of the operation
-- postSubscriptionItemsSubscriptionItemUsageRecords.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- PostSubscriptionItemsSubscriptionItemUsageRecordsResponseError
-- is used.
data PostSubscriptionItemsSubscriptionItemUsageRecordsResponse
-- | Means either no matching case available or a parse error
PostSubscriptionItemsSubscriptionItemUsageRecordsResponseError :: String -> PostSubscriptionItemsSubscriptionItemUsageRecordsResponse
-- | Successful response.
PostSubscriptionItemsSubscriptionItemUsageRecordsResponse200 :: UsageRecord -> PostSubscriptionItemsSubscriptionItemUsageRecordsResponse
-- | Error response.
PostSubscriptionItemsSubscriptionItemUsageRecordsResponseDefault :: Error -> PostSubscriptionItemsSubscriptionItemUsageRecordsResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionItemsSubscriptionItemUsageRecords.PostSubscriptionItemsSubscriptionItemUsageRecordsRequestBodyAction'
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionItemsSubscriptionItemUsageRecords.PostSubscriptionItemsSubscriptionItemUsageRecordsRequestBodyAction'
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionItemsSubscriptionItemUsageRecords.PostSubscriptionItemsSubscriptionItemUsageRecordsRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionItemsSubscriptionItemUsageRecords.PostSubscriptionItemsSubscriptionItemUsageRecordsRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionItemsSubscriptionItemUsageRecords.PostSubscriptionItemsSubscriptionItemUsageRecordsResponse
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionItemsSubscriptionItemUsageRecords.PostSubscriptionItemsSubscriptionItemUsageRecordsResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionItemsSubscriptionItemUsageRecords.PostSubscriptionItemsSubscriptionItemUsageRecordsRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionItemsSubscriptionItemUsageRecords.PostSubscriptionItemsSubscriptionItemUsageRecordsRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionItemsSubscriptionItemUsageRecords.PostSubscriptionItemsSubscriptionItemUsageRecordsRequestBodyAction'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionItemsSubscriptionItemUsageRecords.PostSubscriptionItemsSubscriptionItemUsageRecordsRequestBodyAction'
-- | Contains the different functions to run the operation
-- postSubscriptionItemsItem
module StripeAPI.Operations.PostSubscriptionItemsItem
-- |
-- POST /v1/subscription_items/{item}
--
--
-- <p>Updates the plan or quantity of an item on a current
-- subscription.</p>
postSubscriptionItemsItem :: forall m. MonadHTTP m => Text -> Maybe PostSubscriptionItemsItemRequestBody -> ClientT m (Response PostSubscriptionItemsItemResponse)
-- | Defines the object schema located at
-- paths./v1/subscription_items/{item}.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostSubscriptionItemsItemRequestBody
PostSubscriptionItemsItemRequestBody :: Maybe PostSubscriptionItemsItemRequestBodyBillingThresholds'Variants -> Maybe [Text] -> Maybe PostSubscriptionItemsItemRequestBodyMetadata'Variants -> Maybe Bool -> Maybe PostSubscriptionItemsItemRequestBodyPaymentBehavior' -> Maybe Text -> Maybe PostSubscriptionItemsItemRequestBodyPriceData' -> Maybe PostSubscriptionItemsItemRequestBodyProrationBehavior' -> Maybe Int -> Maybe Int -> Maybe PostSubscriptionItemsItemRequestBodyTaxRates'Variants -> PostSubscriptionItemsItemRequestBody
-- | billing_thresholds: Define thresholds at which an invoice will be
-- sent, and the subscription advanced to a new billing period. When
-- updating, pass an empty string to remove previously-defined
-- thresholds.
[postSubscriptionItemsItemRequestBodyBillingThresholds] :: PostSubscriptionItemsItemRequestBody -> Maybe PostSubscriptionItemsItemRequestBodyBillingThresholds'Variants
-- | expand: Specifies which fields in the response should be expanded.
[postSubscriptionItemsItemRequestBodyExpand] :: PostSubscriptionItemsItemRequestBody -> Maybe [Text]
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postSubscriptionItemsItemRequestBodyMetadata] :: PostSubscriptionItemsItemRequestBody -> Maybe PostSubscriptionItemsItemRequestBodyMetadata'Variants
-- | off_session: Indicates if a customer is on or off-session while an
-- invoice payment is attempted.
[postSubscriptionItemsItemRequestBodyOffSession] :: PostSubscriptionItemsItemRequestBody -> Maybe Bool
-- | payment_behavior: Use `allow_incomplete` to transition the
-- subscription to `status=past_due` if a payment is required but cannot
-- be paid. This allows you to manage scenarios where additional user
-- actions are needed to pay a subscription's invoice. For example, SCA
-- regulation may require 3DS authentication to complete payment. See the
-- SCA Migration Guide for Billing to learn more. This is the
-- default behavior.
--
-- Use `default_incomplete` to transition the subscription to
-- `status=past_due` when payment is required and await explicit
-- confirmation of the invoice's payment intent. This allows simpler
-- management of scenarios where additional user actions are needed to
-- pay a subscription’s invoice. Such as failed payments, SCA
-- regulation, or collecting a mandate for a bank debit payment
-- method.
--
-- Use `pending_if_incomplete` to update the subscription using
-- pending updates. When you use `pending_if_incomplete` you can
-- only pass the parameters supported by pending updates.
--
-- Use `error_if_incomplete` if you want Stripe to return an HTTP 402
-- status code if a subscription's invoice cannot be paid. For example,
-- if a payment method requires 3DS authentication due to SCA regulation
-- and further user action is needed, this parameter does not update the
-- subscription and returns an error instead. This was the default
-- behavior for API versions prior to 2019-03-14. See the
-- changelog to learn more.
[postSubscriptionItemsItemRequestBodyPaymentBehavior] :: PostSubscriptionItemsItemRequestBody -> Maybe PostSubscriptionItemsItemRequestBodyPaymentBehavior'
-- | price: The ID of the price object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSubscriptionItemsItemRequestBodyPrice] :: PostSubscriptionItemsItemRequestBody -> Maybe Text
-- | price_data: Data used to generate a new Price object inline.
[postSubscriptionItemsItemRequestBodyPriceData] :: PostSubscriptionItemsItemRequestBody -> Maybe PostSubscriptionItemsItemRequestBodyPriceData'
-- | proration_behavior: Determines how to handle prorations when
-- the billing cycle changes (e.g., when switching plans, resetting
-- `billing_cycle_anchor=now`, or starting a trial), or if an item's
-- `quantity` changes. Valid values are `create_prorations`, `none`, or
-- `always_invoice`.
--
-- Passing `create_prorations` will cause proration invoice items to be
-- created when applicable. These proration items will only be invoiced
-- immediately under certain conditions. In order to always
-- invoice immediately for prorations, pass `always_invoice`.
--
-- Prorations can be disabled by passing `none`.
[postSubscriptionItemsItemRequestBodyProrationBehavior] :: PostSubscriptionItemsItemRequestBody -> Maybe PostSubscriptionItemsItemRequestBodyProrationBehavior'
-- | proration_date: If set, the proration will be calculated as though the
-- subscription was updated at the given time. This can be used to apply
-- the same proration that was previewed with the upcoming invoice
-- endpoint.
[postSubscriptionItemsItemRequestBodyProrationDate] :: PostSubscriptionItemsItemRequestBody -> Maybe Int
-- | quantity: The quantity you'd like to apply to the subscription item
-- you're creating.
[postSubscriptionItemsItemRequestBodyQuantity] :: PostSubscriptionItemsItemRequestBody -> Maybe Int
-- | tax_rates: A list of Tax Rate ids. These Tax Rates will
-- override the `default_tax_rates` on the Subscription. When
-- updating, pass an empty string to remove previously-defined tax rates.
[postSubscriptionItemsItemRequestBodyTaxRates] :: PostSubscriptionItemsItemRequestBody -> Maybe PostSubscriptionItemsItemRequestBodyTaxRates'Variants
-- | Create a new PostSubscriptionItemsItemRequestBody with all
-- required fields.
mkPostSubscriptionItemsItemRequestBody :: PostSubscriptionItemsItemRequestBody
-- | Defines the object schema located at
-- paths./v1/subscription_items/{item}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.billing_thresholds.anyOf
-- in the specification.
data PostSubscriptionItemsItemRequestBodyBillingThresholds'OneOf1
PostSubscriptionItemsItemRequestBodyBillingThresholds'OneOf1 :: Int -> PostSubscriptionItemsItemRequestBodyBillingThresholds'OneOf1
-- | usage_gte
[postSubscriptionItemsItemRequestBodyBillingThresholds'OneOf1UsageGte] :: PostSubscriptionItemsItemRequestBodyBillingThresholds'OneOf1 -> Int
-- | Create a new
-- PostSubscriptionItemsItemRequestBodyBillingThresholds'OneOf1
-- with all required fields.
mkPostSubscriptionItemsItemRequestBodyBillingThresholds'OneOf1 :: Int -> PostSubscriptionItemsItemRequestBodyBillingThresholds'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/subscription_items/{item}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.billing_thresholds.anyOf
-- in the specification.
--
-- Define thresholds at which an invoice will be sent, and the
-- subscription advanced to a new billing period. When updating, pass an
-- empty string to remove previously-defined thresholds.
data PostSubscriptionItemsItemRequestBodyBillingThresholds'Variants
-- | Represents the JSON value ""
PostSubscriptionItemsItemRequestBodyBillingThresholds'EmptyString :: PostSubscriptionItemsItemRequestBodyBillingThresholds'Variants
PostSubscriptionItemsItemRequestBodyBillingThresholds'PostSubscriptionItemsItemRequestBodyBillingThresholds'OneOf1 :: PostSubscriptionItemsItemRequestBodyBillingThresholds'OneOf1 -> PostSubscriptionItemsItemRequestBodyBillingThresholds'Variants
-- | Defines the oneOf schema located at
-- paths./v1/subscription_items/{item}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.metadata.anyOf
-- in the specification.
--
-- Set of key-value pairs that you can attach to an object. This
-- can be useful for storing additional information about the object in a
-- structured format. Individual keys can be unset by posting an empty
-- value to them. All keys can be unset by posting an empty value to
-- `metadata`.
data PostSubscriptionItemsItemRequestBodyMetadata'Variants
-- | Represents the JSON value ""
PostSubscriptionItemsItemRequestBodyMetadata'EmptyString :: PostSubscriptionItemsItemRequestBodyMetadata'Variants
PostSubscriptionItemsItemRequestBodyMetadata'Object :: Object -> PostSubscriptionItemsItemRequestBodyMetadata'Variants
-- | Defines the enum schema located at
-- paths./v1/subscription_items/{item}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_behavior
-- in the specification.
--
-- Use `allow_incomplete` to transition the subscription to
-- `status=past_due` if a payment is required but cannot be paid. This
-- allows you to manage scenarios where additional user actions are
-- needed to pay a subscription's invoice. For example, SCA regulation
-- may require 3DS authentication to complete payment. See the SCA
-- Migration Guide for Billing to learn more. This is the default
-- behavior.
--
-- Use `default_incomplete` to transition the subscription to
-- `status=past_due` when payment is required and await explicit
-- confirmation of the invoice's payment intent. This allows simpler
-- management of scenarios where additional user actions are needed to
-- pay a subscription’s invoice. Such as failed payments, SCA
-- regulation, or collecting a mandate for a bank debit payment
-- method.
--
-- Use `pending_if_incomplete` to update the subscription using
-- pending updates. When you use `pending_if_incomplete` you can
-- only pass the parameters supported by pending updates.
--
-- Use `error_if_incomplete` if you want Stripe to return an HTTP 402
-- status code if a subscription's invoice cannot be paid. For example,
-- if a payment method requires 3DS authentication due to SCA regulation
-- and further user action is needed, this parameter does not update the
-- subscription and returns an error instead. This was the default
-- behavior for API versions prior to 2019-03-14. See the
-- changelog to learn more.
data PostSubscriptionItemsItemRequestBodyPaymentBehavior'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostSubscriptionItemsItemRequestBodyPaymentBehavior'Other :: Value -> PostSubscriptionItemsItemRequestBodyPaymentBehavior'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostSubscriptionItemsItemRequestBodyPaymentBehavior'Typed :: Text -> PostSubscriptionItemsItemRequestBodyPaymentBehavior'
-- | Represents the JSON value "allow_incomplete"
PostSubscriptionItemsItemRequestBodyPaymentBehavior'EnumAllowIncomplete :: PostSubscriptionItemsItemRequestBodyPaymentBehavior'
-- | Represents the JSON value "default_incomplete"
PostSubscriptionItemsItemRequestBodyPaymentBehavior'EnumDefaultIncomplete :: PostSubscriptionItemsItemRequestBodyPaymentBehavior'
-- | Represents the JSON value "error_if_incomplete"
PostSubscriptionItemsItemRequestBodyPaymentBehavior'EnumErrorIfIncomplete :: PostSubscriptionItemsItemRequestBodyPaymentBehavior'
-- | Represents the JSON value "pending_if_incomplete"
PostSubscriptionItemsItemRequestBodyPaymentBehavior'EnumPendingIfIncomplete :: PostSubscriptionItemsItemRequestBodyPaymentBehavior'
-- | Defines the object schema located at
-- paths./v1/subscription_items/{item}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.price_data
-- in the specification.
--
-- Data used to generate a new Price object inline.
data PostSubscriptionItemsItemRequestBodyPriceData'
PostSubscriptionItemsItemRequestBodyPriceData' :: Text -> Text -> PostSubscriptionItemsItemRequestBodyPriceData'Recurring' -> Maybe PostSubscriptionItemsItemRequestBodyPriceData'TaxBehavior' -> Maybe Int -> Maybe Text -> PostSubscriptionItemsItemRequestBodyPriceData'
-- | currency
[postSubscriptionItemsItemRequestBodyPriceData'Currency] :: PostSubscriptionItemsItemRequestBodyPriceData' -> Text
-- | product
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSubscriptionItemsItemRequestBodyPriceData'Product] :: PostSubscriptionItemsItemRequestBodyPriceData' -> Text
-- | recurring
[postSubscriptionItemsItemRequestBodyPriceData'Recurring] :: PostSubscriptionItemsItemRequestBodyPriceData' -> PostSubscriptionItemsItemRequestBodyPriceData'Recurring'
-- | tax_behavior
[postSubscriptionItemsItemRequestBodyPriceData'TaxBehavior] :: PostSubscriptionItemsItemRequestBodyPriceData' -> Maybe PostSubscriptionItemsItemRequestBodyPriceData'TaxBehavior'
-- | unit_amount
[postSubscriptionItemsItemRequestBodyPriceData'UnitAmount] :: PostSubscriptionItemsItemRequestBodyPriceData' -> Maybe Int
-- | unit_amount_decimal
[postSubscriptionItemsItemRequestBodyPriceData'UnitAmountDecimal] :: PostSubscriptionItemsItemRequestBodyPriceData' -> Maybe Text
-- | Create a new PostSubscriptionItemsItemRequestBodyPriceData'
-- with all required fields.
mkPostSubscriptionItemsItemRequestBodyPriceData' :: Text -> Text -> PostSubscriptionItemsItemRequestBodyPriceData'Recurring' -> PostSubscriptionItemsItemRequestBodyPriceData'
-- | Defines the object schema located at
-- paths./v1/subscription_items/{item}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.price_data.properties.recurring
-- in the specification.
data PostSubscriptionItemsItemRequestBodyPriceData'Recurring'
PostSubscriptionItemsItemRequestBodyPriceData'Recurring' :: PostSubscriptionItemsItemRequestBodyPriceData'Recurring'Interval' -> Maybe Int -> PostSubscriptionItemsItemRequestBodyPriceData'Recurring'
-- | interval
[postSubscriptionItemsItemRequestBodyPriceData'Recurring'Interval] :: PostSubscriptionItemsItemRequestBodyPriceData'Recurring' -> PostSubscriptionItemsItemRequestBodyPriceData'Recurring'Interval'
-- | interval_count
[postSubscriptionItemsItemRequestBodyPriceData'Recurring'IntervalCount] :: PostSubscriptionItemsItemRequestBodyPriceData'Recurring' -> Maybe Int
-- | Create a new
-- PostSubscriptionItemsItemRequestBodyPriceData'Recurring' with
-- all required fields.
mkPostSubscriptionItemsItemRequestBodyPriceData'Recurring' :: PostSubscriptionItemsItemRequestBodyPriceData'Recurring'Interval' -> PostSubscriptionItemsItemRequestBodyPriceData'Recurring'
-- | Defines the enum schema located at
-- paths./v1/subscription_items/{item}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.price_data.properties.recurring.properties.interval
-- in the specification.
data PostSubscriptionItemsItemRequestBodyPriceData'Recurring'Interval'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostSubscriptionItemsItemRequestBodyPriceData'Recurring'Interval'Other :: Value -> PostSubscriptionItemsItemRequestBodyPriceData'Recurring'Interval'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostSubscriptionItemsItemRequestBodyPriceData'Recurring'Interval'Typed :: Text -> PostSubscriptionItemsItemRequestBodyPriceData'Recurring'Interval'
-- | Represents the JSON value "day"
PostSubscriptionItemsItemRequestBodyPriceData'Recurring'Interval'EnumDay :: PostSubscriptionItemsItemRequestBodyPriceData'Recurring'Interval'
-- | Represents the JSON value "month"
PostSubscriptionItemsItemRequestBodyPriceData'Recurring'Interval'EnumMonth :: PostSubscriptionItemsItemRequestBodyPriceData'Recurring'Interval'
-- | Represents the JSON value "week"
PostSubscriptionItemsItemRequestBodyPriceData'Recurring'Interval'EnumWeek :: PostSubscriptionItemsItemRequestBodyPriceData'Recurring'Interval'
-- | Represents the JSON value "year"
PostSubscriptionItemsItemRequestBodyPriceData'Recurring'Interval'EnumYear :: PostSubscriptionItemsItemRequestBodyPriceData'Recurring'Interval'
-- | Defines the enum schema located at
-- paths./v1/subscription_items/{item}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.price_data.properties.tax_behavior
-- in the specification.
data PostSubscriptionItemsItemRequestBodyPriceData'TaxBehavior'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostSubscriptionItemsItemRequestBodyPriceData'TaxBehavior'Other :: Value -> PostSubscriptionItemsItemRequestBodyPriceData'TaxBehavior'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostSubscriptionItemsItemRequestBodyPriceData'TaxBehavior'Typed :: Text -> PostSubscriptionItemsItemRequestBodyPriceData'TaxBehavior'
-- | Represents the JSON value "exclusive"
PostSubscriptionItemsItemRequestBodyPriceData'TaxBehavior'EnumExclusive :: PostSubscriptionItemsItemRequestBodyPriceData'TaxBehavior'
-- | Represents the JSON value "inclusive"
PostSubscriptionItemsItemRequestBodyPriceData'TaxBehavior'EnumInclusive :: PostSubscriptionItemsItemRequestBodyPriceData'TaxBehavior'
-- | Represents the JSON value "unspecified"
PostSubscriptionItemsItemRequestBodyPriceData'TaxBehavior'EnumUnspecified :: PostSubscriptionItemsItemRequestBodyPriceData'TaxBehavior'
-- | Defines the enum schema located at
-- paths./v1/subscription_items/{item}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.proration_behavior
-- in the specification.
--
-- Determines how to handle prorations when the billing cycle
-- changes (e.g., when switching plans, resetting
-- `billing_cycle_anchor=now`, or starting a trial), or if an item's
-- `quantity` changes. Valid values are `create_prorations`, `none`, or
-- `always_invoice`.
--
-- Passing `create_prorations` will cause proration invoice items to be
-- created when applicable. These proration items will only be invoiced
-- immediately under certain conditions. In order to always
-- invoice immediately for prorations, pass `always_invoice`.
--
-- Prorations can be disabled by passing `none`.
data PostSubscriptionItemsItemRequestBodyProrationBehavior'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostSubscriptionItemsItemRequestBodyProrationBehavior'Other :: Value -> PostSubscriptionItemsItemRequestBodyProrationBehavior'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostSubscriptionItemsItemRequestBodyProrationBehavior'Typed :: Text -> PostSubscriptionItemsItemRequestBodyProrationBehavior'
-- | Represents the JSON value "always_invoice"
PostSubscriptionItemsItemRequestBodyProrationBehavior'EnumAlwaysInvoice :: PostSubscriptionItemsItemRequestBodyProrationBehavior'
-- | Represents the JSON value "create_prorations"
PostSubscriptionItemsItemRequestBodyProrationBehavior'EnumCreateProrations :: PostSubscriptionItemsItemRequestBodyProrationBehavior'
-- | Represents the JSON value "none"
PostSubscriptionItemsItemRequestBodyProrationBehavior'EnumNone :: PostSubscriptionItemsItemRequestBodyProrationBehavior'
-- | Defines the oneOf schema located at
-- paths./v1/subscription_items/{item}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.tax_rates.anyOf
-- in the specification.
--
-- A list of Tax Rate ids. These Tax Rates will override the
-- `default_tax_rates` on the Subscription. When updating, pass an
-- empty string to remove previously-defined tax rates.
data PostSubscriptionItemsItemRequestBodyTaxRates'Variants
-- | Represents the JSON value ""
PostSubscriptionItemsItemRequestBodyTaxRates'EmptyString :: PostSubscriptionItemsItemRequestBodyTaxRates'Variants
PostSubscriptionItemsItemRequestBodyTaxRates'ListTText :: [Text] -> PostSubscriptionItemsItemRequestBodyTaxRates'Variants
-- | Represents a response of the operation
-- postSubscriptionItemsItem.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostSubscriptionItemsItemResponseError
-- is used.
data PostSubscriptionItemsItemResponse
-- | Means either no matching case available or a parse error
PostSubscriptionItemsItemResponseError :: String -> PostSubscriptionItemsItemResponse
-- | Successful response.
PostSubscriptionItemsItemResponse200 :: SubscriptionItem -> PostSubscriptionItemsItemResponse
-- | Error response.
PostSubscriptionItemsItemResponseDefault :: Error -> PostSubscriptionItemsItemResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionItemsItem.PostSubscriptionItemsItemRequestBodyBillingThresholds'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionItemsItem.PostSubscriptionItemsItemRequestBodyBillingThresholds'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionItemsItem.PostSubscriptionItemsItemRequestBodyBillingThresholds'Variants
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionItemsItem.PostSubscriptionItemsItemRequestBodyBillingThresholds'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionItemsItem.PostSubscriptionItemsItemRequestBodyMetadata'Variants
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionItemsItem.PostSubscriptionItemsItemRequestBodyMetadata'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionItemsItem.PostSubscriptionItemsItemRequestBodyPaymentBehavior'
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionItemsItem.PostSubscriptionItemsItemRequestBodyPaymentBehavior'
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionItemsItem.PostSubscriptionItemsItemRequestBodyPriceData'Recurring'Interval'
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionItemsItem.PostSubscriptionItemsItemRequestBodyPriceData'Recurring'Interval'
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionItemsItem.PostSubscriptionItemsItemRequestBodyPriceData'Recurring'
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionItemsItem.PostSubscriptionItemsItemRequestBodyPriceData'Recurring'
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionItemsItem.PostSubscriptionItemsItemRequestBodyPriceData'TaxBehavior'
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionItemsItem.PostSubscriptionItemsItemRequestBodyPriceData'TaxBehavior'
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionItemsItem.PostSubscriptionItemsItemRequestBodyPriceData'
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionItemsItem.PostSubscriptionItemsItemRequestBodyPriceData'
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionItemsItem.PostSubscriptionItemsItemRequestBodyProrationBehavior'
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionItemsItem.PostSubscriptionItemsItemRequestBodyProrationBehavior'
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionItemsItem.PostSubscriptionItemsItemRequestBodyTaxRates'Variants
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionItemsItem.PostSubscriptionItemsItemRequestBodyTaxRates'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionItemsItem.PostSubscriptionItemsItemRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionItemsItem.PostSubscriptionItemsItemRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionItemsItem.PostSubscriptionItemsItemResponse
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionItemsItem.PostSubscriptionItemsItemResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionItemsItem.PostSubscriptionItemsItemRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionItemsItem.PostSubscriptionItemsItemRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionItemsItem.PostSubscriptionItemsItemRequestBodyTaxRates'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionItemsItem.PostSubscriptionItemsItemRequestBodyTaxRates'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionItemsItem.PostSubscriptionItemsItemRequestBodyProrationBehavior'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionItemsItem.PostSubscriptionItemsItemRequestBodyProrationBehavior'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionItemsItem.PostSubscriptionItemsItemRequestBodyPriceData'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionItemsItem.PostSubscriptionItemsItemRequestBodyPriceData'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionItemsItem.PostSubscriptionItemsItemRequestBodyPriceData'TaxBehavior'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionItemsItem.PostSubscriptionItemsItemRequestBodyPriceData'TaxBehavior'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionItemsItem.PostSubscriptionItemsItemRequestBodyPriceData'Recurring'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionItemsItem.PostSubscriptionItemsItemRequestBodyPriceData'Recurring'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionItemsItem.PostSubscriptionItemsItemRequestBodyPriceData'Recurring'Interval'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionItemsItem.PostSubscriptionItemsItemRequestBodyPriceData'Recurring'Interval'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionItemsItem.PostSubscriptionItemsItemRequestBodyPaymentBehavior'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionItemsItem.PostSubscriptionItemsItemRequestBodyPaymentBehavior'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionItemsItem.PostSubscriptionItemsItemRequestBodyMetadata'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionItemsItem.PostSubscriptionItemsItemRequestBodyMetadata'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionItemsItem.PostSubscriptionItemsItemRequestBodyBillingThresholds'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionItemsItem.PostSubscriptionItemsItemRequestBodyBillingThresholds'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionItemsItem.PostSubscriptionItemsItemRequestBodyBillingThresholds'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionItemsItem.PostSubscriptionItemsItemRequestBodyBillingThresholds'OneOf1
-- | Contains the different functions to run the operation
-- postSubscriptionItems
module StripeAPI.Operations.PostSubscriptionItems
-- |
-- POST /v1/subscription_items
--
--
-- <p>Adds a new item to an existing subscription. No existing
-- items will be changed or replaced.</p>
postSubscriptionItems :: forall m. MonadHTTP m => PostSubscriptionItemsRequestBody -> ClientT m (Response PostSubscriptionItemsResponse)
-- | Defines the object schema located at
-- paths./v1/subscription_items.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostSubscriptionItemsRequestBody
PostSubscriptionItemsRequestBody :: Maybe PostSubscriptionItemsRequestBodyBillingThresholds'Variants -> Maybe [Text] -> Maybe Object -> Maybe PostSubscriptionItemsRequestBodyPaymentBehavior' -> Maybe Text -> Maybe PostSubscriptionItemsRequestBodyPriceData' -> Maybe PostSubscriptionItemsRequestBodyProrationBehavior' -> Maybe Int -> Maybe Int -> Text -> Maybe PostSubscriptionItemsRequestBodyTaxRates'Variants -> PostSubscriptionItemsRequestBody
-- | billing_thresholds: Define thresholds at which an invoice will be
-- sent, and the subscription advanced to a new billing period. When
-- updating, pass an empty string to remove previously-defined
-- thresholds.
[postSubscriptionItemsRequestBodyBillingThresholds] :: PostSubscriptionItemsRequestBody -> Maybe PostSubscriptionItemsRequestBodyBillingThresholds'Variants
-- | expand: Specifies which fields in the response should be expanded.
[postSubscriptionItemsRequestBodyExpand] :: PostSubscriptionItemsRequestBody -> Maybe [Text]
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postSubscriptionItemsRequestBodyMetadata] :: PostSubscriptionItemsRequestBody -> Maybe Object
-- | payment_behavior: Use `allow_incomplete` to transition the
-- subscription to `status=past_due` if a payment is required but cannot
-- be paid. This allows you to manage scenarios where additional user
-- actions are needed to pay a subscription's invoice. For example, SCA
-- regulation may require 3DS authentication to complete payment. See the
-- SCA Migration Guide for Billing to learn more. This is the
-- default behavior.
--
-- Use `default_incomplete` to transition the subscription to
-- `status=past_due` when payment is required and await explicit
-- confirmation of the invoice's payment intent. This allows simpler
-- management of scenarios where additional user actions are needed to
-- pay a subscription’s invoice. Such as failed payments, SCA
-- regulation, or collecting a mandate for a bank debit payment
-- method.
--
-- Use `pending_if_incomplete` to update the subscription using
-- pending updates. When you use `pending_if_incomplete` you can
-- only pass the parameters supported by pending updates.
--
-- Use `error_if_incomplete` if you want Stripe to return an HTTP 402
-- status code if a subscription's invoice cannot be paid. For example,
-- if a payment method requires 3DS authentication due to SCA regulation
-- and further user action is needed, this parameter does not update the
-- subscription and returns an error instead. This was the default
-- behavior for API versions prior to 2019-03-14. See the
-- changelog to learn more.
[postSubscriptionItemsRequestBodyPaymentBehavior] :: PostSubscriptionItemsRequestBody -> Maybe PostSubscriptionItemsRequestBodyPaymentBehavior'
-- | price: The ID of the price object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSubscriptionItemsRequestBodyPrice] :: PostSubscriptionItemsRequestBody -> Maybe Text
-- | price_data: Data used to generate a new Price object inline.
[postSubscriptionItemsRequestBodyPriceData] :: PostSubscriptionItemsRequestBody -> Maybe PostSubscriptionItemsRequestBodyPriceData'
-- | proration_behavior: Determines how to handle prorations when
-- the billing cycle changes (e.g., when switching plans, resetting
-- `billing_cycle_anchor=now`, or starting a trial), or if an item's
-- `quantity` changes. Valid values are `create_prorations`, `none`, or
-- `always_invoice`.
--
-- Passing `create_prorations` will cause proration invoice items to be
-- created when applicable. These proration items will only be invoiced
-- immediately under certain conditions. In order to always
-- invoice immediately for prorations, pass `always_invoice`.
--
-- Prorations can be disabled by passing `none`.
[postSubscriptionItemsRequestBodyProrationBehavior] :: PostSubscriptionItemsRequestBody -> Maybe PostSubscriptionItemsRequestBodyProrationBehavior'
-- | proration_date: If set, the proration will be calculated as though the
-- subscription was updated at the given time. This can be used to apply
-- the same proration that was previewed with the upcoming invoice
-- endpoint.
[postSubscriptionItemsRequestBodyProrationDate] :: PostSubscriptionItemsRequestBody -> Maybe Int
-- | quantity: The quantity you'd like to apply to the subscription item
-- you're creating.
[postSubscriptionItemsRequestBodyQuantity] :: PostSubscriptionItemsRequestBody -> Maybe Int
-- | subscription: The identifier of the subscription to modify.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSubscriptionItemsRequestBodySubscription] :: PostSubscriptionItemsRequestBody -> Text
-- | tax_rates: A list of Tax Rate ids. These Tax Rates will
-- override the `default_tax_rates` on the Subscription. When
-- updating, pass an empty string to remove previously-defined tax rates.
[postSubscriptionItemsRequestBodyTaxRates] :: PostSubscriptionItemsRequestBody -> Maybe PostSubscriptionItemsRequestBodyTaxRates'Variants
-- | Create a new PostSubscriptionItemsRequestBody with all required
-- fields.
mkPostSubscriptionItemsRequestBody :: Text -> PostSubscriptionItemsRequestBody
-- | Defines the object schema located at
-- paths./v1/subscription_items.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.billing_thresholds.anyOf
-- in the specification.
data PostSubscriptionItemsRequestBodyBillingThresholds'OneOf1
PostSubscriptionItemsRequestBodyBillingThresholds'OneOf1 :: Int -> PostSubscriptionItemsRequestBodyBillingThresholds'OneOf1
-- | usage_gte
[postSubscriptionItemsRequestBodyBillingThresholds'OneOf1UsageGte] :: PostSubscriptionItemsRequestBodyBillingThresholds'OneOf1 -> Int
-- | Create a new
-- PostSubscriptionItemsRequestBodyBillingThresholds'OneOf1 with
-- all required fields.
mkPostSubscriptionItemsRequestBodyBillingThresholds'OneOf1 :: Int -> PostSubscriptionItemsRequestBodyBillingThresholds'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/subscription_items.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.billing_thresholds.anyOf
-- in the specification.
--
-- Define thresholds at which an invoice will be sent, and the
-- subscription advanced to a new billing period. When updating, pass an
-- empty string to remove previously-defined thresholds.
data PostSubscriptionItemsRequestBodyBillingThresholds'Variants
-- | Represents the JSON value ""
PostSubscriptionItemsRequestBodyBillingThresholds'EmptyString :: PostSubscriptionItemsRequestBodyBillingThresholds'Variants
PostSubscriptionItemsRequestBodyBillingThresholds'PostSubscriptionItemsRequestBodyBillingThresholds'OneOf1 :: PostSubscriptionItemsRequestBodyBillingThresholds'OneOf1 -> PostSubscriptionItemsRequestBodyBillingThresholds'Variants
-- | Defines the enum schema located at
-- paths./v1/subscription_items.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_behavior
-- in the specification.
--
-- Use `allow_incomplete` to transition the subscription to
-- `status=past_due` if a payment is required but cannot be paid. This
-- allows you to manage scenarios where additional user actions are
-- needed to pay a subscription's invoice. For example, SCA regulation
-- may require 3DS authentication to complete payment. See the SCA
-- Migration Guide for Billing to learn more. This is the default
-- behavior.
--
-- Use `default_incomplete` to transition the subscription to
-- `status=past_due` when payment is required and await explicit
-- confirmation of the invoice's payment intent. This allows simpler
-- management of scenarios where additional user actions are needed to
-- pay a subscription’s invoice. Such as failed payments, SCA
-- regulation, or collecting a mandate for a bank debit payment
-- method.
--
-- Use `pending_if_incomplete` to update the subscription using
-- pending updates. When you use `pending_if_incomplete` you can
-- only pass the parameters supported by pending updates.
--
-- Use `error_if_incomplete` if you want Stripe to return an HTTP 402
-- status code if a subscription's invoice cannot be paid. For example,
-- if a payment method requires 3DS authentication due to SCA regulation
-- and further user action is needed, this parameter does not update the
-- subscription and returns an error instead. This was the default
-- behavior for API versions prior to 2019-03-14. See the
-- changelog to learn more.
data PostSubscriptionItemsRequestBodyPaymentBehavior'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostSubscriptionItemsRequestBodyPaymentBehavior'Other :: Value -> PostSubscriptionItemsRequestBodyPaymentBehavior'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostSubscriptionItemsRequestBodyPaymentBehavior'Typed :: Text -> PostSubscriptionItemsRequestBodyPaymentBehavior'
-- | Represents the JSON value "allow_incomplete"
PostSubscriptionItemsRequestBodyPaymentBehavior'EnumAllowIncomplete :: PostSubscriptionItemsRequestBodyPaymentBehavior'
-- | Represents the JSON value "default_incomplete"
PostSubscriptionItemsRequestBodyPaymentBehavior'EnumDefaultIncomplete :: PostSubscriptionItemsRequestBodyPaymentBehavior'
-- | Represents the JSON value "error_if_incomplete"
PostSubscriptionItemsRequestBodyPaymentBehavior'EnumErrorIfIncomplete :: PostSubscriptionItemsRequestBodyPaymentBehavior'
-- | Represents the JSON value "pending_if_incomplete"
PostSubscriptionItemsRequestBodyPaymentBehavior'EnumPendingIfIncomplete :: PostSubscriptionItemsRequestBodyPaymentBehavior'
-- | Defines the object schema located at
-- paths./v1/subscription_items.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.price_data
-- in the specification.
--
-- Data used to generate a new Price object inline.
data PostSubscriptionItemsRequestBodyPriceData'
PostSubscriptionItemsRequestBodyPriceData' :: Text -> Text -> PostSubscriptionItemsRequestBodyPriceData'Recurring' -> Maybe PostSubscriptionItemsRequestBodyPriceData'TaxBehavior' -> Maybe Int -> Maybe Text -> PostSubscriptionItemsRequestBodyPriceData'
-- | currency
[postSubscriptionItemsRequestBodyPriceData'Currency] :: PostSubscriptionItemsRequestBodyPriceData' -> Text
-- | product
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSubscriptionItemsRequestBodyPriceData'Product] :: PostSubscriptionItemsRequestBodyPriceData' -> Text
-- | recurring
[postSubscriptionItemsRequestBodyPriceData'Recurring] :: PostSubscriptionItemsRequestBodyPriceData' -> PostSubscriptionItemsRequestBodyPriceData'Recurring'
-- | tax_behavior
[postSubscriptionItemsRequestBodyPriceData'TaxBehavior] :: PostSubscriptionItemsRequestBodyPriceData' -> Maybe PostSubscriptionItemsRequestBodyPriceData'TaxBehavior'
-- | unit_amount
[postSubscriptionItemsRequestBodyPriceData'UnitAmount] :: PostSubscriptionItemsRequestBodyPriceData' -> Maybe Int
-- | unit_amount_decimal
[postSubscriptionItemsRequestBodyPriceData'UnitAmountDecimal] :: PostSubscriptionItemsRequestBodyPriceData' -> Maybe Text
-- | Create a new PostSubscriptionItemsRequestBodyPriceData' with
-- all required fields.
mkPostSubscriptionItemsRequestBodyPriceData' :: Text -> Text -> PostSubscriptionItemsRequestBodyPriceData'Recurring' -> PostSubscriptionItemsRequestBodyPriceData'
-- | Defines the object schema located at
-- paths./v1/subscription_items.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.price_data.properties.recurring
-- in the specification.
data PostSubscriptionItemsRequestBodyPriceData'Recurring'
PostSubscriptionItemsRequestBodyPriceData'Recurring' :: PostSubscriptionItemsRequestBodyPriceData'Recurring'Interval' -> Maybe Int -> PostSubscriptionItemsRequestBodyPriceData'Recurring'
-- | interval
[postSubscriptionItemsRequestBodyPriceData'Recurring'Interval] :: PostSubscriptionItemsRequestBodyPriceData'Recurring' -> PostSubscriptionItemsRequestBodyPriceData'Recurring'Interval'
-- | interval_count
[postSubscriptionItemsRequestBodyPriceData'Recurring'IntervalCount] :: PostSubscriptionItemsRequestBodyPriceData'Recurring' -> Maybe Int
-- | Create a new
-- PostSubscriptionItemsRequestBodyPriceData'Recurring' with all
-- required fields.
mkPostSubscriptionItemsRequestBodyPriceData'Recurring' :: PostSubscriptionItemsRequestBodyPriceData'Recurring'Interval' -> PostSubscriptionItemsRequestBodyPriceData'Recurring'
-- | Defines the enum schema located at
-- paths./v1/subscription_items.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.price_data.properties.recurring.properties.interval
-- in the specification.
data PostSubscriptionItemsRequestBodyPriceData'Recurring'Interval'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostSubscriptionItemsRequestBodyPriceData'Recurring'Interval'Other :: Value -> PostSubscriptionItemsRequestBodyPriceData'Recurring'Interval'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostSubscriptionItemsRequestBodyPriceData'Recurring'Interval'Typed :: Text -> PostSubscriptionItemsRequestBodyPriceData'Recurring'Interval'
-- | Represents the JSON value "day"
PostSubscriptionItemsRequestBodyPriceData'Recurring'Interval'EnumDay :: PostSubscriptionItemsRequestBodyPriceData'Recurring'Interval'
-- | Represents the JSON value "month"
PostSubscriptionItemsRequestBodyPriceData'Recurring'Interval'EnumMonth :: PostSubscriptionItemsRequestBodyPriceData'Recurring'Interval'
-- | Represents the JSON value "week"
PostSubscriptionItemsRequestBodyPriceData'Recurring'Interval'EnumWeek :: PostSubscriptionItemsRequestBodyPriceData'Recurring'Interval'
-- | Represents the JSON value "year"
PostSubscriptionItemsRequestBodyPriceData'Recurring'Interval'EnumYear :: PostSubscriptionItemsRequestBodyPriceData'Recurring'Interval'
-- | Defines the enum schema located at
-- paths./v1/subscription_items.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.price_data.properties.tax_behavior
-- in the specification.
data PostSubscriptionItemsRequestBodyPriceData'TaxBehavior'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostSubscriptionItemsRequestBodyPriceData'TaxBehavior'Other :: Value -> PostSubscriptionItemsRequestBodyPriceData'TaxBehavior'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostSubscriptionItemsRequestBodyPriceData'TaxBehavior'Typed :: Text -> PostSubscriptionItemsRequestBodyPriceData'TaxBehavior'
-- | Represents the JSON value "exclusive"
PostSubscriptionItemsRequestBodyPriceData'TaxBehavior'EnumExclusive :: PostSubscriptionItemsRequestBodyPriceData'TaxBehavior'
-- | Represents the JSON value "inclusive"
PostSubscriptionItemsRequestBodyPriceData'TaxBehavior'EnumInclusive :: PostSubscriptionItemsRequestBodyPriceData'TaxBehavior'
-- | Represents the JSON value "unspecified"
PostSubscriptionItemsRequestBodyPriceData'TaxBehavior'EnumUnspecified :: PostSubscriptionItemsRequestBodyPriceData'TaxBehavior'
-- | Defines the enum schema located at
-- paths./v1/subscription_items.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.proration_behavior
-- in the specification.
--
-- Determines how to handle prorations when the billing cycle
-- changes (e.g., when switching plans, resetting
-- `billing_cycle_anchor=now`, or starting a trial), or if an item's
-- `quantity` changes. Valid values are `create_prorations`, `none`, or
-- `always_invoice`.
--
-- Passing `create_prorations` will cause proration invoice items to be
-- created when applicable. These proration items will only be invoiced
-- immediately under certain conditions. In order to always
-- invoice immediately for prorations, pass `always_invoice`.
--
-- Prorations can be disabled by passing `none`.
data PostSubscriptionItemsRequestBodyProrationBehavior'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostSubscriptionItemsRequestBodyProrationBehavior'Other :: Value -> PostSubscriptionItemsRequestBodyProrationBehavior'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostSubscriptionItemsRequestBodyProrationBehavior'Typed :: Text -> PostSubscriptionItemsRequestBodyProrationBehavior'
-- | Represents the JSON value "always_invoice"
PostSubscriptionItemsRequestBodyProrationBehavior'EnumAlwaysInvoice :: PostSubscriptionItemsRequestBodyProrationBehavior'
-- | Represents the JSON value "create_prorations"
PostSubscriptionItemsRequestBodyProrationBehavior'EnumCreateProrations :: PostSubscriptionItemsRequestBodyProrationBehavior'
-- | Represents the JSON value "none"
PostSubscriptionItemsRequestBodyProrationBehavior'EnumNone :: PostSubscriptionItemsRequestBodyProrationBehavior'
-- | Defines the oneOf schema located at
-- paths./v1/subscription_items.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.tax_rates.anyOf
-- in the specification.
--
-- A list of Tax Rate ids. These Tax Rates will override the
-- `default_tax_rates` on the Subscription. When updating, pass an
-- empty string to remove previously-defined tax rates.
data PostSubscriptionItemsRequestBodyTaxRates'Variants
-- | Represents the JSON value ""
PostSubscriptionItemsRequestBodyTaxRates'EmptyString :: PostSubscriptionItemsRequestBodyTaxRates'Variants
PostSubscriptionItemsRequestBodyTaxRates'ListTText :: [Text] -> PostSubscriptionItemsRequestBodyTaxRates'Variants
-- | Represents a response of the operation postSubscriptionItems.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostSubscriptionItemsResponseError is
-- used.
data PostSubscriptionItemsResponse
-- | Means either no matching case available or a parse error
PostSubscriptionItemsResponseError :: String -> PostSubscriptionItemsResponse
-- | Successful response.
PostSubscriptionItemsResponse200 :: SubscriptionItem -> PostSubscriptionItemsResponse
-- | Error response.
PostSubscriptionItemsResponseDefault :: Error -> PostSubscriptionItemsResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionItems.PostSubscriptionItemsRequestBodyBillingThresholds'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionItems.PostSubscriptionItemsRequestBodyBillingThresholds'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionItems.PostSubscriptionItemsRequestBodyBillingThresholds'Variants
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionItems.PostSubscriptionItemsRequestBodyBillingThresholds'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionItems.PostSubscriptionItemsRequestBodyPaymentBehavior'
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionItems.PostSubscriptionItemsRequestBodyPaymentBehavior'
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionItems.PostSubscriptionItemsRequestBodyPriceData'Recurring'Interval'
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionItems.PostSubscriptionItemsRequestBodyPriceData'Recurring'Interval'
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionItems.PostSubscriptionItemsRequestBodyPriceData'Recurring'
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionItems.PostSubscriptionItemsRequestBodyPriceData'Recurring'
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionItems.PostSubscriptionItemsRequestBodyPriceData'TaxBehavior'
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionItems.PostSubscriptionItemsRequestBodyPriceData'TaxBehavior'
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionItems.PostSubscriptionItemsRequestBodyPriceData'
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionItems.PostSubscriptionItemsRequestBodyPriceData'
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionItems.PostSubscriptionItemsRequestBodyProrationBehavior'
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionItems.PostSubscriptionItemsRequestBodyProrationBehavior'
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionItems.PostSubscriptionItemsRequestBodyTaxRates'Variants
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionItems.PostSubscriptionItemsRequestBodyTaxRates'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionItems.PostSubscriptionItemsRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionItems.PostSubscriptionItemsRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostSubscriptionItems.PostSubscriptionItemsResponse
instance GHC.Show.Show StripeAPI.Operations.PostSubscriptionItems.PostSubscriptionItemsResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionItems.PostSubscriptionItemsRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionItems.PostSubscriptionItemsRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionItems.PostSubscriptionItemsRequestBodyTaxRates'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionItems.PostSubscriptionItemsRequestBodyTaxRates'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionItems.PostSubscriptionItemsRequestBodyProrationBehavior'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionItems.PostSubscriptionItemsRequestBodyProrationBehavior'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionItems.PostSubscriptionItemsRequestBodyPriceData'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionItems.PostSubscriptionItemsRequestBodyPriceData'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionItems.PostSubscriptionItemsRequestBodyPriceData'TaxBehavior'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionItems.PostSubscriptionItemsRequestBodyPriceData'TaxBehavior'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionItems.PostSubscriptionItemsRequestBodyPriceData'Recurring'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionItems.PostSubscriptionItemsRequestBodyPriceData'Recurring'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionItems.PostSubscriptionItemsRequestBodyPriceData'Recurring'Interval'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionItems.PostSubscriptionItemsRequestBodyPriceData'Recurring'Interval'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionItems.PostSubscriptionItemsRequestBodyPaymentBehavior'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionItems.PostSubscriptionItemsRequestBodyPaymentBehavior'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionItems.PostSubscriptionItemsRequestBodyBillingThresholds'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionItems.PostSubscriptionItemsRequestBodyBillingThresholds'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSubscriptionItems.PostSubscriptionItemsRequestBodyBillingThresholds'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSubscriptionItems.PostSubscriptionItemsRequestBodyBillingThresholds'OneOf1
-- | Contains the different functions to run the operation
-- postSourcesSourceVerify
module StripeAPI.Operations.PostSourcesSourceVerify
-- |
-- POST /v1/sources/{source}/verify
--
--
-- <p>Verify a given source.</p>
postSourcesSourceVerify :: forall m. MonadHTTP m => Text -> PostSourcesSourceVerifyRequestBody -> ClientT m (Response PostSourcesSourceVerifyResponse)
-- | Defines the object schema located at
-- paths./v1/sources/{source}/verify.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostSourcesSourceVerifyRequestBody
PostSourcesSourceVerifyRequestBody :: Maybe [Text] -> [Text] -> PostSourcesSourceVerifyRequestBody
-- | expand: Specifies which fields in the response should be expanded.
[postSourcesSourceVerifyRequestBodyExpand] :: PostSourcesSourceVerifyRequestBody -> Maybe [Text]
-- | values: The values needed to verify the source.
[postSourcesSourceVerifyRequestBodyValues] :: PostSourcesSourceVerifyRequestBody -> [Text]
-- | Create a new PostSourcesSourceVerifyRequestBody with all
-- required fields.
mkPostSourcesSourceVerifyRequestBody :: [Text] -> PostSourcesSourceVerifyRequestBody
-- | Represents a response of the operation postSourcesSourceVerify.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostSourcesSourceVerifyResponseError is
-- used.
data PostSourcesSourceVerifyResponse
-- | Means either no matching case available or a parse error
PostSourcesSourceVerifyResponseError :: String -> PostSourcesSourceVerifyResponse
-- | Successful response.
PostSourcesSourceVerifyResponse200 :: Source -> PostSourcesSourceVerifyResponse
-- | Error response.
PostSourcesSourceVerifyResponseDefault :: Error -> PostSourcesSourceVerifyResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostSourcesSourceVerify.PostSourcesSourceVerifyRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostSourcesSourceVerify.PostSourcesSourceVerifyRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostSourcesSourceVerify.PostSourcesSourceVerifyResponse
instance GHC.Show.Show StripeAPI.Operations.PostSourcesSourceVerify.PostSourcesSourceVerifyResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSourcesSourceVerify.PostSourcesSourceVerifyRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSourcesSourceVerify.PostSourcesSourceVerifyRequestBody
-- | Contains the different functions to run the operation
-- postSourcesSource
module StripeAPI.Operations.PostSourcesSource
-- |
-- POST /v1/sources/{source}
--
--
-- <p>Updates the specified source by setting the values of the
-- parameters passed. Any parameters not provided will be left
-- unchanged.</p>
--
-- <p>This request accepts the <code>metadata</code>
-- and <code>owner</code> as arguments. It is also possible
-- to update type specific information for selected payment methods.
-- Please refer to our <a href="/docs/sources">payment method
-- guides</a> for more detail.</p>
postSourcesSource :: forall m. MonadHTTP m => Text -> Maybe PostSourcesSourceRequestBody -> ClientT m (Response PostSourcesSourceResponse)
-- | Defines the object schema located at
-- paths./v1/sources/{source}.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostSourcesSourceRequestBody
PostSourcesSourceRequestBody :: Maybe Int -> Maybe [Text] -> Maybe PostSourcesSourceRequestBodyMandate' -> Maybe PostSourcesSourceRequestBodyMetadata'Variants -> Maybe PostSourcesSourceRequestBodyOwner' -> Maybe PostSourcesSourceRequestBodySourceOrder' -> PostSourcesSourceRequestBody
-- | amount: Amount associated with the source.
[postSourcesSourceRequestBodyAmount] :: PostSourcesSourceRequestBody -> Maybe Int
-- | expand: Specifies which fields in the response should be expanded.
[postSourcesSourceRequestBodyExpand] :: PostSourcesSourceRequestBody -> Maybe [Text]
-- | mandate: Information about a mandate possibility attached to a source
-- object (generally for bank debits) as well as its acceptance status.
[postSourcesSourceRequestBodyMandate] :: PostSourcesSourceRequestBody -> Maybe PostSourcesSourceRequestBodyMandate'
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postSourcesSourceRequestBodyMetadata] :: PostSourcesSourceRequestBody -> Maybe PostSourcesSourceRequestBodyMetadata'Variants
-- | owner: Information about the owner of the payment instrument that may
-- be used or required by particular source types.
[postSourcesSourceRequestBodyOwner] :: PostSourcesSourceRequestBody -> Maybe PostSourcesSourceRequestBodyOwner'
-- | source_order: Information about the items and shipping associated with
-- the source. Required for transactional credit (for example Klarna)
-- sources before you can charge it.
[postSourcesSourceRequestBodySourceOrder] :: PostSourcesSourceRequestBody -> Maybe PostSourcesSourceRequestBodySourceOrder'
-- | Create a new PostSourcesSourceRequestBody with all required
-- fields.
mkPostSourcesSourceRequestBody :: PostSourcesSourceRequestBody
-- | Defines the object schema located at
-- paths./v1/sources/{source}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.mandate
-- in the specification.
--
-- Information about a mandate possibility attached to a source object
-- (generally for bank debits) as well as its acceptance status.
data PostSourcesSourceRequestBodyMandate'
PostSourcesSourceRequestBodyMandate' :: Maybe PostSourcesSourceRequestBodyMandate'Acceptance' -> Maybe PostSourcesSourceRequestBodyMandate'Amount'Variants -> Maybe Text -> Maybe PostSourcesSourceRequestBodyMandate'Interval' -> Maybe PostSourcesSourceRequestBodyMandate'NotificationMethod' -> PostSourcesSourceRequestBodyMandate'
-- | acceptance
[postSourcesSourceRequestBodyMandate'Acceptance] :: PostSourcesSourceRequestBodyMandate' -> Maybe PostSourcesSourceRequestBodyMandate'Acceptance'
-- | amount
[postSourcesSourceRequestBodyMandate'Amount] :: PostSourcesSourceRequestBodyMandate' -> Maybe PostSourcesSourceRequestBodyMandate'Amount'Variants
-- | currency
[postSourcesSourceRequestBodyMandate'Currency] :: PostSourcesSourceRequestBodyMandate' -> Maybe Text
-- | interval
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSourcesSourceRequestBodyMandate'Interval] :: PostSourcesSourceRequestBodyMandate' -> Maybe PostSourcesSourceRequestBodyMandate'Interval'
-- | notification_method
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSourcesSourceRequestBodyMandate'NotificationMethod] :: PostSourcesSourceRequestBodyMandate' -> Maybe PostSourcesSourceRequestBodyMandate'NotificationMethod'
-- | Create a new PostSourcesSourceRequestBodyMandate' with all
-- required fields.
mkPostSourcesSourceRequestBodyMandate' :: PostSourcesSourceRequestBodyMandate'
-- | Defines the object schema located at
-- paths./v1/sources/{source}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.mandate.properties.acceptance
-- in the specification.
data PostSourcesSourceRequestBodyMandate'Acceptance'
PostSourcesSourceRequestBodyMandate'Acceptance' :: Maybe Int -> Maybe Text -> Maybe PostSourcesSourceRequestBodyMandate'Acceptance'Offline' -> Maybe PostSourcesSourceRequestBodyMandate'Acceptance'Online' -> PostSourcesSourceRequestBodyMandate'Acceptance'Status' -> Maybe PostSourcesSourceRequestBodyMandate'Acceptance'Type' -> Maybe Text -> PostSourcesSourceRequestBodyMandate'Acceptance'
-- | date
[postSourcesSourceRequestBodyMandate'Acceptance'Date] :: PostSourcesSourceRequestBodyMandate'Acceptance' -> Maybe Int
-- | ip
[postSourcesSourceRequestBodyMandate'Acceptance'Ip] :: PostSourcesSourceRequestBodyMandate'Acceptance' -> Maybe Text
-- | offline
[postSourcesSourceRequestBodyMandate'Acceptance'Offline] :: PostSourcesSourceRequestBodyMandate'Acceptance' -> Maybe PostSourcesSourceRequestBodyMandate'Acceptance'Offline'
-- | online
[postSourcesSourceRequestBodyMandate'Acceptance'Online] :: PostSourcesSourceRequestBodyMandate'Acceptance' -> Maybe PostSourcesSourceRequestBodyMandate'Acceptance'Online'
-- | status
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSourcesSourceRequestBodyMandate'Acceptance'Status] :: PostSourcesSourceRequestBodyMandate'Acceptance' -> PostSourcesSourceRequestBodyMandate'Acceptance'Status'
-- | type
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSourcesSourceRequestBodyMandate'Acceptance'Type] :: PostSourcesSourceRequestBodyMandate'Acceptance' -> Maybe PostSourcesSourceRequestBodyMandate'Acceptance'Type'
-- | user_agent
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSourcesSourceRequestBodyMandate'Acceptance'UserAgent] :: PostSourcesSourceRequestBodyMandate'Acceptance' -> Maybe Text
-- | Create a new PostSourcesSourceRequestBodyMandate'Acceptance'
-- with all required fields.
mkPostSourcesSourceRequestBodyMandate'Acceptance' :: PostSourcesSourceRequestBodyMandate'Acceptance'Status' -> PostSourcesSourceRequestBodyMandate'Acceptance'
-- | Defines the object schema located at
-- paths./v1/sources/{source}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.mandate.properties.acceptance.properties.offline
-- in the specification.
data PostSourcesSourceRequestBodyMandate'Acceptance'Offline'
PostSourcesSourceRequestBodyMandate'Acceptance'Offline' :: Text -> PostSourcesSourceRequestBodyMandate'Acceptance'Offline'
-- | contact_email
[postSourcesSourceRequestBodyMandate'Acceptance'Offline'ContactEmail] :: PostSourcesSourceRequestBodyMandate'Acceptance'Offline' -> Text
-- | Create a new
-- PostSourcesSourceRequestBodyMandate'Acceptance'Offline' with
-- all required fields.
mkPostSourcesSourceRequestBodyMandate'Acceptance'Offline' :: Text -> PostSourcesSourceRequestBodyMandate'Acceptance'Offline'
-- | Defines the object schema located at
-- paths./v1/sources/{source}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.mandate.properties.acceptance.properties.online
-- in the specification.
data PostSourcesSourceRequestBodyMandate'Acceptance'Online'
PostSourcesSourceRequestBodyMandate'Acceptance'Online' :: Maybe Int -> Maybe Text -> Maybe Text -> PostSourcesSourceRequestBodyMandate'Acceptance'Online'
-- | date
[postSourcesSourceRequestBodyMandate'Acceptance'Online'Date] :: PostSourcesSourceRequestBodyMandate'Acceptance'Online' -> Maybe Int
-- | ip
[postSourcesSourceRequestBodyMandate'Acceptance'Online'Ip] :: PostSourcesSourceRequestBodyMandate'Acceptance'Online' -> Maybe Text
-- | user_agent
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSourcesSourceRequestBodyMandate'Acceptance'Online'UserAgent] :: PostSourcesSourceRequestBodyMandate'Acceptance'Online' -> Maybe Text
-- | Create a new
-- PostSourcesSourceRequestBodyMandate'Acceptance'Online' with all
-- required fields.
mkPostSourcesSourceRequestBodyMandate'Acceptance'Online' :: PostSourcesSourceRequestBodyMandate'Acceptance'Online'
-- | Defines the enum schema located at
-- paths./v1/sources/{source}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.mandate.properties.acceptance.properties.status
-- in the specification.
data PostSourcesSourceRequestBodyMandate'Acceptance'Status'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostSourcesSourceRequestBodyMandate'Acceptance'Status'Other :: Value -> PostSourcesSourceRequestBodyMandate'Acceptance'Status'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostSourcesSourceRequestBodyMandate'Acceptance'Status'Typed :: Text -> PostSourcesSourceRequestBodyMandate'Acceptance'Status'
-- | Represents the JSON value "accepted"
PostSourcesSourceRequestBodyMandate'Acceptance'Status'EnumAccepted :: PostSourcesSourceRequestBodyMandate'Acceptance'Status'
-- | Represents the JSON value "pending"
PostSourcesSourceRequestBodyMandate'Acceptance'Status'EnumPending :: PostSourcesSourceRequestBodyMandate'Acceptance'Status'
-- | Represents the JSON value "refused"
PostSourcesSourceRequestBodyMandate'Acceptance'Status'EnumRefused :: PostSourcesSourceRequestBodyMandate'Acceptance'Status'
-- | Represents the JSON value "revoked"
PostSourcesSourceRequestBodyMandate'Acceptance'Status'EnumRevoked :: PostSourcesSourceRequestBodyMandate'Acceptance'Status'
-- | Defines the enum schema located at
-- paths./v1/sources/{source}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.mandate.properties.acceptance.properties.type
-- in the specification.
data PostSourcesSourceRequestBodyMandate'Acceptance'Type'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostSourcesSourceRequestBodyMandate'Acceptance'Type'Other :: Value -> PostSourcesSourceRequestBodyMandate'Acceptance'Type'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostSourcesSourceRequestBodyMandate'Acceptance'Type'Typed :: Text -> PostSourcesSourceRequestBodyMandate'Acceptance'Type'
-- | Represents the JSON value "offline"
PostSourcesSourceRequestBodyMandate'Acceptance'Type'EnumOffline :: PostSourcesSourceRequestBodyMandate'Acceptance'Type'
-- | Represents the JSON value "online"
PostSourcesSourceRequestBodyMandate'Acceptance'Type'EnumOnline :: PostSourcesSourceRequestBodyMandate'Acceptance'Type'
-- | Defines the oneOf schema located at
-- paths./v1/sources/{source}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.mandate.properties.amount.anyOf
-- in the specification.
data PostSourcesSourceRequestBodyMandate'Amount'Variants
-- | Represents the JSON value ""
PostSourcesSourceRequestBodyMandate'Amount'EmptyString :: PostSourcesSourceRequestBodyMandate'Amount'Variants
PostSourcesSourceRequestBodyMandate'Amount'Int :: Int -> PostSourcesSourceRequestBodyMandate'Amount'Variants
-- | Defines the enum schema located at
-- paths./v1/sources/{source}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.mandate.properties.interval
-- in the specification.
data PostSourcesSourceRequestBodyMandate'Interval'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostSourcesSourceRequestBodyMandate'Interval'Other :: Value -> PostSourcesSourceRequestBodyMandate'Interval'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostSourcesSourceRequestBodyMandate'Interval'Typed :: Text -> PostSourcesSourceRequestBodyMandate'Interval'
-- | Represents the JSON value "one_time"
PostSourcesSourceRequestBodyMandate'Interval'EnumOneTime :: PostSourcesSourceRequestBodyMandate'Interval'
-- | Represents the JSON value "scheduled"
PostSourcesSourceRequestBodyMandate'Interval'EnumScheduled :: PostSourcesSourceRequestBodyMandate'Interval'
-- | Represents the JSON value "variable"
PostSourcesSourceRequestBodyMandate'Interval'EnumVariable :: PostSourcesSourceRequestBodyMandate'Interval'
-- | Defines the enum schema located at
-- paths./v1/sources/{source}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.mandate.properties.notification_method
-- in the specification.
data PostSourcesSourceRequestBodyMandate'NotificationMethod'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostSourcesSourceRequestBodyMandate'NotificationMethod'Other :: Value -> PostSourcesSourceRequestBodyMandate'NotificationMethod'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostSourcesSourceRequestBodyMandate'NotificationMethod'Typed :: Text -> PostSourcesSourceRequestBodyMandate'NotificationMethod'
-- | Represents the JSON value "deprecated_none"
PostSourcesSourceRequestBodyMandate'NotificationMethod'EnumDeprecatedNone :: PostSourcesSourceRequestBodyMandate'NotificationMethod'
-- | Represents the JSON value "email"
PostSourcesSourceRequestBodyMandate'NotificationMethod'EnumEmail :: PostSourcesSourceRequestBodyMandate'NotificationMethod'
-- | Represents the JSON value "manual"
PostSourcesSourceRequestBodyMandate'NotificationMethod'EnumManual :: PostSourcesSourceRequestBodyMandate'NotificationMethod'
-- | Represents the JSON value "none"
PostSourcesSourceRequestBodyMandate'NotificationMethod'EnumNone :: PostSourcesSourceRequestBodyMandate'NotificationMethod'
-- | Represents the JSON value "stripe_email"
PostSourcesSourceRequestBodyMandate'NotificationMethod'EnumStripeEmail :: PostSourcesSourceRequestBodyMandate'NotificationMethod'
-- | Defines the oneOf schema located at
-- paths./v1/sources/{source}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.metadata.anyOf
-- in the specification.
--
-- Set of key-value pairs that you can attach to an object. This
-- can be useful for storing additional information about the object in a
-- structured format. Individual keys can be unset by posting an empty
-- value to them. All keys can be unset by posting an empty value to
-- `metadata`.
data PostSourcesSourceRequestBodyMetadata'Variants
-- | Represents the JSON value ""
PostSourcesSourceRequestBodyMetadata'EmptyString :: PostSourcesSourceRequestBodyMetadata'Variants
PostSourcesSourceRequestBodyMetadata'Object :: Object -> PostSourcesSourceRequestBodyMetadata'Variants
-- | Defines the object schema located at
-- paths./v1/sources/{source}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.owner
-- in the specification.
--
-- Information about the owner of the payment instrument that may be used
-- or required by particular source types.
data PostSourcesSourceRequestBodyOwner'
PostSourcesSourceRequestBodyOwner' :: Maybe PostSourcesSourceRequestBodyOwner'Address' -> Maybe Text -> Maybe Text -> Maybe Text -> PostSourcesSourceRequestBodyOwner'
-- | address
[postSourcesSourceRequestBodyOwner'Address] :: PostSourcesSourceRequestBodyOwner' -> Maybe PostSourcesSourceRequestBodyOwner'Address'
-- | email
[postSourcesSourceRequestBodyOwner'Email] :: PostSourcesSourceRequestBodyOwner' -> Maybe Text
-- | name
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSourcesSourceRequestBodyOwner'Name] :: PostSourcesSourceRequestBodyOwner' -> Maybe Text
-- | phone
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSourcesSourceRequestBodyOwner'Phone] :: PostSourcesSourceRequestBodyOwner' -> Maybe Text
-- | Create a new PostSourcesSourceRequestBodyOwner' with all
-- required fields.
mkPostSourcesSourceRequestBodyOwner' :: PostSourcesSourceRequestBodyOwner'
-- | Defines the object schema located at
-- paths./v1/sources/{source}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.owner.properties.address
-- in the specification.
data PostSourcesSourceRequestBodyOwner'Address'
PostSourcesSourceRequestBodyOwner'Address' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PostSourcesSourceRequestBodyOwner'Address'
-- | city
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSourcesSourceRequestBodyOwner'Address'City] :: PostSourcesSourceRequestBodyOwner'Address' -> Maybe Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSourcesSourceRequestBodyOwner'Address'Country] :: PostSourcesSourceRequestBodyOwner'Address' -> Maybe Text
-- | line1
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSourcesSourceRequestBodyOwner'Address'Line1] :: PostSourcesSourceRequestBodyOwner'Address' -> Maybe Text
-- | line2
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSourcesSourceRequestBodyOwner'Address'Line2] :: PostSourcesSourceRequestBodyOwner'Address' -> Maybe Text
-- | postal_code
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSourcesSourceRequestBodyOwner'Address'PostalCode] :: PostSourcesSourceRequestBodyOwner'Address' -> Maybe Text
-- | state
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSourcesSourceRequestBodyOwner'Address'State] :: PostSourcesSourceRequestBodyOwner'Address' -> Maybe Text
-- | Create a new PostSourcesSourceRequestBodyOwner'Address' with
-- all required fields.
mkPostSourcesSourceRequestBodyOwner'Address' :: PostSourcesSourceRequestBodyOwner'Address'
-- | Defines the object schema located at
-- paths./v1/sources/{source}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.source_order
-- in the specification.
--
-- Information about the items and shipping associated with the source.
-- Required for transactional credit (for example Klarna) sources before
-- you can charge it.
data PostSourcesSourceRequestBodySourceOrder'
PostSourcesSourceRequestBodySourceOrder' :: Maybe [PostSourcesSourceRequestBodySourceOrder'Items'] -> Maybe PostSourcesSourceRequestBodySourceOrder'Shipping' -> PostSourcesSourceRequestBodySourceOrder'
-- | items
[postSourcesSourceRequestBodySourceOrder'Items] :: PostSourcesSourceRequestBodySourceOrder' -> Maybe [PostSourcesSourceRequestBodySourceOrder'Items']
-- | shipping
[postSourcesSourceRequestBodySourceOrder'Shipping] :: PostSourcesSourceRequestBodySourceOrder' -> Maybe PostSourcesSourceRequestBodySourceOrder'Shipping'
-- | Create a new PostSourcesSourceRequestBodySourceOrder' with all
-- required fields.
mkPostSourcesSourceRequestBodySourceOrder' :: PostSourcesSourceRequestBodySourceOrder'
-- | Defines the object schema located at
-- paths./v1/sources/{source}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.source_order.properties.items.items
-- in the specification.
data PostSourcesSourceRequestBodySourceOrder'Items'
PostSourcesSourceRequestBodySourceOrder'Items' :: Maybe Int -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Int -> Maybe PostSourcesSourceRequestBodySourceOrder'Items'Type' -> PostSourcesSourceRequestBodySourceOrder'Items'
-- | amount
[postSourcesSourceRequestBodySourceOrder'Items'Amount] :: PostSourcesSourceRequestBodySourceOrder'Items' -> Maybe Int
-- | currency
[postSourcesSourceRequestBodySourceOrder'Items'Currency] :: PostSourcesSourceRequestBodySourceOrder'Items' -> Maybe Text
-- | description
--
-- Constraints:
--
--
-- - Maximum length of 1000
--
[postSourcesSourceRequestBodySourceOrder'Items'Description] :: PostSourcesSourceRequestBodySourceOrder'Items' -> Maybe Text
-- | parent
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSourcesSourceRequestBodySourceOrder'Items'Parent] :: PostSourcesSourceRequestBodySourceOrder'Items' -> Maybe Text
-- | quantity
[postSourcesSourceRequestBodySourceOrder'Items'Quantity] :: PostSourcesSourceRequestBodySourceOrder'Items' -> Maybe Int
-- | type
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSourcesSourceRequestBodySourceOrder'Items'Type] :: PostSourcesSourceRequestBodySourceOrder'Items' -> Maybe PostSourcesSourceRequestBodySourceOrder'Items'Type'
-- | Create a new PostSourcesSourceRequestBodySourceOrder'Items'
-- with all required fields.
mkPostSourcesSourceRequestBodySourceOrder'Items' :: PostSourcesSourceRequestBodySourceOrder'Items'
-- | Defines the enum schema located at
-- paths./v1/sources/{source}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.source_order.properties.items.items.properties.type
-- in the specification.
data PostSourcesSourceRequestBodySourceOrder'Items'Type'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostSourcesSourceRequestBodySourceOrder'Items'Type'Other :: Value -> PostSourcesSourceRequestBodySourceOrder'Items'Type'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostSourcesSourceRequestBodySourceOrder'Items'Type'Typed :: Text -> PostSourcesSourceRequestBodySourceOrder'Items'Type'
-- | Represents the JSON value "discount"
PostSourcesSourceRequestBodySourceOrder'Items'Type'EnumDiscount :: PostSourcesSourceRequestBodySourceOrder'Items'Type'
-- | Represents the JSON value "shipping"
PostSourcesSourceRequestBodySourceOrder'Items'Type'EnumShipping :: PostSourcesSourceRequestBodySourceOrder'Items'Type'
-- | Represents the JSON value "sku"
PostSourcesSourceRequestBodySourceOrder'Items'Type'EnumSku :: PostSourcesSourceRequestBodySourceOrder'Items'Type'
-- | Represents the JSON value "tax"
PostSourcesSourceRequestBodySourceOrder'Items'Type'EnumTax :: PostSourcesSourceRequestBodySourceOrder'Items'Type'
-- | Defines the object schema located at
-- paths./v1/sources/{source}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.source_order.properties.shipping
-- in the specification.
data PostSourcesSourceRequestBodySourceOrder'Shipping'
PostSourcesSourceRequestBodySourceOrder'Shipping' :: PostSourcesSourceRequestBodySourceOrder'Shipping'Address' -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PostSourcesSourceRequestBodySourceOrder'Shipping'
-- | address
[postSourcesSourceRequestBodySourceOrder'Shipping'Address] :: PostSourcesSourceRequestBodySourceOrder'Shipping' -> PostSourcesSourceRequestBodySourceOrder'Shipping'Address'
-- | carrier
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSourcesSourceRequestBodySourceOrder'Shipping'Carrier] :: PostSourcesSourceRequestBodySourceOrder'Shipping' -> Maybe Text
-- | name
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSourcesSourceRequestBodySourceOrder'Shipping'Name] :: PostSourcesSourceRequestBodySourceOrder'Shipping' -> Maybe Text
-- | phone
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSourcesSourceRequestBodySourceOrder'Shipping'Phone] :: PostSourcesSourceRequestBodySourceOrder'Shipping' -> Maybe Text
-- | tracking_number
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSourcesSourceRequestBodySourceOrder'Shipping'TrackingNumber] :: PostSourcesSourceRequestBodySourceOrder'Shipping' -> Maybe Text
-- | Create a new PostSourcesSourceRequestBodySourceOrder'Shipping'
-- with all required fields.
mkPostSourcesSourceRequestBodySourceOrder'Shipping' :: PostSourcesSourceRequestBodySourceOrder'Shipping'Address' -> PostSourcesSourceRequestBodySourceOrder'Shipping'
-- | Defines the object schema located at
-- paths./v1/sources/{source}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.source_order.properties.shipping.properties.address
-- in the specification.
data PostSourcesSourceRequestBodySourceOrder'Shipping'Address'
PostSourcesSourceRequestBodySourceOrder'Shipping'Address' :: Maybe Text -> Maybe Text -> Text -> Maybe Text -> Maybe Text -> Maybe Text -> PostSourcesSourceRequestBodySourceOrder'Shipping'Address'
-- | city
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSourcesSourceRequestBodySourceOrder'Shipping'Address'City] :: PostSourcesSourceRequestBodySourceOrder'Shipping'Address' -> Maybe Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSourcesSourceRequestBodySourceOrder'Shipping'Address'Country] :: PostSourcesSourceRequestBodySourceOrder'Shipping'Address' -> Maybe Text
-- | line1
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSourcesSourceRequestBodySourceOrder'Shipping'Address'Line1] :: PostSourcesSourceRequestBodySourceOrder'Shipping'Address' -> Text
-- | line2
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSourcesSourceRequestBodySourceOrder'Shipping'Address'Line2] :: PostSourcesSourceRequestBodySourceOrder'Shipping'Address' -> Maybe Text
-- | postal_code
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSourcesSourceRequestBodySourceOrder'Shipping'Address'PostalCode] :: PostSourcesSourceRequestBodySourceOrder'Shipping'Address' -> Maybe Text
-- | state
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSourcesSourceRequestBodySourceOrder'Shipping'Address'State] :: PostSourcesSourceRequestBodySourceOrder'Shipping'Address' -> Maybe Text
-- | Create a new
-- PostSourcesSourceRequestBodySourceOrder'Shipping'Address' with
-- all required fields.
mkPostSourcesSourceRequestBodySourceOrder'Shipping'Address' :: Text -> PostSourcesSourceRequestBodySourceOrder'Shipping'Address'
-- | Represents a response of the operation postSourcesSource.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostSourcesSourceResponseError is used.
data PostSourcesSourceResponse
-- | Means either no matching case available or a parse error
PostSourcesSourceResponseError :: String -> PostSourcesSourceResponse
-- | Successful response.
PostSourcesSourceResponse200 :: Source -> PostSourcesSourceResponse
-- | Error response.
PostSourcesSourceResponseDefault :: Error -> PostSourcesSourceResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostSourcesSource.PostSourcesSourceRequestBodyMandate'Acceptance'Offline'
instance GHC.Show.Show StripeAPI.Operations.PostSourcesSource.PostSourcesSourceRequestBodyMandate'Acceptance'Offline'
instance GHC.Classes.Eq StripeAPI.Operations.PostSourcesSource.PostSourcesSourceRequestBodyMandate'Acceptance'Online'
instance GHC.Show.Show StripeAPI.Operations.PostSourcesSource.PostSourcesSourceRequestBodyMandate'Acceptance'Online'
instance GHC.Classes.Eq StripeAPI.Operations.PostSourcesSource.PostSourcesSourceRequestBodyMandate'Acceptance'Status'
instance GHC.Show.Show StripeAPI.Operations.PostSourcesSource.PostSourcesSourceRequestBodyMandate'Acceptance'Status'
instance GHC.Classes.Eq StripeAPI.Operations.PostSourcesSource.PostSourcesSourceRequestBodyMandate'Acceptance'Type'
instance GHC.Show.Show StripeAPI.Operations.PostSourcesSource.PostSourcesSourceRequestBodyMandate'Acceptance'Type'
instance GHC.Classes.Eq StripeAPI.Operations.PostSourcesSource.PostSourcesSourceRequestBodyMandate'Acceptance'
instance GHC.Show.Show StripeAPI.Operations.PostSourcesSource.PostSourcesSourceRequestBodyMandate'Acceptance'
instance GHC.Classes.Eq StripeAPI.Operations.PostSourcesSource.PostSourcesSourceRequestBodyMandate'Amount'Variants
instance GHC.Show.Show StripeAPI.Operations.PostSourcesSource.PostSourcesSourceRequestBodyMandate'Amount'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostSourcesSource.PostSourcesSourceRequestBodyMandate'Interval'
instance GHC.Show.Show StripeAPI.Operations.PostSourcesSource.PostSourcesSourceRequestBodyMandate'Interval'
instance GHC.Classes.Eq StripeAPI.Operations.PostSourcesSource.PostSourcesSourceRequestBodyMandate'NotificationMethod'
instance GHC.Show.Show StripeAPI.Operations.PostSourcesSource.PostSourcesSourceRequestBodyMandate'NotificationMethod'
instance GHC.Classes.Eq StripeAPI.Operations.PostSourcesSource.PostSourcesSourceRequestBodyMandate'
instance GHC.Show.Show StripeAPI.Operations.PostSourcesSource.PostSourcesSourceRequestBodyMandate'
instance GHC.Classes.Eq StripeAPI.Operations.PostSourcesSource.PostSourcesSourceRequestBodyMetadata'Variants
instance GHC.Show.Show StripeAPI.Operations.PostSourcesSource.PostSourcesSourceRequestBodyMetadata'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostSourcesSource.PostSourcesSourceRequestBodyOwner'Address'
instance GHC.Show.Show StripeAPI.Operations.PostSourcesSource.PostSourcesSourceRequestBodyOwner'Address'
instance GHC.Classes.Eq StripeAPI.Operations.PostSourcesSource.PostSourcesSourceRequestBodyOwner'
instance GHC.Show.Show StripeAPI.Operations.PostSourcesSource.PostSourcesSourceRequestBodyOwner'
instance GHC.Classes.Eq StripeAPI.Operations.PostSourcesSource.PostSourcesSourceRequestBodySourceOrder'Items'Type'
instance GHC.Show.Show StripeAPI.Operations.PostSourcesSource.PostSourcesSourceRequestBodySourceOrder'Items'Type'
instance GHC.Classes.Eq StripeAPI.Operations.PostSourcesSource.PostSourcesSourceRequestBodySourceOrder'Items'
instance GHC.Show.Show StripeAPI.Operations.PostSourcesSource.PostSourcesSourceRequestBodySourceOrder'Items'
instance GHC.Classes.Eq StripeAPI.Operations.PostSourcesSource.PostSourcesSourceRequestBodySourceOrder'Shipping'Address'
instance GHC.Show.Show StripeAPI.Operations.PostSourcesSource.PostSourcesSourceRequestBodySourceOrder'Shipping'Address'
instance GHC.Classes.Eq StripeAPI.Operations.PostSourcesSource.PostSourcesSourceRequestBodySourceOrder'Shipping'
instance GHC.Show.Show StripeAPI.Operations.PostSourcesSource.PostSourcesSourceRequestBodySourceOrder'Shipping'
instance GHC.Classes.Eq StripeAPI.Operations.PostSourcesSource.PostSourcesSourceRequestBodySourceOrder'
instance GHC.Show.Show StripeAPI.Operations.PostSourcesSource.PostSourcesSourceRequestBodySourceOrder'
instance GHC.Classes.Eq StripeAPI.Operations.PostSourcesSource.PostSourcesSourceRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostSourcesSource.PostSourcesSourceRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostSourcesSource.PostSourcesSourceResponse
instance GHC.Show.Show StripeAPI.Operations.PostSourcesSource.PostSourcesSourceResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSourcesSource.PostSourcesSourceRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSourcesSource.PostSourcesSourceRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSourcesSource.PostSourcesSourceRequestBodySourceOrder'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSourcesSource.PostSourcesSourceRequestBodySourceOrder'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSourcesSource.PostSourcesSourceRequestBodySourceOrder'Shipping'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSourcesSource.PostSourcesSourceRequestBodySourceOrder'Shipping'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSourcesSource.PostSourcesSourceRequestBodySourceOrder'Shipping'Address'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSourcesSource.PostSourcesSourceRequestBodySourceOrder'Shipping'Address'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSourcesSource.PostSourcesSourceRequestBodySourceOrder'Items'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSourcesSource.PostSourcesSourceRequestBodySourceOrder'Items'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSourcesSource.PostSourcesSourceRequestBodySourceOrder'Items'Type'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSourcesSource.PostSourcesSourceRequestBodySourceOrder'Items'Type'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSourcesSource.PostSourcesSourceRequestBodyOwner'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSourcesSource.PostSourcesSourceRequestBodyOwner'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSourcesSource.PostSourcesSourceRequestBodyOwner'Address'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSourcesSource.PostSourcesSourceRequestBodyOwner'Address'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSourcesSource.PostSourcesSourceRequestBodyMetadata'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSourcesSource.PostSourcesSourceRequestBodyMetadata'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSourcesSource.PostSourcesSourceRequestBodyMandate'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSourcesSource.PostSourcesSourceRequestBodyMandate'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSourcesSource.PostSourcesSourceRequestBodyMandate'NotificationMethod'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSourcesSource.PostSourcesSourceRequestBodyMandate'NotificationMethod'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSourcesSource.PostSourcesSourceRequestBodyMandate'Interval'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSourcesSource.PostSourcesSourceRequestBodyMandate'Interval'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSourcesSource.PostSourcesSourceRequestBodyMandate'Amount'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSourcesSource.PostSourcesSourceRequestBodyMandate'Amount'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSourcesSource.PostSourcesSourceRequestBodyMandate'Acceptance'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSourcesSource.PostSourcesSourceRequestBodyMandate'Acceptance'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSourcesSource.PostSourcesSourceRequestBodyMandate'Acceptance'Type'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSourcesSource.PostSourcesSourceRequestBodyMandate'Acceptance'Type'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSourcesSource.PostSourcesSourceRequestBodyMandate'Acceptance'Status'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSourcesSource.PostSourcesSourceRequestBodyMandate'Acceptance'Status'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSourcesSource.PostSourcesSourceRequestBodyMandate'Acceptance'Online'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSourcesSource.PostSourcesSourceRequestBodyMandate'Acceptance'Online'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSourcesSource.PostSourcesSourceRequestBodyMandate'Acceptance'Offline'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSourcesSource.PostSourcesSourceRequestBodyMandate'Acceptance'Offline'
-- | Contains the different functions to run the operation postSources
module StripeAPI.Operations.PostSources
-- |
-- POST /v1/sources
--
--
-- <p>Creates a new source object.</p>
postSources :: forall m. MonadHTTP m => Maybe PostSourcesRequestBody -> ClientT m (Response PostSourcesResponse)
-- | Defines the object schema located at
-- paths./v1/sources.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostSourcesRequestBody
PostSourcesRequestBody :: Maybe Int -> Maybe Text -> Maybe Text -> Maybe [Text] -> Maybe PostSourcesRequestBodyFlow' -> Maybe PostSourcesRequestBodyMandate' -> Maybe Object -> Maybe Text -> Maybe PostSourcesRequestBodyOwner' -> Maybe PostSourcesRequestBodyReceiver' -> Maybe PostSourcesRequestBodyRedirect' -> Maybe PostSourcesRequestBodySourceOrder' -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe PostSourcesRequestBodyUsage' -> PostSourcesRequestBody
-- | amount: Amount associated with the source. This is the amount for
-- which the source will be chargeable once ready. Required for
-- `single_use` sources. Not supported for `receiver` type sources, where
-- charge amount may not be specified until funds land.
[postSourcesRequestBodyAmount] :: PostSourcesRequestBody -> Maybe Int
-- | currency: Three-letter ISO code for the currency associated
-- with the source. This is the currency for which the source will be
-- chargeable once ready.
[postSourcesRequestBodyCurrency] :: PostSourcesRequestBody -> Maybe Text
-- | customer: The `Customer` to whom the original source is attached to.
-- Must be set when the original source is not a `Source` (e.g., `Card`).
--
-- Constraints:
--
--
-- - Maximum length of 500
--
[postSourcesRequestBodyCustomer] :: PostSourcesRequestBody -> Maybe Text
-- | expand: Specifies which fields in the response should be expanded.
[postSourcesRequestBodyExpand] :: PostSourcesRequestBody -> Maybe [Text]
-- | flow: The authentication `flow` of the source to create. `flow` is one
-- of `redirect`, `receiver`, `code_verification`, `none`. It is
-- generally inferred unless a type supports multiple flows.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSourcesRequestBodyFlow] :: PostSourcesRequestBody -> Maybe PostSourcesRequestBodyFlow'
-- | mandate: Information about a mandate possibility attached to a source
-- object (generally for bank debits) as well as its acceptance status.
[postSourcesRequestBodyMandate] :: PostSourcesRequestBody -> Maybe PostSourcesRequestBodyMandate'
-- | metadata
[postSourcesRequestBodyMetadata] :: PostSourcesRequestBody -> Maybe Object
-- | original_source: The source to share.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSourcesRequestBodyOriginalSource] :: PostSourcesRequestBody -> Maybe Text
-- | owner: Information about the owner of the payment instrument that may
-- be used or required by particular source types.
[postSourcesRequestBodyOwner] :: PostSourcesRequestBody -> Maybe PostSourcesRequestBodyOwner'
-- | receiver: Optional parameters for the receiver flow. Can be set only
-- if the source is a receiver (`flow` is `receiver`).
[postSourcesRequestBodyReceiver] :: PostSourcesRequestBody -> Maybe PostSourcesRequestBodyReceiver'
-- | redirect: Parameters required for the redirect flow. Required if the
-- source is authenticated by a redirect (`flow` is `redirect`).
[postSourcesRequestBodyRedirect] :: PostSourcesRequestBody -> Maybe PostSourcesRequestBodyRedirect'
-- | source_order: Information about the items and shipping associated with
-- the source. Required for transactional credit (for example Klarna)
-- sources before you can charge it.
[postSourcesRequestBodySourceOrder] :: PostSourcesRequestBody -> Maybe PostSourcesRequestBodySourceOrder'
-- | statement_descriptor: An arbitrary string to be displayed on your
-- customer's statement. As an example, if your website is `RunClub` and
-- the item you're charging for is a race ticket, you may want to specify
-- a `statement_descriptor` of `RunClub 5K race ticket.` While many
-- payment types will display this information, some may not display it
-- at all.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSourcesRequestBodyStatementDescriptor] :: PostSourcesRequestBody -> Maybe Text
-- | token: An optional token used to create the source. When passed, token
-- properties will override source parameters.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSourcesRequestBodyToken] :: PostSourcesRequestBody -> Maybe Text
-- | type: The `type` of the source to create. Required unless `customer`
-- and `original_source` are specified (see the Cloning card
-- Sources guide)
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSourcesRequestBodyType] :: PostSourcesRequestBody -> Maybe Text
-- | usage
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSourcesRequestBodyUsage] :: PostSourcesRequestBody -> Maybe PostSourcesRequestBodyUsage'
-- | Create a new PostSourcesRequestBody with all required fields.
mkPostSourcesRequestBody :: PostSourcesRequestBody
-- | Defines the enum schema located at
-- paths./v1/sources.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.flow
-- in the specification.
--
-- The authentication `flow` of the source to create. `flow` is one of
-- `redirect`, `receiver`, `code_verification`, `none`. It is generally
-- inferred unless a type supports multiple flows.
data PostSourcesRequestBodyFlow'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostSourcesRequestBodyFlow'Other :: Value -> PostSourcesRequestBodyFlow'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostSourcesRequestBodyFlow'Typed :: Text -> PostSourcesRequestBodyFlow'
-- | Represents the JSON value "code_verification"
PostSourcesRequestBodyFlow'EnumCodeVerification :: PostSourcesRequestBodyFlow'
-- | Represents the JSON value "none"
PostSourcesRequestBodyFlow'EnumNone :: PostSourcesRequestBodyFlow'
-- | Represents the JSON value "receiver"
PostSourcesRequestBodyFlow'EnumReceiver :: PostSourcesRequestBodyFlow'
-- | Represents the JSON value "redirect"
PostSourcesRequestBodyFlow'EnumRedirect :: PostSourcesRequestBodyFlow'
-- | Defines the object schema located at
-- paths./v1/sources.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.mandate
-- in the specification.
--
-- Information about a mandate possibility attached to a source object
-- (generally for bank debits) as well as its acceptance status.
data PostSourcesRequestBodyMandate'
PostSourcesRequestBodyMandate' :: Maybe PostSourcesRequestBodyMandate'Acceptance' -> Maybe PostSourcesRequestBodyMandate'Amount'Variants -> Maybe Text -> Maybe PostSourcesRequestBodyMandate'Interval' -> Maybe PostSourcesRequestBodyMandate'NotificationMethod' -> PostSourcesRequestBodyMandate'
-- | acceptance
[postSourcesRequestBodyMandate'Acceptance] :: PostSourcesRequestBodyMandate' -> Maybe PostSourcesRequestBodyMandate'Acceptance'
-- | amount
[postSourcesRequestBodyMandate'Amount] :: PostSourcesRequestBodyMandate' -> Maybe PostSourcesRequestBodyMandate'Amount'Variants
-- | currency
[postSourcesRequestBodyMandate'Currency] :: PostSourcesRequestBodyMandate' -> Maybe Text
-- | interval
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSourcesRequestBodyMandate'Interval] :: PostSourcesRequestBodyMandate' -> Maybe PostSourcesRequestBodyMandate'Interval'
-- | notification_method
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSourcesRequestBodyMandate'NotificationMethod] :: PostSourcesRequestBodyMandate' -> Maybe PostSourcesRequestBodyMandate'NotificationMethod'
-- | Create a new PostSourcesRequestBodyMandate' with all required
-- fields.
mkPostSourcesRequestBodyMandate' :: PostSourcesRequestBodyMandate'
-- | Defines the object schema located at
-- paths./v1/sources.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.mandate.properties.acceptance
-- in the specification.
data PostSourcesRequestBodyMandate'Acceptance'
PostSourcesRequestBodyMandate'Acceptance' :: Maybe Int -> Maybe Text -> Maybe PostSourcesRequestBodyMandate'Acceptance'Offline' -> Maybe PostSourcesRequestBodyMandate'Acceptance'Online' -> PostSourcesRequestBodyMandate'Acceptance'Status' -> Maybe PostSourcesRequestBodyMandate'Acceptance'Type' -> Maybe Text -> PostSourcesRequestBodyMandate'Acceptance'
-- | date
[postSourcesRequestBodyMandate'Acceptance'Date] :: PostSourcesRequestBodyMandate'Acceptance' -> Maybe Int
-- | ip
[postSourcesRequestBodyMandate'Acceptance'Ip] :: PostSourcesRequestBodyMandate'Acceptance' -> Maybe Text
-- | offline
[postSourcesRequestBodyMandate'Acceptance'Offline] :: PostSourcesRequestBodyMandate'Acceptance' -> Maybe PostSourcesRequestBodyMandate'Acceptance'Offline'
-- | online
[postSourcesRequestBodyMandate'Acceptance'Online] :: PostSourcesRequestBodyMandate'Acceptance' -> Maybe PostSourcesRequestBodyMandate'Acceptance'Online'
-- | status
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSourcesRequestBodyMandate'Acceptance'Status] :: PostSourcesRequestBodyMandate'Acceptance' -> PostSourcesRequestBodyMandate'Acceptance'Status'
-- | type
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSourcesRequestBodyMandate'Acceptance'Type] :: PostSourcesRequestBodyMandate'Acceptance' -> Maybe PostSourcesRequestBodyMandate'Acceptance'Type'
-- | user_agent
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSourcesRequestBodyMandate'Acceptance'UserAgent] :: PostSourcesRequestBodyMandate'Acceptance' -> Maybe Text
-- | Create a new PostSourcesRequestBodyMandate'Acceptance' with all
-- required fields.
mkPostSourcesRequestBodyMandate'Acceptance' :: PostSourcesRequestBodyMandate'Acceptance'Status' -> PostSourcesRequestBodyMandate'Acceptance'
-- | Defines the object schema located at
-- paths./v1/sources.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.mandate.properties.acceptance.properties.offline
-- in the specification.
data PostSourcesRequestBodyMandate'Acceptance'Offline'
PostSourcesRequestBodyMandate'Acceptance'Offline' :: Text -> PostSourcesRequestBodyMandate'Acceptance'Offline'
-- | contact_email
[postSourcesRequestBodyMandate'Acceptance'Offline'ContactEmail] :: PostSourcesRequestBodyMandate'Acceptance'Offline' -> Text
-- | Create a new PostSourcesRequestBodyMandate'Acceptance'Offline'
-- with all required fields.
mkPostSourcesRequestBodyMandate'Acceptance'Offline' :: Text -> PostSourcesRequestBodyMandate'Acceptance'Offline'
-- | Defines the object schema located at
-- paths./v1/sources.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.mandate.properties.acceptance.properties.online
-- in the specification.
data PostSourcesRequestBodyMandate'Acceptance'Online'
PostSourcesRequestBodyMandate'Acceptance'Online' :: Maybe Int -> Maybe Text -> Maybe Text -> PostSourcesRequestBodyMandate'Acceptance'Online'
-- | date
[postSourcesRequestBodyMandate'Acceptance'Online'Date] :: PostSourcesRequestBodyMandate'Acceptance'Online' -> Maybe Int
-- | ip
[postSourcesRequestBodyMandate'Acceptance'Online'Ip] :: PostSourcesRequestBodyMandate'Acceptance'Online' -> Maybe Text
-- | user_agent
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSourcesRequestBodyMandate'Acceptance'Online'UserAgent] :: PostSourcesRequestBodyMandate'Acceptance'Online' -> Maybe Text
-- | Create a new PostSourcesRequestBodyMandate'Acceptance'Online'
-- with all required fields.
mkPostSourcesRequestBodyMandate'Acceptance'Online' :: PostSourcesRequestBodyMandate'Acceptance'Online'
-- | Defines the enum schema located at
-- paths./v1/sources.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.mandate.properties.acceptance.properties.status
-- in the specification.
data PostSourcesRequestBodyMandate'Acceptance'Status'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostSourcesRequestBodyMandate'Acceptance'Status'Other :: Value -> PostSourcesRequestBodyMandate'Acceptance'Status'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostSourcesRequestBodyMandate'Acceptance'Status'Typed :: Text -> PostSourcesRequestBodyMandate'Acceptance'Status'
-- | Represents the JSON value "accepted"
PostSourcesRequestBodyMandate'Acceptance'Status'EnumAccepted :: PostSourcesRequestBodyMandate'Acceptance'Status'
-- | Represents the JSON value "pending"
PostSourcesRequestBodyMandate'Acceptance'Status'EnumPending :: PostSourcesRequestBodyMandate'Acceptance'Status'
-- | Represents the JSON value "refused"
PostSourcesRequestBodyMandate'Acceptance'Status'EnumRefused :: PostSourcesRequestBodyMandate'Acceptance'Status'
-- | Represents the JSON value "revoked"
PostSourcesRequestBodyMandate'Acceptance'Status'EnumRevoked :: PostSourcesRequestBodyMandate'Acceptance'Status'
-- | Defines the enum schema located at
-- paths./v1/sources.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.mandate.properties.acceptance.properties.type
-- in the specification.
data PostSourcesRequestBodyMandate'Acceptance'Type'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostSourcesRequestBodyMandate'Acceptance'Type'Other :: Value -> PostSourcesRequestBodyMandate'Acceptance'Type'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostSourcesRequestBodyMandate'Acceptance'Type'Typed :: Text -> PostSourcesRequestBodyMandate'Acceptance'Type'
-- | Represents the JSON value "offline"
PostSourcesRequestBodyMandate'Acceptance'Type'EnumOffline :: PostSourcesRequestBodyMandate'Acceptance'Type'
-- | Represents the JSON value "online"
PostSourcesRequestBodyMandate'Acceptance'Type'EnumOnline :: PostSourcesRequestBodyMandate'Acceptance'Type'
-- | Defines the oneOf schema located at
-- paths./v1/sources.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.mandate.properties.amount.anyOf
-- in the specification.
data PostSourcesRequestBodyMandate'Amount'Variants
-- | Represents the JSON value ""
PostSourcesRequestBodyMandate'Amount'EmptyString :: PostSourcesRequestBodyMandate'Amount'Variants
PostSourcesRequestBodyMandate'Amount'Int :: Int -> PostSourcesRequestBodyMandate'Amount'Variants
-- | Defines the enum schema located at
-- paths./v1/sources.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.mandate.properties.interval
-- in the specification.
data PostSourcesRequestBodyMandate'Interval'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostSourcesRequestBodyMandate'Interval'Other :: Value -> PostSourcesRequestBodyMandate'Interval'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostSourcesRequestBodyMandate'Interval'Typed :: Text -> PostSourcesRequestBodyMandate'Interval'
-- | Represents the JSON value "one_time"
PostSourcesRequestBodyMandate'Interval'EnumOneTime :: PostSourcesRequestBodyMandate'Interval'
-- | Represents the JSON value "scheduled"
PostSourcesRequestBodyMandate'Interval'EnumScheduled :: PostSourcesRequestBodyMandate'Interval'
-- | Represents the JSON value "variable"
PostSourcesRequestBodyMandate'Interval'EnumVariable :: PostSourcesRequestBodyMandate'Interval'
-- | Defines the enum schema located at
-- paths./v1/sources.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.mandate.properties.notification_method
-- in the specification.
data PostSourcesRequestBodyMandate'NotificationMethod'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostSourcesRequestBodyMandate'NotificationMethod'Other :: Value -> PostSourcesRequestBodyMandate'NotificationMethod'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostSourcesRequestBodyMandate'NotificationMethod'Typed :: Text -> PostSourcesRequestBodyMandate'NotificationMethod'
-- | Represents the JSON value "deprecated_none"
PostSourcesRequestBodyMandate'NotificationMethod'EnumDeprecatedNone :: PostSourcesRequestBodyMandate'NotificationMethod'
-- | Represents the JSON value "email"
PostSourcesRequestBodyMandate'NotificationMethod'EnumEmail :: PostSourcesRequestBodyMandate'NotificationMethod'
-- | Represents the JSON value "manual"
PostSourcesRequestBodyMandate'NotificationMethod'EnumManual :: PostSourcesRequestBodyMandate'NotificationMethod'
-- | Represents the JSON value "none"
PostSourcesRequestBodyMandate'NotificationMethod'EnumNone :: PostSourcesRequestBodyMandate'NotificationMethod'
-- | Represents the JSON value "stripe_email"
PostSourcesRequestBodyMandate'NotificationMethod'EnumStripeEmail :: PostSourcesRequestBodyMandate'NotificationMethod'
-- | Defines the object schema located at
-- paths./v1/sources.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.owner
-- in the specification.
--
-- Information about the owner of the payment instrument that may be used
-- or required by particular source types.
data PostSourcesRequestBodyOwner'
PostSourcesRequestBodyOwner' :: Maybe PostSourcesRequestBodyOwner'Address' -> Maybe Text -> Maybe Text -> Maybe Text -> PostSourcesRequestBodyOwner'
-- | address
[postSourcesRequestBodyOwner'Address] :: PostSourcesRequestBodyOwner' -> Maybe PostSourcesRequestBodyOwner'Address'
-- | email
[postSourcesRequestBodyOwner'Email] :: PostSourcesRequestBodyOwner' -> Maybe Text
-- | name
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSourcesRequestBodyOwner'Name] :: PostSourcesRequestBodyOwner' -> Maybe Text
-- | phone
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSourcesRequestBodyOwner'Phone] :: PostSourcesRequestBodyOwner' -> Maybe Text
-- | Create a new PostSourcesRequestBodyOwner' with all required
-- fields.
mkPostSourcesRequestBodyOwner' :: PostSourcesRequestBodyOwner'
-- | Defines the object schema located at
-- paths./v1/sources.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.owner.properties.address
-- in the specification.
data PostSourcesRequestBodyOwner'Address'
PostSourcesRequestBodyOwner'Address' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PostSourcesRequestBodyOwner'Address'
-- | city
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSourcesRequestBodyOwner'Address'City] :: PostSourcesRequestBodyOwner'Address' -> Maybe Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSourcesRequestBodyOwner'Address'Country] :: PostSourcesRequestBodyOwner'Address' -> Maybe Text
-- | line1
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSourcesRequestBodyOwner'Address'Line1] :: PostSourcesRequestBodyOwner'Address' -> Maybe Text
-- | line2
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSourcesRequestBodyOwner'Address'Line2] :: PostSourcesRequestBodyOwner'Address' -> Maybe Text
-- | postal_code
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSourcesRequestBodyOwner'Address'PostalCode] :: PostSourcesRequestBodyOwner'Address' -> Maybe Text
-- | state
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSourcesRequestBodyOwner'Address'State] :: PostSourcesRequestBodyOwner'Address' -> Maybe Text
-- | Create a new PostSourcesRequestBodyOwner'Address' with all
-- required fields.
mkPostSourcesRequestBodyOwner'Address' :: PostSourcesRequestBodyOwner'Address'
-- | Defines the object schema located at
-- paths./v1/sources.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.receiver
-- in the specification.
--
-- Optional parameters for the receiver flow. Can be set only if the
-- source is a receiver (`flow` is `receiver`).
data PostSourcesRequestBodyReceiver'
PostSourcesRequestBodyReceiver' :: Maybe PostSourcesRequestBodyReceiver'RefundAttributesMethod' -> PostSourcesRequestBodyReceiver'
-- | refund_attributes_method
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSourcesRequestBodyReceiver'RefundAttributesMethod] :: PostSourcesRequestBodyReceiver' -> Maybe PostSourcesRequestBodyReceiver'RefundAttributesMethod'
-- | Create a new PostSourcesRequestBodyReceiver' with all required
-- fields.
mkPostSourcesRequestBodyReceiver' :: PostSourcesRequestBodyReceiver'
-- | Defines the enum schema located at
-- paths./v1/sources.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.receiver.properties.refund_attributes_method
-- in the specification.
data PostSourcesRequestBodyReceiver'RefundAttributesMethod'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostSourcesRequestBodyReceiver'RefundAttributesMethod'Other :: Value -> PostSourcesRequestBodyReceiver'RefundAttributesMethod'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostSourcesRequestBodyReceiver'RefundAttributesMethod'Typed :: Text -> PostSourcesRequestBodyReceiver'RefundAttributesMethod'
-- | Represents the JSON value "email"
PostSourcesRequestBodyReceiver'RefundAttributesMethod'EnumEmail :: PostSourcesRequestBodyReceiver'RefundAttributesMethod'
-- | Represents the JSON value "manual"
PostSourcesRequestBodyReceiver'RefundAttributesMethod'EnumManual :: PostSourcesRequestBodyReceiver'RefundAttributesMethod'
-- | Represents the JSON value "none"
PostSourcesRequestBodyReceiver'RefundAttributesMethod'EnumNone :: PostSourcesRequestBodyReceiver'RefundAttributesMethod'
-- | Defines the object schema located at
-- paths./v1/sources.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.redirect
-- in the specification.
--
-- Parameters required for the redirect flow. Required if the source is
-- authenticated by a redirect (`flow` is `redirect`).
data PostSourcesRequestBodyRedirect'
PostSourcesRequestBodyRedirect' :: Text -> PostSourcesRequestBodyRedirect'
-- | return_url
[postSourcesRequestBodyRedirect'ReturnUrl] :: PostSourcesRequestBodyRedirect' -> Text
-- | Create a new PostSourcesRequestBodyRedirect' with all required
-- fields.
mkPostSourcesRequestBodyRedirect' :: Text -> PostSourcesRequestBodyRedirect'
-- | Defines the object schema located at
-- paths./v1/sources.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.source_order
-- in the specification.
--
-- Information about the items and shipping associated with the source.
-- Required for transactional credit (for example Klarna) sources before
-- you can charge it.
data PostSourcesRequestBodySourceOrder'
PostSourcesRequestBodySourceOrder' :: Maybe [PostSourcesRequestBodySourceOrder'Items'] -> Maybe PostSourcesRequestBodySourceOrder'Shipping' -> PostSourcesRequestBodySourceOrder'
-- | items
[postSourcesRequestBodySourceOrder'Items] :: PostSourcesRequestBodySourceOrder' -> Maybe [PostSourcesRequestBodySourceOrder'Items']
-- | shipping
[postSourcesRequestBodySourceOrder'Shipping] :: PostSourcesRequestBodySourceOrder' -> Maybe PostSourcesRequestBodySourceOrder'Shipping'
-- | Create a new PostSourcesRequestBodySourceOrder' with all
-- required fields.
mkPostSourcesRequestBodySourceOrder' :: PostSourcesRequestBodySourceOrder'
-- | Defines the object schema located at
-- paths./v1/sources.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.source_order.properties.items.items
-- in the specification.
data PostSourcesRequestBodySourceOrder'Items'
PostSourcesRequestBodySourceOrder'Items' :: Maybe Int -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Int -> Maybe PostSourcesRequestBodySourceOrder'Items'Type' -> PostSourcesRequestBodySourceOrder'Items'
-- | amount
[postSourcesRequestBodySourceOrder'Items'Amount] :: PostSourcesRequestBodySourceOrder'Items' -> Maybe Int
-- | currency
[postSourcesRequestBodySourceOrder'Items'Currency] :: PostSourcesRequestBodySourceOrder'Items' -> Maybe Text
-- | description
--
-- Constraints:
--
--
-- - Maximum length of 1000
--
[postSourcesRequestBodySourceOrder'Items'Description] :: PostSourcesRequestBodySourceOrder'Items' -> Maybe Text
-- | parent
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSourcesRequestBodySourceOrder'Items'Parent] :: PostSourcesRequestBodySourceOrder'Items' -> Maybe Text
-- | quantity
[postSourcesRequestBodySourceOrder'Items'Quantity] :: PostSourcesRequestBodySourceOrder'Items' -> Maybe Int
-- | type
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSourcesRequestBodySourceOrder'Items'Type] :: PostSourcesRequestBodySourceOrder'Items' -> Maybe PostSourcesRequestBodySourceOrder'Items'Type'
-- | Create a new PostSourcesRequestBodySourceOrder'Items' with all
-- required fields.
mkPostSourcesRequestBodySourceOrder'Items' :: PostSourcesRequestBodySourceOrder'Items'
-- | Defines the enum schema located at
-- paths./v1/sources.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.source_order.properties.items.items.properties.type
-- in the specification.
data PostSourcesRequestBodySourceOrder'Items'Type'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostSourcesRequestBodySourceOrder'Items'Type'Other :: Value -> PostSourcesRequestBodySourceOrder'Items'Type'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostSourcesRequestBodySourceOrder'Items'Type'Typed :: Text -> PostSourcesRequestBodySourceOrder'Items'Type'
-- | Represents the JSON value "discount"
PostSourcesRequestBodySourceOrder'Items'Type'EnumDiscount :: PostSourcesRequestBodySourceOrder'Items'Type'
-- | Represents the JSON value "shipping"
PostSourcesRequestBodySourceOrder'Items'Type'EnumShipping :: PostSourcesRequestBodySourceOrder'Items'Type'
-- | Represents the JSON value "sku"
PostSourcesRequestBodySourceOrder'Items'Type'EnumSku :: PostSourcesRequestBodySourceOrder'Items'Type'
-- | Represents the JSON value "tax"
PostSourcesRequestBodySourceOrder'Items'Type'EnumTax :: PostSourcesRequestBodySourceOrder'Items'Type'
-- | Defines the object schema located at
-- paths./v1/sources.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.source_order.properties.shipping
-- in the specification.
data PostSourcesRequestBodySourceOrder'Shipping'
PostSourcesRequestBodySourceOrder'Shipping' :: PostSourcesRequestBodySourceOrder'Shipping'Address' -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PostSourcesRequestBodySourceOrder'Shipping'
-- | address
[postSourcesRequestBodySourceOrder'Shipping'Address] :: PostSourcesRequestBodySourceOrder'Shipping' -> PostSourcesRequestBodySourceOrder'Shipping'Address'
-- | carrier
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSourcesRequestBodySourceOrder'Shipping'Carrier] :: PostSourcesRequestBodySourceOrder'Shipping' -> Maybe Text
-- | name
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSourcesRequestBodySourceOrder'Shipping'Name] :: PostSourcesRequestBodySourceOrder'Shipping' -> Maybe Text
-- | phone
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSourcesRequestBodySourceOrder'Shipping'Phone] :: PostSourcesRequestBodySourceOrder'Shipping' -> Maybe Text
-- | tracking_number
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSourcesRequestBodySourceOrder'Shipping'TrackingNumber] :: PostSourcesRequestBodySourceOrder'Shipping' -> Maybe Text
-- | Create a new PostSourcesRequestBodySourceOrder'Shipping' with
-- all required fields.
mkPostSourcesRequestBodySourceOrder'Shipping' :: PostSourcesRequestBodySourceOrder'Shipping'Address' -> PostSourcesRequestBodySourceOrder'Shipping'
-- | Defines the object schema located at
-- paths./v1/sources.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.source_order.properties.shipping.properties.address
-- in the specification.
data PostSourcesRequestBodySourceOrder'Shipping'Address'
PostSourcesRequestBodySourceOrder'Shipping'Address' :: Maybe Text -> Maybe Text -> Text -> Maybe Text -> Maybe Text -> Maybe Text -> PostSourcesRequestBodySourceOrder'Shipping'Address'
-- | city
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSourcesRequestBodySourceOrder'Shipping'Address'City] :: PostSourcesRequestBodySourceOrder'Shipping'Address' -> Maybe Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSourcesRequestBodySourceOrder'Shipping'Address'Country] :: PostSourcesRequestBodySourceOrder'Shipping'Address' -> Maybe Text
-- | line1
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSourcesRequestBodySourceOrder'Shipping'Address'Line1] :: PostSourcesRequestBodySourceOrder'Shipping'Address' -> Text
-- | line2
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSourcesRequestBodySourceOrder'Shipping'Address'Line2] :: PostSourcesRequestBodySourceOrder'Shipping'Address' -> Maybe Text
-- | postal_code
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSourcesRequestBodySourceOrder'Shipping'Address'PostalCode] :: PostSourcesRequestBodySourceOrder'Shipping'Address' -> Maybe Text
-- | state
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSourcesRequestBodySourceOrder'Shipping'Address'State] :: PostSourcesRequestBodySourceOrder'Shipping'Address' -> Maybe Text
-- | Create a new
-- PostSourcesRequestBodySourceOrder'Shipping'Address' with all
-- required fields.
mkPostSourcesRequestBodySourceOrder'Shipping'Address' :: Text -> PostSourcesRequestBodySourceOrder'Shipping'Address'
-- | Defines the enum schema located at
-- paths./v1/sources.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.usage
-- in the specification.
data PostSourcesRequestBodyUsage'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostSourcesRequestBodyUsage'Other :: Value -> PostSourcesRequestBodyUsage'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostSourcesRequestBodyUsage'Typed :: Text -> PostSourcesRequestBodyUsage'
-- | Represents the JSON value "reusable"
PostSourcesRequestBodyUsage'EnumReusable :: PostSourcesRequestBodyUsage'
-- | Represents the JSON value "single_use"
PostSourcesRequestBodyUsage'EnumSingleUse :: PostSourcesRequestBodyUsage'
-- | Represents a response of the operation postSources.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostSourcesResponseError is used.
data PostSourcesResponse
-- | Means either no matching case available or a parse error
PostSourcesResponseError :: String -> PostSourcesResponse
-- | Successful response.
PostSourcesResponse200 :: Source -> PostSourcesResponse
-- | Error response.
PostSourcesResponseDefault :: Error -> PostSourcesResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostSources.PostSourcesRequestBodyFlow'
instance GHC.Show.Show StripeAPI.Operations.PostSources.PostSourcesRequestBodyFlow'
instance GHC.Classes.Eq StripeAPI.Operations.PostSources.PostSourcesRequestBodyMandate'Acceptance'Offline'
instance GHC.Show.Show StripeAPI.Operations.PostSources.PostSourcesRequestBodyMandate'Acceptance'Offline'
instance GHC.Classes.Eq StripeAPI.Operations.PostSources.PostSourcesRequestBodyMandate'Acceptance'Online'
instance GHC.Show.Show StripeAPI.Operations.PostSources.PostSourcesRequestBodyMandate'Acceptance'Online'
instance GHC.Classes.Eq StripeAPI.Operations.PostSources.PostSourcesRequestBodyMandate'Acceptance'Status'
instance GHC.Show.Show StripeAPI.Operations.PostSources.PostSourcesRequestBodyMandate'Acceptance'Status'
instance GHC.Classes.Eq StripeAPI.Operations.PostSources.PostSourcesRequestBodyMandate'Acceptance'Type'
instance GHC.Show.Show StripeAPI.Operations.PostSources.PostSourcesRequestBodyMandate'Acceptance'Type'
instance GHC.Classes.Eq StripeAPI.Operations.PostSources.PostSourcesRequestBodyMandate'Acceptance'
instance GHC.Show.Show StripeAPI.Operations.PostSources.PostSourcesRequestBodyMandate'Acceptance'
instance GHC.Classes.Eq StripeAPI.Operations.PostSources.PostSourcesRequestBodyMandate'Amount'Variants
instance GHC.Show.Show StripeAPI.Operations.PostSources.PostSourcesRequestBodyMandate'Amount'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostSources.PostSourcesRequestBodyMandate'Interval'
instance GHC.Show.Show StripeAPI.Operations.PostSources.PostSourcesRequestBodyMandate'Interval'
instance GHC.Classes.Eq StripeAPI.Operations.PostSources.PostSourcesRequestBodyMandate'NotificationMethod'
instance GHC.Show.Show StripeAPI.Operations.PostSources.PostSourcesRequestBodyMandate'NotificationMethod'
instance GHC.Classes.Eq StripeAPI.Operations.PostSources.PostSourcesRequestBodyMandate'
instance GHC.Show.Show StripeAPI.Operations.PostSources.PostSourcesRequestBodyMandate'
instance GHC.Classes.Eq StripeAPI.Operations.PostSources.PostSourcesRequestBodyOwner'Address'
instance GHC.Show.Show StripeAPI.Operations.PostSources.PostSourcesRequestBodyOwner'Address'
instance GHC.Classes.Eq StripeAPI.Operations.PostSources.PostSourcesRequestBodyOwner'
instance GHC.Show.Show StripeAPI.Operations.PostSources.PostSourcesRequestBodyOwner'
instance GHC.Classes.Eq StripeAPI.Operations.PostSources.PostSourcesRequestBodyReceiver'RefundAttributesMethod'
instance GHC.Show.Show StripeAPI.Operations.PostSources.PostSourcesRequestBodyReceiver'RefundAttributesMethod'
instance GHC.Classes.Eq StripeAPI.Operations.PostSources.PostSourcesRequestBodyReceiver'
instance GHC.Show.Show StripeAPI.Operations.PostSources.PostSourcesRequestBodyReceiver'
instance GHC.Classes.Eq StripeAPI.Operations.PostSources.PostSourcesRequestBodyRedirect'
instance GHC.Show.Show StripeAPI.Operations.PostSources.PostSourcesRequestBodyRedirect'
instance GHC.Classes.Eq StripeAPI.Operations.PostSources.PostSourcesRequestBodySourceOrder'Items'Type'
instance GHC.Show.Show StripeAPI.Operations.PostSources.PostSourcesRequestBodySourceOrder'Items'Type'
instance GHC.Classes.Eq StripeAPI.Operations.PostSources.PostSourcesRequestBodySourceOrder'Items'
instance GHC.Show.Show StripeAPI.Operations.PostSources.PostSourcesRequestBodySourceOrder'Items'
instance GHC.Classes.Eq StripeAPI.Operations.PostSources.PostSourcesRequestBodySourceOrder'Shipping'Address'
instance GHC.Show.Show StripeAPI.Operations.PostSources.PostSourcesRequestBodySourceOrder'Shipping'Address'
instance GHC.Classes.Eq StripeAPI.Operations.PostSources.PostSourcesRequestBodySourceOrder'Shipping'
instance GHC.Show.Show StripeAPI.Operations.PostSources.PostSourcesRequestBodySourceOrder'Shipping'
instance GHC.Classes.Eq StripeAPI.Operations.PostSources.PostSourcesRequestBodySourceOrder'
instance GHC.Show.Show StripeAPI.Operations.PostSources.PostSourcesRequestBodySourceOrder'
instance GHC.Classes.Eq StripeAPI.Operations.PostSources.PostSourcesRequestBodyUsage'
instance GHC.Show.Show StripeAPI.Operations.PostSources.PostSourcesRequestBodyUsage'
instance GHC.Classes.Eq StripeAPI.Operations.PostSources.PostSourcesRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostSources.PostSourcesRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostSources.PostSourcesResponse
instance GHC.Show.Show StripeAPI.Operations.PostSources.PostSourcesResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSources.PostSourcesRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSources.PostSourcesRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSources.PostSourcesRequestBodyUsage'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSources.PostSourcesRequestBodyUsage'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSources.PostSourcesRequestBodySourceOrder'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSources.PostSourcesRequestBodySourceOrder'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSources.PostSourcesRequestBodySourceOrder'Shipping'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSources.PostSourcesRequestBodySourceOrder'Shipping'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSources.PostSourcesRequestBodySourceOrder'Shipping'Address'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSources.PostSourcesRequestBodySourceOrder'Shipping'Address'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSources.PostSourcesRequestBodySourceOrder'Items'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSources.PostSourcesRequestBodySourceOrder'Items'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSources.PostSourcesRequestBodySourceOrder'Items'Type'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSources.PostSourcesRequestBodySourceOrder'Items'Type'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSources.PostSourcesRequestBodyRedirect'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSources.PostSourcesRequestBodyRedirect'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSources.PostSourcesRequestBodyReceiver'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSources.PostSourcesRequestBodyReceiver'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSources.PostSourcesRequestBodyReceiver'RefundAttributesMethod'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSources.PostSourcesRequestBodyReceiver'RefundAttributesMethod'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSources.PostSourcesRequestBodyOwner'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSources.PostSourcesRequestBodyOwner'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSources.PostSourcesRequestBodyOwner'Address'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSources.PostSourcesRequestBodyOwner'Address'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSources.PostSourcesRequestBodyMandate'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSources.PostSourcesRequestBodyMandate'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSources.PostSourcesRequestBodyMandate'NotificationMethod'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSources.PostSourcesRequestBodyMandate'NotificationMethod'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSources.PostSourcesRequestBodyMandate'Interval'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSources.PostSourcesRequestBodyMandate'Interval'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSources.PostSourcesRequestBodyMandate'Amount'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSources.PostSourcesRequestBodyMandate'Amount'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSources.PostSourcesRequestBodyMandate'Acceptance'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSources.PostSourcesRequestBodyMandate'Acceptance'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSources.PostSourcesRequestBodyMandate'Acceptance'Type'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSources.PostSourcesRequestBodyMandate'Acceptance'Type'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSources.PostSourcesRequestBodyMandate'Acceptance'Status'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSources.PostSourcesRequestBodyMandate'Acceptance'Status'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSources.PostSourcesRequestBodyMandate'Acceptance'Online'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSources.PostSourcesRequestBodyMandate'Acceptance'Online'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSources.PostSourcesRequestBodyMandate'Acceptance'Offline'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSources.PostSourcesRequestBodyMandate'Acceptance'Offline'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSources.PostSourcesRequestBodyFlow'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSources.PostSourcesRequestBodyFlow'
-- | Contains the different functions to run the operation postSkusId
module StripeAPI.Operations.PostSkusId
-- |
-- POST /v1/skus/{id}
--
--
-- <p>Updates the specific SKU by setting the values of the
-- parameters passed. Any parameters not provided will be left
-- unchanged.</p>
--
-- <p>Note that a SKU’s <code>attributes</code> are not
-- editable. Instead, you would need to deactivate the existing SKU and
-- create a new one with the new attribute values.</p>
postSkusId :: forall m. MonadHTTP m => Text -> Maybe PostSkusIdRequestBody -> ClientT m (Response PostSkusIdResponse)
-- | Defines the object schema located at
-- paths./v1/skus/{id}.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostSkusIdRequestBody
PostSkusIdRequestBody :: Maybe Bool -> Maybe Object -> Maybe Text -> Maybe [Text] -> Maybe Text -> Maybe PostSkusIdRequestBodyInventory' -> Maybe PostSkusIdRequestBodyMetadata'Variants -> Maybe PostSkusIdRequestBodyPackageDimensions'Variants -> Maybe Int -> Maybe Text -> PostSkusIdRequestBody
-- | active: Whether this SKU is available for purchase.
[postSkusIdRequestBodyActive] :: PostSkusIdRequestBody -> Maybe Bool
-- | attributes: A dictionary of attributes and values for the attributes
-- defined by the product. When specified, `attributes` will partially
-- update the existing attributes dictionary on the product, with the
-- postcondition that a value must be present for each attribute key on
-- the product.
[postSkusIdRequestBodyAttributes] :: PostSkusIdRequestBody -> Maybe Object
-- | currency: Three-letter ISO currency code, in lowercase. Must be
-- a supported currency.
[postSkusIdRequestBodyCurrency] :: PostSkusIdRequestBody -> Maybe Text
-- | expand: Specifies which fields in the response should be expanded.
[postSkusIdRequestBodyExpand] :: PostSkusIdRequestBody -> Maybe [Text]
-- | image: The URL of an image for this SKU, meant to be displayable to
-- the customer.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSkusIdRequestBodyImage] :: PostSkusIdRequestBody -> Maybe Text
-- | inventory: Description of the SKU's inventory.
[postSkusIdRequestBodyInventory] :: PostSkusIdRequestBody -> Maybe PostSkusIdRequestBodyInventory'
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postSkusIdRequestBodyMetadata] :: PostSkusIdRequestBody -> Maybe PostSkusIdRequestBodyMetadata'Variants
-- | package_dimensions: The dimensions of this SKU for shipping purposes.
[postSkusIdRequestBodyPackageDimensions] :: PostSkusIdRequestBody -> Maybe PostSkusIdRequestBodyPackageDimensions'Variants
-- | price: The cost of the item as a positive integer in the smallest
-- currency unit (that is, 100 cents to charge $1.00, or 100 to charge
-- ¥100, Japanese Yen being a zero-decimal currency).
[postSkusIdRequestBodyPrice] :: PostSkusIdRequestBody -> Maybe Int
-- | product: The ID of the product that this SKU should belong to. The
-- product must exist, have the same set of attribute names as the SKU's
-- current product, and be of type `good`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSkusIdRequestBodyProduct] :: PostSkusIdRequestBody -> Maybe Text
-- | Create a new PostSkusIdRequestBody with all required fields.
mkPostSkusIdRequestBody :: PostSkusIdRequestBody
-- | Defines the object schema located at
-- paths./v1/skus/{id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.inventory
-- in the specification.
--
-- Description of the SKU's inventory.
data PostSkusIdRequestBodyInventory'
PostSkusIdRequestBodyInventory' :: Maybe Int -> Maybe PostSkusIdRequestBodyInventory'Type' -> Maybe PostSkusIdRequestBodyInventory'Value' -> PostSkusIdRequestBodyInventory'
-- | quantity
[postSkusIdRequestBodyInventory'Quantity] :: PostSkusIdRequestBodyInventory' -> Maybe Int
-- | type
[postSkusIdRequestBodyInventory'Type] :: PostSkusIdRequestBodyInventory' -> Maybe PostSkusIdRequestBodyInventory'Type'
-- | value
[postSkusIdRequestBodyInventory'Value] :: PostSkusIdRequestBodyInventory' -> Maybe PostSkusIdRequestBodyInventory'Value'
-- | Create a new PostSkusIdRequestBodyInventory' with all required
-- fields.
mkPostSkusIdRequestBodyInventory' :: PostSkusIdRequestBodyInventory'
-- | Defines the enum schema located at
-- paths./v1/skus/{id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.inventory.properties.type
-- in the specification.
data PostSkusIdRequestBodyInventory'Type'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostSkusIdRequestBodyInventory'Type'Other :: Value -> PostSkusIdRequestBodyInventory'Type'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostSkusIdRequestBodyInventory'Type'Typed :: Text -> PostSkusIdRequestBodyInventory'Type'
-- | Represents the JSON value "bucket"
PostSkusIdRequestBodyInventory'Type'EnumBucket :: PostSkusIdRequestBodyInventory'Type'
-- | Represents the JSON value "finite"
PostSkusIdRequestBodyInventory'Type'EnumFinite :: PostSkusIdRequestBodyInventory'Type'
-- | Represents the JSON value "infinite"
PostSkusIdRequestBodyInventory'Type'EnumInfinite :: PostSkusIdRequestBodyInventory'Type'
-- | Defines the enum schema located at
-- paths./v1/skus/{id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.inventory.properties.value
-- in the specification.
data PostSkusIdRequestBodyInventory'Value'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostSkusIdRequestBodyInventory'Value'Other :: Value -> PostSkusIdRequestBodyInventory'Value'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostSkusIdRequestBodyInventory'Value'Typed :: Text -> PostSkusIdRequestBodyInventory'Value'
-- | Represents the JSON value ""
PostSkusIdRequestBodyInventory'Value'EnumEmptyString :: PostSkusIdRequestBodyInventory'Value'
-- | Represents the JSON value "in_stock"
PostSkusIdRequestBodyInventory'Value'EnumInStock :: PostSkusIdRequestBodyInventory'Value'
-- | Represents the JSON value "limited"
PostSkusIdRequestBodyInventory'Value'EnumLimited :: PostSkusIdRequestBodyInventory'Value'
-- | Represents the JSON value "out_of_stock"
PostSkusIdRequestBodyInventory'Value'EnumOutOfStock :: PostSkusIdRequestBodyInventory'Value'
-- | Defines the oneOf schema located at
-- paths./v1/skus/{id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.metadata.anyOf
-- in the specification.
--
-- Set of key-value pairs that you can attach to an object. This
-- can be useful for storing additional information about the object in a
-- structured format. Individual keys can be unset by posting an empty
-- value to them. All keys can be unset by posting an empty value to
-- `metadata`.
data PostSkusIdRequestBodyMetadata'Variants
-- | Represents the JSON value ""
PostSkusIdRequestBodyMetadata'EmptyString :: PostSkusIdRequestBodyMetadata'Variants
PostSkusIdRequestBodyMetadata'Object :: Object -> PostSkusIdRequestBodyMetadata'Variants
-- | Defines the object schema located at
-- paths./v1/skus/{id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.package_dimensions.anyOf
-- in the specification.
data PostSkusIdRequestBodyPackageDimensions'OneOf1
PostSkusIdRequestBodyPackageDimensions'OneOf1 :: Double -> Double -> Double -> Double -> PostSkusIdRequestBodyPackageDimensions'OneOf1
-- | height
[postSkusIdRequestBodyPackageDimensions'OneOf1Height] :: PostSkusIdRequestBodyPackageDimensions'OneOf1 -> Double
-- | length
[postSkusIdRequestBodyPackageDimensions'OneOf1Length] :: PostSkusIdRequestBodyPackageDimensions'OneOf1 -> Double
-- | weight
[postSkusIdRequestBodyPackageDimensions'OneOf1Weight] :: PostSkusIdRequestBodyPackageDimensions'OneOf1 -> Double
-- | width
[postSkusIdRequestBodyPackageDimensions'OneOf1Width] :: PostSkusIdRequestBodyPackageDimensions'OneOf1 -> Double
-- | Create a new PostSkusIdRequestBodyPackageDimensions'OneOf1 with
-- all required fields.
mkPostSkusIdRequestBodyPackageDimensions'OneOf1 :: Double -> Double -> Double -> Double -> PostSkusIdRequestBodyPackageDimensions'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/skus/{id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.package_dimensions.anyOf
-- in the specification.
--
-- The dimensions of this SKU for shipping purposes.
data PostSkusIdRequestBodyPackageDimensions'Variants
-- | Represents the JSON value ""
PostSkusIdRequestBodyPackageDimensions'EmptyString :: PostSkusIdRequestBodyPackageDimensions'Variants
PostSkusIdRequestBodyPackageDimensions'PostSkusIdRequestBodyPackageDimensions'OneOf1 :: PostSkusIdRequestBodyPackageDimensions'OneOf1 -> PostSkusIdRequestBodyPackageDimensions'Variants
-- | Represents a response of the operation postSkusId.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostSkusIdResponseError is used.
data PostSkusIdResponse
-- | Means either no matching case available or a parse error
PostSkusIdResponseError :: String -> PostSkusIdResponse
-- | Successful response.
PostSkusIdResponse200 :: Sku -> PostSkusIdResponse
-- | Error response.
PostSkusIdResponseDefault :: Error -> PostSkusIdResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostSkusId.PostSkusIdRequestBodyInventory'Type'
instance GHC.Show.Show StripeAPI.Operations.PostSkusId.PostSkusIdRequestBodyInventory'Type'
instance GHC.Classes.Eq StripeAPI.Operations.PostSkusId.PostSkusIdRequestBodyInventory'Value'
instance GHC.Show.Show StripeAPI.Operations.PostSkusId.PostSkusIdRequestBodyInventory'Value'
instance GHC.Classes.Eq StripeAPI.Operations.PostSkusId.PostSkusIdRequestBodyInventory'
instance GHC.Show.Show StripeAPI.Operations.PostSkusId.PostSkusIdRequestBodyInventory'
instance GHC.Classes.Eq StripeAPI.Operations.PostSkusId.PostSkusIdRequestBodyMetadata'Variants
instance GHC.Show.Show StripeAPI.Operations.PostSkusId.PostSkusIdRequestBodyMetadata'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostSkusId.PostSkusIdRequestBodyPackageDimensions'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostSkusId.PostSkusIdRequestBodyPackageDimensions'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostSkusId.PostSkusIdRequestBodyPackageDimensions'Variants
instance GHC.Show.Show StripeAPI.Operations.PostSkusId.PostSkusIdRequestBodyPackageDimensions'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostSkusId.PostSkusIdRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostSkusId.PostSkusIdRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostSkusId.PostSkusIdResponse
instance GHC.Show.Show StripeAPI.Operations.PostSkusId.PostSkusIdResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSkusId.PostSkusIdRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSkusId.PostSkusIdRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSkusId.PostSkusIdRequestBodyPackageDimensions'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSkusId.PostSkusIdRequestBodyPackageDimensions'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSkusId.PostSkusIdRequestBodyPackageDimensions'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSkusId.PostSkusIdRequestBodyPackageDimensions'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSkusId.PostSkusIdRequestBodyMetadata'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSkusId.PostSkusIdRequestBodyMetadata'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSkusId.PostSkusIdRequestBodyInventory'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSkusId.PostSkusIdRequestBodyInventory'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSkusId.PostSkusIdRequestBodyInventory'Value'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSkusId.PostSkusIdRequestBodyInventory'Value'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSkusId.PostSkusIdRequestBodyInventory'Type'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSkusId.PostSkusIdRequestBodyInventory'Type'
-- | Contains the different functions to run the operation postSkus
module StripeAPI.Operations.PostSkus
-- |
-- POST /v1/skus
--
--
-- <p>Creates a new SKU associated with a product.</p>
postSkus :: forall m. MonadHTTP m => PostSkusRequestBody -> ClientT m (Response PostSkusResponse)
-- | Defines the object schema located at
-- paths./v1/skus.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostSkusRequestBody
PostSkusRequestBody :: Maybe Bool -> Maybe Object -> Text -> Maybe [Text] -> Maybe Text -> Maybe Text -> PostSkusRequestBodyInventory' -> Maybe Object -> Maybe PostSkusRequestBodyPackageDimensions' -> Int -> Text -> PostSkusRequestBody
-- | active: Whether the SKU is available for purchase. Default to `true`.
[postSkusRequestBodyActive] :: PostSkusRequestBody -> Maybe Bool
-- | attributes: A dictionary of attributes and values for the attributes
-- defined by the product. If, for example, a product's attributes are
-- `["size", "gender"]`, a valid SKU has the following dictionary of
-- attributes: `{"size": "Medium", "gender": "Unisex"}`.
[postSkusRequestBodyAttributes] :: PostSkusRequestBody -> Maybe Object
-- | currency: Three-letter ISO currency code, in lowercase. Must be
-- a supported currency.
[postSkusRequestBodyCurrency] :: PostSkusRequestBody -> Text
-- | expand: Specifies which fields in the response should be expanded.
[postSkusRequestBodyExpand] :: PostSkusRequestBody -> Maybe [Text]
-- | id: The identifier for the SKU. Must be unique. If not provided, an
-- identifier will be randomly generated.
[postSkusRequestBodyId] :: PostSkusRequestBody -> Maybe Text
-- | image: The URL of an image for this SKU, meant to be displayable to
-- the customer.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSkusRequestBodyImage] :: PostSkusRequestBody -> Maybe Text
-- | inventory: Description of the SKU's inventory.
[postSkusRequestBodyInventory] :: PostSkusRequestBody -> PostSkusRequestBodyInventory'
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postSkusRequestBodyMetadata] :: PostSkusRequestBody -> Maybe Object
-- | package_dimensions: The dimensions of this SKU for shipping purposes.
[postSkusRequestBodyPackageDimensions] :: PostSkusRequestBody -> Maybe PostSkusRequestBodyPackageDimensions'
-- | price: The cost of the item as a nonnegative integer in the smallest
-- currency unit (that is, 100 cents to charge $1.00, or 100 to charge
-- ¥100, Japanese Yen being a zero-decimal currency).
[postSkusRequestBodyPrice] :: PostSkusRequestBody -> Int
-- | product: The ID of the product this SKU is associated with. Must be a
-- product with type `good`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSkusRequestBodyProduct] :: PostSkusRequestBody -> Text
-- | Create a new PostSkusRequestBody with all required fields.
mkPostSkusRequestBody :: Text -> PostSkusRequestBodyInventory' -> Int -> Text -> PostSkusRequestBody
-- | Defines the object schema located at
-- paths./v1/skus.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.inventory
-- in the specification.
--
-- Description of the SKU's inventory.
data PostSkusRequestBodyInventory'
PostSkusRequestBodyInventory' :: Maybe Int -> PostSkusRequestBodyInventory'Type' -> Maybe PostSkusRequestBodyInventory'Value' -> PostSkusRequestBodyInventory'
-- | quantity
[postSkusRequestBodyInventory'Quantity] :: PostSkusRequestBodyInventory' -> Maybe Int
-- | type
[postSkusRequestBodyInventory'Type] :: PostSkusRequestBodyInventory' -> PostSkusRequestBodyInventory'Type'
-- | value
[postSkusRequestBodyInventory'Value] :: PostSkusRequestBodyInventory' -> Maybe PostSkusRequestBodyInventory'Value'
-- | Create a new PostSkusRequestBodyInventory' with all required
-- fields.
mkPostSkusRequestBodyInventory' :: PostSkusRequestBodyInventory'Type' -> PostSkusRequestBodyInventory'
-- | Defines the enum schema located at
-- paths./v1/skus.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.inventory.properties.type
-- in the specification.
data PostSkusRequestBodyInventory'Type'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostSkusRequestBodyInventory'Type'Other :: Value -> PostSkusRequestBodyInventory'Type'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostSkusRequestBodyInventory'Type'Typed :: Text -> PostSkusRequestBodyInventory'Type'
-- | Represents the JSON value "bucket"
PostSkusRequestBodyInventory'Type'EnumBucket :: PostSkusRequestBodyInventory'Type'
-- | Represents the JSON value "finite"
PostSkusRequestBodyInventory'Type'EnumFinite :: PostSkusRequestBodyInventory'Type'
-- | Represents the JSON value "infinite"
PostSkusRequestBodyInventory'Type'EnumInfinite :: PostSkusRequestBodyInventory'Type'
-- | Defines the enum schema located at
-- paths./v1/skus.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.inventory.properties.value
-- in the specification.
data PostSkusRequestBodyInventory'Value'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostSkusRequestBodyInventory'Value'Other :: Value -> PostSkusRequestBodyInventory'Value'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostSkusRequestBodyInventory'Value'Typed :: Text -> PostSkusRequestBodyInventory'Value'
-- | Represents the JSON value ""
PostSkusRequestBodyInventory'Value'EnumEmptyString :: PostSkusRequestBodyInventory'Value'
-- | Represents the JSON value "in_stock"
PostSkusRequestBodyInventory'Value'EnumInStock :: PostSkusRequestBodyInventory'Value'
-- | Represents the JSON value "limited"
PostSkusRequestBodyInventory'Value'EnumLimited :: PostSkusRequestBodyInventory'Value'
-- | Represents the JSON value "out_of_stock"
PostSkusRequestBodyInventory'Value'EnumOutOfStock :: PostSkusRequestBodyInventory'Value'
-- | Defines the object schema located at
-- paths./v1/skus.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.package_dimensions
-- in the specification.
--
-- The dimensions of this SKU for shipping purposes.
data PostSkusRequestBodyPackageDimensions'
PostSkusRequestBodyPackageDimensions' :: Double -> Double -> Double -> Double -> PostSkusRequestBodyPackageDimensions'
-- | height
[postSkusRequestBodyPackageDimensions'Height] :: PostSkusRequestBodyPackageDimensions' -> Double
-- | length
[postSkusRequestBodyPackageDimensions'Length] :: PostSkusRequestBodyPackageDimensions' -> Double
-- | weight
[postSkusRequestBodyPackageDimensions'Weight] :: PostSkusRequestBodyPackageDimensions' -> Double
-- | width
[postSkusRequestBodyPackageDimensions'Width] :: PostSkusRequestBodyPackageDimensions' -> Double
-- | Create a new PostSkusRequestBodyPackageDimensions' with all
-- required fields.
mkPostSkusRequestBodyPackageDimensions' :: Double -> Double -> Double -> Double -> PostSkusRequestBodyPackageDimensions'
-- | Represents a response of the operation postSkus.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostSkusResponseError is used.
data PostSkusResponse
-- | Means either no matching case available or a parse error
PostSkusResponseError :: String -> PostSkusResponse
-- | Successful response.
PostSkusResponse200 :: Sku -> PostSkusResponse
-- | Error response.
PostSkusResponseDefault :: Error -> PostSkusResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostSkus.PostSkusRequestBodyInventory'Type'
instance GHC.Show.Show StripeAPI.Operations.PostSkus.PostSkusRequestBodyInventory'Type'
instance GHC.Classes.Eq StripeAPI.Operations.PostSkus.PostSkusRequestBodyInventory'Value'
instance GHC.Show.Show StripeAPI.Operations.PostSkus.PostSkusRequestBodyInventory'Value'
instance GHC.Classes.Eq StripeAPI.Operations.PostSkus.PostSkusRequestBodyInventory'
instance GHC.Show.Show StripeAPI.Operations.PostSkus.PostSkusRequestBodyInventory'
instance GHC.Classes.Eq StripeAPI.Operations.PostSkus.PostSkusRequestBodyPackageDimensions'
instance GHC.Show.Show StripeAPI.Operations.PostSkus.PostSkusRequestBodyPackageDimensions'
instance GHC.Classes.Eq StripeAPI.Operations.PostSkus.PostSkusRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostSkus.PostSkusRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostSkus.PostSkusResponse
instance GHC.Show.Show StripeAPI.Operations.PostSkus.PostSkusResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSkus.PostSkusRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSkus.PostSkusRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSkus.PostSkusRequestBodyPackageDimensions'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSkus.PostSkusRequestBodyPackageDimensions'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSkus.PostSkusRequestBodyInventory'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSkus.PostSkusRequestBodyInventory'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSkus.PostSkusRequestBodyInventory'Value'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSkus.PostSkusRequestBodyInventory'Value'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSkus.PostSkusRequestBodyInventory'Type'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSkus.PostSkusRequestBodyInventory'Type'
-- | Contains the different functions to run the operation
-- postSetupIntentsIntentConfirm
module StripeAPI.Operations.PostSetupIntentsIntentConfirm
-- |
-- POST /v1/setup_intents/{intent}/confirm
--
--
-- <p>Confirm that your customer intends to set up the current or
-- provided payment method. For example, you would confirm a SetupIntent
-- when a customer hits the “Save” button on a payment method management
-- page on your website.</p>
--
-- <p>If the selected payment method does not require any
-- additional steps from the customer, the SetupIntent will transition to
-- the <code>succeeded</code> status.</p>
--
-- <p>Otherwise, it will transition to the
-- <code>requires_action</code> status and suggest additional
-- actions via <code>next_action</code>. If setup fails, the
-- SetupIntent will transition to the
-- <code>requires_payment_method</code> status.</p>
postSetupIntentsIntentConfirm :: forall m. MonadHTTP m => Text -> Maybe PostSetupIntentsIntentConfirmRequestBody -> ClientT m (Response PostSetupIntentsIntentConfirmResponse)
-- | Defines the object schema located at
-- paths./v1/setup_intents/{intent}/confirm.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostSetupIntentsIntentConfirmRequestBody
PostSetupIntentsIntentConfirmRequestBody :: Maybe Text -> Maybe [Text] -> Maybe PostSetupIntentsIntentConfirmRequestBodyMandateData' -> Maybe Text -> Maybe PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions' -> Maybe Text -> PostSetupIntentsIntentConfirmRequestBody
-- | client_secret: The client secret of the SetupIntent.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSetupIntentsIntentConfirmRequestBodyClientSecret] :: PostSetupIntentsIntentConfirmRequestBody -> Maybe Text
-- | expand: Specifies which fields in the response should be expanded.
[postSetupIntentsIntentConfirmRequestBodyExpand] :: PostSetupIntentsIntentConfirmRequestBody -> Maybe [Text]
-- | mandate_data: This hash contains details about the Mandate to create
[postSetupIntentsIntentConfirmRequestBodyMandateData] :: PostSetupIntentsIntentConfirmRequestBody -> Maybe PostSetupIntentsIntentConfirmRequestBodyMandateData'
-- | payment_method: ID of the payment method (a PaymentMethod, Card, or
-- saved Source object) to attach to this SetupIntent.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSetupIntentsIntentConfirmRequestBodyPaymentMethod] :: PostSetupIntentsIntentConfirmRequestBody -> Maybe Text
-- | payment_method_options: Payment-method-specific configuration for this
-- SetupIntent.
[postSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions] :: PostSetupIntentsIntentConfirmRequestBody -> Maybe PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'
-- | return_url: The URL to redirect your customer back to after they
-- authenticate on the payment method's app or site. If you'd prefer to
-- redirect to a mobile application, you can alternatively supply an
-- application URI scheme. This parameter is only used for cards and
-- other redirect-based payment methods.
[postSetupIntentsIntentConfirmRequestBodyReturnUrl] :: PostSetupIntentsIntentConfirmRequestBody -> Maybe Text
-- | Create a new PostSetupIntentsIntentConfirmRequestBody with all
-- required fields.
mkPostSetupIntentsIntentConfirmRequestBody :: PostSetupIntentsIntentConfirmRequestBody
-- | Defines the object schema located at
-- paths./v1/setup_intents/{intent}/confirm.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.mandate_data.anyOf
-- in the specification.
--
-- This hash contains details about the Mandate to create
data PostSetupIntentsIntentConfirmRequestBodyMandateData'
PostSetupIntentsIntentConfirmRequestBodyMandateData' :: Maybe PostSetupIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance' -> PostSetupIntentsIntentConfirmRequestBodyMandateData'
-- | customer_acceptance
[postSetupIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance] :: PostSetupIntentsIntentConfirmRequestBodyMandateData' -> Maybe PostSetupIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'
-- | Create a new
-- PostSetupIntentsIntentConfirmRequestBodyMandateData' with all
-- required fields.
mkPostSetupIntentsIntentConfirmRequestBodyMandateData' :: PostSetupIntentsIntentConfirmRequestBodyMandateData'
-- | Defines the object schema located at
-- paths./v1/setup_intents/{intent}/confirm.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.mandate_data.anyOf.properties.customer_acceptance
-- in the specification.
data PostSetupIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'
PostSetupIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance' :: Maybe Int -> Maybe Object -> Maybe PostSetupIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'Online' -> PostSetupIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'Type' -> PostSetupIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'
-- | accepted_at
[postSetupIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'AcceptedAt] :: PostSetupIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance' -> Maybe Int
-- | offline
[postSetupIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'Offline] :: PostSetupIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance' -> Maybe Object
-- | online
[postSetupIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'Online] :: PostSetupIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance' -> Maybe PostSetupIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'Online'
-- | type
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSetupIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'Type] :: PostSetupIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance' -> PostSetupIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'Type'
-- | Create a new
-- PostSetupIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'
-- with all required fields.
mkPostSetupIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance' :: PostSetupIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'Type' -> PostSetupIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'
-- | Defines the object schema located at
-- paths./v1/setup_intents/{intent}/confirm.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.mandate_data.anyOf.properties.customer_acceptance.properties.online
-- in the specification.
data PostSetupIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'Online'
PostSetupIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'Online' :: Text -> Text -> PostSetupIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'Online'
-- | ip_address
[postSetupIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'Online'IpAddress] :: PostSetupIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'Online' -> Text
-- | user_agent
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSetupIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'Online'UserAgent] :: PostSetupIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'Online' -> Text
-- | Create a new
-- PostSetupIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'Online'
-- with all required fields.
mkPostSetupIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'Online' :: Text -> Text -> PostSetupIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'Online'
-- | Defines the enum schema located at
-- paths./v1/setup_intents/{intent}/confirm.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.mandate_data.anyOf.properties.customer_acceptance.properties.type
-- in the specification.
data PostSetupIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'Type'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostSetupIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'Type'Other :: Value -> PostSetupIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'Type'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostSetupIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'Type'Typed :: Text -> PostSetupIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'Type'
-- | Represents the JSON value "offline"
PostSetupIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'Type'EnumOffline :: PostSetupIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'Type'
-- | Represents the JSON value "online"
PostSetupIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'Type'EnumOnline :: PostSetupIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'Type'
-- | Defines the object schema located at
-- paths./v1/setup_intents/{intent}/confirm.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options
-- in the specification.
--
-- Payment-method-specific configuration for this SetupIntent.
data PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'
PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions' :: Maybe PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit' -> Maybe PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card' -> Maybe PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'SepaDebit' -> PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'
-- | acss_debit
[postSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit] :: PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions' -> Maybe PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'
-- | card
[postSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card] :: PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions' -> Maybe PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'
-- | sepa_debit
[postSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'SepaDebit] :: PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions' -> Maybe PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'SepaDebit'
-- | Create a new
-- PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'
-- with all required fields.
mkPostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions' :: PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'
-- | Defines the object schema located at
-- paths./v1/setup_intents/{intent}/confirm.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.acss_debit
-- in the specification.
data PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'
PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit' :: Maybe PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'Currency' -> Maybe PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions' -> Maybe PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'VerificationMethod' -> PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'
-- | currency
[postSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'Currency] :: PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit' -> Maybe PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'Currency'
-- | mandate_options
[postSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions] :: PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit' -> Maybe PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'
-- | verification_method
[postSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'VerificationMethod] :: PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit' -> Maybe PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'VerificationMethod'
-- | Create a new
-- PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'
-- with all required fields.
mkPostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit' :: PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'
-- | Defines the enum schema located at
-- paths./v1/setup_intents/{intent}/confirm.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.acss_debit.properties.currency
-- in the specification.
data PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'Currency'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'Currency'Other :: Value -> PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'Currency'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'Currency'Typed :: Text -> PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'Currency'
-- | Represents the JSON value "cad"
PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'Currency'EnumCad :: PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'Currency'
-- | Represents the JSON value "usd"
PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'Currency'EnumUsd :: PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'Currency'
-- | Defines the object schema located at
-- paths./v1/setup_intents/{intent}/confirm.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.acss_debit.properties.mandate_options
-- in the specification.
data PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'
PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions' :: Maybe PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'CustomMandateUrl'Variants -> Maybe Text -> Maybe PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'PaymentSchedule' -> Maybe PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'TransactionType' -> PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'
-- | custom_mandate_url
[postSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'CustomMandateUrl] :: PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions' -> Maybe PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'CustomMandateUrl'Variants
-- | interval_description
--
-- Constraints:
--
--
-- - Maximum length of 500
--
[postSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'IntervalDescription] :: PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions' -> Maybe Text
-- | payment_schedule
[postSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'PaymentSchedule] :: PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions' -> Maybe PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'PaymentSchedule'
-- | transaction_type
[postSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'TransactionType] :: PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions' -> Maybe PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'TransactionType'
-- | Create a new
-- PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'
-- with all required fields.
mkPostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions' :: PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'
-- | Defines the oneOf schema located at
-- paths./v1/setup_intents/{intent}/confirm.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.acss_debit.properties.mandate_options.properties.custom_mandate_url.anyOf
-- in the specification.
data PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'CustomMandateUrl'Variants
-- | Represents the JSON value ""
PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'CustomMandateUrl'EmptyString :: PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'CustomMandateUrl'Variants
PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'CustomMandateUrl'Text :: Text -> PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'CustomMandateUrl'Variants
-- | Defines the enum schema located at
-- paths./v1/setup_intents/{intent}/confirm.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.acss_debit.properties.mandate_options.properties.payment_schedule
-- in the specification.
data PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'PaymentSchedule'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'PaymentSchedule'Other :: Value -> PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'PaymentSchedule'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'PaymentSchedule'Typed :: Text -> PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'PaymentSchedule'
-- | Represents the JSON value "combined"
PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'PaymentSchedule'EnumCombined :: PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'PaymentSchedule'
-- | Represents the JSON value "interval"
PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'PaymentSchedule'EnumInterval :: PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'PaymentSchedule'
-- | Represents the JSON value "sporadic"
PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'PaymentSchedule'EnumSporadic :: PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'PaymentSchedule'
-- | Defines the enum schema located at
-- paths./v1/setup_intents/{intent}/confirm.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.acss_debit.properties.mandate_options.properties.transaction_type
-- in the specification.
data PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'TransactionType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'TransactionType'Other :: Value -> PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'TransactionType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'TransactionType'Typed :: Text -> PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'TransactionType'
-- | Represents the JSON value "business"
PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'TransactionType'EnumBusiness :: PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'TransactionType'
-- | Represents the JSON value "personal"
PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'TransactionType'EnumPersonal :: PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'TransactionType'
-- | Defines the enum schema located at
-- paths./v1/setup_intents/{intent}/confirm.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.acss_debit.properties.verification_method
-- in the specification.
data PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'VerificationMethod'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'VerificationMethod'Other :: Value -> PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'VerificationMethod'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'VerificationMethod'Typed :: Text -> PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'VerificationMethod'
-- | Represents the JSON value "automatic"
PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'VerificationMethod'EnumAutomatic :: PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'VerificationMethod'
-- | Represents the JSON value "instant"
PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'VerificationMethod'EnumInstant :: PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'VerificationMethod'
-- | Represents the JSON value "microdeposits"
PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'VerificationMethod'EnumMicrodeposits :: PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'VerificationMethod'
-- | Defines the object schema located at
-- paths./v1/setup_intents/{intent}/confirm.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.card
-- in the specification.
data PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'
PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card' :: Maybe PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'RequestThreeDSecure' -> PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'
-- | request_three_d_secure
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'RequestThreeDSecure] :: PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card' -> Maybe PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'RequestThreeDSecure'
-- | Create a new
-- PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'
-- with all required fields.
mkPostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card' :: PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'
-- | Defines the enum schema located at
-- paths./v1/setup_intents/{intent}/confirm.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.card.properties.request_three_d_secure
-- in the specification.
data PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'RequestThreeDSecure'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'RequestThreeDSecure'Other :: Value -> PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'RequestThreeDSecure'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'RequestThreeDSecure'Typed :: Text -> PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'RequestThreeDSecure'
-- | Represents the JSON value "any"
PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'RequestThreeDSecure'EnumAny :: PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'RequestThreeDSecure'
-- | Represents the JSON value "automatic"
PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'RequestThreeDSecure'EnumAutomatic :: PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'RequestThreeDSecure'
-- | Defines the object schema located at
-- paths./v1/setup_intents/{intent}/confirm.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.sepa_debit
-- in the specification.
data PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'SepaDebit'
PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'SepaDebit' :: Maybe Object -> PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'SepaDebit'
-- | mandate_options
[postSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'SepaDebit'MandateOptions] :: PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'SepaDebit' -> Maybe Object
-- | Create a new
-- PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'SepaDebit'
-- with all required fields.
mkPostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'SepaDebit' :: PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'SepaDebit'
-- | Represents a response of the operation
-- postSetupIntentsIntentConfirm.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- PostSetupIntentsIntentConfirmResponseError is used.
data PostSetupIntentsIntentConfirmResponse
-- | Means either no matching case available or a parse error
PostSetupIntentsIntentConfirmResponseError :: String -> PostSetupIntentsIntentConfirmResponse
-- | Successful response.
PostSetupIntentsIntentConfirmResponse200 :: SetupIntent -> PostSetupIntentsIntentConfirmResponse
-- | Error response.
PostSetupIntentsIntentConfirmResponseDefault :: Error -> PostSetupIntentsIntentConfirmResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostSetupIntentsIntentConfirm.PostSetupIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'Online'
instance GHC.Show.Show StripeAPI.Operations.PostSetupIntentsIntentConfirm.PostSetupIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'Online'
instance GHC.Classes.Eq StripeAPI.Operations.PostSetupIntentsIntentConfirm.PostSetupIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'Type'
instance GHC.Show.Show StripeAPI.Operations.PostSetupIntentsIntentConfirm.PostSetupIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'Type'
instance GHC.Classes.Eq StripeAPI.Operations.PostSetupIntentsIntentConfirm.PostSetupIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'
instance GHC.Show.Show StripeAPI.Operations.PostSetupIntentsIntentConfirm.PostSetupIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'
instance GHC.Classes.Eq StripeAPI.Operations.PostSetupIntentsIntentConfirm.PostSetupIntentsIntentConfirmRequestBodyMandateData'
instance GHC.Show.Show StripeAPI.Operations.PostSetupIntentsIntentConfirm.PostSetupIntentsIntentConfirmRequestBodyMandateData'
instance GHC.Classes.Eq StripeAPI.Operations.PostSetupIntentsIntentConfirm.PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'Currency'
instance GHC.Show.Show StripeAPI.Operations.PostSetupIntentsIntentConfirm.PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'Currency'
instance GHC.Classes.Eq StripeAPI.Operations.PostSetupIntentsIntentConfirm.PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'CustomMandateUrl'Variants
instance GHC.Show.Show StripeAPI.Operations.PostSetupIntentsIntentConfirm.PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'CustomMandateUrl'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostSetupIntentsIntentConfirm.PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'PaymentSchedule'
instance GHC.Show.Show StripeAPI.Operations.PostSetupIntentsIntentConfirm.PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'PaymentSchedule'
instance GHC.Classes.Eq StripeAPI.Operations.PostSetupIntentsIntentConfirm.PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'TransactionType'
instance GHC.Show.Show StripeAPI.Operations.PostSetupIntentsIntentConfirm.PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'TransactionType'
instance GHC.Classes.Eq StripeAPI.Operations.PostSetupIntentsIntentConfirm.PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'
instance GHC.Show.Show StripeAPI.Operations.PostSetupIntentsIntentConfirm.PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'
instance GHC.Classes.Eq StripeAPI.Operations.PostSetupIntentsIntentConfirm.PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'VerificationMethod'
instance GHC.Show.Show StripeAPI.Operations.PostSetupIntentsIntentConfirm.PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'VerificationMethod'
instance GHC.Classes.Eq StripeAPI.Operations.PostSetupIntentsIntentConfirm.PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'
instance GHC.Show.Show StripeAPI.Operations.PostSetupIntentsIntentConfirm.PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'
instance GHC.Classes.Eq StripeAPI.Operations.PostSetupIntentsIntentConfirm.PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'RequestThreeDSecure'
instance GHC.Show.Show StripeAPI.Operations.PostSetupIntentsIntentConfirm.PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'RequestThreeDSecure'
instance GHC.Classes.Eq StripeAPI.Operations.PostSetupIntentsIntentConfirm.PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'
instance GHC.Show.Show StripeAPI.Operations.PostSetupIntentsIntentConfirm.PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'
instance GHC.Classes.Eq StripeAPI.Operations.PostSetupIntentsIntentConfirm.PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'SepaDebit'
instance GHC.Show.Show StripeAPI.Operations.PostSetupIntentsIntentConfirm.PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'SepaDebit'
instance GHC.Classes.Eq StripeAPI.Operations.PostSetupIntentsIntentConfirm.PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'
instance GHC.Show.Show StripeAPI.Operations.PostSetupIntentsIntentConfirm.PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'
instance GHC.Classes.Eq StripeAPI.Operations.PostSetupIntentsIntentConfirm.PostSetupIntentsIntentConfirmRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostSetupIntentsIntentConfirm.PostSetupIntentsIntentConfirmRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostSetupIntentsIntentConfirm.PostSetupIntentsIntentConfirmResponse
instance GHC.Show.Show StripeAPI.Operations.PostSetupIntentsIntentConfirm.PostSetupIntentsIntentConfirmResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSetupIntentsIntentConfirm.PostSetupIntentsIntentConfirmRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSetupIntentsIntentConfirm.PostSetupIntentsIntentConfirmRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSetupIntentsIntentConfirm.PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSetupIntentsIntentConfirm.PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSetupIntentsIntentConfirm.PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'SepaDebit'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSetupIntentsIntentConfirm.PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'SepaDebit'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSetupIntentsIntentConfirm.PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSetupIntentsIntentConfirm.PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSetupIntentsIntentConfirm.PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'RequestThreeDSecure'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSetupIntentsIntentConfirm.PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'RequestThreeDSecure'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSetupIntentsIntentConfirm.PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSetupIntentsIntentConfirm.PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSetupIntentsIntentConfirm.PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'VerificationMethod'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSetupIntentsIntentConfirm.PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'VerificationMethod'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSetupIntentsIntentConfirm.PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSetupIntentsIntentConfirm.PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSetupIntentsIntentConfirm.PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'TransactionType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSetupIntentsIntentConfirm.PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'TransactionType'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSetupIntentsIntentConfirm.PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'PaymentSchedule'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSetupIntentsIntentConfirm.PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'PaymentSchedule'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSetupIntentsIntentConfirm.PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'CustomMandateUrl'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSetupIntentsIntentConfirm.PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'CustomMandateUrl'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSetupIntentsIntentConfirm.PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'Currency'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSetupIntentsIntentConfirm.PostSetupIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'Currency'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSetupIntentsIntentConfirm.PostSetupIntentsIntentConfirmRequestBodyMandateData'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSetupIntentsIntentConfirm.PostSetupIntentsIntentConfirmRequestBodyMandateData'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSetupIntentsIntentConfirm.PostSetupIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSetupIntentsIntentConfirm.PostSetupIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSetupIntentsIntentConfirm.PostSetupIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'Type'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSetupIntentsIntentConfirm.PostSetupIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'Type'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSetupIntentsIntentConfirm.PostSetupIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'Online'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSetupIntentsIntentConfirm.PostSetupIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'Online'
-- | Contains the different functions to run the operation
-- postSetupIntentsIntentCancel
module StripeAPI.Operations.PostSetupIntentsIntentCancel
-- |
-- POST /v1/setup_intents/{intent}/cancel
--
--
-- <p>A SetupIntent object can be canceled when it is in one of
-- these statuses: <code>requires_payment_method</code>,
-- <code>requires_confirmation</code>, or
-- <code>requires_action</code>. </p>
--
-- <p>Once canceled, setup is abandoned and any operations on the
-- SetupIntent will fail with an error.</p>
postSetupIntentsIntentCancel :: forall m. MonadHTTP m => Text -> Maybe PostSetupIntentsIntentCancelRequestBody -> ClientT m (Response PostSetupIntentsIntentCancelResponse)
-- | Defines the object schema located at
-- paths./v1/setup_intents/{intent}/cancel.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostSetupIntentsIntentCancelRequestBody
PostSetupIntentsIntentCancelRequestBody :: Maybe PostSetupIntentsIntentCancelRequestBodyCancellationReason' -> Maybe [Text] -> PostSetupIntentsIntentCancelRequestBody
-- | cancellation_reason: Reason for canceling this SetupIntent. Possible
-- values are `abandoned`, `requested_by_customer`, or `duplicate`
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSetupIntentsIntentCancelRequestBodyCancellationReason] :: PostSetupIntentsIntentCancelRequestBody -> Maybe PostSetupIntentsIntentCancelRequestBodyCancellationReason'
-- | expand: Specifies which fields in the response should be expanded.
[postSetupIntentsIntentCancelRequestBodyExpand] :: PostSetupIntentsIntentCancelRequestBody -> Maybe [Text]
-- | Create a new PostSetupIntentsIntentCancelRequestBody with all
-- required fields.
mkPostSetupIntentsIntentCancelRequestBody :: PostSetupIntentsIntentCancelRequestBody
-- | Defines the enum schema located at
-- paths./v1/setup_intents/{intent}/cancel.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.cancellation_reason
-- in the specification.
--
-- Reason for canceling this SetupIntent. Possible values are
-- `abandoned`, `requested_by_customer`, or `duplicate`
data PostSetupIntentsIntentCancelRequestBodyCancellationReason'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostSetupIntentsIntentCancelRequestBodyCancellationReason'Other :: Value -> PostSetupIntentsIntentCancelRequestBodyCancellationReason'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostSetupIntentsIntentCancelRequestBodyCancellationReason'Typed :: Text -> PostSetupIntentsIntentCancelRequestBodyCancellationReason'
-- | Represents the JSON value "abandoned"
PostSetupIntentsIntentCancelRequestBodyCancellationReason'EnumAbandoned :: PostSetupIntentsIntentCancelRequestBodyCancellationReason'
-- | Represents the JSON value "duplicate"
PostSetupIntentsIntentCancelRequestBodyCancellationReason'EnumDuplicate :: PostSetupIntentsIntentCancelRequestBodyCancellationReason'
-- | Represents the JSON value "requested_by_customer"
PostSetupIntentsIntentCancelRequestBodyCancellationReason'EnumRequestedByCustomer :: PostSetupIntentsIntentCancelRequestBodyCancellationReason'
-- | Represents a response of the operation
-- postSetupIntentsIntentCancel.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- PostSetupIntentsIntentCancelResponseError is used.
data PostSetupIntentsIntentCancelResponse
-- | Means either no matching case available or a parse error
PostSetupIntentsIntentCancelResponseError :: String -> PostSetupIntentsIntentCancelResponse
-- | Successful response.
PostSetupIntentsIntentCancelResponse200 :: SetupIntent -> PostSetupIntentsIntentCancelResponse
-- | Error response.
PostSetupIntentsIntentCancelResponseDefault :: Error -> PostSetupIntentsIntentCancelResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostSetupIntentsIntentCancel.PostSetupIntentsIntentCancelRequestBodyCancellationReason'
instance GHC.Show.Show StripeAPI.Operations.PostSetupIntentsIntentCancel.PostSetupIntentsIntentCancelRequestBodyCancellationReason'
instance GHC.Classes.Eq StripeAPI.Operations.PostSetupIntentsIntentCancel.PostSetupIntentsIntentCancelRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostSetupIntentsIntentCancel.PostSetupIntentsIntentCancelRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostSetupIntentsIntentCancel.PostSetupIntentsIntentCancelResponse
instance GHC.Show.Show StripeAPI.Operations.PostSetupIntentsIntentCancel.PostSetupIntentsIntentCancelResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSetupIntentsIntentCancel.PostSetupIntentsIntentCancelRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSetupIntentsIntentCancel.PostSetupIntentsIntentCancelRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSetupIntentsIntentCancel.PostSetupIntentsIntentCancelRequestBodyCancellationReason'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSetupIntentsIntentCancel.PostSetupIntentsIntentCancelRequestBodyCancellationReason'
-- | Contains the different functions to run the operation
-- postSetupIntentsIntent
module StripeAPI.Operations.PostSetupIntentsIntent
-- |
-- POST /v1/setup_intents/{intent}
--
--
-- <p>Updates a SetupIntent object.</p>
postSetupIntentsIntent :: forall m. MonadHTTP m => Text -> Maybe PostSetupIntentsIntentRequestBody -> ClientT m (Response PostSetupIntentsIntentResponse)
-- | Defines the object schema located at
-- paths./v1/setup_intents/{intent}.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostSetupIntentsIntentRequestBody
PostSetupIntentsIntentRequestBody :: Maybe Text -> Maybe Text -> Maybe [Text] -> Maybe PostSetupIntentsIntentRequestBodyMetadata'Variants -> Maybe Text -> Maybe PostSetupIntentsIntentRequestBodyPaymentMethodOptions' -> Maybe [Text] -> PostSetupIntentsIntentRequestBody
-- | customer: ID of the Customer this SetupIntent belongs to, if one
-- exists.
--
-- If present, the SetupIntent's payment method will be attached to the
-- Customer on successful setup. Payment methods attached to other
-- Customers cannot be used with this SetupIntent.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSetupIntentsIntentRequestBodyCustomer] :: PostSetupIntentsIntentRequestBody -> Maybe Text
-- | description: An arbitrary string attached to the object. Often useful
-- for displaying to users.
--
-- Constraints:
--
--
-- - Maximum length of 1000
--
[postSetupIntentsIntentRequestBodyDescription] :: PostSetupIntentsIntentRequestBody -> Maybe Text
-- | expand: Specifies which fields in the response should be expanded.
[postSetupIntentsIntentRequestBodyExpand] :: PostSetupIntentsIntentRequestBody -> Maybe [Text]
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postSetupIntentsIntentRequestBodyMetadata] :: PostSetupIntentsIntentRequestBody -> Maybe PostSetupIntentsIntentRequestBodyMetadata'Variants
-- | payment_method: ID of the payment method (a PaymentMethod, Card, or
-- saved Source object) to attach to this SetupIntent.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSetupIntentsIntentRequestBodyPaymentMethod] :: PostSetupIntentsIntentRequestBody -> Maybe Text
-- | payment_method_options: Payment-method-specific configuration for this
-- SetupIntent.
[postSetupIntentsIntentRequestBodyPaymentMethodOptions] :: PostSetupIntentsIntentRequestBody -> Maybe PostSetupIntentsIntentRequestBodyPaymentMethodOptions'
-- | payment_method_types: The list of payment method types (e.g. card)
-- that this SetupIntent is allowed to set up. If this is not provided,
-- defaults to ["card"].
[postSetupIntentsIntentRequestBodyPaymentMethodTypes] :: PostSetupIntentsIntentRequestBody -> Maybe [Text]
-- | Create a new PostSetupIntentsIntentRequestBody with all
-- required fields.
mkPostSetupIntentsIntentRequestBody :: PostSetupIntentsIntentRequestBody
-- | Defines the oneOf schema located at
-- paths./v1/setup_intents/{intent}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.metadata.anyOf
-- in the specification.
--
-- Set of key-value pairs that you can attach to an object. This
-- can be useful for storing additional information about the object in a
-- structured format. Individual keys can be unset by posting an empty
-- value to them. All keys can be unset by posting an empty value to
-- `metadata`.
data PostSetupIntentsIntentRequestBodyMetadata'Variants
-- | Represents the JSON value ""
PostSetupIntentsIntentRequestBodyMetadata'EmptyString :: PostSetupIntentsIntentRequestBodyMetadata'Variants
PostSetupIntentsIntentRequestBodyMetadata'Object :: Object -> PostSetupIntentsIntentRequestBodyMetadata'Variants
-- | Defines the object schema located at
-- paths./v1/setup_intents/{intent}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options
-- in the specification.
--
-- Payment-method-specific configuration for this SetupIntent.
data PostSetupIntentsIntentRequestBodyPaymentMethodOptions'
PostSetupIntentsIntentRequestBodyPaymentMethodOptions' :: Maybe PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit' -> Maybe PostSetupIntentsIntentRequestBodyPaymentMethodOptions'Card' -> Maybe PostSetupIntentsIntentRequestBodyPaymentMethodOptions'SepaDebit' -> PostSetupIntentsIntentRequestBodyPaymentMethodOptions'
-- | acss_debit
[postSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit] :: PostSetupIntentsIntentRequestBodyPaymentMethodOptions' -> Maybe PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'
-- | card
[postSetupIntentsIntentRequestBodyPaymentMethodOptions'Card] :: PostSetupIntentsIntentRequestBodyPaymentMethodOptions' -> Maybe PostSetupIntentsIntentRequestBodyPaymentMethodOptions'Card'
-- | sepa_debit
[postSetupIntentsIntentRequestBodyPaymentMethodOptions'SepaDebit] :: PostSetupIntentsIntentRequestBodyPaymentMethodOptions' -> Maybe PostSetupIntentsIntentRequestBodyPaymentMethodOptions'SepaDebit'
-- | Create a new
-- PostSetupIntentsIntentRequestBodyPaymentMethodOptions' with all
-- required fields.
mkPostSetupIntentsIntentRequestBodyPaymentMethodOptions' :: PostSetupIntentsIntentRequestBodyPaymentMethodOptions'
-- | Defines the object schema located at
-- paths./v1/setup_intents/{intent}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.acss_debit
-- in the specification.
data PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'
PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit' :: Maybe PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'Currency' -> Maybe PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions' -> Maybe PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'VerificationMethod' -> PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'
-- | currency
[postSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'Currency] :: PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit' -> Maybe PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'Currency'
-- | mandate_options
[postSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions] :: PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit' -> Maybe PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'
-- | verification_method
[postSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'VerificationMethod] :: PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit' -> Maybe PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'VerificationMethod'
-- | Create a new
-- PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'
-- with all required fields.
mkPostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit' :: PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'
-- | Defines the enum schema located at
-- paths./v1/setup_intents/{intent}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.acss_debit.properties.currency
-- in the specification.
data PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'Currency'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'Currency'Other :: Value -> PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'Currency'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'Currency'Typed :: Text -> PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'Currency'
-- | Represents the JSON value "cad"
PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'Currency'EnumCad :: PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'Currency'
-- | Represents the JSON value "usd"
PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'Currency'EnumUsd :: PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'Currency'
-- | Defines the object schema located at
-- paths./v1/setup_intents/{intent}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.acss_debit.properties.mandate_options
-- in the specification.
data PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'
PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions' :: Maybe PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'CustomMandateUrl'Variants -> Maybe Text -> Maybe PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'PaymentSchedule' -> Maybe PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'TransactionType' -> PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'
-- | custom_mandate_url
[postSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'CustomMandateUrl] :: PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions' -> Maybe PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'CustomMandateUrl'Variants
-- | interval_description
--
-- Constraints:
--
--
-- - Maximum length of 500
--
[postSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'IntervalDescription] :: PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions' -> Maybe Text
-- | payment_schedule
[postSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'PaymentSchedule] :: PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions' -> Maybe PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'PaymentSchedule'
-- | transaction_type
[postSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'TransactionType] :: PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions' -> Maybe PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'TransactionType'
-- | Create a new
-- PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'
-- with all required fields.
mkPostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions' :: PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'
-- | Defines the oneOf schema located at
-- paths./v1/setup_intents/{intent}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.acss_debit.properties.mandate_options.properties.custom_mandate_url.anyOf
-- in the specification.
data PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'CustomMandateUrl'Variants
-- | Represents the JSON value ""
PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'CustomMandateUrl'EmptyString :: PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'CustomMandateUrl'Variants
PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'CustomMandateUrl'Text :: Text -> PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'CustomMandateUrl'Variants
-- | Defines the enum schema located at
-- paths./v1/setup_intents/{intent}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.acss_debit.properties.mandate_options.properties.payment_schedule
-- in the specification.
data PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'PaymentSchedule'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'PaymentSchedule'Other :: Value -> PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'PaymentSchedule'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'PaymentSchedule'Typed :: Text -> PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'PaymentSchedule'
-- | Represents the JSON value "combined"
PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'PaymentSchedule'EnumCombined :: PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'PaymentSchedule'
-- | Represents the JSON value "interval"
PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'PaymentSchedule'EnumInterval :: PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'PaymentSchedule'
-- | Represents the JSON value "sporadic"
PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'PaymentSchedule'EnumSporadic :: PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'PaymentSchedule'
-- | Defines the enum schema located at
-- paths./v1/setup_intents/{intent}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.acss_debit.properties.mandate_options.properties.transaction_type
-- in the specification.
data PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'TransactionType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'TransactionType'Other :: Value -> PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'TransactionType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'TransactionType'Typed :: Text -> PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'TransactionType'
-- | Represents the JSON value "business"
PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'TransactionType'EnumBusiness :: PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'TransactionType'
-- | Represents the JSON value "personal"
PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'TransactionType'EnumPersonal :: PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'TransactionType'
-- | Defines the enum schema located at
-- paths./v1/setup_intents/{intent}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.acss_debit.properties.verification_method
-- in the specification.
data PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'VerificationMethod'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'VerificationMethod'Other :: Value -> PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'VerificationMethod'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'VerificationMethod'Typed :: Text -> PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'VerificationMethod'
-- | Represents the JSON value "automatic"
PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'VerificationMethod'EnumAutomatic :: PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'VerificationMethod'
-- | Represents the JSON value "instant"
PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'VerificationMethod'EnumInstant :: PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'VerificationMethod'
-- | Represents the JSON value "microdeposits"
PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'VerificationMethod'EnumMicrodeposits :: PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'VerificationMethod'
-- | Defines the object schema located at
-- paths./v1/setup_intents/{intent}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.card
-- in the specification.
data PostSetupIntentsIntentRequestBodyPaymentMethodOptions'Card'
PostSetupIntentsIntentRequestBodyPaymentMethodOptions'Card' :: Maybe PostSetupIntentsIntentRequestBodyPaymentMethodOptions'Card'RequestThreeDSecure' -> PostSetupIntentsIntentRequestBodyPaymentMethodOptions'Card'
-- | request_three_d_secure
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSetupIntentsIntentRequestBodyPaymentMethodOptions'Card'RequestThreeDSecure] :: PostSetupIntentsIntentRequestBodyPaymentMethodOptions'Card' -> Maybe PostSetupIntentsIntentRequestBodyPaymentMethodOptions'Card'RequestThreeDSecure'
-- | Create a new
-- PostSetupIntentsIntentRequestBodyPaymentMethodOptions'Card'
-- with all required fields.
mkPostSetupIntentsIntentRequestBodyPaymentMethodOptions'Card' :: PostSetupIntentsIntentRequestBodyPaymentMethodOptions'Card'
-- | Defines the enum schema located at
-- paths./v1/setup_intents/{intent}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.card.properties.request_three_d_secure
-- in the specification.
data PostSetupIntentsIntentRequestBodyPaymentMethodOptions'Card'RequestThreeDSecure'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostSetupIntentsIntentRequestBodyPaymentMethodOptions'Card'RequestThreeDSecure'Other :: Value -> PostSetupIntentsIntentRequestBodyPaymentMethodOptions'Card'RequestThreeDSecure'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostSetupIntentsIntentRequestBodyPaymentMethodOptions'Card'RequestThreeDSecure'Typed :: Text -> PostSetupIntentsIntentRequestBodyPaymentMethodOptions'Card'RequestThreeDSecure'
-- | Represents the JSON value "any"
PostSetupIntentsIntentRequestBodyPaymentMethodOptions'Card'RequestThreeDSecure'EnumAny :: PostSetupIntentsIntentRequestBodyPaymentMethodOptions'Card'RequestThreeDSecure'
-- | Represents the JSON value "automatic"
PostSetupIntentsIntentRequestBodyPaymentMethodOptions'Card'RequestThreeDSecure'EnumAutomatic :: PostSetupIntentsIntentRequestBodyPaymentMethodOptions'Card'RequestThreeDSecure'
-- | Defines the object schema located at
-- paths./v1/setup_intents/{intent}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.sepa_debit
-- in the specification.
data PostSetupIntentsIntentRequestBodyPaymentMethodOptions'SepaDebit'
PostSetupIntentsIntentRequestBodyPaymentMethodOptions'SepaDebit' :: Maybe Object -> PostSetupIntentsIntentRequestBodyPaymentMethodOptions'SepaDebit'
-- | mandate_options
[postSetupIntentsIntentRequestBodyPaymentMethodOptions'SepaDebit'MandateOptions] :: PostSetupIntentsIntentRequestBodyPaymentMethodOptions'SepaDebit' -> Maybe Object
-- | Create a new
-- PostSetupIntentsIntentRequestBodyPaymentMethodOptions'SepaDebit'
-- with all required fields.
mkPostSetupIntentsIntentRequestBodyPaymentMethodOptions'SepaDebit' :: PostSetupIntentsIntentRequestBodyPaymentMethodOptions'SepaDebit'
-- | Represents a response of the operation postSetupIntentsIntent.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostSetupIntentsIntentResponseError is
-- used.
data PostSetupIntentsIntentResponse
-- | Means either no matching case available or a parse error
PostSetupIntentsIntentResponseError :: String -> PostSetupIntentsIntentResponse
-- | Successful response.
PostSetupIntentsIntentResponse200 :: SetupIntent -> PostSetupIntentsIntentResponse
-- | Error response.
PostSetupIntentsIntentResponseDefault :: Error -> PostSetupIntentsIntentResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostSetupIntentsIntent.PostSetupIntentsIntentRequestBodyMetadata'Variants
instance GHC.Show.Show StripeAPI.Operations.PostSetupIntentsIntent.PostSetupIntentsIntentRequestBodyMetadata'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostSetupIntentsIntent.PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'Currency'
instance GHC.Show.Show StripeAPI.Operations.PostSetupIntentsIntent.PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'Currency'
instance GHC.Classes.Eq StripeAPI.Operations.PostSetupIntentsIntent.PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'CustomMandateUrl'Variants
instance GHC.Show.Show StripeAPI.Operations.PostSetupIntentsIntent.PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'CustomMandateUrl'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostSetupIntentsIntent.PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'PaymentSchedule'
instance GHC.Show.Show StripeAPI.Operations.PostSetupIntentsIntent.PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'PaymentSchedule'
instance GHC.Classes.Eq StripeAPI.Operations.PostSetupIntentsIntent.PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'TransactionType'
instance GHC.Show.Show StripeAPI.Operations.PostSetupIntentsIntent.PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'TransactionType'
instance GHC.Classes.Eq StripeAPI.Operations.PostSetupIntentsIntent.PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'
instance GHC.Show.Show StripeAPI.Operations.PostSetupIntentsIntent.PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'
instance GHC.Classes.Eq StripeAPI.Operations.PostSetupIntentsIntent.PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'VerificationMethod'
instance GHC.Show.Show StripeAPI.Operations.PostSetupIntentsIntent.PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'VerificationMethod'
instance GHC.Classes.Eq StripeAPI.Operations.PostSetupIntentsIntent.PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'
instance GHC.Show.Show StripeAPI.Operations.PostSetupIntentsIntent.PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'
instance GHC.Classes.Eq StripeAPI.Operations.PostSetupIntentsIntent.PostSetupIntentsIntentRequestBodyPaymentMethodOptions'Card'RequestThreeDSecure'
instance GHC.Show.Show StripeAPI.Operations.PostSetupIntentsIntent.PostSetupIntentsIntentRequestBodyPaymentMethodOptions'Card'RequestThreeDSecure'
instance GHC.Classes.Eq StripeAPI.Operations.PostSetupIntentsIntent.PostSetupIntentsIntentRequestBodyPaymentMethodOptions'Card'
instance GHC.Show.Show StripeAPI.Operations.PostSetupIntentsIntent.PostSetupIntentsIntentRequestBodyPaymentMethodOptions'Card'
instance GHC.Classes.Eq StripeAPI.Operations.PostSetupIntentsIntent.PostSetupIntentsIntentRequestBodyPaymentMethodOptions'SepaDebit'
instance GHC.Show.Show StripeAPI.Operations.PostSetupIntentsIntent.PostSetupIntentsIntentRequestBodyPaymentMethodOptions'SepaDebit'
instance GHC.Classes.Eq StripeAPI.Operations.PostSetupIntentsIntent.PostSetupIntentsIntentRequestBodyPaymentMethodOptions'
instance GHC.Show.Show StripeAPI.Operations.PostSetupIntentsIntent.PostSetupIntentsIntentRequestBodyPaymentMethodOptions'
instance GHC.Classes.Eq StripeAPI.Operations.PostSetupIntentsIntent.PostSetupIntentsIntentRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostSetupIntentsIntent.PostSetupIntentsIntentRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostSetupIntentsIntent.PostSetupIntentsIntentResponse
instance GHC.Show.Show StripeAPI.Operations.PostSetupIntentsIntent.PostSetupIntentsIntentResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSetupIntentsIntent.PostSetupIntentsIntentRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSetupIntentsIntent.PostSetupIntentsIntentRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSetupIntentsIntent.PostSetupIntentsIntentRequestBodyPaymentMethodOptions'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSetupIntentsIntent.PostSetupIntentsIntentRequestBodyPaymentMethodOptions'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSetupIntentsIntent.PostSetupIntentsIntentRequestBodyPaymentMethodOptions'SepaDebit'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSetupIntentsIntent.PostSetupIntentsIntentRequestBodyPaymentMethodOptions'SepaDebit'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSetupIntentsIntent.PostSetupIntentsIntentRequestBodyPaymentMethodOptions'Card'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSetupIntentsIntent.PostSetupIntentsIntentRequestBodyPaymentMethodOptions'Card'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSetupIntentsIntent.PostSetupIntentsIntentRequestBodyPaymentMethodOptions'Card'RequestThreeDSecure'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSetupIntentsIntent.PostSetupIntentsIntentRequestBodyPaymentMethodOptions'Card'RequestThreeDSecure'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSetupIntentsIntent.PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSetupIntentsIntent.PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSetupIntentsIntent.PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'VerificationMethod'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSetupIntentsIntent.PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'VerificationMethod'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSetupIntentsIntent.PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSetupIntentsIntent.PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSetupIntentsIntent.PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'TransactionType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSetupIntentsIntent.PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'TransactionType'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSetupIntentsIntent.PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'PaymentSchedule'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSetupIntentsIntent.PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'PaymentSchedule'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSetupIntentsIntent.PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'CustomMandateUrl'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSetupIntentsIntent.PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'CustomMandateUrl'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSetupIntentsIntent.PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'Currency'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSetupIntentsIntent.PostSetupIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'Currency'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSetupIntentsIntent.PostSetupIntentsIntentRequestBodyMetadata'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSetupIntentsIntent.PostSetupIntentsIntentRequestBodyMetadata'Variants
-- | Contains the different functions to run the operation postSetupIntents
module StripeAPI.Operations.PostSetupIntents
-- |
-- POST /v1/setup_intents
--
--
-- <p>Creates a SetupIntent object.</p>
--
-- <p>After the SetupIntent is created, attach a payment method and
-- <a href="/docs/api/setup_intents/confirm">confirm</a> to
-- collect any required permissions to charge the payment method
-- later.</p>
postSetupIntents :: forall m. MonadHTTP m => Maybe PostSetupIntentsRequestBody -> ClientT m (Response PostSetupIntentsResponse)
-- | Defines the object schema located at
-- paths./v1/setup_intents.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostSetupIntentsRequestBody
PostSetupIntentsRequestBody :: Maybe Bool -> Maybe Text -> Maybe Text -> Maybe [Text] -> Maybe PostSetupIntentsRequestBodyMandateData' -> Maybe Object -> Maybe Text -> Maybe Text -> Maybe PostSetupIntentsRequestBodyPaymentMethodOptions' -> Maybe [Text] -> Maybe Text -> Maybe PostSetupIntentsRequestBodySingleUse' -> Maybe PostSetupIntentsRequestBodyUsage' -> PostSetupIntentsRequestBody
-- | confirm: Set to `true` to attempt to confirm this SetupIntent
-- immediately. This parameter defaults to `false`. If the payment method
-- attached is a card, a return_url may be provided in case additional
-- authentication is required.
[postSetupIntentsRequestBodyConfirm] :: PostSetupIntentsRequestBody -> Maybe Bool
-- | customer: ID of the Customer this SetupIntent belongs to, if one
-- exists.
--
-- If present, the SetupIntent's payment method will be attached to the
-- Customer on successful setup. Payment methods attached to other
-- Customers cannot be used with this SetupIntent.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSetupIntentsRequestBodyCustomer] :: PostSetupIntentsRequestBody -> Maybe Text
-- | description: An arbitrary string attached to the object. Often useful
-- for displaying to users.
--
-- Constraints:
--
--
-- - Maximum length of 1000
--
[postSetupIntentsRequestBodyDescription] :: PostSetupIntentsRequestBody -> Maybe Text
-- | expand: Specifies which fields in the response should be expanded.
[postSetupIntentsRequestBodyExpand] :: PostSetupIntentsRequestBody -> Maybe [Text]
-- | mandate_data: This hash contains details about the Mandate to create.
-- This parameter can only be used with `confirm=true`.
[postSetupIntentsRequestBodyMandateData] :: PostSetupIntentsRequestBody -> Maybe PostSetupIntentsRequestBodyMandateData'
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postSetupIntentsRequestBodyMetadata] :: PostSetupIntentsRequestBody -> Maybe Object
-- | on_behalf_of: The Stripe account ID for which this SetupIntent is
-- created.
[postSetupIntentsRequestBodyOnBehalfOf] :: PostSetupIntentsRequestBody -> Maybe Text
-- | payment_method: ID of the payment method (a PaymentMethod, Card, or
-- saved Source object) to attach to this SetupIntent.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSetupIntentsRequestBodyPaymentMethod] :: PostSetupIntentsRequestBody -> Maybe Text
-- | payment_method_options: Payment-method-specific configuration for this
-- SetupIntent.
[postSetupIntentsRequestBodyPaymentMethodOptions] :: PostSetupIntentsRequestBody -> Maybe PostSetupIntentsRequestBodyPaymentMethodOptions'
-- | payment_method_types: The list of payment method types (e.g. card)
-- that this SetupIntent is allowed to use. If this is not provided,
-- defaults to ["card"].
[postSetupIntentsRequestBodyPaymentMethodTypes] :: PostSetupIntentsRequestBody -> Maybe [Text]
-- | return_url: The URL to redirect your customer back to after they
-- authenticate or cancel their payment on the payment method's app or
-- site. If you'd prefer to redirect to a mobile application, you can
-- alternatively supply an application URI scheme. This parameter can
-- only be used with `confirm=true`.
[postSetupIntentsRequestBodyReturnUrl] :: PostSetupIntentsRequestBody -> Maybe Text
-- | single_use: If this hash is populated, this SetupIntent will generate
-- a single_use Mandate on success.
[postSetupIntentsRequestBodySingleUse] :: PostSetupIntentsRequestBody -> Maybe PostSetupIntentsRequestBodySingleUse'
-- | usage: Indicates how the payment method is intended to be used in the
-- future. If not provided, this value defaults to `off_session`.
[postSetupIntentsRequestBodyUsage] :: PostSetupIntentsRequestBody -> Maybe PostSetupIntentsRequestBodyUsage'
-- | Create a new PostSetupIntentsRequestBody with all required
-- fields.
mkPostSetupIntentsRequestBody :: PostSetupIntentsRequestBody
-- | Defines the object schema located at
-- paths./v1/setup_intents.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.mandate_data
-- in the specification.
--
-- This hash contains details about the Mandate to create. This parameter
-- can only be used with `confirm=true`.
data PostSetupIntentsRequestBodyMandateData'
PostSetupIntentsRequestBodyMandateData' :: PostSetupIntentsRequestBodyMandateData'CustomerAcceptance' -> PostSetupIntentsRequestBodyMandateData'
-- | customer_acceptance
[postSetupIntentsRequestBodyMandateData'CustomerAcceptance] :: PostSetupIntentsRequestBodyMandateData' -> PostSetupIntentsRequestBodyMandateData'CustomerAcceptance'
-- | Create a new PostSetupIntentsRequestBodyMandateData' with all
-- required fields.
mkPostSetupIntentsRequestBodyMandateData' :: PostSetupIntentsRequestBodyMandateData'CustomerAcceptance' -> PostSetupIntentsRequestBodyMandateData'
-- | Defines the object schema located at
-- paths./v1/setup_intents.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.mandate_data.properties.customer_acceptance
-- in the specification.
data PostSetupIntentsRequestBodyMandateData'CustomerAcceptance'
PostSetupIntentsRequestBodyMandateData'CustomerAcceptance' :: Maybe Int -> Maybe Object -> Maybe PostSetupIntentsRequestBodyMandateData'CustomerAcceptance'Online' -> PostSetupIntentsRequestBodyMandateData'CustomerAcceptance'Type' -> PostSetupIntentsRequestBodyMandateData'CustomerAcceptance'
-- | accepted_at
[postSetupIntentsRequestBodyMandateData'CustomerAcceptance'AcceptedAt] :: PostSetupIntentsRequestBodyMandateData'CustomerAcceptance' -> Maybe Int
-- | offline
[postSetupIntentsRequestBodyMandateData'CustomerAcceptance'Offline] :: PostSetupIntentsRequestBodyMandateData'CustomerAcceptance' -> Maybe Object
-- | online
[postSetupIntentsRequestBodyMandateData'CustomerAcceptance'Online] :: PostSetupIntentsRequestBodyMandateData'CustomerAcceptance' -> Maybe PostSetupIntentsRequestBodyMandateData'CustomerAcceptance'Online'
-- | type
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSetupIntentsRequestBodyMandateData'CustomerAcceptance'Type] :: PostSetupIntentsRequestBodyMandateData'CustomerAcceptance' -> PostSetupIntentsRequestBodyMandateData'CustomerAcceptance'Type'
-- | Create a new
-- PostSetupIntentsRequestBodyMandateData'CustomerAcceptance' with
-- all required fields.
mkPostSetupIntentsRequestBodyMandateData'CustomerAcceptance' :: PostSetupIntentsRequestBodyMandateData'CustomerAcceptance'Type' -> PostSetupIntentsRequestBodyMandateData'CustomerAcceptance'
-- | Defines the object schema located at
-- paths./v1/setup_intents.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.mandate_data.properties.customer_acceptance.properties.online
-- in the specification.
data PostSetupIntentsRequestBodyMandateData'CustomerAcceptance'Online'
PostSetupIntentsRequestBodyMandateData'CustomerAcceptance'Online' :: Text -> Text -> PostSetupIntentsRequestBodyMandateData'CustomerAcceptance'Online'
-- | ip_address
[postSetupIntentsRequestBodyMandateData'CustomerAcceptance'Online'IpAddress] :: PostSetupIntentsRequestBodyMandateData'CustomerAcceptance'Online' -> Text
-- | user_agent
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSetupIntentsRequestBodyMandateData'CustomerAcceptance'Online'UserAgent] :: PostSetupIntentsRequestBodyMandateData'CustomerAcceptance'Online' -> Text
-- | Create a new
-- PostSetupIntentsRequestBodyMandateData'CustomerAcceptance'Online'
-- with all required fields.
mkPostSetupIntentsRequestBodyMandateData'CustomerAcceptance'Online' :: Text -> Text -> PostSetupIntentsRequestBodyMandateData'CustomerAcceptance'Online'
-- | Defines the enum schema located at
-- paths./v1/setup_intents.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.mandate_data.properties.customer_acceptance.properties.type
-- in the specification.
data PostSetupIntentsRequestBodyMandateData'CustomerAcceptance'Type'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostSetupIntentsRequestBodyMandateData'CustomerAcceptance'Type'Other :: Value -> PostSetupIntentsRequestBodyMandateData'CustomerAcceptance'Type'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostSetupIntentsRequestBodyMandateData'CustomerAcceptance'Type'Typed :: Text -> PostSetupIntentsRequestBodyMandateData'CustomerAcceptance'Type'
-- | Represents the JSON value "offline"
PostSetupIntentsRequestBodyMandateData'CustomerAcceptance'Type'EnumOffline :: PostSetupIntentsRequestBodyMandateData'CustomerAcceptance'Type'
-- | Represents the JSON value "online"
PostSetupIntentsRequestBodyMandateData'CustomerAcceptance'Type'EnumOnline :: PostSetupIntentsRequestBodyMandateData'CustomerAcceptance'Type'
-- | Defines the object schema located at
-- paths./v1/setup_intents.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options
-- in the specification.
--
-- Payment-method-specific configuration for this SetupIntent.
data PostSetupIntentsRequestBodyPaymentMethodOptions'
PostSetupIntentsRequestBodyPaymentMethodOptions' :: Maybe PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit' -> Maybe PostSetupIntentsRequestBodyPaymentMethodOptions'Card' -> Maybe PostSetupIntentsRequestBodyPaymentMethodOptions'SepaDebit' -> PostSetupIntentsRequestBodyPaymentMethodOptions'
-- | acss_debit
[postSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit] :: PostSetupIntentsRequestBodyPaymentMethodOptions' -> Maybe PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'
-- | card
[postSetupIntentsRequestBodyPaymentMethodOptions'Card] :: PostSetupIntentsRequestBodyPaymentMethodOptions' -> Maybe PostSetupIntentsRequestBodyPaymentMethodOptions'Card'
-- | sepa_debit
[postSetupIntentsRequestBodyPaymentMethodOptions'SepaDebit] :: PostSetupIntentsRequestBodyPaymentMethodOptions' -> Maybe PostSetupIntentsRequestBodyPaymentMethodOptions'SepaDebit'
-- | Create a new PostSetupIntentsRequestBodyPaymentMethodOptions'
-- with all required fields.
mkPostSetupIntentsRequestBodyPaymentMethodOptions' :: PostSetupIntentsRequestBodyPaymentMethodOptions'
-- | Defines the object schema located at
-- paths./v1/setup_intents.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.acss_debit
-- in the specification.
data PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'
PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit' :: Maybe PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'Currency' -> Maybe PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions' -> Maybe PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'VerificationMethod' -> PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'
-- | currency
[postSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'Currency] :: PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit' -> Maybe PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'Currency'
-- | mandate_options
[postSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions] :: PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit' -> Maybe PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'
-- | verification_method
[postSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'VerificationMethod] :: PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit' -> Maybe PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'VerificationMethod'
-- | Create a new
-- PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit' with
-- all required fields.
mkPostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit' :: PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'
-- | Defines the enum schema located at
-- paths./v1/setup_intents.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.acss_debit.properties.currency
-- in the specification.
data PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'Currency'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'Currency'Other :: Value -> PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'Currency'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'Currency'Typed :: Text -> PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'Currency'
-- | Represents the JSON value "cad"
PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'Currency'EnumCad :: PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'Currency'
-- | Represents the JSON value "usd"
PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'Currency'EnumUsd :: PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'Currency'
-- | Defines the object schema located at
-- paths./v1/setup_intents.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.acss_debit.properties.mandate_options
-- in the specification.
data PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'
PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions' :: Maybe PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'CustomMandateUrl'Variants -> Maybe Text -> Maybe PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'PaymentSchedule' -> Maybe PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'TransactionType' -> PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'
-- | custom_mandate_url
[postSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'CustomMandateUrl] :: PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions' -> Maybe PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'CustomMandateUrl'Variants
-- | interval_description
--
-- Constraints:
--
--
-- - Maximum length of 500
--
[postSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'IntervalDescription] :: PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions' -> Maybe Text
-- | payment_schedule
[postSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'PaymentSchedule] :: PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions' -> Maybe PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'PaymentSchedule'
-- | transaction_type
[postSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'TransactionType] :: PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions' -> Maybe PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'TransactionType'
-- | Create a new
-- PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'
-- with all required fields.
mkPostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions' :: PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'
-- | Defines the oneOf schema located at
-- paths./v1/setup_intents.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.acss_debit.properties.mandate_options.properties.custom_mandate_url.anyOf
-- in the specification.
data PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'CustomMandateUrl'Variants
-- | Represents the JSON value ""
PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'CustomMandateUrl'EmptyString :: PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'CustomMandateUrl'Variants
PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'CustomMandateUrl'Text :: Text -> PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'CustomMandateUrl'Variants
-- | Defines the enum schema located at
-- paths./v1/setup_intents.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.acss_debit.properties.mandate_options.properties.payment_schedule
-- in the specification.
data PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'PaymentSchedule'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'PaymentSchedule'Other :: Value -> PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'PaymentSchedule'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'PaymentSchedule'Typed :: Text -> PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'PaymentSchedule'
-- | Represents the JSON value "combined"
PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'PaymentSchedule'EnumCombined :: PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'PaymentSchedule'
-- | Represents the JSON value "interval"
PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'PaymentSchedule'EnumInterval :: PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'PaymentSchedule'
-- | Represents the JSON value "sporadic"
PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'PaymentSchedule'EnumSporadic :: PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'PaymentSchedule'
-- | Defines the enum schema located at
-- paths./v1/setup_intents.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.acss_debit.properties.mandate_options.properties.transaction_type
-- in the specification.
data PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'TransactionType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'TransactionType'Other :: Value -> PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'TransactionType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'TransactionType'Typed :: Text -> PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'TransactionType'
-- | Represents the JSON value "business"
PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'TransactionType'EnumBusiness :: PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'TransactionType'
-- | Represents the JSON value "personal"
PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'TransactionType'EnumPersonal :: PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'TransactionType'
-- | Defines the enum schema located at
-- paths./v1/setup_intents.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.acss_debit.properties.verification_method
-- in the specification.
data PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'VerificationMethod'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'VerificationMethod'Other :: Value -> PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'VerificationMethod'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'VerificationMethod'Typed :: Text -> PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'VerificationMethod'
-- | Represents the JSON value "automatic"
PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'VerificationMethod'EnumAutomatic :: PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'VerificationMethod'
-- | Represents the JSON value "instant"
PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'VerificationMethod'EnumInstant :: PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'VerificationMethod'
-- | Represents the JSON value "microdeposits"
PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'VerificationMethod'EnumMicrodeposits :: PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'VerificationMethod'
-- | Defines the object schema located at
-- paths./v1/setup_intents.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.card
-- in the specification.
data PostSetupIntentsRequestBodyPaymentMethodOptions'Card'
PostSetupIntentsRequestBodyPaymentMethodOptions'Card' :: Maybe PostSetupIntentsRequestBodyPaymentMethodOptions'Card'RequestThreeDSecure' -> PostSetupIntentsRequestBodyPaymentMethodOptions'Card'
-- | request_three_d_secure
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postSetupIntentsRequestBodyPaymentMethodOptions'Card'RequestThreeDSecure] :: PostSetupIntentsRequestBodyPaymentMethodOptions'Card' -> Maybe PostSetupIntentsRequestBodyPaymentMethodOptions'Card'RequestThreeDSecure'
-- | Create a new
-- PostSetupIntentsRequestBodyPaymentMethodOptions'Card' with all
-- required fields.
mkPostSetupIntentsRequestBodyPaymentMethodOptions'Card' :: PostSetupIntentsRequestBodyPaymentMethodOptions'Card'
-- | Defines the enum schema located at
-- paths./v1/setup_intents.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.card.properties.request_three_d_secure
-- in the specification.
data PostSetupIntentsRequestBodyPaymentMethodOptions'Card'RequestThreeDSecure'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostSetupIntentsRequestBodyPaymentMethodOptions'Card'RequestThreeDSecure'Other :: Value -> PostSetupIntentsRequestBodyPaymentMethodOptions'Card'RequestThreeDSecure'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostSetupIntentsRequestBodyPaymentMethodOptions'Card'RequestThreeDSecure'Typed :: Text -> PostSetupIntentsRequestBodyPaymentMethodOptions'Card'RequestThreeDSecure'
-- | Represents the JSON value "any"
PostSetupIntentsRequestBodyPaymentMethodOptions'Card'RequestThreeDSecure'EnumAny :: PostSetupIntentsRequestBodyPaymentMethodOptions'Card'RequestThreeDSecure'
-- | Represents the JSON value "automatic"
PostSetupIntentsRequestBodyPaymentMethodOptions'Card'RequestThreeDSecure'EnumAutomatic :: PostSetupIntentsRequestBodyPaymentMethodOptions'Card'RequestThreeDSecure'
-- | Defines the object schema located at
-- paths./v1/setup_intents.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.sepa_debit
-- in the specification.
data PostSetupIntentsRequestBodyPaymentMethodOptions'SepaDebit'
PostSetupIntentsRequestBodyPaymentMethodOptions'SepaDebit' :: Maybe Object -> PostSetupIntentsRequestBodyPaymentMethodOptions'SepaDebit'
-- | mandate_options
[postSetupIntentsRequestBodyPaymentMethodOptions'SepaDebit'MandateOptions] :: PostSetupIntentsRequestBodyPaymentMethodOptions'SepaDebit' -> Maybe Object
-- | Create a new
-- PostSetupIntentsRequestBodyPaymentMethodOptions'SepaDebit' with
-- all required fields.
mkPostSetupIntentsRequestBodyPaymentMethodOptions'SepaDebit' :: PostSetupIntentsRequestBodyPaymentMethodOptions'SepaDebit'
-- | Defines the object schema located at
-- paths./v1/setup_intents.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.single_use
-- in the specification.
--
-- If this hash is populated, this SetupIntent will generate a single_use
-- Mandate on success.
data PostSetupIntentsRequestBodySingleUse'
PostSetupIntentsRequestBodySingleUse' :: Int -> Text -> PostSetupIntentsRequestBodySingleUse'
-- | amount
[postSetupIntentsRequestBodySingleUse'Amount] :: PostSetupIntentsRequestBodySingleUse' -> Int
-- | currency
[postSetupIntentsRequestBodySingleUse'Currency] :: PostSetupIntentsRequestBodySingleUse' -> Text
-- | Create a new PostSetupIntentsRequestBodySingleUse' with all
-- required fields.
mkPostSetupIntentsRequestBodySingleUse' :: Int -> Text -> PostSetupIntentsRequestBodySingleUse'
-- | Defines the enum schema located at
-- paths./v1/setup_intents.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.usage
-- in the specification.
--
-- Indicates how the payment method is intended to be used in the future.
-- If not provided, this value defaults to `off_session`.
data PostSetupIntentsRequestBodyUsage'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostSetupIntentsRequestBodyUsage'Other :: Value -> PostSetupIntentsRequestBodyUsage'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostSetupIntentsRequestBodyUsage'Typed :: Text -> PostSetupIntentsRequestBodyUsage'
-- | Represents the JSON value "off_session"
PostSetupIntentsRequestBodyUsage'EnumOffSession :: PostSetupIntentsRequestBodyUsage'
-- | Represents the JSON value "on_session"
PostSetupIntentsRequestBodyUsage'EnumOnSession :: PostSetupIntentsRequestBodyUsage'
-- | Represents a response of the operation postSetupIntents.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostSetupIntentsResponseError is used.
data PostSetupIntentsResponse
-- | Means either no matching case available or a parse error
PostSetupIntentsResponseError :: String -> PostSetupIntentsResponse
-- | Successful response.
PostSetupIntentsResponse200 :: SetupIntent -> PostSetupIntentsResponse
-- | Error response.
PostSetupIntentsResponseDefault :: Error -> PostSetupIntentsResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostSetupIntents.PostSetupIntentsRequestBodyMandateData'CustomerAcceptance'Online'
instance GHC.Show.Show StripeAPI.Operations.PostSetupIntents.PostSetupIntentsRequestBodyMandateData'CustomerAcceptance'Online'
instance GHC.Classes.Eq StripeAPI.Operations.PostSetupIntents.PostSetupIntentsRequestBodyMandateData'CustomerAcceptance'Type'
instance GHC.Show.Show StripeAPI.Operations.PostSetupIntents.PostSetupIntentsRequestBodyMandateData'CustomerAcceptance'Type'
instance GHC.Classes.Eq StripeAPI.Operations.PostSetupIntents.PostSetupIntentsRequestBodyMandateData'CustomerAcceptance'
instance GHC.Show.Show StripeAPI.Operations.PostSetupIntents.PostSetupIntentsRequestBodyMandateData'CustomerAcceptance'
instance GHC.Classes.Eq StripeAPI.Operations.PostSetupIntents.PostSetupIntentsRequestBodyMandateData'
instance GHC.Show.Show StripeAPI.Operations.PostSetupIntents.PostSetupIntentsRequestBodyMandateData'
instance GHC.Classes.Eq StripeAPI.Operations.PostSetupIntents.PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'Currency'
instance GHC.Show.Show StripeAPI.Operations.PostSetupIntents.PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'Currency'
instance GHC.Classes.Eq StripeAPI.Operations.PostSetupIntents.PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'CustomMandateUrl'Variants
instance GHC.Show.Show StripeAPI.Operations.PostSetupIntents.PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'CustomMandateUrl'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostSetupIntents.PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'PaymentSchedule'
instance GHC.Show.Show StripeAPI.Operations.PostSetupIntents.PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'PaymentSchedule'
instance GHC.Classes.Eq StripeAPI.Operations.PostSetupIntents.PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'TransactionType'
instance GHC.Show.Show StripeAPI.Operations.PostSetupIntents.PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'TransactionType'
instance GHC.Classes.Eq StripeAPI.Operations.PostSetupIntents.PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'
instance GHC.Show.Show StripeAPI.Operations.PostSetupIntents.PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'
instance GHC.Classes.Eq StripeAPI.Operations.PostSetupIntents.PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'VerificationMethod'
instance GHC.Show.Show StripeAPI.Operations.PostSetupIntents.PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'VerificationMethod'
instance GHC.Classes.Eq StripeAPI.Operations.PostSetupIntents.PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'
instance GHC.Show.Show StripeAPI.Operations.PostSetupIntents.PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'
instance GHC.Classes.Eq StripeAPI.Operations.PostSetupIntents.PostSetupIntentsRequestBodyPaymentMethodOptions'Card'RequestThreeDSecure'
instance GHC.Show.Show StripeAPI.Operations.PostSetupIntents.PostSetupIntentsRequestBodyPaymentMethodOptions'Card'RequestThreeDSecure'
instance GHC.Classes.Eq StripeAPI.Operations.PostSetupIntents.PostSetupIntentsRequestBodyPaymentMethodOptions'Card'
instance GHC.Show.Show StripeAPI.Operations.PostSetupIntents.PostSetupIntentsRequestBodyPaymentMethodOptions'Card'
instance GHC.Classes.Eq StripeAPI.Operations.PostSetupIntents.PostSetupIntentsRequestBodyPaymentMethodOptions'SepaDebit'
instance GHC.Show.Show StripeAPI.Operations.PostSetupIntents.PostSetupIntentsRequestBodyPaymentMethodOptions'SepaDebit'
instance GHC.Classes.Eq StripeAPI.Operations.PostSetupIntents.PostSetupIntentsRequestBodyPaymentMethodOptions'
instance GHC.Show.Show StripeAPI.Operations.PostSetupIntents.PostSetupIntentsRequestBodyPaymentMethodOptions'
instance GHC.Classes.Eq StripeAPI.Operations.PostSetupIntents.PostSetupIntentsRequestBodySingleUse'
instance GHC.Show.Show StripeAPI.Operations.PostSetupIntents.PostSetupIntentsRequestBodySingleUse'
instance GHC.Classes.Eq StripeAPI.Operations.PostSetupIntents.PostSetupIntentsRequestBodyUsage'
instance GHC.Show.Show StripeAPI.Operations.PostSetupIntents.PostSetupIntentsRequestBodyUsage'
instance GHC.Classes.Eq StripeAPI.Operations.PostSetupIntents.PostSetupIntentsRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostSetupIntents.PostSetupIntentsRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostSetupIntents.PostSetupIntentsResponse
instance GHC.Show.Show StripeAPI.Operations.PostSetupIntents.PostSetupIntentsResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSetupIntents.PostSetupIntentsRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSetupIntents.PostSetupIntentsRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSetupIntents.PostSetupIntentsRequestBodyUsage'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSetupIntents.PostSetupIntentsRequestBodyUsage'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSetupIntents.PostSetupIntentsRequestBodySingleUse'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSetupIntents.PostSetupIntentsRequestBodySingleUse'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSetupIntents.PostSetupIntentsRequestBodyPaymentMethodOptions'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSetupIntents.PostSetupIntentsRequestBodyPaymentMethodOptions'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSetupIntents.PostSetupIntentsRequestBodyPaymentMethodOptions'SepaDebit'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSetupIntents.PostSetupIntentsRequestBodyPaymentMethodOptions'SepaDebit'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSetupIntents.PostSetupIntentsRequestBodyPaymentMethodOptions'Card'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSetupIntents.PostSetupIntentsRequestBodyPaymentMethodOptions'Card'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSetupIntents.PostSetupIntentsRequestBodyPaymentMethodOptions'Card'RequestThreeDSecure'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSetupIntents.PostSetupIntentsRequestBodyPaymentMethodOptions'Card'RequestThreeDSecure'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSetupIntents.PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSetupIntents.PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSetupIntents.PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'VerificationMethod'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSetupIntents.PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'VerificationMethod'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSetupIntents.PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSetupIntents.PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSetupIntents.PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'TransactionType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSetupIntents.PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'TransactionType'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSetupIntents.PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'PaymentSchedule'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSetupIntents.PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'PaymentSchedule'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSetupIntents.PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'CustomMandateUrl'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSetupIntents.PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'CustomMandateUrl'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSetupIntents.PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'Currency'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSetupIntents.PostSetupIntentsRequestBodyPaymentMethodOptions'AcssDebit'Currency'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSetupIntents.PostSetupIntentsRequestBodyMandateData'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSetupIntents.PostSetupIntentsRequestBodyMandateData'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSetupIntents.PostSetupIntentsRequestBodyMandateData'CustomerAcceptance'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSetupIntents.PostSetupIntentsRequestBodyMandateData'CustomerAcceptance'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSetupIntents.PostSetupIntentsRequestBodyMandateData'CustomerAcceptance'Type'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSetupIntents.PostSetupIntentsRequestBodyMandateData'CustomerAcceptance'Type'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostSetupIntents.PostSetupIntentsRequestBodyMandateData'CustomerAcceptance'Online'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostSetupIntents.PostSetupIntentsRequestBodyMandateData'CustomerAcceptance'Online'
-- | Contains the different functions to run the operation
-- postReviewsReviewApprove
module StripeAPI.Operations.PostReviewsReviewApprove
-- |
-- POST /v1/reviews/{review}/approve
--
--
-- <p>Approves a <code>Review</code> object, closing it
-- and removing it from the list of reviews.</p>
postReviewsReviewApprove :: forall m. MonadHTTP m => Text -> Maybe PostReviewsReviewApproveRequestBody -> ClientT m (Response PostReviewsReviewApproveResponse)
-- | Defines the object schema located at
-- paths./v1/reviews/{review}/approve.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostReviewsReviewApproveRequestBody
PostReviewsReviewApproveRequestBody :: Maybe [Text] -> PostReviewsReviewApproveRequestBody
-- | expand: Specifies which fields in the response should be expanded.
[postReviewsReviewApproveRequestBodyExpand] :: PostReviewsReviewApproveRequestBody -> Maybe [Text]
-- | Create a new PostReviewsReviewApproveRequestBody with all
-- required fields.
mkPostReviewsReviewApproveRequestBody :: PostReviewsReviewApproveRequestBody
-- | Represents a response of the operation
-- postReviewsReviewApprove.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostReviewsReviewApproveResponseError
-- is used.
data PostReviewsReviewApproveResponse
-- | Means either no matching case available or a parse error
PostReviewsReviewApproveResponseError :: String -> PostReviewsReviewApproveResponse
-- | Successful response.
PostReviewsReviewApproveResponse200 :: Review -> PostReviewsReviewApproveResponse
-- | Error response.
PostReviewsReviewApproveResponseDefault :: Error -> PostReviewsReviewApproveResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostReviewsReviewApprove.PostReviewsReviewApproveRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostReviewsReviewApprove.PostReviewsReviewApproveRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostReviewsReviewApprove.PostReviewsReviewApproveResponse
instance GHC.Show.Show StripeAPI.Operations.PostReviewsReviewApprove.PostReviewsReviewApproveResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostReviewsReviewApprove.PostReviewsReviewApproveRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostReviewsReviewApprove.PostReviewsReviewApproveRequestBody
-- | Contains the different functions to run the operation
-- postReportingReportRuns
module StripeAPI.Operations.PostReportingReportRuns
-- |
-- POST /v1/reporting/report_runs
--
--
-- <p>Creates a new object and begin running the report. (Certain
-- report types require a <a
-- href="https://stripe.com/docs/keys#test-live-modes">live-mode API
-- key</a>.)</p>
postReportingReportRuns :: forall m. MonadHTTP m => PostReportingReportRunsRequestBody -> ClientT m (Response PostReportingReportRunsResponse)
-- | Defines the object schema located at
-- paths./v1/reporting/report_runs.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostReportingReportRunsRequestBody
PostReportingReportRunsRequestBody :: Maybe [Text] -> Maybe PostReportingReportRunsRequestBodyParameters' -> Text -> PostReportingReportRunsRequestBody
-- | expand: Specifies which fields in the response should be expanded.
[postReportingReportRunsRequestBodyExpand] :: PostReportingReportRunsRequestBody -> Maybe [Text]
-- | parameters: Parameters specifying how the report should be run.
-- Different Report Types have different required and optional
-- parameters, listed in the API Access to Reports documentation.
[postReportingReportRunsRequestBodyParameters] :: PostReportingReportRunsRequestBody -> Maybe PostReportingReportRunsRequestBodyParameters'
-- | report_type: The ID of the report type to run, such as
-- `"balance.summary.1"`.
[postReportingReportRunsRequestBodyReportType] :: PostReportingReportRunsRequestBody -> Text
-- | Create a new PostReportingReportRunsRequestBody with all
-- required fields.
mkPostReportingReportRunsRequestBody :: Text -> PostReportingReportRunsRequestBody
-- | Defines the object schema located at
-- paths./v1/reporting/report_runs.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.parameters
-- in the specification.
--
-- Parameters specifying how the report should be run. Different Report
-- Types have different required and optional parameters, listed in the
-- API Access to Reports documentation.
data PostReportingReportRunsRequestBodyParameters'
PostReportingReportRunsRequestBodyParameters' :: Maybe [Text] -> Maybe Text -> Maybe Text -> Maybe Int -> Maybe Int -> Maybe Text -> Maybe PostReportingReportRunsRequestBodyParameters'ReportingCategory' -> Maybe PostReportingReportRunsRequestBodyParameters'Timezone' -> PostReportingReportRunsRequestBodyParameters'
-- | columns
[postReportingReportRunsRequestBodyParameters'Columns] :: PostReportingReportRunsRequestBodyParameters' -> Maybe [Text]
-- | connected_account
[postReportingReportRunsRequestBodyParameters'ConnectedAccount] :: PostReportingReportRunsRequestBodyParameters' -> Maybe Text
-- | currency
[postReportingReportRunsRequestBodyParameters'Currency] :: PostReportingReportRunsRequestBodyParameters' -> Maybe Text
-- | interval_end
[postReportingReportRunsRequestBodyParameters'IntervalEnd] :: PostReportingReportRunsRequestBodyParameters' -> Maybe Int
-- | interval_start
[postReportingReportRunsRequestBodyParameters'IntervalStart] :: PostReportingReportRunsRequestBodyParameters' -> Maybe Int
-- | payout
[postReportingReportRunsRequestBodyParameters'Payout] :: PostReportingReportRunsRequestBodyParameters' -> Maybe Text
-- | reporting_category
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postReportingReportRunsRequestBodyParameters'ReportingCategory] :: PostReportingReportRunsRequestBodyParameters' -> Maybe PostReportingReportRunsRequestBodyParameters'ReportingCategory'
-- | timezone
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postReportingReportRunsRequestBodyParameters'Timezone] :: PostReportingReportRunsRequestBodyParameters' -> Maybe PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Create a new PostReportingReportRunsRequestBodyParameters' with
-- all required fields.
mkPostReportingReportRunsRequestBodyParameters' :: PostReportingReportRunsRequestBodyParameters'
-- | Defines the enum schema located at
-- paths./v1/reporting/report_runs.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.parameters.properties.reporting_category
-- in the specification.
data PostReportingReportRunsRequestBodyParameters'ReportingCategory'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostReportingReportRunsRequestBodyParameters'ReportingCategory'Other :: Value -> PostReportingReportRunsRequestBodyParameters'ReportingCategory'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostReportingReportRunsRequestBodyParameters'ReportingCategory'Typed :: Text -> PostReportingReportRunsRequestBodyParameters'ReportingCategory'
-- | Represents the JSON value "advance"
PostReportingReportRunsRequestBodyParameters'ReportingCategory'EnumAdvance :: PostReportingReportRunsRequestBodyParameters'ReportingCategory'
-- | Represents the JSON value "advance_funding"
PostReportingReportRunsRequestBodyParameters'ReportingCategory'EnumAdvanceFunding :: PostReportingReportRunsRequestBodyParameters'ReportingCategory'
-- | Represents the JSON value "anticipation_repayment"
PostReportingReportRunsRequestBodyParameters'ReportingCategory'EnumAnticipationRepayment :: PostReportingReportRunsRequestBodyParameters'ReportingCategory'
-- | Represents the JSON value "charge"
PostReportingReportRunsRequestBodyParameters'ReportingCategory'EnumCharge :: PostReportingReportRunsRequestBodyParameters'ReportingCategory'
-- | Represents the JSON value "charge_failure"
PostReportingReportRunsRequestBodyParameters'ReportingCategory'EnumChargeFailure :: PostReportingReportRunsRequestBodyParameters'ReportingCategory'
-- | Represents the JSON value "connect_collection_transfer"
PostReportingReportRunsRequestBodyParameters'ReportingCategory'EnumConnectCollectionTransfer :: PostReportingReportRunsRequestBodyParameters'ReportingCategory'
-- | Represents the JSON value "connect_reserved_funds"
PostReportingReportRunsRequestBodyParameters'ReportingCategory'EnumConnectReservedFunds :: PostReportingReportRunsRequestBodyParameters'ReportingCategory'
-- | Represents the JSON value "contribution"
PostReportingReportRunsRequestBodyParameters'ReportingCategory'EnumContribution :: PostReportingReportRunsRequestBodyParameters'ReportingCategory'
-- | Represents the JSON value "dispute"
PostReportingReportRunsRequestBodyParameters'ReportingCategory'EnumDispute :: PostReportingReportRunsRequestBodyParameters'ReportingCategory'
-- | Represents the JSON value "dispute_reversal"
PostReportingReportRunsRequestBodyParameters'ReportingCategory'EnumDisputeReversal :: PostReportingReportRunsRequestBodyParameters'ReportingCategory'
-- | Represents the JSON value "fee"
PostReportingReportRunsRequestBodyParameters'ReportingCategory'EnumFee :: PostReportingReportRunsRequestBodyParameters'ReportingCategory'
-- | Represents the JSON value "financing_paydown"
PostReportingReportRunsRequestBodyParameters'ReportingCategory'EnumFinancingPaydown :: PostReportingReportRunsRequestBodyParameters'ReportingCategory'
-- | Represents the JSON value "financing_paydown_reversal"
PostReportingReportRunsRequestBodyParameters'ReportingCategory'EnumFinancingPaydownReversal :: PostReportingReportRunsRequestBodyParameters'ReportingCategory'
-- | Represents the JSON value "financing_payout"
PostReportingReportRunsRequestBodyParameters'ReportingCategory'EnumFinancingPayout :: PostReportingReportRunsRequestBodyParameters'ReportingCategory'
-- | Represents the JSON value "financing_payout_reversal"
PostReportingReportRunsRequestBodyParameters'ReportingCategory'EnumFinancingPayoutReversal :: PostReportingReportRunsRequestBodyParameters'ReportingCategory'
-- | Represents the JSON value "issuing_authorization_hold"
PostReportingReportRunsRequestBodyParameters'ReportingCategory'EnumIssuingAuthorizationHold :: PostReportingReportRunsRequestBodyParameters'ReportingCategory'
-- | Represents the JSON value "issuing_authorization_release"
PostReportingReportRunsRequestBodyParameters'ReportingCategory'EnumIssuingAuthorizationRelease :: PostReportingReportRunsRequestBodyParameters'ReportingCategory'
-- | Represents the JSON value "issuing_dispute"
PostReportingReportRunsRequestBodyParameters'ReportingCategory'EnumIssuingDispute :: PostReportingReportRunsRequestBodyParameters'ReportingCategory'
-- | Represents the JSON value "issuing_transaction"
PostReportingReportRunsRequestBodyParameters'ReportingCategory'EnumIssuingTransaction :: PostReportingReportRunsRequestBodyParameters'ReportingCategory'
-- | Represents the JSON value "network_cost"
PostReportingReportRunsRequestBodyParameters'ReportingCategory'EnumNetworkCost :: PostReportingReportRunsRequestBodyParameters'ReportingCategory'
-- | Represents the JSON value "other_adjustment"
PostReportingReportRunsRequestBodyParameters'ReportingCategory'EnumOtherAdjustment :: PostReportingReportRunsRequestBodyParameters'ReportingCategory'
-- | Represents the JSON value "partial_capture_reversal"
PostReportingReportRunsRequestBodyParameters'ReportingCategory'EnumPartialCaptureReversal :: PostReportingReportRunsRequestBodyParameters'ReportingCategory'
-- | Represents the JSON value "payout"
PostReportingReportRunsRequestBodyParameters'ReportingCategory'EnumPayout :: PostReportingReportRunsRequestBodyParameters'ReportingCategory'
-- | Represents the JSON value "payout_reversal"
PostReportingReportRunsRequestBodyParameters'ReportingCategory'EnumPayoutReversal :: PostReportingReportRunsRequestBodyParameters'ReportingCategory'
-- | Represents the JSON value "platform_earning"
PostReportingReportRunsRequestBodyParameters'ReportingCategory'EnumPlatformEarning :: PostReportingReportRunsRequestBodyParameters'ReportingCategory'
-- | Represents the JSON value "platform_earning_refund"
PostReportingReportRunsRequestBodyParameters'ReportingCategory'EnumPlatformEarningRefund :: PostReportingReportRunsRequestBodyParameters'ReportingCategory'
-- | Represents the JSON value "refund"
PostReportingReportRunsRequestBodyParameters'ReportingCategory'EnumRefund :: PostReportingReportRunsRequestBodyParameters'ReportingCategory'
-- | Represents the JSON value "refund_failure"
PostReportingReportRunsRequestBodyParameters'ReportingCategory'EnumRefundFailure :: PostReportingReportRunsRequestBodyParameters'ReportingCategory'
-- | Represents the JSON value "risk_reserved_funds"
PostReportingReportRunsRequestBodyParameters'ReportingCategory'EnumRiskReservedFunds :: PostReportingReportRunsRequestBodyParameters'ReportingCategory'
-- | Represents the JSON value "tax"
PostReportingReportRunsRequestBodyParameters'ReportingCategory'EnumTax :: PostReportingReportRunsRequestBodyParameters'ReportingCategory'
-- | Represents the JSON value "topup"
PostReportingReportRunsRequestBodyParameters'ReportingCategory'EnumTopup :: PostReportingReportRunsRequestBodyParameters'ReportingCategory'
-- | Represents the JSON value "topup_reversal"
PostReportingReportRunsRequestBodyParameters'ReportingCategory'EnumTopupReversal :: PostReportingReportRunsRequestBodyParameters'ReportingCategory'
-- | Represents the JSON value "transfer"
PostReportingReportRunsRequestBodyParameters'ReportingCategory'EnumTransfer :: PostReportingReportRunsRequestBodyParameters'ReportingCategory'
-- | Represents the JSON value "transfer_reversal"
PostReportingReportRunsRequestBodyParameters'ReportingCategory'EnumTransferReversal :: PostReportingReportRunsRequestBodyParameters'ReportingCategory'
-- | Defines the enum schema located at
-- paths./v1/reporting/report_runs.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.parameters.properties.timezone
-- in the specification.
data PostReportingReportRunsRequestBodyParameters'Timezone'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostReportingReportRunsRequestBodyParameters'Timezone'Other :: Value -> PostReportingReportRunsRequestBodyParameters'Timezone'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostReportingReportRunsRequestBodyParameters'Timezone'Typed :: Text -> PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Africa/Abidjan"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAfricaAbidjan :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Africa/Accra"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAfricaAccra :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Africa/Addis_Ababa"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAfricaAddisAbaba :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Africa/Algiers"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAfricaAlgiers :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Africa/Asmara"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAfricaAsmara :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Africa/Asmera"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAfricaAsmera :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Africa/Bamako"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAfricaBamako :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Africa/Bangui"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAfricaBangui :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Africa/Banjul"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAfricaBanjul :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Africa/Bissau"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAfricaBissau :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Africa/Blantyre"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAfricaBlantyre :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Africa/Brazzaville"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAfricaBrazzaville :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Africa/Bujumbura"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAfricaBujumbura :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Africa/Cairo"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAfricaCairo :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Africa/Casablanca"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAfricaCasablanca :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Africa/Ceuta"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAfricaCeuta :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Africa/Conakry"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAfricaConakry :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Africa/Dakar"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAfricaDakar :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Africa/Dar_es_Salaam"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAfricaDarEsSalaam :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Africa/Djibouti"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAfricaDjibouti :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Africa/Douala"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAfricaDouala :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Africa/El_Aaiun"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAfricaElAaiun :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Africa/Freetown"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAfricaFreetown :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Africa/Gaborone"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAfricaGaborone :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Africa/Harare"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAfricaHarare :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Africa/Johannesburg"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAfricaJohannesburg :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Africa/Juba"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAfricaJuba :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Africa/Kampala"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAfricaKampala :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Africa/Khartoum"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAfricaKhartoum :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Africa/Kigali"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAfricaKigali :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Africa/Kinshasa"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAfricaKinshasa :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Africa/Lagos"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAfricaLagos :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Africa/Libreville"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAfricaLibreville :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Africa/Lome"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAfricaLome :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Africa/Luanda"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAfricaLuanda :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Africa/Lubumbashi"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAfricaLubumbashi :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Africa/Lusaka"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAfricaLusaka :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Africa/Malabo"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAfricaMalabo :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Africa/Maputo"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAfricaMaputo :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Africa/Maseru"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAfricaMaseru :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Africa/Mbabane"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAfricaMbabane :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Africa/Mogadishu"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAfricaMogadishu :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Africa/Monrovia"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAfricaMonrovia :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Africa/Nairobi"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAfricaNairobi :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Africa/Ndjamena"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAfricaNdjamena :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Africa/Niamey"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAfricaNiamey :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Africa/Nouakchott"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAfricaNouakchott :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Africa/Ouagadougou"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAfricaOuagadougou :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Africa/Porto-Novo"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAfricaPortoNovo :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Africa/Sao_Tome"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAfricaSaoTome :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Africa/Timbuktu"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAfricaTimbuktu :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Africa/Tripoli"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAfricaTripoli :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Africa/Tunis"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAfricaTunis :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Africa/Windhoek"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAfricaWindhoek :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Adak"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaAdak :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Anchorage"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaAnchorage :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Anguilla"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaAnguilla :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Antigua"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaAntigua :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Araguaina"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaAraguaina :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value
-- "AmericaArgentinaBuenos_Aires"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaArgentinaBuenosAires :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "AmericaArgentinaCatamarca"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaArgentinaCatamarca :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value
-- "AmericaArgentinaComodRivadavia"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaArgentinaComodRivadavia :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "AmericaArgentinaCordoba"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaArgentinaCordoba :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "AmericaArgentinaJujuy"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaArgentinaJujuy :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "AmericaArgentinaLa_Rioja"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaArgentinaLaRioja :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "AmericaArgentinaMendoza"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaArgentinaMendoza :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value
-- "AmericaArgentinaRio_Gallegos"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaArgentinaRioGallegos :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "AmericaArgentinaSalta"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaArgentinaSalta :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "AmericaArgentinaSan_Juan"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaArgentinaSanJuan :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "AmericaArgentinaSan_Luis"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaArgentinaSanLuis :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "AmericaArgentinaTucuman"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaArgentinaTucuman :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "AmericaArgentinaUshuaia"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaArgentinaUshuaia :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Aruba"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaAruba :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Asuncion"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaAsuncion :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Atikokan"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaAtikokan :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Atka"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaAtka :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Bahia"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaBahia :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Bahia_Banderas"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaBahiaBanderas :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Barbados"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaBarbados :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Belem"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaBelem :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Belize"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaBelize :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Blanc-Sablon"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaBlancSablon :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Boa_Vista"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaBoaVista :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Bogota"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaBogota :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Boise"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaBoise :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Buenos_Aires"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaBuenosAires :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Cambridge_Bay"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaCambridgeBay :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Campo_Grande"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaCampoGrande :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Cancun"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaCancun :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Caracas"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaCaracas :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Catamarca"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaCatamarca :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Cayenne"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaCayenne :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Cayman"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaCayman :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Chicago"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaChicago :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Chihuahua"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaChihuahua :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Coral_Harbour"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaCoralHarbour :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Cordoba"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaCordoba :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Costa_Rica"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaCostaRica :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Creston"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaCreston :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Cuiaba"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaCuiaba :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Curacao"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaCuracao :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Danmarkshavn"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaDanmarkshavn :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Dawson"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaDawson :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Dawson_Creek"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaDawsonCreek :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Denver"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaDenver :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Detroit"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaDetroit :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Dominica"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaDominica :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Edmonton"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaEdmonton :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Eirunepe"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaEirunepe :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/El_Salvador"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaElSalvador :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Ensenada"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaEnsenada :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Fort_Nelson"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaFortNelson :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Fort_Wayne"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaFortWayne :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Fortaleza"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaFortaleza :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Glace_Bay"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaGlaceBay :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Godthab"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaGodthab :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Goose_Bay"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaGooseBay :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Grand_Turk"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaGrandTurk :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Grenada"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaGrenada :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Guadeloupe"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaGuadeloupe :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Guatemala"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaGuatemala :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Guayaquil"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaGuayaquil :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Guyana"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaGuyana :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Halifax"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaHalifax :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Havana"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaHavana :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Hermosillo"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaHermosillo :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "AmericaIndianaIndianapolis"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaIndianaIndianapolis :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "AmericaIndianaKnox"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaIndianaKnox :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "AmericaIndianaMarengo"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaIndianaMarengo :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "AmericaIndianaPetersburg"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaIndianaPetersburg :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "AmericaIndianaTell_City"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaIndianaTellCity :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "AmericaIndianaVevay"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaIndianaVevay :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "AmericaIndianaVincennes"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaIndianaVincennes :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "AmericaIndianaWinamac"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaIndianaWinamac :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Indianapolis"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaIndianapolis :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Inuvik"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaInuvik :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Iqaluit"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaIqaluit :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Jamaica"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaJamaica :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Jujuy"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaJujuy :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Juneau"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaJuneau :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "AmericaKentuckyLouisville"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaKentuckyLouisville :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "AmericaKentuckyMonticello"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaKentuckyMonticello :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Knox_IN"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaKnoxIN :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Kralendijk"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaKralendijk :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/La_Paz"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaLaPaz :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Lima"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaLima :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Los_Angeles"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaLosAngeles :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Louisville"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaLouisville :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Lower_Princes"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaLowerPrinces :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Maceio"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaMaceio :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Managua"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaManagua :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Manaus"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaManaus :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Marigot"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaMarigot :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Martinique"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaMartinique :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Matamoros"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaMatamoros :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Mazatlan"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaMazatlan :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Mendoza"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaMendoza :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Menominee"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaMenominee :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Merida"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaMerida :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Metlakatla"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaMetlakatla :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Mexico_City"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaMexicoCity :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Miquelon"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaMiquelon :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Moncton"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaMoncton :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Monterrey"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaMonterrey :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Montevideo"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaMontevideo :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Montreal"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaMontreal :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Montserrat"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaMontserrat :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Nassau"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaNassau :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/New_York"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaNewYork :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Nipigon"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaNipigon :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Nome"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaNome :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Noronha"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaNoronha :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "AmericaNorth_DakotaBeulah"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaNorthDakotaBeulah :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "AmericaNorth_DakotaCenter"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaNorthDakotaCenter :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value
-- "AmericaNorth_DakotaNew_Salem"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaNorthDakotaNewSalem :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Ojinaga"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaOjinaga :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Panama"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaPanama :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Pangnirtung"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaPangnirtung :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Paramaribo"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaParamaribo :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Phoenix"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaPhoenix :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Port-au-Prince"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaPortAuPrince :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Port_of_Spain"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaPortOfSpain :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Porto_Acre"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaPortoAcre :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Porto_Velho"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaPortoVelho :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Puerto_Rico"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaPuertoRico :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Punta_Arenas"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaPuntaArenas :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Rainy_River"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaRainyRiver :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Rankin_Inlet"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaRankinInlet :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Recife"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaRecife :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Regina"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaRegina :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Resolute"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaResolute :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Rio_Branco"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaRioBranco :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Rosario"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaRosario :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Santa_Isabel"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaSantaIsabel :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Santarem"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaSantarem :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Santiago"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaSantiago :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Santo_Domingo"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaSantoDomingo :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Sao_Paulo"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaSaoPaulo :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Scoresbysund"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaScoresbysund :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Shiprock"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaShiprock :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Sitka"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaSitka :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/St_Barthelemy"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaStBarthelemy :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/St_Johns"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaStJohns :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/St_Kitts"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaStKitts :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/St_Lucia"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaStLucia :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/St_Thomas"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaStThomas :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/St_Vincent"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaStVincent :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Swift_Current"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaSwiftCurrent :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Tegucigalpa"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaTegucigalpa :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Thule"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaThule :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Thunder_Bay"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaThunderBay :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Tijuana"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaTijuana :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Toronto"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaToronto :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Tortola"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaTortola :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Vancouver"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaVancouver :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Virgin"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaVirgin :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Whitehorse"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaWhitehorse :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Winnipeg"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaWinnipeg :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Yakutat"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaYakutat :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "America/Yellowknife"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAmericaYellowknife :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Antarctica/Casey"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAntarcticaCasey :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Antarctica/Davis"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAntarcticaDavis :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Antarctica/DumontDUrville"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAntarcticaDumontDUrville :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Antarctica/Macquarie"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAntarcticaMacquarie :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Antarctica/Mawson"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAntarcticaMawson :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Antarctica/McMurdo"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAntarcticaMcMurdo :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Antarctica/Palmer"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAntarcticaPalmer :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Antarctica/Rothera"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAntarcticaRothera :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Antarctica/South_Pole"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAntarcticaSouthPole :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Antarctica/Syowa"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAntarcticaSyowa :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Antarctica/Troll"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAntarcticaTroll :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Antarctica/Vostok"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAntarcticaVostok :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Arctic/Longyearbyen"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumArcticLongyearbyen :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Aden"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaAden :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Almaty"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaAlmaty :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Amman"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaAmman :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Anadyr"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaAnadyr :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Aqtau"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaAqtau :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Aqtobe"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaAqtobe :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Ashgabat"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaAshgabat :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Ashkhabad"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaAshkhabad :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Atyrau"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaAtyrau :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Baghdad"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaBaghdad :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Bahrain"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaBahrain :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Baku"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaBaku :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Bangkok"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaBangkok :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Barnaul"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaBarnaul :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Beirut"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaBeirut :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Bishkek"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaBishkek :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Brunei"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaBrunei :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Calcutta"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaCalcutta :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Chita"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaChita :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Choibalsan"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaChoibalsan :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Chongqing"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaChongqing :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Chungking"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaChungking :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Colombo"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaColombo :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Dacca"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaDacca :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Damascus"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaDamascus :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Dhaka"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaDhaka :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Dili"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaDili :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Dubai"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaDubai :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Dushanbe"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaDushanbe :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Famagusta"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaFamagusta :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Gaza"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaGaza :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Harbin"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaHarbin :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Hebron"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaHebron :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Ho_Chi_Minh"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaHoChiMinh :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Hong_Kong"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaHongKong :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Hovd"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaHovd :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Irkutsk"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaIrkutsk :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Istanbul"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaIstanbul :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Jakarta"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaJakarta :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Jayapura"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaJayapura :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Jerusalem"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaJerusalem :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Kabul"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaKabul :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Kamchatka"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaKamchatka :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Karachi"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaKarachi :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Kashgar"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaKashgar :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Kathmandu"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaKathmandu :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Katmandu"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaKatmandu :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Khandyga"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaKhandyga :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Kolkata"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaKolkata :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Krasnoyarsk"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaKrasnoyarsk :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Kuala_Lumpur"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaKualaLumpur :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Kuching"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaKuching :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Kuwait"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaKuwait :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Macao"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaMacao :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Macau"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaMacau :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Magadan"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaMagadan :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Makassar"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaMakassar :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Manila"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaManila :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Muscat"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaMuscat :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Nicosia"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaNicosia :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Novokuznetsk"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaNovokuznetsk :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Novosibirsk"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaNovosibirsk :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Omsk"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaOmsk :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Oral"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaOral :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Phnom_Penh"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaPhnomPenh :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Pontianak"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaPontianak :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Pyongyang"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaPyongyang :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Qatar"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaQatar :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Qostanay"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaQostanay :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Qyzylorda"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaQyzylorda :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Rangoon"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaRangoon :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Riyadh"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaRiyadh :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Saigon"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaSaigon :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Sakhalin"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaSakhalin :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Samarkand"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaSamarkand :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Seoul"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaSeoul :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Shanghai"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaShanghai :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Singapore"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaSingapore :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Srednekolymsk"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaSrednekolymsk :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Taipei"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaTaipei :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Tashkent"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaTashkent :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Tbilisi"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaTbilisi :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Tehran"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaTehran :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Tel_Aviv"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaTelAviv :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Thimbu"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaThimbu :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Thimphu"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaThimphu :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Tokyo"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaTokyo :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Tomsk"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaTomsk :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Ujung_Pandang"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaUjungPandang :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Ulaanbaatar"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaUlaanbaatar :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Ulan_Bator"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaUlanBator :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Urumqi"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaUrumqi :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Ust-Nera"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaUstNera :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Vientiane"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaVientiane :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Vladivostok"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaVladivostok :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Yakutsk"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaYakutsk :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Yangon"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaYangon :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Yekaterinburg"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaYekaterinburg :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Asia/Yerevan"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAsiaYerevan :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Atlantic/Azores"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAtlanticAzores :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Atlantic/Bermuda"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAtlanticBermuda :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Atlantic/Canary"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAtlanticCanary :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Atlantic/Cape_Verde"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAtlanticCapeVerde :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Atlantic/Faeroe"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAtlanticFaeroe :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Atlantic/Faroe"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAtlanticFaroe :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Atlantic/Jan_Mayen"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAtlanticJanMayen :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Atlantic/Madeira"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAtlanticMadeira :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Atlantic/Reykjavik"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAtlanticReykjavik :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Atlantic/South_Georgia"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAtlanticSouthGeorgia :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Atlantic/St_Helena"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAtlanticStHelena :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Atlantic/Stanley"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAtlanticStanley :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Australia/ACT"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAustraliaACT :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Australia/Adelaide"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAustraliaAdelaide :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Australia/Brisbane"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAustraliaBrisbane :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Australia/Broken_Hill"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAustraliaBrokenHill :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Australia/Canberra"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAustraliaCanberra :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Australia/Currie"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAustraliaCurrie :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Australia/Darwin"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAustraliaDarwin :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Australia/Eucla"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAustraliaEucla :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Australia/Hobart"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAustraliaHobart :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Australia/LHI"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAustraliaLHI :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Australia/Lindeman"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAustraliaLindeman :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Australia/Lord_Howe"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAustraliaLordHowe :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Australia/Melbourne"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAustraliaMelbourne :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Australia/NSW"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAustraliaNSW :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Australia/North"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAustraliaNorth :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Australia/Perth"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAustraliaPerth :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Australia/Queensland"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAustraliaQueensland :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Australia/South"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAustraliaSouth :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Australia/Sydney"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAustraliaSydney :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Australia/Tasmania"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAustraliaTasmania :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Australia/Victoria"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAustraliaVictoria :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Australia/West"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAustraliaWest :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Australia/Yancowinna"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumAustraliaYancowinna :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Brazil/Acre"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumBrazilAcre :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Brazil/DeNoronha"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumBrazilDeNoronha :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Brazil/East"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumBrazilEast :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Brazil/West"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumBrazilWest :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value CET
PostReportingReportRunsRequestBodyParameters'Timezone'EnumCET :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value CST6CDT
PostReportingReportRunsRequestBodyParameters'Timezone'EnumCST6CDT :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Canada/Atlantic"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumCanadaAtlantic :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Canada/Central"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumCanadaCentral :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Canada/Eastern"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumCanadaEastern :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Canada/Mountain"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumCanadaMountain :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Canada/Newfoundland"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumCanadaNewfoundland :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Canada/Pacific"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumCanadaPacific :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Canada/Saskatchewan"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumCanadaSaskatchewan :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Canada/Yukon"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumCanadaYukon :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Chile/Continental"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumChileContinental :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Chile/EasterIsland"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumChileEasterIsland :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value Cuba
PostReportingReportRunsRequestBodyParameters'Timezone'EnumCuba :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value EET
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEET :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value EST
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEST :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value EST5EDT
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEST5EDT :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value Egypt
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEgypt :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value Eire
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEire :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Etc/GMT"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEtcGMT :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Etc/GMT+0"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEtcGMTPlus0 :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Etc/GMT+1"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEtcGMTPlus1 :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Etc/GMT+10"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEtcGMTPlus10 :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Etc/GMT+11"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEtcGMTPlus11 :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Etc/GMT+12"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEtcGMTPlus12 :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Etc/GMT+2"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEtcGMTPlus2 :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Etc/GMT+3"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEtcGMTPlus3 :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Etc/GMT+4"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEtcGMTPlus4 :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Etc/GMT+5"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEtcGMTPlus5 :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Etc/GMT+6"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEtcGMTPlus6 :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Etc/GMT+7"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEtcGMTPlus7 :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Etc/GMT+8"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEtcGMTPlus8 :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Etc/GMT+9"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEtcGMTPlus9 :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Etc/GMT-0"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEtcGMT_0 :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Etc/GMT-1"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEtcGMT_1 :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Etc/GMT-10"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEtcGMT_10 :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Etc/GMT-11"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEtcGMT_11 :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Etc/GMT-12"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEtcGMT_12 :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Etc/GMT-13"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEtcGMT_13 :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Etc/GMT-14"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEtcGMT_14 :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Etc/GMT-2"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEtcGMT_2 :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Etc/GMT-3"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEtcGMT_3 :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Etc/GMT-4"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEtcGMT_4 :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Etc/GMT-5"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEtcGMT_5 :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Etc/GMT-6"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEtcGMT_6 :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Etc/GMT-7"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEtcGMT_7 :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Etc/GMT-8"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEtcGMT_8 :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Etc/GMT-9"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEtcGMT_9 :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Etc/GMT0"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEtcGMT0 :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Etc/Greenwich"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEtcGreenwich :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Etc/UCT"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEtcUCT :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Etc/UTC"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEtcUTC :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Etc/Universal"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEtcUniversal :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Etc/Zulu"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEtcZulu :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Europe/Amsterdam"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEuropeAmsterdam :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Europe/Andorra"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEuropeAndorra :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Europe/Astrakhan"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEuropeAstrakhan :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Europe/Athens"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEuropeAthens :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Europe/Belfast"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEuropeBelfast :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Europe/Belgrade"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEuropeBelgrade :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Europe/Berlin"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEuropeBerlin :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Europe/Bratislava"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEuropeBratislava :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Europe/Brussels"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEuropeBrussels :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Europe/Bucharest"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEuropeBucharest :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Europe/Budapest"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEuropeBudapest :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Europe/Busingen"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEuropeBusingen :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Europe/Chisinau"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEuropeChisinau :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Europe/Copenhagen"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEuropeCopenhagen :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Europe/Dublin"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEuropeDublin :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Europe/Gibraltar"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEuropeGibraltar :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Europe/Guernsey"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEuropeGuernsey :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Europe/Helsinki"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEuropeHelsinki :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Europe/Isle_of_Man"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEuropeIsleOfMan :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Europe/Istanbul"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEuropeIstanbul :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Europe/Jersey"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEuropeJersey :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Europe/Kaliningrad"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEuropeKaliningrad :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Europe/Kiev"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEuropeKiev :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Europe/Kirov"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEuropeKirov :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Europe/Lisbon"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEuropeLisbon :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Europe/Ljubljana"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEuropeLjubljana :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Europe/London"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEuropeLondon :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Europe/Luxembourg"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEuropeLuxembourg :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Europe/Madrid"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEuropeMadrid :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Europe/Malta"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEuropeMalta :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Europe/Mariehamn"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEuropeMariehamn :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Europe/Minsk"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEuropeMinsk :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Europe/Monaco"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEuropeMonaco :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Europe/Moscow"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEuropeMoscow :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Europe/Nicosia"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEuropeNicosia :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Europe/Oslo"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEuropeOslo :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Europe/Paris"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEuropeParis :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Europe/Podgorica"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEuropePodgorica :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Europe/Prague"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEuropePrague :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Europe/Riga"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEuropeRiga :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Europe/Rome"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEuropeRome :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Europe/Samara"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEuropeSamara :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Europe/San_Marino"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEuropeSanMarino :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Europe/Sarajevo"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEuropeSarajevo :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Europe/Saratov"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEuropeSaratov :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Europe/Simferopol"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEuropeSimferopol :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Europe/Skopje"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEuropeSkopje :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Europe/Sofia"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEuropeSofia :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Europe/Stockholm"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEuropeStockholm :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Europe/Tallinn"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEuropeTallinn :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Europe/Tirane"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEuropeTirane :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Europe/Tiraspol"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEuropeTiraspol :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Europe/Ulyanovsk"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEuropeUlyanovsk :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Europe/Uzhgorod"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEuropeUzhgorod :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Europe/Vaduz"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEuropeVaduz :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Europe/Vatican"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEuropeVatican :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Europe/Vienna"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEuropeVienna :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Europe/Vilnius"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEuropeVilnius :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Europe/Volgograd"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEuropeVolgograd :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Europe/Warsaw"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEuropeWarsaw :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Europe/Zagreb"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEuropeZagreb :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Europe/Zaporozhye"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEuropeZaporozhye :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Europe/Zurich"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumEuropeZurich :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value Factory
PostReportingReportRunsRequestBodyParameters'Timezone'EnumFactory :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value GB
PostReportingReportRunsRequestBodyParameters'Timezone'EnumGB :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "GB-Eire"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumGBEire :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value GMT
PostReportingReportRunsRequestBodyParameters'Timezone'EnumGMT :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "GMT+0"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumGMTPlus0 :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "GMT-0"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumGMT_0 :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value GMT0
PostReportingReportRunsRequestBodyParameters'Timezone'EnumGMT0 :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value Greenwich
PostReportingReportRunsRequestBodyParameters'Timezone'EnumGreenwich :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value HST
PostReportingReportRunsRequestBodyParameters'Timezone'EnumHST :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value Hongkong
PostReportingReportRunsRequestBodyParameters'Timezone'EnumHongkong :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value Iceland
PostReportingReportRunsRequestBodyParameters'Timezone'EnumIceland :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Indian/Antananarivo"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumIndianAntananarivo :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Indian/Chagos"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumIndianChagos :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Indian/Christmas"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumIndianChristmas :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Indian/Cocos"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumIndianCocos :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Indian/Comoro"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumIndianComoro :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Indian/Kerguelen"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumIndianKerguelen :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Indian/Mahe"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumIndianMahe :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Indian/Maldives"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumIndianMaldives :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Indian/Mauritius"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumIndianMauritius :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Indian/Mayotte"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumIndianMayotte :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Indian/Reunion"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumIndianReunion :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value Iran
PostReportingReportRunsRequestBodyParameters'Timezone'EnumIran :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value Israel
PostReportingReportRunsRequestBodyParameters'Timezone'EnumIsrael :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value Jamaica
PostReportingReportRunsRequestBodyParameters'Timezone'EnumJamaica :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value Japan
PostReportingReportRunsRequestBodyParameters'Timezone'EnumJapan :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value Kwajalein
PostReportingReportRunsRequestBodyParameters'Timezone'EnumKwajalein :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value Libya
PostReportingReportRunsRequestBodyParameters'Timezone'EnumLibya :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value MET
PostReportingReportRunsRequestBodyParameters'Timezone'EnumMET :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value MST
PostReportingReportRunsRequestBodyParameters'Timezone'EnumMST :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value MST7MDT
PostReportingReportRunsRequestBodyParameters'Timezone'EnumMST7MDT :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Mexico/BajaNorte"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumMexicoBajaNorte :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Mexico/BajaSur"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumMexicoBajaSur :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Mexico/General"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumMexicoGeneral :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value NZ
PostReportingReportRunsRequestBodyParameters'Timezone'EnumNZ :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "NZ-CHAT"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumNZCHAT :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value Navajo
PostReportingReportRunsRequestBodyParameters'Timezone'EnumNavajo :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value PRC
PostReportingReportRunsRequestBodyParameters'Timezone'EnumPRC :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value PST8PDT
PostReportingReportRunsRequestBodyParameters'Timezone'EnumPST8PDT :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Pacific/Apia"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumPacificApia :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Pacific/Auckland"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumPacificAuckland :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Pacific/Bougainville"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumPacificBougainville :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Pacific/Chatham"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumPacificChatham :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Pacific/Chuuk"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumPacificChuuk :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Pacific/Easter"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumPacificEaster :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Pacific/Efate"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumPacificEfate :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Pacific/Enderbury"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumPacificEnderbury :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Pacific/Fakaofo"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumPacificFakaofo :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Pacific/Fiji"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumPacificFiji :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Pacific/Funafuti"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumPacificFunafuti :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Pacific/Galapagos"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumPacificGalapagos :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Pacific/Gambier"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumPacificGambier :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Pacific/Guadalcanal"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumPacificGuadalcanal :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Pacific/Guam"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumPacificGuam :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Pacific/Honolulu"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumPacificHonolulu :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Pacific/Johnston"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumPacificJohnston :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Pacific/Kiritimati"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumPacificKiritimati :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Pacific/Kosrae"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumPacificKosrae :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Pacific/Kwajalein"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumPacificKwajalein :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Pacific/Majuro"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumPacificMajuro :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Pacific/Marquesas"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumPacificMarquesas :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Pacific/Midway"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumPacificMidway :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Pacific/Nauru"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumPacificNauru :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Pacific/Niue"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumPacificNiue :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Pacific/Norfolk"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumPacificNorfolk :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Pacific/Noumea"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumPacificNoumea :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Pacific/Pago_Pago"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumPacificPagoPago :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Pacific/Palau"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumPacificPalau :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Pacific/Pitcairn"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumPacificPitcairn :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Pacific/Pohnpei"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumPacificPohnpei :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Pacific/Ponape"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumPacificPonape :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Pacific/Port_Moresby"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumPacificPortMoresby :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Pacific/Rarotonga"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumPacificRarotonga :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Pacific/Saipan"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumPacificSaipan :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Pacific/Samoa"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumPacificSamoa :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Pacific/Tahiti"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumPacificTahiti :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Pacific/Tarawa"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumPacificTarawa :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Pacific/Tongatapu"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumPacificTongatapu :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Pacific/Truk"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumPacificTruk :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Pacific/Wake"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumPacificWake :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Pacific/Wallis"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumPacificWallis :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "Pacific/Yap"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumPacificYap :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value Poland
PostReportingReportRunsRequestBodyParameters'Timezone'EnumPoland :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value Portugal
PostReportingReportRunsRequestBodyParameters'Timezone'EnumPortugal :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value ROC
PostReportingReportRunsRequestBodyParameters'Timezone'EnumROC :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value ROK
PostReportingReportRunsRequestBodyParameters'Timezone'EnumROK :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value Singapore
PostReportingReportRunsRequestBodyParameters'Timezone'EnumSingapore :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value Turkey
PostReportingReportRunsRequestBodyParameters'Timezone'EnumTurkey :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value UCT
PostReportingReportRunsRequestBodyParameters'Timezone'EnumUCT :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "US/Alaska"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumUSAlaska :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "US/Aleutian"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumUSAleutian :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "US/Arizona"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumUSArizona :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "US/Central"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumUSCentral :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "US/East-Indiana"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumUSEastIndiana :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "US/Eastern"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumUSEastern :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "US/Hawaii"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumUSHawaii :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "US/Indiana-Starke"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumUSIndianaStarke :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "US/Michigan"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumUSMichigan :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "US/Mountain"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumUSMountain :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "US/Pacific"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumUSPacific :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "US/Pacific-New"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumUSPacificNew :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "US/Samoa"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumUSSamoa :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value UTC
PostReportingReportRunsRequestBodyParameters'Timezone'EnumUTC :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value Universal
PostReportingReportRunsRequestBodyParameters'Timezone'EnumUniversal :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value "W-SU"
PostReportingReportRunsRequestBodyParameters'Timezone'EnumWSU :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value WET
PostReportingReportRunsRequestBodyParameters'Timezone'EnumWET :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents the JSON value Zulu
PostReportingReportRunsRequestBodyParameters'Timezone'EnumZulu :: PostReportingReportRunsRequestBodyParameters'Timezone'
-- | Represents a response of the operation postReportingReportRuns.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostReportingReportRunsResponseError is
-- used.
data PostReportingReportRunsResponse
-- | Means either no matching case available or a parse error
PostReportingReportRunsResponseError :: String -> PostReportingReportRunsResponse
-- | Successful response.
PostReportingReportRunsResponse200 :: Reporting'reportRun -> PostReportingReportRunsResponse
-- | Error response.
PostReportingReportRunsResponseDefault :: Error -> PostReportingReportRunsResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostReportingReportRuns.PostReportingReportRunsRequestBodyParameters'ReportingCategory'
instance GHC.Show.Show StripeAPI.Operations.PostReportingReportRuns.PostReportingReportRunsRequestBodyParameters'ReportingCategory'
instance GHC.Classes.Eq StripeAPI.Operations.PostReportingReportRuns.PostReportingReportRunsRequestBodyParameters'Timezone'
instance GHC.Show.Show StripeAPI.Operations.PostReportingReportRuns.PostReportingReportRunsRequestBodyParameters'Timezone'
instance GHC.Classes.Eq StripeAPI.Operations.PostReportingReportRuns.PostReportingReportRunsRequestBodyParameters'
instance GHC.Show.Show StripeAPI.Operations.PostReportingReportRuns.PostReportingReportRunsRequestBodyParameters'
instance GHC.Classes.Eq StripeAPI.Operations.PostReportingReportRuns.PostReportingReportRunsRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostReportingReportRuns.PostReportingReportRunsRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostReportingReportRuns.PostReportingReportRunsResponse
instance GHC.Show.Show StripeAPI.Operations.PostReportingReportRuns.PostReportingReportRunsResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostReportingReportRuns.PostReportingReportRunsRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostReportingReportRuns.PostReportingReportRunsRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostReportingReportRuns.PostReportingReportRunsRequestBodyParameters'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostReportingReportRuns.PostReportingReportRunsRequestBodyParameters'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostReportingReportRuns.PostReportingReportRunsRequestBodyParameters'Timezone'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostReportingReportRuns.PostReportingReportRunsRequestBodyParameters'Timezone'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostReportingReportRuns.PostReportingReportRunsRequestBodyParameters'ReportingCategory'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostReportingReportRuns.PostReportingReportRunsRequestBodyParameters'ReportingCategory'
-- | Contains the different functions to run the operation
-- postRefundsRefund
module StripeAPI.Operations.PostRefundsRefund
-- |
-- POST /v1/refunds/{refund}
--
--
-- <p>Updates the specified refund by setting the values of the
-- parameters passed. Any parameters not provided will be left
-- unchanged.</p>
--
-- <p>This request only accepts <code>metadata</code>
-- as an argument.</p>
postRefundsRefund :: forall m. MonadHTTP m => Text -> Maybe PostRefundsRefundRequestBody -> ClientT m (Response PostRefundsRefundResponse)
-- | Defines the object schema located at
-- paths./v1/refunds/{refund}.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostRefundsRefundRequestBody
PostRefundsRefundRequestBody :: Maybe [Text] -> Maybe PostRefundsRefundRequestBodyMetadata'Variants -> PostRefundsRefundRequestBody
-- | expand: Specifies which fields in the response should be expanded.
[postRefundsRefundRequestBodyExpand] :: PostRefundsRefundRequestBody -> Maybe [Text]
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postRefundsRefundRequestBodyMetadata] :: PostRefundsRefundRequestBody -> Maybe PostRefundsRefundRequestBodyMetadata'Variants
-- | Create a new PostRefundsRefundRequestBody with all required
-- fields.
mkPostRefundsRefundRequestBody :: PostRefundsRefundRequestBody
-- | Defines the oneOf schema located at
-- paths./v1/refunds/{refund}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.metadata.anyOf
-- in the specification.
--
-- Set of key-value pairs that you can attach to an object. This
-- can be useful for storing additional information about the object in a
-- structured format. Individual keys can be unset by posting an empty
-- value to them. All keys can be unset by posting an empty value to
-- `metadata`.
data PostRefundsRefundRequestBodyMetadata'Variants
-- | Represents the JSON value ""
PostRefundsRefundRequestBodyMetadata'EmptyString :: PostRefundsRefundRequestBodyMetadata'Variants
PostRefundsRefundRequestBodyMetadata'Object :: Object -> PostRefundsRefundRequestBodyMetadata'Variants
-- | Represents a response of the operation postRefundsRefund.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostRefundsRefundResponseError is used.
data PostRefundsRefundResponse
-- | Means either no matching case available or a parse error
PostRefundsRefundResponseError :: String -> PostRefundsRefundResponse
-- | Successful response.
PostRefundsRefundResponse200 :: Refund -> PostRefundsRefundResponse
-- | Error response.
PostRefundsRefundResponseDefault :: Error -> PostRefundsRefundResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostRefundsRefund.PostRefundsRefundRequestBodyMetadata'Variants
instance GHC.Show.Show StripeAPI.Operations.PostRefundsRefund.PostRefundsRefundRequestBodyMetadata'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostRefundsRefund.PostRefundsRefundRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostRefundsRefund.PostRefundsRefundRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostRefundsRefund.PostRefundsRefundResponse
instance GHC.Show.Show StripeAPI.Operations.PostRefundsRefund.PostRefundsRefundResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostRefundsRefund.PostRefundsRefundRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostRefundsRefund.PostRefundsRefundRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostRefundsRefund.PostRefundsRefundRequestBodyMetadata'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostRefundsRefund.PostRefundsRefundRequestBodyMetadata'Variants
-- | Contains the different functions to run the operation postRefunds
module StripeAPI.Operations.PostRefunds
-- |
-- POST /v1/refunds
--
--
-- <p>Create a refund.</p>
postRefunds :: forall m. MonadHTTP m => Maybe PostRefundsRequestBody -> ClientT m (Response PostRefundsResponse)
-- | Defines the object schema located at
-- paths./v1/refunds.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostRefundsRequestBody
PostRefundsRequestBody :: Maybe Int -> Maybe Text -> Maybe [Text] -> Maybe PostRefundsRequestBodyMetadata'Variants -> Maybe Text -> Maybe PostRefundsRequestBodyReason' -> Maybe Bool -> Maybe Bool -> PostRefundsRequestBody
-- | amount
[postRefundsRequestBodyAmount] :: PostRefundsRequestBody -> Maybe Int
-- | charge
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postRefundsRequestBodyCharge] :: PostRefundsRequestBody -> Maybe Text
-- | expand: Specifies which fields in the response should be expanded.
[postRefundsRequestBodyExpand] :: PostRefundsRequestBody -> Maybe [Text]
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postRefundsRequestBodyMetadata] :: PostRefundsRequestBody -> Maybe PostRefundsRequestBodyMetadata'Variants
-- | payment_intent
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postRefundsRequestBodyPaymentIntent] :: PostRefundsRequestBody -> Maybe Text
-- | reason
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postRefundsRequestBodyReason] :: PostRefundsRequestBody -> Maybe PostRefundsRequestBodyReason'
-- | refund_application_fee
[postRefundsRequestBodyRefundApplicationFee] :: PostRefundsRequestBody -> Maybe Bool
-- | reverse_transfer
[postRefundsRequestBodyReverseTransfer] :: PostRefundsRequestBody -> Maybe Bool
-- | Create a new PostRefundsRequestBody with all required fields.
mkPostRefundsRequestBody :: PostRefundsRequestBody
-- | Defines the oneOf schema located at
-- paths./v1/refunds.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.metadata.anyOf
-- in the specification.
--
-- Set of key-value pairs that you can attach to an object. This
-- can be useful for storing additional information about the object in a
-- structured format. Individual keys can be unset by posting an empty
-- value to them. All keys can be unset by posting an empty value to
-- `metadata`.
data PostRefundsRequestBodyMetadata'Variants
-- | Represents the JSON value ""
PostRefundsRequestBodyMetadata'EmptyString :: PostRefundsRequestBodyMetadata'Variants
PostRefundsRequestBodyMetadata'Object :: Object -> PostRefundsRequestBodyMetadata'Variants
-- | Defines the enum schema located at
-- paths./v1/refunds.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.reason
-- in the specification.
data PostRefundsRequestBodyReason'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostRefundsRequestBodyReason'Other :: Value -> PostRefundsRequestBodyReason'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostRefundsRequestBodyReason'Typed :: Text -> PostRefundsRequestBodyReason'
-- | Represents the JSON value "duplicate"
PostRefundsRequestBodyReason'EnumDuplicate :: PostRefundsRequestBodyReason'
-- | Represents the JSON value "fraudulent"
PostRefundsRequestBodyReason'EnumFraudulent :: PostRefundsRequestBodyReason'
-- | Represents the JSON value "requested_by_customer"
PostRefundsRequestBodyReason'EnumRequestedByCustomer :: PostRefundsRequestBodyReason'
-- | Represents a response of the operation postRefunds.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostRefundsResponseError is used.
data PostRefundsResponse
-- | Means either no matching case available or a parse error
PostRefundsResponseError :: String -> PostRefundsResponse
-- | Successful response.
PostRefundsResponse200 :: Refund -> PostRefundsResponse
-- | Error response.
PostRefundsResponseDefault :: Error -> PostRefundsResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostRefunds.PostRefundsRequestBodyMetadata'Variants
instance GHC.Show.Show StripeAPI.Operations.PostRefunds.PostRefundsRequestBodyMetadata'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostRefunds.PostRefundsRequestBodyReason'
instance GHC.Show.Show StripeAPI.Operations.PostRefunds.PostRefundsRequestBodyReason'
instance GHC.Classes.Eq StripeAPI.Operations.PostRefunds.PostRefundsRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostRefunds.PostRefundsRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostRefunds.PostRefundsResponse
instance GHC.Show.Show StripeAPI.Operations.PostRefunds.PostRefundsResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostRefunds.PostRefundsRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostRefunds.PostRefundsRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostRefunds.PostRefundsRequestBodyReason'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostRefunds.PostRefundsRequestBodyReason'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostRefunds.PostRefundsRequestBodyMetadata'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostRefunds.PostRefundsRequestBodyMetadata'Variants
-- | Contains the different functions to run the operation postRecipientsId
module StripeAPI.Operations.PostRecipientsId
-- |
-- POST /v1/recipients/{id}
--
--
-- <p>Updates the specified recipient by setting the values of the
-- parameters passed. Any parameters not provided will be left
-- unchanged.</p>
--
-- <p>If you update the name or tax ID, the identity verification
-- will automatically be rerun. If you update the bank account, the bank
-- account validation will automatically be rerun.</p>
postRecipientsId :: forall m. MonadHTTP m => Text -> Maybe PostRecipientsIdRequestBody -> ClientT m (Response PostRecipientsIdResponse)
-- | Defines the object schema located at
-- paths./v1/recipients/{id}.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostRecipientsIdRequestBody
PostRecipientsIdRequestBody :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe [Text] -> Maybe PostRecipientsIdRequestBodyMetadata'Variants -> Maybe Text -> Maybe Text -> PostRecipientsIdRequestBody
-- | bank_account: A bank account to attach to the recipient. You can
-- provide either a token, like the ones returned by Stripe.js, or
-- a dictionary containing a user's bank account details, with the
-- options described below.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postRecipientsIdRequestBodyBankAccount] :: PostRecipientsIdRequestBody -> Maybe Text
-- | card: A U.S. Visa or MasterCard debit card (not prepaid) to attach to
-- the recipient. You can provide either a token, like the ones returned
-- by Stripe.js, or a dictionary containing a user's debit card
-- details, with the options described below. Passing `card` will create
-- a new card, make it the new recipient default card, and delete the old
-- recipient default (if one exists). If you want to add additional debit
-- cards instead of replacing the existing default, use the card
-- creation API. Whenever you attach a card to a recipient, Stripe
-- will automatically validate the debit card.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postRecipientsIdRequestBodyCard] :: PostRecipientsIdRequestBody -> Maybe Text
-- | default_card: ID of the card to set as the recipient's new default for
-- payouts.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postRecipientsIdRequestBodyDefaultCard] :: PostRecipientsIdRequestBody -> Maybe Text
-- | description: An arbitrary string which you can attach to a `Recipient`
-- object. It is displayed alongside the recipient in the web interface.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postRecipientsIdRequestBodyDescription] :: PostRecipientsIdRequestBody -> Maybe Text
-- | email: The recipient's email address. It is displayed alongside the
-- recipient in the web interface, and can be useful for searching and
-- tracking.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postRecipientsIdRequestBodyEmail] :: PostRecipientsIdRequestBody -> Maybe Text
-- | expand: Specifies which fields in the response should be expanded.
[postRecipientsIdRequestBodyExpand] :: PostRecipientsIdRequestBody -> Maybe [Text]
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postRecipientsIdRequestBodyMetadata] :: PostRecipientsIdRequestBody -> Maybe PostRecipientsIdRequestBodyMetadata'Variants
-- | name: The recipient's full, legal name. For type `individual`, should
-- be in the format `First Last`, `First Middle Last`, or `First M Last`
-- (no prefixes or suffixes). For `corporation`, the full, incorporated
-- name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postRecipientsIdRequestBodyName] :: PostRecipientsIdRequestBody -> Maybe Text
-- | tax_id: The recipient's tax ID, as a string. For type `individual`,
-- the full SSN; for type `corporation`, the full EIN.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postRecipientsIdRequestBodyTaxId] :: PostRecipientsIdRequestBody -> Maybe Text
-- | Create a new PostRecipientsIdRequestBody with all required
-- fields.
mkPostRecipientsIdRequestBody :: PostRecipientsIdRequestBody
-- | Defines the oneOf schema located at
-- paths./v1/recipients/{id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.metadata.anyOf
-- in the specification.
--
-- Set of key-value pairs that you can attach to an object. This
-- can be useful for storing additional information about the object in a
-- structured format. Individual keys can be unset by posting an empty
-- value to them. All keys can be unset by posting an empty value to
-- `metadata`.
data PostRecipientsIdRequestBodyMetadata'Variants
-- | Represents the JSON value ""
PostRecipientsIdRequestBodyMetadata'EmptyString :: PostRecipientsIdRequestBodyMetadata'Variants
PostRecipientsIdRequestBodyMetadata'Object :: Object -> PostRecipientsIdRequestBodyMetadata'Variants
-- | Represents a response of the operation postRecipientsId.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostRecipientsIdResponseError is used.
data PostRecipientsIdResponse
-- | Means either no matching case available or a parse error
PostRecipientsIdResponseError :: String -> PostRecipientsIdResponse
-- | Successful response.
PostRecipientsIdResponse200 :: Recipient -> PostRecipientsIdResponse
-- | Error response.
PostRecipientsIdResponseDefault :: Error -> PostRecipientsIdResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostRecipientsId.PostRecipientsIdRequestBodyMetadata'Variants
instance GHC.Show.Show StripeAPI.Operations.PostRecipientsId.PostRecipientsIdRequestBodyMetadata'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostRecipientsId.PostRecipientsIdRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostRecipientsId.PostRecipientsIdRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostRecipientsId.PostRecipientsIdResponse
instance GHC.Show.Show StripeAPI.Operations.PostRecipientsId.PostRecipientsIdResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostRecipientsId.PostRecipientsIdRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostRecipientsId.PostRecipientsIdRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostRecipientsId.PostRecipientsIdRequestBodyMetadata'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostRecipientsId.PostRecipientsIdRequestBodyMetadata'Variants
-- | Contains the different functions to run the operation postRecipients
module StripeAPI.Operations.PostRecipients
-- |
-- POST /v1/recipients
--
--
-- <p>Creates a new <code>Recipient</code> object and
-- verifies the recipient’s identity. Also verifies the recipient’s bank
-- account information or debit card, if either is provided.</p>
postRecipients :: forall m. MonadHTTP m => PostRecipientsRequestBody -> ClientT m (Response PostRecipientsResponse)
-- | Defines the object schema located at
-- paths./v1/recipients.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostRecipientsRequestBody
PostRecipientsRequestBody :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe [Text] -> Maybe PostRecipientsRequestBodyMetadata'Variants -> Text -> Maybe Text -> Text -> PostRecipientsRequestBody
-- | bank_account: A bank account to attach to the recipient. You can
-- provide either a token, like the ones returned by Stripe.js, or
-- a dictionary containing a user's bank account details, with the
-- options described below.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postRecipientsRequestBodyBankAccount] :: PostRecipientsRequestBody -> Maybe Text
-- | card: A U.S. Visa or MasterCard debit card (_not_ prepaid) to attach
-- to the recipient. If the debit card is not valid, recipient creation
-- will fail. You can provide either a token, like the ones returned by
-- Stripe.js, or a dictionary containing a user's debit card
-- details, with the options described below. Although not all
-- information is required, the extra info helps prevent fraud.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postRecipientsRequestBodyCard] :: PostRecipientsRequestBody -> Maybe Text
-- | description: An arbitrary string which you can attach to a `Recipient`
-- object. It is displayed alongside the recipient in the web interface.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postRecipientsRequestBodyDescription] :: PostRecipientsRequestBody -> Maybe Text
-- | email: The recipient's email address. It is displayed alongside the
-- recipient in the web interface, and can be useful for searching and
-- tracking.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postRecipientsRequestBodyEmail] :: PostRecipientsRequestBody -> Maybe Text
-- | expand: Specifies which fields in the response should be expanded.
[postRecipientsRequestBodyExpand] :: PostRecipientsRequestBody -> Maybe [Text]
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postRecipientsRequestBodyMetadata] :: PostRecipientsRequestBody -> Maybe PostRecipientsRequestBodyMetadata'Variants
-- | name: The recipient's full, legal name. For type `individual`, should
-- be in the format `First Last`, `First Middle Last`, or `First M Last`
-- (no prefixes or suffixes). For `corporation`, the full, incorporated
-- name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postRecipientsRequestBodyName] :: PostRecipientsRequestBody -> Text
-- | tax_id: The recipient's tax ID, as a string. For type `individual`,
-- the full SSN; for type `corporation`, the full EIN.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postRecipientsRequestBodyTaxId] :: PostRecipientsRequestBody -> Maybe Text
-- | type: Type of the recipient: either `individual` or `corporation`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postRecipientsRequestBodyType] :: PostRecipientsRequestBody -> Text
-- | Create a new PostRecipientsRequestBody with all required
-- fields.
mkPostRecipientsRequestBody :: Text -> Text -> PostRecipientsRequestBody
-- | Defines the oneOf schema located at
-- paths./v1/recipients.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.metadata.anyOf
-- in the specification.
--
-- Set of key-value pairs that you can attach to an object. This
-- can be useful for storing additional information about the object in a
-- structured format. Individual keys can be unset by posting an empty
-- value to them. All keys can be unset by posting an empty value to
-- `metadata`.
data PostRecipientsRequestBodyMetadata'Variants
-- | Represents the JSON value ""
PostRecipientsRequestBodyMetadata'EmptyString :: PostRecipientsRequestBodyMetadata'Variants
PostRecipientsRequestBodyMetadata'Object :: Object -> PostRecipientsRequestBodyMetadata'Variants
-- | Represents a response of the operation postRecipients.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostRecipientsResponseError is used.
data PostRecipientsResponse
-- | Means either no matching case available or a parse error
PostRecipientsResponseError :: String -> PostRecipientsResponse
-- | Successful response.
PostRecipientsResponse200 :: Recipient -> PostRecipientsResponse
-- | Error response.
PostRecipientsResponseDefault :: Error -> PostRecipientsResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostRecipients.PostRecipientsRequestBodyMetadata'Variants
instance GHC.Show.Show StripeAPI.Operations.PostRecipients.PostRecipientsRequestBodyMetadata'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostRecipients.PostRecipientsRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostRecipients.PostRecipientsRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostRecipients.PostRecipientsResponse
instance GHC.Show.Show StripeAPI.Operations.PostRecipients.PostRecipientsResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostRecipients.PostRecipientsRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostRecipients.PostRecipientsRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostRecipients.PostRecipientsRequestBodyMetadata'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostRecipients.PostRecipientsRequestBodyMetadata'Variants
-- | Contains the different functions to run the operation
-- postRadarValueListsValueList
module StripeAPI.Operations.PostRadarValueListsValueList
-- |
-- POST /v1/radar/value_lists/{value_list}
--
--
-- <p>Updates a <code>ValueList</code> object by
-- setting the values of the parameters passed. Any parameters not
-- provided will be left unchanged. Note that
-- <code>item_type</code> is immutable.</p>
postRadarValueListsValueList :: forall m. MonadHTTP m => Text -> Maybe PostRadarValueListsValueListRequestBody -> ClientT m (Response PostRadarValueListsValueListResponse)
-- | Defines the object schema located at
-- paths./v1/radar/value_lists/{value_list}.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostRadarValueListsValueListRequestBody
PostRadarValueListsValueListRequestBody :: Maybe Text -> Maybe [Text] -> Maybe Object -> Maybe Text -> PostRadarValueListsValueListRequestBody
-- | alias: The name of the value list for use in rules.
--
-- Constraints:
--
--
-- - Maximum length of 100
--
[postRadarValueListsValueListRequestBodyAlias] :: PostRadarValueListsValueListRequestBody -> Maybe Text
-- | expand: Specifies which fields in the response should be expanded.
[postRadarValueListsValueListRequestBodyExpand] :: PostRadarValueListsValueListRequestBody -> Maybe [Text]
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postRadarValueListsValueListRequestBodyMetadata] :: PostRadarValueListsValueListRequestBody -> Maybe Object
-- | name: The human-readable name of the value list.
--
-- Constraints:
--
--
-- - Maximum length of 100
--
[postRadarValueListsValueListRequestBodyName] :: PostRadarValueListsValueListRequestBody -> Maybe Text
-- | Create a new PostRadarValueListsValueListRequestBody with all
-- required fields.
mkPostRadarValueListsValueListRequestBody :: PostRadarValueListsValueListRequestBody
-- | Represents a response of the operation
-- postRadarValueListsValueList.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- PostRadarValueListsValueListResponseError is used.
data PostRadarValueListsValueListResponse
-- | Means either no matching case available or a parse error
PostRadarValueListsValueListResponseError :: String -> PostRadarValueListsValueListResponse
-- | Successful response.
PostRadarValueListsValueListResponse200 :: Radar'valueList -> PostRadarValueListsValueListResponse
-- | Error response.
PostRadarValueListsValueListResponseDefault :: Error -> PostRadarValueListsValueListResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostRadarValueListsValueList.PostRadarValueListsValueListRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostRadarValueListsValueList.PostRadarValueListsValueListRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostRadarValueListsValueList.PostRadarValueListsValueListResponse
instance GHC.Show.Show StripeAPI.Operations.PostRadarValueListsValueList.PostRadarValueListsValueListResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostRadarValueListsValueList.PostRadarValueListsValueListRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostRadarValueListsValueList.PostRadarValueListsValueListRequestBody
-- | Contains the different functions to run the operation
-- postRadarValueLists
module StripeAPI.Operations.PostRadarValueLists
-- |
-- POST /v1/radar/value_lists
--
--
-- <p>Creates a new <code>ValueList</code> object,
-- which can then be referenced in rules.</p>
postRadarValueLists :: forall m. MonadHTTP m => PostRadarValueListsRequestBody -> ClientT m (Response PostRadarValueListsResponse)
-- | Defines the object schema located at
-- paths./v1/radar/value_lists.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostRadarValueListsRequestBody
PostRadarValueListsRequestBody :: Text -> Maybe [Text] -> Maybe PostRadarValueListsRequestBodyItemType' -> Maybe Object -> Text -> PostRadarValueListsRequestBody
-- | alias: The name of the value list for use in rules.
--
-- Constraints:
--
--
-- - Maximum length of 100
--
[postRadarValueListsRequestBodyAlias] :: PostRadarValueListsRequestBody -> Text
-- | expand: Specifies which fields in the response should be expanded.
[postRadarValueListsRequestBodyExpand] :: PostRadarValueListsRequestBody -> Maybe [Text]
-- | item_type: Type of the items in the value list. One of
-- `card_fingerprint`, `card_bin`, `email`, `ip_address`, `country`,
-- `string`, or `case_sensitive_string`. Use `string` if the item type is
-- unknown or mixed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postRadarValueListsRequestBodyItemType] :: PostRadarValueListsRequestBody -> Maybe PostRadarValueListsRequestBodyItemType'
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postRadarValueListsRequestBodyMetadata] :: PostRadarValueListsRequestBody -> Maybe Object
-- | name: The human-readable name of the value list.
--
-- Constraints:
--
--
-- - Maximum length of 100
--
[postRadarValueListsRequestBodyName] :: PostRadarValueListsRequestBody -> Text
-- | Create a new PostRadarValueListsRequestBody with all required
-- fields.
mkPostRadarValueListsRequestBody :: Text -> Text -> PostRadarValueListsRequestBody
-- | Defines the enum schema located at
-- paths./v1/radar/value_lists.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.item_type
-- in the specification.
--
-- Type of the items in the value list. One of `card_fingerprint`,
-- `card_bin`, `email`, `ip_address`, `country`, `string`, or
-- `case_sensitive_string`. Use `string` if the item type is unknown or
-- mixed.
data PostRadarValueListsRequestBodyItemType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostRadarValueListsRequestBodyItemType'Other :: Value -> PostRadarValueListsRequestBodyItemType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostRadarValueListsRequestBodyItemType'Typed :: Text -> PostRadarValueListsRequestBodyItemType'
-- | Represents the JSON value "card_bin"
PostRadarValueListsRequestBodyItemType'EnumCardBin :: PostRadarValueListsRequestBodyItemType'
-- | Represents the JSON value "card_fingerprint"
PostRadarValueListsRequestBodyItemType'EnumCardFingerprint :: PostRadarValueListsRequestBodyItemType'
-- | Represents the JSON value "case_sensitive_string"
PostRadarValueListsRequestBodyItemType'EnumCaseSensitiveString :: PostRadarValueListsRequestBodyItemType'
-- | Represents the JSON value "country"
PostRadarValueListsRequestBodyItemType'EnumCountry :: PostRadarValueListsRequestBodyItemType'
-- | Represents the JSON value "email"
PostRadarValueListsRequestBodyItemType'EnumEmail :: PostRadarValueListsRequestBodyItemType'
-- | Represents the JSON value "ip_address"
PostRadarValueListsRequestBodyItemType'EnumIpAddress :: PostRadarValueListsRequestBodyItemType'
-- | Represents the JSON value "string"
PostRadarValueListsRequestBodyItemType'EnumString :: PostRadarValueListsRequestBodyItemType'
-- | Represents a response of the operation postRadarValueLists.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostRadarValueListsResponseError is
-- used.
data PostRadarValueListsResponse
-- | Means either no matching case available or a parse error
PostRadarValueListsResponseError :: String -> PostRadarValueListsResponse
-- | Successful response.
PostRadarValueListsResponse200 :: Radar'valueList -> PostRadarValueListsResponse
-- | Error response.
PostRadarValueListsResponseDefault :: Error -> PostRadarValueListsResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostRadarValueLists.PostRadarValueListsRequestBodyItemType'
instance GHC.Show.Show StripeAPI.Operations.PostRadarValueLists.PostRadarValueListsRequestBodyItemType'
instance GHC.Classes.Eq StripeAPI.Operations.PostRadarValueLists.PostRadarValueListsRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostRadarValueLists.PostRadarValueListsRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostRadarValueLists.PostRadarValueListsResponse
instance GHC.Show.Show StripeAPI.Operations.PostRadarValueLists.PostRadarValueListsResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostRadarValueLists.PostRadarValueListsRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostRadarValueLists.PostRadarValueListsRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostRadarValueLists.PostRadarValueListsRequestBodyItemType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostRadarValueLists.PostRadarValueListsRequestBodyItemType'
-- | Contains the different functions to run the operation
-- postRadarValueListItems
module StripeAPI.Operations.PostRadarValueListItems
-- |
-- POST /v1/radar/value_list_items
--
--
-- <p>Creates a new <code>ValueListItem</code> object,
-- which is added to the specified parent value list.</p>
postRadarValueListItems :: forall m. MonadHTTP m => PostRadarValueListItemsRequestBody -> ClientT m (Response PostRadarValueListItemsResponse)
-- | Defines the object schema located at
-- paths./v1/radar/value_list_items.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostRadarValueListItemsRequestBody
PostRadarValueListItemsRequestBody :: Maybe [Text] -> Text -> Text -> PostRadarValueListItemsRequestBody
-- | expand: Specifies which fields in the response should be expanded.
[postRadarValueListItemsRequestBodyExpand] :: PostRadarValueListItemsRequestBody -> Maybe [Text]
-- | value: The value of the item (whose type must match the type of the
-- parent value list).
--
-- Constraints:
--
--
-- - Maximum length of 800
--
[postRadarValueListItemsRequestBodyValue] :: PostRadarValueListItemsRequestBody -> Text
-- | value_list: The identifier of the value list which the created item
-- will be added to.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postRadarValueListItemsRequestBodyValueList] :: PostRadarValueListItemsRequestBody -> Text
-- | Create a new PostRadarValueListItemsRequestBody with all
-- required fields.
mkPostRadarValueListItemsRequestBody :: Text -> Text -> PostRadarValueListItemsRequestBody
-- | Represents a response of the operation postRadarValueListItems.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostRadarValueListItemsResponseError is
-- used.
data PostRadarValueListItemsResponse
-- | Means either no matching case available or a parse error
PostRadarValueListItemsResponseError :: String -> PostRadarValueListItemsResponse
-- | Successful response.
PostRadarValueListItemsResponse200 :: Radar'valueListItem -> PostRadarValueListItemsResponse
-- | Error response.
PostRadarValueListItemsResponseDefault :: Error -> PostRadarValueListItemsResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostRadarValueListItems.PostRadarValueListItemsRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostRadarValueListItems.PostRadarValueListItemsRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostRadarValueListItems.PostRadarValueListItemsResponse
instance GHC.Show.Show StripeAPI.Operations.PostRadarValueListItems.PostRadarValueListItemsResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostRadarValueListItems.PostRadarValueListItemsRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostRadarValueListItems.PostRadarValueListItemsRequestBody
-- | Contains the different functions to run the operation
-- postPromotionCodesPromotionCode
module StripeAPI.Operations.PostPromotionCodesPromotionCode
-- |
-- POST /v1/promotion_codes/{promotion_code}
--
--
-- <p>Updates the specified promotion code by setting the values of
-- the parameters passed. Most fields are, by design, not
-- editable.</p>
postPromotionCodesPromotionCode :: forall m. MonadHTTP m => Text -> Maybe PostPromotionCodesPromotionCodeRequestBody -> ClientT m (Response PostPromotionCodesPromotionCodeResponse)
-- | Defines the object schema located at
-- paths./v1/promotion_codes/{promotion_code}.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostPromotionCodesPromotionCodeRequestBody
PostPromotionCodesPromotionCodeRequestBody :: Maybe Bool -> Maybe [Text] -> Maybe PostPromotionCodesPromotionCodeRequestBodyMetadata'Variants -> PostPromotionCodesPromotionCodeRequestBody
-- | active: Whether the promotion code is currently active. A promotion
-- code can only be reactivated when the coupon is still valid and the
-- promotion code is otherwise redeemable.
[postPromotionCodesPromotionCodeRequestBodyActive] :: PostPromotionCodesPromotionCodeRequestBody -> Maybe Bool
-- | expand: Specifies which fields in the response should be expanded.
[postPromotionCodesPromotionCodeRequestBodyExpand] :: PostPromotionCodesPromotionCodeRequestBody -> Maybe [Text]
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postPromotionCodesPromotionCodeRequestBodyMetadata] :: PostPromotionCodesPromotionCodeRequestBody -> Maybe PostPromotionCodesPromotionCodeRequestBodyMetadata'Variants
-- | Create a new PostPromotionCodesPromotionCodeRequestBody with
-- all required fields.
mkPostPromotionCodesPromotionCodeRequestBody :: PostPromotionCodesPromotionCodeRequestBody
-- | Defines the oneOf schema located at
-- paths./v1/promotion_codes/{promotion_code}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.metadata.anyOf
-- in the specification.
--
-- Set of key-value pairs that you can attach to an object. This
-- can be useful for storing additional information about the object in a
-- structured format. Individual keys can be unset by posting an empty
-- value to them. All keys can be unset by posting an empty value to
-- `metadata`.
data PostPromotionCodesPromotionCodeRequestBodyMetadata'Variants
-- | Represents the JSON value ""
PostPromotionCodesPromotionCodeRequestBodyMetadata'EmptyString :: PostPromotionCodesPromotionCodeRequestBodyMetadata'Variants
PostPromotionCodesPromotionCodeRequestBodyMetadata'Object :: Object -> PostPromotionCodesPromotionCodeRequestBodyMetadata'Variants
-- | Represents a response of the operation
-- postPromotionCodesPromotionCode.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- PostPromotionCodesPromotionCodeResponseError is used.
data PostPromotionCodesPromotionCodeResponse
-- | Means either no matching case available or a parse error
PostPromotionCodesPromotionCodeResponseError :: String -> PostPromotionCodesPromotionCodeResponse
-- | Successful response.
PostPromotionCodesPromotionCodeResponse200 :: PromotionCode -> PostPromotionCodesPromotionCodeResponse
-- | Error response.
PostPromotionCodesPromotionCodeResponseDefault :: Error -> PostPromotionCodesPromotionCodeResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostPromotionCodesPromotionCode.PostPromotionCodesPromotionCodeRequestBodyMetadata'Variants
instance GHC.Show.Show StripeAPI.Operations.PostPromotionCodesPromotionCode.PostPromotionCodesPromotionCodeRequestBodyMetadata'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostPromotionCodesPromotionCode.PostPromotionCodesPromotionCodeRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostPromotionCodesPromotionCode.PostPromotionCodesPromotionCodeRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostPromotionCodesPromotionCode.PostPromotionCodesPromotionCodeResponse
instance GHC.Show.Show StripeAPI.Operations.PostPromotionCodesPromotionCode.PostPromotionCodesPromotionCodeResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPromotionCodesPromotionCode.PostPromotionCodesPromotionCodeRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPromotionCodesPromotionCode.PostPromotionCodesPromotionCodeRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPromotionCodesPromotionCode.PostPromotionCodesPromotionCodeRequestBodyMetadata'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPromotionCodesPromotionCode.PostPromotionCodesPromotionCodeRequestBodyMetadata'Variants
-- | Contains the different functions to run the operation
-- postPromotionCodes
module StripeAPI.Operations.PostPromotionCodes
-- |
-- POST /v1/promotion_codes
--
--
-- <p>A promotion code points to a coupon. You can optionally
-- restrict the code to a specific customer, redemption limit, and
-- expiration date.</p>
postPromotionCodes :: forall m. MonadHTTP m => PostPromotionCodesRequestBody -> ClientT m (Response PostPromotionCodesResponse)
-- | Defines the object schema located at
-- paths./v1/promotion_codes.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostPromotionCodesRequestBody
PostPromotionCodesRequestBody :: Maybe Bool -> Maybe Text -> Text -> Maybe Text -> Maybe [Text] -> Maybe Int -> Maybe Int -> Maybe Object -> Maybe PostPromotionCodesRequestBodyRestrictions' -> PostPromotionCodesRequestBody
-- | active: Whether the promotion code is currently active.
[postPromotionCodesRequestBodyActive] :: PostPromotionCodesRequestBody -> Maybe Bool
-- | code: The customer-facing code. Regardless of case, this code must be
-- unique across all active promotion codes for a specific customer. If
-- left blank, we will generate one automatically.
--
-- Constraints:
--
--
-- - Maximum length of 500
--
[postPromotionCodesRequestBodyCode] :: PostPromotionCodesRequestBody -> Maybe Text
-- | coupon: The coupon for this promotion code.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPromotionCodesRequestBodyCoupon] :: PostPromotionCodesRequestBody -> Text
-- | customer: The customer that this promotion code can be used by. If not
-- set, the promotion code can be used by all customers.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPromotionCodesRequestBodyCustomer] :: PostPromotionCodesRequestBody -> Maybe Text
-- | expand: Specifies which fields in the response should be expanded.
[postPromotionCodesRequestBodyExpand] :: PostPromotionCodesRequestBody -> Maybe [Text]
-- | expires_at: The timestamp at which this promotion code will expire. If
-- the coupon has specified a `redeems_by`, then this value cannot be
-- after the coupon's `redeems_by`.
[postPromotionCodesRequestBodyExpiresAt] :: PostPromotionCodesRequestBody -> Maybe Int
-- | max_redemptions: A positive integer specifying the number of times the
-- promotion code can be redeemed. If the coupon has specified a
-- `max_redemptions`, then this value cannot be greater than the coupon's
-- `max_redemptions`.
[postPromotionCodesRequestBodyMaxRedemptions] :: PostPromotionCodesRequestBody -> Maybe Int
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postPromotionCodesRequestBodyMetadata] :: PostPromotionCodesRequestBody -> Maybe Object
-- | restrictions: Settings that restrict the redemption of the promotion
-- code.
[postPromotionCodesRequestBodyRestrictions] :: PostPromotionCodesRequestBody -> Maybe PostPromotionCodesRequestBodyRestrictions'
-- | Create a new PostPromotionCodesRequestBody with all required
-- fields.
mkPostPromotionCodesRequestBody :: Text -> PostPromotionCodesRequestBody
-- | Defines the object schema located at
-- paths./v1/promotion_codes.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.restrictions
-- in the specification.
--
-- Settings that restrict the redemption of the promotion code.
data PostPromotionCodesRequestBodyRestrictions'
PostPromotionCodesRequestBodyRestrictions' :: Maybe Bool -> Maybe Int -> Maybe Text -> PostPromotionCodesRequestBodyRestrictions'
-- | first_time_transaction
[postPromotionCodesRequestBodyRestrictions'FirstTimeTransaction] :: PostPromotionCodesRequestBodyRestrictions' -> Maybe Bool
-- | minimum_amount
[postPromotionCodesRequestBodyRestrictions'MinimumAmount] :: PostPromotionCodesRequestBodyRestrictions' -> Maybe Int
-- | minimum_amount_currency
[postPromotionCodesRequestBodyRestrictions'MinimumAmountCurrency] :: PostPromotionCodesRequestBodyRestrictions' -> Maybe Text
-- | Create a new PostPromotionCodesRequestBodyRestrictions' with
-- all required fields.
mkPostPromotionCodesRequestBodyRestrictions' :: PostPromotionCodesRequestBodyRestrictions'
-- | Represents a response of the operation postPromotionCodes.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostPromotionCodesResponseError is
-- used.
data PostPromotionCodesResponse
-- | Means either no matching case available or a parse error
PostPromotionCodesResponseError :: String -> PostPromotionCodesResponse
-- | Successful response.
PostPromotionCodesResponse200 :: PromotionCode -> PostPromotionCodesResponse
-- | Error response.
PostPromotionCodesResponseDefault :: Error -> PostPromotionCodesResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostPromotionCodes.PostPromotionCodesRequestBodyRestrictions'
instance GHC.Show.Show StripeAPI.Operations.PostPromotionCodes.PostPromotionCodesRequestBodyRestrictions'
instance GHC.Classes.Eq StripeAPI.Operations.PostPromotionCodes.PostPromotionCodesRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostPromotionCodes.PostPromotionCodesRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostPromotionCodes.PostPromotionCodesResponse
instance GHC.Show.Show StripeAPI.Operations.PostPromotionCodes.PostPromotionCodesResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPromotionCodes.PostPromotionCodesRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPromotionCodes.PostPromotionCodesRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPromotionCodes.PostPromotionCodesRequestBodyRestrictions'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPromotionCodes.PostPromotionCodesRequestBodyRestrictions'
-- | Contains the different functions to run the operation postProductsId
module StripeAPI.Operations.PostProductsId
-- |
-- POST /v1/products/{id}
--
--
-- <p>Updates the specific product by setting the values of the
-- parameters passed. Any parameters not provided will be left
-- unchanged.</p>
postProductsId :: forall m. MonadHTTP m => Text -> Maybe PostProductsIdRequestBody -> ClientT m (Response PostProductsIdResponse)
-- | Defines the object schema located at
-- paths./v1/products/{id}.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostProductsIdRequestBody
PostProductsIdRequestBody :: Maybe Bool -> Maybe Text -> Maybe [Text] -> Maybe PostProductsIdRequestBodyImages'Variants -> Maybe PostProductsIdRequestBodyMetadata'Variants -> Maybe Text -> Maybe PostProductsIdRequestBodyPackageDimensions'Variants -> Maybe Bool -> Maybe Text -> Maybe PostProductsIdRequestBodyTaxCode'Variants -> Maybe Text -> Maybe Text -> PostProductsIdRequestBody
-- | active: Whether the product is available for purchase.
[postProductsIdRequestBodyActive] :: PostProductsIdRequestBody -> Maybe Bool
-- | description: The product's description, meant to be displayable to the
-- customer. Use this field to optionally store a long form explanation
-- of the product being sold for your own rendering purposes.
--
-- Constraints:
--
--
-- - Maximum length of 40000
--
[postProductsIdRequestBodyDescription] :: PostProductsIdRequestBody -> Maybe Text
-- | expand: Specifies which fields in the response should be expanded.
[postProductsIdRequestBodyExpand] :: PostProductsIdRequestBody -> Maybe [Text]
-- | images: A list of up to 8 URLs of images for this product, meant to be
-- displayable to the customer.
[postProductsIdRequestBodyImages] :: PostProductsIdRequestBody -> Maybe PostProductsIdRequestBodyImages'Variants
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postProductsIdRequestBodyMetadata] :: PostProductsIdRequestBody -> Maybe PostProductsIdRequestBodyMetadata'Variants
-- | name: The product's name, meant to be displayable to the customer.
-- Whenever this product is sold via a subscription, name will show up on
-- associated invoice line item descriptions.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postProductsIdRequestBodyName] :: PostProductsIdRequestBody -> Maybe Text
-- | package_dimensions: The dimensions of this product for shipping
-- purposes.
[postProductsIdRequestBodyPackageDimensions] :: PostProductsIdRequestBody -> Maybe PostProductsIdRequestBodyPackageDimensions'Variants
-- | shippable: Whether this product is shipped (i.e., physical goods).
[postProductsIdRequestBodyShippable] :: PostProductsIdRequestBody -> Maybe Bool
-- | statement_descriptor: An arbitrary string to be displayed on your
-- customer's credit card or bank statement. While most banks display
-- this information consistently, some may display it incorrectly or not
-- at all.
--
-- This may be up to 22 characters. The statement description may not
-- include `<`, `>`, `\`, `"`, `'` characters, and will appear on
-- your customer's statement in capital letters. Non-ASCII characters are
-- automatically stripped. It must contain at least one letter. May only
-- be set if `type=service`.
--
-- Constraints:
--
--
-- - Maximum length of 22
--
[postProductsIdRequestBodyStatementDescriptor] :: PostProductsIdRequestBody -> Maybe Text
-- | tax_code: A tax code ID.
[postProductsIdRequestBodyTaxCode] :: PostProductsIdRequestBody -> Maybe PostProductsIdRequestBodyTaxCode'Variants
-- | unit_label: A label that represents units of this product in Stripe
-- and on customers’ receipts and invoices. When set, this will be
-- included in associated invoice line item descriptions. May only be set
-- if `type=service`.
--
-- Constraints:
--
--
-- - Maximum length of 12
--
[postProductsIdRequestBodyUnitLabel] :: PostProductsIdRequestBody -> Maybe Text
-- | url: A URL of a publicly-accessible webpage for this product.
[postProductsIdRequestBodyUrl] :: PostProductsIdRequestBody -> Maybe Text
-- | Create a new PostProductsIdRequestBody with all required
-- fields.
mkPostProductsIdRequestBody :: PostProductsIdRequestBody
-- | Defines the oneOf schema located at
-- paths./v1/products/{id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.images.anyOf
-- in the specification.
--
-- A list of up to 8 URLs of images for this product, meant to be
-- displayable to the customer.
data PostProductsIdRequestBodyImages'Variants
-- | Represents the JSON value ""
PostProductsIdRequestBodyImages'EmptyString :: PostProductsIdRequestBodyImages'Variants
PostProductsIdRequestBodyImages'ListTText :: [Text] -> PostProductsIdRequestBodyImages'Variants
-- | Defines the oneOf schema located at
-- paths./v1/products/{id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.metadata.anyOf
-- in the specification.
--
-- Set of key-value pairs that you can attach to an object. This
-- can be useful for storing additional information about the object in a
-- structured format. Individual keys can be unset by posting an empty
-- value to them. All keys can be unset by posting an empty value to
-- `metadata`.
data PostProductsIdRequestBodyMetadata'Variants
-- | Represents the JSON value ""
PostProductsIdRequestBodyMetadata'EmptyString :: PostProductsIdRequestBodyMetadata'Variants
PostProductsIdRequestBodyMetadata'Object :: Object -> PostProductsIdRequestBodyMetadata'Variants
-- | Defines the object schema located at
-- paths./v1/products/{id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.package_dimensions.anyOf
-- in the specification.
data PostProductsIdRequestBodyPackageDimensions'OneOf1
PostProductsIdRequestBodyPackageDimensions'OneOf1 :: Double -> Double -> Double -> Double -> PostProductsIdRequestBodyPackageDimensions'OneOf1
-- | height
[postProductsIdRequestBodyPackageDimensions'OneOf1Height] :: PostProductsIdRequestBodyPackageDimensions'OneOf1 -> Double
-- | length
[postProductsIdRequestBodyPackageDimensions'OneOf1Length] :: PostProductsIdRequestBodyPackageDimensions'OneOf1 -> Double
-- | weight
[postProductsIdRequestBodyPackageDimensions'OneOf1Weight] :: PostProductsIdRequestBodyPackageDimensions'OneOf1 -> Double
-- | width
[postProductsIdRequestBodyPackageDimensions'OneOf1Width] :: PostProductsIdRequestBodyPackageDimensions'OneOf1 -> Double
-- | Create a new PostProductsIdRequestBodyPackageDimensions'OneOf1
-- with all required fields.
mkPostProductsIdRequestBodyPackageDimensions'OneOf1 :: Double -> Double -> Double -> Double -> PostProductsIdRequestBodyPackageDimensions'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/products/{id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.package_dimensions.anyOf
-- in the specification.
--
-- The dimensions of this product for shipping purposes.
data PostProductsIdRequestBodyPackageDimensions'Variants
-- | Represents the JSON value ""
PostProductsIdRequestBodyPackageDimensions'EmptyString :: PostProductsIdRequestBodyPackageDimensions'Variants
PostProductsIdRequestBodyPackageDimensions'PostProductsIdRequestBodyPackageDimensions'OneOf1 :: PostProductsIdRequestBodyPackageDimensions'OneOf1 -> PostProductsIdRequestBodyPackageDimensions'Variants
-- | Defines the oneOf schema located at
-- paths./v1/products/{id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.tax_code.anyOf
-- in the specification.
--
-- A tax code ID.
data PostProductsIdRequestBodyTaxCode'Variants
-- | Represents the JSON value ""
PostProductsIdRequestBodyTaxCode'EmptyString :: PostProductsIdRequestBodyTaxCode'Variants
PostProductsIdRequestBodyTaxCode'Text :: Text -> PostProductsIdRequestBodyTaxCode'Variants
-- | Represents a response of the operation postProductsId.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostProductsIdResponseError is used.
data PostProductsIdResponse
-- | Means either no matching case available or a parse error
PostProductsIdResponseError :: String -> PostProductsIdResponse
-- | Successful response.
PostProductsIdResponse200 :: Product -> PostProductsIdResponse
-- | Error response.
PostProductsIdResponseDefault :: Error -> PostProductsIdResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostProductsId.PostProductsIdRequestBodyImages'Variants
instance GHC.Show.Show StripeAPI.Operations.PostProductsId.PostProductsIdRequestBodyImages'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostProductsId.PostProductsIdRequestBodyMetadata'Variants
instance GHC.Show.Show StripeAPI.Operations.PostProductsId.PostProductsIdRequestBodyMetadata'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostProductsId.PostProductsIdRequestBodyPackageDimensions'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostProductsId.PostProductsIdRequestBodyPackageDimensions'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostProductsId.PostProductsIdRequestBodyPackageDimensions'Variants
instance GHC.Show.Show StripeAPI.Operations.PostProductsId.PostProductsIdRequestBodyPackageDimensions'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostProductsId.PostProductsIdRequestBodyTaxCode'Variants
instance GHC.Show.Show StripeAPI.Operations.PostProductsId.PostProductsIdRequestBodyTaxCode'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostProductsId.PostProductsIdRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostProductsId.PostProductsIdRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostProductsId.PostProductsIdResponse
instance GHC.Show.Show StripeAPI.Operations.PostProductsId.PostProductsIdResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostProductsId.PostProductsIdRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostProductsId.PostProductsIdRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostProductsId.PostProductsIdRequestBodyTaxCode'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostProductsId.PostProductsIdRequestBodyTaxCode'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostProductsId.PostProductsIdRequestBodyPackageDimensions'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostProductsId.PostProductsIdRequestBodyPackageDimensions'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostProductsId.PostProductsIdRequestBodyPackageDimensions'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostProductsId.PostProductsIdRequestBodyPackageDimensions'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostProductsId.PostProductsIdRequestBodyMetadata'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostProductsId.PostProductsIdRequestBodyMetadata'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostProductsId.PostProductsIdRequestBodyImages'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostProductsId.PostProductsIdRequestBodyImages'Variants
-- | Contains the different functions to run the operation postProducts
module StripeAPI.Operations.PostProducts
-- |
-- POST /v1/products
--
--
-- <p>Creates a new product object.</p>
postProducts :: forall m. MonadHTTP m => PostProductsRequestBody -> ClientT m (Response PostProductsResponse)
-- | Defines the object schema located at
-- paths./v1/products.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostProductsRequestBody
PostProductsRequestBody :: Maybe Bool -> Maybe Text -> Maybe [Text] -> Maybe Text -> Maybe [Text] -> Maybe Object -> Text -> Maybe PostProductsRequestBodyPackageDimensions' -> Maybe Bool -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PostProductsRequestBody
-- | active: Whether the product is currently available for purchase.
-- Defaults to `true`.
[postProductsRequestBodyActive] :: PostProductsRequestBody -> Maybe Bool
-- | description: The product's description, meant to be displayable to the
-- customer. Use this field to optionally store a long form explanation
-- of the product being sold for your own rendering purposes.
--
-- Constraints:
--
--
-- - Maximum length of 40000
--
[postProductsRequestBodyDescription] :: PostProductsRequestBody -> Maybe Text
-- | expand: Specifies which fields in the response should be expanded.
[postProductsRequestBodyExpand] :: PostProductsRequestBody -> Maybe [Text]
-- | id: An identifier will be randomly generated by Stripe. You can
-- optionally override this ID, but the ID must be unique across all
-- products in your Stripe account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postProductsRequestBodyId] :: PostProductsRequestBody -> Maybe Text
-- | images: A list of up to 8 URLs of images for this product, meant to be
-- displayable to the customer.
[postProductsRequestBodyImages] :: PostProductsRequestBody -> Maybe [Text]
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postProductsRequestBodyMetadata] :: PostProductsRequestBody -> Maybe Object
-- | name: The product's name, meant to be displayable to the customer.
-- Whenever this product is sold via a subscription, name will show up on
-- associated invoice line item descriptions.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postProductsRequestBodyName] :: PostProductsRequestBody -> Text
-- | package_dimensions: The dimensions of this product for shipping
-- purposes.
[postProductsRequestBodyPackageDimensions] :: PostProductsRequestBody -> Maybe PostProductsRequestBodyPackageDimensions'
-- | shippable: Whether this product is shipped (i.e., physical goods).
[postProductsRequestBodyShippable] :: PostProductsRequestBody -> Maybe Bool
-- | statement_descriptor: An arbitrary string to be displayed on your
-- customer's credit card or bank statement. While most banks display
-- this information consistently, some may display it incorrectly or not
-- at all.
--
-- This may be up to 22 characters. The statement description may not
-- include `<`, `>`, `\`, `"`, `'` characters, and will appear on
-- your customer's statement in capital letters. Non-ASCII characters are
-- automatically stripped. It must contain at least one letter.
--
-- Constraints:
--
--
-- - Maximum length of 22
--
[postProductsRequestBodyStatementDescriptor] :: PostProductsRequestBody -> Maybe Text
-- | tax_code: A tax code ID.
[postProductsRequestBodyTaxCode] :: PostProductsRequestBody -> Maybe Text
-- | unit_label: A label that represents units of this product in Stripe
-- and on customers’ receipts and invoices. When set, this will be
-- included in associated invoice line item descriptions.
--
-- Constraints:
--
--
-- - Maximum length of 12
--
[postProductsRequestBodyUnitLabel] :: PostProductsRequestBody -> Maybe Text
-- | url: A URL of a publicly-accessible webpage for this product.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postProductsRequestBodyUrl] :: PostProductsRequestBody -> Maybe Text
-- | Create a new PostProductsRequestBody with all required fields.
mkPostProductsRequestBody :: Text -> PostProductsRequestBody
-- | Defines the object schema located at
-- paths./v1/products.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.package_dimensions
-- in the specification.
--
-- The dimensions of this product for shipping purposes.
data PostProductsRequestBodyPackageDimensions'
PostProductsRequestBodyPackageDimensions' :: Double -> Double -> Double -> Double -> PostProductsRequestBodyPackageDimensions'
-- | height
[postProductsRequestBodyPackageDimensions'Height] :: PostProductsRequestBodyPackageDimensions' -> Double
-- | length
[postProductsRequestBodyPackageDimensions'Length] :: PostProductsRequestBodyPackageDimensions' -> Double
-- | weight
[postProductsRequestBodyPackageDimensions'Weight] :: PostProductsRequestBodyPackageDimensions' -> Double
-- | width
[postProductsRequestBodyPackageDimensions'Width] :: PostProductsRequestBodyPackageDimensions' -> Double
-- | Create a new PostProductsRequestBodyPackageDimensions' with all
-- required fields.
mkPostProductsRequestBodyPackageDimensions' :: Double -> Double -> Double -> Double -> PostProductsRequestBodyPackageDimensions'
-- | Represents a response of the operation postProducts.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostProductsResponseError is used.
data PostProductsResponse
-- | Means either no matching case available or a parse error
PostProductsResponseError :: String -> PostProductsResponse
-- | Successful response.
PostProductsResponse200 :: Product -> PostProductsResponse
-- | Error response.
PostProductsResponseDefault :: Error -> PostProductsResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostProducts.PostProductsRequestBodyPackageDimensions'
instance GHC.Show.Show StripeAPI.Operations.PostProducts.PostProductsRequestBodyPackageDimensions'
instance GHC.Classes.Eq StripeAPI.Operations.PostProducts.PostProductsRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostProducts.PostProductsRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostProducts.PostProductsResponse
instance GHC.Show.Show StripeAPI.Operations.PostProducts.PostProductsResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostProducts.PostProductsRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostProducts.PostProductsRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostProducts.PostProductsRequestBodyPackageDimensions'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostProducts.PostProductsRequestBodyPackageDimensions'
-- | Contains the different functions to run the operation postPricesPrice
module StripeAPI.Operations.PostPricesPrice
-- |
-- POST /v1/prices/{price}
--
--
-- <p>Updates the specified price by setting the values of the
-- parameters passed. Any parameters not provided are left
-- unchanged.</p>
postPricesPrice :: forall m. MonadHTTP m => Text -> Maybe PostPricesPriceRequestBody -> ClientT m (Response PostPricesPriceResponse)
-- | Defines the object schema located at
-- paths./v1/prices/{price}.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostPricesPriceRequestBody
PostPricesPriceRequestBody :: Maybe Bool -> Maybe [Text] -> Maybe Text -> Maybe PostPricesPriceRequestBodyMetadata'Variants -> Maybe Text -> Maybe PostPricesPriceRequestBodyTaxBehavior' -> Maybe Bool -> PostPricesPriceRequestBody
-- | active: Whether the price can be used for new purchases. Defaults to
-- `true`.
[postPricesPriceRequestBodyActive] :: PostPricesPriceRequestBody -> Maybe Bool
-- | expand: Specifies which fields in the response should be expanded.
[postPricesPriceRequestBodyExpand] :: PostPricesPriceRequestBody -> Maybe [Text]
-- | lookup_key: A lookup key used to retrieve prices dynamically from a
-- static string.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPricesPriceRequestBodyLookupKey] :: PostPricesPriceRequestBody -> Maybe Text
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postPricesPriceRequestBodyMetadata] :: PostPricesPriceRequestBody -> Maybe PostPricesPriceRequestBodyMetadata'Variants
-- | nickname: A brief description of the price, hidden from customers.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPricesPriceRequestBodyNickname] :: PostPricesPriceRequestBody -> Maybe Text
-- | tax_behavior: Specifies whether the price is considered inclusive of
-- taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or
-- `unspecified`. Once specified as either `inclusive` or `exclusive`, it
-- cannot be changed.
[postPricesPriceRequestBodyTaxBehavior] :: PostPricesPriceRequestBody -> Maybe PostPricesPriceRequestBodyTaxBehavior'
-- | transfer_lookup_key: If set to true, will atomically remove the lookup
-- key from the existing price, and assign it to this price.
[postPricesPriceRequestBodyTransferLookupKey] :: PostPricesPriceRequestBody -> Maybe Bool
-- | Create a new PostPricesPriceRequestBody with all required
-- fields.
mkPostPricesPriceRequestBody :: PostPricesPriceRequestBody
-- | Defines the oneOf schema located at
-- paths./v1/prices/{price}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.metadata.anyOf
-- in the specification.
--
-- Set of key-value pairs that you can attach to an object. This
-- can be useful for storing additional information about the object in a
-- structured format. Individual keys can be unset by posting an empty
-- value to them. All keys can be unset by posting an empty value to
-- `metadata`.
data PostPricesPriceRequestBodyMetadata'Variants
-- | Represents the JSON value ""
PostPricesPriceRequestBodyMetadata'EmptyString :: PostPricesPriceRequestBodyMetadata'Variants
PostPricesPriceRequestBodyMetadata'Object :: Object -> PostPricesPriceRequestBodyMetadata'Variants
-- | Defines the enum schema located at
-- paths./v1/prices/{price}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.tax_behavior
-- in the specification.
--
-- Specifies whether the price is considered inclusive of taxes or
-- exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`.
-- Once specified as either `inclusive` or `exclusive`, it cannot be
-- changed.
data PostPricesPriceRequestBodyTaxBehavior'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostPricesPriceRequestBodyTaxBehavior'Other :: Value -> PostPricesPriceRequestBodyTaxBehavior'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostPricesPriceRequestBodyTaxBehavior'Typed :: Text -> PostPricesPriceRequestBodyTaxBehavior'
-- | Represents the JSON value "exclusive"
PostPricesPriceRequestBodyTaxBehavior'EnumExclusive :: PostPricesPriceRequestBodyTaxBehavior'
-- | Represents the JSON value "inclusive"
PostPricesPriceRequestBodyTaxBehavior'EnumInclusive :: PostPricesPriceRequestBodyTaxBehavior'
-- | Represents the JSON value "unspecified"
PostPricesPriceRequestBodyTaxBehavior'EnumUnspecified :: PostPricesPriceRequestBodyTaxBehavior'
-- | Represents a response of the operation postPricesPrice.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostPricesPriceResponseError is used.
data PostPricesPriceResponse
-- | Means either no matching case available or a parse error
PostPricesPriceResponseError :: String -> PostPricesPriceResponse
-- | Successful response.
PostPricesPriceResponse200 :: Price -> PostPricesPriceResponse
-- | Error response.
PostPricesPriceResponseDefault :: Error -> PostPricesPriceResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostPricesPrice.PostPricesPriceRequestBodyMetadata'Variants
instance GHC.Show.Show StripeAPI.Operations.PostPricesPrice.PostPricesPriceRequestBodyMetadata'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostPricesPrice.PostPricesPriceRequestBodyTaxBehavior'
instance GHC.Show.Show StripeAPI.Operations.PostPricesPrice.PostPricesPriceRequestBodyTaxBehavior'
instance GHC.Classes.Eq StripeAPI.Operations.PostPricesPrice.PostPricesPriceRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostPricesPrice.PostPricesPriceRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostPricesPrice.PostPricesPriceResponse
instance GHC.Show.Show StripeAPI.Operations.PostPricesPrice.PostPricesPriceResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPricesPrice.PostPricesPriceRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPricesPrice.PostPricesPriceRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPricesPrice.PostPricesPriceRequestBodyTaxBehavior'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPricesPrice.PostPricesPriceRequestBodyTaxBehavior'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPricesPrice.PostPricesPriceRequestBodyMetadata'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPricesPrice.PostPricesPriceRequestBodyMetadata'Variants
-- | Contains the different functions to run the operation postPrices
module StripeAPI.Operations.PostPrices
-- |
-- POST /v1/prices
--
--
-- <p>Creates a new price for an existing product. The price can be
-- recurring or one-time.</p>
postPrices :: forall m. MonadHTTP m => PostPricesRequestBody -> ClientT m (Response PostPricesResponse)
-- | Defines the object schema located at
-- paths./v1/prices.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostPricesRequestBody
PostPricesRequestBody :: Maybe Bool -> Maybe PostPricesRequestBodyBillingScheme' -> Text -> Maybe [Text] -> Maybe Text -> Maybe Object -> Maybe Text -> Maybe Text -> Maybe PostPricesRequestBodyProductData' -> Maybe PostPricesRequestBodyRecurring' -> Maybe PostPricesRequestBodyTaxBehavior' -> Maybe [PostPricesRequestBodyTiers'] -> Maybe PostPricesRequestBodyTiersMode' -> Maybe Bool -> Maybe PostPricesRequestBodyTransformQuantity' -> Maybe Int -> Maybe Text -> PostPricesRequestBody
-- | active: Whether the price can be used for new purchases. Defaults to
-- `true`.
[postPricesRequestBodyActive] :: PostPricesRequestBody -> Maybe Bool
-- | billing_scheme: Describes how to compute the price per period. Either
-- `per_unit` or `tiered`. `per_unit` indicates that the fixed amount
-- (specified in `unit_amount` or `unit_amount_decimal`) will be charged
-- per unit in `quantity` (for prices with `usage_type=licensed`), or per
-- unit of total usage (for prices with `usage_type=metered`). `tiered`
-- indicates that the unit pricing will be computed using a tiering
-- strategy as defined using the `tiers` and `tiers_mode` attributes.
[postPricesRequestBodyBillingScheme] :: PostPricesRequestBody -> Maybe PostPricesRequestBodyBillingScheme'
-- | currency: Three-letter ISO currency code, in lowercase. Must be
-- a supported currency.
[postPricesRequestBodyCurrency] :: PostPricesRequestBody -> Text
-- | expand: Specifies which fields in the response should be expanded.
[postPricesRequestBodyExpand] :: PostPricesRequestBody -> Maybe [Text]
-- | lookup_key: A lookup key used to retrieve prices dynamically from a
-- static string.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPricesRequestBodyLookupKey] :: PostPricesRequestBody -> Maybe Text
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postPricesRequestBodyMetadata] :: PostPricesRequestBody -> Maybe Object
-- | nickname: A brief description of the price, hidden from customers.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPricesRequestBodyNickname] :: PostPricesRequestBody -> Maybe Text
-- | product: The ID of the product that this price will belong to.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPricesRequestBodyProduct] :: PostPricesRequestBody -> Maybe Text
-- | product_data: These fields can be used to create a new product that
-- this price will belong to.
[postPricesRequestBodyProductData] :: PostPricesRequestBody -> Maybe PostPricesRequestBodyProductData'
-- | recurring: The recurring components of a price such as `interval` and
-- `usage_type`.
[postPricesRequestBodyRecurring] :: PostPricesRequestBody -> Maybe PostPricesRequestBodyRecurring'
-- | tax_behavior: Specifies whether the price is considered inclusive of
-- taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or
-- `unspecified`. Once specified as either `inclusive` or `exclusive`, it
-- cannot be changed.
[postPricesRequestBodyTaxBehavior] :: PostPricesRequestBody -> Maybe PostPricesRequestBodyTaxBehavior'
-- | tiers: Each element represents a pricing tier. This parameter requires
-- `billing_scheme` to be set to `tiered`. See also the documentation for
-- `billing_scheme`.
[postPricesRequestBodyTiers] :: PostPricesRequestBody -> Maybe [PostPricesRequestBodyTiers']
-- | tiers_mode: Defines if the tiering price should be `graduated` or
-- `volume` based. In `volume`-based tiering, the maximum quantity within
-- a period determines the per unit price, in `graduated` tiering pricing
-- can successively change as the quantity grows.
[postPricesRequestBodyTiersMode] :: PostPricesRequestBody -> Maybe PostPricesRequestBodyTiersMode'
-- | transfer_lookup_key: If set to true, will atomically remove the lookup
-- key from the existing price, and assign it to this price.
[postPricesRequestBodyTransferLookupKey] :: PostPricesRequestBody -> Maybe Bool
-- | transform_quantity: Apply a transformation to the reported usage or
-- set quantity before computing the billed price. Cannot be combined
-- with `tiers`.
[postPricesRequestBodyTransformQuantity] :: PostPricesRequestBody -> Maybe PostPricesRequestBodyTransformQuantity'
-- | unit_amount: A positive integer in %s (or 0 for a free price)
-- representing how much to charge.
[postPricesRequestBodyUnitAmount] :: PostPricesRequestBody -> Maybe Int
-- | unit_amount_decimal: Same as `unit_amount`, but accepts a decimal
-- value in %s with at most 12 decimal places. Only one of `unit_amount`
-- and `unit_amount_decimal` can be set.
[postPricesRequestBodyUnitAmountDecimal] :: PostPricesRequestBody -> Maybe Text
-- | Create a new PostPricesRequestBody with all required fields.
mkPostPricesRequestBody :: Text -> PostPricesRequestBody
-- | Defines the enum schema located at
-- paths./v1/prices.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.billing_scheme
-- in the specification.
--
-- Describes how to compute the price per period. Either `per_unit` or
-- `tiered`. `per_unit` indicates that the fixed amount (specified in
-- `unit_amount` or `unit_amount_decimal`) will be charged per unit in
-- `quantity` (for prices with `usage_type=licensed`), or per unit of
-- total usage (for prices with `usage_type=metered`). `tiered` indicates
-- that the unit pricing will be computed using a tiering strategy as
-- defined using the `tiers` and `tiers_mode` attributes.
data PostPricesRequestBodyBillingScheme'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostPricesRequestBodyBillingScheme'Other :: Value -> PostPricesRequestBodyBillingScheme'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostPricesRequestBodyBillingScheme'Typed :: Text -> PostPricesRequestBodyBillingScheme'
-- | Represents the JSON value "per_unit"
PostPricesRequestBodyBillingScheme'EnumPerUnit :: PostPricesRequestBodyBillingScheme'
-- | Represents the JSON value "tiered"
PostPricesRequestBodyBillingScheme'EnumTiered :: PostPricesRequestBodyBillingScheme'
-- | Defines the object schema located at
-- paths./v1/prices.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.product_data
-- in the specification.
--
-- These fields can be used to create a new product that this price will
-- belong to.
data PostPricesRequestBodyProductData'
PostPricesRequestBodyProductData' :: Maybe Bool -> Maybe Text -> Maybe Object -> Text -> Maybe Text -> Maybe Text -> Maybe Text -> PostPricesRequestBodyProductData'
-- | active
[postPricesRequestBodyProductData'Active] :: PostPricesRequestBodyProductData' -> Maybe Bool
-- | id
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPricesRequestBodyProductData'Id] :: PostPricesRequestBodyProductData' -> Maybe Text
-- | metadata
[postPricesRequestBodyProductData'Metadata] :: PostPricesRequestBodyProductData' -> Maybe Object
-- | name
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPricesRequestBodyProductData'Name] :: PostPricesRequestBodyProductData' -> Text
-- | statement_descriptor
--
-- Constraints:
--
--
-- - Maximum length of 22
--
[postPricesRequestBodyProductData'StatementDescriptor] :: PostPricesRequestBodyProductData' -> Maybe Text
-- | tax_code
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPricesRequestBodyProductData'TaxCode] :: PostPricesRequestBodyProductData' -> Maybe Text
-- | unit_label
--
-- Constraints:
--
--
-- - Maximum length of 12
--
[postPricesRequestBodyProductData'UnitLabel] :: PostPricesRequestBodyProductData' -> Maybe Text
-- | Create a new PostPricesRequestBodyProductData' with all
-- required fields.
mkPostPricesRequestBodyProductData' :: Text -> PostPricesRequestBodyProductData'
-- | Defines the object schema located at
-- paths./v1/prices.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.recurring
-- in the specification.
--
-- The recurring components of a price such as `interval` and
-- `usage_type`.
data PostPricesRequestBodyRecurring'
PostPricesRequestBodyRecurring' :: Maybe PostPricesRequestBodyRecurring'AggregateUsage' -> PostPricesRequestBodyRecurring'Interval' -> Maybe Int -> Maybe PostPricesRequestBodyRecurring'UsageType' -> PostPricesRequestBodyRecurring'
-- | aggregate_usage
[postPricesRequestBodyRecurring'AggregateUsage] :: PostPricesRequestBodyRecurring' -> Maybe PostPricesRequestBodyRecurring'AggregateUsage'
-- | interval
[postPricesRequestBodyRecurring'Interval] :: PostPricesRequestBodyRecurring' -> PostPricesRequestBodyRecurring'Interval'
-- | interval_count
[postPricesRequestBodyRecurring'IntervalCount] :: PostPricesRequestBodyRecurring' -> Maybe Int
-- | usage_type
[postPricesRequestBodyRecurring'UsageType] :: PostPricesRequestBodyRecurring' -> Maybe PostPricesRequestBodyRecurring'UsageType'
-- | Create a new PostPricesRequestBodyRecurring' with all required
-- fields.
mkPostPricesRequestBodyRecurring' :: PostPricesRequestBodyRecurring'Interval' -> PostPricesRequestBodyRecurring'
-- | Defines the enum schema located at
-- paths./v1/prices.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.recurring.properties.aggregate_usage
-- in the specification.
data PostPricesRequestBodyRecurring'AggregateUsage'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostPricesRequestBodyRecurring'AggregateUsage'Other :: Value -> PostPricesRequestBodyRecurring'AggregateUsage'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostPricesRequestBodyRecurring'AggregateUsage'Typed :: Text -> PostPricesRequestBodyRecurring'AggregateUsage'
-- | Represents the JSON value "last_during_period"
PostPricesRequestBodyRecurring'AggregateUsage'EnumLastDuringPeriod :: PostPricesRequestBodyRecurring'AggregateUsage'
-- | Represents the JSON value "last_ever"
PostPricesRequestBodyRecurring'AggregateUsage'EnumLastEver :: PostPricesRequestBodyRecurring'AggregateUsage'
-- | Represents the JSON value "max"
PostPricesRequestBodyRecurring'AggregateUsage'EnumMax :: PostPricesRequestBodyRecurring'AggregateUsage'
-- | Represents the JSON value "sum"
PostPricesRequestBodyRecurring'AggregateUsage'EnumSum :: PostPricesRequestBodyRecurring'AggregateUsage'
-- | Defines the enum schema located at
-- paths./v1/prices.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.recurring.properties.interval
-- in the specification.
data PostPricesRequestBodyRecurring'Interval'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostPricesRequestBodyRecurring'Interval'Other :: Value -> PostPricesRequestBodyRecurring'Interval'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostPricesRequestBodyRecurring'Interval'Typed :: Text -> PostPricesRequestBodyRecurring'Interval'
-- | Represents the JSON value "day"
PostPricesRequestBodyRecurring'Interval'EnumDay :: PostPricesRequestBodyRecurring'Interval'
-- | Represents the JSON value "month"
PostPricesRequestBodyRecurring'Interval'EnumMonth :: PostPricesRequestBodyRecurring'Interval'
-- | Represents the JSON value "week"
PostPricesRequestBodyRecurring'Interval'EnumWeek :: PostPricesRequestBodyRecurring'Interval'
-- | Represents the JSON value "year"
PostPricesRequestBodyRecurring'Interval'EnumYear :: PostPricesRequestBodyRecurring'Interval'
-- | Defines the enum schema located at
-- paths./v1/prices.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.recurring.properties.usage_type
-- in the specification.
data PostPricesRequestBodyRecurring'UsageType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostPricesRequestBodyRecurring'UsageType'Other :: Value -> PostPricesRequestBodyRecurring'UsageType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostPricesRequestBodyRecurring'UsageType'Typed :: Text -> PostPricesRequestBodyRecurring'UsageType'
-- | Represents the JSON value "licensed"
PostPricesRequestBodyRecurring'UsageType'EnumLicensed :: PostPricesRequestBodyRecurring'UsageType'
-- | Represents the JSON value "metered"
PostPricesRequestBodyRecurring'UsageType'EnumMetered :: PostPricesRequestBodyRecurring'UsageType'
-- | Defines the enum schema located at
-- paths./v1/prices.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.tax_behavior
-- in the specification.
--
-- Specifies whether the price is considered inclusive of taxes or
-- exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`.
-- Once specified as either `inclusive` or `exclusive`, it cannot be
-- changed.
data PostPricesRequestBodyTaxBehavior'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostPricesRequestBodyTaxBehavior'Other :: Value -> PostPricesRequestBodyTaxBehavior'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostPricesRequestBodyTaxBehavior'Typed :: Text -> PostPricesRequestBodyTaxBehavior'
-- | Represents the JSON value "exclusive"
PostPricesRequestBodyTaxBehavior'EnumExclusive :: PostPricesRequestBodyTaxBehavior'
-- | Represents the JSON value "inclusive"
PostPricesRequestBodyTaxBehavior'EnumInclusive :: PostPricesRequestBodyTaxBehavior'
-- | Represents the JSON value "unspecified"
PostPricesRequestBodyTaxBehavior'EnumUnspecified :: PostPricesRequestBodyTaxBehavior'
-- | Defines the object schema located at
-- paths./v1/prices.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.tiers.items
-- in the specification.
data PostPricesRequestBodyTiers'
PostPricesRequestBodyTiers' :: Maybe Int -> Maybe Text -> Maybe Int -> Maybe Text -> PostPricesRequestBodyTiers'UpTo'Variants -> PostPricesRequestBodyTiers'
-- | flat_amount
[postPricesRequestBodyTiers'FlatAmount] :: PostPricesRequestBodyTiers' -> Maybe Int
-- | flat_amount_decimal
[postPricesRequestBodyTiers'FlatAmountDecimal] :: PostPricesRequestBodyTiers' -> Maybe Text
-- | unit_amount
[postPricesRequestBodyTiers'UnitAmount] :: PostPricesRequestBodyTiers' -> Maybe Int
-- | unit_amount_decimal
[postPricesRequestBodyTiers'UnitAmountDecimal] :: PostPricesRequestBodyTiers' -> Maybe Text
-- | up_to
[postPricesRequestBodyTiers'UpTo] :: PostPricesRequestBodyTiers' -> PostPricesRequestBodyTiers'UpTo'Variants
-- | Create a new PostPricesRequestBodyTiers' with all required
-- fields.
mkPostPricesRequestBodyTiers' :: PostPricesRequestBodyTiers'UpTo'Variants -> PostPricesRequestBodyTiers'
-- | Defines the oneOf schema located at
-- paths./v1/prices.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.tiers.items.properties.up_to.anyOf
-- in the specification.
data PostPricesRequestBodyTiers'UpTo'Variants
-- | Represents the JSON value "inf"
PostPricesRequestBodyTiers'UpTo'Inf :: PostPricesRequestBodyTiers'UpTo'Variants
PostPricesRequestBodyTiers'UpTo'Int :: Int -> PostPricesRequestBodyTiers'UpTo'Variants
-- | Defines the enum schema located at
-- paths./v1/prices.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.tiers_mode
-- in the specification.
--
-- Defines if the tiering price should be `graduated` or `volume` based.
-- In `volume`-based tiering, the maximum quantity within a period
-- determines the per unit price, in `graduated` tiering pricing can
-- successively change as the quantity grows.
data PostPricesRequestBodyTiersMode'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostPricesRequestBodyTiersMode'Other :: Value -> PostPricesRequestBodyTiersMode'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostPricesRequestBodyTiersMode'Typed :: Text -> PostPricesRequestBodyTiersMode'
-- | Represents the JSON value "graduated"
PostPricesRequestBodyTiersMode'EnumGraduated :: PostPricesRequestBodyTiersMode'
-- | Represents the JSON value "volume"
PostPricesRequestBodyTiersMode'EnumVolume :: PostPricesRequestBodyTiersMode'
-- | Defines the object schema located at
-- paths./v1/prices.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.transform_quantity
-- in the specification.
--
-- Apply a transformation to the reported usage or set quantity before
-- computing the billed price. Cannot be combined with `tiers`.
data PostPricesRequestBodyTransformQuantity'
PostPricesRequestBodyTransformQuantity' :: Int -> PostPricesRequestBodyTransformQuantity'Round' -> PostPricesRequestBodyTransformQuantity'
-- | divide_by
[postPricesRequestBodyTransformQuantity'DivideBy] :: PostPricesRequestBodyTransformQuantity' -> Int
-- | round
[postPricesRequestBodyTransformQuantity'Round] :: PostPricesRequestBodyTransformQuantity' -> PostPricesRequestBodyTransformQuantity'Round'
-- | Create a new PostPricesRequestBodyTransformQuantity' with all
-- required fields.
mkPostPricesRequestBodyTransformQuantity' :: Int -> PostPricesRequestBodyTransformQuantity'Round' -> PostPricesRequestBodyTransformQuantity'
-- | Defines the enum schema located at
-- paths./v1/prices.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.transform_quantity.properties.round
-- in the specification.
data PostPricesRequestBodyTransformQuantity'Round'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostPricesRequestBodyTransformQuantity'Round'Other :: Value -> PostPricesRequestBodyTransformQuantity'Round'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostPricesRequestBodyTransformQuantity'Round'Typed :: Text -> PostPricesRequestBodyTransformQuantity'Round'
-- | Represents the JSON value "down"
PostPricesRequestBodyTransformQuantity'Round'EnumDown :: PostPricesRequestBodyTransformQuantity'Round'
-- | Represents the JSON value "up"
PostPricesRequestBodyTransformQuantity'Round'EnumUp :: PostPricesRequestBodyTransformQuantity'Round'
-- | Represents a response of the operation postPrices.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostPricesResponseError is used.
data PostPricesResponse
-- | Means either no matching case available or a parse error
PostPricesResponseError :: String -> PostPricesResponse
-- | Successful response.
PostPricesResponse200 :: Price -> PostPricesResponse
-- | Error response.
PostPricesResponseDefault :: Error -> PostPricesResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostPrices.PostPricesRequestBodyBillingScheme'
instance GHC.Show.Show StripeAPI.Operations.PostPrices.PostPricesRequestBodyBillingScheme'
instance GHC.Classes.Eq StripeAPI.Operations.PostPrices.PostPricesRequestBodyProductData'
instance GHC.Show.Show StripeAPI.Operations.PostPrices.PostPricesRequestBodyProductData'
instance GHC.Classes.Eq StripeAPI.Operations.PostPrices.PostPricesRequestBodyRecurring'AggregateUsage'
instance GHC.Show.Show StripeAPI.Operations.PostPrices.PostPricesRequestBodyRecurring'AggregateUsage'
instance GHC.Classes.Eq StripeAPI.Operations.PostPrices.PostPricesRequestBodyRecurring'Interval'
instance GHC.Show.Show StripeAPI.Operations.PostPrices.PostPricesRequestBodyRecurring'Interval'
instance GHC.Classes.Eq StripeAPI.Operations.PostPrices.PostPricesRequestBodyRecurring'UsageType'
instance GHC.Show.Show StripeAPI.Operations.PostPrices.PostPricesRequestBodyRecurring'UsageType'
instance GHC.Classes.Eq StripeAPI.Operations.PostPrices.PostPricesRequestBodyRecurring'
instance GHC.Show.Show StripeAPI.Operations.PostPrices.PostPricesRequestBodyRecurring'
instance GHC.Classes.Eq StripeAPI.Operations.PostPrices.PostPricesRequestBodyTaxBehavior'
instance GHC.Show.Show StripeAPI.Operations.PostPrices.PostPricesRequestBodyTaxBehavior'
instance GHC.Classes.Eq StripeAPI.Operations.PostPrices.PostPricesRequestBodyTiers'UpTo'Variants
instance GHC.Show.Show StripeAPI.Operations.PostPrices.PostPricesRequestBodyTiers'UpTo'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostPrices.PostPricesRequestBodyTiers'
instance GHC.Show.Show StripeAPI.Operations.PostPrices.PostPricesRequestBodyTiers'
instance GHC.Classes.Eq StripeAPI.Operations.PostPrices.PostPricesRequestBodyTiersMode'
instance GHC.Show.Show StripeAPI.Operations.PostPrices.PostPricesRequestBodyTiersMode'
instance GHC.Classes.Eq StripeAPI.Operations.PostPrices.PostPricesRequestBodyTransformQuantity'Round'
instance GHC.Show.Show StripeAPI.Operations.PostPrices.PostPricesRequestBodyTransformQuantity'Round'
instance GHC.Classes.Eq StripeAPI.Operations.PostPrices.PostPricesRequestBodyTransformQuantity'
instance GHC.Show.Show StripeAPI.Operations.PostPrices.PostPricesRequestBodyTransformQuantity'
instance GHC.Classes.Eq StripeAPI.Operations.PostPrices.PostPricesRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostPrices.PostPricesRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostPrices.PostPricesResponse
instance GHC.Show.Show StripeAPI.Operations.PostPrices.PostPricesResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPrices.PostPricesRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPrices.PostPricesRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPrices.PostPricesRequestBodyTransformQuantity'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPrices.PostPricesRequestBodyTransformQuantity'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPrices.PostPricesRequestBodyTransformQuantity'Round'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPrices.PostPricesRequestBodyTransformQuantity'Round'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPrices.PostPricesRequestBodyTiersMode'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPrices.PostPricesRequestBodyTiersMode'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPrices.PostPricesRequestBodyTiers'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPrices.PostPricesRequestBodyTiers'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPrices.PostPricesRequestBodyTiers'UpTo'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPrices.PostPricesRequestBodyTiers'UpTo'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPrices.PostPricesRequestBodyTaxBehavior'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPrices.PostPricesRequestBodyTaxBehavior'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPrices.PostPricesRequestBodyRecurring'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPrices.PostPricesRequestBodyRecurring'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPrices.PostPricesRequestBodyRecurring'UsageType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPrices.PostPricesRequestBodyRecurring'UsageType'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPrices.PostPricesRequestBodyRecurring'Interval'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPrices.PostPricesRequestBodyRecurring'Interval'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPrices.PostPricesRequestBodyRecurring'AggregateUsage'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPrices.PostPricesRequestBodyRecurring'AggregateUsage'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPrices.PostPricesRequestBodyProductData'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPrices.PostPricesRequestBodyProductData'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPrices.PostPricesRequestBodyBillingScheme'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPrices.PostPricesRequestBodyBillingScheme'
-- | Contains the different functions to run the operation postPlansPlan
module StripeAPI.Operations.PostPlansPlan
-- |
-- POST /v1/plans/{plan}
--
--
-- <p>Updates the specified plan by setting the values of the
-- parameters passed. Any parameters not provided are left unchanged. By
-- design, you cannot change a plan’s ID, amount, currency, or billing
-- cycle.</p>
postPlansPlan :: forall m. MonadHTTP m => Text -> Maybe PostPlansPlanRequestBody -> ClientT m (Response PostPlansPlanResponse)
-- | Defines the object schema located at
-- paths./v1/plans/{plan}.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostPlansPlanRequestBody
PostPlansPlanRequestBody :: Maybe Bool -> Maybe [Text] -> Maybe PostPlansPlanRequestBodyMetadata'Variants -> Maybe Text -> Maybe Text -> Maybe Int -> PostPlansPlanRequestBody
-- | active: Whether the plan is currently available for new subscriptions.
[postPlansPlanRequestBodyActive] :: PostPlansPlanRequestBody -> Maybe Bool
-- | expand: Specifies which fields in the response should be expanded.
[postPlansPlanRequestBodyExpand] :: PostPlansPlanRequestBody -> Maybe [Text]
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postPlansPlanRequestBodyMetadata] :: PostPlansPlanRequestBody -> Maybe PostPlansPlanRequestBodyMetadata'Variants
-- | nickname: A brief description of the plan, hidden from customers.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPlansPlanRequestBodyNickname] :: PostPlansPlanRequestBody -> Maybe Text
-- | product: The product the plan belongs to. This cannot be changed once
-- it has been used in a subscription or subscription schedule.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPlansPlanRequestBodyProduct] :: PostPlansPlanRequestBody -> Maybe Text
-- | trial_period_days: Default number of trial days when subscribing a
-- customer to this plan using `trial_from_plan=true`.
[postPlansPlanRequestBodyTrialPeriodDays] :: PostPlansPlanRequestBody -> Maybe Int
-- | Create a new PostPlansPlanRequestBody with all required fields.
mkPostPlansPlanRequestBody :: PostPlansPlanRequestBody
-- | Defines the oneOf schema located at
-- paths./v1/plans/{plan}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.metadata.anyOf
-- in the specification.
--
-- Set of key-value pairs that you can attach to an object. This
-- can be useful for storing additional information about the object in a
-- structured format. Individual keys can be unset by posting an empty
-- value to them. All keys can be unset by posting an empty value to
-- `metadata`.
data PostPlansPlanRequestBodyMetadata'Variants
-- | Represents the JSON value ""
PostPlansPlanRequestBodyMetadata'EmptyString :: PostPlansPlanRequestBodyMetadata'Variants
PostPlansPlanRequestBodyMetadata'Object :: Object -> PostPlansPlanRequestBodyMetadata'Variants
-- | Represents a response of the operation postPlansPlan.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostPlansPlanResponseError is used.
data PostPlansPlanResponse
-- | Means either no matching case available or a parse error
PostPlansPlanResponseError :: String -> PostPlansPlanResponse
-- | Successful response.
PostPlansPlanResponse200 :: Plan -> PostPlansPlanResponse
-- | Error response.
PostPlansPlanResponseDefault :: Error -> PostPlansPlanResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostPlansPlan.PostPlansPlanRequestBodyMetadata'Variants
instance GHC.Show.Show StripeAPI.Operations.PostPlansPlan.PostPlansPlanRequestBodyMetadata'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostPlansPlan.PostPlansPlanRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostPlansPlan.PostPlansPlanRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostPlansPlan.PostPlansPlanResponse
instance GHC.Show.Show StripeAPI.Operations.PostPlansPlan.PostPlansPlanResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPlansPlan.PostPlansPlanRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPlansPlan.PostPlansPlanRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPlansPlan.PostPlansPlanRequestBodyMetadata'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPlansPlan.PostPlansPlanRequestBodyMetadata'Variants
-- | Contains the different functions to run the operation postPlans
module StripeAPI.Operations.PostPlans
-- |
-- POST /v1/plans
--
--
-- <p>You can now model subscriptions more flexibly using the <a
-- href="#prices">Prices API</a>. It replaces the Plans API and
-- is backwards compatible to simplify your migration.</p>
postPlans :: forall m. MonadHTTP m => PostPlansRequestBody -> ClientT m (Response PostPlansResponse)
-- | Defines the object schema located at
-- paths./v1/plans.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostPlansRequestBody
PostPlansRequestBody :: Maybe Bool -> Maybe PostPlansRequestBodyAggregateUsage' -> Maybe Int -> Maybe Text -> Maybe PostPlansRequestBodyBillingScheme' -> Text -> Maybe [Text] -> Maybe Text -> PostPlansRequestBodyInterval' -> Maybe Int -> Maybe PostPlansRequestBodyMetadata'Variants -> Maybe Text -> Maybe PostPlansRequestBodyProduct'Variants -> Maybe [PostPlansRequestBodyTiers'] -> Maybe PostPlansRequestBodyTiersMode' -> Maybe PostPlansRequestBodyTransformUsage' -> Maybe Int -> Maybe PostPlansRequestBodyUsageType' -> PostPlansRequestBody
-- | active: Whether the plan is currently available for new subscriptions.
-- Defaults to `true`.
[postPlansRequestBodyActive] :: PostPlansRequestBody -> Maybe Bool
-- | aggregate_usage: Specifies a usage aggregation strategy for plans of
-- `usage_type=metered`. Allowed values are `sum` for summing up all
-- usage during a period, `last_during_period` for using the last usage
-- record reported within a period, `last_ever` for using the last usage
-- record ever (across period bounds) or `max` which uses the usage
-- record with the maximum reported usage during a period. Defaults to
-- `sum`.
[postPlansRequestBodyAggregateUsage] :: PostPlansRequestBody -> Maybe PostPlansRequestBodyAggregateUsage'
-- | amount: A positive integer in %s (or 0 for a free plan) representing
-- how much to charge on a recurring basis.
[postPlansRequestBodyAmount] :: PostPlansRequestBody -> Maybe Int
-- | amount_decimal: Same as `amount`, but accepts a decimal value with at
-- most 12 decimal places. Only one of `amount` and `amount_decimal` can
-- be set.
[postPlansRequestBodyAmountDecimal] :: PostPlansRequestBody -> Maybe Text
-- | billing_scheme: Describes how to compute the price per period. Either
-- `per_unit` or `tiered`. `per_unit` indicates that the fixed amount
-- (specified in `amount`) will be charged per unit in `quantity` (for
-- plans with `usage_type=licensed`), or per unit of total usage (for
-- plans with `usage_type=metered`). `tiered` indicates that the unit
-- pricing will be computed using a tiering strategy as defined using the
-- `tiers` and `tiers_mode` attributes.
[postPlansRequestBodyBillingScheme] :: PostPlansRequestBody -> Maybe PostPlansRequestBodyBillingScheme'
-- | currency: Three-letter ISO currency code, in lowercase. Must be
-- a supported currency.
[postPlansRequestBodyCurrency] :: PostPlansRequestBody -> Text
-- | expand: Specifies which fields in the response should be expanded.
[postPlansRequestBodyExpand] :: PostPlansRequestBody -> Maybe [Text]
-- | id: An identifier randomly generated by Stripe. Used to identify this
-- plan when subscribing a customer. You can optionally override this ID,
-- but the ID must be unique across all plans in your Stripe account. You
-- can, however, use the same plan ID in both live and test modes.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPlansRequestBodyId] :: PostPlansRequestBody -> Maybe Text
-- | interval: Specifies billing frequency. Either `day`, `week`, `month`
-- or `year`.
[postPlansRequestBodyInterval] :: PostPlansRequestBody -> PostPlansRequestBodyInterval'
-- | interval_count: The number of intervals between subscription billings.
-- For example, `interval=month` and `interval_count=3` bills every 3
-- months. Maximum of one year interval allowed (1 year, 12 months, or 52
-- weeks).
[postPlansRequestBodyIntervalCount] :: PostPlansRequestBody -> Maybe Int
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postPlansRequestBodyMetadata] :: PostPlansRequestBody -> Maybe PostPlansRequestBodyMetadata'Variants
-- | nickname: A brief description of the plan, hidden from customers.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPlansRequestBodyNickname] :: PostPlansRequestBody -> Maybe Text
-- | product
[postPlansRequestBodyProduct] :: PostPlansRequestBody -> Maybe PostPlansRequestBodyProduct'Variants
-- | tiers: Each element represents a pricing tier. This parameter requires
-- `billing_scheme` to be set to `tiered`. See also the documentation for
-- `billing_scheme`.
[postPlansRequestBodyTiers] :: PostPlansRequestBody -> Maybe [PostPlansRequestBodyTiers']
-- | tiers_mode: Defines if the tiering price should be `graduated` or
-- `volume` based. In `volume`-based tiering, the maximum quantity within
-- a period determines the per unit price, in `graduated` tiering pricing
-- can successively change as the quantity grows.
[postPlansRequestBodyTiersMode] :: PostPlansRequestBody -> Maybe PostPlansRequestBodyTiersMode'
-- | transform_usage: Apply a transformation to the reported usage or set
-- quantity before computing the billed price. Cannot be combined with
-- `tiers`.
[postPlansRequestBodyTransformUsage] :: PostPlansRequestBody -> Maybe PostPlansRequestBodyTransformUsage'
-- | trial_period_days: Default number of trial days when subscribing a
-- customer to this plan using `trial_from_plan=true`.
[postPlansRequestBodyTrialPeriodDays] :: PostPlansRequestBody -> Maybe Int
-- | usage_type: Configures how the quantity per period should be
-- determined. Can be either `metered` or `licensed`. `licensed`
-- automatically bills the `quantity` set when adding it to a
-- subscription. `metered` aggregates the total usage based on usage
-- records. Defaults to `licensed`.
[postPlansRequestBodyUsageType] :: PostPlansRequestBody -> Maybe PostPlansRequestBodyUsageType'
-- | Create a new PostPlansRequestBody with all required fields.
mkPostPlansRequestBody :: Text -> PostPlansRequestBodyInterval' -> PostPlansRequestBody
-- | Defines the enum schema located at
-- paths./v1/plans.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.aggregate_usage
-- in the specification.
--
-- Specifies a usage aggregation strategy for plans of
-- `usage_type=metered`. Allowed values are `sum` for summing up all
-- usage during a period, `last_during_period` for using the last usage
-- record reported within a period, `last_ever` for using the last usage
-- record ever (across period bounds) or `max` which uses the usage
-- record with the maximum reported usage during a period. Defaults to
-- `sum`.
data PostPlansRequestBodyAggregateUsage'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostPlansRequestBodyAggregateUsage'Other :: Value -> PostPlansRequestBodyAggregateUsage'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostPlansRequestBodyAggregateUsage'Typed :: Text -> PostPlansRequestBodyAggregateUsage'
-- | Represents the JSON value "last_during_period"
PostPlansRequestBodyAggregateUsage'EnumLastDuringPeriod :: PostPlansRequestBodyAggregateUsage'
-- | Represents the JSON value "last_ever"
PostPlansRequestBodyAggregateUsage'EnumLastEver :: PostPlansRequestBodyAggregateUsage'
-- | Represents the JSON value "max"
PostPlansRequestBodyAggregateUsage'EnumMax :: PostPlansRequestBodyAggregateUsage'
-- | Represents the JSON value "sum"
PostPlansRequestBodyAggregateUsage'EnumSum :: PostPlansRequestBodyAggregateUsage'
-- | Defines the enum schema located at
-- paths./v1/plans.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.billing_scheme
-- in the specification.
--
-- Describes how to compute the price per period. Either `per_unit` or
-- `tiered`. `per_unit` indicates that the fixed amount (specified in
-- `amount`) will be charged per unit in `quantity` (for plans with
-- `usage_type=licensed`), or per unit of total usage (for plans with
-- `usage_type=metered`). `tiered` indicates that the unit pricing will
-- be computed using a tiering strategy as defined using the `tiers` and
-- `tiers_mode` attributes.
data PostPlansRequestBodyBillingScheme'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostPlansRequestBodyBillingScheme'Other :: Value -> PostPlansRequestBodyBillingScheme'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostPlansRequestBodyBillingScheme'Typed :: Text -> PostPlansRequestBodyBillingScheme'
-- | Represents the JSON value "per_unit"
PostPlansRequestBodyBillingScheme'EnumPerUnit :: PostPlansRequestBodyBillingScheme'
-- | Represents the JSON value "tiered"
PostPlansRequestBodyBillingScheme'EnumTiered :: PostPlansRequestBodyBillingScheme'
-- | Defines the enum schema located at
-- paths./v1/plans.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.interval
-- in the specification.
--
-- Specifies billing frequency. Either `day`, `week`, `month` or `year`.
data PostPlansRequestBodyInterval'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostPlansRequestBodyInterval'Other :: Value -> PostPlansRequestBodyInterval'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostPlansRequestBodyInterval'Typed :: Text -> PostPlansRequestBodyInterval'
-- | Represents the JSON value "day"
PostPlansRequestBodyInterval'EnumDay :: PostPlansRequestBodyInterval'
-- | Represents the JSON value "month"
PostPlansRequestBodyInterval'EnumMonth :: PostPlansRequestBodyInterval'
-- | Represents the JSON value "week"
PostPlansRequestBodyInterval'EnumWeek :: PostPlansRequestBodyInterval'
-- | Represents the JSON value "year"
PostPlansRequestBodyInterval'EnumYear :: PostPlansRequestBodyInterval'
-- | Defines the oneOf schema located at
-- paths./v1/plans.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.metadata.anyOf
-- in the specification.
--
-- Set of key-value pairs that you can attach to an object. This
-- can be useful for storing additional information about the object in a
-- structured format. Individual keys can be unset by posting an empty
-- value to them. All keys can be unset by posting an empty value to
-- `metadata`.
data PostPlansRequestBodyMetadata'Variants
-- | Represents the JSON value ""
PostPlansRequestBodyMetadata'EmptyString :: PostPlansRequestBodyMetadata'Variants
PostPlansRequestBodyMetadata'Object :: Object -> PostPlansRequestBodyMetadata'Variants
-- | Defines the object schema located at
-- paths./v1/plans.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.product.anyOf
-- in the specification.
--
-- The product whose pricing the created plan will represent. This can
-- either be the ID of an existing product, or a dictionary containing
-- fields used to create a service product.
data PostPlansRequestBodyProduct'OneOf1
PostPlansRequestBodyProduct'OneOf1 :: Maybe Bool -> Maybe Text -> Maybe Object -> Text -> Maybe Text -> Maybe Text -> Maybe Text -> PostPlansRequestBodyProduct'OneOf1
-- | active
[postPlansRequestBodyProduct'OneOf1Active] :: PostPlansRequestBodyProduct'OneOf1 -> Maybe Bool
-- | id
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPlansRequestBodyProduct'OneOf1Id] :: PostPlansRequestBodyProduct'OneOf1 -> Maybe Text
-- | metadata
[postPlansRequestBodyProduct'OneOf1Metadata] :: PostPlansRequestBodyProduct'OneOf1 -> Maybe Object
-- | name
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPlansRequestBodyProduct'OneOf1Name] :: PostPlansRequestBodyProduct'OneOf1 -> Text
-- | statement_descriptor
--
-- Constraints:
--
--
-- - Maximum length of 22
--
[postPlansRequestBodyProduct'OneOf1StatementDescriptor] :: PostPlansRequestBodyProduct'OneOf1 -> Maybe Text
-- | tax_code
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPlansRequestBodyProduct'OneOf1TaxCode] :: PostPlansRequestBodyProduct'OneOf1 -> Maybe Text
-- | unit_label
--
-- Constraints:
--
--
-- - Maximum length of 12
--
[postPlansRequestBodyProduct'OneOf1UnitLabel] :: PostPlansRequestBodyProduct'OneOf1 -> Maybe Text
-- | Create a new PostPlansRequestBodyProduct'OneOf1 with all
-- required fields.
mkPostPlansRequestBodyProduct'OneOf1 :: Text -> PostPlansRequestBodyProduct'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/plans.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.product.anyOf
-- in the specification.
data PostPlansRequestBodyProduct'Variants
PostPlansRequestBodyProduct'PostPlansRequestBodyProduct'OneOf1 :: PostPlansRequestBodyProduct'OneOf1 -> PostPlansRequestBodyProduct'Variants
PostPlansRequestBodyProduct'Text :: Text -> PostPlansRequestBodyProduct'Variants
-- | Defines the object schema located at
-- paths./v1/plans.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.tiers.items
-- in the specification.
data PostPlansRequestBodyTiers'
PostPlansRequestBodyTiers' :: Maybe Int -> Maybe Text -> Maybe Int -> Maybe Text -> PostPlansRequestBodyTiers'UpTo'Variants -> PostPlansRequestBodyTiers'
-- | flat_amount
[postPlansRequestBodyTiers'FlatAmount] :: PostPlansRequestBodyTiers' -> Maybe Int
-- | flat_amount_decimal
[postPlansRequestBodyTiers'FlatAmountDecimal] :: PostPlansRequestBodyTiers' -> Maybe Text
-- | unit_amount
[postPlansRequestBodyTiers'UnitAmount] :: PostPlansRequestBodyTiers' -> Maybe Int
-- | unit_amount_decimal
[postPlansRequestBodyTiers'UnitAmountDecimal] :: PostPlansRequestBodyTiers' -> Maybe Text
-- | up_to
[postPlansRequestBodyTiers'UpTo] :: PostPlansRequestBodyTiers' -> PostPlansRequestBodyTiers'UpTo'Variants
-- | Create a new PostPlansRequestBodyTiers' with all required
-- fields.
mkPostPlansRequestBodyTiers' :: PostPlansRequestBodyTiers'UpTo'Variants -> PostPlansRequestBodyTiers'
-- | Defines the oneOf schema located at
-- paths./v1/plans.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.tiers.items.properties.up_to.anyOf
-- in the specification.
data PostPlansRequestBodyTiers'UpTo'Variants
-- | Represents the JSON value "inf"
PostPlansRequestBodyTiers'UpTo'Inf :: PostPlansRequestBodyTiers'UpTo'Variants
PostPlansRequestBodyTiers'UpTo'Int :: Int -> PostPlansRequestBodyTiers'UpTo'Variants
-- | Defines the enum schema located at
-- paths./v1/plans.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.tiers_mode
-- in the specification.
--
-- Defines if the tiering price should be `graduated` or `volume` based.
-- In `volume`-based tiering, the maximum quantity within a period
-- determines the per unit price, in `graduated` tiering pricing can
-- successively change as the quantity grows.
data PostPlansRequestBodyTiersMode'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostPlansRequestBodyTiersMode'Other :: Value -> PostPlansRequestBodyTiersMode'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostPlansRequestBodyTiersMode'Typed :: Text -> PostPlansRequestBodyTiersMode'
-- | Represents the JSON value "graduated"
PostPlansRequestBodyTiersMode'EnumGraduated :: PostPlansRequestBodyTiersMode'
-- | Represents the JSON value "volume"
PostPlansRequestBodyTiersMode'EnumVolume :: PostPlansRequestBodyTiersMode'
-- | Defines the object schema located at
-- paths./v1/plans.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.transform_usage
-- in the specification.
--
-- Apply a transformation to the reported usage or set quantity before
-- computing the billed price. Cannot be combined with `tiers`.
data PostPlansRequestBodyTransformUsage'
PostPlansRequestBodyTransformUsage' :: Int -> PostPlansRequestBodyTransformUsage'Round' -> PostPlansRequestBodyTransformUsage'
-- | divide_by
[postPlansRequestBodyTransformUsage'DivideBy] :: PostPlansRequestBodyTransformUsage' -> Int
-- | round
[postPlansRequestBodyTransformUsage'Round] :: PostPlansRequestBodyTransformUsage' -> PostPlansRequestBodyTransformUsage'Round'
-- | Create a new PostPlansRequestBodyTransformUsage' with all
-- required fields.
mkPostPlansRequestBodyTransformUsage' :: Int -> PostPlansRequestBodyTransformUsage'Round' -> PostPlansRequestBodyTransformUsage'
-- | Defines the enum schema located at
-- paths./v1/plans.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.transform_usage.properties.round
-- in the specification.
data PostPlansRequestBodyTransformUsage'Round'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostPlansRequestBodyTransformUsage'Round'Other :: Value -> PostPlansRequestBodyTransformUsage'Round'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostPlansRequestBodyTransformUsage'Round'Typed :: Text -> PostPlansRequestBodyTransformUsage'Round'
-- | Represents the JSON value "down"
PostPlansRequestBodyTransformUsage'Round'EnumDown :: PostPlansRequestBodyTransformUsage'Round'
-- | Represents the JSON value "up"
PostPlansRequestBodyTransformUsage'Round'EnumUp :: PostPlansRequestBodyTransformUsage'Round'
-- | Defines the enum schema located at
-- paths./v1/plans.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.usage_type
-- in the specification.
--
-- Configures how the quantity per period should be determined. Can be
-- either `metered` or `licensed`. `licensed` automatically bills the
-- `quantity` set when adding it to a subscription. `metered` aggregates
-- the total usage based on usage records. Defaults to `licensed`.
data PostPlansRequestBodyUsageType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostPlansRequestBodyUsageType'Other :: Value -> PostPlansRequestBodyUsageType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostPlansRequestBodyUsageType'Typed :: Text -> PostPlansRequestBodyUsageType'
-- | Represents the JSON value "licensed"
PostPlansRequestBodyUsageType'EnumLicensed :: PostPlansRequestBodyUsageType'
-- | Represents the JSON value "metered"
PostPlansRequestBodyUsageType'EnumMetered :: PostPlansRequestBodyUsageType'
-- | Represents a response of the operation postPlans.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostPlansResponseError is used.
data PostPlansResponse
-- | Means either no matching case available or a parse error
PostPlansResponseError :: String -> PostPlansResponse
-- | Successful response.
PostPlansResponse200 :: Plan -> PostPlansResponse
-- | Error response.
PostPlansResponseDefault :: Error -> PostPlansResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostPlans.PostPlansRequestBodyAggregateUsage'
instance GHC.Show.Show StripeAPI.Operations.PostPlans.PostPlansRequestBodyAggregateUsage'
instance GHC.Classes.Eq StripeAPI.Operations.PostPlans.PostPlansRequestBodyBillingScheme'
instance GHC.Show.Show StripeAPI.Operations.PostPlans.PostPlansRequestBodyBillingScheme'
instance GHC.Classes.Eq StripeAPI.Operations.PostPlans.PostPlansRequestBodyInterval'
instance GHC.Show.Show StripeAPI.Operations.PostPlans.PostPlansRequestBodyInterval'
instance GHC.Classes.Eq StripeAPI.Operations.PostPlans.PostPlansRequestBodyMetadata'Variants
instance GHC.Show.Show StripeAPI.Operations.PostPlans.PostPlansRequestBodyMetadata'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostPlans.PostPlansRequestBodyProduct'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostPlans.PostPlansRequestBodyProduct'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostPlans.PostPlansRequestBodyProduct'Variants
instance GHC.Show.Show StripeAPI.Operations.PostPlans.PostPlansRequestBodyProduct'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostPlans.PostPlansRequestBodyTiers'UpTo'Variants
instance GHC.Show.Show StripeAPI.Operations.PostPlans.PostPlansRequestBodyTiers'UpTo'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostPlans.PostPlansRequestBodyTiers'
instance GHC.Show.Show StripeAPI.Operations.PostPlans.PostPlansRequestBodyTiers'
instance GHC.Classes.Eq StripeAPI.Operations.PostPlans.PostPlansRequestBodyTiersMode'
instance GHC.Show.Show StripeAPI.Operations.PostPlans.PostPlansRequestBodyTiersMode'
instance GHC.Classes.Eq StripeAPI.Operations.PostPlans.PostPlansRequestBodyTransformUsage'Round'
instance GHC.Show.Show StripeAPI.Operations.PostPlans.PostPlansRequestBodyTransformUsage'Round'
instance GHC.Classes.Eq StripeAPI.Operations.PostPlans.PostPlansRequestBodyTransformUsage'
instance GHC.Show.Show StripeAPI.Operations.PostPlans.PostPlansRequestBodyTransformUsage'
instance GHC.Classes.Eq StripeAPI.Operations.PostPlans.PostPlansRequestBodyUsageType'
instance GHC.Show.Show StripeAPI.Operations.PostPlans.PostPlansRequestBodyUsageType'
instance GHC.Classes.Eq StripeAPI.Operations.PostPlans.PostPlansRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostPlans.PostPlansRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostPlans.PostPlansResponse
instance GHC.Show.Show StripeAPI.Operations.PostPlans.PostPlansResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPlans.PostPlansRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPlans.PostPlansRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPlans.PostPlansRequestBodyUsageType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPlans.PostPlansRequestBodyUsageType'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPlans.PostPlansRequestBodyTransformUsage'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPlans.PostPlansRequestBodyTransformUsage'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPlans.PostPlansRequestBodyTransformUsage'Round'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPlans.PostPlansRequestBodyTransformUsage'Round'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPlans.PostPlansRequestBodyTiersMode'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPlans.PostPlansRequestBodyTiersMode'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPlans.PostPlansRequestBodyTiers'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPlans.PostPlansRequestBodyTiers'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPlans.PostPlansRequestBodyTiers'UpTo'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPlans.PostPlansRequestBodyTiers'UpTo'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPlans.PostPlansRequestBodyProduct'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPlans.PostPlansRequestBodyProduct'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPlans.PostPlansRequestBodyProduct'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPlans.PostPlansRequestBodyProduct'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPlans.PostPlansRequestBodyMetadata'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPlans.PostPlansRequestBodyMetadata'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPlans.PostPlansRequestBodyInterval'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPlans.PostPlansRequestBodyInterval'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPlans.PostPlansRequestBodyBillingScheme'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPlans.PostPlansRequestBodyBillingScheme'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPlans.PostPlansRequestBodyAggregateUsage'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPlans.PostPlansRequestBodyAggregateUsage'
-- | Contains the different functions to run the operation
-- postPayoutsPayoutReverse
module StripeAPI.Operations.PostPayoutsPayoutReverse
-- |
-- POST /v1/payouts/{payout}/reverse
--
--
-- <p>Reverses a payout by debiting the destination bank account.
-- Only payouts for connected accounts to US bank accounts may be
-- reversed at this time. If the payout is in the
-- <code>pending</code> status,
-- <code>/v1/payouts/:id/cancel</code> should be used
-- instead.</p>
--
-- <p>By requesting a reversal via
-- <code>/v1/payouts/:id/reverse</code>, you confirm that the
-- authorized signatory of the selected bank account has authorized the
-- debit on the bank account and that no other authorization is
-- required.</p>
postPayoutsPayoutReverse :: forall m. MonadHTTP m => Text -> Maybe PostPayoutsPayoutReverseRequestBody -> ClientT m (Response PostPayoutsPayoutReverseResponse)
-- | Defines the object schema located at
-- paths./v1/payouts/{payout}/reverse.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostPayoutsPayoutReverseRequestBody
PostPayoutsPayoutReverseRequestBody :: Maybe [Text] -> Maybe Object -> PostPayoutsPayoutReverseRequestBody
-- | expand: Specifies which fields in the response should be expanded.
[postPayoutsPayoutReverseRequestBodyExpand] :: PostPayoutsPayoutReverseRequestBody -> Maybe [Text]
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postPayoutsPayoutReverseRequestBodyMetadata] :: PostPayoutsPayoutReverseRequestBody -> Maybe Object
-- | Create a new PostPayoutsPayoutReverseRequestBody with all
-- required fields.
mkPostPayoutsPayoutReverseRequestBody :: PostPayoutsPayoutReverseRequestBody
-- | Represents a response of the operation
-- postPayoutsPayoutReverse.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostPayoutsPayoutReverseResponseError
-- is used.
data PostPayoutsPayoutReverseResponse
-- | Means either no matching case available or a parse error
PostPayoutsPayoutReverseResponseError :: String -> PostPayoutsPayoutReverseResponse
-- | Successful response.
PostPayoutsPayoutReverseResponse200 :: Payout -> PostPayoutsPayoutReverseResponse
-- | Error response.
PostPayoutsPayoutReverseResponseDefault :: Error -> PostPayoutsPayoutReverseResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostPayoutsPayoutReverse.PostPayoutsPayoutReverseRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostPayoutsPayoutReverse.PostPayoutsPayoutReverseRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostPayoutsPayoutReverse.PostPayoutsPayoutReverseResponse
instance GHC.Show.Show StripeAPI.Operations.PostPayoutsPayoutReverse.PostPayoutsPayoutReverseResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPayoutsPayoutReverse.PostPayoutsPayoutReverseRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPayoutsPayoutReverse.PostPayoutsPayoutReverseRequestBody
-- | Contains the different functions to run the operation
-- postPayoutsPayoutCancel
module StripeAPI.Operations.PostPayoutsPayoutCancel
-- |
-- POST /v1/payouts/{payout}/cancel
--
--
-- <p>A previously created payout can be canceled if it has not yet
-- been paid out. Funds will be refunded to your available balance. You
-- may not cancel automatic Stripe payouts.</p>
postPayoutsPayoutCancel :: forall m. MonadHTTP m => Text -> Maybe PostPayoutsPayoutCancelRequestBody -> ClientT m (Response PostPayoutsPayoutCancelResponse)
-- | Defines the object schema located at
-- paths./v1/payouts/{payout}/cancel.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostPayoutsPayoutCancelRequestBody
PostPayoutsPayoutCancelRequestBody :: Maybe [Text] -> PostPayoutsPayoutCancelRequestBody
-- | expand: Specifies which fields in the response should be expanded.
[postPayoutsPayoutCancelRequestBodyExpand] :: PostPayoutsPayoutCancelRequestBody -> Maybe [Text]
-- | Create a new PostPayoutsPayoutCancelRequestBody with all
-- required fields.
mkPostPayoutsPayoutCancelRequestBody :: PostPayoutsPayoutCancelRequestBody
-- | Represents a response of the operation postPayoutsPayoutCancel.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostPayoutsPayoutCancelResponseError is
-- used.
data PostPayoutsPayoutCancelResponse
-- | Means either no matching case available or a parse error
PostPayoutsPayoutCancelResponseError :: String -> PostPayoutsPayoutCancelResponse
-- | Successful response.
PostPayoutsPayoutCancelResponse200 :: Payout -> PostPayoutsPayoutCancelResponse
-- | Error response.
PostPayoutsPayoutCancelResponseDefault :: Error -> PostPayoutsPayoutCancelResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostPayoutsPayoutCancel.PostPayoutsPayoutCancelRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostPayoutsPayoutCancel.PostPayoutsPayoutCancelRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostPayoutsPayoutCancel.PostPayoutsPayoutCancelResponse
instance GHC.Show.Show StripeAPI.Operations.PostPayoutsPayoutCancel.PostPayoutsPayoutCancelResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPayoutsPayoutCancel.PostPayoutsPayoutCancelRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPayoutsPayoutCancel.PostPayoutsPayoutCancelRequestBody
-- | Contains the different functions to run the operation
-- postPayoutsPayout
module StripeAPI.Operations.PostPayoutsPayout
-- |
-- POST /v1/payouts/{payout}
--
--
-- <p>Updates the specified payout by setting the values of the
-- parameters passed. Any parameters not provided will be left unchanged.
-- This request accepts only the metadata as arguments.</p>
postPayoutsPayout :: forall m. MonadHTTP m => Text -> Maybe PostPayoutsPayoutRequestBody -> ClientT m (Response PostPayoutsPayoutResponse)
-- | Defines the object schema located at
-- paths./v1/payouts/{payout}.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostPayoutsPayoutRequestBody
PostPayoutsPayoutRequestBody :: Maybe [Text] -> Maybe PostPayoutsPayoutRequestBodyMetadata'Variants -> PostPayoutsPayoutRequestBody
-- | expand: Specifies which fields in the response should be expanded.
[postPayoutsPayoutRequestBodyExpand] :: PostPayoutsPayoutRequestBody -> Maybe [Text]
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postPayoutsPayoutRequestBodyMetadata] :: PostPayoutsPayoutRequestBody -> Maybe PostPayoutsPayoutRequestBodyMetadata'Variants
-- | Create a new PostPayoutsPayoutRequestBody with all required
-- fields.
mkPostPayoutsPayoutRequestBody :: PostPayoutsPayoutRequestBody
-- | Defines the oneOf schema located at
-- paths./v1/payouts/{payout}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.metadata.anyOf
-- in the specification.
--
-- Set of key-value pairs that you can attach to an object. This
-- can be useful for storing additional information about the object in a
-- structured format. Individual keys can be unset by posting an empty
-- value to them. All keys can be unset by posting an empty value to
-- `metadata`.
data PostPayoutsPayoutRequestBodyMetadata'Variants
-- | Represents the JSON value ""
PostPayoutsPayoutRequestBodyMetadata'EmptyString :: PostPayoutsPayoutRequestBodyMetadata'Variants
PostPayoutsPayoutRequestBodyMetadata'Object :: Object -> PostPayoutsPayoutRequestBodyMetadata'Variants
-- | Represents a response of the operation postPayoutsPayout.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostPayoutsPayoutResponseError is used.
data PostPayoutsPayoutResponse
-- | Means either no matching case available or a parse error
PostPayoutsPayoutResponseError :: String -> PostPayoutsPayoutResponse
-- | Successful response.
PostPayoutsPayoutResponse200 :: Payout -> PostPayoutsPayoutResponse
-- | Error response.
PostPayoutsPayoutResponseDefault :: Error -> PostPayoutsPayoutResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostPayoutsPayout.PostPayoutsPayoutRequestBodyMetadata'Variants
instance GHC.Show.Show StripeAPI.Operations.PostPayoutsPayout.PostPayoutsPayoutRequestBodyMetadata'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostPayoutsPayout.PostPayoutsPayoutRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostPayoutsPayout.PostPayoutsPayoutRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostPayoutsPayout.PostPayoutsPayoutResponse
instance GHC.Show.Show StripeAPI.Operations.PostPayoutsPayout.PostPayoutsPayoutResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPayoutsPayout.PostPayoutsPayoutRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPayoutsPayout.PostPayoutsPayoutRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPayoutsPayout.PostPayoutsPayoutRequestBodyMetadata'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPayoutsPayout.PostPayoutsPayoutRequestBodyMetadata'Variants
-- | Contains the different functions to run the operation postPayouts
module StripeAPI.Operations.PostPayouts
-- |
-- POST /v1/payouts
--
--
-- <p>To send funds to your own bank account, you create a new
-- payout object. Your <a href="#balance">Stripe balance</a>
-- must be able to cover the payout amount, or you’ll receive an
-- “Insufficient Funds” error.</p>
--
-- <p>If your API key is in test mode, money won’t actually be
-- sent, though everything else will occur as if in live mode.</p>
--
-- <p>If you are creating a manual payout on a Stripe account that
-- uses multiple payment source types, you’ll need to specify the source
-- type balance that the payout should draw from. The <a
-- href="#balance_object">balance object</a> details available
-- and pending amounts by source type.</p>
postPayouts :: forall m. MonadHTTP m => PostPayoutsRequestBody -> ClientT m (Response PostPayoutsResponse)
-- | Defines the object schema located at
-- paths./v1/payouts.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostPayoutsRequestBody
PostPayoutsRequestBody :: Int -> Text -> Maybe Text -> Maybe Text -> Maybe [Text] -> Maybe Object -> Maybe PostPayoutsRequestBodyMethod' -> Maybe PostPayoutsRequestBodySourceType' -> Maybe Text -> PostPayoutsRequestBody
-- | amount: A positive integer in cents representing how much to payout.
[postPayoutsRequestBodyAmount] :: PostPayoutsRequestBody -> Int
-- | currency: Three-letter ISO currency code, in lowercase. Must be
-- a supported currency.
[postPayoutsRequestBodyCurrency] :: PostPayoutsRequestBody -> Text
-- | description: An arbitrary string attached to the object. Often useful
-- for displaying to users.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPayoutsRequestBodyDescription] :: PostPayoutsRequestBody -> Maybe Text
-- | destination: The ID of a bank account or a card to send the payout to.
-- If no destination is supplied, the default external account for the
-- specified currency will be used.
[postPayoutsRequestBodyDestination] :: PostPayoutsRequestBody -> Maybe Text
-- | expand: Specifies which fields in the response should be expanded.
[postPayoutsRequestBodyExpand] :: PostPayoutsRequestBody -> Maybe [Text]
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postPayoutsRequestBodyMetadata] :: PostPayoutsRequestBody -> Maybe Object
-- | method: The method used to send this payout, which can be `standard`
-- or `instant`. `instant` is only supported for payouts to debit cards.
-- (See Instant payouts for marketplaces for more information.)
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPayoutsRequestBodyMethod] :: PostPayoutsRequestBody -> Maybe PostPayoutsRequestBodyMethod'
-- | source_type: The balance type of your Stripe balance to draw this
-- payout from. Balances for different payment sources are kept
-- separately. You can find the amounts with the balances API. One of
-- `bank_account`, `card`, or `fpx`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPayoutsRequestBodySourceType] :: PostPayoutsRequestBody -> Maybe PostPayoutsRequestBodySourceType'
-- | statement_descriptor: A string to be displayed on the recipient's bank
-- or card statement. This may be at most 22 characters. Attempting to
-- use a `statement_descriptor` longer than 22 characters will return an
-- error. Note: Most banks will truncate this information and/or display
-- it inconsistently. Some may not display it at all.
--
-- Constraints:
--
--
-- - Maximum length of 22
--
[postPayoutsRequestBodyStatementDescriptor] :: PostPayoutsRequestBody -> Maybe Text
-- | Create a new PostPayoutsRequestBody with all required fields.
mkPostPayoutsRequestBody :: Int -> Text -> PostPayoutsRequestBody
-- | Defines the enum schema located at
-- paths./v1/payouts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.method
-- in the specification.
--
-- The method used to send this payout, which can be `standard` or
-- `instant`. `instant` is only supported for payouts to debit cards.
-- (See Instant payouts for marketplaces for more information.)
data PostPayoutsRequestBodyMethod'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostPayoutsRequestBodyMethod'Other :: Value -> PostPayoutsRequestBodyMethod'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostPayoutsRequestBodyMethod'Typed :: Text -> PostPayoutsRequestBodyMethod'
-- | Represents the JSON value "instant"
PostPayoutsRequestBodyMethod'EnumInstant :: PostPayoutsRequestBodyMethod'
-- | Represents the JSON value "standard"
PostPayoutsRequestBodyMethod'EnumStandard :: PostPayoutsRequestBodyMethod'
-- | Defines the enum schema located at
-- paths./v1/payouts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.source_type
-- in the specification.
--
-- The balance type of your Stripe balance to draw this payout from.
-- Balances for different payment sources are kept separately. You can
-- find the amounts with the balances API. One of `bank_account`, `card`,
-- or `fpx`.
data PostPayoutsRequestBodySourceType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostPayoutsRequestBodySourceType'Other :: Value -> PostPayoutsRequestBodySourceType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostPayoutsRequestBodySourceType'Typed :: Text -> PostPayoutsRequestBodySourceType'
-- | Represents the JSON value "bank_account"
PostPayoutsRequestBodySourceType'EnumBankAccount :: PostPayoutsRequestBodySourceType'
-- | Represents the JSON value "card"
PostPayoutsRequestBodySourceType'EnumCard :: PostPayoutsRequestBodySourceType'
-- | Represents the JSON value "fpx"
PostPayoutsRequestBodySourceType'EnumFpx :: PostPayoutsRequestBodySourceType'
-- | Represents a response of the operation postPayouts.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostPayoutsResponseError is used.
data PostPayoutsResponse
-- | Means either no matching case available or a parse error
PostPayoutsResponseError :: String -> PostPayoutsResponse
-- | Successful response.
PostPayoutsResponse200 :: Payout -> PostPayoutsResponse
-- | Error response.
PostPayoutsResponseDefault :: Error -> PostPayoutsResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostPayouts.PostPayoutsRequestBodyMethod'
instance GHC.Show.Show StripeAPI.Operations.PostPayouts.PostPayoutsRequestBodyMethod'
instance GHC.Classes.Eq StripeAPI.Operations.PostPayouts.PostPayoutsRequestBodySourceType'
instance GHC.Show.Show StripeAPI.Operations.PostPayouts.PostPayoutsRequestBodySourceType'
instance GHC.Classes.Eq StripeAPI.Operations.PostPayouts.PostPayoutsRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostPayouts.PostPayoutsRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostPayouts.PostPayoutsResponse
instance GHC.Show.Show StripeAPI.Operations.PostPayouts.PostPayoutsResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPayouts.PostPayoutsRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPayouts.PostPayoutsRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPayouts.PostPayoutsRequestBodySourceType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPayouts.PostPayoutsRequestBodySourceType'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPayouts.PostPayoutsRequestBodyMethod'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPayouts.PostPayoutsRequestBodyMethod'
-- | Contains the different functions to run the operation
-- postPaymentMethodsPaymentMethodDetach
module StripeAPI.Operations.PostPaymentMethodsPaymentMethodDetach
-- |
-- POST /v1/payment_methods/{payment_method}/detach
--
--
-- <p>Detaches a PaymentMethod object from a Customer.</p>
postPaymentMethodsPaymentMethodDetach :: forall m. MonadHTTP m => Text -> Maybe PostPaymentMethodsPaymentMethodDetachRequestBody -> ClientT m (Response PostPaymentMethodsPaymentMethodDetachResponse)
-- | Defines the object schema located at
-- paths./v1/payment_methods/{payment_method}/detach.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostPaymentMethodsPaymentMethodDetachRequestBody
PostPaymentMethodsPaymentMethodDetachRequestBody :: Maybe [Text] -> PostPaymentMethodsPaymentMethodDetachRequestBody
-- | expand: Specifies which fields in the response should be expanded.
[postPaymentMethodsPaymentMethodDetachRequestBodyExpand] :: PostPaymentMethodsPaymentMethodDetachRequestBody -> Maybe [Text]
-- | Create a new PostPaymentMethodsPaymentMethodDetachRequestBody
-- with all required fields.
mkPostPaymentMethodsPaymentMethodDetachRequestBody :: PostPaymentMethodsPaymentMethodDetachRequestBody
-- | Represents a response of the operation
-- postPaymentMethodsPaymentMethodDetach.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- PostPaymentMethodsPaymentMethodDetachResponseError is used.
data PostPaymentMethodsPaymentMethodDetachResponse
-- | Means either no matching case available or a parse error
PostPaymentMethodsPaymentMethodDetachResponseError :: String -> PostPaymentMethodsPaymentMethodDetachResponse
-- | Successful response.
PostPaymentMethodsPaymentMethodDetachResponse200 :: PaymentMethod -> PostPaymentMethodsPaymentMethodDetachResponse
-- | Error response.
PostPaymentMethodsPaymentMethodDetachResponseDefault :: Error -> PostPaymentMethodsPaymentMethodDetachResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentMethodsPaymentMethodDetach.PostPaymentMethodsPaymentMethodDetachRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostPaymentMethodsPaymentMethodDetach.PostPaymentMethodsPaymentMethodDetachRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentMethodsPaymentMethodDetach.PostPaymentMethodsPaymentMethodDetachResponse
instance GHC.Show.Show StripeAPI.Operations.PostPaymentMethodsPaymentMethodDetach.PostPaymentMethodsPaymentMethodDetachResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentMethodsPaymentMethodDetach.PostPaymentMethodsPaymentMethodDetachRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentMethodsPaymentMethodDetach.PostPaymentMethodsPaymentMethodDetachRequestBody
-- | Contains the different functions to run the operation
-- postPaymentMethodsPaymentMethodAttach
module StripeAPI.Operations.PostPaymentMethodsPaymentMethodAttach
-- |
-- POST /v1/payment_methods/{payment_method}/attach
--
--
-- <p>Attaches a PaymentMethod object to a Customer.</p>
--
-- <p>To attach a new PaymentMethod to a customer for future
-- payments, we recommend you use a <a
-- href="/docs/api/setup_intents">SetupIntent</a> or a
-- PaymentIntent with <a
-- href="/docs/api/payment_intents/create#create_payment_intent-setup_future_usage">setup_future_usage</a>.
-- These approaches will perform any necessary steps to ensure that the
-- PaymentMethod can be used in a future payment. Using the
-- <code>/v1/payment_methods/:id/attach</code> endpoint does
-- not ensure that future payments can be made with the attached
-- PaymentMethod. See <a
-- href="/docs/payments/payment-intents#future-usage">Optimizing cards
-- for future payments</a> for more information about setting up
-- future payments.</p>
--
-- <p>To use this PaymentMethod as the default for invoice or
-- subscription payments, set <a
-- href="/docs/api/customers/update#update_customer-invoice_settings-default_payment_method"><code>invoice_settings.default_payment_method</code></a>,
-- on the Customer to the PaymentMethod’s ID.</p>
postPaymentMethodsPaymentMethodAttach :: forall m. MonadHTTP m => Text -> PostPaymentMethodsPaymentMethodAttachRequestBody -> ClientT m (Response PostPaymentMethodsPaymentMethodAttachResponse)
-- | Defines the object schema located at
-- paths./v1/payment_methods/{payment_method}/attach.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostPaymentMethodsPaymentMethodAttachRequestBody
PostPaymentMethodsPaymentMethodAttachRequestBody :: Text -> Maybe [Text] -> PostPaymentMethodsPaymentMethodAttachRequestBody
-- | customer: The ID of the customer to which to attach the PaymentMethod.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentMethodsPaymentMethodAttachRequestBodyCustomer] :: PostPaymentMethodsPaymentMethodAttachRequestBody -> Text
-- | expand: Specifies which fields in the response should be expanded.
[postPaymentMethodsPaymentMethodAttachRequestBodyExpand] :: PostPaymentMethodsPaymentMethodAttachRequestBody -> Maybe [Text]
-- | Create a new PostPaymentMethodsPaymentMethodAttachRequestBody
-- with all required fields.
mkPostPaymentMethodsPaymentMethodAttachRequestBody :: Text -> PostPaymentMethodsPaymentMethodAttachRequestBody
-- | Represents a response of the operation
-- postPaymentMethodsPaymentMethodAttach.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- PostPaymentMethodsPaymentMethodAttachResponseError is used.
data PostPaymentMethodsPaymentMethodAttachResponse
-- | Means either no matching case available or a parse error
PostPaymentMethodsPaymentMethodAttachResponseError :: String -> PostPaymentMethodsPaymentMethodAttachResponse
-- | Successful response.
PostPaymentMethodsPaymentMethodAttachResponse200 :: PaymentMethod -> PostPaymentMethodsPaymentMethodAttachResponse
-- | Error response.
PostPaymentMethodsPaymentMethodAttachResponseDefault :: Error -> PostPaymentMethodsPaymentMethodAttachResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentMethodsPaymentMethodAttach.PostPaymentMethodsPaymentMethodAttachRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostPaymentMethodsPaymentMethodAttach.PostPaymentMethodsPaymentMethodAttachRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentMethodsPaymentMethodAttach.PostPaymentMethodsPaymentMethodAttachResponse
instance GHC.Show.Show StripeAPI.Operations.PostPaymentMethodsPaymentMethodAttach.PostPaymentMethodsPaymentMethodAttachResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentMethodsPaymentMethodAttach.PostPaymentMethodsPaymentMethodAttachRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentMethodsPaymentMethodAttach.PostPaymentMethodsPaymentMethodAttachRequestBody
-- | Contains the different functions to run the operation
-- postPaymentMethodsPaymentMethod
module StripeAPI.Operations.PostPaymentMethodsPaymentMethod
-- |
-- POST /v1/payment_methods/{payment_method}
--
--
-- <p>Updates a PaymentMethod object. A PaymentMethod must be
-- attached a customer to be updated.</p>
postPaymentMethodsPaymentMethod :: forall m. MonadHTTP m => Text -> Maybe PostPaymentMethodsPaymentMethodRequestBody -> ClientT m (Response PostPaymentMethodsPaymentMethodResponse)
-- | Defines the object schema located at
-- paths./v1/payment_methods/{payment_method}.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostPaymentMethodsPaymentMethodRequestBody
PostPaymentMethodsPaymentMethodRequestBody :: Maybe PostPaymentMethodsPaymentMethodRequestBodyBillingDetails' -> Maybe PostPaymentMethodsPaymentMethodRequestBodyCard' -> Maybe [Text] -> Maybe PostPaymentMethodsPaymentMethodRequestBodyMetadata'Variants -> PostPaymentMethodsPaymentMethodRequestBody
-- | billing_details: Billing information associated with the PaymentMethod
-- that may be used or required by particular types of payment methods.
[postPaymentMethodsPaymentMethodRequestBodyBillingDetails] :: PostPaymentMethodsPaymentMethodRequestBody -> Maybe PostPaymentMethodsPaymentMethodRequestBodyBillingDetails'
-- | card: If this is a `card` PaymentMethod, this hash contains the user's
-- card details.
[postPaymentMethodsPaymentMethodRequestBodyCard] :: PostPaymentMethodsPaymentMethodRequestBody -> Maybe PostPaymentMethodsPaymentMethodRequestBodyCard'
-- | expand: Specifies which fields in the response should be expanded.
[postPaymentMethodsPaymentMethodRequestBodyExpand] :: PostPaymentMethodsPaymentMethodRequestBody -> Maybe [Text]
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postPaymentMethodsPaymentMethodRequestBodyMetadata] :: PostPaymentMethodsPaymentMethodRequestBody -> Maybe PostPaymentMethodsPaymentMethodRequestBodyMetadata'Variants
-- | Create a new PostPaymentMethodsPaymentMethodRequestBody with
-- all required fields.
mkPostPaymentMethodsPaymentMethodRequestBody :: PostPaymentMethodsPaymentMethodRequestBody
-- | Defines the object schema located at
-- paths./v1/payment_methods/{payment_method}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.billing_details
-- in the specification.
--
-- Billing information associated with the PaymentMethod that may be used
-- or required by particular types of payment methods.
data PostPaymentMethodsPaymentMethodRequestBodyBillingDetails'
PostPaymentMethodsPaymentMethodRequestBodyBillingDetails' :: Maybe PostPaymentMethodsPaymentMethodRequestBodyBillingDetails'Address'Variants -> Maybe Text -> Maybe Text -> Maybe Text -> PostPaymentMethodsPaymentMethodRequestBodyBillingDetails'
-- | address
[postPaymentMethodsPaymentMethodRequestBodyBillingDetails'Address] :: PostPaymentMethodsPaymentMethodRequestBodyBillingDetails' -> Maybe PostPaymentMethodsPaymentMethodRequestBodyBillingDetails'Address'Variants
-- | email
[postPaymentMethodsPaymentMethodRequestBodyBillingDetails'Email] :: PostPaymentMethodsPaymentMethodRequestBodyBillingDetails' -> Maybe Text
-- | name
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentMethodsPaymentMethodRequestBodyBillingDetails'Name] :: PostPaymentMethodsPaymentMethodRequestBodyBillingDetails' -> Maybe Text
-- | phone
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentMethodsPaymentMethodRequestBodyBillingDetails'Phone] :: PostPaymentMethodsPaymentMethodRequestBodyBillingDetails' -> Maybe Text
-- | Create a new
-- PostPaymentMethodsPaymentMethodRequestBodyBillingDetails' with
-- all required fields.
mkPostPaymentMethodsPaymentMethodRequestBodyBillingDetails' :: PostPaymentMethodsPaymentMethodRequestBodyBillingDetails'
-- | Defines the object schema located at
-- paths./v1/payment_methods/{payment_method}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.billing_details.properties.address.anyOf
-- in the specification.
data PostPaymentMethodsPaymentMethodRequestBodyBillingDetails'Address'OneOf1
PostPaymentMethodsPaymentMethodRequestBodyBillingDetails'Address'OneOf1 :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PostPaymentMethodsPaymentMethodRequestBodyBillingDetails'Address'OneOf1
-- | city
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentMethodsPaymentMethodRequestBodyBillingDetails'Address'OneOf1City] :: PostPaymentMethodsPaymentMethodRequestBodyBillingDetails'Address'OneOf1 -> Maybe Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentMethodsPaymentMethodRequestBodyBillingDetails'Address'OneOf1Country] :: PostPaymentMethodsPaymentMethodRequestBodyBillingDetails'Address'OneOf1 -> Maybe Text
-- | line1
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentMethodsPaymentMethodRequestBodyBillingDetails'Address'OneOf1Line1] :: PostPaymentMethodsPaymentMethodRequestBodyBillingDetails'Address'OneOf1 -> Maybe Text
-- | line2
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentMethodsPaymentMethodRequestBodyBillingDetails'Address'OneOf1Line2] :: PostPaymentMethodsPaymentMethodRequestBodyBillingDetails'Address'OneOf1 -> Maybe Text
-- | postal_code
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentMethodsPaymentMethodRequestBodyBillingDetails'Address'OneOf1PostalCode] :: PostPaymentMethodsPaymentMethodRequestBodyBillingDetails'Address'OneOf1 -> Maybe Text
-- | state
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentMethodsPaymentMethodRequestBodyBillingDetails'Address'OneOf1State] :: PostPaymentMethodsPaymentMethodRequestBodyBillingDetails'Address'OneOf1 -> Maybe Text
-- | Create a new
-- PostPaymentMethodsPaymentMethodRequestBodyBillingDetails'Address'OneOf1
-- with all required fields.
mkPostPaymentMethodsPaymentMethodRequestBodyBillingDetails'Address'OneOf1 :: PostPaymentMethodsPaymentMethodRequestBodyBillingDetails'Address'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/payment_methods/{payment_method}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.billing_details.properties.address.anyOf
-- in the specification.
data PostPaymentMethodsPaymentMethodRequestBodyBillingDetails'Address'Variants
-- | Represents the JSON value ""
PostPaymentMethodsPaymentMethodRequestBodyBillingDetails'Address'EmptyString :: PostPaymentMethodsPaymentMethodRequestBodyBillingDetails'Address'Variants
PostPaymentMethodsPaymentMethodRequestBodyBillingDetails'Address'PostPaymentMethodsPaymentMethodRequestBodyBillingDetails'Address'OneOf1 :: PostPaymentMethodsPaymentMethodRequestBodyBillingDetails'Address'OneOf1 -> PostPaymentMethodsPaymentMethodRequestBodyBillingDetails'Address'Variants
-- | Defines the object schema located at
-- paths./v1/payment_methods/{payment_method}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.card
-- in the specification.
--
-- If this is a `card` PaymentMethod, this hash contains the user's card
-- details.
data PostPaymentMethodsPaymentMethodRequestBodyCard'
PostPaymentMethodsPaymentMethodRequestBodyCard' :: Maybe Int -> Maybe Int -> PostPaymentMethodsPaymentMethodRequestBodyCard'
-- | exp_month
[postPaymentMethodsPaymentMethodRequestBodyCard'ExpMonth] :: PostPaymentMethodsPaymentMethodRequestBodyCard' -> Maybe Int
-- | exp_year
[postPaymentMethodsPaymentMethodRequestBodyCard'ExpYear] :: PostPaymentMethodsPaymentMethodRequestBodyCard' -> Maybe Int
-- | Create a new PostPaymentMethodsPaymentMethodRequestBodyCard'
-- with all required fields.
mkPostPaymentMethodsPaymentMethodRequestBodyCard' :: PostPaymentMethodsPaymentMethodRequestBodyCard'
-- | Defines the oneOf schema located at
-- paths./v1/payment_methods/{payment_method}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.metadata.anyOf
-- in the specification.
--
-- Set of key-value pairs that you can attach to an object. This
-- can be useful for storing additional information about the object in a
-- structured format. Individual keys can be unset by posting an empty
-- value to them. All keys can be unset by posting an empty value to
-- `metadata`.
data PostPaymentMethodsPaymentMethodRequestBodyMetadata'Variants
-- | Represents the JSON value ""
PostPaymentMethodsPaymentMethodRequestBodyMetadata'EmptyString :: PostPaymentMethodsPaymentMethodRequestBodyMetadata'Variants
PostPaymentMethodsPaymentMethodRequestBodyMetadata'Object :: Object -> PostPaymentMethodsPaymentMethodRequestBodyMetadata'Variants
-- | Represents a response of the operation
-- postPaymentMethodsPaymentMethod.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- PostPaymentMethodsPaymentMethodResponseError is used.
data PostPaymentMethodsPaymentMethodResponse
-- | Means either no matching case available or a parse error
PostPaymentMethodsPaymentMethodResponseError :: String -> PostPaymentMethodsPaymentMethodResponse
-- | Successful response.
PostPaymentMethodsPaymentMethodResponse200 :: PaymentMethod -> PostPaymentMethodsPaymentMethodResponse
-- | Error response.
PostPaymentMethodsPaymentMethodResponseDefault :: Error -> PostPaymentMethodsPaymentMethodResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentMethodsPaymentMethod.PostPaymentMethodsPaymentMethodRequestBodyBillingDetails'Address'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostPaymentMethodsPaymentMethod.PostPaymentMethodsPaymentMethodRequestBodyBillingDetails'Address'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentMethodsPaymentMethod.PostPaymentMethodsPaymentMethodRequestBodyBillingDetails'Address'Variants
instance GHC.Show.Show StripeAPI.Operations.PostPaymentMethodsPaymentMethod.PostPaymentMethodsPaymentMethodRequestBodyBillingDetails'Address'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentMethodsPaymentMethod.PostPaymentMethodsPaymentMethodRequestBodyBillingDetails'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentMethodsPaymentMethod.PostPaymentMethodsPaymentMethodRequestBodyBillingDetails'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentMethodsPaymentMethod.PostPaymentMethodsPaymentMethodRequestBodyCard'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentMethodsPaymentMethod.PostPaymentMethodsPaymentMethodRequestBodyCard'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentMethodsPaymentMethod.PostPaymentMethodsPaymentMethodRequestBodyMetadata'Variants
instance GHC.Show.Show StripeAPI.Operations.PostPaymentMethodsPaymentMethod.PostPaymentMethodsPaymentMethodRequestBodyMetadata'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentMethodsPaymentMethod.PostPaymentMethodsPaymentMethodRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostPaymentMethodsPaymentMethod.PostPaymentMethodsPaymentMethodRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentMethodsPaymentMethod.PostPaymentMethodsPaymentMethodResponse
instance GHC.Show.Show StripeAPI.Operations.PostPaymentMethodsPaymentMethod.PostPaymentMethodsPaymentMethodResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentMethodsPaymentMethod.PostPaymentMethodsPaymentMethodRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentMethodsPaymentMethod.PostPaymentMethodsPaymentMethodRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentMethodsPaymentMethod.PostPaymentMethodsPaymentMethodRequestBodyMetadata'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentMethodsPaymentMethod.PostPaymentMethodsPaymentMethodRequestBodyMetadata'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentMethodsPaymentMethod.PostPaymentMethodsPaymentMethodRequestBodyCard'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentMethodsPaymentMethod.PostPaymentMethodsPaymentMethodRequestBodyCard'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentMethodsPaymentMethod.PostPaymentMethodsPaymentMethodRequestBodyBillingDetails'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentMethodsPaymentMethod.PostPaymentMethodsPaymentMethodRequestBodyBillingDetails'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentMethodsPaymentMethod.PostPaymentMethodsPaymentMethodRequestBodyBillingDetails'Address'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentMethodsPaymentMethod.PostPaymentMethodsPaymentMethodRequestBodyBillingDetails'Address'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentMethodsPaymentMethod.PostPaymentMethodsPaymentMethodRequestBodyBillingDetails'Address'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentMethodsPaymentMethod.PostPaymentMethodsPaymentMethodRequestBodyBillingDetails'Address'OneOf1
-- | Contains the different functions to run the operation
-- postPaymentMethods
module StripeAPI.Operations.PostPaymentMethods
-- |
-- POST /v1/payment_methods
--
--
-- <p>Creates a PaymentMethod object. Read the <a
-- href="/docs/stripe-js/reference#stripe-create-payment-method">Stripe.js
-- reference</a> to learn how to create PaymentMethods via
-- Stripe.js.</p>
postPaymentMethods :: forall m. MonadHTTP m => Maybe PostPaymentMethodsRequestBody -> ClientT m (Response PostPaymentMethodsResponse)
-- | Defines the object schema located at
-- paths./v1/payment_methods.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostPaymentMethodsRequestBody
PostPaymentMethodsRequestBody :: Maybe PostPaymentMethodsRequestBodyAcssDebit' -> Maybe Object -> Maybe Object -> Maybe PostPaymentMethodsRequestBodyAuBecsDebit' -> Maybe PostPaymentMethodsRequestBodyBacsDebit' -> Maybe Object -> Maybe PostPaymentMethodsRequestBodyBillingDetails' -> Maybe PostPaymentMethodsRequestBodyBoleto' -> Maybe PostPaymentMethodsRequestBodyCard' -> Maybe Text -> Maybe PostPaymentMethodsRequestBodyEps' -> Maybe [Text] -> Maybe PostPaymentMethodsRequestBodyFpx' -> Maybe Object -> Maybe Object -> Maybe PostPaymentMethodsRequestBodyIdeal' -> Maybe Object -> Maybe Object -> Maybe Object -> Maybe PostPaymentMethodsRequestBodyP24' -> Maybe Text -> Maybe PostPaymentMethodsRequestBodySepaDebit' -> Maybe PostPaymentMethodsRequestBodySofort' -> Maybe PostPaymentMethodsRequestBodyType' -> PostPaymentMethodsRequestBody
-- | acss_debit: If this is an `acss_debit` PaymentMethod, this hash
-- contains details about the ACSS Debit payment method.
[postPaymentMethodsRequestBodyAcssDebit] :: PostPaymentMethodsRequestBody -> Maybe PostPaymentMethodsRequestBodyAcssDebit'
-- | afterpay_clearpay: If this is an `AfterpayClearpay` PaymentMethod,
-- this hash contains details about the AfterpayClearpay payment method.
[postPaymentMethodsRequestBodyAfterpayClearpay] :: PostPaymentMethodsRequestBody -> Maybe Object
-- | alipay: If this is an `Alipay` PaymentMethod, this hash contains
-- details about the Alipay payment method.
[postPaymentMethodsRequestBodyAlipay] :: PostPaymentMethodsRequestBody -> Maybe Object
-- | au_becs_debit: If this is an `au_becs_debit` PaymentMethod, this hash
-- contains details about the bank account.
[postPaymentMethodsRequestBodyAuBecsDebit] :: PostPaymentMethodsRequestBody -> Maybe PostPaymentMethodsRequestBodyAuBecsDebit'
-- | bacs_debit: If this is a `bacs_debit` PaymentMethod, this hash
-- contains details about the Bacs Direct Debit bank account.
[postPaymentMethodsRequestBodyBacsDebit] :: PostPaymentMethodsRequestBody -> Maybe PostPaymentMethodsRequestBodyBacsDebit'
-- | bancontact: If this is a `bancontact` PaymentMethod, this hash
-- contains details about the Bancontact payment method.
[postPaymentMethodsRequestBodyBancontact] :: PostPaymentMethodsRequestBody -> Maybe Object
-- | billing_details: Billing information associated with the PaymentMethod
-- that may be used or required by particular types of payment methods.
[postPaymentMethodsRequestBodyBillingDetails] :: PostPaymentMethodsRequestBody -> Maybe PostPaymentMethodsRequestBodyBillingDetails'
-- | boleto: If this is a `boleto` PaymentMethod, this hash contains
-- details about the Boleto payment method.
[postPaymentMethodsRequestBodyBoleto] :: PostPaymentMethodsRequestBody -> Maybe PostPaymentMethodsRequestBodyBoleto'
-- | card: If this is a `card` PaymentMethod, this hash contains the user's
-- card details. For backwards compatibility, you can alternatively
-- provide a Stripe token (e.g., for Apple Pay, Amex Express Checkout, or
-- legacy Checkout) into the card hash with format `card: {token:
-- "tok_visa"}`. When providing a card number, you must meet the
-- requirements for PCI compliance. We strongly recommend using
-- Stripe.js instead of interacting with this API directly.
[postPaymentMethodsRequestBodyCard] :: PostPaymentMethodsRequestBody -> Maybe PostPaymentMethodsRequestBodyCard'
-- | customer: The `Customer` to whom the original PaymentMethod is
-- attached.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentMethodsRequestBodyCustomer] :: PostPaymentMethodsRequestBody -> Maybe Text
-- | eps: If this is an `eps` PaymentMethod, this hash contains details
-- about the EPS payment method.
[postPaymentMethodsRequestBodyEps] :: PostPaymentMethodsRequestBody -> Maybe PostPaymentMethodsRequestBodyEps'
-- | expand: Specifies which fields in the response should be expanded.
[postPaymentMethodsRequestBodyExpand] :: PostPaymentMethodsRequestBody -> Maybe [Text]
-- | fpx: If this is an `fpx` PaymentMethod, this hash contains details
-- about the FPX payment method.
[postPaymentMethodsRequestBodyFpx] :: PostPaymentMethodsRequestBody -> Maybe PostPaymentMethodsRequestBodyFpx'
-- | giropay: If this is a `giropay` PaymentMethod, this hash contains
-- details about the Giropay payment method.
[postPaymentMethodsRequestBodyGiropay] :: PostPaymentMethodsRequestBody -> Maybe Object
-- | grabpay: If this is a `grabpay` PaymentMethod, this hash contains
-- details about the GrabPay payment method.
[postPaymentMethodsRequestBodyGrabpay] :: PostPaymentMethodsRequestBody -> Maybe Object
-- | ideal: If this is an `ideal` PaymentMethod, this hash contains details
-- about the iDEAL payment method.
[postPaymentMethodsRequestBodyIdeal] :: PostPaymentMethodsRequestBody -> Maybe PostPaymentMethodsRequestBodyIdeal'
-- | interac_present: If this is an `interac_present` PaymentMethod, this
-- hash contains details about the Interac Present payment method.
[postPaymentMethodsRequestBodyInteracPresent] :: PostPaymentMethodsRequestBody -> Maybe Object
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postPaymentMethodsRequestBodyMetadata] :: PostPaymentMethodsRequestBody -> Maybe Object
-- | oxxo: If this is an `oxxo` PaymentMethod, this hash contains details
-- about the OXXO payment method.
[postPaymentMethodsRequestBodyOxxo] :: PostPaymentMethodsRequestBody -> Maybe Object
-- | p24: If this is a `p24` PaymentMethod, this hash contains details
-- about the P24 payment method.
[postPaymentMethodsRequestBodyP24] :: PostPaymentMethodsRequestBody -> Maybe PostPaymentMethodsRequestBodyP24'
-- | payment_method: The PaymentMethod to share.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentMethodsRequestBodyPaymentMethod] :: PostPaymentMethodsRequestBody -> Maybe Text
-- | sepa_debit: If this is a `sepa_debit` PaymentMethod, this hash
-- contains details about the SEPA debit bank account.
[postPaymentMethodsRequestBodySepaDebit] :: PostPaymentMethodsRequestBody -> Maybe PostPaymentMethodsRequestBodySepaDebit'
-- | sofort: If this is a `sofort` PaymentMethod, this hash contains
-- details about the SOFORT payment method.
[postPaymentMethodsRequestBodySofort] :: PostPaymentMethodsRequestBody -> Maybe PostPaymentMethodsRequestBodySofort'
-- | type: The type of the PaymentMethod. An additional hash is included on
-- the PaymentMethod with a name matching this value. It contains
-- additional information specific to the PaymentMethod type.
[postPaymentMethodsRequestBodyType] :: PostPaymentMethodsRequestBody -> Maybe PostPaymentMethodsRequestBodyType'
-- | Create a new PostPaymentMethodsRequestBody with all required
-- fields.
mkPostPaymentMethodsRequestBody :: PostPaymentMethodsRequestBody
-- | Defines the object schema located at
-- paths./v1/payment_methods.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.acss_debit
-- in the specification.
--
-- If this is an `acss_debit` PaymentMethod, this hash contains details
-- about the ACSS Debit payment method.
data PostPaymentMethodsRequestBodyAcssDebit'
PostPaymentMethodsRequestBodyAcssDebit' :: Text -> Text -> Text -> PostPaymentMethodsRequestBodyAcssDebit'
-- | account_number
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentMethodsRequestBodyAcssDebit'AccountNumber] :: PostPaymentMethodsRequestBodyAcssDebit' -> Text
-- | institution_number
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentMethodsRequestBodyAcssDebit'InstitutionNumber] :: PostPaymentMethodsRequestBodyAcssDebit' -> Text
-- | transit_number
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentMethodsRequestBodyAcssDebit'TransitNumber] :: PostPaymentMethodsRequestBodyAcssDebit' -> Text
-- | Create a new PostPaymentMethodsRequestBodyAcssDebit' with all
-- required fields.
mkPostPaymentMethodsRequestBodyAcssDebit' :: Text -> Text -> Text -> PostPaymentMethodsRequestBodyAcssDebit'
-- | Defines the object schema located at
-- paths./v1/payment_methods.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.au_becs_debit
-- in the specification.
--
-- If this is an `au_becs_debit` PaymentMethod, this hash contains
-- details about the bank account.
data PostPaymentMethodsRequestBodyAuBecsDebit'
PostPaymentMethodsRequestBodyAuBecsDebit' :: Text -> Text -> PostPaymentMethodsRequestBodyAuBecsDebit'
-- | account_number
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentMethodsRequestBodyAuBecsDebit'AccountNumber] :: PostPaymentMethodsRequestBodyAuBecsDebit' -> Text
-- | bsb_number
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentMethodsRequestBodyAuBecsDebit'BsbNumber] :: PostPaymentMethodsRequestBodyAuBecsDebit' -> Text
-- | Create a new PostPaymentMethodsRequestBodyAuBecsDebit' with all
-- required fields.
mkPostPaymentMethodsRequestBodyAuBecsDebit' :: Text -> Text -> PostPaymentMethodsRequestBodyAuBecsDebit'
-- | Defines the object schema located at
-- paths./v1/payment_methods.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.bacs_debit
-- in the specification.
--
-- If this is a `bacs_debit` PaymentMethod, this hash contains details
-- about the Bacs Direct Debit bank account.
data PostPaymentMethodsRequestBodyBacsDebit'
PostPaymentMethodsRequestBodyBacsDebit' :: Maybe Text -> Maybe Text -> PostPaymentMethodsRequestBodyBacsDebit'
-- | account_number
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentMethodsRequestBodyBacsDebit'AccountNumber] :: PostPaymentMethodsRequestBodyBacsDebit' -> Maybe Text
-- | sort_code
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentMethodsRequestBodyBacsDebit'SortCode] :: PostPaymentMethodsRequestBodyBacsDebit' -> Maybe Text
-- | Create a new PostPaymentMethodsRequestBodyBacsDebit' with all
-- required fields.
mkPostPaymentMethodsRequestBodyBacsDebit' :: PostPaymentMethodsRequestBodyBacsDebit'
-- | Defines the object schema located at
-- paths./v1/payment_methods.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.billing_details
-- in the specification.
--
-- Billing information associated with the PaymentMethod that may be used
-- or required by particular types of payment methods.
data PostPaymentMethodsRequestBodyBillingDetails'
PostPaymentMethodsRequestBodyBillingDetails' :: Maybe PostPaymentMethodsRequestBodyBillingDetails'Address'Variants -> Maybe Text -> Maybe Text -> Maybe Text -> PostPaymentMethodsRequestBodyBillingDetails'
-- | address
[postPaymentMethodsRequestBodyBillingDetails'Address] :: PostPaymentMethodsRequestBodyBillingDetails' -> Maybe PostPaymentMethodsRequestBodyBillingDetails'Address'Variants
-- | email
[postPaymentMethodsRequestBodyBillingDetails'Email] :: PostPaymentMethodsRequestBodyBillingDetails' -> Maybe Text
-- | name
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentMethodsRequestBodyBillingDetails'Name] :: PostPaymentMethodsRequestBodyBillingDetails' -> Maybe Text
-- | phone
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentMethodsRequestBodyBillingDetails'Phone] :: PostPaymentMethodsRequestBodyBillingDetails' -> Maybe Text
-- | Create a new PostPaymentMethodsRequestBodyBillingDetails' with
-- all required fields.
mkPostPaymentMethodsRequestBodyBillingDetails' :: PostPaymentMethodsRequestBodyBillingDetails'
-- | Defines the object schema located at
-- paths./v1/payment_methods.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.billing_details.properties.address.anyOf
-- in the specification.
data PostPaymentMethodsRequestBodyBillingDetails'Address'OneOf1
PostPaymentMethodsRequestBodyBillingDetails'Address'OneOf1 :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PostPaymentMethodsRequestBodyBillingDetails'Address'OneOf1
-- | city
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentMethodsRequestBodyBillingDetails'Address'OneOf1City] :: PostPaymentMethodsRequestBodyBillingDetails'Address'OneOf1 -> Maybe Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentMethodsRequestBodyBillingDetails'Address'OneOf1Country] :: PostPaymentMethodsRequestBodyBillingDetails'Address'OneOf1 -> Maybe Text
-- | line1
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentMethodsRequestBodyBillingDetails'Address'OneOf1Line1] :: PostPaymentMethodsRequestBodyBillingDetails'Address'OneOf1 -> Maybe Text
-- | line2
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentMethodsRequestBodyBillingDetails'Address'OneOf1Line2] :: PostPaymentMethodsRequestBodyBillingDetails'Address'OneOf1 -> Maybe Text
-- | postal_code
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentMethodsRequestBodyBillingDetails'Address'OneOf1PostalCode] :: PostPaymentMethodsRequestBodyBillingDetails'Address'OneOf1 -> Maybe Text
-- | state
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentMethodsRequestBodyBillingDetails'Address'OneOf1State] :: PostPaymentMethodsRequestBodyBillingDetails'Address'OneOf1 -> Maybe Text
-- | Create a new
-- PostPaymentMethodsRequestBodyBillingDetails'Address'OneOf1 with
-- all required fields.
mkPostPaymentMethodsRequestBodyBillingDetails'Address'OneOf1 :: PostPaymentMethodsRequestBodyBillingDetails'Address'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/payment_methods.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.billing_details.properties.address.anyOf
-- in the specification.
data PostPaymentMethodsRequestBodyBillingDetails'Address'Variants
-- | Represents the JSON value ""
PostPaymentMethodsRequestBodyBillingDetails'Address'EmptyString :: PostPaymentMethodsRequestBodyBillingDetails'Address'Variants
PostPaymentMethodsRequestBodyBillingDetails'Address'PostPaymentMethodsRequestBodyBillingDetails'Address'OneOf1 :: PostPaymentMethodsRequestBodyBillingDetails'Address'OneOf1 -> PostPaymentMethodsRequestBodyBillingDetails'Address'Variants
-- | Defines the object schema located at
-- paths./v1/payment_methods.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.boleto
-- in the specification.
--
-- If this is a `boleto` PaymentMethod, this hash contains details about
-- the Boleto payment method.
data PostPaymentMethodsRequestBodyBoleto'
PostPaymentMethodsRequestBodyBoleto' :: Text -> PostPaymentMethodsRequestBodyBoleto'
-- | tax_id
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentMethodsRequestBodyBoleto'TaxId] :: PostPaymentMethodsRequestBodyBoleto' -> Text
-- | Create a new PostPaymentMethodsRequestBodyBoleto' with all
-- required fields.
mkPostPaymentMethodsRequestBodyBoleto' :: Text -> PostPaymentMethodsRequestBodyBoleto'
-- | Defines the object schema located at
-- paths./v1/payment_methods.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.card.anyOf
-- in the specification.
--
-- If this is a \`card\` PaymentMethod, this hash contains the user\'s
-- card details. For backwards compatibility, you can alternatively
-- provide a Stripe token (e.g., for Apple Pay, Amex Express Checkout, or
-- legacy Checkout) into the card hash with format \`card: {token:
-- \"tok_visa\"}\`. When providing a card number, you must meet the
-- requirements for PCI compliance. We strongly recommend using
-- Stripe.js instead of interacting with this API directly.
data PostPaymentMethodsRequestBodyCard'
PostPaymentMethodsRequestBodyCard' :: Maybe Text -> Maybe Int -> Maybe Int -> Maybe Text -> Maybe Text -> PostPaymentMethodsRequestBodyCard'
-- | cvc
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentMethodsRequestBodyCard'Cvc] :: PostPaymentMethodsRequestBodyCard' -> Maybe Text
-- | exp_month
[postPaymentMethodsRequestBodyCard'ExpMonth] :: PostPaymentMethodsRequestBodyCard' -> Maybe Int
-- | exp_year
[postPaymentMethodsRequestBodyCard'ExpYear] :: PostPaymentMethodsRequestBodyCard' -> Maybe Int
-- | number
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentMethodsRequestBodyCard'Number] :: PostPaymentMethodsRequestBodyCard' -> Maybe Text
-- | token
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentMethodsRequestBodyCard'Token] :: PostPaymentMethodsRequestBodyCard' -> Maybe Text
-- | Create a new PostPaymentMethodsRequestBodyCard' with all
-- required fields.
mkPostPaymentMethodsRequestBodyCard' :: PostPaymentMethodsRequestBodyCard'
-- | Defines the object schema located at
-- paths./v1/payment_methods.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.eps
-- in the specification.
--
-- If this is an `eps` PaymentMethod, this hash contains details about
-- the EPS payment method.
data PostPaymentMethodsRequestBodyEps'
PostPaymentMethodsRequestBodyEps' :: Maybe PostPaymentMethodsRequestBodyEps'Bank' -> PostPaymentMethodsRequestBodyEps'
-- | bank
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentMethodsRequestBodyEps'Bank] :: PostPaymentMethodsRequestBodyEps' -> Maybe PostPaymentMethodsRequestBodyEps'Bank'
-- | Create a new PostPaymentMethodsRequestBodyEps' with all
-- required fields.
mkPostPaymentMethodsRequestBodyEps' :: PostPaymentMethodsRequestBodyEps'
-- | Defines the enum schema located at
-- paths./v1/payment_methods.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.eps.properties.bank
-- in the specification.
data PostPaymentMethodsRequestBodyEps'Bank'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostPaymentMethodsRequestBodyEps'Bank'Other :: Value -> PostPaymentMethodsRequestBodyEps'Bank'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostPaymentMethodsRequestBodyEps'Bank'Typed :: Text -> PostPaymentMethodsRequestBodyEps'Bank'
-- | Represents the JSON value "arzte_und_apotheker_bank"
PostPaymentMethodsRequestBodyEps'Bank'EnumArzteUndApothekerBank :: PostPaymentMethodsRequestBodyEps'Bank'
-- | Represents the JSON value "austrian_anadi_bank_ag"
PostPaymentMethodsRequestBodyEps'Bank'EnumAustrianAnadiBankAg :: PostPaymentMethodsRequestBodyEps'Bank'
-- | Represents the JSON value "bank_austria"
PostPaymentMethodsRequestBodyEps'Bank'EnumBankAustria :: PostPaymentMethodsRequestBodyEps'Bank'
-- | Represents the JSON value "bankhaus_carl_spangler"
PostPaymentMethodsRequestBodyEps'Bank'EnumBankhausCarlSpangler :: PostPaymentMethodsRequestBodyEps'Bank'
-- | Represents the JSON value
-- "bankhaus_schelhammer_und_schattera_ag"
PostPaymentMethodsRequestBodyEps'Bank'EnumBankhausSchelhammerUndSchatteraAg :: PostPaymentMethodsRequestBodyEps'Bank'
-- | Represents the JSON value "bawag_psk_ag"
PostPaymentMethodsRequestBodyEps'Bank'EnumBawagPskAg :: PostPaymentMethodsRequestBodyEps'Bank'
-- | Represents the JSON value "bks_bank_ag"
PostPaymentMethodsRequestBodyEps'Bank'EnumBksBankAg :: PostPaymentMethodsRequestBodyEps'Bank'
-- | Represents the JSON value "brull_kallmus_bank_ag"
PostPaymentMethodsRequestBodyEps'Bank'EnumBrullKallmusBankAg :: PostPaymentMethodsRequestBodyEps'Bank'
-- | Represents the JSON value "btv_vier_lander_bank"
PostPaymentMethodsRequestBodyEps'Bank'EnumBtvVierLanderBank :: PostPaymentMethodsRequestBodyEps'Bank'
-- | Represents the JSON value "capital_bank_grawe_gruppe_ag"
PostPaymentMethodsRequestBodyEps'Bank'EnumCapitalBankGraweGruppeAg :: PostPaymentMethodsRequestBodyEps'Bank'
-- | Represents the JSON value "dolomitenbank"
PostPaymentMethodsRequestBodyEps'Bank'EnumDolomitenbank :: PostPaymentMethodsRequestBodyEps'Bank'
-- | Represents the JSON value "easybank_ag"
PostPaymentMethodsRequestBodyEps'Bank'EnumEasybankAg :: PostPaymentMethodsRequestBodyEps'Bank'
-- | Represents the JSON value "erste_bank_und_sparkassen"
PostPaymentMethodsRequestBodyEps'Bank'EnumErsteBankUndSparkassen :: PostPaymentMethodsRequestBodyEps'Bank'
-- | Represents the JSON value
-- "hypo_alpeadriabank_international_ag"
PostPaymentMethodsRequestBodyEps'Bank'EnumHypoAlpeadriabankInternationalAg :: PostPaymentMethodsRequestBodyEps'Bank'
-- | Represents the JSON value
-- "hypo_bank_burgenland_aktiengesellschaft"
PostPaymentMethodsRequestBodyEps'Bank'EnumHypoBankBurgenlandAktiengesellschaft :: PostPaymentMethodsRequestBodyEps'Bank'
-- | Represents the JSON value
-- "hypo_noe_lb_fur_niederosterreich_u_wien"
PostPaymentMethodsRequestBodyEps'Bank'EnumHypoNoeLbFurNiederosterreichUWien :: PostPaymentMethodsRequestBodyEps'Bank'
-- | Represents the JSON value
-- "hypo_oberosterreich_salzburg_steiermark"
PostPaymentMethodsRequestBodyEps'Bank'EnumHypoOberosterreichSalzburgSteiermark :: PostPaymentMethodsRequestBodyEps'Bank'
-- | Represents the JSON value "hypo_tirol_bank_ag"
PostPaymentMethodsRequestBodyEps'Bank'EnumHypoTirolBankAg :: PostPaymentMethodsRequestBodyEps'Bank'
-- | Represents the JSON value "hypo_vorarlberg_bank_ag"
PostPaymentMethodsRequestBodyEps'Bank'EnumHypoVorarlbergBankAg :: PostPaymentMethodsRequestBodyEps'Bank'
-- | Represents the JSON value "marchfelder_bank"
PostPaymentMethodsRequestBodyEps'Bank'EnumMarchfelderBank :: PostPaymentMethodsRequestBodyEps'Bank'
-- | Represents the JSON value "oberbank_ag"
PostPaymentMethodsRequestBodyEps'Bank'EnumOberbankAg :: PostPaymentMethodsRequestBodyEps'Bank'
-- | Represents the JSON value
-- "raiffeisen_bankengruppe_osterreich"
PostPaymentMethodsRequestBodyEps'Bank'EnumRaiffeisenBankengruppeOsterreich :: PostPaymentMethodsRequestBodyEps'Bank'
-- | Represents the JSON value "schoellerbank_ag"
PostPaymentMethodsRequestBodyEps'Bank'EnumSchoellerbankAg :: PostPaymentMethodsRequestBodyEps'Bank'
-- | Represents the JSON value "sparda_bank_wien"
PostPaymentMethodsRequestBodyEps'Bank'EnumSpardaBankWien :: PostPaymentMethodsRequestBodyEps'Bank'
-- | Represents the JSON value "volksbank_gruppe"
PostPaymentMethodsRequestBodyEps'Bank'EnumVolksbankGruppe :: PostPaymentMethodsRequestBodyEps'Bank'
-- | Represents the JSON value "volkskreditbank_ag"
PostPaymentMethodsRequestBodyEps'Bank'EnumVolkskreditbankAg :: PostPaymentMethodsRequestBodyEps'Bank'
-- | Represents the JSON value "vr_bank_braunau"
PostPaymentMethodsRequestBodyEps'Bank'EnumVrBankBraunau :: PostPaymentMethodsRequestBodyEps'Bank'
-- | Defines the object schema located at
-- paths./v1/payment_methods.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.fpx
-- in the specification.
--
-- If this is an `fpx` PaymentMethod, this hash contains details about
-- the FPX payment method.
data PostPaymentMethodsRequestBodyFpx'
PostPaymentMethodsRequestBodyFpx' :: PostPaymentMethodsRequestBodyFpx'Bank' -> PostPaymentMethodsRequestBodyFpx'
-- | bank
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentMethodsRequestBodyFpx'Bank] :: PostPaymentMethodsRequestBodyFpx' -> PostPaymentMethodsRequestBodyFpx'Bank'
-- | Create a new PostPaymentMethodsRequestBodyFpx' with all
-- required fields.
mkPostPaymentMethodsRequestBodyFpx' :: PostPaymentMethodsRequestBodyFpx'Bank' -> PostPaymentMethodsRequestBodyFpx'
-- | Defines the enum schema located at
-- paths./v1/payment_methods.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.fpx.properties.bank
-- in the specification.
data PostPaymentMethodsRequestBodyFpx'Bank'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostPaymentMethodsRequestBodyFpx'Bank'Other :: Value -> PostPaymentMethodsRequestBodyFpx'Bank'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostPaymentMethodsRequestBodyFpx'Bank'Typed :: Text -> PostPaymentMethodsRequestBodyFpx'Bank'
-- | Represents the JSON value "affin_bank"
PostPaymentMethodsRequestBodyFpx'Bank'EnumAffinBank :: PostPaymentMethodsRequestBodyFpx'Bank'
-- | Represents the JSON value "alliance_bank"
PostPaymentMethodsRequestBodyFpx'Bank'EnumAllianceBank :: PostPaymentMethodsRequestBodyFpx'Bank'
-- | Represents the JSON value "ambank"
PostPaymentMethodsRequestBodyFpx'Bank'EnumAmbank :: PostPaymentMethodsRequestBodyFpx'Bank'
-- | Represents the JSON value "bank_islam"
PostPaymentMethodsRequestBodyFpx'Bank'EnumBankIslam :: PostPaymentMethodsRequestBodyFpx'Bank'
-- | Represents the JSON value "bank_muamalat"
PostPaymentMethodsRequestBodyFpx'Bank'EnumBankMuamalat :: PostPaymentMethodsRequestBodyFpx'Bank'
-- | Represents the JSON value "bank_rakyat"
PostPaymentMethodsRequestBodyFpx'Bank'EnumBankRakyat :: PostPaymentMethodsRequestBodyFpx'Bank'
-- | Represents the JSON value "bsn"
PostPaymentMethodsRequestBodyFpx'Bank'EnumBsn :: PostPaymentMethodsRequestBodyFpx'Bank'
-- | Represents the JSON value "cimb"
PostPaymentMethodsRequestBodyFpx'Bank'EnumCimb :: PostPaymentMethodsRequestBodyFpx'Bank'
-- | Represents the JSON value "deutsche_bank"
PostPaymentMethodsRequestBodyFpx'Bank'EnumDeutscheBank :: PostPaymentMethodsRequestBodyFpx'Bank'
-- | Represents the JSON value "hong_leong_bank"
PostPaymentMethodsRequestBodyFpx'Bank'EnumHongLeongBank :: PostPaymentMethodsRequestBodyFpx'Bank'
-- | Represents the JSON value "hsbc"
PostPaymentMethodsRequestBodyFpx'Bank'EnumHsbc :: PostPaymentMethodsRequestBodyFpx'Bank'
-- | Represents the JSON value "kfh"
PostPaymentMethodsRequestBodyFpx'Bank'EnumKfh :: PostPaymentMethodsRequestBodyFpx'Bank'
-- | Represents the JSON value "maybank2e"
PostPaymentMethodsRequestBodyFpx'Bank'EnumMaybank2e :: PostPaymentMethodsRequestBodyFpx'Bank'
-- | Represents the JSON value "maybank2u"
PostPaymentMethodsRequestBodyFpx'Bank'EnumMaybank2u :: PostPaymentMethodsRequestBodyFpx'Bank'
-- | Represents the JSON value "ocbc"
PostPaymentMethodsRequestBodyFpx'Bank'EnumOcbc :: PostPaymentMethodsRequestBodyFpx'Bank'
-- | Represents the JSON value "pb_enterprise"
PostPaymentMethodsRequestBodyFpx'Bank'EnumPbEnterprise :: PostPaymentMethodsRequestBodyFpx'Bank'
-- | Represents the JSON value "public_bank"
PostPaymentMethodsRequestBodyFpx'Bank'EnumPublicBank :: PostPaymentMethodsRequestBodyFpx'Bank'
-- | Represents the JSON value "rhb"
PostPaymentMethodsRequestBodyFpx'Bank'EnumRhb :: PostPaymentMethodsRequestBodyFpx'Bank'
-- | Represents the JSON value "standard_chartered"
PostPaymentMethodsRequestBodyFpx'Bank'EnumStandardChartered :: PostPaymentMethodsRequestBodyFpx'Bank'
-- | Represents the JSON value "uob"
PostPaymentMethodsRequestBodyFpx'Bank'EnumUob :: PostPaymentMethodsRequestBodyFpx'Bank'
-- | Defines the object schema located at
-- paths./v1/payment_methods.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.ideal
-- in the specification.
--
-- If this is an `ideal` PaymentMethod, this hash contains details about
-- the iDEAL payment method.
data PostPaymentMethodsRequestBodyIdeal'
PostPaymentMethodsRequestBodyIdeal' :: Maybe PostPaymentMethodsRequestBodyIdeal'Bank' -> PostPaymentMethodsRequestBodyIdeal'
-- | bank
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentMethodsRequestBodyIdeal'Bank] :: PostPaymentMethodsRequestBodyIdeal' -> Maybe PostPaymentMethodsRequestBodyIdeal'Bank'
-- | Create a new PostPaymentMethodsRequestBodyIdeal' with all
-- required fields.
mkPostPaymentMethodsRequestBodyIdeal' :: PostPaymentMethodsRequestBodyIdeal'
-- | Defines the enum schema located at
-- paths./v1/payment_methods.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.ideal.properties.bank
-- in the specification.
data PostPaymentMethodsRequestBodyIdeal'Bank'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostPaymentMethodsRequestBodyIdeal'Bank'Other :: Value -> PostPaymentMethodsRequestBodyIdeal'Bank'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostPaymentMethodsRequestBodyIdeal'Bank'Typed :: Text -> PostPaymentMethodsRequestBodyIdeal'Bank'
-- | Represents the JSON value "abn_amro"
PostPaymentMethodsRequestBodyIdeal'Bank'EnumAbnAmro :: PostPaymentMethodsRequestBodyIdeal'Bank'
-- | Represents the JSON value "asn_bank"
PostPaymentMethodsRequestBodyIdeal'Bank'EnumAsnBank :: PostPaymentMethodsRequestBodyIdeal'Bank'
-- | Represents the JSON value "bunq"
PostPaymentMethodsRequestBodyIdeal'Bank'EnumBunq :: PostPaymentMethodsRequestBodyIdeal'Bank'
-- | Represents the JSON value "handelsbanken"
PostPaymentMethodsRequestBodyIdeal'Bank'EnumHandelsbanken :: PostPaymentMethodsRequestBodyIdeal'Bank'
-- | Represents the JSON value "ing"
PostPaymentMethodsRequestBodyIdeal'Bank'EnumIng :: PostPaymentMethodsRequestBodyIdeal'Bank'
-- | Represents the JSON value "knab"
PostPaymentMethodsRequestBodyIdeal'Bank'EnumKnab :: PostPaymentMethodsRequestBodyIdeal'Bank'
-- | Represents the JSON value "moneyou"
PostPaymentMethodsRequestBodyIdeal'Bank'EnumMoneyou :: PostPaymentMethodsRequestBodyIdeal'Bank'
-- | Represents the JSON value "rabobank"
PostPaymentMethodsRequestBodyIdeal'Bank'EnumRabobank :: PostPaymentMethodsRequestBodyIdeal'Bank'
-- | Represents the JSON value "regiobank"
PostPaymentMethodsRequestBodyIdeal'Bank'EnumRegiobank :: PostPaymentMethodsRequestBodyIdeal'Bank'
-- | Represents the JSON value "revolut"
PostPaymentMethodsRequestBodyIdeal'Bank'EnumRevolut :: PostPaymentMethodsRequestBodyIdeal'Bank'
-- | Represents the JSON value "sns_bank"
PostPaymentMethodsRequestBodyIdeal'Bank'EnumSnsBank :: PostPaymentMethodsRequestBodyIdeal'Bank'
-- | Represents the JSON value "triodos_bank"
PostPaymentMethodsRequestBodyIdeal'Bank'EnumTriodosBank :: PostPaymentMethodsRequestBodyIdeal'Bank'
-- | Represents the JSON value "van_lanschot"
PostPaymentMethodsRequestBodyIdeal'Bank'EnumVanLanschot :: PostPaymentMethodsRequestBodyIdeal'Bank'
-- | Defines the object schema located at
-- paths./v1/payment_methods.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.p24
-- in the specification.
--
-- If this is a `p24` PaymentMethod, this hash contains details about the
-- P24 payment method.
data PostPaymentMethodsRequestBodyP24'
PostPaymentMethodsRequestBodyP24' :: Maybe PostPaymentMethodsRequestBodyP24'Bank' -> PostPaymentMethodsRequestBodyP24'
-- | bank
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentMethodsRequestBodyP24'Bank] :: PostPaymentMethodsRequestBodyP24' -> Maybe PostPaymentMethodsRequestBodyP24'Bank'
-- | Create a new PostPaymentMethodsRequestBodyP24' with all
-- required fields.
mkPostPaymentMethodsRequestBodyP24' :: PostPaymentMethodsRequestBodyP24'
-- | Defines the enum schema located at
-- paths./v1/payment_methods.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.p24.properties.bank
-- in the specification.
data PostPaymentMethodsRequestBodyP24'Bank'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostPaymentMethodsRequestBodyP24'Bank'Other :: Value -> PostPaymentMethodsRequestBodyP24'Bank'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostPaymentMethodsRequestBodyP24'Bank'Typed :: Text -> PostPaymentMethodsRequestBodyP24'Bank'
-- | Represents the JSON value "alior_bank"
PostPaymentMethodsRequestBodyP24'Bank'EnumAliorBank :: PostPaymentMethodsRequestBodyP24'Bank'
-- | Represents the JSON value "bank_millennium"
PostPaymentMethodsRequestBodyP24'Bank'EnumBankMillennium :: PostPaymentMethodsRequestBodyP24'Bank'
-- | Represents the JSON value "bank_nowy_bfg_sa"
PostPaymentMethodsRequestBodyP24'Bank'EnumBankNowyBfgSa :: PostPaymentMethodsRequestBodyP24'Bank'
-- | Represents the JSON value "bank_pekao_sa"
PostPaymentMethodsRequestBodyP24'Bank'EnumBankPekaoSa :: PostPaymentMethodsRequestBodyP24'Bank'
-- | Represents the JSON value "banki_spbdzielcze"
PostPaymentMethodsRequestBodyP24'Bank'EnumBankiSpbdzielcze :: PostPaymentMethodsRequestBodyP24'Bank'
-- | Represents the JSON value "blik"
PostPaymentMethodsRequestBodyP24'Bank'EnumBlik :: PostPaymentMethodsRequestBodyP24'Bank'
-- | Represents the JSON value "bnp_paribas"
PostPaymentMethodsRequestBodyP24'Bank'EnumBnpParibas :: PostPaymentMethodsRequestBodyP24'Bank'
-- | Represents the JSON value "boz"
PostPaymentMethodsRequestBodyP24'Bank'EnumBoz :: PostPaymentMethodsRequestBodyP24'Bank'
-- | Represents the JSON value "citi_handlowy"
PostPaymentMethodsRequestBodyP24'Bank'EnumCitiHandlowy :: PostPaymentMethodsRequestBodyP24'Bank'
-- | Represents the JSON value "credit_agricole"
PostPaymentMethodsRequestBodyP24'Bank'EnumCreditAgricole :: PostPaymentMethodsRequestBodyP24'Bank'
-- | Represents the JSON value "envelobank"
PostPaymentMethodsRequestBodyP24'Bank'EnumEnvelobank :: PostPaymentMethodsRequestBodyP24'Bank'
-- | Represents the JSON value "etransfer_pocztowy24"
PostPaymentMethodsRequestBodyP24'Bank'EnumEtransferPocztowy24 :: PostPaymentMethodsRequestBodyP24'Bank'
-- | Represents the JSON value "getin_bank"
PostPaymentMethodsRequestBodyP24'Bank'EnumGetinBank :: PostPaymentMethodsRequestBodyP24'Bank'
-- | Represents the JSON value "ideabank"
PostPaymentMethodsRequestBodyP24'Bank'EnumIdeabank :: PostPaymentMethodsRequestBodyP24'Bank'
-- | Represents the JSON value "ing"
PostPaymentMethodsRequestBodyP24'Bank'EnumIng :: PostPaymentMethodsRequestBodyP24'Bank'
-- | Represents the JSON value "inteligo"
PostPaymentMethodsRequestBodyP24'Bank'EnumInteligo :: PostPaymentMethodsRequestBodyP24'Bank'
-- | Represents the JSON value "mbank_mtransfer"
PostPaymentMethodsRequestBodyP24'Bank'EnumMbankMtransfer :: PostPaymentMethodsRequestBodyP24'Bank'
-- | Represents the JSON value "nest_przelew"
PostPaymentMethodsRequestBodyP24'Bank'EnumNestPrzelew :: PostPaymentMethodsRequestBodyP24'Bank'
-- | Represents the JSON value "noble_pay"
PostPaymentMethodsRequestBodyP24'Bank'EnumNoblePay :: PostPaymentMethodsRequestBodyP24'Bank'
-- | Represents the JSON value "pbac_z_ipko"
PostPaymentMethodsRequestBodyP24'Bank'EnumPbacZIpko :: PostPaymentMethodsRequestBodyP24'Bank'
-- | Represents the JSON value "plus_bank"
PostPaymentMethodsRequestBodyP24'Bank'EnumPlusBank :: PostPaymentMethodsRequestBodyP24'Bank'
-- | Represents the JSON value "santander_przelew24"
PostPaymentMethodsRequestBodyP24'Bank'EnumSantanderPrzelew24 :: PostPaymentMethodsRequestBodyP24'Bank'
-- | Represents the JSON value "tmobile_usbugi_bankowe"
PostPaymentMethodsRequestBodyP24'Bank'EnumTmobileUsbugiBankowe :: PostPaymentMethodsRequestBodyP24'Bank'
-- | Represents the JSON value "toyota_bank"
PostPaymentMethodsRequestBodyP24'Bank'EnumToyotaBank :: PostPaymentMethodsRequestBodyP24'Bank'
-- | Represents the JSON value "volkswagen_bank"
PostPaymentMethodsRequestBodyP24'Bank'EnumVolkswagenBank :: PostPaymentMethodsRequestBodyP24'Bank'
-- | Defines the object schema located at
-- paths./v1/payment_methods.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.sepa_debit
-- in the specification.
--
-- If this is a `sepa_debit` PaymentMethod, this hash contains details
-- about the SEPA debit bank account.
data PostPaymentMethodsRequestBodySepaDebit'
PostPaymentMethodsRequestBodySepaDebit' :: Text -> PostPaymentMethodsRequestBodySepaDebit'
-- | iban
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentMethodsRequestBodySepaDebit'Iban] :: PostPaymentMethodsRequestBodySepaDebit' -> Text
-- | Create a new PostPaymentMethodsRequestBodySepaDebit' with all
-- required fields.
mkPostPaymentMethodsRequestBodySepaDebit' :: Text -> PostPaymentMethodsRequestBodySepaDebit'
-- | Defines the object schema located at
-- paths./v1/payment_methods.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.sofort
-- in the specification.
--
-- If this is a `sofort` PaymentMethod, this hash contains details about
-- the SOFORT payment method.
data PostPaymentMethodsRequestBodySofort'
PostPaymentMethodsRequestBodySofort' :: PostPaymentMethodsRequestBodySofort'Country' -> PostPaymentMethodsRequestBodySofort'
-- | country
[postPaymentMethodsRequestBodySofort'Country] :: PostPaymentMethodsRequestBodySofort' -> PostPaymentMethodsRequestBodySofort'Country'
-- | Create a new PostPaymentMethodsRequestBodySofort' with all
-- required fields.
mkPostPaymentMethodsRequestBodySofort' :: PostPaymentMethodsRequestBodySofort'Country' -> PostPaymentMethodsRequestBodySofort'
-- | Defines the enum schema located at
-- paths./v1/payment_methods.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.sofort.properties.country
-- in the specification.
data PostPaymentMethodsRequestBodySofort'Country'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostPaymentMethodsRequestBodySofort'Country'Other :: Value -> PostPaymentMethodsRequestBodySofort'Country'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostPaymentMethodsRequestBodySofort'Country'Typed :: Text -> PostPaymentMethodsRequestBodySofort'Country'
-- | Represents the JSON value AT
PostPaymentMethodsRequestBodySofort'Country'EnumAT :: PostPaymentMethodsRequestBodySofort'Country'
-- | Represents the JSON value BE
PostPaymentMethodsRequestBodySofort'Country'EnumBE :: PostPaymentMethodsRequestBodySofort'Country'
-- | Represents the JSON value DE
PostPaymentMethodsRequestBodySofort'Country'EnumDE :: PostPaymentMethodsRequestBodySofort'Country'
-- | Represents the JSON value ES
PostPaymentMethodsRequestBodySofort'Country'EnumES :: PostPaymentMethodsRequestBodySofort'Country'
-- | Represents the JSON value IT
PostPaymentMethodsRequestBodySofort'Country'EnumIT :: PostPaymentMethodsRequestBodySofort'Country'
-- | Represents the JSON value NL
PostPaymentMethodsRequestBodySofort'Country'EnumNL :: PostPaymentMethodsRequestBodySofort'Country'
-- | Defines the enum schema located at
-- paths./v1/payment_methods.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.type
-- in the specification.
--
-- The type of the PaymentMethod. An additional hash is included on the
-- PaymentMethod with a name matching this value. It contains additional
-- information specific to the PaymentMethod type.
data PostPaymentMethodsRequestBodyType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostPaymentMethodsRequestBodyType'Other :: Value -> PostPaymentMethodsRequestBodyType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostPaymentMethodsRequestBodyType'Typed :: Text -> PostPaymentMethodsRequestBodyType'
-- | Represents the JSON value "acss_debit"
PostPaymentMethodsRequestBodyType'EnumAcssDebit :: PostPaymentMethodsRequestBodyType'
-- | Represents the JSON value "afterpay_clearpay"
PostPaymentMethodsRequestBodyType'EnumAfterpayClearpay :: PostPaymentMethodsRequestBodyType'
-- | Represents the JSON value "alipay"
PostPaymentMethodsRequestBodyType'EnumAlipay :: PostPaymentMethodsRequestBodyType'
-- | Represents the JSON value "au_becs_debit"
PostPaymentMethodsRequestBodyType'EnumAuBecsDebit :: PostPaymentMethodsRequestBodyType'
-- | Represents the JSON value "bacs_debit"
PostPaymentMethodsRequestBodyType'EnumBacsDebit :: PostPaymentMethodsRequestBodyType'
-- | Represents the JSON value "bancontact"
PostPaymentMethodsRequestBodyType'EnumBancontact :: PostPaymentMethodsRequestBodyType'
-- | Represents the JSON value "boleto"
PostPaymentMethodsRequestBodyType'EnumBoleto :: PostPaymentMethodsRequestBodyType'
-- | Represents the JSON value "card"
PostPaymentMethodsRequestBodyType'EnumCard :: PostPaymentMethodsRequestBodyType'
-- | Represents the JSON value "eps"
PostPaymentMethodsRequestBodyType'EnumEps :: PostPaymentMethodsRequestBodyType'
-- | Represents the JSON value "fpx"
PostPaymentMethodsRequestBodyType'EnumFpx :: PostPaymentMethodsRequestBodyType'
-- | Represents the JSON value "giropay"
PostPaymentMethodsRequestBodyType'EnumGiropay :: PostPaymentMethodsRequestBodyType'
-- | Represents the JSON value "grabpay"
PostPaymentMethodsRequestBodyType'EnumGrabpay :: PostPaymentMethodsRequestBodyType'
-- | Represents the JSON value "ideal"
PostPaymentMethodsRequestBodyType'EnumIdeal :: PostPaymentMethodsRequestBodyType'
-- | Represents the JSON value "oxxo"
PostPaymentMethodsRequestBodyType'EnumOxxo :: PostPaymentMethodsRequestBodyType'
-- | Represents the JSON value "p24"
PostPaymentMethodsRequestBodyType'EnumP24 :: PostPaymentMethodsRequestBodyType'
-- | Represents the JSON value "sepa_debit"
PostPaymentMethodsRequestBodyType'EnumSepaDebit :: PostPaymentMethodsRequestBodyType'
-- | Represents the JSON value "sofort"
PostPaymentMethodsRequestBodyType'EnumSofort :: PostPaymentMethodsRequestBodyType'
-- | Represents a response of the operation postPaymentMethods.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostPaymentMethodsResponseError is
-- used.
data PostPaymentMethodsResponse
-- | Means either no matching case available or a parse error
PostPaymentMethodsResponseError :: String -> PostPaymentMethodsResponse
-- | Successful response.
PostPaymentMethodsResponse200 :: PaymentMethod -> PostPaymentMethodsResponse
-- | Error response.
PostPaymentMethodsResponseDefault :: Error -> PostPaymentMethodsResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentMethods.PostPaymentMethodsRequestBodyAcssDebit'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentMethods.PostPaymentMethodsRequestBodyAcssDebit'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentMethods.PostPaymentMethodsRequestBodyAuBecsDebit'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentMethods.PostPaymentMethodsRequestBodyAuBecsDebit'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentMethods.PostPaymentMethodsRequestBodyBacsDebit'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentMethods.PostPaymentMethodsRequestBodyBacsDebit'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentMethods.PostPaymentMethodsRequestBodyBillingDetails'Address'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostPaymentMethods.PostPaymentMethodsRequestBodyBillingDetails'Address'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentMethods.PostPaymentMethodsRequestBodyBillingDetails'Address'Variants
instance GHC.Show.Show StripeAPI.Operations.PostPaymentMethods.PostPaymentMethodsRequestBodyBillingDetails'Address'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentMethods.PostPaymentMethodsRequestBodyBillingDetails'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentMethods.PostPaymentMethodsRequestBodyBillingDetails'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentMethods.PostPaymentMethodsRequestBodyBoleto'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentMethods.PostPaymentMethodsRequestBodyBoleto'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentMethods.PostPaymentMethodsRequestBodyCard'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentMethods.PostPaymentMethodsRequestBodyCard'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentMethods.PostPaymentMethodsRequestBodyEps'Bank'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentMethods.PostPaymentMethodsRequestBodyEps'Bank'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentMethods.PostPaymentMethodsRequestBodyEps'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentMethods.PostPaymentMethodsRequestBodyEps'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentMethods.PostPaymentMethodsRequestBodyFpx'Bank'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentMethods.PostPaymentMethodsRequestBodyFpx'Bank'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentMethods.PostPaymentMethodsRequestBodyFpx'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentMethods.PostPaymentMethodsRequestBodyFpx'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentMethods.PostPaymentMethodsRequestBodyIdeal'Bank'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentMethods.PostPaymentMethodsRequestBodyIdeal'Bank'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentMethods.PostPaymentMethodsRequestBodyIdeal'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentMethods.PostPaymentMethodsRequestBodyIdeal'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentMethods.PostPaymentMethodsRequestBodyP24'Bank'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentMethods.PostPaymentMethodsRequestBodyP24'Bank'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentMethods.PostPaymentMethodsRequestBodyP24'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentMethods.PostPaymentMethodsRequestBodyP24'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentMethods.PostPaymentMethodsRequestBodySepaDebit'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentMethods.PostPaymentMethodsRequestBodySepaDebit'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentMethods.PostPaymentMethodsRequestBodySofort'Country'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentMethods.PostPaymentMethodsRequestBodySofort'Country'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentMethods.PostPaymentMethodsRequestBodySofort'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentMethods.PostPaymentMethodsRequestBodySofort'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentMethods.PostPaymentMethodsRequestBodyType'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentMethods.PostPaymentMethodsRequestBodyType'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentMethods.PostPaymentMethodsRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostPaymentMethods.PostPaymentMethodsRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentMethods.PostPaymentMethodsResponse
instance GHC.Show.Show StripeAPI.Operations.PostPaymentMethods.PostPaymentMethodsResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentMethods.PostPaymentMethodsRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentMethods.PostPaymentMethodsRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentMethods.PostPaymentMethodsRequestBodyType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentMethods.PostPaymentMethodsRequestBodyType'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentMethods.PostPaymentMethodsRequestBodySofort'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentMethods.PostPaymentMethodsRequestBodySofort'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentMethods.PostPaymentMethodsRequestBodySofort'Country'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentMethods.PostPaymentMethodsRequestBodySofort'Country'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentMethods.PostPaymentMethodsRequestBodySepaDebit'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentMethods.PostPaymentMethodsRequestBodySepaDebit'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentMethods.PostPaymentMethodsRequestBodyP24'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentMethods.PostPaymentMethodsRequestBodyP24'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentMethods.PostPaymentMethodsRequestBodyP24'Bank'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentMethods.PostPaymentMethodsRequestBodyP24'Bank'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentMethods.PostPaymentMethodsRequestBodyIdeal'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentMethods.PostPaymentMethodsRequestBodyIdeal'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentMethods.PostPaymentMethodsRequestBodyIdeal'Bank'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentMethods.PostPaymentMethodsRequestBodyIdeal'Bank'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentMethods.PostPaymentMethodsRequestBodyFpx'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentMethods.PostPaymentMethodsRequestBodyFpx'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentMethods.PostPaymentMethodsRequestBodyFpx'Bank'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentMethods.PostPaymentMethodsRequestBodyFpx'Bank'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentMethods.PostPaymentMethodsRequestBodyEps'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentMethods.PostPaymentMethodsRequestBodyEps'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentMethods.PostPaymentMethodsRequestBodyEps'Bank'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentMethods.PostPaymentMethodsRequestBodyEps'Bank'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentMethods.PostPaymentMethodsRequestBodyCard'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentMethods.PostPaymentMethodsRequestBodyCard'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentMethods.PostPaymentMethodsRequestBodyBoleto'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentMethods.PostPaymentMethodsRequestBodyBoleto'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentMethods.PostPaymentMethodsRequestBodyBillingDetails'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentMethods.PostPaymentMethodsRequestBodyBillingDetails'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentMethods.PostPaymentMethodsRequestBodyBillingDetails'Address'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentMethods.PostPaymentMethodsRequestBodyBillingDetails'Address'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentMethods.PostPaymentMethodsRequestBodyBillingDetails'Address'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentMethods.PostPaymentMethodsRequestBodyBillingDetails'Address'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentMethods.PostPaymentMethodsRequestBodyBacsDebit'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentMethods.PostPaymentMethodsRequestBodyBacsDebit'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentMethods.PostPaymentMethodsRequestBodyAuBecsDebit'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentMethods.PostPaymentMethodsRequestBodyAuBecsDebit'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentMethods.PostPaymentMethodsRequestBodyAcssDebit'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentMethods.PostPaymentMethodsRequestBodyAcssDebit'
-- | Contains the different functions to run the operation
-- postPaymentIntentsIntentConfirm
module StripeAPI.Operations.PostPaymentIntentsIntentConfirm
-- |
-- POST /v1/payment_intents/{intent}/confirm
--
--
-- <p>Confirm that your customer intends to pay with current or
-- provided payment method. Upon confirmation, the PaymentIntent will
-- attempt to initiate a payment.</p>
--
-- <p>If the selected payment method requires additional
-- authentication steps, the PaymentIntent will transition to the
-- <code>requires_action</code> status and suggest additional
-- actions via <code>next_action</code>. If payment fails,
-- the PaymentIntent will transition to the
-- <code>requires_payment_method</code> status. If payment
-- succeeds, the PaymentIntent will transition to the
-- <code>succeeded</code> status (or
-- <code>requires_capture</code>, if
-- <code>capture_method</code> is set to
-- <code>manual</code>).</p>
--
-- <p>If the <code>confirmation_method</code> is
-- <code>automatic</code>, payment may be attempted using our
-- <a
-- href="/docs/stripe-js/reference#stripe-handle-card-payment">client
-- SDKs</a> and the PaymentIntent’s <a
-- href="#payment_intent_object-client_secret">client_secret</a>.
-- After <code>next_action</code>s are handled by the client,
-- no additional confirmation is required to complete the
-- payment.</p>
--
-- <p>If the <code>confirmation_method</code> is
-- <code>manual</code>, all payment attempts must be
-- initiated using a secret key. If any actions are required for the
-- payment, the PaymentIntent will return to the
-- <code>requires_confirmation</code> state after those
-- actions are completed. Your server needs to then explicitly re-confirm
-- the PaymentIntent to initiate the next payment attempt. Read the <a
-- href="/docs/payments/payment-intents/web-manual">expanded
-- documentation</a> to learn more about manual
-- confirmation.</p>
postPaymentIntentsIntentConfirm :: forall m. MonadHTTP m => Text -> Maybe PostPaymentIntentsIntentConfirmRequestBody -> ClientT m (Response PostPaymentIntentsIntentConfirmResponse)
-- | Defines the object schema located at
-- paths./v1/payment_intents/{intent}/confirm.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostPaymentIntentsIntentConfirmRequestBody
PostPaymentIntentsIntentConfirmRequestBody :: Maybe Text -> Maybe Bool -> Maybe [Text] -> Maybe Text -> Maybe PostPaymentIntentsIntentConfirmRequestBodyMandateData' -> Maybe PostPaymentIntentsIntentConfirmRequestBodyOffSession'Variants -> Maybe Text -> Maybe PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData' -> Maybe PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions' -> Maybe [Text] -> Maybe PostPaymentIntentsIntentConfirmRequestBodyReceiptEmail'Variants -> Maybe Text -> Maybe PostPaymentIntentsIntentConfirmRequestBodySetupFutureUsage' -> Maybe PostPaymentIntentsIntentConfirmRequestBodyShipping'Variants -> Maybe Bool -> PostPaymentIntentsIntentConfirmRequestBody
-- | client_secret: The client secret of the PaymentIntent.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsIntentConfirmRequestBodyClientSecret] :: PostPaymentIntentsIntentConfirmRequestBody -> Maybe Text
-- | error_on_requires_action: Set to `true` to fail the payment attempt if
-- the PaymentIntent transitions into `requires_action`. This parameter
-- is intended for simpler integrations that do not handle customer
-- actions, like saving cards without authentication.
[postPaymentIntentsIntentConfirmRequestBodyErrorOnRequiresAction] :: PostPaymentIntentsIntentConfirmRequestBody -> Maybe Bool
-- | expand: Specifies which fields in the response should be expanded.
[postPaymentIntentsIntentConfirmRequestBodyExpand] :: PostPaymentIntentsIntentConfirmRequestBody -> Maybe [Text]
-- | mandate: ID of the mandate to be used for this payment.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsIntentConfirmRequestBodyMandate] :: PostPaymentIntentsIntentConfirmRequestBody -> Maybe Text
-- | mandate_data: This hash contains details about the Mandate to create
[postPaymentIntentsIntentConfirmRequestBodyMandateData] :: PostPaymentIntentsIntentConfirmRequestBody -> Maybe PostPaymentIntentsIntentConfirmRequestBodyMandateData'
-- | off_session: Set to `true` to indicate that the customer is not in
-- your checkout flow during this payment attempt, and therefore is
-- unable to authenticate. This parameter is intended for scenarios where
-- you collect card details and charge them later.
[postPaymentIntentsIntentConfirmRequestBodyOffSession] :: PostPaymentIntentsIntentConfirmRequestBody -> Maybe PostPaymentIntentsIntentConfirmRequestBodyOffSession'Variants
-- | payment_method: ID of the payment method (a PaymentMethod, Card, or
-- compatible Source object) to attach to this PaymentIntent.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsIntentConfirmRequestBodyPaymentMethod] :: PostPaymentIntentsIntentConfirmRequestBody -> Maybe Text
-- | payment_method_data: If provided, this hash will be used to create a
-- PaymentMethod. The new PaymentMethod will appear in the
-- payment_method property on the PaymentIntent.
[postPaymentIntentsIntentConfirmRequestBodyPaymentMethodData] :: PostPaymentIntentsIntentConfirmRequestBody -> Maybe PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'
-- | payment_method_options: Payment-method-specific configuration for this
-- PaymentIntent.
[postPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions] :: PostPaymentIntentsIntentConfirmRequestBody -> Maybe PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'
-- | payment_method_types: The list of payment method types (e.g. card)
-- that this PaymentIntent is allowed to use.
[postPaymentIntentsIntentConfirmRequestBodyPaymentMethodTypes] :: PostPaymentIntentsIntentConfirmRequestBody -> Maybe [Text]
-- | receipt_email: Email address that the receipt for the resulting
-- payment will be sent to. If `receipt_email` is specified for a payment
-- in live mode, a receipt will be sent regardless of your email
-- settings.
[postPaymentIntentsIntentConfirmRequestBodyReceiptEmail] :: PostPaymentIntentsIntentConfirmRequestBody -> Maybe PostPaymentIntentsIntentConfirmRequestBodyReceiptEmail'Variants
-- | return_url: The URL to redirect your customer back to after they
-- authenticate or cancel their payment on the payment method's app or
-- site. If you'd prefer to redirect to a mobile application, you can
-- alternatively supply an application URI scheme. This parameter is only
-- used for cards and other redirect-based payment methods.
[postPaymentIntentsIntentConfirmRequestBodyReturnUrl] :: PostPaymentIntentsIntentConfirmRequestBody -> Maybe Text
-- | setup_future_usage: Indicates that you intend to make future payments
-- with this PaymentIntent's payment method.
--
-- Providing this parameter will attach the payment method to the
-- PaymentIntent's Customer, if present, after the PaymentIntent is
-- confirmed and any required actions from the user are complete. If no
-- Customer was provided, the payment method can still be attached
-- to a Customer after the transaction completes.
--
-- When processing card payments, Stripe also uses `setup_future_usage`
-- to dynamically optimize your payment flow and comply with regional
-- legislation and network rules, such as SCA.
--
-- If `setup_future_usage` is already set and you are performing a
-- request using a publishable key, you may only update the value from
-- `on_session` to `off_session`.
[postPaymentIntentsIntentConfirmRequestBodySetupFutureUsage] :: PostPaymentIntentsIntentConfirmRequestBody -> Maybe PostPaymentIntentsIntentConfirmRequestBodySetupFutureUsage'
-- | shipping: Shipping information for this PaymentIntent.
[postPaymentIntentsIntentConfirmRequestBodyShipping] :: PostPaymentIntentsIntentConfirmRequestBody -> Maybe PostPaymentIntentsIntentConfirmRequestBodyShipping'Variants
-- | use_stripe_sdk: Set to `true` only when using manual confirmation and
-- the iOS or Android SDKs to handle additional authentication steps.
[postPaymentIntentsIntentConfirmRequestBodyUseStripeSdk] :: PostPaymentIntentsIntentConfirmRequestBody -> Maybe Bool
-- | Create a new PostPaymentIntentsIntentConfirmRequestBody with
-- all required fields.
mkPostPaymentIntentsIntentConfirmRequestBody :: PostPaymentIntentsIntentConfirmRequestBody
-- | Defines the object schema located at
-- paths./v1/payment_intents/{intent}/confirm.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.mandate_data.anyOf
-- in the specification.
--
-- This hash contains details about the Mandate to create
data PostPaymentIntentsIntentConfirmRequestBodyMandateData'
PostPaymentIntentsIntentConfirmRequestBodyMandateData' :: Maybe PostPaymentIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance' -> PostPaymentIntentsIntentConfirmRequestBodyMandateData'
-- | customer_acceptance
[postPaymentIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance] :: PostPaymentIntentsIntentConfirmRequestBodyMandateData' -> Maybe PostPaymentIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'
-- | Create a new
-- PostPaymentIntentsIntentConfirmRequestBodyMandateData' with all
-- required fields.
mkPostPaymentIntentsIntentConfirmRequestBodyMandateData' :: PostPaymentIntentsIntentConfirmRequestBodyMandateData'
-- | Defines the object schema located at
-- paths./v1/payment_intents/{intent}/confirm.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.mandate_data.anyOf.properties.customer_acceptance
-- in the specification.
data PostPaymentIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'
PostPaymentIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance' :: Maybe Int -> Maybe Object -> Maybe PostPaymentIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'Online' -> PostPaymentIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'Type' -> PostPaymentIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'
-- | accepted_at
[postPaymentIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'AcceptedAt] :: PostPaymentIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance' -> Maybe Int
-- | offline
[postPaymentIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'Offline] :: PostPaymentIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance' -> Maybe Object
-- | online
[postPaymentIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'Online] :: PostPaymentIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance' -> Maybe PostPaymentIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'Online'
-- | type
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'Type] :: PostPaymentIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance' -> PostPaymentIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'Type'
-- | Create a new
-- PostPaymentIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'
-- with all required fields.
mkPostPaymentIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance' :: PostPaymentIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'Type' -> PostPaymentIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'
-- | Defines the object schema located at
-- paths./v1/payment_intents/{intent}/confirm.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.mandate_data.anyOf.properties.customer_acceptance.properties.online
-- in the specification.
data PostPaymentIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'Online'
PostPaymentIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'Online' :: Text -> Text -> PostPaymentIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'Online'
-- | ip_address
[postPaymentIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'Online'IpAddress] :: PostPaymentIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'Online' -> Text
-- | user_agent
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'Online'UserAgent] :: PostPaymentIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'Online' -> Text
-- | Create a new
-- PostPaymentIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'Online'
-- with all required fields.
mkPostPaymentIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'Online' :: Text -> Text -> PostPaymentIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'Online'
-- | Defines the enum schema located at
-- paths./v1/payment_intents/{intent}/confirm.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.mandate_data.anyOf.properties.customer_acceptance.properties.type
-- in the specification.
data PostPaymentIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'Type'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostPaymentIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'Type'Other :: Value -> PostPaymentIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'Type'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostPaymentIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'Type'Typed :: Text -> PostPaymentIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'Type'
-- | Represents the JSON value "offline"
PostPaymentIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'Type'EnumOffline :: PostPaymentIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'Type'
-- | Represents the JSON value "online"
PostPaymentIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'Type'EnumOnline :: PostPaymentIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'Type'
-- | Defines the enum schema located at
-- paths./v1/payment_intents/{intent}/confirm.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.off_session.anyOf
-- in the specification.
data PostPaymentIntentsIntentConfirmRequestBodyOffSession'OneOf2
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostPaymentIntentsIntentConfirmRequestBodyOffSession'OneOf2Other :: Value -> PostPaymentIntentsIntentConfirmRequestBodyOffSession'OneOf2
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostPaymentIntentsIntentConfirmRequestBodyOffSession'OneOf2Typed :: Text -> PostPaymentIntentsIntentConfirmRequestBodyOffSession'OneOf2
-- | Represents the JSON value "one_off"
PostPaymentIntentsIntentConfirmRequestBodyOffSession'OneOf2EnumOneOff :: PostPaymentIntentsIntentConfirmRequestBodyOffSession'OneOf2
-- | Represents the JSON value "recurring"
PostPaymentIntentsIntentConfirmRequestBodyOffSession'OneOf2EnumRecurring :: PostPaymentIntentsIntentConfirmRequestBodyOffSession'OneOf2
-- | Defines the oneOf schema located at
-- paths./v1/payment_intents/{intent}/confirm.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.off_session.anyOf
-- in the specification.
--
-- Set to `true` to indicate that the customer is not in your checkout
-- flow during this payment attempt, and therefore is unable to
-- authenticate. This parameter is intended for scenarios where you
-- collect card details and charge them later.
data PostPaymentIntentsIntentConfirmRequestBodyOffSession'Variants
PostPaymentIntentsIntentConfirmRequestBodyOffSession'Bool :: Bool -> PostPaymentIntentsIntentConfirmRequestBodyOffSession'Variants
PostPaymentIntentsIntentConfirmRequestBodyOffSession'PostPaymentIntentsIntentConfirmRequestBodyOffSession'OneOf2 :: PostPaymentIntentsIntentConfirmRequestBodyOffSession'OneOf2 -> PostPaymentIntentsIntentConfirmRequestBodyOffSession'Variants
-- | Defines the object schema located at
-- paths./v1/payment_intents/{intent}/confirm.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_data
-- in the specification.
--
-- If provided, this hash will be used to create a PaymentMethod. The new
-- PaymentMethod will appear in the payment_method property on the
-- PaymentIntent.
data PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData' :: Maybe PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'AcssDebit' -> Maybe Object -> Maybe Object -> Maybe PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'AuBecsDebit' -> Maybe PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'BacsDebit' -> Maybe Object -> Maybe PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'BillingDetails' -> Maybe PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Boleto' -> Maybe PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Eps' -> Maybe PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Fpx' -> Maybe Object -> Maybe Object -> Maybe PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Ideal' -> Maybe Object -> Maybe Object -> Maybe Object -> Maybe PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'P24' -> Maybe PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'SepaDebit' -> Maybe PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Sofort' -> PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Type' -> PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'
-- | acss_debit
[postPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'AcssDebit] :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData' -> Maybe PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'AcssDebit'
-- | afterpay_clearpay
[postPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'AfterpayClearpay] :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData' -> Maybe Object
-- | alipay
[postPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Alipay] :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData' -> Maybe Object
-- | au_becs_debit
[postPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'AuBecsDebit] :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData' -> Maybe PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'AuBecsDebit'
-- | bacs_debit
[postPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'BacsDebit] :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData' -> Maybe PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'BacsDebit'
-- | bancontact
[postPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Bancontact] :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData' -> Maybe Object
-- | billing_details
[postPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'BillingDetails] :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData' -> Maybe PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'BillingDetails'
-- | boleto
[postPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Boleto] :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData' -> Maybe PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Boleto'
-- | eps
[postPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Eps] :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData' -> Maybe PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Eps'
-- | fpx
[postPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Fpx] :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData' -> Maybe PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Fpx'
-- | giropay
[postPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Giropay] :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData' -> Maybe Object
-- | grabpay
[postPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Grabpay] :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData' -> Maybe Object
-- | ideal
[postPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Ideal] :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData' -> Maybe PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Ideal'
-- | interac_present
[postPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'InteracPresent] :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData' -> Maybe Object
-- | metadata
[postPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Metadata] :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData' -> Maybe Object
-- | oxxo
[postPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Oxxo] :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData' -> Maybe Object
-- | p24
[postPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'P24] :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData' -> Maybe PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'P24'
-- | sepa_debit
[postPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'SepaDebit] :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData' -> Maybe PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'SepaDebit'
-- | sofort
[postPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Sofort] :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData' -> Maybe PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Sofort'
-- | type
[postPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Type] :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData' -> PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Type'
-- | Create a new
-- PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'
-- with all required fields.
mkPostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData' :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Type' -> PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'
-- | Defines the object schema located at
-- paths./v1/payment_intents/{intent}/confirm.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_data.properties.acss_debit
-- in the specification.
data PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'AcssDebit'
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'AcssDebit' :: Text -> Text -> Text -> PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'AcssDebit'
-- | account_number
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'AcssDebit'AccountNumber] :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'AcssDebit' -> Text
-- | institution_number
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'AcssDebit'InstitutionNumber] :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'AcssDebit' -> Text
-- | transit_number
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'AcssDebit'TransitNumber] :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'AcssDebit' -> Text
-- | Create a new
-- PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'AcssDebit'
-- with all required fields.
mkPostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'AcssDebit' :: Text -> Text -> Text -> PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'AcssDebit'
-- | Defines the object schema located at
-- paths./v1/payment_intents/{intent}/confirm.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_data.properties.au_becs_debit
-- in the specification.
data PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'AuBecsDebit'
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'AuBecsDebit' :: Text -> Text -> PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'AuBecsDebit'
-- | account_number
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'AuBecsDebit'AccountNumber] :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'AuBecsDebit' -> Text
-- | bsb_number
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'AuBecsDebit'BsbNumber] :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'AuBecsDebit' -> Text
-- | Create a new
-- PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'AuBecsDebit'
-- with all required fields.
mkPostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'AuBecsDebit' :: Text -> Text -> PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'AuBecsDebit'
-- | Defines the object schema located at
-- paths./v1/payment_intents/{intent}/confirm.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_data.properties.bacs_debit
-- in the specification.
data PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'BacsDebit'
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'BacsDebit' :: Maybe Text -> Maybe Text -> PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'BacsDebit'
-- | account_number
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'BacsDebit'AccountNumber] :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'BacsDebit' -> Maybe Text
-- | sort_code
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'BacsDebit'SortCode] :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'BacsDebit' -> Maybe Text
-- | Create a new
-- PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'BacsDebit'
-- with all required fields.
mkPostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'BacsDebit' :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'BacsDebit'
-- | Defines the object schema located at
-- paths./v1/payment_intents/{intent}/confirm.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_data.properties.billing_details
-- in the specification.
data PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'BillingDetails'
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'BillingDetails' :: Maybe PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'BillingDetails'Address'Variants -> Maybe Text -> Maybe Text -> Maybe Text -> PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'BillingDetails'
-- | address
[postPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'BillingDetails'Address] :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'BillingDetails' -> Maybe PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'BillingDetails'Address'Variants
-- | email
[postPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'BillingDetails'Email] :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'BillingDetails' -> Maybe Text
-- | name
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'BillingDetails'Name] :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'BillingDetails' -> Maybe Text
-- | phone
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'BillingDetails'Phone] :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'BillingDetails' -> Maybe Text
-- | Create a new
-- PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'BillingDetails'
-- with all required fields.
mkPostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'BillingDetails' :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'BillingDetails'
-- | Defines the object schema located at
-- paths./v1/payment_intents/{intent}/confirm.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_data.properties.billing_details.properties.address.anyOf
-- in the specification.
data PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'BillingDetails'Address'OneOf1
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'BillingDetails'Address'OneOf1 :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'BillingDetails'Address'OneOf1
-- | city
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'BillingDetails'Address'OneOf1City] :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'BillingDetails'Address'OneOf1 -> Maybe Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'BillingDetails'Address'OneOf1Country] :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'BillingDetails'Address'OneOf1 -> Maybe Text
-- | line1
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'BillingDetails'Address'OneOf1Line1] :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'BillingDetails'Address'OneOf1 -> Maybe Text
-- | line2
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'BillingDetails'Address'OneOf1Line2] :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'BillingDetails'Address'OneOf1 -> Maybe Text
-- | postal_code
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'BillingDetails'Address'OneOf1PostalCode] :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'BillingDetails'Address'OneOf1 -> Maybe Text
-- | state
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'BillingDetails'Address'OneOf1State] :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'BillingDetails'Address'OneOf1 -> Maybe Text
-- | Create a new
-- PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'BillingDetails'Address'OneOf1
-- with all required fields.
mkPostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'BillingDetails'Address'OneOf1 :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'BillingDetails'Address'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/payment_intents/{intent}/confirm.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_data.properties.billing_details.properties.address.anyOf
-- in the specification.
data PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'BillingDetails'Address'Variants
-- | Represents the JSON value ""
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'BillingDetails'Address'EmptyString :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'BillingDetails'Address'Variants
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'BillingDetails'Address'PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'BillingDetails'Address'OneOf1 :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'BillingDetails'Address'OneOf1 -> PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'BillingDetails'Address'Variants
-- | Defines the object schema located at
-- paths./v1/payment_intents/{intent}/confirm.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_data.properties.boleto
-- in the specification.
data PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Boleto'
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Boleto' :: Text -> PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Boleto'
-- | tax_id
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Boleto'TaxId] :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Boleto' -> Text
-- | Create a new
-- PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Boleto'
-- with all required fields.
mkPostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Boleto' :: Text -> PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Boleto'
-- | Defines the object schema located at
-- paths./v1/payment_intents/{intent}/confirm.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_data.properties.eps
-- in the specification.
data PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Eps'
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Eps' :: Maybe PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Eps'Bank' -> PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Eps'
-- | bank
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Eps'Bank] :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Eps' -> Maybe PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Eps'Bank'
-- | Create a new
-- PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Eps'
-- with all required fields.
mkPostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Eps' :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Eps'
-- | Defines the enum schema located at
-- paths./v1/payment_intents/{intent}/confirm.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_data.properties.eps.properties.bank
-- in the specification.
data PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Eps'Bank'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Eps'Bank'Other :: Value -> PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Eps'Bank'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Eps'Bank'Typed :: Text -> PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Eps'Bank'
-- | Represents the JSON value "arzte_und_apotheker_bank"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Eps'Bank'EnumArzteUndApothekerBank :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Eps'Bank'
-- | Represents the JSON value "austrian_anadi_bank_ag"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Eps'Bank'EnumAustrianAnadiBankAg :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Eps'Bank'
-- | Represents the JSON value "bank_austria"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Eps'Bank'EnumBankAustria :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Eps'Bank'
-- | Represents the JSON value "bankhaus_carl_spangler"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Eps'Bank'EnumBankhausCarlSpangler :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Eps'Bank'
-- | Represents the JSON value
-- "bankhaus_schelhammer_und_schattera_ag"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Eps'Bank'EnumBankhausSchelhammerUndSchatteraAg :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Eps'Bank'
-- | Represents the JSON value "bawag_psk_ag"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Eps'Bank'EnumBawagPskAg :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Eps'Bank'
-- | Represents the JSON value "bks_bank_ag"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Eps'Bank'EnumBksBankAg :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Eps'Bank'
-- | Represents the JSON value "brull_kallmus_bank_ag"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Eps'Bank'EnumBrullKallmusBankAg :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Eps'Bank'
-- | Represents the JSON value "btv_vier_lander_bank"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Eps'Bank'EnumBtvVierLanderBank :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Eps'Bank'
-- | Represents the JSON value "capital_bank_grawe_gruppe_ag"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Eps'Bank'EnumCapitalBankGraweGruppeAg :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Eps'Bank'
-- | Represents the JSON value "dolomitenbank"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Eps'Bank'EnumDolomitenbank :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Eps'Bank'
-- | Represents the JSON value "easybank_ag"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Eps'Bank'EnumEasybankAg :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Eps'Bank'
-- | Represents the JSON value "erste_bank_und_sparkassen"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Eps'Bank'EnumErsteBankUndSparkassen :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Eps'Bank'
-- | Represents the JSON value
-- "hypo_alpeadriabank_international_ag"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Eps'Bank'EnumHypoAlpeadriabankInternationalAg :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Eps'Bank'
-- | Represents the JSON value
-- "hypo_bank_burgenland_aktiengesellschaft"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Eps'Bank'EnumHypoBankBurgenlandAktiengesellschaft :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Eps'Bank'
-- | Represents the JSON value
-- "hypo_noe_lb_fur_niederosterreich_u_wien"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Eps'Bank'EnumHypoNoeLbFurNiederosterreichUWien :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Eps'Bank'
-- | Represents the JSON value
-- "hypo_oberosterreich_salzburg_steiermark"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Eps'Bank'EnumHypoOberosterreichSalzburgSteiermark :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Eps'Bank'
-- | Represents the JSON value "hypo_tirol_bank_ag"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Eps'Bank'EnumHypoTirolBankAg :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Eps'Bank'
-- | Represents the JSON value "hypo_vorarlberg_bank_ag"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Eps'Bank'EnumHypoVorarlbergBankAg :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Eps'Bank'
-- | Represents the JSON value "marchfelder_bank"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Eps'Bank'EnumMarchfelderBank :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Eps'Bank'
-- | Represents the JSON value "oberbank_ag"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Eps'Bank'EnumOberbankAg :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Eps'Bank'
-- | Represents the JSON value
-- "raiffeisen_bankengruppe_osterreich"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Eps'Bank'EnumRaiffeisenBankengruppeOsterreich :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Eps'Bank'
-- | Represents the JSON value "schoellerbank_ag"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Eps'Bank'EnumSchoellerbankAg :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Eps'Bank'
-- | Represents the JSON value "sparda_bank_wien"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Eps'Bank'EnumSpardaBankWien :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Eps'Bank'
-- | Represents the JSON value "volksbank_gruppe"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Eps'Bank'EnumVolksbankGruppe :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Eps'Bank'
-- | Represents the JSON value "volkskreditbank_ag"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Eps'Bank'EnumVolkskreditbankAg :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Eps'Bank'
-- | Represents the JSON value "vr_bank_braunau"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Eps'Bank'EnumVrBankBraunau :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Eps'Bank'
-- | Defines the object schema located at
-- paths./v1/payment_intents/{intent}/confirm.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_data.properties.fpx
-- in the specification.
data PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Fpx'
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Fpx' :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Fpx'Bank' -> PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Fpx'
-- | bank
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Fpx'Bank] :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Fpx' -> PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Fpx'Bank'
-- | Create a new
-- PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Fpx'
-- with all required fields.
mkPostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Fpx' :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Fpx'Bank' -> PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Fpx'
-- | Defines the enum schema located at
-- paths./v1/payment_intents/{intent}/confirm.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_data.properties.fpx.properties.bank
-- in the specification.
data PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Fpx'Bank'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Fpx'Bank'Other :: Value -> PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Fpx'Bank'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Fpx'Bank'Typed :: Text -> PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Fpx'Bank'
-- | Represents the JSON value "affin_bank"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Fpx'Bank'EnumAffinBank :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Fpx'Bank'
-- | Represents the JSON value "alliance_bank"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Fpx'Bank'EnumAllianceBank :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Fpx'Bank'
-- | Represents the JSON value "ambank"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Fpx'Bank'EnumAmbank :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Fpx'Bank'
-- | Represents the JSON value "bank_islam"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Fpx'Bank'EnumBankIslam :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Fpx'Bank'
-- | Represents the JSON value "bank_muamalat"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Fpx'Bank'EnumBankMuamalat :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Fpx'Bank'
-- | Represents the JSON value "bank_rakyat"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Fpx'Bank'EnumBankRakyat :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Fpx'Bank'
-- | Represents the JSON value "bsn"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Fpx'Bank'EnumBsn :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Fpx'Bank'
-- | Represents the JSON value "cimb"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Fpx'Bank'EnumCimb :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Fpx'Bank'
-- | Represents the JSON value "deutsche_bank"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Fpx'Bank'EnumDeutscheBank :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Fpx'Bank'
-- | Represents the JSON value "hong_leong_bank"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Fpx'Bank'EnumHongLeongBank :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Fpx'Bank'
-- | Represents the JSON value "hsbc"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Fpx'Bank'EnumHsbc :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Fpx'Bank'
-- | Represents the JSON value "kfh"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Fpx'Bank'EnumKfh :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Fpx'Bank'
-- | Represents the JSON value "maybank2e"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Fpx'Bank'EnumMaybank2e :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Fpx'Bank'
-- | Represents the JSON value "maybank2u"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Fpx'Bank'EnumMaybank2u :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Fpx'Bank'
-- | Represents the JSON value "ocbc"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Fpx'Bank'EnumOcbc :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Fpx'Bank'
-- | Represents the JSON value "pb_enterprise"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Fpx'Bank'EnumPbEnterprise :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Fpx'Bank'
-- | Represents the JSON value "public_bank"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Fpx'Bank'EnumPublicBank :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Fpx'Bank'
-- | Represents the JSON value "rhb"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Fpx'Bank'EnumRhb :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Fpx'Bank'
-- | Represents the JSON value "standard_chartered"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Fpx'Bank'EnumStandardChartered :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Fpx'Bank'
-- | Represents the JSON value "uob"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Fpx'Bank'EnumUob :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Fpx'Bank'
-- | Defines the object schema located at
-- paths./v1/payment_intents/{intent}/confirm.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_data.properties.ideal
-- in the specification.
data PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Ideal'
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Ideal' :: Maybe PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Ideal'Bank' -> PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Ideal'
-- | bank
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Ideal'Bank] :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Ideal' -> Maybe PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Ideal'Bank'
-- | Create a new
-- PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Ideal'
-- with all required fields.
mkPostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Ideal' :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Ideal'
-- | Defines the enum schema located at
-- paths./v1/payment_intents/{intent}/confirm.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_data.properties.ideal.properties.bank
-- in the specification.
data PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Ideal'Bank'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Ideal'Bank'Other :: Value -> PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Ideal'Bank'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Ideal'Bank'Typed :: Text -> PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Ideal'Bank'
-- | Represents the JSON value "abn_amro"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Ideal'Bank'EnumAbnAmro :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Ideal'Bank'
-- | Represents the JSON value "asn_bank"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Ideal'Bank'EnumAsnBank :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Ideal'Bank'
-- | Represents the JSON value "bunq"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Ideal'Bank'EnumBunq :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Ideal'Bank'
-- | Represents the JSON value "handelsbanken"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Ideal'Bank'EnumHandelsbanken :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Ideal'Bank'
-- | Represents the JSON value "ing"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Ideal'Bank'EnumIng :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Ideal'Bank'
-- | Represents the JSON value "knab"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Ideal'Bank'EnumKnab :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Ideal'Bank'
-- | Represents the JSON value "moneyou"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Ideal'Bank'EnumMoneyou :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Ideal'Bank'
-- | Represents the JSON value "rabobank"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Ideal'Bank'EnumRabobank :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Ideal'Bank'
-- | Represents the JSON value "regiobank"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Ideal'Bank'EnumRegiobank :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Ideal'Bank'
-- | Represents the JSON value "revolut"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Ideal'Bank'EnumRevolut :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Ideal'Bank'
-- | Represents the JSON value "sns_bank"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Ideal'Bank'EnumSnsBank :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Ideal'Bank'
-- | Represents the JSON value "triodos_bank"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Ideal'Bank'EnumTriodosBank :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Ideal'Bank'
-- | Represents the JSON value "van_lanschot"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Ideal'Bank'EnumVanLanschot :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Ideal'Bank'
-- | Defines the object schema located at
-- paths./v1/payment_intents/{intent}/confirm.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_data.properties.p24
-- in the specification.
data PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'P24'
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'P24' :: Maybe PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'P24'Bank' -> PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'P24'
-- | bank
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'P24'Bank] :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'P24' -> Maybe PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'P24'Bank'
-- | Create a new
-- PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'P24'
-- with all required fields.
mkPostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'P24' :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'P24'
-- | Defines the enum schema located at
-- paths./v1/payment_intents/{intent}/confirm.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_data.properties.p24.properties.bank
-- in the specification.
data PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'P24'Bank'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'P24'Bank'Other :: Value -> PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'P24'Bank'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'P24'Bank'Typed :: Text -> PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'P24'Bank'
-- | Represents the JSON value "alior_bank"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'P24'Bank'EnumAliorBank :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'P24'Bank'
-- | Represents the JSON value "bank_millennium"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'P24'Bank'EnumBankMillennium :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'P24'Bank'
-- | Represents the JSON value "bank_nowy_bfg_sa"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'P24'Bank'EnumBankNowyBfgSa :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'P24'Bank'
-- | Represents the JSON value "bank_pekao_sa"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'P24'Bank'EnumBankPekaoSa :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'P24'Bank'
-- | Represents the JSON value "banki_spbdzielcze"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'P24'Bank'EnumBankiSpbdzielcze :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'P24'Bank'
-- | Represents the JSON value "blik"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'P24'Bank'EnumBlik :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'P24'Bank'
-- | Represents the JSON value "bnp_paribas"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'P24'Bank'EnumBnpParibas :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'P24'Bank'
-- | Represents the JSON value "boz"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'P24'Bank'EnumBoz :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'P24'Bank'
-- | Represents the JSON value "citi_handlowy"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'P24'Bank'EnumCitiHandlowy :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'P24'Bank'
-- | Represents the JSON value "credit_agricole"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'P24'Bank'EnumCreditAgricole :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'P24'Bank'
-- | Represents the JSON value "envelobank"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'P24'Bank'EnumEnvelobank :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'P24'Bank'
-- | Represents the JSON value "etransfer_pocztowy24"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'P24'Bank'EnumEtransferPocztowy24 :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'P24'Bank'
-- | Represents the JSON value "getin_bank"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'P24'Bank'EnumGetinBank :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'P24'Bank'
-- | Represents the JSON value "ideabank"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'P24'Bank'EnumIdeabank :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'P24'Bank'
-- | Represents the JSON value "ing"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'P24'Bank'EnumIng :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'P24'Bank'
-- | Represents the JSON value "inteligo"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'P24'Bank'EnumInteligo :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'P24'Bank'
-- | Represents the JSON value "mbank_mtransfer"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'P24'Bank'EnumMbankMtransfer :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'P24'Bank'
-- | Represents the JSON value "nest_przelew"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'P24'Bank'EnumNestPrzelew :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'P24'Bank'
-- | Represents the JSON value "noble_pay"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'P24'Bank'EnumNoblePay :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'P24'Bank'
-- | Represents the JSON value "pbac_z_ipko"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'P24'Bank'EnumPbacZIpko :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'P24'Bank'
-- | Represents the JSON value "plus_bank"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'P24'Bank'EnumPlusBank :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'P24'Bank'
-- | Represents the JSON value "santander_przelew24"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'P24'Bank'EnumSantanderPrzelew24 :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'P24'Bank'
-- | Represents the JSON value "tmobile_usbugi_bankowe"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'P24'Bank'EnumTmobileUsbugiBankowe :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'P24'Bank'
-- | Represents the JSON value "toyota_bank"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'P24'Bank'EnumToyotaBank :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'P24'Bank'
-- | Represents the JSON value "volkswagen_bank"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'P24'Bank'EnumVolkswagenBank :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'P24'Bank'
-- | Defines the object schema located at
-- paths./v1/payment_intents/{intent}/confirm.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_data.properties.sepa_debit
-- in the specification.
data PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'SepaDebit'
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'SepaDebit' :: Text -> PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'SepaDebit'
-- | iban
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'SepaDebit'Iban] :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'SepaDebit' -> Text
-- | Create a new
-- PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'SepaDebit'
-- with all required fields.
mkPostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'SepaDebit' :: Text -> PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'SepaDebit'
-- | Defines the object schema located at
-- paths./v1/payment_intents/{intent}/confirm.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_data.properties.sofort
-- in the specification.
data PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Sofort'
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Sofort' :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Sofort'Country' -> PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Sofort'
-- | country
[postPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Sofort'Country] :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Sofort' -> PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Sofort'Country'
-- | Create a new
-- PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Sofort'
-- with all required fields.
mkPostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Sofort' :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Sofort'Country' -> PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Sofort'
-- | Defines the enum schema located at
-- paths./v1/payment_intents/{intent}/confirm.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_data.properties.sofort.properties.country
-- in the specification.
data PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Sofort'Country'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Sofort'Country'Other :: Value -> PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Sofort'Country'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Sofort'Country'Typed :: Text -> PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Sofort'Country'
-- | Represents the JSON value AT
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Sofort'Country'EnumAT :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Sofort'Country'
-- | Represents the JSON value BE
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Sofort'Country'EnumBE :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Sofort'Country'
-- | Represents the JSON value DE
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Sofort'Country'EnumDE :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Sofort'Country'
-- | Represents the JSON value ES
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Sofort'Country'EnumES :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Sofort'Country'
-- | Represents the JSON value IT
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Sofort'Country'EnumIT :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Sofort'Country'
-- | Represents the JSON value NL
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Sofort'Country'EnumNL :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Sofort'Country'
-- | Defines the enum schema located at
-- paths./v1/payment_intents/{intent}/confirm.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_data.properties.type
-- in the specification.
data PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Type'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Type'Other :: Value -> PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Type'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Type'Typed :: Text -> PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Type'
-- | Represents the JSON value "acss_debit"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Type'EnumAcssDebit :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Type'
-- | Represents the JSON value "afterpay_clearpay"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Type'EnumAfterpayClearpay :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Type'
-- | Represents the JSON value "alipay"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Type'EnumAlipay :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Type'
-- | Represents the JSON value "au_becs_debit"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Type'EnumAuBecsDebit :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Type'
-- | Represents the JSON value "bacs_debit"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Type'EnumBacsDebit :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Type'
-- | Represents the JSON value "bancontact"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Type'EnumBancontact :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Type'
-- | Represents the JSON value "boleto"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Type'EnumBoleto :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Type'
-- | Represents the JSON value "eps"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Type'EnumEps :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Type'
-- | Represents the JSON value "fpx"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Type'EnumFpx :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Type'
-- | Represents the JSON value "giropay"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Type'EnumGiropay :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Type'
-- | Represents the JSON value "grabpay"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Type'EnumGrabpay :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Type'
-- | Represents the JSON value "ideal"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Type'EnumIdeal :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Type'
-- | Represents the JSON value "oxxo"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Type'EnumOxxo :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Type'
-- | Represents the JSON value "p24"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Type'EnumP24 :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Type'
-- | Represents the JSON value "sepa_debit"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Type'EnumSepaDebit :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Type'
-- | Represents the JSON value "sofort"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Type'EnumSofort :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Type'
-- | Defines the object schema located at
-- paths./v1/payment_intents/{intent}/confirm.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options
-- in the specification.
--
-- Payment-method-specific configuration for this PaymentIntent.
data PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions' :: Maybe PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'Variants -> Maybe PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AfterpayClearpay'Variants -> Maybe PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Alipay'Variants -> Maybe PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Bancontact'Variants -> Maybe PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Boleto'Variants -> Maybe PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'Variants -> Maybe PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'CardPresent'Variants -> Maybe PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Oxxo'Variants -> Maybe PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'P24'Variants -> Maybe PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'SepaDebit'Variants -> Maybe PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Sofort'Variants -> PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'
-- | acss_debit
[postPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit] :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions' -> Maybe PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'Variants
-- | afterpay_clearpay
[postPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AfterpayClearpay] :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions' -> Maybe PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AfterpayClearpay'Variants
-- | alipay
[postPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Alipay] :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions' -> Maybe PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Alipay'Variants
-- | bancontact
[postPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Bancontact] :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions' -> Maybe PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Bancontact'Variants
-- | boleto
[postPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Boleto] :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions' -> Maybe PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Boleto'Variants
-- | card
[postPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card] :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions' -> Maybe PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'Variants
-- | card_present
[postPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'CardPresent] :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions' -> Maybe PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'CardPresent'Variants
-- | oxxo
[postPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Oxxo] :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions' -> Maybe PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Oxxo'Variants
-- | p24
[postPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'P24] :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions' -> Maybe PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'P24'Variants
-- | sepa_debit
[postPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'SepaDebit] :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions' -> Maybe PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'SepaDebit'Variants
-- | sofort
[postPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Sofort] :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions' -> Maybe PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Sofort'Variants
-- | Create a new
-- PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'
-- with all required fields.
mkPostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions' :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'
-- | Defines the object schema located at
-- paths./v1/payment_intents/{intent}/confirm.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.acss_debit.anyOf
-- in the specification.
data PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'OneOf1
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'OneOf1 :: Maybe PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions' -> Maybe PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'OneOf1VerificationMethod' -> PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'OneOf1
-- | mandate_options
[postPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions] :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'OneOf1 -> Maybe PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'
-- | verification_method
[postPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'OneOf1VerificationMethod] :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'OneOf1 -> Maybe PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'OneOf1VerificationMethod'
-- | Create a new
-- PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'OneOf1
-- with all required fields.
mkPostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'OneOf1 :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'OneOf1
-- | Defines the object schema located at
-- paths./v1/payment_intents/{intent}/confirm.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.acss_debit.anyOf.properties.mandate_options
-- in the specification.
data PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions' :: Maybe PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'CustomMandateUrl'Variants -> Maybe Text -> Maybe PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'PaymentSchedule' -> Maybe PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'TransactionType' -> PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'
-- | custom_mandate_url
[postPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'CustomMandateUrl] :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions' -> Maybe PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'CustomMandateUrl'Variants
-- | interval_description
--
-- Constraints:
--
--
-- - Maximum length of 500
--
[postPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'IntervalDescription] :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions' -> Maybe Text
-- | payment_schedule
[postPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'PaymentSchedule] :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions' -> Maybe PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'PaymentSchedule'
-- | transaction_type
[postPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'TransactionType] :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions' -> Maybe PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'TransactionType'
-- | Create a new
-- PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'
-- with all required fields.
mkPostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions' :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'
-- | Defines the oneOf schema located at
-- paths./v1/payment_intents/{intent}/confirm.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.acss_debit.anyOf.properties.mandate_options.properties.custom_mandate_url.anyOf
-- in the specification.
data PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'CustomMandateUrl'Variants
-- | Represents the JSON value ""
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'CustomMandateUrl'EmptyString :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'CustomMandateUrl'Variants
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'CustomMandateUrl'Text :: Text -> PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'CustomMandateUrl'Variants
-- | Defines the enum schema located at
-- paths./v1/payment_intents/{intent}/confirm.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.acss_debit.anyOf.properties.mandate_options.properties.payment_schedule
-- in the specification.
data PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'PaymentSchedule'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'PaymentSchedule'Other :: Value -> PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'PaymentSchedule'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'PaymentSchedule'Typed :: Text -> PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'PaymentSchedule'
-- | Represents the JSON value "combined"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'PaymentSchedule'EnumCombined :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'PaymentSchedule'
-- | Represents the JSON value "interval"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'PaymentSchedule'EnumInterval :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'PaymentSchedule'
-- | Represents the JSON value "sporadic"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'PaymentSchedule'EnumSporadic :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'PaymentSchedule'
-- | Defines the enum schema located at
-- paths./v1/payment_intents/{intent}/confirm.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.acss_debit.anyOf.properties.mandate_options.properties.transaction_type
-- in the specification.
data PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'TransactionType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'TransactionType'Other :: Value -> PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'TransactionType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'TransactionType'Typed :: Text -> PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'TransactionType'
-- | Represents the JSON value "business"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'TransactionType'EnumBusiness :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'TransactionType'
-- | Represents the JSON value "personal"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'TransactionType'EnumPersonal :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'TransactionType'
-- | Defines the enum schema located at
-- paths./v1/payment_intents/{intent}/confirm.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.acss_debit.anyOf.properties.verification_method
-- in the specification.
data PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'OneOf1VerificationMethod'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'OneOf1VerificationMethod'Other :: Value -> PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'OneOf1VerificationMethod'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'OneOf1VerificationMethod'Typed :: Text -> PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'OneOf1VerificationMethod'
-- | Represents the JSON value "automatic"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'OneOf1VerificationMethod'EnumAutomatic :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'OneOf1VerificationMethod'
-- | Represents the JSON value "instant"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'OneOf1VerificationMethod'EnumInstant :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'OneOf1VerificationMethod'
-- | Represents the JSON value "microdeposits"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'OneOf1VerificationMethod'EnumMicrodeposits :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'OneOf1VerificationMethod'
-- | Defines the oneOf schema located at
-- paths./v1/payment_intents/{intent}/confirm.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.acss_debit.anyOf
-- in the specification.
data PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'Variants
-- | Represents the JSON value ""
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'EmptyString :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'Variants
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'OneOf1 :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'OneOf1 -> PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'Variants
-- | Defines the object schema located at
-- paths./v1/payment_intents/{intent}/confirm.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.afterpay_clearpay.anyOf
-- in the specification.
data PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AfterpayClearpay'OneOf1
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AfterpayClearpay'OneOf1 :: Maybe Text -> PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AfterpayClearpay'OneOf1
-- | reference
--
-- Constraints:
--
--
-- - Maximum length of 128
--
[postPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AfterpayClearpay'OneOf1Reference] :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AfterpayClearpay'OneOf1 -> Maybe Text
-- | Create a new
-- PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AfterpayClearpay'OneOf1
-- with all required fields.
mkPostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AfterpayClearpay'OneOf1 :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AfterpayClearpay'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/payment_intents/{intent}/confirm.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.afterpay_clearpay.anyOf
-- in the specification.
data PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AfterpayClearpay'Variants
-- | Represents the JSON value ""
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AfterpayClearpay'EmptyString :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AfterpayClearpay'Variants
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AfterpayClearpay'PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AfterpayClearpay'OneOf1 :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AfterpayClearpay'OneOf1 -> PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AfterpayClearpay'Variants
-- | Defines the oneOf schema located at
-- paths./v1/payment_intents/{intent}/confirm.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.alipay.anyOf
-- in the specification.
data PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Alipay'Variants
-- | Represents the JSON value ""
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Alipay'EmptyString :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Alipay'Variants
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Alipay'Object :: Object -> PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Alipay'Variants
-- | Defines the object schema located at
-- paths./v1/payment_intents/{intent}/confirm.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.bancontact.anyOf
-- in the specification.
data PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Bancontact'OneOf1
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Bancontact'OneOf1 :: Maybe PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Bancontact'OneOf1PreferredLanguage' -> PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Bancontact'OneOf1
-- | preferred_language
[postPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Bancontact'OneOf1PreferredLanguage] :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Bancontact'OneOf1 -> Maybe PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Bancontact'OneOf1PreferredLanguage'
-- | Create a new
-- PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Bancontact'OneOf1
-- with all required fields.
mkPostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Bancontact'OneOf1 :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Bancontact'OneOf1
-- | Defines the enum schema located at
-- paths./v1/payment_intents/{intent}/confirm.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.bancontact.anyOf.properties.preferred_language
-- in the specification.
data PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Bancontact'OneOf1PreferredLanguage'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Bancontact'OneOf1PreferredLanguage'Other :: Value -> PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Bancontact'OneOf1PreferredLanguage'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Bancontact'OneOf1PreferredLanguage'Typed :: Text -> PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Bancontact'OneOf1PreferredLanguage'
-- | Represents the JSON value "de"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Bancontact'OneOf1PreferredLanguage'EnumDe :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Bancontact'OneOf1PreferredLanguage'
-- | Represents the JSON value "en"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Bancontact'OneOf1PreferredLanguage'EnumEn :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Bancontact'OneOf1PreferredLanguage'
-- | Represents the JSON value "fr"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Bancontact'OneOf1PreferredLanguage'EnumFr :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Bancontact'OneOf1PreferredLanguage'
-- | Represents the JSON value "nl"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Bancontact'OneOf1PreferredLanguage'EnumNl :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Bancontact'OneOf1PreferredLanguage'
-- | Defines the oneOf schema located at
-- paths./v1/payment_intents/{intent}/confirm.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.bancontact.anyOf
-- in the specification.
data PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Bancontact'Variants
-- | Represents the JSON value ""
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Bancontact'EmptyString :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Bancontact'Variants
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Bancontact'PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Bancontact'OneOf1 :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Bancontact'OneOf1 -> PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Bancontact'Variants
-- | Defines the object schema located at
-- paths./v1/payment_intents/{intent}/confirm.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.boleto.anyOf
-- in the specification.
data PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Boleto'OneOf1
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Boleto'OneOf1 :: Maybe Int -> PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Boleto'OneOf1
-- | expires_after_days
[postPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Boleto'OneOf1ExpiresAfterDays] :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Boleto'OneOf1 -> Maybe Int
-- | Create a new
-- PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Boleto'OneOf1
-- with all required fields.
mkPostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Boleto'OneOf1 :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Boleto'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/payment_intents/{intent}/confirm.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.boleto.anyOf
-- in the specification.
data PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Boleto'Variants
-- | Represents the JSON value ""
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Boleto'EmptyString :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Boleto'Variants
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Boleto'PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Boleto'OneOf1 :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Boleto'OneOf1 -> PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Boleto'Variants
-- | Defines the object schema located at
-- paths./v1/payment_intents/{intent}/confirm.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.card.anyOf
-- in the specification.
data PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1 :: Maybe Text -> Maybe PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1Installments' -> Maybe PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1Network' -> Maybe PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1RequestThreeDSecure' -> PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1
-- | cvc_token
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1CvcToken] :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1 -> Maybe Text
-- | installments
[postPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1Installments] :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1 -> Maybe PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1Installments'
-- | network
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1Network] :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1 -> Maybe PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1Network'
-- | request_three_d_secure
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1RequestThreeDSecure] :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1 -> Maybe PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1RequestThreeDSecure'
-- | Create a new
-- PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1
-- with all required fields.
mkPostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1 :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1
-- | Defines the object schema located at
-- paths./v1/payment_intents/{intent}/confirm.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.card.anyOf.properties.installments
-- in the specification.
data PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1Installments'
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1Installments' :: Maybe Bool -> Maybe PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1Installments'Plan'Variants -> PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1Installments'
-- | enabled
[postPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1Installments'Enabled] :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1Installments' -> Maybe Bool
-- | plan
[postPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1Installments'Plan] :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1Installments' -> Maybe PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1Installments'Plan'Variants
-- | Create a new
-- PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1Installments'
-- with all required fields.
mkPostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1Installments' :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1Installments'
-- | Defines the object schema located at
-- paths./v1/payment_intents/{intent}/confirm.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.card.anyOf.properties.installments.properties.plan.anyOf
-- in the specification.
data PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1Installments'Plan'OneOf1
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1Installments'Plan'OneOf1 :: Int -> PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1Installments'Plan'OneOf1
-- | count
[postPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1Installments'Plan'OneOf1Count] :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1Installments'Plan'OneOf1 -> Int
-- | Create a new
-- PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1Installments'Plan'OneOf1
-- with all required fields.
mkPostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1Installments'Plan'OneOf1 :: Int -> PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1Installments'Plan'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/payment_intents/{intent}/confirm.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.card.anyOf.properties.installments.properties.plan.anyOf
-- in the specification.
data PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1Installments'Plan'Variants
-- | Represents the JSON value ""
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1Installments'Plan'EmptyString :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1Installments'Plan'Variants
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1Installments'Plan'PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1Installments'Plan'OneOf1 :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1Installments'Plan'OneOf1 -> PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1Installments'Plan'Variants
-- | Defines the enum schema located at
-- paths./v1/payment_intents/{intent}/confirm.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.card.anyOf.properties.network
-- in the specification.
data PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1Network'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1Network'Other :: Value -> PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1Network'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1Network'Typed :: Text -> PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1Network'
-- | Represents the JSON value "amex"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1Network'EnumAmex :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1Network'
-- | Represents the JSON value "cartes_bancaires"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1Network'EnumCartesBancaires :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1Network'
-- | Represents the JSON value "diners"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1Network'EnumDiners :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1Network'
-- | Represents the JSON value "discover"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1Network'EnumDiscover :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1Network'
-- | Represents the JSON value "interac"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1Network'EnumInterac :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1Network'
-- | Represents the JSON value "jcb"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1Network'EnumJcb :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1Network'
-- | Represents the JSON value "mastercard"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1Network'EnumMastercard :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1Network'
-- | Represents the JSON value "unionpay"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1Network'EnumUnionpay :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1Network'
-- | Represents the JSON value "unknown"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1Network'EnumUnknown :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1Network'
-- | Represents the JSON value "visa"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1Network'EnumVisa :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1Network'
-- | Defines the enum schema located at
-- paths./v1/payment_intents/{intent}/confirm.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.card.anyOf.properties.request_three_d_secure
-- in the specification.
data PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1RequestThreeDSecure'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1RequestThreeDSecure'Other :: Value -> PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1RequestThreeDSecure'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1RequestThreeDSecure'Typed :: Text -> PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1RequestThreeDSecure'
-- | Represents the JSON value "any"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1RequestThreeDSecure'EnumAny :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1RequestThreeDSecure'
-- | Represents the JSON value "automatic"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1RequestThreeDSecure'EnumAutomatic :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1RequestThreeDSecure'
-- | Defines the oneOf schema located at
-- paths./v1/payment_intents/{intent}/confirm.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.card.anyOf
-- in the specification.
data PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'Variants
-- | Represents the JSON value ""
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'EmptyString :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'Variants
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1 :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1 -> PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'Variants
-- | Defines the oneOf schema located at
-- paths./v1/payment_intents/{intent}/confirm.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.card_present.anyOf
-- in the specification.
data PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'CardPresent'Variants
-- | Represents the JSON value ""
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'CardPresent'EmptyString :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'CardPresent'Variants
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'CardPresent'Object :: Object -> PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'CardPresent'Variants
-- | Defines the object schema located at
-- paths./v1/payment_intents/{intent}/confirm.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.oxxo.anyOf
-- in the specification.
data PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Oxxo'OneOf1
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Oxxo'OneOf1 :: Maybe Int -> PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Oxxo'OneOf1
-- | expires_after_days
[postPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Oxxo'OneOf1ExpiresAfterDays] :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Oxxo'OneOf1 -> Maybe Int
-- | Create a new
-- PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Oxxo'OneOf1
-- with all required fields.
mkPostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Oxxo'OneOf1 :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Oxxo'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/payment_intents/{intent}/confirm.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.oxxo.anyOf
-- in the specification.
data PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Oxxo'Variants
-- | Represents the JSON value ""
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Oxxo'EmptyString :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Oxxo'Variants
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Oxxo'PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Oxxo'OneOf1 :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Oxxo'OneOf1 -> PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Oxxo'Variants
-- | Defines the object schema located at
-- paths./v1/payment_intents/{intent}/confirm.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.p24.anyOf
-- in the specification.
data PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'P24'OneOf1
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'P24'OneOf1 :: Maybe Bool -> PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'P24'OneOf1
-- | tos_shown_and_accepted
[postPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'P24'OneOf1TosShownAndAccepted] :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'P24'OneOf1 -> Maybe Bool
-- | Create a new
-- PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'P24'OneOf1
-- with all required fields.
mkPostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'P24'OneOf1 :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'P24'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/payment_intents/{intent}/confirm.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.p24.anyOf
-- in the specification.
data PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'P24'Variants
-- | Represents the JSON value ""
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'P24'EmptyString :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'P24'Variants
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'P24'PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'P24'OneOf1 :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'P24'OneOf1 -> PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'P24'Variants
-- | Defines the object schema located at
-- paths./v1/payment_intents/{intent}/confirm.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.sepa_debit.anyOf
-- in the specification.
data PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'SepaDebit'OneOf1
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'SepaDebit'OneOf1 :: Maybe Object -> PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'SepaDebit'OneOf1
-- | mandate_options
[postPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'SepaDebit'OneOf1MandateOptions] :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'SepaDebit'OneOf1 -> Maybe Object
-- | Create a new
-- PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'SepaDebit'OneOf1
-- with all required fields.
mkPostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'SepaDebit'OneOf1 :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'SepaDebit'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/payment_intents/{intent}/confirm.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.sepa_debit.anyOf
-- in the specification.
data PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'SepaDebit'Variants
-- | Represents the JSON value ""
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'SepaDebit'EmptyString :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'SepaDebit'Variants
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'SepaDebit'PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'SepaDebit'OneOf1 :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'SepaDebit'OneOf1 -> PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'SepaDebit'Variants
-- | Defines the object schema located at
-- paths./v1/payment_intents/{intent}/confirm.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.sofort.anyOf
-- in the specification.
data PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Sofort'OneOf1
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Sofort'OneOf1 :: Maybe PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Sofort'OneOf1PreferredLanguage' -> PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Sofort'OneOf1
-- | preferred_language
[postPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Sofort'OneOf1PreferredLanguage] :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Sofort'OneOf1 -> Maybe PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Sofort'OneOf1PreferredLanguage'
-- | Create a new
-- PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Sofort'OneOf1
-- with all required fields.
mkPostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Sofort'OneOf1 :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Sofort'OneOf1
-- | Defines the enum schema located at
-- paths./v1/payment_intents/{intent}/confirm.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.sofort.anyOf.properties.preferred_language
-- in the specification.
data PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Sofort'OneOf1PreferredLanguage'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Sofort'OneOf1PreferredLanguage'Other :: Value -> PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Sofort'OneOf1PreferredLanguage'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Sofort'OneOf1PreferredLanguage'Typed :: Text -> PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Sofort'OneOf1PreferredLanguage'
-- | Represents the JSON value "de"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Sofort'OneOf1PreferredLanguage'EnumDe :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Sofort'OneOf1PreferredLanguage'
-- | Represents the JSON value "en"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Sofort'OneOf1PreferredLanguage'EnumEn :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Sofort'OneOf1PreferredLanguage'
-- | Represents the JSON value "es"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Sofort'OneOf1PreferredLanguage'EnumEs :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Sofort'OneOf1PreferredLanguage'
-- | Represents the JSON value "fr"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Sofort'OneOf1PreferredLanguage'EnumFr :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Sofort'OneOf1PreferredLanguage'
-- | Represents the JSON value "it"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Sofort'OneOf1PreferredLanguage'EnumIt :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Sofort'OneOf1PreferredLanguage'
-- | Represents the JSON value "nl"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Sofort'OneOf1PreferredLanguage'EnumNl :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Sofort'OneOf1PreferredLanguage'
-- | Represents the JSON value "pl"
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Sofort'OneOf1PreferredLanguage'EnumPl :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Sofort'OneOf1PreferredLanguage'
-- | Defines the oneOf schema located at
-- paths./v1/payment_intents/{intent}/confirm.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.sofort.anyOf
-- in the specification.
data PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Sofort'Variants
-- | Represents the JSON value ""
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Sofort'EmptyString :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Sofort'Variants
PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Sofort'PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Sofort'OneOf1 :: PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Sofort'OneOf1 -> PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Sofort'Variants
-- | Defines the oneOf schema located at
-- paths./v1/payment_intents/{intent}/confirm.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.receipt_email.anyOf
-- in the specification.
--
-- Email address that the receipt for the resulting payment will be sent
-- to. If `receipt_email` is specified for a payment in live mode, a
-- receipt will be sent regardless of your email settings.
data PostPaymentIntentsIntentConfirmRequestBodyReceiptEmail'Variants
-- | Represents the JSON value ""
PostPaymentIntentsIntentConfirmRequestBodyReceiptEmail'EmptyString :: PostPaymentIntentsIntentConfirmRequestBodyReceiptEmail'Variants
PostPaymentIntentsIntentConfirmRequestBodyReceiptEmail'Text :: Text -> PostPaymentIntentsIntentConfirmRequestBodyReceiptEmail'Variants
-- | Defines the enum schema located at
-- paths./v1/payment_intents/{intent}/confirm.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.setup_future_usage
-- in the specification.
--
-- Indicates that you intend to make future payments with this
-- PaymentIntent's payment method.
--
-- Providing this parameter will attach the payment method to the
-- PaymentIntent's Customer, if present, after the PaymentIntent is
-- confirmed and any required actions from the user are complete. If no
-- Customer was provided, the payment method can still be attached
-- to a Customer after the transaction completes.
--
-- When processing card payments, Stripe also uses `setup_future_usage`
-- to dynamically optimize your payment flow and comply with regional
-- legislation and network rules, such as SCA.
--
-- If `setup_future_usage` is already set and you are performing a
-- request using a publishable key, you may only update the value from
-- `on_session` to `off_session`.
data PostPaymentIntentsIntentConfirmRequestBodySetupFutureUsage'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostPaymentIntentsIntentConfirmRequestBodySetupFutureUsage'Other :: Value -> PostPaymentIntentsIntentConfirmRequestBodySetupFutureUsage'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostPaymentIntentsIntentConfirmRequestBodySetupFutureUsage'Typed :: Text -> PostPaymentIntentsIntentConfirmRequestBodySetupFutureUsage'
-- | Represents the JSON value ""
PostPaymentIntentsIntentConfirmRequestBodySetupFutureUsage'EnumEmptyString :: PostPaymentIntentsIntentConfirmRequestBodySetupFutureUsage'
-- | Represents the JSON value "off_session"
PostPaymentIntentsIntentConfirmRequestBodySetupFutureUsage'EnumOffSession :: PostPaymentIntentsIntentConfirmRequestBodySetupFutureUsage'
-- | Represents the JSON value "on_session"
PostPaymentIntentsIntentConfirmRequestBodySetupFutureUsage'EnumOnSession :: PostPaymentIntentsIntentConfirmRequestBodySetupFutureUsage'
-- | Defines the object schema located at
-- paths./v1/payment_intents/{intent}/confirm.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.shipping.anyOf
-- in the specification.
data PostPaymentIntentsIntentConfirmRequestBodyShipping'OneOf1
PostPaymentIntentsIntentConfirmRequestBodyShipping'OneOf1 :: PostPaymentIntentsIntentConfirmRequestBodyShipping'OneOf1Address' -> Maybe Text -> Text -> Maybe Text -> Maybe Text -> PostPaymentIntentsIntentConfirmRequestBodyShipping'OneOf1
-- | address
[postPaymentIntentsIntentConfirmRequestBodyShipping'OneOf1Address] :: PostPaymentIntentsIntentConfirmRequestBodyShipping'OneOf1 -> PostPaymentIntentsIntentConfirmRequestBodyShipping'OneOf1Address'
-- | carrier
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsIntentConfirmRequestBodyShipping'OneOf1Carrier] :: PostPaymentIntentsIntentConfirmRequestBodyShipping'OneOf1 -> Maybe Text
-- | name
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsIntentConfirmRequestBodyShipping'OneOf1Name] :: PostPaymentIntentsIntentConfirmRequestBodyShipping'OneOf1 -> Text
-- | phone
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsIntentConfirmRequestBodyShipping'OneOf1Phone] :: PostPaymentIntentsIntentConfirmRequestBodyShipping'OneOf1 -> Maybe Text
-- | tracking_number
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsIntentConfirmRequestBodyShipping'OneOf1TrackingNumber] :: PostPaymentIntentsIntentConfirmRequestBodyShipping'OneOf1 -> Maybe Text
-- | Create a new
-- PostPaymentIntentsIntentConfirmRequestBodyShipping'OneOf1 with
-- all required fields.
mkPostPaymentIntentsIntentConfirmRequestBodyShipping'OneOf1 :: PostPaymentIntentsIntentConfirmRequestBodyShipping'OneOf1Address' -> Text -> PostPaymentIntentsIntentConfirmRequestBodyShipping'OneOf1
-- | Defines the object schema located at
-- paths./v1/payment_intents/{intent}/confirm.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.shipping.anyOf.properties.address
-- in the specification.
data PostPaymentIntentsIntentConfirmRequestBodyShipping'OneOf1Address'
PostPaymentIntentsIntentConfirmRequestBodyShipping'OneOf1Address' :: Maybe Text -> Maybe Text -> Text -> Maybe Text -> Maybe Text -> Maybe Text -> PostPaymentIntentsIntentConfirmRequestBodyShipping'OneOf1Address'
-- | city
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsIntentConfirmRequestBodyShipping'OneOf1Address'City] :: PostPaymentIntentsIntentConfirmRequestBodyShipping'OneOf1Address' -> Maybe Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsIntentConfirmRequestBodyShipping'OneOf1Address'Country] :: PostPaymentIntentsIntentConfirmRequestBodyShipping'OneOf1Address' -> Maybe Text
-- | line1
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsIntentConfirmRequestBodyShipping'OneOf1Address'Line1] :: PostPaymentIntentsIntentConfirmRequestBodyShipping'OneOf1Address' -> Text
-- | line2
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsIntentConfirmRequestBodyShipping'OneOf1Address'Line2] :: PostPaymentIntentsIntentConfirmRequestBodyShipping'OneOf1Address' -> Maybe Text
-- | postal_code
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsIntentConfirmRequestBodyShipping'OneOf1Address'PostalCode] :: PostPaymentIntentsIntentConfirmRequestBodyShipping'OneOf1Address' -> Maybe Text
-- | state
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsIntentConfirmRequestBodyShipping'OneOf1Address'State] :: PostPaymentIntentsIntentConfirmRequestBodyShipping'OneOf1Address' -> Maybe Text
-- | Create a new
-- PostPaymentIntentsIntentConfirmRequestBodyShipping'OneOf1Address'
-- with all required fields.
mkPostPaymentIntentsIntentConfirmRequestBodyShipping'OneOf1Address' :: Text -> PostPaymentIntentsIntentConfirmRequestBodyShipping'OneOf1Address'
-- | Defines the oneOf schema located at
-- paths./v1/payment_intents/{intent}/confirm.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.shipping.anyOf
-- in the specification.
--
-- Shipping information for this PaymentIntent.
data PostPaymentIntentsIntentConfirmRequestBodyShipping'Variants
-- | Represents the JSON value ""
PostPaymentIntentsIntentConfirmRequestBodyShipping'EmptyString :: PostPaymentIntentsIntentConfirmRequestBodyShipping'Variants
PostPaymentIntentsIntentConfirmRequestBodyShipping'PostPaymentIntentsIntentConfirmRequestBodyShipping'OneOf1 :: PostPaymentIntentsIntentConfirmRequestBodyShipping'OneOf1 -> PostPaymentIntentsIntentConfirmRequestBodyShipping'Variants
-- | Represents a response of the operation
-- postPaymentIntentsIntentConfirm.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- PostPaymentIntentsIntentConfirmResponseError is used.
data PostPaymentIntentsIntentConfirmResponse
-- | Means either no matching case available or a parse error
PostPaymentIntentsIntentConfirmResponseError :: String -> PostPaymentIntentsIntentConfirmResponse
-- | Successful response.
PostPaymentIntentsIntentConfirmResponse200 :: PaymentIntent -> PostPaymentIntentsIntentConfirmResponse
-- | Error response.
PostPaymentIntentsIntentConfirmResponseDefault :: Error -> PostPaymentIntentsIntentConfirmResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'Online'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'Online'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'Type'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'Type'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyMandateData'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyMandateData'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyOffSession'OneOf2
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyOffSession'OneOf2
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyOffSession'Variants
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyOffSession'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'AcssDebit'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'AcssDebit'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'AuBecsDebit'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'AuBecsDebit'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'BacsDebit'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'BacsDebit'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'BillingDetails'Address'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'BillingDetails'Address'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'BillingDetails'Address'Variants
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'BillingDetails'Address'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'BillingDetails'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'BillingDetails'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Boleto'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Boleto'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Eps'Bank'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Eps'Bank'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Eps'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Eps'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Fpx'Bank'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Fpx'Bank'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Fpx'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Fpx'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Ideal'Bank'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Ideal'Bank'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Ideal'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Ideal'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'P24'Bank'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'P24'Bank'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'P24'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'P24'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'SepaDebit'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'SepaDebit'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Sofort'Country'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Sofort'Country'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Sofort'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Sofort'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Type'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Type'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'CustomMandateUrl'Variants
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'CustomMandateUrl'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'PaymentSchedule'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'PaymentSchedule'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'TransactionType'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'TransactionType'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'OneOf1VerificationMethod'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'OneOf1VerificationMethod'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'Variants
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AfterpayClearpay'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AfterpayClearpay'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AfterpayClearpay'Variants
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AfterpayClearpay'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Alipay'Variants
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Alipay'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Bancontact'OneOf1PreferredLanguage'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Bancontact'OneOf1PreferredLanguage'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Bancontact'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Bancontact'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Bancontact'Variants
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Bancontact'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Boleto'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Boleto'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Boleto'Variants
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Boleto'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1Installments'Plan'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1Installments'Plan'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1Installments'Plan'Variants
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1Installments'Plan'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1Installments'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1Installments'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1Network'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1Network'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1RequestThreeDSecure'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1RequestThreeDSecure'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'Variants
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'CardPresent'Variants
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'CardPresent'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Oxxo'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Oxxo'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Oxxo'Variants
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Oxxo'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'P24'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'P24'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'P24'Variants
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'P24'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'SepaDebit'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'SepaDebit'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'SepaDebit'Variants
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'SepaDebit'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Sofort'OneOf1PreferredLanguage'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Sofort'OneOf1PreferredLanguage'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Sofort'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Sofort'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Sofort'Variants
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Sofort'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyReceiptEmail'Variants
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyReceiptEmail'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodySetupFutureUsage'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodySetupFutureUsage'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyShipping'OneOf1Address'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyShipping'OneOf1Address'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyShipping'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyShipping'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyShipping'Variants
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyShipping'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmResponse
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyShipping'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyShipping'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyShipping'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyShipping'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyShipping'OneOf1Address'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyShipping'OneOf1Address'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodySetupFutureUsage'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodySetupFutureUsage'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyReceiptEmail'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyReceiptEmail'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Sofort'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Sofort'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Sofort'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Sofort'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Sofort'OneOf1PreferredLanguage'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Sofort'OneOf1PreferredLanguage'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'SepaDebit'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'SepaDebit'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'SepaDebit'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'SepaDebit'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'P24'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'P24'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'P24'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'P24'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Oxxo'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Oxxo'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Oxxo'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Oxxo'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'CardPresent'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'CardPresent'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1RequestThreeDSecure'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1RequestThreeDSecure'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1Network'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1Network'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1Installments'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1Installments'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1Installments'Plan'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1Installments'Plan'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1Installments'Plan'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Card'OneOf1Installments'Plan'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Boleto'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Boleto'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Boleto'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Boleto'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Bancontact'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Bancontact'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Bancontact'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Bancontact'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Bancontact'OneOf1PreferredLanguage'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Bancontact'OneOf1PreferredLanguage'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Alipay'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'Alipay'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AfterpayClearpay'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AfterpayClearpay'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AfterpayClearpay'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AfterpayClearpay'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'OneOf1VerificationMethod'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'OneOf1VerificationMethod'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'TransactionType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'TransactionType'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'PaymentSchedule'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'PaymentSchedule'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'CustomMandateUrl'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'CustomMandateUrl'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Type'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Type'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Sofort'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Sofort'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Sofort'Country'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Sofort'Country'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'SepaDebit'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'SepaDebit'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'P24'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'P24'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'P24'Bank'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'P24'Bank'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Ideal'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Ideal'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Ideal'Bank'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Ideal'Bank'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Fpx'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Fpx'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Fpx'Bank'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Fpx'Bank'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Eps'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Eps'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Eps'Bank'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Eps'Bank'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Boleto'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'Boleto'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'BillingDetails'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'BillingDetails'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'BillingDetails'Address'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'BillingDetails'Address'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'BillingDetails'Address'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'BillingDetails'Address'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'BacsDebit'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'BacsDebit'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'AuBecsDebit'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'AuBecsDebit'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'AcssDebit'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyPaymentMethodData'AcssDebit'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyOffSession'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyOffSession'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyOffSession'OneOf2
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyOffSession'OneOf2
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyMandateData'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyMandateData'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'Type'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'Type'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'Online'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntentConfirm.PostPaymentIntentsIntentConfirmRequestBodyMandateData'CustomerAcceptance'Online'
-- | Contains the different functions to run the operation
-- postPaymentIntentsIntentCapture
module StripeAPI.Operations.PostPaymentIntentsIntentCapture
-- |
-- POST /v1/payment_intents/{intent}/capture
--
--
-- <p>Capture the funds of an existing uncaptured PaymentIntent
-- when its status is
-- <code>requires_capture</code>.</p>
--
-- <p>Uncaptured PaymentIntents will be canceled exactly seven days
-- after they are created.</p>
--
-- <p>Learn more about <a
-- href="/docs/payments/capture-later">separate authorization and
-- capture</a>.</p>
postPaymentIntentsIntentCapture :: forall m. MonadHTTP m => Text -> Maybe PostPaymentIntentsIntentCaptureRequestBody -> ClientT m (Response PostPaymentIntentsIntentCaptureResponse)
-- | Defines the object schema located at
-- paths./v1/payment_intents/{intent}/capture.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostPaymentIntentsIntentCaptureRequestBody
PostPaymentIntentsIntentCaptureRequestBody :: Maybe Int -> Maybe Int -> Maybe [Text] -> Maybe Text -> Maybe Text -> Maybe PostPaymentIntentsIntentCaptureRequestBodyTransferData' -> PostPaymentIntentsIntentCaptureRequestBody
-- | amount_to_capture: The amount to capture from the PaymentIntent, which
-- must be less than or equal to the original amount. Any additional
-- amount will be automatically refunded. Defaults to the full
-- `amount_capturable` if not provided.
[postPaymentIntentsIntentCaptureRequestBodyAmountToCapture] :: PostPaymentIntentsIntentCaptureRequestBody -> Maybe Int
-- | application_fee_amount: The amount of the application fee (if any)
-- that will be requested to be applied to the payment and transferred to
-- the application owner's Stripe account. The amount of the application
-- fee collected will be capped at the total payment amount. For more
-- information, see the PaymentIntents use case for connected
-- accounts.
[postPaymentIntentsIntentCaptureRequestBodyApplicationFeeAmount] :: PostPaymentIntentsIntentCaptureRequestBody -> Maybe Int
-- | expand: Specifies which fields in the response should be expanded.
[postPaymentIntentsIntentCaptureRequestBodyExpand] :: PostPaymentIntentsIntentCaptureRequestBody -> Maybe [Text]
-- | statement_descriptor: For non-card charges, you can use this value as
-- the complete description that appears on your customers’ statements.
-- Must contain at least one letter, maximum 22 characters.
--
-- Constraints:
--
--
-- - Maximum length of 22
--
[postPaymentIntentsIntentCaptureRequestBodyStatementDescriptor] :: PostPaymentIntentsIntentCaptureRequestBody -> Maybe Text
-- | statement_descriptor_suffix: Provides information about a card payment
-- that customers see on their statements. Concatenated with the prefix
-- (shortened descriptor) or statement descriptor that’s set on the
-- account to form the complete statement descriptor. Maximum 22
-- characters for the concatenated descriptor.
--
-- Constraints:
--
--
-- - Maximum length of 22
--
[postPaymentIntentsIntentCaptureRequestBodyStatementDescriptorSuffix] :: PostPaymentIntentsIntentCaptureRequestBody -> Maybe Text
-- | transfer_data: The parameters used to automatically create a Transfer
-- when the payment is captured. For more information, see the
-- PaymentIntents use case for connected accounts.
[postPaymentIntentsIntentCaptureRequestBodyTransferData] :: PostPaymentIntentsIntentCaptureRequestBody -> Maybe PostPaymentIntentsIntentCaptureRequestBodyTransferData'
-- | Create a new PostPaymentIntentsIntentCaptureRequestBody with
-- all required fields.
mkPostPaymentIntentsIntentCaptureRequestBody :: PostPaymentIntentsIntentCaptureRequestBody
-- | Defines the object schema located at
-- paths./v1/payment_intents/{intent}/capture.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.transfer_data
-- in the specification.
--
-- The parameters used to automatically create a Transfer when the
-- payment is captured. For more information, see the PaymentIntents
-- use case for connected accounts.
data PostPaymentIntentsIntentCaptureRequestBodyTransferData'
PostPaymentIntentsIntentCaptureRequestBodyTransferData' :: Maybe Int -> PostPaymentIntentsIntentCaptureRequestBodyTransferData'
-- | amount
[postPaymentIntentsIntentCaptureRequestBodyTransferData'Amount] :: PostPaymentIntentsIntentCaptureRequestBodyTransferData' -> Maybe Int
-- | Create a new
-- PostPaymentIntentsIntentCaptureRequestBodyTransferData' with
-- all required fields.
mkPostPaymentIntentsIntentCaptureRequestBodyTransferData' :: PostPaymentIntentsIntentCaptureRequestBodyTransferData'
-- | Represents a response of the operation
-- postPaymentIntentsIntentCapture.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- PostPaymentIntentsIntentCaptureResponseError is used.
data PostPaymentIntentsIntentCaptureResponse
-- | Means either no matching case available or a parse error
PostPaymentIntentsIntentCaptureResponseError :: String -> PostPaymentIntentsIntentCaptureResponse
-- | Successful response.
PostPaymentIntentsIntentCaptureResponse200 :: PaymentIntent -> PostPaymentIntentsIntentCaptureResponse
-- | Error response.
PostPaymentIntentsIntentCaptureResponseDefault :: Error -> PostPaymentIntentsIntentCaptureResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntentCapture.PostPaymentIntentsIntentCaptureRequestBodyTransferData'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntentCapture.PostPaymentIntentsIntentCaptureRequestBodyTransferData'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntentCapture.PostPaymentIntentsIntentCaptureRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntentCapture.PostPaymentIntentsIntentCaptureRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntentCapture.PostPaymentIntentsIntentCaptureResponse
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntentCapture.PostPaymentIntentsIntentCaptureResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntentCapture.PostPaymentIntentsIntentCaptureRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntentCapture.PostPaymentIntentsIntentCaptureRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntentCapture.PostPaymentIntentsIntentCaptureRequestBodyTransferData'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntentCapture.PostPaymentIntentsIntentCaptureRequestBodyTransferData'
-- | Contains the different functions to run the operation
-- postPaymentIntentsIntentCancel
module StripeAPI.Operations.PostPaymentIntentsIntentCancel
-- |
-- POST /v1/payment_intents/{intent}/cancel
--
--
-- <p>A PaymentIntent object can be canceled when it is in one of
-- these statuses: <code>requires_payment_method</code>,
-- <code>requires_capture</code>,
-- <code>requires_confirmation</code>, or
-- <code>requires_action</code>. </p>
--
-- <p>Once canceled, no additional charges will be made by the
-- PaymentIntent and any operations on the PaymentIntent will fail with
-- an error. For PaymentIntents with
-- <code>status=’requires_capture’</code>, the remaining
-- <code>amount_capturable</code> will automatically be
-- refunded.</p>
postPaymentIntentsIntentCancel :: forall m. MonadHTTP m => Text -> Maybe PostPaymentIntentsIntentCancelRequestBody -> ClientT m (Response PostPaymentIntentsIntentCancelResponse)
-- | Defines the object schema located at
-- paths./v1/payment_intents/{intent}/cancel.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostPaymentIntentsIntentCancelRequestBody
PostPaymentIntentsIntentCancelRequestBody :: Maybe PostPaymentIntentsIntentCancelRequestBodyCancellationReason' -> Maybe [Text] -> PostPaymentIntentsIntentCancelRequestBody
-- | cancellation_reason: Reason for canceling this PaymentIntent. Possible
-- values are `duplicate`, `fraudulent`, `requested_by_customer`, or
-- `abandoned`
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsIntentCancelRequestBodyCancellationReason] :: PostPaymentIntentsIntentCancelRequestBody -> Maybe PostPaymentIntentsIntentCancelRequestBodyCancellationReason'
-- | expand: Specifies which fields in the response should be expanded.
[postPaymentIntentsIntentCancelRequestBodyExpand] :: PostPaymentIntentsIntentCancelRequestBody -> Maybe [Text]
-- | Create a new PostPaymentIntentsIntentCancelRequestBody with all
-- required fields.
mkPostPaymentIntentsIntentCancelRequestBody :: PostPaymentIntentsIntentCancelRequestBody
-- | Defines the enum schema located at
-- paths./v1/payment_intents/{intent}/cancel.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.cancellation_reason
-- in the specification.
--
-- Reason for canceling this PaymentIntent. Possible values are
-- `duplicate`, `fraudulent`, `requested_by_customer`, or `abandoned`
data PostPaymentIntentsIntentCancelRequestBodyCancellationReason'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostPaymentIntentsIntentCancelRequestBodyCancellationReason'Other :: Value -> PostPaymentIntentsIntentCancelRequestBodyCancellationReason'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostPaymentIntentsIntentCancelRequestBodyCancellationReason'Typed :: Text -> PostPaymentIntentsIntentCancelRequestBodyCancellationReason'
-- | Represents the JSON value "abandoned"
PostPaymentIntentsIntentCancelRequestBodyCancellationReason'EnumAbandoned :: PostPaymentIntentsIntentCancelRequestBodyCancellationReason'
-- | Represents the JSON value "duplicate"
PostPaymentIntentsIntentCancelRequestBodyCancellationReason'EnumDuplicate :: PostPaymentIntentsIntentCancelRequestBodyCancellationReason'
-- | Represents the JSON value "fraudulent"
PostPaymentIntentsIntentCancelRequestBodyCancellationReason'EnumFraudulent :: PostPaymentIntentsIntentCancelRequestBodyCancellationReason'
-- | Represents the JSON value "requested_by_customer"
PostPaymentIntentsIntentCancelRequestBodyCancellationReason'EnumRequestedByCustomer :: PostPaymentIntentsIntentCancelRequestBodyCancellationReason'
-- | Represents a response of the operation
-- postPaymentIntentsIntentCancel.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- PostPaymentIntentsIntentCancelResponseError is used.
data PostPaymentIntentsIntentCancelResponse
-- | Means either no matching case available or a parse error
PostPaymentIntentsIntentCancelResponseError :: String -> PostPaymentIntentsIntentCancelResponse
-- | Successful response.
PostPaymentIntentsIntentCancelResponse200 :: PaymentIntent -> PostPaymentIntentsIntentCancelResponse
-- | Error response.
PostPaymentIntentsIntentCancelResponseDefault :: Error -> PostPaymentIntentsIntentCancelResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntentCancel.PostPaymentIntentsIntentCancelRequestBodyCancellationReason'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntentCancel.PostPaymentIntentsIntentCancelRequestBodyCancellationReason'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntentCancel.PostPaymentIntentsIntentCancelRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntentCancel.PostPaymentIntentsIntentCancelRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntentCancel.PostPaymentIntentsIntentCancelResponse
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntentCancel.PostPaymentIntentsIntentCancelResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntentCancel.PostPaymentIntentsIntentCancelRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntentCancel.PostPaymentIntentsIntentCancelRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntentCancel.PostPaymentIntentsIntentCancelRequestBodyCancellationReason'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntentCancel.PostPaymentIntentsIntentCancelRequestBodyCancellationReason'
-- | Contains the different functions to run the operation
-- postPaymentIntentsIntent
module StripeAPI.Operations.PostPaymentIntentsIntent
-- |
-- POST /v1/payment_intents/{intent}
--
--
-- <p>Updates properties on a PaymentIntent object without
-- confirming.</p>
--
-- <p>Depending on which properties you update, you may need to
-- confirm the PaymentIntent again. For example, updating the
-- <code>payment_method</code> will always require you to
-- confirm the PaymentIntent again. If you prefer to update and confirm
-- at the same time, we recommend updating properties via the <a
-- href="/docs/api/payment_intents/confirm">confirm API</a>
-- instead.</p>
postPaymentIntentsIntent :: forall m. MonadHTTP m => Text -> Maybe PostPaymentIntentsIntentRequestBody -> ClientT m (Response PostPaymentIntentsIntentResponse)
-- | Defines the object schema located at
-- paths./v1/payment_intents/{intent}.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostPaymentIntentsIntentRequestBody
PostPaymentIntentsIntentRequestBody :: Maybe Int -> Maybe PostPaymentIntentsIntentRequestBodyApplicationFeeAmount'Variants -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe [Text] -> Maybe PostPaymentIntentsIntentRequestBodyMetadata'Variants -> Maybe Text -> Maybe PostPaymentIntentsIntentRequestBodyPaymentMethodData' -> Maybe PostPaymentIntentsIntentRequestBodyPaymentMethodOptions' -> Maybe [Text] -> Maybe PostPaymentIntentsIntentRequestBodyReceiptEmail'Variants -> Maybe PostPaymentIntentsIntentRequestBodySetupFutureUsage' -> Maybe PostPaymentIntentsIntentRequestBodyShipping'Variants -> Maybe Text -> Maybe Text -> Maybe PostPaymentIntentsIntentRequestBodyTransferData' -> Maybe Text -> PostPaymentIntentsIntentRequestBody
-- | amount: Amount intended to be collected by this PaymentIntent. A
-- positive integer representing how much to charge in the smallest
-- currency unit (e.g., 100 cents to charge $1.00 or 100 to charge
-- ¥100, a zero-decimal currency). The minimum amount is $0.50 US or
-- equivalent in charge currency. The amount value supports up to
-- eight digits (e.g., a value of 99999999 for a USD charge of
-- $999,999.99).
[postPaymentIntentsIntentRequestBodyAmount] :: PostPaymentIntentsIntentRequestBody -> Maybe Int
-- | application_fee_amount: The amount of the application fee (if any)
-- that will be requested to be applied to the payment and transferred to
-- the application owner's Stripe account. The amount of the application
-- fee collected will be capped at the total payment amount. For more
-- information, see the PaymentIntents use case for connected
-- accounts.
[postPaymentIntentsIntentRequestBodyApplicationFeeAmount] :: PostPaymentIntentsIntentRequestBody -> Maybe PostPaymentIntentsIntentRequestBodyApplicationFeeAmount'Variants
-- | currency: Three-letter ISO currency code, in lowercase. Must be
-- a supported currency.
[postPaymentIntentsIntentRequestBodyCurrency] :: PostPaymentIntentsIntentRequestBody -> Maybe Text
-- | customer: ID of the Customer this PaymentIntent belongs to, if one
-- exists.
--
-- Payment methods attached to other Customers cannot be used with this
-- PaymentIntent.
--
-- If present in combination with setup_future_usage, this
-- PaymentIntent's payment method will be attached to the Customer after
-- the PaymentIntent has been confirmed and any required actions from the
-- user are complete.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsIntentRequestBodyCustomer] :: PostPaymentIntentsIntentRequestBody -> Maybe Text
-- | description: An arbitrary string attached to the object. Often useful
-- for displaying to users.
--
-- Constraints:
--
--
-- - Maximum length of 1000
--
[postPaymentIntentsIntentRequestBodyDescription] :: PostPaymentIntentsIntentRequestBody -> Maybe Text
-- | expand: Specifies which fields in the response should be expanded.
[postPaymentIntentsIntentRequestBodyExpand] :: PostPaymentIntentsIntentRequestBody -> Maybe [Text]
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postPaymentIntentsIntentRequestBodyMetadata] :: PostPaymentIntentsIntentRequestBody -> Maybe PostPaymentIntentsIntentRequestBodyMetadata'Variants
-- | payment_method: ID of the payment method (a PaymentMethod, Card, or
-- compatible Source object) to attach to this PaymentIntent.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsIntentRequestBodyPaymentMethod] :: PostPaymentIntentsIntentRequestBody -> Maybe Text
-- | payment_method_data: If provided, this hash will be used to create a
-- PaymentMethod. The new PaymentMethod will appear in the
-- payment_method property on the PaymentIntent.
[postPaymentIntentsIntentRequestBodyPaymentMethodData] :: PostPaymentIntentsIntentRequestBody -> Maybe PostPaymentIntentsIntentRequestBodyPaymentMethodData'
-- | payment_method_options: Payment-method-specific configuration for this
-- PaymentIntent.
[postPaymentIntentsIntentRequestBodyPaymentMethodOptions] :: PostPaymentIntentsIntentRequestBody -> Maybe PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'
-- | payment_method_types: The list of payment method types (e.g. card)
-- that this PaymentIntent is allowed to use.
[postPaymentIntentsIntentRequestBodyPaymentMethodTypes] :: PostPaymentIntentsIntentRequestBody -> Maybe [Text]
-- | receipt_email: Email address that the receipt for the resulting
-- payment will be sent to. If `receipt_email` is specified for a payment
-- in live mode, a receipt will be sent regardless of your email
-- settings.
[postPaymentIntentsIntentRequestBodyReceiptEmail] :: PostPaymentIntentsIntentRequestBody -> Maybe PostPaymentIntentsIntentRequestBodyReceiptEmail'Variants
-- | setup_future_usage: Indicates that you intend to make future payments
-- with this PaymentIntent's payment method.
--
-- Providing this parameter will attach the payment method to the
-- PaymentIntent's Customer, if present, after the PaymentIntent is
-- confirmed and any required actions from the user are complete. If no
-- Customer was provided, the payment method can still be attached
-- to a Customer after the transaction completes.
--
-- When processing card payments, Stripe also uses `setup_future_usage`
-- to dynamically optimize your payment flow and comply with regional
-- legislation and network rules, such as SCA.
--
-- If `setup_future_usage` is already set and you are performing a
-- request using a publishable key, you may only update the value from
-- `on_session` to `off_session`.
[postPaymentIntentsIntentRequestBodySetupFutureUsage] :: PostPaymentIntentsIntentRequestBody -> Maybe PostPaymentIntentsIntentRequestBodySetupFutureUsage'
-- | shipping: Shipping information for this PaymentIntent.
[postPaymentIntentsIntentRequestBodyShipping] :: PostPaymentIntentsIntentRequestBody -> Maybe PostPaymentIntentsIntentRequestBodyShipping'Variants
-- | statement_descriptor: For non-card charges, you can use this value as
-- the complete description that appears on your customers’ statements.
-- Must contain at least one letter, maximum 22 characters.
--
-- Constraints:
--
--
-- - Maximum length of 22
--
[postPaymentIntentsIntentRequestBodyStatementDescriptor] :: PostPaymentIntentsIntentRequestBody -> Maybe Text
-- | statement_descriptor_suffix: Provides information about a card payment
-- that customers see on their statements. Concatenated with the prefix
-- (shortened descriptor) or statement descriptor that’s set on the
-- account to form the complete statement descriptor. Maximum 22
-- characters for the concatenated descriptor.
--
-- Constraints:
--
--
-- - Maximum length of 22
--
[postPaymentIntentsIntentRequestBodyStatementDescriptorSuffix] :: PostPaymentIntentsIntentRequestBody -> Maybe Text
-- | transfer_data: The parameters used to automatically create a Transfer
-- when the payment succeeds. For more information, see the
-- PaymentIntents use case for connected accounts.
[postPaymentIntentsIntentRequestBodyTransferData] :: PostPaymentIntentsIntentRequestBody -> Maybe PostPaymentIntentsIntentRequestBodyTransferData'
-- | transfer_group: A string that identifies the resulting payment as part
-- of a group. `transfer_group` may only be provided if it has not been
-- set. See the PaymentIntents use case for connected accounts for
-- details.
[postPaymentIntentsIntentRequestBodyTransferGroup] :: PostPaymentIntentsIntentRequestBody -> Maybe Text
-- | Create a new PostPaymentIntentsIntentRequestBody with all
-- required fields.
mkPostPaymentIntentsIntentRequestBody :: PostPaymentIntentsIntentRequestBody
-- | Defines the oneOf schema located at
-- paths./v1/payment_intents/{intent}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.application_fee_amount.anyOf
-- in the specification.
--
-- The amount of the application fee (if any) that will be requested to
-- be applied to the payment and transferred to the application owner's
-- Stripe account. The amount of the application fee collected will be
-- capped at the total payment amount. For more information, see the
-- PaymentIntents use case for connected accounts.
data PostPaymentIntentsIntentRequestBodyApplicationFeeAmount'Variants
-- | Represents the JSON value ""
PostPaymentIntentsIntentRequestBodyApplicationFeeAmount'EmptyString :: PostPaymentIntentsIntentRequestBodyApplicationFeeAmount'Variants
PostPaymentIntentsIntentRequestBodyApplicationFeeAmount'Int :: Int -> PostPaymentIntentsIntentRequestBodyApplicationFeeAmount'Variants
-- | Defines the oneOf schema located at
-- paths./v1/payment_intents/{intent}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.metadata.anyOf
-- in the specification.
--
-- Set of key-value pairs that you can attach to an object. This
-- can be useful for storing additional information about the object in a
-- structured format. Individual keys can be unset by posting an empty
-- value to them. All keys can be unset by posting an empty value to
-- `metadata`.
data PostPaymentIntentsIntentRequestBodyMetadata'Variants
-- | Represents the JSON value ""
PostPaymentIntentsIntentRequestBodyMetadata'EmptyString :: PostPaymentIntentsIntentRequestBodyMetadata'Variants
PostPaymentIntentsIntentRequestBodyMetadata'Object :: Object -> PostPaymentIntentsIntentRequestBodyMetadata'Variants
-- | Defines the object schema located at
-- paths./v1/payment_intents/{intent}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_data
-- in the specification.
--
-- If provided, this hash will be used to create a PaymentMethod. The new
-- PaymentMethod will appear in the payment_method property on the
-- PaymentIntent.
data PostPaymentIntentsIntentRequestBodyPaymentMethodData'
PostPaymentIntentsIntentRequestBodyPaymentMethodData' :: Maybe PostPaymentIntentsIntentRequestBodyPaymentMethodData'AcssDebit' -> Maybe Object -> Maybe Object -> Maybe PostPaymentIntentsIntentRequestBodyPaymentMethodData'AuBecsDebit' -> Maybe PostPaymentIntentsIntentRequestBodyPaymentMethodData'BacsDebit' -> Maybe Object -> Maybe PostPaymentIntentsIntentRequestBodyPaymentMethodData'BillingDetails' -> Maybe PostPaymentIntentsIntentRequestBodyPaymentMethodData'Boleto' -> Maybe PostPaymentIntentsIntentRequestBodyPaymentMethodData'Eps' -> Maybe PostPaymentIntentsIntentRequestBodyPaymentMethodData'Fpx' -> Maybe Object -> Maybe Object -> Maybe PostPaymentIntentsIntentRequestBodyPaymentMethodData'Ideal' -> Maybe Object -> Maybe Object -> Maybe Object -> Maybe PostPaymentIntentsIntentRequestBodyPaymentMethodData'P24' -> Maybe PostPaymentIntentsIntentRequestBodyPaymentMethodData'SepaDebit' -> Maybe PostPaymentIntentsIntentRequestBodyPaymentMethodData'Sofort' -> PostPaymentIntentsIntentRequestBodyPaymentMethodData'Type' -> PostPaymentIntentsIntentRequestBodyPaymentMethodData'
-- | acss_debit
[postPaymentIntentsIntentRequestBodyPaymentMethodData'AcssDebit] :: PostPaymentIntentsIntentRequestBodyPaymentMethodData' -> Maybe PostPaymentIntentsIntentRequestBodyPaymentMethodData'AcssDebit'
-- | afterpay_clearpay
[postPaymentIntentsIntentRequestBodyPaymentMethodData'AfterpayClearpay] :: PostPaymentIntentsIntentRequestBodyPaymentMethodData' -> Maybe Object
-- | alipay
[postPaymentIntentsIntentRequestBodyPaymentMethodData'Alipay] :: PostPaymentIntentsIntentRequestBodyPaymentMethodData' -> Maybe Object
-- | au_becs_debit
[postPaymentIntentsIntentRequestBodyPaymentMethodData'AuBecsDebit] :: PostPaymentIntentsIntentRequestBodyPaymentMethodData' -> Maybe PostPaymentIntentsIntentRequestBodyPaymentMethodData'AuBecsDebit'
-- | bacs_debit
[postPaymentIntentsIntentRequestBodyPaymentMethodData'BacsDebit] :: PostPaymentIntentsIntentRequestBodyPaymentMethodData' -> Maybe PostPaymentIntentsIntentRequestBodyPaymentMethodData'BacsDebit'
-- | bancontact
[postPaymentIntentsIntentRequestBodyPaymentMethodData'Bancontact] :: PostPaymentIntentsIntentRequestBodyPaymentMethodData' -> Maybe Object
-- | billing_details
[postPaymentIntentsIntentRequestBodyPaymentMethodData'BillingDetails] :: PostPaymentIntentsIntentRequestBodyPaymentMethodData' -> Maybe PostPaymentIntentsIntentRequestBodyPaymentMethodData'BillingDetails'
-- | boleto
[postPaymentIntentsIntentRequestBodyPaymentMethodData'Boleto] :: PostPaymentIntentsIntentRequestBodyPaymentMethodData' -> Maybe PostPaymentIntentsIntentRequestBodyPaymentMethodData'Boleto'
-- | eps
[postPaymentIntentsIntentRequestBodyPaymentMethodData'Eps] :: PostPaymentIntentsIntentRequestBodyPaymentMethodData' -> Maybe PostPaymentIntentsIntentRequestBodyPaymentMethodData'Eps'
-- | fpx
[postPaymentIntentsIntentRequestBodyPaymentMethodData'Fpx] :: PostPaymentIntentsIntentRequestBodyPaymentMethodData' -> Maybe PostPaymentIntentsIntentRequestBodyPaymentMethodData'Fpx'
-- | giropay
[postPaymentIntentsIntentRequestBodyPaymentMethodData'Giropay] :: PostPaymentIntentsIntentRequestBodyPaymentMethodData' -> Maybe Object
-- | grabpay
[postPaymentIntentsIntentRequestBodyPaymentMethodData'Grabpay] :: PostPaymentIntentsIntentRequestBodyPaymentMethodData' -> Maybe Object
-- | ideal
[postPaymentIntentsIntentRequestBodyPaymentMethodData'Ideal] :: PostPaymentIntentsIntentRequestBodyPaymentMethodData' -> Maybe PostPaymentIntentsIntentRequestBodyPaymentMethodData'Ideal'
-- | interac_present
[postPaymentIntentsIntentRequestBodyPaymentMethodData'InteracPresent] :: PostPaymentIntentsIntentRequestBodyPaymentMethodData' -> Maybe Object
-- | metadata
[postPaymentIntentsIntentRequestBodyPaymentMethodData'Metadata] :: PostPaymentIntentsIntentRequestBodyPaymentMethodData' -> Maybe Object
-- | oxxo
[postPaymentIntentsIntentRequestBodyPaymentMethodData'Oxxo] :: PostPaymentIntentsIntentRequestBodyPaymentMethodData' -> Maybe Object
-- | p24
[postPaymentIntentsIntentRequestBodyPaymentMethodData'P24] :: PostPaymentIntentsIntentRequestBodyPaymentMethodData' -> Maybe PostPaymentIntentsIntentRequestBodyPaymentMethodData'P24'
-- | sepa_debit
[postPaymentIntentsIntentRequestBodyPaymentMethodData'SepaDebit] :: PostPaymentIntentsIntentRequestBodyPaymentMethodData' -> Maybe PostPaymentIntentsIntentRequestBodyPaymentMethodData'SepaDebit'
-- | sofort
[postPaymentIntentsIntentRequestBodyPaymentMethodData'Sofort] :: PostPaymentIntentsIntentRequestBodyPaymentMethodData' -> Maybe PostPaymentIntentsIntentRequestBodyPaymentMethodData'Sofort'
-- | type
[postPaymentIntentsIntentRequestBodyPaymentMethodData'Type] :: PostPaymentIntentsIntentRequestBodyPaymentMethodData' -> PostPaymentIntentsIntentRequestBodyPaymentMethodData'Type'
-- | Create a new
-- PostPaymentIntentsIntentRequestBodyPaymentMethodData' with all
-- required fields.
mkPostPaymentIntentsIntentRequestBodyPaymentMethodData' :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'Type' -> PostPaymentIntentsIntentRequestBodyPaymentMethodData'
-- | Defines the object schema located at
-- paths./v1/payment_intents/{intent}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_data.properties.acss_debit
-- in the specification.
data PostPaymentIntentsIntentRequestBodyPaymentMethodData'AcssDebit'
PostPaymentIntentsIntentRequestBodyPaymentMethodData'AcssDebit' :: Text -> Text -> Text -> PostPaymentIntentsIntentRequestBodyPaymentMethodData'AcssDebit'
-- | account_number
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsIntentRequestBodyPaymentMethodData'AcssDebit'AccountNumber] :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'AcssDebit' -> Text
-- | institution_number
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsIntentRequestBodyPaymentMethodData'AcssDebit'InstitutionNumber] :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'AcssDebit' -> Text
-- | transit_number
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsIntentRequestBodyPaymentMethodData'AcssDebit'TransitNumber] :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'AcssDebit' -> Text
-- | Create a new
-- PostPaymentIntentsIntentRequestBodyPaymentMethodData'AcssDebit'
-- with all required fields.
mkPostPaymentIntentsIntentRequestBodyPaymentMethodData'AcssDebit' :: Text -> Text -> Text -> PostPaymentIntentsIntentRequestBodyPaymentMethodData'AcssDebit'
-- | Defines the object schema located at
-- paths./v1/payment_intents/{intent}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_data.properties.au_becs_debit
-- in the specification.
data PostPaymentIntentsIntentRequestBodyPaymentMethodData'AuBecsDebit'
PostPaymentIntentsIntentRequestBodyPaymentMethodData'AuBecsDebit' :: Text -> Text -> PostPaymentIntentsIntentRequestBodyPaymentMethodData'AuBecsDebit'
-- | account_number
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsIntentRequestBodyPaymentMethodData'AuBecsDebit'AccountNumber] :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'AuBecsDebit' -> Text
-- | bsb_number
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsIntentRequestBodyPaymentMethodData'AuBecsDebit'BsbNumber] :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'AuBecsDebit' -> Text
-- | Create a new
-- PostPaymentIntentsIntentRequestBodyPaymentMethodData'AuBecsDebit'
-- with all required fields.
mkPostPaymentIntentsIntentRequestBodyPaymentMethodData'AuBecsDebit' :: Text -> Text -> PostPaymentIntentsIntentRequestBodyPaymentMethodData'AuBecsDebit'
-- | Defines the object schema located at
-- paths./v1/payment_intents/{intent}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_data.properties.bacs_debit
-- in the specification.
data PostPaymentIntentsIntentRequestBodyPaymentMethodData'BacsDebit'
PostPaymentIntentsIntentRequestBodyPaymentMethodData'BacsDebit' :: Maybe Text -> Maybe Text -> PostPaymentIntentsIntentRequestBodyPaymentMethodData'BacsDebit'
-- | account_number
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsIntentRequestBodyPaymentMethodData'BacsDebit'AccountNumber] :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'BacsDebit' -> Maybe Text
-- | sort_code
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsIntentRequestBodyPaymentMethodData'BacsDebit'SortCode] :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'BacsDebit' -> Maybe Text
-- | Create a new
-- PostPaymentIntentsIntentRequestBodyPaymentMethodData'BacsDebit'
-- with all required fields.
mkPostPaymentIntentsIntentRequestBodyPaymentMethodData'BacsDebit' :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'BacsDebit'
-- | Defines the object schema located at
-- paths./v1/payment_intents/{intent}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_data.properties.billing_details
-- in the specification.
data PostPaymentIntentsIntentRequestBodyPaymentMethodData'BillingDetails'
PostPaymentIntentsIntentRequestBodyPaymentMethodData'BillingDetails' :: Maybe PostPaymentIntentsIntentRequestBodyPaymentMethodData'BillingDetails'Address'Variants -> Maybe Text -> Maybe Text -> Maybe Text -> PostPaymentIntentsIntentRequestBodyPaymentMethodData'BillingDetails'
-- | address
[postPaymentIntentsIntentRequestBodyPaymentMethodData'BillingDetails'Address] :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'BillingDetails' -> Maybe PostPaymentIntentsIntentRequestBodyPaymentMethodData'BillingDetails'Address'Variants
-- | email
[postPaymentIntentsIntentRequestBodyPaymentMethodData'BillingDetails'Email] :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'BillingDetails' -> Maybe Text
-- | name
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsIntentRequestBodyPaymentMethodData'BillingDetails'Name] :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'BillingDetails' -> Maybe Text
-- | phone
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsIntentRequestBodyPaymentMethodData'BillingDetails'Phone] :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'BillingDetails' -> Maybe Text
-- | Create a new
-- PostPaymentIntentsIntentRequestBodyPaymentMethodData'BillingDetails'
-- with all required fields.
mkPostPaymentIntentsIntentRequestBodyPaymentMethodData'BillingDetails' :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'BillingDetails'
-- | Defines the object schema located at
-- paths./v1/payment_intents/{intent}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_data.properties.billing_details.properties.address.anyOf
-- in the specification.
data PostPaymentIntentsIntentRequestBodyPaymentMethodData'BillingDetails'Address'OneOf1
PostPaymentIntentsIntentRequestBodyPaymentMethodData'BillingDetails'Address'OneOf1 :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PostPaymentIntentsIntentRequestBodyPaymentMethodData'BillingDetails'Address'OneOf1
-- | city
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsIntentRequestBodyPaymentMethodData'BillingDetails'Address'OneOf1City] :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'BillingDetails'Address'OneOf1 -> Maybe Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsIntentRequestBodyPaymentMethodData'BillingDetails'Address'OneOf1Country] :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'BillingDetails'Address'OneOf1 -> Maybe Text
-- | line1
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsIntentRequestBodyPaymentMethodData'BillingDetails'Address'OneOf1Line1] :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'BillingDetails'Address'OneOf1 -> Maybe Text
-- | line2
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsIntentRequestBodyPaymentMethodData'BillingDetails'Address'OneOf1Line2] :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'BillingDetails'Address'OneOf1 -> Maybe Text
-- | postal_code
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsIntentRequestBodyPaymentMethodData'BillingDetails'Address'OneOf1PostalCode] :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'BillingDetails'Address'OneOf1 -> Maybe Text
-- | state
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsIntentRequestBodyPaymentMethodData'BillingDetails'Address'OneOf1State] :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'BillingDetails'Address'OneOf1 -> Maybe Text
-- | Create a new
-- PostPaymentIntentsIntentRequestBodyPaymentMethodData'BillingDetails'Address'OneOf1
-- with all required fields.
mkPostPaymentIntentsIntentRequestBodyPaymentMethodData'BillingDetails'Address'OneOf1 :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'BillingDetails'Address'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/payment_intents/{intent}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_data.properties.billing_details.properties.address.anyOf
-- in the specification.
data PostPaymentIntentsIntentRequestBodyPaymentMethodData'BillingDetails'Address'Variants
-- | Represents the JSON value ""
PostPaymentIntentsIntentRequestBodyPaymentMethodData'BillingDetails'Address'EmptyString :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'BillingDetails'Address'Variants
PostPaymentIntentsIntentRequestBodyPaymentMethodData'BillingDetails'Address'PostPaymentIntentsIntentRequestBodyPaymentMethodData'BillingDetails'Address'OneOf1 :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'BillingDetails'Address'OneOf1 -> PostPaymentIntentsIntentRequestBodyPaymentMethodData'BillingDetails'Address'Variants
-- | Defines the object schema located at
-- paths./v1/payment_intents/{intent}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_data.properties.boleto
-- in the specification.
data PostPaymentIntentsIntentRequestBodyPaymentMethodData'Boleto'
PostPaymentIntentsIntentRequestBodyPaymentMethodData'Boleto' :: Text -> PostPaymentIntentsIntentRequestBodyPaymentMethodData'Boleto'
-- | tax_id
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsIntentRequestBodyPaymentMethodData'Boleto'TaxId] :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'Boleto' -> Text
-- | Create a new
-- PostPaymentIntentsIntentRequestBodyPaymentMethodData'Boleto'
-- with all required fields.
mkPostPaymentIntentsIntentRequestBodyPaymentMethodData'Boleto' :: Text -> PostPaymentIntentsIntentRequestBodyPaymentMethodData'Boleto'
-- | Defines the object schema located at
-- paths./v1/payment_intents/{intent}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_data.properties.eps
-- in the specification.
data PostPaymentIntentsIntentRequestBodyPaymentMethodData'Eps'
PostPaymentIntentsIntentRequestBodyPaymentMethodData'Eps' :: Maybe PostPaymentIntentsIntentRequestBodyPaymentMethodData'Eps'Bank' -> PostPaymentIntentsIntentRequestBodyPaymentMethodData'Eps'
-- | bank
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsIntentRequestBodyPaymentMethodData'Eps'Bank] :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'Eps' -> Maybe PostPaymentIntentsIntentRequestBodyPaymentMethodData'Eps'Bank'
-- | Create a new
-- PostPaymentIntentsIntentRequestBodyPaymentMethodData'Eps' with
-- all required fields.
mkPostPaymentIntentsIntentRequestBodyPaymentMethodData'Eps' :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'Eps'
-- | Defines the enum schema located at
-- paths./v1/payment_intents/{intent}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_data.properties.eps.properties.bank
-- in the specification.
data PostPaymentIntentsIntentRequestBodyPaymentMethodData'Eps'Bank'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostPaymentIntentsIntentRequestBodyPaymentMethodData'Eps'Bank'Other :: Value -> PostPaymentIntentsIntentRequestBodyPaymentMethodData'Eps'Bank'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostPaymentIntentsIntentRequestBodyPaymentMethodData'Eps'Bank'Typed :: Text -> PostPaymentIntentsIntentRequestBodyPaymentMethodData'Eps'Bank'
-- | Represents the JSON value "arzte_und_apotheker_bank"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'Eps'Bank'EnumArzteUndApothekerBank :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'Eps'Bank'
-- | Represents the JSON value "austrian_anadi_bank_ag"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'Eps'Bank'EnumAustrianAnadiBankAg :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'Eps'Bank'
-- | Represents the JSON value "bank_austria"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'Eps'Bank'EnumBankAustria :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'Eps'Bank'
-- | Represents the JSON value "bankhaus_carl_spangler"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'Eps'Bank'EnumBankhausCarlSpangler :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'Eps'Bank'
-- | Represents the JSON value
-- "bankhaus_schelhammer_und_schattera_ag"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'Eps'Bank'EnumBankhausSchelhammerUndSchatteraAg :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'Eps'Bank'
-- | Represents the JSON value "bawag_psk_ag"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'Eps'Bank'EnumBawagPskAg :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'Eps'Bank'
-- | Represents the JSON value "bks_bank_ag"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'Eps'Bank'EnumBksBankAg :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'Eps'Bank'
-- | Represents the JSON value "brull_kallmus_bank_ag"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'Eps'Bank'EnumBrullKallmusBankAg :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'Eps'Bank'
-- | Represents the JSON value "btv_vier_lander_bank"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'Eps'Bank'EnumBtvVierLanderBank :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'Eps'Bank'
-- | Represents the JSON value "capital_bank_grawe_gruppe_ag"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'Eps'Bank'EnumCapitalBankGraweGruppeAg :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'Eps'Bank'
-- | Represents the JSON value "dolomitenbank"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'Eps'Bank'EnumDolomitenbank :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'Eps'Bank'
-- | Represents the JSON value "easybank_ag"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'Eps'Bank'EnumEasybankAg :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'Eps'Bank'
-- | Represents the JSON value "erste_bank_und_sparkassen"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'Eps'Bank'EnumErsteBankUndSparkassen :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'Eps'Bank'
-- | Represents the JSON value
-- "hypo_alpeadriabank_international_ag"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'Eps'Bank'EnumHypoAlpeadriabankInternationalAg :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'Eps'Bank'
-- | Represents the JSON value
-- "hypo_bank_burgenland_aktiengesellschaft"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'Eps'Bank'EnumHypoBankBurgenlandAktiengesellschaft :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'Eps'Bank'
-- | Represents the JSON value
-- "hypo_noe_lb_fur_niederosterreich_u_wien"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'Eps'Bank'EnumHypoNoeLbFurNiederosterreichUWien :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'Eps'Bank'
-- | Represents the JSON value
-- "hypo_oberosterreich_salzburg_steiermark"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'Eps'Bank'EnumHypoOberosterreichSalzburgSteiermark :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'Eps'Bank'
-- | Represents the JSON value "hypo_tirol_bank_ag"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'Eps'Bank'EnumHypoTirolBankAg :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'Eps'Bank'
-- | Represents the JSON value "hypo_vorarlberg_bank_ag"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'Eps'Bank'EnumHypoVorarlbergBankAg :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'Eps'Bank'
-- | Represents the JSON value "marchfelder_bank"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'Eps'Bank'EnumMarchfelderBank :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'Eps'Bank'
-- | Represents the JSON value "oberbank_ag"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'Eps'Bank'EnumOberbankAg :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'Eps'Bank'
-- | Represents the JSON value
-- "raiffeisen_bankengruppe_osterreich"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'Eps'Bank'EnumRaiffeisenBankengruppeOsterreich :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'Eps'Bank'
-- | Represents the JSON value "schoellerbank_ag"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'Eps'Bank'EnumSchoellerbankAg :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'Eps'Bank'
-- | Represents the JSON value "sparda_bank_wien"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'Eps'Bank'EnumSpardaBankWien :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'Eps'Bank'
-- | Represents the JSON value "volksbank_gruppe"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'Eps'Bank'EnumVolksbankGruppe :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'Eps'Bank'
-- | Represents the JSON value "volkskreditbank_ag"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'Eps'Bank'EnumVolkskreditbankAg :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'Eps'Bank'
-- | Represents the JSON value "vr_bank_braunau"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'Eps'Bank'EnumVrBankBraunau :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'Eps'Bank'
-- | Defines the object schema located at
-- paths./v1/payment_intents/{intent}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_data.properties.fpx
-- in the specification.
data PostPaymentIntentsIntentRequestBodyPaymentMethodData'Fpx'
PostPaymentIntentsIntentRequestBodyPaymentMethodData'Fpx' :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'Fpx'Bank' -> PostPaymentIntentsIntentRequestBodyPaymentMethodData'Fpx'
-- | bank
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsIntentRequestBodyPaymentMethodData'Fpx'Bank] :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'Fpx' -> PostPaymentIntentsIntentRequestBodyPaymentMethodData'Fpx'Bank'
-- | Create a new
-- PostPaymentIntentsIntentRequestBodyPaymentMethodData'Fpx' with
-- all required fields.
mkPostPaymentIntentsIntentRequestBodyPaymentMethodData'Fpx' :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'Fpx'Bank' -> PostPaymentIntentsIntentRequestBodyPaymentMethodData'Fpx'
-- | Defines the enum schema located at
-- paths./v1/payment_intents/{intent}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_data.properties.fpx.properties.bank
-- in the specification.
data PostPaymentIntentsIntentRequestBodyPaymentMethodData'Fpx'Bank'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostPaymentIntentsIntentRequestBodyPaymentMethodData'Fpx'Bank'Other :: Value -> PostPaymentIntentsIntentRequestBodyPaymentMethodData'Fpx'Bank'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostPaymentIntentsIntentRequestBodyPaymentMethodData'Fpx'Bank'Typed :: Text -> PostPaymentIntentsIntentRequestBodyPaymentMethodData'Fpx'Bank'
-- | Represents the JSON value "affin_bank"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'Fpx'Bank'EnumAffinBank :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'Fpx'Bank'
-- | Represents the JSON value "alliance_bank"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'Fpx'Bank'EnumAllianceBank :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'Fpx'Bank'
-- | Represents the JSON value "ambank"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'Fpx'Bank'EnumAmbank :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'Fpx'Bank'
-- | Represents the JSON value "bank_islam"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'Fpx'Bank'EnumBankIslam :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'Fpx'Bank'
-- | Represents the JSON value "bank_muamalat"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'Fpx'Bank'EnumBankMuamalat :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'Fpx'Bank'
-- | Represents the JSON value "bank_rakyat"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'Fpx'Bank'EnumBankRakyat :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'Fpx'Bank'
-- | Represents the JSON value "bsn"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'Fpx'Bank'EnumBsn :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'Fpx'Bank'
-- | Represents the JSON value "cimb"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'Fpx'Bank'EnumCimb :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'Fpx'Bank'
-- | Represents the JSON value "deutsche_bank"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'Fpx'Bank'EnumDeutscheBank :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'Fpx'Bank'
-- | Represents the JSON value "hong_leong_bank"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'Fpx'Bank'EnumHongLeongBank :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'Fpx'Bank'
-- | Represents the JSON value "hsbc"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'Fpx'Bank'EnumHsbc :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'Fpx'Bank'
-- | Represents the JSON value "kfh"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'Fpx'Bank'EnumKfh :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'Fpx'Bank'
-- | Represents the JSON value "maybank2e"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'Fpx'Bank'EnumMaybank2e :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'Fpx'Bank'
-- | Represents the JSON value "maybank2u"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'Fpx'Bank'EnumMaybank2u :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'Fpx'Bank'
-- | Represents the JSON value "ocbc"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'Fpx'Bank'EnumOcbc :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'Fpx'Bank'
-- | Represents the JSON value "pb_enterprise"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'Fpx'Bank'EnumPbEnterprise :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'Fpx'Bank'
-- | Represents the JSON value "public_bank"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'Fpx'Bank'EnumPublicBank :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'Fpx'Bank'
-- | Represents the JSON value "rhb"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'Fpx'Bank'EnumRhb :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'Fpx'Bank'
-- | Represents the JSON value "standard_chartered"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'Fpx'Bank'EnumStandardChartered :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'Fpx'Bank'
-- | Represents the JSON value "uob"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'Fpx'Bank'EnumUob :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'Fpx'Bank'
-- | Defines the object schema located at
-- paths./v1/payment_intents/{intent}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_data.properties.ideal
-- in the specification.
data PostPaymentIntentsIntentRequestBodyPaymentMethodData'Ideal'
PostPaymentIntentsIntentRequestBodyPaymentMethodData'Ideal' :: Maybe PostPaymentIntentsIntentRequestBodyPaymentMethodData'Ideal'Bank' -> PostPaymentIntentsIntentRequestBodyPaymentMethodData'Ideal'
-- | bank
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsIntentRequestBodyPaymentMethodData'Ideal'Bank] :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'Ideal' -> Maybe PostPaymentIntentsIntentRequestBodyPaymentMethodData'Ideal'Bank'
-- | Create a new
-- PostPaymentIntentsIntentRequestBodyPaymentMethodData'Ideal'
-- with all required fields.
mkPostPaymentIntentsIntentRequestBodyPaymentMethodData'Ideal' :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'Ideal'
-- | Defines the enum schema located at
-- paths./v1/payment_intents/{intent}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_data.properties.ideal.properties.bank
-- in the specification.
data PostPaymentIntentsIntentRequestBodyPaymentMethodData'Ideal'Bank'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostPaymentIntentsIntentRequestBodyPaymentMethodData'Ideal'Bank'Other :: Value -> PostPaymentIntentsIntentRequestBodyPaymentMethodData'Ideal'Bank'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostPaymentIntentsIntentRequestBodyPaymentMethodData'Ideal'Bank'Typed :: Text -> PostPaymentIntentsIntentRequestBodyPaymentMethodData'Ideal'Bank'
-- | Represents the JSON value "abn_amro"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'Ideal'Bank'EnumAbnAmro :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'Ideal'Bank'
-- | Represents the JSON value "asn_bank"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'Ideal'Bank'EnumAsnBank :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'Ideal'Bank'
-- | Represents the JSON value "bunq"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'Ideal'Bank'EnumBunq :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'Ideal'Bank'
-- | Represents the JSON value "handelsbanken"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'Ideal'Bank'EnumHandelsbanken :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'Ideal'Bank'
-- | Represents the JSON value "ing"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'Ideal'Bank'EnumIng :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'Ideal'Bank'
-- | Represents the JSON value "knab"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'Ideal'Bank'EnumKnab :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'Ideal'Bank'
-- | Represents the JSON value "moneyou"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'Ideal'Bank'EnumMoneyou :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'Ideal'Bank'
-- | Represents the JSON value "rabobank"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'Ideal'Bank'EnumRabobank :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'Ideal'Bank'
-- | Represents the JSON value "regiobank"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'Ideal'Bank'EnumRegiobank :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'Ideal'Bank'
-- | Represents the JSON value "revolut"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'Ideal'Bank'EnumRevolut :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'Ideal'Bank'
-- | Represents the JSON value "sns_bank"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'Ideal'Bank'EnumSnsBank :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'Ideal'Bank'
-- | Represents the JSON value "triodos_bank"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'Ideal'Bank'EnumTriodosBank :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'Ideal'Bank'
-- | Represents the JSON value "van_lanschot"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'Ideal'Bank'EnumVanLanschot :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'Ideal'Bank'
-- | Defines the object schema located at
-- paths./v1/payment_intents/{intent}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_data.properties.p24
-- in the specification.
data PostPaymentIntentsIntentRequestBodyPaymentMethodData'P24'
PostPaymentIntentsIntentRequestBodyPaymentMethodData'P24' :: Maybe PostPaymentIntentsIntentRequestBodyPaymentMethodData'P24'Bank' -> PostPaymentIntentsIntentRequestBodyPaymentMethodData'P24'
-- | bank
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsIntentRequestBodyPaymentMethodData'P24'Bank] :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'P24' -> Maybe PostPaymentIntentsIntentRequestBodyPaymentMethodData'P24'Bank'
-- | Create a new
-- PostPaymentIntentsIntentRequestBodyPaymentMethodData'P24' with
-- all required fields.
mkPostPaymentIntentsIntentRequestBodyPaymentMethodData'P24' :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'P24'
-- | Defines the enum schema located at
-- paths./v1/payment_intents/{intent}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_data.properties.p24.properties.bank
-- in the specification.
data PostPaymentIntentsIntentRequestBodyPaymentMethodData'P24'Bank'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostPaymentIntentsIntentRequestBodyPaymentMethodData'P24'Bank'Other :: Value -> PostPaymentIntentsIntentRequestBodyPaymentMethodData'P24'Bank'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostPaymentIntentsIntentRequestBodyPaymentMethodData'P24'Bank'Typed :: Text -> PostPaymentIntentsIntentRequestBodyPaymentMethodData'P24'Bank'
-- | Represents the JSON value "alior_bank"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'P24'Bank'EnumAliorBank :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'P24'Bank'
-- | Represents the JSON value "bank_millennium"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'P24'Bank'EnumBankMillennium :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'P24'Bank'
-- | Represents the JSON value "bank_nowy_bfg_sa"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'P24'Bank'EnumBankNowyBfgSa :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'P24'Bank'
-- | Represents the JSON value "bank_pekao_sa"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'P24'Bank'EnumBankPekaoSa :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'P24'Bank'
-- | Represents the JSON value "banki_spbdzielcze"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'P24'Bank'EnumBankiSpbdzielcze :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'P24'Bank'
-- | Represents the JSON value "blik"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'P24'Bank'EnumBlik :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'P24'Bank'
-- | Represents the JSON value "bnp_paribas"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'P24'Bank'EnumBnpParibas :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'P24'Bank'
-- | Represents the JSON value "boz"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'P24'Bank'EnumBoz :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'P24'Bank'
-- | Represents the JSON value "citi_handlowy"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'P24'Bank'EnumCitiHandlowy :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'P24'Bank'
-- | Represents the JSON value "credit_agricole"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'P24'Bank'EnumCreditAgricole :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'P24'Bank'
-- | Represents the JSON value "envelobank"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'P24'Bank'EnumEnvelobank :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'P24'Bank'
-- | Represents the JSON value "etransfer_pocztowy24"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'P24'Bank'EnumEtransferPocztowy24 :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'P24'Bank'
-- | Represents the JSON value "getin_bank"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'P24'Bank'EnumGetinBank :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'P24'Bank'
-- | Represents the JSON value "ideabank"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'P24'Bank'EnumIdeabank :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'P24'Bank'
-- | Represents the JSON value "ing"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'P24'Bank'EnumIng :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'P24'Bank'
-- | Represents the JSON value "inteligo"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'P24'Bank'EnumInteligo :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'P24'Bank'
-- | Represents the JSON value "mbank_mtransfer"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'P24'Bank'EnumMbankMtransfer :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'P24'Bank'
-- | Represents the JSON value "nest_przelew"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'P24'Bank'EnumNestPrzelew :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'P24'Bank'
-- | Represents the JSON value "noble_pay"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'P24'Bank'EnumNoblePay :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'P24'Bank'
-- | Represents the JSON value "pbac_z_ipko"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'P24'Bank'EnumPbacZIpko :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'P24'Bank'
-- | Represents the JSON value "plus_bank"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'P24'Bank'EnumPlusBank :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'P24'Bank'
-- | Represents the JSON value "santander_przelew24"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'P24'Bank'EnumSantanderPrzelew24 :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'P24'Bank'
-- | Represents the JSON value "tmobile_usbugi_bankowe"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'P24'Bank'EnumTmobileUsbugiBankowe :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'P24'Bank'
-- | Represents the JSON value "toyota_bank"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'P24'Bank'EnumToyotaBank :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'P24'Bank'
-- | Represents the JSON value "volkswagen_bank"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'P24'Bank'EnumVolkswagenBank :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'P24'Bank'
-- | Defines the object schema located at
-- paths./v1/payment_intents/{intent}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_data.properties.sepa_debit
-- in the specification.
data PostPaymentIntentsIntentRequestBodyPaymentMethodData'SepaDebit'
PostPaymentIntentsIntentRequestBodyPaymentMethodData'SepaDebit' :: Text -> PostPaymentIntentsIntentRequestBodyPaymentMethodData'SepaDebit'
-- | iban
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsIntentRequestBodyPaymentMethodData'SepaDebit'Iban] :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'SepaDebit' -> Text
-- | Create a new
-- PostPaymentIntentsIntentRequestBodyPaymentMethodData'SepaDebit'
-- with all required fields.
mkPostPaymentIntentsIntentRequestBodyPaymentMethodData'SepaDebit' :: Text -> PostPaymentIntentsIntentRequestBodyPaymentMethodData'SepaDebit'
-- | Defines the object schema located at
-- paths./v1/payment_intents/{intent}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_data.properties.sofort
-- in the specification.
data PostPaymentIntentsIntentRequestBodyPaymentMethodData'Sofort'
PostPaymentIntentsIntentRequestBodyPaymentMethodData'Sofort' :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'Sofort'Country' -> PostPaymentIntentsIntentRequestBodyPaymentMethodData'Sofort'
-- | country
[postPaymentIntentsIntentRequestBodyPaymentMethodData'Sofort'Country] :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'Sofort' -> PostPaymentIntentsIntentRequestBodyPaymentMethodData'Sofort'Country'
-- | Create a new
-- PostPaymentIntentsIntentRequestBodyPaymentMethodData'Sofort'
-- with all required fields.
mkPostPaymentIntentsIntentRequestBodyPaymentMethodData'Sofort' :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'Sofort'Country' -> PostPaymentIntentsIntentRequestBodyPaymentMethodData'Sofort'
-- | Defines the enum schema located at
-- paths./v1/payment_intents/{intent}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_data.properties.sofort.properties.country
-- in the specification.
data PostPaymentIntentsIntentRequestBodyPaymentMethodData'Sofort'Country'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostPaymentIntentsIntentRequestBodyPaymentMethodData'Sofort'Country'Other :: Value -> PostPaymentIntentsIntentRequestBodyPaymentMethodData'Sofort'Country'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostPaymentIntentsIntentRequestBodyPaymentMethodData'Sofort'Country'Typed :: Text -> PostPaymentIntentsIntentRequestBodyPaymentMethodData'Sofort'Country'
-- | Represents the JSON value AT
PostPaymentIntentsIntentRequestBodyPaymentMethodData'Sofort'Country'EnumAT :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'Sofort'Country'
-- | Represents the JSON value BE
PostPaymentIntentsIntentRequestBodyPaymentMethodData'Sofort'Country'EnumBE :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'Sofort'Country'
-- | Represents the JSON value DE
PostPaymentIntentsIntentRequestBodyPaymentMethodData'Sofort'Country'EnumDE :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'Sofort'Country'
-- | Represents the JSON value ES
PostPaymentIntentsIntentRequestBodyPaymentMethodData'Sofort'Country'EnumES :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'Sofort'Country'
-- | Represents the JSON value IT
PostPaymentIntentsIntentRequestBodyPaymentMethodData'Sofort'Country'EnumIT :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'Sofort'Country'
-- | Represents the JSON value NL
PostPaymentIntentsIntentRequestBodyPaymentMethodData'Sofort'Country'EnumNL :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'Sofort'Country'
-- | Defines the enum schema located at
-- paths./v1/payment_intents/{intent}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_data.properties.type
-- in the specification.
data PostPaymentIntentsIntentRequestBodyPaymentMethodData'Type'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostPaymentIntentsIntentRequestBodyPaymentMethodData'Type'Other :: Value -> PostPaymentIntentsIntentRequestBodyPaymentMethodData'Type'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostPaymentIntentsIntentRequestBodyPaymentMethodData'Type'Typed :: Text -> PostPaymentIntentsIntentRequestBodyPaymentMethodData'Type'
-- | Represents the JSON value "acss_debit"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'Type'EnumAcssDebit :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'Type'
-- | Represents the JSON value "afterpay_clearpay"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'Type'EnumAfterpayClearpay :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'Type'
-- | Represents the JSON value "alipay"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'Type'EnumAlipay :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'Type'
-- | Represents the JSON value "au_becs_debit"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'Type'EnumAuBecsDebit :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'Type'
-- | Represents the JSON value "bacs_debit"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'Type'EnumBacsDebit :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'Type'
-- | Represents the JSON value "bancontact"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'Type'EnumBancontact :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'Type'
-- | Represents the JSON value "boleto"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'Type'EnumBoleto :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'Type'
-- | Represents the JSON value "eps"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'Type'EnumEps :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'Type'
-- | Represents the JSON value "fpx"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'Type'EnumFpx :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'Type'
-- | Represents the JSON value "giropay"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'Type'EnumGiropay :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'Type'
-- | Represents the JSON value "grabpay"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'Type'EnumGrabpay :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'Type'
-- | Represents the JSON value "ideal"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'Type'EnumIdeal :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'Type'
-- | Represents the JSON value "oxxo"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'Type'EnumOxxo :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'Type'
-- | Represents the JSON value "p24"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'Type'EnumP24 :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'Type'
-- | Represents the JSON value "sepa_debit"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'Type'EnumSepaDebit :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'Type'
-- | Represents the JSON value "sofort"
PostPaymentIntentsIntentRequestBodyPaymentMethodData'Type'EnumSofort :: PostPaymentIntentsIntentRequestBodyPaymentMethodData'Type'
-- | Defines the object schema located at
-- paths./v1/payment_intents/{intent}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options
-- in the specification.
--
-- Payment-method-specific configuration for this PaymentIntent.
data PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'
PostPaymentIntentsIntentRequestBodyPaymentMethodOptions' :: Maybe PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'Variants -> Maybe PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AfterpayClearpay'Variants -> Maybe PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Alipay'Variants -> Maybe PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Bancontact'Variants -> Maybe PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Boleto'Variants -> Maybe PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'Variants -> Maybe PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'CardPresent'Variants -> Maybe PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Oxxo'Variants -> Maybe PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'P24'Variants -> Maybe PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'SepaDebit'Variants -> Maybe PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Sofort'Variants -> PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'
-- | acss_debit
[postPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit] :: PostPaymentIntentsIntentRequestBodyPaymentMethodOptions' -> Maybe PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'Variants
-- | afterpay_clearpay
[postPaymentIntentsIntentRequestBodyPaymentMethodOptions'AfterpayClearpay] :: PostPaymentIntentsIntentRequestBodyPaymentMethodOptions' -> Maybe PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AfterpayClearpay'Variants
-- | alipay
[postPaymentIntentsIntentRequestBodyPaymentMethodOptions'Alipay] :: PostPaymentIntentsIntentRequestBodyPaymentMethodOptions' -> Maybe PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Alipay'Variants
-- | bancontact
[postPaymentIntentsIntentRequestBodyPaymentMethodOptions'Bancontact] :: PostPaymentIntentsIntentRequestBodyPaymentMethodOptions' -> Maybe PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Bancontact'Variants
-- | boleto
[postPaymentIntentsIntentRequestBodyPaymentMethodOptions'Boleto] :: PostPaymentIntentsIntentRequestBodyPaymentMethodOptions' -> Maybe PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Boleto'Variants
-- | card
[postPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card] :: PostPaymentIntentsIntentRequestBodyPaymentMethodOptions' -> Maybe PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'Variants
-- | card_present
[postPaymentIntentsIntentRequestBodyPaymentMethodOptions'CardPresent] :: PostPaymentIntentsIntentRequestBodyPaymentMethodOptions' -> Maybe PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'CardPresent'Variants
-- | oxxo
[postPaymentIntentsIntentRequestBodyPaymentMethodOptions'Oxxo] :: PostPaymentIntentsIntentRequestBodyPaymentMethodOptions' -> Maybe PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Oxxo'Variants
-- | p24
[postPaymentIntentsIntentRequestBodyPaymentMethodOptions'P24] :: PostPaymentIntentsIntentRequestBodyPaymentMethodOptions' -> Maybe PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'P24'Variants
-- | sepa_debit
[postPaymentIntentsIntentRequestBodyPaymentMethodOptions'SepaDebit] :: PostPaymentIntentsIntentRequestBodyPaymentMethodOptions' -> Maybe PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'SepaDebit'Variants
-- | sofort
[postPaymentIntentsIntentRequestBodyPaymentMethodOptions'Sofort] :: PostPaymentIntentsIntentRequestBodyPaymentMethodOptions' -> Maybe PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Sofort'Variants
-- | Create a new
-- PostPaymentIntentsIntentRequestBodyPaymentMethodOptions' with
-- all required fields.
mkPostPaymentIntentsIntentRequestBodyPaymentMethodOptions' :: PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'
-- | Defines the object schema located at
-- paths./v1/payment_intents/{intent}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.acss_debit.anyOf
-- in the specification.
data PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'OneOf1
PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'OneOf1 :: Maybe PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions' -> Maybe PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'OneOf1VerificationMethod' -> PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'OneOf1
-- | mandate_options
[postPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions] :: PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'OneOf1 -> Maybe PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'
-- | verification_method
[postPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'OneOf1VerificationMethod] :: PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'OneOf1 -> Maybe PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'OneOf1VerificationMethod'
-- | Create a new
-- PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'OneOf1
-- with all required fields.
mkPostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'OneOf1 :: PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'OneOf1
-- | Defines the object schema located at
-- paths./v1/payment_intents/{intent}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.acss_debit.anyOf.properties.mandate_options
-- in the specification.
data PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'
PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions' :: Maybe PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'CustomMandateUrl'Variants -> Maybe Text -> Maybe PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'PaymentSchedule' -> Maybe PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'TransactionType' -> PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'
-- | custom_mandate_url
[postPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'CustomMandateUrl] :: PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions' -> Maybe PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'CustomMandateUrl'Variants
-- | interval_description
--
-- Constraints:
--
--
-- - Maximum length of 500
--
[postPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'IntervalDescription] :: PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions' -> Maybe Text
-- | payment_schedule
[postPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'PaymentSchedule] :: PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions' -> Maybe PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'PaymentSchedule'
-- | transaction_type
[postPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'TransactionType] :: PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions' -> Maybe PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'TransactionType'
-- | Create a new
-- PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'
-- with all required fields.
mkPostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions' :: PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'
-- | Defines the oneOf schema located at
-- paths./v1/payment_intents/{intent}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.acss_debit.anyOf.properties.mandate_options.properties.custom_mandate_url.anyOf
-- in the specification.
data PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'CustomMandateUrl'Variants
-- | Represents the JSON value ""
PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'CustomMandateUrl'EmptyString :: PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'CustomMandateUrl'Variants
PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'CustomMandateUrl'Text :: Text -> PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'CustomMandateUrl'Variants
-- | Defines the enum schema located at
-- paths./v1/payment_intents/{intent}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.acss_debit.anyOf.properties.mandate_options.properties.payment_schedule
-- in the specification.
data PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'PaymentSchedule'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'PaymentSchedule'Other :: Value -> PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'PaymentSchedule'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'PaymentSchedule'Typed :: Text -> PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'PaymentSchedule'
-- | Represents the JSON value "combined"
PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'PaymentSchedule'EnumCombined :: PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'PaymentSchedule'
-- | Represents the JSON value "interval"
PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'PaymentSchedule'EnumInterval :: PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'PaymentSchedule'
-- | Represents the JSON value "sporadic"
PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'PaymentSchedule'EnumSporadic :: PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'PaymentSchedule'
-- | Defines the enum schema located at
-- paths./v1/payment_intents/{intent}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.acss_debit.anyOf.properties.mandate_options.properties.transaction_type
-- in the specification.
data PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'TransactionType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'TransactionType'Other :: Value -> PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'TransactionType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'TransactionType'Typed :: Text -> PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'TransactionType'
-- | Represents the JSON value "business"
PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'TransactionType'EnumBusiness :: PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'TransactionType'
-- | Represents the JSON value "personal"
PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'TransactionType'EnumPersonal :: PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'TransactionType'
-- | Defines the enum schema located at
-- paths./v1/payment_intents/{intent}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.acss_debit.anyOf.properties.verification_method
-- in the specification.
data PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'OneOf1VerificationMethod'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'OneOf1VerificationMethod'Other :: Value -> PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'OneOf1VerificationMethod'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'OneOf1VerificationMethod'Typed :: Text -> PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'OneOf1VerificationMethod'
-- | Represents the JSON value "automatic"
PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'OneOf1VerificationMethod'EnumAutomatic :: PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'OneOf1VerificationMethod'
-- | Represents the JSON value "instant"
PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'OneOf1VerificationMethod'EnumInstant :: PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'OneOf1VerificationMethod'
-- | Represents the JSON value "microdeposits"
PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'OneOf1VerificationMethod'EnumMicrodeposits :: PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'OneOf1VerificationMethod'
-- | Defines the oneOf schema located at
-- paths./v1/payment_intents/{intent}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.acss_debit.anyOf
-- in the specification.
data PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'Variants
-- | Represents the JSON value ""
PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'EmptyString :: PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'Variants
PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'OneOf1 :: PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'OneOf1 -> PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'Variants
-- | Defines the object schema located at
-- paths./v1/payment_intents/{intent}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.afterpay_clearpay.anyOf
-- in the specification.
data PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AfterpayClearpay'OneOf1
PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AfterpayClearpay'OneOf1 :: Maybe Text -> PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AfterpayClearpay'OneOf1
-- | reference
--
-- Constraints:
--
--
-- - Maximum length of 128
--
[postPaymentIntentsIntentRequestBodyPaymentMethodOptions'AfterpayClearpay'OneOf1Reference] :: PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AfterpayClearpay'OneOf1 -> Maybe Text
-- | Create a new
-- PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AfterpayClearpay'OneOf1
-- with all required fields.
mkPostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AfterpayClearpay'OneOf1 :: PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AfterpayClearpay'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/payment_intents/{intent}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.afterpay_clearpay.anyOf
-- in the specification.
data PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AfterpayClearpay'Variants
-- | Represents the JSON value ""
PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AfterpayClearpay'EmptyString :: PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AfterpayClearpay'Variants
PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AfterpayClearpay'PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AfterpayClearpay'OneOf1 :: PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AfterpayClearpay'OneOf1 -> PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AfterpayClearpay'Variants
-- | Defines the oneOf schema located at
-- paths./v1/payment_intents/{intent}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.alipay.anyOf
-- in the specification.
data PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Alipay'Variants
-- | Represents the JSON value ""
PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Alipay'EmptyString :: PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Alipay'Variants
PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Alipay'Object :: Object -> PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Alipay'Variants
-- | Defines the object schema located at
-- paths./v1/payment_intents/{intent}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.bancontact.anyOf
-- in the specification.
data PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Bancontact'OneOf1
PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Bancontact'OneOf1 :: Maybe PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Bancontact'OneOf1PreferredLanguage' -> PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Bancontact'OneOf1
-- | preferred_language
[postPaymentIntentsIntentRequestBodyPaymentMethodOptions'Bancontact'OneOf1PreferredLanguage] :: PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Bancontact'OneOf1 -> Maybe PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Bancontact'OneOf1PreferredLanguage'
-- | Create a new
-- PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Bancontact'OneOf1
-- with all required fields.
mkPostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Bancontact'OneOf1 :: PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Bancontact'OneOf1
-- | Defines the enum schema located at
-- paths./v1/payment_intents/{intent}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.bancontact.anyOf.properties.preferred_language
-- in the specification.
data PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Bancontact'OneOf1PreferredLanguage'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Bancontact'OneOf1PreferredLanguage'Other :: Value -> PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Bancontact'OneOf1PreferredLanguage'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Bancontact'OneOf1PreferredLanguage'Typed :: Text -> PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Bancontact'OneOf1PreferredLanguage'
-- | Represents the JSON value "de"
PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Bancontact'OneOf1PreferredLanguage'EnumDe :: PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Bancontact'OneOf1PreferredLanguage'
-- | Represents the JSON value "en"
PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Bancontact'OneOf1PreferredLanguage'EnumEn :: PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Bancontact'OneOf1PreferredLanguage'
-- | Represents the JSON value "fr"
PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Bancontact'OneOf1PreferredLanguage'EnumFr :: PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Bancontact'OneOf1PreferredLanguage'
-- | Represents the JSON value "nl"
PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Bancontact'OneOf1PreferredLanguage'EnumNl :: PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Bancontact'OneOf1PreferredLanguage'
-- | Defines the oneOf schema located at
-- paths./v1/payment_intents/{intent}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.bancontact.anyOf
-- in the specification.
data PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Bancontact'Variants
-- | Represents the JSON value ""
PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Bancontact'EmptyString :: PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Bancontact'Variants
PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Bancontact'PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Bancontact'OneOf1 :: PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Bancontact'OneOf1 -> PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Bancontact'Variants
-- | Defines the object schema located at
-- paths./v1/payment_intents/{intent}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.boleto.anyOf
-- in the specification.
data PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Boleto'OneOf1
PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Boleto'OneOf1 :: Maybe Int -> PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Boleto'OneOf1
-- | expires_after_days
[postPaymentIntentsIntentRequestBodyPaymentMethodOptions'Boleto'OneOf1ExpiresAfterDays] :: PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Boleto'OneOf1 -> Maybe Int
-- | Create a new
-- PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Boleto'OneOf1
-- with all required fields.
mkPostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Boleto'OneOf1 :: PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Boleto'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/payment_intents/{intent}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.boleto.anyOf
-- in the specification.
data PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Boleto'Variants
-- | Represents the JSON value ""
PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Boleto'EmptyString :: PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Boleto'Variants
PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Boleto'PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Boleto'OneOf1 :: PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Boleto'OneOf1 -> PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Boleto'Variants
-- | Defines the object schema located at
-- paths./v1/payment_intents/{intent}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.card.anyOf
-- in the specification.
data PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1
PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1 :: Maybe Text -> Maybe PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1Installments' -> Maybe PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1Network' -> Maybe PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1RequestThreeDSecure' -> PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1
-- | cvc_token
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1CvcToken] :: PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1 -> Maybe Text
-- | installments
[postPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1Installments] :: PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1 -> Maybe PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1Installments'
-- | network
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1Network] :: PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1 -> Maybe PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1Network'
-- | request_three_d_secure
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1RequestThreeDSecure] :: PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1 -> Maybe PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1RequestThreeDSecure'
-- | Create a new
-- PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1
-- with all required fields.
mkPostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1 :: PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1
-- | Defines the object schema located at
-- paths./v1/payment_intents/{intent}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.card.anyOf.properties.installments
-- in the specification.
data PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1Installments'
PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1Installments' :: Maybe Bool -> Maybe PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1Installments'Plan'Variants -> PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1Installments'
-- | enabled
[postPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1Installments'Enabled] :: PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1Installments' -> Maybe Bool
-- | plan
[postPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1Installments'Plan] :: PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1Installments' -> Maybe PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1Installments'Plan'Variants
-- | Create a new
-- PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1Installments'
-- with all required fields.
mkPostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1Installments' :: PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1Installments'
-- | Defines the object schema located at
-- paths./v1/payment_intents/{intent}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.card.anyOf.properties.installments.properties.plan.anyOf
-- in the specification.
data PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1Installments'Plan'OneOf1
PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1Installments'Plan'OneOf1 :: Int -> PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1Installments'Plan'OneOf1
-- | count
[postPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1Installments'Plan'OneOf1Count] :: PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1Installments'Plan'OneOf1 -> Int
-- | Create a new
-- PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1Installments'Plan'OneOf1
-- with all required fields.
mkPostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1Installments'Plan'OneOf1 :: Int -> PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1Installments'Plan'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/payment_intents/{intent}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.card.anyOf.properties.installments.properties.plan.anyOf
-- in the specification.
data PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1Installments'Plan'Variants
-- | Represents the JSON value ""
PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1Installments'Plan'EmptyString :: PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1Installments'Plan'Variants
PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1Installments'Plan'PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1Installments'Plan'OneOf1 :: PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1Installments'Plan'OneOf1 -> PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1Installments'Plan'Variants
-- | Defines the enum schema located at
-- paths./v1/payment_intents/{intent}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.card.anyOf.properties.network
-- in the specification.
data PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1Network'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1Network'Other :: Value -> PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1Network'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1Network'Typed :: Text -> PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1Network'
-- | Represents the JSON value "amex"
PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1Network'EnumAmex :: PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1Network'
-- | Represents the JSON value "cartes_bancaires"
PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1Network'EnumCartesBancaires :: PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1Network'
-- | Represents the JSON value "diners"
PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1Network'EnumDiners :: PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1Network'
-- | Represents the JSON value "discover"
PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1Network'EnumDiscover :: PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1Network'
-- | Represents the JSON value "interac"
PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1Network'EnumInterac :: PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1Network'
-- | Represents the JSON value "jcb"
PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1Network'EnumJcb :: PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1Network'
-- | Represents the JSON value "mastercard"
PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1Network'EnumMastercard :: PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1Network'
-- | Represents the JSON value "unionpay"
PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1Network'EnumUnionpay :: PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1Network'
-- | Represents the JSON value "unknown"
PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1Network'EnumUnknown :: PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1Network'
-- | Represents the JSON value "visa"
PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1Network'EnumVisa :: PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1Network'
-- | Defines the enum schema located at
-- paths./v1/payment_intents/{intent}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.card.anyOf.properties.request_three_d_secure
-- in the specification.
data PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1RequestThreeDSecure'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1RequestThreeDSecure'Other :: Value -> PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1RequestThreeDSecure'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1RequestThreeDSecure'Typed :: Text -> PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1RequestThreeDSecure'
-- | Represents the JSON value "any"
PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1RequestThreeDSecure'EnumAny :: PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1RequestThreeDSecure'
-- | Represents the JSON value "automatic"
PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1RequestThreeDSecure'EnumAutomatic :: PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1RequestThreeDSecure'
-- | Defines the oneOf schema located at
-- paths./v1/payment_intents/{intent}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.card.anyOf
-- in the specification.
data PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'Variants
-- | Represents the JSON value ""
PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'EmptyString :: PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'Variants
PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1 :: PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1 -> PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'Variants
-- | Defines the oneOf schema located at
-- paths./v1/payment_intents/{intent}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.card_present.anyOf
-- in the specification.
data PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'CardPresent'Variants
-- | Represents the JSON value ""
PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'CardPresent'EmptyString :: PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'CardPresent'Variants
PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'CardPresent'Object :: Object -> PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'CardPresent'Variants
-- | Defines the object schema located at
-- paths./v1/payment_intents/{intent}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.oxxo.anyOf
-- in the specification.
data PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Oxxo'OneOf1
PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Oxxo'OneOf1 :: Maybe Int -> PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Oxxo'OneOf1
-- | expires_after_days
[postPaymentIntentsIntentRequestBodyPaymentMethodOptions'Oxxo'OneOf1ExpiresAfterDays] :: PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Oxxo'OneOf1 -> Maybe Int
-- | Create a new
-- PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Oxxo'OneOf1
-- with all required fields.
mkPostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Oxxo'OneOf1 :: PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Oxxo'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/payment_intents/{intent}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.oxxo.anyOf
-- in the specification.
data PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Oxxo'Variants
-- | Represents the JSON value ""
PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Oxxo'EmptyString :: PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Oxxo'Variants
PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Oxxo'PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Oxxo'OneOf1 :: PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Oxxo'OneOf1 -> PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Oxxo'Variants
-- | Defines the object schema located at
-- paths./v1/payment_intents/{intent}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.p24.anyOf
-- in the specification.
data PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'P24'OneOf1
PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'P24'OneOf1 :: Maybe Bool -> PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'P24'OneOf1
-- | tos_shown_and_accepted
[postPaymentIntentsIntentRequestBodyPaymentMethodOptions'P24'OneOf1TosShownAndAccepted] :: PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'P24'OneOf1 -> Maybe Bool
-- | Create a new
-- PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'P24'OneOf1
-- with all required fields.
mkPostPaymentIntentsIntentRequestBodyPaymentMethodOptions'P24'OneOf1 :: PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'P24'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/payment_intents/{intent}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.p24.anyOf
-- in the specification.
data PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'P24'Variants
-- | Represents the JSON value ""
PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'P24'EmptyString :: PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'P24'Variants
PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'P24'PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'P24'OneOf1 :: PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'P24'OneOf1 -> PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'P24'Variants
-- | Defines the object schema located at
-- paths./v1/payment_intents/{intent}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.sepa_debit.anyOf
-- in the specification.
data PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'SepaDebit'OneOf1
PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'SepaDebit'OneOf1 :: Maybe Object -> PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'SepaDebit'OneOf1
-- | mandate_options
[postPaymentIntentsIntentRequestBodyPaymentMethodOptions'SepaDebit'OneOf1MandateOptions] :: PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'SepaDebit'OneOf1 -> Maybe Object
-- | Create a new
-- PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'SepaDebit'OneOf1
-- with all required fields.
mkPostPaymentIntentsIntentRequestBodyPaymentMethodOptions'SepaDebit'OneOf1 :: PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'SepaDebit'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/payment_intents/{intent}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.sepa_debit.anyOf
-- in the specification.
data PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'SepaDebit'Variants
-- | Represents the JSON value ""
PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'SepaDebit'EmptyString :: PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'SepaDebit'Variants
PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'SepaDebit'PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'SepaDebit'OneOf1 :: PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'SepaDebit'OneOf1 -> PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'SepaDebit'Variants
-- | Defines the object schema located at
-- paths./v1/payment_intents/{intent}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.sofort.anyOf
-- in the specification.
data PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Sofort'OneOf1
PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Sofort'OneOf1 :: Maybe PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Sofort'OneOf1PreferredLanguage' -> PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Sofort'OneOf1
-- | preferred_language
[postPaymentIntentsIntentRequestBodyPaymentMethodOptions'Sofort'OneOf1PreferredLanguage] :: PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Sofort'OneOf1 -> Maybe PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Sofort'OneOf1PreferredLanguage'
-- | Create a new
-- PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Sofort'OneOf1
-- with all required fields.
mkPostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Sofort'OneOf1 :: PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Sofort'OneOf1
-- | Defines the enum schema located at
-- paths./v1/payment_intents/{intent}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.sofort.anyOf.properties.preferred_language
-- in the specification.
data PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Sofort'OneOf1PreferredLanguage'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Sofort'OneOf1PreferredLanguage'Other :: Value -> PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Sofort'OneOf1PreferredLanguage'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Sofort'OneOf1PreferredLanguage'Typed :: Text -> PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Sofort'OneOf1PreferredLanguage'
-- | Represents the JSON value "de"
PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Sofort'OneOf1PreferredLanguage'EnumDe :: PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Sofort'OneOf1PreferredLanguage'
-- | Represents the JSON value "en"
PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Sofort'OneOf1PreferredLanguage'EnumEn :: PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Sofort'OneOf1PreferredLanguage'
-- | Represents the JSON value "es"
PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Sofort'OneOf1PreferredLanguage'EnumEs :: PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Sofort'OneOf1PreferredLanguage'
-- | Represents the JSON value "fr"
PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Sofort'OneOf1PreferredLanguage'EnumFr :: PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Sofort'OneOf1PreferredLanguage'
-- | Represents the JSON value "it"
PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Sofort'OneOf1PreferredLanguage'EnumIt :: PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Sofort'OneOf1PreferredLanguage'
-- | Represents the JSON value "nl"
PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Sofort'OneOf1PreferredLanguage'EnumNl :: PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Sofort'OneOf1PreferredLanguage'
-- | Represents the JSON value "pl"
PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Sofort'OneOf1PreferredLanguage'EnumPl :: PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Sofort'OneOf1PreferredLanguage'
-- | Defines the oneOf schema located at
-- paths./v1/payment_intents/{intent}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.sofort.anyOf
-- in the specification.
data PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Sofort'Variants
-- | Represents the JSON value ""
PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Sofort'EmptyString :: PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Sofort'Variants
PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Sofort'PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Sofort'OneOf1 :: PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Sofort'OneOf1 -> PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Sofort'Variants
-- | Defines the oneOf schema located at
-- paths./v1/payment_intents/{intent}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.receipt_email.anyOf
-- in the specification.
--
-- Email address that the receipt for the resulting payment will be sent
-- to. If `receipt_email` is specified for a payment in live mode, a
-- receipt will be sent regardless of your email settings.
data PostPaymentIntentsIntentRequestBodyReceiptEmail'Variants
-- | Represents the JSON value ""
PostPaymentIntentsIntentRequestBodyReceiptEmail'EmptyString :: PostPaymentIntentsIntentRequestBodyReceiptEmail'Variants
PostPaymentIntentsIntentRequestBodyReceiptEmail'Text :: Text -> PostPaymentIntentsIntentRequestBodyReceiptEmail'Variants
-- | Defines the enum schema located at
-- paths./v1/payment_intents/{intent}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.setup_future_usage
-- in the specification.
--
-- Indicates that you intend to make future payments with this
-- PaymentIntent's payment method.
--
-- Providing this parameter will attach the payment method to the
-- PaymentIntent's Customer, if present, after the PaymentIntent is
-- confirmed and any required actions from the user are complete. If no
-- Customer was provided, the payment method can still be attached
-- to a Customer after the transaction completes.
--
-- When processing card payments, Stripe also uses `setup_future_usage`
-- to dynamically optimize your payment flow and comply with regional
-- legislation and network rules, such as SCA.
--
-- If `setup_future_usage` is already set and you are performing a
-- request using a publishable key, you may only update the value from
-- `on_session` to `off_session`.
data PostPaymentIntentsIntentRequestBodySetupFutureUsage'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostPaymentIntentsIntentRequestBodySetupFutureUsage'Other :: Value -> PostPaymentIntentsIntentRequestBodySetupFutureUsage'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostPaymentIntentsIntentRequestBodySetupFutureUsage'Typed :: Text -> PostPaymentIntentsIntentRequestBodySetupFutureUsage'
-- | Represents the JSON value ""
PostPaymentIntentsIntentRequestBodySetupFutureUsage'EnumEmptyString :: PostPaymentIntentsIntentRequestBodySetupFutureUsage'
-- | Represents the JSON value "off_session"
PostPaymentIntentsIntentRequestBodySetupFutureUsage'EnumOffSession :: PostPaymentIntentsIntentRequestBodySetupFutureUsage'
-- | Represents the JSON value "on_session"
PostPaymentIntentsIntentRequestBodySetupFutureUsage'EnumOnSession :: PostPaymentIntentsIntentRequestBodySetupFutureUsage'
-- | Defines the object schema located at
-- paths./v1/payment_intents/{intent}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.shipping.anyOf
-- in the specification.
data PostPaymentIntentsIntentRequestBodyShipping'OneOf1
PostPaymentIntentsIntentRequestBodyShipping'OneOf1 :: PostPaymentIntentsIntentRequestBodyShipping'OneOf1Address' -> Maybe Text -> Text -> Maybe Text -> Maybe Text -> PostPaymentIntentsIntentRequestBodyShipping'OneOf1
-- | address
[postPaymentIntentsIntentRequestBodyShipping'OneOf1Address] :: PostPaymentIntentsIntentRequestBodyShipping'OneOf1 -> PostPaymentIntentsIntentRequestBodyShipping'OneOf1Address'
-- | carrier
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsIntentRequestBodyShipping'OneOf1Carrier] :: PostPaymentIntentsIntentRequestBodyShipping'OneOf1 -> Maybe Text
-- | name
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsIntentRequestBodyShipping'OneOf1Name] :: PostPaymentIntentsIntentRequestBodyShipping'OneOf1 -> Text
-- | phone
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsIntentRequestBodyShipping'OneOf1Phone] :: PostPaymentIntentsIntentRequestBodyShipping'OneOf1 -> Maybe Text
-- | tracking_number
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsIntentRequestBodyShipping'OneOf1TrackingNumber] :: PostPaymentIntentsIntentRequestBodyShipping'OneOf1 -> Maybe Text
-- | Create a new PostPaymentIntentsIntentRequestBodyShipping'OneOf1
-- with all required fields.
mkPostPaymentIntentsIntentRequestBodyShipping'OneOf1 :: PostPaymentIntentsIntentRequestBodyShipping'OneOf1Address' -> Text -> PostPaymentIntentsIntentRequestBodyShipping'OneOf1
-- | Defines the object schema located at
-- paths./v1/payment_intents/{intent}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.shipping.anyOf.properties.address
-- in the specification.
data PostPaymentIntentsIntentRequestBodyShipping'OneOf1Address'
PostPaymentIntentsIntentRequestBodyShipping'OneOf1Address' :: Maybe Text -> Maybe Text -> Text -> Maybe Text -> Maybe Text -> Maybe Text -> PostPaymentIntentsIntentRequestBodyShipping'OneOf1Address'
-- | city
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsIntentRequestBodyShipping'OneOf1Address'City] :: PostPaymentIntentsIntentRequestBodyShipping'OneOf1Address' -> Maybe Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsIntentRequestBodyShipping'OneOf1Address'Country] :: PostPaymentIntentsIntentRequestBodyShipping'OneOf1Address' -> Maybe Text
-- | line1
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsIntentRequestBodyShipping'OneOf1Address'Line1] :: PostPaymentIntentsIntentRequestBodyShipping'OneOf1Address' -> Text
-- | line2
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsIntentRequestBodyShipping'OneOf1Address'Line2] :: PostPaymentIntentsIntentRequestBodyShipping'OneOf1Address' -> Maybe Text
-- | postal_code
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsIntentRequestBodyShipping'OneOf1Address'PostalCode] :: PostPaymentIntentsIntentRequestBodyShipping'OneOf1Address' -> Maybe Text
-- | state
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsIntentRequestBodyShipping'OneOf1Address'State] :: PostPaymentIntentsIntentRequestBodyShipping'OneOf1Address' -> Maybe Text
-- | Create a new
-- PostPaymentIntentsIntentRequestBodyShipping'OneOf1Address' with
-- all required fields.
mkPostPaymentIntentsIntentRequestBodyShipping'OneOf1Address' :: Text -> PostPaymentIntentsIntentRequestBodyShipping'OneOf1Address'
-- | Defines the oneOf schema located at
-- paths./v1/payment_intents/{intent}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.shipping.anyOf
-- in the specification.
--
-- Shipping information for this PaymentIntent.
data PostPaymentIntentsIntentRequestBodyShipping'Variants
-- | Represents the JSON value ""
PostPaymentIntentsIntentRequestBodyShipping'EmptyString :: PostPaymentIntentsIntentRequestBodyShipping'Variants
PostPaymentIntentsIntentRequestBodyShipping'PostPaymentIntentsIntentRequestBodyShipping'OneOf1 :: PostPaymentIntentsIntentRequestBodyShipping'OneOf1 -> PostPaymentIntentsIntentRequestBodyShipping'Variants
-- | Defines the object schema located at
-- paths./v1/payment_intents/{intent}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.transfer_data
-- in the specification.
--
-- The parameters used to automatically create a Transfer when the
-- payment succeeds. For more information, see the PaymentIntents use
-- case for connected accounts.
data PostPaymentIntentsIntentRequestBodyTransferData'
PostPaymentIntentsIntentRequestBodyTransferData' :: Maybe Int -> PostPaymentIntentsIntentRequestBodyTransferData'
-- | amount
[postPaymentIntentsIntentRequestBodyTransferData'Amount] :: PostPaymentIntentsIntentRequestBodyTransferData' -> Maybe Int
-- | Create a new PostPaymentIntentsIntentRequestBodyTransferData'
-- with all required fields.
mkPostPaymentIntentsIntentRequestBodyTransferData' :: PostPaymentIntentsIntentRequestBodyTransferData'
-- | Represents a response of the operation
-- postPaymentIntentsIntent.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostPaymentIntentsIntentResponseError
-- is used.
data PostPaymentIntentsIntentResponse
-- | Means either no matching case available or a parse error
PostPaymentIntentsIntentResponseError :: String -> PostPaymentIntentsIntentResponse
-- | Successful response.
PostPaymentIntentsIntentResponse200 :: PaymentIntent -> PostPaymentIntentsIntentResponse
-- | Error response.
PostPaymentIntentsIntentResponseDefault :: Error -> PostPaymentIntentsIntentResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyApplicationFeeAmount'Variants
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyApplicationFeeAmount'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyMetadata'Variants
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyMetadata'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodData'AcssDebit'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodData'AcssDebit'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodData'AuBecsDebit'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodData'AuBecsDebit'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodData'BacsDebit'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodData'BacsDebit'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodData'BillingDetails'Address'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodData'BillingDetails'Address'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodData'BillingDetails'Address'Variants
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodData'BillingDetails'Address'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodData'BillingDetails'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodData'BillingDetails'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodData'Boleto'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodData'Boleto'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodData'Eps'Bank'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodData'Eps'Bank'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodData'Eps'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodData'Eps'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodData'Fpx'Bank'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodData'Fpx'Bank'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodData'Fpx'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodData'Fpx'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodData'Ideal'Bank'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodData'Ideal'Bank'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodData'Ideal'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodData'Ideal'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodData'P24'Bank'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodData'P24'Bank'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodData'P24'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodData'P24'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodData'SepaDebit'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodData'SepaDebit'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodData'Sofort'Country'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodData'Sofort'Country'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodData'Sofort'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodData'Sofort'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodData'Type'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodData'Type'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodData'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodData'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'CustomMandateUrl'Variants
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'CustomMandateUrl'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'PaymentSchedule'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'PaymentSchedule'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'TransactionType'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'TransactionType'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'OneOf1VerificationMethod'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'OneOf1VerificationMethod'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'Variants
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AfterpayClearpay'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AfterpayClearpay'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AfterpayClearpay'Variants
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AfterpayClearpay'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Alipay'Variants
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Alipay'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Bancontact'OneOf1PreferredLanguage'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Bancontact'OneOf1PreferredLanguage'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Bancontact'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Bancontact'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Bancontact'Variants
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Bancontact'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Boleto'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Boleto'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Boleto'Variants
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Boleto'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1Installments'Plan'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1Installments'Plan'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1Installments'Plan'Variants
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1Installments'Plan'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1Installments'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1Installments'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1Network'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1Network'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1RequestThreeDSecure'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1RequestThreeDSecure'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'Variants
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'CardPresent'Variants
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'CardPresent'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Oxxo'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Oxxo'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Oxxo'Variants
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Oxxo'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'P24'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'P24'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'P24'Variants
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'P24'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'SepaDebit'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'SepaDebit'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'SepaDebit'Variants
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'SepaDebit'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Sofort'OneOf1PreferredLanguage'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Sofort'OneOf1PreferredLanguage'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Sofort'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Sofort'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Sofort'Variants
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Sofort'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyReceiptEmail'Variants
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyReceiptEmail'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodySetupFutureUsage'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodySetupFutureUsage'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyShipping'OneOf1Address'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyShipping'OneOf1Address'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyShipping'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyShipping'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyShipping'Variants
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyShipping'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyTransferData'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyTransferData'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentResponse
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyTransferData'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyTransferData'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyShipping'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyShipping'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyShipping'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyShipping'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyShipping'OneOf1Address'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyShipping'OneOf1Address'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodySetupFutureUsage'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodySetupFutureUsage'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyReceiptEmail'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyReceiptEmail'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Sofort'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Sofort'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Sofort'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Sofort'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Sofort'OneOf1PreferredLanguage'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Sofort'OneOf1PreferredLanguage'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'SepaDebit'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'SepaDebit'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'SepaDebit'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'SepaDebit'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'P24'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'P24'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'P24'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'P24'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Oxxo'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Oxxo'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Oxxo'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Oxxo'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'CardPresent'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'CardPresent'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1RequestThreeDSecure'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1RequestThreeDSecure'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1Network'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1Network'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1Installments'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1Installments'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1Installments'Plan'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1Installments'Plan'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1Installments'Plan'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Card'OneOf1Installments'Plan'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Boleto'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Boleto'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Boleto'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Boleto'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Bancontact'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Bancontact'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Bancontact'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Bancontact'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Bancontact'OneOf1PreferredLanguage'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Bancontact'OneOf1PreferredLanguage'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Alipay'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'Alipay'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AfterpayClearpay'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AfterpayClearpay'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AfterpayClearpay'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AfterpayClearpay'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'OneOf1VerificationMethod'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'OneOf1VerificationMethod'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'TransactionType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'TransactionType'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'PaymentSchedule'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'PaymentSchedule'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'CustomMandateUrl'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'CustomMandateUrl'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodData'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodData'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodData'Type'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodData'Type'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodData'Sofort'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodData'Sofort'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodData'Sofort'Country'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodData'Sofort'Country'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodData'SepaDebit'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodData'SepaDebit'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodData'P24'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodData'P24'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodData'P24'Bank'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodData'P24'Bank'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodData'Ideal'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodData'Ideal'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodData'Ideal'Bank'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodData'Ideal'Bank'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodData'Fpx'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodData'Fpx'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodData'Fpx'Bank'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodData'Fpx'Bank'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodData'Eps'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodData'Eps'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodData'Eps'Bank'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodData'Eps'Bank'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodData'Boleto'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodData'Boleto'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodData'BillingDetails'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodData'BillingDetails'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodData'BillingDetails'Address'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodData'BillingDetails'Address'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodData'BillingDetails'Address'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodData'BillingDetails'Address'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodData'BacsDebit'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodData'BacsDebit'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodData'AuBecsDebit'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodData'AuBecsDebit'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodData'AcssDebit'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyPaymentMethodData'AcssDebit'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyMetadata'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyMetadata'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyApplicationFeeAmount'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntentsIntent.PostPaymentIntentsIntentRequestBodyApplicationFeeAmount'Variants
-- | Contains the different functions to run the operation
-- postPaymentIntents
module StripeAPI.Operations.PostPaymentIntents
-- |
-- POST /v1/payment_intents
--
--
-- <p>Creates a PaymentIntent object.</p>
--
-- <p>After the PaymentIntent is created, attach a payment method
-- and <a
-- href="/docs/api/payment_intents/confirm">confirm</a> to
-- continue the payment. You can read more about the different payment
-- flows available via the Payment Intents API <a
-- href="/docs/payments/payment-intents">here</a>.</p>
--
-- <p>When <code>confirm=true</code> is used during
-- creation, it is equivalent to creating and confirming the
-- PaymentIntent in the same call. You may use any parameters available
-- in the <a href="/docs/api/payment_intents/confirm">confirm
-- API</a> when <code>confirm=true</code> is
-- supplied.</p>
postPaymentIntents :: forall m. MonadHTTP m => PostPaymentIntentsRequestBody -> ClientT m (Response PostPaymentIntentsResponse)
-- | Defines the object schema located at
-- paths./v1/payment_intents.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostPaymentIntentsRequestBody
PostPaymentIntentsRequestBody :: Int -> Maybe Int -> Maybe PostPaymentIntentsRequestBodyCaptureMethod' -> Maybe Bool -> Maybe PostPaymentIntentsRequestBodyConfirmationMethod' -> Text -> Maybe Text -> Maybe Text -> Maybe Bool -> Maybe [Text] -> Maybe Text -> Maybe PostPaymentIntentsRequestBodyMandateData' -> Maybe Object -> Maybe PostPaymentIntentsRequestBodyOffSession'Variants -> Maybe Text -> Maybe Text -> Maybe PostPaymentIntentsRequestBodyPaymentMethodData' -> Maybe PostPaymentIntentsRequestBodyPaymentMethodOptions' -> Maybe [Text] -> Maybe Text -> Maybe Text -> Maybe PostPaymentIntentsRequestBodySetupFutureUsage' -> Maybe PostPaymentIntentsRequestBodyShipping' -> Maybe Text -> Maybe Text -> Maybe PostPaymentIntentsRequestBodyTransferData' -> Maybe Text -> Maybe Bool -> PostPaymentIntentsRequestBody
-- | amount: Amount intended to be collected by this PaymentIntent. A
-- positive integer representing how much to charge in the smallest
-- currency unit (e.g., 100 cents to charge $1.00 or 100 to charge
-- ¥100, a zero-decimal currency). The minimum amount is $0.50 US or
-- equivalent in charge currency. The amount value supports up to
-- eight digits (e.g., a value of 99999999 for a USD charge of
-- $999,999.99).
[postPaymentIntentsRequestBodyAmount] :: PostPaymentIntentsRequestBody -> Int
-- | application_fee_amount: The amount of the application fee (if any)
-- that will be requested to be applied to the payment and transferred to
-- the application owner's Stripe account. The amount of the application
-- fee collected will be capped at the total payment amount. For more
-- information, see the PaymentIntents use case for connected
-- accounts.
[postPaymentIntentsRequestBodyApplicationFeeAmount] :: PostPaymentIntentsRequestBody -> Maybe Int
-- | capture_method: Controls when the funds will be captured from the
-- customer's account.
[postPaymentIntentsRequestBodyCaptureMethod] :: PostPaymentIntentsRequestBody -> Maybe PostPaymentIntentsRequestBodyCaptureMethod'
-- | confirm: Set to `true` to attempt to confirm this PaymentIntent
-- immediately. This parameter defaults to `false`. When creating and
-- confirming a PaymentIntent at the same time, parameters available in
-- the confirm API may also be provided.
[postPaymentIntentsRequestBodyConfirm] :: PostPaymentIntentsRequestBody -> Maybe Bool
-- | confirmation_method
[postPaymentIntentsRequestBodyConfirmationMethod] :: PostPaymentIntentsRequestBody -> Maybe PostPaymentIntentsRequestBodyConfirmationMethod'
-- | currency: Three-letter ISO currency code, in lowercase. Must be
-- a supported currency.
[postPaymentIntentsRequestBodyCurrency] :: PostPaymentIntentsRequestBody -> Text
-- | customer: ID of the Customer this PaymentIntent belongs to, if one
-- exists.
--
-- Payment methods attached to other Customers cannot be used with this
-- PaymentIntent.
--
-- If present in combination with setup_future_usage, this
-- PaymentIntent's payment method will be attached to the Customer after
-- the PaymentIntent has been confirmed and any required actions from the
-- user are complete.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsRequestBodyCustomer] :: PostPaymentIntentsRequestBody -> Maybe Text
-- | description: An arbitrary string attached to the object. Often useful
-- for displaying to users.
--
-- Constraints:
--
--
-- - Maximum length of 1000
--
[postPaymentIntentsRequestBodyDescription] :: PostPaymentIntentsRequestBody -> Maybe Text
-- | error_on_requires_action: Set to `true` to fail the payment attempt if
-- the PaymentIntent transitions into `requires_action`. This parameter
-- is intended for simpler integrations that do not handle customer
-- actions, like saving cards without authentication. This
-- parameter can only be used with `confirm=true`.
[postPaymentIntentsRequestBodyErrorOnRequiresAction] :: PostPaymentIntentsRequestBody -> Maybe Bool
-- | expand: Specifies which fields in the response should be expanded.
[postPaymentIntentsRequestBodyExpand] :: PostPaymentIntentsRequestBody -> Maybe [Text]
-- | mandate: ID of the mandate to be used for this payment. This parameter
-- can only be used with `confirm=true`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsRequestBodyMandate] :: PostPaymentIntentsRequestBody -> Maybe Text
-- | mandate_data: This hash contains details about the Mandate to create.
-- This parameter can only be used with `confirm=true`.
[postPaymentIntentsRequestBodyMandateData] :: PostPaymentIntentsRequestBody -> Maybe PostPaymentIntentsRequestBodyMandateData'
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postPaymentIntentsRequestBodyMetadata] :: PostPaymentIntentsRequestBody -> Maybe Object
-- | off_session: Set to `true` to indicate that the customer is not in
-- your checkout flow during this payment attempt, and therefore is
-- unable to authenticate. This parameter is intended for scenarios where
-- you collect card details and charge them later. This parameter
-- can only be used with `confirm=true`.
[postPaymentIntentsRequestBodyOffSession] :: PostPaymentIntentsRequestBody -> Maybe PostPaymentIntentsRequestBodyOffSession'Variants
-- | on_behalf_of: The Stripe account ID for which these funds are
-- intended. For details, see the PaymentIntents use case for
-- connected accounts.
[postPaymentIntentsRequestBodyOnBehalfOf] :: PostPaymentIntentsRequestBody -> Maybe Text
-- | payment_method: ID of the payment method (a PaymentMethod, Card, or
-- compatible Source object) to attach to this PaymentIntent.
--
-- If this parameter is omitted with `confirm=true`,
-- `customer.default_source` will be attached as this PaymentIntent's
-- payment instrument to improve the migration experience for users of
-- the Charges API. We recommend that you explicitly provide the
-- `payment_method` going forward.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsRequestBodyPaymentMethod] :: PostPaymentIntentsRequestBody -> Maybe Text
-- | payment_method_data: If provided, this hash will be used to create a
-- PaymentMethod. The new PaymentMethod will appear in the
-- payment_method property on the PaymentIntent.
[postPaymentIntentsRequestBodyPaymentMethodData] :: PostPaymentIntentsRequestBody -> Maybe PostPaymentIntentsRequestBodyPaymentMethodData'
-- | payment_method_options: Payment-method-specific configuration for this
-- PaymentIntent.
[postPaymentIntentsRequestBodyPaymentMethodOptions] :: PostPaymentIntentsRequestBody -> Maybe PostPaymentIntentsRequestBodyPaymentMethodOptions'
-- | payment_method_types: The list of payment method types (e.g. card)
-- that this PaymentIntent is allowed to use. If this is not provided,
-- defaults to ["card"].
[postPaymentIntentsRequestBodyPaymentMethodTypes] :: PostPaymentIntentsRequestBody -> Maybe [Text]
-- | receipt_email: Email address that the receipt for the resulting
-- payment will be sent to. If `receipt_email` is specified for a payment
-- in live mode, a receipt will be sent regardless of your email
-- settings.
[postPaymentIntentsRequestBodyReceiptEmail] :: PostPaymentIntentsRequestBody -> Maybe Text
-- | return_url: The URL to redirect your customer back to after they
-- authenticate or cancel their payment on the payment method's app or
-- site. If you'd prefer to redirect to a mobile application, you can
-- alternatively supply an application URI scheme. This parameter can
-- only be used with `confirm=true`.
[postPaymentIntentsRequestBodyReturnUrl] :: PostPaymentIntentsRequestBody -> Maybe Text
-- | setup_future_usage: Indicates that you intend to make future payments
-- with this PaymentIntent's payment method.
--
-- Providing this parameter will attach the payment method to the
-- PaymentIntent's Customer, if present, after the PaymentIntent is
-- confirmed and any required actions from the user are complete. If no
-- Customer was provided, the payment method can still be attached
-- to a Customer after the transaction completes.
--
-- When processing card payments, Stripe also uses `setup_future_usage`
-- to dynamically optimize your payment flow and comply with regional
-- legislation and network rules, such as SCA.
[postPaymentIntentsRequestBodySetupFutureUsage] :: PostPaymentIntentsRequestBody -> Maybe PostPaymentIntentsRequestBodySetupFutureUsage'
-- | shipping: Shipping information for this PaymentIntent.
[postPaymentIntentsRequestBodyShipping] :: PostPaymentIntentsRequestBody -> Maybe PostPaymentIntentsRequestBodyShipping'
-- | statement_descriptor: For non-card charges, you can use this value as
-- the complete description that appears on your customers’ statements.
-- Must contain at least one letter, maximum 22 characters.
--
-- Constraints:
--
--
-- - Maximum length of 22
--
[postPaymentIntentsRequestBodyStatementDescriptor] :: PostPaymentIntentsRequestBody -> Maybe Text
-- | statement_descriptor_suffix: Provides information about a card payment
-- that customers see on their statements. Concatenated with the prefix
-- (shortened descriptor) or statement descriptor that’s set on the
-- account to form the complete statement descriptor. Maximum 22
-- characters for the concatenated descriptor.
--
-- Constraints:
--
--
-- - Maximum length of 22
--
[postPaymentIntentsRequestBodyStatementDescriptorSuffix] :: PostPaymentIntentsRequestBody -> Maybe Text
-- | transfer_data: The parameters used to automatically create a Transfer
-- when the payment succeeds. For more information, see the
-- PaymentIntents use case for connected accounts.
[postPaymentIntentsRequestBodyTransferData] :: PostPaymentIntentsRequestBody -> Maybe PostPaymentIntentsRequestBodyTransferData'
-- | transfer_group: A string that identifies the resulting payment as part
-- of a group. See the PaymentIntents use case for connected
-- accounts for details.
[postPaymentIntentsRequestBodyTransferGroup] :: PostPaymentIntentsRequestBody -> Maybe Text
-- | use_stripe_sdk: Set to `true` only when using manual confirmation and
-- the iOS or Android SDKs to handle additional authentication steps.
[postPaymentIntentsRequestBodyUseStripeSdk] :: PostPaymentIntentsRequestBody -> Maybe Bool
-- | Create a new PostPaymentIntentsRequestBody with all required
-- fields.
mkPostPaymentIntentsRequestBody :: Int -> Text -> PostPaymentIntentsRequestBody
-- | Defines the enum schema located at
-- paths./v1/payment_intents.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capture_method
-- in the specification.
--
-- Controls when the funds will be captured from the customer's account.
data PostPaymentIntentsRequestBodyCaptureMethod'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostPaymentIntentsRequestBodyCaptureMethod'Other :: Value -> PostPaymentIntentsRequestBodyCaptureMethod'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostPaymentIntentsRequestBodyCaptureMethod'Typed :: Text -> PostPaymentIntentsRequestBodyCaptureMethod'
-- | Represents the JSON value "automatic"
PostPaymentIntentsRequestBodyCaptureMethod'EnumAutomatic :: PostPaymentIntentsRequestBodyCaptureMethod'
-- | Represents the JSON value "manual"
PostPaymentIntentsRequestBodyCaptureMethod'EnumManual :: PostPaymentIntentsRequestBodyCaptureMethod'
-- | Defines the enum schema located at
-- paths./v1/payment_intents.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.confirmation_method
-- in the specification.
data PostPaymentIntentsRequestBodyConfirmationMethod'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostPaymentIntentsRequestBodyConfirmationMethod'Other :: Value -> PostPaymentIntentsRequestBodyConfirmationMethod'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostPaymentIntentsRequestBodyConfirmationMethod'Typed :: Text -> PostPaymentIntentsRequestBodyConfirmationMethod'
-- | Represents the JSON value "automatic"
PostPaymentIntentsRequestBodyConfirmationMethod'EnumAutomatic :: PostPaymentIntentsRequestBodyConfirmationMethod'
-- | Represents the JSON value "manual"
PostPaymentIntentsRequestBodyConfirmationMethod'EnumManual :: PostPaymentIntentsRequestBodyConfirmationMethod'
-- | Defines the object schema located at
-- paths./v1/payment_intents.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.mandate_data
-- in the specification.
--
-- This hash contains details about the Mandate to create. This parameter
-- can only be used with `confirm=true`.
data PostPaymentIntentsRequestBodyMandateData'
PostPaymentIntentsRequestBodyMandateData' :: PostPaymentIntentsRequestBodyMandateData'CustomerAcceptance' -> PostPaymentIntentsRequestBodyMandateData'
-- | customer_acceptance
[postPaymentIntentsRequestBodyMandateData'CustomerAcceptance] :: PostPaymentIntentsRequestBodyMandateData' -> PostPaymentIntentsRequestBodyMandateData'CustomerAcceptance'
-- | Create a new PostPaymentIntentsRequestBodyMandateData' with all
-- required fields.
mkPostPaymentIntentsRequestBodyMandateData' :: PostPaymentIntentsRequestBodyMandateData'CustomerAcceptance' -> PostPaymentIntentsRequestBodyMandateData'
-- | Defines the object schema located at
-- paths./v1/payment_intents.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.mandate_data.properties.customer_acceptance
-- in the specification.
data PostPaymentIntentsRequestBodyMandateData'CustomerAcceptance'
PostPaymentIntentsRequestBodyMandateData'CustomerAcceptance' :: Maybe Int -> Maybe Object -> Maybe PostPaymentIntentsRequestBodyMandateData'CustomerAcceptance'Online' -> PostPaymentIntentsRequestBodyMandateData'CustomerAcceptance'Type' -> PostPaymentIntentsRequestBodyMandateData'CustomerAcceptance'
-- | accepted_at
[postPaymentIntentsRequestBodyMandateData'CustomerAcceptance'AcceptedAt] :: PostPaymentIntentsRequestBodyMandateData'CustomerAcceptance' -> Maybe Int
-- | offline
[postPaymentIntentsRequestBodyMandateData'CustomerAcceptance'Offline] :: PostPaymentIntentsRequestBodyMandateData'CustomerAcceptance' -> Maybe Object
-- | online
[postPaymentIntentsRequestBodyMandateData'CustomerAcceptance'Online] :: PostPaymentIntentsRequestBodyMandateData'CustomerAcceptance' -> Maybe PostPaymentIntentsRequestBodyMandateData'CustomerAcceptance'Online'
-- | type
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsRequestBodyMandateData'CustomerAcceptance'Type] :: PostPaymentIntentsRequestBodyMandateData'CustomerAcceptance' -> PostPaymentIntentsRequestBodyMandateData'CustomerAcceptance'Type'
-- | Create a new
-- PostPaymentIntentsRequestBodyMandateData'CustomerAcceptance'
-- with all required fields.
mkPostPaymentIntentsRequestBodyMandateData'CustomerAcceptance' :: PostPaymentIntentsRequestBodyMandateData'CustomerAcceptance'Type' -> PostPaymentIntentsRequestBodyMandateData'CustomerAcceptance'
-- | Defines the object schema located at
-- paths./v1/payment_intents.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.mandate_data.properties.customer_acceptance.properties.online
-- in the specification.
data PostPaymentIntentsRequestBodyMandateData'CustomerAcceptance'Online'
PostPaymentIntentsRequestBodyMandateData'CustomerAcceptance'Online' :: Text -> Text -> PostPaymentIntentsRequestBodyMandateData'CustomerAcceptance'Online'
-- | ip_address
[postPaymentIntentsRequestBodyMandateData'CustomerAcceptance'Online'IpAddress] :: PostPaymentIntentsRequestBodyMandateData'CustomerAcceptance'Online' -> Text
-- | user_agent
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsRequestBodyMandateData'CustomerAcceptance'Online'UserAgent] :: PostPaymentIntentsRequestBodyMandateData'CustomerAcceptance'Online' -> Text
-- | Create a new
-- PostPaymentIntentsRequestBodyMandateData'CustomerAcceptance'Online'
-- with all required fields.
mkPostPaymentIntentsRequestBodyMandateData'CustomerAcceptance'Online' :: Text -> Text -> PostPaymentIntentsRequestBodyMandateData'CustomerAcceptance'Online'
-- | Defines the enum schema located at
-- paths./v1/payment_intents.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.mandate_data.properties.customer_acceptance.properties.type
-- in the specification.
data PostPaymentIntentsRequestBodyMandateData'CustomerAcceptance'Type'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostPaymentIntentsRequestBodyMandateData'CustomerAcceptance'Type'Other :: Value -> PostPaymentIntentsRequestBodyMandateData'CustomerAcceptance'Type'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostPaymentIntentsRequestBodyMandateData'CustomerAcceptance'Type'Typed :: Text -> PostPaymentIntentsRequestBodyMandateData'CustomerAcceptance'Type'
-- | Represents the JSON value "offline"
PostPaymentIntentsRequestBodyMandateData'CustomerAcceptance'Type'EnumOffline :: PostPaymentIntentsRequestBodyMandateData'CustomerAcceptance'Type'
-- | Represents the JSON value "online"
PostPaymentIntentsRequestBodyMandateData'CustomerAcceptance'Type'EnumOnline :: PostPaymentIntentsRequestBodyMandateData'CustomerAcceptance'Type'
-- | Defines the enum schema located at
-- paths./v1/payment_intents.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.off_session.anyOf
-- in the specification.
data PostPaymentIntentsRequestBodyOffSession'OneOf2
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostPaymentIntentsRequestBodyOffSession'OneOf2Other :: Value -> PostPaymentIntentsRequestBodyOffSession'OneOf2
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostPaymentIntentsRequestBodyOffSession'OneOf2Typed :: Text -> PostPaymentIntentsRequestBodyOffSession'OneOf2
-- | Represents the JSON value "one_off"
PostPaymentIntentsRequestBodyOffSession'OneOf2EnumOneOff :: PostPaymentIntentsRequestBodyOffSession'OneOf2
-- | Represents the JSON value "recurring"
PostPaymentIntentsRequestBodyOffSession'OneOf2EnumRecurring :: PostPaymentIntentsRequestBodyOffSession'OneOf2
-- | Defines the oneOf schema located at
-- paths./v1/payment_intents.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.off_session.anyOf
-- in the specification.
--
-- Set to `true` to indicate that the customer is not in your checkout
-- flow during this payment attempt, and therefore is unable to
-- authenticate. This parameter is intended for scenarios where you
-- collect card details and charge them later. This parameter can
-- only be used with `confirm=true`.
data PostPaymentIntentsRequestBodyOffSession'Variants
PostPaymentIntentsRequestBodyOffSession'Bool :: Bool -> PostPaymentIntentsRequestBodyOffSession'Variants
PostPaymentIntentsRequestBodyOffSession'PostPaymentIntentsRequestBodyOffSession'OneOf2 :: PostPaymentIntentsRequestBodyOffSession'OneOf2 -> PostPaymentIntentsRequestBodyOffSession'Variants
-- | Defines the object schema located at
-- paths./v1/payment_intents.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_data
-- in the specification.
--
-- If provided, this hash will be used to create a PaymentMethod. The new
-- PaymentMethod will appear in the payment_method property on the
-- PaymentIntent.
data PostPaymentIntentsRequestBodyPaymentMethodData'
PostPaymentIntentsRequestBodyPaymentMethodData' :: Maybe PostPaymentIntentsRequestBodyPaymentMethodData'AcssDebit' -> Maybe Object -> Maybe Object -> Maybe PostPaymentIntentsRequestBodyPaymentMethodData'AuBecsDebit' -> Maybe PostPaymentIntentsRequestBodyPaymentMethodData'BacsDebit' -> Maybe Object -> Maybe PostPaymentIntentsRequestBodyPaymentMethodData'BillingDetails' -> Maybe PostPaymentIntentsRequestBodyPaymentMethodData'Boleto' -> Maybe PostPaymentIntentsRequestBodyPaymentMethodData'Eps' -> Maybe PostPaymentIntentsRequestBodyPaymentMethodData'Fpx' -> Maybe Object -> Maybe Object -> Maybe PostPaymentIntentsRequestBodyPaymentMethodData'Ideal' -> Maybe Object -> Maybe Object -> Maybe Object -> Maybe PostPaymentIntentsRequestBodyPaymentMethodData'P24' -> Maybe PostPaymentIntentsRequestBodyPaymentMethodData'SepaDebit' -> Maybe PostPaymentIntentsRequestBodyPaymentMethodData'Sofort' -> PostPaymentIntentsRequestBodyPaymentMethodData'Type' -> PostPaymentIntentsRequestBodyPaymentMethodData'
-- | acss_debit
[postPaymentIntentsRequestBodyPaymentMethodData'AcssDebit] :: PostPaymentIntentsRequestBodyPaymentMethodData' -> Maybe PostPaymentIntentsRequestBodyPaymentMethodData'AcssDebit'
-- | afterpay_clearpay
[postPaymentIntentsRequestBodyPaymentMethodData'AfterpayClearpay] :: PostPaymentIntentsRequestBodyPaymentMethodData' -> Maybe Object
-- | alipay
[postPaymentIntentsRequestBodyPaymentMethodData'Alipay] :: PostPaymentIntentsRequestBodyPaymentMethodData' -> Maybe Object
-- | au_becs_debit
[postPaymentIntentsRequestBodyPaymentMethodData'AuBecsDebit] :: PostPaymentIntentsRequestBodyPaymentMethodData' -> Maybe PostPaymentIntentsRequestBodyPaymentMethodData'AuBecsDebit'
-- | bacs_debit
[postPaymentIntentsRequestBodyPaymentMethodData'BacsDebit] :: PostPaymentIntentsRequestBodyPaymentMethodData' -> Maybe PostPaymentIntentsRequestBodyPaymentMethodData'BacsDebit'
-- | bancontact
[postPaymentIntentsRequestBodyPaymentMethodData'Bancontact] :: PostPaymentIntentsRequestBodyPaymentMethodData' -> Maybe Object
-- | billing_details
[postPaymentIntentsRequestBodyPaymentMethodData'BillingDetails] :: PostPaymentIntentsRequestBodyPaymentMethodData' -> Maybe PostPaymentIntentsRequestBodyPaymentMethodData'BillingDetails'
-- | boleto
[postPaymentIntentsRequestBodyPaymentMethodData'Boleto] :: PostPaymentIntentsRequestBodyPaymentMethodData' -> Maybe PostPaymentIntentsRequestBodyPaymentMethodData'Boleto'
-- | eps
[postPaymentIntentsRequestBodyPaymentMethodData'Eps] :: PostPaymentIntentsRequestBodyPaymentMethodData' -> Maybe PostPaymentIntentsRequestBodyPaymentMethodData'Eps'
-- | fpx
[postPaymentIntentsRequestBodyPaymentMethodData'Fpx] :: PostPaymentIntentsRequestBodyPaymentMethodData' -> Maybe PostPaymentIntentsRequestBodyPaymentMethodData'Fpx'
-- | giropay
[postPaymentIntentsRequestBodyPaymentMethodData'Giropay] :: PostPaymentIntentsRequestBodyPaymentMethodData' -> Maybe Object
-- | grabpay
[postPaymentIntentsRequestBodyPaymentMethodData'Grabpay] :: PostPaymentIntentsRequestBodyPaymentMethodData' -> Maybe Object
-- | ideal
[postPaymentIntentsRequestBodyPaymentMethodData'Ideal] :: PostPaymentIntentsRequestBodyPaymentMethodData' -> Maybe PostPaymentIntentsRequestBodyPaymentMethodData'Ideal'
-- | interac_present
[postPaymentIntentsRequestBodyPaymentMethodData'InteracPresent] :: PostPaymentIntentsRequestBodyPaymentMethodData' -> Maybe Object
-- | metadata
[postPaymentIntentsRequestBodyPaymentMethodData'Metadata] :: PostPaymentIntentsRequestBodyPaymentMethodData' -> Maybe Object
-- | oxxo
[postPaymentIntentsRequestBodyPaymentMethodData'Oxxo] :: PostPaymentIntentsRequestBodyPaymentMethodData' -> Maybe Object
-- | p24
[postPaymentIntentsRequestBodyPaymentMethodData'P24] :: PostPaymentIntentsRequestBodyPaymentMethodData' -> Maybe PostPaymentIntentsRequestBodyPaymentMethodData'P24'
-- | sepa_debit
[postPaymentIntentsRequestBodyPaymentMethodData'SepaDebit] :: PostPaymentIntentsRequestBodyPaymentMethodData' -> Maybe PostPaymentIntentsRequestBodyPaymentMethodData'SepaDebit'
-- | sofort
[postPaymentIntentsRequestBodyPaymentMethodData'Sofort] :: PostPaymentIntentsRequestBodyPaymentMethodData' -> Maybe PostPaymentIntentsRequestBodyPaymentMethodData'Sofort'
-- | type
[postPaymentIntentsRequestBodyPaymentMethodData'Type] :: PostPaymentIntentsRequestBodyPaymentMethodData' -> PostPaymentIntentsRequestBodyPaymentMethodData'Type'
-- | Create a new PostPaymentIntentsRequestBodyPaymentMethodData'
-- with all required fields.
mkPostPaymentIntentsRequestBodyPaymentMethodData' :: PostPaymentIntentsRequestBodyPaymentMethodData'Type' -> PostPaymentIntentsRequestBodyPaymentMethodData'
-- | Defines the object schema located at
-- paths./v1/payment_intents.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_data.properties.acss_debit
-- in the specification.
data PostPaymentIntentsRequestBodyPaymentMethodData'AcssDebit'
PostPaymentIntentsRequestBodyPaymentMethodData'AcssDebit' :: Text -> Text -> Text -> PostPaymentIntentsRequestBodyPaymentMethodData'AcssDebit'
-- | account_number
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsRequestBodyPaymentMethodData'AcssDebit'AccountNumber] :: PostPaymentIntentsRequestBodyPaymentMethodData'AcssDebit' -> Text
-- | institution_number
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsRequestBodyPaymentMethodData'AcssDebit'InstitutionNumber] :: PostPaymentIntentsRequestBodyPaymentMethodData'AcssDebit' -> Text
-- | transit_number
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsRequestBodyPaymentMethodData'AcssDebit'TransitNumber] :: PostPaymentIntentsRequestBodyPaymentMethodData'AcssDebit' -> Text
-- | Create a new
-- PostPaymentIntentsRequestBodyPaymentMethodData'AcssDebit' with
-- all required fields.
mkPostPaymentIntentsRequestBodyPaymentMethodData'AcssDebit' :: Text -> Text -> Text -> PostPaymentIntentsRequestBodyPaymentMethodData'AcssDebit'
-- | Defines the object schema located at
-- paths./v1/payment_intents.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_data.properties.au_becs_debit
-- in the specification.
data PostPaymentIntentsRequestBodyPaymentMethodData'AuBecsDebit'
PostPaymentIntentsRequestBodyPaymentMethodData'AuBecsDebit' :: Text -> Text -> PostPaymentIntentsRequestBodyPaymentMethodData'AuBecsDebit'
-- | account_number
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsRequestBodyPaymentMethodData'AuBecsDebit'AccountNumber] :: PostPaymentIntentsRequestBodyPaymentMethodData'AuBecsDebit' -> Text
-- | bsb_number
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsRequestBodyPaymentMethodData'AuBecsDebit'BsbNumber] :: PostPaymentIntentsRequestBodyPaymentMethodData'AuBecsDebit' -> Text
-- | Create a new
-- PostPaymentIntentsRequestBodyPaymentMethodData'AuBecsDebit'
-- with all required fields.
mkPostPaymentIntentsRequestBodyPaymentMethodData'AuBecsDebit' :: Text -> Text -> PostPaymentIntentsRequestBodyPaymentMethodData'AuBecsDebit'
-- | Defines the object schema located at
-- paths./v1/payment_intents.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_data.properties.bacs_debit
-- in the specification.
data PostPaymentIntentsRequestBodyPaymentMethodData'BacsDebit'
PostPaymentIntentsRequestBodyPaymentMethodData'BacsDebit' :: Maybe Text -> Maybe Text -> PostPaymentIntentsRequestBodyPaymentMethodData'BacsDebit'
-- | account_number
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsRequestBodyPaymentMethodData'BacsDebit'AccountNumber] :: PostPaymentIntentsRequestBodyPaymentMethodData'BacsDebit' -> Maybe Text
-- | sort_code
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsRequestBodyPaymentMethodData'BacsDebit'SortCode] :: PostPaymentIntentsRequestBodyPaymentMethodData'BacsDebit' -> Maybe Text
-- | Create a new
-- PostPaymentIntentsRequestBodyPaymentMethodData'BacsDebit' with
-- all required fields.
mkPostPaymentIntentsRequestBodyPaymentMethodData'BacsDebit' :: PostPaymentIntentsRequestBodyPaymentMethodData'BacsDebit'
-- | Defines the object schema located at
-- paths./v1/payment_intents.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_data.properties.billing_details
-- in the specification.
data PostPaymentIntentsRequestBodyPaymentMethodData'BillingDetails'
PostPaymentIntentsRequestBodyPaymentMethodData'BillingDetails' :: Maybe PostPaymentIntentsRequestBodyPaymentMethodData'BillingDetails'Address'Variants -> Maybe Text -> Maybe Text -> Maybe Text -> PostPaymentIntentsRequestBodyPaymentMethodData'BillingDetails'
-- | address
[postPaymentIntentsRequestBodyPaymentMethodData'BillingDetails'Address] :: PostPaymentIntentsRequestBodyPaymentMethodData'BillingDetails' -> Maybe PostPaymentIntentsRequestBodyPaymentMethodData'BillingDetails'Address'Variants
-- | email
[postPaymentIntentsRequestBodyPaymentMethodData'BillingDetails'Email] :: PostPaymentIntentsRequestBodyPaymentMethodData'BillingDetails' -> Maybe Text
-- | name
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsRequestBodyPaymentMethodData'BillingDetails'Name] :: PostPaymentIntentsRequestBodyPaymentMethodData'BillingDetails' -> Maybe Text
-- | phone
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsRequestBodyPaymentMethodData'BillingDetails'Phone] :: PostPaymentIntentsRequestBodyPaymentMethodData'BillingDetails' -> Maybe Text
-- | Create a new
-- PostPaymentIntentsRequestBodyPaymentMethodData'BillingDetails'
-- with all required fields.
mkPostPaymentIntentsRequestBodyPaymentMethodData'BillingDetails' :: PostPaymentIntentsRequestBodyPaymentMethodData'BillingDetails'
-- | Defines the object schema located at
-- paths./v1/payment_intents.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_data.properties.billing_details.properties.address.anyOf
-- in the specification.
data PostPaymentIntentsRequestBodyPaymentMethodData'BillingDetails'Address'OneOf1
PostPaymentIntentsRequestBodyPaymentMethodData'BillingDetails'Address'OneOf1 :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PostPaymentIntentsRequestBodyPaymentMethodData'BillingDetails'Address'OneOf1
-- | city
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsRequestBodyPaymentMethodData'BillingDetails'Address'OneOf1City] :: PostPaymentIntentsRequestBodyPaymentMethodData'BillingDetails'Address'OneOf1 -> Maybe Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsRequestBodyPaymentMethodData'BillingDetails'Address'OneOf1Country] :: PostPaymentIntentsRequestBodyPaymentMethodData'BillingDetails'Address'OneOf1 -> Maybe Text
-- | line1
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsRequestBodyPaymentMethodData'BillingDetails'Address'OneOf1Line1] :: PostPaymentIntentsRequestBodyPaymentMethodData'BillingDetails'Address'OneOf1 -> Maybe Text
-- | line2
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsRequestBodyPaymentMethodData'BillingDetails'Address'OneOf1Line2] :: PostPaymentIntentsRequestBodyPaymentMethodData'BillingDetails'Address'OneOf1 -> Maybe Text
-- | postal_code
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsRequestBodyPaymentMethodData'BillingDetails'Address'OneOf1PostalCode] :: PostPaymentIntentsRequestBodyPaymentMethodData'BillingDetails'Address'OneOf1 -> Maybe Text
-- | state
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsRequestBodyPaymentMethodData'BillingDetails'Address'OneOf1State] :: PostPaymentIntentsRequestBodyPaymentMethodData'BillingDetails'Address'OneOf1 -> Maybe Text
-- | Create a new
-- PostPaymentIntentsRequestBodyPaymentMethodData'BillingDetails'Address'OneOf1
-- with all required fields.
mkPostPaymentIntentsRequestBodyPaymentMethodData'BillingDetails'Address'OneOf1 :: PostPaymentIntentsRequestBodyPaymentMethodData'BillingDetails'Address'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/payment_intents.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_data.properties.billing_details.properties.address.anyOf
-- in the specification.
data PostPaymentIntentsRequestBodyPaymentMethodData'BillingDetails'Address'Variants
-- | Represents the JSON value ""
PostPaymentIntentsRequestBodyPaymentMethodData'BillingDetails'Address'EmptyString :: PostPaymentIntentsRequestBodyPaymentMethodData'BillingDetails'Address'Variants
PostPaymentIntentsRequestBodyPaymentMethodData'BillingDetails'Address'PostPaymentIntentsRequestBodyPaymentMethodData'BillingDetails'Address'OneOf1 :: PostPaymentIntentsRequestBodyPaymentMethodData'BillingDetails'Address'OneOf1 -> PostPaymentIntentsRequestBodyPaymentMethodData'BillingDetails'Address'Variants
-- | Defines the object schema located at
-- paths./v1/payment_intents.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_data.properties.boleto
-- in the specification.
data PostPaymentIntentsRequestBodyPaymentMethodData'Boleto'
PostPaymentIntentsRequestBodyPaymentMethodData'Boleto' :: Text -> PostPaymentIntentsRequestBodyPaymentMethodData'Boleto'
-- | tax_id
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsRequestBodyPaymentMethodData'Boleto'TaxId] :: PostPaymentIntentsRequestBodyPaymentMethodData'Boleto' -> Text
-- | Create a new
-- PostPaymentIntentsRequestBodyPaymentMethodData'Boleto' with all
-- required fields.
mkPostPaymentIntentsRequestBodyPaymentMethodData'Boleto' :: Text -> PostPaymentIntentsRequestBodyPaymentMethodData'Boleto'
-- | Defines the object schema located at
-- paths./v1/payment_intents.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_data.properties.eps
-- in the specification.
data PostPaymentIntentsRequestBodyPaymentMethodData'Eps'
PostPaymentIntentsRequestBodyPaymentMethodData'Eps' :: Maybe PostPaymentIntentsRequestBodyPaymentMethodData'Eps'Bank' -> PostPaymentIntentsRequestBodyPaymentMethodData'Eps'
-- | bank
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsRequestBodyPaymentMethodData'Eps'Bank] :: PostPaymentIntentsRequestBodyPaymentMethodData'Eps' -> Maybe PostPaymentIntentsRequestBodyPaymentMethodData'Eps'Bank'
-- | Create a new
-- PostPaymentIntentsRequestBodyPaymentMethodData'Eps' with all
-- required fields.
mkPostPaymentIntentsRequestBodyPaymentMethodData'Eps' :: PostPaymentIntentsRequestBodyPaymentMethodData'Eps'
-- | Defines the enum schema located at
-- paths./v1/payment_intents.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_data.properties.eps.properties.bank
-- in the specification.
data PostPaymentIntentsRequestBodyPaymentMethodData'Eps'Bank'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostPaymentIntentsRequestBodyPaymentMethodData'Eps'Bank'Other :: Value -> PostPaymentIntentsRequestBodyPaymentMethodData'Eps'Bank'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostPaymentIntentsRequestBodyPaymentMethodData'Eps'Bank'Typed :: Text -> PostPaymentIntentsRequestBodyPaymentMethodData'Eps'Bank'
-- | Represents the JSON value "arzte_und_apotheker_bank"
PostPaymentIntentsRequestBodyPaymentMethodData'Eps'Bank'EnumArzteUndApothekerBank :: PostPaymentIntentsRequestBodyPaymentMethodData'Eps'Bank'
-- | Represents the JSON value "austrian_anadi_bank_ag"
PostPaymentIntentsRequestBodyPaymentMethodData'Eps'Bank'EnumAustrianAnadiBankAg :: PostPaymentIntentsRequestBodyPaymentMethodData'Eps'Bank'
-- | Represents the JSON value "bank_austria"
PostPaymentIntentsRequestBodyPaymentMethodData'Eps'Bank'EnumBankAustria :: PostPaymentIntentsRequestBodyPaymentMethodData'Eps'Bank'
-- | Represents the JSON value "bankhaus_carl_spangler"
PostPaymentIntentsRequestBodyPaymentMethodData'Eps'Bank'EnumBankhausCarlSpangler :: PostPaymentIntentsRequestBodyPaymentMethodData'Eps'Bank'
-- | Represents the JSON value
-- "bankhaus_schelhammer_und_schattera_ag"
PostPaymentIntentsRequestBodyPaymentMethodData'Eps'Bank'EnumBankhausSchelhammerUndSchatteraAg :: PostPaymentIntentsRequestBodyPaymentMethodData'Eps'Bank'
-- | Represents the JSON value "bawag_psk_ag"
PostPaymentIntentsRequestBodyPaymentMethodData'Eps'Bank'EnumBawagPskAg :: PostPaymentIntentsRequestBodyPaymentMethodData'Eps'Bank'
-- | Represents the JSON value "bks_bank_ag"
PostPaymentIntentsRequestBodyPaymentMethodData'Eps'Bank'EnumBksBankAg :: PostPaymentIntentsRequestBodyPaymentMethodData'Eps'Bank'
-- | Represents the JSON value "brull_kallmus_bank_ag"
PostPaymentIntentsRequestBodyPaymentMethodData'Eps'Bank'EnumBrullKallmusBankAg :: PostPaymentIntentsRequestBodyPaymentMethodData'Eps'Bank'
-- | Represents the JSON value "btv_vier_lander_bank"
PostPaymentIntentsRequestBodyPaymentMethodData'Eps'Bank'EnumBtvVierLanderBank :: PostPaymentIntentsRequestBodyPaymentMethodData'Eps'Bank'
-- | Represents the JSON value "capital_bank_grawe_gruppe_ag"
PostPaymentIntentsRequestBodyPaymentMethodData'Eps'Bank'EnumCapitalBankGraweGruppeAg :: PostPaymentIntentsRequestBodyPaymentMethodData'Eps'Bank'
-- | Represents the JSON value "dolomitenbank"
PostPaymentIntentsRequestBodyPaymentMethodData'Eps'Bank'EnumDolomitenbank :: PostPaymentIntentsRequestBodyPaymentMethodData'Eps'Bank'
-- | Represents the JSON value "easybank_ag"
PostPaymentIntentsRequestBodyPaymentMethodData'Eps'Bank'EnumEasybankAg :: PostPaymentIntentsRequestBodyPaymentMethodData'Eps'Bank'
-- | Represents the JSON value "erste_bank_und_sparkassen"
PostPaymentIntentsRequestBodyPaymentMethodData'Eps'Bank'EnumErsteBankUndSparkassen :: PostPaymentIntentsRequestBodyPaymentMethodData'Eps'Bank'
-- | Represents the JSON value
-- "hypo_alpeadriabank_international_ag"
PostPaymentIntentsRequestBodyPaymentMethodData'Eps'Bank'EnumHypoAlpeadriabankInternationalAg :: PostPaymentIntentsRequestBodyPaymentMethodData'Eps'Bank'
-- | Represents the JSON value
-- "hypo_bank_burgenland_aktiengesellschaft"
PostPaymentIntentsRequestBodyPaymentMethodData'Eps'Bank'EnumHypoBankBurgenlandAktiengesellschaft :: PostPaymentIntentsRequestBodyPaymentMethodData'Eps'Bank'
-- | Represents the JSON value
-- "hypo_noe_lb_fur_niederosterreich_u_wien"
PostPaymentIntentsRequestBodyPaymentMethodData'Eps'Bank'EnumHypoNoeLbFurNiederosterreichUWien :: PostPaymentIntentsRequestBodyPaymentMethodData'Eps'Bank'
-- | Represents the JSON value
-- "hypo_oberosterreich_salzburg_steiermark"
PostPaymentIntentsRequestBodyPaymentMethodData'Eps'Bank'EnumHypoOberosterreichSalzburgSteiermark :: PostPaymentIntentsRequestBodyPaymentMethodData'Eps'Bank'
-- | Represents the JSON value "hypo_tirol_bank_ag"
PostPaymentIntentsRequestBodyPaymentMethodData'Eps'Bank'EnumHypoTirolBankAg :: PostPaymentIntentsRequestBodyPaymentMethodData'Eps'Bank'
-- | Represents the JSON value "hypo_vorarlberg_bank_ag"
PostPaymentIntentsRequestBodyPaymentMethodData'Eps'Bank'EnumHypoVorarlbergBankAg :: PostPaymentIntentsRequestBodyPaymentMethodData'Eps'Bank'
-- | Represents the JSON value "marchfelder_bank"
PostPaymentIntentsRequestBodyPaymentMethodData'Eps'Bank'EnumMarchfelderBank :: PostPaymentIntentsRequestBodyPaymentMethodData'Eps'Bank'
-- | Represents the JSON value "oberbank_ag"
PostPaymentIntentsRequestBodyPaymentMethodData'Eps'Bank'EnumOberbankAg :: PostPaymentIntentsRequestBodyPaymentMethodData'Eps'Bank'
-- | Represents the JSON value
-- "raiffeisen_bankengruppe_osterreich"
PostPaymentIntentsRequestBodyPaymentMethodData'Eps'Bank'EnumRaiffeisenBankengruppeOsterreich :: PostPaymentIntentsRequestBodyPaymentMethodData'Eps'Bank'
-- | Represents the JSON value "schoellerbank_ag"
PostPaymentIntentsRequestBodyPaymentMethodData'Eps'Bank'EnumSchoellerbankAg :: PostPaymentIntentsRequestBodyPaymentMethodData'Eps'Bank'
-- | Represents the JSON value "sparda_bank_wien"
PostPaymentIntentsRequestBodyPaymentMethodData'Eps'Bank'EnumSpardaBankWien :: PostPaymentIntentsRequestBodyPaymentMethodData'Eps'Bank'
-- | Represents the JSON value "volksbank_gruppe"
PostPaymentIntentsRequestBodyPaymentMethodData'Eps'Bank'EnumVolksbankGruppe :: PostPaymentIntentsRequestBodyPaymentMethodData'Eps'Bank'
-- | Represents the JSON value "volkskreditbank_ag"
PostPaymentIntentsRequestBodyPaymentMethodData'Eps'Bank'EnumVolkskreditbankAg :: PostPaymentIntentsRequestBodyPaymentMethodData'Eps'Bank'
-- | Represents the JSON value "vr_bank_braunau"
PostPaymentIntentsRequestBodyPaymentMethodData'Eps'Bank'EnumVrBankBraunau :: PostPaymentIntentsRequestBodyPaymentMethodData'Eps'Bank'
-- | Defines the object schema located at
-- paths./v1/payment_intents.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_data.properties.fpx
-- in the specification.
data PostPaymentIntentsRequestBodyPaymentMethodData'Fpx'
PostPaymentIntentsRequestBodyPaymentMethodData'Fpx' :: PostPaymentIntentsRequestBodyPaymentMethodData'Fpx'Bank' -> PostPaymentIntentsRequestBodyPaymentMethodData'Fpx'
-- | bank
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsRequestBodyPaymentMethodData'Fpx'Bank] :: PostPaymentIntentsRequestBodyPaymentMethodData'Fpx' -> PostPaymentIntentsRequestBodyPaymentMethodData'Fpx'Bank'
-- | Create a new
-- PostPaymentIntentsRequestBodyPaymentMethodData'Fpx' with all
-- required fields.
mkPostPaymentIntentsRequestBodyPaymentMethodData'Fpx' :: PostPaymentIntentsRequestBodyPaymentMethodData'Fpx'Bank' -> PostPaymentIntentsRequestBodyPaymentMethodData'Fpx'
-- | Defines the enum schema located at
-- paths./v1/payment_intents.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_data.properties.fpx.properties.bank
-- in the specification.
data PostPaymentIntentsRequestBodyPaymentMethodData'Fpx'Bank'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostPaymentIntentsRequestBodyPaymentMethodData'Fpx'Bank'Other :: Value -> PostPaymentIntentsRequestBodyPaymentMethodData'Fpx'Bank'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostPaymentIntentsRequestBodyPaymentMethodData'Fpx'Bank'Typed :: Text -> PostPaymentIntentsRequestBodyPaymentMethodData'Fpx'Bank'
-- | Represents the JSON value "affin_bank"
PostPaymentIntentsRequestBodyPaymentMethodData'Fpx'Bank'EnumAffinBank :: PostPaymentIntentsRequestBodyPaymentMethodData'Fpx'Bank'
-- | Represents the JSON value "alliance_bank"
PostPaymentIntentsRequestBodyPaymentMethodData'Fpx'Bank'EnumAllianceBank :: PostPaymentIntentsRequestBodyPaymentMethodData'Fpx'Bank'
-- | Represents the JSON value "ambank"
PostPaymentIntentsRequestBodyPaymentMethodData'Fpx'Bank'EnumAmbank :: PostPaymentIntentsRequestBodyPaymentMethodData'Fpx'Bank'
-- | Represents the JSON value "bank_islam"
PostPaymentIntentsRequestBodyPaymentMethodData'Fpx'Bank'EnumBankIslam :: PostPaymentIntentsRequestBodyPaymentMethodData'Fpx'Bank'
-- | Represents the JSON value "bank_muamalat"
PostPaymentIntentsRequestBodyPaymentMethodData'Fpx'Bank'EnumBankMuamalat :: PostPaymentIntentsRequestBodyPaymentMethodData'Fpx'Bank'
-- | Represents the JSON value "bank_rakyat"
PostPaymentIntentsRequestBodyPaymentMethodData'Fpx'Bank'EnumBankRakyat :: PostPaymentIntentsRequestBodyPaymentMethodData'Fpx'Bank'
-- | Represents the JSON value "bsn"
PostPaymentIntentsRequestBodyPaymentMethodData'Fpx'Bank'EnumBsn :: PostPaymentIntentsRequestBodyPaymentMethodData'Fpx'Bank'
-- | Represents the JSON value "cimb"
PostPaymentIntentsRequestBodyPaymentMethodData'Fpx'Bank'EnumCimb :: PostPaymentIntentsRequestBodyPaymentMethodData'Fpx'Bank'
-- | Represents the JSON value "deutsche_bank"
PostPaymentIntentsRequestBodyPaymentMethodData'Fpx'Bank'EnumDeutscheBank :: PostPaymentIntentsRequestBodyPaymentMethodData'Fpx'Bank'
-- | Represents the JSON value "hong_leong_bank"
PostPaymentIntentsRequestBodyPaymentMethodData'Fpx'Bank'EnumHongLeongBank :: PostPaymentIntentsRequestBodyPaymentMethodData'Fpx'Bank'
-- | Represents the JSON value "hsbc"
PostPaymentIntentsRequestBodyPaymentMethodData'Fpx'Bank'EnumHsbc :: PostPaymentIntentsRequestBodyPaymentMethodData'Fpx'Bank'
-- | Represents the JSON value "kfh"
PostPaymentIntentsRequestBodyPaymentMethodData'Fpx'Bank'EnumKfh :: PostPaymentIntentsRequestBodyPaymentMethodData'Fpx'Bank'
-- | Represents the JSON value "maybank2e"
PostPaymentIntentsRequestBodyPaymentMethodData'Fpx'Bank'EnumMaybank2e :: PostPaymentIntentsRequestBodyPaymentMethodData'Fpx'Bank'
-- | Represents the JSON value "maybank2u"
PostPaymentIntentsRequestBodyPaymentMethodData'Fpx'Bank'EnumMaybank2u :: PostPaymentIntentsRequestBodyPaymentMethodData'Fpx'Bank'
-- | Represents the JSON value "ocbc"
PostPaymentIntentsRequestBodyPaymentMethodData'Fpx'Bank'EnumOcbc :: PostPaymentIntentsRequestBodyPaymentMethodData'Fpx'Bank'
-- | Represents the JSON value "pb_enterprise"
PostPaymentIntentsRequestBodyPaymentMethodData'Fpx'Bank'EnumPbEnterprise :: PostPaymentIntentsRequestBodyPaymentMethodData'Fpx'Bank'
-- | Represents the JSON value "public_bank"
PostPaymentIntentsRequestBodyPaymentMethodData'Fpx'Bank'EnumPublicBank :: PostPaymentIntentsRequestBodyPaymentMethodData'Fpx'Bank'
-- | Represents the JSON value "rhb"
PostPaymentIntentsRequestBodyPaymentMethodData'Fpx'Bank'EnumRhb :: PostPaymentIntentsRequestBodyPaymentMethodData'Fpx'Bank'
-- | Represents the JSON value "standard_chartered"
PostPaymentIntentsRequestBodyPaymentMethodData'Fpx'Bank'EnumStandardChartered :: PostPaymentIntentsRequestBodyPaymentMethodData'Fpx'Bank'
-- | Represents the JSON value "uob"
PostPaymentIntentsRequestBodyPaymentMethodData'Fpx'Bank'EnumUob :: PostPaymentIntentsRequestBodyPaymentMethodData'Fpx'Bank'
-- | Defines the object schema located at
-- paths./v1/payment_intents.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_data.properties.ideal
-- in the specification.
data PostPaymentIntentsRequestBodyPaymentMethodData'Ideal'
PostPaymentIntentsRequestBodyPaymentMethodData'Ideal' :: Maybe PostPaymentIntentsRequestBodyPaymentMethodData'Ideal'Bank' -> PostPaymentIntentsRequestBodyPaymentMethodData'Ideal'
-- | bank
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsRequestBodyPaymentMethodData'Ideal'Bank] :: PostPaymentIntentsRequestBodyPaymentMethodData'Ideal' -> Maybe PostPaymentIntentsRequestBodyPaymentMethodData'Ideal'Bank'
-- | Create a new
-- PostPaymentIntentsRequestBodyPaymentMethodData'Ideal' with all
-- required fields.
mkPostPaymentIntentsRequestBodyPaymentMethodData'Ideal' :: PostPaymentIntentsRequestBodyPaymentMethodData'Ideal'
-- | Defines the enum schema located at
-- paths./v1/payment_intents.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_data.properties.ideal.properties.bank
-- in the specification.
data PostPaymentIntentsRequestBodyPaymentMethodData'Ideal'Bank'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostPaymentIntentsRequestBodyPaymentMethodData'Ideal'Bank'Other :: Value -> PostPaymentIntentsRequestBodyPaymentMethodData'Ideal'Bank'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostPaymentIntentsRequestBodyPaymentMethodData'Ideal'Bank'Typed :: Text -> PostPaymentIntentsRequestBodyPaymentMethodData'Ideal'Bank'
-- | Represents the JSON value "abn_amro"
PostPaymentIntentsRequestBodyPaymentMethodData'Ideal'Bank'EnumAbnAmro :: PostPaymentIntentsRequestBodyPaymentMethodData'Ideal'Bank'
-- | Represents the JSON value "asn_bank"
PostPaymentIntentsRequestBodyPaymentMethodData'Ideal'Bank'EnumAsnBank :: PostPaymentIntentsRequestBodyPaymentMethodData'Ideal'Bank'
-- | Represents the JSON value "bunq"
PostPaymentIntentsRequestBodyPaymentMethodData'Ideal'Bank'EnumBunq :: PostPaymentIntentsRequestBodyPaymentMethodData'Ideal'Bank'
-- | Represents the JSON value "handelsbanken"
PostPaymentIntentsRequestBodyPaymentMethodData'Ideal'Bank'EnumHandelsbanken :: PostPaymentIntentsRequestBodyPaymentMethodData'Ideal'Bank'
-- | Represents the JSON value "ing"
PostPaymentIntentsRequestBodyPaymentMethodData'Ideal'Bank'EnumIng :: PostPaymentIntentsRequestBodyPaymentMethodData'Ideal'Bank'
-- | Represents the JSON value "knab"
PostPaymentIntentsRequestBodyPaymentMethodData'Ideal'Bank'EnumKnab :: PostPaymentIntentsRequestBodyPaymentMethodData'Ideal'Bank'
-- | Represents the JSON value "moneyou"
PostPaymentIntentsRequestBodyPaymentMethodData'Ideal'Bank'EnumMoneyou :: PostPaymentIntentsRequestBodyPaymentMethodData'Ideal'Bank'
-- | Represents the JSON value "rabobank"
PostPaymentIntentsRequestBodyPaymentMethodData'Ideal'Bank'EnumRabobank :: PostPaymentIntentsRequestBodyPaymentMethodData'Ideal'Bank'
-- | Represents the JSON value "regiobank"
PostPaymentIntentsRequestBodyPaymentMethodData'Ideal'Bank'EnumRegiobank :: PostPaymentIntentsRequestBodyPaymentMethodData'Ideal'Bank'
-- | Represents the JSON value "revolut"
PostPaymentIntentsRequestBodyPaymentMethodData'Ideal'Bank'EnumRevolut :: PostPaymentIntentsRequestBodyPaymentMethodData'Ideal'Bank'
-- | Represents the JSON value "sns_bank"
PostPaymentIntentsRequestBodyPaymentMethodData'Ideal'Bank'EnumSnsBank :: PostPaymentIntentsRequestBodyPaymentMethodData'Ideal'Bank'
-- | Represents the JSON value "triodos_bank"
PostPaymentIntentsRequestBodyPaymentMethodData'Ideal'Bank'EnumTriodosBank :: PostPaymentIntentsRequestBodyPaymentMethodData'Ideal'Bank'
-- | Represents the JSON value "van_lanschot"
PostPaymentIntentsRequestBodyPaymentMethodData'Ideal'Bank'EnumVanLanschot :: PostPaymentIntentsRequestBodyPaymentMethodData'Ideal'Bank'
-- | Defines the object schema located at
-- paths./v1/payment_intents.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_data.properties.p24
-- in the specification.
data PostPaymentIntentsRequestBodyPaymentMethodData'P24'
PostPaymentIntentsRequestBodyPaymentMethodData'P24' :: Maybe PostPaymentIntentsRequestBodyPaymentMethodData'P24'Bank' -> PostPaymentIntentsRequestBodyPaymentMethodData'P24'
-- | bank
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsRequestBodyPaymentMethodData'P24'Bank] :: PostPaymentIntentsRequestBodyPaymentMethodData'P24' -> Maybe PostPaymentIntentsRequestBodyPaymentMethodData'P24'Bank'
-- | Create a new
-- PostPaymentIntentsRequestBodyPaymentMethodData'P24' with all
-- required fields.
mkPostPaymentIntentsRequestBodyPaymentMethodData'P24' :: PostPaymentIntentsRequestBodyPaymentMethodData'P24'
-- | Defines the enum schema located at
-- paths./v1/payment_intents.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_data.properties.p24.properties.bank
-- in the specification.
data PostPaymentIntentsRequestBodyPaymentMethodData'P24'Bank'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostPaymentIntentsRequestBodyPaymentMethodData'P24'Bank'Other :: Value -> PostPaymentIntentsRequestBodyPaymentMethodData'P24'Bank'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostPaymentIntentsRequestBodyPaymentMethodData'P24'Bank'Typed :: Text -> PostPaymentIntentsRequestBodyPaymentMethodData'P24'Bank'
-- | Represents the JSON value "alior_bank"
PostPaymentIntentsRequestBodyPaymentMethodData'P24'Bank'EnumAliorBank :: PostPaymentIntentsRequestBodyPaymentMethodData'P24'Bank'
-- | Represents the JSON value "bank_millennium"
PostPaymentIntentsRequestBodyPaymentMethodData'P24'Bank'EnumBankMillennium :: PostPaymentIntentsRequestBodyPaymentMethodData'P24'Bank'
-- | Represents the JSON value "bank_nowy_bfg_sa"
PostPaymentIntentsRequestBodyPaymentMethodData'P24'Bank'EnumBankNowyBfgSa :: PostPaymentIntentsRequestBodyPaymentMethodData'P24'Bank'
-- | Represents the JSON value "bank_pekao_sa"
PostPaymentIntentsRequestBodyPaymentMethodData'P24'Bank'EnumBankPekaoSa :: PostPaymentIntentsRequestBodyPaymentMethodData'P24'Bank'
-- | Represents the JSON value "banki_spbdzielcze"
PostPaymentIntentsRequestBodyPaymentMethodData'P24'Bank'EnumBankiSpbdzielcze :: PostPaymentIntentsRequestBodyPaymentMethodData'P24'Bank'
-- | Represents the JSON value "blik"
PostPaymentIntentsRequestBodyPaymentMethodData'P24'Bank'EnumBlik :: PostPaymentIntentsRequestBodyPaymentMethodData'P24'Bank'
-- | Represents the JSON value "bnp_paribas"
PostPaymentIntentsRequestBodyPaymentMethodData'P24'Bank'EnumBnpParibas :: PostPaymentIntentsRequestBodyPaymentMethodData'P24'Bank'
-- | Represents the JSON value "boz"
PostPaymentIntentsRequestBodyPaymentMethodData'P24'Bank'EnumBoz :: PostPaymentIntentsRequestBodyPaymentMethodData'P24'Bank'
-- | Represents the JSON value "citi_handlowy"
PostPaymentIntentsRequestBodyPaymentMethodData'P24'Bank'EnumCitiHandlowy :: PostPaymentIntentsRequestBodyPaymentMethodData'P24'Bank'
-- | Represents the JSON value "credit_agricole"
PostPaymentIntentsRequestBodyPaymentMethodData'P24'Bank'EnumCreditAgricole :: PostPaymentIntentsRequestBodyPaymentMethodData'P24'Bank'
-- | Represents the JSON value "envelobank"
PostPaymentIntentsRequestBodyPaymentMethodData'P24'Bank'EnumEnvelobank :: PostPaymentIntentsRequestBodyPaymentMethodData'P24'Bank'
-- | Represents the JSON value "etransfer_pocztowy24"
PostPaymentIntentsRequestBodyPaymentMethodData'P24'Bank'EnumEtransferPocztowy24 :: PostPaymentIntentsRequestBodyPaymentMethodData'P24'Bank'
-- | Represents the JSON value "getin_bank"
PostPaymentIntentsRequestBodyPaymentMethodData'P24'Bank'EnumGetinBank :: PostPaymentIntentsRequestBodyPaymentMethodData'P24'Bank'
-- | Represents the JSON value "ideabank"
PostPaymentIntentsRequestBodyPaymentMethodData'P24'Bank'EnumIdeabank :: PostPaymentIntentsRequestBodyPaymentMethodData'P24'Bank'
-- | Represents the JSON value "ing"
PostPaymentIntentsRequestBodyPaymentMethodData'P24'Bank'EnumIng :: PostPaymentIntentsRequestBodyPaymentMethodData'P24'Bank'
-- | Represents the JSON value "inteligo"
PostPaymentIntentsRequestBodyPaymentMethodData'P24'Bank'EnumInteligo :: PostPaymentIntentsRequestBodyPaymentMethodData'P24'Bank'
-- | Represents the JSON value "mbank_mtransfer"
PostPaymentIntentsRequestBodyPaymentMethodData'P24'Bank'EnumMbankMtransfer :: PostPaymentIntentsRequestBodyPaymentMethodData'P24'Bank'
-- | Represents the JSON value "nest_przelew"
PostPaymentIntentsRequestBodyPaymentMethodData'P24'Bank'EnumNestPrzelew :: PostPaymentIntentsRequestBodyPaymentMethodData'P24'Bank'
-- | Represents the JSON value "noble_pay"
PostPaymentIntentsRequestBodyPaymentMethodData'P24'Bank'EnumNoblePay :: PostPaymentIntentsRequestBodyPaymentMethodData'P24'Bank'
-- | Represents the JSON value "pbac_z_ipko"
PostPaymentIntentsRequestBodyPaymentMethodData'P24'Bank'EnumPbacZIpko :: PostPaymentIntentsRequestBodyPaymentMethodData'P24'Bank'
-- | Represents the JSON value "plus_bank"
PostPaymentIntentsRequestBodyPaymentMethodData'P24'Bank'EnumPlusBank :: PostPaymentIntentsRequestBodyPaymentMethodData'P24'Bank'
-- | Represents the JSON value "santander_przelew24"
PostPaymentIntentsRequestBodyPaymentMethodData'P24'Bank'EnumSantanderPrzelew24 :: PostPaymentIntentsRequestBodyPaymentMethodData'P24'Bank'
-- | Represents the JSON value "tmobile_usbugi_bankowe"
PostPaymentIntentsRequestBodyPaymentMethodData'P24'Bank'EnumTmobileUsbugiBankowe :: PostPaymentIntentsRequestBodyPaymentMethodData'P24'Bank'
-- | Represents the JSON value "toyota_bank"
PostPaymentIntentsRequestBodyPaymentMethodData'P24'Bank'EnumToyotaBank :: PostPaymentIntentsRequestBodyPaymentMethodData'P24'Bank'
-- | Represents the JSON value "volkswagen_bank"
PostPaymentIntentsRequestBodyPaymentMethodData'P24'Bank'EnumVolkswagenBank :: PostPaymentIntentsRequestBodyPaymentMethodData'P24'Bank'
-- | Defines the object schema located at
-- paths./v1/payment_intents.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_data.properties.sepa_debit
-- in the specification.
data PostPaymentIntentsRequestBodyPaymentMethodData'SepaDebit'
PostPaymentIntentsRequestBodyPaymentMethodData'SepaDebit' :: Text -> PostPaymentIntentsRequestBodyPaymentMethodData'SepaDebit'
-- | iban
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsRequestBodyPaymentMethodData'SepaDebit'Iban] :: PostPaymentIntentsRequestBodyPaymentMethodData'SepaDebit' -> Text
-- | Create a new
-- PostPaymentIntentsRequestBodyPaymentMethodData'SepaDebit' with
-- all required fields.
mkPostPaymentIntentsRequestBodyPaymentMethodData'SepaDebit' :: Text -> PostPaymentIntentsRequestBodyPaymentMethodData'SepaDebit'
-- | Defines the object schema located at
-- paths./v1/payment_intents.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_data.properties.sofort
-- in the specification.
data PostPaymentIntentsRequestBodyPaymentMethodData'Sofort'
PostPaymentIntentsRequestBodyPaymentMethodData'Sofort' :: PostPaymentIntentsRequestBodyPaymentMethodData'Sofort'Country' -> PostPaymentIntentsRequestBodyPaymentMethodData'Sofort'
-- | country
[postPaymentIntentsRequestBodyPaymentMethodData'Sofort'Country] :: PostPaymentIntentsRequestBodyPaymentMethodData'Sofort' -> PostPaymentIntentsRequestBodyPaymentMethodData'Sofort'Country'
-- | Create a new
-- PostPaymentIntentsRequestBodyPaymentMethodData'Sofort' with all
-- required fields.
mkPostPaymentIntentsRequestBodyPaymentMethodData'Sofort' :: PostPaymentIntentsRequestBodyPaymentMethodData'Sofort'Country' -> PostPaymentIntentsRequestBodyPaymentMethodData'Sofort'
-- | Defines the enum schema located at
-- paths./v1/payment_intents.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_data.properties.sofort.properties.country
-- in the specification.
data PostPaymentIntentsRequestBodyPaymentMethodData'Sofort'Country'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostPaymentIntentsRequestBodyPaymentMethodData'Sofort'Country'Other :: Value -> PostPaymentIntentsRequestBodyPaymentMethodData'Sofort'Country'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostPaymentIntentsRequestBodyPaymentMethodData'Sofort'Country'Typed :: Text -> PostPaymentIntentsRequestBodyPaymentMethodData'Sofort'Country'
-- | Represents the JSON value AT
PostPaymentIntentsRequestBodyPaymentMethodData'Sofort'Country'EnumAT :: PostPaymentIntentsRequestBodyPaymentMethodData'Sofort'Country'
-- | Represents the JSON value BE
PostPaymentIntentsRequestBodyPaymentMethodData'Sofort'Country'EnumBE :: PostPaymentIntentsRequestBodyPaymentMethodData'Sofort'Country'
-- | Represents the JSON value DE
PostPaymentIntentsRequestBodyPaymentMethodData'Sofort'Country'EnumDE :: PostPaymentIntentsRequestBodyPaymentMethodData'Sofort'Country'
-- | Represents the JSON value ES
PostPaymentIntentsRequestBodyPaymentMethodData'Sofort'Country'EnumES :: PostPaymentIntentsRequestBodyPaymentMethodData'Sofort'Country'
-- | Represents the JSON value IT
PostPaymentIntentsRequestBodyPaymentMethodData'Sofort'Country'EnumIT :: PostPaymentIntentsRequestBodyPaymentMethodData'Sofort'Country'
-- | Represents the JSON value NL
PostPaymentIntentsRequestBodyPaymentMethodData'Sofort'Country'EnumNL :: PostPaymentIntentsRequestBodyPaymentMethodData'Sofort'Country'
-- | Defines the enum schema located at
-- paths./v1/payment_intents.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_data.properties.type
-- in the specification.
data PostPaymentIntentsRequestBodyPaymentMethodData'Type'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostPaymentIntentsRequestBodyPaymentMethodData'Type'Other :: Value -> PostPaymentIntentsRequestBodyPaymentMethodData'Type'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostPaymentIntentsRequestBodyPaymentMethodData'Type'Typed :: Text -> PostPaymentIntentsRequestBodyPaymentMethodData'Type'
-- | Represents the JSON value "acss_debit"
PostPaymentIntentsRequestBodyPaymentMethodData'Type'EnumAcssDebit :: PostPaymentIntentsRequestBodyPaymentMethodData'Type'
-- | Represents the JSON value "afterpay_clearpay"
PostPaymentIntentsRequestBodyPaymentMethodData'Type'EnumAfterpayClearpay :: PostPaymentIntentsRequestBodyPaymentMethodData'Type'
-- | Represents the JSON value "alipay"
PostPaymentIntentsRequestBodyPaymentMethodData'Type'EnumAlipay :: PostPaymentIntentsRequestBodyPaymentMethodData'Type'
-- | Represents the JSON value "au_becs_debit"
PostPaymentIntentsRequestBodyPaymentMethodData'Type'EnumAuBecsDebit :: PostPaymentIntentsRequestBodyPaymentMethodData'Type'
-- | Represents the JSON value "bacs_debit"
PostPaymentIntentsRequestBodyPaymentMethodData'Type'EnumBacsDebit :: PostPaymentIntentsRequestBodyPaymentMethodData'Type'
-- | Represents the JSON value "bancontact"
PostPaymentIntentsRequestBodyPaymentMethodData'Type'EnumBancontact :: PostPaymentIntentsRequestBodyPaymentMethodData'Type'
-- | Represents the JSON value "boleto"
PostPaymentIntentsRequestBodyPaymentMethodData'Type'EnumBoleto :: PostPaymentIntentsRequestBodyPaymentMethodData'Type'
-- | Represents the JSON value "eps"
PostPaymentIntentsRequestBodyPaymentMethodData'Type'EnumEps :: PostPaymentIntentsRequestBodyPaymentMethodData'Type'
-- | Represents the JSON value "fpx"
PostPaymentIntentsRequestBodyPaymentMethodData'Type'EnumFpx :: PostPaymentIntentsRequestBodyPaymentMethodData'Type'
-- | Represents the JSON value "giropay"
PostPaymentIntentsRequestBodyPaymentMethodData'Type'EnumGiropay :: PostPaymentIntentsRequestBodyPaymentMethodData'Type'
-- | Represents the JSON value "grabpay"
PostPaymentIntentsRequestBodyPaymentMethodData'Type'EnumGrabpay :: PostPaymentIntentsRequestBodyPaymentMethodData'Type'
-- | Represents the JSON value "ideal"
PostPaymentIntentsRequestBodyPaymentMethodData'Type'EnumIdeal :: PostPaymentIntentsRequestBodyPaymentMethodData'Type'
-- | Represents the JSON value "oxxo"
PostPaymentIntentsRequestBodyPaymentMethodData'Type'EnumOxxo :: PostPaymentIntentsRequestBodyPaymentMethodData'Type'
-- | Represents the JSON value "p24"
PostPaymentIntentsRequestBodyPaymentMethodData'Type'EnumP24 :: PostPaymentIntentsRequestBodyPaymentMethodData'Type'
-- | Represents the JSON value "sepa_debit"
PostPaymentIntentsRequestBodyPaymentMethodData'Type'EnumSepaDebit :: PostPaymentIntentsRequestBodyPaymentMethodData'Type'
-- | Represents the JSON value "sofort"
PostPaymentIntentsRequestBodyPaymentMethodData'Type'EnumSofort :: PostPaymentIntentsRequestBodyPaymentMethodData'Type'
-- | Defines the object schema located at
-- paths./v1/payment_intents.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options
-- in the specification.
--
-- Payment-method-specific configuration for this PaymentIntent.
data PostPaymentIntentsRequestBodyPaymentMethodOptions'
PostPaymentIntentsRequestBodyPaymentMethodOptions' :: Maybe PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'Variants -> Maybe PostPaymentIntentsRequestBodyPaymentMethodOptions'AfterpayClearpay'Variants -> Maybe PostPaymentIntentsRequestBodyPaymentMethodOptions'Alipay'Variants -> Maybe PostPaymentIntentsRequestBodyPaymentMethodOptions'Bancontact'Variants -> Maybe PostPaymentIntentsRequestBodyPaymentMethodOptions'Boleto'Variants -> Maybe PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'Variants -> Maybe PostPaymentIntentsRequestBodyPaymentMethodOptions'CardPresent'Variants -> Maybe PostPaymentIntentsRequestBodyPaymentMethodOptions'Oxxo'Variants -> Maybe PostPaymentIntentsRequestBodyPaymentMethodOptions'P24'Variants -> Maybe PostPaymentIntentsRequestBodyPaymentMethodOptions'SepaDebit'Variants -> Maybe PostPaymentIntentsRequestBodyPaymentMethodOptions'Sofort'Variants -> PostPaymentIntentsRequestBodyPaymentMethodOptions'
-- | acss_debit
[postPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit] :: PostPaymentIntentsRequestBodyPaymentMethodOptions' -> Maybe PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'Variants
-- | afterpay_clearpay
[postPaymentIntentsRequestBodyPaymentMethodOptions'AfterpayClearpay] :: PostPaymentIntentsRequestBodyPaymentMethodOptions' -> Maybe PostPaymentIntentsRequestBodyPaymentMethodOptions'AfterpayClearpay'Variants
-- | alipay
[postPaymentIntentsRequestBodyPaymentMethodOptions'Alipay] :: PostPaymentIntentsRequestBodyPaymentMethodOptions' -> Maybe PostPaymentIntentsRequestBodyPaymentMethodOptions'Alipay'Variants
-- | bancontact
[postPaymentIntentsRequestBodyPaymentMethodOptions'Bancontact] :: PostPaymentIntentsRequestBodyPaymentMethodOptions' -> Maybe PostPaymentIntentsRequestBodyPaymentMethodOptions'Bancontact'Variants
-- | boleto
[postPaymentIntentsRequestBodyPaymentMethodOptions'Boleto] :: PostPaymentIntentsRequestBodyPaymentMethodOptions' -> Maybe PostPaymentIntentsRequestBodyPaymentMethodOptions'Boleto'Variants
-- | card
[postPaymentIntentsRequestBodyPaymentMethodOptions'Card] :: PostPaymentIntentsRequestBodyPaymentMethodOptions' -> Maybe PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'Variants
-- | card_present
[postPaymentIntentsRequestBodyPaymentMethodOptions'CardPresent] :: PostPaymentIntentsRequestBodyPaymentMethodOptions' -> Maybe PostPaymentIntentsRequestBodyPaymentMethodOptions'CardPresent'Variants
-- | oxxo
[postPaymentIntentsRequestBodyPaymentMethodOptions'Oxxo] :: PostPaymentIntentsRequestBodyPaymentMethodOptions' -> Maybe PostPaymentIntentsRequestBodyPaymentMethodOptions'Oxxo'Variants
-- | p24
[postPaymentIntentsRequestBodyPaymentMethodOptions'P24] :: PostPaymentIntentsRequestBodyPaymentMethodOptions' -> Maybe PostPaymentIntentsRequestBodyPaymentMethodOptions'P24'Variants
-- | sepa_debit
[postPaymentIntentsRequestBodyPaymentMethodOptions'SepaDebit] :: PostPaymentIntentsRequestBodyPaymentMethodOptions' -> Maybe PostPaymentIntentsRequestBodyPaymentMethodOptions'SepaDebit'Variants
-- | sofort
[postPaymentIntentsRequestBodyPaymentMethodOptions'Sofort] :: PostPaymentIntentsRequestBodyPaymentMethodOptions' -> Maybe PostPaymentIntentsRequestBodyPaymentMethodOptions'Sofort'Variants
-- | Create a new PostPaymentIntentsRequestBodyPaymentMethodOptions'
-- with all required fields.
mkPostPaymentIntentsRequestBodyPaymentMethodOptions' :: PostPaymentIntentsRequestBodyPaymentMethodOptions'
-- | Defines the object schema located at
-- paths./v1/payment_intents.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.acss_debit.anyOf
-- in the specification.
data PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'OneOf1
PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'OneOf1 :: Maybe PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions' -> Maybe PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'OneOf1VerificationMethod' -> PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'OneOf1
-- | mandate_options
[postPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions] :: PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'OneOf1 -> Maybe PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'
-- | verification_method
[postPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'OneOf1VerificationMethod] :: PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'OneOf1 -> Maybe PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'OneOf1VerificationMethod'
-- | Create a new
-- PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'OneOf1
-- with all required fields.
mkPostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'OneOf1 :: PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'OneOf1
-- | Defines the object schema located at
-- paths./v1/payment_intents.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.acss_debit.anyOf.properties.mandate_options
-- in the specification.
data PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'
PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions' :: Maybe PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'CustomMandateUrl'Variants -> Maybe Text -> Maybe PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'PaymentSchedule' -> Maybe PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'TransactionType' -> PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'
-- | custom_mandate_url
[postPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'CustomMandateUrl] :: PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions' -> Maybe PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'CustomMandateUrl'Variants
-- | interval_description
--
-- Constraints:
--
--
-- - Maximum length of 500
--
[postPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'IntervalDescription] :: PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions' -> Maybe Text
-- | payment_schedule
[postPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'PaymentSchedule] :: PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions' -> Maybe PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'PaymentSchedule'
-- | transaction_type
[postPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'TransactionType] :: PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions' -> Maybe PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'TransactionType'
-- | Create a new
-- PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'
-- with all required fields.
mkPostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions' :: PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'
-- | Defines the oneOf schema located at
-- paths./v1/payment_intents.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.acss_debit.anyOf.properties.mandate_options.properties.custom_mandate_url.anyOf
-- in the specification.
data PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'CustomMandateUrl'Variants
-- | Represents the JSON value ""
PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'CustomMandateUrl'EmptyString :: PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'CustomMandateUrl'Variants
PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'CustomMandateUrl'Text :: Text -> PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'CustomMandateUrl'Variants
-- | Defines the enum schema located at
-- paths./v1/payment_intents.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.acss_debit.anyOf.properties.mandate_options.properties.payment_schedule
-- in the specification.
data PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'PaymentSchedule'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'PaymentSchedule'Other :: Value -> PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'PaymentSchedule'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'PaymentSchedule'Typed :: Text -> PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'PaymentSchedule'
-- | Represents the JSON value "combined"
PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'PaymentSchedule'EnumCombined :: PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'PaymentSchedule'
-- | Represents the JSON value "interval"
PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'PaymentSchedule'EnumInterval :: PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'PaymentSchedule'
-- | Represents the JSON value "sporadic"
PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'PaymentSchedule'EnumSporadic :: PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'PaymentSchedule'
-- | Defines the enum schema located at
-- paths./v1/payment_intents.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.acss_debit.anyOf.properties.mandate_options.properties.transaction_type
-- in the specification.
data PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'TransactionType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'TransactionType'Other :: Value -> PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'TransactionType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'TransactionType'Typed :: Text -> PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'TransactionType'
-- | Represents the JSON value "business"
PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'TransactionType'EnumBusiness :: PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'TransactionType'
-- | Represents the JSON value "personal"
PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'TransactionType'EnumPersonal :: PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'TransactionType'
-- | Defines the enum schema located at
-- paths./v1/payment_intents.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.acss_debit.anyOf.properties.verification_method
-- in the specification.
data PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'OneOf1VerificationMethod'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'OneOf1VerificationMethod'Other :: Value -> PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'OneOf1VerificationMethod'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'OneOf1VerificationMethod'Typed :: Text -> PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'OneOf1VerificationMethod'
-- | Represents the JSON value "automatic"
PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'OneOf1VerificationMethod'EnumAutomatic :: PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'OneOf1VerificationMethod'
-- | Represents the JSON value "instant"
PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'OneOf1VerificationMethod'EnumInstant :: PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'OneOf1VerificationMethod'
-- | Represents the JSON value "microdeposits"
PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'OneOf1VerificationMethod'EnumMicrodeposits :: PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'OneOf1VerificationMethod'
-- | Defines the oneOf schema located at
-- paths./v1/payment_intents.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.acss_debit.anyOf
-- in the specification.
data PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'Variants
-- | Represents the JSON value ""
PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'EmptyString :: PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'Variants
PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'OneOf1 :: PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'OneOf1 -> PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'Variants
-- | Defines the object schema located at
-- paths./v1/payment_intents.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.afterpay_clearpay.anyOf
-- in the specification.
data PostPaymentIntentsRequestBodyPaymentMethodOptions'AfterpayClearpay'OneOf1
PostPaymentIntentsRequestBodyPaymentMethodOptions'AfterpayClearpay'OneOf1 :: Maybe Text -> PostPaymentIntentsRequestBodyPaymentMethodOptions'AfterpayClearpay'OneOf1
-- | reference
--
-- Constraints:
--
--
-- - Maximum length of 128
--
[postPaymentIntentsRequestBodyPaymentMethodOptions'AfterpayClearpay'OneOf1Reference] :: PostPaymentIntentsRequestBodyPaymentMethodOptions'AfterpayClearpay'OneOf1 -> Maybe Text
-- | Create a new
-- PostPaymentIntentsRequestBodyPaymentMethodOptions'AfterpayClearpay'OneOf1
-- with all required fields.
mkPostPaymentIntentsRequestBodyPaymentMethodOptions'AfterpayClearpay'OneOf1 :: PostPaymentIntentsRequestBodyPaymentMethodOptions'AfterpayClearpay'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/payment_intents.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.afterpay_clearpay.anyOf
-- in the specification.
data PostPaymentIntentsRequestBodyPaymentMethodOptions'AfterpayClearpay'Variants
-- | Represents the JSON value ""
PostPaymentIntentsRequestBodyPaymentMethodOptions'AfterpayClearpay'EmptyString :: PostPaymentIntentsRequestBodyPaymentMethodOptions'AfterpayClearpay'Variants
PostPaymentIntentsRequestBodyPaymentMethodOptions'AfterpayClearpay'PostPaymentIntentsRequestBodyPaymentMethodOptions'AfterpayClearpay'OneOf1 :: PostPaymentIntentsRequestBodyPaymentMethodOptions'AfterpayClearpay'OneOf1 -> PostPaymentIntentsRequestBodyPaymentMethodOptions'AfterpayClearpay'Variants
-- | Defines the oneOf schema located at
-- paths./v1/payment_intents.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.alipay.anyOf
-- in the specification.
data PostPaymentIntentsRequestBodyPaymentMethodOptions'Alipay'Variants
-- | Represents the JSON value ""
PostPaymentIntentsRequestBodyPaymentMethodOptions'Alipay'EmptyString :: PostPaymentIntentsRequestBodyPaymentMethodOptions'Alipay'Variants
PostPaymentIntentsRequestBodyPaymentMethodOptions'Alipay'Object :: Object -> PostPaymentIntentsRequestBodyPaymentMethodOptions'Alipay'Variants
-- | Defines the object schema located at
-- paths./v1/payment_intents.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.bancontact.anyOf
-- in the specification.
data PostPaymentIntentsRequestBodyPaymentMethodOptions'Bancontact'OneOf1
PostPaymentIntentsRequestBodyPaymentMethodOptions'Bancontact'OneOf1 :: Maybe PostPaymentIntentsRequestBodyPaymentMethodOptions'Bancontact'OneOf1PreferredLanguage' -> PostPaymentIntentsRequestBodyPaymentMethodOptions'Bancontact'OneOf1
-- | preferred_language
[postPaymentIntentsRequestBodyPaymentMethodOptions'Bancontact'OneOf1PreferredLanguage] :: PostPaymentIntentsRequestBodyPaymentMethodOptions'Bancontact'OneOf1 -> Maybe PostPaymentIntentsRequestBodyPaymentMethodOptions'Bancontact'OneOf1PreferredLanguage'
-- | Create a new
-- PostPaymentIntentsRequestBodyPaymentMethodOptions'Bancontact'OneOf1
-- with all required fields.
mkPostPaymentIntentsRequestBodyPaymentMethodOptions'Bancontact'OneOf1 :: PostPaymentIntentsRequestBodyPaymentMethodOptions'Bancontact'OneOf1
-- | Defines the enum schema located at
-- paths./v1/payment_intents.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.bancontact.anyOf.properties.preferred_language
-- in the specification.
data PostPaymentIntentsRequestBodyPaymentMethodOptions'Bancontact'OneOf1PreferredLanguage'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostPaymentIntentsRequestBodyPaymentMethodOptions'Bancontact'OneOf1PreferredLanguage'Other :: Value -> PostPaymentIntentsRequestBodyPaymentMethodOptions'Bancontact'OneOf1PreferredLanguage'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostPaymentIntentsRequestBodyPaymentMethodOptions'Bancontact'OneOf1PreferredLanguage'Typed :: Text -> PostPaymentIntentsRequestBodyPaymentMethodOptions'Bancontact'OneOf1PreferredLanguage'
-- | Represents the JSON value "de"
PostPaymentIntentsRequestBodyPaymentMethodOptions'Bancontact'OneOf1PreferredLanguage'EnumDe :: PostPaymentIntentsRequestBodyPaymentMethodOptions'Bancontact'OneOf1PreferredLanguage'
-- | Represents the JSON value "en"
PostPaymentIntentsRequestBodyPaymentMethodOptions'Bancontact'OneOf1PreferredLanguage'EnumEn :: PostPaymentIntentsRequestBodyPaymentMethodOptions'Bancontact'OneOf1PreferredLanguage'
-- | Represents the JSON value "fr"
PostPaymentIntentsRequestBodyPaymentMethodOptions'Bancontact'OneOf1PreferredLanguage'EnumFr :: PostPaymentIntentsRequestBodyPaymentMethodOptions'Bancontact'OneOf1PreferredLanguage'
-- | Represents the JSON value "nl"
PostPaymentIntentsRequestBodyPaymentMethodOptions'Bancontact'OneOf1PreferredLanguage'EnumNl :: PostPaymentIntentsRequestBodyPaymentMethodOptions'Bancontact'OneOf1PreferredLanguage'
-- | Defines the oneOf schema located at
-- paths./v1/payment_intents.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.bancontact.anyOf
-- in the specification.
data PostPaymentIntentsRequestBodyPaymentMethodOptions'Bancontact'Variants
-- | Represents the JSON value ""
PostPaymentIntentsRequestBodyPaymentMethodOptions'Bancontact'EmptyString :: PostPaymentIntentsRequestBodyPaymentMethodOptions'Bancontact'Variants
PostPaymentIntentsRequestBodyPaymentMethodOptions'Bancontact'PostPaymentIntentsRequestBodyPaymentMethodOptions'Bancontact'OneOf1 :: PostPaymentIntentsRequestBodyPaymentMethodOptions'Bancontact'OneOf1 -> PostPaymentIntentsRequestBodyPaymentMethodOptions'Bancontact'Variants
-- | Defines the object schema located at
-- paths./v1/payment_intents.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.boleto.anyOf
-- in the specification.
data PostPaymentIntentsRequestBodyPaymentMethodOptions'Boleto'OneOf1
PostPaymentIntentsRequestBodyPaymentMethodOptions'Boleto'OneOf1 :: Maybe Int -> PostPaymentIntentsRequestBodyPaymentMethodOptions'Boleto'OneOf1
-- | expires_after_days
[postPaymentIntentsRequestBodyPaymentMethodOptions'Boleto'OneOf1ExpiresAfterDays] :: PostPaymentIntentsRequestBodyPaymentMethodOptions'Boleto'OneOf1 -> Maybe Int
-- | Create a new
-- PostPaymentIntentsRequestBodyPaymentMethodOptions'Boleto'OneOf1
-- with all required fields.
mkPostPaymentIntentsRequestBodyPaymentMethodOptions'Boleto'OneOf1 :: PostPaymentIntentsRequestBodyPaymentMethodOptions'Boleto'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/payment_intents.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.boleto.anyOf
-- in the specification.
data PostPaymentIntentsRequestBodyPaymentMethodOptions'Boleto'Variants
-- | Represents the JSON value ""
PostPaymentIntentsRequestBodyPaymentMethodOptions'Boleto'EmptyString :: PostPaymentIntentsRequestBodyPaymentMethodOptions'Boleto'Variants
PostPaymentIntentsRequestBodyPaymentMethodOptions'Boleto'PostPaymentIntentsRequestBodyPaymentMethodOptions'Boleto'OneOf1 :: PostPaymentIntentsRequestBodyPaymentMethodOptions'Boleto'OneOf1 -> PostPaymentIntentsRequestBodyPaymentMethodOptions'Boleto'Variants
-- | Defines the object schema located at
-- paths./v1/payment_intents.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.card.anyOf
-- in the specification.
data PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1
PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1 :: Maybe Text -> Maybe PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1Installments' -> Maybe PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1Network' -> Maybe PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1RequestThreeDSecure' -> PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1
-- | cvc_token
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1CvcToken] :: PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1 -> Maybe Text
-- | installments
[postPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1Installments] :: PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1 -> Maybe PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1Installments'
-- | network
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1Network] :: PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1 -> Maybe PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1Network'
-- | request_three_d_secure
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1RequestThreeDSecure] :: PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1 -> Maybe PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1RequestThreeDSecure'
-- | Create a new
-- PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1
-- with all required fields.
mkPostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1 :: PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1
-- | Defines the object schema located at
-- paths./v1/payment_intents.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.card.anyOf.properties.installments
-- in the specification.
data PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1Installments'
PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1Installments' :: Maybe Bool -> Maybe PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1Installments'Plan'Variants -> PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1Installments'
-- | enabled
[postPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1Installments'Enabled] :: PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1Installments' -> Maybe Bool
-- | plan
[postPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1Installments'Plan] :: PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1Installments' -> Maybe PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1Installments'Plan'Variants
-- | Create a new
-- PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1Installments'
-- with all required fields.
mkPostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1Installments' :: PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1Installments'
-- | Defines the object schema located at
-- paths./v1/payment_intents.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.card.anyOf.properties.installments.properties.plan.anyOf
-- in the specification.
data PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1Installments'Plan'OneOf1
PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1Installments'Plan'OneOf1 :: Int -> PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1Installments'Plan'OneOf1
-- | count
[postPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1Installments'Plan'OneOf1Count] :: PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1Installments'Plan'OneOf1 -> Int
-- | Create a new
-- PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1Installments'Plan'OneOf1
-- with all required fields.
mkPostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1Installments'Plan'OneOf1 :: Int -> PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1Installments'Plan'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/payment_intents.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.card.anyOf.properties.installments.properties.plan.anyOf
-- in the specification.
data PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1Installments'Plan'Variants
-- | Represents the JSON value ""
PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1Installments'Plan'EmptyString :: PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1Installments'Plan'Variants
PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1Installments'Plan'PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1Installments'Plan'OneOf1 :: PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1Installments'Plan'OneOf1 -> PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1Installments'Plan'Variants
-- | Defines the enum schema located at
-- paths./v1/payment_intents.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.card.anyOf.properties.network
-- in the specification.
data PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1Network'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1Network'Other :: Value -> PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1Network'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1Network'Typed :: Text -> PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1Network'
-- | Represents the JSON value "amex"
PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1Network'EnumAmex :: PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1Network'
-- | Represents the JSON value "cartes_bancaires"
PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1Network'EnumCartesBancaires :: PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1Network'
-- | Represents the JSON value "diners"
PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1Network'EnumDiners :: PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1Network'
-- | Represents the JSON value "discover"
PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1Network'EnumDiscover :: PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1Network'
-- | Represents the JSON value "interac"
PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1Network'EnumInterac :: PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1Network'
-- | Represents the JSON value "jcb"
PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1Network'EnumJcb :: PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1Network'
-- | Represents the JSON value "mastercard"
PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1Network'EnumMastercard :: PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1Network'
-- | Represents the JSON value "unionpay"
PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1Network'EnumUnionpay :: PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1Network'
-- | Represents the JSON value "unknown"
PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1Network'EnumUnknown :: PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1Network'
-- | Represents the JSON value "visa"
PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1Network'EnumVisa :: PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1Network'
-- | Defines the enum schema located at
-- paths./v1/payment_intents.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.card.anyOf.properties.request_three_d_secure
-- in the specification.
data PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1RequestThreeDSecure'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1RequestThreeDSecure'Other :: Value -> PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1RequestThreeDSecure'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1RequestThreeDSecure'Typed :: Text -> PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1RequestThreeDSecure'
-- | Represents the JSON value "any"
PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1RequestThreeDSecure'EnumAny :: PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1RequestThreeDSecure'
-- | Represents the JSON value "automatic"
PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1RequestThreeDSecure'EnumAutomatic :: PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1RequestThreeDSecure'
-- | Defines the oneOf schema located at
-- paths./v1/payment_intents.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.card.anyOf
-- in the specification.
data PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'Variants
-- | Represents the JSON value ""
PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'EmptyString :: PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'Variants
PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1 :: PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1 -> PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'Variants
-- | Defines the oneOf schema located at
-- paths./v1/payment_intents.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.card_present.anyOf
-- in the specification.
data PostPaymentIntentsRequestBodyPaymentMethodOptions'CardPresent'Variants
-- | Represents the JSON value ""
PostPaymentIntentsRequestBodyPaymentMethodOptions'CardPresent'EmptyString :: PostPaymentIntentsRequestBodyPaymentMethodOptions'CardPresent'Variants
PostPaymentIntentsRequestBodyPaymentMethodOptions'CardPresent'Object :: Object -> PostPaymentIntentsRequestBodyPaymentMethodOptions'CardPresent'Variants
-- | Defines the object schema located at
-- paths./v1/payment_intents.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.oxxo.anyOf
-- in the specification.
data PostPaymentIntentsRequestBodyPaymentMethodOptions'Oxxo'OneOf1
PostPaymentIntentsRequestBodyPaymentMethodOptions'Oxxo'OneOf1 :: Maybe Int -> PostPaymentIntentsRequestBodyPaymentMethodOptions'Oxxo'OneOf1
-- | expires_after_days
[postPaymentIntentsRequestBodyPaymentMethodOptions'Oxxo'OneOf1ExpiresAfterDays] :: PostPaymentIntentsRequestBodyPaymentMethodOptions'Oxxo'OneOf1 -> Maybe Int
-- | Create a new
-- PostPaymentIntentsRequestBodyPaymentMethodOptions'Oxxo'OneOf1
-- with all required fields.
mkPostPaymentIntentsRequestBodyPaymentMethodOptions'Oxxo'OneOf1 :: PostPaymentIntentsRequestBodyPaymentMethodOptions'Oxxo'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/payment_intents.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.oxxo.anyOf
-- in the specification.
data PostPaymentIntentsRequestBodyPaymentMethodOptions'Oxxo'Variants
-- | Represents the JSON value ""
PostPaymentIntentsRequestBodyPaymentMethodOptions'Oxxo'EmptyString :: PostPaymentIntentsRequestBodyPaymentMethodOptions'Oxxo'Variants
PostPaymentIntentsRequestBodyPaymentMethodOptions'Oxxo'PostPaymentIntentsRequestBodyPaymentMethodOptions'Oxxo'OneOf1 :: PostPaymentIntentsRequestBodyPaymentMethodOptions'Oxxo'OneOf1 -> PostPaymentIntentsRequestBodyPaymentMethodOptions'Oxxo'Variants
-- | Defines the object schema located at
-- paths./v1/payment_intents.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.p24.anyOf
-- in the specification.
data PostPaymentIntentsRequestBodyPaymentMethodOptions'P24'OneOf1
PostPaymentIntentsRequestBodyPaymentMethodOptions'P24'OneOf1 :: Maybe Bool -> PostPaymentIntentsRequestBodyPaymentMethodOptions'P24'OneOf1
-- | tos_shown_and_accepted
[postPaymentIntentsRequestBodyPaymentMethodOptions'P24'OneOf1TosShownAndAccepted] :: PostPaymentIntentsRequestBodyPaymentMethodOptions'P24'OneOf1 -> Maybe Bool
-- | Create a new
-- PostPaymentIntentsRequestBodyPaymentMethodOptions'P24'OneOf1
-- with all required fields.
mkPostPaymentIntentsRequestBodyPaymentMethodOptions'P24'OneOf1 :: PostPaymentIntentsRequestBodyPaymentMethodOptions'P24'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/payment_intents.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.p24.anyOf
-- in the specification.
data PostPaymentIntentsRequestBodyPaymentMethodOptions'P24'Variants
-- | Represents the JSON value ""
PostPaymentIntentsRequestBodyPaymentMethodOptions'P24'EmptyString :: PostPaymentIntentsRequestBodyPaymentMethodOptions'P24'Variants
PostPaymentIntentsRequestBodyPaymentMethodOptions'P24'PostPaymentIntentsRequestBodyPaymentMethodOptions'P24'OneOf1 :: PostPaymentIntentsRequestBodyPaymentMethodOptions'P24'OneOf1 -> PostPaymentIntentsRequestBodyPaymentMethodOptions'P24'Variants
-- | Defines the object schema located at
-- paths./v1/payment_intents.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.sepa_debit.anyOf
-- in the specification.
data PostPaymentIntentsRequestBodyPaymentMethodOptions'SepaDebit'OneOf1
PostPaymentIntentsRequestBodyPaymentMethodOptions'SepaDebit'OneOf1 :: Maybe Object -> PostPaymentIntentsRequestBodyPaymentMethodOptions'SepaDebit'OneOf1
-- | mandate_options
[postPaymentIntentsRequestBodyPaymentMethodOptions'SepaDebit'OneOf1MandateOptions] :: PostPaymentIntentsRequestBodyPaymentMethodOptions'SepaDebit'OneOf1 -> Maybe Object
-- | Create a new
-- PostPaymentIntentsRequestBodyPaymentMethodOptions'SepaDebit'OneOf1
-- with all required fields.
mkPostPaymentIntentsRequestBodyPaymentMethodOptions'SepaDebit'OneOf1 :: PostPaymentIntentsRequestBodyPaymentMethodOptions'SepaDebit'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/payment_intents.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.sepa_debit.anyOf
-- in the specification.
data PostPaymentIntentsRequestBodyPaymentMethodOptions'SepaDebit'Variants
-- | Represents the JSON value ""
PostPaymentIntentsRequestBodyPaymentMethodOptions'SepaDebit'EmptyString :: PostPaymentIntentsRequestBodyPaymentMethodOptions'SepaDebit'Variants
PostPaymentIntentsRequestBodyPaymentMethodOptions'SepaDebit'PostPaymentIntentsRequestBodyPaymentMethodOptions'SepaDebit'OneOf1 :: PostPaymentIntentsRequestBodyPaymentMethodOptions'SepaDebit'OneOf1 -> PostPaymentIntentsRequestBodyPaymentMethodOptions'SepaDebit'Variants
-- | Defines the object schema located at
-- paths./v1/payment_intents.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.sofort.anyOf
-- in the specification.
data PostPaymentIntentsRequestBodyPaymentMethodOptions'Sofort'OneOf1
PostPaymentIntentsRequestBodyPaymentMethodOptions'Sofort'OneOf1 :: Maybe PostPaymentIntentsRequestBodyPaymentMethodOptions'Sofort'OneOf1PreferredLanguage' -> PostPaymentIntentsRequestBodyPaymentMethodOptions'Sofort'OneOf1
-- | preferred_language
[postPaymentIntentsRequestBodyPaymentMethodOptions'Sofort'OneOf1PreferredLanguage] :: PostPaymentIntentsRequestBodyPaymentMethodOptions'Sofort'OneOf1 -> Maybe PostPaymentIntentsRequestBodyPaymentMethodOptions'Sofort'OneOf1PreferredLanguage'
-- | Create a new
-- PostPaymentIntentsRequestBodyPaymentMethodOptions'Sofort'OneOf1
-- with all required fields.
mkPostPaymentIntentsRequestBodyPaymentMethodOptions'Sofort'OneOf1 :: PostPaymentIntentsRequestBodyPaymentMethodOptions'Sofort'OneOf1
-- | Defines the enum schema located at
-- paths./v1/payment_intents.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.sofort.anyOf.properties.preferred_language
-- in the specification.
data PostPaymentIntentsRequestBodyPaymentMethodOptions'Sofort'OneOf1PreferredLanguage'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostPaymentIntentsRequestBodyPaymentMethodOptions'Sofort'OneOf1PreferredLanguage'Other :: Value -> PostPaymentIntentsRequestBodyPaymentMethodOptions'Sofort'OneOf1PreferredLanguage'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostPaymentIntentsRequestBodyPaymentMethodOptions'Sofort'OneOf1PreferredLanguage'Typed :: Text -> PostPaymentIntentsRequestBodyPaymentMethodOptions'Sofort'OneOf1PreferredLanguage'
-- | Represents the JSON value "de"
PostPaymentIntentsRequestBodyPaymentMethodOptions'Sofort'OneOf1PreferredLanguage'EnumDe :: PostPaymentIntentsRequestBodyPaymentMethodOptions'Sofort'OneOf1PreferredLanguage'
-- | Represents the JSON value "en"
PostPaymentIntentsRequestBodyPaymentMethodOptions'Sofort'OneOf1PreferredLanguage'EnumEn :: PostPaymentIntentsRequestBodyPaymentMethodOptions'Sofort'OneOf1PreferredLanguage'
-- | Represents the JSON value "es"
PostPaymentIntentsRequestBodyPaymentMethodOptions'Sofort'OneOf1PreferredLanguage'EnumEs :: PostPaymentIntentsRequestBodyPaymentMethodOptions'Sofort'OneOf1PreferredLanguage'
-- | Represents the JSON value "fr"
PostPaymentIntentsRequestBodyPaymentMethodOptions'Sofort'OneOf1PreferredLanguage'EnumFr :: PostPaymentIntentsRequestBodyPaymentMethodOptions'Sofort'OneOf1PreferredLanguage'
-- | Represents the JSON value "it"
PostPaymentIntentsRequestBodyPaymentMethodOptions'Sofort'OneOf1PreferredLanguage'EnumIt :: PostPaymentIntentsRequestBodyPaymentMethodOptions'Sofort'OneOf1PreferredLanguage'
-- | Represents the JSON value "nl"
PostPaymentIntentsRequestBodyPaymentMethodOptions'Sofort'OneOf1PreferredLanguage'EnumNl :: PostPaymentIntentsRequestBodyPaymentMethodOptions'Sofort'OneOf1PreferredLanguage'
-- | Represents the JSON value "pl"
PostPaymentIntentsRequestBodyPaymentMethodOptions'Sofort'OneOf1PreferredLanguage'EnumPl :: PostPaymentIntentsRequestBodyPaymentMethodOptions'Sofort'OneOf1PreferredLanguage'
-- | Defines the oneOf schema located at
-- paths./v1/payment_intents.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.sofort.anyOf
-- in the specification.
data PostPaymentIntentsRequestBodyPaymentMethodOptions'Sofort'Variants
-- | Represents the JSON value ""
PostPaymentIntentsRequestBodyPaymentMethodOptions'Sofort'EmptyString :: PostPaymentIntentsRequestBodyPaymentMethodOptions'Sofort'Variants
PostPaymentIntentsRequestBodyPaymentMethodOptions'Sofort'PostPaymentIntentsRequestBodyPaymentMethodOptions'Sofort'OneOf1 :: PostPaymentIntentsRequestBodyPaymentMethodOptions'Sofort'OneOf1 -> PostPaymentIntentsRequestBodyPaymentMethodOptions'Sofort'Variants
-- | Defines the enum schema located at
-- paths./v1/payment_intents.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.setup_future_usage
-- in the specification.
--
-- Indicates that you intend to make future payments with this
-- PaymentIntent's payment method.
--
-- Providing this parameter will attach the payment method to the
-- PaymentIntent's Customer, if present, after the PaymentIntent is
-- confirmed and any required actions from the user are complete. If no
-- Customer was provided, the payment method can still be attached
-- to a Customer after the transaction completes.
--
-- When processing card payments, Stripe also uses `setup_future_usage`
-- to dynamically optimize your payment flow and comply with regional
-- legislation and network rules, such as SCA.
data PostPaymentIntentsRequestBodySetupFutureUsage'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostPaymentIntentsRequestBodySetupFutureUsage'Other :: Value -> PostPaymentIntentsRequestBodySetupFutureUsage'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostPaymentIntentsRequestBodySetupFutureUsage'Typed :: Text -> PostPaymentIntentsRequestBodySetupFutureUsage'
-- | Represents the JSON value "off_session"
PostPaymentIntentsRequestBodySetupFutureUsage'EnumOffSession :: PostPaymentIntentsRequestBodySetupFutureUsage'
-- | Represents the JSON value "on_session"
PostPaymentIntentsRequestBodySetupFutureUsage'EnumOnSession :: PostPaymentIntentsRequestBodySetupFutureUsage'
-- | Defines the object schema located at
-- paths./v1/payment_intents.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.shipping
-- in the specification.
--
-- Shipping information for this PaymentIntent.
data PostPaymentIntentsRequestBodyShipping'
PostPaymentIntentsRequestBodyShipping' :: PostPaymentIntentsRequestBodyShipping'Address' -> Maybe Text -> Text -> Maybe Text -> Maybe Text -> PostPaymentIntentsRequestBodyShipping'
-- | address
[postPaymentIntentsRequestBodyShipping'Address] :: PostPaymentIntentsRequestBodyShipping' -> PostPaymentIntentsRequestBodyShipping'Address'
-- | carrier
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsRequestBodyShipping'Carrier] :: PostPaymentIntentsRequestBodyShipping' -> Maybe Text
-- | name
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsRequestBodyShipping'Name] :: PostPaymentIntentsRequestBodyShipping' -> Text
-- | phone
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsRequestBodyShipping'Phone] :: PostPaymentIntentsRequestBodyShipping' -> Maybe Text
-- | tracking_number
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsRequestBodyShipping'TrackingNumber] :: PostPaymentIntentsRequestBodyShipping' -> Maybe Text
-- | Create a new PostPaymentIntentsRequestBodyShipping' with all
-- required fields.
mkPostPaymentIntentsRequestBodyShipping' :: PostPaymentIntentsRequestBodyShipping'Address' -> Text -> PostPaymentIntentsRequestBodyShipping'
-- | Defines the object schema located at
-- paths./v1/payment_intents.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.shipping.properties.address
-- in the specification.
data PostPaymentIntentsRequestBodyShipping'Address'
PostPaymentIntentsRequestBodyShipping'Address' :: Maybe Text -> Maybe Text -> Text -> Maybe Text -> Maybe Text -> Maybe Text -> PostPaymentIntentsRequestBodyShipping'Address'
-- | city
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsRequestBodyShipping'Address'City] :: PostPaymentIntentsRequestBodyShipping'Address' -> Maybe Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsRequestBodyShipping'Address'Country] :: PostPaymentIntentsRequestBodyShipping'Address' -> Maybe Text
-- | line1
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsRequestBodyShipping'Address'Line1] :: PostPaymentIntentsRequestBodyShipping'Address' -> Text
-- | line2
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsRequestBodyShipping'Address'Line2] :: PostPaymentIntentsRequestBodyShipping'Address' -> Maybe Text
-- | postal_code
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsRequestBodyShipping'Address'PostalCode] :: PostPaymentIntentsRequestBodyShipping'Address' -> Maybe Text
-- | state
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postPaymentIntentsRequestBodyShipping'Address'State] :: PostPaymentIntentsRequestBodyShipping'Address' -> Maybe Text
-- | Create a new PostPaymentIntentsRequestBodyShipping'Address'
-- with all required fields.
mkPostPaymentIntentsRequestBodyShipping'Address' :: Text -> PostPaymentIntentsRequestBodyShipping'Address'
-- | Defines the object schema located at
-- paths./v1/payment_intents.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.transfer_data
-- in the specification.
--
-- The parameters used to automatically create a Transfer when the
-- payment succeeds. For more information, see the PaymentIntents use
-- case for connected accounts.
data PostPaymentIntentsRequestBodyTransferData'
PostPaymentIntentsRequestBodyTransferData' :: Maybe Int -> Text -> PostPaymentIntentsRequestBodyTransferData'
-- | amount
[postPaymentIntentsRequestBodyTransferData'Amount] :: PostPaymentIntentsRequestBodyTransferData' -> Maybe Int
-- | destination
[postPaymentIntentsRequestBodyTransferData'Destination] :: PostPaymentIntentsRequestBodyTransferData' -> Text
-- | Create a new PostPaymentIntentsRequestBodyTransferData' with
-- all required fields.
mkPostPaymentIntentsRequestBodyTransferData' :: Text -> PostPaymentIntentsRequestBodyTransferData'
-- | Represents a response of the operation postPaymentIntents.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostPaymentIntentsResponseError is
-- used.
data PostPaymentIntentsResponse
-- | Means either no matching case available or a parse error
PostPaymentIntentsResponseError :: String -> PostPaymentIntentsResponse
-- | Successful response.
PostPaymentIntentsResponse200 :: PaymentIntent -> PostPaymentIntentsResponse
-- | Error response.
PostPaymentIntentsResponseDefault :: Error -> PostPaymentIntentsResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyCaptureMethod'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyCaptureMethod'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyConfirmationMethod'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyConfirmationMethod'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyMandateData'CustomerAcceptance'Online'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyMandateData'CustomerAcceptance'Online'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyMandateData'CustomerAcceptance'Type'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyMandateData'CustomerAcceptance'Type'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyMandateData'CustomerAcceptance'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyMandateData'CustomerAcceptance'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyMandateData'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyMandateData'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyOffSession'OneOf2
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyOffSession'OneOf2
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyOffSession'Variants
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyOffSession'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodData'AcssDebit'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodData'AcssDebit'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodData'AuBecsDebit'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodData'AuBecsDebit'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodData'BacsDebit'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodData'BacsDebit'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodData'BillingDetails'Address'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodData'BillingDetails'Address'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodData'BillingDetails'Address'Variants
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodData'BillingDetails'Address'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodData'BillingDetails'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodData'BillingDetails'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodData'Boleto'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodData'Boleto'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodData'Eps'Bank'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodData'Eps'Bank'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodData'Eps'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodData'Eps'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodData'Fpx'Bank'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodData'Fpx'Bank'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodData'Fpx'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodData'Fpx'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodData'Ideal'Bank'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodData'Ideal'Bank'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodData'Ideal'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodData'Ideal'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodData'P24'Bank'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodData'P24'Bank'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodData'P24'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodData'P24'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodData'SepaDebit'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodData'SepaDebit'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodData'Sofort'Country'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodData'Sofort'Country'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodData'Sofort'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodData'Sofort'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodData'Type'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodData'Type'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodData'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodData'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'CustomMandateUrl'Variants
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'CustomMandateUrl'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'PaymentSchedule'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'PaymentSchedule'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'TransactionType'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'TransactionType'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'OneOf1VerificationMethod'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'OneOf1VerificationMethod'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'Variants
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'AfterpayClearpay'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'AfterpayClearpay'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'AfterpayClearpay'Variants
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'AfterpayClearpay'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'Alipay'Variants
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'Alipay'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'Bancontact'OneOf1PreferredLanguage'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'Bancontact'OneOf1PreferredLanguage'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'Bancontact'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'Bancontact'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'Bancontact'Variants
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'Bancontact'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'Boleto'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'Boleto'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'Boleto'Variants
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'Boleto'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1Installments'Plan'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1Installments'Plan'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1Installments'Plan'Variants
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1Installments'Plan'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1Installments'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1Installments'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1Network'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1Network'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1RequestThreeDSecure'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1RequestThreeDSecure'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'Variants
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'CardPresent'Variants
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'CardPresent'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'Oxxo'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'Oxxo'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'Oxxo'Variants
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'Oxxo'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'P24'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'P24'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'P24'Variants
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'P24'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'SepaDebit'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'SepaDebit'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'SepaDebit'Variants
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'SepaDebit'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'Sofort'OneOf1PreferredLanguage'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'Sofort'OneOf1PreferredLanguage'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'Sofort'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'Sofort'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'Sofort'Variants
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'Sofort'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodySetupFutureUsage'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodySetupFutureUsage'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyShipping'Address'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyShipping'Address'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyShipping'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyShipping'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyTransferData'
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyTransferData'
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsResponse
instance GHC.Show.Show StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyTransferData'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyTransferData'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyShipping'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyShipping'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyShipping'Address'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyShipping'Address'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodySetupFutureUsage'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodySetupFutureUsage'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'Sofort'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'Sofort'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'Sofort'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'Sofort'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'Sofort'OneOf1PreferredLanguage'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'Sofort'OneOf1PreferredLanguage'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'SepaDebit'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'SepaDebit'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'SepaDebit'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'SepaDebit'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'P24'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'P24'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'P24'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'P24'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'Oxxo'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'Oxxo'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'Oxxo'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'Oxxo'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'CardPresent'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'CardPresent'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1RequestThreeDSecure'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1RequestThreeDSecure'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1Network'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1Network'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1Installments'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1Installments'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1Installments'Plan'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1Installments'Plan'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1Installments'Plan'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'Card'OneOf1Installments'Plan'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'Boleto'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'Boleto'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'Boleto'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'Boleto'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'Bancontact'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'Bancontact'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'Bancontact'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'Bancontact'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'Bancontact'OneOf1PreferredLanguage'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'Bancontact'OneOf1PreferredLanguage'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'Alipay'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'Alipay'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'AfterpayClearpay'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'AfterpayClearpay'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'AfterpayClearpay'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'AfterpayClearpay'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'OneOf1VerificationMethod'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'OneOf1VerificationMethod'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'TransactionType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'TransactionType'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'PaymentSchedule'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'PaymentSchedule'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'CustomMandateUrl'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodOptions'AcssDebit'OneOf1MandateOptions'CustomMandateUrl'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodData'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodData'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodData'Type'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodData'Type'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodData'Sofort'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodData'Sofort'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodData'Sofort'Country'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodData'Sofort'Country'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodData'SepaDebit'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodData'SepaDebit'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodData'P24'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodData'P24'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodData'P24'Bank'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodData'P24'Bank'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodData'Ideal'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodData'Ideal'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodData'Ideal'Bank'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodData'Ideal'Bank'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodData'Fpx'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodData'Fpx'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodData'Fpx'Bank'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodData'Fpx'Bank'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodData'Eps'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodData'Eps'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodData'Eps'Bank'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodData'Eps'Bank'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodData'Boleto'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodData'Boleto'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodData'BillingDetails'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodData'BillingDetails'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodData'BillingDetails'Address'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodData'BillingDetails'Address'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodData'BillingDetails'Address'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodData'BillingDetails'Address'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodData'BacsDebit'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodData'BacsDebit'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodData'AuBecsDebit'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodData'AuBecsDebit'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodData'AcssDebit'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyPaymentMethodData'AcssDebit'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyOffSession'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyOffSession'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyOffSession'OneOf2
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyOffSession'OneOf2
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyMandateData'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyMandateData'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyMandateData'CustomerAcceptance'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyMandateData'CustomerAcceptance'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyMandateData'CustomerAcceptance'Type'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyMandateData'CustomerAcceptance'Type'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyMandateData'CustomerAcceptance'Online'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyMandateData'CustomerAcceptance'Online'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyConfirmationMethod'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyConfirmationMethod'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyCaptureMethod'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostPaymentIntents.PostPaymentIntentsRequestBodyCaptureMethod'
-- | Contains the different functions to run the operation
-- postOrdersIdReturns
module StripeAPI.Operations.PostOrdersIdReturns
-- |
-- POST /v1/orders/{id}/returns
--
--
-- <p>Return all or part of an order. The order must have a status
-- of <code>paid</code> or <code>fulfilled</code>
-- before it can be returned. Once all items have been returned, the
-- order will become <code>canceled</code> or
-- <code>returned</code> depending on which status the order
-- started in.</p>
postOrdersIdReturns :: forall m. MonadHTTP m => Text -> Maybe PostOrdersIdReturnsRequestBody -> ClientT m (Response PostOrdersIdReturnsResponse)
-- | Defines the object schema located at
-- paths./v1/orders/{id}/returns.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostOrdersIdReturnsRequestBody
PostOrdersIdReturnsRequestBody :: Maybe [Text] -> Maybe PostOrdersIdReturnsRequestBodyItems'Variants -> PostOrdersIdReturnsRequestBody
-- | expand: Specifies which fields in the response should be expanded.
[postOrdersIdReturnsRequestBodyExpand] :: PostOrdersIdReturnsRequestBody -> Maybe [Text]
-- | items: List of items to return.
[postOrdersIdReturnsRequestBodyItems] :: PostOrdersIdReturnsRequestBody -> Maybe PostOrdersIdReturnsRequestBodyItems'Variants
-- | Create a new PostOrdersIdReturnsRequestBody with all required
-- fields.
mkPostOrdersIdReturnsRequestBody :: PostOrdersIdReturnsRequestBody
-- | Defines the object schema located at
-- paths./v1/orders/{id}/returns.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.items.anyOf.items
-- in the specification.
data PostOrdersIdReturnsRequestBodyItems'OneOf1
PostOrdersIdReturnsRequestBodyItems'OneOf1 :: Maybe Int -> Maybe Text -> Maybe Text -> Maybe Int -> Maybe PostOrdersIdReturnsRequestBodyItems'OneOf1Type' -> PostOrdersIdReturnsRequestBodyItems'OneOf1
-- | amount
[postOrdersIdReturnsRequestBodyItems'OneOf1Amount] :: PostOrdersIdReturnsRequestBodyItems'OneOf1 -> Maybe Int
-- | description
--
-- Constraints:
--
--
-- - Maximum length of 1000
--
[postOrdersIdReturnsRequestBodyItems'OneOf1Description] :: PostOrdersIdReturnsRequestBodyItems'OneOf1 -> Maybe Text
-- | parent
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postOrdersIdReturnsRequestBodyItems'OneOf1Parent] :: PostOrdersIdReturnsRequestBodyItems'OneOf1 -> Maybe Text
-- | quantity
[postOrdersIdReturnsRequestBodyItems'OneOf1Quantity] :: PostOrdersIdReturnsRequestBodyItems'OneOf1 -> Maybe Int
-- | type
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postOrdersIdReturnsRequestBodyItems'OneOf1Type] :: PostOrdersIdReturnsRequestBodyItems'OneOf1 -> Maybe PostOrdersIdReturnsRequestBodyItems'OneOf1Type'
-- | Create a new PostOrdersIdReturnsRequestBodyItems'OneOf1 with
-- all required fields.
mkPostOrdersIdReturnsRequestBodyItems'OneOf1 :: PostOrdersIdReturnsRequestBodyItems'OneOf1
-- | Defines the enum schema located at
-- paths./v1/orders/{id}/returns.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.items.anyOf.items.properties.type
-- in the specification.
data PostOrdersIdReturnsRequestBodyItems'OneOf1Type'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostOrdersIdReturnsRequestBodyItems'OneOf1Type'Other :: Value -> PostOrdersIdReturnsRequestBodyItems'OneOf1Type'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostOrdersIdReturnsRequestBodyItems'OneOf1Type'Typed :: Text -> PostOrdersIdReturnsRequestBodyItems'OneOf1Type'
-- | Represents the JSON value "discount"
PostOrdersIdReturnsRequestBodyItems'OneOf1Type'EnumDiscount :: PostOrdersIdReturnsRequestBodyItems'OneOf1Type'
-- | Represents the JSON value "shipping"
PostOrdersIdReturnsRequestBodyItems'OneOf1Type'EnumShipping :: PostOrdersIdReturnsRequestBodyItems'OneOf1Type'
-- | Represents the JSON value "sku"
PostOrdersIdReturnsRequestBodyItems'OneOf1Type'EnumSku :: PostOrdersIdReturnsRequestBodyItems'OneOf1Type'
-- | Represents the JSON value "tax"
PostOrdersIdReturnsRequestBodyItems'OneOf1Type'EnumTax :: PostOrdersIdReturnsRequestBodyItems'OneOf1Type'
-- | Defines the oneOf schema located at
-- paths./v1/orders/{id}/returns.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.items.anyOf
-- in the specification.
--
-- List of items to return.
data PostOrdersIdReturnsRequestBodyItems'Variants
-- | Represents the JSON value ""
PostOrdersIdReturnsRequestBodyItems'EmptyString :: PostOrdersIdReturnsRequestBodyItems'Variants
PostOrdersIdReturnsRequestBodyItems'ListTPostOrdersIdReturnsRequestBodyItems'OneOf1 :: [PostOrdersIdReturnsRequestBodyItems'OneOf1] -> PostOrdersIdReturnsRequestBodyItems'Variants
-- | Represents a response of the operation postOrdersIdReturns.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostOrdersIdReturnsResponseError is
-- used.
data PostOrdersIdReturnsResponse
-- | Means either no matching case available or a parse error
PostOrdersIdReturnsResponseError :: String -> PostOrdersIdReturnsResponse
-- | Successful response.
PostOrdersIdReturnsResponse200 :: OrderReturn -> PostOrdersIdReturnsResponse
-- | Error response.
PostOrdersIdReturnsResponseDefault :: Error -> PostOrdersIdReturnsResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostOrdersIdReturns.PostOrdersIdReturnsRequestBodyItems'OneOf1Type'
instance GHC.Show.Show StripeAPI.Operations.PostOrdersIdReturns.PostOrdersIdReturnsRequestBodyItems'OneOf1Type'
instance GHC.Classes.Eq StripeAPI.Operations.PostOrdersIdReturns.PostOrdersIdReturnsRequestBodyItems'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostOrdersIdReturns.PostOrdersIdReturnsRequestBodyItems'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostOrdersIdReturns.PostOrdersIdReturnsRequestBodyItems'Variants
instance GHC.Show.Show StripeAPI.Operations.PostOrdersIdReturns.PostOrdersIdReturnsRequestBodyItems'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostOrdersIdReturns.PostOrdersIdReturnsRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostOrdersIdReturns.PostOrdersIdReturnsRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostOrdersIdReturns.PostOrdersIdReturnsResponse
instance GHC.Show.Show StripeAPI.Operations.PostOrdersIdReturns.PostOrdersIdReturnsResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostOrdersIdReturns.PostOrdersIdReturnsRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostOrdersIdReturns.PostOrdersIdReturnsRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostOrdersIdReturns.PostOrdersIdReturnsRequestBodyItems'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostOrdersIdReturns.PostOrdersIdReturnsRequestBodyItems'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostOrdersIdReturns.PostOrdersIdReturnsRequestBodyItems'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostOrdersIdReturns.PostOrdersIdReturnsRequestBodyItems'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostOrdersIdReturns.PostOrdersIdReturnsRequestBodyItems'OneOf1Type'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostOrdersIdReturns.PostOrdersIdReturnsRequestBodyItems'OneOf1Type'
-- | Contains the different functions to run the operation postOrdersIdPay
module StripeAPI.Operations.PostOrdersIdPay
-- |
-- POST /v1/orders/{id}/pay
--
--
-- <p>Pay an order by providing a <code>source</code>
-- to create a payment.</p>
postOrdersIdPay :: forall m. MonadHTTP m => Text -> Maybe PostOrdersIdPayRequestBody -> ClientT m (Response PostOrdersIdPayResponse)
-- | Defines the object schema located at
-- paths./v1/orders/{id}/pay.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostOrdersIdPayRequestBody
PostOrdersIdPayRequestBody :: Maybe Int -> Maybe Text -> Maybe Text -> Maybe [Text] -> Maybe Object -> Maybe Text -> PostOrdersIdPayRequestBody
-- | application_fee: A fee in %s that will be applied to the order and
-- transferred to the application owner's Stripe account. The request
-- must be made with an OAuth key or the `Stripe-Account` header in order
-- to take an application fee. For more information, see the application
-- fees documentation.
[postOrdersIdPayRequestBodyApplicationFee] :: PostOrdersIdPayRequestBody -> Maybe Int
-- | customer: The ID of an existing customer that will be charged for this
-- order. If no customer was attached to the order at creation, either
-- `source` or `customer` is required. Otherwise, the specified customer
-- will be charged instead of the one attached to the order.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postOrdersIdPayRequestBodyCustomer] :: PostOrdersIdPayRequestBody -> Maybe Text
-- | email: The email address of the customer placing the order. Required
-- if not previously specified for the order.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postOrdersIdPayRequestBodyEmail] :: PostOrdersIdPayRequestBody -> Maybe Text
-- | expand: Specifies which fields in the response should be expanded.
[postOrdersIdPayRequestBodyExpand] :: PostOrdersIdPayRequestBody -> Maybe [Text]
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postOrdersIdPayRequestBodyMetadata] :: PostOrdersIdPayRequestBody -> Maybe Object
-- | source: A Token's or a Source's ID, as returned by
-- Elements. If no customer was attached to the order at creation,
-- either `source` or `customer` is required. Otherwise, the specified
-- source will be charged intead of the customer attached to the order.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postOrdersIdPayRequestBodySource] :: PostOrdersIdPayRequestBody -> Maybe Text
-- | Create a new PostOrdersIdPayRequestBody with all required
-- fields.
mkPostOrdersIdPayRequestBody :: PostOrdersIdPayRequestBody
-- | Represents a response of the operation postOrdersIdPay.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostOrdersIdPayResponseError is used.
data PostOrdersIdPayResponse
-- | Means either no matching case available or a parse error
PostOrdersIdPayResponseError :: String -> PostOrdersIdPayResponse
-- | Successful response.
PostOrdersIdPayResponse200 :: Order -> PostOrdersIdPayResponse
-- | Error response.
PostOrdersIdPayResponseDefault :: Error -> PostOrdersIdPayResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostOrdersIdPay.PostOrdersIdPayRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostOrdersIdPay.PostOrdersIdPayRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostOrdersIdPay.PostOrdersIdPayResponse
instance GHC.Show.Show StripeAPI.Operations.PostOrdersIdPay.PostOrdersIdPayResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostOrdersIdPay.PostOrdersIdPayRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostOrdersIdPay.PostOrdersIdPayRequestBody
-- | Contains the different functions to run the operation postOrdersId
module StripeAPI.Operations.PostOrdersId
-- |
-- POST /v1/orders/{id}
--
--
-- <p>Updates the specific order by setting the values of the
-- parameters passed. Any parameters not provided will be left
-- unchanged.</p>
postOrdersId :: forall m. MonadHTTP m => Text -> Maybe PostOrdersIdRequestBody -> ClientT m (Response PostOrdersIdResponse)
-- | Defines the object schema located at
-- paths./v1/orders/{id}.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostOrdersIdRequestBody
PostOrdersIdRequestBody :: Maybe Text -> Maybe [Text] -> Maybe PostOrdersIdRequestBodyMetadata'Variants -> Maybe Text -> Maybe PostOrdersIdRequestBodyShipping' -> Maybe PostOrdersIdRequestBodyStatus' -> PostOrdersIdRequestBody
-- | coupon: A coupon code that represents a discount to be applied to this
-- order. Must be one-time duration and in same currency as the order. An
-- order can have multiple coupons.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postOrdersIdRequestBodyCoupon] :: PostOrdersIdRequestBody -> Maybe Text
-- | expand: Specifies which fields in the response should be expanded.
[postOrdersIdRequestBodyExpand] :: PostOrdersIdRequestBody -> Maybe [Text]
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postOrdersIdRequestBodyMetadata] :: PostOrdersIdRequestBody -> Maybe PostOrdersIdRequestBodyMetadata'Variants
-- | selected_shipping_method: The shipping method to select for fulfilling
-- this order. If specified, must be one of the `id`s of a shipping
-- method in the `shipping_methods` array. If specified, will overwrite
-- the existing selected shipping method, updating `items` as necessary.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postOrdersIdRequestBodySelectedShippingMethod] :: PostOrdersIdRequestBody -> Maybe Text
-- | shipping: Tracking information once the order has been fulfilled.
[postOrdersIdRequestBodyShipping] :: PostOrdersIdRequestBody -> Maybe PostOrdersIdRequestBodyShipping'
-- | status: Current order status. One of `created`, `paid`, `canceled`,
-- `fulfilled`, or `returned`. More detail in the Orders Guide.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postOrdersIdRequestBodyStatus] :: PostOrdersIdRequestBody -> Maybe PostOrdersIdRequestBodyStatus'
-- | Create a new PostOrdersIdRequestBody with all required fields.
mkPostOrdersIdRequestBody :: PostOrdersIdRequestBody
-- | Defines the oneOf schema located at
-- paths./v1/orders/{id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.metadata.anyOf
-- in the specification.
--
-- Set of key-value pairs that you can attach to an object. This
-- can be useful for storing additional information about the object in a
-- structured format. Individual keys can be unset by posting an empty
-- value to them. All keys can be unset by posting an empty value to
-- `metadata`.
data PostOrdersIdRequestBodyMetadata'Variants
-- | Represents the JSON value ""
PostOrdersIdRequestBodyMetadata'EmptyString :: PostOrdersIdRequestBodyMetadata'Variants
PostOrdersIdRequestBodyMetadata'Object :: Object -> PostOrdersIdRequestBodyMetadata'Variants
-- | Defines the object schema located at
-- paths./v1/orders/{id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.shipping
-- in the specification.
--
-- Tracking information once the order has been fulfilled.
data PostOrdersIdRequestBodyShipping'
PostOrdersIdRequestBodyShipping' :: Text -> Text -> PostOrdersIdRequestBodyShipping'
-- | carrier
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postOrdersIdRequestBodyShipping'Carrier] :: PostOrdersIdRequestBodyShipping' -> Text
-- | tracking_number
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postOrdersIdRequestBodyShipping'TrackingNumber] :: PostOrdersIdRequestBodyShipping' -> Text
-- | Create a new PostOrdersIdRequestBodyShipping' with all required
-- fields.
mkPostOrdersIdRequestBodyShipping' :: Text -> Text -> PostOrdersIdRequestBodyShipping'
-- | Defines the enum schema located at
-- paths./v1/orders/{id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.status
-- in the specification.
--
-- Current order status. One of `created`, `paid`, `canceled`,
-- `fulfilled`, or `returned`. More detail in the Orders Guide.
data PostOrdersIdRequestBodyStatus'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostOrdersIdRequestBodyStatus'Other :: Value -> PostOrdersIdRequestBodyStatus'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostOrdersIdRequestBodyStatus'Typed :: Text -> PostOrdersIdRequestBodyStatus'
-- | Represents the JSON value "canceled"
PostOrdersIdRequestBodyStatus'EnumCanceled :: PostOrdersIdRequestBodyStatus'
-- | Represents the JSON value "created"
PostOrdersIdRequestBodyStatus'EnumCreated :: PostOrdersIdRequestBodyStatus'
-- | Represents the JSON value "fulfilled"
PostOrdersIdRequestBodyStatus'EnumFulfilled :: PostOrdersIdRequestBodyStatus'
-- | Represents the JSON value "paid"
PostOrdersIdRequestBodyStatus'EnumPaid :: PostOrdersIdRequestBodyStatus'
-- | Represents the JSON value "returned"
PostOrdersIdRequestBodyStatus'EnumReturned :: PostOrdersIdRequestBodyStatus'
-- | Represents a response of the operation postOrdersId.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostOrdersIdResponseError is used.
data PostOrdersIdResponse
-- | Means either no matching case available or a parse error
PostOrdersIdResponseError :: String -> PostOrdersIdResponse
-- | Successful response.
PostOrdersIdResponse200 :: Order -> PostOrdersIdResponse
-- | Error response.
PostOrdersIdResponseDefault :: Error -> PostOrdersIdResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostOrdersId.PostOrdersIdRequestBodyMetadata'Variants
instance GHC.Show.Show StripeAPI.Operations.PostOrdersId.PostOrdersIdRequestBodyMetadata'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostOrdersId.PostOrdersIdRequestBodyShipping'
instance GHC.Show.Show StripeAPI.Operations.PostOrdersId.PostOrdersIdRequestBodyShipping'
instance GHC.Classes.Eq StripeAPI.Operations.PostOrdersId.PostOrdersIdRequestBodyStatus'
instance GHC.Show.Show StripeAPI.Operations.PostOrdersId.PostOrdersIdRequestBodyStatus'
instance GHC.Classes.Eq StripeAPI.Operations.PostOrdersId.PostOrdersIdRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostOrdersId.PostOrdersIdRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostOrdersId.PostOrdersIdResponse
instance GHC.Show.Show StripeAPI.Operations.PostOrdersId.PostOrdersIdResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostOrdersId.PostOrdersIdRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostOrdersId.PostOrdersIdRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostOrdersId.PostOrdersIdRequestBodyStatus'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostOrdersId.PostOrdersIdRequestBodyStatus'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostOrdersId.PostOrdersIdRequestBodyShipping'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostOrdersId.PostOrdersIdRequestBodyShipping'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostOrdersId.PostOrdersIdRequestBodyMetadata'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostOrdersId.PostOrdersIdRequestBodyMetadata'Variants
-- | Contains the different functions to run the operation postOrders
module StripeAPI.Operations.PostOrders
-- |
-- POST /v1/orders
--
--
-- <p>Creates a new order object.</p>
postOrders :: forall m. MonadHTTP m => PostOrdersRequestBody -> ClientT m (Response PostOrdersResponse)
-- | Defines the object schema located at
-- paths./v1/orders.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostOrdersRequestBody
PostOrdersRequestBody :: Maybe Text -> Text -> Maybe Text -> Maybe Text -> Maybe [Text] -> Maybe [PostOrdersRequestBodyItems'] -> Maybe Object -> Maybe PostOrdersRequestBodyShipping' -> PostOrdersRequestBody
-- | coupon: A coupon code that represents a discount to be applied to this
-- order. Must be one-time duration and in same currency as the order. An
-- order can have multiple coupons.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postOrdersRequestBodyCoupon] :: PostOrdersRequestBody -> Maybe Text
-- | currency: Three-letter ISO currency code, in lowercase. Must be
-- a supported currency.
[postOrdersRequestBodyCurrency] :: PostOrdersRequestBody -> Text
-- | customer: The ID of an existing customer to use for this order. If
-- provided, the customer email and shipping address will be used to
-- create the order. Subsequently, the customer will also be charged to
-- pay the order. If `email` or `shipping` are also provided, they will
-- override the values retrieved from the customer object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postOrdersRequestBodyCustomer] :: PostOrdersRequestBody -> Maybe Text
-- | email: The email address of the customer placing the order.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postOrdersRequestBodyEmail] :: PostOrdersRequestBody -> Maybe Text
-- | expand: Specifies which fields in the response should be expanded.
[postOrdersRequestBodyExpand] :: PostOrdersRequestBody -> Maybe [Text]
-- | items: List of items constituting the order. An order can have up to
-- 25 items.
[postOrdersRequestBodyItems] :: PostOrdersRequestBody -> Maybe [PostOrdersRequestBodyItems']
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postOrdersRequestBodyMetadata] :: PostOrdersRequestBody -> Maybe Object
-- | shipping: Shipping address for the order. Required if any of the SKUs
-- are for products that have `shippable` set to true.
[postOrdersRequestBodyShipping] :: PostOrdersRequestBody -> Maybe PostOrdersRequestBodyShipping'
-- | Create a new PostOrdersRequestBody with all required fields.
mkPostOrdersRequestBody :: Text -> PostOrdersRequestBody
-- | Defines the object schema located at
-- paths./v1/orders.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.items.items
-- in the specification.
data PostOrdersRequestBodyItems'
PostOrdersRequestBodyItems' :: Maybe Int -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Int -> Maybe PostOrdersRequestBodyItems'Type' -> PostOrdersRequestBodyItems'
-- | amount
[postOrdersRequestBodyItems'Amount] :: PostOrdersRequestBodyItems' -> Maybe Int
-- | currency
[postOrdersRequestBodyItems'Currency] :: PostOrdersRequestBodyItems' -> Maybe Text
-- | description
--
-- Constraints:
--
--
-- - Maximum length of 1000
--
[postOrdersRequestBodyItems'Description] :: PostOrdersRequestBodyItems' -> Maybe Text
-- | parent
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postOrdersRequestBodyItems'Parent] :: PostOrdersRequestBodyItems' -> Maybe Text
-- | quantity
[postOrdersRequestBodyItems'Quantity] :: PostOrdersRequestBodyItems' -> Maybe Int
-- | type
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postOrdersRequestBodyItems'Type] :: PostOrdersRequestBodyItems' -> Maybe PostOrdersRequestBodyItems'Type'
-- | Create a new PostOrdersRequestBodyItems' with all required
-- fields.
mkPostOrdersRequestBodyItems' :: PostOrdersRequestBodyItems'
-- | Defines the enum schema located at
-- paths./v1/orders.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.items.items.properties.type
-- in the specification.
data PostOrdersRequestBodyItems'Type'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostOrdersRequestBodyItems'Type'Other :: Value -> PostOrdersRequestBodyItems'Type'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostOrdersRequestBodyItems'Type'Typed :: Text -> PostOrdersRequestBodyItems'Type'
-- | Represents the JSON value "discount"
PostOrdersRequestBodyItems'Type'EnumDiscount :: PostOrdersRequestBodyItems'Type'
-- | Represents the JSON value "shipping"
PostOrdersRequestBodyItems'Type'EnumShipping :: PostOrdersRequestBodyItems'Type'
-- | Represents the JSON value "sku"
PostOrdersRequestBodyItems'Type'EnumSku :: PostOrdersRequestBodyItems'Type'
-- | Represents the JSON value "tax"
PostOrdersRequestBodyItems'Type'EnumTax :: PostOrdersRequestBodyItems'Type'
-- | Defines the object schema located at
-- paths./v1/orders.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.shipping
-- in the specification.
--
-- Shipping address for the order. Required if any of the SKUs are for
-- products that have `shippable` set to true.
data PostOrdersRequestBodyShipping'
PostOrdersRequestBodyShipping' :: PostOrdersRequestBodyShipping'Address' -> Text -> Maybe Text -> PostOrdersRequestBodyShipping'
-- | address
[postOrdersRequestBodyShipping'Address] :: PostOrdersRequestBodyShipping' -> PostOrdersRequestBodyShipping'Address'
-- | name
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postOrdersRequestBodyShipping'Name] :: PostOrdersRequestBodyShipping' -> Text
-- | phone
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postOrdersRequestBodyShipping'Phone] :: PostOrdersRequestBodyShipping' -> Maybe Text
-- | Create a new PostOrdersRequestBodyShipping' with all required
-- fields.
mkPostOrdersRequestBodyShipping' :: PostOrdersRequestBodyShipping'Address' -> Text -> PostOrdersRequestBodyShipping'
-- | Defines the object schema located at
-- paths./v1/orders.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.shipping.properties.address
-- in the specification.
data PostOrdersRequestBodyShipping'Address'
PostOrdersRequestBodyShipping'Address' :: Maybe Text -> Maybe Text -> Text -> Maybe Text -> Maybe Text -> Maybe Text -> PostOrdersRequestBodyShipping'Address'
-- | city
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postOrdersRequestBodyShipping'Address'City] :: PostOrdersRequestBodyShipping'Address' -> Maybe Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postOrdersRequestBodyShipping'Address'Country] :: PostOrdersRequestBodyShipping'Address' -> Maybe Text
-- | line1
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postOrdersRequestBodyShipping'Address'Line1] :: PostOrdersRequestBodyShipping'Address' -> Text
-- | line2
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postOrdersRequestBodyShipping'Address'Line2] :: PostOrdersRequestBodyShipping'Address' -> Maybe Text
-- | postal_code
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postOrdersRequestBodyShipping'Address'PostalCode] :: PostOrdersRequestBodyShipping'Address' -> Maybe Text
-- | state
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postOrdersRequestBodyShipping'Address'State] :: PostOrdersRequestBodyShipping'Address' -> Maybe Text
-- | Create a new PostOrdersRequestBodyShipping'Address' with all
-- required fields.
mkPostOrdersRequestBodyShipping'Address' :: Text -> PostOrdersRequestBodyShipping'Address'
-- | Represents a response of the operation postOrders.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostOrdersResponseError is used.
data PostOrdersResponse
-- | Means either no matching case available or a parse error
PostOrdersResponseError :: String -> PostOrdersResponse
-- | Successful response.
PostOrdersResponse200 :: Order -> PostOrdersResponse
-- | Error response.
PostOrdersResponseDefault :: Error -> PostOrdersResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostOrders.PostOrdersRequestBodyItems'Type'
instance GHC.Show.Show StripeAPI.Operations.PostOrders.PostOrdersRequestBodyItems'Type'
instance GHC.Classes.Eq StripeAPI.Operations.PostOrders.PostOrdersRequestBodyItems'
instance GHC.Show.Show StripeAPI.Operations.PostOrders.PostOrdersRequestBodyItems'
instance GHC.Classes.Eq StripeAPI.Operations.PostOrders.PostOrdersRequestBodyShipping'Address'
instance GHC.Show.Show StripeAPI.Operations.PostOrders.PostOrdersRequestBodyShipping'Address'
instance GHC.Classes.Eq StripeAPI.Operations.PostOrders.PostOrdersRequestBodyShipping'
instance GHC.Show.Show StripeAPI.Operations.PostOrders.PostOrdersRequestBodyShipping'
instance GHC.Classes.Eq StripeAPI.Operations.PostOrders.PostOrdersRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostOrders.PostOrdersRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostOrders.PostOrdersResponse
instance GHC.Show.Show StripeAPI.Operations.PostOrders.PostOrdersResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostOrders.PostOrdersRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostOrders.PostOrdersRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostOrders.PostOrdersRequestBodyShipping'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostOrders.PostOrdersRequestBodyShipping'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostOrders.PostOrdersRequestBodyShipping'Address'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostOrders.PostOrdersRequestBodyShipping'Address'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostOrders.PostOrdersRequestBodyItems'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostOrders.PostOrdersRequestBodyItems'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostOrders.PostOrdersRequestBodyItems'Type'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostOrders.PostOrdersRequestBodyItems'Type'
-- | Contains the different functions to run the operation
-- postIssuingTransactionsTransaction
module StripeAPI.Operations.PostIssuingTransactionsTransaction
-- |
-- POST /v1/issuing/transactions/{transaction}
--
--
-- <p>Updates the specified Issuing
-- <code>Transaction</code> object by setting the values of
-- the parameters passed. Any parameters not provided will be left
-- unchanged.</p>
postIssuingTransactionsTransaction :: forall m. MonadHTTP m => Text -> Maybe PostIssuingTransactionsTransactionRequestBody -> ClientT m (Response PostIssuingTransactionsTransactionResponse)
-- | Defines the object schema located at
-- paths./v1/issuing/transactions/{transaction}.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostIssuingTransactionsTransactionRequestBody
PostIssuingTransactionsTransactionRequestBody :: Maybe [Text] -> Maybe PostIssuingTransactionsTransactionRequestBodyMetadata'Variants -> PostIssuingTransactionsTransactionRequestBody
-- | expand: Specifies which fields in the response should be expanded.
[postIssuingTransactionsTransactionRequestBodyExpand] :: PostIssuingTransactionsTransactionRequestBody -> Maybe [Text]
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postIssuingTransactionsTransactionRequestBodyMetadata] :: PostIssuingTransactionsTransactionRequestBody -> Maybe PostIssuingTransactionsTransactionRequestBodyMetadata'Variants
-- | Create a new PostIssuingTransactionsTransactionRequestBody with
-- all required fields.
mkPostIssuingTransactionsTransactionRequestBody :: PostIssuingTransactionsTransactionRequestBody
-- | Defines the oneOf schema located at
-- paths./v1/issuing/transactions/{transaction}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.metadata.anyOf
-- in the specification.
--
-- Set of key-value pairs that you can attach to an object. This
-- can be useful for storing additional information about the object in a
-- structured format. Individual keys can be unset by posting an empty
-- value to them. All keys can be unset by posting an empty value to
-- `metadata`.
data PostIssuingTransactionsTransactionRequestBodyMetadata'Variants
-- | Represents the JSON value ""
PostIssuingTransactionsTransactionRequestBodyMetadata'EmptyString :: PostIssuingTransactionsTransactionRequestBodyMetadata'Variants
PostIssuingTransactionsTransactionRequestBodyMetadata'Object :: Object -> PostIssuingTransactionsTransactionRequestBodyMetadata'Variants
-- | Represents a response of the operation
-- postIssuingTransactionsTransaction.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- PostIssuingTransactionsTransactionResponseError is used.
data PostIssuingTransactionsTransactionResponse
-- | Means either no matching case available or a parse error
PostIssuingTransactionsTransactionResponseError :: String -> PostIssuingTransactionsTransactionResponse
-- | Successful response.
PostIssuingTransactionsTransactionResponse200 :: Issuing'transaction -> PostIssuingTransactionsTransactionResponse
-- | Error response.
PostIssuingTransactionsTransactionResponseDefault :: Error -> PostIssuingTransactionsTransactionResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingTransactionsTransaction.PostIssuingTransactionsTransactionRequestBodyMetadata'Variants
instance GHC.Show.Show StripeAPI.Operations.PostIssuingTransactionsTransaction.PostIssuingTransactionsTransactionRequestBodyMetadata'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingTransactionsTransaction.PostIssuingTransactionsTransactionRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostIssuingTransactionsTransaction.PostIssuingTransactionsTransactionRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingTransactionsTransaction.PostIssuingTransactionsTransactionResponse
instance GHC.Show.Show StripeAPI.Operations.PostIssuingTransactionsTransaction.PostIssuingTransactionsTransactionResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingTransactionsTransaction.PostIssuingTransactionsTransactionRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingTransactionsTransaction.PostIssuingTransactionsTransactionRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingTransactionsTransaction.PostIssuingTransactionsTransactionRequestBodyMetadata'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingTransactionsTransaction.PostIssuingTransactionsTransactionRequestBodyMetadata'Variants
-- | Contains the different functions to run the operation
-- postIssuingSettlementsSettlement
module StripeAPI.Operations.PostIssuingSettlementsSettlement
-- |
-- POST /v1/issuing/settlements/{settlement}
--
--
-- <p>Updates the specified Issuing
-- <code>Settlement</code> object by setting the values of
-- the parameters passed. Any parameters not provided will be left
-- unchanged.</p>
postIssuingSettlementsSettlement :: forall m. MonadHTTP m => Text -> Maybe PostIssuingSettlementsSettlementRequestBody -> ClientT m (Response PostIssuingSettlementsSettlementResponse)
-- | Defines the object schema located at
-- paths./v1/issuing/settlements/{settlement}.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostIssuingSettlementsSettlementRequestBody
PostIssuingSettlementsSettlementRequestBody :: Maybe [Text] -> Maybe Object -> PostIssuingSettlementsSettlementRequestBody
-- | expand: Specifies which fields in the response should be expanded.
[postIssuingSettlementsSettlementRequestBodyExpand] :: PostIssuingSettlementsSettlementRequestBody -> Maybe [Text]
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postIssuingSettlementsSettlementRequestBodyMetadata] :: PostIssuingSettlementsSettlementRequestBody -> Maybe Object
-- | Create a new PostIssuingSettlementsSettlementRequestBody with
-- all required fields.
mkPostIssuingSettlementsSettlementRequestBody :: PostIssuingSettlementsSettlementRequestBody
-- | Represents a response of the operation
-- postIssuingSettlementsSettlement.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- PostIssuingSettlementsSettlementResponseError is used.
data PostIssuingSettlementsSettlementResponse
-- | Means either no matching case available or a parse error
PostIssuingSettlementsSettlementResponseError :: String -> PostIssuingSettlementsSettlementResponse
-- | Successful response.
PostIssuingSettlementsSettlementResponse200 :: Issuing'settlement -> PostIssuingSettlementsSettlementResponse
-- | Error response.
PostIssuingSettlementsSettlementResponseDefault :: Error -> PostIssuingSettlementsSettlementResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingSettlementsSettlement.PostIssuingSettlementsSettlementRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostIssuingSettlementsSettlement.PostIssuingSettlementsSettlementRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingSettlementsSettlement.PostIssuingSettlementsSettlementResponse
instance GHC.Show.Show StripeAPI.Operations.PostIssuingSettlementsSettlement.PostIssuingSettlementsSettlementResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingSettlementsSettlement.PostIssuingSettlementsSettlementRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingSettlementsSettlement.PostIssuingSettlementsSettlementRequestBody
-- | Contains the different functions to run the operation
-- postIssuingDisputesDisputeSubmit
module StripeAPI.Operations.PostIssuingDisputesDisputeSubmit
-- |
-- POST /v1/issuing/disputes/{dispute}/submit
--
--
-- <p>Submits an Issuing <code>Dispute</code> to the
-- card network. Stripe validates that all evidence fields required for
-- the dispute’s reason are present. For more details, see <a
-- href="/docs/issuing/purchases/disputes#dispute-reasons-and-evidence">Dispute
-- reasons and evidence</a>.</p>
postIssuingDisputesDisputeSubmit :: forall m. MonadHTTP m => Text -> Maybe PostIssuingDisputesDisputeSubmitRequestBody -> ClientT m (Response PostIssuingDisputesDisputeSubmitResponse)
-- | Defines the object schema located at
-- paths./v1/issuing/disputes/{dispute}/submit.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostIssuingDisputesDisputeSubmitRequestBody
PostIssuingDisputesDisputeSubmitRequestBody :: Maybe [Text] -> Maybe PostIssuingDisputesDisputeSubmitRequestBodyMetadata'Variants -> PostIssuingDisputesDisputeSubmitRequestBody
-- | expand: Specifies which fields in the response should be expanded.
[postIssuingDisputesDisputeSubmitRequestBodyExpand] :: PostIssuingDisputesDisputeSubmitRequestBody -> Maybe [Text]
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postIssuingDisputesDisputeSubmitRequestBodyMetadata] :: PostIssuingDisputesDisputeSubmitRequestBody -> Maybe PostIssuingDisputesDisputeSubmitRequestBodyMetadata'Variants
-- | Create a new PostIssuingDisputesDisputeSubmitRequestBody with
-- all required fields.
mkPostIssuingDisputesDisputeSubmitRequestBody :: PostIssuingDisputesDisputeSubmitRequestBody
-- | Defines the oneOf schema located at
-- paths./v1/issuing/disputes/{dispute}/submit.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.metadata.anyOf
-- in the specification.
--
-- Set of key-value pairs that you can attach to an object. This
-- can be useful for storing additional information about the object in a
-- structured format. Individual keys can be unset by posting an empty
-- value to them. All keys can be unset by posting an empty value to
-- `metadata`.
data PostIssuingDisputesDisputeSubmitRequestBodyMetadata'Variants
-- | Represents the JSON value ""
PostIssuingDisputesDisputeSubmitRequestBodyMetadata'EmptyString :: PostIssuingDisputesDisputeSubmitRequestBodyMetadata'Variants
PostIssuingDisputesDisputeSubmitRequestBodyMetadata'Object :: Object -> PostIssuingDisputesDisputeSubmitRequestBodyMetadata'Variants
-- | Represents a response of the operation
-- postIssuingDisputesDisputeSubmit.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- PostIssuingDisputesDisputeSubmitResponseError is used.
data PostIssuingDisputesDisputeSubmitResponse
-- | Means either no matching case available or a parse error
PostIssuingDisputesDisputeSubmitResponseError :: String -> PostIssuingDisputesDisputeSubmitResponse
-- | Successful response.
PostIssuingDisputesDisputeSubmitResponse200 :: Issuing'dispute -> PostIssuingDisputesDisputeSubmitResponse
-- | Error response.
PostIssuingDisputesDisputeSubmitResponseDefault :: Error -> PostIssuingDisputesDisputeSubmitResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingDisputesDisputeSubmit.PostIssuingDisputesDisputeSubmitRequestBodyMetadata'Variants
instance GHC.Show.Show StripeAPI.Operations.PostIssuingDisputesDisputeSubmit.PostIssuingDisputesDisputeSubmitRequestBodyMetadata'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingDisputesDisputeSubmit.PostIssuingDisputesDisputeSubmitRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostIssuingDisputesDisputeSubmit.PostIssuingDisputesDisputeSubmitRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingDisputesDisputeSubmit.PostIssuingDisputesDisputeSubmitResponse
instance GHC.Show.Show StripeAPI.Operations.PostIssuingDisputesDisputeSubmit.PostIssuingDisputesDisputeSubmitResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingDisputesDisputeSubmit.PostIssuingDisputesDisputeSubmitRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingDisputesDisputeSubmit.PostIssuingDisputesDisputeSubmitRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingDisputesDisputeSubmit.PostIssuingDisputesDisputeSubmitRequestBodyMetadata'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingDisputesDisputeSubmit.PostIssuingDisputesDisputeSubmitRequestBodyMetadata'Variants
-- | Contains the different functions to run the operation
-- postIssuingDisputesDispute
module StripeAPI.Operations.PostIssuingDisputesDispute
-- |
-- POST /v1/issuing/disputes/{dispute}
--
--
-- <p>Updates the specified Issuing
-- <code>Dispute</code> object by setting the values of the
-- parameters passed. Any parameters not provided will be left unchanged.
-- Properties on the <code>evidence</code> object can be
-- unset by passing in an empty string.</p>
postIssuingDisputesDispute :: forall m. MonadHTTP m => Text -> Maybe PostIssuingDisputesDisputeRequestBody -> ClientT m (Response PostIssuingDisputesDisputeResponse)
-- | Defines the object schema located at
-- paths./v1/issuing/disputes/{dispute}.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostIssuingDisputesDisputeRequestBody
PostIssuingDisputesDisputeRequestBody :: Maybe PostIssuingDisputesDisputeRequestBodyEvidence' -> Maybe [Text] -> Maybe PostIssuingDisputesDisputeRequestBodyMetadata'Variants -> PostIssuingDisputesDisputeRequestBody
-- | evidence: Evidence provided for the dispute.
[postIssuingDisputesDisputeRequestBodyEvidence] :: PostIssuingDisputesDisputeRequestBody -> Maybe PostIssuingDisputesDisputeRequestBodyEvidence'
-- | expand: Specifies which fields in the response should be expanded.
[postIssuingDisputesDisputeRequestBodyExpand] :: PostIssuingDisputesDisputeRequestBody -> Maybe [Text]
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postIssuingDisputesDisputeRequestBodyMetadata] :: PostIssuingDisputesDisputeRequestBody -> Maybe PostIssuingDisputesDisputeRequestBodyMetadata'Variants
-- | Create a new PostIssuingDisputesDisputeRequestBody with all
-- required fields.
mkPostIssuingDisputesDisputeRequestBody :: PostIssuingDisputesDisputeRequestBody
-- | Defines the object schema located at
-- paths./v1/issuing/disputes/{dispute}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.evidence
-- in the specification.
--
-- Evidence provided for the dispute.
data PostIssuingDisputesDisputeRequestBodyEvidence'
PostIssuingDisputesDisputeRequestBodyEvidence' :: Maybe PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'Variants -> Maybe PostIssuingDisputesDisputeRequestBodyEvidence'Duplicate'Variants -> Maybe PostIssuingDisputesDisputeRequestBodyEvidence'Fraudulent'Variants -> Maybe PostIssuingDisputesDisputeRequestBodyEvidence'MerchandiseNotAsDescribed'Variants -> Maybe PostIssuingDisputesDisputeRequestBodyEvidence'NotReceived'Variants -> Maybe PostIssuingDisputesDisputeRequestBodyEvidence'Other'Variants -> Maybe PostIssuingDisputesDisputeRequestBodyEvidence'Reason' -> Maybe PostIssuingDisputesDisputeRequestBodyEvidence'ServiceNotAsDescribed'Variants -> PostIssuingDisputesDisputeRequestBodyEvidence'
-- | canceled
[postIssuingDisputesDisputeRequestBodyEvidence'Canceled] :: PostIssuingDisputesDisputeRequestBodyEvidence' -> Maybe PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'Variants
-- | duplicate
[postIssuingDisputesDisputeRequestBodyEvidence'Duplicate] :: PostIssuingDisputesDisputeRequestBodyEvidence' -> Maybe PostIssuingDisputesDisputeRequestBodyEvidence'Duplicate'Variants
-- | fraudulent
[postIssuingDisputesDisputeRequestBodyEvidence'Fraudulent] :: PostIssuingDisputesDisputeRequestBodyEvidence' -> Maybe PostIssuingDisputesDisputeRequestBodyEvidence'Fraudulent'Variants
-- | merchandise_not_as_described
[postIssuingDisputesDisputeRequestBodyEvidence'MerchandiseNotAsDescribed] :: PostIssuingDisputesDisputeRequestBodyEvidence' -> Maybe PostIssuingDisputesDisputeRequestBodyEvidence'MerchandiseNotAsDescribed'Variants
-- | not_received
[postIssuingDisputesDisputeRequestBodyEvidence'NotReceived] :: PostIssuingDisputesDisputeRequestBodyEvidence' -> Maybe PostIssuingDisputesDisputeRequestBodyEvidence'NotReceived'Variants
-- | other
[postIssuingDisputesDisputeRequestBodyEvidence'Other] :: PostIssuingDisputesDisputeRequestBodyEvidence' -> Maybe PostIssuingDisputesDisputeRequestBodyEvidence'Other'Variants
-- | reason
[postIssuingDisputesDisputeRequestBodyEvidence'Reason] :: PostIssuingDisputesDisputeRequestBodyEvidence' -> Maybe PostIssuingDisputesDisputeRequestBodyEvidence'Reason'
-- | service_not_as_described
[postIssuingDisputesDisputeRequestBodyEvidence'ServiceNotAsDescribed] :: PostIssuingDisputesDisputeRequestBodyEvidence' -> Maybe PostIssuingDisputesDisputeRequestBodyEvidence'ServiceNotAsDescribed'Variants
-- | Create a new PostIssuingDisputesDisputeRequestBodyEvidence'
-- with all required fields.
mkPostIssuingDisputesDisputeRequestBodyEvidence' :: PostIssuingDisputesDisputeRequestBodyEvidence'
-- | Defines the object schema located at
-- paths./v1/issuing/disputes/{dispute}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.evidence.properties.canceled.anyOf
-- in the specification.
data PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1
PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1 :: Maybe PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1AdditionalDocumentation'Variants -> Maybe PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1CanceledAt'Variants -> Maybe PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1CancellationPolicyProvided'Variants -> Maybe Text -> Maybe PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1ExpectedAt'Variants -> Maybe Text -> Maybe Text -> Maybe PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1ProductType' -> Maybe PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1ReturnStatus' -> Maybe PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1ReturnedAt'Variants -> PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1
-- | additional_documentation
[postIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1AdditionalDocumentation] :: PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1 -> Maybe PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1AdditionalDocumentation'Variants
-- | canceled_at
[postIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1CanceledAt] :: PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1 -> Maybe PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1CanceledAt'Variants
-- | cancellation_policy_provided
[postIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1CancellationPolicyProvided] :: PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1 -> Maybe PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1CancellationPolicyProvided'Variants
-- | cancellation_reason
--
-- Constraints:
--
--
-- - Maximum length of 1500
--
[postIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1CancellationReason] :: PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1 -> Maybe Text
-- | expected_at
[postIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1ExpectedAt] :: PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1 -> Maybe PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1ExpectedAt'Variants
-- | explanation
--
-- Constraints:
--
--
-- - Maximum length of 1500
--
[postIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1Explanation] :: PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1 -> Maybe Text
-- | product_description
--
-- Constraints:
--
--
-- - Maximum length of 1500
--
[postIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1ProductDescription] :: PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1 -> Maybe Text
-- | product_type
[postIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1ProductType] :: PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1 -> Maybe PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1ProductType'
-- | return_status
[postIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1ReturnStatus] :: PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1 -> Maybe PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1ReturnStatus'
-- | returned_at
[postIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1ReturnedAt] :: PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1 -> Maybe PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1ReturnedAt'Variants
-- | Create a new
-- PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1
-- with all required fields.
mkPostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1 :: PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/issuing/disputes/{dispute}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.evidence.properties.canceled.anyOf.properties.additional_documentation.anyOf
-- in the specification.
data PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1AdditionalDocumentation'Variants
-- | Represents the JSON value ""
PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1AdditionalDocumentation'EmptyString :: PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1AdditionalDocumentation'Variants
PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1AdditionalDocumentation'Text :: Text -> PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1AdditionalDocumentation'Variants
-- | Defines the oneOf schema located at
-- paths./v1/issuing/disputes/{dispute}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.evidence.properties.canceled.anyOf.properties.canceled_at.anyOf
-- in the specification.
data PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1CanceledAt'Variants
-- | Represents the JSON value ""
PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1CanceledAt'EmptyString :: PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1CanceledAt'Variants
PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1CanceledAt'Int :: Int -> PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1CanceledAt'Variants
-- | Defines the oneOf schema located at
-- paths./v1/issuing/disputes/{dispute}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.evidence.properties.canceled.anyOf.properties.cancellation_policy_provided.anyOf
-- in the specification.
data PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1CancellationPolicyProvided'Variants
-- | Represents the JSON value ""
PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1CancellationPolicyProvided'EmptyString :: PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1CancellationPolicyProvided'Variants
PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1CancellationPolicyProvided'Bool :: Bool -> PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1CancellationPolicyProvided'Variants
-- | Defines the oneOf schema located at
-- paths./v1/issuing/disputes/{dispute}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.evidence.properties.canceled.anyOf.properties.expected_at.anyOf
-- in the specification.
data PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1ExpectedAt'Variants
-- | Represents the JSON value ""
PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1ExpectedAt'EmptyString :: PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1ExpectedAt'Variants
PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1ExpectedAt'Int :: Int -> PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1ExpectedAt'Variants
-- | Defines the enum schema located at
-- paths./v1/issuing/disputes/{dispute}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.evidence.properties.canceled.anyOf.properties.product_type
-- in the specification.
data PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1ProductType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1ProductType'Other :: Value -> PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1ProductType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1ProductType'Typed :: Text -> PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1ProductType'
-- | Represents the JSON value ""
PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1ProductType'EnumEmptyString :: PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1ProductType'
-- | Represents the JSON value "merchandise"
PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1ProductType'EnumMerchandise :: PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1ProductType'
-- | Represents the JSON value "service"
PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1ProductType'EnumService :: PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1ProductType'
-- | Defines the enum schema located at
-- paths./v1/issuing/disputes/{dispute}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.evidence.properties.canceled.anyOf.properties.return_status
-- in the specification.
data PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1ReturnStatus'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1ReturnStatus'Other :: Value -> PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1ReturnStatus'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1ReturnStatus'Typed :: Text -> PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1ReturnStatus'
-- | Represents the JSON value ""
PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1ReturnStatus'EnumEmptyString :: PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1ReturnStatus'
-- | Represents the JSON value "merchant_rejected"
PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1ReturnStatus'EnumMerchantRejected :: PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1ReturnStatus'
-- | Represents the JSON value "successful"
PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1ReturnStatus'EnumSuccessful :: PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1ReturnStatus'
-- | Defines the oneOf schema located at
-- paths./v1/issuing/disputes/{dispute}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.evidence.properties.canceled.anyOf.properties.returned_at.anyOf
-- in the specification.
data PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1ReturnedAt'Variants
-- | Represents the JSON value ""
PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1ReturnedAt'EmptyString :: PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1ReturnedAt'Variants
PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1ReturnedAt'Int :: Int -> PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1ReturnedAt'Variants
-- | Defines the oneOf schema located at
-- paths./v1/issuing/disputes/{dispute}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.evidence.properties.canceled.anyOf
-- in the specification.
data PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'Variants
-- | Represents the JSON value ""
PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'EmptyString :: PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'Variants
PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1 :: PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1 -> PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'Variants
-- | Defines the object schema located at
-- paths./v1/issuing/disputes/{dispute}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.evidence.properties.duplicate.anyOf
-- in the specification.
data PostIssuingDisputesDisputeRequestBodyEvidence'Duplicate'OneOf1
PostIssuingDisputesDisputeRequestBodyEvidence'Duplicate'OneOf1 :: Maybe PostIssuingDisputesDisputeRequestBodyEvidence'Duplicate'OneOf1AdditionalDocumentation'Variants -> Maybe PostIssuingDisputesDisputeRequestBodyEvidence'Duplicate'OneOf1CardStatement'Variants -> Maybe PostIssuingDisputesDisputeRequestBodyEvidence'Duplicate'OneOf1CashReceipt'Variants -> Maybe PostIssuingDisputesDisputeRequestBodyEvidence'Duplicate'OneOf1CheckImage'Variants -> Maybe Text -> Maybe Text -> PostIssuingDisputesDisputeRequestBodyEvidence'Duplicate'OneOf1
-- | additional_documentation
[postIssuingDisputesDisputeRequestBodyEvidence'Duplicate'OneOf1AdditionalDocumentation] :: PostIssuingDisputesDisputeRequestBodyEvidence'Duplicate'OneOf1 -> Maybe PostIssuingDisputesDisputeRequestBodyEvidence'Duplicate'OneOf1AdditionalDocumentation'Variants
-- | card_statement
[postIssuingDisputesDisputeRequestBodyEvidence'Duplicate'OneOf1CardStatement] :: PostIssuingDisputesDisputeRequestBodyEvidence'Duplicate'OneOf1 -> Maybe PostIssuingDisputesDisputeRequestBodyEvidence'Duplicate'OneOf1CardStatement'Variants
-- | cash_receipt
[postIssuingDisputesDisputeRequestBodyEvidence'Duplicate'OneOf1CashReceipt] :: PostIssuingDisputesDisputeRequestBodyEvidence'Duplicate'OneOf1 -> Maybe PostIssuingDisputesDisputeRequestBodyEvidence'Duplicate'OneOf1CashReceipt'Variants
-- | check_image
[postIssuingDisputesDisputeRequestBodyEvidence'Duplicate'OneOf1CheckImage] :: PostIssuingDisputesDisputeRequestBodyEvidence'Duplicate'OneOf1 -> Maybe PostIssuingDisputesDisputeRequestBodyEvidence'Duplicate'OneOf1CheckImage'Variants
-- | explanation
--
-- Constraints:
--
--
-- - Maximum length of 1500
--
[postIssuingDisputesDisputeRequestBodyEvidence'Duplicate'OneOf1Explanation] :: PostIssuingDisputesDisputeRequestBodyEvidence'Duplicate'OneOf1 -> Maybe Text
-- | original_transaction
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postIssuingDisputesDisputeRequestBodyEvidence'Duplicate'OneOf1OriginalTransaction] :: PostIssuingDisputesDisputeRequestBodyEvidence'Duplicate'OneOf1 -> Maybe Text
-- | Create a new
-- PostIssuingDisputesDisputeRequestBodyEvidence'Duplicate'OneOf1
-- with all required fields.
mkPostIssuingDisputesDisputeRequestBodyEvidence'Duplicate'OneOf1 :: PostIssuingDisputesDisputeRequestBodyEvidence'Duplicate'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/issuing/disputes/{dispute}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.evidence.properties.duplicate.anyOf.properties.additional_documentation.anyOf
-- in the specification.
data PostIssuingDisputesDisputeRequestBodyEvidence'Duplicate'OneOf1AdditionalDocumentation'Variants
-- | Represents the JSON value ""
PostIssuingDisputesDisputeRequestBodyEvidence'Duplicate'OneOf1AdditionalDocumentation'EmptyString :: PostIssuingDisputesDisputeRequestBodyEvidence'Duplicate'OneOf1AdditionalDocumentation'Variants
PostIssuingDisputesDisputeRequestBodyEvidence'Duplicate'OneOf1AdditionalDocumentation'Text :: Text -> PostIssuingDisputesDisputeRequestBodyEvidence'Duplicate'OneOf1AdditionalDocumentation'Variants
-- | Defines the oneOf schema located at
-- paths./v1/issuing/disputes/{dispute}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.evidence.properties.duplicate.anyOf.properties.card_statement.anyOf
-- in the specification.
data PostIssuingDisputesDisputeRequestBodyEvidence'Duplicate'OneOf1CardStatement'Variants
-- | Represents the JSON value ""
PostIssuingDisputesDisputeRequestBodyEvidence'Duplicate'OneOf1CardStatement'EmptyString :: PostIssuingDisputesDisputeRequestBodyEvidence'Duplicate'OneOf1CardStatement'Variants
PostIssuingDisputesDisputeRequestBodyEvidence'Duplicate'OneOf1CardStatement'Text :: Text -> PostIssuingDisputesDisputeRequestBodyEvidence'Duplicate'OneOf1CardStatement'Variants
-- | Defines the oneOf schema located at
-- paths./v1/issuing/disputes/{dispute}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.evidence.properties.duplicate.anyOf.properties.cash_receipt.anyOf
-- in the specification.
data PostIssuingDisputesDisputeRequestBodyEvidence'Duplicate'OneOf1CashReceipt'Variants
-- | Represents the JSON value ""
PostIssuingDisputesDisputeRequestBodyEvidence'Duplicate'OneOf1CashReceipt'EmptyString :: PostIssuingDisputesDisputeRequestBodyEvidence'Duplicate'OneOf1CashReceipt'Variants
PostIssuingDisputesDisputeRequestBodyEvidence'Duplicate'OneOf1CashReceipt'Text :: Text -> PostIssuingDisputesDisputeRequestBodyEvidence'Duplicate'OneOf1CashReceipt'Variants
-- | Defines the oneOf schema located at
-- paths./v1/issuing/disputes/{dispute}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.evidence.properties.duplicate.anyOf.properties.check_image.anyOf
-- in the specification.
data PostIssuingDisputesDisputeRequestBodyEvidence'Duplicate'OneOf1CheckImage'Variants
-- | Represents the JSON value ""
PostIssuingDisputesDisputeRequestBodyEvidence'Duplicate'OneOf1CheckImage'EmptyString :: PostIssuingDisputesDisputeRequestBodyEvidence'Duplicate'OneOf1CheckImage'Variants
PostIssuingDisputesDisputeRequestBodyEvidence'Duplicate'OneOf1CheckImage'Text :: Text -> PostIssuingDisputesDisputeRequestBodyEvidence'Duplicate'OneOf1CheckImage'Variants
-- | Defines the oneOf schema located at
-- paths./v1/issuing/disputes/{dispute}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.evidence.properties.duplicate.anyOf
-- in the specification.
data PostIssuingDisputesDisputeRequestBodyEvidence'Duplicate'Variants
-- | Represents the JSON value ""
PostIssuingDisputesDisputeRequestBodyEvidence'Duplicate'EmptyString :: PostIssuingDisputesDisputeRequestBodyEvidence'Duplicate'Variants
PostIssuingDisputesDisputeRequestBodyEvidence'Duplicate'PostIssuingDisputesDisputeRequestBodyEvidence'Duplicate'OneOf1 :: PostIssuingDisputesDisputeRequestBodyEvidence'Duplicate'OneOf1 -> PostIssuingDisputesDisputeRequestBodyEvidence'Duplicate'Variants
-- | Defines the object schema located at
-- paths./v1/issuing/disputes/{dispute}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.evidence.properties.fraudulent.anyOf
-- in the specification.
data PostIssuingDisputesDisputeRequestBodyEvidence'Fraudulent'OneOf1
PostIssuingDisputesDisputeRequestBodyEvidence'Fraudulent'OneOf1 :: Maybe PostIssuingDisputesDisputeRequestBodyEvidence'Fraudulent'OneOf1AdditionalDocumentation'Variants -> Maybe Text -> PostIssuingDisputesDisputeRequestBodyEvidence'Fraudulent'OneOf1
-- | additional_documentation
[postIssuingDisputesDisputeRequestBodyEvidence'Fraudulent'OneOf1AdditionalDocumentation] :: PostIssuingDisputesDisputeRequestBodyEvidence'Fraudulent'OneOf1 -> Maybe PostIssuingDisputesDisputeRequestBodyEvidence'Fraudulent'OneOf1AdditionalDocumentation'Variants
-- | explanation
--
-- Constraints:
--
--
-- - Maximum length of 1500
--
[postIssuingDisputesDisputeRequestBodyEvidence'Fraudulent'OneOf1Explanation] :: PostIssuingDisputesDisputeRequestBodyEvidence'Fraudulent'OneOf1 -> Maybe Text
-- | Create a new
-- PostIssuingDisputesDisputeRequestBodyEvidence'Fraudulent'OneOf1
-- with all required fields.
mkPostIssuingDisputesDisputeRequestBodyEvidence'Fraudulent'OneOf1 :: PostIssuingDisputesDisputeRequestBodyEvidence'Fraudulent'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/issuing/disputes/{dispute}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.evidence.properties.fraudulent.anyOf.properties.additional_documentation.anyOf
-- in the specification.
data PostIssuingDisputesDisputeRequestBodyEvidence'Fraudulent'OneOf1AdditionalDocumentation'Variants
-- | Represents the JSON value ""
PostIssuingDisputesDisputeRequestBodyEvidence'Fraudulent'OneOf1AdditionalDocumentation'EmptyString :: PostIssuingDisputesDisputeRequestBodyEvidence'Fraudulent'OneOf1AdditionalDocumentation'Variants
PostIssuingDisputesDisputeRequestBodyEvidence'Fraudulent'OneOf1AdditionalDocumentation'Text :: Text -> PostIssuingDisputesDisputeRequestBodyEvidence'Fraudulent'OneOf1AdditionalDocumentation'Variants
-- | Defines the oneOf schema located at
-- paths./v1/issuing/disputes/{dispute}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.evidence.properties.fraudulent.anyOf
-- in the specification.
data PostIssuingDisputesDisputeRequestBodyEvidence'Fraudulent'Variants
-- | Represents the JSON value ""
PostIssuingDisputesDisputeRequestBodyEvidence'Fraudulent'EmptyString :: PostIssuingDisputesDisputeRequestBodyEvidence'Fraudulent'Variants
PostIssuingDisputesDisputeRequestBodyEvidence'Fraudulent'PostIssuingDisputesDisputeRequestBodyEvidence'Fraudulent'OneOf1 :: PostIssuingDisputesDisputeRequestBodyEvidence'Fraudulent'OneOf1 -> PostIssuingDisputesDisputeRequestBodyEvidence'Fraudulent'Variants
-- | Defines the object schema located at
-- paths./v1/issuing/disputes/{dispute}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.evidence.properties.merchandise_not_as_described.anyOf
-- in the specification.
data PostIssuingDisputesDisputeRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1
PostIssuingDisputesDisputeRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1 :: Maybe PostIssuingDisputesDisputeRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1AdditionalDocumentation'Variants -> Maybe Text -> Maybe PostIssuingDisputesDisputeRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1ReceivedAt'Variants -> Maybe Text -> Maybe PostIssuingDisputesDisputeRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1ReturnStatus' -> Maybe PostIssuingDisputesDisputeRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1ReturnedAt'Variants -> PostIssuingDisputesDisputeRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1
-- | additional_documentation
[postIssuingDisputesDisputeRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1AdditionalDocumentation] :: PostIssuingDisputesDisputeRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1 -> Maybe PostIssuingDisputesDisputeRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1AdditionalDocumentation'Variants
-- | explanation
--
-- Constraints:
--
--
-- - Maximum length of 1500
--
[postIssuingDisputesDisputeRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1Explanation] :: PostIssuingDisputesDisputeRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1 -> Maybe Text
-- | received_at
[postIssuingDisputesDisputeRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1ReceivedAt] :: PostIssuingDisputesDisputeRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1 -> Maybe PostIssuingDisputesDisputeRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1ReceivedAt'Variants
-- | return_description
--
-- Constraints:
--
--
-- - Maximum length of 1500
--
[postIssuingDisputesDisputeRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1ReturnDescription] :: PostIssuingDisputesDisputeRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1 -> Maybe Text
-- | return_status
[postIssuingDisputesDisputeRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1ReturnStatus] :: PostIssuingDisputesDisputeRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1 -> Maybe PostIssuingDisputesDisputeRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1ReturnStatus'
-- | returned_at
[postIssuingDisputesDisputeRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1ReturnedAt] :: PostIssuingDisputesDisputeRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1 -> Maybe PostIssuingDisputesDisputeRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1ReturnedAt'Variants
-- | Create a new
-- PostIssuingDisputesDisputeRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1
-- with all required fields.
mkPostIssuingDisputesDisputeRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1 :: PostIssuingDisputesDisputeRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/issuing/disputes/{dispute}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.evidence.properties.merchandise_not_as_described.anyOf.properties.additional_documentation.anyOf
-- in the specification.
data PostIssuingDisputesDisputeRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1AdditionalDocumentation'Variants
-- | Represents the JSON value ""
PostIssuingDisputesDisputeRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1AdditionalDocumentation'EmptyString :: PostIssuingDisputesDisputeRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1AdditionalDocumentation'Variants
PostIssuingDisputesDisputeRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1AdditionalDocumentation'Text :: Text -> PostIssuingDisputesDisputeRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1AdditionalDocumentation'Variants
-- | Defines the oneOf schema located at
-- paths./v1/issuing/disputes/{dispute}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.evidence.properties.merchandise_not_as_described.anyOf.properties.received_at.anyOf
-- in the specification.
data PostIssuingDisputesDisputeRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1ReceivedAt'Variants
-- | Represents the JSON value ""
PostIssuingDisputesDisputeRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1ReceivedAt'EmptyString :: PostIssuingDisputesDisputeRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1ReceivedAt'Variants
PostIssuingDisputesDisputeRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1ReceivedAt'Int :: Int -> PostIssuingDisputesDisputeRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1ReceivedAt'Variants
-- | Defines the enum schema located at
-- paths./v1/issuing/disputes/{dispute}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.evidence.properties.merchandise_not_as_described.anyOf.properties.return_status
-- in the specification.
data PostIssuingDisputesDisputeRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1ReturnStatus'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostIssuingDisputesDisputeRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1ReturnStatus'Other :: Value -> PostIssuingDisputesDisputeRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1ReturnStatus'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostIssuingDisputesDisputeRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1ReturnStatus'Typed :: Text -> PostIssuingDisputesDisputeRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1ReturnStatus'
-- | Represents the JSON value ""
PostIssuingDisputesDisputeRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1ReturnStatus'EnumEmptyString :: PostIssuingDisputesDisputeRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1ReturnStatus'
-- | Represents the JSON value "merchant_rejected"
PostIssuingDisputesDisputeRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1ReturnStatus'EnumMerchantRejected :: PostIssuingDisputesDisputeRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1ReturnStatus'
-- | Represents the JSON value "successful"
PostIssuingDisputesDisputeRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1ReturnStatus'EnumSuccessful :: PostIssuingDisputesDisputeRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1ReturnStatus'
-- | Defines the oneOf schema located at
-- paths./v1/issuing/disputes/{dispute}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.evidence.properties.merchandise_not_as_described.anyOf.properties.returned_at.anyOf
-- in the specification.
data PostIssuingDisputesDisputeRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1ReturnedAt'Variants
-- | Represents the JSON value ""
PostIssuingDisputesDisputeRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1ReturnedAt'EmptyString :: PostIssuingDisputesDisputeRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1ReturnedAt'Variants
PostIssuingDisputesDisputeRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1ReturnedAt'Int :: Int -> PostIssuingDisputesDisputeRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1ReturnedAt'Variants
-- | Defines the oneOf schema located at
-- paths./v1/issuing/disputes/{dispute}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.evidence.properties.merchandise_not_as_described.anyOf
-- in the specification.
data PostIssuingDisputesDisputeRequestBodyEvidence'MerchandiseNotAsDescribed'Variants
-- | Represents the JSON value ""
PostIssuingDisputesDisputeRequestBodyEvidence'MerchandiseNotAsDescribed'EmptyString :: PostIssuingDisputesDisputeRequestBodyEvidence'MerchandiseNotAsDescribed'Variants
PostIssuingDisputesDisputeRequestBodyEvidence'MerchandiseNotAsDescribed'PostIssuingDisputesDisputeRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1 :: PostIssuingDisputesDisputeRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1 -> PostIssuingDisputesDisputeRequestBodyEvidence'MerchandiseNotAsDescribed'Variants
-- | Defines the object schema located at
-- paths./v1/issuing/disputes/{dispute}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.evidence.properties.not_received.anyOf
-- in the specification.
data PostIssuingDisputesDisputeRequestBodyEvidence'NotReceived'OneOf1
PostIssuingDisputesDisputeRequestBodyEvidence'NotReceived'OneOf1 :: Maybe PostIssuingDisputesDisputeRequestBodyEvidence'NotReceived'OneOf1AdditionalDocumentation'Variants -> Maybe PostIssuingDisputesDisputeRequestBodyEvidence'NotReceived'OneOf1ExpectedAt'Variants -> Maybe Text -> Maybe Text -> Maybe PostIssuingDisputesDisputeRequestBodyEvidence'NotReceived'OneOf1ProductType' -> PostIssuingDisputesDisputeRequestBodyEvidence'NotReceived'OneOf1
-- | additional_documentation
[postIssuingDisputesDisputeRequestBodyEvidence'NotReceived'OneOf1AdditionalDocumentation] :: PostIssuingDisputesDisputeRequestBodyEvidence'NotReceived'OneOf1 -> Maybe PostIssuingDisputesDisputeRequestBodyEvidence'NotReceived'OneOf1AdditionalDocumentation'Variants
-- | expected_at
[postIssuingDisputesDisputeRequestBodyEvidence'NotReceived'OneOf1ExpectedAt] :: PostIssuingDisputesDisputeRequestBodyEvidence'NotReceived'OneOf1 -> Maybe PostIssuingDisputesDisputeRequestBodyEvidence'NotReceived'OneOf1ExpectedAt'Variants
-- | explanation
--
-- Constraints:
--
--
-- - Maximum length of 1500
--
[postIssuingDisputesDisputeRequestBodyEvidence'NotReceived'OneOf1Explanation] :: PostIssuingDisputesDisputeRequestBodyEvidence'NotReceived'OneOf1 -> Maybe Text
-- | product_description
--
-- Constraints:
--
--
-- - Maximum length of 1500
--
[postIssuingDisputesDisputeRequestBodyEvidence'NotReceived'OneOf1ProductDescription] :: PostIssuingDisputesDisputeRequestBodyEvidence'NotReceived'OneOf1 -> Maybe Text
-- | product_type
[postIssuingDisputesDisputeRequestBodyEvidence'NotReceived'OneOf1ProductType] :: PostIssuingDisputesDisputeRequestBodyEvidence'NotReceived'OneOf1 -> Maybe PostIssuingDisputesDisputeRequestBodyEvidence'NotReceived'OneOf1ProductType'
-- | Create a new
-- PostIssuingDisputesDisputeRequestBodyEvidence'NotReceived'OneOf1
-- with all required fields.
mkPostIssuingDisputesDisputeRequestBodyEvidence'NotReceived'OneOf1 :: PostIssuingDisputesDisputeRequestBodyEvidence'NotReceived'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/issuing/disputes/{dispute}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.evidence.properties.not_received.anyOf.properties.additional_documentation.anyOf
-- in the specification.
data PostIssuingDisputesDisputeRequestBodyEvidence'NotReceived'OneOf1AdditionalDocumentation'Variants
-- | Represents the JSON value ""
PostIssuingDisputesDisputeRequestBodyEvidence'NotReceived'OneOf1AdditionalDocumentation'EmptyString :: PostIssuingDisputesDisputeRequestBodyEvidence'NotReceived'OneOf1AdditionalDocumentation'Variants
PostIssuingDisputesDisputeRequestBodyEvidence'NotReceived'OneOf1AdditionalDocumentation'Text :: Text -> PostIssuingDisputesDisputeRequestBodyEvidence'NotReceived'OneOf1AdditionalDocumentation'Variants
-- | Defines the oneOf schema located at
-- paths./v1/issuing/disputes/{dispute}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.evidence.properties.not_received.anyOf.properties.expected_at.anyOf
-- in the specification.
data PostIssuingDisputesDisputeRequestBodyEvidence'NotReceived'OneOf1ExpectedAt'Variants
-- | Represents the JSON value ""
PostIssuingDisputesDisputeRequestBodyEvidence'NotReceived'OneOf1ExpectedAt'EmptyString :: PostIssuingDisputesDisputeRequestBodyEvidence'NotReceived'OneOf1ExpectedAt'Variants
PostIssuingDisputesDisputeRequestBodyEvidence'NotReceived'OneOf1ExpectedAt'Int :: Int -> PostIssuingDisputesDisputeRequestBodyEvidence'NotReceived'OneOf1ExpectedAt'Variants
-- | Defines the enum schema located at
-- paths./v1/issuing/disputes/{dispute}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.evidence.properties.not_received.anyOf.properties.product_type
-- in the specification.
data PostIssuingDisputesDisputeRequestBodyEvidence'NotReceived'OneOf1ProductType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostIssuingDisputesDisputeRequestBodyEvidence'NotReceived'OneOf1ProductType'Other :: Value -> PostIssuingDisputesDisputeRequestBodyEvidence'NotReceived'OneOf1ProductType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostIssuingDisputesDisputeRequestBodyEvidence'NotReceived'OneOf1ProductType'Typed :: Text -> PostIssuingDisputesDisputeRequestBodyEvidence'NotReceived'OneOf1ProductType'
-- | Represents the JSON value ""
PostIssuingDisputesDisputeRequestBodyEvidence'NotReceived'OneOf1ProductType'EnumEmptyString :: PostIssuingDisputesDisputeRequestBodyEvidence'NotReceived'OneOf1ProductType'
-- | Represents the JSON value "merchandise"
PostIssuingDisputesDisputeRequestBodyEvidence'NotReceived'OneOf1ProductType'EnumMerchandise :: PostIssuingDisputesDisputeRequestBodyEvidence'NotReceived'OneOf1ProductType'
-- | Represents the JSON value "service"
PostIssuingDisputesDisputeRequestBodyEvidence'NotReceived'OneOf1ProductType'EnumService :: PostIssuingDisputesDisputeRequestBodyEvidence'NotReceived'OneOf1ProductType'
-- | Defines the oneOf schema located at
-- paths./v1/issuing/disputes/{dispute}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.evidence.properties.not_received.anyOf
-- in the specification.
data PostIssuingDisputesDisputeRequestBodyEvidence'NotReceived'Variants
-- | Represents the JSON value ""
PostIssuingDisputesDisputeRequestBodyEvidence'NotReceived'EmptyString :: PostIssuingDisputesDisputeRequestBodyEvidence'NotReceived'Variants
PostIssuingDisputesDisputeRequestBodyEvidence'NotReceived'PostIssuingDisputesDisputeRequestBodyEvidence'NotReceived'OneOf1 :: PostIssuingDisputesDisputeRequestBodyEvidence'NotReceived'OneOf1 -> PostIssuingDisputesDisputeRequestBodyEvidence'NotReceived'Variants
-- | Defines the object schema located at
-- paths./v1/issuing/disputes/{dispute}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.evidence.properties.other.anyOf
-- in the specification.
data PostIssuingDisputesDisputeRequestBodyEvidence'Other'OneOf1
PostIssuingDisputesDisputeRequestBodyEvidence'Other'OneOf1 :: Maybe PostIssuingDisputesDisputeRequestBodyEvidence'Other'OneOf1AdditionalDocumentation'Variants -> Maybe Text -> Maybe Text -> Maybe PostIssuingDisputesDisputeRequestBodyEvidence'Other'OneOf1ProductType' -> PostIssuingDisputesDisputeRequestBodyEvidence'Other'OneOf1
-- | additional_documentation
[postIssuingDisputesDisputeRequestBodyEvidence'Other'OneOf1AdditionalDocumentation] :: PostIssuingDisputesDisputeRequestBodyEvidence'Other'OneOf1 -> Maybe PostIssuingDisputesDisputeRequestBodyEvidence'Other'OneOf1AdditionalDocumentation'Variants
-- | explanation
--
-- Constraints:
--
--
-- - Maximum length of 1500
--
[postIssuingDisputesDisputeRequestBodyEvidence'Other'OneOf1Explanation] :: PostIssuingDisputesDisputeRequestBodyEvidence'Other'OneOf1 -> Maybe Text
-- | product_description
--
-- Constraints:
--
--
-- - Maximum length of 1500
--
[postIssuingDisputesDisputeRequestBodyEvidence'Other'OneOf1ProductDescription] :: PostIssuingDisputesDisputeRequestBodyEvidence'Other'OneOf1 -> Maybe Text
-- | product_type
[postIssuingDisputesDisputeRequestBodyEvidence'Other'OneOf1ProductType] :: PostIssuingDisputesDisputeRequestBodyEvidence'Other'OneOf1 -> Maybe PostIssuingDisputesDisputeRequestBodyEvidence'Other'OneOf1ProductType'
-- | Create a new
-- PostIssuingDisputesDisputeRequestBodyEvidence'Other'OneOf1 with
-- all required fields.
mkPostIssuingDisputesDisputeRequestBodyEvidence'Other'OneOf1 :: PostIssuingDisputesDisputeRequestBodyEvidence'Other'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/issuing/disputes/{dispute}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.evidence.properties.other.anyOf.properties.additional_documentation.anyOf
-- in the specification.
data PostIssuingDisputesDisputeRequestBodyEvidence'Other'OneOf1AdditionalDocumentation'Variants
-- | Represents the JSON value ""
PostIssuingDisputesDisputeRequestBodyEvidence'Other'OneOf1AdditionalDocumentation'EmptyString :: PostIssuingDisputesDisputeRequestBodyEvidence'Other'OneOf1AdditionalDocumentation'Variants
PostIssuingDisputesDisputeRequestBodyEvidence'Other'OneOf1AdditionalDocumentation'Text :: Text -> PostIssuingDisputesDisputeRequestBodyEvidence'Other'OneOf1AdditionalDocumentation'Variants
-- | Defines the enum schema located at
-- paths./v1/issuing/disputes/{dispute}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.evidence.properties.other.anyOf.properties.product_type
-- in the specification.
data PostIssuingDisputesDisputeRequestBodyEvidence'Other'OneOf1ProductType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostIssuingDisputesDisputeRequestBodyEvidence'Other'OneOf1ProductType'Other :: Value -> PostIssuingDisputesDisputeRequestBodyEvidence'Other'OneOf1ProductType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostIssuingDisputesDisputeRequestBodyEvidence'Other'OneOf1ProductType'Typed :: Text -> PostIssuingDisputesDisputeRequestBodyEvidence'Other'OneOf1ProductType'
-- | Represents the JSON value ""
PostIssuingDisputesDisputeRequestBodyEvidence'Other'OneOf1ProductType'EnumEmptyString :: PostIssuingDisputesDisputeRequestBodyEvidence'Other'OneOf1ProductType'
-- | Represents the JSON value "merchandise"
PostIssuingDisputesDisputeRequestBodyEvidence'Other'OneOf1ProductType'EnumMerchandise :: PostIssuingDisputesDisputeRequestBodyEvidence'Other'OneOf1ProductType'
-- | Represents the JSON value "service"
PostIssuingDisputesDisputeRequestBodyEvidence'Other'OneOf1ProductType'EnumService :: PostIssuingDisputesDisputeRequestBodyEvidence'Other'OneOf1ProductType'
-- | Defines the oneOf schema located at
-- paths./v1/issuing/disputes/{dispute}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.evidence.properties.other.anyOf
-- in the specification.
data PostIssuingDisputesDisputeRequestBodyEvidence'Other'Variants
-- | Represents the JSON value ""
PostIssuingDisputesDisputeRequestBodyEvidence'Other'EmptyString :: PostIssuingDisputesDisputeRequestBodyEvidence'Other'Variants
PostIssuingDisputesDisputeRequestBodyEvidence'Other'PostIssuingDisputesDisputeRequestBodyEvidence'Other'OneOf1 :: PostIssuingDisputesDisputeRequestBodyEvidence'Other'OneOf1 -> PostIssuingDisputesDisputeRequestBodyEvidence'Other'Variants
-- | Defines the enum schema located at
-- paths./v1/issuing/disputes/{dispute}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.evidence.properties.reason
-- in the specification.
data PostIssuingDisputesDisputeRequestBodyEvidence'Reason'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostIssuingDisputesDisputeRequestBodyEvidence'Reason'Other :: Value -> PostIssuingDisputesDisputeRequestBodyEvidence'Reason'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostIssuingDisputesDisputeRequestBodyEvidence'Reason'Typed :: Text -> PostIssuingDisputesDisputeRequestBodyEvidence'Reason'
-- | Represents the JSON value "canceled"
PostIssuingDisputesDisputeRequestBodyEvidence'Reason'EnumCanceled :: PostIssuingDisputesDisputeRequestBodyEvidence'Reason'
-- | Represents the JSON value "duplicate"
PostIssuingDisputesDisputeRequestBodyEvidence'Reason'EnumDuplicate :: PostIssuingDisputesDisputeRequestBodyEvidence'Reason'
-- | Represents the JSON value "fraudulent"
PostIssuingDisputesDisputeRequestBodyEvidence'Reason'EnumFraudulent :: PostIssuingDisputesDisputeRequestBodyEvidence'Reason'
-- | Represents the JSON value "merchandise_not_as_described"
PostIssuingDisputesDisputeRequestBodyEvidence'Reason'EnumMerchandiseNotAsDescribed :: PostIssuingDisputesDisputeRequestBodyEvidence'Reason'
-- | Represents the JSON value "not_received"
PostIssuingDisputesDisputeRequestBodyEvidence'Reason'EnumNotReceived :: PostIssuingDisputesDisputeRequestBodyEvidence'Reason'
-- | Represents the JSON value "other"
PostIssuingDisputesDisputeRequestBodyEvidence'Reason'EnumOther :: PostIssuingDisputesDisputeRequestBodyEvidence'Reason'
-- | Represents the JSON value "service_not_as_described"
PostIssuingDisputesDisputeRequestBodyEvidence'Reason'EnumServiceNotAsDescribed :: PostIssuingDisputesDisputeRequestBodyEvidence'Reason'
-- | Defines the object schema located at
-- paths./v1/issuing/disputes/{dispute}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.evidence.properties.service_not_as_described.anyOf
-- in the specification.
data PostIssuingDisputesDisputeRequestBodyEvidence'ServiceNotAsDescribed'OneOf1
PostIssuingDisputesDisputeRequestBodyEvidence'ServiceNotAsDescribed'OneOf1 :: Maybe PostIssuingDisputesDisputeRequestBodyEvidence'ServiceNotAsDescribed'OneOf1AdditionalDocumentation'Variants -> Maybe PostIssuingDisputesDisputeRequestBodyEvidence'ServiceNotAsDescribed'OneOf1CanceledAt'Variants -> Maybe Text -> Maybe Text -> Maybe PostIssuingDisputesDisputeRequestBodyEvidence'ServiceNotAsDescribed'OneOf1ReceivedAt'Variants -> PostIssuingDisputesDisputeRequestBodyEvidence'ServiceNotAsDescribed'OneOf1
-- | additional_documentation
[postIssuingDisputesDisputeRequestBodyEvidence'ServiceNotAsDescribed'OneOf1AdditionalDocumentation] :: PostIssuingDisputesDisputeRequestBodyEvidence'ServiceNotAsDescribed'OneOf1 -> Maybe PostIssuingDisputesDisputeRequestBodyEvidence'ServiceNotAsDescribed'OneOf1AdditionalDocumentation'Variants
-- | canceled_at
[postIssuingDisputesDisputeRequestBodyEvidence'ServiceNotAsDescribed'OneOf1CanceledAt] :: PostIssuingDisputesDisputeRequestBodyEvidence'ServiceNotAsDescribed'OneOf1 -> Maybe PostIssuingDisputesDisputeRequestBodyEvidence'ServiceNotAsDescribed'OneOf1CanceledAt'Variants
-- | cancellation_reason
--
-- Constraints:
--
--
-- - Maximum length of 1500
--
[postIssuingDisputesDisputeRequestBodyEvidence'ServiceNotAsDescribed'OneOf1CancellationReason] :: PostIssuingDisputesDisputeRequestBodyEvidence'ServiceNotAsDescribed'OneOf1 -> Maybe Text
-- | explanation
--
-- Constraints:
--
--
-- - Maximum length of 1500
--
[postIssuingDisputesDisputeRequestBodyEvidence'ServiceNotAsDescribed'OneOf1Explanation] :: PostIssuingDisputesDisputeRequestBodyEvidence'ServiceNotAsDescribed'OneOf1 -> Maybe Text
-- | received_at
[postIssuingDisputesDisputeRequestBodyEvidence'ServiceNotAsDescribed'OneOf1ReceivedAt] :: PostIssuingDisputesDisputeRequestBodyEvidence'ServiceNotAsDescribed'OneOf1 -> Maybe PostIssuingDisputesDisputeRequestBodyEvidence'ServiceNotAsDescribed'OneOf1ReceivedAt'Variants
-- | Create a new
-- PostIssuingDisputesDisputeRequestBodyEvidence'ServiceNotAsDescribed'OneOf1
-- with all required fields.
mkPostIssuingDisputesDisputeRequestBodyEvidence'ServiceNotAsDescribed'OneOf1 :: PostIssuingDisputesDisputeRequestBodyEvidence'ServiceNotAsDescribed'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/issuing/disputes/{dispute}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.evidence.properties.service_not_as_described.anyOf.properties.additional_documentation.anyOf
-- in the specification.
data PostIssuingDisputesDisputeRequestBodyEvidence'ServiceNotAsDescribed'OneOf1AdditionalDocumentation'Variants
-- | Represents the JSON value ""
PostIssuingDisputesDisputeRequestBodyEvidence'ServiceNotAsDescribed'OneOf1AdditionalDocumentation'EmptyString :: PostIssuingDisputesDisputeRequestBodyEvidence'ServiceNotAsDescribed'OneOf1AdditionalDocumentation'Variants
PostIssuingDisputesDisputeRequestBodyEvidence'ServiceNotAsDescribed'OneOf1AdditionalDocumentation'Text :: Text -> PostIssuingDisputesDisputeRequestBodyEvidence'ServiceNotAsDescribed'OneOf1AdditionalDocumentation'Variants
-- | Defines the oneOf schema located at
-- paths./v1/issuing/disputes/{dispute}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.evidence.properties.service_not_as_described.anyOf.properties.canceled_at.anyOf
-- in the specification.
data PostIssuingDisputesDisputeRequestBodyEvidence'ServiceNotAsDescribed'OneOf1CanceledAt'Variants
-- | Represents the JSON value ""
PostIssuingDisputesDisputeRequestBodyEvidence'ServiceNotAsDescribed'OneOf1CanceledAt'EmptyString :: PostIssuingDisputesDisputeRequestBodyEvidence'ServiceNotAsDescribed'OneOf1CanceledAt'Variants
PostIssuingDisputesDisputeRequestBodyEvidence'ServiceNotAsDescribed'OneOf1CanceledAt'Int :: Int -> PostIssuingDisputesDisputeRequestBodyEvidence'ServiceNotAsDescribed'OneOf1CanceledAt'Variants
-- | Defines the oneOf schema located at
-- paths./v1/issuing/disputes/{dispute}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.evidence.properties.service_not_as_described.anyOf.properties.received_at.anyOf
-- in the specification.
data PostIssuingDisputesDisputeRequestBodyEvidence'ServiceNotAsDescribed'OneOf1ReceivedAt'Variants
-- | Represents the JSON value ""
PostIssuingDisputesDisputeRequestBodyEvidence'ServiceNotAsDescribed'OneOf1ReceivedAt'EmptyString :: PostIssuingDisputesDisputeRequestBodyEvidence'ServiceNotAsDescribed'OneOf1ReceivedAt'Variants
PostIssuingDisputesDisputeRequestBodyEvidence'ServiceNotAsDescribed'OneOf1ReceivedAt'Int :: Int -> PostIssuingDisputesDisputeRequestBodyEvidence'ServiceNotAsDescribed'OneOf1ReceivedAt'Variants
-- | Defines the oneOf schema located at
-- paths./v1/issuing/disputes/{dispute}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.evidence.properties.service_not_as_described.anyOf
-- in the specification.
data PostIssuingDisputesDisputeRequestBodyEvidence'ServiceNotAsDescribed'Variants
-- | Represents the JSON value ""
PostIssuingDisputesDisputeRequestBodyEvidence'ServiceNotAsDescribed'EmptyString :: PostIssuingDisputesDisputeRequestBodyEvidence'ServiceNotAsDescribed'Variants
PostIssuingDisputesDisputeRequestBodyEvidence'ServiceNotAsDescribed'PostIssuingDisputesDisputeRequestBodyEvidence'ServiceNotAsDescribed'OneOf1 :: PostIssuingDisputesDisputeRequestBodyEvidence'ServiceNotAsDescribed'OneOf1 -> PostIssuingDisputesDisputeRequestBodyEvidence'ServiceNotAsDescribed'Variants
-- | Defines the oneOf schema located at
-- paths./v1/issuing/disputes/{dispute}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.metadata.anyOf
-- in the specification.
--
-- Set of key-value pairs that you can attach to an object. This
-- can be useful for storing additional information about the object in a
-- structured format. Individual keys can be unset by posting an empty
-- value to them. All keys can be unset by posting an empty value to
-- `metadata`.
data PostIssuingDisputesDisputeRequestBodyMetadata'Variants
-- | Represents the JSON value ""
PostIssuingDisputesDisputeRequestBodyMetadata'EmptyString :: PostIssuingDisputesDisputeRequestBodyMetadata'Variants
PostIssuingDisputesDisputeRequestBodyMetadata'Object :: Object -> PostIssuingDisputesDisputeRequestBodyMetadata'Variants
-- | Represents a response of the operation
-- postIssuingDisputesDispute.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostIssuingDisputesDisputeResponseError
-- is used.
data PostIssuingDisputesDisputeResponse
-- | Means either no matching case available or a parse error
PostIssuingDisputesDisputeResponseError :: String -> PostIssuingDisputesDisputeResponse
-- | Successful response.
PostIssuingDisputesDisputeResponse200 :: Issuing'dispute -> PostIssuingDisputesDisputeResponse
-- | Error response.
PostIssuingDisputesDisputeResponseDefault :: Error -> PostIssuingDisputesDisputeResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1AdditionalDocumentation'Variants
instance GHC.Show.Show StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1AdditionalDocumentation'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1CanceledAt'Variants
instance GHC.Show.Show StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1CanceledAt'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1CancellationPolicyProvided'Variants
instance GHC.Show.Show StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1CancellationPolicyProvided'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1ExpectedAt'Variants
instance GHC.Show.Show StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1ExpectedAt'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1ProductType'
instance GHC.Show.Show StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1ProductType'
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1ReturnStatus'
instance GHC.Show.Show StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1ReturnStatus'
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1ReturnedAt'Variants
instance GHC.Show.Show StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1ReturnedAt'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'Variants
instance GHC.Show.Show StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'Duplicate'OneOf1AdditionalDocumentation'Variants
instance GHC.Show.Show StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'Duplicate'OneOf1AdditionalDocumentation'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'Duplicate'OneOf1CardStatement'Variants
instance GHC.Show.Show StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'Duplicate'OneOf1CardStatement'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'Duplicate'OneOf1CashReceipt'Variants
instance GHC.Show.Show StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'Duplicate'OneOf1CashReceipt'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'Duplicate'OneOf1CheckImage'Variants
instance GHC.Show.Show StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'Duplicate'OneOf1CheckImage'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'Duplicate'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'Duplicate'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'Duplicate'Variants
instance GHC.Show.Show StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'Duplicate'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'Fraudulent'OneOf1AdditionalDocumentation'Variants
instance GHC.Show.Show StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'Fraudulent'OneOf1AdditionalDocumentation'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'Fraudulent'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'Fraudulent'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'Fraudulent'Variants
instance GHC.Show.Show StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'Fraudulent'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1AdditionalDocumentation'Variants
instance GHC.Show.Show StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1AdditionalDocumentation'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1ReceivedAt'Variants
instance GHC.Show.Show StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1ReceivedAt'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1ReturnStatus'
instance GHC.Show.Show StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1ReturnStatus'
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1ReturnedAt'Variants
instance GHC.Show.Show StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1ReturnedAt'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'MerchandiseNotAsDescribed'Variants
instance GHC.Show.Show StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'MerchandiseNotAsDescribed'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'NotReceived'OneOf1AdditionalDocumentation'Variants
instance GHC.Show.Show StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'NotReceived'OneOf1AdditionalDocumentation'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'NotReceived'OneOf1ExpectedAt'Variants
instance GHC.Show.Show StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'NotReceived'OneOf1ExpectedAt'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'NotReceived'OneOf1ProductType'
instance GHC.Show.Show StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'NotReceived'OneOf1ProductType'
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'NotReceived'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'NotReceived'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'NotReceived'Variants
instance GHC.Show.Show StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'NotReceived'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'Other'OneOf1AdditionalDocumentation'Variants
instance GHC.Show.Show StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'Other'OneOf1AdditionalDocumentation'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'Other'OneOf1ProductType'
instance GHC.Show.Show StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'Other'OneOf1ProductType'
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'Other'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'Other'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'Other'Variants
instance GHC.Show.Show StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'Other'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'Reason'
instance GHC.Show.Show StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'Reason'
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'ServiceNotAsDescribed'OneOf1AdditionalDocumentation'Variants
instance GHC.Show.Show StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'ServiceNotAsDescribed'OneOf1AdditionalDocumentation'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'ServiceNotAsDescribed'OneOf1CanceledAt'Variants
instance GHC.Show.Show StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'ServiceNotAsDescribed'OneOf1CanceledAt'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'ServiceNotAsDescribed'OneOf1ReceivedAt'Variants
instance GHC.Show.Show StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'ServiceNotAsDescribed'OneOf1ReceivedAt'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'ServiceNotAsDescribed'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'ServiceNotAsDescribed'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'ServiceNotAsDescribed'Variants
instance GHC.Show.Show StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'ServiceNotAsDescribed'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'
instance GHC.Show.Show StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyMetadata'Variants
instance GHC.Show.Show StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyMetadata'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeResponse
instance GHC.Show.Show StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyMetadata'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyMetadata'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'ServiceNotAsDescribed'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'ServiceNotAsDescribed'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'ServiceNotAsDescribed'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'ServiceNotAsDescribed'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'ServiceNotAsDescribed'OneOf1ReceivedAt'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'ServiceNotAsDescribed'OneOf1ReceivedAt'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'ServiceNotAsDescribed'OneOf1CanceledAt'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'ServiceNotAsDescribed'OneOf1CanceledAt'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'ServiceNotAsDescribed'OneOf1AdditionalDocumentation'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'ServiceNotAsDescribed'OneOf1AdditionalDocumentation'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'Reason'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'Reason'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'Other'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'Other'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'Other'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'Other'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'Other'OneOf1ProductType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'Other'OneOf1ProductType'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'Other'OneOf1AdditionalDocumentation'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'Other'OneOf1AdditionalDocumentation'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'NotReceived'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'NotReceived'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'NotReceived'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'NotReceived'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'NotReceived'OneOf1ProductType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'NotReceived'OneOf1ProductType'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'NotReceived'OneOf1ExpectedAt'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'NotReceived'OneOf1ExpectedAt'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'NotReceived'OneOf1AdditionalDocumentation'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'NotReceived'OneOf1AdditionalDocumentation'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'MerchandiseNotAsDescribed'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'MerchandiseNotAsDescribed'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1ReturnedAt'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1ReturnedAt'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1ReturnStatus'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1ReturnStatus'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1ReceivedAt'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1ReceivedAt'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1AdditionalDocumentation'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1AdditionalDocumentation'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'Fraudulent'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'Fraudulent'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'Fraudulent'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'Fraudulent'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'Fraudulent'OneOf1AdditionalDocumentation'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'Fraudulent'OneOf1AdditionalDocumentation'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'Duplicate'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'Duplicate'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'Duplicate'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'Duplicate'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'Duplicate'OneOf1CheckImage'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'Duplicate'OneOf1CheckImage'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'Duplicate'OneOf1CashReceipt'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'Duplicate'OneOf1CashReceipt'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'Duplicate'OneOf1CardStatement'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'Duplicate'OneOf1CardStatement'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'Duplicate'OneOf1AdditionalDocumentation'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'Duplicate'OneOf1AdditionalDocumentation'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1ReturnedAt'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1ReturnedAt'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1ReturnStatus'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1ReturnStatus'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1ProductType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1ProductType'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1ExpectedAt'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1ExpectedAt'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1CancellationPolicyProvided'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1CancellationPolicyProvided'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1CanceledAt'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1CanceledAt'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1AdditionalDocumentation'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingDisputesDispute.PostIssuingDisputesDisputeRequestBodyEvidence'Canceled'OneOf1AdditionalDocumentation'Variants
-- | Contains the different functions to run the operation
-- postIssuingDisputes
module StripeAPI.Operations.PostIssuingDisputes
-- |
-- POST /v1/issuing/disputes
--
--
-- <p>Creates an Issuing <code>Dispute</code> object.
-- Individual pieces of evidence within the
-- <code>evidence</code> object are optional at this point.
-- Stripe only validates that required evidence is present during
-- submission. Refer to <a
-- href="/docs/issuing/purchases/disputes#dispute-reasons-and-evidence">Dispute
-- reasons and evidence</a> for more details about evidence
-- requirements.</p>
postIssuingDisputes :: forall m. MonadHTTP m => PostIssuingDisputesRequestBody -> ClientT m (Response PostIssuingDisputesResponse)
-- | Defines the object schema located at
-- paths./v1/issuing/disputes.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostIssuingDisputesRequestBody
PostIssuingDisputesRequestBody :: Maybe PostIssuingDisputesRequestBodyEvidence' -> Maybe [Text] -> Maybe Object -> Text -> PostIssuingDisputesRequestBody
-- | evidence: Evidence provided for the dispute.
[postIssuingDisputesRequestBodyEvidence] :: PostIssuingDisputesRequestBody -> Maybe PostIssuingDisputesRequestBodyEvidence'
-- | expand: Specifies which fields in the response should be expanded.
[postIssuingDisputesRequestBodyExpand] :: PostIssuingDisputesRequestBody -> Maybe [Text]
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postIssuingDisputesRequestBodyMetadata] :: PostIssuingDisputesRequestBody -> Maybe Object
-- | transaction: The ID of the issuing transaction to create a dispute
-- for.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postIssuingDisputesRequestBodyTransaction] :: PostIssuingDisputesRequestBody -> Text
-- | Create a new PostIssuingDisputesRequestBody with all required
-- fields.
mkPostIssuingDisputesRequestBody :: Text -> PostIssuingDisputesRequestBody
-- | Defines the object schema located at
-- paths./v1/issuing/disputes.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.evidence
-- in the specification.
--
-- Evidence provided for the dispute.
data PostIssuingDisputesRequestBodyEvidence'
PostIssuingDisputesRequestBodyEvidence' :: Maybe PostIssuingDisputesRequestBodyEvidence'Canceled'Variants -> Maybe PostIssuingDisputesRequestBodyEvidence'Duplicate'Variants -> Maybe PostIssuingDisputesRequestBodyEvidence'Fraudulent'Variants -> Maybe PostIssuingDisputesRequestBodyEvidence'MerchandiseNotAsDescribed'Variants -> Maybe PostIssuingDisputesRequestBodyEvidence'NotReceived'Variants -> Maybe PostIssuingDisputesRequestBodyEvidence'Other'Variants -> Maybe PostIssuingDisputesRequestBodyEvidence'Reason' -> Maybe PostIssuingDisputesRequestBodyEvidence'ServiceNotAsDescribed'Variants -> PostIssuingDisputesRequestBodyEvidence'
-- | canceled
[postIssuingDisputesRequestBodyEvidence'Canceled] :: PostIssuingDisputesRequestBodyEvidence' -> Maybe PostIssuingDisputesRequestBodyEvidence'Canceled'Variants
-- | duplicate
[postIssuingDisputesRequestBodyEvidence'Duplicate] :: PostIssuingDisputesRequestBodyEvidence' -> Maybe PostIssuingDisputesRequestBodyEvidence'Duplicate'Variants
-- | fraudulent
[postIssuingDisputesRequestBodyEvidence'Fraudulent] :: PostIssuingDisputesRequestBodyEvidence' -> Maybe PostIssuingDisputesRequestBodyEvidence'Fraudulent'Variants
-- | merchandise_not_as_described
[postIssuingDisputesRequestBodyEvidence'MerchandiseNotAsDescribed] :: PostIssuingDisputesRequestBodyEvidence' -> Maybe PostIssuingDisputesRequestBodyEvidence'MerchandiseNotAsDescribed'Variants
-- | not_received
[postIssuingDisputesRequestBodyEvidence'NotReceived] :: PostIssuingDisputesRequestBodyEvidence' -> Maybe PostIssuingDisputesRequestBodyEvidence'NotReceived'Variants
-- | other
[postIssuingDisputesRequestBodyEvidence'Other] :: PostIssuingDisputesRequestBodyEvidence' -> Maybe PostIssuingDisputesRequestBodyEvidence'Other'Variants
-- | reason
[postIssuingDisputesRequestBodyEvidence'Reason] :: PostIssuingDisputesRequestBodyEvidence' -> Maybe PostIssuingDisputesRequestBodyEvidence'Reason'
-- | service_not_as_described
[postIssuingDisputesRequestBodyEvidence'ServiceNotAsDescribed] :: PostIssuingDisputesRequestBodyEvidence' -> Maybe PostIssuingDisputesRequestBodyEvidence'ServiceNotAsDescribed'Variants
-- | Create a new PostIssuingDisputesRequestBodyEvidence' with all
-- required fields.
mkPostIssuingDisputesRequestBodyEvidence' :: PostIssuingDisputesRequestBodyEvidence'
-- | Defines the object schema located at
-- paths./v1/issuing/disputes.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.evidence.properties.canceled.anyOf
-- in the specification.
data PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1
PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1 :: Maybe PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1AdditionalDocumentation'Variants -> Maybe PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1CanceledAt'Variants -> Maybe PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1CancellationPolicyProvided'Variants -> Maybe Text -> Maybe PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1ExpectedAt'Variants -> Maybe Text -> Maybe Text -> Maybe PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1ProductType' -> Maybe PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1ReturnStatus' -> Maybe PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1ReturnedAt'Variants -> PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1
-- | additional_documentation
[postIssuingDisputesRequestBodyEvidence'Canceled'OneOf1AdditionalDocumentation] :: PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1 -> Maybe PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1AdditionalDocumentation'Variants
-- | canceled_at
[postIssuingDisputesRequestBodyEvidence'Canceled'OneOf1CanceledAt] :: PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1 -> Maybe PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1CanceledAt'Variants
-- | cancellation_policy_provided
[postIssuingDisputesRequestBodyEvidence'Canceled'OneOf1CancellationPolicyProvided] :: PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1 -> Maybe PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1CancellationPolicyProvided'Variants
-- | cancellation_reason
--
-- Constraints:
--
--
-- - Maximum length of 1500
--
[postIssuingDisputesRequestBodyEvidence'Canceled'OneOf1CancellationReason] :: PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1 -> Maybe Text
-- | expected_at
[postIssuingDisputesRequestBodyEvidence'Canceled'OneOf1ExpectedAt] :: PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1 -> Maybe PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1ExpectedAt'Variants
-- | explanation
--
-- Constraints:
--
--
-- - Maximum length of 1500
--
[postIssuingDisputesRequestBodyEvidence'Canceled'OneOf1Explanation] :: PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1 -> Maybe Text
-- | product_description
--
-- Constraints:
--
--
-- - Maximum length of 1500
--
[postIssuingDisputesRequestBodyEvidence'Canceled'OneOf1ProductDescription] :: PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1 -> Maybe Text
-- | product_type
[postIssuingDisputesRequestBodyEvidence'Canceled'OneOf1ProductType] :: PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1 -> Maybe PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1ProductType'
-- | return_status
[postIssuingDisputesRequestBodyEvidence'Canceled'OneOf1ReturnStatus] :: PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1 -> Maybe PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1ReturnStatus'
-- | returned_at
[postIssuingDisputesRequestBodyEvidence'Canceled'OneOf1ReturnedAt] :: PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1 -> Maybe PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1ReturnedAt'Variants
-- | Create a new
-- PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1 with all
-- required fields.
mkPostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1 :: PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/issuing/disputes.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.evidence.properties.canceled.anyOf.properties.additional_documentation.anyOf
-- in the specification.
data PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1AdditionalDocumentation'Variants
-- | Represents the JSON value ""
PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1AdditionalDocumentation'EmptyString :: PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1AdditionalDocumentation'Variants
PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1AdditionalDocumentation'Text :: Text -> PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1AdditionalDocumentation'Variants
-- | Defines the oneOf schema located at
-- paths./v1/issuing/disputes.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.evidence.properties.canceled.anyOf.properties.canceled_at.anyOf
-- in the specification.
data PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1CanceledAt'Variants
-- | Represents the JSON value ""
PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1CanceledAt'EmptyString :: PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1CanceledAt'Variants
PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1CanceledAt'Int :: Int -> PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1CanceledAt'Variants
-- | Defines the oneOf schema located at
-- paths./v1/issuing/disputes.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.evidence.properties.canceled.anyOf.properties.cancellation_policy_provided.anyOf
-- in the specification.
data PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1CancellationPolicyProvided'Variants
-- | Represents the JSON value ""
PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1CancellationPolicyProvided'EmptyString :: PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1CancellationPolicyProvided'Variants
PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1CancellationPolicyProvided'Bool :: Bool -> PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1CancellationPolicyProvided'Variants
-- | Defines the oneOf schema located at
-- paths./v1/issuing/disputes.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.evidence.properties.canceled.anyOf.properties.expected_at.anyOf
-- in the specification.
data PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1ExpectedAt'Variants
-- | Represents the JSON value ""
PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1ExpectedAt'EmptyString :: PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1ExpectedAt'Variants
PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1ExpectedAt'Int :: Int -> PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1ExpectedAt'Variants
-- | Defines the enum schema located at
-- paths./v1/issuing/disputes.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.evidence.properties.canceled.anyOf.properties.product_type
-- in the specification.
data PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1ProductType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1ProductType'Other :: Value -> PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1ProductType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1ProductType'Typed :: Text -> PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1ProductType'
-- | Represents the JSON value ""
PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1ProductType'EnumEmptyString :: PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1ProductType'
-- | Represents the JSON value "merchandise"
PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1ProductType'EnumMerchandise :: PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1ProductType'
-- | Represents the JSON value "service"
PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1ProductType'EnumService :: PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1ProductType'
-- | Defines the enum schema located at
-- paths./v1/issuing/disputes.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.evidence.properties.canceled.anyOf.properties.return_status
-- in the specification.
data PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1ReturnStatus'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1ReturnStatus'Other :: Value -> PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1ReturnStatus'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1ReturnStatus'Typed :: Text -> PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1ReturnStatus'
-- | Represents the JSON value ""
PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1ReturnStatus'EnumEmptyString :: PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1ReturnStatus'
-- | Represents the JSON value "merchant_rejected"
PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1ReturnStatus'EnumMerchantRejected :: PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1ReturnStatus'
-- | Represents the JSON value "successful"
PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1ReturnStatus'EnumSuccessful :: PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1ReturnStatus'
-- | Defines the oneOf schema located at
-- paths./v1/issuing/disputes.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.evidence.properties.canceled.anyOf.properties.returned_at.anyOf
-- in the specification.
data PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1ReturnedAt'Variants
-- | Represents the JSON value ""
PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1ReturnedAt'EmptyString :: PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1ReturnedAt'Variants
PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1ReturnedAt'Int :: Int -> PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1ReturnedAt'Variants
-- | Defines the oneOf schema located at
-- paths./v1/issuing/disputes.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.evidence.properties.canceled.anyOf
-- in the specification.
data PostIssuingDisputesRequestBodyEvidence'Canceled'Variants
-- | Represents the JSON value ""
PostIssuingDisputesRequestBodyEvidence'Canceled'EmptyString :: PostIssuingDisputesRequestBodyEvidence'Canceled'Variants
PostIssuingDisputesRequestBodyEvidence'Canceled'PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1 :: PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1 -> PostIssuingDisputesRequestBodyEvidence'Canceled'Variants
-- | Defines the object schema located at
-- paths./v1/issuing/disputes.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.evidence.properties.duplicate.anyOf
-- in the specification.
data PostIssuingDisputesRequestBodyEvidence'Duplicate'OneOf1
PostIssuingDisputesRequestBodyEvidence'Duplicate'OneOf1 :: Maybe PostIssuingDisputesRequestBodyEvidence'Duplicate'OneOf1AdditionalDocumentation'Variants -> Maybe PostIssuingDisputesRequestBodyEvidence'Duplicate'OneOf1CardStatement'Variants -> Maybe PostIssuingDisputesRequestBodyEvidence'Duplicate'OneOf1CashReceipt'Variants -> Maybe PostIssuingDisputesRequestBodyEvidence'Duplicate'OneOf1CheckImage'Variants -> Maybe Text -> Maybe Text -> PostIssuingDisputesRequestBodyEvidence'Duplicate'OneOf1
-- | additional_documentation
[postIssuingDisputesRequestBodyEvidence'Duplicate'OneOf1AdditionalDocumentation] :: PostIssuingDisputesRequestBodyEvidence'Duplicate'OneOf1 -> Maybe PostIssuingDisputesRequestBodyEvidence'Duplicate'OneOf1AdditionalDocumentation'Variants
-- | card_statement
[postIssuingDisputesRequestBodyEvidence'Duplicate'OneOf1CardStatement] :: PostIssuingDisputesRequestBodyEvidence'Duplicate'OneOf1 -> Maybe PostIssuingDisputesRequestBodyEvidence'Duplicate'OneOf1CardStatement'Variants
-- | cash_receipt
[postIssuingDisputesRequestBodyEvidence'Duplicate'OneOf1CashReceipt] :: PostIssuingDisputesRequestBodyEvidence'Duplicate'OneOf1 -> Maybe PostIssuingDisputesRequestBodyEvidence'Duplicate'OneOf1CashReceipt'Variants
-- | check_image
[postIssuingDisputesRequestBodyEvidence'Duplicate'OneOf1CheckImage] :: PostIssuingDisputesRequestBodyEvidence'Duplicate'OneOf1 -> Maybe PostIssuingDisputesRequestBodyEvidence'Duplicate'OneOf1CheckImage'Variants
-- | explanation
--
-- Constraints:
--
--
-- - Maximum length of 1500
--
[postIssuingDisputesRequestBodyEvidence'Duplicate'OneOf1Explanation] :: PostIssuingDisputesRequestBodyEvidence'Duplicate'OneOf1 -> Maybe Text
-- | original_transaction
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postIssuingDisputesRequestBodyEvidence'Duplicate'OneOf1OriginalTransaction] :: PostIssuingDisputesRequestBodyEvidence'Duplicate'OneOf1 -> Maybe Text
-- | Create a new
-- PostIssuingDisputesRequestBodyEvidence'Duplicate'OneOf1 with
-- all required fields.
mkPostIssuingDisputesRequestBodyEvidence'Duplicate'OneOf1 :: PostIssuingDisputesRequestBodyEvidence'Duplicate'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/issuing/disputes.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.evidence.properties.duplicate.anyOf.properties.additional_documentation.anyOf
-- in the specification.
data PostIssuingDisputesRequestBodyEvidence'Duplicate'OneOf1AdditionalDocumentation'Variants
-- | Represents the JSON value ""
PostIssuingDisputesRequestBodyEvidence'Duplicate'OneOf1AdditionalDocumentation'EmptyString :: PostIssuingDisputesRequestBodyEvidence'Duplicate'OneOf1AdditionalDocumentation'Variants
PostIssuingDisputesRequestBodyEvidence'Duplicate'OneOf1AdditionalDocumentation'Text :: Text -> PostIssuingDisputesRequestBodyEvidence'Duplicate'OneOf1AdditionalDocumentation'Variants
-- | Defines the oneOf schema located at
-- paths./v1/issuing/disputes.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.evidence.properties.duplicate.anyOf.properties.card_statement.anyOf
-- in the specification.
data PostIssuingDisputesRequestBodyEvidence'Duplicate'OneOf1CardStatement'Variants
-- | Represents the JSON value ""
PostIssuingDisputesRequestBodyEvidence'Duplicate'OneOf1CardStatement'EmptyString :: PostIssuingDisputesRequestBodyEvidence'Duplicate'OneOf1CardStatement'Variants
PostIssuingDisputesRequestBodyEvidence'Duplicate'OneOf1CardStatement'Text :: Text -> PostIssuingDisputesRequestBodyEvidence'Duplicate'OneOf1CardStatement'Variants
-- | Defines the oneOf schema located at
-- paths./v1/issuing/disputes.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.evidence.properties.duplicate.anyOf.properties.cash_receipt.anyOf
-- in the specification.
data PostIssuingDisputesRequestBodyEvidence'Duplicate'OneOf1CashReceipt'Variants
-- | Represents the JSON value ""
PostIssuingDisputesRequestBodyEvidence'Duplicate'OneOf1CashReceipt'EmptyString :: PostIssuingDisputesRequestBodyEvidence'Duplicate'OneOf1CashReceipt'Variants
PostIssuingDisputesRequestBodyEvidence'Duplicate'OneOf1CashReceipt'Text :: Text -> PostIssuingDisputesRequestBodyEvidence'Duplicate'OneOf1CashReceipt'Variants
-- | Defines the oneOf schema located at
-- paths./v1/issuing/disputes.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.evidence.properties.duplicate.anyOf.properties.check_image.anyOf
-- in the specification.
data PostIssuingDisputesRequestBodyEvidence'Duplicate'OneOf1CheckImage'Variants
-- | Represents the JSON value ""
PostIssuingDisputesRequestBodyEvidence'Duplicate'OneOf1CheckImage'EmptyString :: PostIssuingDisputesRequestBodyEvidence'Duplicate'OneOf1CheckImage'Variants
PostIssuingDisputesRequestBodyEvidence'Duplicate'OneOf1CheckImage'Text :: Text -> PostIssuingDisputesRequestBodyEvidence'Duplicate'OneOf1CheckImage'Variants
-- | Defines the oneOf schema located at
-- paths./v1/issuing/disputes.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.evidence.properties.duplicate.anyOf
-- in the specification.
data PostIssuingDisputesRequestBodyEvidence'Duplicate'Variants
-- | Represents the JSON value ""
PostIssuingDisputesRequestBodyEvidence'Duplicate'EmptyString :: PostIssuingDisputesRequestBodyEvidence'Duplicate'Variants
PostIssuingDisputesRequestBodyEvidence'Duplicate'PostIssuingDisputesRequestBodyEvidence'Duplicate'OneOf1 :: PostIssuingDisputesRequestBodyEvidence'Duplicate'OneOf1 -> PostIssuingDisputesRequestBodyEvidence'Duplicate'Variants
-- | Defines the object schema located at
-- paths./v1/issuing/disputes.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.evidence.properties.fraudulent.anyOf
-- in the specification.
data PostIssuingDisputesRequestBodyEvidence'Fraudulent'OneOf1
PostIssuingDisputesRequestBodyEvidence'Fraudulent'OneOf1 :: Maybe PostIssuingDisputesRequestBodyEvidence'Fraudulent'OneOf1AdditionalDocumentation'Variants -> Maybe Text -> PostIssuingDisputesRequestBodyEvidence'Fraudulent'OneOf1
-- | additional_documentation
[postIssuingDisputesRequestBodyEvidence'Fraudulent'OneOf1AdditionalDocumentation] :: PostIssuingDisputesRequestBodyEvidence'Fraudulent'OneOf1 -> Maybe PostIssuingDisputesRequestBodyEvidence'Fraudulent'OneOf1AdditionalDocumentation'Variants
-- | explanation
--
-- Constraints:
--
--
-- - Maximum length of 1500
--
[postIssuingDisputesRequestBodyEvidence'Fraudulent'OneOf1Explanation] :: PostIssuingDisputesRequestBodyEvidence'Fraudulent'OneOf1 -> Maybe Text
-- | Create a new
-- PostIssuingDisputesRequestBodyEvidence'Fraudulent'OneOf1 with
-- all required fields.
mkPostIssuingDisputesRequestBodyEvidence'Fraudulent'OneOf1 :: PostIssuingDisputesRequestBodyEvidence'Fraudulent'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/issuing/disputes.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.evidence.properties.fraudulent.anyOf.properties.additional_documentation.anyOf
-- in the specification.
data PostIssuingDisputesRequestBodyEvidence'Fraudulent'OneOf1AdditionalDocumentation'Variants
-- | Represents the JSON value ""
PostIssuingDisputesRequestBodyEvidence'Fraudulent'OneOf1AdditionalDocumentation'EmptyString :: PostIssuingDisputesRequestBodyEvidence'Fraudulent'OneOf1AdditionalDocumentation'Variants
PostIssuingDisputesRequestBodyEvidence'Fraudulent'OneOf1AdditionalDocumentation'Text :: Text -> PostIssuingDisputesRequestBodyEvidence'Fraudulent'OneOf1AdditionalDocumentation'Variants
-- | Defines the oneOf schema located at
-- paths./v1/issuing/disputes.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.evidence.properties.fraudulent.anyOf
-- in the specification.
data PostIssuingDisputesRequestBodyEvidence'Fraudulent'Variants
-- | Represents the JSON value ""
PostIssuingDisputesRequestBodyEvidence'Fraudulent'EmptyString :: PostIssuingDisputesRequestBodyEvidence'Fraudulent'Variants
PostIssuingDisputesRequestBodyEvidence'Fraudulent'PostIssuingDisputesRequestBodyEvidence'Fraudulent'OneOf1 :: PostIssuingDisputesRequestBodyEvidence'Fraudulent'OneOf1 -> PostIssuingDisputesRequestBodyEvidence'Fraudulent'Variants
-- | Defines the object schema located at
-- paths./v1/issuing/disputes.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.evidence.properties.merchandise_not_as_described.anyOf
-- in the specification.
data PostIssuingDisputesRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1
PostIssuingDisputesRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1 :: Maybe PostIssuingDisputesRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1AdditionalDocumentation'Variants -> Maybe Text -> Maybe PostIssuingDisputesRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1ReceivedAt'Variants -> Maybe Text -> Maybe PostIssuingDisputesRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1ReturnStatus' -> Maybe PostIssuingDisputesRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1ReturnedAt'Variants -> PostIssuingDisputesRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1
-- | additional_documentation
[postIssuingDisputesRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1AdditionalDocumentation] :: PostIssuingDisputesRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1 -> Maybe PostIssuingDisputesRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1AdditionalDocumentation'Variants
-- | explanation
--
-- Constraints:
--
--
-- - Maximum length of 1500
--
[postIssuingDisputesRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1Explanation] :: PostIssuingDisputesRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1 -> Maybe Text
-- | received_at
[postIssuingDisputesRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1ReceivedAt] :: PostIssuingDisputesRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1 -> Maybe PostIssuingDisputesRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1ReceivedAt'Variants
-- | return_description
--
-- Constraints:
--
--
-- - Maximum length of 1500
--
[postIssuingDisputesRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1ReturnDescription] :: PostIssuingDisputesRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1 -> Maybe Text
-- | return_status
[postIssuingDisputesRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1ReturnStatus] :: PostIssuingDisputesRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1 -> Maybe PostIssuingDisputesRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1ReturnStatus'
-- | returned_at
[postIssuingDisputesRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1ReturnedAt] :: PostIssuingDisputesRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1 -> Maybe PostIssuingDisputesRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1ReturnedAt'Variants
-- | Create a new
-- PostIssuingDisputesRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1
-- with all required fields.
mkPostIssuingDisputesRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1 :: PostIssuingDisputesRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/issuing/disputes.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.evidence.properties.merchandise_not_as_described.anyOf.properties.additional_documentation.anyOf
-- in the specification.
data PostIssuingDisputesRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1AdditionalDocumentation'Variants
-- | Represents the JSON value ""
PostIssuingDisputesRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1AdditionalDocumentation'EmptyString :: PostIssuingDisputesRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1AdditionalDocumentation'Variants
PostIssuingDisputesRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1AdditionalDocumentation'Text :: Text -> PostIssuingDisputesRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1AdditionalDocumentation'Variants
-- | Defines the oneOf schema located at
-- paths./v1/issuing/disputes.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.evidence.properties.merchandise_not_as_described.anyOf.properties.received_at.anyOf
-- in the specification.
data PostIssuingDisputesRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1ReceivedAt'Variants
-- | Represents the JSON value ""
PostIssuingDisputesRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1ReceivedAt'EmptyString :: PostIssuingDisputesRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1ReceivedAt'Variants
PostIssuingDisputesRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1ReceivedAt'Int :: Int -> PostIssuingDisputesRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1ReceivedAt'Variants
-- | Defines the enum schema located at
-- paths./v1/issuing/disputes.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.evidence.properties.merchandise_not_as_described.anyOf.properties.return_status
-- in the specification.
data PostIssuingDisputesRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1ReturnStatus'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostIssuingDisputesRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1ReturnStatus'Other :: Value -> PostIssuingDisputesRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1ReturnStatus'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostIssuingDisputesRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1ReturnStatus'Typed :: Text -> PostIssuingDisputesRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1ReturnStatus'
-- | Represents the JSON value ""
PostIssuingDisputesRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1ReturnStatus'EnumEmptyString :: PostIssuingDisputesRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1ReturnStatus'
-- | Represents the JSON value "merchant_rejected"
PostIssuingDisputesRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1ReturnStatus'EnumMerchantRejected :: PostIssuingDisputesRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1ReturnStatus'
-- | Represents the JSON value "successful"
PostIssuingDisputesRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1ReturnStatus'EnumSuccessful :: PostIssuingDisputesRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1ReturnStatus'
-- | Defines the oneOf schema located at
-- paths./v1/issuing/disputes.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.evidence.properties.merchandise_not_as_described.anyOf.properties.returned_at.anyOf
-- in the specification.
data PostIssuingDisputesRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1ReturnedAt'Variants
-- | Represents the JSON value ""
PostIssuingDisputesRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1ReturnedAt'EmptyString :: PostIssuingDisputesRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1ReturnedAt'Variants
PostIssuingDisputesRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1ReturnedAt'Int :: Int -> PostIssuingDisputesRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1ReturnedAt'Variants
-- | Defines the oneOf schema located at
-- paths./v1/issuing/disputes.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.evidence.properties.merchandise_not_as_described.anyOf
-- in the specification.
data PostIssuingDisputesRequestBodyEvidence'MerchandiseNotAsDescribed'Variants
-- | Represents the JSON value ""
PostIssuingDisputesRequestBodyEvidence'MerchandiseNotAsDescribed'EmptyString :: PostIssuingDisputesRequestBodyEvidence'MerchandiseNotAsDescribed'Variants
PostIssuingDisputesRequestBodyEvidence'MerchandiseNotAsDescribed'PostIssuingDisputesRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1 :: PostIssuingDisputesRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1 -> PostIssuingDisputesRequestBodyEvidence'MerchandiseNotAsDescribed'Variants
-- | Defines the object schema located at
-- paths./v1/issuing/disputes.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.evidence.properties.not_received.anyOf
-- in the specification.
data PostIssuingDisputesRequestBodyEvidence'NotReceived'OneOf1
PostIssuingDisputesRequestBodyEvidence'NotReceived'OneOf1 :: Maybe PostIssuingDisputesRequestBodyEvidence'NotReceived'OneOf1AdditionalDocumentation'Variants -> Maybe PostIssuingDisputesRequestBodyEvidence'NotReceived'OneOf1ExpectedAt'Variants -> Maybe Text -> Maybe Text -> Maybe PostIssuingDisputesRequestBodyEvidence'NotReceived'OneOf1ProductType' -> PostIssuingDisputesRequestBodyEvidence'NotReceived'OneOf1
-- | additional_documentation
[postIssuingDisputesRequestBodyEvidence'NotReceived'OneOf1AdditionalDocumentation] :: PostIssuingDisputesRequestBodyEvidence'NotReceived'OneOf1 -> Maybe PostIssuingDisputesRequestBodyEvidence'NotReceived'OneOf1AdditionalDocumentation'Variants
-- | expected_at
[postIssuingDisputesRequestBodyEvidence'NotReceived'OneOf1ExpectedAt] :: PostIssuingDisputesRequestBodyEvidence'NotReceived'OneOf1 -> Maybe PostIssuingDisputesRequestBodyEvidence'NotReceived'OneOf1ExpectedAt'Variants
-- | explanation
--
-- Constraints:
--
--
-- - Maximum length of 1500
--
[postIssuingDisputesRequestBodyEvidence'NotReceived'OneOf1Explanation] :: PostIssuingDisputesRequestBodyEvidence'NotReceived'OneOf1 -> Maybe Text
-- | product_description
--
-- Constraints:
--
--
-- - Maximum length of 1500
--
[postIssuingDisputesRequestBodyEvidence'NotReceived'OneOf1ProductDescription] :: PostIssuingDisputesRequestBodyEvidence'NotReceived'OneOf1 -> Maybe Text
-- | product_type
[postIssuingDisputesRequestBodyEvidence'NotReceived'OneOf1ProductType] :: PostIssuingDisputesRequestBodyEvidence'NotReceived'OneOf1 -> Maybe PostIssuingDisputesRequestBodyEvidence'NotReceived'OneOf1ProductType'
-- | Create a new
-- PostIssuingDisputesRequestBodyEvidence'NotReceived'OneOf1 with
-- all required fields.
mkPostIssuingDisputesRequestBodyEvidence'NotReceived'OneOf1 :: PostIssuingDisputesRequestBodyEvidence'NotReceived'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/issuing/disputes.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.evidence.properties.not_received.anyOf.properties.additional_documentation.anyOf
-- in the specification.
data PostIssuingDisputesRequestBodyEvidence'NotReceived'OneOf1AdditionalDocumentation'Variants
-- | Represents the JSON value ""
PostIssuingDisputesRequestBodyEvidence'NotReceived'OneOf1AdditionalDocumentation'EmptyString :: PostIssuingDisputesRequestBodyEvidence'NotReceived'OneOf1AdditionalDocumentation'Variants
PostIssuingDisputesRequestBodyEvidence'NotReceived'OneOf1AdditionalDocumentation'Text :: Text -> PostIssuingDisputesRequestBodyEvidence'NotReceived'OneOf1AdditionalDocumentation'Variants
-- | Defines the oneOf schema located at
-- paths./v1/issuing/disputes.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.evidence.properties.not_received.anyOf.properties.expected_at.anyOf
-- in the specification.
data PostIssuingDisputesRequestBodyEvidence'NotReceived'OneOf1ExpectedAt'Variants
-- | Represents the JSON value ""
PostIssuingDisputesRequestBodyEvidence'NotReceived'OneOf1ExpectedAt'EmptyString :: PostIssuingDisputesRequestBodyEvidence'NotReceived'OneOf1ExpectedAt'Variants
PostIssuingDisputesRequestBodyEvidence'NotReceived'OneOf1ExpectedAt'Int :: Int -> PostIssuingDisputesRequestBodyEvidence'NotReceived'OneOf1ExpectedAt'Variants
-- | Defines the enum schema located at
-- paths./v1/issuing/disputes.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.evidence.properties.not_received.anyOf.properties.product_type
-- in the specification.
data PostIssuingDisputesRequestBodyEvidence'NotReceived'OneOf1ProductType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostIssuingDisputesRequestBodyEvidence'NotReceived'OneOf1ProductType'Other :: Value -> PostIssuingDisputesRequestBodyEvidence'NotReceived'OneOf1ProductType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostIssuingDisputesRequestBodyEvidence'NotReceived'OneOf1ProductType'Typed :: Text -> PostIssuingDisputesRequestBodyEvidence'NotReceived'OneOf1ProductType'
-- | Represents the JSON value ""
PostIssuingDisputesRequestBodyEvidence'NotReceived'OneOf1ProductType'EnumEmptyString :: PostIssuingDisputesRequestBodyEvidence'NotReceived'OneOf1ProductType'
-- | Represents the JSON value "merchandise"
PostIssuingDisputesRequestBodyEvidence'NotReceived'OneOf1ProductType'EnumMerchandise :: PostIssuingDisputesRequestBodyEvidence'NotReceived'OneOf1ProductType'
-- | Represents the JSON value "service"
PostIssuingDisputesRequestBodyEvidence'NotReceived'OneOf1ProductType'EnumService :: PostIssuingDisputesRequestBodyEvidence'NotReceived'OneOf1ProductType'
-- | Defines the oneOf schema located at
-- paths./v1/issuing/disputes.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.evidence.properties.not_received.anyOf
-- in the specification.
data PostIssuingDisputesRequestBodyEvidence'NotReceived'Variants
-- | Represents the JSON value ""
PostIssuingDisputesRequestBodyEvidence'NotReceived'EmptyString :: PostIssuingDisputesRequestBodyEvidence'NotReceived'Variants
PostIssuingDisputesRequestBodyEvidence'NotReceived'PostIssuingDisputesRequestBodyEvidence'NotReceived'OneOf1 :: PostIssuingDisputesRequestBodyEvidence'NotReceived'OneOf1 -> PostIssuingDisputesRequestBodyEvidence'NotReceived'Variants
-- | Defines the object schema located at
-- paths./v1/issuing/disputes.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.evidence.properties.other.anyOf
-- in the specification.
data PostIssuingDisputesRequestBodyEvidence'Other'OneOf1
PostIssuingDisputesRequestBodyEvidence'Other'OneOf1 :: Maybe PostIssuingDisputesRequestBodyEvidence'Other'OneOf1AdditionalDocumentation'Variants -> Maybe Text -> Maybe Text -> Maybe PostIssuingDisputesRequestBodyEvidence'Other'OneOf1ProductType' -> PostIssuingDisputesRequestBodyEvidence'Other'OneOf1
-- | additional_documentation
[postIssuingDisputesRequestBodyEvidence'Other'OneOf1AdditionalDocumentation] :: PostIssuingDisputesRequestBodyEvidence'Other'OneOf1 -> Maybe PostIssuingDisputesRequestBodyEvidence'Other'OneOf1AdditionalDocumentation'Variants
-- | explanation
--
-- Constraints:
--
--
-- - Maximum length of 1500
--
[postIssuingDisputesRequestBodyEvidence'Other'OneOf1Explanation] :: PostIssuingDisputesRequestBodyEvidence'Other'OneOf1 -> Maybe Text
-- | product_description
--
-- Constraints:
--
--
-- - Maximum length of 1500
--
[postIssuingDisputesRequestBodyEvidence'Other'OneOf1ProductDescription] :: PostIssuingDisputesRequestBodyEvidence'Other'OneOf1 -> Maybe Text
-- | product_type
[postIssuingDisputesRequestBodyEvidence'Other'OneOf1ProductType] :: PostIssuingDisputesRequestBodyEvidence'Other'OneOf1 -> Maybe PostIssuingDisputesRequestBodyEvidence'Other'OneOf1ProductType'
-- | Create a new
-- PostIssuingDisputesRequestBodyEvidence'Other'OneOf1 with all
-- required fields.
mkPostIssuingDisputesRequestBodyEvidence'Other'OneOf1 :: PostIssuingDisputesRequestBodyEvidence'Other'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/issuing/disputes.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.evidence.properties.other.anyOf.properties.additional_documentation.anyOf
-- in the specification.
data PostIssuingDisputesRequestBodyEvidence'Other'OneOf1AdditionalDocumentation'Variants
-- | Represents the JSON value ""
PostIssuingDisputesRequestBodyEvidence'Other'OneOf1AdditionalDocumentation'EmptyString :: PostIssuingDisputesRequestBodyEvidence'Other'OneOf1AdditionalDocumentation'Variants
PostIssuingDisputesRequestBodyEvidence'Other'OneOf1AdditionalDocumentation'Text :: Text -> PostIssuingDisputesRequestBodyEvidence'Other'OneOf1AdditionalDocumentation'Variants
-- | Defines the enum schema located at
-- paths./v1/issuing/disputes.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.evidence.properties.other.anyOf.properties.product_type
-- in the specification.
data PostIssuingDisputesRequestBodyEvidence'Other'OneOf1ProductType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostIssuingDisputesRequestBodyEvidence'Other'OneOf1ProductType'Other :: Value -> PostIssuingDisputesRequestBodyEvidence'Other'OneOf1ProductType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostIssuingDisputesRequestBodyEvidence'Other'OneOf1ProductType'Typed :: Text -> PostIssuingDisputesRequestBodyEvidence'Other'OneOf1ProductType'
-- | Represents the JSON value ""
PostIssuingDisputesRequestBodyEvidence'Other'OneOf1ProductType'EnumEmptyString :: PostIssuingDisputesRequestBodyEvidence'Other'OneOf1ProductType'
-- | Represents the JSON value "merchandise"
PostIssuingDisputesRequestBodyEvidence'Other'OneOf1ProductType'EnumMerchandise :: PostIssuingDisputesRequestBodyEvidence'Other'OneOf1ProductType'
-- | Represents the JSON value "service"
PostIssuingDisputesRequestBodyEvidence'Other'OneOf1ProductType'EnumService :: PostIssuingDisputesRequestBodyEvidence'Other'OneOf1ProductType'
-- | Defines the oneOf schema located at
-- paths./v1/issuing/disputes.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.evidence.properties.other.anyOf
-- in the specification.
data PostIssuingDisputesRequestBodyEvidence'Other'Variants
-- | Represents the JSON value ""
PostIssuingDisputesRequestBodyEvidence'Other'EmptyString :: PostIssuingDisputesRequestBodyEvidence'Other'Variants
PostIssuingDisputesRequestBodyEvidence'Other'PostIssuingDisputesRequestBodyEvidence'Other'OneOf1 :: PostIssuingDisputesRequestBodyEvidence'Other'OneOf1 -> PostIssuingDisputesRequestBodyEvidence'Other'Variants
-- | Defines the enum schema located at
-- paths./v1/issuing/disputes.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.evidence.properties.reason
-- in the specification.
data PostIssuingDisputesRequestBodyEvidence'Reason'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostIssuingDisputesRequestBodyEvidence'Reason'Other :: Value -> PostIssuingDisputesRequestBodyEvidence'Reason'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostIssuingDisputesRequestBodyEvidence'Reason'Typed :: Text -> PostIssuingDisputesRequestBodyEvidence'Reason'
-- | Represents the JSON value "canceled"
PostIssuingDisputesRequestBodyEvidence'Reason'EnumCanceled :: PostIssuingDisputesRequestBodyEvidence'Reason'
-- | Represents the JSON value "duplicate"
PostIssuingDisputesRequestBodyEvidence'Reason'EnumDuplicate :: PostIssuingDisputesRequestBodyEvidence'Reason'
-- | Represents the JSON value "fraudulent"
PostIssuingDisputesRequestBodyEvidence'Reason'EnumFraudulent :: PostIssuingDisputesRequestBodyEvidence'Reason'
-- | Represents the JSON value "merchandise_not_as_described"
PostIssuingDisputesRequestBodyEvidence'Reason'EnumMerchandiseNotAsDescribed :: PostIssuingDisputesRequestBodyEvidence'Reason'
-- | Represents the JSON value "not_received"
PostIssuingDisputesRequestBodyEvidence'Reason'EnumNotReceived :: PostIssuingDisputesRequestBodyEvidence'Reason'
-- | Represents the JSON value "other"
PostIssuingDisputesRequestBodyEvidence'Reason'EnumOther :: PostIssuingDisputesRequestBodyEvidence'Reason'
-- | Represents the JSON value "service_not_as_described"
PostIssuingDisputesRequestBodyEvidence'Reason'EnumServiceNotAsDescribed :: PostIssuingDisputesRequestBodyEvidence'Reason'
-- | Defines the object schema located at
-- paths./v1/issuing/disputes.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.evidence.properties.service_not_as_described.anyOf
-- in the specification.
data PostIssuingDisputesRequestBodyEvidence'ServiceNotAsDescribed'OneOf1
PostIssuingDisputesRequestBodyEvidence'ServiceNotAsDescribed'OneOf1 :: Maybe PostIssuingDisputesRequestBodyEvidence'ServiceNotAsDescribed'OneOf1AdditionalDocumentation'Variants -> Maybe PostIssuingDisputesRequestBodyEvidence'ServiceNotAsDescribed'OneOf1CanceledAt'Variants -> Maybe Text -> Maybe Text -> Maybe PostIssuingDisputesRequestBodyEvidence'ServiceNotAsDescribed'OneOf1ReceivedAt'Variants -> PostIssuingDisputesRequestBodyEvidence'ServiceNotAsDescribed'OneOf1
-- | additional_documentation
[postIssuingDisputesRequestBodyEvidence'ServiceNotAsDescribed'OneOf1AdditionalDocumentation] :: PostIssuingDisputesRequestBodyEvidence'ServiceNotAsDescribed'OneOf1 -> Maybe PostIssuingDisputesRequestBodyEvidence'ServiceNotAsDescribed'OneOf1AdditionalDocumentation'Variants
-- | canceled_at
[postIssuingDisputesRequestBodyEvidence'ServiceNotAsDescribed'OneOf1CanceledAt] :: PostIssuingDisputesRequestBodyEvidence'ServiceNotAsDescribed'OneOf1 -> Maybe PostIssuingDisputesRequestBodyEvidence'ServiceNotAsDescribed'OneOf1CanceledAt'Variants
-- | cancellation_reason
--
-- Constraints:
--
--
-- - Maximum length of 1500
--
[postIssuingDisputesRequestBodyEvidence'ServiceNotAsDescribed'OneOf1CancellationReason] :: PostIssuingDisputesRequestBodyEvidence'ServiceNotAsDescribed'OneOf1 -> Maybe Text
-- | explanation
--
-- Constraints:
--
--
-- - Maximum length of 1500
--
[postIssuingDisputesRequestBodyEvidence'ServiceNotAsDescribed'OneOf1Explanation] :: PostIssuingDisputesRequestBodyEvidence'ServiceNotAsDescribed'OneOf1 -> Maybe Text
-- | received_at
[postIssuingDisputesRequestBodyEvidence'ServiceNotAsDescribed'OneOf1ReceivedAt] :: PostIssuingDisputesRequestBodyEvidence'ServiceNotAsDescribed'OneOf1 -> Maybe PostIssuingDisputesRequestBodyEvidence'ServiceNotAsDescribed'OneOf1ReceivedAt'Variants
-- | Create a new
-- PostIssuingDisputesRequestBodyEvidence'ServiceNotAsDescribed'OneOf1
-- with all required fields.
mkPostIssuingDisputesRequestBodyEvidence'ServiceNotAsDescribed'OneOf1 :: PostIssuingDisputesRequestBodyEvidence'ServiceNotAsDescribed'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/issuing/disputes.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.evidence.properties.service_not_as_described.anyOf.properties.additional_documentation.anyOf
-- in the specification.
data PostIssuingDisputesRequestBodyEvidence'ServiceNotAsDescribed'OneOf1AdditionalDocumentation'Variants
-- | Represents the JSON value ""
PostIssuingDisputesRequestBodyEvidence'ServiceNotAsDescribed'OneOf1AdditionalDocumentation'EmptyString :: PostIssuingDisputesRequestBodyEvidence'ServiceNotAsDescribed'OneOf1AdditionalDocumentation'Variants
PostIssuingDisputesRequestBodyEvidence'ServiceNotAsDescribed'OneOf1AdditionalDocumentation'Text :: Text -> PostIssuingDisputesRequestBodyEvidence'ServiceNotAsDescribed'OneOf1AdditionalDocumentation'Variants
-- | Defines the oneOf schema located at
-- paths./v1/issuing/disputes.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.evidence.properties.service_not_as_described.anyOf.properties.canceled_at.anyOf
-- in the specification.
data PostIssuingDisputesRequestBodyEvidence'ServiceNotAsDescribed'OneOf1CanceledAt'Variants
-- | Represents the JSON value ""
PostIssuingDisputesRequestBodyEvidence'ServiceNotAsDescribed'OneOf1CanceledAt'EmptyString :: PostIssuingDisputesRequestBodyEvidence'ServiceNotAsDescribed'OneOf1CanceledAt'Variants
PostIssuingDisputesRequestBodyEvidence'ServiceNotAsDescribed'OneOf1CanceledAt'Int :: Int -> PostIssuingDisputesRequestBodyEvidence'ServiceNotAsDescribed'OneOf1CanceledAt'Variants
-- | Defines the oneOf schema located at
-- paths./v1/issuing/disputes.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.evidence.properties.service_not_as_described.anyOf.properties.received_at.anyOf
-- in the specification.
data PostIssuingDisputesRequestBodyEvidence'ServiceNotAsDescribed'OneOf1ReceivedAt'Variants
-- | Represents the JSON value ""
PostIssuingDisputesRequestBodyEvidence'ServiceNotAsDescribed'OneOf1ReceivedAt'EmptyString :: PostIssuingDisputesRequestBodyEvidence'ServiceNotAsDescribed'OneOf1ReceivedAt'Variants
PostIssuingDisputesRequestBodyEvidence'ServiceNotAsDescribed'OneOf1ReceivedAt'Int :: Int -> PostIssuingDisputesRequestBodyEvidence'ServiceNotAsDescribed'OneOf1ReceivedAt'Variants
-- | Defines the oneOf schema located at
-- paths./v1/issuing/disputes.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.evidence.properties.service_not_as_described.anyOf
-- in the specification.
data PostIssuingDisputesRequestBodyEvidence'ServiceNotAsDescribed'Variants
-- | Represents the JSON value ""
PostIssuingDisputesRequestBodyEvidence'ServiceNotAsDescribed'EmptyString :: PostIssuingDisputesRequestBodyEvidence'ServiceNotAsDescribed'Variants
PostIssuingDisputesRequestBodyEvidence'ServiceNotAsDescribed'PostIssuingDisputesRequestBodyEvidence'ServiceNotAsDescribed'OneOf1 :: PostIssuingDisputesRequestBodyEvidence'ServiceNotAsDescribed'OneOf1 -> PostIssuingDisputesRequestBodyEvidence'ServiceNotAsDescribed'Variants
-- | Represents a response of the operation postIssuingDisputes.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostIssuingDisputesResponseError is
-- used.
data PostIssuingDisputesResponse
-- | Means either no matching case available or a parse error
PostIssuingDisputesResponseError :: String -> PostIssuingDisputesResponse
-- | Successful response.
PostIssuingDisputesResponse200 :: Issuing'dispute -> PostIssuingDisputesResponse
-- | Error response.
PostIssuingDisputesResponseDefault :: Error -> PostIssuingDisputesResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1AdditionalDocumentation'Variants
instance GHC.Show.Show StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1AdditionalDocumentation'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1CanceledAt'Variants
instance GHC.Show.Show StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1CanceledAt'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1CancellationPolicyProvided'Variants
instance GHC.Show.Show StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1CancellationPolicyProvided'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1ExpectedAt'Variants
instance GHC.Show.Show StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1ExpectedAt'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1ProductType'
instance GHC.Show.Show StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1ProductType'
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1ReturnStatus'
instance GHC.Show.Show StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1ReturnStatus'
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1ReturnedAt'Variants
instance GHC.Show.Show StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1ReturnedAt'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'Canceled'Variants
instance GHC.Show.Show StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'Canceled'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'Duplicate'OneOf1AdditionalDocumentation'Variants
instance GHC.Show.Show StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'Duplicate'OneOf1AdditionalDocumentation'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'Duplicate'OneOf1CardStatement'Variants
instance GHC.Show.Show StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'Duplicate'OneOf1CardStatement'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'Duplicate'OneOf1CashReceipt'Variants
instance GHC.Show.Show StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'Duplicate'OneOf1CashReceipt'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'Duplicate'OneOf1CheckImage'Variants
instance GHC.Show.Show StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'Duplicate'OneOf1CheckImage'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'Duplicate'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'Duplicate'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'Duplicate'Variants
instance GHC.Show.Show StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'Duplicate'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'Fraudulent'OneOf1AdditionalDocumentation'Variants
instance GHC.Show.Show StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'Fraudulent'OneOf1AdditionalDocumentation'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'Fraudulent'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'Fraudulent'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'Fraudulent'Variants
instance GHC.Show.Show StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'Fraudulent'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1AdditionalDocumentation'Variants
instance GHC.Show.Show StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1AdditionalDocumentation'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1ReceivedAt'Variants
instance GHC.Show.Show StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1ReceivedAt'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1ReturnStatus'
instance GHC.Show.Show StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1ReturnStatus'
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1ReturnedAt'Variants
instance GHC.Show.Show StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1ReturnedAt'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'MerchandiseNotAsDescribed'Variants
instance GHC.Show.Show StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'MerchandiseNotAsDescribed'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'NotReceived'OneOf1AdditionalDocumentation'Variants
instance GHC.Show.Show StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'NotReceived'OneOf1AdditionalDocumentation'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'NotReceived'OneOf1ExpectedAt'Variants
instance GHC.Show.Show StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'NotReceived'OneOf1ExpectedAt'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'NotReceived'OneOf1ProductType'
instance GHC.Show.Show StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'NotReceived'OneOf1ProductType'
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'NotReceived'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'NotReceived'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'NotReceived'Variants
instance GHC.Show.Show StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'NotReceived'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'Other'OneOf1AdditionalDocumentation'Variants
instance GHC.Show.Show StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'Other'OneOf1AdditionalDocumentation'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'Other'OneOf1ProductType'
instance GHC.Show.Show StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'Other'OneOf1ProductType'
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'Other'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'Other'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'Other'Variants
instance GHC.Show.Show StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'Other'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'Reason'
instance GHC.Show.Show StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'Reason'
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'ServiceNotAsDescribed'OneOf1AdditionalDocumentation'Variants
instance GHC.Show.Show StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'ServiceNotAsDescribed'OneOf1AdditionalDocumentation'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'ServiceNotAsDescribed'OneOf1CanceledAt'Variants
instance GHC.Show.Show StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'ServiceNotAsDescribed'OneOf1CanceledAt'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'ServiceNotAsDescribed'OneOf1ReceivedAt'Variants
instance GHC.Show.Show StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'ServiceNotAsDescribed'OneOf1ReceivedAt'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'ServiceNotAsDescribed'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'ServiceNotAsDescribed'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'ServiceNotAsDescribed'Variants
instance GHC.Show.Show StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'ServiceNotAsDescribed'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'
instance GHC.Show.Show StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesResponse
instance GHC.Show.Show StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'ServiceNotAsDescribed'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'ServiceNotAsDescribed'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'ServiceNotAsDescribed'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'ServiceNotAsDescribed'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'ServiceNotAsDescribed'OneOf1ReceivedAt'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'ServiceNotAsDescribed'OneOf1ReceivedAt'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'ServiceNotAsDescribed'OneOf1CanceledAt'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'ServiceNotAsDescribed'OneOf1CanceledAt'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'ServiceNotAsDescribed'OneOf1AdditionalDocumentation'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'ServiceNotAsDescribed'OneOf1AdditionalDocumentation'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'Reason'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'Reason'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'Other'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'Other'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'Other'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'Other'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'Other'OneOf1ProductType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'Other'OneOf1ProductType'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'Other'OneOf1AdditionalDocumentation'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'Other'OneOf1AdditionalDocumentation'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'NotReceived'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'NotReceived'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'NotReceived'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'NotReceived'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'NotReceived'OneOf1ProductType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'NotReceived'OneOf1ProductType'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'NotReceived'OneOf1ExpectedAt'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'NotReceived'OneOf1ExpectedAt'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'NotReceived'OneOf1AdditionalDocumentation'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'NotReceived'OneOf1AdditionalDocumentation'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'MerchandiseNotAsDescribed'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'MerchandiseNotAsDescribed'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1ReturnedAt'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1ReturnedAt'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1ReturnStatus'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1ReturnStatus'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1ReceivedAt'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1ReceivedAt'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1AdditionalDocumentation'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'MerchandiseNotAsDescribed'OneOf1AdditionalDocumentation'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'Fraudulent'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'Fraudulent'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'Fraudulent'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'Fraudulent'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'Fraudulent'OneOf1AdditionalDocumentation'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'Fraudulent'OneOf1AdditionalDocumentation'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'Duplicate'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'Duplicate'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'Duplicate'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'Duplicate'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'Duplicate'OneOf1CheckImage'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'Duplicate'OneOf1CheckImage'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'Duplicate'OneOf1CashReceipt'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'Duplicate'OneOf1CashReceipt'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'Duplicate'OneOf1CardStatement'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'Duplicate'OneOf1CardStatement'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'Duplicate'OneOf1AdditionalDocumentation'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'Duplicate'OneOf1AdditionalDocumentation'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'Canceled'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'Canceled'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1ReturnedAt'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1ReturnedAt'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1ReturnStatus'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1ReturnStatus'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1ProductType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1ProductType'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1ExpectedAt'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1ExpectedAt'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1CancellationPolicyProvided'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1CancellationPolicyProvided'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1CanceledAt'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1CanceledAt'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1AdditionalDocumentation'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingDisputes.PostIssuingDisputesRequestBodyEvidence'Canceled'OneOf1AdditionalDocumentation'Variants
-- | Contains the different functions to run the operation
-- postIssuingCardsCard
module StripeAPI.Operations.PostIssuingCardsCard
-- |
-- POST /v1/issuing/cards/{card}
--
--
-- <p>Updates the specified Issuing <code>Card</code>
-- object by setting the values of the parameters passed. Any parameters
-- not provided will be left unchanged.</p>
postIssuingCardsCard :: forall m. MonadHTTP m => Text -> Maybe PostIssuingCardsCardRequestBody -> ClientT m (Response PostIssuingCardsCardResponse)
-- | Defines the object schema located at
-- paths./v1/issuing/cards/{card}.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostIssuingCardsCardRequestBody
PostIssuingCardsCardRequestBody :: Maybe PostIssuingCardsCardRequestBodyCancellationReason' -> Maybe [Text] -> Maybe PostIssuingCardsCardRequestBodyMetadata'Variants -> Maybe PostIssuingCardsCardRequestBodySpendingControls' -> Maybe PostIssuingCardsCardRequestBodyStatus' -> PostIssuingCardsCardRequestBody
-- | cancellation_reason: Reason why the `status` of this card is
-- `canceled`.
[postIssuingCardsCardRequestBodyCancellationReason] :: PostIssuingCardsCardRequestBody -> Maybe PostIssuingCardsCardRequestBodyCancellationReason'
-- | expand: Specifies which fields in the response should be expanded.
[postIssuingCardsCardRequestBodyExpand] :: PostIssuingCardsCardRequestBody -> Maybe [Text]
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postIssuingCardsCardRequestBodyMetadata] :: PostIssuingCardsCardRequestBody -> Maybe PostIssuingCardsCardRequestBodyMetadata'Variants
-- | spending_controls: Rules that control spending for this card. Refer to
-- our documentation for more details.
[postIssuingCardsCardRequestBodySpendingControls] :: PostIssuingCardsCardRequestBody -> Maybe PostIssuingCardsCardRequestBodySpendingControls'
-- | status: Dictates whether authorizations can be approved on this card.
-- If this card is being canceled because it was lost or stolen, this
-- information should be provided as `cancellation_reason`.
[postIssuingCardsCardRequestBodyStatus] :: PostIssuingCardsCardRequestBody -> Maybe PostIssuingCardsCardRequestBodyStatus'
-- | Create a new PostIssuingCardsCardRequestBody with all required
-- fields.
mkPostIssuingCardsCardRequestBody :: PostIssuingCardsCardRequestBody
-- | Defines the enum schema located at
-- paths./v1/issuing/cards/{card}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.cancellation_reason
-- in the specification.
--
-- Reason why the `status` of this card is `canceled`.
data PostIssuingCardsCardRequestBodyCancellationReason'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostIssuingCardsCardRequestBodyCancellationReason'Other :: Value -> PostIssuingCardsCardRequestBodyCancellationReason'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostIssuingCardsCardRequestBodyCancellationReason'Typed :: Text -> PostIssuingCardsCardRequestBodyCancellationReason'
-- | Represents the JSON value "lost"
PostIssuingCardsCardRequestBodyCancellationReason'EnumLost :: PostIssuingCardsCardRequestBodyCancellationReason'
-- | Represents the JSON value "stolen"
PostIssuingCardsCardRequestBodyCancellationReason'EnumStolen :: PostIssuingCardsCardRequestBodyCancellationReason'
-- | Defines the oneOf schema located at
-- paths./v1/issuing/cards/{card}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.metadata.anyOf
-- in the specification.
--
-- Set of key-value pairs that you can attach to an object. This
-- can be useful for storing additional information about the object in a
-- structured format. Individual keys can be unset by posting an empty
-- value to them. All keys can be unset by posting an empty value to
-- `metadata`.
data PostIssuingCardsCardRequestBodyMetadata'Variants
-- | Represents the JSON value ""
PostIssuingCardsCardRequestBodyMetadata'EmptyString :: PostIssuingCardsCardRequestBodyMetadata'Variants
PostIssuingCardsCardRequestBodyMetadata'Object :: Object -> PostIssuingCardsCardRequestBodyMetadata'Variants
-- | Defines the object schema located at
-- paths./v1/issuing/cards/{card}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.spending_controls
-- in the specification.
--
-- Rules that control spending for this card. Refer to our
-- documentation for more details.
data PostIssuingCardsCardRequestBodySpendingControls'
PostIssuingCardsCardRequestBodySpendingControls' :: Maybe [PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'] -> Maybe [PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'] -> Maybe [PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'] -> PostIssuingCardsCardRequestBodySpendingControls'
-- | allowed_categories
[postIssuingCardsCardRequestBodySpendingControls'AllowedCategories] :: PostIssuingCardsCardRequestBodySpendingControls' -> Maybe [PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories']
-- | blocked_categories
[postIssuingCardsCardRequestBodySpendingControls'BlockedCategories] :: PostIssuingCardsCardRequestBodySpendingControls' -> Maybe [PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories']
-- | spending_limits
[postIssuingCardsCardRequestBodySpendingControls'SpendingLimits] :: PostIssuingCardsCardRequestBodySpendingControls' -> Maybe [PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits']
-- | Create a new PostIssuingCardsCardRequestBodySpendingControls'
-- with all required fields.
mkPostIssuingCardsCardRequestBodySpendingControls' :: PostIssuingCardsCardRequestBodySpendingControls'
-- | Defines the enum schema located at
-- paths./v1/issuing/cards/{card}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.spending_controls.properties.allowed_categories.items
-- in the specification.
data PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'Other :: Value -> PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'Typed :: Text -> PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "ac_refrigeration_repair"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumAcRefrigerationRepair :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "accounting_bookkeeping_services"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumAccountingBookkeepingServices :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "advertising_services"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumAdvertisingServices :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "agricultural_cooperative"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumAgriculturalCooperative :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "airlines_air_carriers"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumAirlinesAirCarriers :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "airports_flying_fields"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumAirportsFlyingFields :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "ambulance_services"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumAmbulanceServices :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "amusement_parks_carnivals"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumAmusementParksCarnivals :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "antique_reproductions"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumAntiqueReproductions :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "antique_shops"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumAntiqueShops :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "aquariums"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumAquariums :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "architectural_surveying_services"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumArchitecturalSurveyingServices :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "art_dealers_and_galleries"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumArtDealersAndGalleries :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "artists_supply_and_craft_shops"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumArtistsSupplyAndCraftShops :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "auto_and_home_supply_stores"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumAutoAndHomeSupplyStores :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "auto_body_repair_shops"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumAutoBodyRepairShops :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "auto_paint_shops"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumAutoPaintShops :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "auto_service_shops"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumAutoServiceShops :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "automated_cash_disburse"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumAutomatedCashDisburse :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "automated_fuel_dispensers"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumAutomatedFuelDispensers :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "automobile_associations"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumAutomobileAssociations :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "automotive_parts_and_accessories_stores"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumAutomotivePartsAndAccessoriesStores :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "automotive_tire_stores"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumAutomotiveTireStores :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "bail_and_bond_payments"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumBailAndBondPayments :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "bakeries"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumBakeries :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "bands_orchestras"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumBandsOrchestras :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "barber_and_beauty_shops"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumBarberAndBeautyShops :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "betting_casino_gambling"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumBettingCasinoGambling :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "bicycle_shops"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumBicycleShops :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "billiard_pool_establishments"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumBilliardPoolEstablishments :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "boat_dealers"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumBoatDealers :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "boat_rentals_and_leases"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumBoatRentalsAndLeases :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "book_stores"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumBookStores :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "books_periodicals_and_newspapers"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumBooksPeriodicalsAndNewspapers :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "bowling_alleys"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumBowlingAlleys :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "bus_lines"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumBusLines :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "business_secretarial_schools"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumBusinessSecretarialSchools :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "buying_shopping_services"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumBuyingShoppingServices :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "cable_satellite_and_other_pay_television_and_radio"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumCableSatelliteAndOtherPayTelevisionAndRadio :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "camera_and_photographic_supply_stores"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumCameraAndPhotographicSupplyStores :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "candy_nut_and_confectionery_stores"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumCandyNutAndConfectioneryStores :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "car_and_truck_dealers_new_used"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumCarAndTruckDealersNewUsed :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "car_and_truck_dealers_used_only"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumCarAndTruckDealersUsedOnly :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "car_rental_agencies"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumCarRentalAgencies :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "car_washes"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumCarWashes :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "carpentry_services"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumCarpentryServices :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "carpet_upholstery_cleaning"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumCarpetUpholsteryCleaning :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "caterers"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumCaterers :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "charitable_and_social_service_organizations_fundraising"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumCharitableAndSocialServiceOrganizationsFundraising :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "chemicals_and_allied_products"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumChemicalsAndAlliedProducts :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "child_care_services"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumChildCareServices :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "childrens_and_infants_wear_stores"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumChildrensAndInfantsWearStores :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "chiropodists_podiatrists"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumChiropodistsPodiatrists :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "chiropractors"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumChiropractors :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "cigar_stores_and_stands"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumCigarStoresAndStands :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "civic_social_fraternal_associations"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumCivicSocialFraternalAssociations :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "cleaning_and_maintenance"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumCleaningAndMaintenance :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "clothing_rental"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumClothingRental :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "colleges_universities"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumCollegesUniversities :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "commercial_equipment"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumCommercialEquipment :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "commercial_footwear"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumCommercialFootwear :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "commercial_photography_art_and_graphics"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumCommercialPhotographyArtAndGraphics :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "commuter_transport_and_ferries"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumCommuterTransportAndFerries :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "computer_network_services"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumComputerNetworkServices :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "computer_programming"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumComputerProgramming :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "computer_repair"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumComputerRepair :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "computer_software_stores"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumComputerSoftwareStores :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "computers_peripherals_and_software"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumComputersPeripheralsAndSoftware :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "concrete_work_services"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumConcreteWorkServices :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "construction_materials"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumConstructionMaterials :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "consulting_public_relations"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumConsultingPublicRelations :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "correspondence_schools"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumCorrespondenceSchools :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "cosmetic_stores"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumCosmeticStores :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "counseling_services"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumCounselingServices :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "country_clubs"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumCountryClubs :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "courier_services"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumCourierServices :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "court_costs"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumCourtCosts :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "credit_reporting_agencies"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumCreditReportingAgencies :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "cruise_lines"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumCruiseLines :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "dairy_products_stores"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumDairyProductsStores :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "dance_hall_studios_schools"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumDanceHallStudiosSchools :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "dating_escort_services"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumDatingEscortServices :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "dentists_orthodontists"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumDentistsOrthodontists :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "department_stores"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumDepartmentStores :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "detective_agencies"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumDetectiveAgencies :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "digital_goods_applications"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumDigitalGoodsApplications :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "digital_goods_games"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumDigitalGoodsGames :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "digital_goods_large_volume"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumDigitalGoodsLargeVolume :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "digital_goods_media"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumDigitalGoodsMedia :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "direct_marketing_catalog_merchant"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumDirectMarketingCatalogMerchant :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "direct_marketing_combination_catalog_and_retail_merchant"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumDirectMarketingCombinationCatalogAndRetailMerchant :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "direct_marketing_inbound_telemarketing"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumDirectMarketingInboundTelemarketing :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "direct_marketing_insurance_services"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumDirectMarketingInsuranceServices :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "direct_marketing_other"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumDirectMarketingOther :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "direct_marketing_outbound_telemarketing"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumDirectMarketingOutboundTelemarketing :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "direct_marketing_subscription"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumDirectMarketingSubscription :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "direct_marketing_travel"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumDirectMarketingTravel :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "discount_stores"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumDiscountStores :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "doctors"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumDoctors :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "door_to_door_sales"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumDoorToDoorSales :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "drapery_window_covering_and_upholstery_stores"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumDraperyWindowCoveringAndUpholsteryStores :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "drinking_places"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumDrinkingPlaces :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "drug_stores_and_pharmacies"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumDrugStoresAndPharmacies :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "drugs_drug_proprietaries_and_druggist_sundries"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumDrugsDrugProprietariesAndDruggistSundries :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "dry_cleaners"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumDryCleaners :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "durable_goods"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumDurableGoods :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "duty_free_stores"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumDutyFreeStores :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "eating_places_restaurants"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumEatingPlacesRestaurants :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "educational_services"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumEducationalServices :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "electric_razor_stores"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumElectricRazorStores :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "electrical_parts_and_equipment"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumElectricalPartsAndEquipment :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "electrical_services"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumElectricalServices :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "electronics_repair_shops"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumElectronicsRepairShops :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "electronics_stores"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumElectronicsStores :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "elementary_secondary_schools"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumElementarySecondarySchools :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "employment_temp_agencies"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumEmploymentTempAgencies :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "equipment_rental"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumEquipmentRental :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "exterminating_services"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumExterminatingServices :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "family_clothing_stores"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumFamilyClothingStores :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "fast_food_restaurants"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumFastFoodRestaurants :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "financial_institutions"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumFinancialInstitutions :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "fines_government_administrative_entities"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumFinesGovernmentAdministrativeEntities :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "fireplace_fireplace_screens_and_accessories_stores"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumFireplaceFireplaceScreensAndAccessoriesStores :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "floor_covering_stores"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumFloorCoveringStores :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "florists"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumFlorists :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "florists_supplies_nursery_stock_and_flowers"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumFloristsSuppliesNurseryStockAndFlowers :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "freezer_and_locker_meat_provisioners"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumFreezerAndLockerMeatProvisioners :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "fuel_dealers_non_automotive"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumFuelDealersNonAutomotive :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "funeral_services_crematories"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumFuneralServicesCrematories :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "furniture_home_furnishings_and_equipment_stores_except_appliances"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumFurnitureHomeFurnishingsAndEquipmentStoresExceptAppliances :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "furniture_repair_refinishing"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumFurnitureRepairRefinishing :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "furriers_and_fur_shops"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumFurriersAndFurShops :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "general_services"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumGeneralServices :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "gift_card_novelty_and_souvenir_shops"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumGiftCardNoveltyAndSouvenirShops :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "glass_paint_and_wallpaper_stores"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumGlassPaintAndWallpaperStores :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "glassware_crystal_stores"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumGlasswareCrystalStores :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "golf_courses_public"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumGolfCoursesPublic :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "government_services"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumGovernmentServices :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "grocery_stores_supermarkets"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumGroceryStoresSupermarkets :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "hardware_equipment_and_supplies"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumHardwareEquipmentAndSupplies :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "hardware_stores"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumHardwareStores :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "health_and_beauty_spas"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumHealthAndBeautySpas :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "hearing_aids_sales_and_supplies"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumHearingAidsSalesAndSupplies :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "heating_plumbing_a_c"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumHeatingPlumbingAC :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "hobby_toy_and_game_shops"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumHobbyToyAndGameShops :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "home_supply_warehouse_stores"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumHomeSupplyWarehouseStores :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "hospitals"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumHospitals :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "hotels_motels_and_resorts"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumHotelsMotelsAndResorts :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "household_appliance_stores"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumHouseholdApplianceStores :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "industrial_supplies"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumIndustrialSupplies :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "information_retrieval_services"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumInformationRetrievalServices :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "insurance_default"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumInsuranceDefault :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "insurance_underwriting_premiums"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumInsuranceUnderwritingPremiums :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "intra_company_purchases"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumIntraCompanyPurchases :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "jewelry_stores_watches_clocks_and_silverware_stores"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumJewelryStoresWatchesClocksAndSilverwareStores :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "landscaping_services"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumLandscapingServices :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "laundries"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumLaundries :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "laundry_cleaning_services"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumLaundryCleaningServices :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "legal_services_attorneys"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumLegalServicesAttorneys :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "luggage_and_leather_goods_stores"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumLuggageAndLeatherGoodsStores :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "lumber_building_materials_stores"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumLumberBuildingMaterialsStores :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "manual_cash_disburse"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumManualCashDisburse :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "marinas_service_and_supplies"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumMarinasServiceAndSupplies :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "masonry_stonework_and_plaster"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumMasonryStoneworkAndPlaster :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "massage_parlors"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumMassageParlors :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "medical_and_dental_labs"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumMedicalAndDentalLabs :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "medical_dental_ophthalmic_and_hospital_equipment_and_supplies"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumMedicalDentalOphthalmicAndHospitalEquipmentAndSupplies :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "medical_services"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumMedicalServices :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "membership_organizations"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumMembershipOrganizations :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "mens_and_boys_clothing_and_accessories_stores"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumMensAndBoysClothingAndAccessoriesStores :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "mens_womens_clothing_stores"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumMensWomensClothingStores :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "metal_service_centers"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumMetalServiceCenters :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "miscellaneous"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumMiscellaneous :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "miscellaneous_apparel_and_accessory_shops"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumMiscellaneousApparelAndAccessoryShops :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "miscellaneous_auto_dealers"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumMiscellaneousAutoDealers :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "miscellaneous_business_services"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumMiscellaneousBusinessServices :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "miscellaneous_food_stores"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumMiscellaneousFoodStores :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "miscellaneous_general_merchandise"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumMiscellaneousGeneralMerchandise :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "miscellaneous_general_services"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumMiscellaneousGeneralServices :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "miscellaneous_home_furnishing_specialty_stores"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumMiscellaneousHomeFurnishingSpecialtyStores :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "miscellaneous_publishing_and_printing"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumMiscellaneousPublishingAndPrinting :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "miscellaneous_recreation_services"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumMiscellaneousRecreationServices :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "miscellaneous_repair_shops"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumMiscellaneousRepairShops :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "miscellaneous_specialty_retail"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumMiscellaneousSpecialtyRetail :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "mobile_home_dealers"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumMobileHomeDealers :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "motion_picture_theaters"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumMotionPictureTheaters :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "motor_freight_carriers_and_trucking"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumMotorFreightCarriersAndTrucking :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "motor_homes_dealers"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumMotorHomesDealers :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "motor_vehicle_supplies_and_new_parts"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumMotorVehicleSuppliesAndNewParts :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "motorcycle_shops_and_dealers"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumMotorcycleShopsAndDealers :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "motorcycle_shops_dealers"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumMotorcycleShopsDealers :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "music_stores_musical_instruments_pianos_and_sheet_music"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumMusicStoresMusicalInstrumentsPianosAndSheetMusic :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "news_dealers_and_newsstands"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumNewsDealersAndNewsstands :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "non_fi_money_orders"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumNonFiMoneyOrders :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "non_fi_stored_value_card_purchase_load"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumNonFiStoredValueCardPurchaseLoad :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "nondurable_goods"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumNondurableGoods :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "nurseries_lawn_and_garden_supply_stores"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumNurseriesLawnAndGardenSupplyStores :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "nursing_personal_care"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumNursingPersonalCare :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "office_and_commercial_furniture"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumOfficeAndCommercialFurniture :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "opticians_eyeglasses"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumOpticiansEyeglasses :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "optometrists_ophthalmologist"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumOptometristsOphthalmologist :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "orthopedic_goods_prosthetic_devices"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumOrthopedicGoodsProstheticDevices :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "osteopaths"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumOsteopaths :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "package_stores_beer_wine_and_liquor"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumPackageStoresBeerWineAndLiquor :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "paints_varnishes_and_supplies"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumPaintsVarnishesAndSupplies :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "parking_lots_garages"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumParkingLotsGarages :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "passenger_railways"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumPassengerRailways :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "pawn_shops"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumPawnShops :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "pet_shops_pet_food_and_supplies"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumPetShopsPetFoodAndSupplies :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "petroleum_and_petroleum_products"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumPetroleumAndPetroleumProducts :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "photo_developing"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumPhotoDeveloping :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "photographic_photocopy_microfilm_equipment_and_supplies"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumPhotographicPhotocopyMicrofilmEquipmentAndSupplies :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "photographic_studios"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumPhotographicStudios :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "picture_video_production"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumPictureVideoProduction :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "piece_goods_notions_and_other_dry_goods"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumPieceGoodsNotionsAndOtherDryGoods :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "plumbing_heating_equipment_and_supplies"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumPlumbingHeatingEquipmentAndSupplies :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "political_organizations"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumPoliticalOrganizations :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "postal_services_government_only"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumPostalServicesGovernmentOnly :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "precious_stones_and_metals_watches_and_jewelry"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumPreciousStonesAndMetalsWatchesAndJewelry :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "professional_services"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumProfessionalServices :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "public_warehousing_and_storage"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumPublicWarehousingAndStorage :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "quick_copy_repro_and_blueprint"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumQuickCopyReproAndBlueprint :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "railroads"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumRailroads :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "real_estate_agents_and_managers_rentals"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumRealEstateAgentsAndManagersRentals :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "record_stores"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumRecordStores :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "recreational_vehicle_rentals"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumRecreationalVehicleRentals :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "religious_goods_stores"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumReligiousGoodsStores :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "religious_organizations"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumReligiousOrganizations :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "roofing_siding_sheet_metal"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumRoofingSidingSheetMetal :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "secretarial_support_services"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumSecretarialSupportServices :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "security_brokers_dealers"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumSecurityBrokersDealers :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "service_stations"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumServiceStations :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "sewing_needlework_fabric_and_piece_goods_stores"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumSewingNeedleworkFabricAndPieceGoodsStores :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "shoe_repair_hat_cleaning"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumShoeRepairHatCleaning :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "shoe_stores"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumShoeStores :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "small_appliance_repair"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumSmallApplianceRepair :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "snowmobile_dealers"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumSnowmobileDealers :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "special_trade_services"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumSpecialTradeServices :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "specialty_cleaning"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumSpecialtyCleaning :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "sporting_goods_stores"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumSportingGoodsStores :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "sporting_recreation_camps"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumSportingRecreationCamps :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "sports_and_riding_apparel_stores"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumSportsAndRidingApparelStores :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "sports_clubs_fields"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumSportsClubsFields :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "stamp_and_coin_stores"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumStampAndCoinStores :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "stationary_office_supplies_printing_and_writing_paper"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumStationaryOfficeSuppliesPrintingAndWritingPaper :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "stationery_stores_office_and_school_supply_stores"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumStationeryStoresOfficeAndSchoolSupplyStores :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "swimming_pools_sales"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumSwimmingPoolsSales :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "t_ui_travel_germany"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumTUiTravelGermany :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "tailors_alterations"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumTailorsAlterations :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "tax_payments_government_agencies"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumTaxPaymentsGovernmentAgencies :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "tax_preparation_services"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumTaxPreparationServices :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "taxicabs_limousines"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumTaxicabsLimousines :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "telecommunication_equipment_and_telephone_sales"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumTelecommunicationEquipmentAndTelephoneSales :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "telecommunication_services"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumTelecommunicationServices :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "telegraph_services"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumTelegraphServices :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "tent_and_awning_shops"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumTentAndAwningShops :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "testing_laboratories"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumTestingLaboratories :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "theatrical_ticket_agencies"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumTheatricalTicketAgencies :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "timeshares"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumTimeshares :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "tire_retreading_and_repair"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumTireRetreadingAndRepair :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "tolls_bridge_fees"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumTollsBridgeFees :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "tourist_attractions_and_exhibits"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumTouristAttractionsAndExhibits :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "towing_services"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumTowingServices :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "trailer_parks_campgrounds"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumTrailerParksCampgrounds :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "transportation_services"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumTransportationServices :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "travel_agencies_tour_operators"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumTravelAgenciesTourOperators :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "truck_stop_iteration"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumTruckStopIteration :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "truck_utility_trailer_rentals"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumTruckUtilityTrailerRentals :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "typesetting_plate_making_and_related_services"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumTypesettingPlateMakingAndRelatedServices :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "typewriter_stores"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumTypewriterStores :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "u_s_federal_government_agencies_or_departments"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumUSFederalGovernmentAgenciesOrDepartments :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "uniforms_commercial_clothing"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumUniformsCommercialClothing :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "used_merchandise_and_secondhand_stores"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumUsedMerchandiseAndSecondhandStores :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "utilities"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumUtilities :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "variety_stores"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumVarietyStores :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "veterinary_services"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumVeterinaryServices :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "video_amusement_game_supplies"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumVideoAmusementGameSupplies :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "video_game_arcades"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumVideoGameArcades :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "video_tape_rental_stores"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumVideoTapeRentalStores :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "vocational_trade_schools"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumVocationalTradeSchools :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "watch_jewelry_repair"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumWatchJewelryRepair :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "welding_repair"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumWeldingRepair :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "wholesale_clubs"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumWholesaleClubs :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "wig_and_toupee_stores"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumWigAndToupeeStores :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "wires_money_orders"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumWiresMoneyOrders :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "womens_accessory_and_specialty_shops"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumWomensAccessoryAndSpecialtyShops :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "womens_ready_to_wear_stores"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumWomensReadyToWearStores :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "wrecking_and_salvage_yards"
PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'EnumWreckingAndSalvageYards :: PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
-- | Defines the enum schema located at
-- paths./v1/issuing/cards/{card}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.spending_controls.properties.blocked_categories.items
-- in the specification.
data PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'Other :: Value -> PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'Typed :: Text -> PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "ac_refrigeration_repair"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumAcRefrigerationRepair :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "accounting_bookkeeping_services"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumAccountingBookkeepingServices :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "advertising_services"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumAdvertisingServices :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "agricultural_cooperative"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumAgriculturalCooperative :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "airlines_air_carriers"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumAirlinesAirCarriers :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "airports_flying_fields"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumAirportsFlyingFields :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "ambulance_services"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumAmbulanceServices :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "amusement_parks_carnivals"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumAmusementParksCarnivals :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "antique_reproductions"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumAntiqueReproductions :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "antique_shops"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumAntiqueShops :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "aquariums"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumAquariums :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "architectural_surveying_services"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumArchitecturalSurveyingServices :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "art_dealers_and_galleries"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumArtDealersAndGalleries :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "artists_supply_and_craft_shops"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumArtistsSupplyAndCraftShops :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "auto_and_home_supply_stores"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumAutoAndHomeSupplyStores :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "auto_body_repair_shops"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumAutoBodyRepairShops :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "auto_paint_shops"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumAutoPaintShops :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "auto_service_shops"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumAutoServiceShops :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "automated_cash_disburse"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumAutomatedCashDisburse :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "automated_fuel_dispensers"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumAutomatedFuelDispensers :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "automobile_associations"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumAutomobileAssociations :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "automotive_parts_and_accessories_stores"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumAutomotivePartsAndAccessoriesStores :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "automotive_tire_stores"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumAutomotiveTireStores :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "bail_and_bond_payments"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumBailAndBondPayments :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "bakeries"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumBakeries :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "bands_orchestras"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumBandsOrchestras :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "barber_and_beauty_shops"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumBarberAndBeautyShops :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "betting_casino_gambling"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumBettingCasinoGambling :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "bicycle_shops"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumBicycleShops :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "billiard_pool_establishments"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumBilliardPoolEstablishments :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "boat_dealers"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumBoatDealers :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "boat_rentals_and_leases"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumBoatRentalsAndLeases :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "book_stores"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumBookStores :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "books_periodicals_and_newspapers"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumBooksPeriodicalsAndNewspapers :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "bowling_alleys"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumBowlingAlleys :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "bus_lines"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumBusLines :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "business_secretarial_schools"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumBusinessSecretarialSchools :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "buying_shopping_services"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumBuyingShoppingServices :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "cable_satellite_and_other_pay_television_and_radio"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumCableSatelliteAndOtherPayTelevisionAndRadio :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "camera_and_photographic_supply_stores"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumCameraAndPhotographicSupplyStores :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "candy_nut_and_confectionery_stores"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumCandyNutAndConfectioneryStores :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "car_and_truck_dealers_new_used"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumCarAndTruckDealersNewUsed :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "car_and_truck_dealers_used_only"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumCarAndTruckDealersUsedOnly :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "car_rental_agencies"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumCarRentalAgencies :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "car_washes"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumCarWashes :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "carpentry_services"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumCarpentryServices :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "carpet_upholstery_cleaning"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumCarpetUpholsteryCleaning :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "caterers"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumCaterers :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "charitable_and_social_service_organizations_fundraising"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumCharitableAndSocialServiceOrganizationsFundraising :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "chemicals_and_allied_products"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumChemicalsAndAlliedProducts :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "child_care_services"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumChildCareServices :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "childrens_and_infants_wear_stores"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumChildrensAndInfantsWearStores :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "chiropodists_podiatrists"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumChiropodistsPodiatrists :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "chiropractors"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumChiropractors :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "cigar_stores_and_stands"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumCigarStoresAndStands :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "civic_social_fraternal_associations"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumCivicSocialFraternalAssociations :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "cleaning_and_maintenance"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumCleaningAndMaintenance :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "clothing_rental"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumClothingRental :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "colleges_universities"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumCollegesUniversities :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "commercial_equipment"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumCommercialEquipment :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "commercial_footwear"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumCommercialFootwear :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "commercial_photography_art_and_graphics"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumCommercialPhotographyArtAndGraphics :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "commuter_transport_and_ferries"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumCommuterTransportAndFerries :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "computer_network_services"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumComputerNetworkServices :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "computer_programming"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumComputerProgramming :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "computer_repair"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumComputerRepair :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "computer_software_stores"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumComputerSoftwareStores :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "computers_peripherals_and_software"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumComputersPeripheralsAndSoftware :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "concrete_work_services"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumConcreteWorkServices :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "construction_materials"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumConstructionMaterials :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "consulting_public_relations"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumConsultingPublicRelations :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "correspondence_schools"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumCorrespondenceSchools :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "cosmetic_stores"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumCosmeticStores :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "counseling_services"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumCounselingServices :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "country_clubs"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumCountryClubs :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "courier_services"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumCourierServices :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "court_costs"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumCourtCosts :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "credit_reporting_agencies"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumCreditReportingAgencies :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "cruise_lines"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumCruiseLines :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "dairy_products_stores"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumDairyProductsStores :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "dance_hall_studios_schools"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumDanceHallStudiosSchools :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "dating_escort_services"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumDatingEscortServices :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "dentists_orthodontists"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumDentistsOrthodontists :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "department_stores"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumDepartmentStores :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "detective_agencies"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumDetectiveAgencies :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "digital_goods_applications"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumDigitalGoodsApplications :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "digital_goods_games"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumDigitalGoodsGames :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "digital_goods_large_volume"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumDigitalGoodsLargeVolume :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "digital_goods_media"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumDigitalGoodsMedia :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "direct_marketing_catalog_merchant"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumDirectMarketingCatalogMerchant :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "direct_marketing_combination_catalog_and_retail_merchant"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumDirectMarketingCombinationCatalogAndRetailMerchant :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "direct_marketing_inbound_telemarketing"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumDirectMarketingInboundTelemarketing :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "direct_marketing_insurance_services"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumDirectMarketingInsuranceServices :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "direct_marketing_other"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumDirectMarketingOther :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "direct_marketing_outbound_telemarketing"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumDirectMarketingOutboundTelemarketing :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "direct_marketing_subscription"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumDirectMarketingSubscription :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "direct_marketing_travel"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumDirectMarketingTravel :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "discount_stores"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumDiscountStores :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "doctors"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumDoctors :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "door_to_door_sales"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumDoorToDoorSales :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "drapery_window_covering_and_upholstery_stores"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumDraperyWindowCoveringAndUpholsteryStores :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "drinking_places"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumDrinkingPlaces :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "drug_stores_and_pharmacies"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumDrugStoresAndPharmacies :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "drugs_drug_proprietaries_and_druggist_sundries"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumDrugsDrugProprietariesAndDruggistSundries :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "dry_cleaners"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumDryCleaners :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "durable_goods"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumDurableGoods :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "duty_free_stores"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumDutyFreeStores :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "eating_places_restaurants"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumEatingPlacesRestaurants :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "educational_services"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumEducationalServices :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "electric_razor_stores"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumElectricRazorStores :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "electrical_parts_and_equipment"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumElectricalPartsAndEquipment :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "electrical_services"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumElectricalServices :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "electronics_repair_shops"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumElectronicsRepairShops :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "electronics_stores"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumElectronicsStores :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "elementary_secondary_schools"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumElementarySecondarySchools :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "employment_temp_agencies"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumEmploymentTempAgencies :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "equipment_rental"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumEquipmentRental :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "exterminating_services"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumExterminatingServices :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "family_clothing_stores"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumFamilyClothingStores :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "fast_food_restaurants"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumFastFoodRestaurants :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "financial_institutions"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumFinancialInstitutions :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "fines_government_administrative_entities"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumFinesGovernmentAdministrativeEntities :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "fireplace_fireplace_screens_and_accessories_stores"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumFireplaceFireplaceScreensAndAccessoriesStores :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "floor_covering_stores"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumFloorCoveringStores :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "florists"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumFlorists :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "florists_supplies_nursery_stock_and_flowers"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumFloristsSuppliesNurseryStockAndFlowers :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "freezer_and_locker_meat_provisioners"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumFreezerAndLockerMeatProvisioners :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "fuel_dealers_non_automotive"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumFuelDealersNonAutomotive :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "funeral_services_crematories"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumFuneralServicesCrematories :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "furniture_home_furnishings_and_equipment_stores_except_appliances"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumFurnitureHomeFurnishingsAndEquipmentStoresExceptAppliances :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "furniture_repair_refinishing"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumFurnitureRepairRefinishing :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "furriers_and_fur_shops"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumFurriersAndFurShops :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "general_services"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumGeneralServices :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "gift_card_novelty_and_souvenir_shops"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumGiftCardNoveltyAndSouvenirShops :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "glass_paint_and_wallpaper_stores"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumGlassPaintAndWallpaperStores :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "glassware_crystal_stores"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumGlasswareCrystalStores :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "golf_courses_public"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumGolfCoursesPublic :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "government_services"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumGovernmentServices :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "grocery_stores_supermarkets"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumGroceryStoresSupermarkets :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "hardware_equipment_and_supplies"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumHardwareEquipmentAndSupplies :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "hardware_stores"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumHardwareStores :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "health_and_beauty_spas"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumHealthAndBeautySpas :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "hearing_aids_sales_and_supplies"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumHearingAidsSalesAndSupplies :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "heating_plumbing_a_c"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumHeatingPlumbingAC :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "hobby_toy_and_game_shops"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumHobbyToyAndGameShops :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "home_supply_warehouse_stores"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumHomeSupplyWarehouseStores :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "hospitals"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumHospitals :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "hotels_motels_and_resorts"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumHotelsMotelsAndResorts :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "household_appliance_stores"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumHouseholdApplianceStores :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "industrial_supplies"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumIndustrialSupplies :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "information_retrieval_services"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumInformationRetrievalServices :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "insurance_default"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumInsuranceDefault :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "insurance_underwriting_premiums"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumInsuranceUnderwritingPremiums :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "intra_company_purchases"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumIntraCompanyPurchases :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "jewelry_stores_watches_clocks_and_silverware_stores"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumJewelryStoresWatchesClocksAndSilverwareStores :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "landscaping_services"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumLandscapingServices :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "laundries"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumLaundries :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "laundry_cleaning_services"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumLaundryCleaningServices :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "legal_services_attorneys"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumLegalServicesAttorneys :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "luggage_and_leather_goods_stores"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumLuggageAndLeatherGoodsStores :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "lumber_building_materials_stores"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumLumberBuildingMaterialsStores :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "manual_cash_disburse"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumManualCashDisburse :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "marinas_service_and_supplies"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumMarinasServiceAndSupplies :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "masonry_stonework_and_plaster"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumMasonryStoneworkAndPlaster :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "massage_parlors"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumMassageParlors :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "medical_and_dental_labs"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumMedicalAndDentalLabs :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "medical_dental_ophthalmic_and_hospital_equipment_and_supplies"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumMedicalDentalOphthalmicAndHospitalEquipmentAndSupplies :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "medical_services"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumMedicalServices :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "membership_organizations"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumMembershipOrganizations :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "mens_and_boys_clothing_and_accessories_stores"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumMensAndBoysClothingAndAccessoriesStores :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "mens_womens_clothing_stores"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumMensWomensClothingStores :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "metal_service_centers"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumMetalServiceCenters :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "miscellaneous"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumMiscellaneous :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "miscellaneous_apparel_and_accessory_shops"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumMiscellaneousApparelAndAccessoryShops :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "miscellaneous_auto_dealers"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumMiscellaneousAutoDealers :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "miscellaneous_business_services"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumMiscellaneousBusinessServices :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "miscellaneous_food_stores"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumMiscellaneousFoodStores :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "miscellaneous_general_merchandise"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumMiscellaneousGeneralMerchandise :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "miscellaneous_general_services"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumMiscellaneousGeneralServices :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "miscellaneous_home_furnishing_specialty_stores"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumMiscellaneousHomeFurnishingSpecialtyStores :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "miscellaneous_publishing_and_printing"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumMiscellaneousPublishingAndPrinting :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "miscellaneous_recreation_services"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumMiscellaneousRecreationServices :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "miscellaneous_repair_shops"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumMiscellaneousRepairShops :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "miscellaneous_specialty_retail"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumMiscellaneousSpecialtyRetail :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "mobile_home_dealers"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumMobileHomeDealers :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "motion_picture_theaters"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumMotionPictureTheaters :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "motor_freight_carriers_and_trucking"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumMotorFreightCarriersAndTrucking :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "motor_homes_dealers"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumMotorHomesDealers :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "motor_vehicle_supplies_and_new_parts"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumMotorVehicleSuppliesAndNewParts :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "motorcycle_shops_and_dealers"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumMotorcycleShopsAndDealers :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "motorcycle_shops_dealers"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumMotorcycleShopsDealers :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "music_stores_musical_instruments_pianos_and_sheet_music"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumMusicStoresMusicalInstrumentsPianosAndSheetMusic :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "news_dealers_and_newsstands"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumNewsDealersAndNewsstands :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "non_fi_money_orders"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumNonFiMoneyOrders :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "non_fi_stored_value_card_purchase_load"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumNonFiStoredValueCardPurchaseLoad :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "nondurable_goods"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumNondurableGoods :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "nurseries_lawn_and_garden_supply_stores"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumNurseriesLawnAndGardenSupplyStores :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "nursing_personal_care"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumNursingPersonalCare :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "office_and_commercial_furniture"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumOfficeAndCommercialFurniture :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "opticians_eyeglasses"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumOpticiansEyeglasses :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "optometrists_ophthalmologist"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumOptometristsOphthalmologist :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "orthopedic_goods_prosthetic_devices"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumOrthopedicGoodsProstheticDevices :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "osteopaths"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumOsteopaths :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "package_stores_beer_wine_and_liquor"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumPackageStoresBeerWineAndLiquor :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "paints_varnishes_and_supplies"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumPaintsVarnishesAndSupplies :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "parking_lots_garages"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumParkingLotsGarages :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "passenger_railways"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumPassengerRailways :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "pawn_shops"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumPawnShops :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "pet_shops_pet_food_and_supplies"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumPetShopsPetFoodAndSupplies :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "petroleum_and_petroleum_products"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumPetroleumAndPetroleumProducts :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "photo_developing"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumPhotoDeveloping :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "photographic_photocopy_microfilm_equipment_and_supplies"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumPhotographicPhotocopyMicrofilmEquipmentAndSupplies :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "photographic_studios"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumPhotographicStudios :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "picture_video_production"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumPictureVideoProduction :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "piece_goods_notions_and_other_dry_goods"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumPieceGoodsNotionsAndOtherDryGoods :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "plumbing_heating_equipment_and_supplies"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumPlumbingHeatingEquipmentAndSupplies :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "political_organizations"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumPoliticalOrganizations :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "postal_services_government_only"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumPostalServicesGovernmentOnly :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "precious_stones_and_metals_watches_and_jewelry"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumPreciousStonesAndMetalsWatchesAndJewelry :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "professional_services"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumProfessionalServices :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "public_warehousing_and_storage"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumPublicWarehousingAndStorage :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "quick_copy_repro_and_blueprint"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumQuickCopyReproAndBlueprint :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "railroads"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumRailroads :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "real_estate_agents_and_managers_rentals"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumRealEstateAgentsAndManagersRentals :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "record_stores"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumRecordStores :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "recreational_vehicle_rentals"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumRecreationalVehicleRentals :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "religious_goods_stores"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumReligiousGoodsStores :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "religious_organizations"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumReligiousOrganizations :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "roofing_siding_sheet_metal"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumRoofingSidingSheetMetal :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "secretarial_support_services"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumSecretarialSupportServices :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "security_brokers_dealers"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumSecurityBrokersDealers :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "service_stations"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumServiceStations :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "sewing_needlework_fabric_and_piece_goods_stores"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumSewingNeedleworkFabricAndPieceGoodsStores :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "shoe_repair_hat_cleaning"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumShoeRepairHatCleaning :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "shoe_stores"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumShoeStores :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "small_appliance_repair"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumSmallApplianceRepair :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "snowmobile_dealers"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumSnowmobileDealers :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "special_trade_services"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumSpecialTradeServices :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "specialty_cleaning"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumSpecialtyCleaning :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "sporting_goods_stores"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumSportingGoodsStores :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "sporting_recreation_camps"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumSportingRecreationCamps :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "sports_and_riding_apparel_stores"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumSportsAndRidingApparelStores :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "sports_clubs_fields"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumSportsClubsFields :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "stamp_and_coin_stores"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumStampAndCoinStores :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "stationary_office_supplies_printing_and_writing_paper"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumStationaryOfficeSuppliesPrintingAndWritingPaper :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "stationery_stores_office_and_school_supply_stores"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumStationeryStoresOfficeAndSchoolSupplyStores :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "swimming_pools_sales"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumSwimmingPoolsSales :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "t_ui_travel_germany"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumTUiTravelGermany :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "tailors_alterations"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumTailorsAlterations :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "tax_payments_government_agencies"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumTaxPaymentsGovernmentAgencies :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "tax_preparation_services"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumTaxPreparationServices :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "taxicabs_limousines"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumTaxicabsLimousines :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "telecommunication_equipment_and_telephone_sales"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumTelecommunicationEquipmentAndTelephoneSales :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "telecommunication_services"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumTelecommunicationServices :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "telegraph_services"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumTelegraphServices :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "tent_and_awning_shops"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumTentAndAwningShops :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "testing_laboratories"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumTestingLaboratories :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "theatrical_ticket_agencies"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumTheatricalTicketAgencies :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "timeshares"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumTimeshares :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "tire_retreading_and_repair"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumTireRetreadingAndRepair :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "tolls_bridge_fees"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumTollsBridgeFees :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "tourist_attractions_and_exhibits"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumTouristAttractionsAndExhibits :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "towing_services"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumTowingServices :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "trailer_parks_campgrounds"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumTrailerParksCampgrounds :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "transportation_services"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumTransportationServices :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "travel_agencies_tour_operators"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumTravelAgenciesTourOperators :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "truck_stop_iteration"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumTruckStopIteration :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "truck_utility_trailer_rentals"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumTruckUtilityTrailerRentals :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "typesetting_plate_making_and_related_services"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumTypesettingPlateMakingAndRelatedServices :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "typewriter_stores"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumTypewriterStores :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "u_s_federal_government_agencies_or_departments"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumUSFederalGovernmentAgenciesOrDepartments :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "uniforms_commercial_clothing"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumUniformsCommercialClothing :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "used_merchandise_and_secondhand_stores"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumUsedMerchandiseAndSecondhandStores :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "utilities"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumUtilities :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "variety_stores"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumVarietyStores :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "veterinary_services"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumVeterinaryServices :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "video_amusement_game_supplies"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumVideoAmusementGameSupplies :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "video_game_arcades"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumVideoGameArcades :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "video_tape_rental_stores"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumVideoTapeRentalStores :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "vocational_trade_schools"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumVocationalTradeSchools :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "watch_jewelry_repair"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumWatchJewelryRepair :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "welding_repair"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumWeldingRepair :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "wholesale_clubs"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumWholesaleClubs :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "wig_and_toupee_stores"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumWigAndToupeeStores :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "wires_money_orders"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumWiresMoneyOrders :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "womens_accessory_and_specialty_shops"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumWomensAccessoryAndSpecialtyShops :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "womens_ready_to_wear_stores"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumWomensReadyToWearStores :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "wrecking_and_salvage_yards"
PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'EnumWreckingAndSalvageYards :: PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
-- | Defines the object schema located at
-- paths./v1/issuing/cards/{card}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.spending_controls.properties.spending_limits.items
-- in the specification.
data PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits' :: Int -> Maybe [PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'] -> PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Interval' -> PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'
-- | amount
[postIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Amount] :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits' -> Int
-- | categories
[postIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories] :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits' -> Maybe [PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories']
-- | interval
[postIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Interval] :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits' -> PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Interval'
-- | Create a new
-- PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'
-- with all required fields.
mkPostIssuingCardsCardRequestBodySpendingControls'SpendingLimits' :: Int -> PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Interval' -> PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'
-- | Defines the enum schema located at
-- paths./v1/issuing/cards/{card}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.spending_controls.properties.spending_limits.items.properties.categories.items
-- in the specification.
data PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'Other :: Value -> PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'Typed :: Text -> PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "ac_refrigeration_repair"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumAcRefrigerationRepair :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "accounting_bookkeeping_services"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumAccountingBookkeepingServices :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "advertising_services"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumAdvertisingServices :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "agricultural_cooperative"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumAgriculturalCooperative :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "airlines_air_carriers"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumAirlinesAirCarriers :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "airports_flying_fields"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumAirportsFlyingFields :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "ambulance_services"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumAmbulanceServices :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "amusement_parks_carnivals"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumAmusementParksCarnivals :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "antique_reproductions"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumAntiqueReproductions :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "antique_shops"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumAntiqueShops :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "aquariums"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumAquariums :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "architectural_surveying_services"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumArchitecturalSurveyingServices :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "art_dealers_and_galleries"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumArtDealersAndGalleries :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "artists_supply_and_craft_shops"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumArtistsSupplyAndCraftShops :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "auto_and_home_supply_stores"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumAutoAndHomeSupplyStores :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "auto_body_repair_shops"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumAutoBodyRepairShops :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "auto_paint_shops"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumAutoPaintShops :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "auto_service_shops"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumAutoServiceShops :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "automated_cash_disburse"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumAutomatedCashDisburse :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "automated_fuel_dispensers"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumAutomatedFuelDispensers :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "automobile_associations"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumAutomobileAssociations :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "automotive_parts_and_accessories_stores"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumAutomotivePartsAndAccessoriesStores :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "automotive_tire_stores"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumAutomotiveTireStores :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "bail_and_bond_payments"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumBailAndBondPayments :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "bakeries"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumBakeries :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "bands_orchestras"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumBandsOrchestras :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "barber_and_beauty_shops"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumBarberAndBeautyShops :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "betting_casino_gambling"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumBettingCasinoGambling :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "bicycle_shops"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumBicycleShops :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "billiard_pool_establishments"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumBilliardPoolEstablishments :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "boat_dealers"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumBoatDealers :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "boat_rentals_and_leases"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumBoatRentalsAndLeases :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "book_stores"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumBookStores :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "books_periodicals_and_newspapers"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumBooksPeriodicalsAndNewspapers :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "bowling_alleys"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumBowlingAlleys :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "bus_lines"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumBusLines :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "business_secretarial_schools"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumBusinessSecretarialSchools :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "buying_shopping_services"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumBuyingShoppingServices :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "cable_satellite_and_other_pay_television_and_radio"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumCableSatelliteAndOtherPayTelevisionAndRadio :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "camera_and_photographic_supply_stores"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumCameraAndPhotographicSupplyStores :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "candy_nut_and_confectionery_stores"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumCandyNutAndConfectioneryStores :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "car_and_truck_dealers_new_used"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumCarAndTruckDealersNewUsed :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "car_and_truck_dealers_used_only"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumCarAndTruckDealersUsedOnly :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "car_rental_agencies"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumCarRentalAgencies :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "car_washes"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumCarWashes :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "carpentry_services"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumCarpentryServices :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "carpet_upholstery_cleaning"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumCarpetUpholsteryCleaning :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "caterers"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumCaterers :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "charitable_and_social_service_organizations_fundraising"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumCharitableAndSocialServiceOrganizationsFundraising :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "chemicals_and_allied_products"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumChemicalsAndAlliedProducts :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "child_care_services"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumChildCareServices :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "childrens_and_infants_wear_stores"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumChildrensAndInfantsWearStores :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "chiropodists_podiatrists"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumChiropodistsPodiatrists :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "chiropractors"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumChiropractors :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "cigar_stores_and_stands"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumCigarStoresAndStands :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "civic_social_fraternal_associations"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumCivicSocialFraternalAssociations :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "cleaning_and_maintenance"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumCleaningAndMaintenance :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "clothing_rental"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumClothingRental :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "colleges_universities"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumCollegesUniversities :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "commercial_equipment"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumCommercialEquipment :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "commercial_footwear"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumCommercialFootwear :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "commercial_photography_art_and_graphics"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumCommercialPhotographyArtAndGraphics :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "commuter_transport_and_ferries"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumCommuterTransportAndFerries :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "computer_network_services"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumComputerNetworkServices :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "computer_programming"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumComputerProgramming :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "computer_repair"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumComputerRepair :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "computer_software_stores"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumComputerSoftwareStores :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "computers_peripherals_and_software"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumComputersPeripheralsAndSoftware :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "concrete_work_services"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumConcreteWorkServices :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "construction_materials"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumConstructionMaterials :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "consulting_public_relations"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumConsultingPublicRelations :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "correspondence_schools"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumCorrespondenceSchools :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "cosmetic_stores"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumCosmeticStores :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "counseling_services"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumCounselingServices :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "country_clubs"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumCountryClubs :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "courier_services"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumCourierServices :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "court_costs"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumCourtCosts :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "credit_reporting_agencies"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumCreditReportingAgencies :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "cruise_lines"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumCruiseLines :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "dairy_products_stores"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumDairyProductsStores :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "dance_hall_studios_schools"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumDanceHallStudiosSchools :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "dating_escort_services"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumDatingEscortServices :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "dentists_orthodontists"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumDentistsOrthodontists :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "department_stores"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumDepartmentStores :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "detective_agencies"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumDetectiveAgencies :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "digital_goods_applications"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumDigitalGoodsApplications :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "digital_goods_games"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumDigitalGoodsGames :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "digital_goods_large_volume"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumDigitalGoodsLargeVolume :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "digital_goods_media"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumDigitalGoodsMedia :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "direct_marketing_catalog_merchant"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumDirectMarketingCatalogMerchant :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "direct_marketing_combination_catalog_and_retail_merchant"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumDirectMarketingCombinationCatalogAndRetailMerchant :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "direct_marketing_inbound_telemarketing"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumDirectMarketingInboundTelemarketing :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "direct_marketing_insurance_services"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumDirectMarketingInsuranceServices :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "direct_marketing_other"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumDirectMarketingOther :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "direct_marketing_outbound_telemarketing"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumDirectMarketingOutboundTelemarketing :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "direct_marketing_subscription"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumDirectMarketingSubscription :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "direct_marketing_travel"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumDirectMarketingTravel :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "discount_stores"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumDiscountStores :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "doctors"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumDoctors :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "door_to_door_sales"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumDoorToDoorSales :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "drapery_window_covering_and_upholstery_stores"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumDraperyWindowCoveringAndUpholsteryStores :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "drinking_places"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumDrinkingPlaces :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "drug_stores_and_pharmacies"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumDrugStoresAndPharmacies :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "drugs_drug_proprietaries_and_druggist_sundries"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumDrugsDrugProprietariesAndDruggistSundries :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "dry_cleaners"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumDryCleaners :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "durable_goods"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumDurableGoods :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "duty_free_stores"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumDutyFreeStores :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "eating_places_restaurants"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumEatingPlacesRestaurants :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "educational_services"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumEducationalServices :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "electric_razor_stores"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumElectricRazorStores :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "electrical_parts_and_equipment"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumElectricalPartsAndEquipment :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "electrical_services"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumElectricalServices :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "electronics_repair_shops"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumElectronicsRepairShops :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "electronics_stores"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumElectronicsStores :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "elementary_secondary_schools"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumElementarySecondarySchools :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "employment_temp_agencies"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumEmploymentTempAgencies :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "equipment_rental"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumEquipmentRental :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "exterminating_services"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumExterminatingServices :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "family_clothing_stores"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumFamilyClothingStores :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "fast_food_restaurants"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumFastFoodRestaurants :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "financial_institutions"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumFinancialInstitutions :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "fines_government_administrative_entities"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumFinesGovernmentAdministrativeEntities :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "fireplace_fireplace_screens_and_accessories_stores"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumFireplaceFireplaceScreensAndAccessoriesStores :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "floor_covering_stores"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumFloorCoveringStores :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "florists"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumFlorists :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "florists_supplies_nursery_stock_and_flowers"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumFloristsSuppliesNurseryStockAndFlowers :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "freezer_and_locker_meat_provisioners"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumFreezerAndLockerMeatProvisioners :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "fuel_dealers_non_automotive"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumFuelDealersNonAutomotive :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "funeral_services_crematories"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumFuneralServicesCrematories :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "furniture_home_furnishings_and_equipment_stores_except_appliances"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumFurnitureHomeFurnishingsAndEquipmentStoresExceptAppliances :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "furniture_repair_refinishing"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumFurnitureRepairRefinishing :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "furriers_and_fur_shops"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumFurriersAndFurShops :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "general_services"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumGeneralServices :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "gift_card_novelty_and_souvenir_shops"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumGiftCardNoveltyAndSouvenirShops :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "glass_paint_and_wallpaper_stores"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumGlassPaintAndWallpaperStores :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "glassware_crystal_stores"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumGlasswareCrystalStores :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "golf_courses_public"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumGolfCoursesPublic :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "government_services"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumGovernmentServices :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "grocery_stores_supermarkets"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumGroceryStoresSupermarkets :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "hardware_equipment_and_supplies"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumHardwareEquipmentAndSupplies :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "hardware_stores"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumHardwareStores :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "health_and_beauty_spas"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumHealthAndBeautySpas :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "hearing_aids_sales_and_supplies"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumHearingAidsSalesAndSupplies :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "heating_plumbing_a_c"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumHeatingPlumbingAC :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "hobby_toy_and_game_shops"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumHobbyToyAndGameShops :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "home_supply_warehouse_stores"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumHomeSupplyWarehouseStores :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "hospitals"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumHospitals :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "hotels_motels_and_resorts"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumHotelsMotelsAndResorts :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "household_appliance_stores"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumHouseholdApplianceStores :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "industrial_supplies"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumIndustrialSupplies :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "information_retrieval_services"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumInformationRetrievalServices :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "insurance_default"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumInsuranceDefault :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "insurance_underwriting_premiums"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumInsuranceUnderwritingPremiums :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "intra_company_purchases"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumIntraCompanyPurchases :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "jewelry_stores_watches_clocks_and_silverware_stores"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumJewelryStoresWatchesClocksAndSilverwareStores :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "landscaping_services"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumLandscapingServices :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "laundries"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumLaundries :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "laundry_cleaning_services"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumLaundryCleaningServices :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "legal_services_attorneys"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumLegalServicesAttorneys :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "luggage_and_leather_goods_stores"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumLuggageAndLeatherGoodsStores :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "lumber_building_materials_stores"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumLumberBuildingMaterialsStores :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "manual_cash_disburse"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumManualCashDisburse :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "marinas_service_and_supplies"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumMarinasServiceAndSupplies :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "masonry_stonework_and_plaster"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumMasonryStoneworkAndPlaster :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "massage_parlors"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumMassageParlors :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "medical_and_dental_labs"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumMedicalAndDentalLabs :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "medical_dental_ophthalmic_and_hospital_equipment_and_supplies"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumMedicalDentalOphthalmicAndHospitalEquipmentAndSupplies :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "medical_services"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumMedicalServices :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "membership_organizations"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumMembershipOrganizations :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "mens_and_boys_clothing_and_accessories_stores"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumMensAndBoysClothingAndAccessoriesStores :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "mens_womens_clothing_stores"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumMensWomensClothingStores :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "metal_service_centers"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumMetalServiceCenters :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "miscellaneous"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumMiscellaneous :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "miscellaneous_apparel_and_accessory_shops"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumMiscellaneousApparelAndAccessoryShops :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "miscellaneous_auto_dealers"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumMiscellaneousAutoDealers :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "miscellaneous_business_services"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumMiscellaneousBusinessServices :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "miscellaneous_food_stores"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumMiscellaneousFoodStores :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "miscellaneous_general_merchandise"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumMiscellaneousGeneralMerchandise :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "miscellaneous_general_services"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumMiscellaneousGeneralServices :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "miscellaneous_home_furnishing_specialty_stores"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumMiscellaneousHomeFurnishingSpecialtyStores :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "miscellaneous_publishing_and_printing"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumMiscellaneousPublishingAndPrinting :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "miscellaneous_recreation_services"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumMiscellaneousRecreationServices :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "miscellaneous_repair_shops"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumMiscellaneousRepairShops :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "miscellaneous_specialty_retail"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumMiscellaneousSpecialtyRetail :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "mobile_home_dealers"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumMobileHomeDealers :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "motion_picture_theaters"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumMotionPictureTheaters :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "motor_freight_carriers_and_trucking"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumMotorFreightCarriersAndTrucking :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "motor_homes_dealers"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumMotorHomesDealers :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "motor_vehicle_supplies_and_new_parts"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumMotorVehicleSuppliesAndNewParts :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "motorcycle_shops_and_dealers"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumMotorcycleShopsAndDealers :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "motorcycle_shops_dealers"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumMotorcycleShopsDealers :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "music_stores_musical_instruments_pianos_and_sheet_music"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumMusicStoresMusicalInstrumentsPianosAndSheetMusic :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "news_dealers_and_newsstands"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumNewsDealersAndNewsstands :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "non_fi_money_orders"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumNonFiMoneyOrders :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "non_fi_stored_value_card_purchase_load"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumNonFiStoredValueCardPurchaseLoad :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "nondurable_goods"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumNondurableGoods :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "nurseries_lawn_and_garden_supply_stores"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumNurseriesLawnAndGardenSupplyStores :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "nursing_personal_care"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumNursingPersonalCare :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "office_and_commercial_furniture"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumOfficeAndCommercialFurniture :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "opticians_eyeglasses"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumOpticiansEyeglasses :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "optometrists_ophthalmologist"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumOptometristsOphthalmologist :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "orthopedic_goods_prosthetic_devices"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumOrthopedicGoodsProstheticDevices :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "osteopaths"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumOsteopaths :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "package_stores_beer_wine_and_liquor"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumPackageStoresBeerWineAndLiquor :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "paints_varnishes_and_supplies"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumPaintsVarnishesAndSupplies :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "parking_lots_garages"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumParkingLotsGarages :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "passenger_railways"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumPassengerRailways :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "pawn_shops"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumPawnShops :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "pet_shops_pet_food_and_supplies"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumPetShopsPetFoodAndSupplies :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "petroleum_and_petroleum_products"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumPetroleumAndPetroleumProducts :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "photo_developing"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumPhotoDeveloping :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "photographic_photocopy_microfilm_equipment_and_supplies"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumPhotographicPhotocopyMicrofilmEquipmentAndSupplies :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "photographic_studios"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumPhotographicStudios :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "picture_video_production"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumPictureVideoProduction :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "piece_goods_notions_and_other_dry_goods"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumPieceGoodsNotionsAndOtherDryGoods :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "plumbing_heating_equipment_and_supplies"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumPlumbingHeatingEquipmentAndSupplies :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "political_organizations"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumPoliticalOrganizations :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "postal_services_government_only"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumPostalServicesGovernmentOnly :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "precious_stones_and_metals_watches_and_jewelry"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumPreciousStonesAndMetalsWatchesAndJewelry :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "professional_services"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumProfessionalServices :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "public_warehousing_and_storage"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumPublicWarehousingAndStorage :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "quick_copy_repro_and_blueprint"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumQuickCopyReproAndBlueprint :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "railroads"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumRailroads :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "real_estate_agents_and_managers_rentals"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumRealEstateAgentsAndManagersRentals :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "record_stores"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumRecordStores :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "recreational_vehicle_rentals"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumRecreationalVehicleRentals :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "religious_goods_stores"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumReligiousGoodsStores :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "religious_organizations"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumReligiousOrganizations :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "roofing_siding_sheet_metal"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumRoofingSidingSheetMetal :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "secretarial_support_services"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumSecretarialSupportServices :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "security_brokers_dealers"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumSecurityBrokersDealers :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "service_stations"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumServiceStations :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "sewing_needlework_fabric_and_piece_goods_stores"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumSewingNeedleworkFabricAndPieceGoodsStores :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "shoe_repair_hat_cleaning"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumShoeRepairHatCleaning :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "shoe_stores"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumShoeStores :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "small_appliance_repair"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumSmallApplianceRepair :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "snowmobile_dealers"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumSnowmobileDealers :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "special_trade_services"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumSpecialTradeServices :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "specialty_cleaning"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumSpecialtyCleaning :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "sporting_goods_stores"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumSportingGoodsStores :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "sporting_recreation_camps"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumSportingRecreationCamps :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "sports_and_riding_apparel_stores"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumSportsAndRidingApparelStores :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "sports_clubs_fields"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumSportsClubsFields :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "stamp_and_coin_stores"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumStampAndCoinStores :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "stationary_office_supplies_printing_and_writing_paper"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumStationaryOfficeSuppliesPrintingAndWritingPaper :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "stationery_stores_office_and_school_supply_stores"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumStationeryStoresOfficeAndSchoolSupplyStores :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "swimming_pools_sales"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumSwimmingPoolsSales :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "t_ui_travel_germany"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumTUiTravelGermany :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "tailors_alterations"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumTailorsAlterations :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "tax_payments_government_agencies"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumTaxPaymentsGovernmentAgencies :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "tax_preparation_services"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumTaxPreparationServices :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "taxicabs_limousines"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumTaxicabsLimousines :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "telecommunication_equipment_and_telephone_sales"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumTelecommunicationEquipmentAndTelephoneSales :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "telecommunication_services"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumTelecommunicationServices :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "telegraph_services"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumTelegraphServices :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "tent_and_awning_shops"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumTentAndAwningShops :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "testing_laboratories"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumTestingLaboratories :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "theatrical_ticket_agencies"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumTheatricalTicketAgencies :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "timeshares"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumTimeshares :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "tire_retreading_and_repair"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumTireRetreadingAndRepair :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "tolls_bridge_fees"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumTollsBridgeFees :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "tourist_attractions_and_exhibits"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumTouristAttractionsAndExhibits :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "towing_services"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumTowingServices :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "trailer_parks_campgrounds"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumTrailerParksCampgrounds :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "transportation_services"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumTransportationServices :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "travel_agencies_tour_operators"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumTravelAgenciesTourOperators :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "truck_stop_iteration"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumTruckStopIteration :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "truck_utility_trailer_rentals"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumTruckUtilityTrailerRentals :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "typesetting_plate_making_and_related_services"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumTypesettingPlateMakingAndRelatedServices :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "typewriter_stores"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumTypewriterStores :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "u_s_federal_government_agencies_or_departments"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumUSFederalGovernmentAgenciesOrDepartments :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "uniforms_commercial_clothing"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumUniformsCommercialClothing :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "used_merchandise_and_secondhand_stores"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumUsedMerchandiseAndSecondhandStores :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "utilities"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumUtilities :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "variety_stores"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumVarietyStores :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "veterinary_services"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumVeterinaryServices :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "video_amusement_game_supplies"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumVideoAmusementGameSupplies :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "video_game_arcades"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumVideoGameArcades :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "video_tape_rental_stores"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumVideoTapeRentalStores :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "vocational_trade_schools"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumVocationalTradeSchools :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "watch_jewelry_repair"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumWatchJewelryRepair :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "welding_repair"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumWeldingRepair :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "wholesale_clubs"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumWholesaleClubs :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "wig_and_toupee_stores"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumWigAndToupeeStores :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "wires_money_orders"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumWiresMoneyOrders :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "womens_accessory_and_specialty_shops"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumWomensAccessoryAndSpecialtyShops :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "womens_ready_to_wear_stores"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumWomensReadyToWearStores :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "wrecking_and_salvage_yards"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'EnumWreckingAndSalvageYards :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
-- | Defines the enum schema located at
-- paths./v1/issuing/cards/{card}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.spending_controls.properties.spending_limits.items.properties.interval
-- in the specification.
data PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Interval'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Interval'Other :: Value -> PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Interval'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Interval'Typed :: Text -> PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Interval'
-- | Represents the JSON value "all_time"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Interval'EnumAllTime :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Interval'
-- | Represents the JSON value "daily"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Interval'EnumDaily :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Interval'
-- | Represents the JSON value "monthly"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Interval'EnumMonthly :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Interval'
-- | Represents the JSON value "per_authorization"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Interval'EnumPerAuthorization :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Interval'
-- | Represents the JSON value "weekly"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Interval'EnumWeekly :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Interval'
-- | Represents the JSON value "yearly"
PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Interval'EnumYearly :: PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Interval'
-- | Defines the enum schema located at
-- paths./v1/issuing/cards/{card}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.status
-- in the specification.
--
-- Dictates whether authorizations can be approved on this card. If this
-- card is being canceled because it was lost or stolen, this information
-- should be provided as `cancellation_reason`.
data PostIssuingCardsCardRequestBodyStatus'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostIssuingCardsCardRequestBodyStatus'Other :: Value -> PostIssuingCardsCardRequestBodyStatus'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostIssuingCardsCardRequestBodyStatus'Typed :: Text -> PostIssuingCardsCardRequestBodyStatus'
-- | Represents the JSON value "active"
PostIssuingCardsCardRequestBodyStatus'EnumActive :: PostIssuingCardsCardRequestBodyStatus'
-- | Represents the JSON value "canceled"
PostIssuingCardsCardRequestBodyStatus'EnumCanceled :: PostIssuingCardsCardRequestBodyStatus'
-- | Represents the JSON value "inactive"
PostIssuingCardsCardRequestBodyStatus'EnumInactive :: PostIssuingCardsCardRequestBodyStatus'
-- | Represents a response of the operation postIssuingCardsCard.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostIssuingCardsCardResponseError is
-- used.
data PostIssuingCardsCardResponse
-- | Means either no matching case available or a parse error
PostIssuingCardsCardResponseError :: String -> PostIssuingCardsCardResponse
-- | Successful response.
PostIssuingCardsCardResponse200 :: Issuing'card -> PostIssuingCardsCardResponse
-- | Error response.
PostIssuingCardsCardResponseDefault :: Error -> PostIssuingCardsCardResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingCardsCard.PostIssuingCardsCardRequestBodyCancellationReason'
instance GHC.Show.Show StripeAPI.Operations.PostIssuingCardsCard.PostIssuingCardsCardRequestBodyCancellationReason'
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingCardsCard.PostIssuingCardsCardRequestBodyMetadata'Variants
instance GHC.Show.Show StripeAPI.Operations.PostIssuingCardsCard.PostIssuingCardsCardRequestBodyMetadata'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingCardsCard.PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
instance GHC.Show.Show StripeAPI.Operations.PostIssuingCardsCard.PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingCardsCard.PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
instance GHC.Show.Show StripeAPI.Operations.PostIssuingCardsCard.PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingCardsCard.PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
instance GHC.Show.Show StripeAPI.Operations.PostIssuingCardsCard.PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingCardsCard.PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Interval'
instance GHC.Show.Show StripeAPI.Operations.PostIssuingCardsCard.PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Interval'
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingCardsCard.PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'
instance GHC.Show.Show StripeAPI.Operations.PostIssuingCardsCard.PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingCardsCard.PostIssuingCardsCardRequestBodySpendingControls'
instance GHC.Show.Show StripeAPI.Operations.PostIssuingCardsCard.PostIssuingCardsCardRequestBodySpendingControls'
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingCardsCard.PostIssuingCardsCardRequestBodyStatus'
instance GHC.Show.Show StripeAPI.Operations.PostIssuingCardsCard.PostIssuingCardsCardRequestBodyStatus'
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingCardsCard.PostIssuingCardsCardRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostIssuingCardsCard.PostIssuingCardsCardRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingCardsCard.PostIssuingCardsCardResponse
instance GHC.Show.Show StripeAPI.Operations.PostIssuingCardsCard.PostIssuingCardsCardResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingCardsCard.PostIssuingCardsCardRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingCardsCard.PostIssuingCardsCardRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingCardsCard.PostIssuingCardsCardRequestBodyStatus'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingCardsCard.PostIssuingCardsCardRequestBodyStatus'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingCardsCard.PostIssuingCardsCardRequestBodySpendingControls'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingCardsCard.PostIssuingCardsCardRequestBodySpendingControls'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingCardsCard.PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingCardsCard.PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingCardsCard.PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Interval'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingCardsCard.PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Interval'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingCardsCard.PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingCardsCard.PostIssuingCardsCardRequestBodySpendingControls'SpendingLimits'Categories'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingCardsCard.PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingCardsCard.PostIssuingCardsCardRequestBodySpendingControls'BlockedCategories'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingCardsCard.PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingCardsCard.PostIssuingCardsCardRequestBodySpendingControls'AllowedCategories'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingCardsCard.PostIssuingCardsCardRequestBodyMetadata'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingCardsCard.PostIssuingCardsCardRequestBodyMetadata'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingCardsCard.PostIssuingCardsCardRequestBodyCancellationReason'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingCardsCard.PostIssuingCardsCardRequestBodyCancellationReason'
-- | Contains the different functions to run the operation postIssuingCards
module StripeAPI.Operations.PostIssuingCards
-- |
-- POST /v1/issuing/cards
--
--
-- <p>Creates an Issuing <code>Card</code>
-- object.</p>
postIssuingCards :: forall m. MonadHTTP m => PostIssuingCardsRequestBody -> ClientT m (Response PostIssuingCardsResponse)
-- | Defines the object schema located at
-- paths./v1/issuing/cards.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostIssuingCardsRequestBody
PostIssuingCardsRequestBody :: Maybe Text -> Text -> Maybe [Text] -> Maybe Object -> Maybe Text -> Maybe PostIssuingCardsRequestBodyReplacementReason' -> Maybe PostIssuingCardsRequestBodyShipping' -> Maybe PostIssuingCardsRequestBodySpendingControls' -> Maybe PostIssuingCardsRequestBodyStatus' -> PostIssuingCardsRequestBodyType' -> PostIssuingCardsRequestBody
-- | cardholder: The Cardholder object with which the card will be
-- associated.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postIssuingCardsRequestBodyCardholder] :: PostIssuingCardsRequestBody -> Maybe Text
-- | currency: The currency for the card.
[postIssuingCardsRequestBodyCurrency] :: PostIssuingCardsRequestBody -> Text
-- | expand: Specifies which fields in the response should be expanded.
[postIssuingCardsRequestBodyExpand] :: PostIssuingCardsRequestBody -> Maybe [Text]
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postIssuingCardsRequestBodyMetadata] :: PostIssuingCardsRequestBody -> Maybe Object
-- | replacement_for: The card this is meant to be a replacement for (if
-- any).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postIssuingCardsRequestBodyReplacementFor] :: PostIssuingCardsRequestBody -> Maybe Text
-- | replacement_reason: If `replacement_for` is specified, this should
-- indicate why that card is being replaced.
[postIssuingCardsRequestBodyReplacementReason] :: PostIssuingCardsRequestBody -> Maybe PostIssuingCardsRequestBodyReplacementReason'
-- | shipping: The address where the card will be shipped.
[postIssuingCardsRequestBodyShipping] :: PostIssuingCardsRequestBody -> Maybe PostIssuingCardsRequestBodyShipping'
-- | spending_controls: Rules that control spending for this card. Refer to
-- our documentation for more details.
[postIssuingCardsRequestBodySpendingControls] :: PostIssuingCardsRequestBody -> Maybe PostIssuingCardsRequestBodySpendingControls'
-- | status: Whether authorizations can be approved on this card. Defaults
-- to `inactive`.
[postIssuingCardsRequestBodyStatus] :: PostIssuingCardsRequestBody -> Maybe PostIssuingCardsRequestBodyStatus'
-- | type: The type of card to issue. Possible values are `physical` or
-- `virtual`.
[postIssuingCardsRequestBodyType] :: PostIssuingCardsRequestBody -> PostIssuingCardsRequestBodyType'
-- | Create a new PostIssuingCardsRequestBody with all required
-- fields.
mkPostIssuingCardsRequestBody :: Text -> PostIssuingCardsRequestBodyType' -> PostIssuingCardsRequestBody
-- | Defines the enum schema located at
-- paths./v1/issuing/cards.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.replacement_reason
-- in the specification.
--
-- If `replacement_for` is specified, this should indicate why that card
-- is being replaced.
data PostIssuingCardsRequestBodyReplacementReason'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostIssuingCardsRequestBodyReplacementReason'Other :: Value -> PostIssuingCardsRequestBodyReplacementReason'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostIssuingCardsRequestBodyReplacementReason'Typed :: Text -> PostIssuingCardsRequestBodyReplacementReason'
-- | Represents the JSON value "damaged"
PostIssuingCardsRequestBodyReplacementReason'EnumDamaged :: PostIssuingCardsRequestBodyReplacementReason'
-- | Represents the JSON value "expired"
PostIssuingCardsRequestBodyReplacementReason'EnumExpired :: PostIssuingCardsRequestBodyReplacementReason'
-- | Represents the JSON value "lost"
PostIssuingCardsRequestBodyReplacementReason'EnumLost :: PostIssuingCardsRequestBodyReplacementReason'
-- | Represents the JSON value "stolen"
PostIssuingCardsRequestBodyReplacementReason'EnumStolen :: PostIssuingCardsRequestBodyReplacementReason'
-- | Defines the object schema located at
-- paths./v1/issuing/cards.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.shipping
-- in the specification.
--
-- The address where the card will be shipped.
data PostIssuingCardsRequestBodyShipping'
PostIssuingCardsRequestBodyShipping' :: PostIssuingCardsRequestBodyShipping'Address' -> Text -> Maybe PostIssuingCardsRequestBodyShipping'Service' -> Maybe PostIssuingCardsRequestBodyShipping'Type' -> PostIssuingCardsRequestBodyShipping'
-- | address
[postIssuingCardsRequestBodyShipping'Address] :: PostIssuingCardsRequestBodyShipping' -> PostIssuingCardsRequestBodyShipping'Address'
-- | name
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postIssuingCardsRequestBodyShipping'Name] :: PostIssuingCardsRequestBodyShipping' -> Text
-- | service
[postIssuingCardsRequestBodyShipping'Service] :: PostIssuingCardsRequestBodyShipping' -> Maybe PostIssuingCardsRequestBodyShipping'Service'
-- | type
[postIssuingCardsRequestBodyShipping'Type] :: PostIssuingCardsRequestBodyShipping' -> Maybe PostIssuingCardsRequestBodyShipping'Type'
-- | Create a new PostIssuingCardsRequestBodyShipping' with all
-- required fields.
mkPostIssuingCardsRequestBodyShipping' :: PostIssuingCardsRequestBodyShipping'Address' -> Text -> PostIssuingCardsRequestBodyShipping'
-- | Defines the object schema located at
-- paths./v1/issuing/cards.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.shipping.properties.address
-- in the specification.
data PostIssuingCardsRequestBodyShipping'Address'
PostIssuingCardsRequestBodyShipping'Address' :: Text -> Text -> Text -> Maybe Text -> Text -> Maybe Text -> PostIssuingCardsRequestBodyShipping'Address'
-- | city
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postIssuingCardsRequestBodyShipping'Address'City] :: PostIssuingCardsRequestBodyShipping'Address' -> Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postIssuingCardsRequestBodyShipping'Address'Country] :: PostIssuingCardsRequestBodyShipping'Address' -> Text
-- | line1
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postIssuingCardsRequestBodyShipping'Address'Line1] :: PostIssuingCardsRequestBodyShipping'Address' -> Text
-- | line2
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postIssuingCardsRequestBodyShipping'Address'Line2] :: PostIssuingCardsRequestBodyShipping'Address' -> Maybe Text
-- | postal_code
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postIssuingCardsRequestBodyShipping'Address'PostalCode] :: PostIssuingCardsRequestBodyShipping'Address' -> Text
-- | state
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postIssuingCardsRequestBodyShipping'Address'State] :: PostIssuingCardsRequestBodyShipping'Address' -> Maybe Text
-- | Create a new PostIssuingCardsRequestBodyShipping'Address' with
-- all required fields.
mkPostIssuingCardsRequestBodyShipping'Address' :: Text -> Text -> Text -> Text -> PostIssuingCardsRequestBodyShipping'Address'
-- | Defines the enum schema located at
-- paths./v1/issuing/cards.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.shipping.properties.service
-- in the specification.
data PostIssuingCardsRequestBodyShipping'Service'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostIssuingCardsRequestBodyShipping'Service'Other :: Value -> PostIssuingCardsRequestBodyShipping'Service'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostIssuingCardsRequestBodyShipping'Service'Typed :: Text -> PostIssuingCardsRequestBodyShipping'Service'
-- | Represents the JSON value "express"
PostIssuingCardsRequestBodyShipping'Service'EnumExpress :: PostIssuingCardsRequestBodyShipping'Service'
-- | Represents the JSON value "priority"
PostIssuingCardsRequestBodyShipping'Service'EnumPriority :: PostIssuingCardsRequestBodyShipping'Service'
-- | Represents the JSON value "standard"
PostIssuingCardsRequestBodyShipping'Service'EnumStandard :: PostIssuingCardsRequestBodyShipping'Service'
-- | Defines the enum schema located at
-- paths./v1/issuing/cards.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.shipping.properties.type
-- in the specification.
data PostIssuingCardsRequestBodyShipping'Type'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostIssuingCardsRequestBodyShipping'Type'Other :: Value -> PostIssuingCardsRequestBodyShipping'Type'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostIssuingCardsRequestBodyShipping'Type'Typed :: Text -> PostIssuingCardsRequestBodyShipping'Type'
-- | Represents the JSON value "bulk"
PostIssuingCardsRequestBodyShipping'Type'EnumBulk :: PostIssuingCardsRequestBodyShipping'Type'
-- | Represents the JSON value "individual"
PostIssuingCardsRequestBodyShipping'Type'EnumIndividual :: PostIssuingCardsRequestBodyShipping'Type'
-- | Defines the object schema located at
-- paths./v1/issuing/cards.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.spending_controls
-- in the specification.
--
-- Rules that control spending for this card. Refer to our
-- documentation for more details.
data PostIssuingCardsRequestBodySpendingControls'
PostIssuingCardsRequestBodySpendingControls' :: Maybe [PostIssuingCardsRequestBodySpendingControls'AllowedCategories'] -> Maybe [PostIssuingCardsRequestBodySpendingControls'BlockedCategories'] -> Maybe [PostIssuingCardsRequestBodySpendingControls'SpendingLimits'] -> PostIssuingCardsRequestBodySpendingControls'
-- | allowed_categories
[postIssuingCardsRequestBodySpendingControls'AllowedCategories] :: PostIssuingCardsRequestBodySpendingControls' -> Maybe [PostIssuingCardsRequestBodySpendingControls'AllowedCategories']
-- | blocked_categories
[postIssuingCardsRequestBodySpendingControls'BlockedCategories] :: PostIssuingCardsRequestBodySpendingControls' -> Maybe [PostIssuingCardsRequestBodySpendingControls'BlockedCategories']
-- | spending_limits
[postIssuingCardsRequestBodySpendingControls'SpendingLimits] :: PostIssuingCardsRequestBodySpendingControls' -> Maybe [PostIssuingCardsRequestBodySpendingControls'SpendingLimits']
-- | Create a new PostIssuingCardsRequestBodySpendingControls' with
-- all required fields.
mkPostIssuingCardsRequestBodySpendingControls' :: PostIssuingCardsRequestBodySpendingControls'
-- | Defines the enum schema located at
-- paths./v1/issuing/cards.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.spending_controls.properties.allowed_categories.items
-- in the specification.
data PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'Other :: Value -> PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'Typed :: Text -> PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "ac_refrigeration_repair"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumAcRefrigerationRepair :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "accounting_bookkeeping_services"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumAccountingBookkeepingServices :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "advertising_services"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumAdvertisingServices :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "agricultural_cooperative"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumAgriculturalCooperative :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "airlines_air_carriers"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumAirlinesAirCarriers :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "airports_flying_fields"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumAirportsFlyingFields :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "ambulance_services"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumAmbulanceServices :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "amusement_parks_carnivals"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumAmusementParksCarnivals :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "antique_reproductions"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumAntiqueReproductions :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "antique_shops"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumAntiqueShops :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "aquariums"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumAquariums :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "architectural_surveying_services"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumArchitecturalSurveyingServices :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "art_dealers_and_galleries"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumArtDealersAndGalleries :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "artists_supply_and_craft_shops"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumArtistsSupplyAndCraftShops :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "auto_and_home_supply_stores"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumAutoAndHomeSupplyStores :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "auto_body_repair_shops"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumAutoBodyRepairShops :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "auto_paint_shops"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumAutoPaintShops :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "auto_service_shops"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumAutoServiceShops :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "automated_cash_disburse"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumAutomatedCashDisburse :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "automated_fuel_dispensers"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumAutomatedFuelDispensers :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "automobile_associations"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumAutomobileAssociations :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "automotive_parts_and_accessories_stores"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumAutomotivePartsAndAccessoriesStores :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "automotive_tire_stores"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumAutomotiveTireStores :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "bail_and_bond_payments"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumBailAndBondPayments :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "bakeries"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumBakeries :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "bands_orchestras"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumBandsOrchestras :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "barber_and_beauty_shops"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumBarberAndBeautyShops :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "betting_casino_gambling"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumBettingCasinoGambling :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "bicycle_shops"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumBicycleShops :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "billiard_pool_establishments"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumBilliardPoolEstablishments :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "boat_dealers"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumBoatDealers :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "boat_rentals_and_leases"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumBoatRentalsAndLeases :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "book_stores"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumBookStores :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "books_periodicals_and_newspapers"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumBooksPeriodicalsAndNewspapers :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "bowling_alleys"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumBowlingAlleys :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "bus_lines"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumBusLines :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "business_secretarial_schools"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumBusinessSecretarialSchools :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "buying_shopping_services"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumBuyingShoppingServices :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "cable_satellite_and_other_pay_television_and_radio"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumCableSatelliteAndOtherPayTelevisionAndRadio :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "camera_and_photographic_supply_stores"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumCameraAndPhotographicSupplyStores :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "candy_nut_and_confectionery_stores"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumCandyNutAndConfectioneryStores :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "car_and_truck_dealers_new_used"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumCarAndTruckDealersNewUsed :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "car_and_truck_dealers_used_only"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumCarAndTruckDealersUsedOnly :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "car_rental_agencies"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumCarRentalAgencies :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "car_washes"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumCarWashes :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "carpentry_services"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumCarpentryServices :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "carpet_upholstery_cleaning"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumCarpetUpholsteryCleaning :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "caterers"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumCaterers :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "charitable_and_social_service_organizations_fundraising"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumCharitableAndSocialServiceOrganizationsFundraising :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "chemicals_and_allied_products"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumChemicalsAndAlliedProducts :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "child_care_services"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumChildCareServices :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "childrens_and_infants_wear_stores"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumChildrensAndInfantsWearStores :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "chiropodists_podiatrists"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumChiropodistsPodiatrists :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "chiropractors"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumChiropractors :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "cigar_stores_and_stands"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumCigarStoresAndStands :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "civic_social_fraternal_associations"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumCivicSocialFraternalAssociations :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "cleaning_and_maintenance"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumCleaningAndMaintenance :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "clothing_rental"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumClothingRental :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "colleges_universities"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumCollegesUniversities :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "commercial_equipment"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumCommercialEquipment :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "commercial_footwear"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumCommercialFootwear :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "commercial_photography_art_and_graphics"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumCommercialPhotographyArtAndGraphics :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "commuter_transport_and_ferries"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumCommuterTransportAndFerries :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "computer_network_services"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumComputerNetworkServices :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "computer_programming"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumComputerProgramming :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "computer_repair"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumComputerRepair :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "computer_software_stores"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumComputerSoftwareStores :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "computers_peripherals_and_software"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumComputersPeripheralsAndSoftware :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "concrete_work_services"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumConcreteWorkServices :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "construction_materials"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumConstructionMaterials :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "consulting_public_relations"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumConsultingPublicRelations :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "correspondence_schools"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumCorrespondenceSchools :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "cosmetic_stores"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumCosmeticStores :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "counseling_services"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumCounselingServices :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "country_clubs"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumCountryClubs :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "courier_services"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumCourierServices :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "court_costs"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumCourtCosts :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "credit_reporting_agencies"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumCreditReportingAgencies :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "cruise_lines"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumCruiseLines :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "dairy_products_stores"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumDairyProductsStores :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "dance_hall_studios_schools"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumDanceHallStudiosSchools :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "dating_escort_services"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumDatingEscortServices :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "dentists_orthodontists"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumDentistsOrthodontists :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "department_stores"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumDepartmentStores :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "detective_agencies"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumDetectiveAgencies :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "digital_goods_applications"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumDigitalGoodsApplications :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "digital_goods_games"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumDigitalGoodsGames :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "digital_goods_large_volume"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumDigitalGoodsLargeVolume :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "digital_goods_media"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumDigitalGoodsMedia :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "direct_marketing_catalog_merchant"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumDirectMarketingCatalogMerchant :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "direct_marketing_combination_catalog_and_retail_merchant"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumDirectMarketingCombinationCatalogAndRetailMerchant :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "direct_marketing_inbound_telemarketing"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumDirectMarketingInboundTelemarketing :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "direct_marketing_insurance_services"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumDirectMarketingInsuranceServices :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "direct_marketing_other"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumDirectMarketingOther :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "direct_marketing_outbound_telemarketing"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumDirectMarketingOutboundTelemarketing :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "direct_marketing_subscription"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumDirectMarketingSubscription :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "direct_marketing_travel"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumDirectMarketingTravel :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "discount_stores"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumDiscountStores :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "doctors"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumDoctors :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "door_to_door_sales"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumDoorToDoorSales :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "drapery_window_covering_and_upholstery_stores"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumDraperyWindowCoveringAndUpholsteryStores :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "drinking_places"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumDrinkingPlaces :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "drug_stores_and_pharmacies"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumDrugStoresAndPharmacies :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "drugs_drug_proprietaries_and_druggist_sundries"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumDrugsDrugProprietariesAndDruggistSundries :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "dry_cleaners"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumDryCleaners :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "durable_goods"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumDurableGoods :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "duty_free_stores"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumDutyFreeStores :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "eating_places_restaurants"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumEatingPlacesRestaurants :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "educational_services"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumEducationalServices :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "electric_razor_stores"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumElectricRazorStores :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "electrical_parts_and_equipment"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumElectricalPartsAndEquipment :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "electrical_services"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumElectricalServices :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "electronics_repair_shops"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumElectronicsRepairShops :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "electronics_stores"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumElectronicsStores :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "elementary_secondary_schools"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumElementarySecondarySchools :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "employment_temp_agencies"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumEmploymentTempAgencies :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "equipment_rental"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumEquipmentRental :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "exterminating_services"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumExterminatingServices :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "family_clothing_stores"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumFamilyClothingStores :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "fast_food_restaurants"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumFastFoodRestaurants :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "financial_institutions"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumFinancialInstitutions :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "fines_government_administrative_entities"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumFinesGovernmentAdministrativeEntities :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "fireplace_fireplace_screens_and_accessories_stores"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumFireplaceFireplaceScreensAndAccessoriesStores :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "floor_covering_stores"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumFloorCoveringStores :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "florists"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumFlorists :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "florists_supplies_nursery_stock_and_flowers"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumFloristsSuppliesNurseryStockAndFlowers :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "freezer_and_locker_meat_provisioners"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumFreezerAndLockerMeatProvisioners :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "fuel_dealers_non_automotive"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumFuelDealersNonAutomotive :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "funeral_services_crematories"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumFuneralServicesCrematories :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "furniture_home_furnishings_and_equipment_stores_except_appliances"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumFurnitureHomeFurnishingsAndEquipmentStoresExceptAppliances :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "furniture_repair_refinishing"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumFurnitureRepairRefinishing :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "furriers_and_fur_shops"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumFurriersAndFurShops :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "general_services"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumGeneralServices :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "gift_card_novelty_and_souvenir_shops"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumGiftCardNoveltyAndSouvenirShops :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "glass_paint_and_wallpaper_stores"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumGlassPaintAndWallpaperStores :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "glassware_crystal_stores"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumGlasswareCrystalStores :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "golf_courses_public"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumGolfCoursesPublic :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "government_services"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumGovernmentServices :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "grocery_stores_supermarkets"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumGroceryStoresSupermarkets :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "hardware_equipment_and_supplies"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumHardwareEquipmentAndSupplies :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "hardware_stores"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumHardwareStores :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "health_and_beauty_spas"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumHealthAndBeautySpas :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "hearing_aids_sales_and_supplies"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumHearingAidsSalesAndSupplies :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "heating_plumbing_a_c"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumHeatingPlumbingAC :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "hobby_toy_and_game_shops"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumHobbyToyAndGameShops :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "home_supply_warehouse_stores"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumHomeSupplyWarehouseStores :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "hospitals"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumHospitals :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "hotels_motels_and_resorts"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumHotelsMotelsAndResorts :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "household_appliance_stores"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumHouseholdApplianceStores :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "industrial_supplies"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumIndustrialSupplies :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "information_retrieval_services"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumInformationRetrievalServices :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "insurance_default"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumInsuranceDefault :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "insurance_underwriting_premiums"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumInsuranceUnderwritingPremiums :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "intra_company_purchases"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumIntraCompanyPurchases :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "jewelry_stores_watches_clocks_and_silverware_stores"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumJewelryStoresWatchesClocksAndSilverwareStores :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "landscaping_services"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumLandscapingServices :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "laundries"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumLaundries :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "laundry_cleaning_services"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumLaundryCleaningServices :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "legal_services_attorneys"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumLegalServicesAttorneys :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "luggage_and_leather_goods_stores"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumLuggageAndLeatherGoodsStores :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "lumber_building_materials_stores"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumLumberBuildingMaterialsStores :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "manual_cash_disburse"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumManualCashDisburse :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "marinas_service_and_supplies"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumMarinasServiceAndSupplies :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "masonry_stonework_and_plaster"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumMasonryStoneworkAndPlaster :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "massage_parlors"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumMassageParlors :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "medical_and_dental_labs"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumMedicalAndDentalLabs :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "medical_dental_ophthalmic_and_hospital_equipment_and_supplies"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumMedicalDentalOphthalmicAndHospitalEquipmentAndSupplies :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "medical_services"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumMedicalServices :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "membership_organizations"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumMembershipOrganizations :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "mens_and_boys_clothing_and_accessories_stores"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumMensAndBoysClothingAndAccessoriesStores :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "mens_womens_clothing_stores"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumMensWomensClothingStores :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "metal_service_centers"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumMetalServiceCenters :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "miscellaneous"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumMiscellaneous :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "miscellaneous_apparel_and_accessory_shops"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumMiscellaneousApparelAndAccessoryShops :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "miscellaneous_auto_dealers"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumMiscellaneousAutoDealers :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "miscellaneous_business_services"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumMiscellaneousBusinessServices :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "miscellaneous_food_stores"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumMiscellaneousFoodStores :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "miscellaneous_general_merchandise"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumMiscellaneousGeneralMerchandise :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "miscellaneous_general_services"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumMiscellaneousGeneralServices :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "miscellaneous_home_furnishing_specialty_stores"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumMiscellaneousHomeFurnishingSpecialtyStores :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "miscellaneous_publishing_and_printing"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumMiscellaneousPublishingAndPrinting :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "miscellaneous_recreation_services"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumMiscellaneousRecreationServices :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "miscellaneous_repair_shops"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumMiscellaneousRepairShops :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "miscellaneous_specialty_retail"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumMiscellaneousSpecialtyRetail :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "mobile_home_dealers"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumMobileHomeDealers :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "motion_picture_theaters"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumMotionPictureTheaters :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "motor_freight_carriers_and_trucking"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumMotorFreightCarriersAndTrucking :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "motor_homes_dealers"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumMotorHomesDealers :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "motor_vehicle_supplies_and_new_parts"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumMotorVehicleSuppliesAndNewParts :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "motorcycle_shops_and_dealers"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumMotorcycleShopsAndDealers :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "motorcycle_shops_dealers"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumMotorcycleShopsDealers :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "music_stores_musical_instruments_pianos_and_sheet_music"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumMusicStoresMusicalInstrumentsPianosAndSheetMusic :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "news_dealers_and_newsstands"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumNewsDealersAndNewsstands :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "non_fi_money_orders"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumNonFiMoneyOrders :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "non_fi_stored_value_card_purchase_load"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumNonFiStoredValueCardPurchaseLoad :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "nondurable_goods"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumNondurableGoods :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "nurseries_lawn_and_garden_supply_stores"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumNurseriesLawnAndGardenSupplyStores :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "nursing_personal_care"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumNursingPersonalCare :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "office_and_commercial_furniture"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumOfficeAndCommercialFurniture :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "opticians_eyeglasses"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumOpticiansEyeglasses :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "optometrists_ophthalmologist"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumOptometristsOphthalmologist :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "orthopedic_goods_prosthetic_devices"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumOrthopedicGoodsProstheticDevices :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "osteopaths"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumOsteopaths :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "package_stores_beer_wine_and_liquor"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumPackageStoresBeerWineAndLiquor :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "paints_varnishes_and_supplies"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumPaintsVarnishesAndSupplies :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "parking_lots_garages"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumParkingLotsGarages :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "passenger_railways"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumPassengerRailways :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "pawn_shops"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumPawnShops :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "pet_shops_pet_food_and_supplies"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumPetShopsPetFoodAndSupplies :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "petroleum_and_petroleum_products"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumPetroleumAndPetroleumProducts :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "photo_developing"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumPhotoDeveloping :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "photographic_photocopy_microfilm_equipment_and_supplies"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumPhotographicPhotocopyMicrofilmEquipmentAndSupplies :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "photographic_studios"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumPhotographicStudios :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "picture_video_production"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumPictureVideoProduction :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "piece_goods_notions_and_other_dry_goods"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumPieceGoodsNotionsAndOtherDryGoods :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "plumbing_heating_equipment_and_supplies"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumPlumbingHeatingEquipmentAndSupplies :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "political_organizations"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumPoliticalOrganizations :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "postal_services_government_only"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumPostalServicesGovernmentOnly :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "precious_stones_and_metals_watches_and_jewelry"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumPreciousStonesAndMetalsWatchesAndJewelry :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "professional_services"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumProfessionalServices :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "public_warehousing_and_storage"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumPublicWarehousingAndStorage :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "quick_copy_repro_and_blueprint"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumQuickCopyReproAndBlueprint :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "railroads"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumRailroads :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "real_estate_agents_and_managers_rentals"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumRealEstateAgentsAndManagersRentals :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "record_stores"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumRecordStores :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "recreational_vehicle_rentals"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumRecreationalVehicleRentals :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "religious_goods_stores"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumReligiousGoodsStores :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "religious_organizations"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumReligiousOrganizations :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "roofing_siding_sheet_metal"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumRoofingSidingSheetMetal :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "secretarial_support_services"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumSecretarialSupportServices :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "security_brokers_dealers"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumSecurityBrokersDealers :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "service_stations"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumServiceStations :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "sewing_needlework_fabric_and_piece_goods_stores"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumSewingNeedleworkFabricAndPieceGoodsStores :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "shoe_repair_hat_cleaning"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumShoeRepairHatCleaning :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "shoe_stores"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumShoeStores :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "small_appliance_repair"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumSmallApplianceRepair :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "snowmobile_dealers"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumSnowmobileDealers :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "special_trade_services"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumSpecialTradeServices :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "specialty_cleaning"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumSpecialtyCleaning :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "sporting_goods_stores"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumSportingGoodsStores :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "sporting_recreation_camps"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumSportingRecreationCamps :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "sports_and_riding_apparel_stores"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumSportsAndRidingApparelStores :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "sports_clubs_fields"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumSportsClubsFields :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "stamp_and_coin_stores"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumStampAndCoinStores :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "stationary_office_supplies_printing_and_writing_paper"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumStationaryOfficeSuppliesPrintingAndWritingPaper :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "stationery_stores_office_and_school_supply_stores"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumStationeryStoresOfficeAndSchoolSupplyStores :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "swimming_pools_sales"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumSwimmingPoolsSales :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "t_ui_travel_germany"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumTUiTravelGermany :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "tailors_alterations"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumTailorsAlterations :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "tax_payments_government_agencies"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumTaxPaymentsGovernmentAgencies :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "tax_preparation_services"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumTaxPreparationServices :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "taxicabs_limousines"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumTaxicabsLimousines :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "telecommunication_equipment_and_telephone_sales"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumTelecommunicationEquipmentAndTelephoneSales :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "telecommunication_services"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumTelecommunicationServices :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "telegraph_services"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumTelegraphServices :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "tent_and_awning_shops"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumTentAndAwningShops :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "testing_laboratories"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumTestingLaboratories :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "theatrical_ticket_agencies"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumTheatricalTicketAgencies :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "timeshares"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumTimeshares :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "tire_retreading_and_repair"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumTireRetreadingAndRepair :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "tolls_bridge_fees"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumTollsBridgeFees :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "tourist_attractions_and_exhibits"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumTouristAttractionsAndExhibits :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "towing_services"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumTowingServices :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "trailer_parks_campgrounds"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumTrailerParksCampgrounds :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "transportation_services"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumTransportationServices :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "travel_agencies_tour_operators"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumTravelAgenciesTourOperators :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "truck_stop_iteration"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumTruckStopIteration :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "truck_utility_trailer_rentals"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumTruckUtilityTrailerRentals :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "typesetting_plate_making_and_related_services"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumTypesettingPlateMakingAndRelatedServices :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "typewriter_stores"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumTypewriterStores :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "u_s_federal_government_agencies_or_departments"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumUSFederalGovernmentAgenciesOrDepartments :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "uniforms_commercial_clothing"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumUniformsCommercialClothing :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "used_merchandise_and_secondhand_stores"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumUsedMerchandiseAndSecondhandStores :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "utilities"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumUtilities :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "variety_stores"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumVarietyStores :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "veterinary_services"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumVeterinaryServices :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "video_amusement_game_supplies"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumVideoAmusementGameSupplies :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "video_game_arcades"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumVideoGameArcades :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "video_tape_rental_stores"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumVideoTapeRentalStores :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "vocational_trade_schools"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumVocationalTradeSchools :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "watch_jewelry_repair"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumWatchJewelryRepair :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "welding_repair"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumWeldingRepair :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "wholesale_clubs"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumWholesaleClubs :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "wig_and_toupee_stores"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumWigAndToupeeStores :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "wires_money_orders"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumWiresMoneyOrders :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "womens_accessory_and_specialty_shops"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumWomensAccessoryAndSpecialtyShops :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "womens_ready_to_wear_stores"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumWomensReadyToWearStores :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "wrecking_and_salvage_yards"
PostIssuingCardsRequestBodySpendingControls'AllowedCategories'EnumWreckingAndSalvageYards :: PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
-- | Defines the enum schema located at
-- paths./v1/issuing/cards.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.spending_controls.properties.blocked_categories.items
-- in the specification.
data PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'Other :: Value -> PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'Typed :: Text -> PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "ac_refrigeration_repair"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumAcRefrigerationRepair :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "accounting_bookkeeping_services"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumAccountingBookkeepingServices :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "advertising_services"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumAdvertisingServices :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "agricultural_cooperative"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumAgriculturalCooperative :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "airlines_air_carriers"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumAirlinesAirCarriers :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "airports_flying_fields"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumAirportsFlyingFields :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "ambulance_services"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumAmbulanceServices :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "amusement_parks_carnivals"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumAmusementParksCarnivals :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "antique_reproductions"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumAntiqueReproductions :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "antique_shops"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumAntiqueShops :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "aquariums"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumAquariums :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "architectural_surveying_services"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumArchitecturalSurveyingServices :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "art_dealers_and_galleries"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumArtDealersAndGalleries :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "artists_supply_and_craft_shops"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumArtistsSupplyAndCraftShops :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "auto_and_home_supply_stores"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumAutoAndHomeSupplyStores :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "auto_body_repair_shops"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumAutoBodyRepairShops :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "auto_paint_shops"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumAutoPaintShops :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "auto_service_shops"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumAutoServiceShops :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "automated_cash_disburse"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumAutomatedCashDisburse :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "automated_fuel_dispensers"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumAutomatedFuelDispensers :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "automobile_associations"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumAutomobileAssociations :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "automotive_parts_and_accessories_stores"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumAutomotivePartsAndAccessoriesStores :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "automotive_tire_stores"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumAutomotiveTireStores :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "bail_and_bond_payments"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumBailAndBondPayments :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "bakeries"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumBakeries :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "bands_orchestras"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumBandsOrchestras :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "barber_and_beauty_shops"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumBarberAndBeautyShops :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "betting_casino_gambling"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumBettingCasinoGambling :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "bicycle_shops"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumBicycleShops :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "billiard_pool_establishments"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumBilliardPoolEstablishments :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "boat_dealers"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumBoatDealers :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "boat_rentals_and_leases"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumBoatRentalsAndLeases :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "book_stores"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumBookStores :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "books_periodicals_and_newspapers"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumBooksPeriodicalsAndNewspapers :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "bowling_alleys"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumBowlingAlleys :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "bus_lines"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumBusLines :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "business_secretarial_schools"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumBusinessSecretarialSchools :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "buying_shopping_services"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumBuyingShoppingServices :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "cable_satellite_and_other_pay_television_and_radio"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumCableSatelliteAndOtherPayTelevisionAndRadio :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "camera_and_photographic_supply_stores"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumCameraAndPhotographicSupplyStores :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "candy_nut_and_confectionery_stores"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumCandyNutAndConfectioneryStores :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "car_and_truck_dealers_new_used"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumCarAndTruckDealersNewUsed :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "car_and_truck_dealers_used_only"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumCarAndTruckDealersUsedOnly :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "car_rental_agencies"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumCarRentalAgencies :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "car_washes"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumCarWashes :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "carpentry_services"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumCarpentryServices :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "carpet_upholstery_cleaning"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumCarpetUpholsteryCleaning :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "caterers"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumCaterers :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "charitable_and_social_service_organizations_fundraising"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumCharitableAndSocialServiceOrganizationsFundraising :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "chemicals_and_allied_products"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumChemicalsAndAlliedProducts :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "child_care_services"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumChildCareServices :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "childrens_and_infants_wear_stores"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumChildrensAndInfantsWearStores :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "chiropodists_podiatrists"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumChiropodistsPodiatrists :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "chiropractors"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumChiropractors :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "cigar_stores_and_stands"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumCigarStoresAndStands :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "civic_social_fraternal_associations"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumCivicSocialFraternalAssociations :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "cleaning_and_maintenance"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumCleaningAndMaintenance :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "clothing_rental"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumClothingRental :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "colleges_universities"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumCollegesUniversities :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "commercial_equipment"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumCommercialEquipment :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "commercial_footwear"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumCommercialFootwear :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "commercial_photography_art_and_graphics"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumCommercialPhotographyArtAndGraphics :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "commuter_transport_and_ferries"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumCommuterTransportAndFerries :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "computer_network_services"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumComputerNetworkServices :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "computer_programming"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumComputerProgramming :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "computer_repair"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumComputerRepair :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "computer_software_stores"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumComputerSoftwareStores :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "computers_peripherals_and_software"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumComputersPeripheralsAndSoftware :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "concrete_work_services"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumConcreteWorkServices :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "construction_materials"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumConstructionMaterials :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "consulting_public_relations"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumConsultingPublicRelations :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "correspondence_schools"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumCorrespondenceSchools :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "cosmetic_stores"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumCosmeticStores :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "counseling_services"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumCounselingServices :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "country_clubs"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumCountryClubs :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "courier_services"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumCourierServices :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "court_costs"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumCourtCosts :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "credit_reporting_agencies"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumCreditReportingAgencies :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "cruise_lines"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumCruiseLines :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "dairy_products_stores"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumDairyProductsStores :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "dance_hall_studios_schools"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumDanceHallStudiosSchools :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "dating_escort_services"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumDatingEscortServices :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "dentists_orthodontists"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumDentistsOrthodontists :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "department_stores"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumDepartmentStores :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "detective_agencies"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumDetectiveAgencies :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "digital_goods_applications"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumDigitalGoodsApplications :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "digital_goods_games"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumDigitalGoodsGames :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "digital_goods_large_volume"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumDigitalGoodsLargeVolume :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "digital_goods_media"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumDigitalGoodsMedia :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "direct_marketing_catalog_merchant"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumDirectMarketingCatalogMerchant :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "direct_marketing_combination_catalog_and_retail_merchant"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumDirectMarketingCombinationCatalogAndRetailMerchant :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "direct_marketing_inbound_telemarketing"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumDirectMarketingInboundTelemarketing :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "direct_marketing_insurance_services"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumDirectMarketingInsuranceServices :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "direct_marketing_other"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumDirectMarketingOther :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "direct_marketing_outbound_telemarketing"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumDirectMarketingOutboundTelemarketing :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "direct_marketing_subscription"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumDirectMarketingSubscription :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "direct_marketing_travel"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumDirectMarketingTravel :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "discount_stores"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumDiscountStores :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "doctors"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumDoctors :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "door_to_door_sales"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumDoorToDoorSales :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "drapery_window_covering_and_upholstery_stores"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumDraperyWindowCoveringAndUpholsteryStores :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "drinking_places"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumDrinkingPlaces :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "drug_stores_and_pharmacies"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumDrugStoresAndPharmacies :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "drugs_drug_proprietaries_and_druggist_sundries"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumDrugsDrugProprietariesAndDruggistSundries :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "dry_cleaners"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumDryCleaners :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "durable_goods"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumDurableGoods :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "duty_free_stores"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumDutyFreeStores :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "eating_places_restaurants"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumEatingPlacesRestaurants :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "educational_services"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumEducationalServices :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "electric_razor_stores"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumElectricRazorStores :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "electrical_parts_and_equipment"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumElectricalPartsAndEquipment :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "electrical_services"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumElectricalServices :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "electronics_repair_shops"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumElectronicsRepairShops :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "electronics_stores"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumElectronicsStores :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "elementary_secondary_schools"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumElementarySecondarySchools :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "employment_temp_agencies"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumEmploymentTempAgencies :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "equipment_rental"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumEquipmentRental :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "exterminating_services"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumExterminatingServices :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "family_clothing_stores"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumFamilyClothingStores :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "fast_food_restaurants"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumFastFoodRestaurants :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "financial_institutions"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumFinancialInstitutions :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "fines_government_administrative_entities"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumFinesGovernmentAdministrativeEntities :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "fireplace_fireplace_screens_and_accessories_stores"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumFireplaceFireplaceScreensAndAccessoriesStores :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "floor_covering_stores"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumFloorCoveringStores :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "florists"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumFlorists :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "florists_supplies_nursery_stock_and_flowers"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumFloristsSuppliesNurseryStockAndFlowers :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "freezer_and_locker_meat_provisioners"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumFreezerAndLockerMeatProvisioners :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "fuel_dealers_non_automotive"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumFuelDealersNonAutomotive :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "funeral_services_crematories"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumFuneralServicesCrematories :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "furniture_home_furnishings_and_equipment_stores_except_appliances"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumFurnitureHomeFurnishingsAndEquipmentStoresExceptAppliances :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "furniture_repair_refinishing"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumFurnitureRepairRefinishing :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "furriers_and_fur_shops"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumFurriersAndFurShops :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "general_services"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumGeneralServices :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "gift_card_novelty_and_souvenir_shops"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumGiftCardNoveltyAndSouvenirShops :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "glass_paint_and_wallpaper_stores"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumGlassPaintAndWallpaperStores :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "glassware_crystal_stores"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumGlasswareCrystalStores :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "golf_courses_public"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumGolfCoursesPublic :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "government_services"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumGovernmentServices :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "grocery_stores_supermarkets"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumGroceryStoresSupermarkets :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "hardware_equipment_and_supplies"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumHardwareEquipmentAndSupplies :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "hardware_stores"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumHardwareStores :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "health_and_beauty_spas"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumHealthAndBeautySpas :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "hearing_aids_sales_and_supplies"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumHearingAidsSalesAndSupplies :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "heating_plumbing_a_c"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumHeatingPlumbingAC :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "hobby_toy_and_game_shops"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumHobbyToyAndGameShops :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "home_supply_warehouse_stores"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumHomeSupplyWarehouseStores :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "hospitals"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumHospitals :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "hotels_motels_and_resorts"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumHotelsMotelsAndResorts :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "household_appliance_stores"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumHouseholdApplianceStores :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "industrial_supplies"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumIndustrialSupplies :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "information_retrieval_services"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumInformationRetrievalServices :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "insurance_default"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumInsuranceDefault :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "insurance_underwriting_premiums"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumInsuranceUnderwritingPremiums :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "intra_company_purchases"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumIntraCompanyPurchases :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "jewelry_stores_watches_clocks_and_silverware_stores"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumJewelryStoresWatchesClocksAndSilverwareStores :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "landscaping_services"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumLandscapingServices :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "laundries"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumLaundries :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "laundry_cleaning_services"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumLaundryCleaningServices :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "legal_services_attorneys"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumLegalServicesAttorneys :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "luggage_and_leather_goods_stores"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumLuggageAndLeatherGoodsStores :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "lumber_building_materials_stores"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumLumberBuildingMaterialsStores :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "manual_cash_disburse"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumManualCashDisburse :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "marinas_service_and_supplies"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumMarinasServiceAndSupplies :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "masonry_stonework_and_plaster"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumMasonryStoneworkAndPlaster :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "massage_parlors"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumMassageParlors :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "medical_and_dental_labs"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumMedicalAndDentalLabs :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "medical_dental_ophthalmic_and_hospital_equipment_and_supplies"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumMedicalDentalOphthalmicAndHospitalEquipmentAndSupplies :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "medical_services"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumMedicalServices :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "membership_organizations"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumMembershipOrganizations :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "mens_and_boys_clothing_and_accessories_stores"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumMensAndBoysClothingAndAccessoriesStores :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "mens_womens_clothing_stores"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumMensWomensClothingStores :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "metal_service_centers"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumMetalServiceCenters :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "miscellaneous"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumMiscellaneous :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "miscellaneous_apparel_and_accessory_shops"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumMiscellaneousApparelAndAccessoryShops :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "miscellaneous_auto_dealers"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumMiscellaneousAutoDealers :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "miscellaneous_business_services"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumMiscellaneousBusinessServices :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "miscellaneous_food_stores"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumMiscellaneousFoodStores :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "miscellaneous_general_merchandise"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumMiscellaneousGeneralMerchandise :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "miscellaneous_general_services"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumMiscellaneousGeneralServices :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "miscellaneous_home_furnishing_specialty_stores"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumMiscellaneousHomeFurnishingSpecialtyStores :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "miscellaneous_publishing_and_printing"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumMiscellaneousPublishingAndPrinting :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "miscellaneous_recreation_services"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumMiscellaneousRecreationServices :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "miscellaneous_repair_shops"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumMiscellaneousRepairShops :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "miscellaneous_specialty_retail"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumMiscellaneousSpecialtyRetail :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "mobile_home_dealers"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumMobileHomeDealers :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "motion_picture_theaters"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumMotionPictureTheaters :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "motor_freight_carriers_and_trucking"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumMotorFreightCarriersAndTrucking :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "motor_homes_dealers"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumMotorHomesDealers :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "motor_vehicle_supplies_and_new_parts"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumMotorVehicleSuppliesAndNewParts :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "motorcycle_shops_and_dealers"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumMotorcycleShopsAndDealers :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "motorcycle_shops_dealers"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumMotorcycleShopsDealers :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "music_stores_musical_instruments_pianos_and_sheet_music"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumMusicStoresMusicalInstrumentsPianosAndSheetMusic :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "news_dealers_and_newsstands"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumNewsDealersAndNewsstands :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "non_fi_money_orders"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumNonFiMoneyOrders :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "non_fi_stored_value_card_purchase_load"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumNonFiStoredValueCardPurchaseLoad :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "nondurable_goods"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumNondurableGoods :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "nurseries_lawn_and_garden_supply_stores"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumNurseriesLawnAndGardenSupplyStores :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "nursing_personal_care"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumNursingPersonalCare :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "office_and_commercial_furniture"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumOfficeAndCommercialFurniture :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "opticians_eyeglasses"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumOpticiansEyeglasses :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "optometrists_ophthalmologist"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumOptometristsOphthalmologist :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "orthopedic_goods_prosthetic_devices"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumOrthopedicGoodsProstheticDevices :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "osteopaths"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumOsteopaths :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "package_stores_beer_wine_and_liquor"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumPackageStoresBeerWineAndLiquor :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "paints_varnishes_and_supplies"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumPaintsVarnishesAndSupplies :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "parking_lots_garages"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumParkingLotsGarages :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "passenger_railways"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumPassengerRailways :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "pawn_shops"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumPawnShops :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "pet_shops_pet_food_and_supplies"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumPetShopsPetFoodAndSupplies :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "petroleum_and_petroleum_products"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumPetroleumAndPetroleumProducts :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "photo_developing"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumPhotoDeveloping :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "photographic_photocopy_microfilm_equipment_and_supplies"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumPhotographicPhotocopyMicrofilmEquipmentAndSupplies :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "photographic_studios"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumPhotographicStudios :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "picture_video_production"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumPictureVideoProduction :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "piece_goods_notions_and_other_dry_goods"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumPieceGoodsNotionsAndOtherDryGoods :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "plumbing_heating_equipment_and_supplies"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumPlumbingHeatingEquipmentAndSupplies :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "political_organizations"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumPoliticalOrganizations :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "postal_services_government_only"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumPostalServicesGovernmentOnly :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "precious_stones_and_metals_watches_and_jewelry"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumPreciousStonesAndMetalsWatchesAndJewelry :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "professional_services"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumProfessionalServices :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "public_warehousing_and_storage"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumPublicWarehousingAndStorage :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "quick_copy_repro_and_blueprint"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumQuickCopyReproAndBlueprint :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "railroads"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumRailroads :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "real_estate_agents_and_managers_rentals"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumRealEstateAgentsAndManagersRentals :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "record_stores"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumRecordStores :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "recreational_vehicle_rentals"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumRecreationalVehicleRentals :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "religious_goods_stores"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumReligiousGoodsStores :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "religious_organizations"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumReligiousOrganizations :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "roofing_siding_sheet_metal"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumRoofingSidingSheetMetal :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "secretarial_support_services"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumSecretarialSupportServices :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "security_brokers_dealers"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumSecurityBrokersDealers :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "service_stations"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumServiceStations :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "sewing_needlework_fabric_and_piece_goods_stores"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumSewingNeedleworkFabricAndPieceGoodsStores :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "shoe_repair_hat_cleaning"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumShoeRepairHatCleaning :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "shoe_stores"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumShoeStores :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "small_appliance_repair"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumSmallApplianceRepair :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "snowmobile_dealers"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumSnowmobileDealers :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "special_trade_services"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumSpecialTradeServices :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "specialty_cleaning"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumSpecialtyCleaning :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "sporting_goods_stores"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumSportingGoodsStores :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "sporting_recreation_camps"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumSportingRecreationCamps :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "sports_and_riding_apparel_stores"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumSportsAndRidingApparelStores :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "sports_clubs_fields"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumSportsClubsFields :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "stamp_and_coin_stores"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumStampAndCoinStores :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "stationary_office_supplies_printing_and_writing_paper"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumStationaryOfficeSuppliesPrintingAndWritingPaper :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "stationery_stores_office_and_school_supply_stores"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumStationeryStoresOfficeAndSchoolSupplyStores :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "swimming_pools_sales"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumSwimmingPoolsSales :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "t_ui_travel_germany"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumTUiTravelGermany :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "tailors_alterations"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumTailorsAlterations :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "tax_payments_government_agencies"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumTaxPaymentsGovernmentAgencies :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "tax_preparation_services"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumTaxPreparationServices :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "taxicabs_limousines"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumTaxicabsLimousines :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "telecommunication_equipment_and_telephone_sales"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumTelecommunicationEquipmentAndTelephoneSales :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "telecommunication_services"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumTelecommunicationServices :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "telegraph_services"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumTelegraphServices :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "tent_and_awning_shops"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumTentAndAwningShops :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "testing_laboratories"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumTestingLaboratories :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "theatrical_ticket_agencies"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumTheatricalTicketAgencies :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "timeshares"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumTimeshares :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "tire_retreading_and_repair"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumTireRetreadingAndRepair :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "tolls_bridge_fees"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumTollsBridgeFees :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "tourist_attractions_and_exhibits"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumTouristAttractionsAndExhibits :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "towing_services"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumTowingServices :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "trailer_parks_campgrounds"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumTrailerParksCampgrounds :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "transportation_services"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumTransportationServices :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "travel_agencies_tour_operators"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumTravelAgenciesTourOperators :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "truck_stop_iteration"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumTruckStopIteration :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "truck_utility_trailer_rentals"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumTruckUtilityTrailerRentals :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "typesetting_plate_making_and_related_services"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumTypesettingPlateMakingAndRelatedServices :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "typewriter_stores"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumTypewriterStores :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "u_s_federal_government_agencies_or_departments"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumUSFederalGovernmentAgenciesOrDepartments :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "uniforms_commercial_clothing"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumUniformsCommercialClothing :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "used_merchandise_and_secondhand_stores"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumUsedMerchandiseAndSecondhandStores :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "utilities"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumUtilities :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "variety_stores"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumVarietyStores :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "veterinary_services"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumVeterinaryServices :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "video_amusement_game_supplies"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumVideoAmusementGameSupplies :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "video_game_arcades"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumVideoGameArcades :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "video_tape_rental_stores"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumVideoTapeRentalStores :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "vocational_trade_schools"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumVocationalTradeSchools :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "watch_jewelry_repair"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumWatchJewelryRepair :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "welding_repair"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumWeldingRepair :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "wholesale_clubs"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumWholesaleClubs :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "wig_and_toupee_stores"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumWigAndToupeeStores :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "wires_money_orders"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumWiresMoneyOrders :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "womens_accessory_and_specialty_shops"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumWomensAccessoryAndSpecialtyShops :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "womens_ready_to_wear_stores"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumWomensReadyToWearStores :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "wrecking_and_salvage_yards"
PostIssuingCardsRequestBodySpendingControls'BlockedCategories'EnumWreckingAndSalvageYards :: PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
-- | Defines the object schema located at
-- paths./v1/issuing/cards.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.spending_controls.properties.spending_limits.items
-- in the specification.
data PostIssuingCardsRequestBodySpendingControls'SpendingLimits'
PostIssuingCardsRequestBodySpendingControls'SpendingLimits' :: Int -> Maybe [PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'] -> PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Interval' -> PostIssuingCardsRequestBodySpendingControls'SpendingLimits'
-- | amount
[postIssuingCardsRequestBodySpendingControls'SpendingLimits'Amount] :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits' -> Int
-- | categories
[postIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories] :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits' -> Maybe [PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories']
-- | interval
[postIssuingCardsRequestBodySpendingControls'SpendingLimits'Interval] :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits' -> PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Interval'
-- | Create a new
-- PostIssuingCardsRequestBodySpendingControls'SpendingLimits'
-- with all required fields.
mkPostIssuingCardsRequestBodySpendingControls'SpendingLimits' :: Int -> PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Interval' -> PostIssuingCardsRequestBodySpendingControls'SpendingLimits'
-- | Defines the enum schema located at
-- paths./v1/issuing/cards.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.spending_controls.properties.spending_limits.items.properties.categories.items
-- in the specification.
data PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'Other :: Value -> PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'Typed :: Text -> PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "ac_refrigeration_repair"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumAcRefrigerationRepair :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "accounting_bookkeeping_services"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumAccountingBookkeepingServices :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "advertising_services"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumAdvertisingServices :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "agricultural_cooperative"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumAgriculturalCooperative :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "airlines_air_carriers"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumAirlinesAirCarriers :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "airports_flying_fields"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumAirportsFlyingFields :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "ambulance_services"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumAmbulanceServices :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "amusement_parks_carnivals"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumAmusementParksCarnivals :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "antique_reproductions"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumAntiqueReproductions :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "antique_shops"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumAntiqueShops :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "aquariums"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumAquariums :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "architectural_surveying_services"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumArchitecturalSurveyingServices :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "art_dealers_and_galleries"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumArtDealersAndGalleries :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "artists_supply_and_craft_shops"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumArtistsSupplyAndCraftShops :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "auto_and_home_supply_stores"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumAutoAndHomeSupplyStores :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "auto_body_repair_shops"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumAutoBodyRepairShops :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "auto_paint_shops"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumAutoPaintShops :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "auto_service_shops"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumAutoServiceShops :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "automated_cash_disburse"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumAutomatedCashDisburse :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "automated_fuel_dispensers"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumAutomatedFuelDispensers :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "automobile_associations"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumAutomobileAssociations :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "automotive_parts_and_accessories_stores"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumAutomotivePartsAndAccessoriesStores :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "automotive_tire_stores"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumAutomotiveTireStores :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "bail_and_bond_payments"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumBailAndBondPayments :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "bakeries"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumBakeries :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "bands_orchestras"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumBandsOrchestras :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "barber_and_beauty_shops"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumBarberAndBeautyShops :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "betting_casino_gambling"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumBettingCasinoGambling :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "bicycle_shops"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumBicycleShops :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "billiard_pool_establishments"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumBilliardPoolEstablishments :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "boat_dealers"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumBoatDealers :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "boat_rentals_and_leases"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumBoatRentalsAndLeases :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "book_stores"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumBookStores :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "books_periodicals_and_newspapers"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumBooksPeriodicalsAndNewspapers :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "bowling_alleys"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumBowlingAlleys :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "bus_lines"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumBusLines :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "business_secretarial_schools"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumBusinessSecretarialSchools :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "buying_shopping_services"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumBuyingShoppingServices :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "cable_satellite_and_other_pay_television_and_radio"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumCableSatelliteAndOtherPayTelevisionAndRadio :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "camera_and_photographic_supply_stores"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumCameraAndPhotographicSupplyStores :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "candy_nut_and_confectionery_stores"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumCandyNutAndConfectioneryStores :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "car_and_truck_dealers_new_used"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumCarAndTruckDealersNewUsed :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "car_and_truck_dealers_used_only"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumCarAndTruckDealersUsedOnly :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "car_rental_agencies"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumCarRentalAgencies :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "car_washes"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumCarWashes :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "carpentry_services"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumCarpentryServices :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "carpet_upholstery_cleaning"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumCarpetUpholsteryCleaning :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "caterers"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumCaterers :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "charitable_and_social_service_organizations_fundraising"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumCharitableAndSocialServiceOrganizationsFundraising :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "chemicals_and_allied_products"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumChemicalsAndAlliedProducts :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "child_care_services"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumChildCareServices :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "childrens_and_infants_wear_stores"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumChildrensAndInfantsWearStores :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "chiropodists_podiatrists"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumChiropodistsPodiatrists :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "chiropractors"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumChiropractors :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "cigar_stores_and_stands"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumCigarStoresAndStands :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "civic_social_fraternal_associations"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumCivicSocialFraternalAssociations :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "cleaning_and_maintenance"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumCleaningAndMaintenance :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "clothing_rental"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumClothingRental :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "colleges_universities"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumCollegesUniversities :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "commercial_equipment"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumCommercialEquipment :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "commercial_footwear"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumCommercialFootwear :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "commercial_photography_art_and_graphics"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumCommercialPhotographyArtAndGraphics :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "commuter_transport_and_ferries"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumCommuterTransportAndFerries :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "computer_network_services"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumComputerNetworkServices :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "computer_programming"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumComputerProgramming :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "computer_repair"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumComputerRepair :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "computer_software_stores"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumComputerSoftwareStores :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "computers_peripherals_and_software"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumComputersPeripheralsAndSoftware :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "concrete_work_services"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumConcreteWorkServices :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "construction_materials"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumConstructionMaterials :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "consulting_public_relations"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumConsultingPublicRelations :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "correspondence_schools"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumCorrespondenceSchools :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "cosmetic_stores"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumCosmeticStores :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "counseling_services"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumCounselingServices :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "country_clubs"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumCountryClubs :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "courier_services"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumCourierServices :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "court_costs"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumCourtCosts :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "credit_reporting_agencies"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumCreditReportingAgencies :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "cruise_lines"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumCruiseLines :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "dairy_products_stores"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumDairyProductsStores :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "dance_hall_studios_schools"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumDanceHallStudiosSchools :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "dating_escort_services"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumDatingEscortServices :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "dentists_orthodontists"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumDentistsOrthodontists :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "department_stores"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumDepartmentStores :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "detective_agencies"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumDetectiveAgencies :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "digital_goods_applications"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumDigitalGoodsApplications :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "digital_goods_games"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumDigitalGoodsGames :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "digital_goods_large_volume"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumDigitalGoodsLargeVolume :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "digital_goods_media"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumDigitalGoodsMedia :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "direct_marketing_catalog_merchant"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumDirectMarketingCatalogMerchant :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "direct_marketing_combination_catalog_and_retail_merchant"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumDirectMarketingCombinationCatalogAndRetailMerchant :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "direct_marketing_inbound_telemarketing"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumDirectMarketingInboundTelemarketing :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "direct_marketing_insurance_services"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumDirectMarketingInsuranceServices :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "direct_marketing_other"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumDirectMarketingOther :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "direct_marketing_outbound_telemarketing"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumDirectMarketingOutboundTelemarketing :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "direct_marketing_subscription"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumDirectMarketingSubscription :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "direct_marketing_travel"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumDirectMarketingTravel :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "discount_stores"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumDiscountStores :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "doctors"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumDoctors :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "door_to_door_sales"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumDoorToDoorSales :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "drapery_window_covering_and_upholstery_stores"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumDraperyWindowCoveringAndUpholsteryStores :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "drinking_places"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumDrinkingPlaces :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "drug_stores_and_pharmacies"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumDrugStoresAndPharmacies :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "drugs_drug_proprietaries_and_druggist_sundries"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumDrugsDrugProprietariesAndDruggistSundries :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "dry_cleaners"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumDryCleaners :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "durable_goods"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumDurableGoods :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "duty_free_stores"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumDutyFreeStores :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "eating_places_restaurants"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumEatingPlacesRestaurants :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "educational_services"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumEducationalServices :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "electric_razor_stores"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumElectricRazorStores :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "electrical_parts_and_equipment"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumElectricalPartsAndEquipment :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "electrical_services"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumElectricalServices :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "electronics_repair_shops"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumElectronicsRepairShops :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "electronics_stores"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumElectronicsStores :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "elementary_secondary_schools"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumElementarySecondarySchools :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "employment_temp_agencies"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumEmploymentTempAgencies :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "equipment_rental"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumEquipmentRental :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "exterminating_services"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumExterminatingServices :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "family_clothing_stores"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumFamilyClothingStores :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "fast_food_restaurants"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumFastFoodRestaurants :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "financial_institutions"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumFinancialInstitutions :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "fines_government_administrative_entities"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumFinesGovernmentAdministrativeEntities :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "fireplace_fireplace_screens_and_accessories_stores"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumFireplaceFireplaceScreensAndAccessoriesStores :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "floor_covering_stores"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumFloorCoveringStores :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "florists"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumFlorists :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "florists_supplies_nursery_stock_and_flowers"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumFloristsSuppliesNurseryStockAndFlowers :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "freezer_and_locker_meat_provisioners"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumFreezerAndLockerMeatProvisioners :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "fuel_dealers_non_automotive"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumFuelDealersNonAutomotive :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "funeral_services_crematories"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumFuneralServicesCrematories :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "furniture_home_furnishings_and_equipment_stores_except_appliances"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumFurnitureHomeFurnishingsAndEquipmentStoresExceptAppliances :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "furniture_repair_refinishing"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumFurnitureRepairRefinishing :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "furriers_and_fur_shops"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumFurriersAndFurShops :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "general_services"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumGeneralServices :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "gift_card_novelty_and_souvenir_shops"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumGiftCardNoveltyAndSouvenirShops :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "glass_paint_and_wallpaper_stores"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumGlassPaintAndWallpaperStores :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "glassware_crystal_stores"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumGlasswareCrystalStores :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "golf_courses_public"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumGolfCoursesPublic :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "government_services"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumGovernmentServices :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "grocery_stores_supermarkets"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumGroceryStoresSupermarkets :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "hardware_equipment_and_supplies"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumHardwareEquipmentAndSupplies :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "hardware_stores"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumHardwareStores :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "health_and_beauty_spas"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumHealthAndBeautySpas :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "hearing_aids_sales_and_supplies"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumHearingAidsSalesAndSupplies :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "heating_plumbing_a_c"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumHeatingPlumbingAC :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "hobby_toy_and_game_shops"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumHobbyToyAndGameShops :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "home_supply_warehouse_stores"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumHomeSupplyWarehouseStores :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "hospitals"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumHospitals :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "hotels_motels_and_resorts"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumHotelsMotelsAndResorts :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "household_appliance_stores"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumHouseholdApplianceStores :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "industrial_supplies"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumIndustrialSupplies :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "information_retrieval_services"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumInformationRetrievalServices :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "insurance_default"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumInsuranceDefault :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "insurance_underwriting_premiums"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumInsuranceUnderwritingPremiums :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "intra_company_purchases"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumIntraCompanyPurchases :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "jewelry_stores_watches_clocks_and_silverware_stores"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumJewelryStoresWatchesClocksAndSilverwareStores :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "landscaping_services"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumLandscapingServices :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "laundries"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumLaundries :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "laundry_cleaning_services"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumLaundryCleaningServices :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "legal_services_attorneys"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumLegalServicesAttorneys :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "luggage_and_leather_goods_stores"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumLuggageAndLeatherGoodsStores :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "lumber_building_materials_stores"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumLumberBuildingMaterialsStores :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "manual_cash_disburse"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumManualCashDisburse :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "marinas_service_and_supplies"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumMarinasServiceAndSupplies :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "masonry_stonework_and_plaster"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumMasonryStoneworkAndPlaster :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "massage_parlors"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumMassageParlors :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "medical_and_dental_labs"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumMedicalAndDentalLabs :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "medical_dental_ophthalmic_and_hospital_equipment_and_supplies"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumMedicalDentalOphthalmicAndHospitalEquipmentAndSupplies :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "medical_services"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumMedicalServices :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "membership_organizations"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumMembershipOrganizations :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "mens_and_boys_clothing_and_accessories_stores"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumMensAndBoysClothingAndAccessoriesStores :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "mens_womens_clothing_stores"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumMensWomensClothingStores :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "metal_service_centers"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumMetalServiceCenters :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "miscellaneous"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumMiscellaneous :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "miscellaneous_apparel_and_accessory_shops"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumMiscellaneousApparelAndAccessoryShops :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "miscellaneous_auto_dealers"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumMiscellaneousAutoDealers :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "miscellaneous_business_services"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumMiscellaneousBusinessServices :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "miscellaneous_food_stores"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumMiscellaneousFoodStores :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "miscellaneous_general_merchandise"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumMiscellaneousGeneralMerchandise :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "miscellaneous_general_services"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumMiscellaneousGeneralServices :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "miscellaneous_home_furnishing_specialty_stores"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumMiscellaneousHomeFurnishingSpecialtyStores :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "miscellaneous_publishing_and_printing"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumMiscellaneousPublishingAndPrinting :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "miscellaneous_recreation_services"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumMiscellaneousRecreationServices :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "miscellaneous_repair_shops"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumMiscellaneousRepairShops :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "miscellaneous_specialty_retail"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumMiscellaneousSpecialtyRetail :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "mobile_home_dealers"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumMobileHomeDealers :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "motion_picture_theaters"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumMotionPictureTheaters :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "motor_freight_carriers_and_trucking"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumMotorFreightCarriersAndTrucking :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "motor_homes_dealers"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumMotorHomesDealers :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "motor_vehicle_supplies_and_new_parts"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumMotorVehicleSuppliesAndNewParts :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "motorcycle_shops_and_dealers"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumMotorcycleShopsAndDealers :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "motorcycle_shops_dealers"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumMotorcycleShopsDealers :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "music_stores_musical_instruments_pianos_and_sheet_music"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumMusicStoresMusicalInstrumentsPianosAndSheetMusic :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "news_dealers_and_newsstands"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumNewsDealersAndNewsstands :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "non_fi_money_orders"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumNonFiMoneyOrders :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "non_fi_stored_value_card_purchase_load"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumNonFiStoredValueCardPurchaseLoad :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "nondurable_goods"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumNondurableGoods :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "nurseries_lawn_and_garden_supply_stores"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumNurseriesLawnAndGardenSupplyStores :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "nursing_personal_care"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumNursingPersonalCare :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "office_and_commercial_furniture"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumOfficeAndCommercialFurniture :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "opticians_eyeglasses"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumOpticiansEyeglasses :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "optometrists_ophthalmologist"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumOptometristsOphthalmologist :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "orthopedic_goods_prosthetic_devices"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumOrthopedicGoodsProstheticDevices :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "osteopaths"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumOsteopaths :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "package_stores_beer_wine_and_liquor"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumPackageStoresBeerWineAndLiquor :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "paints_varnishes_and_supplies"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumPaintsVarnishesAndSupplies :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "parking_lots_garages"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumParkingLotsGarages :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "passenger_railways"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumPassengerRailways :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "pawn_shops"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumPawnShops :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "pet_shops_pet_food_and_supplies"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumPetShopsPetFoodAndSupplies :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "petroleum_and_petroleum_products"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumPetroleumAndPetroleumProducts :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "photo_developing"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumPhotoDeveloping :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "photographic_photocopy_microfilm_equipment_and_supplies"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumPhotographicPhotocopyMicrofilmEquipmentAndSupplies :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "photographic_studios"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumPhotographicStudios :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "picture_video_production"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumPictureVideoProduction :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "piece_goods_notions_and_other_dry_goods"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumPieceGoodsNotionsAndOtherDryGoods :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "plumbing_heating_equipment_and_supplies"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumPlumbingHeatingEquipmentAndSupplies :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "political_organizations"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumPoliticalOrganizations :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "postal_services_government_only"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumPostalServicesGovernmentOnly :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "precious_stones_and_metals_watches_and_jewelry"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumPreciousStonesAndMetalsWatchesAndJewelry :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "professional_services"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumProfessionalServices :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "public_warehousing_and_storage"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumPublicWarehousingAndStorage :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "quick_copy_repro_and_blueprint"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumQuickCopyReproAndBlueprint :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "railroads"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumRailroads :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "real_estate_agents_and_managers_rentals"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumRealEstateAgentsAndManagersRentals :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "record_stores"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumRecordStores :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "recreational_vehicle_rentals"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumRecreationalVehicleRentals :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "religious_goods_stores"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumReligiousGoodsStores :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "religious_organizations"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumReligiousOrganizations :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "roofing_siding_sheet_metal"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumRoofingSidingSheetMetal :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "secretarial_support_services"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumSecretarialSupportServices :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "security_brokers_dealers"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumSecurityBrokersDealers :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "service_stations"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumServiceStations :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "sewing_needlework_fabric_and_piece_goods_stores"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumSewingNeedleworkFabricAndPieceGoodsStores :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "shoe_repair_hat_cleaning"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumShoeRepairHatCleaning :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "shoe_stores"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumShoeStores :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "small_appliance_repair"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumSmallApplianceRepair :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "snowmobile_dealers"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumSnowmobileDealers :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "special_trade_services"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumSpecialTradeServices :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "specialty_cleaning"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumSpecialtyCleaning :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "sporting_goods_stores"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumSportingGoodsStores :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "sporting_recreation_camps"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumSportingRecreationCamps :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "sports_and_riding_apparel_stores"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumSportsAndRidingApparelStores :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "sports_clubs_fields"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumSportsClubsFields :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "stamp_and_coin_stores"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumStampAndCoinStores :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "stationary_office_supplies_printing_and_writing_paper"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumStationaryOfficeSuppliesPrintingAndWritingPaper :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "stationery_stores_office_and_school_supply_stores"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumStationeryStoresOfficeAndSchoolSupplyStores :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "swimming_pools_sales"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumSwimmingPoolsSales :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "t_ui_travel_germany"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumTUiTravelGermany :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "tailors_alterations"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumTailorsAlterations :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "tax_payments_government_agencies"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumTaxPaymentsGovernmentAgencies :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "tax_preparation_services"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumTaxPreparationServices :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "taxicabs_limousines"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumTaxicabsLimousines :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "telecommunication_equipment_and_telephone_sales"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumTelecommunicationEquipmentAndTelephoneSales :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "telecommunication_services"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumTelecommunicationServices :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "telegraph_services"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumTelegraphServices :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "tent_and_awning_shops"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumTentAndAwningShops :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "testing_laboratories"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumTestingLaboratories :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "theatrical_ticket_agencies"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumTheatricalTicketAgencies :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "timeshares"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumTimeshares :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "tire_retreading_and_repair"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumTireRetreadingAndRepair :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "tolls_bridge_fees"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumTollsBridgeFees :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "tourist_attractions_and_exhibits"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumTouristAttractionsAndExhibits :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "towing_services"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumTowingServices :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "trailer_parks_campgrounds"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumTrailerParksCampgrounds :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "transportation_services"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumTransportationServices :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "travel_agencies_tour_operators"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumTravelAgenciesTourOperators :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "truck_stop_iteration"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumTruckStopIteration :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "truck_utility_trailer_rentals"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumTruckUtilityTrailerRentals :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "typesetting_plate_making_and_related_services"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumTypesettingPlateMakingAndRelatedServices :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "typewriter_stores"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumTypewriterStores :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "u_s_federal_government_agencies_or_departments"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumUSFederalGovernmentAgenciesOrDepartments :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "uniforms_commercial_clothing"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumUniformsCommercialClothing :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "used_merchandise_and_secondhand_stores"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumUsedMerchandiseAndSecondhandStores :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "utilities"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumUtilities :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "variety_stores"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumVarietyStores :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "veterinary_services"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumVeterinaryServices :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "video_amusement_game_supplies"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumVideoAmusementGameSupplies :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "video_game_arcades"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumVideoGameArcades :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "video_tape_rental_stores"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumVideoTapeRentalStores :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "vocational_trade_schools"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumVocationalTradeSchools :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "watch_jewelry_repair"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumWatchJewelryRepair :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "welding_repair"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumWeldingRepair :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "wholesale_clubs"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumWholesaleClubs :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "wig_and_toupee_stores"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumWigAndToupeeStores :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "wires_money_orders"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumWiresMoneyOrders :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "womens_accessory_and_specialty_shops"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumWomensAccessoryAndSpecialtyShops :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "womens_ready_to_wear_stores"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumWomensReadyToWearStores :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "wrecking_and_salvage_yards"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'EnumWreckingAndSalvageYards :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
-- | Defines the enum schema located at
-- paths./v1/issuing/cards.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.spending_controls.properties.spending_limits.items.properties.interval
-- in the specification.
data PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Interval'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Interval'Other :: Value -> PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Interval'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Interval'Typed :: Text -> PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Interval'
-- | Represents the JSON value "all_time"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Interval'EnumAllTime :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Interval'
-- | Represents the JSON value "daily"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Interval'EnumDaily :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Interval'
-- | Represents the JSON value "monthly"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Interval'EnumMonthly :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Interval'
-- | Represents the JSON value "per_authorization"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Interval'EnumPerAuthorization :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Interval'
-- | Represents the JSON value "weekly"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Interval'EnumWeekly :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Interval'
-- | Represents the JSON value "yearly"
PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Interval'EnumYearly :: PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Interval'
-- | Defines the enum schema located at
-- paths./v1/issuing/cards.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.status
-- in the specification.
--
-- Whether authorizations can be approved on this card. Defaults to
-- `inactive`.
data PostIssuingCardsRequestBodyStatus'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostIssuingCardsRequestBodyStatus'Other :: Value -> PostIssuingCardsRequestBodyStatus'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostIssuingCardsRequestBodyStatus'Typed :: Text -> PostIssuingCardsRequestBodyStatus'
-- | Represents the JSON value "active"
PostIssuingCardsRequestBodyStatus'EnumActive :: PostIssuingCardsRequestBodyStatus'
-- | Represents the JSON value "inactive"
PostIssuingCardsRequestBodyStatus'EnumInactive :: PostIssuingCardsRequestBodyStatus'
-- | Defines the enum schema located at
-- paths./v1/issuing/cards.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.type
-- in the specification.
--
-- The type of card to issue. Possible values are `physical` or
-- `virtual`.
data PostIssuingCardsRequestBodyType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostIssuingCardsRequestBodyType'Other :: Value -> PostIssuingCardsRequestBodyType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostIssuingCardsRequestBodyType'Typed :: Text -> PostIssuingCardsRequestBodyType'
-- | Represents the JSON value "physical"
PostIssuingCardsRequestBodyType'EnumPhysical :: PostIssuingCardsRequestBodyType'
-- | Represents the JSON value "virtual"
PostIssuingCardsRequestBodyType'EnumVirtual :: PostIssuingCardsRequestBodyType'
-- | Represents a response of the operation postIssuingCards.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostIssuingCardsResponseError is used.
data PostIssuingCardsResponse
-- | Means either no matching case available or a parse error
PostIssuingCardsResponseError :: String -> PostIssuingCardsResponse
-- | Successful response.
PostIssuingCardsResponse200 :: Issuing'card -> PostIssuingCardsResponse
-- | Error response.
PostIssuingCardsResponseDefault :: Error -> PostIssuingCardsResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingCards.PostIssuingCardsRequestBodyReplacementReason'
instance GHC.Show.Show StripeAPI.Operations.PostIssuingCards.PostIssuingCardsRequestBodyReplacementReason'
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingCards.PostIssuingCardsRequestBodyShipping'Address'
instance GHC.Show.Show StripeAPI.Operations.PostIssuingCards.PostIssuingCardsRequestBodyShipping'Address'
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingCards.PostIssuingCardsRequestBodyShipping'Service'
instance GHC.Show.Show StripeAPI.Operations.PostIssuingCards.PostIssuingCardsRequestBodyShipping'Service'
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingCards.PostIssuingCardsRequestBodyShipping'Type'
instance GHC.Show.Show StripeAPI.Operations.PostIssuingCards.PostIssuingCardsRequestBodyShipping'Type'
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingCards.PostIssuingCardsRequestBodyShipping'
instance GHC.Show.Show StripeAPI.Operations.PostIssuingCards.PostIssuingCardsRequestBodyShipping'
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingCards.PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
instance GHC.Show.Show StripeAPI.Operations.PostIssuingCards.PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingCards.PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
instance GHC.Show.Show StripeAPI.Operations.PostIssuingCards.PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingCards.PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
instance GHC.Show.Show StripeAPI.Operations.PostIssuingCards.PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingCards.PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Interval'
instance GHC.Show.Show StripeAPI.Operations.PostIssuingCards.PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Interval'
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingCards.PostIssuingCardsRequestBodySpendingControls'SpendingLimits'
instance GHC.Show.Show StripeAPI.Operations.PostIssuingCards.PostIssuingCardsRequestBodySpendingControls'SpendingLimits'
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingCards.PostIssuingCardsRequestBodySpendingControls'
instance GHC.Show.Show StripeAPI.Operations.PostIssuingCards.PostIssuingCardsRequestBodySpendingControls'
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingCards.PostIssuingCardsRequestBodyStatus'
instance GHC.Show.Show StripeAPI.Operations.PostIssuingCards.PostIssuingCardsRequestBodyStatus'
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingCards.PostIssuingCardsRequestBodyType'
instance GHC.Show.Show StripeAPI.Operations.PostIssuingCards.PostIssuingCardsRequestBodyType'
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingCards.PostIssuingCardsRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostIssuingCards.PostIssuingCardsRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingCards.PostIssuingCardsResponse
instance GHC.Show.Show StripeAPI.Operations.PostIssuingCards.PostIssuingCardsResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingCards.PostIssuingCardsRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingCards.PostIssuingCardsRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingCards.PostIssuingCardsRequestBodyType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingCards.PostIssuingCardsRequestBodyType'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingCards.PostIssuingCardsRequestBodyStatus'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingCards.PostIssuingCardsRequestBodyStatus'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingCards.PostIssuingCardsRequestBodySpendingControls'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingCards.PostIssuingCardsRequestBodySpendingControls'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingCards.PostIssuingCardsRequestBodySpendingControls'SpendingLimits'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingCards.PostIssuingCardsRequestBodySpendingControls'SpendingLimits'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingCards.PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Interval'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingCards.PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Interval'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingCards.PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingCards.PostIssuingCardsRequestBodySpendingControls'SpendingLimits'Categories'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingCards.PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingCards.PostIssuingCardsRequestBodySpendingControls'BlockedCategories'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingCards.PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingCards.PostIssuingCardsRequestBodySpendingControls'AllowedCategories'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingCards.PostIssuingCardsRequestBodyShipping'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingCards.PostIssuingCardsRequestBodyShipping'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingCards.PostIssuingCardsRequestBodyShipping'Type'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingCards.PostIssuingCardsRequestBodyShipping'Type'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingCards.PostIssuingCardsRequestBodyShipping'Service'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingCards.PostIssuingCardsRequestBodyShipping'Service'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingCards.PostIssuingCardsRequestBodyShipping'Address'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingCards.PostIssuingCardsRequestBodyShipping'Address'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingCards.PostIssuingCardsRequestBodyReplacementReason'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingCards.PostIssuingCardsRequestBodyReplacementReason'
-- | Contains the different functions to run the operation
-- postIssuingCardholdersCardholder
module StripeAPI.Operations.PostIssuingCardholdersCardholder
-- |
-- POST /v1/issuing/cardholders/{cardholder}
--
--
-- <p>Updates the specified Issuing
-- <code>Cardholder</code> object by setting the values of
-- the parameters passed. Any parameters not provided will be left
-- unchanged.</p>
postIssuingCardholdersCardholder :: forall m. MonadHTTP m => Text -> Maybe PostIssuingCardholdersCardholderRequestBody -> ClientT m (Response PostIssuingCardholdersCardholderResponse)
-- | Defines the object schema located at
-- paths./v1/issuing/cardholders/{cardholder}.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostIssuingCardholdersCardholderRequestBody
PostIssuingCardholdersCardholderRequestBody :: Maybe PostIssuingCardholdersCardholderRequestBodyBilling' -> Maybe PostIssuingCardholdersCardholderRequestBodyCompany' -> Maybe Text -> Maybe [Text] -> Maybe PostIssuingCardholdersCardholderRequestBodyIndividual' -> Maybe Object -> Maybe Text -> Maybe PostIssuingCardholdersCardholderRequestBodySpendingControls' -> Maybe PostIssuingCardholdersCardholderRequestBodyStatus' -> PostIssuingCardholdersCardholderRequestBody
-- | billing: The cardholder's billing address.
[postIssuingCardholdersCardholderRequestBodyBilling] :: PostIssuingCardholdersCardholderRequestBody -> Maybe PostIssuingCardholdersCardholderRequestBodyBilling'
-- | company: Additional information about a `company` cardholder.
[postIssuingCardholdersCardholderRequestBodyCompany] :: PostIssuingCardholdersCardholderRequestBody -> Maybe PostIssuingCardholdersCardholderRequestBodyCompany'
-- | email: The cardholder's email address.
[postIssuingCardholdersCardholderRequestBodyEmail] :: PostIssuingCardholdersCardholderRequestBody -> Maybe Text
-- | expand: Specifies which fields in the response should be expanded.
[postIssuingCardholdersCardholderRequestBodyExpand] :: PostIssuingCardholdersCardholderRequestBody -> Maybe [Text]
-- | individual: Additional information about an `individual` cardholder.
[postIssuingCardholdersCardholderRequestBodyIndividual] :: PostIssuingCardholdersCardholderRequestBody -> Maybe PostIssuingCardholdersCardholderRequestBodyIndividual'
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postIssuingCardholdersCardholderRequestBodyMetadata] :: PostIssuingCardholdersCardholderRequestBody -> Maybe Object
-- | phone_number: The cardholder's phone number.
[postIssuingCardholdersCardholderRequestBodyPhoneNumber] :: PostIssuingCardholdersCardholderRequestBody -> Maybe Text
-- | spending_controls: Rules that control spending across this
-- cardholder's cards. Refer to our documentation for more
-- details.
[postIssuingCardholdersCardholderRequestBodySpendingControls] :: PostIssuingCardholdersCardholderRequestBody -> Maybe PostIssuingCardholdersCardholderRequestBodySpendingControls'
-- | status: Specifies whether to permit authorizations on this
-- cardholder's cards.
[postIssuingCardholdersCardholderRequestBodyStatus] :: PostIssuingCardholdersCardholderRequestBody -> Maybe PostIssuingCardholdersCardholderRequestBodyStatus'
-- | Create a new PostIssuingCardholdersCardholderRequestBody with
-- all required fields.
mkPostIssuingCardholdersCardholderRequestBody :: PostIssuingCardholdersCardholderRequestBody
-- | Defines the object schema located at
-- paths./v1/issuing/cardholders/{cardholder}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.billing
-- in the specification.
--
-- The cardholder's billing address.
data PostIssuingCardholdersCardholderRequestBodyBilling'
PostIssuingCardholdersCardholderRequestBodyBilling' :: PostIssuingCardholdersCardholderRequestBodyBilling'Address' -> PostIssuingCardholdersCardholderRequestBodyBilling'
-- | address
[postIssuingCardholdersCardholderRequestBodyBilling'Address] :: PostIssuingCardholdersCardholderRequestBodyBilling' -> PostIssuingCardholdersCardholderRequestBodyBilling'Address'
-- | Create a new
-- PostIssuingCardholdersCardholderRequestBodyBilling' with all
-- required fields.
mkPostIssuingCardholdersCardholderRequestBodyBilling' :: PostIssuingCardholdersCardholderRequestBodyBilling'Address' -> PostIssuingCardholdersCardholderRequestBodyBilling'
-- | Defines the object schema located at
-- paths./v1/issuing/cardholders/{cardholder}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.billing.properties.address
-- in the specification.
data PostIssuingCardholdersCardholderRequestBodyBilling'Address'
PostIssuingCardholdersCardholderRequestBodyBilling'Address' :: Text -> Text -> Text -> Maybe Text -> Text -> Maybe Text -> PostIssuingCardholdersCardholderRequestBodyBilling'Address'
-- | city
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postIssuingCardholdersCardholderRequestBodyBilling'Address'City] :: PostIssuingCardholdersCardholderRequestBodyBilling'Address' -> Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postIssuingCardholdersCardholderRequestBodyBilling'Address'Country] :: PostIssuingCardholdersCardholderRequestBodyBilling'Address' -> Text
-- | line1
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postIssuingCardholdersCardholderRequestBodyBilling'Address'Line1] :: PostIssuingCardholdersCardholderRequestBodyBilling'Address' -> Text
-- | line2
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postIssuingCardholdersCardholderRequestBodyBilling'Address'Line2] :: PostIssuingCardholdersCardholderRequestBodyBilling'Address' -> Maybe Text
-- | postal_code
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postIssuingCardholdersCardholderRequestBodyBilling'Address'PostalCode] :: PostIssuingCardholdersCardholderRequestBodyBilling'Address' -> Text
-- | state
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postIssuingCardholdersCardholderRequestBodyBilling'Address'State] :: PostIssuingCardholdersCardholderRequestBodyBilling'Address' -> Maybe Text
-- | Create a new
-- PostIssuingCardholdersCardholderRequestBodyBilling'Address'
-- with all required fields.
mkPostIssuingCardholdersCardholderRequestBodyBilling'Address' :: Text -> Text -> Text -> Text -> PostIssuingCardholdersCardholderRequestBodyBilling'Address'
-- | Defines the object schema located at
-- paths./v1/issuing/cardholders/{cardholder}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.company
-- in the specification.
--
-- Additional information about a `company` cardholder.
data PostIssuingCardholdersCardholderRequestBodyCompany'
PostIssuingCardholdersCardholderRequestBodyCompany' :: Maybe Text -> PostIssuingCardholdersCardholderRequestBodyCompany'
-- | tax_id
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postIssuingCardholdersCardholderRequestBodyCompany'TaxId] :: PostIssuingCardholdersCardholderRequestBodyCompany' -> Maybe Text
-- | Create a new
-- PostIssuingCardholdersCardholderRequestBodyCompany' with all
-- required fields.
mkPostIssuingCardholdersCardholderRequestBodyCompany' :: PostIssuingCardholdersCardholderRequestBodyCompany'
-- | Defines the object schema located at
-- paths./v1/issuing/cardholders/{cardholder}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.individual
-- in the specification.
--
-- Additional information about an `individual` cardholder.
data PostIssuingCardholdersCardholderRequestBodyIndividual'
PostIssuingCardholdersCardholderRequestBodyIndividual' :: Maybe PostIssuingCardholdersCardholderRequestBodyIndividual'Dob' -> Text -> Text -> Maybe PostIssuingCardholdersCardholderRequestBodyIndividual'Verification' -> PostIssuingCardholdersCardholderRequestBodyIndividual'
-- | dob
[postIssuingCardholdersCardholderRequestBodyIndividual'Dob] :: PostIssuingCardholdersCardholderRequestBodyIndividual' -> Maybe PostIssuingCardholdersCardholderRequestBodyIndividual'Dob'
-- | first_name
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postIssuingCardholdersCardholderRequestBodyIndividual'FirstName] :: PostIssuingCardholdersCardholderRequestBodyIndividual' -> Text
-- | last_name
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postIssuingCardholdersCardholderRequestBodyIndividual'LastName] :: PostIssuingCardholdersCardholderRequestBodyIndividual' -> Text
-- | verification
[postIssuingCardholdersCardholderRequestBodyIndividual'Verification] :: PostIssuingCardholdersCardholderRequestBodyIndividual' -> Maybe PostIssuingCardholdersCardholderRequestBodyIndividual'Verification'
-- | Create a new
-- PostIssuingCardholdersCardholderRequestBodyIndividual' with all
-- required fields.
mkPostIssuingCardholdersCardholderRequestBodyIndividual' :: Text -> Text -> PostIssuingCardholdersCardholderRequestBodyIndividual'
-- | Defines the object schema located at
-- paths./v1/issuing/cardholders/{cardholder}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.individual.properties.dob
-- in the specification.
data PostIssuingCardholdersCardholderRequestBodyIndividual'Dob'
PostIssuingCardholdersCardholderRequestBodyIndividual'Dob' :: Int -> Int -> Int -> PostIssuingCardholdersCardholderRequestBodyIndividual'Dob'
-- | day
[postIssuingCardholdersCardholderRequestBodyIndividual'Dob'Day] :: PostIssuingCardholdersCardholderRequestBodyIndividual'Dob' -> Int
-- | month
[postIssuingCardholdersCardholderRequestBodyIndividual'Dob'Month] :: PostIssuingCardholdersCardholderRequestBodyIndividual'Dob' -> Int
-- | year
[postIssuingCardholdersCardholderRequestBodyIndividual'Dob'Year] :: PostIssuingCardholdersCardholderRequestBodyIndividual'Dob' -> Int
-- | Create a new
-- PostIssuingCardholdersCardholderRequestBodyIndividual'Dob' with
-- all required fields.
mkPostIssuingCardholdersCardholderRequestBodyIndividual'Dob' :: Int -> Int -> Int -> PostIssuingCardholdersCardholderRequestBodyIndividual'Dob'
-- | Defines the object schema located at
-- paths./v1/issuing/cardholders/{cardholder}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.individual.properties.verification
-- in the specification.
data PostIssuingCardholdersCardholderRequestBodyIndividual'Verification'
PostIssuingCardholdersCardholderRequestBodyIndividual'Verification' :: Maybe PostIssuingCardholdersCardholderRequestBodyIndividual'Verification'Document' -> PostIssuingCardholdersCardholderRequestBodyIndividual'Verification'
-- | document
[postIssuingCardholdersCardholderRequestBodyIndividual'Verification'Document] :: PostIssuingCardholdersCardholderRequestBodyIndividual'Verification' -> Maybe PostIssuingCardholdersCardholderRequestBodyIndividual'Verification'Document'
-- | Create a new
-- PostIssuingCardholdersCardholderRequestBodyIndividual'Verification'
-- with all required fields.
mkPostIssuingCardholdersCardholderRequestBodyIndividual'Verification' :: PostIssuingCardholdersCardholderRequestBodyIndividual'Verification'
-- | Defines the object schema located at
-- paths./v1/issuing/cardholders/{cardholder}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.individual.properties.verification.properties.document
-- in the specification.
data PostIssuingCardholdersCardholderRequestBodyIndividual'Verification'Document'
PostIssuingCardholdersCardholderRequestBodyIndividual'Verification'Document' :: Maybe Text -> Maybe Text -> PostIssuingCardholdersCardholderRequestBodyIndividual'Verification'Document'
-- | back
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postIssuingCardholdersCardholderRequestBodyIndividual'Verification'Document'Back] :: PostIssuingCardholdersCardholderRequestBodyIndividual'Verification'Document' -> Maybe Text
-- | front
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postIssuingCardholdersCardholderRequestBodyIndividual'Verification'Document'Front] :: PostIssuingCardholdersCardholderRequestBodyIndividual'Verification'Document' -> Maybe Text
-- | Create a new
-- PostIssuingCardholdersCardholderRequestBodyIndividual'Verification'Document'
-- with all required fields.
mkPostIssuingCardholdersCardholderRequestBodyIndividual'Verification'Document' :: PostIssuingCardholdersCardholderRequestBodyIndividual'Verification'Document'
-- | Defines the object schema located at
-- paths./v1/issuing/cardholders/{cardholder}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.spending_controls
-- in the specification.
--
-- Rules that control spending across this cardholder's cards. Refer to
-- our documentation for more details.
data PostIssuingCardholdersCardholderRequestBodySpendingControls'
PostIssuingCardholdersCardholderRequestBodySpendingControls' :: Maybe [PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'] -> Maybe [PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'] -> Maybe [PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'] -> Maybe Text -> PostIssuingCardholdersCardholderRequestBodySpendingControls'
-- | allowed_categories
[postIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories] :: PostIssuingCardholdersCardholderRequestBodySpendingControls' -> Maybe [PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories']
-- | blocked_categories
[postIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories] :: PostIssuingCardholdersCardholderRequestBodySpendingControls' -> Maybe [PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories']
-- | spending_limits
[postIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits] :: PostIssuingCardholdersCardholderRequestBodySpendingControls' -> Maybe [PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits']
-- | spending_limits_currency
[postIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimitsCurrency] :: PostIssuingCardholdersCardholderRequestBodySpendingControls' -> Maybe Text
-- | Create a new
-- PostIssuingCardholdersCardholderRequestBodySpendingControls'
-- with all required fields.
mkPostIssuingCardholdersCardholderRequestBodySpendingControls' :: PostIssuingCardholdersCardholderRequestBodySpendingControls'
-- | Defines the enum schema located at
-- paths./v1/issuing/cardholders/{cardholder}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.spending_controls.properties.allowed_categories.items
-- in the specification.
data PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'Other :: Value -> PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'Typed :: Text -> PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "ac_refrigeration_repair"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumAcRefrigerationRepair :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "accounting_bookkeeping_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumAccountingBookkeepingServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "advertising_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumAdvertisingServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "agricultural_cooperative"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumAgriculturalCooperative :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "airlines_air_carriers"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumAirlinesAirCarriers :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "airports_flying_fields"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumAirportsFlyingFields :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "ambulance_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumAmbulanceServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "amusement_parks_carnivals"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumAmusementParksCarnivals :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "antique_reproductions"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumAntiqueReproductions :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "antique_shops"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumAntiqueShops :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "aquariums"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumAquariums :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "architectural_surveying_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumArchitecturalSurveyingServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "art_dealers_and_galleries"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumArtDealersAndGalleries :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "artists_supply_and_craft_shops"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumArtistsSupplyAndCraftShops :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "auto_and_home_supply_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumAutoAndHomeSupplyStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "auto_body_repair_shops"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumAutoBodyRepairShops :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "auto_paint_shops"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumAutoPaintShops :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "auto_service_shops"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumAutoServiceShops :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "automated_cash_disburse"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumAutomatedCashDisburse :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "automated_fuel_dispensers"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumAutomatedFuelDispensers :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "automobile_associations"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumAutomobileAssociations :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "automotive_parts_and_accessories_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumAutomotivePartsAndAccessoriesStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "automotive_tire_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumAutomotiveTireStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "bail_and_bond_payments"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumBailAndBondPayments :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "bakeries"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumBakeries :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "bands_orchestras"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumBandsOrchestras :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "barber_and_beauty_shops"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumBarberAndBeautyShops :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "betting_casino_gambling"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumBettingCasinoGambling :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "bicycle_shops"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumBicycleShops :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "billiard_pool_establishments"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumBilliardPoolEstablishments :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "boat_dealers"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumBoatDealers :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "boat_rentals_and_leases"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumBoatRentalsAndLeases :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "book_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumBookStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "books_periodicals_and_newspapers"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumBooksPeriodicalsAndNewspapers :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "bowling_alleys"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumBowlingAlleys :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "bus_lines"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumBusLines :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "business_secretarial_schools"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumBusinessSecretarialSchools :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "buying_shopping_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumBuyingShoppingServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "cable_satellite_and_other_pay_television_and_radio"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumCableSatelliteAndOtherPayTelevisionAndRadio :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "camera_and_photographic_supply_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumCameraAndPhotographicSupplyStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "candy_nut_and_confectionery_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumCandyNutAndConfectioneryStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "car_and_truck_dealers_new_used"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumCarAndTruckDealersNewUsed :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "car_and_truck_dealers_used_only"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumCarAndTruckDealersUsedOnly :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "car_rental_agencies"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumCarRentalAgencies :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "car_washes"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumCarWashes :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "carpentry_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumCarpentryServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "carpet_upholstery_cleaning"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumCarpetUpholsteryCleaning :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "caterers"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumCaterers :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "charitable_and_social_service_organizations_fundraising"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumCharitableAndSocialServiceOrganizationsFundraising :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "chemicals_and_allied_products"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumChemicalsAndAlliedProducts :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "child_care_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumChildCareServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "childrens_and_infants_wear_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumChildrensAndInfantsWearStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "chiropodists_podiatrists"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumChiropodistsPodiatrists :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "chiropractors"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumChiropractors :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "cigar_stores_and_stands"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumCigarStoresAndStands :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "civic_social_fraternal_associations"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumCivicSocialFraternalAssociations :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "cleaning_and_maintenance"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumCleaningAndMaintenance :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "clothing_rental"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumClothingRental :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "colleges_universities"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumCollegesUniversities :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "commercial_equipment"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumCommercialEquipment :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "commercial_footwear"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumCommercialFootwear :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "commercial_photography_art_and_graphics"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumCommercialPhotographyArtAndGraphics :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "commuter_transport_and_ferries"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumCommuterTransportAndFerries :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "computer_network_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumComputerNetworkServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "computer_programming"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumComputerProgramming :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "computer_repair"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumComputerRepair :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "computer_software_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumComputerSoftwareStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "computers_peripherals_and_software"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumComputersPeripheralsAndSoftware :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "concrete_work_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumConcreteWorkServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "construction_materials"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumConstructionMaterials :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "consulting_public_relations"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumConsultingPublicRelations :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "correspondence_schools"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumCorrespondenceSchools :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "cosmetic_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumCosmeticStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "counseling_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumCounselingServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "country_clubs"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumCountryClubs :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "courier_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumCourierServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "court_costs"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumCourtCosts :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "credit_reporting_agencies"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumCreditReportingAgencies :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "cruise_lines"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumCruiseLines :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "dairy_products_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumDairyProductsStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "dance_hall_studios_schools"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumDanceHallStudiosSchools :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "dating_escort_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumDatingEscortServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "dentists_orthodontists"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumDentistsOrthodontists :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "department_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumDepartmentStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "detective_agencies"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumDetectiveAgencies :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "digital_goods_applications"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumDigitalGoodsApplications :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "digital_goods_games"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumDigitalGoodsGames :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "digital_goods_large_volume"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumDigitalGoodsLargeVolume :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "digital_goods_media"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumDigitalGoodsMedia :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "direct_marketing_catalog_merchant"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumDirectMarketingCatalogMerchant :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "direct_marketing_combination_catalog_and_retail_merchant"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumDirectMarketingCombinationCatalogAndRetailMerchant :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "direct_marketing_inbound_telemarketing"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumDirectMarketingInboundTelemarketing :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "direct_marketing_insurance_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumDirectMarketingInsuranceServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "direct_marketing_other"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumDirectMarketingOther :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "direct_marketing_outbound_telemarketing"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumDirectMarketingOutboundTelemarketing :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "direct_marketing_subscription"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumDirectMarketingSubscription :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "direct_marketing_travel"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumDirectMarketingTravel :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "discount_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumDiscountStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "doctors"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumDoctors :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "door_to_door_sales"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumDoorToDoorSales :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "drapery_window_covering_and_upholstery_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumDraperyWindowCoveringAndUpholsteryStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "drinking_places"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumDrinkingPlaces :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "drug_stores_and_pharmacies"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumDrugStoresAndPharmacies :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "drugs_drug_proprietaries_and_druggist_sundries"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumDrugsDrugProprietariesAndDruggistSundries :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "dry_cleaners"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumDryCleaners :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "durable_goods"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumDurableGoods :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "duty_free_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumDutyFreeStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "eating_places_restaurants"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumEatingPlacesRestaurants :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "educational_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumEducationalServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "electric_razor_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumElectricRazorStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "electrical_parts_and_equipment"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumElectricalPartsAndEquipment :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "electrical_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumElectricalServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "electronics_repair_shops"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumElectronicsRepairShops :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "electronics_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumElectronicsStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "elementary_secondary_schools"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumElementarySecondarySchools :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "employment_temp_agencies"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumEmploymentTempAgencies :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "equipment_rental"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumEquipmentRental :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "exterminating_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumExterminatingServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "family_clothing_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumFamilyClothingStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "fast_food_restaurants"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumFastFoodRestaurants :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "financial_institutions"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumFinancialInstitutions :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "fines_government_administrative_entities"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumFinesGovernmentAdministrativeEntities :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "fireplace_fireplace_screens_and_accessories_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumFireplaceFireplaceScreensAndAccessoriesStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "floor_covering_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumFloorCoveringStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "florists"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumFlorists :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "florists_supplies_nursery_stock_and_flowers"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumFloristsSuppliesNurseryStockAndFlowers :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "freezer_and_locker_meat_provisioners"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumFreezerAndLockerMeatProvisioners :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "fuel_dealers_non_automotive"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumFuelDealersNonAutomotive :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "funeral_services_crematories"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumFuneralServicesCrematories :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "furniture_home_furnishings_and_equipment_stores_except_appliances"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumFurnitureHomeFurnishingsAndEquipmentStoresExceptAppliances :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "furniture_repair_refinishing"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumFurnitureRepairRefinishing :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "furriers_and_fur_shops"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumFurriersAndFurShops :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "general_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumGeneralServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "gift_card_novelty_and_souvenir_shops"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumGiftCardNoveltyAndSouvenirShops :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "glass_paint_and_wallpaper_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumGlassPaintAndWallpaperStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "glassware_crystal_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumGlasswareCrystalStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "golf_courses_public"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumGolfCoursesPublic :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "government_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumGovernmentServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "grocery_stores_supermarkets"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumGroceryStoresSupermarkets :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "hardware_equipment_and_supplies"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumHardwareEquipmentAndSupplies :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "hardware_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumHardwareStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "health_and_beauty_spas"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumHealthAndBeautySpas :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "hearing_aids_sales_and_supplies"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumHearingAidsSalesAndSupplies :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "heating_plumbing_a_c"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumHeatingPlumbingAC :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "hobby_toy_and_game_shops"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumHobbyToyAndGameShops :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "home_supply_warehouse_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumHomeSupplyWarehouseStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "hospitals"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumHospitals :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "hotels_motels_and_resorts"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumHotelsMotelsAndResorts :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "household_appliance_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumHouseholdApplianceStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "industrial_supplies"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumIndustrialSupplies :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "information_retrieval_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumInformationRetrievalServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "insurance_default"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumInsuranceDefault :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "insurance_underwriting_premiums"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumInsuranceUnderwritingPremiums :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "intra_company_purchases"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumIntraCompanyPurchases :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "jewelry_stores_watches_clocks_and_silverware_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumJewelryStoresWatchesClocksAndSilverwareStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "landscaping_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumLandscapingServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "laundries"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumLaundries :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "laundry_cleaning_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumLaundryCleaningServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "legal_services_attorneys"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumLegalServicesAttorneys :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "luggage_and_leather_goods_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumLuggageAndLeatherGoodsStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "lumber_building_materials_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumLumberBuildingMaterialsStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "manual_cash_disburse"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumManualCashDisburse :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "marinas_service_and_supplies"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumMarinasServiceAndSupplies :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "masonry_stonework_and_plaster"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumMasonryStoneworkAndPlaster :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "massage_parlors"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumMassageParlors :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "medical_and_dental_labs"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumMedicalAndDentalLabs :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "medical_dental_ophthalmic_and_hospital_equipment_and_supplies"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumMedicalDentalOphthalmicAndHospitalEquipmentAndSupplies :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "medical_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumMedicalServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "membership_organizations"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumMembershipOrganizations :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "mens_and_boys_clothing_and_accessories_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumMensAndBoysClothingAndAccessoriesStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "mens_womens_clothing_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumMensWomensClothingStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "metal_service_centers"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumMetalServiceCenters :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "miscellaneous"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumMiscellaneous :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "miscellaneous_apparel_and_accessory_shops"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumMiscellaneousApparelAndAccessoryShops :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "miscellaneous_auto_dealers"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumMiscellaneousAutoDealers :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "miscellaneous_business_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumMiscellaneousBusinessServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "miscellaneous_food_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumMiscellaneousFoodStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "miscellaneous_general_merchandise"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumMiscellaneousGeneralMerchandise :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "miscellaneous_general_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumMiscellaneousGeneralServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "miscellaneous_home_furnishing_specialty_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumMiscellaneousHomeFurnishingSpecialtyStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "miscellaneous_publishing_and_printing"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumMiscellaneousPublishingAndPrinting :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "miscellaneous_recreation_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumMiscellaneousRecreationServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "miscellaneous_repair_shops"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumMiscellaneousRepairShops :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "miscellaneous_specialty_retail"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumMiscellaneousSpecialtyRetail :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "mobile_home_dealers"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumMobileHomeDealers :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "motion_picture_theaters"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumMotionPictureTheaters :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "motor_freight_carriers_and_trucking"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumMotorFreightCarriersAndTrucking :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "motor_homes_dealers"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumMotorHomesDealers :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "motor_vehicle_supplies_and_new_parts"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumMotorVehicleSuppliesAndNewParts :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "motorcycle_shops_and_dealers"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumMotorcycleShopsAndDealers :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "motorcycle_shops_dealers"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumMotorcycleShopsDealers :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "music_stores_musical_instruments_pianos_and_sheet_music"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumMusicStoresMusicalInstrumentsPianosAndSheetMusic :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "news_dealers_and_newsstands"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumNewsDealersAndNewsstands :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "non_fi_money_orders"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumNonFiMoneyOrders :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "non_fi_stored_value_card_purchase_load"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumNonFiStoredValueCardPurchaseLoad :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "nondurable_goods"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumNondurableGoods :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "nurseries_lawn_and_garden_supply_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumNurseriesLawnAndGardenSupplyStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "nursing_personal_care"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumNursingPersonalCare :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "office_and_commercial_furniture"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumOfficeAndCommercialFurniture :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "opticians_eyeglasses"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumOpticiansEyeglasses :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "optometrists_ophthalmologist"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumOptometristsOphthalmologist :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "orthopedic_goods_prosthetic_devices"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumOrthopedicGoodsProstheticDevices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "osteopaths"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumOsteopaths :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "package_stores_beer_wine_and_liquor"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumPackageStoresBeerWineAndLiquor :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "paints_varnishes_and_supplies"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumPaintsVarnishesAndSupplies :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "parking_lots_garages"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumParkingLotsGarages :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "passenger_railways"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumPassengerRailways :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "pawn_shops"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumPawnShops :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "pet_shops_pet_food_and_supplies"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumPetShopsPetFoodAndSupplies :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "petroleum_and_petroleum_products"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumPetroleumAndPetroleumProducts :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "photo_developing"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumPhotoDeveloping :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "photographic_photocopy_microfilm_equipment_and_supplies"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumPhotographicPhotocopyMicrofilmEquipmentAndSupplies :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "photographic_studios"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumPhotographicStudios :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "picture_video_production"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumPictureVideoProduction :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "piece_goods_notions_and_other_dry_goods"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumPieceGoodsNotionsAndOtherDryGoods :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "plumbing_heating_equipment_and_supplies"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumPlumbingHeatingEquipmentAndSupplies :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "political_organizations"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumPoliticalOrganizations :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "postal_services_government_only"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumPostalServicesGovernmentOnly :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "precious_stones_and_metals_watches_and_jewelry"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumPreciousStonesAndMetalsWatchesAndJewelry :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "professional_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumProfessionalServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "public_warehousing_and_storage"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumPublicWarehousingAndStorage :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "quick_copy_repro_and_blueprint"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumQuickCopyReproAndBlueprint :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "railroads"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumRailroads :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "real_estate_agents_and_managers_rentals"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumRealEstateAgentsAndManagersRentals :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "record_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumRecordStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "recreational_vehicle_rentals"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumRecreationalVehicleRentals :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "religious_goods_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumReligiousGoodsStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "religious_organizations"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumReligiousOrganizations :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "roofing_siding_sheet_metal"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumRoofingSidingSheetMetal :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "secretarial_support_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumSecretarialSupportServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "security_brokers_dealers"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumSecurityBrokersDealers :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "service_stations"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumServiceStations :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "sewing_needlework_fabric_and_piece_goods_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumSewingNeedleworkFabricAndPieceGoodsStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "shoe_repair_hat_cleaning"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumShoeRepairHatCleaning :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "shoe_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumShoeStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "small_appliance_repair"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumSmallApplianceRepair :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "snowmobile_dealers"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumSnowmobileDealers :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "special_trade_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumSpecialTradeServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "specialty_cleaning"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumSpecialtyCleaning :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "sporting_goods_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumSportingGoodsStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "sporting_recreation_camps"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumSportingRecreationCamps :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "sports_and_riding_apparel_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumSportsAndRidingApparelStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "sports_clubs_fields"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumSportsClubsFields :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "stamp_and_coin_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumStampAndCoinStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "stationary_office_supplies_printing_and_writing_paper"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumStationaryOfficeSuppliesPrintingAndWritingPaper :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "stationery_stores_office_and_school_supply_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumStationeryStoresOfficeAndSchoolSupplyStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "swimming_pools_sales"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumSwimmingPoolsSales :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "t_ui_travel_germany"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumTUiTravelGermany :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "tailors_alterations"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumTailorsAlterations :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "tax_payments_government_agencies"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumTaxPaymentsGovernmentAgencies :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "tax_preparation_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumTaxPreparationServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "taxicabs_limousines"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumTaxicabsLimousines :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "telecommunication_equipment_and_telephone_sales"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumTelecommunicationEquipmentAndTelephoneSales :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "telecommunication_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumTelecommunicationServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "telegraph_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumTelegraphServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "tent_and_awning_shops"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumTentAndAwningShops :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "testing_laboratories"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumTestingLaboratories :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "theatrical_ticket_agencies"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumTheatricalTicketAgencies :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "timeshares"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumTimeshares :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "tire_retreading_and_repair"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumTireRetreadingAndRepair :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "tolls_bridge_fees"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumTollsBridgeFees :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "tourist_attractions_and_exhibits"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumTouristAttractionsAndExhibits :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "towing_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumTowingServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "trailer_parks_campgrounds"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumTrailerParksCampgrounds :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "transportation_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumTransportationServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "travel_agencies_tour_operators"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumTravelAgenciesTourOperators :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "truck_stop_iteration"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumTruckStopIteration :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "truck_utility_trailer_rentals"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumTruckUtilityTrailerRentals :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "typesetting_plate_making_and_related_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumTypesettingPlateMakingAndRelatedServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "typewriter_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumTypewriterStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "u_s_federal_government_agencies_or_departments"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumUSFederalGovernmentAgenciesOrDepartments :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "uniforms_commercial_clothing"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumUniformsCommercialClothing :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "used_merchandise_and_secondhand_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumUsedMerchandiseAndSecondhandStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "utilities"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumUtilities :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "variety_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumVarietyStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "veterinary_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumVeterinaryServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "video_amusement_game_supplies"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumVideoAmusementGameSupplies :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "video_game_arcades"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumVideoGameArcades :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "video_tape_rental_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumVideoTapeRentalStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "vocational_trade_schools"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumVocationalTradeSchools :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "watch_jewelry_repair"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumWatchJewelryRepair :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "welding_repair"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumWeldingRepair :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "wholesale_clubs"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumWholesaleClubs :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "wig_and_toupee_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumWigAndToupeeStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "wires_money_orders"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumWiresMoneyOrders :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "womens_accessory_and_specialty_shops"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumWomensAccessoryAndSpecialtyShops :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "womens_ready_to_wear_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumWomensReadyToWearStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "wrecking_and_salvage_yards"
PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'EnumWreckingAndSalvageYards :: PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
-- | Defines the enum schema located at
-- paths./v1/issuing/cardholders/{cardholder}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.spending_controls.properties.blocked_categories.items
-- in the specification.
data PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'Other :: Value -> PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'Typed :: Text -> PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "ac_refrigeration_repair"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumAcRefrigerationRepair :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "accounting_bookkeeping_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumAccountingBookkeepingServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "advertising_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumAdvertisingServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "agricultural_cooperative"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumAgriculturalCooperative :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "airlines_air_carriers"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumAirlinesAirCarriers :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "airports_flying_fields"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumAirportsFlyingFields :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "ambulance_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumAmbulanceServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "amusement_parks_carnivals"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumAmusementParksCarnivals :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "antique_reproductions"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumAntiqueReproductions :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "antique_shops"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumAntiqueShops :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "aquariums"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumAquariums :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "architectural_surveying_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumArchitecturalSurveyingServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "art_dealers_and_galleries"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumArtDealersAndGalleries :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "artists_supply_and_craft_shops"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumArtistsSupplyAndCraftShops :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "auto_and_home_supply_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumAutoAndHomeSupplyStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "auto_body_repair_shops"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumAutoBodyRepairShops :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "auto_paint_shops"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumAutoPaintShops :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "auto_service_shops"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumAutoServiceShops :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "automated_cash_disburse"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumAutomatedCashDisburse :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "automated_fuel_dispensers"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumAutomatedFuelDispensers :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "automobile_associations"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumAutomobileAssociations :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "automotive_parts_and_accessories_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumAutomotivePartsAndAccessoriesStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "automotive_tire_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumAutomotiveTireStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "bail_and_bond_payments"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumBailAndBondPayments :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "bakeries"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumBakeries :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "bands_orchestras"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumBandsOrchestras :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "barber_and_beauty_shops"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumBarberAndBeautyShops :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "betting_casino_gambling"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumBettingCasinoGambling :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "bicycle_shops"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumBicycleShops :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "billiard_pool_establishments"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumBilliardPoolEstablishments :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "boat_dealers"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumBoatDealers :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "boat_rentals_and_leases"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumBoatRentalsAndLeases :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "book_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumBookStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "books_periodicals_and_newspapers"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumBooksPeriodicalsAndNewspapers :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "bowling_alleys"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumBowlingAlleys :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "bus_lines"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumBusLines :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "business_secretarial_schools"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumBusinessSecretarialSchools :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "buying_shopping_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumBuyingShoppingServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "cable_satellite_and_other_pay_television_and_radio"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumCableSatelliteAndOtherPayTelevisionAndRadio :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "camera_and_photographic_supply_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumCameraAndPhotographicSupplyStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "candy_nut_and_confectionery_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumCandyNutAndConfectioneryStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "car_and_truck_dealers_new_used"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumCarAndTruckDealersNewUsed :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "car_and_truck_dealers_used_only"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumCarAndTruckDealersUsedOnly :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "car_rental_agencies"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumCarRentalAgencies :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "car_washes"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumCarWashes :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "carpentry_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumCarpentryServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "carpet_upholstery_cleaning"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumCarpetUpholsteryCleaning :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "caterers"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumCaterers :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "charitable_and_social_service_organizations_fundraising"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumCharitableAndSocialServiceOrganizationsFundraising :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "chemicals_and_allied_products"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumChemicalsAndAlliedProducts :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "child_care_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumChildCareServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "childrens_and_infants_wear_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumChildrensAndInfantsWearStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "chiropodists_podiatrists"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumChiropodistsPodiatrists :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "chiropractors"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumChiropractors :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "cigar_stores_and_stands"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumCigarStoresAndStands :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "civic_social_fraternal_associations"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumCivicSocialFraternalAssociations :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "cleaning_and_maintenance"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumCleaningAndMaintenance :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "clothing_rental"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumClothingRental :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "colleges_universities"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumCollegesUniversities :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "commercial_equipment"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumCommercialEquipment :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "commercial_footwear"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumCommercialFootwear :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "commercial_photography_art_and_graphics"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumCommercialPhotographyArtAndGraphics :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "commuter_transport_and_ferries"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumCommuterTransportAndFerries :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "computer_network_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumComputerNetworkServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "computer_programming"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumComputerProgramming :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "computer_repair"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumComputerRepair :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "computer_software_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumComputerSoftwareStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "computers_peripherals_and_software"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumComputersPeripheralsAndSoftware :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "concrete_work_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumConcreteWorkServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "construction_materials"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumConstructionMaterials :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "consulting_public_relations"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumConsultingPublicRelations :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "correspondence_schools"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumCorrespondenceSchools :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "cosmetic_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumCosmeticStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "counseling_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumCounselingServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "country_clubs"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumCountryClubs :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "courier_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumCourierServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "court_costs"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumCourtCosts :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "credit_reporting_agencies"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumCreditReportingAgencies :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "cruise_lines"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumCruiseLines :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "dairy_products_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumDairyProductsStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "dance_hall_studios_schools"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumDanceHallStudiosSchools :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "dating_escort_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumDatingEscortServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "dentists_orthodontists"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumDentistsOrthodontists :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "department_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumDepartmentStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "detective_agencies"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumDetectiveAgencies :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "digital_goods_applications"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumDigitalGoodsApplications :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "digital_goods_games"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumDigitalGoodsGames :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "digital_goods_large_volume"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumDigitalGoodsLargeVolume :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "digital_goods_media"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumDigitalGoodsMedia :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "direct_marketing_catalog_merchant"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumDirectMarketingCatalogMerchant :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "direct_marketing_combination_catalog_and_retail_merchant"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumDirectMarketingCombinationCatalogAndRetailMerchant :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "direct_marketing_inbound_telemarketing"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumDirectMarketingInboundTelemarketing :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "direct_marketing_insurance_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumDirectMarketingInsuranceServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "direct_marketing_other"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumDirectMarketingOther :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "direct_marketing_outbound_telemarketing"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumDirectMarketingOutboundTelemarketing :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "direct_marketing_subscription"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumDirectMarketingSubscription :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "direct_marketing_travel"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumDirectMarketingTravel :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "discount_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumDiscountStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "doctors"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumDoctors :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "door_to_door_sales"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumDoorToDoorSales :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "drapery_window_covering_and_upholstery_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumDraperyWindowCoveringAndUpholsteryStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "drinking_places"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumDrinkingPlaces :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "drug_stores_and_pharmacies"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumDrugStoresAndPharmacies :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "drugs_drug_proprietaries_and_druggist_sundries"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumDrugsDrugProprietariesAndDruggistSundries :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "dry_cleaners"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumDryCleaners :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "durable_goods"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumDurableGoods :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "duty_free_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumDutyFreeStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "eating_places_restaurants"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumEatingPlacesRestaurants :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "educational_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumEducationalServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "electric_razor_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumElectricRazorStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "electrical_parts_and_equipment"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumElectricalPartsAndEquipment :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "electrical_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumElectricalServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "electronics_repair_shops"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumElectronicsRepairShops :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "electronics_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumElectronicsStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "elementary_secondary_schools"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumElementarySecondarySchools :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "employment_temp_agencies"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumEmploymentTempAgencies :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "equipment_rental"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumEquipmentRental :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "exterminating_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumExterminatingServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "family_clothing_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumFamilyClothingStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "fast_food_restaurants"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumFastFoodRestaurants :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "financial_institutions"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumFinancialInstitutions :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "fines_government_administrative_entities"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumFinesGovernmentAdministrativeEntities :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "fireplace_fireplace_screens_and_accessories_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumFireplaceFireplaceScreensAndAccessoriesStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "floor_covering_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumFloorCoveringStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "florists"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumFlorists :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "florists_supplies_nursery_stock_and_flowers"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumFloristsSuppliesNurseryStockAndFlowers :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "freezer_and_locker_meat_provisioners"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumFreezerAndLockerMeatProvisioners :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "fuel_dealers_non_automotive"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumFuelDealersNonAutomotive :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "funeral_services_crematories"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumFuneralServicesCrematories :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "furniture_home_furnishings_and_equipment_stores_except_appliances"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumFurnitureHomeFurnishingsAndEquipmentStoresExceptAppliances :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "furniture_repair_refinishing"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumFurnitureRepairRefinishing :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "furriers_and_fur_shops"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumFurriersAndFurShops :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "general_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumGeneralServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "gift_card_novelty_and_souvenir_shops"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumGiftCardNoveltyAndSouvenirShops :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "glass_paint_and_wallpaper_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumGlassPaintAndWallpaperStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "glassware_crystal_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumGlasswareCrystalStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "golf_courses_public"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumGolfCoursesPublic :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "government_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumGovernmentServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "grocery_stores_supermarkets"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumGroceryStoresSupermarkets :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "hardware_equipment_and_supplies"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumHardwareEquipmentAndSupplies :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "hardware_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumHardwareStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "health_and_beauty_spas"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumHealthAndBeautySpas :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "hearing_aids_sales_and_supplies"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumHearingAidsSalesAndSupplies :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "heating_plumbing_a_c"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumHeatingPlumbingAC :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "hobby_toy_and_game_shops"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumHobbyToyAndGameShops :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "home_supply_warehouse_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumHomeSupplyWarehouseStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "hospitals"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumHospitals :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "hotels_motels_and_resorts"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumHotelsMotelsAndResorts :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "household_appliance_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumHouseholdApplianceStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "industrial_supplies"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumIndustrialSupplies :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "information_retrieval_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumInformationRetrievalServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "insurance_default"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumInsuranceDefault :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "insurance_underwriting_premiums"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumInsuranceUnderwritingPremiums :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "intra_company_purchases"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumIntraCompanyPurchases :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "jewelry_stores_watches_clocks_and_silverware_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumJewelryStoresWatchesClocksAndSilverwareStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "landscaping_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumLandscapingServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "laundries"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumLaundries :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "laundry_cleaning_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumLaundryCleaningServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "legal_services_attorneys"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumLegalServicesAttorneys :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "luggage_and_leather_goods_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumLuggageAndLeatherGoodsStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "lumber_building_materials_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumLumberBuildingMaterialsStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "manual_cash_disburse"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumManualCashDisburse :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "marinas_service_and_supplies"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumMarinasServiceAndSupplies :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "masonry_stonework_and_plaster"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumMasonryStoneworkAndPlaster :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "massage_parlors"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumMassageParlors :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "medical_and_dental_labs"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumMedicalAndDentalLabs :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "medical_dental_ophthalmic_and_hospital_equipment_and_supplies"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumMedicalDentalOphthalmicAndHospitalEquipmentAndSupplies :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "medical_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumMedicalServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "membership_organizations"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumMembershipOrganizations :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "mens_and_boys_clothing_and_accessories_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumMensAndBoysClothingAndAccessoriesStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "mens_womens_clothing_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumMensWomensClothingStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "metal_service_centers"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumMetalServiceCenters :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "miscellaneous"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumMiscellaneous :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "miscellaneous_apparel_and_accessory_shops"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumMiscellaneousApparelAndAccessoryShops :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "miscellaneous_auto_dealers"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumMiscellaneousAutoDealers :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "miscellaneous_business_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumMiscellaneousBusinessServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "miscellaneous_food_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumMiscellaneousFoodStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "miscellaneous_general_merchandise"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumMiscellaneousGeneralMerchandise :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "miscellaneous_general_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumMiscellaneousGeneralServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "miscellaneous_home_furnishing_specialty_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumMiscellaneousHomeFurnishingSpecialtyStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "miscellaneous_publishing_and_printing"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumMiscellaneousPublishingAndPrinting :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "miscellaneous_recreation_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumMiscellaneousRecreationServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "miscellaneous_repair_shops"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumMiscellaneousRepairShops :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "miscellaneous_specialty_retail"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumMiscellaneousSpecialtyRetail :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "mobile_home_dealers"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumMobileHomeDealers :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "motion_picture_theaters"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumMotionPictureTheaters :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "motor_freight_carriers_and_trucking"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumMotorFreightCarriersAndTrucking :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "motor_homes_dealers"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumMotorHomesDealers :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "motor_vehicle_supplies_and_new_parts"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumMotorVehicleSuppliesAndNewParts :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "motorcycle_shops_and_dealers"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumMotorcycleShopsAndDealers :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "motorcycle_shops_dealers"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumMotorcycleShopsDealers :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "music_stores_musical_instruments_pianos_and_sheet_music"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumMusicStoresMusicalInstrumentsPianosAndSheetMusic :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "news_dealers_and_newsstands"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumNewsDealersAndNewsstands :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "non_fi_money_orders"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumNonFiMoneyOrders :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "non_fi_stored_value_card_purchase_load"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumNonFiStoredValueCardPurchaseLoad :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "nondurable_goods"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumNondurableGoods :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "nurseries_lawn_and_garden_supply_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumNurseriesLawnAndGardenSupplyStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "nursing_personal_care"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumNursingPersonalCare :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "office_and_commercial_furniture"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumOfficeAndCommercialFurniture :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "opticians_eyeglasses"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumOpticiansEyeglasses :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "optometrists_ophthalmologist"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumOptometristsOphthalmologist :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "orthopedic_goods_prosthetic_devices"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumOrthopedicGoodsProstheticDevices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "osteopaths"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumOsteopaths :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "package_stores_beer_wine_and_liquor"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumPackageStoresBeerWineAndLiquor :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "paints_varnishes_and_supplies"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumPaintsVarnishesAndSupplies :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "parking_lots_garages"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumParkingLotsGarages :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "passenger_railways"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumPassengerRailways :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "pawn_shops"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumPawnShops :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "pet_shops_pet_food_and_supplies"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumPetShopsPetFoodAndSupplies :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "petroleum_and_petroleum_products"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumPetroleumAndPetroleumProducts :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "photo_developing"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumPhotoDeveloping :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "photographic_photocopy_microfilm_equipment_and_supplies"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumPhotographicPhotocopyMicrofilmEquipmentAndSupplies :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "photographic_studios"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumPhotographicStudios :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "picture_video_production"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumPictureVideoProduction :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "piece_goods_notions_and_other_dry_goods"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumPieceGoodsNotionsAndOtherDryGoods :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "plumbing_heating_equipment_and_supplies"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumPlumbingHeatingEquipmentAndSupplies :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "political_organizations"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumPoliticalOrganizations :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "postal_services_government_only"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumPostalServicesGovernmentOnly :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "precious_stones_and_metals_watches_and_jewelry"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumPreciousStonesAndMetalsWatchesAndJewelry :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "professional_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumProfessionalServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "public_warehousing_and_storage"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumPublicWarehousingAndStorage :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "quick_copy_repro_and_blueprint"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumQuickCopyReproAndBlueprint :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "railroads"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumRailroads :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "real_estate_agents_and_managers_rentals"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumRealEstateAgentsAndManagersRentals :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "record_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumRecordStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "recreational_vehicle_rentals"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumRecreationalVehicleRentals :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "religious_goods_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumReligiousGoodsStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "religious_organizations"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumReligiousOrganizations :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "roofing_siding_sheet_metal"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumRoofingSidingSheetMetal :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "secretarial_support_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumSecretarialSupportServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "security_brokers_dealers"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumSecurityBrokersDealers :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "service_stations"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumServiceStations :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "sewing_needlework_fabric_and_piece_goods_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumSewingNeedleworkFabricAndPieceGoodsStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "shoe_repair_hat_cleaning"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumShoeRepairHatCleaning :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "shoe_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumShoeStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "small_appliance_repair"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumSmallApplianceRepair :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "snowmobile_dealers"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumSnowmobileDealers :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "special_trade_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumSpecialTradeServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "specialty_cleaning"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumSpecialtyCleaning :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "sporting_goods_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumSportingGoodsStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "sporting_recreation_camps"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumSportingRecreationCamps :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "sports_and_riding_apparel_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumSportsAndRidingApparelStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "sports_clubs_fields"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumSportsClubsFields :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "stamp_and_coin_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumStampAndCoinStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "stationary_office_supplies_printing_and_writing_paper"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumStationaryOfficeSuppliesPrintingAndWritingPaper :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "stationery_stores_office_and_school_supply_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumStationeryStoresOfficeAndSchoolSupplyStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "swimming_pools_sales"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumSwimmingPoolsSales :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "t_ui_travel_germany"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumTUiTravelGermany :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "tailors_alterations"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumTailorsAlterations :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "tax_payments_government_agencies"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumTaxPaymentsGovernmentAgencies :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "tax_preparation_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumTaxPreparationServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "taxicabs_limousines"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumTaxicabsLimousines :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "telecommunication_equipment_and_telephone_sales"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumTelecommunicationEquipmentAndTelephoneSales :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "telecommunication_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumTelecommunicationServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "telegraph_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumTelegraphServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "tent_and_awning_shops"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumTentAndAwningShops :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "testing_laboratories"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumTestingLaboratories :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "theatrical_ticket_agencies"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumTheatricalTicketAgencies :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "timeshares"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumTimeshares :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "tire_retreading_and_repair"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumTireRetreadingAndRepair :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "tolls_bridge_fees"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumTollsBridgeFees :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "tourist_attractions_and_exhibits"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumTouristAttractionsAndExhibits :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "towing_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumTowingServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "trailer_parks_campgrounds"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumTrailerParksCampgrounds :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "transportation_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumTransportationServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "travel_agencies_tour_operators"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumTravelAgenciesTourOperators :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "truck_stop_iteration"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumTruckStopIteration :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "truck_utility_trailer_rentals"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumTruckUtilityTrailerRentals :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "typesetting_plate_making_and_related_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumTypesettingPlateMakingAndRelatedServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "typewriter_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumTypewriterStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "u_s_federal_government_agencies_or_departments"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumUSFederalGovernmentAgenciesOrDepartments :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "uniforms_commercial_clothing"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumUniformsCommercialClothing :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "used_merchandise_and_secondhand_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumUsedMerchandiseAndSecondhandStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "utilities"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumUtilities :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "variety_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumVarietyStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "veterinary_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumVeterinaryServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "video_amusement_game_supplies"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumVideoAmusementGameSupplies :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "video_game_arcades"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumVideoGameArcades :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "video_tape_rental_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumVideoTapeRentalStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "vocational_trade_schools"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumVocationalTradeSchools :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "watch_jewelry_repair"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumWatchJewelryRepair :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "welding_repair"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumWeldingRepair :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "wholesale_clubs"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumWholesaleClubs :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "wig_and_toupee_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumWigAndToupeeStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "wires_money_orders"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumWiresMoneyOrders :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "womens_accessory_and_specialty_shops"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumWomensAccessoryAndSpecialtyShops :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "womens_ready_to_wear_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumWomensReadyToWearStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "wrecking_and_salvage_yards"
PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'EnumWreckingAndSalvageYards :: PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
-- | Defines the object schema located at
-- paths./v1/issuing/cardholders/{cardholder}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.spending_controls.properties.spending_limits.items
-- in the specification.
data PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits' :: Int -> Maybe [PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'] -> PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Interval' -> PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'
-- | amount
[postIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Amount] :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits' -> Int
-- | categories
[postIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories] :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits' -> Maybe [PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories']
-- | interval
[postIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Interval] :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits' -> PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Interval'
-- | Create a new
-- PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'
-- with all required fields.
mkPostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits' :: Int -> PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Interval' -> PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'
-- | Defines the enum schema located at
-- paths./v1/issuing/cardholders/{cardholder}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.spending_controls.properties.spending_limits.items.properties.categories.items
-- in the specification.
data PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'Other :: Value -> PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'Typed :: Text -> PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "ac_refrigeration_repair"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumAcRefrigerationRepair :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "accounting_bookkeeping_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumAccountingBookkeepingServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "advertising_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumAdvertisingServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "agricultural_cooperative"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumAgriculturalCooperative :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "airlines_air_carriers"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumAirlinesAirCarriers :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "airports_flying_fields"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumAirportsFlyingFields :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "ambulance_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumAmbulanceServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "amusement_parks_carnivals"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumAmusementParksCarnivals :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "antique_reproductions"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumAntiqueReproductions :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "antique_shops"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumAntiqueShops :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "aquariums"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumAquariums :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "architectural_surveying_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumArchitecturalSurveyingServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "art_dealers_and_galleries"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumArtDealersAndGalleries :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "artists_supply_and_craft_shops"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumArtistsSupplyAndCraftShops :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "auto_and_home_supply_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumAutoAndHomeSupplyStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "auto_body_repair_shops"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumAutoBodyRepairShops :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "auto_paint_shops"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumAutoPaintShops :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "auto_service_shops"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumAutoServiceShops :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "automated_cash_disburse"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumAutomatedCashDisburse :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "automated_fuel_dispensers"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumAutomatedFuelDispensers :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "automobile_associations"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumAutomobileAssociations :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "automotive_parts_and_accessories_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumAutomotivePartsAndAccessoriesStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "automotive_tire_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumAutomotiveTireStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "bail_and_bond_payments"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumBailAndBondPayments :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "bakeries"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumBakeries :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "bands_orchestras"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumBandsOrchestras :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "barber_and_beauty_shops"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumBarberAndBeautyShops :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "betting_casino_gambling"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumBettingCasinoGambling :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "bicycle_shops"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumBicycleShops :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "billiard_pool_establishments"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumBilliardPoolEstablishments :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "boat_dealers"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumBoatDealers :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "boat_rentals_and_leases"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumBoatRentalsAndLeases :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "book_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumBookStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "books_periodicals_and_newspapers"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumBooksPeriodicalsAndNewspapers :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "bowling_alleys"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumBowlingAlleys :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "bus_lines"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumBusLines :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "business_secretarial_schools"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumBusinessSecretarialSchools :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "buying_shopping_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumBuyingShoppingServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "cable_satellite_and_other_pay_television_and_radio"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumCableSatelliteAndOtherPayTelevisionAndRadio :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "camera_and_photographic_supply_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumCameraAndPhotographicSupplyStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "candy_nut_and_confectionery_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumCandyNutAndConfectioneryStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "car_and_truck_dealers_new_used"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumCarAndTruckDealersNewUsed :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "car_and_truck_dealers_used_only"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumCarAndTruckDealersUsedOnly :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "car_rental_agencies"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumCarRentalAgencies :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "car_washes"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumCarWashes :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "carpentry_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumCarpentryServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "carpet_upholstery_cleaning"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumCarpetUpholsteryCleaning :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "caterers"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumCaterers :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "charitable_and_social_service_organizations_fundraising"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumCharitableAndSocialServiceOrganizationsFundraising :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "chemicals_and_allied_products"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumChemicalsAndAlliedProducts :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "child_care_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumChildCareServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "childrens_and_infants_wear_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumChildrensAndInfantsWearStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "chiropodists_podiatrists"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumChiropodistsPodiatrists :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "chiropractors"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumChiropractors :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "cigar_stores_and_stands"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumCigarStoresAndStands :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "civic_social_fraternal_associations"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumCivicSocialFraternalAssociations :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "cleaning_and_maintenance"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumCleaningAndMaintenance :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "clothing_rental"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumClothingRental :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "colleges_universities"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumCollegesUniversities :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "commercial_equipment"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumCommercialEquipment :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "commercial_footwear"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumCommercialFootwear :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "commercial_photography_art_and_graphics"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumCommercialPhotographyArtAndGraphics :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "commuter_transport_and_ferries"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumCommuterTransportAndFerries :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "computer_network_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumComputerNetworkServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "computer_programming"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumComputerProgramming :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "computer_repair"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumComputerRepair :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "computer_software_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumComputerSoftwareStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "computers_peripherals_and_software"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumComputersPeripheralsAndSoftware :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "concrete_work_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumConcreteWorkServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "construction_materials"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumConstructionMaterials :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "consulting_public_relations"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumConsultingPublicRelations :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "correspondence_schools"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumCorrespondenceSchools :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "cosmetic_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumCosmeticStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "counseling_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumCounselingServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "country_clubs"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumCountryClubs :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "courier_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumCourierServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "court_costs"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumCourtCosts :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "credit_reporting_agencies"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumCreditReportingAgencies :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "cruise_lines"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumCruiseLines :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "dairy_products_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumDairyProductsStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "dance_hall_studios_schools"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumDanceHallStudiosSchools :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "dating_escort_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumDatingEscortServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "dentists_orthodontists"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumDentistsOrthodontists :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "department_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumDepartmentStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "detective_agencies"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumDetectiveAgencies :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "digital_goods_applications"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumDigitalGoodsApplications :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "digital_goods_games"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumDigitalGoodsGames :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "digital_goods_large_volume"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumDigitalGoodsLargeVolume :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "digital_goods_media"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumDigitalGoodsMedia :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "direct_marketing_catalog_merchant"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumDirectMarketingCatalogMerchant :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "direct_marketing_combination_catalog_and_retail_merchant"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumDirectMarketingCombinationCatalogAndRetailMerchant :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "direct_marketing_inbound_telemarketing"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumDirectMarketingInboundTelemarketing :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "direct_marketing_insurance_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumDirectMarketingInsuranceServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "direct_marketing_other"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumDirectMarketingOther :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "direct_marketing_outbound_telemarketing"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumDirectMarketingOutboundTelemarketing :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "direct_marketing_subscription"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumDirectMarketingSubscription :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "direct_marketing_travel"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumDirectMarketingTravel :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "discount_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumDiscountStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "doctors"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumDoctors :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "door_to_door_sales"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumDoorToDoorSales :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "drapery_window_covering_and_upholstery_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumDraperyWindowCoveringAndUpholsteryStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "drinking_places"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumDrinkingPlaces :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "drug_stores_and_pharmacies"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumDrugStoresAndPharmacies :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "drugs_drug_proprietaries_and_druggist_sundries"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumDrugsDrugProprietariesAndDruggistSundries :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "dry_cleaners"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumDryCleaners :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "durable_goods"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumDurableGoods :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "duty_free_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumDutyFreeStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "eating_places_restaurants"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumEatingPlacesRestaurants :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "educational_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumEducationalServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "electric_razor_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumElectricRazorStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "electrical_parts_and_equipment"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumElectricalPartsAndEquipment :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "electrical_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumElectricalServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "electronics_repair_shops"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumElectronicsRepairShops :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "electronics_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumElectronicsStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "elementary_secondary_schools"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumElementarySecondarySchools :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "employment_temp_agencies"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumEmploymentTempAgencies :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "equipment_rental"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumEquipmentRental :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "exterminating_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumExterminatingServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "family_clothing_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumFamilyClothingStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "fast_food_restaurants"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumFastFoodRestaurants :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "financial_institutions"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumFinancialInstitutions :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "fines_government_administrative_entities"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumFinesGovernmentAdministrativeEntities :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "fireplace_fireplace_screens_and_accessories_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumFireplaceFireplaceScreensAndAccessoriesStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "floor_covering_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumFloorCoveringStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "florists"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumFlorists :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "florists_supplies_nursery_stock_and_flowers"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumFloristsSuppliesNurseryStockAndFlowers :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "freezer_and_locker_meat_provisioners"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumFreezerAndLockerMeatProvisioners :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "fuel_dealers_non_automotive"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumFuelDealersNonAutomotive :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "funeral_services_crematories"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumFuneralServicesCrematories :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "furniture_home_furnishings_and_equipment_stores_except_appliances"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumFurnitureHomeFurnishingsAndEquipmentStoresExceptAppliances :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "furniture_repair_refinishing"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumFurnitureRepairRefinishing :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "furriers_and_fur_shops"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumFurriersAndFurShops :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "general_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumGeneralServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "gift_card_novelty_and_souvenir_shops"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumGiftCardNoveltyAndSouvenirShops :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "glass_paint_and_wallpaper_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumGlassPaintAndWallpaperStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "glassware_crystal_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumGlasswareCrystalStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "golf_courses_public"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumGolfCoursesPublic :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "government_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumGovernmentServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "grocery_stores_supermarkets"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumGroceryStoresSupermarkets :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "hardware_equipment_and_supplies"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumHardwareEquipmentAndSupplies :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "hardware_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumHardwareStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "health_and_beauty_spas"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumHealthAndBeautySpas :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "hearing_aids_sales_and_supplies"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumHearingAidsSalesAndSupplies :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "heating_plumbing_a_c"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumHeatingPlumbingAC :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "hobby_toy_and_game_shops"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumHobbyToyAndGameShops :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "home_supply_warehouse_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumHomeSupplyWarehouseStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "hospitals"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumHospitals :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "hotels_motels_and_resorts"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumHotelsMotelsAndResorts :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "household_appliance_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumHouseholdApplianceStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "industrial_supplies"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumIndustrialSupplies :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "information_retrieval_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumInformationRetrievalServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "insurance_default"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumInsuranceDefault :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "insurance_underwriting_premiums"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumInsuranceUnderwritingPremiums :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "intra_company_purchases"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumIntraCompanyPurchases :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "jewelry_stores_watches_clocks_and_silverware_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumJewelryStoresWatchesClocksAndSilverwareStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "landscaping_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumLandscapingServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "laundries"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumLaundries :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "laundry_cleaning_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumLaundryCleaningServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "legal_services_attorneys"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumLegalServicesAttorneys :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "luggage_and_leather_goods_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumLuggageAndLeatherGoodsStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "lumber_building_materials_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumLumberBuildingMaterialsStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "manual_cash_disburse"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumManualCashDisburse :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "marinas_service_and_supplies"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumMarinasServiceAndSupplies :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "masonry_stonework_and_plaster"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumMasonryStoneworkAndPlaster :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "massage_parlors"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumMassageParlors :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "medical_and_dental_labs"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumMedicalAndDentalLabs :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "medical_dental_ophthalmic_and_hospital_equipment_and_supplies"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumMedicalDentalOphthalmicAndHospitalEquipmentAndSupplies :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "medical_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumMedicalServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "membership_organizations"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumMembershipOrganizations :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "mens_and_boys_clothing_and_accessories_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumMensAndBoysClothingAndAccessoriesStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "mens_womens_clothing_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumMensWomensClothingStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "metal_service_centers"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumMetalServiceCenters :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "miscellaneous"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumMiscellaneous :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "miscellaneous_apparel_and_accessory_shops"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumMiscellaneousApparelAndAccessoryShops :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "miscellaneous_auto_dealers"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumMiscellaneousAutoDealers :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "miscellaneous_business_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumMiscellaneousBusinessServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "miscellaneous_food_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumMiscellaneousFoodStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "miscellaneous_general_merchandise"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumMiscellaneousGeneralMerchandise :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "miscellaneous_general_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumMiscellaneousGeneralServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "miscellaneous_home_furnishing_specialty_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumMiscellaneousHomeFurnishingSpecialtyStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "miscellaneous_publishing_and_printing"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumMiscellaneousPublishingAndPrinting :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "miscellaneous_recreation_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumMiscellaneousRecreationServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "miscellaneous_repair_shops"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumMiscellaneousRepairShops :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "miscellaneous_specialty_retail"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumMiscellaneousSpecialtyRetail :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "mobile_home_dealers"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumMobileHomeDealers :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "motion_picture_theaters"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumMotionPictureTheaters :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "motor_freight_carriers_and_trucking"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumMotorFreightCarriersAndTrucking :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "motor_homes_dealers"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumMotorHomesDealers :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "motor_vehicle_supplies_and_new_parts"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumMotorVehicleSuppliesAndNewParts :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "motorcycle_shops_and_dealers"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumMotorcycleShopsAndDealers :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "motorcycle_shops_dealers"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumMotorcycleShopsDealers :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "music_stores_musical_instruments_pianos_and_sheet_music"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumMusicStoresMusicalInstrumentsPianosAndSheetMusic :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "news_dealers_and_newsstands"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumNewsDealersAndNewsstands :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "non_fi_money_orders"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumNonFiMoneyOrders :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "non_fi_stored_value_card_purchase_load"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumNonFiStoredValueCardPurchaseLoad :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "nondurable_goods"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumNondurableGoods :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "nurseries_lawn_and_garden_supply_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumNurseriesLawnAndGardenSupplyStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "nursing_personal_care"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumNursingPersonalCare :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "office_and_commercial_furniture"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumOfficeAndCommercialFurniture :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "opticians_eyeglasses"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumOpticiansEyeglasses :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "optometrists_ophthalmologist"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumOptometristsOphthalmologist :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "orthopedic_goods_prosthetic_devices"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumOrthopedicGoodsProstheticDevices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "osteopaths"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumOsteopaths :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "package_stores_beer_wine_and_liquor"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumPackageStoresBeerWineAndLiquor :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "paints_varnishes_and_supplies"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumPaintsVarnishesAndSupplies :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "parking_lots_garages"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumParkingLotsGarages :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "passenger_railways"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumPassengerRailways :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "pawn_shops"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumPawnShops :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "pet_shops_pet_food_and_supplies"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumPetShopsPetFoodAndSupplies :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "petroleum_and_petroleum_products"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumPetroleumAndPetroleumProducts :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "photo_developing"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumPhotoDeveloping :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "photographic_photocopy_microfilm_equipment_and_supplies"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumPhotographicPhotocopyMicrofilmEquipmentAndSupplies :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "photographic_studios"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumPhotographicStudios :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "picture_video_production"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumPictureVideoProduction :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "piece_goods_notions_and_other_dry_goods"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumPieceGoodsNotionsAndOtherDryGoods :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "plumbing_heating_equipment_and_supplies"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumPlumbingHeatingEquipmentAndSupplies :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "political_organizations"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumPoliticalOrganizations :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "postal_services_government_only"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumPostalServicesGovernmentOnly :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "precious_stones_and_metals_watches_and_jewelry"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumPreciousStonesAndMetalsWatchesAndJewelry :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "professional_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumProfessionalServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "public_warehousing_and_storage"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumPublicWarehousingAndStorage :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "quick_copy_repro_and_blueprint"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumQuickCopyReproAndBlueprint :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "railroads"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumRailroads :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "real_estate_agents_and_managers_rentals"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumRealEstateAgentsAndManagersRentals :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "record_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumRecordStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "recreational_vehicle_rentals"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumRecreationalVehicleRentals :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "religious_goods_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumReligiousGoodsStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "religious_organizations"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumReligiousOrganizations :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "roofing_siding_sheet_metal"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumRoofingSidingSheetMetal :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "secretarial_support_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumSecretarialSupportServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "security_brokers_dealers"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumSecurityBrokersDealers :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "service_stations"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumServiceStations :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "sewing_needlework_fabric_and_piece_goods_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumSewingNeedleworkFabricAndPieceGoodsStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "shoe_repair_hat_cleaning"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumShoeRepairHatCleaning :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "shoe_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumShoeStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "small_appliance_repair"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumSmallApplianceRepair :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "snowmobile_dealers"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumSnowmobileDealers :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "special_trade_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumSpecialTradeServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "specialty_cleaning"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumSpecialtyCleaning :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "sporting_goods_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumSportingGoodsStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "sporting_recreation_camps"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumSportingRecreationCamps :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "sports_and_riding_apparel_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumSportsAndRidingApparelStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "sports_clubs_fields"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumSportsClubsFields :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "stamp_and_coin_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumStampAndCoinStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "stationary_office_supplies_printing_and_writing_paper"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumStationaryOfficeSuppliesPrintingAndWritingPaper :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "stationery_stores_office_and_school_supply_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumStationeryStoresOfficeAndSchoolSupplyStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "swimming_pools_sales"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumSwimmingPoolsSales :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "t_ui_travel_germany"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumTUiTravelGermany :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "tailors_alterations"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumTailorsAlterations :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "tax_payments_government_agencies"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumTaxPaymentsGovernmentAgencies :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "tax_preparation_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumTaxPreparationServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "taxicabs_limousines"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumTaxicabsLimousines :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "telecommunication_equipment_and_telephone_sales"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumTelecommunicationEquipmentAndTelephoneSales :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "telecommunication_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumTelecommunicationServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "telegraph_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumTelegraphServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "tent_and_awning_shops"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumTentAndAwningShops :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "testing_laboratories"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumTestingLaboratories :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "theatrical_ticket_agencies"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumTheatricalTicketAgencies :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "timeshares"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumTimeshares :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "tire_retreading_and_repair"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumTireRetreadingAndRepair :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "tolls_bridge_fees"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumTollsBridgeFees :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "tourist_attractions_and_exhibits"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumTouristAttractionsAndExhibits :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "towing_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumTowingServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "trailer_parks_campgrounds"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumTrailerParksCampgrounds :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "transportation_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumTransportationServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "travel_agencies_tour_operators"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumTravelAgenciesTourOperators :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "truck_stop_iteration"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumTruckStopIteration :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "truck_utility_trailer_rentals"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumTruckUtilityTrailerRentals :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "typesetting_plate_making_and_related_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumTypesettingPlateMakingAndRelatedServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "typewriter_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumTypewriterStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "u_s_federal_government_agencies_or_departments"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumUSFederalGovernmentAgenciesOrDepartments :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "uniforms_commercial_clothing"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumUniformsCommercialClothing :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "used_merchandise_and_secondhand_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumUsedMerchandiseAndSecondhandStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "utilities"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumUtilities :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "variety_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumVarietyStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "veterinary_services"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumVeterinaryServices :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "video_amusement_game_supplies"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumVideoAmusementGameSupplies :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "video_game_arcades"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumVideoGameArcades :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "video_tape_rental_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumVideoTapeRentalStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "vocational_trade_schools"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumVocationalTradeSchools :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "watch_jewelry_repair"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumWatchJewelryRepair :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "welding_repair"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumWeldingRepair :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "wholesale_clubs"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumWholesaleClubs :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "wig_and_toupee_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumWigAndToupeeStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "wires_money_orders"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumWiresMoneyOrders :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "womens_accessory_and_specialty_shops"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumWomensAccessoryAndSpecialtyShops :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "womens_ready_to_wear_stores"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumWomensReadyToWearStores :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "wrecking_and_salvage_yards"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'EnumWreckingAndSalvageYards :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
-- | Defines the enum schema located at
-- paths./v1/issuing/cardholders/{cardholder}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.spending_controls.properties.spending_limits.items.properties.interval
-- in the specification.
data PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Interval'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Interval'Other :: Value -> PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Interval'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Interval'Typed :: Text -> PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Interval'
-- | Represents the JSON value "all_time"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Interval'EnumAllTime :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Interval'
-- | Represents the JSON value "daily"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Interval'EnumDaily :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Interval'
-- | Represents the JSON value "monthly"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Interval'EnumMonthly :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Interval'
-- | Represents the JSON value "per_authorization"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Interval'EnumPerAuthorization :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Interval'
-- | Represents the JSON value "weekly"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Interval'EnumWeekly :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Interval'
-- | Represents the JSON value "yearly"
PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Interval'EnumYearly :: PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Interval'
-- | Defines the enum schema located at
-- paths./v1/issuing/cardholders/{cardholder}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.status
-- in the specification.
--
-- Specifies whether to permit authorizations on this cardholder's cards.
data PostIssuingCardholdersCardholderRequestBodyStatus'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostIssuingCardholdersCardholderRequestBodyStatus'Other :: Value -> PostIssuingCardholdersCardholderRequestBodyStatus'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostIssuingCardholdersCardholderRequestBodyStatus'Typed :: Text -> PostIssuingCardholdersCardholderRequestBodyStatus'
-- | Represents the JSON value "active"
PostIssuingCardholdersCardholderRequestBodyStatus'EnumActive :: PostIssuingCardholdersCardholderRequestBodyStatus'
-- | Represents the JSON value "inactive"
PostIssuingCardholdersCardholderRequestBodyStatus'EnumInactive :: PostIssuingCardholdersCardholderRequestBodyStatus'
-- | Represents a response of the operation
-- postIssuingCardholdersCardholder.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- PostIssuingCardholdersCardholderResponseError is used.
data PostIssuingCardholdersCardholderResponse
-- | Means either no matching case available or a parse error
PostIssuingCardholdersCardholderResponseError :: String -> PostIssuingCardholdersCardholderResponse
-- | Successful response.
PostIssuingCardholdersCardholderResponse200 :: Issuing'cardholder -> PostIssuingCardholdersCardholderResponse
-- | Error response.
PostIssuingCardholdersCardholderResponseDefault :: Error -> PostIssuingCardholdersCardholderResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingCardholdersCardholder.PostIssuingCardholdersCardholderRequestBodyBilling'Address'
instance GHC.Show.Show StripeAPI.Operations.PostIssuingCardholdersCardholder.PostIssuingCardholdersCardholderRequestBodyBilling'Address'
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingCardholdersCardholder.PostIssuingCardholdersCardholderRequestBodyBilling'
instance GHC.Show.Show StripeAPI.Operations.PostIssuingCardholdersCardholder.PostIssuingCardholdersCardholderRequestBodyBilling'
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingCardholdersCardholder.PostIssuingCardholdersCardholderRequestBodyCompany'
instance GHC.Show.Show StripeAPI.Operations.PostIssuingCardholdersCardholder.PostIssuingCardholdersCardholderRequestBodyCompany'
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingCardholdersCardholder.PostIssuingCardholdersCardholderRequestBodyIndividual'Dob'
instance GHC.Show.Show StripeAPI.Operations.PostIssuingCardholdersCardholder.PostIssuingCardholdersCardholderRequestBodyIndividual'Dob'
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingCardholdersCardholder.PostIssuingCardholdersCardholderRequestBodyIndividual'Verification'Document'
instance GHC.Show.Show StripeAPI.Operations.PostIssuingCardholdersCardholder.PostIssuingCardholdersCardholderRequestBodyIndividual'Verification'Document'
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingCardholdersCardholder.PostIssuingCardholdersCardholderRequestBodyIndividual'Verification'
instance GHC.Show.Show StripeAPI.Operations.PostIssuingCardholdersCardholder.PostIssuingCardholdersCardholderRequestBodyIndividual'Verification'
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingCardholdersCardholder.PostIssuingCardholdersCardholderRequestBodyIndividual'
instance GHC.Show.Show StripeAPI.Operations.PostIssuingCardholdersCardholder.PostIssuingCardholdersCardholderRequestBodyIndividual'
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingCardholdersCardholder.PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
instance GHC.Show.Show StripeAPI.Operations.PostIssuingCardholdersCardholder.PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingCardholdersCardholder.PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
instance GHC.Show.Show StripeAPI.Operations.PostIssuingCardholdersCardholder.PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingCardholdersCardholder.PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
instance GHC.Show.Show StripeAPI.Operations.PostIssuingCardholdersCardholder.PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingCardholdersCardholder.PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Interval'
instance GHC.Show.Show StripeAPI.Operations.PostIssuingCardholdersCardholder.PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Interval'
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingCardholdersCardholder.PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'
instance GHC.Show.Show StripeAPI.Operations.PostIssuingCardholdersCardholder.PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingCardholdersCardholder.PostIssuingCardholdersCardholderRequestBodySpendingControls'
instance GHC.Show.Show StripeAPI.Operations.PostIssuingCardholdersCardholder.PostIssuingCardholdersCardholderRequestBodySpendingControls'
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingCardholdersCardholder.PostIssuingCardholdersCardholderRequestBodyStatus'
instance GHC.Show.Show StripeAPI.Operations.PostIssuingCardholdersCardholder.PostIssuingCardholdersCardholderRequestBodyStatus'
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingCardholdersCardholder.PostIssuingCardholdersCardholderRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostIssuingCardholdersCardholder.PostIssuingCardholdersCardholderRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingCardholdersCardholder.PostIssuingCardholdersCardholderResponse
instance GHC.Show.Show StripeAPI.Operations.PostIssuingCardholdersCardholder.PostIssuingCardholdersCardholderResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingCardholdersCardholder.PostIssuingCardholdersCardholderRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingCardholdersCardholder.PostIssuingCardholdersCardholderRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingCardholdersCardholder.PostIssuingCardholdersCardholderRequestBodyStatus'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingCardholdersCardholder.PostIssuingCardholdersCardholderRequestBodyStatus'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingCardholdersCardholder.PostIssuingCardholdersCardholderRequestBodySpendingControls'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingCardholdersCardholder.PostIssuingCardholdersCardholderRequestBodySpendingControls'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingCardholdersCardholder.PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingCardholdersCardholder.PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingCardholdersCardholder.PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Interval'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingCardholdersCardholder.PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Interval'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingCardholdersCardholder.PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingCardholdersCardholder.PostIssuingCardholdersCardholderRequestBodySpendingControls'SpendingLimits'Categories'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingCardholdersCardholder.PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingCardholdersCardholder.PostIssuingCardholdersCardholderRequestBodySpendingControls'BlockedCategories'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingCardholdersCardholder.PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingCardholdersCardholder.PostIssuingCardholdersCardholderRequestBodySpendingControls'AllowedCategories'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingCardholdersCardholder.PostIssuingCardholdersCardholderRequestBodyIndividual'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingCardholdersCardholder.PostIssuingCardholdersCardholderRequestBodyIndividual'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingCardholdersCardholder.PostIssuingCardholdersCardholderRequestBodyIndividual'Verification'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingCardholdersCardholder.PostIssuingCardholdersCardholderRequestBodyIndividual'Verification'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingCardholdersCardholder.PostIssuingCardholdersCardholderRequestBodyIndividual'Verification'Document'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingCardholdersCardholder.PostIssuingCardholdersCardholderRequestBodyIndividual'Verification'Document'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingCardholdersCardholder.PostIssuingCardholdersCardholderRequestBodyIndividual'Dob'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingCardholdersCardholder.PostIssuingCardholdersCardholderRequestBodyIndividual'Dob'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingCardholdersCardholder.PostIssuingCardholdersCardholderRequestBodyCompany'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingCardholdersCardholder.PostIssuingCardholdersCardholderRequestBodyCompany'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingCardholdersCardholder.PostIssuingCardholdersCardholderRequestBodyBilling'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingCardholdersCardholder.PostIssuingCardholdersCardholderRequestBodyBilling'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingCardholdersCardholder.PostIssuingCardholdersCardholderRequestBodyBilling'Address'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingCardholdersCardholder.PostIssuingCardholdersCardholderRequestBodyBilling'Address'
-- | Contains the different functions to run the operation
-- postIssuingCardholders
module StripeAPI.Operations.PostIssuingCardholders
-- |
-- POST /v1/issuing/cardholders
--
--
-- <p>Creates a new Issuing <code>Cardholder</code>
-- object that can be issued cards.</p>
postIssuingCardholders :: forall m. MonadHTTP m => PostIssuingCardholdersRequestBody -> ClientT m (Response PostIssuingCardholdersResponse)
-- | Defines the object schema located at
-- paths./v1/issuing/cardholders.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostIssuingCardholdersRequestBody
PostIssuingCardholdersRequestBody :: PostIssuingCardholdersRequestBodyBilling' -> Maybe PostIssuingCardholdersRequestBodyCompany' -> Maybe Text -> Maybe [Text] -> Maybe PostIssuingCardholdersRequestBodyIndividual' -> Maybe Object -> Text -> Maybe Text -> Maybe PostIssuingCardholdersRequestBodySpendingControls' -> Maybe PostIssuingCardholdersRequestBodyStatus' -> PostIssuingCardholdersRequestBodyType' -> PostIssuingCardholdersRequestBody
-- | billing: The cardholder's billing address.
[postIssuingCardholdersRequestBodyBilling] :: PostIssuingCardholdersRequestBody -> PostIssuingCardholdersRequestBodyBilling'
-- | company: Additional information about a `company` cardholder.
[postIssuingCardholdersRequestBodyCompany] :: PostIssuingCardholdersRequestBody -> Maybe PostIssuingCardholdersRequestBodyCompany'
-- | email: The cardholder's email address.
[postIssuingCardholdersRequestBodyEmail] :: PostIssuingCardholdersRequestBody -> Maybe Text
-- | expand: Specifies which fields in the response should be expanded.
[postIssuingCardholdersRequestBodyExpand] :: PostIssuingCardholdersRequestBody -> Maybe [Text]
-- | individual: Additional information about an `individual` cardholder.
[postIssuingCardholdersRequestBodyIndividual] :: PostIssuingCardholdersRequestBody -> Maybe PostIssuingCardholdersRequestBodyIndividual'
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postIssuingCardholdersRequestBodyMetadata] :: PostIssuingCardholdersRequestBody -> Maybe Object
-- | name: The cardholder's name. This will be printed on cards issued to
-- them.
[postIssuingCardholdersRequestBodyName] :: PostIssuingCardholdersRequestBody -> Text
-- | phone_number: The cardholder's phone number. This will be transformed
-- to E.164 if it is not provided in that format already.
[postIssuingCardholdersRequestBodyPhoneNumber] :: PostIssuingCardholdersRequestBody -> Maybe Text
-- | spending_controls: Rules that control spending across this
-- cardholder's cards. Refer to our documentation for more
-- details.
[postIssuingCardholdersRequestBodySpendingControls] :: PostIssuingCardholdersRequestBody -> Maybe PostIssuingCardholdersRequestBodySpendingControls'
-- | status: Specifies whether to permit authorizations on this
-- cardholder's cards. Defaults to `active`.
[postIssuingCardholdersRequestBodyStatus] :: PostIssuingCardholdersRequestBody -> Maybe PostIssuingCardholdersRequestBodyStatus'
-- | type: One of `individual` or `company`.
[postIssuingCardholdersRequestBodyType] :: PostIssuingCardholdersRequestBody -> PostIssuingCardholdersRequestBodyType'
-- | Create a new PostIssuingCardholdersRequestBody with all
-- required fields.
mkPostIssuingCardholdersRequestBody :: PostIssuingCardholdersRequestBodyBilling' -> Text -> PostIssuingCardholdersRequestBodyType' -> PostIssuingCardholdersRequestBody
-- | Defines the object schema located at
-- paths./v1/issuing/cardholders.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.billing
-- in the specification.
--
-- The cardholder's billing address.
data PostIssuingCardholdersRequestBodyBilling'
PostIssuingCardholdersRequestBodyBilling' :: PostIssuingCardholdersRequestBodyBilling'Address' -> PostIssuingCardholdersRequestBodyBilling'
-- | address
[postIssuingCardholdersRequestBodyBilling'Address] :: PostIssuingCardholdersRequestBodyBilling' -> PostIssuingCardholdersRequestBodyBilling'Address'
-- | Create a new PostIssuingCardholdersRequestBodyBilling' with all
-- required fields.
mkPostIssuingCardholdersRequestBodyBilling' :: PostIssuingCardholdersRequestBodyBilling'Address' -> PostIssuingCardholdersRequestBodyBilling'
-- | Defines the object schema located at
-- paths./v1/issuing/cardholders.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.billing.properties.address
-- in the specification.
data PostIssuingCardholdersRequestBodyBilling'Address'
PostIssuingCardholdersRequestBodyBilling'Address' :: Text -> Text -> Text -> Maybe Text -> Text -> Maybe Text -> PostIssuingCardholdersRequestBodyBilling'Address'
-- | city
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postIssuingCardholdersRequestBodyBilling'Address'City] :: PostIssuingCardholdersRequestBodyBilling'Address' -> Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postIssuingCardholdersRequestBodyBilling'Address'Country] :: PostIssuingCardholdersRequestBodyBilling'Address' -> Text
-- | line1
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postIssuingCardholdersRequestBodyBilling'Address'Line1] :: PostIssuingCardholdersRequestBodyBilling'Address' -> Text
-- | line2
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postIssuingCardholdersRequestBodyBilling'Address'Line2] :: PostIssuingCardholdersRequestBodyBilling'Address' -> Maybe Text
-- | postal_code
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postIssuingCardholdersRequestBodyBilling'Address'PostalCode] :: PostIssuingCardholdersRequestBodyBilling'Address' -> Text
-- | state
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postIssuingCardholdersRequestBodyBilling'Address'State] :: PostIssuingCardholdersRequestBodyBilling'Address' -> Maybe Text
-- | Create a new PostIssuingCardholdersRequestBodyBilling'Address'
-- with all required fields.
mkPostIssuingCardholdersRequestBodyBilling'Address' :: Text -> Text -> Text -> Text -> PostIssuingCardholdersRequestBodyBilling'Address'
-- | Defines the object schema located at
-- paths./v1/issuing/cardholders.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.company
-- in the specification.
--
-- Additional information about a `company` cardholder.
data PostIssuingCardholdersRequestBodyCompany'
PostIssuingCardholdersRequestBodyCompany' :: Maybe Text -> PostIssuingCardholdersRequestBodyCompany'
-- | tax_id
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postIssuingCardholdersRequestBodyCompany'TaxId] :: PostIssuingCardholdersRequestBodyCompany' -> Maybe Text
-- | Create a new PostIssuingCardholdersRequestBodyCompany' with all
-- required fields.
mkPostIssuingCardholdersRequestBodyCompany' :: PostIssuingCardholdersRequestBodyCompany'
-- | Defines the object schema located at
-- paths./v1/issuing/cardholders.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.individual
-- in the specification.
--
-- Additional information about an `individual` cardholder.
data PostIssuingCardholdersRequestBodyIndividual'
PostIssuingCardholdersRequestBodyIndividual' :: Maybe PostIssuingCardholdersRequestBodyIndividual'Dob' -> Text -> Text -> Maybe PostIssuingCardholdersRequestBodyIndividual'Verification' -> PostIssuingCardholdersRequestBodyIndividual'
-- | dob
[postIssuingCardholdersRequestBodyIndividual'Dob] :: PostIssuingCardholdersRequestBodyIndividual' -> Maybe PostIssuingCardholdersRequestBodyIndividual'Dob'
-- | first_name
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postIssuingCardholdersRequestBodyIndividual'FirstName] :: PostIssuingCardholdersRequestBodyIndividual' -> Text
-- | last_name
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postIssuingCardholdersRequestBodyIndividual'LastName] :: PostIssuingCardholdersRequestBodyIndividual' -> Text
-- | verification
[postIssuingCardholdersRequestBodyIndividual'Verification] :: PostIssuingCardholdersRequestBodyIndividual' -> Maybe PostIssuingCardholdersRequestBodyIndividual'Verification'
-- | Create a new PostIssuingCardholdersRequestBodyIndividual' with
-- all required fields.
mkPostIssuingCardholdersRequestBodyIndividual' :: Text -> Text -> PostIssuingCardholdersRequestBodyIndividual'
-- | Defines the object schema located at
-- paths./v1/issuing/cardholders.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.individual.properties.dob
-- in the specification.
data PostIssuingCardholdersRequestBodyIndividual'Dob'
PostIssuingCardholdersRequestBodyIndividual'Dob' :: Int -> Int -> Int -> PostIssuingCardholdersRequestBodyIndividual'Dob'
-- | day
[postIssuingCardholdersRequestBodyIndividual'Dob'Day] :: PostIssuingCardholdersRequestBodyIndividual'Dob' -> Int
-- | month
[postIssuingCardholdersRequestBodyIndividual'Dob'Month] :: PostIssuingCardholdersRequestBodyIndividual'Dob' -> Int
-- | year
[postIssuingCardholdersRequestBodyIndividual'Dob'Year] :: PostIssuingCardholdersRequestBodyIndividual'Dob' -> Int
-- | Create a new PostIssuingCardholdersRequestBodyIndividual'Dob'
-- with all required fields.
mkPostIssuingCardholdersRequestBodyIndividual'Dob' :: Int -> Int -> Int -> PostIssuingCardholdersRequestBodyIndividual'Dob'
-- | Defines the object schema located at
-- paths./v1/issuing/cardholders.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.individual.properties.verification
-- in the specification.
data PostIssuingCardholdersRequestBodyIndividual'Verification'
PostIssuingCardholdersRequestBodyIndividual'Verification' :: Maybe PostIssuingCardholdersRequestBodyIndividual'Verification'Document' -> PostIssuingCardholdersRequestBodyIndividual'Verification'
-- | document
[postIssuingCardholdersRequestBodyIndividual'Verification'Document] :: PostIssuingCardholdersRequestBodyIndividual'Verification' -> Maybe PostIssuingCardholdersRequestBodyIndividual'Verification'Document'
-- | Create a new
-- PostIssuingCardholdersRequestBodyIndividual'Verification' with
-- all required fields.
mkPostIssuingCardholdersRequestBodyIndividual'Verification' :: PostIssuingCardholdersRequestBodyIndividual'Verification'
-- | Defines the object schema located at
-- paths./v1/issuing/cardholders.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.individual.properties.verification.properties.document
-- in the specification.
data PostIssuingCardholdersRequestBodyIndividual'Verification'Document'
PostIssuingCardholdersRequestBodyIndividual'Verification'Document' :: Maybe Text -> Maybe Text -> PostIssuingCardholdersRequestBodyIndividual'Verification'Document'
-- | back
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postIssuingCardholdersRequestBodyIndividual'Verification'Document'Back] :: PostIssuingCardholdersRequestBodyIndividual'Verification'Document' -> Maybe Text
-- | front
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postIssuingCardholdersRequestBodyIndividual'Verification'Document'Front] :: PostIssuingCardholdersRequestBodyIndividual'Verification'Document' -> Maybe Text
-- | Create a new
-- PostIssuingCardholdersRequestBodyIndividual'Verification'Document'
-- with all required fields.
mkPostIssuingCardholdersRequestBodyIndividual'Verification'Document' :: PostIssuingCardholdersRequestBodyIndividual'Verification'Document'
-- | Defines the object schema located at
-- paths./v1/issuing/cardholders.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.spending_controls
-- in the specification.
--
-- Rules that control spending across this cardholder's cards. Refer to
-- our documentation for more details.
data PostIssuingCardholdersRequestBodySpendingControls'
PostIssuingCardholdersRequestBodySpendingControls' :: Maybe [PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'] -> Maybe [PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'] -> Maybe [PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'] -> Maybe Text -> PostIssuingCardholdersRequestBodySpendingControls'
-- | allowed_categories
[postIssuingCardholdersRequestBodySpendingControls'AllowedCategories] :: PostIssuingCardholdersRequestBodySpendingControls' -> Maybe [PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories']
-- | blocked_categories
[postIssuingCardholdersRequestBodySpendingControls'BlockedCategories] :: PostIssuingCardholdersRequestBodySpendingControls' -> Maybe [PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories']
-- | spending_limits
[postIssuingCardholdersRequestBodySpendingControls'SpendingLimits] :: PostIssuingCardholdersRequestBodySpendingControls' -> Maybe [PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits']
-- | spending_limits_currency
[postIssuingCardholdersRequestBodySpendingControls'SpendingLimitsCurrency] :: PostIssuingCardholdersRequestBodySpendingControls' -> Maybe Text
-- | Create a new PostIssuingCardholdersRequestBodySpendingControls'
-- with all required fields.
mkPostIssuingCardholdersRequestBodySpendingControls' :: PostIssuingCardholdersRequestBodySpendingControls'
-- | Defines the enum schema located at
-- paths./v1/issuing/cardholders.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.spending_controls.properties.allowed_categories.items
-- in the specification.
data PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'Other :: Value -> PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'Typed :: Text -> PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "ac_refrigeration_repair"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumAcRefrigerationRepair :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "accounting_bookkeeping_services"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumAccountingBookkeepingServices :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "advertising_services"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumAdvertisingServices :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "agricultural_cooperative"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumAgriculturalCooperative :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "airlines_air_carriers"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumAirlinesAirCarriers :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "airports_flying_fields"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumAirportsFlyingFields :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "ambulance_services"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumAmbulanceServices :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "amusement_parks_carnivals"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumAmusementParksCarnivals :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "antique_reproductions"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumAntiqueReproductions :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "antique_shops"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumAntiqueShops :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "aquariums"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumAquariums :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "architectural_surveying_services"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumArchitecturalSurveyingServices :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "art_dealers_and_galleries"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumArtDealersAndGalleries :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "artists_supply_and_craft_shops"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumArtistsSupplyAndCraftShops :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "auto_and_home_supply_stores"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumAutoAndHomeSupplyStores :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "auto_body_repair_shops"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumAutoBodyRepairShops :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "auto_paint_shops"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumAutoPaintShops :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "auto_service_shops"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumAutoServiceShops :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "automated_cash_disburse"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumAutomatedCashDisburse :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "automated_fuel_dispensers"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumAutomatedFuelDispensers :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "automobile_associations"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumAutomobileAssociations :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "automotive_parts_and_accessories_stores"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumAutomotivePartsAndAccessoriesStores :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "automotive_tire_stores"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumAutomotiveTireStores :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "bail_and_bond_payments"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumBailAndBondPayments :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "bakeries"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumBakeries :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "bands_orchestras"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumBandsOrchestras :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "barber_and_beauty_shops"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumBarberAndBeautyShops :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "betting_casino_gambling"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumBettingCasinoGambling :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "bicycle_shops"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumBicycleShops :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "billiard_pool_establishments"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumBilliardPoolEstablishments :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "boat_dealers"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumBoatDealers :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "boat_rentals_and_leases"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumBoatRentalsAndLeases :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "book_stores"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumBookStores :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "books_periodicals_and_newspapers"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumBooksPeriodicalsAndNewspapers :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "bowling_alleys"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumBowlingAlleys :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "bus_lines"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumBusLines :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "business_secretarial_schools"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumBusinessSecretarialSchools :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "buying_shopping_services"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumBuyingShoppingServices :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "cable_satellite_and_other_pay_television_and_radio"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumCableSatelliteAndOtherPayTelevisionAndRadio :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "camera_and_photographic_supply_stores"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumCameraAndPhotographicSupplyStores :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "candy_nut_and_confectionery_stores"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumCandyNutAndConfectioneryStores :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "car_and_truck_dealers_new_used"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumCarAndTruckDealersNewUsed :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "car_and_truck_dealers_used_only"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumCarAndTruckDealersUsedOnly :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "car_rental_agencies"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumCarRentalAgencies :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "car_washes"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumCarWashes :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "carpentry_services"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumCarpentryServices :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "carpet_upholstery_cleaning"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumCarpetUpholsteryCleaning :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "caterers"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumCaterers :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "charitable_and_social_service_organizations_fundraising"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumCharitableAndSocialServiceOrganizationsFundraising :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "chemicals_and_allied_products"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumChemicalsAndAlliedProducts :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "child_care_services"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumChildCareServices :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "childrens_and_infants_wear_stores"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumChildrensAndInfantsWearStores :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "chiropodists_podiatrists"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumChiropodistsPodiatrists :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "chiropractors"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumChiropractors :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "cigar_stores_and_stands"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumCigarStoresAndStands :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "civic_social_fraternal_associations"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumCivicSocialFraternalAssociations :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "cleaning_and_maintenance"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumCleaningAndMaintenance :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "clothing_rental"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumClothingRental :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "colleges_universities"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumCollegesUniversities :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "commercial_equipment"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumCommercialEquipment :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "commercial_footwear"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumCommercialFootwear :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "commercial_photography_art_and_graphics"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumCommercialPhotographyArtAndGraphics :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "commuter_transport_and_ferries"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumCommuterTransportAndFerries :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "computer_network_services"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumComputerNetworkServices :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "computer_programming"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumComputerProgramming :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "computer_repair"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumComputerRepair :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "computer_software_stores"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumComputerSoftwareStores :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "computers_peripherals_and_software"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumComputersPeripheralsAndSoftware :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "concrete_work_services"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumConcreteWorkServices :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "construction_materials"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumConstructionMaterials :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "consulting_public_relations"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumConsultingPublicRelations :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "correspondence_schools"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumCorrespondenceSchools :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "cosmetic_stores"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumCosmeticStores :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "counseling_services"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumCounselingServices :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "country_clubs"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumCountryClubs :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "courier_services"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumCourierServices :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "court_costs"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumCourtCosts :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "credit_reporting_agencies"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumCreditReportingAgencies :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "cruise_lines"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumCruiseLines :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "dairy_products_stores"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumDairyProductsStores :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "dance_hall_studios_schools"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumDanceHallStudiosSchools :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "dating_escort_services"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumDatingEscortServices :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "dentists_orthodontists"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumDentistsOrthodontists :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "department_stores"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumDepartmentStores :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "detective_agencies"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumDetectiveAgencies :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "digital_goods_applications"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumDigitalGoodsApplications :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "digital_goods_games"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumDigitalGoodsGames :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "digital_goods_large_volume"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumDigitalGoodsLargeVolume :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "digital_goods_media"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumDigitalGoodsMedia :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "direct_marketing_catalog_merchant"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumDirectMarketingCatalogMerchant :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "direct_marketing_combination_catalog_and_retail_merchant"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumDirectMarketingCombinationCatalogAndRetailMerchant :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "direct_marketing_inbound_telemarketing"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumDirectMarketingInboundTelemarketing :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "direct_marketing_insurance_services"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumDirectMarketingInsuranceServices :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "direct_marketing_other"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumDirectMarketingOther :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "direct_marketing_outbound_telemarketing"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumDirectMarketingOutboundTelemarketing :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "direct_marketing_subscription"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumDirectMarketingSubscription :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "direct_marketing_travel"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumDirectMarketingTravel :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "discount_stores"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumDiscountStores :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "doctors"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumDoctors :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "door_to_door_sales"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumDoorToDoorSales :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "drapery_window_covering_and_upholstery_stores"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumDraperyWindowCoveringAndUpholsteryStores :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "drinking_places"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumDrinkingPlaces :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "drug_stores_and_pharmacies"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumDrugStoresAndPharmacies :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "drugs_drug_proprietaries_and_druggist_sundries"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumDrugsDrugProprietariesAndDruggistSundries :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "dry_cleaners"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumDryCleaners :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "durable_goods"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumDurableGoods :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "duty_free_stores"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumDutyFreeStores :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "eating_places_restaurants"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumEatingPlacesRestaurants :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "educational_services"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumEducationalServices :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "electric_razor_stores"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumElectricRazorStores :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "electrical_parts_and_equipment"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumElectricalPartsAndEquipment :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "electrical_services"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumElectricalServices :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "electronics_repair_shops"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumElectronicsRepairShops :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "electronics_stores"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumElectronicsStores :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "elementary_secondary_schools"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumElementarySecondarySchools :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "employment_temp_agencies"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumEmploymentTempAgencies :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "equipment_rental"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumEquipmentRental :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "exterminating_services"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumExterminatingServices :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "family_clothing_stores"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumFamilyClothingStores :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "fast_food_restaurants"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumFastFoodRestaurants :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "financial_institutions"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumFinancialInstitutions :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "fines_government_administrative_entities"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumFinesGovernmentAdministrativeEntities :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "fireplace_fireplace_screens_and_accessories_stores"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumFireplaceFireplaceScreensAndAccessoriesStores :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "floor_covering_stores"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumFloorCoveringStores :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "florists"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumFlorists :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "florists_supplies_nursery_stock_and_flowers"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumFloristsSuppliesNurseryStockAndFlowers :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "freezer_and_locker_meat_provisioners"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumFreezerAndLockerMeatProvisioners :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "fuel_dealers_non_automotive"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumFuelDealersNonAutomotive :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "funeral_services_crematories"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumFuneralServicesCrematories :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "furniture_home_furnishings_and_equipment_stores_except_appliances"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumFurnitureHomeFurnishingsAndEquipmentStoresExceptAppliances :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "furniture_repair_refinishing"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumFurnitureRepairRefinishing :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "furriers_and_fur_shops"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumFurriersAndFurShops :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "general_services"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumGeneralServices :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "gift_card_novelty_and_souvenir_shops"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumGiftCardNoveltyAndSouvenirShops :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "glass_paint_and_wallpaper_stores"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumGlassPaintAndWallpaperStores :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "glassware_crystal_stores"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumGlasswareCrystalStores :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "golf_courses_public"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumGolfCoursesPublic :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "government_services"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumGovernmentServices :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "grocery_stores_supermarkets"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumGroceryStoresSupermarkets :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "hardware_equipment_and_supplies"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumHardwareEquipmentAndSupplies :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "hardware_stores"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumHardwareStores :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "health_and_beauty_spas"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumHealthAndBeautySpas :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "hearing_aids_sales_and_supplies"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumHearingAidsSalesAndSupplies :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "heating_plumbing_a_c"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumHeatingPlumbingAC :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "hobby_toy_and_game_shops"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumHobbyToyAndGameShops :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "home_supply_warehouse_stores"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumHomeSupplyWarehouseStores :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "hospitals"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumHospitals :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "hotels_motels_and_resorts"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumHotelsMotelsAndResorts :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "household_appliance_stores"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumHouseholdApplianceStores :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "industrial_supplies"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumIndustrialSupplies :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "information_retrieval_services"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumInformationRetrievalServices :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "insurance_default"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumInsuranceDefault :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "insurance_underwriting_premiums"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumInsuranceUnderwritingPremiums :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "intra_company_purchases"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumIntraCompanyPurchases :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "jewelry_stores_watches_clocks_and_silverware_stores"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumJewelryStoresWatchesClocksAndSilverwareStores :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "landscaping_services"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumLandscapingServices :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "laundries"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumLaundries :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "laundry_cleaning_services"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumLaundryCleaningServices :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "legal_services_attorneys"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumLegalServicesAttorneys :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "luggage_and_leather_goods_stores"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumLuggageAndLeatherGoodsStores :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "lumber_building_materials_stores"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumLumberBuildingMaterialsStores :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "manual_cash_disburse"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumManualCashDisburse :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "marinas_service_and_supplies"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumMarinasServiceAndSupplies :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "masonry_stonework_and_plaster"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumMasonryStoneworkAndPlaster :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "massage_parlors"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumMassageParlors :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "medical_and_dental_labs"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumMedicalAndDentalLabs :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "medical_dental_ophthalmic_and_hospital_equipment_and_supplies"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumMedicalDentalOphthalmicAndHospitalEquipmentAndSupplies :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "medical_services"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumMedicalServices :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "membership_organizations"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumMembershipOrganizations :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "mens_and_boys_clothing_and_accessories_stores"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumMensAndBoysClothingAndAccessoriesStores :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "mens_womens_clothing_stores"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumMensWomensClothingStores :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "metal_service_centers"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumMetalServiceCenters :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "miscellaneous"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumMiscellaneous :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "miscellaneous_apparel_and_accessory_shops"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumMiscellaneousApparelAndAccessoryShops :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "miscellaneous_auto_dealers"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumMiscellaneousAutoDealers :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "miscellaneous_business_services"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumMiscellaneousBusinessServices :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "miscellaneous_food_stores"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumMiscellaneousFoodStores :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "miscellaneous_general_merchandise"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumMiscellaneousGeneralMerchandise :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "miscellaneous_general_services"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumMiscellaneousGeneralServices :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "miscellaneous_home_furnishing_specialty_stores"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumMiscellaneousHomeFurnishingSpecialtyStores :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "miscellaneous_publishing_and_printing"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumMiscellaneousPublishingAndPrinting :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "miscellaneous_recreation_services"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumMiscellaneousRecreationServices :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "miscellaneous_repair_shops"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumMiscellaneousRepairShops :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "miscellaneous_specialty_retail"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumMiscellaneousSpecialtyRetail :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "mobile_home_dealers"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumMobileHomeDealers :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "motion_picture_theaters"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumMotionPictureTheaters :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "motor_freight_carriers_and_trucking"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumMotorFreightCarriersAndTrucking :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "motor_homes_dealers"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumMotorHomesDealers :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "motor_vehicle_supplies_and_new_parts"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumMotorVehicleSuppliesAndNewParts :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "motorcycle_shops_and_dealers"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumMotorcycleShopsAndDealers :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "motorcycle_shops_dealers"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumMotorcycleShopsDealers :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "music_stores_musical_instruments_pianos_and_sheet_music"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumMusicStoresMusicalInstrumentsPianosAndSheetMusic :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "news_dealers_and_newsstands"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumNewsDealersAndNewsstands :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "non_fi_money_orders"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumNonFiMoneyOrders :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "non_fi_stored_value_card_purchase_load"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumNonFiStoredValueCardPurchaseLoad :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "nondurable_goods"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumNondurableGoods :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "nurseries_lawn_and_garden_supply_stores"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumNurseriesLawnAndGardenSupplyStores :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "nursing_personal_care"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumNursingPersonalCare :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "office_and_commercial_furniture"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumOfficeAndCommercialFurniture :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "opticians_eyeglasses"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumOpticiansEyeglasses :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "optometrists_ophthalmologist"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumOptometristsOphthalmologist :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "orthopedic_goods_prosthetic_devices"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumOrthopedicGoodsProstheticDevices :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "osteopaths"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumOsteopaths :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "package_stores_beer_wine_and_liquor"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumPackageStoresBeerWineAndLiquor :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "paints_varnishes_and_supplies"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumPaintsVarnishesAndSupplies :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "parking_lots_garages"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumParkingLotsGarages :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "passenger_railways"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumPassengerRailways :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "pawn_shops"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumPawnShops :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "pet_shops_pet_food_and_supplies"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumPetShopsPetFoodAndSupplies :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "petroleum_and_petroleum_products"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumPetroleumAndPetroleumProducts :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "photo_developing"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumPhotoDeveloping :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "photographic_photocopy_microfilm_equipment_and_supplies"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumPhotographicPhotocopyMicrofilmEquipmentAndSupplies :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "photographic_studios"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumPhotographicStudios :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "picture_video_production"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumPictureVideoProduction :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "piece_goods_notions_and_other_dry_goods"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumPieceGoodsNotionsAndOtherDryGoods :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "plumbing_heating_equipment_and_supplies"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumPlumbingHeatingEquipmentAndSupplies :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "political_organizations"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumPoliticalOrganizations :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "postal_services_government_only"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumPostalServicesGovernmentOnly :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "precious_stones_and_metals_watches_and_jewelry"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumPreciousStonesAndMetalsWatchesAndJewelry :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "professional_services"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumProfessionalServices :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "public_warehousing_and_storage"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumPublicWarehousingAndStorage :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "quick_copy_repro_and_blueprint"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumQuickCopyReproAndBlueprint :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "railroads"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumRailroads :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "real_estate_agents_and_managers_rentals"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumRealEstateAgentsAndManagersRentals :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "record_stores"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumRecordStores :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "recreational_vehicle_rentals"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumRecreationalVehicleRentals :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "religious_goods_stores"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumReligiousGoodsStores :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "religious_organizations"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumReligiousOrganizations :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "roofing_siding_sheet_metal"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumRoofingSidingSheetMetal :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "secretarial_support_services"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumSecretarialSupportServices :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "security_brokers_dealers"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumSecurityBrokersDealers :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "service_stations"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumServiceStations :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "sewing_needlework_fabric_and_piece_goods_stores"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumSewingNeedleworkFabricAndPieceGoodsStores :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "shoe_repair_hat_cleaning"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumShoeRepairHatCleaning :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "shoe_stores"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumShoeStores :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "small_appliance_repair"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumSmallApplianceRepair :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "snowmobile_dealers"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumSnowmobileDealers :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "special_trade_services"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumSpecialTradeServices :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "specialty_cleaning"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumSpecialtyCleaning :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "sporting_goods_stores"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumSportingGoodsStores :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "sporting_recreation_camps"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumSportingRecreationCamps :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "sports_and_riding_apparel_stores"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumSportsAndRidingApparelStores :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "sports_clubs_fields"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumSportsClubsFields :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "stamp_and_coin_stores"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumStampAndCoinStores :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "stationary_office_supplies_printing_and_writing_paper"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumStationaryOfficeSuppliesPrintingAndWritingPaper :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "stationery_stores_office_and_school_supply_stores"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumStationeryStoresOfficeAndSchoolSupplyStores :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "swimming_pools_sales"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumSwimmingPoolsSales :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "t_ui_travel_germany"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumTUiTravelGermany :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "tailors_alterations"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumTailorsAlterations :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "tax_payments_government_agencies"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumTaxPaymentsGovernmentAgencies :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "tax_preparation_services"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumTaxPreparationServices :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "taxicabs_limousines"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumTaxicabsLimousines :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "telecommunication_equipment_and_telephone_sales"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumTelecommunicationEquipmentAndTelephoneSales :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "telecommunication_services"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumTelecommunicationServices :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "telegraph_services"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumTelegraphServices :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "tent_and_awning_shops"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumTentAndAwningShops :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "testing_laboratories"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumTestingLaboratories :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "theatrical_ticket_agencies"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumTheatricalTicketAgencies :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "timeshares"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumTimeshares :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "tire_retreading_and_repair"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumTireRetreadingAndRepair :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "tolls_bridge_fees"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumTollsBridgeFees :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "tourist_attractions_and_exhibits"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumTouristAttractionsAndExhibits :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "towing_services"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumTowingServices :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "trailer_parks_campgrounds"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumTrailerParksCampgrounds :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "transportation_services"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumTransportationServices :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "travel_agencies_tour_operators"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumTravelAgenciesTourOperators :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "truck_stop_iteration"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumTruckStopIteration :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "truck_utility_trailer_rentals"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumTruckUtilityTrailerRentals :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "typesetting_plate_making_and_related_services"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumTypesettingPlateMakingAndRelatedServices :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "typewriter_stores"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumTypewriterStores :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "u_s_federal_government_agencies_or_departments"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumUSFederalGovernmentAgenciesOrDepartments :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "uniforms_commercial_clothing"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumUniformsCommercialClothing :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "used_merchandise_and_secondhand_stores"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumUsedMerchandiseAndSecondhandStores :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "utilities"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumUtilities :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "variety_stores"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumVarietyStores :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "veterinary_services"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumVeterinaryServices :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "video_amusement_game_supplies"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumVideoAmusementGameSupplies :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "video_game_arcades"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumVideoGameArcades :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "video_tape_rental_stores"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumVideoTapeRentalStores :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "vocational_trade_schools"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumVocationalTradeSchools :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "watch_jewelry_repair"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumWatchJewelryRepair :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "welding_repair"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumWeldingRepair :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "wholesale_clubs"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumWholesaleClubs :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "wig_and_toupee_stores"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumWigAndToupeeStores :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "wires_money_orders"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumWiresMoneyOrders :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value
-- "womens_accessory_and_specialty_shops"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumWomensAccessoryAndSpecialtyShops :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "womens_ready_to_wear_stores"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumWomensReadyToWearStores :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Represents the JSON value "wrecking_and_salvage_yards"
PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'EnumWreckingAndSalvageYards :: PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
-- | Defines the enum schema located at
-- paths./v1/issuing/cardholders.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.spending_controls.properties.blocked_categories.items
-- in the specification.
data PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'Other :: Value -> PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'Typed :: Text -> PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "ac_refrigeration_repair"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumAcRefrigerationRepair :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "accounting_bookkeeping_services"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumAccountingBookkeepingServices :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "advertising_services"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumAdvertisingServices :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "agricultural_cooperative"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumAgriculturalCooperative :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "airlines_air_carriers"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumAirlinesAirCarriers :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "airports_flying_fields"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumAirportsFlyingFields :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "ambulance_services"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumAmbulanceServices :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "amusement_parks_carnivals"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumAmusementParksCarnivals :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "antique_reproductions"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumAntiqueReproductions :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "antique_shops"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumAntiqueShops :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "aquariums"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumAquariums :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "architectural_surveying_services"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumArchitecturalSurveyingServices :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "art_dealers_and_galleries"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumArtDealersAndGalleries :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "artists_supply_and_craft_shops"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumArtistsSupplyAndCraftShops :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "auto_and_home_supply_stores"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumAutoAndHomeSupplyStores :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "auto_body_repair_shops"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumAutoBodyRepairShops :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "auto_paint_shops"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumAutoPaintShops :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "auto_service_shops"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumAutoServiceShops :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "automated_cash_disburse"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumAutomatedCashDisburse :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "automated_fuel_dispensers"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumAutomatedFuelDispensers :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "automobile_associations"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumAutomobileAssociations :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "automotive_parts_and_accessories_stores"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumAutomotivePartsAndAccessoriesStores :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "automotive_tire_stores"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumAutomotiveTireStores :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "bail_and_bond_payments"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumBailAndBondPayments :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "bakeries"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumBakeries :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "bands_orchestras"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumBandsOrchestras :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "barber_and_beauty_shops"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumBarberAndBeautyShops :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "betting_casino_gambling"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumBettingCasinoGambling :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "bicycle_shops"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumBicycleShops :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "billiard_pool_establishments"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumBilliardPoolEstablishments :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "boat_dealers"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumBoatDealers :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "boat_rentals_and_leases"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumBoatRentalsAndLeases :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "book_stores"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumBookStores :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "books_periodicals_and_newspapers"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumBooksPeriodicalsAndNewspapers :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "bowling_alleys"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumBowlingAlleys :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "bus_lines"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumBusLines :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "business_secretarial_schools"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumBusinessSecretarialSchools :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "buying_shopping_services"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumBuyingShoppingServices :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "cable_satellite_and_other_pay_television_and_radio"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumCableSatelliteAndOtherPayTelevisionAndRadio :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "camera_and_photographic_supply_stores"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumCameraAndPhotographicSupplyStores :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "candy_nut_and_confectionery_stores"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumCandyNutAndConfectioneryStores :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "car_and_truck_dealers_new_used"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumCarAndTruckDealersNewUsed :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "car_and_truck_dealers_used_only"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumCarAndTruckDealersUsedOnly :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "car_rental_agencies"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumCarRentalAgencies :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "car_washes"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumCarWashes :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "carpentry_services"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumCarpentryServices :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "carpet_upholstery_cleaning"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumCarpetUpholsteryCleaning :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "caterers"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumCaterers :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "charitable_and_social_service_organizations_fundraising"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumCharitableAndSocialServiceOrganizationsFundraising :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "chemicals_and_allied_products"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumChemicalsAndAlliedProducts :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "child_care_services"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumChildCareServices :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "childrens_and_infants_wear_stores"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumChildrensAndInfantsWearStores :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "chiropodists_podiatrists"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumChiropodistsPodiatrists :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "chiropractors"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumChiropractors :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "cigar_stores_and_stands"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumCigarStoresAndStands :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "civic_social_fraternal_associations"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumCivicSocialFraternalAssociations :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "cleaning_and_maintenance"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumCleaningAndMaintenance :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "clothing_rental"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumClothingRental :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "colleges_universities"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumCollegesUniversities :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "commercial_equipment"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumCommercialEquipment :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "commercial_footwear"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumCommercialFootwear :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "commercial_photography_art_and_graphics"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumCommercialPhotographyArtAndGraphics :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "commuter_transport_and_ferries"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumCommuterTransportAndFerries :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "computer_network_services"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumComputerNetworkServices :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "computer_programming"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumComputerProgramming :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "computer_repair"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumComputerRepair :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "computer_software_stores"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumComputerSoftwareStores :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "computers_peripherals_and_software"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumComputersPeripheralsAndSoftware :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "concrete_work_services"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumConcreteWorkServices :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "construction_materials"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumConstructionMaterials :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "consulting_public_relations"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumConsultingPublicRelations :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "correspondence_schools"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumCorrespondenceSchools :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "cosmetic_stores"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumCosmeticStores :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "counseling_services"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumCounselingServices :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "country_clubs"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumCountryClubs :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "courier_services"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumCourierServices :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "court_costs"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumCourtCosts :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "credit_reporting_agencies"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumCreditReportingAgencies :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "cruise_lines"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumCruiseLines :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "dairy_products_stores"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumDairyProductsStores :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "dance_hall_studios_schools"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumDanceHallStudiosSchools :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "dating_escort_services"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumDatingEscortServices :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "dentists_orthodontists"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumDentistsOrthodontists :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "department_stores"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumDepartmentStores :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "detective_agencies"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumDetectiveAgencies :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "digital_goods_applications"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumDigitalGoodsApplications :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "digital_goods_games"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumDigitalGoodsGames :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "digital_goods_large_volume"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumDigitalGoodsLargeVolume :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "digital_goods_media"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumDigitalGoodsMedia :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "direct_marketing_catalog_merchant"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumDirectMarketingCatalogMerchant :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "direct_marketing_combination_catalog_and_retail_merchant"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumDirectMarketingCombinationCatalogAndRetailMerchant :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "direct_marketing_inbound_telemarketing"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumDirectMarketingInboundTelemarketing :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "direct_marketing_insurance_services"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumDirectMarketingInsuranceServices :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "direct_marketing_other"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumDirectMarketingOther :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "direct_marketing_outbound_telemarketing"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumDirectMarketingOutboundTelemarketing :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "direct_marketing_subscription"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumDirectMarketingSubscription :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "direct_marketing_travel"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumDirectMarketingTravel :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "discount_stores"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumDiscountStores :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "doctors"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumDoctors :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "door_to_door_sales"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumDoorToDoorSales :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "drapery_window_covering_and_upholstery_stores"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumDraperyWindowCoveringAndUpholsteryStores :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "drinking_places"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumDrinkingPlaces :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "drug_stores_and_pharmacies"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumDrugStoresAndPharmacies :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "drugs_drug_proprietaries_and_druggist_sundries"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumDrugsDrugProprietariesAndDruggistSundries :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "dry_cleaners"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumDryCleaners :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "durable_goods"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumDurableGoods :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "duty_free_stores"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumDutyFreeStores :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "eating_places_restaurants"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumEatingPlacesRestaurants :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "educational_services"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumEducationalServices :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "electric_razor_stores"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumElectricRazorStores :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "electrical_parts_and_equipment"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumElectricalPartsAndEquipment :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "electrical_services"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumElectricalServices :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "electronics_repair_shops"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumElectronicsRepairShops :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "electronics_stores"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumElectronicsStores :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "elementary_secondary_schools"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumElementarySecondarySchools :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "employment_temp_agencies"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumEmploymentTempAgencies :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "equipment_rental"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumEquipmentRental :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "exterminating_services"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumExterminatingServices :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "family_clothing_stores"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumFamilyClothingStores :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "fast_food_restaurants"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumFastFoodRestaurants :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "financial_institutions"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumFinancialInstitutions :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "fines_government_administrative_entities"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumFinesGovernmentAdministrativeEntities :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "fireplace_fireplace_screens_and_accessories_stores"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumFireplaceFireplaceScreensAndAccessoriesStores :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "floor_covering_stores"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumFloorCoveringStores :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "florists"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumFlorists :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "florists_supplies_nursery_stock_and_flowers"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumFloristsSuppliesNurseryStockAndFlowers :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "freezer_and_locker_meat_provisioners"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumFreezerAndLockerMeatProvisioners :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "fuel_dealers_non_automotive"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumFuelDealersNonAutomotive :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "funeral_services_crematories"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumFuneralServicesCrematories :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "furniture_home_furnishings_and_equipment_stores_except_appliances"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumFurnitureHomeFurnishingsAndEquipmentStoresExceptAppliances :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "furniture_repair_refinishing"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumFurnitureRepairRefinishing :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "furriers_and_fur_shops"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumFurriersAndFurShops :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "general_services"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumGeneralServices :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "gift_card_novelty_and_souvenir_shops"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumGiftCardNoveltyAndSouvenirShops :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "glass_paint_and_wallpaper_stores"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumGlassPaintAndWallpaperStores :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "glassware_crystal_stores"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumGlasswareCrystalStores :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "golf_courses_public"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumGolfCoursesPublic :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "government_services"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumGovernmentServices :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "grocery_stores_supermarkets"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumGroceryStoresSupermarkets :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "hardware_equipment_and_supplies"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumHardwareEquipmentAndSupplies :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "hardware_stores"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumHardwareStores :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "health_and_beauty_spas"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumHealthAndBeautySpas :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "hearing_aids_sales_and_supplies"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumHearingAidsSalesAndSupplies :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "heating_plumbing_a_c"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumHeatingPlumbingAC :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "hobby_toy_and_game_shops"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumHobbyToyAndGameShops :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "home_supply_warehouse_stores"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumHomeSupplyWarehouseStores :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "hospitals"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumHospitals :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "hotels_motels_and_resorts"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumHotelsMotelsAndResorts :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "household_appliance_stores"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumHouseholdApplianceStores :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "industrial_supplies"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumIndustrialSupplies :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "information_retrieval_services"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumInformationRetrievalServices :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "insurance_default"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumInsuranceDefault :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "insurance_underwriting_premiums"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumInsuranceUnderwritingPremiums :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "intra_company_purchases"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumIntraCompanyPurchases :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "jewelry_stores_watches_clocks_and_silverware_stores"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumJewelryStoresWatchesClocksAndSilverwareStores :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "landscaping_services"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumLandscapingServices :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "laundries"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumLaundries :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "laundry_cleaning_services"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumLaundryCleaningServices :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "legal_services_attorneys"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumLegalServicesAttorneys :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "luggage_and_leather_goods_stores"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumLuggageAndLeatherGoodsStores :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "lumber_building_materials_stores"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumLumberBuildingMaterialsStores :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "manual_cash_disburse"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumManualCashDisburse :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "marinas_service_and_supplies"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumMarinasServiceAndSupplies :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "masonry_stonework_and_plaster"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumMasonryStoneworkAndPlaster :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "massage_parlors"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumMassageParlors :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "medical_and_dental_labs"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumMedicalAndDentalLabs :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "medical_dental_ophthalmic_and_hospital_equipment_and_supplies"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumMedicalDentalOphthalmicAndHospitalEquipmentAndSupplies :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "medical_services"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumMedicalServices :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "membership_organizations"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumMembershipOrganizations :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "mens_and_boys_clothing_and_accessories_stores"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumMensAndBoysClothingAndAccessoriesStores :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "mens_womens_clothing_stores"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumMensWomensClothingStores :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "metal_service_centers"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumMetalServiceCenters :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "miscellaneous"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumMiscellaneous :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "miscellaneous_apparel_and_accessory_shops"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumMiscellaneousApparelAndAccessoryShops :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "miscellaneous_auto_dealers"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumMiscellaneousAutoDealers :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "miscellaneous_business_services"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumMiscellaneousBusinessServices :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "miscellaneous_food_stores"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumMiscellaneousFoodStores :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "miscellaneous_general_merchandise"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumMiscellaneousGeneralMerchandise :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "miscellaneous_general_services"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumMiscellaneousGeneralServices :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "miscellaneous_home_furnishing_specialty_stores"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumMiscellaneousHomeFurnishingSpecialtyStores :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "miscellaneous_publishing_and_printing"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumMiscellaneousPublishingAndPrinting :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "miscellaneous_recreation_services"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumMiscellaneousRecreationServices :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "miscellaneous_repair_shops"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumMiscellaneousRepairShops :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "miscellaneous_specialty_retail"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumMiscellaneousSpecialtyRetail :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "mobile_home_dealers"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumMobileHomeDealers :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "motion_picture_theaters"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumMotionPictureTheaters :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "motor_freight_carriers_and_trucking"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumMotorFreightCarriersAndTrucking :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "motor_homes_dealers"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumMotorHomesDealers :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "motor_vehicle_supplies_and_new_parts"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumMotorVehicleSuppliesAndNewParts :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "motorcycle_shops_and_dealers"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumMotorcycleShopsAndDealers :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "motorcycle_shops_dealers"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumMotorcycleShopsDealers :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "music_stores_musical_instruments_pianos_and_sheet_music"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumMusicStoresMusicalInstrumentsPianosAndSheetMusic :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "news_dealers_and_newsstands"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumNewsDealersAndNewsstands :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "non_fi_money_orders"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumNonFiMoneyOrders :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "non_fi_stored_value_card_purchase_load"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumNonFiStoredValueCardPurchaseLoad :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "nondurable_goods"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumNondurableGoods :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "nurseries_lawn_and_garden_supply_stores"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumNurseriesLawnAndGardenSupplyStores :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "nursing_personal_care"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumNursingPersonalCare :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "office_and_commercial_furniture"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumOfficeAndCommercialFurniture :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "opticians_eyeglasses"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumOpticiansEyeglasses :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "optometrists_ophthalmologist"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumOptometristsOphthalmologist :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "orthopedic_goods_prosthetic_devices"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumOrthopedicGoodsProstheticDevices :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "osteopaths"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumOsteopaths :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "package_stores_beer_wine_and_liquor"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumPackageStoresBeerWineAndLiquor :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "paints_varnishes_and_supplies"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumPaintsVarnishesAndSupplies :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "parking_lots_garages"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumParkingLotsGarages :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "passenger_railways"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumPassengerRailways :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "pawn_shops"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumPawnShops :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "pet_shops_pet_food_and_supplies"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumPetShopsPetFoodAndSupplies :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "petroleum_and_petroleum_products"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumPetroleumAndPetroleumProducts :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "photo_developing"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumPhotoDeveloping :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "photographic_photocopy_microfilm_equipment_and_supplies"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumPhotographicPhotocopyMicrofilmEquipmentAndSupplies :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "photographic_studios"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumPhotographicStudios :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "picture_video_production"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumPictureVideoProduction :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "piece_goods_notions_and_other_dry_goods"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumPieceGoodsNotionsAndOtherDryGoods :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "plumbing_heating_equipment_and_supplies"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumPlumbingHeatingEquipmentAndSupplies :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "political_organizations"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumPoliticalOrganizations :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "postal_services_government_only"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumPostalServicesGovernmentOnly :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "precious_stones_and_metals_watches_and_jewelry"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumPreciousStonesAndMetalsWatchesAndJewelry :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "professional_services"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumProfessionalServices :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "public_warehousing_and_storage"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumPublicWarehousingAndStorage :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "quick_copy_repro_and_blueprint"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumQuickCopyReproAndBlueprint :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "railroads"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumRailroads :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "real_estate_agents_and_managers_rentals"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumRealEstateAgentsAndManagersRentals :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "record_stores"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumRecordStores :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "recreational_vehicle_rentals"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumRecreationalVehicleRentals :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "religious_goods_stores"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumReligiousGoodsStores :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "religious_organizations"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumReligiousOrganizations :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "roofing_siding_sheet_metal"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumRoofingSidingSheetMetal :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "secretarial_support_services"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumSecretarialSupportServices :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "security_brokers_dealers"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumSecurityBrokersDealers :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "service_stations"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumServiceStations :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "sewing_needlework_fabric_and_piece_goods_stores"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumSewingNeedleworkFabricAndPieceGoodsStores :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "shoe_repair_hat_cleaning"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumShoeRepairHatCleaning :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "shoe_stores"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumShoeStores :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "small_appliance_repair"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumSmallApplianceRepair :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "snowmobile_dealers"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumSnowmobileDealers :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "special_trade_services"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumSpecialTradeServices :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "specialty_cleaning"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumSpecialtyCleaning :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "sporting_goods_stores"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumSportingGoodsStores :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "sporting_recreation_camps"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumSportingRecreationCamps :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "sports_and_riding_apparel_stores"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumSportsAndRidingApparelStores :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "sports_clubs_fields"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumSportsClubsFields :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "stamp_and_coin_stores"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumStampAndCoinStores :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "stationary_office_supplies_printing_and_writing_paper"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumStationaryOfficeSuppliesPrintingAndWritingPaper :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "stationery_stores_office_and_school_supply_stores"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumStationeryStoresOfficeAndSchoolSupplyStores :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "swimming_pools_sales"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumSwimmingPoolsSales :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "t_ui_travel_germany"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumTUiTravelGermany :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "tailors_alterations"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumTailorsAlterations :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "tax_payments_government_agencies"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumTaxPaymentsGovernmentAgencies :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "tax_preparation_services"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumTaxPreparationServices :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "taxicabs_limousines"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumTaxicabsLimousines :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "telecommunication_equipment_and_telephone_sales"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumTelecommunicationEquipmentAndTelephoneSales :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "telecommunication_services"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumTelecommunicationServices :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "telegraph_services"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumTelegraphServices :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "tent_and_awning_shops"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumTentAndAwningShops :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "testing_laboratories"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumTestingLaboratories :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "theatrical_ticket_agencies"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumTheatricalTicketAgencies :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "timeshares"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumTimeshares :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "tire_retreading_and_repair"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumTireRetreadingAndRepair :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "tolls_bridge_fees"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumTollsBridgeFees :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "tourist_attractions_and_exhibits"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumTouristAttractionsAndExhibits :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "towing_services"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumTowingServices :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "trailer_parks_campgrounds"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumTrailerParksCampgrounds :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "transportation_services"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumTransportationServices :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "travel_agencies_tour_operators"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumTravelAgenciesTourOperators :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "truck_stop_iteration"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumTruckStopIteration :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "truck_utility_trailer_rentals"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumTruckUtilityTrailerRentals :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "typesetting_plate_making_and_related_services"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumTypesettingPlateMakingAndRelatedServices :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "typewriter_stores"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumTypewriterStores :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "u_s_federal_government_agencies_or_departments"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumUSFederalGovernmentAgenciesOrDepartments :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "uniforms_commercial_clothing"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumUniformsCommercialClothing :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "used_merchandise_and_secondhand_stores"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumUsedMerchandiseAndSecondhandStores :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "utilities"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumUtilities :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "variety_stores"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumVarietyStores :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "veterinary_services"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumVeterinaryServices :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "video_amusement_game_supplies"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumVideoAmusementGameSupplies :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "video_game_arcades"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumVideoGameArcades :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "video_tape_rental_stores"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumVideoTapeRentalStores :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "vocational_trade_schools"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumVocationalTradeSchools :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "watch_jewelry_repair"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumWatchJewelryRepair :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "welding_repair"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumWeldingRepair :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "wholesale_clubs"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumWholesaleClubs :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "wig_and_toupee_stores"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumWigAndToupeeStores :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "wires_money_orders"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumWiresMoneyOrders :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value
-- "womens_accessory_and_specialty_shops"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumWomensAccessoryAndSpecialtyShops :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "womens_ready_to_wear_stores"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumWomensReadyToWearStores :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Represents the JSON value "wrecking_and_salvage_yards"
PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'EnumWreckingAndSalvageYards :: PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
-- | Defines the object schema located at
-- paths./v1/issuing/cardholders.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.spending_controls.properties.spending_limits.items
-- in the specification.
data PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits' :: Int -> Maybe [PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'] -> PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Interval' -> PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'
-- | amount
[postIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Amount] :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits' -> Int
-- | categories
[postIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories] :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits' -> Maybe [PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories']
-- | interval
[postIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Interval] :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits' -> PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Interval'
-- | Create a new
-- PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'
-- with all required fields.
mkPostIssuingCardholdersRequestBodySpendingControls'SpendingLimits' :: Int -> PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Interval' -> PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'
-- | Defines the enum schema located at
-- paths./v1/issuing/cardholders.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.spending_controls.properties.spending_limits.items.properties.categories.items
-- in the specification.
data PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'Other :: Value -> PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'Typed :: Text -> PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "ac_refrigeration_repair"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumAcRefrigerationRepair :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "accounting_bookkeeping_services"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumAccountingBookkeepingServices :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "advertising_services"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumAdvertisingServices :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "agricultural_cooperative"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumAgriculturalCooperative :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "airlines_air_carriers"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumAirlinesAirCarriers :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "airports_flying_fields"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumAirportsFlyingFields :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "ambulance_services"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumAmbulanceServices :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "amusement_parks_carnivals"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumAmusementParksCarnivals :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "antique_reproductions"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumAntiqueReproductions :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "antique_shops"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumAntiqueShops :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "aquariums"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumAquariums :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "architectural_surveying_services"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumArchitecturalSurveyingServices :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "art_dealers_and_galleries"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumArtDealersAndGalleries :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "artists_supply_and_craft_shops"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumArtistsSupplyAndCraftShops :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "auto_and_home_supply_stores"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumAutoAndHomeSupplyStores :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "auto_body_repair_shops"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumAutoBodyRepairShops :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "auto_paint_shops"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumAutoPaintShops :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "auto_service_shops"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumAutoServiceShops :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "automated_cash_disburse"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumAutomatedCashDisburse :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "automated_fuel_dispensers"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumAutomatedFuelDispensers :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "automobile_associations"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumAutomobileAssociations :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "automotive_parts_and_accessories_stores"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumAutomotivePartsAndAccessoriesStores :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "automotive_tire_stores"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumAutomotiveTireStores :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "bail_and_bond_payments"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumBailAndBondPayments :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "bakeries"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumBakeries :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "bands_orchestras"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumBandsOrchestras :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "barber_and_beauty_shops"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumBarberAndBeautyShops :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "betting_casino_gambling"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumBettingCasinoGambling :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "bicycle_shops"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumBicycleShops :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "billiard_pool_establishments"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumBilliardPoolEstablishments :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "boat_dealers"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumBoatDealers :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "boat_rentals_and_leases"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumBoatRentalsAndLeases :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "book_stores"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumBookStores :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "books_periodicals_and_newspapers"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumBooksPeriodicalsAndNewspapers :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "bowling_alleys"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumBowlingAlleys :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "bus_lines"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumBusLines :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "business_secretarial_schools"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumBusinessSecretarialSchools :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "buying_shopping_services"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumBuyingShoppingServices :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "cable_satellite_and_other_pay_television_and_radio"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumCableSatelliteAndOtherPayTelevisionAndRadio :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "camera_and_photographic_supply_stores"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumCameraAndPhotographicSupplyStores :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "candy_nut_and_confectionery_stores"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumCandyNutAndConfectioneryStores :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "car_and_truck_dealers_new_used"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumCarAndTruckDealersNewUsed :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "car_and_truck_dealers_used_only"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumCarAndTruckDealersUsedOnly :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "car_rental_agencies"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumCarRentalAgencies :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "car_washes"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumCarWashes :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "carpentry_services"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumCarpentryServices :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "carpet_upholstery_cleaning"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumCarpetUpholsteryCleaning :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "caterers"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumCaterers :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "charitable_and_social_service_organizations_fundraising"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumCharitableAndSocialServiceOrganizationsFundraising :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "chemicals_and_allied_products"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumChemicalsAndAlliedProducts :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "child_care_services"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumChildCareServices :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "childrens_and_infants_wear_stores"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumChildrensAndInfantsWearStores :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "chiropodists_podiatrists"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumChiropodistsPodiatrists :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "chiropractors"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumChiropractors :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "cigar_stores_and_stands"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumCigarStoresAndStands :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "civic_social_fraternal_associations"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumCivicSocialFraternalAssociations :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "cleaning_and_maintenance"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumCleaningAndMaintenance :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "clothing_rental"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumClothingRental :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "colleges_universities"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumCollegesUniversities :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "commercial_equipment"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumCommercialEquipment :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "commercial_footwear"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumCommercialFootwear :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "commercial_photography_art_and_graphics"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumCommercialPhotographyArtAndGraphics :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "commuter_transport_and_ferries"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumCommuterTransportAndFerries :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "computer_network_services"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumComputerNetworkServices :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "computer_programming"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumComputerProgramming :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "computer_repair"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumComputerRepair :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "computer_software_stores"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumComputerSoftwareStores :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "computers_peripherals_and_software"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumComputersPeripheralsAndSoftware :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "concrete_work_services"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumConcreteWorkServices :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "construction_materials"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumConstructionMaterials :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "consulting_public_relations"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumConsultingPublicRelations :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "correspondence_schools"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumCorrespondenceSchools :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "cosmetic_stores"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumCosmeticStores :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "counseling_services"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumCounselingServices :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "country_clubs"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumCountryClubs :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "courier_services"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumCourierServices :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "court_costs"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumCourtCosts :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "credit_reporting_agencies"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumCreditReportingAgencies :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "cruise_lines"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumCruiseLines :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "dairy_products_stores"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumDairyProductsStores :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "dance_hall_studios_schools"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumDanceHallStudiosSchools :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "dating_escort_services"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumDatingEscortServices :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "dentists_orthodontists"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumDentistsOrthodontists :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "department_stores"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumDepartmentStores :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "detective_agencies"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumDetectiveAgencies :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "digital_goods_applications"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumDigitalGoodsApplications :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "digital_goods_games"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumDigitalGoodsGames :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "digital_goods_large_volume"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumDigitalGoodsLargeVolume :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "digital_goods_media"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumDigitalGoodsMedia :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "direct_marketing_catalog_merchant"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumDirectMarketingCatalogMerchant :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "direct_marketing_combination_catalog_and_retail_merchant"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumDirectMarketingCombinationCatalogAndRetailMerchant :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "direct_marketing_inbound_telemarketing"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumDirectMarketingInboundTelemarketing :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "direct_marketing_insurance_services"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumDirectMarketingInsuranceServices :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "direct_marketing_other"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumDirectMarketingOther :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "direct_marketing_outbound_telemarketing"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumDirectMarketingOutboundTelemarketing :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "direct_marketing_subscription"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumDirectMarketingSubscription :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "direct_marketing_travel"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumDirectMarketingTravel :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "discount_stores"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumDiscountStores :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "doctors"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumDoctors :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "door_to_door_sales"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumDoorToDoorSales :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "drapery_window_covering_and_upholstery_stores"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumDraperyWindowCoveringAndUpholsteryStores :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "drinking_places"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumDrinkingPlaces :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "drug_stores_and_pharmacies"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumDrugStoresAndPharmacies :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "drugs_drug_proprietaries_and_druggist_sundries"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumDrugsDrugProprietariesAndDruggistSundries :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "dry_cleaners"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumDryCleaners :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "durable_goods"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumDurableGoods :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "duty_free_stores"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumDutyFreeStores :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "eating_places_restaurants"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumEatingPlacesRestaurants :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "educational_services"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumEducationalServices :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "electric_razor_stores"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumElectricRazorStores :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "electrical_parts_and_equipment"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumElectricalPartsAndEquipment :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "electrical_services"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumElectricalServices :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "electronics_repair_shops"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumElectronicsRepairShops :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "electronics_stores"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumElectronicsStores :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "elementary_secondary_schools"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumElementarySecondarySchools :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "employment_temp_agencies"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumEmploymentTempAgencies :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "equipment_rental"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumEquipmentRental :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "exterminating_services"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumExterminatingServices :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "family_clothing_stores"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumFamilyClothingStores :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "fast_food_restaurants"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumFastFoodRestaurants :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "financial_institutions"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumFinancialInstitutions :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "fines_government_administrative_entities"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumFinesGovernmentAdministrativeEntities :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "fireplace_fireplace_screens_and_accessories_stores"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumFireplaceFireplaceScreensAndAccessoriesStores :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "floor_covering_stores"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumFloorCoveringStores :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "florists"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumFlorists :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "florists_supplies_nursery_stock_and_flowers"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumFloristsSuppliesNurseryStockAndFlowers :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "freezer_and_locker_meat_provisioners"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumFreezerAndLockerMeatProvisioners :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "fuel_dealers_non_automotive"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumFuelDealersNonAutomotive :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "funeral_services_crematories"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumFuneralServicesCrematories :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "furniture_home_furnishings_and_equipment_stores_except_appliances"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumFurnitureHomeFurnishingsAndEquipmentStoresExceptAppliances :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "furniture_repair_refinishing"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumFurnitureRepairRefinishing :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "furriers_and_fur_shops"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumFurriersAndFurShops :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "general_services"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumGeneralServices :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "gift_card_novelty_and_souvenir_shops"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumGiftCardNoveltyAndSouvenirShops :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "glass_paint_and_wallpaper_stores"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumGlassPaintAndWallpaperStores :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "glassware_crystal_stores"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumGlasswareCrystalStores :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "golf_courses_public"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumGolfCoursesPublic :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "government_services"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumGovernmentServices :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "grocery_stores_supermarkets"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumGroceryStoresSupermarkets :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "hardware_equipment_and_supplies"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumHardwareEquipmentAndSupplies :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "hardware_stores"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumHardwareStores :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "health_and_beauty_spas"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumHealthAndBeautySpas :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "hearing_aids_sales_and_supplies"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumHearingAidsSalesAndSupplies :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "heating_plumbing_a_c"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumHeatingPlumbingAC :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "hobby_toy_and_game_shops"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumHobbyToyAndGameShops :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "home_supply_warehouse_stores"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumHomeSupplyWarehouseStores :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "hospitals"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumHospitals :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "hotels_motels_and_resorts"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumHotelsMotelsAndResorts :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "household_appliance_stores"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumHouseholdApplianceStores :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "industrial_supplies"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumIndustrialSupplies :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "information_retrieval_services"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumInformationRetrievalServices :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "insurance_default"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumInsuranceDefault :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "insurance_underwriting_premiums"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumInsuranceUnderwritingPremiums :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "intra_company_purchases"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumIntraCompanyPurchases :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "jewelry_stores_watches_clocks_and_silverware_stores"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumJewelryStoresWatchesClocksAndSilverwareStores :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "landscaping_services"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumLandscapingServices :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "laundries"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumLaundries :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "laundry_cleaning_services"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumLaundryCleaningServices :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "legal_services_attorneys"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumLegalServicesAttorneys :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "luggage_and_leather_goods_stores"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumLuggageAndLeatherGoodsStores :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "lumber_building_materials_stores"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumLumberBuildingMaterialsStores :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "manual_cash_disburse"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumManualCashDisburse :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "marinas_service_and_supplies"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumMarinasServiceAndSupplies :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "masonry_stonework_and_plaster"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumMasonryStoneworkAndPlaster :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "massage_parlors"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumMassageParlors :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "medical_and_dental_labs"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumMedicalAndDentalLabs :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "medical_dental_ophthalmic_and_hospital_equipment_and_supplies"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumMedicalDentalOphthalmicAndHospitalEquipmentAndSupplies :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "medical_services"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumMedicalServices :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "membership_organizations"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumMembershipOrganizations :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "mens_and_boys_clothing_and_accessories_stores"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumMensAndBoysClothingAndAccessoriesStores :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "mens_womens_clothing_stores"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumMensWomensClothingStores :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "metal_service_centers"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumMetalServiceCenters :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "miscellaneous"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumMiscellaneous :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "miscellaneous_apparel_and_accessory_shops"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumMiscellaneousApparelAndAccessoryShops :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "miscellaneous_auto_dealers"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumMiscellaneousAutoDealers :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "miscellaneous_business_services"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumMiscellaneousBusinessServices :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "miscellaneous_food_stores"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumMiscellaneousFoodStores :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "miscellaneous_general_merchandise"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumMiscellaneousGeneralMerchandise :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "miscellaneous_general_services"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumMiscellaneousGeneralServices :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "miscellaneous_home_furnishing_specialty_stores"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumMiscellaneousHomeFurnishingSpecialtyStores :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "miscellaneous_publishing_and_printing"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumMiscellaneousPublishingAndPrinting :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "miscellaneous_recreation_services"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumMiscellaneousRecreationServices :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "miscellaneous_repair_shops"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumMiscellaneousRepairShops :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "miscellaneous_specialty_retail"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumMiscellaneousSpecialtyRetail :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "mobile_home_dealers"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumMobileHomeDealers :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "motion_picture_theaters"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumMotionPictureTheaters :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "motor_freight_carriers_and_trucking"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumMotorFreightCarriersAndTrucking :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "motor_homes_dealers"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumMotorHomesDealers :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "motor_vehicle_supplies_and_new_parts"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumMotorVehicleSuppliesAndNewParts :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "motorcycle_shops_and_dealers"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumMotorcycleShopsAndDealers :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "motorcycle_shops_dealers"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumMotorcycleShopsDealers :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "music_stores_musical_instruments_pianos_and_sheet_music"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumMusicStoresMusicalInstrumentsPianosAndSheetMusic :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "news_dealers_and_newsstands"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumNewsDealersAndNewsstands :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "non_fi_money_orders"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumNonFiMoneyOrders :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "non_fi_stored_value_card_purchase_load"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumNonFiStoredValueCardPurchaseLoad :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "nondurable_goods"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumNondurableGoods :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "nurseries_lawn_and_garden_supply_stores"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumNurseriesLawnAndGardenSupplyStores :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "nursing_personal_care"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumNursingPersonalCare :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "office_and_commercial_furniture"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumOfficeAndCommercialFurniture :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "opticians_eyeglasses"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumOpticiansEyeglasses :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "optometrists_ophthalmologist"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumOptometristsOphthalmologist :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "orthopedic_goods_prosthetic_devices"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumOrthopedicGoodsProstheticDevices :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "osteopaths"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumOsteopaths :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "package_stores_beer_wine_and_liquor"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumPackageStoresBeerWineAndLiquor :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "paints_varnishes_and_supplies"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumPaintsVarnishesAndSupplies :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "parking_lots_garages"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumParkingLotsGarages :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "passenger_railways"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumPassengerRailways :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "pawn_shops"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumPawnShops :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "pet_shops_pet_food_and_supplies"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumPetShopsPetFoodAndSupplies :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "petroleum_and_petroleum_products"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumPetroleumAndPetroleumProducts :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "photo_developing"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumPhotoDeveloping :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "photographic_photocopy_microfilm_equipment_and_supplies"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumPhotographicPhotocopyMicrofilmEquipmentAndSupplies :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "photographic_studios"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumPhotographicStudios :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "picture_video_production"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumPictureVideoProduction :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "piece_goods_notions_and_other_dry_goods"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumPieceGoodsNotionsAndOtherDryGoods :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "plumbing_heating_equipment_and_supplies"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumPlumbingHeatingEquipmentAndSupplies :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "political_organizations"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumPoliticalOrganizations :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "postal_services_government_only"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumPostalServicesGovernmentOnly :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "precious_stones_and_metals_watches_and_jewelry"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumPreciousStonesAndMetalsWatchesAndJewelry :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "professional_services"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumProfessionalServices :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "public_warehousing_and_storage"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumPublicWarehousingAndStorage :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "quick_copy_repro_and_blueprint"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumQuickCopyReproAndBlueprint :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "railroads"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumRailroads :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "real_estate_agents_and_managers_rentals"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumRealEstateAgentsAndManagersRentals :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "record_stores"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumRecordStores :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "recreational_vehicle_rentals"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumRecreationalVehicleRentals :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "religious_goods_stores"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumReligiousGoodsStores :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "religious_organizations"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumReligiousOrganizations :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "roofing_siding_sheet_metal"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumRoofingSidingSheetMetal :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "secretarial_support_services"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumSecretarialSupportServices :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "security_brokers_dealers"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumSecurityBrokersDealers :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "service_stations"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumServiceStations :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "sewing_needlework_fabric_and_piece_goods_stores"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumSewingNeedleworkFabricAndPieceGoodsStores :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "shoe_repair_hat_cleaning"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumShoeRepairHatCleaning :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "shoe_stores"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumShoeStores :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "small_appliance_repair"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumSmallApplianceRepair :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "snowmobile_dealers"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumSnowmobileDealers :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "special_trade_services"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumSpecialTradeServices :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "specialty_cleaning"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumSpecialtyCleaning :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "sporting_goods_stores"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumSportingGoodsStores :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "sporting_recreation_camps"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumSportingRecreationCamps :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "sports_and_riding_apparel_stores"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumSportsAndRidingApparelStores :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "sports_clubs_fields"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumSportsClubsFields :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "stamp_and_coin_stores"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumStampAndCoinStores :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "stationary_office_supplies_printing_and_writing_paper"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumStationaryOfficeSuppliesPrintingAndWritingPaper :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "stationery_stores_office_and_school_supply_stores"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumStationeryStoresOfficeAndSchoolSupplyStores :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "swimming_pools_sales"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumSwimmingPoolsSales :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "t_ui_travel_germany"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumTUiTravelGermany :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "tailors_alterations"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumTailorsAlterations :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "tax_payments_government_agencies"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumTaxPaymentsGovernmentAgencies :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "tax_preparation_services"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumTaxPreparationServices :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "taxicabs_limousines"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumTaxicabsLimousines :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "telecommunication_equipment_and_telephone_sales"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumTelecommunicationEquipmentAndTelephoneSales :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "telecommunication_services"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumTelecommunicationServices :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "telegraph_services"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumTelegraphServices :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "tent_and_awning_shops"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumTentAndAwningShops :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "testing_laboratories"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumTestingLaboratories :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "theatrical_ticket_agencies"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumTheatricalTicketAgencies :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "timeshares"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumTimeshares :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "tire_retreading_and_repair"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumTireRetreadingAndRepair :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "tolls_bridge_fees"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumTollsBridgeFees :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "tourist_attractions_and_exhibits"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumTouristAttractionsAndExhibits :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "towing_services"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumTowingServices :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "trailer_parks_campgrounds"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumTrailerParksCampgrounds :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "transportation_services"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumTransportationServices :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "travel_agencies_tour_operators"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumTravelAgenciesTourOperators :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "truck_stop_iteration"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumTruckStopIteration :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "truck_utility_trailer_rentals"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumTruckUtilityTrailerRentals :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "typesetting_plate_making_and_related_services"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumTypesettingPlateMakingAndRelatedServices :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "typewriter_stores"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumTypewriterStores :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "u_s_federal_government_agencies_or_departments"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumUSFederalGovernmentAgenciesOrDepartments :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "uniforms_commercial_clothing"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumUniformsCommercialClothing :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "used_merchandise_and_secondhand_stores"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumUsedMerchandiseAndSecondhandStores :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "utilities"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumUtilities :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "variety_stores"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumVarietyStores :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "veterinary_services"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumVeterinaryServices :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "video_amusement_game_supplies"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumVideoAmusementGameSupplies :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "video_game_arcades"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumVideoGameArcades :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "video_tape_rental_stores"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumVideoTapeRentalStores :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "vocational_trade_schools"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumVocationalTradeSchools :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "watch_jewelry_repair"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumWatchJewelryRepair :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "welding_repair"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumWeldingRepair :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "wholesale_clubs"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumWholesaleClubs :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "wig_and_toupee_stores"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumWigAndToupeeStores :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "wires_money_orders"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumWiresMoneyOrders :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value
-- "womens_accessory_and_specialty_shops"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumWomensAccessoryAndSpecialtyShops :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "womens_ready_to_wear_stores"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumWomensReadyToWearStores :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Represents the JSON value "wrecking_and_salvage_yards"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'EnumWreckingAndSalvageYards :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
-- | Defines the enum schema located at
-- paths./v1/issuing/cardholders.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.spending_controls.properties.spending_limits.items.properties.interval
-- in the specification.
data PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Interval'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Interval'Other :: Value -> PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Interval'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Interval'Typed :: Text -> PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Interval'
-- | Represents the JSON value "all_time"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Interval'EnumAllTime :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Interval'
-- | Represents the JSON value "daily"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Interval'EnumDaily :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Interval'
-- | Represents the JSON value "monthly"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Interval'EnumMonthly :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Interval'
-- | Represents the JSON value "per_authorization"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Interval'EnumPerAuthorization :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Interval'
-- | Represents the JSON value "weekly"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Interval'EnumWeekly :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Interval'
-- | Represents the JSON value "yearly"
PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Interval'EnumYearly :: PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Interval'
-- | Defines the enum schema located at
-- paths./v1/issuing/cardholders.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.status
-- in the specification.
--
-- Specifies whether to permit authorizations on this cardholder's cards.
-- Defaults to `active`.
data PostIssuingCardholdersRequestBodyStatus'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostIssuingCardholdersRequestBodyStatus'Other :: Value -> PostIssuingCardholdersRequestBodyStatus'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostIssuingCardholdersRequestBodyStatus'Typed :: Text -> PostIssuingCardholdersRequestBodyStatus'
-- | Represents the JSON value "active"
PostIssuingCardholdersRequestBodyStatus'EnumActive :: PostIssuingCardholdersRequestBodyStatus'
-- | Represents the JSON value "inactive"
PostIssuingCardholdersRequestBodyStatus'EnumInactive :: PostIssuingCardholdersRequestBodyStatus'
-- | Defines the enum schema located at
-- paths./v1/issuing/cardholders.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.type
-- in the specification.
--
-- One of `individual` or `company`.
data PostIssuingCardholdersRequestBodyType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostIssuingCardholdersRequestBodyType'Other :: Value -> PostIssuingCardholdersRequestBodyType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostIssuingCardholdersRequestBodyType'Typed :: Text -> PostIssuingCardholdersRequestBodyType'
-- | Represents the JSON value "company"
PostIssuingCardholdersRequestBodyType'EnumCompany :: PostIssuingCardholdersRequestBodyType'
-- | Represents the JSON value "individual"
PostIssuingCardholdersRequestBodyType'EnumIndividual :: PostIssuingCardholdersRequestBodyType'
-- | Represents a response of the operation postIssuingCardholders.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostIssuingCardholdersResponseError is
-- used.
data PostIssuingCardholdersResponse
-- | Means either no matching case available or a parse error
PostIssuingCardholdersResponseError :: String -> PostIssuingCardholdersResponse
-- | Successful response.
PostIssuingCardholdersResponse200 :: Issuing'cardholder -> PostIssuingCardholdersResponse
-- | Error response.
PostIssuingCardholdersResponseDefault :: Error -> PostIssuingCardholdersResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingCardholders.PostIssuingCardholdersRequestBodyBilling'Address'
instance GHC.Show.Show StripeAPI.Operations.PostIssuingCardholders.PostIssuingCardholdersRequestBodyBilling'Address'
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingCardholders.PostIssuingCardholdersRequestBodyBilling'
instance GHC.Show.Show StripeAPI.Operations.PostIssuingCardholders.PostIssuingCardholdersRequestBodyBilling'
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingCardholders.PostIssuingCardholdersRequestBodyCompany'
instance GHC.Show.Show StripeAPI.Operations.PostIssuingCardholders.PostIssuingCardholdersRequestBodyCompany'
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingCardholders.PostIssuingCardholdersRequestBodyIndividual'Dob'
instance GHC.Show.Show StripeAPI.Operations.PostIssuingCardholders.PostIssuingCardholdersRequestBodyIndividual'Dob'
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingCardholders.PostIssuingCardholdersRequestBodyIndividual'Verification'Document'
instance GHC.Show.Show StripeAPI.Operations.PostIssuingCardholders.PostIssuingCardholdersRequestBodyIndividual'Verification'Document'
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingCardholders.PostIssuingCardholdersRequestBodyIndividual'Verification'
instance GHC.Show.Show StripeAPI.Operations.PostIssuingCardholders.PostIssuingCardholdersRequestBodyIndividual'Verification'
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingCardholders.PostIssuingCardholdersRequestBodyIndividual'
instance GHC.Show.Show StripeAPI.Operations.PostIssuingCardholders.PostIssuingCardholdersRequestBodyIndividual'
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingCardholders.PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
instance GHC.Show.Show StripeAPI.Operations.PostIssuingCardholders.PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingCardholders.PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
instance GHC.Show.Show StripeAPI.Operations.PostIssuingCardholders.PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingCardholders.PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
instance GHC.Show.Show StripeAPI.Operations.PostIssuingCardholders.PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingCardholders.PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Interval'
instance GHC.Show.Show StripeAPI.Operations.PostIssuingCardholders.PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Interval'
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingCardholders.PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'
instance GHC.Show.Show StripeAPI.Operations.PostIssuingCardholders.PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingCardholders.PostIssuingCardholdersRequestBodySpendingControls'
instance GHC.Show.Show StripeAPI.Operations.PostIssuingCardholders.PostIssuingCardholdersRequestBodySpendingControls'
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingCardholders.PostIssuingCardholdersRequestBodyStatus'
instance GHC.Show.Show StripeAPI.Operations.PostIssuingCardholders.PostIssuingCardholdersRequestBodyStatus'
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingCardholders.PostIssuingCardholdersRequestBodyType'
instance GHC.Show.Show StripeAPI.Operations.PostIssuingCardholders.PostIssuingCardholdersRequestBodyType'
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingCardholders.PostIssuingCardholdersRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostIssuingCardholders.PostIssuingCardholdersRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingCardholders.PostIssuingCardholdersResponse
instance GHC.Show.Show StripeAPI.Operations.PostIssuingCardholders.PostIssuingCardholdersResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingCardholders.PostIssuingCardholdersRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingCardholders.PostIssuingCardholdersRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingCardholders.PostIssuingCardholdersRequestBodyType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingCardholders.PostIssuingCardholdersRequestBodyType'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingCardholders.PostIssuingCardholdersRequestBodyStatus'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingCardholders.PostIssuingCardholdersRequestBodyStatus'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingCardholders.PostIssuingCardholdersRequestBodySpendingControls'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingCardholders.PostIssuingCardholdersRequestBodySpendingControls'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingCardholders.PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingCardholders.PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingCardholders.PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Interval'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingCardholders.PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Interval'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingCardholders.PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingCardholders.PostIssuingCardholdersRequestBodySpendingControls'SpendingLimits'Categories'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingCardholders.PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingCardholders.PostIssuingCardholdersRequestBodySpendingControls'BlockedCategories'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingCardholders.PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingCardholders.PostIssuingCardholdersRequestBodySpendingControls'AllowedCategories'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingCardholders.PostIssuingCardholdersRequestBodyIndividual'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingCardholders.PostIssuingCardholdersRequestBodyIndividual'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingCardholders.PostIssuingCardholdersRequestBodyIndividual'Verification'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingCardholders.PostIssuingCardholdersRequestBodyIndividual'Verification'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingCardholders.PostIssuingCardholdersRequestBodyIndividual'Verification'Document'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingCardholders.PostIssuingCardholdersRequestBodyIndividual'Verification'Document'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingCardholders.PostIssuingCardholdersRequestBodyIndividual'Dob'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingCardholders.PostIssuingCardholdersRequestBodyIndividual'Dob'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingCardholders.PostIssuingCardholdersRequestBodyCompany'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingCardholders.PostIssuingCardholdersRequestBodyCompany'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingCardholders.PostIssuingCardholdersRequestBodyBilling'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingCardholders.PostIssuingCardholdersRequestBodyBilling'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingCardholders.PostIssuingCardholdersRequestBodyBilling'Address'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingCardholders.PostIssuingCardholdersRequestBodyBilling'Address'
-- | Contains the different functions to run the operation
-- postIssuingAuthorizationsAuthorizationDecline
module StripeAPI.Operations.PostIssuingAuthorizationsAuthorizationDecline
-- |
-- POST /v1/issuing/authorizations/{authorization}/decline
--
--
-- <p>Declines a pending Issuing
-- <code>Authorization</code> object. This request should be
-- made within the timeout window of the <a
-- href="/docs/issuing/controls/real-time-authorizations">real time
-- authorization</a> flow.</p>
postIssuingAuthorizationsAuthorizationDecline :: forall m. MonadHTTP m => Text -> Maybe PostIssuingAuthorizationsAuthorizationDeclineRequestBody -> ClientT m (Response PostIssuingAuthorizationsAuthorizationDeclineResponse)
-- | Defines the object schema located at
-- paths./v1/issuing/authorizations/{authorization}/decline.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostIssuingAuthorizationsAuthorizationDeclineRequestBody
PostIssuingAuthorizationsAuthorizationDeclineRequestBody :: Maybe [Text] -> Maybe PostIssuingAuthorizationsAuthorizationDeclineRequestBodyMetadata'Variants -> PostIssuingAuthorizationsAuthorizationDeclineRequestBody
-- | expand: Specifies which fields in the response should be expanded.
[postIssuingAuthorizationsAuthorizationDeclineRequestBodyExpand] :: PostIssuingAuthorizationsAuthorizationDeclineRequestBody -> Maybe [Text]
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postIssuingAuthorizationsAuthorizationDeclineRequestBodyMetadata] :: PostIssuingAuthorizationsAuthorizationDeclineRequestBody -> Maybe PostIssuingAuthorizationsAuthorizationDeclineRequestBodyMetadata'Variants
-- | Create a new
-- PostIssuingAuthorizationsAuthorizationDeclineRequestBody with
-- all required fields.
mkPostIssuingAuthorizationsAuthorizationDeclineRequestBody :: PostIssuingAuthorizationsAuthorizationDeclineRequestBody
-- | Defines the oneOf schema located at
-- paths./v1/issuing/authorizations/{authorization}/decline.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.metadata.anyOf
-- in the specification.
--
-- Set of key-value pairs that you can attach to an object. This
-- can be useful for storing additional information about the object in a
-- structured format. Individual keys can be unset by posting an empty
-- value to them. All keys can be unset by posting an empty value to
-- `metadata`.
data PostIssuingAuthorizationsAuthorizationDeclineRequestBodyMetadata'Variants
-- | Represents the JSON value ""
PostIssuingAuthorizationsAuthorizationDeclineRequestBodyMetadata'EmptyString :: PostIssuingAuthorizationsAuthorizationDeclineRequestBodyMetadata'Variants
PostIssuingAuthorizationsAuthorizationDeclineRequestBodyMetadata'Object :: Object -> PostIssuingAuthorizationsAuthorizationDeclineRequestBodyMetadata'Variants
-- | Represents a response of the operation
-- postIssuingAuthorizationsAuthorizationDecline.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- PostIssuingAuthorizationsAuthorizationDeclineResponseError is
-- used.
data PostIssuingAuthorizationsAuthorizationDeclineResponse
-- | Means either no matching case available or a parse error
PostIssuingAuthorizationsAuthorizationDeclineResponseError :: String -> PostIssuingAuthorizationsAuthorizationDeclineResponse
-- | Successful response.
PostIssuingAuthorizationsAuthorizationDeclineResponse200 :: Issuing'authorization -> PostIssuingAuthorizationsAuthorizationDeclineResponse
-- | Error response.
PostIssuingAuthorizationsAuthorizationDeclineResponseDefault :: Error -> PostIssuingAuthorizationsAuthorizationDeclineResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingAuthorizationsAuthorizationDecline.PostIssuingAuthorizationsAuthorizationDeclineRequestBodyMetadata'Variants
instance GHC.Show.Show StripeAPI.Operations.PostIssuingAuthorizationsAuthorizationDecline.PostIssuingAuthorizationsAuthorizationDeclineRequestBodyMetadata'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingAuthorizationsAuthorizationDecline.PostIssuingAuthorizationsAuthorizationDeclineRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostIssuingAuthorizationsAuthorizationDecline.PostIssuingAuthorizationsAuthorizationDeclineRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingAuthorizationsAuthorizationDecline.PostIssuingAuthorizationsAuthorizationDeclineResponse
instance GHC.Show.Show StripeAPI.Operations.PostIssuingAuthorizationsAuthorizationDecline.PostIssuingAuthorizationsAuthorizationDeclineResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingAuthorizationsAuthorizationDecline.PostIssuingAuthorizationsAuthorizationDeclineRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingAuthorizationsAuthorizationDecline.PostIssuingAuthorizationsAuthorizationDeclineRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingAuthorizationsAuthorizationDecline.PostIssuingAuthorizationsAuthorizationDeclineRequestBodyMetadata'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingAuthorizationsAuthorizationDecline.PostIssuingAuthorizationsAuthorizationDeclineRequestBodyMetadata'Variants
-- | Contains the different functions to run the operation
-- postIssuingAuthorizationsAuthorizationApprove
module StripeAPI.Operations.PostIssuingAuthorizationsAuthorizationApprove
-- |
-- POST /v1/issuing/authorizations/{authorization}/approve
--
--
-- <p>Approves a pending Issuing
-- <code>Authorization</code> object. This request should be
-- made within the timeout window of the <a
-- href="/docs/issuing/controls/real-time-authorizations">real-time
-- authorization</a> flow.</p>
postIssuingAuthorizationsAuthorizationApprove :: forall m. MonadHTTP m => Text -> Maybe PostIssuingAuthorizationsAuthorizationApproveRequestBody -> ClientT m (Response PostIssuingAuthorizationsAuthorizationApproveResponse)
-- | Defines the object schema located at
-- paths./v1/issuing/authorizations/{authorization}/approve.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostIssuingAuthorizationsAuthorizationApproveRequestBody
PostIssuingAuthorizationsAuthorizationApproveRequestBody :: Maybe Int -> Maybe [Text] -> Maybe PostIssuingAuthorizationsAuthorizationApproveRequestBodyMetadata'Variants -> PostIssuingAuthorizationsAuthorizationApproveRequestBody
-- | amount: If the authorization's
-- `pending_request.is_amount_controllable` property is `true`, you may
-- provide this value to control how much to hold for the authorization.
-- Must be positive (use `decline` to decline an authorization
-- request).
[postIssuingAuthorizationsAuthorizationApproveRequestBodyAmount] :: PostIssuingAuthorizationsAuthorizationApproveRequestBody -> Maybe Int
-- | expand: Specifies which fields in the response should be expanded.
[postIssuingAuthorizationsAuthorizationApproveRequestBodyExpand] :: PostIssuingAuthorizationsAuthorizationApproveRequestBody -> Maybe [Text]
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postIssuingAuthorizationsAuthorizationApproveRequestBodyMetadata] :: PostIssuingAuthorizationsAuthorizationApproveRequestBody -> Maybe PostIssuingAuthorizationsAuthorizationApproveRequestBodyMetadata'Variants
-- | Create a new
-- PostIssuingAuthorizationsAuthorizationApproveRequestBody with
-- all required fields.
mkPostIssuingAuthorizationsAuthorizationApproveRequestBody :: PostIssuingAuthorizationsAuthorizationApproveRequestBody
-- | Defines the oneOf schema located at
-- paths./v1/issuing/authorizations/{authorization}/approve.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.metadata.anyOf
-- in the specification.
--
-- Set of key-value pairs that you can attach to an object. This
-- can be useful for storing additional information about the object in a
-- structured format. Individual keys can be unset by posting an empty
-- value to them. All keys can be unset by posting an empty value to
-- `metadata`.
data PostIssuingAuthorizationsAuthorizationApproveRequestBodyMetadata'Variants
-- | Represents the JSON value ""
PostIssuingAuthorizationsAuthorizationApproveRequestBodyMetadata'EmptyString :: PostIssuingAuthorizationsAuthorizationApproveRequestBodyMetadata'Variants
PostIssuingAuthorizationsAuthorizationApproveRequestBodyMetadata'Object :: Object -> PostIssuingAuthorizationsAuthorizationApproveRequestBodyMetadata'Variants
-- | Represents a response of the operation
-- postIssuingAuthorizationsAuthorizationApprove.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- PostIssuingAuthorizationsAuthorizationApproveResponseError is
-- used.
data PostIssuingAuthorizationsAuthorizationApproveResponse
-- | Means either no matching case available or a parse error
PostIssuingAuthorizationsAuthorizationApproveResponseError :: String -> PostIssuingAuthorizationsAuthorizationApproveResponse
-- | Successful response.
PostIssuingAuthorizationsAuthorizationApproveResponse200 :: Issuing'authorization -> PostIssuingAuthorizationsAuthorizationApproveResponse
-- | Error response.
PostIssuingAuthorizationsAuthorizationApproveResponseDefault :: Error -> PostIssuingAuthorizationsAuthorizationApproveResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingAuthorizationsAuthorizationApprove.PostIssuingAuthorizationsAuthorizationApproveRequestBodyMetadata'Variants
instance GHC.Show.Show StripeAPI.Operations.PostIssuingAuthorizationsAuthorizationApprove.PostIssuingAuthorizationsAuthorizationApproveRequestBodyMetadata'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingAuthorizationsAuthorizationApprove.PostIssuingAuthorizationsAuthorizationApproveRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostIssuingAuthorizationsAuthorizationApprove.PostIssuingAuthorizationsAuthorizationApproveRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingAuthorizationsAuthorizationApprove.PostIssuingAuthorizationsAuthorizationApproveResponse
instance GHC.Show.Show StripeAPI.Operations.PostIssuingAuthorizationsAuthorizationApprove.PostIssuingAuthorizationsAuthorizationApproveResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingAuthorizationsAuthorizationApprove.PostIssuingAuthorizationsAuthorizationApproveRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingAuthorizationsAuthorizationApprove.PostIssuingAuthorizationsAuthorizationApproveRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingAuthorizationsAuthorizationApprove.PostIssuingAuthorizationsAuthorizationApproveRequestBodyMetadata'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingAuthorizationsAuthorizationApprove.PostIssuingAuthorizationsAuthorizationApproveRequestBodyMetadata'Variants
-- | Contains the different functions to run the operation
-- postIssuingAuthorizationsAuthorization
module StripeAPI.Operations.PostIssuingAuthorizationsAuthorization
-- |
-- POST /v1/issuing/authorizations/{authorization}
--
--
-- <p>Updates the specified Issuing
-- <code>Authorization</code> object by setting the values of
-- the parameters passed. Any parameters not provided will be left
-- unchanged.</p>
postIssuingAuthorizationsAuthorization :: forall m. MonadHTTP m => Text -> Maybe PostIssuingAuthorizationsAuthorizationRequestBody -> ClientT m (Response PostIssuingAuthorizationsAuthorizationResponse)
-- | Defines the object schema located at
-- paths./v1/issuing/authorizations/{authorization}.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostIssuingAuthorizationsAuthorizationRequestBody
PostIssuingAuthorizationsAuthorizationRequestBody :: Maybe [Text] -> Maybe PostIssuingAuthorizationsAuthorizationRequestBodyMetadata'Variants -> PostIssuingAuthorizationsAuthorizationRequestBody
-- | expand: Specifies which fields in the response should be expanded.
[postIssuingAuthorizationsAuthorizationRequestBodyExpand] :: PostIssuingAuthorizationsAuthorizationRequestBody -> Maybe [Text]
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postIssuingAuthorizationsAuthorizationRequestBodyMetadata] :: PostIssuingAuthorizationsAuthorizationRequestBody -> Maybe PostIssuingAuthorizationsAuthorizationRequestBodyMetadata'Variants
-- | Create a new PostIssuingAuthorizationsAuthorizationRequestBody
-- with all required fields.
mkPostIssuingAuthorizationsAuthorizationRequestBody :: PostIssuingAuthorizationsAuthorizationRequestBody
-- | Defines the oneOf schema located at
-- paths./v1/issuing/authorizations/{authorization}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.metadata.anyOf
-- in the specification.
--
-- Set of key-value pairs that you can attach to an object. This
-- can be useful for storing additional information about the object in a
-- structured format. Individual keys can be unset by posting an empty
-- value to them. All keys can be unset by posting an empty value to
-- `metadata`.
data PostIssuingAuthorizationsAuthorizationRequestBodyMetadata'Variants
-- | Represents the JSON value ""
PostIssuingAuthorizationsAuthorizationRequestBodyMetadata'EmptyString :: PostIssuingAuthorizationsAuthorizationRequestBodyMetadata'Variants
PostIssuingAuthorizationsAuthorizationRequestBodyMetadata'Object :: Object -> PostIssuingAuthorizationsAuthorizationRequestBodyMetadata'Variants
-- | Represents a response of the operation
-- postIssuingAuthorizationsAuthorization.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- PostIssuingAuthorizationsAuthorizationResponseError is used.
data PostIssuingAuthorizationsAuthorizationResponse
-- | Means either no matching case available or a parse error
PostIssuingAuthorizationsAuthorizationResponseError :: String -> PostIssuingAuthorizationsAuthorizationResponse
-- | Successful response.
PostIssuingAuthorizationsAuthorizationResponse200 :: Issuing'authorization -> PostIssuingAuthorizationsAuthorizationResponse
-- | Error response.
PostIssuingAuthorizationsAuthorizationResponseDefault :: Error -> PostIssuingAuthorizationsAuthorizationResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingAuthorizationsAuthorization.PostIssuingAuthorizationsAuthorizationRequestBodyMetadata'Variants
instance GHC.Show.Show StripeAPI.Operations.PostIssuingAuthorizationsAuthorization.PostIssuingAuthorizationsAuthorizationRequestBodyMetadata'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingAuthorizationsAuthorization.PostIssuingAuthorizationsAuthorizationRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostIssuingAuthorizationsAuthorization.PostIssuingAuthorizationsAuthorizationRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostIssuingAuthorizationsAuthorization.PostIssuingAuthorizationsAuthorizationResponse
instance GHC.Show.Show StripeAPI.Operations.PostIssuingAuthorizationsAuthorization.PostIssuingAuthorizationsAuthorizationResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingAuthorizationsAuthorization.PostIssuingAuthorizationsAuthorizationRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingAuthorizationsAuthorization.PostIssuingAuthorizationsAuthorizationRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIssuingAuthorizationsAuthorization.PostIssuingAuthorizationsAuthorizationRequestBodyMetadata'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIssuingAuthorizationsAuthorization.PostIssuingAuthorizationsAuthorizationRequestBodyMetadata'Variants
-- | Contains the different functions to run the operation
-- postInvoicesInvoiceVoid
module StripeAPI.Operations.PostInvoicesInvoiceVoid
-- |
-- POST /v1/invoices/{invoice}/void
--
--
-- <p>Mark a finalized invoice as void. This cannot be undone.
-- Voiding an invoice is similar to <a
-- href="#delete_invoice">deletion</a>, however it only applies
-- to finalized invoices and maintains a papertrail where the invoice can
-- still be found.</p>
postInvoicesInvoiceVoid :: forall m. MonadHTTP m => Text -> Maybe PostInvoicesInvoiceVoidRequestBody -> ClientT m (Response PostInvoicesInvoiceVoidResponse)
-- | Defines the object schema located at
-- paths./v1/invoices/{invoice}/void.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostInvoicesInvoiceVoidRequestBody
PostInvoicesInvoiceVoidRequestBody :: Maybe [Text] -> PostInvoicesInvoiceVoidRequestBody
-- | expand: Specifies which fields in the response should be expanded.
[postInvoicesInvoiceVoidRequestBodyExpand] :: PostInvoicesInvoiceVoidRequestBody -> Maybe [Text]
-- | Create a new PostInvoicesInvoiceVoidRequestBody with all
-- required fields.
mkPostInvoicesInvoiceVoidRequestBody :: PostInvoicesInvoiceVoidRequestBody
-- | Represents a response of the operation postInvoicesInvoiceVoid.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostInvoicesInvoiceVoidResponseError is
-- used.
data PostInvoicesInvoiceVoidResponse
-- | Means either no matching case available or a parse error
PostInvoicesInvoiceVoidResponseError :: String -> PostInvoicesInvoiceVoidResponse
-- | Successful response.
PostInvoicesInvoiceVoidResponse200 :: Invoice -> PostInvoicesInvoiceVoidResponse
-- | Error response.
PostInvoicesInvoiceVoidResponseDefault :: Error -> PostInvoicesInvoiceVoidResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostInvoicesInvoiceVoid.PostInvoicesInvoiceVoidRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostInvoicesInvoiceVoid.PostInvoicesInvoiceVoidRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostInvoicesInvoiceVoid.PostInvoicesInvoiceVoidResponse
instance GHC.Show.Show StripeAPI.Operations.PostInvoicesInvoiceVoid.PostInvoicesInvoiceVoidResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostInvoicesInvoiceVoid.PostInvoicesInvoiceVoidRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostInvoicesInvoiceVoid.PostInvoicesInvoiceVoidRequestBody
-- | Contains the different functions to run the operation
-- postInvoicesInvoiceSend
module StripeAPI.Operations.PostInvoicesInvoiceSend
-- |
-- POST /v1/invoices/{invoice}/send
--
--
-- <p>Stripe will automatically send invoices to customers
-- according to your <a
-- href="https://dashboard.stripe.com/account/billing/automatic">subscriptions
-- settings</a>. However, if you’d like to manually send an invoice
-- to your customer out of the normal schedule, you can do so. When
-- sending invoices that have already been paid, there will be no
-- reference to the payment in the email.</p>
--
-- <p>Requests made in test-mode result in no emails being sent,
-- despite sending an <code>invoice.sent</code>
-- event.</p>
postInvoicesInvoiceSend :: forall m. MonadHTTP m => Text -> Maybe PostInvoicesInvoiceSendRequestBody -> ClientT m (Response PostInvoicesInvoiceSendResponse)
-- | Defines the object schema located at
-- paths./v1/invoices/{invoice}/send.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostInvoicesInvoiceSendRequestBody
PostInvoicesInvoiceSendRequestBody :: Maybe [Text] -> PostInvoicesInvoiceSendRequestBody
-- | expand: Specifies which fields in the response should be expanded.
[postInvoicesInvoiceSendRequestBodyExpand] :: PostInvoicesInvoiceSendRequestBody -> Maybe [Text]
-- | Create a new PostInvoicesInvoiceSendRequestBody with all
-- required fields.
mkPostInvoicesInvoiceSendRequestBody :: PostInvoicesInvoiceSendRequestBody
-- | Represents a response of the operation postInvoicesInvoiceSend.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostInvoicesInvoiceSendResponseError is
-- used.
data PostInvoicesInvoiceSendResponse
-- | Means either no matching case available or a parse error
PostInvoicesInvoiceSendResponseError :: String -> PostInvoicesInvoiceSendResponse
-- | Successful response.
PostInvoicesInvoiceSendResponse200 :: Invoice -> PostInvoicesInvoiceSendResponse
-- | Error response.
PostInvoicesInvoiceSendResponseDefault :: Error -> PostInvoicesInvoiceSendResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostInvoicesInvoiceSend.PostInvoicesInvoiceSendRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostInvoicesInvoiceSend.PostInvoicesInvoiceSendRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostInvoicesInvoiceSend.PostInvoicesInvoiceSendResponse
instance GHC.Show.Show StripeAPI.Operations.PostInvoicesInvoiceSend.PostInvoicesInvoiceSendResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostInvoicesInvoiceSend.PostInvoicesInvoiceSendRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostInvoicesInvoiceSend.PostInvoicesInvoiceSendRequestBody
-- | Contains the different functions to run the operation
-- postInvoicesInvoicePay
module StripeAPI.Operations.PostInvoicesInvoicePay
-- |
-- POST /v1/invoices/{invoice}/pay
--
--
-- <p>Stripe automatically creates and then attempts to collect
-- payment on invoices for customers on subscriptions according to your
-- <a
-- href="https://dashboard.stripe.com/account/billing/automatic">subscriptions
-- settings</a>. However, if you’d like to attempt payment on an
-- invoice out of the normal collection schedule or for some other
-- reason, you can do so.</p>
postInvoicesInvoicePay :: forall m. MonadHTTP m => Text -> Maybe PostInvoicesInvoicePayRequestBody -> ClientT m (Response PostInvoicesInvoicePayResponse)
-- | Defines the object schema located at
-- paths./v1/invoices/{invoice}/pay.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostInvoicesInvoicePayRequestBody
PostInvoicesInvoicePayRequestBody :: Maybe [Text] -> Maybe Bool -> Maybe Bool -> Maybe Bool -> Maybe Text -> Maybe Text -> PostInvoicesInvoicePayRequestBody
-- | expand: Specifies which fields in the response should be expanded.
[postInvoicesInvoicePayRequestBodyExpand] :: PostInvoicesInvoicePayRequestBody -> Maybe [Text]
-- | forgive: In cases where the source used to pay the invoice has
-- insufficient funds, passing `forgive=true` controls whether a charge
-- should be attempted for the full amount available on the source, up to
-- the amount to fully pay the invoice. This effectively forgives the
-- difference between the amount available on the source and the amount
-- due.
--
-- Passing `forgive=false` will fail the charge if the source hasn't been
-- pre-funded with the right amount. An example for this case is with ACH
-- Credit Transfers and wires: if the amount wired is less than the
-- amount due by a small amount, you might want to forgive the
-- difference. Defaults to `false`.
[postInvoicesInvoicePayRequestBodyForgive] :: PostInvoicesInvoicePayRequestBody -> Maybe Bool
-- | off_session: Indicates if a customer is on or off-session while an
-- invoice payment is attempted. Defaults to `true` (off-session).
[postInvoicesInvoicePayRequestBodyOffSession] :: PostInvoicesInvoicePayRequestBody -> Maybe Bool
-- | paid_out_of_band: Boolean representing whether an invoice is paid
-- outside of Stripe. This will result in no charge being made. Defaults
-- to `false`.
[postInvoicesInvoicePayRequestBodyPaidOutOfBand] :: PostInvoicesInvoicePayRequestBody -> Maybe Bool
-- | payment_method: A PaymentMethod to be charged. The PaymentMethod must
-- be the ID of a PaymentMethod belonging to the customer associated with
-- the invoice being paid.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postInvoicesInvoicePayRequestBodyPaymentMethod] :: PostInvoicesInvoicePayRequestBody -> Maybe Text
-- | source: A payment source to be charged. The source must be the ID of a
-- source belonging to the customer associated with the invoice being
-- paid.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postInvoicesInvoicePayRequestBodySource] :: PostInvoicesInvoicePayRequestBody -> Maybe Text
-- | Create a new PostInvoicesInvoicePayRequestBody with all
-- required fields.
mkPostInvoicesInvoicePayRequestBody :: PostInvoicesInvoicePayRequestBody
-- | Represents a response of the operation postInvoicesInvoicePay.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostInvoicesInvoicePayResponseError is
-- used.
data PostInvoicesInvoicePayResponse
-- | Means either no matching case available or a parse error
PostInvoicesInvoicePayResponseError :: String -> PostInvoicesInvoicePayResponse
-- | Successful response.
PostInvoicesInvoicePayResponse200 :: Invoice -> PostInvoicesInvoicePayResponse
-- | Error response.
PostInvoicesInvoicePayResponseDefault :: Error -> PostInvoicesInvoicePayResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostInvoicesInvoicePay.PostInvoicesInvoicePayRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostInvoicesInvoicePay.PostInvoicesInvoicePayRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostInvoicesInvoicePay.PostInvoicesInvoicePayResponse
instance GHC.Show.Show StripeAPI.Operations.PostInvoicesInvoicePay.PostInvoicesInvoicePayResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostInvoicesInvoicePay.PostInvoicesInvoicePayRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostInvoicesInvoicePay.PostInvoicesInvoicePayRequestBody
-- | Contains the different functions to run the operation
-- postInvoicesInvoiceMarkUncollectible
module StripeAPI.Operations.PostInvoicesInvoiceMarkUncollectible
-- |
-- POST /v1/invoices/{invoice}/mark_uncollectible
--
--
-- <p>Marking an invoice as uncollectible is useful for keeping
-- track of bad debts that can be written off for accounting
-- purposes.</p>
postInvoicesInvoiceMarkUncollectible :: forall m. MonadHTTP m => Text -> Maybe PostInvoicesInvoiceMarkUncollectibleRequestBody -> ClientT m (Response PostInvoicesInvoiceMarkUncollectibleResponse)
-- | Defines the object schema located at
-- paths./v1/invoices/{invoice}/mark_uncollectible.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostInvoicesInvoiceMarkUncollectibleRequestBody
PostInvoicesInvoiceMarkUncollectibleRequestBody :: Maybe [Text] -> PostInvoicesInvoiceMarkUncollectibleRequestBody
-- | expand: Specifies which fields in the response should be expanded.
[postInvoicesInvoiceMarkUncollectibleRequestBodyExpand] :: PostInvoicesInvoiceMarkUncollectibleRequestBody -> Maybe [Text]
-- | Create a new PostInvoicesInvoiceMarkUncollectibleRequestBody
-- with all required fields.
mkPostInvoicesInvoiceMarkUncollectibleRequestBody :: PostInvoicesInvoiceMarkUncollectibleRequestBody
-- | Represents a response of the operation
-- postInvoicesInvoiceMarkUncollectible.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- PostInvoicesInvoiceMarkUncollectibleResponseError is used.
data PostInvoicesInvoiceMarkUncollectibleResponse
-- | Means either no matching case available or a parse error
PostInvoicesInvoiceMarkUncollectibleResponseError :: String -> PostInvoicesInvoiceMarkUncollectibleResponse
-- | Successful response.
PostInvoicesInvoiceMarkUncollectibleResponse200 :: Invoice -> PostInvoicesInvoiceMarkUncollectibleResponse
-- | Error response.
PostInvoicesInvoiceMarkUncollectibleResponseDefault :: Error -> PostInvoicesInvoiceMarkUncollectibleResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostInvoicesInvoiceMarkUncollectible.PostInvoicesInvoiceMarkUncollectibleRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostInvoicesInvoiceMarkUncollectible.PostInvoicesInvoiceMarkUncollectibleRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostInvoicesInvoiceMarkUncollectible.PostInvoicesInvoiceMarkUncollectibleResponse
instance GHC.Show.Show StripeAPI.Operations.PostInvoicesInvoiceMarkUncollectible.PostInvoicesInvoiceMarkUncollectibleResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostInvoicesInvoiceMarkUncollectible.PostInvoicesInvoiceMarkUncollectibleRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostInvoicesInvoiceMarkUncollectible.PostInvoicesInvoiceMarkUncollectibleRequestBody
-- | Contains the different functions to run the operation
-- postInvoicesInvoiceFinalize
module StripeAPI.Operations.PostInvoicesInvoiceFinalize
-- |
-- POST /v1/invoices/{invoice}/finalize
--
--
-- <p>Stripe automatically finalizes drafts before sending and
-- attempting payment on invoices. However, if you’d like to finalize a
-- draft invoice manually, you can do so using this method.</p>
postInvoicesInvoiceFinalize :: forall m. MonadHTTP m => Text -> Maybe PostInvoicesInvoiceFinalizeRequestBody -> ClientT m (Response PostInvoicesInvoiceFinalizeResponse)
-- | Defines the object schema located at
-- paths./v1/invoices/{invoice}/finalize.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostInvoicesInvoiceFinalizeRequestBody
PostInvoicesInvoiceFinalizeRequestBody :: Maybe Bool -> Maybe [Text] -> PostInvoicesInvoiceFinalizeRequestBody
-- | auto_advance: Controls whether Stripe will perform automatic
-- collection of the invoice. When `false`, the invoice's state will
-- not automatically advance without an explicit action.
[postInvoicesInvoiceFinalizeRequestBodyAutoAdvance] :: PostInvoicesInvoiceFinalizeRequestBody -> Maybe Bool
-- | expand: Specifies which fields in the response should be expanded.
[postInvoicesInvoiceFinalizeRequestBodyExpand] :: PostInvoicesInvoiceFinalizeRequestBody -> Maybe [Text]
-- | Create a new PostInvoicesInvoiceFinalizeRequestBody with all
-- required fields.
mkPostInvoicesInvoiceFinalizeRequestBody :: PostInvoicesInvoiceFinalizeRequestBody
-- | Represents a response of the operation
-- postInvoicesInvoiceFinalize.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- PostInvoicesInvoiceFinalizeResponseError is used.
data PostInvoicesInvoiceFinalizeResponse
-- | Means either no matching case available or a parse error
PostInvoicesInvoiceFinalizeResponseError :: String -> PostInvoicesInvoiceFinalizeResponse
-- | Successful response.
PostInvoicesInvoiceFinalizeResponse200 :: Invoice -> PostInvoicesInvoiceFinalizeResponse
-- | Error response.
PostInvoicesInvoiceFinalizeResponseDefault :: Error -> PostInvoicesInvoiceFinalizeResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostInvoicesInvoiceFinalize.PostInvoicesInvoiceFinalizeRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostInvoicesInvoiceFinalize.PostInvoicesInvoiceFinalizeRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostInvoicesInvoiceFinalize.PostInvoicesInvoiceFinalizeResponse
instance GHC.Show.Show StripeAPI.Operations.PostInvoicesInvoiceFinalize.PostInvoicesInvoiceFinalizeResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostInvoicesInvoiceFinalize.PostInvoicesInvoiceFinalizeRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostInvoicesInvoiceFinalize.PostInvoicesInvoiceFinalizeRequestBody
-- | Contains the different functions to run the operation
-- postInvoicesInvoice
module StripeAPI.Operations.PostInvoicesInvoice
-- |
-- POST /v1/invoices/{invoice}
--
--
-- <p>Draft invoices are fully editable. Once an invoice is <a
-- href="/docs/billing/invoices/workflow#finalized">finalized</a>,
-- monetary values, as well as
-- <code>collection_method</code>, become
-- uneditable.</p>
--
-- <p>If you would like to stop the Stripe Billing engine from
-- automatically finalizing, reattempting payments on, sending reminders
-- for, or <a
-- href="/docs/billing/invoices/reconciliation">automatically
-- reconciling</a> invoices, pass
-- <code>auto_advance=false</code>.</p>
postInvoicesInvoice :: forall m. MonadHTTP m => Text -> Maybe PostInvoicesInvoiceRequestBody -> ClientT m (Response PostInvoicesInvoiceResponse)
-- | Defines the object schema located at
-- paths./v1/invoices/{invoice}.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostInvoicesInvoiceRequestBody
PostInvoicesInvoiceRequestBody :: Maybe PostInvoicesInvoiceRequestBodyAccountTaxIds'Variants -> Maybe Int -> Maybe Bool -> Maybe PostInvoicesInvoiceRequestBodyAutomaticTax' -> Maybe PostInvoicesInvoiceRequestBodyCollectionMethod' -> Maybe PostInvoicesInvoiceRequestBodyCustomFields'Variants -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe PostInvoicesInvoiceRequestBodyDefaultTaxRates'Variants -> Maybe Text -> Maybe PostInvoicesInvoiceRequestBodyDiscounts'Variants -> Maybe Int -> Maybe [Text] -> Maybe Text -> Maybe PostInvoicesInvoiceRequestBodyMetadata'Variants -> Maybe PostInvoicesInvoiceRequestBodyOnBehalfOf'Variants -> Maybe PostInvoicesInvoiceRequestBodyPaymentSettings' -> Maybe Text -> Maybe PostInvoicesInvoiceRequestBodyTransferData'Variants -> PostInvoicesInvoiceRequestBody
-- | account_tax_ids: The account tax IDs associated with the invoice. Only
-- editable when the invoice is a draft.
[postInvoicesInvoiceRequestBodyAccountTaxIds] :: PostInvoicesInvoiceRequestBody -> Maybe PostInvoicesInvoiceRequestBodyAccountTaxIds'Variants
-- | application_fee_amount: A fee in %s that will be applied to the
-- invoice and transferred to the application owner's Stripe account. The
-- request must be made with an OAuth key or the Stripe-Account header in
-- order to take an application fee. For more information, see the
-- application fees documentation.
[postInvoicesInvoiceRequestBodyApplicationFeeAmount] :: PostInvoicesInvoiceRequestBody -> Maybe Int
-- | auto_advance: Controls whether Stripe will perform automatic
-- collection of the invoice.
[postInvoicesInvoiceRequestBodyAutoAdvance] :: PostInvoicesInvoiceRequestBody -> Maybe Bool
-- | automatic_tax: Settings for automatic tax lookup for this invoice.
[postInvoicesInvoiceRequestBodyAutomaticTax] :: PostInvoicesInvoiceRequestBody -> Maybe PostInvoicesInvoiceRequestBodyAutomaticTax'
-- | collection_method: Either `charge_automatically` or `send_invoice`.
-- This field can be updated only on `draft` invoices.
[postInvoicesInvoiceRequestBodyCollectionMethod] :: PostInvoicesInvoiceRequestBody -> Maybe PostInvoicesInvoiceRequestBodyCollectionMethod'
-- | custom_fields: A list of up to 4 custom fields to be displayed on the
-- invoice. If a value for `custom_fields` is specified, the list
-- specified will replace the existing custom field list on this invoice.
-- Pass an empty string to remove previously-defined fields.
[postInvoicesInvoiceRequestBodyCustomFields] :: PostInvoicesInvoiceRequestBody -> Maybe PostInvoicesInvoiceRequestBodyCustomFields'Variants
-- | days_until_due: The number of days from which the invoice is created
-- until it is due. Only valid for invoices where
-- `collection_method=send_invoice`. This field can only be updated on
-- `draft` invoices.
[postInvoicesInvoiceRequestBodyDaysUntilDue] :: PostInvoicesInvoiceRequestBody -> Maybe Int
-- | default_payment_method: ID of the default payment method for the
-- invoice. It must belong to the customer associated with the invoice.
-- If not set, defaults to the subscription's default payment method, if
-- any, or to the default payment method in the customer's invoice
-- settings.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postInvoicesInvoiceRequestBodyDefaultPaymentMethod] :: PostInvoicesInvoiceRequestBody -> Maybe Text
-- | default_source: ID of the default payment source for the invoice. It
-- must belong to the customer associated with the invoice and be in a
-- chargeable state. If not set, defaults to the subscription's default
-- source, if any, or to the customer's default source.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postInvoicesInvoiceRequestBodyDefaultSource] :: PostInvoicesInvoiceRequestBody -> Maybe Text
-- | default_tax_rates: The tax rates that will apply to any line item that
-- does not have `tax_rates` set. Pass an empty string to remove
-- previously-defined tax rates.
[postInvoicesInvoiceRequestBodyDefaultTaxRates] :: PostInvoicesInvoiceRequestBody -> Maybe PostInvoicesInvoiceRequestBodyDefaultTaxRates'Variants
-- | description: An arbitrary string attached to the object. Often useful
-- for displaying to users. Referenced as 'memo' in the Dashboard.
--
-- Constraints:
--
--
-- - Maximum length of 1500
--
[postInvoicesInvoiceRequestBodyDescription] :: PostInvoicesInvoiceRequestBody -> Maybe Text
-- | discounts: The discounts that will apply to the invoice. Pass an empty
-- string to remove previously-defined discounts.
[postInvoicesInvoiceRequestBodyDiscounts] :: PostInvoicesInvoiceRequestBody -> Maybe PostInvoicesInvoiceRequestBodyDiscounts'Variants
-- | due_date: The date on which payment for this invoice is due. Only
-- valid for invoices where `collection_method=send_invoice`. This field
-- can only be updated on `draft` invoices.
[postInvoicesInvoiceRequestBodyDueDate] :: PostInvoicesInvoiceRequestBody -> Maybe Int
-- | expand: Specifies which fields in the response should be expanded.
[postInvoicesInvoiceRequestBodyExpand] :: PostInvoicesInvoiceRequestBody -> Maybe [Text]
-- | footer: Footer to be displayed on the invoice.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postInvoicesInvoiceRequestBodyFooter] :: PostInvoicesInvoiceRequestBody -> Maybe Text
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postInvoicesInvoiceRequestBodyMetadata] :: PostInvoicesInvoiceRequestBody -> Maybe PostInvoicesInvoiceRequestBodyMetadata'Variants
-- | on_behalf_of: The account (if any) for which the funds of the invoice
-- payment are intended. If set, the invoice will be presented with the
-- branding and support information of the specified account. See the
-- Invoices with Connect documentation for details.
[postInvoicesInvoiceRequestBodyOnBehalfOf] :: PostInvoicesInvoiceRequestBody -> Maybe PostInvoicesInvoiceRequestBodyOnBehalfOf'Variants
-- | payment_settings: Configuration settings for the PaymentIntent that is
-- generated when the invoice is finalized.
[postInvoicesInvoiceRequestBodyPaymentSettings] :: PostInvoicesInvoiceRequestBody -> Maybe PostInvoicesInvoiceRequestBodyPaymentSettings'
-- | statement_descriptor: Extra information about a charge for the
-- customer's credit card statement. It must contain at least one letter.
-- If not specified and this invoice is part of a subscription, the
-- default `statement_descriptor` will be set to the first subscription
-- item's product's `statement_descriptor`.
--
-- Constraints:
--
--
-- - Maximum length of 22
--
[postInvoicesInvoiceRequestBodyStatementDescriptor] :: PostInvoicesInvoiceRequestBody -> Maybe Text
-- | transfer_data: If specified, the funds from the invoice will be
-- transferred to the destination and the ID of the resulting transfer
-- will be found on the invoice's charge. This will be unset if you POST
-- an empty value.
[postInvoicesInvoiceRequestBodyTransferData] :: PostInvoicesInvoiceRequestBody -> Maybe PostInvoicesInvoiceRequestBodyTransferData'Variants
-- | Create a new PostInvoicesInvoiceRequestBody with all required
-- fields.
mkPostInvoicesInvoiceRequestBody :: PostInvoicesInvoiceRequestBody
-- | Defines the oneOf schema located at
-- paths./v1/invoices/{invoice}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.account_tax_ids.anyOf
-- in the specification.
--
-- The account tax IDs associated with the invoice. Only editable when
-- the invoice is a draft.
data PostInvoicesInvoiceRequestBodyAccountTaxIds'Variants
-- | Represents the JSON value ""
PostInvoicesInvoiceRequestBodyAccountTaxIds'EmptyString :: PostInvoicesInvoiceRequestBodyAccountTaxIds'Variants
PostInvoicesInvoiceRequestBodyAccountTaxIds'ListTText :: [Text] -> PostInvoicesInvoiceRequestBodyAccountTaxIds'Variants
-- | Defines the object schema located at
-- paths./v1/invoices/{invoice}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.automatic_tax
-- in the specification.
--
-- Settings for automatic tax lookup for this invoice.
data PostInvoicesInvoiceRequestBodyAutomaticTax'
PostInvoicesInvoiceRequestBodyAutomaticTax' :: Bool -> PostInvoicesInvoiceRequestBodyAutomaticTax'
-- | enabled
[postInvoicesInvoiceRequestBodyAutomaticTax'Enabled] :: PostInvoicesInvoiceRequestBodyAutomaticTax' -> Bool
-- | Create a new PostInvoicesInvoiceRequestBodyAutomaticTax' with
-- all required fields.
mkPostInvoicesInvoiceRequestBodyAutomaticTax' :: Bool -> PostInvoicesInvoiceRequestBodyAutomaticTax'
-- | Defines the enum schema located at
-- paths./v1/invoices/{invoice}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.collection_method
-- in the specification.
--
-- Either `charge_automatically` or `send_invoice`. This field can be
-- updated only on `draft` invoices.
data PostInvoicesInvoiceRequestBodyCollectionMethod'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostInvoicesInvoiceRequestBodyCollectionMethod'Other :: Value -> PostInvoicesInvoiceRequestBodyCollectionMethod'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostInvoicesInvoiceRequestBodyCollectionMethod'Typed :: Text -> PostInvoicesInvoiceRequestBodyCollectionMethod'
-- | Represents the JSON value "charge_automatically"
PostInvoicesInvoiceRequestBodyCollectionMethod'EnumChargeAutomatically :: PostInvoicesInvoiceRequestBodyCollectionMethod'
-- | Represents the JSON value "send_invoice"
PostInvoicesInvoiceRequestBodyCollectionMethod'EnumSendInvoice :: PostInvoicesInvoiceRequestBodyCollectionMethod'
-- | Defines the object schema located at
-- paths./v1/invoices/{invoice}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.custom_fields.anyOf.items
-- in the specification.
data PostInvoicesInvoiceRequestBodyCustomFields'OneOf1
PostInvoicesInvoiceRequestBodyCustomFields'OneOf1 :: Text -> Text -> PostInvoicesInvoiceRequestBodyCustomFields'OneOf1
-- | name
--
-- Constraints:
--
--
-- - Maximum length of 30
--
[postInvoicesInvoiceRequestBodyCustomFields'OneOf1Name] :: PostInvoicesInvoiceRequestBodyCustomFields'OneOf1 -> Text
-- | value
--
-- Constraints:
--
--
-- - Maximum length of 30
--
[postInvoicesInvoiceRequestBodyCustomFields'OneOf1Value] :: PostInvoicesInvoiceRequestBodyCustomFields'OneOf1 -> Text
-- | Create a new PostInvoicesInvoiceRequestBodyCustomFields'OneOf1
-- with all required fields.
mkPostInvoicesInvoiceRequestBodyCustomFields'OneOf1 :: Text -> Text -> PostInvoicesInvoiceRequestBodyCustomFields'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/invoices/{invoice}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.custom_fields.anyOf
-- in the specification.
--
-- A list of up to 4 custom fields to be displayed on the invoice. If a
-- value for `custom_fields` is specified, the list specified will
-- replace the existing custom field list on this invoice. Pass an empty
-- string to remove previously-defined fields.
data PostInvoicesInvoiceRequestBodyCustomFields'Variants
-- | Represents the JSON value ""
PostInvoicesInvoiceRequestBodyCustomFields'EmptyString :: PostInvoicesInvoiceRequestBodyCustomFields'Variants
PostInvoicesInvoiceRequestBodyCustomFields'ListTPostInvoicesInvoiceRequestBodyCustomFields'OneOf1 :: [PostInvoicesInvoiceRequestBodyCustomFields'OneOf1] -> PostInvoicesInvoiceRequestBodyCustomFields'Variants
-- | Defines the oneOf schema located at
-- paths./v1/invoices/{invoice}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.default_tax_rates.anyOf
-- in the specification.
--
-- The tax rates that will apply to any line item that does not have
-- `tax_rates` set. Pass an empty string to remove previously-defined tax
-- rates.
data PostInvoicesInvoiceRequestBodyDefaultTaxRates'Variants
-- | Represents the JSON value ""
PostInvoicesInvoiceRequestBodyDefaultTaxRates'EmptyString :: PostInvoicesInvoiceRequestBodyDefaultTaxRates'Variants
PostInvoicesInvoiceRequestBodyDefaultTaxRates'ListTText :: [Text] -> PostInvoicesInvoiceRequestBodyDefaultTaxRates'Variants
-- | Defines the object schema located at
-- paths./v1/invoices/{invoice}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.discounts.anyOf.items
-- in the specification.
data PostInvoicesInvoiceRequestBodyDiscounts'OneOf1
PostInvoicesInvoiceRequestBodyDiscounts'OneOf1 :: Maybe Text -> Maybe Text -> PostInvoicesInvoiceRequestBodyDiscounts'OneOf1
-- | coupon
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postInvoicesInvoiceRequestBodyDiscounts'OneOf1Coupon] :: PostInvoicesInvoiceRequestBodyDiscounts'OneOf1 -> Maybe Text
-- | discount
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postInvoicesInvoiceRequestBodyDiscounts'OneOf1Discount] :: PostInvoicesInvoiceRequestBodyDiscounts'OneOf1 -> Maybe Text
-- | Create a new PostInvoicesInvoiceRequestBodyDiscounts'OneOf1
-- with all required fields.
mkPostInvoicesInvoiceRequestBodyDiscounts'OneOf1 :: PostInvoicesInvoiceRequestBodyDiscounts'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/invoices/{invoice}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.discounts.anyOf
-- in the specification.
--
-- The discounts that will apply to the invoice. Pass an empty string to
-- remove previously-defined discounts.
data PostInvoicesInvoiceRequestBodyDiscounts'Variants
-- | Represents the JSON value ""
PostInvoicesInvoiceRequestBodyDiscounts'EmptyString :: PostInvoicesInvoiceRequestBodyDiscounts'Variants
PostInvoicesInvoiceRequestBodyDiscounts'ListTPostInvoicesInvoiceRequestBodyDiscounts'OneOf1 :: [PostInvoicesInvoiceRequestBodyDiscounts'OneOf1] -> PostInvoicesInvoiceRequestBodyDiscounts'Variants
-- | Defines the oneOf schema located at
-- paths./v1/invoices/{invoice}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.metadata.anyOf
-- in the specification.
--
-- Set of key-value pairs that you can attach to an object. This
-- can be useful for storing additional information about the object in a
-- structured format. Individual keys can be unset by posting an empty
-- value to them. All keys can be unset by posting an empty value to
-- `metadata`.
data PostInvoicesInvoiceRequestBodyMetadata'Variants
-- | Represents the JSON value ""
PostInvoicesInvoiceRequestBodyMetadata'EmptyString :: PostInvoicesInvoiceRequestBodyMetadata'Variants
PostInvoicesInvoiceRequestBodyMetadata'Object :: Object -> PostInvoicesInvoiceRequestBodyMetadata'Variants
-- | Defines the oneOf schema located at
-- paths./v1/invoices/{invoice}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.on_behalf_of.anyOf
-- in the specification.
--
-- The account (if any) for which the funds of the invoice payment are
-- intended. If set, the invoice will be presented with the branding and
-- support information of the specified account. See the Invoices with
-- Connect documentation for details.
data PostInvoicesInvoiceRequestBodyOnBehalfOf'Variants
-- | Represents the JSON value ""
PostInvoicesInvoiceRequestBodyOnBehalfOf'EmptyString :: PostInvoicesInvoiceRequestBodyOnBehalfOf'Variants
PostInvoicesInvoiceRequestBodyOnBehalfOf'Text :: Text -> PostInvoicesInvoiceRequestBodyOnBehalfOf'Variants
-- | Defines the object schema located at
-- paths./v1/invoices/{invoice}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_settings
-- in the specification.
--
-- Configuration settings for the PaymentIntent that is generated when
-- the invoice is finalized.
data PostInvoicesInvoiceRequestBodyPaymentSettings'
PostInvoicesInvoiceRequestBodyPaymentSettings' :: Maybe PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions' -> Maybe PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodTypes'Variants -> PostInvoicesInvoiceRequestBodyPaymentSettings'
-- | payment_method_options
[postInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions] :: PostInvoicesInvoiceRequestBodyPaymentSettings' -> Maybe PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'
-- | payment_method_types
[postInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodTypes] :: PostInvoicesInvoiceRequestBodyPaymentSettings' -> Maybe PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodTypes'Variants
-- | Create a new PostInvoicesInvoiceRequestBodyPaymentSettings'
-- with all required fields.
mkPostInvoicesInvoiceRequestBodyPaymentSettings' :: PostInvoicesInvoiceRequestBodyPaymentSettings'
-- | Defines the object schema located at
-- paths./v1/invoices/{invoice}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_settings.properties.payment_method_options
-- in the specification.
data PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'
PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions' :: Maybe PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'Variants -> Maybe PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Card'Variants -> PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'
-- | bancontact
[postInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact] :: PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions' -> Maybe PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'Variants
-- | card
[postInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Card] :: PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions' -> Maybe PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Card'Variants
-- | Create a new
-- PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'
-- with all required fields.
mkPostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions' :: PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'
-- | Defines the object schema located at
-- paths./v1/invoices/{invoice}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_settings.properties.payment_method_options.properties.bancontact.anyOf
-- in the specification.
data PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'OneOf1
PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'OneOf1 :: Maybe PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'OneOf1PreferredLanguage' -> PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'OneOf1
-- | preferred_language
[postInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'OneOf1PreferredLanguage] :: PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'OneOf1 -> Maybe PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'OneOf1PreferredLanguage'
-- | Create a new
-- PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'OneOf1
-- with all required fields.
mkPostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'OneOf1 :: PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'OneOf1
-- | Defines the enum schema located at
-- paths./v1/invoices/{invoice}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_settings.properties.payment_method_options.properties.bancontact.anyOf.properties.preferred_language
-- in the specification.
data PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'OneOf1PreferredLanguage'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'OneOf1PreferredLanguage'Other :: Value -> PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'OneOf1PreferredLanguage'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'OneOf1PreferredLanguage'Typed :: Text -> PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'OneOf1PreferredLanguage'
-- | Represents the JSON value "de"
PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'OneOf1PreferredLanguage'EnumDe :: PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'OneOf1PreferredLanguage'
-- | Represents the JSON value "en"
PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'OneOf1PreferredLanguage'EnumEn :: PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'OneOf1PreferredLanguage'
-- | Represents the JSON value "fr"
PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'OneOf1PreferredLanguage'EnumFr :: PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'OneOf1PreferredLanguage'
-- | Represents the JSON value "nl"
PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'OneOf1PreferredLanguage'EnumNl :: PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'OneOf1PreferredLanguage'
-- | Defines the oneOf schema located at
-- paths./v1/invoices/{invoice}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_settings.properties.payment_method_options.properties.bancontact.anyOf
-- in the specification.
data PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'Variants
-- | Represents the JSON value ""
PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'EmptyString :: PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'Variants
PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'OneOf1 :: PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'OneOf1 -> PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'Variants
-- | Defines the object schema located at
-- paths./v1/invoices/{invoice}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_settings.properties.payment_method_options.properties.card.anyOf
-- in the specification.
data PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Card'OneOf1
PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Card'OneOf1 :: Maybe PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Card'OneOf1RequestThreeDSecure' -> PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Card'OneOf1
-- | request_three_d_secure
[postInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Card'OneOf1RequestThreeDSecure] :: PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Card'OneOf1 -> Maybe PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Card'OneOf1RequestThreeDSecure'
-- | Create a new
-- PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Card'OneOf1
-- with all required fields.
mkPostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Card'OneOf1 :: PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Card'OneOf1
-- | Defines the enum schema located at
-- paths./v1/invoices/{invoice}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_settings.properties.payment_method_options.properties.card.anyOf.properties.request_three_d_secure
-- in the specification.
data PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Card'OneOf1RequestThreeDSecure'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Card'OneOf1RequestThreeDSecure'Other :: Value -> PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Card'OneOf1RequestThreeDSecure'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Card'OneOf1RequestThreeDSecure'Typed :: Text -> PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Card'OneOf1RequestThreeDSecure'
-- | Represents the JSON value "any"
PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Card'OneOf1RequestThreeDSecure'EnumAny :: PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Card'OneOf1RequestThreeDSecure'
-- | Represents the JSON value "automatic"
PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Card'OneOf1RequestThreeDSecure'EnumAutomatic :: PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Card'OneOf1RequestThreeDSecure'
-- | Defines the oneOf schema located at
-- paths./v1/invoices/{invoice}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_settings.properties.payment_method_options.properties.card.anyOf
-- in the specification.
data PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Card'Variants
-- | Represents the JSON value ""
PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Card'EmptyString :: PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Card'Variants
PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Card'PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Card'OneOf1 :: PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Card'OneOf1 -> PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Card'Variants
-- | Defines the enum schema located at
-- paths./v1/invoices/{invoice}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_settings.properties.payment_method_types.anyOf.items
-- in the specification.
data PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1Other :: Value -> PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1Typed :: Text -> PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1
-- | Represents the JSON value "ach_credit_transfer"
PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1EnumAchCreditTransfer :: PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1
-- | Represents the JSON value "ach_debit"
PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1EnumAchDebit :: PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1
-- | Represents the JSON value "au_becs_debit"
PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1EnumAuBecsDebit :: PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1
-- | Represents the JSON value "bacs_debit"
PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1EnumBacsDebit :: PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1
-- | Represents the JSON value "bancontact"
PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1EnumBancontact :: PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1
-- | Represents the JSON value "card"
PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1EnumCard :: PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1
-- | Represents the JSON value "fpx"
PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1EnumFpx :: PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1
-- | Represents the JSON value "giropay"
PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1EnumGiropay :: PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1
-- | Represents the JSON value "ideal"
PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1EnumIdeal :: PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1
-- | Represents the JSON value "sepa_debit"
PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1EnumSepaDebit :: PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1
-- | Represents the JSON value "sofort"
PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1EnumSofort :: PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/invoices/{invoice}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_settings.properties.payment_method_types.anyOf
-- in the specification.
data PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodTypes'Variants
-- | Represents the JSON value ""
PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodTypes'EmptyString :: PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodTypes'Variants
PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodTypes'ListTPostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1 :: [PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1] -> PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodTypes'Variants
-- | Defines the object schema located at
-- paths./v1/invoices/{invoice}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.transfer_data.anyOf
-- in the specification.
data PostInvoicesInvoiceRequestBodyTransferData'OneOf1
PostInvoicesInvoiceRequestBodyTransferData'OneOf1 :: Maybe Int -> Text -> PostInvoicesInvoiceRequestBodyTransferData'OneOf1
-- | amount
[postInvoicesInvoiceRequestBodyTransferData'OneOf1Amount] :: PostInvoicesInvoiceRequestBodyTransferData'OneOf1 -> Maybe Int
-- | destination
[postInvoicesInvoiceRequestBodyTransferData'OneOf1Destination] :: PostInvoicesInvoiceRequestBodyTransferData'OneOf1 -> Text
-- | Create a new PostInvoicesInvoiceRequestBodyTransferData'OneOf1
-- with all required fields.
mkPostInvoicesInvoiceRequestBodyTransferData'OneOf1 :: Text -> PostInvoicesInvoiceRequestBodyTransferData'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/invoices/{invoice}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.transfer_data.anyOf
-- in the specification.
--
-- If specified, the funds from the invoice will be transferred to the
-- destination and the ID of the resulting transfer will be found on the
-- invoice's charge. This will be unset if you POST an empty value.
data PostInvoicesInvoiceRequestBodyTransferData'Variants
-- | Represents the JSON value ""
PostInvoicesInvoiceRequestBodyTransferData'EmptyString :: PostInvoicesInvoiceRequestBodyTransferData'Variants
PostInvoicesInvoiceRequestBodyTransferData'PostInvoicesInvoiceRequestBodyTransferData'OneOf1 :: PostInvoicesInvoiceRequestBodyTransferData'OneOf1 -> PostInvoicesInvoiceRequestBodyTransferData'Variants
-- | Represents a response of the operation postInvoicesInvoice.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostInvoicesInvoiceResponseError is
-- used.
data PostInvoicesInvoiceResponse
-- | Means either no matching case available or a parse error
PostInvoicesInvoiceResponseError :: String -> PostInvoicesInvoiceResponse
-- | Successful response.
PostInvoicesInvoiceResponse200 :: Invoice -> PostInvoicesInvoiceResponse
-- | Error response.
PostInvoicesInvoiceResponseDefault :: Error -> PostInvoicesInvoiceResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostInvoicesInvoice.PostInvoicesInvoiceRequestBodyAccountTaxIds'Variants
instance GHC.Show.Show StripeAPI.Operations.PostInvoicesInvoice.PostInvoicesInvoiceRequestBodyAccountTaxIds'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostInvoicesInvoice.PostInvoicesInvoiceRequestBodyAutomaticTax'
instance GHC.Show.Show StripeAPI.Operations.PostInvoicesInvoice.PostInvoicesInvoiceRequestBodyAutomaticTax'
instance GHC.Classes.Eq StripeAPI.Operations.PostInvoicesInvoice.PostInvoicesInvoiceRequestBodyCollectionMethod'
instance GHC.Show.Show StripeAPI.Operations.PostInvoicesInvoice.PostInvoicesInvoiceRequestBodyCollectionMethod'
instance GHC.Classes.Eq StripeAPI.Operations.PostInvoicesInvoice.PostInvoicesInvoiceRequestBodyCustomFields'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostInvoicesInvoice.PostInvoicesInvoiceRequestBodyCustomFields'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostInvoicesInvoice.PostInvoicesInvoiceRequestBodyCustomFields'Variants
instance GHC.Show.Show StripeAPI.Operations.PostInvoicesInvoice.PostInvoicesInvoiceRequestBodyCustomFields'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostInvoicesInvoice.PostInvoicesInvoiceRequestBodyDefaultTaxRates'Variants
instance GHC.Show.Show StripeAPI.Operations.PostInvoicesInvoice.PostInvoicesInvoiceRequestBodyDefaultTaxRates'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostInvoicesInvoice.PostInvoicesInvoiceRequestBodyDiscounts'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostInvoicesInvoice.PostInvoicesInvoiceRequestBodyDiscounts'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostInvoicesInvoice.PostInvoicesInvoiceRequestBodyDiscounts'Variants
instance GHC.Show.Show StripeAPI.Operations.PostInvoicesInvoice.PostInvoicesInvoiceRequestBodyDiscounts'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostInvoicesInvoice.PostInvoicesInvoiceRequestBodyMetadata'Variants
instance GHC.Show.Show StripeAPI.Operations.PostInvoicesInvoice.PostInvoicesInvoiceRequestBodyMetadata'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostInvoicesInvoice.PostInvoicesInvoiceRequestBodyOnBehalfOf'Variants
instance GHC.Show.Show StripeAPI.Operations.PostInvoicesInvoice.PostInvoicesInvoiceRequestBodyOnBehalfOf'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostInvoicesInvoice.PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'OneOf1PreferredLanguage'
instance GHC.Show.Show StripeAPI.Operations.PostInvoicesInvoice.PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'OneOf1PreferredLanguage'
instance GHC.Classes.Eq StripeAPI.Operations.PostInvoicesInvoice.PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostInvoicesInvoice.PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostInvoicesInvoice.PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'Variants
instance GHC.Show.Show StripeAPI.Operations.PostInvoicesInvoice.PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostInvoicesInvoice.PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Card'OneOf1RequestThreeDSecure'
instance GHC.Show.Show StripeAPI.Operations.PostInvoicesInvoice.PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Card'OneOf1RequestThreeDSecure'
instance GHC.Classes.Eq StripeAPI.Operations.PostInvoicesInvoice.PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Card'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostInvoicesInvoice.PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Card'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostInvoicesInvoice.PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Card'Variants
instance GHC.Show.Show StripeAPI.Operations.PostInvoicesInvoice.PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Card'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostInvoicesInvoice.PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'
instance GHC.Show.Show StripeAPI.Operations.PostInvoicesInvoice.PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'
instance GHC.Classes.Eq StripeAPI.Operations.PostInvoicesInvoice.PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostInvoicesInvoice.PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostInvoicesInvoice.PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodTypes'Variants
instance GHC.Show.Show StripeAPI.Operations.PostInvoicesInvoice.PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodTypes'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostInvoicesInvoice.PostInvoicesInvoiceRequestBodyPaymentSettings'
instance GHC.Show.Show StripeAPI.Operations.PostInvoicesInvoice.PostInvoicesInvoiceRequestBodyPaymentSettings'
instance GHC.Classes.Eq StripeAPI.Operations.PostInvoicesInvoice.PostInvoicesInvoiceRequestBodyTransferData'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostInvoicesInvoice.PostInvoicesInvoiceRequestBodyTransferData'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostInvoicesInvoice.PostInvoicesInvoiceRequestBodyTransferData'Variants
instance GHC.Show.Show StripeAPI.Operations.PostInvoicesInvoice.PostInvoicesInvoiceRequestBodyTransferData'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostInvoicesInvoice.PostInvoicesInvoiceRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostInvoicesInvoice.PostInvoicesInvoiceRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostInvoicesInvoice.PostInvoicesInvoiceResponse
instance GHC.Show.Show StripeAPI.Operations.PostInvoicesInvoice.PostInvoicesInvoiceResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostInvoicesInvoice.PostInvoicesInvoiceRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostInvoicesInvoice.PostInvoicesInvoiceRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostInvoicesInvoice.PostInvoicesInvoiceRequestBodyTransferData'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostInvoicesInvoice.PostInvoicesInvoiceRequestBodyTransferData'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostInvoicesInvoice.PostInvoicesInvoiceRequestBodyTransferData'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostInvoicesInvoice.PostInvoicesInvoiceRequestBodyTransferData'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostInvoicesInvoice.PostInvoicesInvoiceRequestBodyPaymentSettings'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostInvoicesInvoice.PostInvoicesInvoiceRequestBodyPaymentSettings'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostInvoicesInvoice.PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodTypes'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostInvoicesInvoice.PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodTypes'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostInvoicesInvoice.PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostInvoicesInvoice.PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostInvoicesInvoice.PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostInvoicesInvoice.PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostInvoicesInvoice.PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Card'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostInvoicesInvoice.PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Card'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostInvoicesInvoice.PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Card'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostInvoicesInvoice.PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Card'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostInvoicesInvoice.PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Card'OneOf1RequestThreeDSecure'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostInvoicesInvoice.PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Card'OneOf1RequestThreeDSecure'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostInvoicesInvoice.PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostInvoicesInvoice.PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostInvoicesInvoice.PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostInvoicesInvoice.PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostInvoicesInvoice.PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'OneOf1PreferredLanguage'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostInvoicesInvoice.PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'OneOf1PreferredLanguage'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostInvoicesInvoice.PostInvoicesInvoiceRequestBodyOnBehalfOf'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostInvoicesInvoice.PostInvoicesInvoiceRequestBodyOnBehalfOf'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostInvoicesInvoice.PostInvoicesInvoiceRequestBodyMetadata'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostInvoicesInvoice.PostInvoicesInvoiceRequestBodyMetadata'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostInvoicesInvoice.PostInvoicesInvoiceRequestBodyDiscounts'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostInvoicesInvoice.PostInvoicesInvoiceRequestBodyDiscounts'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostInvoicesInvoice.PostInvoicesInvoiceRequestBodyDiscounts'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostInvoicesInvoice.PostInvoicesInvoiceRequestBodyDiscounts'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostInvoicesInvoice.PostInvoicesInvoiceRequestBodyDefaultTaxRates'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostInvoicesInvoice.PostInvoicesInvoiceRequestBodyDefaultTaxRates'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostInvoicesInvoice.PostInvoicesInvoiceRequestBodyCustomFields'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostInvoicesInvoice.PostInvoicesInvoiceRequestBodyCustomFields'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostInvoicesInvoice.PostInvoicesInvoiceRequestBodyCustomFields'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostInvoicesInvoice.PostInvoicesInvoiceRequestBodyCustomFields'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostInvoicesInvoice.PostInvoicesInvoiceRequestBodyCollectionMethod'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostInvoicesInvoice.PostInvoicesInvoiceRequestBodyCollectionMethod'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostInvoicesInvoice.PostInvoicesInvoiceRequestBodyAutomaticTax'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostInvoicesInvoice.PostInvoicesInvoiceRequestBodyAutomaticTax'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostInvoicesInvoice.PostInvoicesInvoiceRequestBodyAccountTaxIds'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostInvoicesInvoice.PostInvoicesInvoiceRequestBodyAccountTaxIds'Variants
-- | Contains the different functions to run the operation postInvoices
module StripeAPI.Operations.PostInvoices
-- |
-- POST /v1/invoices
--
--
-- <p>This endpoint creates a draft invoice for a given customer.
-- The draft invoice created pulls in all pending invoice items on that
-- customer, including prorations. The invoice remains a draft until you
-- <a href="#finalize_invoice">finalize</a> the invoice,
-- which allows you to <a href="#pay_invoice">pay</a> or
-- <a href="#send_invoice">send</a> the invoice to your
-- customers.</p>
postInvoices :: forall m. MonadHTTP m => PostInvoicesRequestBody -> ClientT m (Response PostInvoicesResponse)
-- | Defines the object schema located at
-- paths./v1/invoices.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostInvoicesRequestBody
PostInvoicesRequestBody :: Maybe PostInvoicesRequestBodyAccountTaxIds'Variants -> Maybe Int -> Maybe Bool -> Maybe PostInvoicesRequestBodyAutomaticTax' -> Maybe PostInvoicesRequestBodyCollectionMethod' -> Maybe PostInvoicesRequestBodyCustomFields'Variants -> Text -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe [Text] -> Maybe Text -> Maybe PostInvoicesRequestBodyDiscounts'Variants -> Maybe Int -> Maybe [Text] -> Maybe Text -> Maybe PostInvoicesRequestBodyMetadata'Variants -> Maybe Text -> Maybe PostInvoicesRequestBodyPaymentSettings' -> Maybe Text -> Maybe Text -> Maybe PostInvoicesRequestBodyTransferData' -> PostInvoicesRequestBody
-- | account_tax_ids: The account tax IDs associated with the invoice. Only
-- editable when the invoice is a draft.
[postInvoicesRequestBodyAccountTaxIds] :: PostInvoicesRequestBody -> Maybe PostInvoicesRequestBodyAccountTaxIds'Variants
-- | application_fee_amount: A fee in %s that will be applied to the
-- invoice and transferred to the application owner's Stripe account. The
-- request must be made with an OAuth key or the Stripe-Account header in
-- order to take an application fee. For more information, see the
-- application fees documentation.
[postInvoicesRequestBodyApplicationFeeAmount] :: PostInvoicesRequestBody -> Maybe Int
-- | auto_advance: Controls whether Stripe will perform automatic
-- collection of the invoice. When `false`, the invoice's state will
-- not automatically advance without an explicit action.
[postInvoicesRequestBodyAutoAdvance] :: PostInvoicesRequestBody -> Maybe Bool
-- | automatic_tax: Settings for automatic tax lookup for this invoice.
[postInvoicesRequestBodyAutomaticTax] :: PostInvoicesRequestBody -> Maybe PostInvoicesRequestBodyAutomaticTax'
-- | collection_method: Either `charge_automatically`, or `send_invoice`.
-- When charging automatically, Stripe will attempt to pay this invoice
-- using the default source attached to the customer. When sending an
-- invoice, Stripe will email this invoice to the customer with payment
-- instructions. Defaults to `charge_automatically`.
[postInvoicesRequestBodyCollectionMethod] :: PostInvoicesRequestBody -> Maybe PostInvoicesRequestBodyCollectionMethod'
-- | custom_fields: A list of up to 4 custom fields to be displayed on the
-- invoice.
[postInvoicesRequestBodyCustomFields] :: PostInvoicesRequestBody -> Maybe PostInvoicesRequestBodyCustomFields'Variants
-- | customer: The ID of the customer who will be billed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postInvoicesRequestBodyCustomer] :: PostInvoicesRequestBody -> Text
-- | days_until_due: The number of days from when the invoice is created
-- until it is due. Valid only for invoices where
-- `collection_method=send_invoice`.
[postInvoicesRequestBodyDaysUntilDue] :: PostInvoicesRequestBody -> Maybe Int
-- | default_payment_method: ID of the default payment method for the
-- invoice. It must belong to the customer associated with the invoice.
-- If not set, defaults to the subscription's default payment method, if
-- any, or to the default payment method in the customer's invoice
-- settings.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postInvoicesRequestBodyDefaultPaymentMethod] :: PostInvoicesRequestBody -> Maybe Text
-- | default_source: ID of the default payment source for the invoice. It
-- must belong to the customer associated with the invoice and be in a
-- chargeable state. If not set, defaults to the subscription's default
-- source, if any, or to the customer's default source.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postInvoicesRequestBodyDefaultSource] :: PostInvoicesRequestBody -> Maybe Text
-- | default_tax_rates: The tax rates that will apply to any line item that
-- does not have `tax_rates` set.
[postInvoicesRequestBodyDefaultTaxRates] :: PostInvoicesRequestBody -> Maybe [Text]
-- | description: An arbitrary string attached to the object. Often useful
-- for displaying to users. Referenced as 'memo' in the Dashboard.
--
-- Constraints:
--
--
-- - Maximum length of 1500
--
[postInvoicesRequestBodyDescription] :: PostInvoicesRequestBody -> Maybe Text
-- | discounts: The coupons to redeem into discounts for the invoice. If
-- not specified, inherits the discount from the invoice's customer. Pass
-- an empty string to avoid inheriting any discounts.
[postInvoicesRequestBodyDiscounts] :: PostInvoicesRequestBody -> Maybe PostInvoicesRequestBodyDiscounts'Variants
-- | due_date: The date on which payment for this invoice is due. Valid
-- only for invoices where `collection_method=send_invoice`.
[postInvoicesRequestBodyDueDate] :: PostInvoicesRequestBody -> Maybe Int
-- | expand: Specifies which fields in the response should be expanded.
[postInvoicesRequestBodyExpand] :: PostInvoicesRequestBody -> Maybe [Text]
-- | footer: Footer to be displayed on the invoice.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postInvoicesRequestBodyFooter] :: PostInvoicesRequestBody -> Maybe Text
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postInvoicesRequestBodyMetadata] :: PostInvoicesRequestBody -> Maybe PostInvoicesRequestBodyMetadata'Variants
-- | on_behalf_of: The account (if any) for which the funds of the invoice
-- payment are intended. If set, the invoice will be presented with the
-- branding and support information of the specified account. See the
-- Invoices with Connect documentation for details.
[postInvoicesRequestBodyOnBehalfOf] :: PostInvoicesRequestBody -> Maybe Text
-- | payment_settings: Configuration settings for the PaymentIntent that is
-- generated when the invoice is finalized.
[postInvoicesRequestBodyPaymentSettings] :: PostInvoicesRequestBody -> Maybe PostInvoicesRequestBodyPaymentSettings'
-- | statement_descriptor: Extra information about a charge for the
-- customer's credit card statement. It must contain at least one letter.
-- If not specified and this invoice is part of a subscription, the
-- default `statement_descriptor` will be set to the first subscription
-- item's product's `statement_descriptor`.
--
-- Constraints:
--
--
-- - Maximum length of 22
--
[postInvoicesRequestBodyStatementDescriptor] :: PostInvoicesRequestBody -> Maybe Text
-- | subscription: The ID of the subscription to invoice, if any. If not
-- set, the created invoice will include all pending invoice items for
-- the customer. If set, the created invoice will only include pending
-- invoice items for that subscription and pending invoice items not
-- associated with any subscription. The subscription's billing cycle and
-- regular subscription events won't be affected.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postInvoicesRequestBodySubscription] :: PostInvoicesRequestBody -> Maybe Text
-- | transfer_data: If specified, the funds from the invoice will be
-- transferred to the destination and the ID of the resulting transfer
-- will be found on the invoice's charge.
[postInvoicesRequestBodyTransferData] :: PostInvoicesRequestBody -> Maybe PostInvoicesRequestBodyTransferData'
-- | Create a new PostInvoicesRequestBody with all required fields.
mkPostInvoicesRequestBody :: Text -> PostInvoicesRequestBody
-- | Defines the oneOf schema located at
-- paths./v1/invoices.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.account_tax_ids.anyOf
-- in the specification.
--
-- The account tax IDs associated with the invoice. Only editable when
-- the invoice is a draft.
data PostInvoicesRequestBodyAccountTaxIds'Variants
-- | Represents the JSON value ""
PostInvoicesRequestBodyAccountTaxIds'EmptyString :: PostInvoicesRequestBodyAccountTaxIds'Variants
PostInvoicesRequestBodyAccountTaxIds'ListTText :: [Text] -> PostInvoicesRequestBodyAccountTaxIds'Variants
-- | Defines the object schema located at
-- paths./v1/invoices.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.automatic_tax
-- in the specification.
--
-- Settings for automatic tax lookup for this invoice.
data PostInvoicesRequestBodyAutomaticTax'
PostInvoicesRequestBodyAutomaticTax' :: Bool -> PostInvoicesRequestBodyAutomaticTax'
-- | enabled
[postInvoicesRequestBodyAutomaticTax'Enabled] :: PostInvoicesRequestBodyAutomaticTax' -> Bool
-- | Create a new PostInvoicesRequestBodyAutomaticTax' with all
-- required fields.
mkPostInvoicesRequestBodyAutomaticTax' :: Bool -> PostInvoicesRequestBodyAutomaticTax'
-- | Defines the enum schema located at
-- paths./v1/invoices.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.collection_method
-- in the specification.
--
-- Either `charge_automatically`, or `send_invoice`. When charging
-- automatically, Stripe will attempt to pay this invoice using the
-- default source attached to the customer. When sending an invoice,
-- Stripe will email this invoice to the customer with payment
-- instructions. Defaults to `charge_automatically`.
data PostInvoicesRequestBodyCollectionMethod'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostInvoicesRequestBodyCollectionMethod'Other :: Value -> PostInvoicesRequestBodyCollectionMethod'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostInvoicesRequestBodyCollectionMethod'Typed :: Text -> PostInvoicesRequestBodyCollectionMethod'
-- | Represents the JSON value "charge_automatically"
PostInvoicesRequestBodyCollectionMethod'EnumChargeAutomatically :: PostInvoicesRequestBodyCollectionMethod'
-- | Represents the JSON value "send_invoice"
PostInvoicesRequestBodyCollectionMethod'EnumSendInvoice :: PostInvoicesRequestBodyCollectionMethod'
-- | Defines the object schema located at
-- paths./v1/invoices.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.custom_fields.anyOf.items
-- in the specification.
data PostInvoicesRequestBodyCustomFields'OneOf1
PostInvoicesRequestBodyCustomFields'OneOf1 :: Text -> Text -> PostInvoicesRequestBodyCustomFields'OneOf1
-- | name
--
-- Constraints:
--
--
-- - Maximum length of 30
--
[postInvoicesRequestBodyCustomFields'OneOf1Name] :: PostInvoicesRequestBodyCustomFields'OneOf1 -> Text
-- | value
--
-- Constraints:
--
--
-- - Maximum length of 30
--
[postInvoicesRequestBodyCustomFields'OneOf1Value] :: PostInvoicesRequestBodyCustomFields'OneOf1 -> Text
-- | Create a new PostInvoicesRequestBodyCustomFields'OneOf1 with
-- all required fields.
mkPostInvoicesRequestBodyCustomFields'OneOf1 :: Text -> Text -> PostInvoicesRequestBodyCustomFields'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/invoices.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.custom_fields.anyOf
-- in the specification.
--
-- A list of up to 4 custom fields to be displayed on the invoice.
data PostInvoicesRequestBodyCustomFields'Variants
-- | Represents the JSON value ""
PostInvoicesRequestBodyCustomFields'EmptyString :: PostInvoicesRequestBodyCustomFields'Variants
PostInvoicesRequestBodyCustomFields'ListTPostInvoicesRequestBodyCustomFields'OneOf1 :: [PostInvoicesRequestBodyCustomFields'OneOf1] -> PostInvoicesRequestBodyCustomFields'Variants
-- | Defines the object schema located at
-- paths./v1/invoices.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.discounts.anyOf.items
-- in the specification.
data PostInvoicesRequestBodyDiscounts'OneOf1
PostInvoicesRequestBodyDiscounts'OneOf1 :: Maybe Text -> Maybe Text -> PostInvoicesRequestBodyDiscounts'OneOf1
-- | coupon
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postInvoicesRequestBodyDiscounts'OneOf1Coupon] :: PostInvoicesRequestBodyDiscounts'OneOf1 -> Maybe Text
-- | discount
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postInvoicesRequestBodyDiscounts'OneOf1Discount] :: PostInvoicesRequestBodyDiscounts'OneOf1 -> Maybe Text
-- | Create a new PostInvoicesRequestBodyDiscounts'OneOf1 with all
-- required fields.
mkPostInvoicesRequestBodyDiscounts'OneOf1 :: PostInvoicesRequestBodyDiscounts'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/invoices.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.discounts.anyOf
-- in the specification.
--
-- The coupons to redeem into discounts for the invoice. If not
-- specified, inherits the discount from the invoice's customer. Pass an
-- empty string to avoid inheriting any discounts.
data PostInvoicesRequestBodyDiscounts'Variants
-- | Represents the JSON value ""
PostInvoicesRequestBodyDiscounts'EmptyString :: PostInvoicesRequestBodyDiscounts'Variants
PostInvoicesRequestBodyDiscounts'ListTPostInvoicesRequestBodyDiscounts'OneOf1 :: [PostInvoicesRequestBodyDiscounts'OneOf1] -> PostInvoicesRequestBodyDiscounts'Variants
-- | Defines the oneOf schema located at
-- paths./v1/invoices.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.metadata.anyOf
-- in the specification.
--
-- Set of key-value pairs that you can attach to an object. This
-- can be useful for storing additional information about the object in a
-- structured format. Individual keys can be unset by posting an empty
-- value to them. All keys can be unset by posting an empty value to
-- `metadata`.
data PostInvoicesRequestBodyMetadata'Variants
-- | Represents the JSON value ""
PostInvoicesRequestBodyMetadata'EmptyString :: PostInvoicesRequestBodyMetadata'Variants
PostInvoicesRequestBodyMetadata'Object :: Object -> PostInvoicesRequestBodyMetadata'Variants
-- | Defines the object schema located at
-- paths./v1/invoices.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_settings
-- in the specification.
--
-- Configuration settings for the PaymentIntent that is generated when
-- the invoice is finalized.
data PostInvoicesRequestBodyPaymentSettings'
PostInvoicesRequestBodyPaymentSettings' :: Maybe PostInvoicesRequestBodyPaymentSettings'PaymentMethodOptions' -> Maybe PostInvoicesRequestBodyPaymentSettings'PaymentMethodTypes'Variants -> PostInvoicesRequestBodyPaymentSettings'
-- | payment_method_options
[postInvoicesRequestBodyPaymentSettings'PaymentMethodOptions] :: PostInvoicesRequestBodyPaymentSettings' -> Maybe PostInvoicesRequestBodyPaymentSettings'PaymentMethodOptions'
-- | payment_method_types
[postInvoicesRequestBodyPaymentSettings'PaymentMethodTypes] :: PostInvoicesRequestBodyPaymentSettings' -> Maybe PostInvoicesRequestBodyPaymentSettings'PaymentMethodTypes'Variants
-- | Create a new PostInvoicesRequestBodyPaymentSettings' with all
-- required fields.
mkPostInvoicesRequestBodyPaymentSettings' :: PostInvoicesRequestBodyPaymentSettings'
-- | Defines the object schema located at
-- paths./v1/invoices.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_settings.properties.payment_method_options
-- in the specification.
data PostInvoicesRequestBodyPaymentSettings'PaymentMethodOptions'
PostInvoicesRequestBodyPaymentSettings'PaymentMethodOptions' :: Maybe PostInvoicesRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'Variants -> Maybe PostInvoicesRequestBodyPaymentSettings'PaymentMethodOptions'Card'Variants -> PostInvoicesRequestBodyPaymentSettings'PaymentMethodOptions'
-- | bancontact
[postInvoicesRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact] :: PostInvoicesRequestBodyPaymentSettings'PaymentMethodOptions' -> Maybe PostInvoicesRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'Variants
-- | card
[postInvoicesRequestBodyPaymentSettings'PaymentMethodOptions'Card] :: PostInvoicesRequestBodyPaymentSettings'PaymentMethodOptions' -> Maybe PostInvoicesRequestBodyPaymentSettings'PaymentMethodOptions'Card'Variants
-- | Create a new
-- PostInvoicesRequestBodyPaymentSettings'PaymentMethodOptions'
-- with all required fields.
mkPostInvoicesRequestBodyPaymentSettings'PaymentMethodOptions' :: PostInvoicesRequestBodyPaymentSettings'PaymentMethodOptions'
-- | Defines the object schema located at
-- paths./v1/invoices.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_settings.properties.payment_method_options.properties.bancontact.anyOf
-- in the specification.
data PostInvoicesRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'OneOf1
PostInvoicesRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'OneOf1 :: Maybe PostInvoicesRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'OneOf1PreferredLanguage' -> PostInvoicesRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'OneOf1
-- | preferred_language
[postInvoicesRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'OneOf1PreferredLanguage] :: PostInvoicesRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'OneOf1 -> Maybe PostInvoicesRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'OneOf1PreferredLanguage'
-- | Create a new
-- PostInvoicesRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'OneOf1
-- with all required fields.
mkPostInvoicesRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'OneOf1 :: PostInvoicesRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'OneOf1
-- | Defines the enum schema located at
-- paths./v1/invoices.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_settings.properties.payment_method_options.properties.bancontact.anyOf.properties.preferred_language
-- in the specification.
data PostInvoicesRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'OneOf1PreferredLanguage'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostInvoicesRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'OneOf1PreferredLanguage'Other :: Value -> PostInvoicesRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'OneOf1PreferredLanguage'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostInvoicesRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'OneOf1PreferredLanguage'Typed :: Text -> PostInvoicesRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'OneOf1PreferredLanguage'
-- | Represents the JSON value "de"
PostInvoicesRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'OneOf1PreferredLanguage'EnumDe :: PostInvoicesRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'OneOf1PreferredLanguage'
-- | Represents the JSON value "en"
PostInvoicesRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'OneOf1PreferredLanguage'EnumEn :: PostInvoicesRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'OneOf1PreferredLanguage'
-- | Represents the JSON value "fr"
PostInvoicesRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'OneOf1PreferredLanguage'EnumFr :: PostInvoicesRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'OneOf1PreferredLanguage'
-- | Represents the JSON value "nl"
PostInvoicesRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'OneOf1PreferredLanguage'EnumNl :: PostInvoicesRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'OneOf1PreferredLanguage'
-- | Defines the oneOf schema located at
-- paths./v1/invoices.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_settings.properties.payment_method_options.properties.bancontact.anyOf
-- in the specification.
data PostInvoicesRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'Variants
-- | Represents the JSON value ""
PostInvoicesRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'EmptyString :: PostInvoicesRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'Variants
PostInvoicesRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'PostInvoicesRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'OneOf1 :: PostInvoicesRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'OneOf1 -> PostInvoicesRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'Variants
-- | Defines the object schema located at
-- paths./v1/invoices.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_settings.properties.payment_method_options.properties.card.anyOf
-- in the specification.
data PostInvoicesRequestBodyPaymentSettings'PaymentMethodOptions'Card'OneOf1
PostInvoicesRequestBodyPaymentSettings'PaymentMethodOptions'Card'OneOf1 :: Maybe PostInvoicesRequestBodyPaymentSettings'PaymentMethodOptions'Card'OneOf1RequestThreeDSecure' -> PostInvoicesRequestBodyPaymentSettings'PaymentMethodOptions'Card'OneOf1
-- | request_three_d_secure
[postInvoicesRequestBodyPaymentSettings'PaymentMethodOptions'Card'OneOf1RequestThreeDSecure] :: PostInvoicesRequestBodyPaymentSettings'PaymentMethodOptions'Card'OneOf1 -> Maybe PostInvoicesRequestBodyPaymentSettings'PaymentMethodOptions'Card'OneOf1RequestThreeDSecure'
-- | Create a new
-- PostInvoicesRequestBodyPaymentSettings'PaymentMethodOptions'Card'OneOf1
-- with all required fields.
mkPostInvoicesRequestBodyPaymentSettings'PaymentMethodOptions'Card'OneOf1 :: PostInvoicesRequestBodyPaymentSettings'PaymentMethodOptions'Card'OneOf1
-- | Defines the enum schema located at
-- paths./v1/invoices.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_settings.properties.payment_method_options.properties.card.anyOf.properties.request_three_d_secure
-- in the specification.
data PostInvoicesRequestBodyPaymentSettings'PaymentMethodOptions'Card'OneOf1RequestThreeDSecure'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostInvoicesRequestBodyPaymentSettings'PaymentMethodOptions'Card'OneOf1RequestThreeDSecure'Other :: Value -> PostInvoicesRequestBodyPaymentSettings'PaymentMethodOptions'Card'OneOf1RequestThreeDSecure'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostInvoicesRequestBodyPaymentSettings'PaymentMethodOptions'Card'OneOf1RequestThreeDSecure'Typed :: Text -> PostInvoicesRequestBodyPaymentSettings'PaymentMethodOptions'Card'OneOf1RequestThreeDSecure'
-- | Represents the JSON value "any"
PostInvoicesRequestBodyPaymentSettings'PaymentMethodOptions'Card'OneOf1RequestThreeDSecure'EnumAny :: PostInvoicesRequestBodyPaymentSettings'PaymentMethodOptions'Card'OneOf1RequestThreeDSecure'
-- | Represents the JSON value "automatic"
PostInvoicesRequestBodyPaymentSettings'PaymentMethodOptions'Card'OneOf1RequestThreeDSecure'EnumAutomatic :: PostInvoicesRequestBodyPaymentSettings'PaymentMethodOptions'Card'OneOf1RequestThreeDSecure'
-- | Defines the oneOf schema located at
-- paths./v1/invoices.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_settings.properties.payment_method_options.properties.card.anyOf
-- in the specification.
data PostInvoicesRequestBodyPaymentSettings'PaymentMethodOptions'Card'Variants
-- | Represents the JSON value ""
PostInvoicesRequestBodyPaymentSettings'PaymentMethodOptions'Card'EmptyString :: PostInvoicesRequestBodyPaymentSettings'PaymentMethodOptions'Card'Variants
PostInvoicesRequestBodyPaymentSettings'PaymentMethodOptions'Card'PostInvoicesRequestBodyPaymentSettings'PaymentMethodOptions'Card'OneOf1 :: PostInvoicesRequestBodyPaymentSettings'PaymentMethodOptions'Card'OneOf1 -> PostInvoicesRequestBodyPaymentSettings'PaymentMethodOptions'Card'Variants
-- | Defines the enum schema located at
-- paths./v1/invoices.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_settings.properties.payment_method_types.anyOf.items
-- in the specification.
data PostInvoicesRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostInvoicesRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1Other :: Value -> PostInvoicesRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostInvoicesRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1Typed :: Text -> PostInvoicesRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1
-- | Represents the JSON value "ach_credit_transfer"
PostInvoicesRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1EnumAchCreditTransfer :: PostInvoicesRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1
-- | Represents the JSON value "ach_debit"
PostInvoicesRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1EnumAchDebit :: PostInvoicesRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1
-- | Represents the JSON value "au_becs_debit"
PostInvoicesRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1EnumAuBecsDebit :: PostInvoicesRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1
-- | Represents the JSON value "bacs_debit"
PostInvoicesRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1EnumBacsDebit :: PostInvoicesRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1
-- | Represents the JSON value "bancontact"
PostInvoicesRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1EnumBancontact :: PostInvoicesRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1
-- | Represents the JSON value "card"
PostInvoicesRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1EnumCard :: PostInvoicesRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1
-- | Represents the JSON value "fpx"
PostInvoicesRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1EnumFpx :: PostInvoicesRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1
-- | Represents the JSON value "giropay"
PostInvoicesRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1EnumGiropay :: PostInvoicesRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1
-- | Represents the JSON value "ideal"
PostInvoicesRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1EnumIdeal :: PostInvoicesRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1
-- | Represents the JSON value "sepa_debit"
PostInvoicesRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1EnumSepaDebit :: PostInvoicesRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1
-- | Represents the JSON value "sofort"
PostInvoicesRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1EnumSofort :: PostInvoicesRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/invoices.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_settings.properties.payment_method_types.anyOf
-- in the specification.
data PostInvoicesRequestBodyPaymentSettings'PaymentMethodTypes'Variants
-- | Represents the JSON value ""
PostInvoicesRequestBodyPaymentSettings'PaymentMethodTypes'EmptyString :: PostInvoicesRequestBodyPaymentSettings'PaymentMethodTypes'Variants
PostInvoicesRequestBodyPaymentSettings'PaymentMethodTypes'ListTPostInvoicesRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1 :: [PostInvoicesRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1] -> PostInvoicesRequestBodyPaymentSettings'PaymentMethodTypes'Variants
-- | Defines the object schema located at
-- paths./v1/invoices.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.transfer_data
-- in the specification.
--
-- If specified, the funds from the invoice will be transferred to the
-- destination and the ID of the resulting transfer will be found on the
-- invoice's charge.
data PostInvoicesRequestBodyTransferData'
PostInvoicesRequestBodyTransferData' :: Maybe Int -> Text -> PostInvoicesRequestBodyTransferData'
-- | amount
[postInvoicesRequestBodyTransferData'Amount] :: PostInvoicesRequestBodyTransferData' -> Maybe Int
-- | destination
[postInvoicesRequestBodyTransferData'Destination] :: PostInvoicesRequestBodyTransferData' -> Text
-- | Create a new PostInvoicesRequestBodyTransferData' with all
-- required fields.
mkPostInvoicesRequestBodyTransferData' :: Text -> PostInvoicesRequestBodyTransferData'
-- | Represents a response of the operation postInvoices.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostInvoicesResponseError is used.
data PostInvoicesResponse
-- | Means either no matching case available or a parse error
PostInvoicesResponseError :: String -> PostInvoicesResponse
-- | Successful response.
PostInvoicesResponse200 :: Invoice -> PostInvoicesResponse
-- | Error response.
PostInvoicesResponseDefault :: Error -> PostInvoicesResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostInvoices.PostInvoicesRequestBodyAccountTaxIds'Variants
instance GHC.Show.Show StripeAPI.Operations.PostInvoices.PostInvoicesRequestBodyAccountTaxIds'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostInvoices.PostInvoicesRequestBodyAutomaticTax'
instance GHC.Show.Show StripeAPI.Operations.PostInvoices.PostInvoicesRequestBodyAutomaticTax'
instance GHC.Classes.Eq StripeAPI.Operations.PostInvoices.PostInvoicesRequestBodyCollectionMethod'
instance GHC.Show.Show StripeAPI.Operations.PostInvoices.PostInvoicesRequestBodyCollectionMethod'
instance GHC.Classes.Eq StripeAPI.Operations.PostInvoices.PostInvoicesRequestBodyCustomFields'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostInvoices.PostInvoicesRequestBodyCustomFields'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostInvoices.PostInvoicesRequestBodyCustomFields'Variants
instance GHC.Show.Show StripeAPI.Operations.PostInvoices.PostInvoicesRequestBodyCustomFields'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostInvoices.PostInvoicesRequestBodyDiscounts'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostInvoices.PostInvoicesRequestBodyDiscounts'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostInvoices.PostInvoicesRequestBodyDiscounts'Variants
instance GHC.Show.Show StripeAPI.Operations.PostInvoices.PostInvoicesRequestBodyDiscounts'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostInvoices.PostInvoicesRequestBodyMetadata'Variants
instance GHC.Show.Show StripeAPI.Operations.PostInvoices.PostInvoicesRequestBodyMetadata'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostInvoices.PostInvoicesRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'OneOf1PreferredLanguage'
instance GHC.Show.Show StripeAPI.Operations.PostInvoices.PostInvoicesRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'OneOf1PreferredLanguage'
instance GHC.Classes.Eq StripeAPI.Operations.PostInvoices.PostInvoicesRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostInvoices.PostInvoicesRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostInvoices.PostInvoicesRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'Variants
instance GHC.Show.Show StripeAPI.Operations.PostInvoices.PostInvoicesRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostInvoices.PostInvoicesRequestBodyPaymentSettings'PaymentMethodOptions'Card'OneOf1RequestThreeDSecure'
instance GHC.Show.Show StripeAPI.Operations.PostInvoices.PostInvoicesRequestBodyPaymentSettings'PaymentMethodOptions'Card'OneOf1RequestThreeDSecure'
instance GHC.Classes.Eq StripeAPI.Operations.PostInvoices.PostInvoicesRequestBodyPaymentSettings'PaymentMethodOptions'Card'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostInvoices.PostInvoicesRequestBodyPaymentSettings'PaymentMethodOptions'Card'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostInvoices.PostInvoicesRequestBodyPaymentSettings'PaymentMethodOptions'Card'Variants
instance GHC.Show.Show StripeAPI.Operations.PostInvoices.PostInvoicesRequestBodyPaymentSettings'PaymentMethodOptions'Card'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostInvoices.PostInvoicesRequestBodyPaymentSettings'PaymentMethodOptions'
instance GHC.Show.Show StripeAPI.Operations.PostInvoices.PostInvoicesRequestBodyPaymentSettings'PaymentMethodOptions'
instance GHC.Classes.Eq StripeAPI.Operations.PostInvoices.PostInvoicesRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostInvoices.PostInvoicesRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostInvoices.PostInvoicesRequestBodyPaymentSettings'PaymentMethodTypes'Variants
instance GHC.Show.Show StripeAPI.Operations.PostInvoices.PostInvoicesRequestBodyPaymentSettings'PaymentMethodTypes'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostInvoices.PostInvoicesRequestBodyPaymentSettings'
instance GHC.Show.Show StripeAPI.Operations.PostInvoices.PostInvoicesRequestBodyPaymentSettings'
instance GHC.Classes.Eq StripeAPI.Operations.PostInvoices.PostInvoicesRequestBodyTransferData'
instance GHC.Show.Show StripeAPI.Operations.PostInvoices.PostInvoicesRequestBodyTransferData'
instance GHC.Classes.Eq StripeAPI.Operations.PostInvoices.PostInvoicesRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostInvoices.PostInvoicesRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostInvoices.PostInvoicesResponse
instance GHC.Show.Show StripeAPI.Operations.PostInvoices.PostInvoicesResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostInvoices.PostInvoicesRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostInvoices.PostInvoicesRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostInvoices.PostInvoicesRequestBodyTransferData'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostInvoices.PostInvoicesRequestBodyTransferData'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostInvoices.PostInvoicesRequestBodyPaymentSettings'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostInvoices.PostInvoicesRequestBodyPaymentSettings'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostInvoices.PostInvoicesRequestBodyPaymentSettings'PaymentMethodTypes'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostInvoices.PostInvoicesRequestBodyPaymentSettings'PaymentMethodTypes'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostInvoices.PostInvoicesRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostInvoices.PostInvoicesRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostInvoices.PostInvoicesRequestBodyPaymentSettings'PaymentMethodOptions'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostInvoices.PostInvoicesRequestBodyPaymentSettings'PaymentMethodOptions'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostInvoices.PostInvoicesRequestBodyPaymentSettings'PaymentMethodOptions'Card'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostInvoices.PostInvoicesRequestBodyPaymentSettings'PaymentMethodOptions'Card'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostInvoices.PostInvoicesRequestBodyPaymentSettings'PaymentMethodOptions'Card'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostInvoices.PostInvoicesRequestBodyPaymentSettings'PaymentMethodOptions'Card'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostInvoices.PostInvoicesRequestBodyPaymentSettings'PaymentMethodOptions'Card'OneOf1RequestThreeDSecure'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostInvoices.PostInvoicesRequestBodyPaymentSettings'PaymentMethodOptions'Card'OneOf1RequestThreeDSecure'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostInvoices.PostInvoicesRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostInvoices.PostInvoicesRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostInvoices.PostInvoicesRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostInvoices.PostInvoicesRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostInvoices.PostInvoicesRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'OneOf1PreferredLanguage'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostInvoices.PostInvoicesRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'OneOf1PreferredLanguage'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostInvoices.PostInvoicesRequestBodyMetadata'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostInvoices.PostInvoicesRequestBodyMetadata'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostInvoices.PostInvoicesRequestBodyDiscounts'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostInvoices.PostInvoicesRequestBodyDiscounts'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostInvoices.PostInvoicesRequestBodyDiscounts'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostInvoices.PostInvoicesRequestBodyDiscounts'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostInvoices.PostInvoicesRequestBodyCustomFields'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostInvoices.PostInvoicesRequestBodyCustomFields'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostInvoices.PostInvoicesRequestBodyCustomFields'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostInvoices.PostInvoicesRequestBodyCustomFields'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostInvoices.PostInvoicesRequestBodyCollectionMethod'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostInvoices.PostInvoicesRequestBodyCollectionMethod'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostInvoices.PostInvoicesRequestBodyAutomaticTax'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostInvoices.PostInvoicesRequestBodyAutomaticTax'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostInvoices.PostInvoicesRequestBodyAccountTaxIds'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostInvoices.PostInvoicesRequestBodyAccountTaxIds'Variants
-- | Contains the different functions to run the operation
-- postInvoiceitemsInvoiceitem
module StripeAPI.Operations.PostInvoiceitemsInvoiceitem
-- |
-- POST /v1/invoiceitems/{invoiceitem}
--
--
-- <p>Updates the amount or description of an invoice item on an
-- upcoming invoice. Updating an invoice item is only possible before the
-- invoice it’s attached to is closed.</p>
postInvoiceitemsInvoiceitem :: forall m. MonadHTTP m => Text -> Maybe PostInvoiceitemsInvoiceitemRequestBody -> ClientT m (Response PostInvoiceitemsInvoiceitemResponse)
-- | Defines the object schema located at
-- paths./v1/invoiceitems/{invoiceitem}.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostInvoiceitemsInvoiceitemRequestBody
PostInvoiceitemsInvoiceitemRequestBody :: Maybe Int -> Maybe Text -> Maybe Bool -> Maybe PostInvoiceitemsInvoiceitemRequestBodyDiscounts'Variants -> Maybe [Text] -> Maybe PostInvoiceitemsInvoiceitemRequestBodyMetadata'Variants -> Maybe PostInvoiceitemsInvoiceitemRequestBodyPeriod' -> Maybe Text -> Maybe PostInvoiceitemsInvoiceitemRequestBodyPriceData' -> Maybe Int -> Maybe PostInvoiceitemsInvoiceitemRequestBodyTaxRates'Variants -> Maybe Int -> Maybe Text -> PostInvoiceitemsInvoiceitemRequestBody
-- | amount: The integer amount in %s of the charge to be applied to the
-- upcoming invoice. If you want to apply a credit to the customer's
-- account, pass a negative amount.
[postInvoiceitemsInvoiceitemRequestBodyAmount] :: PostInvoiceitemsInvoiceitemRequestBody -> Maybe Int
-- | description: An arbitrary string which you can attach to the invoice
-- item. The description is displayed in the invoice for easy tracking.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postInvoiceitemsInvoiceitemRequestBodyDescription] :: PostInvoiceitemsInvoiceitemRequestBody -> Maybe Text
-- | discountable: Controls whether discounts apply to this invoice item.
-- Defaults to false for prorations or negative invoice items, and true
-- for all other invoice items. Cannot be set to true for prorations.
[postInvoiceitemsInvoiceitemRequestBodyDiscountable] :: PostInvoiceitemsInvoiceitemRequestBody -> Maybe Bool
-- | discounts: The coupons & existing discounts which apply to the
-- invoice item or invoice line item. Item discounts are applied before
-- invoice discounts. Pass an empty string to remove previously-defined
-- discounts.
[postInvoiceitemsInvoiceitemRequestBodyDiscounts] :: PostInvoiceitemsInvoiceitemRequestBody -> Maybe PostInvoiceitemsInvoiceitemRequestBodyDiscounts'Variants
-- | expand: Specifies which fields in the response should be expanded.
[postInvoiceitemsInvoiceitemRequestBodyExpand] :: PostInvoiceitemsInvoiceitemRequestBody -> Maybe [Text]
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postInvoiceitemsInvoiceitemRequestBodyMetadata] :: PostInvoiceitemsInvoiceitemRequestBody -> Maybe PostInvoiceitemsInvoiceitemRequestBodyMetadata'Variants
-- | period: The period associated with this invoice item.
[postInvoiceitemsInvoiceitemRequestBodyPeriod] :: PostInvoiceitemsInvoiceitemRequestBody -> Maybe PostInvoiceitemsInvoiceitemRequestBodyPeriod'
-- | price: The ID of the price object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postInvoiceitemsInvoiceitemRequestBodyPrice] :: PostInvoiceitemsInvoiceitemRequestBody -> Maybe Text
-- | price_data: Data used to generate a new Price object inline.
[postInvoiceitemsInvoiceitemRequestBodyPriceData] :: PostInvoiceitemsInvoiceitemRequestBody -> Maybe PostInvoiceitemsInvoiceitemRequestBodyPriceData'
-- | quantity: Non-negative integer. The quantity of units for the invoice
-- item.
[postInvoiceitemsInvoiceitemRequestBodyQuantity] :: PostInvoiceitemsInvoiceitemRequestBody -> Maybe Int
-- | tax_rates: The tax rates which apply to the invoice item. When set,
-- the `default_tax_rates` on the invoice do not apply to this invoice
-- item. Pass an empty string to remove previously-defined tax rates.
[postInvoiceitemsInvoiceitemRequestBodyTaxRates] :: PostInvoiceitemsInvoiceitemRequestBody -> Maybe PostInvoiceitemsInvoiceitemRequestBodyTaxRates'Variants
-- | unit_amount: The integer unit amount in %s of the charge to be applied
-- to the upcoming invoice. This unit_amount will be multiplied by the
-- quantity to get the full amount. If you want to apply a credit to the
-- customer's account, pass a negative unit_amount.
[postInvoiceitemsInvoiceitemRequestBodyUnitAmount] :: PostInvoiceitemsInvoiceitemRequestBody -> Maybe Int
-- | unit_amount_decimal: Same as `unit_amount`, but accepts a decimal
-- value in %s with at most 12 decimal places. Only one of `unit_amount`
-- and `unit_amount_decimal` can be set.
[postInvoiceitemsInvoiceitemRequestBodyUnitAmountDecimal] :: PostInvoiceitemsInvoiceitemRequestBody -> Maybe Text
-- | Create a new PostInvoiceitemsInvoiceitemRequestBody with all
-- required fields.
mkPostInvoiceitemsInvoiceitemRequestBody :: PostInvoiceitemsInvoiceitemRequestBody
-- | Defines the object schema located at
-- paths./v1/invoiceitems/{invoiceitem}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.discounts.anyOf.items
-- in the specification.
data PostInvoiceitemsInvoiceitemRequestBodyDiscounts'OneOf1
PostInvoiceitemsInvoiceitemRequestBodyDiscounts'OneOf1 :: Maybe Text -> Maybe Text -> PostInvoiceitemsInvoiceitemRequestBodyDiscounts'OneOf1
-- | coupon
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postInvoiceitemsInvoiceitemRequestBodyDiscounts'OneOf1Coupon] :: PostInvoiceitemsInvoiceitemRequestBodyDiscounts'OneOf1 -> Maybe Text
-- | discount
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postInvoiceitemsInvoiceitemRequestBodyDiscounts'OneOf1Discount] :: PostInvoiceitemsInvoiceitemRequestBodyDiscounts'OneOf1 -> Maybe Text
-- | Create a new
-- PostInvoiceitemsInvoiceitemRequestBodyDiscounts'OneOf1 with all
-- required fields.
mkPostInvoiceitemsInvoiceitemRequestBodyDiscounts'OneOf1 :: PostInvoiceitemsInvoiceitemRequestBodyDiscounts'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/invoiceitems/{invoiceitem}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.discounts.anyOf
-- in the specification.
--
-- The coupons & existing discounts which apply to the invoice item
-- or invoice line item. Item discounts are applied before invoice
-- discounts. Pass an empty string to remove previously-defined
-- discounts.
data PostInvoiceitemsInvoiceitemRequestBodyDiscounts'Variants
-- | Represents the JSON value ""
PostInvoiceitemsInvoiceitemRequestBodyDiscounts'EmptyString :: PostInvoiceitemsInvoiceitemRequestBodyDiscounts'Variants
PostInvoiceitemsInvoiceitemRequestBodyDiscounts'ListTPostInvoiceitemsInvoiceitemRequestBodyDiscounts'OneOf1 :: [PostInvoiceitemsInvoiceitemRequestBodyDiscounts'OneOf1] -> PostInvoiceitemsInvoiceitemRequestBodyDiscounts'Variants
-- | Defines the oneOf schema located at
-- paths./v1/invoiceitems/{invoiceitem}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.metadata.anyOf
-- in the specification.
--
-- Set of key-value pairs that you can attach to an object. This
-- can be useful for storing additional information about the object in a
-- structured format. Individual keys can be unset by posting an empty
-- value to them. All keys can be unset by posting an empty value to
-- `metadata`.
data PostInvoiceitemsInvoiceitemRequestBodyMetadata'Variants
-- | Represents the JSON value ""
PostInvoiceitemsInvoiceitemRequestBodyMetadata'EmptyString :: PostInvoiceitemsInvoiceitemRequestBodyMetadata'Variants
PostInvoiceitemsInvoiceitemRequestBodyMetadata'Object :: Object -> PostInvoiceitemsInvoiceitemRequestBodyMetadata'Variants
-- | Defines the object schema located at
-- paths./v1/invoiceitems/{invoiceitem}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.period
-- in the specification.
--
-- The period associated with this invoice item.
data PostInvoiceitemsInvoiceitemRequestBodyPeriod'
PostInvoiceitemsInvoiceitemRequestBodyPeriod' :: Int -> Int -> PostInvoiceitemsInvoiceitemRequestBodyPeriod'
-- | end
[postInvoiceitemsInvoiceitemRequestBodyPeriod'End] :: PostInvoiceitemsInvoiceitemRequestBodyPeriod' -> Int
-- | start
[postInvoiceitemsInvoiceitemRequestBodyPeriod'Start] :: PostInvoiceitemsInvoiceitemRequestBodyPeriod' -> Int
-- | Create a new PostInvoiceitemsInvoiceitemRequestBodyPeriod' with
-- all required fields.
mkPostInvoiceitemsInvoiceitemRequestBodyPeriod' :: Int -> Int -> PostInvoiceitemsInvoiceitemRequestBodyPeriod'
-- | Defines the object schema located at
-- paths./v1/invoiceitems/{invoiceitem}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.price_data
-- in the specification.
--
-- Data used to generate a new Price object inline.
data PostInvoiceitemsInvoiceitemRequestBodyPriceData'
PostInvoiceitemsInvoiceitemRequestBodyPriceData' :: Text -> Text -> Maybe PostInvoiceitemsInvoiceitemRequestBodyPriceData'TaxBehavior' -> Maybe Int -> Maybe Text -> PostInvoiceitemsInvoiceitemRequestBodyPriceData'
-- | currency
[postInvoiceitemsInvoiceitemRequestBodyPriceData'Currency] :: PostInvoiceitemsInvoiceitemRequestBodyPriceData' -> Text
-- | product
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postInvoiceitemsInvoiceitemRequestBodyPriceData'Product] :: PostInvoiceitemsInvoiceitemRequestBodyPriceData' -> Text
-- | tax_behavior
[postInvoiceitemsInvoiceitemRequestBodyPriceData'TaxBehavior] :: PostInvoiceitemsInvoiceitemRequestBodyPriceData' -> Maybe PostInvoiceitemsInvoiceitemRequestBodyPriceData'TaxBehavior'
-- | unit_amount
[postInvoiceitemsInvoiceitemRequestBodyPriceData'UnitAmount] :: PostInvoiceitemsInvoiceitemRequestBodyPriceData' -> Maybe Int
-- | unit_amount_decimal
[postInvoiceitemsInvoiceitemRequestBodyPriceData'UnitAmountDecimal] :: PostInvoiceitemsInvoiceitemRequestBodyPriceData' -> Maybe Text
-- | Create a new PostInvoiceitemsInvoiceitemRequestBodyPriceData'
-- with all required fields.
mkPostInvoiceitemsInvoiceitemRequestBodyPriceData' :: Text -> Text -> PostInvoiceitemsInvoiceitemRequestBodyPriceData'
-- | Defines the enum schema located at
-- paths./v1/invoiceitems/{invoiceitem}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.price_data.properties.tax_behavior
-- in the specification.
data PostInvoiceitemsInvoiceitemRequestBodyPriceData'TaxBehavior'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostInvoiceitemsInvoiceitemRequestBodyPriceData'TaxBehavior'Other :: Value -> PostInvoiceitemsInvoiceitemRequestBodyPriceData'TaxBehavior'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostInvoiceitemsInvoiceitemRequestBodyPriceData'TaxBehavior'Typed :: Text -> PostInvoiceitemsInvoiceitemRequestBodyPriceData'TaxBehavior'
-- | Represents the JSON value "exclusive"
PostInvoiceitemsInvoiceitemRequestBodyPriceData'TaxBehavior'EnumExclusive :: PostInvoiceitemsInvoiceitemRequestBodyPriceData'TaxBehavior'
-- | Represents the JSON value "inclusive"
PostInvoiceitemsInvoiceitemRequestBodyPriceData'TaxBehavior'EnumInclusive :: PostInvoiceitemsInvoiceitemRequestBodyPriceData'TaxBehavior'
-- | Represents the JSON value "unspecified"
PostInvoiceitemsInvoiceitemRequestBodyPriceData'TaxBehavior'EnumUnspecified :: PostInvoiceitemsInvoiceitemRequestBodyPriceData'TaxBehavior'
-- | Defines the oneOf schema located at
-- paths./v1/invoiceitems/{invoiceitem}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.tax_rates.anyOf
-- in the specification.
--
-- The tax rates which apply to the invoice item. When set, the
-- `default_tax_rates` on the invoice do not apply to this invoice item.
-- Pass an empty string to remove previously-defined tax rates.
data PostInvoiceitemsInvoiceitemRequestBodyTaxRates'Variants
-- | Represents the JSON value ""
PostInvoiceitemsInvoiceitemRequestBodyTaxRates'EmptyString :: PostInvoiceitemsInvoiceitemRequestBodyTaxRates'Variants
PostInvoiceitemsInvoiceitemRequestBodyTaxRates'ListTText :: [Text] -> PostInvoiceitemsInvoiceitemRequestBodyTaxRates'Variants
-- | Represents a response of the operation
-- postInvoiceitemsInvoiceitem.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- PostInvoiceitemsInvoiceitemResponseError is used.
data PostInvoiceitemsInvoiceitemResponse
-- | Means either no matching case available or a parse error
PostInvoiceitemsInvoiceitemResponseError :: String -> PostInvoiceitemsInvoiceitemResponse
-- | Successful response.
PostInvoiceitemsInvoiceitemResponse200 :: Invoiceitem -> PostInvoiceitemsInvoiceitemResponse
-- | Error response.
PostInvoiceitemsInvoiceitemResponseDefault :: Error -> PostInvoiceitemsInvoiceitemResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostInvoiceitemsInvoiceitem.PostInvoiceitemsInvoiceitemRequestBodyDiscounts'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostInvoiceitemsInvoiceitem.PostInvoiceitemsInvoiceitemRequestBodyDiscounts'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostInvoiceitemsInvoiceitem.PostInvoiceitemsInvoiceitemRequestBodyDiscounts'Variants
instance GHC.Show.Show StripeAPI.Operations.PostInvoiceitemsInvoiceitem.PostInvoiceitemsInvoiceitemRequestBodyDiscounts'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostInvoiceitemsInvoiceitem.PostInvoiceitemsInvoiceitemRequestBodyMetadata'Variants
instance GHC.Show.Show StripeAPI.Operations.PostInvoiceitemsInvoiceitem.PostInvoiceitemsInvoiceitemRequestBodyMetadata'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostInvoiceitemsInvoiceitem.PostInvoiceitemsInvoiceitemRequestBodyPeriod'
instance GHC.Show.Show StripeAPI.Operations.PostInvoiceitemsInvoiceitem.PostInvoiceitemsInvoiceitemRequestBodyPeriod'
instance GHC.Classes.Eq StripeAPI.Operations.PostInvoiceitemsInvoiceitem.PostInvoiceitemsInvoiceitemRequestBodyPriceData'TaxBehavior'
instance GHC.Show.Show StripeAPI.Operations.PostInvoiceitemsInvoiceitem.PostInvoiceitemsInvoiceitemRequestBodyPriceData'TaxBehavior'
instance GHC.Classes.Eq StripeAPI.Operations.PostInvoiceitemsInvoiceitem.PostInvoiceitemsInvoiceitemRequestBodyPriceData'
instance GHC.Show.Show StripeAPI.Operations.PostInvoiceitemsInvoiceitem.PostInvoiceitemsInvoiceitemRequestBodyPriceData'
instance GHC.Classes.Eq StripeAPI.Operations.PostInvoiceitemsInvoiceitem.PostInvoiceitemsInvoiceitemRequestBodyTaxRates'Variants
instance GHC.Show.Show StripeAPI.Operations.PostInvoiceitemsInvoiceitem.PostInvoiceitemsInvoiceitemRequestBodyTaxRates'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostInvoiceitemsInvoiceitem.PostInvoiceitemsInvoiceitemRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostInvoiceitemsInvoiceitem.PostInvoiceitemsInvoiceitemRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostInvoiceitemsInvoiceitem.PostInvoiceitemsInvoiceitemResponse
instance GHC.Show.Show StripeAPI.Operations.PostInvoiceitemsInvoiceitem.PostInvoiceitemsInvoiceitemResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostInvoiceitemsInvoiceitem.PostInvoiceitemsInvoiceitemRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostInvoiceitemsInvoiceitem.PostInvoiceitemsInvoiceitemRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostInvoiceitemsInvoiceitem.PostInvoiceitemsInvoiceitemRequestBodyTaxRates'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostInvoiceitemsInvoiceitem.PostInvoiceitemsInvoiceitemRequestBodyTaxRates'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostInvoiceitemsInvoiceitem.PostInvoiceitemsInvoiceitemRequestBodyPriceData'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostInvoiceitemsInvoiceitem.PostInvoiceitemsInvoiceitemRequestBodyPriceData'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostInvoiceitemsInvoiceitem.PostInvoiceitemsInvoiceitemRequestBodyPriceData'TaxBehavior'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostInvoiceitemsInvoiceitem.PostInvoiceitemsInvoiceitemRequestBodyPriceData'TaxBehavior'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostInvoiceitemsInvoiceitem.PostInvoiceitemsInvoiceitemRequestBodyPeriod'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostInvoiceitemsInvoiceitem.PostInvoiceitemsInvoiceitemRequestBodyPeriod'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostInvoiceitemsInvoiceitem.PostInvoiceitemsInvoiceitemRequestBodyMetadata'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostInvoiceitemsInvoiceitem.PostInvoiceitemsInvoiceitemRequestBodyMetadata'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostInvoiceitemsInvoiceitem.PostInvoiceitemsInvoiceitemRequestBodyDiscounts'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostInvoiceitemsInvoiceitem.PostInvoiceitemsInvoiceitemRequestBodyDiscounts'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostInvoiceitemsInvoiceitem.PostInvoiceitemsInvoiceitemRequestBodyDiscounts'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostInvoiceitemsInvoiceitem.PostInvoiceitemsInvoiceitemRequestBodyDiscounts'OneOf1
-- | Contains the different functions to run the operation postInvoiceitems
module StripeAPI.Operations.PostInvoiceitems
-- |
-- POST /v1/invoiceitems
--
--
-- <p>Creates an item to be added to a draft invoice (up to 250
-- items per invoice). If no invoice is specified, the item will be on
-- the next invoice created for the customer specified.</p>
postInvoiceitems :: forall m. MonadHTTP m => PostInvoiceitemsRequestBody -> ClientT m (Response PostInvoiceitemsResponse)
-- | Defines the object schema located at
-- paths./v1/invoiceitems.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostInvoiceitemsRequestBody
PostInvoiceitemsRequestBody :: Maybe Int -> Maybe Text -> Text -> Maybe Text -> Maybe Bool -> Maybe PostInvoiceitemsRequestBodyDiscounts'Variants -> Maybe [Text] -> Maybe Text -> Maybe PostInvoiceitemsRequestBodyMetadata'Variants -> Maybe PostInvoiceitemsRequestBodyPeriod' -> Maybe Text -> Maybe PostInvoiceitemsRequestBodyPriceData' -> Maybe Int -> Maybe Text -> Maybe [Text] -> Maybe Int -> Maybe Text -> PostInvoiceitemsRequestBody
-- | amount: The integer amount in %s of the charge to be applied to the
-- upcoming invoice. Passing in a negative `amount` will reduce the
-- `amount_due` on the invoice.
[postInvoiceitemsRequestBodyAmount] :: PostInvoiceitemsRequestBody -> Maybe Int
-- | currency: Three-letter ISO currency code, in lowercase. Must be
-- a supported currency.
[postInvoiceitemsRequestBodyCurrency] :: PostInvoiceitemsRequestBody -> Maybe Text
-- | customer: The ID of the customer who will be billed when this invoice
-- item is billed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postInvoiceitemsRequestBodyCustomer] :: PostInvoiceitemsRequestBody -> Text
-- | description: An arbitrary string which you can attach to the invoice
-- item. The description is displayed in the invoice for easy tracking.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postInvoiceitemsRequestBodyDescription] :: PostInvoiceitemsRequestBody -> Maybe Text
-- | discountable: Controls whether discounts apply to this invoice item.
-- Defaults to false for prorations or negative invoice items, and true
-- for all other invoice items.
[postInvoiceitemsRequestBodyDiscountable] :: PostInvoiceitemsRequestBody -> Maybe Bool
-- | discounts: The coupons to redeem into discounts for the invoice item
-- or invoice line item.
[postInvoiceitemsRequestBodyDiscounts] :: PostInvoiceitemsRequestBody -> Maybe PostInvoiceitemsRequestBodyDiscounts'Variants
-- | expand: Specifies which fields in the response should be expanded.
[postInvoiceitemsRequestBodyExpand] :: PostInvoiceitemsRequestBody -> Maybe [Text]
-- | invoice: The ID of an existing invoice to add this invoice item to.
-- When left blank, the invoice item will be added to the next upcoming
-- scheduled invoice. This is useful when adding invoice items in
-- response to an invoice.created webhook. You can only add invoice items
-- to draft invoices and there is a maximum of 250 items per invoice.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postInvoiceitemsRequestBodyInvoice] :: PostInvoiceitemsRequestBody -> Maybe Text
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postInvoiceitemsRequestBodyMetadata] :: PostInvoiceitemsRequestBody -> Maybe PostInvoiceitemsRequestBodyMetadata'Variants
-- | period: The period associated with this invoice item.
[postInvoiceitemsRequestBodyPeriod] :: PostInvoiceitemsRequestBody -> Maybe PostInvoiceitemsRequestBodyPeriod'
-- | price: The ID of the price object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postInvoiceitemsRequestBodyPrice] :: PostInvoiceitemsRequestBody -> Maybe Text
-- | price_data: Data used to generate a new Price object inline.
[postInvoiceitemsRequestBodyPriceData] :: PostInvoiceitemsRequestBody -> Maybe PostInvoiceitemsRequestBodyPriceData'
-- | quantity: Non-negative integer. The quantity of units for the invoice
-- item.
[postInvoiceitemsRequestBodyQuantity] :: PostInvoiceitemsRequestBody -> Maybe Int
-- | subscription: The ID of a subscription to add this invoice item to.
-- When left blank, the invoice item will be be added to the next
-- upcoming scheduled invoice. When set, scheduled invoices for
-- subscriptions other than the specified subscription will ignore the
-- invoice item. Use this when you want to express that an invoice item
-- has been accrued within the context of a particular subscription.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postInvoiceitemsRequestBodySubscription] :: PostInvoiceitemsRequestBody -> Maybe Text
-- | tax_rates: The tax rates which apply to the invoice item. When set,
-- the `default_tax_rates` on the invoice do not apply to this invoice
-- item.
[postInvoiceitemsRequestBodyTaxRates] :: PostInvoiceitemsRequestBody -> Maybe [Text]
-- | unit_amount: The integer unit amount in %s of the charge to be applied
-- to the upcoming invoice. This `unit_amount` will be multiplied by the
-- quantity to get the full amount. Passing in a negative `unit_amount`
-- will reduce the `amount_due` on the invoice.
[postInvoiceitemsRequestBodyUnitAmount] :: PostInvoiceitemsRequestBody -> Maybe Int
-- | unit_amount_decimal: Same as `unit_amount`, but accepts a decimal
-- value in %s with at most 12 decimal places. Only one of `unit_amount`
-- and `unit_amount_decimal` can be set.
[postInvoiceitemsRequestBodyUnitAmountDecimal] :: PostInvoiceitemsRequestBody -> Maybe Text
-- | Create a new PostInvoiceitemsRequestBody with all required
-- fields.
mkPostInvoiceitemsRequestBody :: Text -> PostInvoiceitemsRequestBody
-- | Defines the object schema located at
-- paths./v1/invoiceitems.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.discounts.anyOf.items
-- in the specification.
data PostInvoiceitemsRequestBodyDiscounts'OneOf1
PostInvoiceitemsRequestBodyDiscounts'OneOf1 :: Maybe Text -> Maybe Text -> PostInvoiceitemsRequestBodyDiscounts'OneOf1
-- | coupon
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postInvoiceitemsRequestBodyDiscounts'OneOf1Coupon] :: PostInvoiceitemsRequestBodyDiscounts'OneOf1 -> Maybe Text
-- | discount
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postInvoiceitemsRequestBodyDiscounts'OneOf1Discount] :: PostInvoiceitemsRequestBodyDiscounts'OneOf1 -> Maybe Text
-- | Create a new PostInvoiceitemsRequestBodyDiscounts'OneOf1 with
-- all required fields.
mkPostInvoiceitemsRequestBodyDiscounts'OneOf1 :: PostInvoiceitemsRequestBodyDiscounts'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/invoiceitems.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.discounts.anyOf
-- in the specification.
--
-- The coupons to redeem into discounts for the invoice item or invoice
-- line item.
data PostInvoiceitemsRequestBodyDiscounts'Variants
-- | Represents the JSON value ""
PostInvoiceitemsRequestBodyDiscounts'EmptyString :: PostInvoiceitemsRequestBodyDiscounts'Variants
PostInvoiceitemsRequestBodyDiscounts'ListTPostInvoiceitemsRequestBodyDiscounts'OneOf1 :: [PostInvoiceitemsRequestBodyDiscounts'OneOf1] -> PostInvoiceitemsRequestBodyDiscounts'Variants
-- | Defines the oneOf schema located at
-- paths./v1/invoiceitems.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.metadata.anyOf
-- in the specification.
--
-- Set of key-value pairs that you can attach to an object. This
-- can be useful for storing additional information about the object in a
-- structured format. Individual keys can be unset by posting an empty
-- value to them. All keys can be unset by posting an empty value to
-- `metadata`.
data PostInvoiceitemsRequestBodyMetadata'Variants
-- | Represents the JSON value ""
PostInvoiceitemsRequestBodyMetadata'EmptyString :: PostInvoiceitemsRequestBodyMetadata'Variants
PostInvoiceitemsRequestBodyMetadata'Object :: Object -> PostInvoiceitemsRequestBodyMetadata'Variants
-- | Defines the object schema located at
-- paths./v1/invoiceitems.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.period
-- in the specification.
--
-- The period associated with this invoice item.
data PostInvoiceitemsRequestBodyPeriod'
PostInvoiceitemsRequestBodyPeriod' :: Int -> Int -> PostInvoiceitemsRequestBodyPeriod'
-- | end
[postInvoiceitemsRequestBodyPeriod'End] :: PostInvoiceitemsRequestBodyPeriod' -> Int
-- | start
[postInvoiceitemsRequestBodyPeriod'Start] :: PostInvoiceitemsRequestBodyPeriod' -> Int
-- | Create a new PostInvoiceitemsRequestBodyPeriod' with all
-- required fields.
mkPostInvoiceitemsRequestBodyPeriod' :: Int -> Int -> PostInvoiceitemsRequestBodyPeriod'
-- | Defines the object schema located at
-- paths./v1/invoiceitems.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.price_data
-- in the specification.
--
-- Data used to generate a new Price object inline.
data PostInvoiceitemsRequestBodyPriceData'
PostInvoiceitemsRequestBodyPriceData' :: Text -> Text -> Maybe PostInvoiceitemsRequestBodyPriceData'TaxBehavior' -> Maybe Int -> Maybe Text -> PostInvoiceitemsRequestBodyPriceData'
-- | currency
[postInvoiceitemsRequestBodyPriceData'Currency] :: PostInvoiceitemsRequestBodyPriceData' -> Text
-- | product
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postInvoiceitemsRequestBodyPriceData'Product] :: PostInvoiceitemsRequestBodyPriceData' -> Text
-- | tax_behavior
[postInvoiceitemsRequestBodyPriceData'TaxBehavior] :: PostInvoiceitemsRequestBodyPriceData' -> Maybe PostInvoiceitemsRequestBodyPriceData'TaxBehavior'
-- | unit_amount
[postInvoiceitemsRequestBodyPriceData'UnitAmount] :: PostInvoiceitemsRequestBodyPriceData' -> Maybe Int
-- | unit_amount_decimal
[postInvoiceitemsRequestBodyPriceData'UnitAmountDecimal] :: PostInvoiceitemsRequestBodyPriceData' -> Maybe Text
-- | Create a new PostInvoiceitemsRequestBodyPriceData' with all
-- required fields.
mkPostInvoiceitemsRequestBodyPriceData' :: Text -> Text -> PostInvoiceitemsRequestBodyPriceData'
-- | Defines the enum schema located at
-- paths./v1/invoiceitems.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.price_data.properties.tax_behavior
-- in the specification.
data PostInvoiceitemsRequestBodyPriceData'TaxBehavior'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostInvoiceitemsRequestBodyPriceData'TaxBehavior'Other :: Value -> PostInvoiceitemsRequestBodyPriceData'TaxBehavior'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostInvoiceitemsRequestBodyPriceData'TaxBehavior'Typed :: Text -> PostInvoiceitemsRequestBodyPriceData'TaxBehavior'
-- | Represents the JSON value "exclusive"
PostInvoiceitemsRequestBodyPriceData'TaxBehavior'EnumExclusive :: PostInvoiceitemsRequestBodyPriceData'TaxBehavior'
-- | Represents the JSON value "inclusive"
PostInvoiceitemsRequestBodyPriceData'TaxBehavior'EnumInclusive :: PostInvoiceitemsRequestBodyPriceData'TaxBehavior'
-- | Represents the JSON value "unspecified"
PostInvoiceitemsRequestBodyPriceData'TaxBehavior'EnumUnspecified :: PostInvoiceitemsRequestBodyPriceData'TaxBehavior'
-- | Represents a response of the operation postInvoiceitems.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostInvoiceitemsResponseError is used.
data PostInvoiceitemsResponse
-- | Means either no matching case available or a parse error
PostInvoiceitemsResponseError :: String -> PostInvoiceitemsResponse
-- | Successful response.
PostInvoiceitemsResponse200 :: Invoiceitem -> PostInvoiceitemsResponse
-- | Error response.
PostInvoiceitemsResponseDefault :: Error -> PostInvoiceitemsResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostInvoiceitems.PostInvoiceitemsRequestBodyDiscounts'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostInvoiceitems.PostInvoiceitemsRequestBodyDiscounts'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostInvoiceitems.PostInvoiceitemsRequestBodyDiscounts'Variants
instance GHC.Show.Show StripeAPI.Operations.PostInvoiceitems.PostInvoiceitemsRequestBodyDiscounts'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostInvoiceitems.PostInvoiceitemsRequestBodyMetadata'Variants
instance GHC.Show.Show StripeAPI.Operations.PostInvoiceitems.PostInvoiceitemsRequestBodyMetadata'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostInvoiceitems.PostInvoiceitemsRequestBodyPeriod'
instance GHC.Show.Show StripeAPI.Operations.PostInvoiceitems.PostInvoiceitemsRequestBodyPeriod'
instance GHC.Classes.Eq StripeAPI.Operations.PostInvoiceitems.PostInvoiceitemsRequestBodyPriceData'TaxBehavior'
instance GHC.Show.Show StripeAPI.Operations.PostInvoiceitems.PostInvoiceitemsRequestBodyPriceData'TaxBehavior'
instance GHC.Classes.Eq StripeAPI.Operations.PostInvoiceitems.PostInvoiceitemsRequestBodyPriceData'
instance GHC.Show.Show StripeAPI.Operations.PostInvoiceitems.PostInvoiceitemsRequestBodyPriceData'
instance GHC.Classes.Eq StripeAPI.Operations.PostInvoiceitems.PostInvoiceitemsRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostInvoiceitems.PostInvoiceitemsRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostInvoiceitems.PostInvoiceitemsResponse
instance GHC.Show.Show StripeAPI.Operations.PostInvoiceitems.PostInvoiceitemsResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostInvoiceitems.PostInvoiceitemsRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostInvoiceitems.PostInvoiceitemsRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostInvoiceitems.PostInvoiceitemsRequestBodyPriceData'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostInvoiceitems.PostInvoiceitemsRequestBodyPriceData'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostInvoiceitems.PostInvoiceitemsRequestBodyPriceData'TaxBehavior'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostInvoiceitems.PostInvoiceitemsRequestBodyPriceData'TaxBehavior'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostInvoiceitems.PostInvoiceitemsRequestBodyPeriod'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostInvoiceitems.PostInvoiceitemsRequestBodyPeriod'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostInvoiceitems.PostInvoiceitemsRequestBodyMetadata'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostInvoiceitems.PostInvoiceitemsRequestBodyMetadata'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostInvoiceitems.PostInvoiceitemsRequestBodyDiscounts'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostInvoiceitems.PostInvoiceitemsRequestBodyDiscounts'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostInvoiceitems.PostInvoiceitemsRequestBodyDiscounts'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostInvoiceitems.PostInvoiceitemsRequestBodyDiscounts'OneOf1
-- | Contains the different functions to run the operation
-- postIdentityVerificationSessionsSessionRedact
module StripeAPI.Operations.PostIdentityVerificationSessionsSessionRedact
-- |
-- POST /v1/identity/verification_sessions/{session}/redact
--
--
-- <p>Redact a VerificationSession to remove all collected
-- information from Stripe. This will redact the VerificationSession and
-- all objects related to it, including VerificationReports, Events,
-- request logs, etc.</p>
--
-- <p>A VerificationSession object can be redacted when it is in
-- <code>requires_input</code> or
-- <code>verified</code> <a
-- href="/docs/identity/how-sessions-work">status</a>. Redacting
-- a VerificationSession in <code>requires_action</code>
-- state will automatically cancel it.</p>
--
-- <p>The redaction process may take up to four days. When the
-- redaction process is in progress, the VerificationSession’s
-- <code>redaction.status</code> field will be set to
-- <code>processing</code>; when the process is finished, it
-- will change to <code>redacted</code> and an
-- <code>identity.verification_session.redacted</code> event
-- will be emitted.</p>
--
-- <p>Redaction is irreversible. Redacted objects are still
-- accessible in the Stripe API, but all the fields that contain personal
-- data will be replaced by the string
-- <code>[redacted]</code> or a similar placeholder. The
-- <code>metadata</code> field will also be erased. Redacted
-- objects cannot be updated or used for any purpose.</p>
--
-- <p><a
-- href="/docs/identity/verification-sessions#redact">Learn
-- more</a>.</p>
postIdentityVerificationSessionsSessionRedact :: forall m. MonadHTTP m => Text -> Maybe PostIdentityVerificationSessionsSessionRedactRequestBody -> ClientT m (Response PostIdentityVerificationSessionsSessionRedactResponse)
-- | Defines the object schema located at
-- paths./v1/identity/verification_sessions/{session}/redact.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostIdentityVerificationSessionsSessionRedactRequestBody
PostIdentityVerificationSessionsSessionRedactRequestBody :: Maybe [Text] -> PostIdentityVerificationSessionsSessionRedactRequestBody
-- | expand: Specifies which fields in the response should be expanded.
[postIdentityVerificationSessionsSessionRedactRequestBodyExpand] :: PostIdentityVerificationSessionsSessionRedactRequestBody -> Maybe [Text]
-- | Create a new
-- PostIdentityVerificationSessionsSessionRedactRequestBody with
-- all required fields.
mkPostIdentityVerificationSessionsSessionRedactRequestBody :: PostIdentityVerificationSessionsSessionRedactRequestBody
-- | Represents a response of the operation
-- postIdentityVerificationSessionsSessionRedact.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- PostIdentityVerificationSessionsSessionRedactResponseError is
-- used.
data PostIdentityVerificationSessionsSessionRedactResponse
-- | Means either no matching case available or a parse error
PostIdentityVerificationSessionsSessionRedactResponseError :: String -> PostIdentityVerificationSessionsSessionRedactResponse
-- | Successful response.
PostIdentityVerificationSessionsSessionRedactResponse200 :: Identity'verificationSession -> PostIdentityVerificationSessionsSessionRedactResponse
-- | Error response.
PostIdentityVerificationSessionsSessionRedactResponseDefault :: Error -> PostIdentityVerificationSessionsSessionRedactResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostIdentityVerificationSessionsSessionRedact.PostIdentityVerificationSessionsSessionRedactRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostIdentityVerificationSessionsSessionRedact.PostIdentityVerificationSessionsSessionRedactRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostIdentityVerificationSessionsSessionRedact.PostIdentityVerificationSessionsSessionRedactResponse
instance GHC.Show.Show StripeAPI.Operations.PostIdentityVerificationSessionsSessionRedact.PostIdentityVerificationSessionsSessionRedactResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIdentityVerificationSessionsSessionRedact.PostIdentityVerificationSessionsSessionRedactRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIdentityVerificationSessionsSessionRedact.PostIdentityVerificationSessionsSessionRedactRequestBody
-- | Contains the different functions to run the operation
-- postIdentityVerificationSessionsSessionCancel
module StripeAPI.Operations.PostIdentityVerificationSessionsSessionCancel
-- |
-- POST /v1/identity/verification_sessions/{session}/cancel
--
--
-- <p>A VerificationSession object can be canceled when it is in
-- <code>requires_input</code> <a
-- href="/docs/identity/how-sessions-work">status</a>.</p>
--
-- <p>Once canceled, future submission attempts are disabled. This
-- cannot be undone. <a
-- href="/docs/identity/verification-sessions#cancel">Learn
-- more</a>.</p>
postIdentityVerificationSessionsSessionCancel :: forall m. MonadHTTP m => Text -> Maybe PostIdentityVerificationSessionsSessionCancelRequestBody -> ClientT m (Response PostIdentityVerificationSessionsSessionCancelResponse)
-- | Defines the object schema located at
-- paths./v1/identity/verification_sessions/{session}/cancel.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostIdentityVerificationSessionsSessionCancelRequestBody
PostIdentityVerificationSessionsSessionCancelRequestBody :: Maybe [Text] -> PostIdentityVerificationSessionsSessionCancelRequestBody
-- | expand: Specifies which fields in the response should be expanded.
[postIdentityVerificationSessionsSessionCancelRequestBodyExpand] :: PostIdentityVerificationSessionsSessionCancelRequestBody -> Maybe [Text]
-- | Create a new
-- PostIdentityVerificationSessionsSessionCancelRequestBody with
-- all required fields.
mkPostIdentityVerificationSessionsSessionCancelRequestBody :: PostIdentityVerificationSessionsSessionCancelRequestBody
-- | Represents a response of the operation
-- postIdentityVerificationSessionsSessionCancel.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- PostIdentityVerificationSessionsSessionCancelResponseError is
-- used.
data PostIdentityVerificationSessionsSessionCancelResponse
-- | Means either no matching case available or a parse error
PostIdentityVerificationSessionsSessionCancelResponseError :: String -> PostIdentityVerificationSessionsSessionCancelResponse
-- | Successful response.
PostIdentityVerificationSessionsSessionCancelResponse200 :: Identity'verificationSession -> PostIdentityVerificationSessionsSessionCancelResponse
-- | Error response.
PostIdentityVerificationSessionsSessionCancelResponseDefault :: Error -> PostIdentityVerificationSessionsSessionCancelResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostIdentityVerificationSessionsSessionCancel.PostIdentityVerificationSessionsSessionCancelRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostIdentityVerificationSessionsSessionCancel.PostIdentityVerificationSessionsSessionCancelRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostIdentityVerificationSessionsSessionCancel.PostIdentityVerificationSessionsSessionCancelResponse
instance GHC.Show.Show StripeAPI.Operations.PostIdentityVerificationSessionsSessionCancel.PostIdentityVerificationSessionsSessionCancelResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIdentityVerificationSessionsSessionCancel.PostIdentityVerificationSessionsSessionCancelRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIdentityVerificationSessionsSessionCancel.PostIdentityVerificationSessionsSessionCancelRequestBody
-- | Contains the different functions to run the operation
-- postIdentityVerificationSessionsSession
module StripeAPI.Operations.PostIdentityVerificationSessionsSession
-- |
-- POST /v1/identity/verification_sessions/{session}
--
--
-- <p>Updates a VerificationSession object.</p>
--
-- <p>When the session status is
-- <code>requires_input</code>, you can use this method to
-- update the verification check and options.</p>
postIdentityVerificationSessionsSession :: forall m. MonadHTTP m => Text -> Maybe PostIdentityVerificationSessionsSessionRequestBody -> ClientT m (Response PostIdentityVerificationSessionsSessionResponse)
-- | Defines the object schema located at
-- paths./v1/identity/verification_sessions/{session}.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostIdentityVerificationSessionsSessionRequestBody
PostIdentityVerificationSessionsSessionRequestBody :: Maybe [Text] -> Maybe Object -> Maybe PostIdentityVerificationSessionsSessionRequestBodyOptions' -> Maybe PostIdentityVerificationSessionsSessionRequestBodyType' -> PostIdentityVerificationSessionsSessionRequestBody
-- | expand: Specifies which fields in the response should be expanded.
[postIdentityVerificationSessionsSessionRequestBodyExpand] :: PostIdentityVerificationSessionsSessionRequestBody -> Maybe [Text]
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postIdentityVerificationSessionsSessionRequestBodyMetadata] :: PostIdentityVerificationSessionsSessionRequestBody -> Maybe Object
-- | options: A set of options for the session’s verification checks.
[postIdentityVerificationSessionsSessionRequestBodyOptions] :: PostIdentityVerificationSessionsSessionRequestBody -> Maybe PostIdentityVerificationSessionsSessionRequestBodyOptions'
-- | type: The type of verification check to be performed.
[postIdentityVerificationSessionsSessionRequestBodyType] :: PostIdentityVerificationSessionsSessionRequestBody -> Maybe PostIdentityVerificationSessionsSessionRequestBodyType'
-- | Create a new PostIdentityVerificationSessionsSessionRequestBody
-- with all required fields.
mkPostIdentityVerificationSessionsSessionRequestBody :: PostIdentityVerificationSessionsSessionRequestBody
-- | Defines the object schema located at
-- paths./v1/identity/verification_sessions/{session}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.options
-- in the specification.
--
-- A set of options for the session’s verification checks.
data PostIdentityVerificationSessionsSessionRequestBodyOptions'
PostIdentityVerificationSessionsSessionRequestBodyOptions' :: Maybe PostIdentityVerificationSessionsSessionRequestBodyOptions'Document'Variants -> PostIdentityVerificationSessionsSessionRequestBodyOptions'
-- | document
[postIdentityVerificationSessionsSessionRequestBodyOptions'Document] :: PostIdentityVerificationSessionsSessionRequestBodyOptions' -> Maybe PostIdentityVerificationSessionsSessionRequestBodyOptions'Document'Variants
-- | Create a new
-- PostIdentityVerificationSessionsSessionRequestBodyOptions' with
-- all required fields.
mkPostIdentityVerificationSessionsSessionRequestBodyOptions' :: PostIdentityVerificationSessionsSessionRequestBodyOptions'
-- | Defines the object schema located at
-- paths./v1/identity/verification_sessions/{session}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.options.properties.document.anyOf
-- in the specification.
data PostIdentityVerificationSessionsSessionRequestBodyOptions'Document'OneOf1
PostIdentityVerificationSessionsSessionRequestBodyOptions'Document'OneOf1 :: Maybe [PostIdentityVerificationSessionsSessionRequestBodyOptions'Document'OneOf1AllowedTypes'] -> Maybe Bool -> Maybe Bool -> Maybe Bool -> PostIdentityVerificationSessionsSessionRequestBodyOptions'Document'OneOf1
-- | allowed_types
[postIdentityVerificationSessionsSessionRequestBodyOptions'Document'OneOf1AllowedTypes] :: PostIdentityVerificationSessionsSessionRequestBodyOptions'Document'OneOf1 -> Maybe [PostIdentityVerificationSessionsSessionRequestBodyOptions'Document'OneOf1AllowedTypes']
-- | require_id_number
[postIdentityVerificationSessionsSessionRequestBodyOptions'Document'OneOf1RequireIdNumber] :: PostIdentityVerificationSessionsSessionRequestBodyOptions'Document'OneOf1 -> Maybe Bool
-- | require_live_capture
[postIdentityVerificationSessionsSessionRequestBodyOptions'Document'OneOf1RequireLiveCapture] :: PostIdentityVerificationSessionsSessionRequestBodyOptions'Document'OneOf1 -> Maybe Bool
-- | require_matching_selfie
[postIdentityVerificationSessionsSessionRequestBodyOptions'Document'OneOf1RequireMatchingSelfie] :: PostIdentityVerificationSessionsSessionRequestBodyOptions'Document'OneOf1 -> Maybe Bool
-- | Create a new
-- PostIdentityVerificationSessionsSessionRequestBodyOptions'Document'OneOf1
-- with all required fields.
mkPostIdentityVerificationSessionsSessionRequestBodyOptions'Document'OneOf1 :: PostIdentityVerificationSessionsSessionRequestBodyOptions'Document'OneOf1
-- | Defines the enum schema located at
-- paths./v1/identity/verification_sessions/{session}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.options.properties.document.anyOf.properties.allowed_types.items
-- in the specification.
data PostIdentityVerificationSessionsSessionRequestBodyOptions'Document'OneOf1AllowedTypes'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostIdentityVerificationSessionsSessionRequestBodyOptions'Document'OneOf1AllowedTypes'Other :: Value -> PostIdentityVerificationSessionsSessionRequestBodyOptions'Document'OneOf1AllowedTypes'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostIdentityVerificationSessionsSessionRequestBodyOptions'Document'OneOf1AllowedTypes'Typed :: Text -> PostIdentityVerificationSessionsSessionRequestBodyOptions'Document'OneOf1AllowedTypes'
-- | Represents the JSON value "driving_license"
PostIdentityVerificationSessionsSessionRequestBodyOptions'Document'OneOf1AllowedTypes'EnumDrivingLicense :: PostIdentityVerificationSessionsSessionRequestBodyOptions'Document'OneOf1AllowedTypes'
-- | Represents the JSON value "id_card"
PostIdentityVerificationSessionsSessionRequestBodyOptions'Document'OneOf1AllowedTypes'EnumIdCard :: PostIdentityVerificationSessionsSessionRequestBodyOptions'Document'OneOf1AllowedTypes'
-- | Represents the JSON value "passport"
PostIdentityVerificationSessionsSessionRequestBodyOptions'Document'OneOf1AllowedTypes'EnumPassport :: PostIdentityVerificationSessionsSessionRequestBodyOptions'Document'OneOf1AllowedTypes'
-- | Defines the oneOf schema located at
-- paths./v1/identity/verification_sessions/{session}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.options.properties.document.anyOf
-- in the specification.
data PostIdentityVerificationSessionsSessionRequestBodyOptions'Document'Variants
-- | Represents the JSON value ""
PostIdentityVerificationSessionsSessionRequestBodyOptions'Document'EmptyString :: PostIdentityVerificationSessionsSessionRequestBodyOptions'Document'Variants
PostIdentityVerificationSessionsSessionRequestBodyOptions'Document'PostIdentityVerificationSessionsSessionRequestBodyOptions'Document'OneOf1 :: PostIdentityVerificationSessionsSessionRequestBodyOptions'Document'OneOf1 -> PostIdentityVerificationSessionsSessionRequestBodyOptions'Document'Variants
-- | Defines the enum schema located at
-- paths./v1/identity/verification_sessions/{session}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.type
-- in the specification.
--
-- The type of verification check to be performed.
data PostIdentityVerificationSessionsSessionRequestBodyType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostIdentityVerificationSessionsSessionRequestBodyType'Other :: Value -> PostIdentityVerificationSessionsSessionRequestBodyType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostIdentityVerificationSessionsSessionRequestBodyType'Typed :: Text -> PostIdentityVerificationSessionsSessionRequestBodyType'
-- | Represents the JSON value "document"
PostIdentityVerificationSessionsSessionRequestBodyType'EnumDocument :: PostIdentityVerificationSessionsSessionRequestBodyType'
-- | Represents the JSON value "id_number"
PostIdentityVerificationSessionsSessionRequestBodyType'EnumIdNumber :: PostIdentityVerificationSessionsSessionRequestBodyType'
-- | Represents a response of the operation
-- postIdentityVerificationSessionsSession.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- PostIdentityVerificationSessionsSessionResponseError is used.
data PostIdentityVerificationSessionsSessionResponse
-- | Means either no matching case available or a parse error
PostIdentityVerificationSessionsSessionResponseError :: String -> PostIdentityVerificationSessionsSessionResponse
-- | Successful response.
PostIdentityVerificationSessionsSessionResponse200 :: Identity'verificationSession -> PostIdentityVerificationSessionsSessionResponse
-- | Error response.
PostIdentityVerificationSessionsSessionResponseDefault :: Error -> PostIdentityVerificationSessionsSessionResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostIdentityVerificationSessionsSession.PostIdentityVerificationSessionsSessionRequestBodyOptions'Document'OneOf1AllowedTypes'
instance GHC.Show.Show StripeAPI.Operations.PostIdentityVerificationSessionsSession.PostIdentityVerificationSessionsSessionRequestBodyOptions'Document'OneOf1AllowedTypes'
instance GHC.Classes.Eq StripeAPI.Operations.PostIdentityVerificationSessionsSession.PostIdentityVerificationSessionsSessionRequestBodyOptions'Document'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostIdentityVerificationSessionsSession.PostIdentityVerificationSessionsSessionRequestBodyOptions'Document'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostIdentityVerificationSessionsSession.PostIdentityVerificationSessionsSessionRequestBodyOptions'Document'Variants
instance GHC.Show.Show StripeAPI.Operations.PostIdentityVerificationSessionsSession.PostIdentityVerificationSessionsSessionRequestBodyOptions'Document'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostIdentityVerificationSessionsSession.PostIdentityVerificationSessionsSessionRequestBodyOptions'
instance GHC.Show.Show StripeAPI.Operations.PostIdentityVerificationSessionsSession.PostIdentityVerificationSessionsSessionRequestBodyOptions'
instance GHC.Classes.Eq StripeAPI.Operations.PostIdentityVerificationSessionsSession.PostIdentityVerificationSessionsSessionRequestBodyType'
instance GHC.Show.Show StripeAPI.Operations.PostIdentityVerificationSessionsSession.PostIdentityVerificationSessionsSessionRequestBodyType'
instance GHC.Classes.Eq StripeAPI.Operations.PostIdentityVerificationSessionsSession.PostIdentityVerificationSessionsSessionRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostIdentityVerificationSessionsSession.PostIdentityVerificationSessionsSessionRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostIdentityVerificationSessionsSession.PostIdentityVerificationSessionsSessionResponse
instance GHC.Show.Show StripeAPI.Operations.PostIdentityVerificationSessionsSession.PostIdentityVerificationSessionsSessionResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIdentityVerificationSessionsSession.PostIdentityVerificationSessionsSessionRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIdentityVerificationSessionsSession.PostIdentityVerificationSessionsSessionRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIdentityVerificationSessionsSession.PostIdentityVerificationSessionsSessionRequestBodyType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIdentityVerificationSessionsSession.PostIdentityVerificationSessionsSessionRequestBodyType'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIdentityVerificationSessionsSession.PostIdentityVerificationSessionsSessionRequestBodyOptions'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIdentityVerificationSessionsSession.PostIdentityVerificationSessionsSessionRequestBodyOptions'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIdentityVerificationSessionsSession.PostIdentityVerificationSessionsSessionRequestBodyOptions'Document'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIdentityVerificationSessionsSession.PostIdentityVerificationSessionsSessionRequestBodyOptions'Document'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIdentityVerificationSessionsSession.PostIdentityVerificationSessionsSessionRequestBodyOptions'Document'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIdentityVerificationSessionsSession.PostIdentityVerificationSessionsSessionRequestBodyOptions'Document'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIdentityVerificationSessionsSession.PostIdentityVerificationSessionsSessionRequestBodyOptions'Document'OneOf1AllowedTypes'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIdentityVerificationSessionsSession.PostIdentityVerificationSessionsSessionRequestBodyOptions'Document'OneOf1AllowedTypes'
-- | Contains the different functions to run the operation
-- postIdentityVerificationSessions
module StripeAPI.Operations.PostIdentityVerificationSessions
-- |
-- POST /v1/identity/verification_sessions
--
--
-- <p>Creates a VerificationSession object.</p>
--
-- <p>After the VerificationSession is created, display a
-- verification modal using the session
-- <code>client_secret</code> or send your users to the
-- session’s <code>url</code>.</p>
--
-- <p>If your API key is in test mode, verification checks won’t
-- actually process, though everything else will occur as if in live
-- mode.</p>
--
-- <p>Related guide: <a
-- href="/docs/identity/verify-identity-documents">Verify your users’
-- identity documents</a>.</p>
postIdentityVerificationSessions :: forall m. MonadHTTP m => PostIdentityVerificationSessionsRequestBody -> ClientT m (Response PostIdentityVerificationSessionsResponse)
-- | Defines the object schema located at
-- paths./v1/identity/verification_sessions.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostIdentityVerificationSessionsRequestBody
PostIdentityVerificationSessionsRequestBody :: Maybe [Text] -> Maybe Object -> Maybe PostIdentityVerificationSessionsRequestBodyOptions' -> Maybe Text -> PostIdentityVerificationSessionsRequestBodyType' -> PostIdentityVerificationSessionsRequestBody
-- | expand: Specifies which fields in the response should be expanded.
[postIdentityVerificationSessionsRequestBodyExpand] :: PostIdentityVerificationSessionsRequestBody -> Maybe [Text]
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postIdentityVerificationSessionsRequestBodyMetadata] :: PostIdentityVerificationSessionsRequestBody -> Maybe Object
-- | options: A set of options for the session’s verification checks.
[postIdentityVerificationSessionsRequestBodyOptions] :: PostIdentityVerificationSessionsRequestBody -> Maybe PostIdentityVerificationSessionsRequestBodyOptions'
-- | return_url: The URL that the user will be redirected to upon
-- completing the verification flow.
[postIdentityVerificationSessionsRequestBodyReturnUrl] :: PostIdentityVerificationSessionsRequestBody -> Maybe Text
-- | type: The type of verification check to be performed.
[postIdentityVerificationSessionsRequestBodyType] :: PostIdentityVerificationSessionsRequestBody -> PostIdentityVerificationSessionsRequestBodyType'
-- | Create a new PostIdentityVerificationSessionsRequestBody with
-- all required fields.
mkPostIdentityVerificationSessionsRequestBody :: PostIdentityVerificationSessionsRequestBodyType' -> PostIdentityVerificationSessionsRequestBody
-- | Defines the object schema located at
-- paths./v1/identity/verification_sessions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.options
-- in the specification.
--
-- A set of options for the session’s verification checks.
data PostIdentityVerificationSessionsRequestBodyOptions'
PostIdentityVerificationSessionsRequestBodyOptions' :: Maybe PostIdentityVerificationSessionsRequestBodyOptions'Document'Variants -> PostIdentityVerificationSessionsRequestBodyOptions'
-- | document
[postIdentityVerificationSessionsRequestBodyOptions'Document] :: PostIdentityVerificationSessionsRequestBodyOptions' -> Maybe PostIdentityVerificationSessionsRequestBodyOptions'Document'Variants
-- | Create a new
-- PostIdentityVerificationSessionsRequestBodyOptions' with all
-- required fields.
mkPostIdentityVerificationSessionsRequestBodyOptions' :: PostIdentityVerificationSessionsRequestBodyOptions'
-- | Defines the object schema located at
-- paths./v1/identity/verification_sessions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.options.properties.document.anyOf
-- in the specification.
data PostIdentityVerificationSessionsRequestBodyOptions'Document'OneOf1
PostIdentityVerificationSessionsRequestBodyOptions'Document'OneOf1 :: Maybe [PostIdentityVerificationSessionsRequestBodyOptions'Document'OneOf1AllowedTypes'] -> Maybe Bool -> Maybe Bool -> Maybe Bool -> PostIdentityVerificationSessionsRequestBodyOptions'Document'OneOf1
-- | allowed_types
[postIdentityVerificationSessionsRequestBodyOptions'Document'OneOf1AllowedTypes] :: PostIdentityVerificationSessionsRequestBodyOptions'Document'OneOf1 -> Maybe [PostIdentityVerificationSessionsRequestBodyOptions'Document'OneOf1AllowedTypes']
-- | require_id_number
[postIdentityVerificationSessionsRequestBodyOptions'Document'OneOf1RequireIdNumber] :: PostIdentityVerificationSessionsRequestBodyOptions'Document'OneOf1 -> Maybe Bool
-- | require_live_capture
[postIdentityVerificationSessionsRequestBodyOptions'Document'OneOf1RequireLiveCapture] :: PostIdentityVerificationSessionsRequestBodyOptions'Document'OneOf1 -> Maybe Bool
-- | require_matching_selfie
[postIdentityVerificationSessionsRequestBodyOptions'Document'OneOf1RequireMatchingSelfie] :: PostIdentityVerificationSessionsRequestBodyOptions'Document'OneOf1 -> Maybe Bool
-- | Create a new
-- PostIdentityVerificationSessionsRequestBodyOptions'Document'OneOf1
-- with all required fields.
mkPostIdentityVerificationSessionsRequestBodyOptions'Document'OneOf1 :: PostIdentityVerificationSessionsRequestBodyOptions'Document'OneOf1
-- | Defines the enum schema located at
-- paths./v1/identity/verification_sessions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.options.properties.document.anyOf.properties.allowed_types.items
-- in the specification.
data PostIdentityVerificationSessionsRequestBodyOptions'Document'OneOf1AllowedTypes'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostIdentityVerificationSessionsRequestBodyOptions'Document'OneOf1AllowedTypes'Other :: Value -> PostIdentityVerificationSessionsRequestBodyOptions'Document'OneOf1AllowedTypes'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostIdentityVerificationSessionsRequestBodyOptions'Document'OneOf1AllowedTypes'Typed :: Text -> PostIdentityVerificationSessionsRequestBodyOptions'Document'OneOf1AllowedTypes'
-- | Represents the JSON value "driving_license"
PostIdentityVerificationSessionsRequestBodyOptions'Document'OneOf1AllowedTypes'EnumDrivingLicense :: PostIdentityVerificationSessionsRequestBodyOptions'Document'OneOf1AllowedTypes'
-- | Represents the JSON value "id_card"
PostIdentityVerificationSessionsRequestBodyOptions'Document'OneOf1AllowedTypes'EnumIdCard :: PostIdentityVerificationSessionsRequestBodyOptions'Document'OneOf1AllowedTypes'
-- | Represents the JSON value "passport"
PostIdentityVerificationSessionsRequestBodyOptions'Document'OneOf1AllowedTypes'EnumPassport :: PostIdentityVerificationSessionsRequestBodyOptions'Document'OneOf1AllowedTypes'
-- | Defines the oneOf schema located at
-- paths./v1/identity/verification_sessions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.options.properties.document.anyOf
-- in the specification.
data PostIdentityVerificationSessionsRequestBodyOptions'Document'Variants
-- | Represents the JSON value ""
PostIdentityVerificationSessionsRequestBodyOptions'Document'EmptyString :: PostIdentityVerificationSessionsRequestBodyOptions'Document'Variants
PostIdentityVerificationSessionsRequestBodyOptions'Document'PostIdentityVerificationSessionsRequestBodyOptions'Document'OneOf1 :: PostIdentityVerificationSessionsRequestBodyOptions'Document'OneOf1 -> PostIdentityVerificationSessionsRequestBodyOptions'Document'Variants
-- | Defines the enum schema located at
-- paths./v1/identity/verification_sessions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.type
-- in the specification.
--
-- The type of verification check to be performed.
data PostIdentityVerificationSessionsRequestBodyType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostIdentityVerificationSessionsRequestBodyType'Other :: Value -> PostIdentityVerificationSessionsRequestBodyType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostIdentityVerificationSessionsRequestBodyType'Typed :: Text -> PostIdentityVerificationSessionsRequestBodyType'
-- | Represents the JSON value "document"
PostIdentityVerificationSessionsRequestBodyType'EnumDocument :: PostIdentityVerificationSessionsRequestBodyType'
-- | Represents the JSON value "id_number"
PostIdentityVerificationSessionsRequestBodyType'EnumIdNumber :: PostIdentityVerificationSessionsRequestBodyType'
-- | Represents a response of the operation
-- postIdentityVerificationSessions.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- PostIdentityVerificationSessionsResponseError is used.
data PostIdentityVerificationSessionsResponse
-- | Means either no matching case available or a parse error
PostIdentityVerificationSessionsResponseError :: String -> PostIdentityVerificationSessionsResponse
-- | Successful response.
PostIdentityVerificationSessionsResponse200 :: Identity'verificationSession -> PostIdentityVerificationSessionsResponse
-- | Error response.
PostIdentityVerificationSessionsResponseDefault :: Error -> PostIdentityVerificationSessionsResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostIdentityVerificationSessions.PostIdentityVerificationSessionsRequestBodyOptions'Document'OneOf1AllowedTypes'
instance GHC.Show.Show StripeAPI.Operations.PostIdentityVerificationSessions.PostIdentityVerificationSessionsRequestBodyOptions'Document'OneOf1AllowedTypes'
instance GHC.Classes.Eq StripeAPI.Operations.PostIdentityVerificationSessions.PostIdentityVerificationSessionsRequestBodyOptions'Document'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostIdentityVerificationSessions.PostIdentityVerificationSessionsRequestBodyOptions'Document'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostIdentityVerificationSessions.PostIdentityVerificationSessionsRequestBodyOptions'Document'Variants
instance GHC.Show.Show StripeAPI.Operations.PostIdentityVerificationSessions.PostIdentityVerificationSessionsRequestBodyOptions'Document'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostIdentityVerificationSessions.PostIdentityVerificationSessionsRequestBodyOptions'
instance GHC.Show.Show StripeAPI.Operations.PostIdentityVerificationSessions.PostIdentityVerificationSessionsRequestBodyOptions'
instance GHC.Classes.Eq StripeAPI.Operations.PostIdentityVerificationSessions.PostIdentityVerificationSessionsRequestBodyType'
instance GHC.Show.Show StripeAPI.Operations.PostIdentityVerificationSessions.PostIdentityVerificationSessionsRequestBodyType'
instance GHC.Classes.Eq StripeAPI.Operations.PostIdentityVerificationSessions.PostIdentityVerificationSessionsRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostIdentityVerificationSessions.PostIdentityVerificationSessionsRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostIdentityVerificationSessions.PostIdentityVerificationSessionsResponse
instance GHC.Show.Show StripeAPI.Operations.PostIdentityVerificationSessions.PostIdentityVerificationSessionsResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIdentityVerificationSessions.PostIdentityVerificationSessionsRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIdentityVerificationSessions.PostIdentityVerificationSessionsRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIdentityVerificationSessions.PostIdentityVerificationSessionsRequestBodyType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIdentityVerificationSessions.PostIdentityVerificationSessionsRequestBodyType'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIdentityVerificationSessions.PostIdentityVerificationSessionsRequestBodyOptions'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIdentityVerificationSessions.PostIdentityVerificationSessionsRequestBodyOptions'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIdentityVerificationSessions.PostIdentityVerificationSessionsRequestBodyOptions'Document'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIdentityVerificationSessions.PostIdentityVerificationSessionsRequestBodyOptions'Document'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIdentityVerificationSessions.PostIdentityVerificationSessionsRequestBodyOptions'Document'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIdentityVerificationSessions.PostIdentityVerificationSessionsRequestBodyOptions'Document'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostIdentityVerificationSessions.PostIdentityVerificationSessionsRequestBodyOptions'Document'OneOf1AllowedTypes'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostIdentityVerificationSessions.PostIdentityVerificationSessionsRequestBodyOptions'Document'OneOf1AllowedTypes'
-- | Contains the different functions to run the operation postFiles
module StripeAPI.Operations.PostFiles
-- |
-- POST /v1/files
--
--
-- <p>To upload a file to Stripe, you’ll need to send a request of
-- type <code>multipart/form-data</code>. The request should
-- contain the file you would like to upload, as well as the parameters
-- for creating a file.</p>
--
-- <p>All of Stripe’s officially supported Client libraries should
-- have support for sending
-- <code>multipart/form-data</code>.</p>
postFiles :: forall m. MonadHTTP m => ClientT m (Response PostFilesResponse)
-- | Represents a response of the operation postFiles.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostFilesResponseError is used.
data PostFilesResponse
-- | Means either no matching case available or a parse error
PostFilesResponseError :: String -> PostFilesResponse
-- | Successful response.
PostFilesResponse200 :: File -> PostFilesResponse
-- | Error response.
PostFilesResponseDefault :: Error -> PostFilesResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostFiles.PostFilesResponse
instance GHC.Show.Show StripeAPI.Operations.PostFiles.PostFilesResponse
-- | Contains the different functions to run the operation
-- postFileLinksLink
module StripeAPI.Operations.PostFileLinksLink
-- |
-- POST /v1/file_links/{link}
--
--
-- <p>Updates an existing file link object. Expired links can no
-- longer be updated.</p>
postFileLinksLink :: forall m. MonadHTTP m => Text -> Maybe PostFileLinksLinkRequestBody -> ClientT m (Response PostFileLinksLinkResponse)
-- | Defines the object schema located at
-- paths./v1/file_links/{link}.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostFileLinksLinkRequestBody
PostFileLinksLinkRequestBody :: Maybe [Text] -> Maybe PostFileLinksLinkRequestBodyExpiresAt'Variants -> Maybe PostFileLinksLinkRequestBodyMetadata'Variants -> PostFileLinksLinkRequestBody
-- | expand: Specifies which fields in the response should be expanded.
[postFileLinksLinkRequestBodyExpand] :: PostFileLinksLinkRequestBody -> Maybe [Text]
-- | expires_at: A future timestamp after which the link will no longer be
-- usable, or `now` to expire the link immediately.
[postFileLinksLinkRequestBodyExpiresAt] :: PostFileLinksLinkRequestBody -> Maybe PostFileLinksLinkRequestBodyExpiresAt'Variants
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postFileLinksLinkRequestBodyMetadata] :: PostFileLinksLinkRequestBody -> Maybe PostFileLinksLinkRequestBodyMetadata'Variants
-- | Create a new PostFileLinksLinkRequestBody with all required
-- fields.
mkPostFileLinksLinkRequestBody :: PostFileLinksLinkRequestBody
-- | Defines the oneOf schema located at
-- paths./v1/file_links/{link}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.expires_at.anyOf
-- in the specification.
--
-- A future timestamp after which the link will no longer be usable, or
-- `now` to expire the link immediately.
data PostFileLinksLinkRequestBodyExpiresAt'Variants
-- | Represents the JSON value "now"
PostFileLinksLinkRequestBodyExpiresAt'Now :: PostFileLinksLinkRequestBodyExpiresAt'Variants
-- | Represents the JSON value ""
PostFileLinksLinkRequestBodyExpiresAt'EmptyString :: PostFileLinksLinkRequestBodyExpiresAt'Variants
PostFileLinksLinkRequestBodyExpiresAt'Int :: Int -> PostFileLinksLinkRequestBodyExpiresAt'Variants
-- | Defines the oneOf schema located at
-- paths./v1/file_links/{link}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.metadata.anyOf
-- in the specification.
--
-- Set of key-value pairs that you can attach to an object. This
-- can be useful for storing additional information about the object in a
-- structured format. Individual keys can be unset by posting an empty
-- value to them. All keys can be unset by posting an empty value to
-- `metadata`.
data PostFileLinksLinkRequestBodyMetadata'Variants
-- | Represents the JSON value ""
PostFileLinksLinkRequestBodyMetadata'EmptyString :: PostFileLinksLinkRequestBodyMetadata'Variants
PostFileLinksLinkRequestBodyMetadata'Object :: Object -> PostFileLinksLinkRequestBodyMetadata'Variants
-- | Represents a response of the operation postFileLinksLink.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostFileLinksLinkResponseError is used.
data PostFileLinksLinkResponse
-- | Means either no matching case available or a parse error
PostFileLinksLinkResponseError :: String -> PostFileLinksLinkResponse
-- | Successful response.
PostFileLinksLinkResponse200 :: FileLink -> PostFileLinksLinkResponse
-- | Error response.
PostFileLinksLinkResponseDefault :: Error -> PostFileLinksLinkResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostFileLinksLink.PostFileLinksLinkRequestBodyExpiresAt'Variants
instance GHC.Show.Show StripeAPI.Operations.PostFileLinksLink.PostFileLinksLinkRequestBodyExpiresAt'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostFileLinksLink.PostFileLinksLinkRequestBodyMetadata'Variants
instance GHC.Show.Show StripeAPI.Operations.PostFileLinksLink.PostFileLinksLinkRequestBodyMetadata'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostFileLinksLink.PostFileLinksLinkRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostFileLinksLink.PostFileLinksLinkRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostFileLinksLink.PostFileLinksLinkResponse
instance GHC.Show.Show StripeAPI.Operations.PostFileLinksLink.PostFileLinksLinkResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostFileLinksLink.PostFileLinksLinkRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostFileLinksLink.PostFileLinksLinkRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostFileLinksLink.PostFileLinksLinkRequestBodyMetadata'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostFileLinksLink.PostFileLinksLinkRequestBodyMetadata'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostFileLinksLink.PostFileLinksLinkRequestBodyExpiresAt'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostFileLinksLink.PostFileLinksLinkRequestBodyExpiresAt'Variants
-- | Contains the different functions to run the operation postFileLinks
module StripeAPI.Operations.PostFileLinks
-- |
-- POST /v1/file_links
--
--
-- <p>Creates a new file link object.</p>
postFileLinks :: forall m. MonadHTTP m => PostFileLinksRequestBody -> ClientT m (Response PostFileLinksResponse)
-- | Defines the object schema located at
-- paths./v1/file_links.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostFileLinksRequestBody
PostFileLinksRequestBody :: Maybe [Text] -> Maybe Int -> Text -> Maybe PostFileLinksRequestBodyMetadata'Variants -> PostFileLinksRequestBody
-- | expand: Specifies which fields in the response should be expanded.
[postFileLinksRequestBodyExpand] :: PostFileLinksRequestBody -> Maybe [Text]
-- | expires_at: A future timestamp after which the link will no longer be
-- usable.
[postFileLinksRequestBodyExpiresAt] :: PostFileLinksRequestBody -> Maybe Int
-- | file: The ID of the file. The file's `purpose` must be one of the
-- following: `business_icon`, `business_logo`, `customer_signature`,
-- `dispute_evidence`, `finance_report_run`,
-- `identity_document_downloadable`, `pci_document`, `selfie`,
-- `sigma_scheduled_query`, or `tax_document_user_upload`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postFileLinksRequestBodyFile] :: PostFileLinksRequestBody -> Text
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postFileLinksRequestBodyMetadata] :: PostFileLinksRequestBody -> Maybe PostFileLinksRequestBodyMetadata'Variants
-- | Create a new PostFileLinksRequestBody with all required fields.
mkPostFileLinksRequestBody :: Text -> PostFileLinksRequestBody
-- | Defines the oneOf schema located at
-- paths./v1/file_links.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.metadata.anyOf
-- in the specification.
--
-- Set of key-value pairs that you can attach to an object. This
-- can be useful for storing additional information about the object in a
-- structured format. Individual keys can be unset by posting an empty
-- value to them. All keys can be unset by posting an empty value to
-- `metadata`.
data PostFileLinksRequestBodyMetadata'Variants
-- | Represents the JSON value ""
PostFileLinksRequestBodyMetadata'EmptyString :: PostFileLinksRequestBodyMetadata'Variants
PostFileLinksRequestBodyMetadata'Object :: Object -> PostFileLinksRequestBodyMetadata'Variants
-- | Represents a response of the operation postFileLinks.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostFileLinksResponseError is used.
data PostFileLinksResponse
-- | Means either no matching case available or a parse error
PostFileLinksResponseError :: String -> PostFileLinksResponse
-- | Successful response.
PostFileLinksResponse200 :: FileLink -> PostFileLinksResponse
-- | Error response.
PostFileLinksResponseDefault :: Error -> PostFileLinksResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostFileLinks.PostFileLinksRequestBodyMetadata'Variants
instance GHC.Show.Show StripeAPI.Operations.PostFileLinks.PostFileLinksRequestBodyMetadata'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostFileLinks.PostFileLinksRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostFileLinks.PostFileLinksRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostFileLinks.PostFileLinksResponse
instance GHC.Show.Show StripeAPI.Operations.PostFileLinks.PostFileLinksResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostFileLinks.PostFileLinksRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostFileLinks.PostFileLinksRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostFileLinks.PostFileLinksRequestBodyMetadata'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostFileLinks.PostFileLinksRequestBodyMetadata'Variants
-- | Contains the different functions to run the operation
-- postEphemeralKeys
module StripeAPI.Operations.PostEphemeralKeys
-- |
-- POST /v1/ephemeral_keys
--
--
-- <p>Creates a short-lived API key for a given resource.</p>
postEphemeralKeys :: forall m. MonadHTTP m => Maybe PostEphemeralKeysRequestBody -> ClientT m (Response PostEphemeralKeysResponse)
-- | Defines the object schema located at
-- paths./v1/ephemeral_keys.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostEphemeralKeysRequestBody
PostEphemeralKeysRequestBody :: Maybe Text -> Maybe [Text] -> Maybe Text -> PostEphemeralKeysRequestBody
-- | customer: The ID of the Customer you'd like to modify using the
-- resulting ephemeral key.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postEphemeralKeysRequestBodyCustomer] :: PostEphemeralKeysRequestBody -> Maybe Text
-- | expand: Specifies which fields in the response should be expanded.
[postEphemeralKeysRequestBodyExpand] :: PostEphemeralKeysRequestBody -> Maybe [Text]
-- | issuing_card: The ID of the Issuing Card you'd like to access using
-- the resulting ephemeral key.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postEphemeralKeysRequestBodyIssuingCard] :: PostEphemeralKeysRequestBody -> Maybe Text
-- | Create a new PostEphemeralKeysRequestBody with all required
-- fields.
mkPostEphemeralKeysRequestBody :: PostEphemeralKeysRequestBody
-- | Represents a response of the operation postEphemeralKeys.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostEphemeralKeysResponseError is used.
data PostEphemeralKeysResponse
-- | Means either no matching case available or a parse error
PostEphemeralKeysResponseError :: String -> PostEphemeralKeysResponse
-- | Successful response.
PostEphemeralKeysResponse200 :: EphemeralKey -> PostEphemeralKeysResponse
-- | Error response.
PostEphemeralKeysResponseDefault :: Error -> PostEphemeralKeysResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostEphemeralKeys.PostEphemeralKeysRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostEphemeralKeys.PostEphemeralKeysRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostEphemeralKeys.PostEphemeralKeysResponse
instance GHC.Show.Show StripeAPI.Operations.PostEphemeralKeys.PostEphemeralKeysResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostEphemeralKeys.PostEphemeralKeysRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostEphemeralKeys.PostEphemeralKeysRequestBody
-- | Contains the different functions to run the operation
-- postDisputesDisputeClose
module StripeAPI.Operations.PostDisputesDisputeClose
-- |
-- POST /v1/disputes/{dispute}/close
--
--
-- <p>Closing the dispute for a charge indicates that you do not
-- have any evidence to submit and are essentially dismissing the
-- dispute, acknowledging it as lost.</p>
--
-- <p>The status of the dispute will change from
-- <code>needs_response</code> to
-- <code>lost</code>. <em>Closing a dispute is
-- irreversible</em>.</p>
postDisputesDisputeClose :: forall m. MonadHTTP m => Text -> Maybe PostDisputesDisputeCloseRequestBody -> ClientT m (Response PostDisputesDisputeCloseResponse)
-- | Defines the object schema located at
-- paths./v1/disputes/{dispute}/close.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostDisputesDisputeCloseRequestBody
PostDisputesDisputeCloseRequestBody :: Maybe [Text] -> PostDisputesDisputeCloseRequestBody
-- | expand: Specifies which fields in the response should be expanded.
[postDisputesDisputeCloseRequestBodyExpand] :: PostDisputesDisputeCloseRequestBody -> Maybe [Text]
-- | Create a new PostDisputesDisputeCloseRequestBody with all
-- required fields.
mkPostDisputesDisputeCloseRequestBody :: PostDisputesDisputeCloseRequestBody
-- | Represents a response of the operation
-- postDisputesDisputeClose.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostDisputesDisputeCloseResponseError
-- is used.
data PostDisputesDisputeCloseResponse
-- | Means either no matching case available or a parse error
PostDisputesDisputeCloseResponseError :: String -> PostDisputesDisputeCloseResponse
-- | Successful response.
PostDisputesDisputeCloseResponse200 :: Dispute -> PostDisputesDisputeCloseResponse
-- | Error response.
PostDisputesDisputeCloseResponseDefault :: Error -> PostDisputesDisputeCloseResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostDisputesDisputeClose.PostDisputesDisputeCloseRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostDisputesDisputeClose.PostDisputesDisputeCloseRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostDisputesDisputeClose.PostDisputesDisputeCloseResponse
instance GHC.Show.Show StripeAPI.Operations.PostDisputesDisputeClose.PostDisputesDisputeCloseResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostDisputesDisputeClose.PostDisputesDisputeCloseRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostDisputesDisputeClose.PostDisputesDisputeCloseRequestBody
-- | Contains the different functions to run the operation
-- postDisputesDispute
module StripeAPI.Operations.PostDisputesDispute
-- |
-- POST /v1/disputes/{dispute}
--
--
-- <p>When you get a dispute, contacting your customer is always
-- the best first step. If that doesn’t work, you can submit evidence to
-- help us resolve the dispute in your favor. You can do this in your
-- <a
-- href="https://dashboard.stripe.com/disputes">dashboard</a>,
-- but if you prefer, you can use the API to submit evidence
-- programmatically.</p>
--
-- <p>Depending on your dispute type, different evidence fields
-- will give you a better chance of winning your dispute. To figure out
-- which evidence fields to provide, see our <a
-- href="/docs/disputes/categories">guide to dispute
-- types</a>.</p>
postDisputesDispute :: forall m. MonadHTTP m => Text -> Maybe PostDisputesDisputeRequestBody -> ClientT m (Response PostDisputesDisputeResponse)
-- | Defines the object schema located at
-- paths./v1/disputes/{dispute}.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostDisputesDisputeRequestBody
PostDisputesDisputeRequestBody :: Maybe PostDisputesDisputeRequestBodyEvidence' -> Maybe [Text] -> Maybe PostDisputesDisputeRequestBodyMetadata'Variants -> Maybe Bool -> PostDisputesDisputeRequestBody
-- | evidence: Evidence to upload, to respond to a dispute. Updating any
-- field in the hash will submit all fields in the hash for review. The
-- combined character count of all fields is limited to 150,000.
[postDisputesDisputeRequestBodyEvidence] :: PostDisputesDisputeRequestBody -> Maybe PostDisputesDisputeRequestBodyEvidence'
-- | expand: Specifies which fields in the response should be expanded.
[postDisputesDisputeRequestBodyExpand] :: PostDisputesDisputeRequestBody -> Maybe [Text]
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postDisputesDisputeRequestBodyMetadata] :: PostDisputesDisputeRequestBody -> Maybe PostDisputesDisputeRequestBodyMetadata'Variants
-- | submit: Whether to immediately submit evidence to the bank. If
-- `false`, evidence is staged on the dispute. Staged evidence is visible
-- in the API and Dashboard, and can be submitted to the bank by making
-- another request with this attribute set to `true` (the default).
[postDisputesDisputeRequestBodySubmit] :: PostDisputesDisputeRequestBody -> Maybe Bool
-- | Create a new PostDisputesDisputeRequestBody with all required
-- fields.
mkPostDisputesDisputeRequestBody :: PostDisputesDisputeRequestBody
-- | Defines the object schema located at
-- paths./v1/disputes/{dispute}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.evidence
-- in the specification.
--
-- Evidence to upload, to respond to a dispute. Updating any field in the
-- hash will submit all fields in the hash for review. The combined
-- character count of all fields is limited to 150,000.
data PostDisputesDisputeRequestBodyEvidence'
PostDisputesDisputeRequestBodyEvidence' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PostDisputesDisputeRequestBodyEvidence'
-- | access_activity_log
--
-- Constraints:
--
--
-- - Maximum length of 20000
--
[postDisputesDisputeRequestBodyEvidence'AccessActivityLog] :: PostDisputesDisputeRequestBodyEvidence' -> Maybe Text
-- | billing_address
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postDisputesDisputeRequestBodyEvidence'BillingAddress] :: PostDisputesDisputeRequestBodyEvidence' -> Maybe Text
-- | cancellation_policy
[postDisputesDisputeRequestBodyEvidence'CancellationPolicy] :: PostDisputesDisputeRequestBodyEvidence' -> Maybe Text
-- | cancellation_policy_disclosure
--
-- Constraints:
--
--
-- - Maximum length of 20000
--
[postDisputesDisputeRequestBodyEvidence'CancellationPolicyDisclosure] :: PostDisputesDisputeRequestBodyEvidence' -> Maybe Text
-- | cancellation_rebuttal
--
-- Constraints:
--
--
-- - Maximum length of 20000
--
[postDisputesDisputeRequestBodyEvidence'CancellationRebuttal] :: PostDisputesDisputeRequestBodyEvidence' -> Maybe Text
-- | customer_communication
[postDisputesDisputeRequestBodyEvidence'CustomerCommunication] :: PostDisputesDisputeRequestBodyEvidence' -> Maybe Text
-- | customer_email_address
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postDisputesDisputeRequestBodyEvidence'CustomerEmailAddress] :: PostDisputesDisputeRequestBodyEvidence' -> Maybe Text
-- | customer_name
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postDisputesDisputeRequestBodyEvidence'CustomerName] :: PostDisputesDisputeRequestBodyEvidence' -> Maybe Text
-- | customer_purchase_ip
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postDisputesDisputeRequestBodyEvidence'CustomerPurchaseIp] :: PostDisputesDisputeRequestBodyEvidence' -> Maybe Text
-- | customer_signature
[postDisputesDisputeRequestBodyEvidence'CustomerSignature] :: PostDisputesDisputeRequestBodyEvidence' -> Maybe Text
-- | duplicate_charge_documentation
[postDisputesDisputeRequestBodyEvidence'DuplicateChargeDocumentation] :: PostDisputesDisputeRequestBodyEvidence' -> Maybe Text
-- | duplicate_charge_explanation
--
-- Constraints:
--
--
-- - Maximum length of 20000
--
[postDisputesDisputeRequestBodyEvidence'DuplicateChargeExplanation] :: PostDisputesDisputeRequestBodyEvidence' -> Maybe Text
-- | duplicate_charge_id
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postDisputesDisputeRequestBodyEvidence'DuplicateChargeId] :: PostDisputesDisputeRequestBodyEvidence' -> Maybe Text
-- | product_description
--
-- Constraints:
--
--
-- - Maximum length of 20000
--
[postDisputesDisputeRequestBodyEvidence'ProductDescription] :: PostDisputesDisputeRequestBodyEvidence' -> Maybe Text
-- | receipt
[postDisputesDisputeRequestBodyEvidence'Receipt] :: PostDisputesDisputeRequestBodyEvidence' -> Maybe Text
-- | refund_policy
[postDisputesDisputeRequestBodyEvidence'RefundPolicy] :: PostDisputesDisputeRequestBodyEvidence' -> Maybe Text
-- | refund_policy_disclosure
--
-- Constraints:
--
--
-- - Maximum length of 20000
--
[postDisputesDisputeRequestBodyEvidence'RefundPolicyDisclosure] :: PostDisputesDisputeRequestBodyEvidence' -> Maybe Text
-- | refund_refusal_explanation
--
-- Constraints:
--
--
-- - Maximum length of 20000
--
[postDisputesDisputeRequestBodyEvidence'RefundRefusalExplanation] :: PostDisputesDisputeRequestBodyEvidence' -> Maybe Text
-- | service_date
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postDisputesDisputeRequestBodyEvidence'ServiceDate] :: PostDisputesDisputeRequestBodyEvidence' -> Maybe Text
-- | service_documentation
[postDisputesDisputeRequestBodyEvidence'ServiceDocumentation] :: PostDisputesDisputeRequestBodyEvidence' -> Maybe Text
-- | shipping_address
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postDisputesDisputeRequestBodyEvidence'ShippingAddress] :: PostDisputesDisputeRequestBodyEvidence' -> Maybe Text
-- | shipping_carrier
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postDisputesDisputeRequestBodyEvidence'ShippingCarrier] :: PostDisputesDisputeRequestBodyEvidence' -> Maybe Text
-- | shipping_date
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postDisputesDisputeRequestBodyEvidence'ShippingDate] :: PostDisputesDisputeRequestBodyEvidence' -> Maybe Text
-- | shipping_documentation
[postDisputesDisputeRequestBodyEvidence'ShippingDocumentation] :: PostDisputesDisputeRequestBodyEvidence' -> Maybe Text
-- | shipping_tracking_number
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postDisputesDisputeRequestBodyEvidence'ShippingTrackingNumber] :: PostDisputesDisputeRequestBodyEvidence' -> Maybe Text
-- | uncategorized_file
[postDisputesDisputeRequestBodyEvidence'UncategorizedFile] :: PostDisputesDisputeRequestBodyEvidence' -> Maybe Text
-- | uncategorized_text
--
-- Constraints:
--
--
-- - Maximum length of 20000
--
[postDisputesDisputeRequestBodyEvidence'UncategorizedText] :: PostDisputesDisputeRequestBodyEvidence' -> Maybe Text
-- | Create a new PostDisputesDisputeRequestBodyEvidence' with all
-- required fields.
mkPostDisputesDisputeRequestBodyEvidence' :: PostDisputesDisputeRequestBodyEvidence'
-- | Defines the oneOf schema located at
-- paths./v1/disputes/{dispute}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.metadata.anyOf
-- in the specification.
--
-- Set of key-value pairs that you can attach to an object. This
-- can be useful for storing additional information about the object in a
-- structured format. Individual keys can be unset by posting an empty
-- value to them. All keys can be unset by posting an empty value to
-- `metadata`.
data PostDisputesDisputeRequestBodyMetadata'Variants
-- | Represents the JSON value ""
PostDisputesDisputeRequestBodyMetadata'EmptyString :: PostDisputesDisputeRequestBodyMetadata'Variants
PostDisputesDisputeRequestBodyMetadata'Object :: Object -> PostDisputesDisputeRequestBodyMetadata'Variants
-- | Represents a response of the operation postDisputesDispute.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostDisputesDisputeResponseError is
-- used.
data PostDisputesDisputeResponse
-- | Means either no matching case available or a parse error
PostDisputesDisputeResponseError :: String -> PostDisputesDisputeResponse
-- | Successful response.
PostDisputesDisputeResponse200 :: Dispute -> PostDisputesDisputeResponse
-- | Error response.
PostDisputesDisputeResponseDefault :: Error -> PostDisputesDisputeResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostDisputesDispute.PostDisputesDisputeRequestBodyEvidence'
instance GHC.Show.Show StripeAPI.Operations.PostDisputesDispute.PostDisputesDisputeRequestBodyEvidence'
instance GHC.Classes.Eq StripeAPI.Operations.PostDisputesDispute.PostDisputesDisputeRequestBodyMetadata'Variants
instance GHC.Show.Show StripeAPI.Operations.PostDisputesDispute.PostDisputesDisputeRequestBodyMetadata'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostDisputesDispute.PostDisputesDisputeRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostDisputesDispute.PostDisputesDisputeRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostDisputesDispute.PostDisputesDisputeResponse
instance GHC.Show.Show StripeAPI.Operations.PostDisputesDispute.PostDisputesDisputeResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostDisputesDispute.PostDisputesDisputeRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostDisputesDispute.PostDisputesDisputeRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostDisputesDispute.PostDisputesDisputeRequestBodyMetadata'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostDisputesDispute.PostDisputesDisputeRequestBodyMetadata'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostDisputesDispute.PostDisputesDisputeRequestBodyEvidence'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostDisputesDispute.PostDisputesDisputeRequestBodyEvidence'
-- | Contains the different functions to run the operation
-- postCustomersCustomerTaxIds
module StripeAPI.Operations.PostCustomersCustomerTaxIds
-- |
-- POST /v1/customers/{customer}/tax_ids
--
--
-- <p>Creates a new <code>TaxID</code> object for a
-- customer.</p>
postCustomersCustomerTaxIds :: forall m. MonadHTTP m => Text -> PostCustomersCustomerTaxIdsRequestBody -> ClientT m (Response PostCustomersCustomerTaxIdsResponse)
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/tax_ids.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostCustomersCustomerTaxIdsRequestBody
PostCustomersCustomerTaxIdsRequestBody :: Maybe [Text] -> PostCustomersCustomerTaxIdsRequestBodyType' -> Text -> PostCustomersCustomerTaxIdsRequestBody
-- | expand: Specifies which fields in the response should be expanded.
[postCustomersCustomerTaxIdsRequestBodyExpand] :: PostCustomersCustomerTaxIdsRequestBody -> Maybe [Text]
-- | type: Type of the tax ID, one of `ae_trn`, `au_abn`, `br_cnpj`,
-- `br_cpf`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`,
-- `ca_pst_sk`, `ca_qst`, `ch_vat`, `cl_tin`, `es_cif`, `eu_vat`,
-- `gb_vat`, `hk_br`, `id_npwp`, `il_vat`, `in_gst`, `jp_cn`, `jp_rn`,
-- `kr_brn`, `li_uid`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `no_vat`,
-- `nz_gst`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `th_vat`,
-- `tw_vat`, `us_ein`, or `za_vat`
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerTaxIdsRequestBodyType] :: PostCustomersCustomerTaxIdsRequestBody -> PostCustomersCustomerTaxIdsRequestBodyType'
-- | value: Value of the tax ID.
[postCustomersCustomerTaxIdsRequestBodyValue] :: PostCustomersCustomerTaxIdsRequestBody -> Text
-- | Create a new PostCustomersCustomerTaxIdsRequestBody with all
-- required fields.
mkPostCustomersCustomerTaxIdsRequestBody :: PostCustomersCustomerTaxIdsRequestBodyType' -> Text -> PostCustomersCustomerTaxIdsRequestBody
-- | Defines the enum schema located at
-- paths./v1/customers/{customer}/tax_ids.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.type
-- in the specification.
--
-- Type of the tax ID, one of `ae_trn`, `au_abn`, `br_cnpj`, `br_cpf`,
-- `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`,
-- `ca_qst`, `ch_vat`, `cl_tin`, `es_cif`, `eu_vat`, `gb_vat`, `hk_br`,
-- `id_npwp`, `il_vat`, `in_gst`, `jp_cn`, `jp_rn`, `kr_brn`, `li_uid`,
-- `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `no_vat`, `nz_gst`, `ru_inn`,
-- `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `th_vat`, `tw_vat`, `us_ein`,
-- or `za_vat`
data PostCustomersCustomerTaxIdsRequestBodyType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostCustomersCustomerTaxIdsRequestBodyType'Other :: Value -> PostCustomersCustomerTaxIdsRequestBodyType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostCustomersCustomerTaxIdsRequestBodyType'Typed :: Text -> PostCustomersCustomerTaxIdsRequestBodyType'
-- | Represents the JSON value "ae_trn"
PostCustomersCustomerTaxIdsRequestBodyType'EnumAeTrn :: PostCustomersCustomerTaxIdsRequestBodyType'
-- | Represents the JSON value "au_abn"
PostCustomersCustomerTaxIdsRequestBodyType'EnumAuAbn :: PostCustomersCustomerTaxIdsRequestBodyType'
-- | Represents the JSON value "br_cnpj"
PostCustomersCustomerTaxIdsRequestBodyType'EnumBrCnpj :: PostCustomersCustomerTaxIdsRequestBodyType'
-- | Represents the JSON value "br_cpf"
PostCustomersCustomerTaxIdsRequestBodyType'EnumBrCpf :: PostCustomersCustomerTaxIdsRequestBodyType'
-- | Represents the JSON value "ca_bn"
PostCustomersCustomerTaxIdsRequestBodyType'EnumCaBn :: PostCustomersCustomerTaxIdsRequestBodyType'
-- | Represents the JSON value "ca_gst_hst"
PostCustomersCustomerTaxIdsRequestBodyType'EnumCaGstHst :: PostCustomersCustomerTaxIdsRequestBodyType'
-- | Represents the JSON value "ca_pst_bc"
PostCustomersCustomerTaxIdsRequestBodyType'EnumCaPstBc :: PostCustomersCustomerTaxIdsRequestBodyType'
-- | Represents the JSON value "ca_pst_mb"
PostCustomersCustomerTaxIdsRequestBodyType'EnumCaPstMb :: PostCustomersCustomerTaxIdsRequestBodyType'
-- | Represents the JSON value "ca_pst_sk"
PostCustomersCustomerTaxIdsRequestBodyType'EnumCaPstSk :: PostCustomersCustomerTaxIdsRequestBodyType'
-- | Represents the JSON value "ca_qst"
PostCustomersCustomerTaxIdsRequestBodyType'EnumCaQst :: PostCustomersCustomerTaxIdsRequestBodyType'
-- | Represents the JSON value "ch_vat"
PostCustomersCustomerTaxIdsRequestBodyType'EnumChVat :: PostCustomersCustomerTaxIdsRequestBodyType'
-- | Represents the JSON value "cl_tin"
PostCustomersCustomerTaxIdsRequestBodyType'EnumClTin :: PostCustomersCustomerTaxIdsRequestBodyType'
-- | Represents the JSON value "es_cif"
PostCustomersCustomerTaxIdsRequestBodyType'EnumEsCif :: PostCustomersCustomerTaxIdsRequestBodyType'
-- | Represents the JSON value "eu_vat"
PostCustomersCustomerTaxIdsRequestBodyType'EnumEuVat :: PostCustomersCustomerTaxIdsRequestBodyType'
-- | Represents the JSON value "gb_vat"
PostCustomersCustomerTaxIdsRequestBodyType'EnumGbVat :: PostCustomersCustomerTaxIdsRequestBodyType'
-- | Represents the JSON value "hk_br"
PostCustomersCustomerTaxIdsRequestBodyType'EnumHkBr :: PostCustomersCustomerTaxIdsRequestBodyType'
-- | Represents the JSON value "id_npwp"
PostCustomersCustomerTaxIdsRequestBodyType'EnumIdNpwp :: PostCustomersCustomerTaxIdsRequestBodyType'
-- | Represents the JSON value "il_vat"
PostCustomersCustomerTaxIdsRequestBodyType'EnumIlVat :: PostCustomersCustomerTaxIdsRequestBodyType'
-- | Represents the JSON value "in_gst"
PostCustomersCustomerTaxIdsRequestBodyType'EnumInGst :: PostCustomersCustomerTaxIdsRequestBodyType'
-- | Represents the JSON value "jp_cn"
PostCustomersCustomerTaxIdsRequestBodyType'EnumJpCn :: PostCustomersCustomerTaxIdsRequestBodyType'
-- | Represents the JSON value "jp_rn"
PostCustomersCustomerTaxIdsRequestBodyType'EnumJpRn :: PostCustomersCustomerTaxIdsRequestBodyType'
-- | Represents the JSON value "kr_brn"
PostCustomersCustomerTaxIdsRequestBodyType'EnumKrBrn :: PostCustomersCustomerTaxIdsRequestBodyType'
-- | Represents the JSON value "li_uid"
PostCustomersCustomerTaxIdsRequestBodyType'EnumLiUid :: PostCustomersCustomerTaxIdsRequestBodyType'
-- | Represents the JSON value "mx_rfc"
PostCustomersCustomerTaxIdsRequestBodyType'EnumMxRfc :: PostCustomersCustomerTaxIdsRequestBodyType'
-- | Represents the JSON value "my_frp"
PostCustomersCustomerTaxIdsRequestBodyType'EnumMyFrp :: PostCustomersCustomerTaxIdsRequestBodyType'
-- | Represents the JSON value "my_itn"
PostCustomersCustomerTaxIdsRequestBodyType'EnumMyItn :: PostCustomersCustomerTaxIdsRequestBodyType'
-- | Represents the JSON value "my_sst"
PostCustomersCustomerTaxIdsRequestBodyType'EnumMySst :: PostCustomersCustomerTaxIdsRequestBodyType'
-- | Represents the JSON value "no_vat"
PostCustomersCustomerTaxIdsRequestBodyType'EnumNoVat :: PostCustomersCustomerTaxIdsRequestBodyType'
-- | Represents the JSON value "nz_gst"
PostCustomersCustomerTaxIdsRequestBodyType'EnumNzGst :: PostCustomersCustomerTaxIdsRequestBodyType'
-- | Represents the JSON value "ru_inn"
PostCustomersCustomerTaxIdsRequestBodyType'EnumRuInn :: PostCustomersCustomerTaxIdsRequestBodyType'
-- | Represents the JSON value "ru_kpp"
PostCustomersCustomerTaxIdsRequestBodyType'EnumRuKpp :: PostCustomersCustomerTaxIdsRequestBodyType'
-- | Represents the JSON value "sa_vat"
PostCustomersCustomerTaxIdsRequestBodyType'EnumSaVat :: PostCustomersCustomerTaxIdsRequestBodyType'
-- | Represents the JSON value "sg_gst"
PostCustomersCustomerTaxIdsRequestBodyType'EnumSgGst :: PostCustomersCustomerTaxIdsRequestBodyType'
-- | Represents the JSON value "sg_uen"
PostCustomersCustomerTaxIdsRequestBodyType'EnumSgUen :: PostCustomersCustomerTaxIdsRequestBodyType'
-- | Represents the JSON value "th_vat"
PostCustomersCustomerTaxIdsRequestBodyType'EnumThVat :: PostCustomersCustomerTaxIdsRequestBodyType'
-- | Represents the JSON value "tw_vat"
PostCustomersCustomerTaxIdsRequestBodyType'EnumTwVat :: PostCustomersCustomerTaxIdsRequestBodyType'
-- | Represents the JSON value "us_ein"
PostCustomersCustomerTaxIdsRequestBodyType'EnumUsEin :: PostCustomersCustomerTaxIdsRequestBodyType'
-- | Represents the JSON value "za_vat"
PostCustomersCustomerTaxIdsRequestBodyType'EnumZaVat :: PostCustomersCustomerTaxIdsRequestBodyType'
-- | Represents a response of the operation
-- postCustomersCustomerTaxIds.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- PostCustomersCustomerTaxIdsResponseError is used.
data PostCustomersCustomerTaxIdsResponse
-- | Means either no matching case available or a parse error
PostCustomersCustomerTaxIdsResponseError :: String -> PostCustomersCustomerTaxIdsResponse
-- | Successful response.
PostCustomersCustomerTaxIdsResponse200 :: TaxId -> PostCustomersCustomerTaxIdsResponse
-- | Error response.
PostCustomersCustomerTaxIdsResponseDefault :: Error -> PostCustomersCustomerTaxIdsResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerTaxIds.PostCustomersCustomerTaxIdsRequestBodyType'
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerTaxIds.PostCustomersCustomerTaxIdsRequestBodyType'
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerTaxIds.PostCustomersCustomerTaxIdsRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerTaxIds.PostCustomersCustomerTaxIdsRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerTaxIds.PostCustomersCustomerTaxIdsResponse
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerTaxIds.PostCustomersCustomerTaxIdsResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerTaxIds.PostCustomersCustomerTaxIdsRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerTaxIds.PostCustomersCustomerTaxIdsRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerTaxIds.PostCustomersCustomerTaxIdsRequestBodyType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerTaxIds.PostCustomersCustomerTaxIdsRequestBodyType'
-- | Contains the different functions to run the operation
-- postCustomersCustomerSubscriptionsSubscriptionExposedId
module StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId
-- |
-- POST /v1/customers/{customer}/subscriptions/{subscription_exposed_id}
--
--
-- <p>Updates an existing subscription on a customer to match the
-- specified parameters. When changing plans or quantities, we will
-- optionally prorate the price we charge next month to make up for any
-- price changes. To preview how the proration will be calculated, use
-- the <a href="#upcoming_invoice">upcoming invoice</a>
-- endpoint.</p>
postCustomersCustomerSubscriptionsSubscriptionExposedId :: forall m. MonadHTTP m => PostCustomersCustomerSubscriptionsSubscriptionExposedIdParameters -> Maybe PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBody -> ClientT m (Response PostCustomersCustomerSubscriptionsSubscriptionExposedIdResponse)
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/subscriptions/{subscription_exposed_id}.POST.parameters
-- in the specification.
data PostCustomersCustomerSubscriptionsSubscriptionExposedIdParameters
PostCustomersCustomerSubscriptionsSubscriptionExposedIdParameters :: Text -> Text -> PostCustomersCustomerSubscriptionsSubscriptionExposedIdParameters
-- | pathCustomer: Represents the parameter named 'customer'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSubscriptionsSubscriptionExposedIdParametersPathCustomer] :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdParameters -> Text
-- | pathSubscription_exposed_id: Represents the parameter named
-- 'subscription_exposed_id'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSubscriptionsSubscriptionExposedIdParametersPathSubscriptionExposedId] :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdParameters -> Text
-- | Create a new
-- PostCustomersCustomerSubscriptionsSubscriptionExposedIdParameters
-- with all required fields.
mkPostCustomersCustomerSubscriptionsSubscriptionExposedIdParameters :: Text -> Text -> PostCustomersCustomerSubscriptionsSubscriptionExposedIdParameters
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBody
PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBody :: Maybe [PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'] -> Maybe Double -> Maybe PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAutomaticTax' -> Maybe PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyBillingCycleAnchor' -> Maybe PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyBillingThresholds'Variants -> Maybe PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyCancelAt'Variants -> Maybe Bool -> Maybe PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyCollectionMethod' -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyDefaultTaxRates'Variants -> Maybe [Text] -> Maybe [PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'] -> Maybe PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyMetadata'Variants -> Maybe Bool -> Maybe PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'Variants -> Maybe PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPaymentBehavior' -> Maybe PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'Variants -> Maybe Text -> Maybe PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyProrationBehavior' -> Maybe Int -> Maybe PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyTransferData'Variants -> Maybe PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyTrialEnd'Variants -> Maybe Bool -> PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBody
-- | add_invoice_items: A list of prices and quantities that will generate
-- invoice items appended to the first invoice for this subscription. You
-- may pass up to 20 items.
[postCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems] :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBody -> Maybe [PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems']
-- | application_fee_percent: A non-negative decimal between 0 and 100,
-- with at most two decimal places. This represents the percentage of the
-- subscription invoice subtotal that will be transferred to the
-- application owner's Stripe account. The request must be made by a
-- platform account on a connected account in order to set an application
-- fee percentage. For more information, see the application fees
-- documentation.
[postCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyApplicationFeePercent] :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBody -> Maybe Double
-- | automatic_tax: Automatic tax settings for this subscription.
[postCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAutomaticTax] :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBody -> Maybe PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAutomaticTax'
-- | billing_cycle_anchor: Either `now` or `unchanged`. Setting the value
-- to `now` resets the subscription's billing cycle anchor to the current
-- time. For more information, see the billing cycle
-- documentation.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyBillingCycleAnchor] :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBody -> Maybe PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyBillingCycleAnchor'
-- | billing_thresholds: Define thresholds at which an invoice will be
-- sent, and the subscription advanced to a new billing period. Pass an
-- empty string to remove previously-defined thresholds.
[postCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyBillingThresholds] :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBody -> Maybe PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyBillingThresholds'Variants
-- | cancel_at: A timestamp at which the subscription should cancel. If set
-- to a date before the current period ends, this will cause a proration
-- if prorations have been enabled using `proration_behavior`. If set
-- during a future period, this will always cause a proration for that
-- period.
[postCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyCancelAt] :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBody -> Maybe PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyCancelAt'Variants
-- | cancel_at_period_end: Boolean indicating whether this subscription
-- should cancel at the end of the current period.
[postCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyCancelAtPeriodEnd] :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBody -> Maybe Bool
-- | collection_method: Either `charge_automatically`, or `send_invoice`.
-- When charging automatically, Stripe will attempt to pay this
-- subscription at the end of the cycle using the default source attached
-- to the customer. When sending an invoice, Stripe will email your
-- customer an invoice with payment instructions. Defaults to
-- `charge_automatically`.
[postCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyCollectionMethod] :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBody -> Maybe PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyCollectionMethod'
-- | coupon: The ID of the coupon to apply to this subscription. A coupon
-- applied to a subscription will only affect invoices created for that
-- particular subscription.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyCoupon] :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBody -> Maybe Text
-- | days_until_due: Number of days a customer has to pay invoices
-- generated by this subscription. Valid only for subscriptions where
-- `collection_method` is set to `send_invoice`.
[postCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyDaysUntilDue] :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBody -> Maybe Int
-- | default_payment_method: ID of the default payment method for the
-- subscription. It must belong to the customer associated with the
-- subscription. This takes precedence over `default_source`. If neither
-- are set, invoices will use the customer's
-- invoice_settings.default_payment_method or
-- default_source.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyDefaultPaymentMethod] :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBody -> Maybe Text
-- | default_source: ID of the default payment source for the subscription.
-- It must belong to the customer associated with the subscription and be
-- in a chargeable state. If `default_payment_method` is also set,
-- `default_payment_method` will take precedence. If neither are set,
-- invoices will use the customer's
-- invoice_settings.default_payment_method or
-- default_source.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyDefaultSource] :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBody -> Maybe Text
-- | default_tax_rates: The tax rates that will apply to any subscription
-- item that does not have `tax_rates` set. Invoices created will have
-- their `default_tax_rates` populated from the subscription. Pass an
-- empty string to remove previously-defined tax rates.
[postCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyDefaultTaxRates] :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBody -> Maybe PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyDefaultTaxRates'Variants
-- | expand: Specifies which fields in the response should be expanded.
[postCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyExpand] :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBody -> Maybe [Text]
-- | items: A list of up to 20 subscription items, each with an attached
-- price.
[postCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems] :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBody -> Maybe [PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems']
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyMetadata] :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBody -> Maybe PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyMetadata'Variants
-- | off_session: Indicates if a customer is on or off-session while an
-- invoice payment is attempted.
[postCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyOffSession] :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBody -> Maybe Bool
-- | pause_collection: If specified, payment collection for this
-- subscription will be paused.
[postCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection] :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBody -> Maybe PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'Variants
-- | payment_behavior: Use `allow_incomplete` to transition the
-- subscription to `status=past_due` if a payment is required but cannot
-- be paid. This allows you to manage scenarios where additional user
-- actions are needed to pay a subscription's invoice. For example, SCA
-- regulation may require 3DS authentication to complete payment. See the
-- SCA Migration Guide for Billing to learn more. This is the
-- default behavior.
--
-- Use `default_incomplete` to transition the subscription to
-- `status=past_due` when payment is required and await explicit
-- confirmation of the invoice's payment intent. This allows simpler
-- management of scenarios where additional user actions are needed to
-- pay a subscription’s invoice. Such as failed payments, SCA
-- regulation, or collecting a mandate for a bank debit payment
-- method.
--
-- Use `pending_if_incomplete` to update the subscription using
-- pending updates. When you use `pending_if_incomplete` you can
-- only pass the parameters supported by pending updates.
--
-- Use `error_if_incomplete` if you want Stripe to return an HTTP 402
-- status code if a subscription's invoice cannot be paid. For example,
-- if a payment method requires 3DS authentication due to SCA regulation
-- and further user action is needed, this parameter does not update the
-- subscription and returns an error instead. This was the default
-- behavior for API versions prior to 2019-03-14. See the
-- changelog to learn more.
[postCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPaymentBehavior] :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBody -> Maybe PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPaymentBehavior'
-- | pending_invoice_item_interval: Specifies an interval for how often to
-- bill for any pending invoice items. It is analogous to calling
-- Create an invoice for the given subscription at the specified
-- interval.
[postCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval] :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBody -> Maybe PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'Variants
-- | promotion_code: The promotion code to apply to this subscription. A
-- promotion code applied to a subscription will only affect invoices
-- created for that particular subscription.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPromotionCode] :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBody -> Maybe Text
-- | proration_behavior: Determines how to handle prorations when
-- the billing cycle changes (e.g., when switching plans, resetting
-- `billing_cycle_anchor=now`, or starting a trial), or if an item's
-- `quantity` changes. Valid values are `create_prorations`, `none`, or
-- `always_invoice`.
--
-- Passing `create_prorations` will cause proration invoice items to be
-- created when applicable. These proration items will only be invoiced
-- immediately under certain conditions. In order to always
-- invoice immediately for prorations, pass `always_invoice`.
--
-- Prorations can be disabled by passing `none`.
[postCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyProrationBehavior] :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBody -> Maybe PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyProrationBehavior'
-- | proration_date: If set, the proration will be calculated as though the
-- subscription was updated at the given time. This can be used to apply
-- exactly the same proration that was previewed with upcoming
-- invoice endpoint. It can also be used to implement custom
-- proration logic, such as prorating by day instead of by second, by
-- providing the time that you wish to use for proration calculations.
[postCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyProrationDate] :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBody -> Maybe Int
-- | transfer_data: If specified, the funds from the subscription's
-- invoices will be transferred to the destination and the ID of the
-- resulting transfers will be found on the resulting charges. This will
-- be unset if you POST an empty value.
[postCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyTransferData] :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBody -> Maybe PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyTransferData'Variants
-- | trial_end: Unix timestamp representing the end of the trial period the
-- customer will get before being charged for the first time. This will
-- always overwrite any trials that might apply via a subscribed plan. If
-- set, trial_end will override the default trial period of the plan the
-- customer is being subscribed to. The special value `now` can be
-- provided to end the customer's trial immediately. Can be at most two
-- years from `billing_cycle_anchor`.
[postCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyTrialEnd] :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBody -> Maybe PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyTrialEnd'Variants
-- | trial_from_plan: Indicates if a plan's `trial_period_days` should be
-- applied to the subscription. Setting `trial_end` per subscription is
-- preferred, and this defaults to `false`. Setting this flag to `true`
-- together with `trial_end` is not allowed.
[postCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyTrialFromPlan] :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBody -> Maybe Bool
-- | Create a new
-- PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBody
-- with all required fields.
mkPostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBody :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBody
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.add_invoice_items.items
-- in the specification.
data PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'
PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems' :: Maybe Text -> Maybe PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'PriceData' -> Maybe Int -> Maybe PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'TaxRates'Variants -> PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'
-- | price
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'Price] :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems' -> Maybe Text
-- | price_data
[postCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'PriceData] :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems' -> Maybe PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'PriceData'
-- | quantity
[postCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'Quantity] :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems' -> Maybe Int
-- | tax_rates
[postCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'TaxRates] :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems' -> Maybe PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'TaxRates'Variants
-- | Create a new
-- PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'
-- with all required fields.
mkPostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems' :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.add_invoice_items.items.properties.price_data
-- in the specification.
data PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'PriceData'
PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'PriceData' :: Text -> Text -> Maybe PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'PriceData'TaxBehavior' -> Maybe Int -> Maybe Text -> PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'PriceData'
-- | currency
[postCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'PriceData'Currency] :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'PriceData' -> Text
-- | product
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'PriceData'Product] :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'PriceData' -> Text
-- | tax_behavior
[postCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'PriceData'TaxBehavior] :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'PriceData' -> Maybe PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'PriceData'TaxBehavior'
-- | unit_amount
[postCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'PriceData'UnitAmount] :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'PriceData' -> Maybe Int
-- | unit_amount_decimal
[postCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'PriceData'UnitAmountDecimal] :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'PriceData' -> Maybe Text
-- | Create a new
-- PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'PriceData'
-- with all required fields.
mkPostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'PriceData' :: Text -> Text -> PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'PriceData'
-- | Defines the enum schema located at
-- paths./v1/customers/{customer}/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.add_invoice_items.items.properties.price_data.properties.tax_behavior
-- in the specification.
data PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'PriceData'TaxBehavior'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'PriceData'TaxBehavior'Other :: Value -> PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'PriceData'TaxBehavior'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'PriceData'TaxBehavior'Typed :: Text -> PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'PriceData'TaxBehavior'
-- | Represents the JSON value "exclusive"
PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'PriceData'TaxBehavior'EnumExclusive :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'PriceData'TaxBehavior'
-- | Represents the JSON value "inclusive"
PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'PriceData'TaxBehavior'EnumInclusive :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'PriceData'TaxBehavior'
-- | Represents the JSON value "unspecified"
PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'PriceData'TaxBehavior'EnumUnspecified :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'PriceData'TaxBehavior'
-- | Defines the oneOf schema located at
-- paths./v1/customers/{customer}/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.add_invoice_items.items.properties.tax_rates.anyOf
-- in the specification.
data PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'TaxRates'Variants
-- | Represents the JSON value ""
PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'TaxRates'EmptyString :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'TaxRates'Variants
PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'TaxRates'ListTText :: [Text] -> PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'TaxRates'Variants
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.automatic_tax
-- in the specification.
--
-- Automatic tax settings for this subscription.
data PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAutomaticTax'
PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAutomaticTax' :: Bool -> PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAutomaticTax'
-- | enabled
[postCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAutomaticTax'Enabled] :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAutomaticTax' -> Bool
-- | Create a new
-- PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAutomaticTax'
-- with all required fields.
mkPostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAutomaticTax' :: Bool -> PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAutomaticTax'
-- | Defines the enum schema located at
-- paths./v1/customers/{customer}/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.billing_cycle_anchor
-- in the specification.
--
-- Either `now` or `unchanged`. Setting the value to `now` resets the
-- subscription's billing cycle anchor to the current time. For more
-- information, see the billing cycle documentation.
data PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyBillingCycleAnchor'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyBillingCycleAnchor'Other :: Value -> PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyBillingCycleAnchor'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyBillingCycleAnchor'Typed :: Text -> PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyBillingCycleAnchor'
-- | Represents the JSON value "now"
PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyBillingCycleAnchor'EnumNow :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyBillingCycleAnchor'
-- | Represents the JSON value "unchanged"
PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyBillingCycleAnchor'EnumUnchanged :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyBillingCycleAnchor'
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.billing_thresholds.anyOf
-- in the specification.
data PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyBillingThresholds'OneOf1
PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyBillingThresholds'OneOf1 :: Maybe Int -> Maybe Bool -> PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyBillingThresholds'OneOf1
-- | amount_gte
[postCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyBillingThresholds'OneOf1AmountGte] :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyBillingThresholds'OneOf1 -> Maybe Int
-- | reset_billing_cycle_anchor
[postCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyBillingThresholds'OneOf1ResetBillingCycleAnchor] :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyBillingThresholds'OneOf1 -> Maybe Bool
-- | Create a new
-- PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyBillingThresholds'OneOf1
-- with all required fields.
mkPostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyBillingThresholds'OneOf1 :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyBillingThresholds'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/customers/{customer}/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.billing_thresholds.anyOf
-- in the specification.
--
-- Define thresholds at which an invoice will be sent, and the
-- subscription advanced to a new billing period. Pass an empty string to
-- remove previously-defined thresholds.
data PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyBillingThresholds'Variants
-- | Represents the JSON value ""
PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyBillingThresholds'EmptyString :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyBillingThresholds'Variants
PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyBillingThresholds'PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyBillingThresholds'OneOf1 :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyBillingThresholds'OneOf1 -> PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyBillingThresholds'Variants
-- | Defines the oneOf schema located at
-- paths./v1/customers/{customer}/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.cancel_at.anyOf
-- in the specification.
--
-- A timestamp at which the subscription should cancel. If set to a date
-- before the current period ends, this will cause a proration if
-- prorations have been enabled using `proration_behavior`. If set during
-- a future period, this will always cause a proration for that period.
data PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyCancelAt'Variants
-- | Represents the JSON value ""
PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyCancelAt'EmptyString :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyCancelAt'Variants
PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyCancelAt'Int :: Int -> PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyCancelAt'Variants
-- | Defines the enum schema located at
-- paths./v1/customers/{customer}/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.collection_method
-- in the specification.
--
-- Either `charge_automatically`, or `send_invoice`. When charging
-- automatically, Stripe will attempt to pay this subscription at the end
-- of the cycle using the default source attached to the customer. When
-- sending an invoice, Stripe will email your customer an invoice with
-- payment instructions. Defaults to `charge_automatically`.
data PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyCollectionMethod'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyCollectionMethod'Other :: Value -> PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyCollectionMethod'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyCollectionMethod'Typed :: Text -> PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyCollectionMethod'
-- | Represents the JSON value "charge_automatically"
PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyCollectionMethod'EnumChargeAutomatically :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyCollectionMethod'
-- | Represents the JSON value "send_invoice"
PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyCollectionMethod'EnumSendInvoice :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyCollectionMethod'
-- | Defines the oneOf schema located at
-- paths./v1/customers/{customer}/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.default_tax_rates.anyOf
-- in the specification.
--
-- The tax rates that will apply to any subscription item that does not
-- have `tax_rates` set. Invoices created will have their
-- `default_tax_rates` populated from the subscription. Pass an empty
-- string to remove previously-defined tax rates.
data PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyDefaultTaxRates'Variants
-- | Represents the JSON value ""
PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyDefaultTaxRates'EmptyString :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyDefaultTaxRates'Variants
PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyDefaultTaxRates'ListTText :: [Text] -> PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyDefaultTaxRates'Variants
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.items.items
-- in the specification.
data PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'
PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems' :: Maybe PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'BillingThresholds'Variants -> Maybe Bool -> Maybe Bool -> Maybe Text -> Maybe PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'Metadata'Variants -> Maybe Text -> Maybe PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData' -> Maybe Int -> Maybe PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'TaxRates'Variants -> PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'
-- | billing_thresholds
[postCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'BillingThresholds] :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems' -> Maybe PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'BillingThresholds'Variants
-- | clear_usage
[postCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'ClearUsage] :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems' -> Maybe Bool
-- | deleted
[postCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'Deleted] :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems' -> Maybe Bool
-- | id
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'Id] :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems' -> Maybe Text
-- | metadata
[postCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'Metadata] :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems' -> Maybe PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'Metadata'Variants
-- | price
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'Price] :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems' -> Maybe Text
-- | price_data
[postCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData] :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems' -> Maybe PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'
-- | quantity
[postCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'Quantity] :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems' -> Maybe Int
-- | tax_rates
[postCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'TaxRates] :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems' -> Maybe PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'TaxRates'Variants
-- | Create a new
-- PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'
-- with all required fields.
mkPostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems' :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.items.items.properties.billing_thresholds.anyOf
-- in the specification.
data PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'BillingThresholds'OneOf1
PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'BillingThresholds'OneOf1 :: Int -> PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'BillingThresholds'OneOf1
-- | usage_gte
[postCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'BillingThresholds'OneOf1UsageGte] :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'BillingThresholds'OneOf1 -> Int
-- | Create a new
-- PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'BillingThresholds'OneOf1
-- with all required fields.
mkPostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'BillingThresholds'OneOf1 :: Int -> PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'BillingThresholds'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/customers/{customer}/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.items.items.properties.billing_thresholds.anyOf
-- in the specification.
data PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'BillingThresholds'Variants
-- | Represents the JSON value ""
PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'BillingThresholds'EmptyString :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'BillingThresholds'Variants
PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'BillingThresholds'PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'BillingThresholds'OneOf1 :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'BillingThresholds'OneOf1 -> PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'BillingThresholds'Variants
-- | Defines the oneOf schema located at
-- paths./v1/customers/{customer}/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.items.items.properties.metadata.anyOf
-- in the specification.
data PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'Metadata'Variants
-- | Represents the JSON value ""
PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'Metadata'EmptyString :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'Metadata'Variants
PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'Metadata'Object :: Object -> PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'Metadata'Variants
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.items.items.properties.price_data
-- in the specification.
data PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'
PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData' :: Text -> Text -> PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'Recurring' -> Maybe PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'TaxBehavior' -> Maybe Int -> Maybe Text -> PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'
-- | currency
[postCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'Currency] :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData' -> Text
-- | product
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'Product] :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData' -> Text
-- | recurring
[postCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'Recurring] :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData' -> PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'Recurring'
-- | tax_behavior
[postCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'TaxBehavior] :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData' -> Maybe PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'TaxBehavior'
-- | unit_amount
[postCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'UnitAmount] :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData' -> Maybe Int
-- | unit_amount_decimal
[postCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'UnitAmountDecimal] :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData' -> Maybe Text
-- | Create a new
-- PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'
-- with all required fields.
mkPostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData' :: Text -> Text -> PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'Recurring' -> PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.items.items.properties.price_data.properties.recurring
-- in the specification.
data PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'Recurring'
PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'Recurring' :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'Recurring'Interval' -> Maybe Int -> PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'Recurring'
-- | interval
[postCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'Recurring'Interval] :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'Recurring' -> PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'Recurring'Interval'
-- | interval_count
[postCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'Recurring'IntervalCount] :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'Recurring' -> Maybe Int
-- | Create a new
-- PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'Recurring'
-- with all required fields.
mkPostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'Recurring' :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'Recurring'Interval' -> PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'Recurring'
-- | Defines the enum schema located at
-- paths./v1/customers/{customer}/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.items.items.properties.price_data.properties.recurring.properties.interval
-- in the specification.
data PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'Recurring'Interval'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'Recurring'Interval'Other :: Value -> PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'Recurring'Interval'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'Recurring'Interval'Typed :: Text -> PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'Recurring'Interval'
-- | Represents the JSON value "day"
PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'Recurring'Interval'EnumDay :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'Recurring'Interval'
-- | Represents the JSON value "month"
PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'Recurring'Interval'EnumMonth :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'Recurring'Interval'
-- | Represents the JSON value "week"
PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'Recurring'Interval'EnumWeek :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'Recurring'Interval'
-- | Represents the JSON value "year"
PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'Recurring'Interval'EnumYear :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'Recurring'Interval'
-- | Defines the enum schema located at
-- paths./v1/customers/{customer}/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.items.items.properties.price_data.properties.tax_behavior
-- in the specification.
data PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'TaxBehavior'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'TaxBehavior'Other :: Value -> PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'TaxBehavior'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'TaxBehavior'Typed :: Text -> PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'TaxBehavior'
-- | Represents the JSON value "exclusive"
PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'TaxBehavior'EnumExclusive :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'TaxBehavior'
-- | Represents the JSON value "inclusive"
PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'TaxBehavior'EnumInclusive :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'TaxBehavior'
-- | Represents the JSON value "unspecified"
PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'TaxBehavior'EnumUnspecified :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'TaxBehavior'
-- | Defines the oneOf schema located at
-- paths./v1/customers/{customer}/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.items.items.properties.tax_rates.anyOf
-- in the specification.
data PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'TaxRates'Variants
-- | Represents the JSON value ""
PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'TaxRates'EmptyString :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'TaxRates'Variants
PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'TaxRates'ListTText :: [Text] -> PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'TaxRates'Variants
-- | Defines the oneOf schema located at
-- paths./v1/customers/{customer}/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.metadata.anyOf
-- in the specification.
--
-- Set of key-value pairs that you can attach to an object. This
-- can be useful for storing additional information about the object in a
-- structured format. Individual keys can be unset by posting an empty
-- value to them. All keys can be unset by posting an empty value to
-- `metadata`.
data PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyMetadata'Variants
-- | Represents the JSON value ""
PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyMetadata'EmptyString :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyMetadata'Variants
PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyMetadata'Object :: Object -> PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyMetadata'Variants
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.pause_collection.anyOf
-- in the specification.
data PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'OneOf1
PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'OneOf1 :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'OneOf1Behavior' -> Maybe Int -> PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'OneOf1
-- | behavior
[postCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'OneOf1Behavior] :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'OneOf1 -> PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'OneOf1Behavior'
-- | resumes_at
[postCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'OneOf1ResumesAt] :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'OneOf1 -> Maybe Int
-- | Create a new
-- PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'OneOf1
-- with all required fields.
mkPostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'OneOf1 :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'OneOf1Behavior' -> PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'OneOf1
-- | Defines the enum schema located at
-- paths./v1/customers/{customer}/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.pause_collection.anyOf.properties.behavior
-- in the specification.
data PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'OneOf1Behavior'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'OneOf1Behavior'Other :: Value -> PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'OneOf1Behavior'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'OneOf1Behavior'Typed :: Text -> PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'OneOf1Behavior'
-- | Represents the JSON value "keep_as_draft"
PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'OneOf1Behavior'EnumKeepAsDraft :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'OneOf1Behavior'
-- | Represents the JSON value "mark_uncollectible"
PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'OneOf1Behavior'EnumMarkUncollectible :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'OneOf1Behavior'
-- | Represents the JSON value "void"
PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'OneOf1Behavior'EnumVoid :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'OneOf1Behavior'
-- | Defines the oneOf schema located at
-- paths./v1/customers/{customer}/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.pause_collection.anyOf
-- in the specification.
--
-- If specified, payment collection for this subscription will be paused.
data PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'Variants
-- | Represents the JSON value ""
PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'EmptyString :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'Variants
PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'OneOf1 :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'OneOf1 -> PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'Variants
-- | Defines the enum schema located at
-- paths./v1/customers/{customer}/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_behavior
-- in the specification.
--
-- Use `allow_incomplete` to transition the subscription to
-- `status=past_due` if a payment is required but cannot be paid. This
-- allows you to manage scenarios where additional user actions are
-- needed to pay a subscription's invoice. For example, SCA regulation
-- may require 3DS authentication to complete payment. See the SCA
-- Migration Guide for Billing to learn more. This is the default
-- behavior.
--
-- Use `default_incomplete` to transition the subscription to
-- `status=past_due` when payment is required and await explicit
-- confirmation of the invoice's payment intent. This allows simpler
-- management of scenarios where additional user actions are needed to
-- pay a subscription’s invoice. Such as failed payments, SCA
-- regulation, or collecting a mandate for a bank debit payment
-- method.
--
-- Use `pending_if_incomplete` to update the subscription using
-- pending updates. When you use `pending_if_incomplete` you can
-- only pass the parameters supported by pending updates.
--
-- Use `error_if_incomplete` if you want Stripe to return an HTTP 402
-- status code if a subscription's invoice cannot be paid. For example,
-- if a payment method requires 3DS authentication due to SCA regulation
-- and further user action is needed, this parameter does not update the
-- subscription and returns an error instead. This was the default
-- behavior for API versions prior to 2019-03-14. See the
-- changelog to learn more.
data PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPaymentBehavior'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPaymentBehavior'Other :: Value -> PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPaymentBehavior'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPaymentBehavior'Typed :: Text -> PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPaymentBehavior'
-- | Represents the JSON value "allow_incomplete"
PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPaymentBehavior'EnumAllowIncomplete :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPaymentBehavior'
-- | Represents the JSON value "default_incomplete"
PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPaymentBehavior'EnumDefaultIncomplete :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPaymentBehavior'
-- | Represents the JSON value "error_if_incomplete"
PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPaymentBehavior'EnumErrorIfIncomplete :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPaymentBehavior'
-- | Represents the JSON value "pending_if_incomplete"
PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPaymentBehavior'EnumPendingIfIncomplete :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPaymentBehavior'
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.pending_invoice_item_interval.anyOf
-- in the specification.
data PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'OneOf1
PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'OneOf1 :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'OneOf1Interval' -> Maybe Int -> PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'OneOf1
-- | interval
[postCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'OneOf1Interval] :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'OneOf1 -> PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'OneOf1Interval'
-- | interval_count
[postCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'OneOf1IntervalCount] :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'OneOf1 -> Maybe Int
-- | Create a new
-- PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'OneOf1
-- with all required fields.
mkPostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'OneOf1 :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'OneOf1Interval' -> PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'OneOf1
-- | Defines the enum schema located at
-- paths./v1/customers/{customer}/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.pending_invoice_item_interval.anyOf.properties.interval
-- in the specification.
data PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'OneOf1Interval'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'OneOf1Interval'Other :: Value -> PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'OneOf1Interval'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'OneOf1Interval'Typed :: Text -> PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'OneOf1Interval'
-- | Represents the JSON value "day"
PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'OneOf1Interval'EnumDay :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'OneOf1Interval'
-- | Represents the JSON value "month"
PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'OneOf1Interval'EnumMonth :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'OneOf1Interval'
-- | Represents the JSON value "week"
PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'OneOf1Interval'EnumWeek :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'OneOf1Interval'
-- | Represents the JSON value "year"
PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'OneOf1Interval'EnumYear :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'OneOf1Interval'
-- | Defines the oneOf schema located at
-- paths./v1/customers/{customer}/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.pending_invoice_item_interval.anyOf
-- in the specification.
--
-- Specifies an interval for how often to bill for any pending invoice
-- items. It is analogous to calling Create an invoice for the
-- given subscription at the specified interval.
data PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'Variants
-- | Represents the JSON value ""
PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'EmptyString :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'Variants
PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'OneOf1 :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'OneOf1 -> PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'Variants
-- | Defines the enum schema located at
-- paths./v1/customers/{customer}/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.proration_behavior
-- in the specification.
--
-- Determines how to handle prorations when the billing cycle
-- changes (e.g., when switching plans, resetting
-- `billing_cycle_anchor=now`, or starting a trial), or if an item's
-- `quantity` changes. Valid values are `create_prorations`, `none`, or
-- `always_invoice`.
--
-- Passing `create_prorations` will cause proration invoice items to be
-- created when applicable. These proration items will only be invoiced
-- immediately under certain conditions. In order to always
-- invoice immediately for prorations, pass `always_invoice`.
--
-- Prorations can be disabled by passing `none`.
data PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyProrationBehavior'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyProrationBehavior'Other :: Value -> PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyProrationBehavior'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyProrationBehavior'Typed :: Text -> PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyProrationBehavior'
-- | Represents the JSON value "always_invoice"
PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyProrationBehavior'EnumAlwaysInvoice :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyProrationBehavior'
-- | Represents the JSON value "create_prorations"
PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyProrationBehavior'EnumCreateProrations :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyProrationBehavior'
-- | Represents the JSON value "none"
PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyProrationBehavior'EnumNone :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyProrationBehavior'
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.transfer_data.anyOf
-- in the specification.
data PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyTransferData'OneOf1
PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyTransferData'OneOf1 :: Maybe Double -> Text -> PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyTransferData'OneOf1
-- | amount_percent
[postCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyTransferData'OneOf1AmountPercent] :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyTransferData'OneOf1 -> Maybe Double
-- | destination
[postCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyTransferData'OneOf1Destination] :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyTransferData'OneOf1 -> Text
-- | Create a new
-- PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyTransferData'OneOf1
-- with all required fields.
mkPostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyTransferData'OneOf1 :: Text -> PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyTransferData'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/customers/{customer}/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.transfer_data.anyOf
-- in the specification.
--
-- If specified, the funds from the subscription's invoices will be
-- transferred to the destination and the ID of the resulting transfers
-- will be found on the resulting charges. This will be unset if you POST
-- an empty value.
data PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyTransferData'Variants
-- | Represents the JSON value ""
PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyTransferData'EmptyString :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyTransferData'Variants
PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyTransferData'PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyTransferData'OneOf1 :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyTransferData'OneOf1 -> PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyTransferData'Variants
-- | Defines the oneOf schema located at
-- paths./v1/customers/{customer}/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.trial_end.anyOf
-- in the specification.
--
-- Unix timestamp representing the end of the trial period the customer
-- will get before being charged for the first time. This will always
-- overwrite any trials that might apply via a subscribed plan. If set,
-- trial_end will override the default trial period of the plan the
-- customer is being subscribed to. The special value `now` can be
-- provided to end the customer's trial immediately. Can be at most two
-- years from `billing_cycle_anchor`.
data PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyTrialEnd'Variants
-- | Represents the JSON value "now"
PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyTrialEnd'Now :: PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyTrialEnd'Variants
PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyTrialEnd'Int :: Int -> PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyTrialEnd'Variants
-- | Represents a response of the operation
-- postCustomersCustomerSubscriptionsSubscriptionExposedId.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- PostCustomersCustomerSubscriptionsSubscriptionExposedIdResponseError
-- is used.
data PostCustomersCustomerSubscriptionsSubscriptionExposedIdResponse
-- | Means either no matching case available or a parse error
PostCustomersCustomerSubscriptionsSubscriptionExposedIdResponseError :: String -> PostCustomersCustomerSubscriptionsSubscriptionExposedIdResponse
-- | Successful response.
PostCustomersCustomerSubscriptionsSubscriptionExposedIdResponse200 :: Subscription -> PostCustomersCustomerSubscriptionsSubscriptionExposedIdResponse
-- | Error response.
PostCustomersCustomerSubscriptionsSubscriptionExposedIdResponseDefault :: Error -> PostCustomersCustomerSubscriptionsSubscriptionExposedIdResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdParameters
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdParameters
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'PriceData'TaxBehavior'
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'PriceData'TaxBehavior'
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'PriceData'
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'PriceData'
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'TaxRates'Variants
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'TaxRates'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAutomaticTax'
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAutomaticTax'
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyBillingCycleAnchor'
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyBillingCycleAnchor'
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyBillingThresholds'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyBillingThresholds'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyBillingThresholds'Variants
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyBillingThresholds'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyCancelAt'Variants
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyCancelAt'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyCollectionMethod'
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyCollectionMethod'
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyDefaultTaxRates'Variants
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyDefaultTaxRates'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'BillingThresholds'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'BillingThresholds'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'BillingThresholds'Variants
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'BillingThresholds'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'Metadata'Variants
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'Metadata'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'Recurring'Interval'
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'Recurring'Interval'
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'Recurring'
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'Recurring'
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'TaxBehavior'
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'TaxBehavior'
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'TaxRates'Variants
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'TaxRates'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyMetadata'Variants
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyMetadata'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'OneOf1Behavior'
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'OneOf1Behavior'
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'Variants
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPaymentBehavior'
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPaymentBehavior'
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'OneOf1Interval'
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'OneOf1Interval'
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'Variants
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyProrationBehavior'
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyProrationBehavior'
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyTransferData'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyTransferData'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyTransferData'Variants
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyTransferData'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyTrialEnd'Variants
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyTrialEnd'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdResponse
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyTrialEnd'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyTrialEnd'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyTransferData'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyTransferData'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyTransferData'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyTransferData'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyProrationBehavior'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyProrationBehavior'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'OneOf1Interval'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'OneOf1Interval'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPaymentBehavior'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPaymentBehavior'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'OneOf1Behavior'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'OneOf1Behavior'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyMetadata'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyMetadata'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'TaxRates'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'TaxRates'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'TaxBehavior'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'TaxBehavior'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'Recurring'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'Recurring'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'Recurring'Interval'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'Recurring'Interval'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'Metadata'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'Metadata'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'BillingThresholds'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'BillingThresholds'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'BillingThresholds'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'BillingThresholds'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyDefaultTaxRates'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyDefaultTaxRates'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyCollectionMethod'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyCollectionMethod'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyCancelAt'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyCancelAt'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyBillingThresholds'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyBillingThresholds'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyBillingThresholds'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyBillingThresholds'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyBillingCycleAnchor'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyBillingCycleAnchor'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAutomaticTax'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAutomaticTax'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'TaxRates'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'TaxRates'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'PriceData'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'PriceData'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'PriceData'TaxBehavior'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'PriceData'TaxBehavior'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId.PostCustomersCustomerSubscriptionsSubscriptionExposedIdParameters
-- | Contains the different functions to run the operation
-- postCustomersCustomerSubscriptions
module StripeAPI.Operations.PostCustomersCustomerSubscriptions
-- |
-- POST /v1/customers/{customer}/subscriptions
--
--
-- <p>Creates a new subscription on an existing customer.</p>
postCustomersCustomerSubscriptions :: forall m. MonadHTTP m => Text -> Maybe PostCustomersCustomerSubscriptionsRequestBody -> ClientT m (Response PostCustomersCustomerSubscriptionsResponse)
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/subscriptions.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostCustomersCustomerSubscriptionsRequestBody
PostCustomersCustomerSubscriptionsRequestBody :: Maybe [PostCustomersCustomerSubscriptionsRequestBodyAddInvoiceItems'] -> Maybe Double -> Maybe PostCustomersCustomerSubscriptionsRequestBodyAutomaticTax' -> Maybe Int -> Maybe Int -> Maybe PostCustomersCustomerSubscriptionsRequestBodyBillingThresholds'Variants -> Maybe Int -> Maybe Bool -> Maybe PostCustomersCustomerSubscriptionsRequestBodyCollectionMethod' -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe PostCustomersCustomerSubscriptionsRequestBodyDefaultTaxRates'Variants -> Maybe [Text] -> Maybe [PostCustomersCustomerSubscriptionsRequestBodyItems'] -> Maybe PostCustomersCustomerSubscriptionsRequestBodyMetadata'Variants -> Maybe Bool -> Maybe PostCustomersCustomerSubscriptionsRequestBodyPaymentBehavior' -> Maybe PostCustomersCustomerSubscriptionsRequestBodyPendingInvoiceItemInterval'Variants -> Maybe Text -> Maybe PostCustomersCustomerSubscriptionsRequestBodyProrationBehavior' -> Maybe PostCustomersCustomerSubscriptionsRequestBodyTransferData' -> Maybe PostCustomersCustomerSubscriptionsRequestBodyTrialEnd'Variants -> Maybe Bool -> Maybe Int -> PostCustomersCustomerSubscriptionsRequestBody
-- | add_invoice_items: A list of prices and quantities that will generate
-- invoice items appended to the first invoice for this subscription. You
-- may pass up to 20 items.
[postCustomersCustomerSubscriptionsRequestBodyAddInvoiceItems] :: PostCustomersCustomerSubscriptionsRequestBody -> Maybe [PostCustomersCustomerSubscriptionsRequestBodyAddInvoiceItems']
-- | application_fee_percent: A non-negative decimal between 0 and 100,
-- with at most two decimal places. This represents the percentage of the
-- subscription invoice subtotal that will be transferred to the
-- application owner's Stripe account. The request must be made by a
-- platform account on a connected account in order to set an application
-- fee percentage. For more information, see the application fees
-- documentation.
[postCustomersCustomerSubscriptionsRequestBodyApplicationFeePercent] :: PostCustomersCustomerSubscriptionsRequestBody -> Maybe Double
-- | automatic_tax: Automatic tax settings for this subscription.
[postCustomersCustomerSubscriptionsRequestBodyAutomaticTax] :: PostCustomersCustomerSubscriptionsRequestBody -> Maybe PostCustomersCustomerSubscriptionsRequestBodyAutomaticTax'
-- | backdate_start_date: For new subscriptions, a past timestamp to
-- backdate the subscription's start date to. If set, the first invoice
-- will contain a proration for the timespan between the start date and
-- the current time. Can be combined with trials and the billing cycle
-- anchor.
[postCustomersCustomerSubscriptionsRequestBodyBackdateStartDate] :: PostCustomersCustomerSubscriptionsRequestBody -> Maybe Int
-- | billing_cycle_anchor: A future timestamp to anchor the subscription's
-- billing cycle. This is used to determine the date of the first
-- full invoice, and, for plans with `month` or `year` intervals, the day
-- of the month for subsequent invoices.
[postCustomersCustomerSubscriptionsRequestBodyBillingCycleAnchor] :: PostCustomersCustomerSubscriptionsRequestBody -> Maybe Int
-- | billing_thresholds: Define thresholds at which an invoice will be
-- sent, and the subscription advanced to a new billing period. Pass an
-- empty string to remove previously-defined thresholds.
[postCustomersCustomerSubscriptionsRequestBodyBillingThresholds] :: PostCustomersCustomerSubscriptionsRequestBody -> Maybe PostCustomersCustomerSubscriptionsRequestBodyBillingThresholds'Variants
-- | cancel_at: A timestamp at which the subscription should cancel. If set
-- to a date before the current period ends, this will cause a proration
-- if prorations have been enabled using `proration_behavior`. If set
-- during a future period, this will always cause a proration for that
-- period.
[postCustomersCustomerSubscriptionsRequestBodyCancelAt] :: PostCustomersCustomerSubscriptionsRequestBody -> Maybe Int
-- | cancel_at_period_end: Boolean indicating whether this subscription
-- should cancel at the end of the current period.
[postCustomersCustomerSubscriptionsRequestBodyCancelAtPeriodEnd] :: PostCustomersCustomerSubscriptionsRequestBody -> Maybe Bool
-- | collection_method: Either `charge_automatically`, or `send_invoice`.
-- When charging automatically, Stripe will attempt to pay this
-- subscription at the end of the cycle using the default source attached
-- to the customer. When sending an invoice, Stripe will email your
-- customer an invoice with payment instructions. Defaults to
-- `charge_automatically`.
[postCustomersCustomerSubscriptionsRequestBodyCollectionMethod] :: PostCustomersCustomerSubscriptionsRequestBody -> Maybe PostCustomersCustomerSubscriptionsRequestBodyCollectionMethod'
-- | coupon: The ID of the coupon to apply to this subscription. A coupon
-- applied to a subscription will only affect invoices created for that
-- particular subscription.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSubscriptionsRequestBodyCoupon] :: PostCustomersCustomerSubscriptionsRequestBody -> Maybe Text
-- | days_until_due: Number of days a customer has to pay invoices
-- generated by this subscription. Valid only for subscriptions where
-- `collection_method` is set to `send_invoice`.
[postCustomersCustomerSubscriptionsRequestBodyDaysUntilDue] :: PostCustomersCustomerSubscriptionsRequestBody -> Maybe Int
-- | default_payment_method: ID of the default payment method for the
-- subscription. It must belong to the customer associated with the
-- subscription. This takes precedence over `default_source`. If neither
-- are set, invoices will use the customer's
-- invoice_settings.default_payment_method or
-- default_source.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSubscriptionsRequestBodyDefaultPaymentMethod] :: PostCustomersCustomerSubscriptionsRequestBody -> Maybe Text
-- | default_source: ID of the default payment source for the subscription.
-- It must belong to the customer associated with the subscription and be
-- in a chargeable state. If `default_payment_method` is also set,
-- `default_payment_method` will take precedence. If neither are set,
-- invoices will use the customer's
-- invoice_settings.default_payment_method or
-- default_source.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSubscriptionsRequestBodyDefaultSource] :: PostCustomersCustomerSubscriptionsRequestBody -> Maybe Text
-- | default_tax_rates: The tax rates that will apply to any subscription
-- item that does not have `tax_rates` set. Invoices created will have
-- their `default_tax_rates` populated from the subscription.
[postCustomersCustomerSubscriptionsRequestBodyDefaultTaxRates] :: PostCustomersCustomerSubscriptionsRequestBody -> Maybe PostCustomersCustomerSubscriptionsRequestBodyDefaultTaxRates'Variants
-- | expand: Specifies which fields in the response should be expanded.
[postCustomersCustomerSubscriptionsRequestBodyExpand] :: PostCustomersCustomerSubscriptionsRequestBody -> Maybe [Text]
-- | items: A list of up to 20 subscription items, each with an attached
-- price.
[postCustomersCustomerSubscriptionsRequestBodyItems] :: PostCustomersCustomerSubscriptionsRequestBody -> Maybe [PostCustomersCustomerSubscriptionsRequestBodyItems']
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postCustomersCustomerSubscriptionsRequestBodyMetadata] :: PostCustomersCustomerSubscriptionsRequestBody -> Maybe PostCustomersCustomerSubscriptionsRequestBodyMetadata'Variants
-- | off_session: Indicates if a customer is on or off-session while an
-- invoice payment is attempted.
[postCustomersCustomerSubscriptionsRequestBodyOffSession] :: PostCustomersCustomerSubscriptionsRequestBody -> Maybe Bool
-- | payment_behavior: Use `allow_incomplete` to create subscriptions with
-- `status=incomplete` if the first invoice cannot be paid. Creating
-- subscriptions with this status allows you to manage scenarios where
-- additional user actions are needed to pay a subscription's invoice.
-- For example, SCA regulation may require 3DS authentication to complete
-- payment. See the SCA Migration Guide for Billing to learn more.
-- This is the default behavior.
--
-- Use `default_incomplete` to create Subscriptions with
-- `status=incomplete` when the first invoice requires payment, otherwise
-- start as active. Subscriptions transition to `status=active` when
-- successfully confirming the payment intent on the first invoice. This
-- allows simpler management of scenarios where additional user actions
-- are needed to pay a subscription’s invoice. Such as failed payments,
-- SCA regulation, or collecting a mandate for a bank debit
-- payment method. If the payment intent is not confirmed within 23 hours
-- subscriptions transition to `status=expired_incomplete`, which is a
-- terminal state.
--
-- Use `error_if_incomplete` if you want Stripe to return an HTTP 402
-- status code if a subscription's first invoice cannot be paid. For
-- example, if a payment method requires 3DS authentication due to SCA
-- regulation and further user action is needed, this parameter does not
-- create a subscription and returns an error instead. This was the
-- default behavior for API versions prior to 2019-03-14. See the
-- changelog to learn more.
--
-- `pending_if_incomplete` is only used with updates and cannot be passed
-- when creating a subscription.
[postCustomersCustomerSubscriptionsRequestBodyPaymentBehavior] :: PostCustomersCustomerSubscriptionsRequestBody -> Maybe PostCustomersCustomerSubscriptionsRequestBodyPaymentBehavior'
-- | pending_invoice_item_interval: Specifies an interval for how often to
-- bill for any pending invoice items. It is analogous to calling
-- Create an invoice for the given subscription at the specified
-- interval.
[postCustomersCustomerSubscriptionsRequestBodyPendingInvoiceItemInterval] :: PostCustomersCustomerSubscriptionsRequestBody -> Maybe PostCustomersCustomerSubscriptionsRequestBodyPendingInvoiceItemInterval'Variants
-- | promotion_code: The API ID of a promotion code to apply to this
-- subscription. A promotion code applied to a subscription will only
-- affect invoices created for that particular subscription.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSubscriptionsRequestBodyPromotionCode] :: PostCustomersCustomerSubscriptionsRequestBody -> Maybe Text
-- | proration_behavior: Determines how to handle prorations
-- resulting from the `billing_cycle_anchor`. Valid values are
-- `create_prorations` or `none`.
--
-- Passing `create_prorations` will cause proration invoice items to be
-- created when applicable. Prorations can be disabled by passing `none`.
-- If no value is passed, the default is `create_prorations`.
[postCustomersCustomerSubscriptionsRequestBodyProrationBehavior] :: PostCustomersCustomerSubscriptionsRequestBody -> Maybe PostCustomersCustomerSubscriptionsRequestBodyProrationBehavior'
-- | transfer_data: If specified, the funds from the subscription's
-- invoices will be transferred to the destination and the ID of the
-- resulting transfers will be found on the resulting charges.
[postCustomersCustomerSubscriptionsRequestBodyTransferData] :: PostCustomersCustomerSubscriptionsRequestBody -> Maybe PostCustomersCustomerSubscriptionsRequestBodyTransferData'
-- | trial_end: Unix timestamp representing the end of the trial period the
-- customer will get before being charged for the first time. This will
-- always overwrite any trials that might apply via a subscribed plan. If
-- set, trial_end will override the default trial period of the plan the
-- customer is being subscribed to. The special value `now` can be
-- provided to end the customer's trial immediately. Can be at most two
-- years from `billing_cycle_anchor`.
[postCustomersCustomerSubscriptionsRequestBodyTrialEnd] :: PostCustomersCustomerSubscriptionsRequestBody -> Maybe PostCustomersCustomerSubscriptionsRequestBodyTrialEnd'Variants
-- | trial_from_plan: Indicates if a plan's `trial_period_days` should be
-- applied to the subscription. Setting `trial_end` per subscription is
-- preferred, and this defaults to `false`. Setting this flag to `true`
-- together with `trial_end` is not allowed.
[postCustomersCustomerSubscriptionsRequestBodyTrialFromPlan] :: PostCustomersCustomerSubscriptionsRequestBody -> Maybe Bool
-- | trial_period_days: Integer representing the number of trial period
-- days before the customer is charged for the first time. This will
-- always overwrite any trials that might apply via a subscribed plan.
[postCustomersCustomerSubscriptionsRequestBodyTrialPeriodDays] :: PostCustomersCustomerSubscriptionsRequestBody -> Maybe Int
-- | Create a new PostCustomersCustomerSubscriptionsRequestBody with
-- all required fields.
mkPostCustomersCustomerSubscriptionsRequestBody :: PostCustomersCustomerSubscriptionsRequestBody
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/subscriptions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.add_invoice_items.items
-- in the specification.
data PostCustomersCustomerSubscriptionsRequestBodyAddInvoiceItems'
PostCustomersCustomerSubscriptionsRequestBodyAddInvoiceItems' :: Maybe Text -> Maybe PostCustomersCustomerSubscriptionsRequestBodyAddInvoiceItems'PriceData' -> Maybe Int -> Maybe PostCustomersCustomerSubscriptionsRequestBodyAddInvoiceItems'TaxRates'Variants -> PostCustomersCustomerSubscriptionsRequestBodyAddInvoiceItems'
-- | price
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSubscriptionsRequestBodyAddInvoiceItems'Price] :: PostCustomersCustomerSubscriptionsRequestBodyAddInvoiceItems' -> Maybe Text
-- | price_data
[postCustomersCustomerSubscriptionsRequestBodyAddInvoiceItems'PriceData] :: PostCustomersCustomerSubscriptionsRequestBodyAddInvoiceItems' -> Maybe PostCustomersCustomerSubscriptionsRequestBodyAddInvoiceItems'PriceData'
-- | quantity
[postCustomersCustomerSubscriptionsRequestBodyAddInvoiceItems'Quantity] :: PostCustomersCustomerSubscriptionsRequestBodyAddInvoiceItems' -> Maybe Int
-- | tax_rates
[postCustomersCustomerSubscriptionsRequestBodyAddInvoiceItems'TaxRates] :: PostCustomersCustomerSubscriptionsRequestBodyAddInvoiceItems' -> Maybe PostCustomersCustomerSubscriptionsRequestBodyAddInvoiceItems'TaxRates'Variants
-- | Create a new
-- PostCustomersCustomerSubscriptionsRequestBodyAddInvoiceItems'
-- with all required fields.
mkPostCustomersCustomerSubscriptionsRequestBodyAddInvoiceItems' :: PostCustomersCustomerSubscriptionsRequestBodyAddInvoiceItems'
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/subscriptions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.add_invoice_items.items.properties.price_data
-- in the specification.
data PostCustomersCustomerSubscriptionsRequestBodyAddInvoiceItems'PriceData'
PostCustomersCustomerSubscriptionsRequestBodyAddInvoiceItems'PriceData' :: Text -> Text -> Maybe PostCustomersCustomerSubscriptionsRequestBodyAddInvoiceItems'PriceData'TaxBehavior' -> Maybe Int -> Maybe Text -> PostCustomersCustomerSubscriptionsRequestBodyAddInvoiceItems'PriceData'
-- | currency
[postCustomersCustomerSubscriptionsRequestBodyAddInvoiceItems'PriceData'Currency] :: PostCustomersCustomerSubscriptionsRequestBodyAddInvoiceItems'PriceData' -> Text
-- | product
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSubscriptionsRequestBodyAddInvoiceItems'PriceData'Product] :: PostCustomersCustomerSubscriptionsRequestBodyAddInvoiceItems'PriceData' -> Text
-- | tax_behavior
[postCustomersCustomerSubscriptionsRequestBodyAddInvoiceItems'PriceData'TaxBehavior] :: PostCustomersCustomerSubscriptionsRequestBodyAddInvoiceItems'PriceData' -> Maybe PostCustomersCustomerSubscriptionsRequestBodyAddInvoiceItems'PriceData'TaxBehavior'
-- | unit_amount
[postCustomersCustomerSubscriptionsRequestBodyAddInvoiceItems'PriceData'UnitAmount] :: PostCustomersCustomerSubscriptionsRequestBodyAddInvoiceItems'PriceData' -> Maybe Int
-- | unit_amount_decimal
[postCustomersCustomerSubscriptionsRequestBodyAddInvoiceItems'PriceData'UnitAmountDecimal] :: PostCustomersCustomerSubscriptionsRequestBodyAddInvoiceItems'PriceData' -> Maybe Text
-- | Create a new
-- PostCustomersCustomerSubscriptionsRequestBodyAddInvoiceItems'PriceData'
-- with all required fields.
mkPostCustomersCustomerSubscriptionsRequestBodyAddInvoiceItems'PriceData' :: Text -> Text -> PostCustomersCustomerSubscriptionsRequestBodyAddInvoiceItems'PriceData'
-- | Defines the enum schema located at
-- paths./v1/customers/{customer}/subscriptions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.add_invoice_items.items.properties.price_data.properties.tax_behavior
-- in the specification.
data PostCustomersCustomerSubscriptionsRequestBodyAddInvoiceItems'PriceData'TaxBehavior'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostCustomersCustomerSubscriptionsRequestBodyAddInvoiceItems'PriceData'TaxBehavior'Other :: Value -> PostCustomersCustomerSubscriptionsRequestBodyAddInvoiceItems'PriceData'TaxBehavior'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostCustomersCustomerSubscriptionsRequestBodyAddInvoiceItems'PriceData'TaxBehavior'Typed :: Text -> PostCustomersCustomerSubscriptionsRequestBodyAddInvoiceItems'PriceData'TaxBehavior'
-- | Represents the JSON value "exclusive"
PostCustomersCustomerSubscriptionsRequestBodyAddInvoiceItems'PriceData'TaxBehavior'EnumExclusive :: PostCustomersCustomerSubscriptionsRequestBodyAddInvoiceItems'PriceData'TaxBehavior'
-- | Represents the JSON value "inclusive"
PostCustomersCustomerSubscriptionsRequestBodyAddInvoiceItems'PriceData'TaxBehavior'EnumInclusive :: PostCustomersCustomerSubscriptionsRequestBodyAddInvoiceItems'PriceData'TaxBehavior'
-- | Represents the JSON value "unspecified"
PostCustomersCustomerSubscriptionsRequestBodyAddInvoiceItems'PriceData'TaxBehavior'EnumUnspecified :: PostCustomersCustomerSubscriptionsRequestBodyAddInvoiceItems'PriceData'TaxBehavior'
-- | Defines the oneOf schema located at
-- paths./v1/customers/{customer}/subscriptions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.add_invoice_items.items.properties.tax_rates.anyOf
-- in the specification.
data PostCustomersCustomerSubscriptionsRequestBodyAddInvoiceItems'TaxRates'Variants
-- | Represents the JSON value ""
PostCustomersCustomerSubscriptionsRequestBodyAddInvoiceItems'TaxRates'EmptyString :: PostCustomersCustomerSubscriptionsRequestBodyAddInvoiceItems'TaxRates'Variants
PostCustomersCustomerSubscriptionsRequestBodyAddInvoiceItems'TaxRates'ListTText :: [Text] -> PostCustomersCustomerSubscriptionsRequestBodyAddInvoiceItems'TaxRates'Variants
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/subscriptions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.automatic_tax
-- in the specification.
--
-- Automatic tax settings for this subscription.
data PostCustomersCustomerSubscriptionsRequestBodyAutomaticTax'
PostCustomersCustomerSubscriptionsRequestBodyAutomaticTax' :: Bool -> PostCustomersCustomerSubscriptionsRequestBodyAutomaticTax'
-- | enabled
[postCustomersCustomerSubscriptionsRequestBodyAutomaticTax'Enabled] :: PostCustomersCustomerSubscriptionsRequestBodyAutomaticTax' -> Bool
-- | Create a new
-- PostCustomersCustomerSubscriptionsRequestBodyAutomaticTax' with
-- all required fields.
mkPostCustomersCustomerSubscriptionsRequestBodyAutomaticTax' :: Bool -> PostCustomersCustomerSubscriptionsRequestBodyAutomaticTax'
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/subscriptions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.billing_thresholds.anyOf
-- in the specification.
data PostCustomersCustomerSubscriptionsRequestBodyBillingThresholds'OneOf1
PostCustomersCustomerSubscriptionsRequestBodyBillingThresholds'OneOf1 :: Maybe Int -> Maybe Bool -> PostCustomersCustomerSubscriptionsRequestBodyBillingThresholds'OneOf1
-- | amount_gte
[postCustomersCustomerSubscriptionsRequestBodyBillingThresholds'OneOf1AmountGte] :: PostCustomersCustomerSubscriptionsRequestBodyBillingThresholds'OneOf1 -> Maybe Int
-- | reset_billing_cycle_anchor
[postCustomersCustomerSubscriptionsRequestBodyBillingThresholds'OneOf1ResetBillingCycleAnchor] :: PostCustomersCustomerSubscriptionsRequestBodyBillingThresholds'OneOf1 -> Maybe Bool
-- | Create a new
-- PostCustomersCustomerSubscriptionsRequestBodyBillingThresholds'OneOf1
-- with all required fields.
mkPostCustomersCustomerSubscriptionsRequestBodyBillingThresholds'OneOf1 :: PostCustomersCustomerSubscriptionsRequestBodyBillingThresholds'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/customers/{customer}/subscriptions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.billing_thresholds.anyOf
-- in the specification.
--
-- Define thresholds at which an invoice will be sent, and the
-- subscription advanced to a new billing period. Pass an empty string to
-- remove previously-defined thresholds.
data PostCustomersCustomerSubscriptionsRequestBodyBillingThresholds'Variants
-- | Represents the JSON value ""
PostCustomersCustomerSubscriptionsRequestBodyBillingThresholds'EmptyString :: PostCustomersCustomerSubscriptionsRequestBodyBillingThresholds'Variants
PostCustomersCustomerSubscriptionsRequestBodyBillingThresholds'PostCustomersCustomerSubscriptionsRequestBodyBillingThresholds'OneOf1 :: PostCustomersCustomerSubscriptionsRequestBodyBillingThresholds'OneOf1 -> PostCustomersCustomerSubscriptionsRequestBodyBillingThresholds'Variants
-- | Defines the enum schema located at
-- paths./v1/customers/{customer}/subscriptions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.collection_method
-- in the specification.
--
-- Either `charge_automatically`, or `send_invoice`. When charging
-- automatically, Stripe will attempt to pay this subscription at the end
-- of the cycle using the default source attached to the customer. When
-- sending an invoice, Stripe will email your customer an invoice with
-- payment instructions. Defaults to `charge_automatically`.
data PostCustomersCustomerSubscriptionsRequestBodyCollectionMethod'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostCustomersCustomerSubscriptionsRequestBodyCollectionMethod'Other :: Value -> PostCustomersCustomerSubscriptionsRequestBodyCollectionMethod'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostCustomersCustomerSubscriptionsRequestBodyCollectionMethod'Typed :: Text -> PostCustomersCustomerSubscriptionsRequestBodyCollectionMethod'
-- | Represents the JSON value "charge_automatically"
PostCustomersCustomerSubscriptionsRequestBodyCollectionMethod'EnumChargeAutomatically :: PostCustomersCustomerSubscriptionsRequestBodyCollectionMethod'
-- | Represents the JSON value "send_invoice"
PostCustomersCustomerSubscriptionsRequestBodyCollectionMethod'EnumSendInvoice :: PostCustomersCustomerSubscriptionsRequestBodyCollectionMethod'
-- | Defines the oneOf schema located at
-- paths./v1/customers/{customer}/subscriptions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.default_tax_rates.anyOf
-- in the specification.
--
-- The tax rates that will apply to any subscription item that does not
-- have `tax_rates` set. Invoices created will have their
-- `default_tax_rates` populated from the subscription.
data PostCustomersCustomerSubscriptionsRequestBodyDefaultTaxRates'Variants
-- | Represents the JSON value ""
PostCustomersCustomerSubscriptionsRequestBodyDefaultTaxRates'EmptyString :: PostCustomersCustomerSubscriptionsRequestBodyDefaultTaxRates'Variants
PostCustomersCustomerSubscriptionsRequestBodyDefaultTaxRates'ListTText :: [Text] -> PostCustomersCustomerSubscriptionsRequestBodyDefaultTaxRates'Variants
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/subscriptions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.items.items
-- in the specification.
data PostCustomersCustomerSubscriptionsRequestBodyItems'
PostCustomersCustomerSubscriptionsRequestBodyItems' :: Maybe PostCustomersCustomerSubscriptionsRequestBodyItems'BillingThresholds'Variants -> Maybe Object -> Maybe Text -> Maybe PostCustomersCustomerSubscriptionsRequestBodyItems'PriceData' -> Maybe Int -> Maybe PostCustomersCustomerSubscriptionsRequestBodyItems'TaxRates'Variants -> PostCustomersCustomerSubscriptionsRequestBodyItems'
-- | billing_thresholds
[postCustomersCustomerSubscriptionsRequestBodyItems'BillingThresholds] :: PostCustomersCustomerSubscriptionsRequestBodyItems' -> Maybe PostCustomersCustomerSubscriptionsRequestBodyItems'BillingThresholds'Variants
-- | metadata
[postCustomersCustomerSubscriptionsRequestBodyItems'Metadata] :: PostCustomersCustomerSubscriptionsRequestBodyItems' -> Maybe Object
-- | price
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSubscriptionsRequestBodyItems'Price] :: PostCustomersCustomerSubscriptionsRequestBodyItems' -> Maybe Text
-- | price_data
[postCustomersCustomerSubscriptionsRequestBodyItems'PriceData] :: PostCustomersCustomerSubscriptionsRequestBodyItems' -> Maybe PostCustomersCustomerSubscriptionsRequestBodyItems'PriceData'
-- | quantity
[postCustomersCustomerSubscriptionsRequestBodyItems'Quantity] :: PostCustomersCustomerSubscriptionsRequestBodyItems' -> Maybe Int
-- | tax_rates
[postCustomersCustomerSubscriptionsRequestBodyItems'TaxRates] :: PostCustomersCustomerSubscriptionsRequestBodyItems' -> Maybe PostCustomersCustomerSubscriptionsRequestBodyItems'TaxRates'Variants
-- | Create a new
-- PostCustomersCustomerSubscriptionsRequestBodyItems' with all
-- required fields.
mkPostCustomersCustomerSubscriptionsRequestBodyItems' :: PostCustomersCustomerSubscriptionsRequestBodyItems'
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/subscriptions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.items.items.properties.billing_thresholds.anyOf
-- in the specification.
data PostCustomersCustomerSubscriptionsRequestBodyItems'BillingThresholds'OneOf1
PostCustomersCustomerSubscriptionsRequestBodyItems'BillingThresholds'OneOf1 :: Int -> PostCustomersCustomerSubscriptionsRequestBodyItems'BillingThresholds'OneOf1
-- | usage_gte
[postCustomersCustomerSubscriptionsRequestBodyItems'BillingThresholds'OneOf1UsageGte] :: PostCustomersCustomerSubscriptionsRequestBodyItems'BillingThresholds'OneOf1 -> Int
-- | Create a new
-- PostCustomersCustomerSubscriptionsRequestBodyItems'BillingThresholds'OneOf1
-- with all required fields.
mkPostCustomersCustomerSubscriptionsRequestBodyItems'BillingThresholds'OneOf1 :: Int -> PostCustomersCustomerSubscriptionsRequestBodyItems'BillingThresholds'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/customers/{customer}/subscriptions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.items.items.properties.billing_thresholds.anyOf
-- in the specification.
data PostCustomersCustomerSubscriptionsRequestBodyItems'BillingThresholds'Variants
-- | Represents the JSON value ""
PostCustomersCustomerSubscriptionsRequestBodyItems'BillingThresholds'EmptyString :: PostCustomersCustomerSubscriptionsRequestBodyItems'BillingThresholds'Variants
PostCustomersCustomerSubscriptionsRequestBodyItems'BillingThresholds'PostCustomersCustomerSubscriptionsRequestBodyItems'BillingThresholds'OneOf1 :: PostCustomersCustomerSubscriptionsRequestBodyItems'BillingThresholds'OneOf1 -> PostCustomersCustomerSubscriptionsRequestBodyItems'BillingThresholds'Variants
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/subscriptions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.items.items.properties.price_data
-- in the specification.
data PostCustomersCustomerSubscriptionsRequestBodyItems'PriceData'
PostCustomersCustomerSubscriptionsRequestBodyItems'PriceData' :: Text -> Text -> PostCustomersCustomerSubscriptionsRequestBodyItems'PriceData'Recurring' -> Maybe PostCustomersCustomerSubscriptionsRequestBodyItems'PriceData'TaxBehavior' -> Maybe Int -> Maybe Text -> PostCustomersCustomerSubscriptionsRequestBodyItems'PriceData'
-- | currency
[postCustomersCustomerSubscriptionsRequestBodyItems'PriceData'Currency] :: PostCustomersCustomerSubscriptionsRequestBodyItems'PriceData' -> Text
-- | product
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSubscriptionsRequestBodyItems'PriceData'Product] :: PostCustomersCustomerSubscriptionsRequestBodyItems'PriceData' -> Text
-- | recurring
[postCustomersCustomerSubscriptionsRequestBodyItems'PriceData'Recurring] :: PostCustomersCustomerSubscriptionsRequestBodyItems'PriceData' -> PostCustomersCustomerSubscriptionsRequestBodyItems'PriceData'Recurring'
-- | tax_behavior
[postCustomersCustomerSubscriptionsRequestBodyItems'PriceData'TaxBehavior] :: PostCustomersCustomerSubscriptionsRequestBodyItems'PriceData' -> Maybe PostCustomersCustomerSubscriptionsRequestBodyItems'PriceData'TaxBehavior'
-- | unit_amount
[postCustomersCustomerSubscriptionsRequestBodyItems'PriceData'UnitAmount] :: PostCustomersCustomerSubscriptionsRequestBodyItems'PriceData' -> Maybe Int
-- | unit_amount_decimal
[postCustomersCustomerSubscriptionsRequestBodyItems'PriceData'UnitAmountDecimal] :: PostCustomersCustomerSubscriptionsRequestBodyItems'PriceData' -> Maybe Text
-- | Create a new
-- PostCustomersCustomerSubscriptionsRequestBodyItems'PriceData'
-- with all required fields.
mkPostCustomersCustomerSubscriptionsRequestBodyItems'PriceData' :: Text -> Text -> PostCustomersCustomerSubscriptionsRequestBodyItems'PriceData'Recurring' -> PostCustomersCustomerSubscriptionsRequestBodyItems'PriceData'
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/subscriptions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.items.items.properties.price_data.properties.recurring
-- in the specification.
data PostCustomersCustomerSubscriptionsRequestBodyItems'PriceData'Recurring'
PostCustomersCustomerSubscriptionsRequestBodyItems'PriceData'Recurring' :: PostCustomersCustomerSubscriptionsRequestBodyItems'PriceData'Recurring'Interval' -> Maybe Int -> PostCustomersCustomerSubscriptionsRequestBodyItems'PriceData'Recurring'
-- | interval
[postCustomersCustomerSubscriptionsRequestBodyItems'PriceData'Recurring'Interval] :: PostCustomersCustomerSubscriptionsRequestBodyItems'PriceData'Recurring' -> PostCustomersCustomerSubscriptionsRequestBodyItems'PriceData'Recurring'Interval'
-- | interval_count
[postCustomersCustomerSubscriptionsRequestBodyItems'PriceData'Recurring'IntervalCount] :: PostCustomersCustomerSubscriptionsRequestBodyItems'PriceData'Recurring' -> Maybe Int
-- | Create a new
-- PostCustomersCustomerSubscriptionsRequestBodyItems'PriceData'Recurring'
-- with all required fields.
mkPostCustomersCustomerSubscriptionsRequestBodyItems'PriceData'Recurring' :: PostCustomersCustomerSubscriptionsRequestBodyItems'PriceData'Recurring'Interval' -> PostCustomersCustomerSubscriptionsRequestBodyItems'PriceData'Recurring'
-- | Defines the enum schema located at
-- paths./v1/customers/{customer}/subscriptions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.items.items.properties.price_data.properties.recurring.properties.interval
-- in the specification.
data PostCustomersCustomerSubscriptionsRequestBodyItems'PriceData'Recurring'Interval'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostCustomersCustomerSubscriptionsRequestBodyItems'PriceData'Recurring'Interval'Other :: Value -> PostCustomersCustomerSubscriptionsRequestBodyItems'PriceData'Recurring'Interval'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostCustomersCustomerSubscriptionsRequestBodyItems'PriceData'Recurring'Interval'Typed :: Text -> PostCustomersCustomerSubscriptionsRequestBodyItems'PriceData'Recurring'Interval'
-- | Represents the JSON value "day"
PostCustomersCustomerSubscriptionsRequestBodyItems'PriceData'Recurring'Interval'EnumDay :: PostCustomersCustomerSubscriptionsRequestBodyItems'PriceData'Recurring'Interval'
-- | Represents the JSON value "month"
PostCustomersCustomerSubscriptionsRequestBodyItems'PriceData'Recurring'Interval'EnumMonth :: PostCustomersCustomerSubscriptionsRequestBodyItems'PriceData'Recurring'Interval'
-- | Represents the JSON value "week"
PostCustomersCustomerSubscriptionsRequestBodyItems'PriceData'Recurring'Interval'EnumWeek :: PostCustomersCustomerSubscriptionsRequestBodyItems'PriceData'Recurring'Interval'
-- | Represents the JSON value "year"
PostCustomersCustomerSubscriptionsRequestBodyItems'PriceData'Recurring'Interval'EnumYear :: PostCustomersCustomerSubscriptionsRequestBodyItems'PriceData'Recurring'Interval'
-- | Defines the enum schema located at
-- paths./v1/customers/{customer}/subscriptions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.items.items.properties.price_data.properties.tax_behavior
-- in the specification.
data PostCustomersCustomerSubscriptionsRequestBodyItems'PriceData'TaxBehavior'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostCustomersCustomerSubscriptionsRequestBodyItems'PriceData'TaxBehavior'Other :: Value -> PostCustomersCustomerSubscriptionsRequestBodyItems'PriceData'TaxBehavior'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostCustomersCustomerSubscriptionsRequestBodyItems'PriceData'TaxBehavior'Typed :: Text -> PostCustomersCustomerSubscriptionsRequestBodyItems'PriceData'TaxBehavior'
-- | Represents the JSON value "exclusive"
PostCustomersCustomerSubscriptionsRequestBodyItems'PriceData'TaxBehavior'EnumExclusive :: PostCustomersCustomerSubscriptionsRequestBodyItems'PriceData'TaxBehavior'
-- | Represents the JSON value "inclusive"
PostCustomersCustomerSubscriptionsRequestBodyItems'PriceData'TaxBehavior'EnumInclusive :: PostCustomersCustomerSubscriptionsRequestBodyItems'PriceData'TaxBehavior'
-- | Represents the JSON value "unspecified"
PostCustomersCustomerSubscriptionsRequestBodyItems'PriceData'TaxBehavior'EnumUnspecified :: PostCustomersCustomerSubscriptionsRequestBodyItems'PriceData'TaxBehavior'
-- | Defines the oneOf schema located at
-- paths./v1/customers/{customer}/subscriptions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.items.items.properties.tax_rates.anyOf
-- in the specification.
data PostCustomersCustomerSubscriptionsRequestBodyItems'TaxRates'Variants
-- | Represents the JSON value ""
PostCustomersCustomerSubscriptionsRequestBodyItems'TaxRates'EmptyString :: PostCustomersCustomerSubscriptionsRequestBodyItems'TaxRates'Variants
PostCustomersCustomerSubscriptionsRequestBodyItems'TaxRates'ListTText :: [Text] -> PostCustomersCustomerSubscriptionsRequestBodyItems'TaxRates'Variants
-- | Defines the oneOf schema located at
-- paths./v1/customers/{customer}/subscriptions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.metadata.anyOf
-- in the specification.
--
-- Set of key-value pairs that you can attach to an object. This
-- can be useful for storing additional information about the object in a
-- structured format. Individual keys can be unset by posting an empty
-- value to them. All keys can be unset by posting an empty value to
-- `metadata`.
data PostCustomersCustomerSubscriptionsRequestBodyMetadata'Variants
-- | Represents the JSON value ""
PostCustomersCustomerSubscriptionsRequestBodyMetadata'EmptyString :: PostCustomersCustomerSubscriptionsRequestBodyMetadata'Variants
PostCustomersCustomerSubscriptionsRequestBodyMetadata'Object :: Object -> PostCustomersCustomerSubscriptionsRequestBodyMetadata'Variants
-- | Defines the enum schema located at
-- paths./v1/customers/{customer}/subscriptions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_behavior
-- in the specification.
--
-- Use `allow_incomplete` to create subscriptions with
-- `status=incomplete` if the first invoice cannot be paid. Creating
-- subscriptions with this status allows you to manage scenarios where
-- additional user actions are needed to pay a subscription's invoice.
-- For example, SCA regulation may require 3DS authentication to complete
-- payment. See the SCA Migration Guide for Billing to learn more.
-- This is the default behavior.
--
-- Use `default_incomplete` to create Subscriptions with
-- `status=incomplete` when the first invoice requires payment, otherwise
-- start as active. Subscriptions transition to `status=active` when
-- successfully confirming the payment intent on the first invoice. This
-- allows simpler management of scenarios where additional user actions
-- are needed to pay a subscription’s invoice. Such as failed payments,
-- SCA regulation, or collecting a mandate for a bank debit
-- payment method. If the payment intent is not confirmed within 23 hours
-- subscriptions transition to `status=expired_incomplete`, which is a
-- terminal state.
--
-- Use `error_if_incomplete` if you want Stripe to return an HTTP 402
-- status code if a subscription's first invoice cannot be paid. For
-- example, if a payment method requires 3DS authentication due to SCA
-- regulation and further user action is needed, this parameter does not
-- create a subscription and returns an error instead. This was the
-- default behavior for API versions prior to 2019-03-14. See the
-- changelog to learn more.
--
-- `pending_if_incomplete` is only used with updates and cannot be passed
-- when creating a subscription.
data PostCustomersCustomerSubscriptionsRequestBodyPaymentBehavior'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostCustomersCustomerSubscriptionsRequestBodyPaymentBehavior'Other :: Value -> PostCustomersCustomerSubscriptionsRequestBodyPaymentBehavior'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostCustomersCustomerSubscriptionsRequestBodyPaymentBehavior'Typed :: Text -> PostCustomersCustomerSubscriptionsRequestBodyPaymentBehavior'
-- | Represents the JSON value "allow_incomplete"
PostCustomersCustomerSubscriptionsRequestBodyPaymentBehavior'EnumAllowIncomplete :: PostCustomersCustomerSubscriptionsRequestBodyPaymentBehavior'
-- | Represents the JSON value "default_incomplete"
PostCustomersCustomerSubscriptionsRequestBodyPaymentBehavior'EnumDefaultIncomplete :: PostCustomersCustomerSubscriptionsRequestBodyPaymentBehavior'
-- | Represents the JSON value "error_if_incomplete"
PostCustomersCustomerSubscriptionsRequestBodyPaymentBehavior'EnumErrorIfIncomplete :: PostCustomersCustomerSubscriptionsRequestBodyPaymentBehavior'
-- | Represents the JSON value "pending_if_incomplete"
PostCustomersCustomerSubscriptionsRequestBodyPaymentBehavior'EnumPendingIfIncomplete :: PostCustomersCustomerSubscriptionsRequestBodyPaymentBehavior'
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/subscriptions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.pending_invoice_item_interval.anyOf
-- in the specification.
data PostCustomersCustomerSubscriptionsRequestBodyPendingInvoiceItemInterval'OneOf1
PostCustomersCustomerSubscriptionsRequestBodyPendingInvoiceItemInterval'OneOf1 :: PostCustomersCustomerSubscriptionsRequestBodyPendingInvoiceItemInterval'OneOf1Interval' -> Maybe Int -> PostCustomersCustomerSubscriptionsRequestBodyPendingInvoiceItemInterval'OneOf1
-- | interval
[postCustomersCustomerSubscriptionsRequestBodyPendingInvoiceItemInterval'OneOf1Interval] :: PostCustomersCustomerSubscriptionsRequestBodyPendingInvoiceItemInterval'OneOf1 -> PostCustomersCustomerSubscriptionsRequestBodyPendingInvoiceItemInterval'OneOf1Interval'
-- | interval_count
[postCustomersCustomerSubscriptionsRequestBodyPendingInvoiceItemInterval'OneOf1IntervalCount] :: PostCustomersCustomerSubscriptionsRequestBodyPendingInvoiceItemInterval'OneOf1 -> Maybe Int
-- | Create a new
-- PostCustomersCustomerSubscriptionsRequestBodyPendingInvoiceItemInterval'OneOf1
-- with all required fields.
mkPostCustomersCustomerSubscriptionsRequestBodyPendingInvoiceItemInterval'OneOf1 :: PostCustomersCustomerSubscriptionsRequestBodyPendingInvoiceItemInterval'OneOf1Interval' -> PostCustomersCustomerSubscriptionsRequestBodyPendingInvoiceItemInterval'OneOf1
-- | Defines the enum schema located at
-- paths./v1/customers/{customer}/subscriptions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.pending_invoice_item_interval.anyOf.properties.interval
-- in the specification.
data PostCustomersCustomerSubscriptionsRequestBodyPendingInvoiceItemInterval'OneOf1Interval'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostCustomersCustomerSubscriptionsRequestBodyPendingInvoiceItemInterval'OneOf1Interval'Other :: Value -> PostCustomersCustomerSubscriptionsRequestBodyPendingInvoiceItemInterval'OneOf1Interval'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostCustomersCustomerSubscriptionsRequestBodyPendingInvoiceItemInterval'OneOf1Interval'Typed :: Text -> PostCustomersCustomerSubscriptionsRequestBodyPendingInvoiceItemInterval'OneOf1Interval'
-- | Represents the JSON value "day"
PostCustomersCustomerSubscriptionsRequestBodyPendingInvoiceItemInterval'OneOf1Interval'EnumDay :: PostCustomersCustomerSubscriptionsRequestBodyPendingInvoiceItemInterval'OneOf1Interval'
-- | Represents the JSON value "month"
PostCustomersCustomerSubscriptionsRequestBodyPendingInvoiceItemInterval'OneOf1Interval'EnumMonth :: PostCustomersCustomerSubscriptionsRequestBodyPendingInvoiceItemInterval'OneOf1Interval'
-- | Represents the JSON value "week"
PostCustomersCustomerSubscriptionsRequestBodyPendingInvoiceItemInterval'OneOf1Interval'EnumWeek :: PostCustomersCustomerSubscriptionsRequestBodyPendingInvoiceItemInterval'OneOf1Interval'
-- | Represents the JSON value "year"
PostCustomersCustomerSubscriptionsRequestBodyPendingInvoiceItemInterval'OneOf1Interval'EnumYear :: PostCustomersCustomerSubscriptionsRequestBodyPendingInvoiceItemInterval'OneOf1Interval'
-- | Defines the oneOf schema located at
-- paths./v1/customers/{customer}/subscriptions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.pending_invoice_item_interval.anyOf
-- in the specification.
--
-- Specifies an interval for how often to bill for any pending invoice
-- items. It is analogous to calling Create an invoice for the
-- given subscription at the specified interval.
data PostCustomersCustomerSubscriptionsRequestBodyPendingInvoiceItemInterval'Variants
-- | Represents the JSON value ""
PostCustomersCustomerSubscriptionsRequestBodyPendingInvoiceItemInterval'EmptyString :: PostCustomersCustomerSubscriptionsRequestBodyPendingInvoiceItemInterval'Variants
PostCustomersCustomerSubscriptionsRequestBodyPendingInvoiceItemInterval'PostCustomersCustomerSubscriptionsRequestBodyPendingInvoiceItemInterval'OneOf1 :: PostCustomersCustomerSubscriptionsRequestBodyPendingInvoiceItemInterval'OneOf1 -> PostCustomersCustomerSubscriptionsRequestBodyPendingInvoiceItemInterval'Variants
-- | Defines the enum schema located at
-- paths./v1/customers/{customer}/subscriptions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.proration_behavior
-- in the specification.
--
-- Determines how to handle prorations resulting from the
-- `billing_cycle_anchor`. Valid values are `create_prorations` or
-- `none`.
--
-- Passing `create_prorations` will cause proration invoice items to be
-- created when applicable. Prorations can be disabled by passing `none`.
-- If no value is passed, the default is `create_prorations`.
data PostCustomersCustomerSubscriptionsRequestBodyProrationBehavior'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostCustomersCustomerSubscriptionsRequestBodyProrationBehavior'Other :: Value -> PostCustomersCustomerSubscriptionsRequestBodyProrationBehavior'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostCustomersCustomerSubscriptionsRequestBodyProrationBehavior'Typed :: Text -> PostCustomersCustomerSubscriptionsRequestBodyProrationBehavior'
-- | Represents the JSON value "always_invoice"
PostCustomersCustomerSubscriptionsRequestBodyProrationBehavior'EnumAlwaysInvoice :: PostCustomersCustomerSubscriptionsRequestBodyProrationBehavior'
-- | Represents the JSON value "create_prorations"
PostCustomersCustomerSubscriptionsRequestBodyProrationBehavior'EnumCreateProrations :: PostCustomersCustomerSubscriptionsRequestBodyProrationBehavior'
-- | Represents the JSON value "none"
PostCustomersCustomerSubscriptionsRequestBodyProrationBehavior'EnumNone :: PostCustomersCustomerSubscriptionsRequestBodyProrationBehavior'
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/subscriptions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.transfer_data
-- in the specification.
--
-- If specified, the funds from the subscription's invoices will be
-- transferred to the destination and the ID of the resulting transfers
-- will be found on the resulting charges.
data PostCustomersCustomerSubscriptionsRequestBodyTransferData'
PostCustomersCustomerSubscriptionsRequestBodyTransferData' :: Maybe Double -> Text -> PostCustomersCustomerSubscriptionsRequestBodyTransferData'
-- | amount_percent
[postCustomersCustomerSubscriptionsRequestBodyTransferData'AmountPercent] :: PostCustomersCustomerSubscriptionsRequestBodyTransferData' -> Maybe Double
-- | destination
[postCustomersCustomerSubscriptionsRequestBodyTransferData'Destination] :: PostCustomersCustomerSubscriptionsRequestBodyTransferData' -> Text
-- | Create a new
-- PostCustomersCustomerSubscriptionsRequestBodyTransferData' with
-- all required fields.
mkPostCustomersCustomerSubscriptionsRequestBodyTransferData' :: Text -> PostCustomersCustomerSubscriptionsRequestBodyTransferData'
-- | Defines the oneOf schema located at
-- paths./v1/customers/{customer}/subscriptions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.trial_end.anyOf
-- in the specification.
--
-- Unix timestamp representing the end of the trial period the customer
-- will get before being charged for the first time. This will always
-- overwrite any trials that might apply via a subscribed plan. If set,
-- trial_end will override the default trial period of the plan the
-- customer is being subscribed to. The special value `now` can be
-- provided to end the customer's trial immediately. Can be at most two
-- years from `billing_cycle_anchor`.
data PostCustomersCustomerSubscriptionsRequestBodyTrialEnd'Variants
-- | Represents the JSON value "now"
PostCustomersCustomerSubscriptionsRequestBodyTrialEnd'Now :: PostCustomersCustomerSubscriptionsRequestBodyTrialEnd'Variants
PostCustomersCustomerSubscriptionsRequestBodyTrialEnd'Int :: Int -> PostCustomersCustomerSubscriptionsRequestBodyTrialEnd'Variants
-- | Represents a response of the operation
-- postCustomersCustomerSubscriptions.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- PostCustomersCustomerSubscriptionsResponseError is used.
data PostCustomersCustomerSubscriptionsResponse
-- | Means either no matching case available or a parse error
PostCustomersCustomerSubscriptionsResponseError :: String -> PostCustomersCustomerSubscriptionsResponse
-- | Successful response.
PostCustomersCustomerSubscriptionsResponse200 :: Subscription -> PostCustomersCustomerSubscriptionsResponse
-- | Error response.
PostCustomersCustomerSubscriptionsResponseDefault :: Error -> PostCustomersCustomerSubscriptionsResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyAddInvoiceItems'PriceData'TaxBehavior'
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyAddInvoiceItems'PriceData'TaxBehavior'
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyAddInvoiceItems'PriceData'
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyAddInvoiceItems'PriceData'
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyAddInvoiceItems'TaxRates'Variants
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyAddInvoiceItems'TaxRates'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyAddInvoiceItems'
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyAddInvoiceItems'
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyAutomaticTax'
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyAutomaticTax'
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyBillingThresholds'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyBillingThresholds'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyBillingThresholds'Variants
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyBillingThresholds'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyCollectionMethod'
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyCollectionMethod'
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyDefaultTaxRates'Variants
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyDefaultTaxRates'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyItems'BillingThresholds'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyItems'BillingThresholds'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyItems'BillingThresholds'Variants
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyItems'BillingThresholds'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyItems'PriceData'Recurring'Interval'
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyItems'PriceData'Recurring'Interval'
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyItems'PriceData'Recurring'
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyItems'PriceData'Recurring'
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyItems'PriceData'TaxBehavior'
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyItems'PriceData'TaxBehavior'
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyItems'PriceData'
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyItems'PriceData'
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyItems'TaxRates'Variants
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyItems'TaxRates'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyItems'
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyItems'
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyMetadata'Variants
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyMetadata'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyPaymentBehavior'
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyPaymentBehavior'
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyPendingInvoiceItemInterval'OneOf1Interval'
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyPendingInvoiceItemInterval'OneOf1Interval'
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyPendingInvoiceItemInterval'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyPendingInvoiceItemInterval'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyPendingInvoiceItemInterval'Variants
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyPendingInvoiceItemInterval'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyProrationBehavior'
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyProrationBehavior'
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyTransferData'
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyTransferData'
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyTrialEnd'Variants
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyTrialEnd'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsResponse
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyTrialEnd'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyTrialEnd'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyTransferData'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyTransferData'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyProrationBehavior'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyProrationBehavior'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyPendingInvoiceItemInterval'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyPendingInvoiceItemInterval'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyPendingInvoiceItemInterval'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyPendingInvoiceItemInterval'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyPendingInvoiceItemInterval'OneOf1Interval'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyPendingInvoiceItemInterval'OneOf1Interval'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyPaymentBehavior'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyPaymentBehavior'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyMetadata'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyMetadata'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyItems'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyItems'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyItems'TaxRates'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyItems'TaxRates'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyItems'PriceData'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyItems'PriceData'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyItems'PriceData'TaxBehavior'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyItems'PriceData'TaxBehavior'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyItems'PriceData'Recurring'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyItems'PriceData'Recurring'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyItems'PriceData'Recurring'Interval'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyItems'PriceData'Recurring'Interval'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyItems'BillingThresholds'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyItems'BillingThresholds'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyItems'BillingThresholds'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyItems'BillingThresholds'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyDefaultTaxRates'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyDefaultTaxRates'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyCollectionMethod'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyCollectionMethod'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyBillingThresholds'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyBillingThresholds'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyBillingThresholds'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyBillingThresholds'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyAutomaticTax'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyAutomaticTax'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyAddInvoiceItems'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyAddInvoiceItems'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyAddInvoiceItems'TaxRates'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyAddInvoiceItems'TaxRates'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyAddInvoiceItems'PriceData'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyAddInvoiceItems'PriceData'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyAddInvoiceItems'PriceData'TaxBehavior'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerSubscriptions.PostCustomersCustomerSubscriptionsRequestBodyAddInvoiceItems'PriceData'TaxBehavior'
-- | Contains the different functions to run the operation
-- postCustomersCustomerSourcesIdVerify
module StripeAPI.Operations.PostCustomersCustomerSourcesIdVerify
-- |
-- POST /v1/customers/{customer}/sources/{id}/verify
--
--
-- <p>Verify a specified bank account for a given
-- customer.</p>
postCustomersCustomerSourcesIdVerify :: forall m. MonadHTTP m => PostCustomersCustomerSourcesIdVerifyParameters -> Maybe PostCustomersCustomerSourcesIdVerifyRequestBody -> ClientT m (Response PostCustomersCustomerSourcesIdVerifyResponse)
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/sources/{id}/verify.POST.parameters
-- in the specification.
data PostCustomersCustomerSourcesIdVerifyParameters
PostCustomersCustomerSourcesIdVerifyParameters :: Text -> Text -> PostCustomersCustomerSourcesIdVerifyParameters
-- | pathCustomer: Represents the parameter named 'customer'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSourcesIdVerifyParametersPathCustomer] :: PostCustomersCustomerSourcesIdVerifyParameters -> Text
-- | pathId: Represents the parameter named 'id'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSourcesIdVerifyParametersPathId] :: PostCustomersCustomerSourcesIdVerifyParameters -> Text
-- | Create a new PostCustomersCustomerSourcesIdVerifyParameters
-- with all required fields.
mkPostCustomersCustomerSourcesIdVerifyParameters :: Text -> Text -> PostCustomersCustomerSourcesIdVerifyParameters
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/sources/{id}/verify.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostCustomersCustomerSourcesIdVerifyRequestBody
PostCustomersCustomerSourcesIdVerifyRequestBody :: Maybe [Int] -> Maybe [Text] -> PostCustomersCustomerSourcesIdVerifyRequestBody
-- | amounts: Two positive integers, in *cents*, equal to the values of the
-- microdeposits sent to the bank account.
[postCustomersCustomerSourcesIdVerifyRequestBodyAmounts] :: PostCustomersCustomerSourcesIdVerifyRequestBody -> Maybe [Int]
-- | expand: Specifies which fields in the response should be expanded.
[postCustomersCustomerSourcesIdVerifyRequestBodyExpand] :: PostCustomersCustomerSourcesIdVerifyRequestBody -> Maybe [Text]
-- | Create a new PostCustomersCustomerSourcesIdVerifyRequestBody
-- with all required fields.
mkPostCustomersCustomerSourcesIdVerifyRequestBody :: PostCustomersCustomerSourcesIdVerifyRequestBody
-- | Represents a response of the operation
-- postCustomersCustomerSourcesIdVerify.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- PostCustomersCustomerSourcesIdVerifyResponseError is used.
data PostCustomersCustomerSourcesIdVerifyResponse
-- | Means either no matching case available or a parse error
PostCustomersCustomerSourcesIdVerifyResponseError :: String -> PostCustomersCustomerSourcesIdVerifyResponse
-- | Successful response.
PostCustomersCustomerSourcesIdVerifyResponse200 :: BankAccount -> PostCustomersCustomerSourcesIdVerifyResponse
-- | Error response.
PostCustomersCustomerSourcesIdVerifyResponseDefault :: Error -> PostCustomersCustomerSourcesIdVerifyResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerSourcesIdVerify.PostCustomersCustomerSourcesIdVerifyParameters
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerSourcesIdVerify.PostCustomersCustomerSourcesIdVerifyParameters
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerSourcesIdVerify.PostCustomersCustomerSourcesIdVerifyRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerSourcesIdVerify.PostCustomersCustomerSourcesIdVerifyRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerSourcesIdVerify.PostCustomersCustomerSourcesIdVerifyResponse
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerSourcesIdVerify.PostCustomersCustomerSourcesIdVerifyResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerSourcesIdVerify.PostCustomersCustomerSourcesIdVerifyRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerSourcesIdVerify.PostCustomersCustomerSourcesIdVerifyRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerSourcesIdVerify.PostCustomersCustomerSourcesIdVerifyParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerSourcesIdVerify.PostCustomersCustomerSourcesIdVerifyParameters
-- | Contains the different functions to run the operation
-- postCustomersCustomerSourcesId
module StripeAPI.Operations.PostCustomersCustomerSourcesId
-- |
-- POST /v1/customers/{customer}/sources/{id}
--
--
-- <p>Update a specified source for a given customer.</p>
postCustomersCustomerSourcesId :: forall m. MonadHTTP m => PostCustomersCustomerSourcesIdParameters -> Maybe PostCustomersCustomerSourcesIdRequestBody -> ClientT m (Response PostCustomersCustomerSourcesIdResponse)
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/sources/{id}.POST.parameters
-- in the specification.
data PostCustomersCustomerSourcesIdParameters
PostCustomersCustomerSourcesIdParameters :: Text -> Text -> PostCustomersCustomerSourcesIdParameters
-- | pathCustomer: Represents the parameter named 'customer'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSourcesIdParametersPathCustomer] :: PostCustomersCustomerSourcesIdParameters -> Text
-- | pathId: Represents the parameter named 'id'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSourcesIdParametersPathId] :: PostCustomersCustomerSourcesIdParameters -> Text
-- | Create a new PostCustomersCustomerSourcesIdParameters with all
-- required fields.
mkPostCustomersCustomerSourcesIdParameters :: Text -> Text -> PostCustomersCustomerSourcesIdParameters
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/sources/{id}.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostCustomersCustomerSourcesIdRequestBody
PostCustomersCustomerSourcesIdRequestBody :: Maybe Text -> Maybe PostCustomersCustomerSourcesIdRequestBodyAccountHolderType' -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe [Text] -> Maybe PostCustomersCustomerSourcesIdRequestBodyMetadata'Variants -> Maybe Text -> Maybe PostCustomersCustomerSourcesIdRequestBodyOwner' -> PostCustomersCustomerSourcesIdRequestBody
-- | account_holder_name: The name of the person or business that owns the
-- bank account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSourcesIdRequestBodyAccountHolderName] :: PostCustomersCustomerSourcesIdRequestBody -> Maybe Text
-- | account_holder_type: The type of entity that holds the account. This
-- can be either `individual` or `company`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSourcesIdRequestBodyAccountHolderType] :: PostCustomersCustomerSourcesIdRequestBody -> Maybe PostCustomersCustomerSourcesIdRequestBodyAccountHolderType'
-- | address_city: City/District/Suburb/Town/Village.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSourcesIdRequestBodyAddressCity] :: PostCustomersCustomerSourcesIdRequestBody -> Maybe Text
-- | address_country: Billing address country, if provided when creating
-- card.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSourcesIdRequestBodyAddressCountry] :: PostCustomersCustomerSourcesIdRequestBody -> Maybe Text
-- | address_line1: Address line 1 (Street address/PO Box/Company name).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSourcesIdRequestBodyAddressLine1] :: PostCustomersCustomerSourcesIdRequestBody -> Maybe Text
-- | address_line2: Address line 2 (Apartment/Suite/Unit/Building).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSourcesIdRequestBodyAddressLine2] :: PostCustomersCustomerSourcesIdRequestBody -> Maybe Text
-- | address_state: State/County/Province/Region.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSourcesIdRequestBodyAddressState] :: PostCustomersCustomerSourcesIdRequestBody -> Maybe Text
-- | address_zip: ZIP or postal code.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSourcesIdRequestBodyAddressZip] :: PostCustomersCustomerSourcesIdRequestBody -> Maybe Text
-- | exp_month: Two digit number representing the card’s expiration month.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSourcesIdRequestBodyExpMonth] :: PostCustomersCustomerSourcesIdRequestBody -> Maybe Text
-- | exp_year: Four digit number representing the card’s expiration year.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSourcesIdRequestBodyExpYear] :: PostCustomersCustomerSourcesIdRequestBody -> Maybe Text
-- | expand: Specifies which fields in the response should be expanded.
[postCustomersCustomerSourcesIdRequestBodyExpand] :: PostCustomersCustomerSourcesIdRequestBody -> Maybe [Text]
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postCustomersCustomerSourcesIdRequestBodyMetadata] :: PostCustomersCustomerSourcesIdRequestBody -> Maybe PostCustomersCustomerSourcesIdRequestBodyMetadata'Variants
-- | name: Cardholder name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSourcesIdRequestBodyName] :: PostCustomersCustomerSourcesIdRequestBody -> Maybe Text
-- | owner
[postCustomersCustomerSourcesIdRequestBodyOwner] :: PostCustomersCustomerSourcesIdRequestBody -> Maybe PostCustomersCustomerSourcesIdRequestBodyOwner'
-- | Create a new PostCustomersCustomerSourcesIdRequestBody with all
-- required fields.
mkPostCustomersCustomerSourcesIdRequestBody :: PostCustomersCustomerSourcesIdRequestBody
-- | Defines the enum schema located at
-- paths./v1/customers/{customer}/sources/{id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.account_holder_type
-- in the specification.
--
-- The type of entity that holds the account. This can be either
-- `individual` or `company`.
data PostCustomersCustomerSourcesIdRequestBodyAccountHolderType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostCustomersCustomerSourcesIdRequestBodyAccountHolderType'Other :: Value -> PostCustomersCustomerSourcesIdRequestBodyAccountHolderType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostCustomersCustomerSourcesIdRequestBodyAccountHolderType'Typed :: Text -> PostCustomersCustomerSourcesIdRequestBodyAccountHolderType'
-- | Represents the JSON value "company"
PostCustomersCustomerSourcesIdRequestBodyAccountHolderType'EnumCompany :: PostCustomersCustomerSourcesIdRequestBodyAccountHolderType'
-- | Represents the JSON value "individual"
PostCustomersCustomerSourcesIdRequestBodyAccountHolderType'EnumIndividual :: PostCustomersCustomerSourcesIdRequestBodyAccountHolderType'
-- | Defines the oneOf schema located at
-- paths./v1/customers/{customer}/sources/{id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.metadata.anyOf
-- in the specification.
--
-- Set of key-value pairs that you can attach to an object. This
-- can be useful for storing additional information about the object in a
-- structured format. Individual keys can be unset by posting an empty
-- value to them. All keys can be unset by posting an empty value to
-- `metadata`.
data PostCustomersCustomerSourcesIdRequestBodyMetadata'Variants
-- | Represents the JSON value ""
PostCustomersCustomerSourcesIdRequestBodyMetadata'EmptyString :: PostCustomersCustomerSourcesIdRequestBodyMetadata'Variants
PostCustomersCustomerSourcesIdRequestBodyMetadata'Object :: Object -> PostCustomersCustomerSourcesIdRequestBodyMetadata'Variants
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/sources/{id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.owner
-- in the specification.
data PostCustomersCustomerSourcesIdRequestBodyOwner'
PostCustomersCustomerSourcesIdRequestBodyOwner' :: Maybe PostCustomersCustomerSourcesIdRequestBodyOwner'Address' -> Maybe Text -> Maybe Text -> Maybe Text -> PostCustomersCustomerSourcesIdRequestBodyOwner'
-- | address
[postCustomersCustomerSourcesIdRequestBodyOwner'Address] :: PostCustomersCustomerSourcesIdRequestBodyOwner' -> Maybe PostCustomersCustomerSourcesIdRequestBodyOwner'Address'
-- | email
[postCustomersCustomerSourcesIdRequestBodyOwner'Email] :: PostCustomersCustomerSourcesIdRequestBodyOwner' -> Maybe Text
-- | name
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSourcesIdRequestBodyOwner'Name] :: PostCustomersCustomerSourcesIdRequestBodyOwner' -> Maybe Text
-- | phone
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSourcesIdRequestBodyOwner'Phone] :: PostCustomersCustomerSourcesIdRequestBodyOwner' -> Maybe Text
-- | Create a new PostCustomersCustomerSourcesIdRequestBodyOwner'
-- with all required fields.
mkPostCustomersCustomerSourcesIdRequestBodyOwner' :: PostCustomersCustomerSourcesIdRequestBodyOwner'
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/sources/{id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.owner.properties.address
-- in the specification.
data PostCustomersCustomerSourcesIdRequestBodyOwner'Address'
PostCustomersCustomerSourcesIdRequestBodyOwner'Address' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PostCustomersCustomerSourcesIdRequestBodyOwner'Address'
-- | city
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSourcesIdRequestBodyOwner'Address'City] :: PostCustomersCustomerSourcesIdRequestBodyOwner'Address' -> Maybe Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSourcesIdRequestBodyOwner'Address'Country] :: PostCustomersCustomerSourcesIdRequestBodyOwner'Address' -> Maybe Text
-- | line1
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSourcesIdRequestBodyOwner'Address'Line1] :: PostCustomersCustomerSourcesIdRequestBodyOwner'Address' -> Maybe Text
-- | line2
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSourcesIdRequestBodyOwner'Address'Line2] :: PostCustomersCustomerSourcesIdRequestBodyOwner'Address' -> Maybe Text
-- | postal_code
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSourcesIdRequestBodyOwner'Address'PostalCode] :: PostCustomersCustomerSourcesIdRequestBodyOwner'Address' -> Maybe Text
-- | state
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSourcesIdRequestBodyOwner'Address'State] :: PostCustomersCustomerSourcesIdRequestBodyOwner'Address' -> Maybe Text
-- | Create a new
-- PostCustomersCustomerSourcesIdRequestBodyOwner'Address' with
-- all required fields.
mkPostCustomersCustomerSourcesIdRequestBodyOwner'Address' :: PostCustomersCustomerSourcesIdRequestBodyOwner'Address'
-- | Represents a response of the operation
-- postCustomersCustomerSourcesId.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- PostCustomersCustomerSourcesIdResponseError is used.
data PostCustomersCustomerSourcesIdResponse
-- | Means either no matching case available or a parse error
PostCustomersCustomerSourcesIdResponseError :: String -> PostCustomersCustomerSourcesIdResponse
-- | Successful response.
PostCustomersCustomerSourcesIdResponse200 :: PostCustomersCustomerSourcesIdResponseBody200 -> PostCustomersCustomerSourcesIdResponse
-- | Error response.
PostCustomersCustomerSourcesIdResponseDefault :: Error -> PostCustomersCustomerSourcesIdResponse
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/sources/{id}.POST.responses.200.content.application/json.schema.anyOf
-- in the specification.
data PostCustomersCustomerSourcesIdResponseBody200
PostCustomersCustomerSourcesIdResponseBody200 :: Maybe PostCustomersCustomerSourcesIdResponseBody200Account'Variants -> Maybe Text -> Maybe Text -> Maybe SourceTypeAchCreditTransfer -> Maybe SourceTypeAchDebit -> Maybe SourceTypeAcssDebit -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe SourceTypeAlipay -> Maybe Int -> Maybe SourceTypeAuBecsDebit -> Maybe [PostCustomersCustomerSourcesIdResponseBody200AvailablePayoutMethods'] -> Maybe SourceTypeBancontact -> Maybe Text -> Maybe Text -> Maybe SourceTypeCard -> Maybe SourceTypeCardPresent -> Maybe Text -> Maybe SourceCodeVerificationFlow -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe PostCustomersCustomerSourcesIdResponseBody200Customer'Variants -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe SourceTypeEps -> Maybe Int -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe SourceTypeGiropay -> Maybe Text -> Maybe SourceTypeIdeal -> Maybe SourceTypeKlarna -> Maybe Text -> Maybe Bool -> Maybe Object -> Maybe SourceTypeMultibanco -> Maybe Text -> Maybe PostCustomersCustomerSourcesIdResponseBody200Object' -> Maybe PostCustomersCustomerSourcesIdResponseBody200Owner' -> Maybe SourceTypeP24 -> Maybe SourceReceiverFlow -> Maybe PostCustomersCustomerSourcesIdResponseBody200Recipient'Variants -> Maybe SourceRedirectFlow -> Maybe Text -> Maybe SourceTypeSepaDebit -> Maybe SourceTypeSofort -> Maybe SourceOrder -> Maybe Text -> Maybe Text -> Maybe SourceTypeThreeDSecure -> Maybe Text -> Maybe PostCustomersCustomerSourcesIdResponseBody200Type' -> Maybe Text -> Maybe SourceTypeWechat -> PostCustomersCustomerSourcesIdResponseBody200
-- | account: The account this card belongs to. This attribute will not be
-- in the card object if the card belongs to a customer or recipient
-- instead.
[postCustomersCustomerSourcesIdResponseBody200Account] :: PostCustomersCustomerSourcesIdResponseBody200 -> Maybe PostCustomersCustomerSourcesIdResponseBody200Account'Variants
-- | account_holder_name: The name of the person or business that owns the
-- bank account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSourcesIdResponseBody200AccountHolderName] :: PostCustomersCustomerSourcesIdResponseBody200 -> Maybe Text
-- | account_holder_type: The type of entity that holds the account. This
-- can be either `individual` or `company`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSourcesIdResponseBody200AccountHolderType] :: PostCustomersCustomerSourcesIdResponseBody200 -> Maybe Text
-- | ach_credit_transfer
[postCustomersCustomerSourcesIdResponseBody200AchCreditTransfer] :: PostCustomersCustomerSourcesIdResponseBody200 -> Maybe SourceTypeAchCreditTransfer
-- | ach_debit
[postCustomersCustomerSourcesIdResponseBody200AchDebit] :: PostCustomersCustomerSourcesIdResponseBody200 -> Maybe SourceTypeAchDebit
-- | acss_debit
[postCustomersCustomerSourcesIdResponseBody200AcssDebit] :: PostCustomersCustomerSourcesIdResponseBody200 -> Maybe SourceTypeAcssDebit
-- | address_city: City/District/Suburb/Town/Village.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSourcesIdResponseBody200AddressCity] :: PostCustomersCustomerSourcesIdResponseBody200 -> Maybe Text
-- | address_country: Billing address country, if provided when creating
-- card.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSourcesIdResponseBody200AddressCountry] :: PostCustomersCustomerSourcesIdResponseBody200 -> Maybe Text
-- | address_line1: Address line 1 (Street address/PO Box/Company name).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSourcesIdResponseBody200AddressLine1] :: PostCustomersCustomerSourcesIdResponseBody200 -> Maybe Text
-- | address_line1_check: If `address_line1` was provided, results of the
-- check: `pass`, `fail`, `unavailable`, or `unchecked`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSourcesIdResponseBody200AddressLine1Check] :: PostCustomersCustomerSourcesIdResponseBody200 -> Maybe Text
-- | address_line2: Address line 2 (Apartment/Suite/Unit/Building).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSourcesIdResponseBody200AddressLine2] :: PostCustomersCustomerSourcesIdResponseBody200 -> Maybe Text
-- | address_state: State/County/Province/Region.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSourcesIdResponseBody200AddressState] :: PostCustomersCustomerSourcesIdResponseBody200 -> Maybe Text
-- | address_zip: ZIP or postal code.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSourcesIdResponseBody200AddressZip] :: PostCustomersCustomerSourcesIdResponseBody200 -> Maybe Text
-- | address_zip_check: If `address_zip` was provided, results of the
-- check: `pass`, `fail`, `unavailable`, or `unchecked`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSourcesIdResponseBody200AddressZipCheck] :: PostCustomersCustomerSourcesIdResponseBody200 -> Maybe Text
-- | alipay
[postCustomersCustomerSourcesIdResponseBody200Alipay] :: PostCustomersCustomerSourcesIdResponseBody200 -> Maybe SourceTypeAlipay
-- | amount: A positive integer in the smallest currency unit (that is, 100
-- cents for $1.00, or 1 for ¥1, Japanese Yen being a zero-decimal
-- currency) representing the total amount associated with the source.
-- This is the amount for which the source will be chargeable once ready.
-- Required for `single_use` sources.
[postCustomersCustomerSourcesIdResponseBody200Amount] :: PostCustomersCustomerSourcesIdResponseBody200 -> Maybe Int
-- | au_becs_debit
[postCustomersCustomerSourcesIdResponseBody200AuBecsDebit] :: PostCustomersCustomerSourcesIdResponseBody200 -> Maybe SourceTypeAuBecsDebit
-- | available_payout_methods: A set of available payout methods for this
-- card. Only values from this set should be passed as the `method` when
-- creating a payout.
[postCustomersCustomerSourcesIdResponseBody200AvailablePayoutMethods] :: PostCustomersCustomerSourcesIdResponseBody200 -> Maybe [PostCustomersCustomerSourcesIdResponseBody200AvailablePayoutMethods']
-- | bancontact
[postCustomersCustomerSourcesIdResponseBody200Bancontact] :: PostCustomersCustomerSourcesIdResponseBody200 -> Maybe SourceTypeBancontact
-- | bank_name: Name of the bank associated with the routing number (e.g.,
-- `WELLS FARGO`).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSourcesIdResponseBody200BankName] :: PostCustomersCustomerSourcesIdResponseBody200 -> Maybe Text
-- | brand: Card brand. Can be `American Express`, `Diners Club`,
-- `Discover`, `JCB`, `MasterCard`, `UnionPay`, `Visa`, or `Unknown`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSourcesIdResponseBody200Brand] :: PostCustomersCustomerSourcesIdResponseBody200 -> Maybe Text
-- | card
[postCustomersCustomerSourcesIdResponseBody200Card] :: PostCustomersCustomerSourcesIdResponseBody200 -> Maybe SourceTypeCard
-- | card_present
[postCustomersCustomerSourcesIdResponseBody200CardPresent] :: PostCustomersCustomerSourcesIdResponseBody200 -> Maybe SourceTypeCardPresent
-- | client_secret: The client secret of the source. Used for client-side
-- retrieval using a publishable key.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSourcesIdResponseBody200ClientSecret] :: PostCustomersCustomerSourcesIdResponseBody200 -> Maybe Text
-- | code_verification:
[postCustomersCustomerSourcesIdResponseBody200CodeVerification] :: PostCustomersCustomerSourcesIdResponseBody200 -> Maybe SourceCodeVerificationFlow
-- | country: Two-letter ISO code representing the country of the card. You
-- could use this attribute to get a sense of the international breakdown
-- of cards you've collected.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSourcesIdResponseBody200Country] :: PostCustomersCustomerSourcesIdResponseBody200 -> Maybe Text
-- | created: Time at which the object was created. Measured in seconds
-- since the Unix epoch.
[postCustomersCustomerSourcesIdResponseBody200Created] :: PostCustomersCustomerSourcesIdResponseBody200 -> Maybe Int
-- | currency: Three-letter ISO code for currency. Only applicable
-- on accounts (not customers or recipients). The card can be used as a
-- transfer destination for funds in this currency.
[postCustomersCustomerSourcesIdResponseBody200Currency] :: PostCustomersCustomerSourcesIdResponseBody200 -> Maybe Text
-- | customer: The customer that this card belongs to. This attribute will
-- not be in the card object if the card belongs to an account or
-- recipient instead.
[postCustomersCustomerSourcesIdResponseBody200Customer] :: PostCustomersCustomerSourcesIdResponseBody200 -> Maybe PostCustomersCustomerSourcesIdResponseBody200Customer'Variants
-- | cvc_check: If a CVC was provided, results of the check: `pass`,
-- `fail`, `unavailable`, or `unchecked`. A result of unchecked indicates
-- that CVC was provided but hasn't been checked yet. Checks are
-- typically performed when attaching a card to a Customer object, or
-- when creating a charge. For more details, see Check if a card is
-- valid without a charge.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSourcesIdResponseBody200CvcCheck] :: PostCustomersCustomerSourcesIdResponseBody200 -> Maybe Text
-- | default_for_currency: Whether this card is the default external
-- account for its currency.
[postCustomersCustomerSourcesIdResponseBody200DefaultForCurrency] :: PostCustomersCustomerSourcesIdResponseBody200 -> Maybe Bool
-- | dynamic_last4: (For tokenized numbers only.) The last four digits of
-- the device account number.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSourcesIdResponseBody200DynamicLast4] :: PostCustomersCustomerSourcesIdResponseBody200 -> Maybe Text
-- | eps
[postCustomersCustomerSourcesIdResponseBody200Eps] :: PostCustomersCustomerSourcesIdResponseBody200 -> Maybe SourceTypeEps
-- | exp_month: Two-digit number representing the card's expiration month.
[postCustomersCustomerSourcesIdResponseBody200ExpMonth] :: PostCustomersCustomerSourcesIdResponseBody200 -> Maybe Int
-- | exp_year: Four-digit number representing the card's expiration year.
[postCustomersCustomerSourcesIdResponseBody200ExpYear] :: PostCustomersCustomerSourcesIdResponseBody200 -> Maybe Int
-- | fingerprint: Uniquely identifies this particular card number. You can
-- use this attribute to check whether two customers who’ve signed up
-- with you are using the same card number, for example. For payment
-- methods that tokenize card information (Apple Pay, Google Pay), the
-- tokenized number might be provided instead of the underlying card
-- number.
--
--
-- - Starting May 1, 2021, card fingerprint in India for Connect will
-- change to allow two fingerprints for the same card --- one for India
-- and one for the rest of the world.*
--
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSourcesIdResponseBody200Fingerprint] :: PostCustomersCustomerSourcesIdResponseBody200 -> Maybe Text
-- | flow: The authentication `flow` of the source. `flow` is one of
-- `redirect`, `receiver`, `code_verification`, `none`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSourcesIdResponseBody200Flow] :: PostCustomersCustomerSourcesIdResponseBody200 -> Maybe Text
-- | funding: Card funding type. Can be `credit`, `debit`, `prepaid`, or
-- `unknown`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSourcesIdResponseBody200Funding] :: PostCustomersCustomerSourcesIdResponseBody200 -> Maybe Text
-- | giropay
[postCustomersCustomerSourcesIdResponseBody200Giropay] :: PostCustomersCustomerSourcesIdResponseBody200 -> Maybe SourceTypeGiropay
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSourcesIdResponseBody200Id] :: PostCustomersCustomerSourcesIdResponseBody200 -> Maybe Text
-- | ideal
[postCustomersCustomerSourcesIdResponseBody200Ideal] :: PostCustomersCustomerSourcesIdResponseBody200 -> Maybe SourceTypeIdeal
-- | klarna
[postCustomersCustomerSourcesIdResponseBody200Klarna] :: PostCustomersCustomerSourcesIdResponseBody200 -> Maybe SourceTypeKlarna
-- | last4: The last four digits of the card.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSourcesIdResponseBody200Last4] :: PostCustomersCustomerSourcesIdResponseBody200 -> Maybe Text
-- | livemode: Has the value `true` if the object exists in live mode or
-- the value `false` if the object exists in test mode.
[postCustomersCustomerSourcesIdResponseBody200Livemode] :: PostCustomersCustomerSourcesIdResponseBody200 -> Maybe Bool
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format.
[postCustomersCustomerSourcesIdResponseBody200Metadata] :: PostCustomersCustomerSourcesIdResponseBody200 -> Maybe Object
-- | multibanco
[postCustomersCustomerSourcesIdResponseBody200Multibanco] :: PostCustomersCustomerSourcesIdResponseBody200 -> Maybe SourceTypeMultibanco
-- | name: Cardholder name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSourcesIdResponseBody200Name] :: PostCustomersCustomerSourcesIdResponseBody200 -> Maybe Text
-- | object: String representing the object's type. Objects of the same
-- type share the same value.
[postCustomersCustomerSourcesIdResponseBody200Object] :: PostCustomersCustomerSourcesIdResponseBody200 -> Maybe PostCustomersCustomerSourcesIdResponseBody200Object'
-- | owner: Information about the owner of the payment instrument that may
-- be used or required by particular source types.
[postCustomersCustomerSourcesIdResponseBody200Owner] :: PostCustomersCustomerSourcesIdResponseBody200 -> Maybe PostCustomersCustomerSourcesIdResponseBody200Owner'
-- | p24
[postCustomersCustomerSourcesIdResponseBody200P24] :: PostCustomersCustomerSourcesIdResponseBody200 -> Maybe SourceTypeP24
-- | receiver:
[postCustomersCustomerSourcesIdResponseBody200Receiver] :: PostCustomersCustomerSourcesIdResponseBody200 -> Maybe SourceReceiverFlow
-- | recipient: 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.
[postCustomersCustomerSourcesIdResponseBody200Recipient] :: PostCustomersCustomerSourcesIdResponseBody200 -> Maybe PostCustomersCustomerSourcesIdResponseBody200Recipient'Variants
-- | redirect:
[postCustomersCustomerSourcesIdResponseBody200Redirect] :: PostCustomersCustomerSourcesIdResponseBody200 -> Maybe SourceRedirectFlow
-- | routing_number: The routing transit number for the bank account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSourcesIdResponseBody200RoutingNumber] :: PostCustomersCustomerSourcesIdResponseBody200 -> Maybe Text
-- | sepa_debit
[postCustomersCustomerSourcesIdResponseBody200SepaDebit] :: PostCustomersCustomerSourcesIdResponseBody200 -> Maybe SourceTypeSepaDebit
-- | sofort
[postCustomersCustomerSourcesIdResponseBody200Sofort] :: PostCustomersCustomerSourcesIdResponseBody200 -> Maybe SourceTypeSofort
-- | source_order:
[postCustomersCustomerSourcesIdResponseBody200SourceOrder] :: PostCustomersCustomerSourcesIdResponseBody200 -> Maybe SourceOrder
-- | statement_descriptor: Extra information about a source. This will
-- appear on your customer's statement every time you charge the source.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSourcesIdResponseBody200StatementDescriptor] :: PostCustomersCustomerSourcesIdResponseBody200 -> Maybe Text
-- | status: For bank accounts, possible values are `new`, `validated`,
-- `verified`, `verification_failed`, or `errored`. A bank account that
-- hasn't had any activity or validation performed is `new`. If Stripe
-- can determine that the bank account exists, its status will be
-- `validated`. Note that there often isn’t enough information to know
-- (e.g., for smaller credit unions), and the validation is not always
-- run. If customer bank account verification has succeeded, the bank
-- account status will be `verified`. If the verification failed for any
-- reason, such as microdeposit failure, the status will be
-- `verification_failed`. If a transfer sent to this bank account fails,
-- we'll set the status to `errored` and will not continue to send
-- transfers until the bank details are updated.
--
-- For external accounts, possible values are `new` and `errored`.
-- Validations aren't run against external accounts because they're only
-- used for payouts. This means the other statuses don't apply. If a
-- transfer fails, the status is set to `errored` and transfers are
-- stopped until account details are updated.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSourcesIdResponseBody200Status] :: PostCustomersCustomerSourcesIdResponseBody200 -> Maybe Text
-- | three_d_secure
[postCustomersCustomerSourcesIdResponseBody200ThreeDSecure] :: PostCustomersCustomerSourcesIdResponseBody200 -> Maybe SourceTypeThreeDSecure
-- | tokenization_method: If the card number is tokenized, this is the
-- method that was used. Can be `android_pay` (includes Google Pay),
-- `apple_pay`, `masterpass`, `visa_checkout`, or null.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSourcesIdResponseBody200TokenizationMethod] :: PostCustomersCustomerSourcesIdResponseBody200 -> Maybe Text
-- | type: The `type` of the source. The `type` is a payment method, one of
-- `ach_credit_transfer`, `ach_debit`, `alipay`, `bancontact`, `card`,
-- `card_present`, `eps`, `giropay`, `ideal`, `multibanco`, `klarna`,
-- `p24`, `sepa_debit`, `sofort`, `three_d_secure`, or `wechat`. An
-- additional hash is included on the source with a name matching this
-- value. It contains additional information specific to the payment
-- method used.
[postCustomersCustomerSourcesIdResponseBody200Type] :: PostCustomersCustomerSourcesIdResponseBody200 -> Maybe PostCustomersCustomerSourcesIdResponseBody200Type'
-- | usage: Either `reusable` or `single_use`. Whether this source should
-- be reusable or not. Some source types may or may not be reusable by
-- construction, while others may leave the option at creation. If an
-- incompatible value is passed, an error will be returned.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSourcesIdResponseBody200Usage] :: PostCustomersCustomerSourcesIdResponseBody200 -> Maybe Text
-- | wechat
[postCustomersCustomerSourcesIdResponseBody200Wechat] :: PostCustomersCustomerSourcesIdResponseBody200 -> Maybe SourceTypeWechat
-- | Create a new PostCustomersCustomerSourcesIdResponseBody200 with
-- all required fields.
mkPostCustomersCustomerSourcesIdResponseBody200 :: PostCustomersCustomerSourcesIdResponseBody200
-- | Defines the oneOf schema located at
-- paths./v1/customers/{customer}/sources/{id}.POST.responses.200.content.application/json.schema.anyOf.properties.account.anyOf
-- in the specification.
--
-- The account this card belongs to. This attribute will not be in the
-- card object if the card belongs to a customer or recipient instead.
data PostCustomersCustomerSourcesIdResponseBody200Account'Variants
PostCustomersCustomerSourcesIdResponseBody200Account'Text :: Text -> PostCustomersCustomerSourcesIdResponseBody200Account'Variants
PostCustomersCustomerSourcesIdResponseBody200Account'Account :: Account -> PostCustomersCustomerSourcesIdResponseBody200Account'Variants
-- | Defines the enum schema located at
-- paths./v1/customers/{customer}/sources/{id}.POST.responses.200.content.application/json.schema.anyOf.properties.available_payout_methods.items
-- in the specification.
data PostCustomersCustomerSourcesIdResponseBody200AvailablePayoutMethods'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostCustomersCustomerSourcesIdResponseBody200AvailablePayoutMethods'Other :: Value -> PostCustomersCustomerSourcesIdResponseBody200AvailablePayoutMethods'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostCustomersCustomerSourcesIdResponseBody200AvailablePayoutMethods'Typed :: Text -> PostCustomersCustomerSourcesIdResponseBody200AvailablePayoutMethods'
-- | Represents the JSON value "instant"
PostCustomersCustomerSourcesIdResponseBody200AvailablePayoutMethods'EnumInstant :: PostCustomersCustomerSourcesIdResponseBody200AvailablePayoutMethods'
-- | Represents the JSON value "standard"
PostCustomersCustomerSourcesIdResponseBody200AvailablePayoutMethods'EnumStandard :: PostCustomersCustomerSourcesIdResponseBody200AvailablePayoutMethods'
-- | Defines the oneOf schema located at
-- paths./v1/customers/{customer}/sources/{id}.POST.responses.200.content.application/json.schema.anyOf.properties.customer.anyOf
-- in the specification.
--
-- The customer that this card belongs to. This attribute will not be in
-- the card object if the card belongs to an account or recipient
-- instead.
data PostCustomersCustomerSourcesIdResponseBody200Customer'Variants
PostCustomersCustomerSourcesIdResponseBody200Customer'Text :: Text -> PostCustomersCustomerSourcesIdResponseBody200Customer'Variants
PostCustomersCustomerSourcesIdResponseBody200Customer'Customer :: Customer -> PostCustomersCustomerSourcesIdResponseBody200Customer'Variants
PostCustomersCustomerSourcesIdResponseBody200Customer'DeletedCustomer :: DeletedCustomer -> PostCustomersCustomerSourcesIdResponseBody200Customer'Variants
-- | Defines the enum schema located at
-- paths./v1/customers/{customer}/sources/{id}.POST.responses.200.content.application/json.schema.anyOf.properties.object
-- in the specification.
--
-- String representing the object's type. Objects of the same type share
-- the same value.
data PostCustomersCustomerSourcesIdResponseBody200Object'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostCustomersCustomerSourcesIdResponseBody200Object'Other :: Value -> PostCustomersCustomerSourcesIdResponseBody200Object'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostCustomersCustomerSourcesIdResponseBody200Object'Typed :: Text -> PostCustomersCustomerSourcesIdResponseBody200Object'
-- | Represents the JSON value "card"
PostCustomersCustomerSourcesIdResponseBody200Object'EnumCard :: PostCustomersCustomerSourcesIdResponseBody200Object'
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/sources/{id}.POST.responses.200.content.application/json.schema.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.
data PostCustomersCustomerSourcesIdResponseBody200Owner'
PostCustomersCustomerSourcesIdResponseBody200Owner' :: Maybe PostCustomersCustomerSourcesIdResponseBody200Owner'Address' -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe PostCustomersCustomerSourcesIdResponseBody200Owner'VerifiedAddress' -> Maybe Text -> Maybe Text -> Maybe Text -> PostCustomersCustomerSourcesIdResponseBody200Owner'
-- | address: Owner's address.
[postCustomersCustomerSourcesIdResponseBody200Owner'Address] :: PostCustomersCustomerSourcesIdResponseBody200Owner' -> Maybe PostCustomersCustomerSourcesIdResponseBody200Owner'Address'
-- | email: Owner's email address.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSourcesIdResponseBody200Owner'Email] :: PostCustomersCustomerSourcesIdResponseBody200Owner' -> Maybe Text
-- | name: Owner's full name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSourcesIdResponseBody200Owner'Name] :: PostCustomersCustomerSourcesIdResponseBody200Owner' -> Maybe Text
-- | phone: Owner's phone number (including extension).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSourcesIdResponseBody200Owner'Phone] :: PostCustomersCustomerSourcesIdResponseBody200Owner' -> Maybe Text
-- | verified_address: 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.
[postCustomersCustomerSourcesIdResponseBody200Owner'VerifiedAddress] :: PostCustomersCustomerSourcesIdResponseBody200Owner' -> Maybe PostCustomersCustomerSourcesIdResponseBody200Owner'VerifiedAddress'
-- | verified_email: Verified owner's email 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.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSourcesIdResponseBody200Owner'VerifiedEmail] :: PostCustomersCustomerSourcesIdResponseBody200Owner' -> Maybe Text
-- | verified_name: Verified owner's full name. 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.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSourcesIdResponseBody200Owner'VerifiedName] :: PostCustomersCustomerSourcesIdResponseBody200Owner' -> Maybe Text
-- | verified_phone: Verified owner's phone number (including extension).
-- 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.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSourcesIdResponseBody200Owner'VerifiedPhone] :: PostCustomersCustomerSourcesIdResponseBody200Owner' -> Maybe Text
-- | Create a new
-- PostCustomersCustomerSourcesIdResponseBody200Owner' with all
-- required fields.
mkPostCustomersCustomerSourcesIdResponseBody200Owner' :: PostCustomersCustomerSourcesIdResponseBody200Owner'
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/sources/{id}.POST.responses.200.content.application/json.schema.anyOf.properties.owner.anyOf.properties.address.anyOf
-- in the specification.
--
-- Owner\'s address.
data PostCustomersCustomerSourcesIdResponseBody200Owner'Address'
PostCustomersCustomerSourcesIdResponseBody200Owner'Address' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PostCustomersCustomerSourcesIdResponseBody200Owner'Address'
-- | city: City, district, suburb, town, or village.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSourcesIdResponseBody200Owner'Address'City] :: PostCustomersCustomerSourcesIdResponseBody200Owner'Address' -> Maybe Text
-- | country: Two-letter country code ([ISO 3166-1
-- alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSourcesIdResponseBody200Owner'Address'Country] :: PostCustomersCustomerSourcesIdResponseBody200Owner'Address' -> Maybe Text
-- | line1: Address line 1 (e.g., street, PO Box, or company name).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSourcesIdResponseBody200Owner'Address'Line1] :: PostCustomersCustomerSourcesIdResponseBody200Owner'Address' -> Maybe Text
-- | line2: Address line 2 (e.g., apartment, suite, unit, or building).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSourcesIdResponseBody200Owner'Address'Line2] :: PostCustomersCustomerSourcesIdResponseBody200Owner'Address' -> Maybe Text
-- | postal_code: ZIP or postal code.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSourcesIdResponseBody200Owner'Address'PostalCode] :: PostCustomersCustomerSourcesIdResponseBody200Owner'Address' -> Maybe Text
-- | state: State, county, province, or region.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSourcesIdResponseBody200Owner'Address'State] :: PostCustomersCustomerSourcesIdResponseBody200Owner'Address' -> Maybe Text
-- | Create a new
-- PostCustomersCustomerSourcesIdResponseBody200Owner'Address'
-- with all required fields.
mkPostCustomersCustomerSourcesIdResponseBody200Owner'Address' :: PostCustomersCustomerSourcesIdResponseBody200Owner'Address'
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/sources/{id}.POST.responses.200.content.application/json.schema.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.
data PostCustomersCustomerSourcesIdResponseBody200Owner'VerifiedAddress'
PostCustomersCustomerSourcesIdResponseBody200Owner'VerifiedAddress' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PostCustomersCustomerSourcesIdResponseBody200Owner'VerifiedAddress'
-- | city: City, district, suburb, town, or village.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSourcesIdResponseBody200Owner'VerifiedAddress'City] :: PostCustomersCustomerSourcesIdResponseBody200Owner'VerifiedAddress' -> Maybe Text
-- | country: Two-letter country code ([ISO 3166-1
-- alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSourcesIdResponseBody200Owner'VerifiedAddress'Country] :: PostCustomersCustomerSourcesIdResponseBody200Owner'VerifiedAddress' -> Maybe Text
-- | line1: Address line 1 (e.g., street, PO Box, or company name).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSourcesIdResponseBody200Owner'VerifiedAddress'Line1] :: PostCustomersCustomerSourcesIdResponseBody200Owner'VerifiedAddress' -> Maybe Text
-- | line2: Address line 2 (e.g., apartment, suite, unit, or building).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSourcesIdResponseBody200Owner'VerifiedAddress'Line2] :: PostCustomersCustomerSourcesIdResponseBody200Owner'VerifiedAddress' -> Maybe Text
-- | postal_code: ZIP or postal code.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSourcesIdResponseBody200Owner'VerifiedAddress'PostalCode] :: PostCustomersCustomerSourcesIdResponseBody200Owner'VerifiedAddress' -> Maybe Text
-- | state: State, county, province, or region.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSourcesIdResponseBody200Owner'VerifiedAddress'State] :: PostCustomersCustomerSourcesIdResponseBody200Owner'VerifiedAddress' -> Maybe Text
-- | Create a new
-- PostCustomersCustomerSourcesIdResponseBody200Owner'VerifiedAddress'
-- with all required fields.
mkPostCustomersCustomerSourcesIdResponseBody200Owner'VerifiedAddress' :: PostCustomersCustomerSourcesIdResponseBody200Owner'VerifiedAddress'
-- | Defines the oneOf schema located at
-- paths./v1/customers/{customer}/sources/{id}.POST.responses.200.content.application/json.schema.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 PostCustomersCustomerSourcesIdResponseBody200Recipient'Variants
PostCustomersCustomerSourcesIdResponseBody200Recipient'Text :: Text -> PostCustomersCustomerSourcesIdResponseBody200Recipient'Variants
PostCustomersCustomerSourcesIdResponseBody200Recipient'Recipient :: Recipient -> PostCustomersCustomerSourcesIdResponseBody200Recipient'Variants
-- | Defines the enum schema located at
-- paths./v1/customers/{customer}/sources/{id}.POST.responses.200.content.application/json.schema.anyOf.properties.type
-- in the specification.
--
-- The `type` of the source. The `type` is a payment method, one of
-- `ach_credit_transfer`, `ach_debit`, `alipay`, `bancontact`, `card`,
-- `card_present`, `eps`, `giropay`, `ideal`, `multibanco`, `klarna`,
-- `p24`, `sepa_debit`, `sofort`, `three_d_secure`, or `wechat`. An
-- additional hash is included on the source with a name matching this
-- value. It contains additional information specific to the payment
-- method used.
data PostCustomersCustomerSourcesIdResponseBody200Type'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostCustomersCustomerSourcesIdResponseBody200Type'Other :: Value -> PostCustomersCustomerSourcesIdResponseBody200Type'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostCustomersCustomerSourcesIdResponseBody200Type'Typed :: Text -> PostCustomersCustomerSourcesIdResponseBody200Type'
-- | Represents the JSON value "ach_credit_transfer"
PostCustomersCustomerSourcesIdResponseBody200Type'EnumAchCreditTransfer :: PostCustomersCustomerSourcesIdResponseBody200Type'
-- | Represents the JSON value "ach_debit"
PostCustomersCustomerSourcesIdResponseBody200Type'EnumAchDebit :: PostCustomersCustomerSourcesIdResponseBody200Type'
-- | Represents the JSON value "acss_debit"
PostCustomersCustomerSourcesIdResponseBody200Type'EnumAcssDebit :: PostCustomersCustomerSourcesIdResponseBody200Type'
-- | Represents the JSON value "alipay"
PostCustomersCustomerSourcesIdResponseBody200Type'EnumAlipay :: PostCustomersCustomerSourcesIdResponseBody200Type'
-- | Represents the JSON value "au_becs_debit"
PostCustomersCustomerSourcesIdResponseBody200Type'EnumAuBecsDebit :: PostCustomersCustomerSourcesIdResponseBody200Type'
-- | Represents the JSON value "bancontact"
PostCustomersCustomerSourcesIdResponseBody200Type'EnumBancontact :: PostCustomersCustomerSourcesIdResponseBody200Type'
-- | Represents the JSON value "card"
PostCustomersCustomerSourcesIdResponseBody200Type'EnumCard :: PostCustomersCustomerSourcesIdResponseBody200Type'
-- | Represents the JSON value "card_present"
PostCustomersCustomerSourcesIdResponseBody200Type'EnumCardPresent :: PostCustomersCustomerSourcesIdResponseBody200Type'
-- | Represents the JSON value "eps"
PostCustomersCustomerSourcesIdResponseBody200Type'EnumEps :: PostCustomersCustomerSourcesIdResponseBody200Type'
-- | Represents the JSON value "giropay"
PostCustomersCustomerSourcesIdResponseBody200Type'EnumGiropay :: PostCustomersCustomerSourcesIdResponseBody200Type'
-- | Represents the JSON value "ideal"
PostCustomersCustomerSourcesIdResponseBody200Type'EnumIdeal :: PostCustomersCustomerSourcesIdResponseBody200Type'
-- | Represents the JSON value "klarna"
PostCustomersCustomerSourcesIdResponseBody200Type'EnumKlarna :: PostCustomersCustomerSourcesIdResponseBody200Type'
-- | Represents the JSON value "multibanco"
PostCustomersCustomerSourcesIdResponseBody200Type'EnumMultibanco :: PostCustomersCustomerSourcesIdResponseBody200Type'
-- | Represents the JSON value "p24"
PostCustomersCustomerSourcesIdResponseBody200Type'EnumP24 :: PostCustomersCustomerSourcesIdResponseBody200Type'
-- | Represents the JSON value "sepa_debit"
PostCustomersCustomerSourcesIdResponseBody200Type'EnumSepaDebit :: PostCustomersCustomerSourcesIdResponseBody200Type'
-- | Represents the JSON value "sofort"
PostCustomersCustomerSourcesIdResponseBody200Type'EnumSofort :: PostCustomersCustomerSourcesIdResponseBody200Type'
-- | Represents the JSON value "three_d_secure"
PostCustomersCustomerSourcesIdResponseBody200Type'EnumThreeDSecure :: PostCustomersCustomerSourcesIdResponseBody200Type'
-- | Represents the JSON value "wechat"
PostCustomersCustomerSourcesIdResponseBody200Type'EnumWechat :: PostCustomersCustomerSourcesIdResponseBody200Type'
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerSourcesId.PostCustomersCustomerSourcesIdParameters
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerSourcesId.PostCustomersCustomerSourcesIdParameters
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerSourcesId.PostCustomersCustomerSourcesIdRequestBodyAccountHolderType'
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerSourcesId.PostCustomersCustomerSourcesIdRequestBodyAccountHolderType'
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerSourcesId.PostCustomersCustomerSourcesIdRequestBodyMetadata'Variants
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerSourcesId.PostCustomersCustomerSourcesIdRequestBodyMetadata'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerSourcesId.PostCustomersCustomerSourcesIdRequestBodyOwner'Address'
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerSourcesId.PostCustomersCustomerSourcesIdRequestBodyOwner'Address'
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerSourcesId.PostCustomersCustomerSourcesIdRequestBodyOwner'
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerSourcesId.PostCustomersCustomerSourcesIdRequestBodyOwner'
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerSourcesId.PostCustomersCustomerSourcesIdRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerSourcesId.PostCustomersCustomerSourcesIdRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerSourcesId.PostCustomersCustomerSourcesIdResponseBody200Account'Variants
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerSourcesId.PostCustomersCustomerSourcesIdResponseBody200Account'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerSourcesId.PostCustomersCustomerSourcesIdResponseBody200AvailablePayoutMethods'
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerSourcesId.PostCustomersCustomerSourcesIdResponseBody200AvailablePayoutMethods'
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerSourcesId.PostCustomersCustomerSourcesIdResponseBody200Customer'Variants
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerSourcesId.PostCustomersCustomerSourcesIdResponseBody200Customer'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerSourcesId.PostCustomersCustomerSourcesIdResponseBody200Object'
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerSourcesId.PostCustomersCustomerSourcesIdResponseBody200Object'
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerSourcesId.PostCustomersCustomerSourcesIdResponseBody200Owner'Address'
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerSourcesId.PostCustomersCustomerSourcesIdResponseBody200Owner'Address'
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerSourcesId.PostCustomersCustomerSourcesIdResponseBody200Owner'VerifiedAddress'
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerSourcesId.PostCustomersCustomerSourcesIdResponseBody200Owner'VerifiedAddress'
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerSourcesId.PostCustomersCustomerSourcesIdResponseBody200Owner'
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerSourcesId.PostCustomersCustomerSourcesIdResponseBody200Owner'
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerSourcesId.PostCustomersCustomerSourcesIdResponseBody200Recipient'Variants
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerSourcesId.PostCustomersCustomerSourcesIdResponseBody200Recipient'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerSourcesId.PostCustomersCustomerSourcesIdResponseBody200Type'
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerSourcesId.PostCustomersCustomerSourcesIdResponseBody200Type'
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerSourcesId.PostCustomersCustomerSourcesIdResponseBody200
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerSourcesId.PostCustomersCustomerSourcesIdResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerSourcesId.PostCustomersCustomerSourcesIdResponse
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerSourcesId.PostCustomersCustomerSourcesIdResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerSourcesId.PostCustomersCustomerSourcesIdResponseBody200
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerSourcesId.PostCustomersCustomerSourcesIdResponseBody200
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerSourcesId.PostCustomersCustomerSourcesIdResponseBody200Type'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerSourcesId.PostCustomersCustomerSourcesIdResponseBody200Type'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerSourcesId.PostCustomersCustomerSourcesIdResponseBody200Recipient'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerSourcesId.PostCustomersCustomerSourcesIdResponseBody200Recipient'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerSourcesId.PostCustomersCustomerSourcesIdResponseBody200Owner'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerSourcesId.PostCustomersCustomerSourcesIdResponseBody200Owner'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerSourcesId.PostCustomersCustomerSourcesIdResponseBody200Owner'VerifiedAddress'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerSourcesId.PostCustomersCustomerSourcesIdResponseBody200Owner'VerifiedAddress'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerSourcesId.PostCustomersCustomerSourcesIdResponseBody200Owner'Address'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerSourcesId.PostCustomersCustomerSourcesIdResponseBody200Owner'Address'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerSourcesId.PostCustomersCustomerSourcesIdResponseBody200Object'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerSourcesId.PostCustomersCustomerSourcesIdResponseBody200Object'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerSourcesId.PostCustomersCustomerSourcesIdResponseBody200Customer'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerSourcesId.PostCustomersCustomerSourcesIdResponseBody200Customer'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerSourcesId.PostCustomersCustomerSourcesIdResponseBody200AvailablePayoutMethods'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerSourcesId.PostCustomersCustomerSourcesIdResponseBody200AvailablePayoutMethods'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerSourcesId.PostCustomersCustomerSourcesIdResponseBody200Account'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerSourcesId.PostCustomersCustomerSourcesIdResponseBody200Account'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerSourcesId.PostCustomersCustomerSourcesIdRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerSourcesId.PostCustomersCustomerSourcesIdRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerSourcesId.PostCustomersCustomerSourcesIdRequestBodyOwner'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerSourcesId.PostCustomersCustomerSourcesIdRequestBodyOwner'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerSourcesId.PostCustomersCustomerSourcesIdRequestBodyOwner'Address'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerSourcesId.PostCustomersCustomerSourcesIdRequestBodyOwner'Address'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerSourcesId.PostCustomersCustomerSourcesIdRequestBodyMetadata'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerSourcesId.PostCustomersCustomerSourcesIdRequestBodyMetadata'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerSourcesId.PostCustomersCustomerSourcesIdRequestBodyAccountHolderType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerSourcesId.PostCustomersCustomerSourcesIdRequestBodyAccountHolderType'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerSourcesId.PostCustomersCustomerSourcesIdParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerSourcesId.PostCustomersCustomerSourcesIdParameters
-- | Contains the different functions to run the operation
-- postCustomersCustomerSources
module StripeAPI.Operations.PostCustomersCustomerSources
-- |
-- POST /v1/customers/{customer}/sources
--
--
-- <p>When you create a new credit card, you must specify a
-- customer or recipient on which to create it.</p>
--
-- <p>If the card’s owner has no default card, then the new card
-- will become the default. However, if the owner already has a default,
-- then it will not change. To change the default, you should <a
-- href="/docs/api#update_customer">update the customer</a> to
-- have a new <code>default_source</code>.</p>
postCustomersCustomerSources :: forall m. MonadHTTP m => Text -> Maybe PostCustomersCustomerSourcesRequestBody -> ClientT m (Response PostCustomersCustomerSourcesResponse)
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/sources.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostCustomersCustomerSourcesRequestBody
PostCustomersCustomerSourcesRequestBody :: Maybe Text -> Maybe PostCustomersCustomerSourcesRequestBodyBankAccount'Variants -> Maybe PostCustomersCustomerSourcesRequestBodyCard'Variants -> Maybe [Text] -> Maybe Object -> Maybe Text -> PostCustomersCustomerSourcesRequestBody
-- | alipay_account: A token returned by Stripe.js representing the
-- user’s Alipay account details.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSourcesRequestBodyAlipayAccount] :: PostCustomersCustomerSourcesRequestBody -> Maybe Text
-- | bank_account: Either a token, like the ones returned by
-- Stripe.js, or a dictionary containing a user's bank account
-- details.
[postCustomersCustomerSourcesRequestBodyBankAccount] :: PostCustomersCustomerSourcesRequestBody -> Maybe PostCustomersCustomerSourcesRequestBodyBankAccount'Variants
-- | card: A token, like the ones returned by Stripe.js.
[postCustomersCustomerSourcesRequestBodyCard] :: PostCustomersCustomerSourcesRequestBody -> Maybe PostCustomersCustomerSourcesRequestBodyCard'Variants
-- | expand: Specifies which fields in the response should be expanded.
[postCustomersCustomerSourcesRequestBodyExpand] :: PostCustomersCustomerSourcesRequestBody -> Maybe [Text]
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postCustomersCustomerSourcesRequestBodyMetadata] :: PostCustomersCustomerSourcesRequestBody -> Maybe Object
-- | source: Please refer to full documentation instead.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSourcesRequestBodySource] :: PostCustomersCustomerSourcesRequestBody -> Maybe Text
-- | Create a new PostCustomersCustomerSourcesRequestBody with all
-- required fields.
mkPostCustomersCustomerSourcesRequestBody :: PostCustomersCustomerSourcesRequestBody
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/sources.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.bank_account.anyOf
-- in the specification.
data PostCustomersCustomerSourcesRequestBodyBankAccount'OneOf1
PostCustomersCustomerSourcesRequestBodyBankAccount'OneOf1 :: Maybe Text -> Maybe PostCustomersCustomerSourcesRequestBodyBankAccount'OneOf1AccountHolderType' -> Text -> Text -> Maybe Text -> Maybe PostCustomersCustomerSourcesRequestBodyBankAccount'OneOf1Object' -> Maybe Text -> PostCustomersCustomerSourcesRequestBodyBankAccount'OneOf1
-- | account_holder_name
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSourcesRequestBodyBankAccount'OneOf1AccountHolderName] :: PostCustomersCustomerSourcesRequestBodyBankAccount'OneOf1 -> Maybe Text
-- | account_holder_type
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSourcesRequestBodyBankAccount'OneOf1AccountHolderType] :: PostCustomersCustomerSourcesRequestBodyBankAccount'OneOf1 -> Maybe PostCustomersCustomerSourcesRequestBodyBankAccount'OneOf1AccountHolderType'
-- | account_number
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSourcesRequestBodyBankAccount'OneOf1AccountNumber] :: PostCustomersCustomerSourcesRequestBodyBankAccount'OneOf1 -> Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSourcesRequestBodyBankAccount'OneOf1Country] :: PostCustomersCustomerSourcesRequestBodyBankAccount'OneOf1 -> Text
-- | currency
[postCustomersCustomerSourcesRequestBodyBankAccount'OneOf1Currency] :: PostCustomersCustomerSourcesRequestBodyBankAccount'OneOf1 -> Maybe Text
-- | object
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSourcesRequestBodyBankAccount'OneOf1Object] :: PostCustomersCustomerSourcesRequestBodyBankAccount'OneOf1 -> Maybe PostCustomersCustomerSourcesRequestBodyBankAccount'OneOf1Object'
-- | routing_number
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSourcesRequestBodyBankAccount'OneOf1RoutingNumber] :: PostCustomersCustomerSourcesRequestBodyBankAccount'OneOf1 -> Maybe Text
-- | Create a new
-- PostCustomersCustomerSourcesRequestBodyBankAccount'OneOf1 with
-- all required fields.
mkPostCustomersCustomerSourcesRequestBodyBankAccount'OneOf1 :: Text -> Text -> PostCustomersCustomerSourcesRequestBodyBankAccount'OneOf1
-- | Defines the enum schema located at
-- paths./v1/customers/{customer}/sources.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.bank_account.anyOf.properties.account_holder_type
-- in the specification.
data PostCustomersCustomerSourcesRequestBodyBankAccount'OneOf1AccountHolderType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostCustomersCustomerSourcesRequestBodyBankAccount'OneOf1AccountHolderType'Other :: Value -> PostCustomersCustomerSourcesRequestBodyBankAccount'OneOf1AccountHolderType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostCustomersCustomerSourcesRequestBodyBankAccount'OneOf1AccountHolderType'Typed :: Text -> PostCustomersCustomerSourcesRequestBodyBankAccount'OneOf1AccountHolderType'
-- | Represents the JSON value "company"
PostCustomersCustomerSourcesRequestBodyBankAccount'OneOf1AccountHolderType'EnumCompany :: PostCustomersCustomerSourcesRequestBodyBankAccount'OneOf1AccountHolderType'
-- | Represents the JSON value "individual"
PostCustomersCustomerSourcesRequestBodyBankAccount'OneOf1AccountHolderType'EnumIndividual :: PostCustomersCustomerSourcesRequestBodyBankAccount'OneOf1AccountHolderType'
-- | Defines the enum schema located at
-- paths./v1/customers/{customer}/sources.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.bank_account.anyOf.properties.object
-- in the specification.
data PostCustomersCustomerSourcesRequestBodyBankAccount'OneOf1Object'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostCustomersCustomerSourcesRequestBodyBankAccount'OneOf1Object'Other :: Value -> PostCustomersCustomerSourcesRequestBodyBankAccount'OneOf1Object'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostCustomersCustomerSourcesRequestBodyBankAccount'OneOf1Object'Typed :: Text -> PostCustomersCustomerSourcesRequestBodyBankAccount'OneOf1Object'
-- | Represents the JSON value "bank_account"
PostCustomersCustomerSourcesRequestBodyBankAccount'OneOf1Object'EnumBankAccount :: PostCustomersCustomerSourcesRequestBodyBankAccount'OneOf1Object'
-- | Defines the oneOf schema located at
-- paths./v1/customers/{customer}/sources.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.bank_account.anyOf
-- in the specification.
--
-- Either a token, like the ones returned by Stripe.js, or a
-- dictionary containing a user's bank account details.
data PostCustomersCustomerSourcesRequestBodyBankAccount'Variants
PostCustomersCustomerSourcesRequestBodyBankAccount'PostCustomersCustomerSourcesRequestBodyBankAccount'OneOf1 :: PostCustomersCustomerSourcesRequestBodyBankAccount'OneOf1 -> PostCustomersCustomerSourcesRequestBodyBankAccount'Variants
PostCustomersCustomerSourcesRequestBodyBankAccount'Text :: Text -> PostCustomersCustomerSourcesRequestBodyBankAccount'Variants
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/sources.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.card.anyOf
-- in the specification.
data PostCustomersCustomerSourcesRequestBodyCard'OneOf1
PostCustomersCustomerSourcesRequestBodyCard'OneOf1 :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Int -> Int -> Maybe Object -> Maybe Text -> Text -> Maybe PostCustomersCustomerSourcesRequestBodyCard'OneOf1Object' -> PostCustomersCustomerSourcesRequestBodyCard'OneOf1
-- | address_city
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSourcesRequestBodyCard'OneOf1AddressCity] :: PostCustomersCustomerSourcesRequestBodyCard'OneOf1 -> Maybe Text
-- | address_country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSourcesRequestBodyCard'OneOf1AddressCountry] :: PostCustomersCustomerSourcesRequestBodyCard'OneOf1 -> Maybe Text
-- | address_line1
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSourcesRequestBodyCard'OneOf1AddressLine1] :: PostCustomersCustomerSourcesRequestBodyCard'OneOf1 -> Maybe Text
-- | address_line2
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSourcesRequestBodyCard'OneOf1AddressLine2] :: PostCustomersCustomerSourcesRequestBodyCard'OneOf1 -> Maybe Text
-- | address_state
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSourcesRequestBodyCard'OneOf1AddressState] :: PostCustomersCustomerSourcesRequestBodyCard'OneOf1 -> Maybe Text
-- | address_zip
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSourcesRequestBodyCard'OneOf1AddressZip] :: PostCustomersCustomerSourcesRequestBodyCard'OneOf1 -> Maybe Text
-- | cvc
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSourcesRequestBodyCard'OneOf1Cvc] :: PostCustomersCustomerSourcesRequestBodyCard'OneOf1 -> Maybe Text
-- | exp_month
[postCustomersCustomerSourcesRequestBodyCard'OneOf1ExpMonth] :: PostCustomersCustomerSourcesRequestBodyCard'OneOf1 -> Int
-- | exp_year
[postCustomersCustomerSourcesRequestBodyCard'OneOf1ExpYear] :: PostCustomersCustomerSourcesRequestBodyCard'OneOf1 -> Int
-- | metadata
[postCustomersCustomerSourcesRequestBodyCard'OneOf1Metadata] :: PostCustomersCustomerSourcesRequestBodyCard'OneOf1 -> Maybe Object
-- | name
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSourcesRequestBodyCard'OneOf1Name] :: PostCustomersCustomerSourcesRequestBodyCard'OneOf1 -> Maybe Text
-- | number
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSourcesRequestBodyCard'OneOf1Number] :: PostCustomersCustomerSourcesRequestBodyCard'OneOf1 -> Text
-- | object
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerSourcesRequestBodyCard'OneOf1Object] :: PostCustomersCustomerSourcesRequestBodyCard'OneOf1 -> Maybe PostCustomersCustomerSourcesRequestBodyCard'OneOf1Object'
-- | Create a new PostCustomersCustomerSourcesRequestBodyCard'OneOf1
-- with all required fields.
mkPostCustomersCustomerSourcesRequestBodyCard'OneOf1 :: Int -> Int -> Text -> PostCustomersCustomerSourcesRequestBodyCard'OneOf1
-- | Defines the enum schema located at
-- paths./v1/customers/{customer}/sources.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.card.anyOf.properties.object
-- in the specification.
data PostCustomersCustomerSourcesRequestBodyCard'OneOf1Object'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostCustomersCustomerSourcesRequestBodyCard'OneOf1Object'Other :: Value -> PostCustomersCustomerSourcesRequestBodyCard'OneOf1Object'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostCustomersCustomerSourcesRequestBodyCard'OneOf1Object'Typed :: Text -> PostCustomersCustomerSourcesRequestBodyCard'OneOf1Object'
-- | Represents the JSON value "card"
PostCustomersCustomerSourcesRequestBodyCard'OneOf1Object'EnumCard :: PostCustomersCustomerSourcesRequestBodyCard'OneOf1Object'
-- | Defines the oneOf schema located at
-- paths./v1/customers/{customer}/sources.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.card.anyOf
-- in the specification.
--
-- A token, like the ones returned by Stripe.js.
data PostCustomersCustomerSourcesRequestBodyCard'Variants
PostCustomersCustomerSourcesRequestBodyCard'PostCustomersCustomerSourcesRequestBodyCard'OneOf1 :: PostCustomersCustomerSourcesRequestBodyCard'OneOf1 -> PostCustomersCustomerSourcesRequestBodyCard'Variants
PostCustomersCustomerSourcesRequestBodyCard'Text :: Text -> PostCustomersCustomerSourcesRequestBodyCard'Variants
-- | Represents a response of the operation
-- postCustomersCustomerSources.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- PostCustomersCustomerSourcesResponseError is used.
data PostCustomersCustomerSourcesResponse
-- | Means either no matching case available or a parse error
PostCustomersCustomerSourcesResponseError :: String -> PostCustomersCustomerSourcesResponse
-- | Successful response.
PostCustomersCustomerSourcesResponse200 :: PaymentSource -> PostCustomersCustomerSourcesResponse
-- | Error response.
PostCustomersCustomerSourcesResponseDefault :: Error -> PostCustomersCustomerSourcesResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerSources.PostCustomersCustomerSourcesRequestBodyBankAccount'OneOf1AccountHolderType'
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerSources.PostCustomersCustomerSourcesRequestBodyBankAccount'OneOf1AccountHolderType'
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerSources.PostCustomersCustomerSourcesRequestBodyBankAccount'OneOf1Object'
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerSources.PostCustomersCustomerSourcesRequestBodyBankAccount'OneOf1Object'
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerSources.PostCustomersCustomerSourcesRequestBodyBankAccount'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerSources.PostCustomersCustomerSourcesRequestBodyBankAccount'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerSources.PostCustomersCustomerSourcesRequestBodyBankAccount'Variants
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerSources.PostCustomersCustomerSourcesRequestBodyBankAccount'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerSources.PostCustomersCustomerSourcesRequestBodyCard'OneOf1Object'
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerSources.PostCustomersCustomerSourcesRequestBodyCard'OneOf1Object'
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerSources.PostCustomersCustomerSourcesRequestBodyCard'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerSources.PostCustomersCustomerSourcesRequestBodyCard'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerSources.PostCustomersCustomerSourcesRequestBodyCard'Variants
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerSources.PostCustomersCustomerSourcesRequestBodyCard'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerSources.PostCustomersCustomerSourcesRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerSources.PostCustomersCustomerSourcesRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerSources.PostCustomersCustomerSourcesResponse
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerSources.PostCustomersCustomerSourcesResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerSources.PostCustomersCustomerSourcesRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerSources.PostCustomersCustomerSourcesRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerSources.PostCustomersCustomerSourcesRequestBodyCard'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerSources.PostCustomersCustomerSourcesRequestBodyCard'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerSources.PostCustomersCustomerSourcesRequestBodyCard'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerSources.PostCustomersCustomerSourcesRequestBodyCard'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerSources.PostCustomersCustomerSourcesRequestBodyCard'OneOf1Object'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerSources.PostCustomersCustomerSourcesRequestBodyCard'OneOf1Object'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerSources.PostCustomersCustomerSourcesRequestBodyBankAccount'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerSources.PostCustomersCustomerSourcesRequestBodyBankAccount'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerSources.PostCustomersCustomerSourcesRequestBodyBankAccount'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerSources.PostCustomersCustomerSourcesRequestBodyBankAccount'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerSources.PostCustomersCustomerSourcesRequestBodyBankAccount'OneOf1Object'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerSources.PostCustomersCustomerSourcesRequestBodyBankAccount'OneOf1Object'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerSources.PostCustomersCustomerSourcesRequestBodyBankAccount'OneOf1AccountHolderType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerSources.PostCustomersCustomerSourcesRequestBodyBankAccount'OneOf1AccountHolderType'
-- | Contains the different functions to run the operation
-- postCustomersCustomerCardsId
module StripeAPI.Operations.PostCustomersCustomerCardsId
-- |
-- POST /v1/customers/{customer}/cards/{id}
--
--
-- <p>Update a specified source for a given customer.</p>
postCustomersCustomerCardsId :: forall m. MonadHTTP m => PostCustomersCustomerCardsIdParameters -> Maybe PostCustomersCustomerCardsIdRequestBody -> ClientT m (Response PostCustomersCustomerCardsIdResponse)
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/cards/{id}.POST.parameters in
-- the specification.
data PostCustomersCustomerCardsIdParameters
PostCustomersCustomerCardsIdParameters :: Text -> Text -> PostCustomersCustomerCardsIdParameters
-- | pathCustomer: Represents the parameter named 'customer'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerCardsIdParametersPathCustomer] :: PostCustomersCustomerCardsIdParameters -> Text
-- | pathId: Represents the parameter named 'id'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerCardsIdParametersPathId] :: PostCustomersCustomerCardsIdParameters -> Text
-- | Create a new PostCustomersCustomerCardsIdParameters with all
-- required fields.
mkPostCustomersCustomerCardsIdParameters :: Text -> Text -> PostCustomersCustomerCardsIdParameters
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/cards/{id}.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostCustomersCustomerCardsIdRequestBody
PostCustomersCustomerCardsIdRequestBody :: Maybe Text -> Maybe PostCustomersCustomerCardsIdRequestBodyAccountHolderType' -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe [Text] -> Maybe PostCustomersCustomerCardsIdRequestBodyMetadata'Variants -> Maybe Text -> Maybe PostCustomersCustomerCardsIdRequestBodyOwner' -> PostCustomersCustomerCardsIdRequestBody
-- | account_holder_name: The name of the person or business that owns the
-- bank account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerCardsIdRequestBodyAccountHolderName] :: PostCustomersCustomerCardsIdRequestBody -> Maybe Text
-- | account_holder_type: The type of entity that holds the account. This
-- can be either `individual` or `company`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerCardsIdRequestBodyAccountHolderType] :: PostCustomersCustomerCardsIdRequestBody -> Maybe PostCustomersCustomerCardsIdRequestBodyAccountHolderType'
-- | address_city: City/District/Suburb/Town/Village.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerCardsIdRequestBodyAddressCity] :: PostCustomersCustomerCardsIdRequestBody -> Maybe Text
-- | address_country: Billing address country, if provided when creating
-- card.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerCardsIdRequestBodyAddressCountry] :: PostCustomersCustomerCardsIdRequestBody -> Maybe Text
-- | address_line1: Address line 1 (Street address/PO Box/Company name).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerCardsIdRequestBodyAddressLine1] :: PostCustomersCustomerCardsIdRequestBody -> Maybe Text
-- | address_line2: Address line 2 (Apartment/Suite/Unit/Building).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerCardsIdRequestBodyAddressLine2] :: PostCustomersCustomerCardsIdRequestBody -> Maybe Text
-- | address_state: State/County/Province/Region.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerCardsIdRequestBodyAddressState] :: PostCustomersCustomerCardsIdRequestBody -> Maybe Text
-- | address_zip: ZIP or postal code.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerCardsIdRequestBodyAddressZip] :: PostCustomersCustomerCardsIdRequestBody -> Maybe Text
-- | exp_month: Two digit number representing the card’s expiration month.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerCardsIdRequestBodyExpMonth] :: PostCustomersCustomerCardsIdRequestBody -> Maybe Text
-- | exp_year: Four digit number representing the card’s expiration year.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerCardsIdRequestBodyExpYear] :: PostCustomersCustomerCardsIdRequestBody -> Maybe Text
-- | expand: Specifies which fields in the response should be expanded.
[postCustomersCustomerCardsIdRequestBodyExpand] :: PostCustomersCustomerCardsIdRequestBody -> Maybe [Text]
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postCustomersCustomerCardsIdRequestBodyMetadata] :: PostCustomersCustomerCardsIdRequestBody -> Maybe PostCustomersCustomerCardsIdRequestBodyMetadata'Variants
-- | name: Cardholder name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerCardsIdRequestBodyName] :: PostCustomersCustomerCardsIdRequestBody -> Maybe Text
-- | owner
[postCustomersCustomerCardsIdRequestBodyOwner] :: PostCustomersCustomerCardsIdRequestBody -> Maybe PostCustomersCustomerCardsIdRequestBodyOwner'
-- | Create a new PostCustomersCustomerCardsIdRequestBody with all
-- required fields.
mkPostCustomersCustomerCardsIdRequestBody :: PostCustomersCustomerCardsIdRequestBody
-- | Defines the enum schema located at
-- paths./v1/customers/{customer}/cards/{id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.account_holder_type
-- in the specification.
--
-- The type of entity that holds the account. This can be either
-- `individual` or `company`.
data PostCustomersCustomerCardsIdRequestBodyAccountHolderType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostCustomersCustomerCardsIdRequestBodyAccountHolderType'Other :: Value -> PostCustomersCustomerCardsIdRequestBodyAccountHolderType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostCustomersCustomerCardsIdRequestBodyAccountHolderType'Typed :: Text -> PostCustomersCustomerCardsIdRequestBodyAccountHolderType'
-- | Represents the JSON value "company"
PostCustomersCustomerCardsIdRequestBodyAccountHolderType'EnumCompany :: PostCustomersCustomerCardsIdRequestBodyAccountHolderType'
-- | Represents the JSON value "individual"
PostCustomersCustomerCardsIdRequestBodyAccountHolderType'EnumIndividual :: PostCustomersCustomerCardsIdRequestBodyAccountHolderType'
-- | Defines the oneOf schema located at
-- paths./v1/customers/{customer}/cards/{id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.metadata.anyOf
-- in the specification.
--
-- Set of key-value pairs that you can attach to an object. This
-- can be useful for storing additional information about the object in a
-- structured format. Individual keys can be unset by posting an empty
-- value to them. All keys can be unset by posting an empty value to
-- `metadata`.
data PostCustomersCustomerCardsIdRequestBodyMetadata'Variants
-- | Represents the JSON value ""
PostCustomersCustomerCardsIdRequestBodyMetadata'EmptyString :: PostCustomersCustomerCardsIdRequestBodyMetadata'Variants
PostCustomersCustomerCardsIdRequestBodyMetadata'Object :: Object -> PostCustomersCustomerCardsIdRequestBodyMetadata'Variants
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/cards/{id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.owner
-- in the specification.
data PostCustomersCustomerCardsIdRequestBodyOwner'
PostCustomersCustomerCardsIdRequestBodyOwner' :: Maybe PostCustomersCustomerCardsIdRequestBodyOwner'Address' -> Maybe Text -> Maybe Text -> Maybe Text -> PostCustomersCustomerCardsIdRequestBodyOwner'
-- | address
[postCustomersCustomerCardsIdRequestBodyOwner'Address] :: PostCustomersCustomerCardsIdRequestBodyOwner' -> Maybe PostCustomersCustomerCardsIdRequestBodyOwner'Address'
-- | email
[postCustomersCustomerCardsIdRequestBodyOwner'Email] :: PostCustomersCustomerCardsIdRequestBodyOwner' -> Maybe Text
-- | name
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerCardsIdRequestBodyOwner'Name] :: PostCustomersCustomerCardsIdRequestBodyOwner' -> Maybe Text
-- | phone
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerCardsIdRequestBodyOwner'Phone] :: PostCustomersCustomerCardsIdRequestBodyOwner' -> Maybe Text
-- | Create a new PostCustomersCustomerCardsIdRequestBodyOwner' with
-- all required fields.
mkPostCustomersCustomerCardsIdRequestBodyOwner' :: PostCustomersCustomerCardsIdRequestBodyOwner'
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/cards/{id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.owner.properties.address
-- in the specification.
data PostCustomersCustomerCardsIdRequestBodyOwner'Address'
PostCustomersCustomerCardsIdRequestBodyOwner'Address' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PostCustomersCustomerCardsIdRequestBodyOwner'Address'
-- | city
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerCardsIdRequestBodyOwner'Address'City] :: PostCustomersCustomerCardsIdRequestBodyOwner'Address' -> Maybe Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerCardsIdRequestBodyOwner'Address'Country] :: PostCustomersCustomerCardsIdRequestBodyOwner'Address' -> Maybe Text
-- | line1
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerCardsIdRequestBodyOwner'Address'Line1] :: PostCustomersCustomerCardsIdRequestBodyOwner'Address' -> Maybe Text
-- | line2
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerCardsIdRequestBodyOwner'Address'Line2] :: PostCustomersCustomerCardsIdRequestBodyOwner'Address' -> Maybe Text
-- | postal_code
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerCardsIdRequestBodyOwner'Address'PostalCode] :: PostCustomersCustomerCardsIdRequestBodyOwner'Address' -> Maybe Text
-- | state
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerCardsIdRequestBodyOwner'Address'State] :: PostCustomersCustomerCardsIdRequestBodyOwner'Address' -> Maybe Text
-- | Create a new
-- PostCustomersCustomerCardsIdRequestBodyOwner'Address' with all
-- required fields.
mkPostCustomersCustomerCardsIdRequestBodyOwner'Address' :: PostCustomersCustomerCardsIdRequestBodyOwner'Address'
-- | Represents a response of the operation
-- postCustomersCustomerCardsId.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- PostCustomersCustomerCardsIdResponseError is used.
data PostCustomersCustomerCardsIdResponse
-- | Means either no matching case available or a parse error
PostCustomersCustomerCardsIdResponseError :: String -> PostCustomersCustomerCardsIdResponse
-- | Successful response.
PostCustomersCustomerCardsIdResponse200 :: PostCustomersCustomerCardsIdResponseBody200 -> PostCustomersCustomerCardsIdResponse
-- | Error response.
PostCustomersCustomerCardsIdResponseDefault :: Error -> PostCustomersCustomerCardsIdResponse
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/cards/{id}.POST.responses.200.content.application/json.schema.anyOf
-- in the specification.
data PostCustomersCustomerCardsIdResponseBody200
PostCustomersCustomerCardsIdResponseBody200 :: Maybe PostCustomersCustomerCardsIdResponseBody200Account'Variants -> Maybe Text -> Maybe Text -> Maybe SourceTypeAchCreditTransfer -> Maybe SourceTypeAchDebit -> Maybe SourceTypeAcssDebit -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe SourceTypeAlipay -> Maybe Int -> Maybe SourceTypeAuBecsDebit -> Maybe [PostCustomersCustomerCardsIdResponseBody200AvailablePayoutMethods'] -> Maybe SourceTypeBancontact -> Maybe Text -> Maybe Text -> Maybe SourceTypeCard -> Maybe SourceTypeCardPresent -> Maybe Text -> Maybe SourceCodeVerificationFlow -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe PostCustomersCustomerCardsIdResponseBody200Customer'Variants -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe SourceTypeEps -> Maybe Int -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe SourceTypeGiropay -> Maybe Text -> Maybe SourceTypeIdeal -> Maybe SourceTypeKlarna -> Maybe Text -> Maybe Bool -> Maybe Object -> Maybe SourceTypeMultibanco -> Maybe Text -> Maybe PostCustomersCustomerCardsIdResponseBody200Object' -> Maybe PostCustomersCustomerCardsIdResponseBody200Owner' -> Maybe SourceTypeP24 -> Maybe SourceReceiverFlow -> Maybe PostCustomersCustomerCardsIdResponseBody200Recipient'Variants -> Maybe SourceRedirectFlow -> Maybe Text -> Maybe SourceTypeSepaDebit -> Maybe SourceTypeSofort -> Maybe SourceOrder -> Maybe Text -> Maybe Text -> Maybe SourceTypeThreeDSecure -> Maybe Text -> Maybe PostCustomersCustomerCardsIdResponseBody200Type' -> Maybe Text -> Maybe SourceTypeWechat -> PostCustomersCustomerCardsIdResponseBody200
-- | account: The account this card belongs to. This attribute will not be
-- in the card object if the card belongs to a customer or recipient
-- instead.
[postCustomersCustomerCardsIdResponseBody200Account] :: PostCustomersCustomerCardsIdResponseBody200 -> Maybe PostCustomersCustomerCardsIdResponseBody200Account'Variants
-- | account_holder_name: The name of the person or business that owns the
-- bank account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerCardsIdResponseBody200AccountHolderName] :: PostCustomersCustomerCardsIdResponseBody200 -> Maybe Text
-- | account_holder_type: The type of entity that holds the account. This
-- can be either `individual` or `company`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerCardsIdResponseBody200AccountHolderType] :: PostCustomersCustomerCardsIdResponseBody200 -> Maybe Text
-- | ach_credit_transfer
[postCustomersCustomerCardsIdResponseBody200AchCreditTransfer] :: PostCustomersCustomerCardsIdResponseBody200 -> Maybe SourceTypeAchCreditTransfer
-- | ach_debit
[postCustomersCustomerCardsIdResponseBody200AchDebit] :: PostCustomersCustomerCardsIdResponseBody200 -> Maybe SourceTypeAchDebit
-- | acss_debit
[postCustomersCustomerCardsIdResponseBody200AcssDebit] :: PostCustomersCustomerCardsIdResponseBody200 -> Maybe SourceTypeAcssDebit
-- | address_city: City/District/Suburb/Town/Village.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerCardsIdResponseBody200AddressCity] :: PostCustomersCustomerCardsIdResponseBody200 -> Maybe Text
-- | address_country: Billing address country, if provided when creating
-- card.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerCardsIdResponseBody200AddressCountry] :: PostCustomersCustomerCardsIdResponseBody200 -> Maybe Text
-- | address_line1: Address line 1 (Street address/PO Box/Company name).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerCardsIdResponseBody200AddressLine1] :: PostCustomersCustomerCardsIdResponseBody200 -> Maybe Text
-- | address_line1_check: If `address_line1` was provided, results of the
-- check: `pass`, `fail`, `unavailable`, or `unchecked`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerCardsIdResponseBody200AddressLine1Check] :: PostCustomersCustomerCardsIdResponseBody200 -> Maybe Text
-- | address_line2: Address line 2 (Apartment/Suite/Unit/Building).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerCardsIdResponseBody200AddressLine2] :: PostCustomersCustomerCardsIdResponseBody200 -> Maybe Text
-- | address_state: State/County/Province/Region.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerCardsIdResponseBody200AddressState] :: PostCustomersCustomerCardsIdResponseBody200 -> Maybe Text
-- | address_zip: ZIP or postal code.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerCardsIdResponseBody200AddressZip] :: PostCustomersCustomerCardsIdResponseBody200 -> Maybe Text
-- | address_zip_check: If `address_zip` was provided, results of the
-- check: `pass`, `fail`, `unavailable`, or `unchecked`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerCardsIdResponseBody200AddressZipCheck] :: PostCustomersCustomerCardsIdResponseBody200 -> Maybe Text
-- | alipay
[postCustomersCustomerCardsIdResponseBody200Alipay] :: PostCustomersCustomerCardsIdResponseBody200 -> Maybe SourceTypeAlipay
-- | amount: A positive integer in the smallest currency unit (that is, 100
-- cents for $1.00, or 1 for ¥1, Japanese Yen being a zero-decimal
-- currency) representing the total amount associated with the source.
-- This is the amount for which the source will be chargeable once ready.
-- Required for `single_use` sources.
[postCustomersCustomerCardsIdResponseBody200Amount] :: PostCustomersCustomerCardsIdResponseBody200 -> Maybe Int
-- | au_becs_debit
[postCustomersCustomerCardsIdResponseBody200AuBecsDebit] :: PostCustomersCustomerCardsIdResponseBody200 -> Maybe SourceTypeAuBecsDebit
-- | available_payout_methods: A set of available payout methods for this
-- card. Only values from this set should be passed as the `method` when
-- creating a payout.
[postCustomersCustomerCardsIdResponseBody200AvailablePayoutMethods] :: PostCustomersCustomerCardsIdResponseBody200 -> Maybe [PostCustomersCustomerCardsIdResponseBody200AvailablePayoutMethods']
-- | bancontact
[postCustomersCustomerCardsIdResponseBody200Bancontact] :: PostCustomersCustomerCardsIdResponseBody200 -> Maybe SourceTypeBancontact
-- | bank_name: Name of the bank associated with the routing number (e.g.,
-- `WELLS FARGO`).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerCardsIdResponseBody200BankName] :: PostCustomersCustomerCardsIdResponseBody200 -> Maybe Text
-- | brand: Card brand. Can be `American Express`, `Diners Club`,
-- `Discover`, `JCB`, `MasterCard`, `UnionPay`, `Visa`, or `Unknown`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerCardsIdResponseBody200Brand] :: PostCustomersCustomerCardsIdResponseBody200 -> Maybe Text
-- | card
[postCustomersCustomerCardsIdResponseBody200Card] :: PostCustomersCustomerCardsIdResponseBody200 -> Maybe SourceTypeCard
-- | card_present
[postCustomersCustomerCardsIdResponseBody200CardPresent] :: PostCustomersCustomerCardsIdResponseBody200 -> Maybe SourceTypeCardPresent
-- | client_secret: The client secret of the source. Used for client-side
-- retrieval using a publishable key.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerCardsIdResponseBody200ClientSecret] :: PostCustomersCustomerCardsIdResponseBody200 -> Maybe Text
-- | code_verification:
[postCustomersCustomerCardsIdResponseBody200CodeVerification] :: PostCustomersCustomerCardsIdResponseBody200 -> Maybe SourceCodeVerificationFlow
-- | country: Two-letter ISO code representing the country of the card. You
-- could use this attribute to get a sense of the international breakdown
-- of cards you've collected.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerCardsIdResponseBody200Country] :: PostCustomersCustomerCardsIdResponseBody200 -> Maybe Text
-- | created: Time at which the object was created. Measured in seconds
-- since the Unix epoch.
[postCustomersCustomerCardsIdResponseBody200Created] :: PostCustomersCustomerCardsIdResponseBody200 -> Maybe Int
-- | currency: Three-letter ISO code for currency. Only applicable
-- on accounts (not customers or recipients). The card can be used as a
-- transfer destination for funds in this currency.
[postCustomersCustomerCardsIdResponseBody200Currency] :: PostCustomersCustomerCardsIdResponseBody200 -> Maybe Text
-- | customer: The customer that this card belongs to. This attribute will
-- not be in the card object if the card belongs to an account or
-- recipient instead.
[postCustomersCustomerCardsIdResponseBody200Customer] :: PostCustomersCustomerCardsIdResponseBody200 -> Maybe PostCustomersCustomerCardsIdResponseBody200Customer'Variants
-- | cvc_check: If a CVC was provided, results of the check: `pass`,
-- `fail`, `unavailable`, or `unchecked`. A result of unchecked indicates
-- that CVC was provided but hasn't been checked yet. Checks are
-- typically performed when attaching a card to a Customer object, or
-- when creating a charge. For more details, see Check if a card is
-- valid without a charge.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerCardsIdResponseBody200CvcCheck] :: PostCustomersCustomerCardsIdResponseBody200 -> Maybe Text
-- | default_for_currency: Whether this card is the default external
-- account for its currency.
[postCustomersCustomerCardsIdResponseBody200DefaultForCurrency] :: PostCustomersCustomerCardsIdResponseBody200 -> Maybe Bool
-- | dynamic_last4: (For tokenized numbers only.) The last four digits of
-- the device account number.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerCardsIdResponseBody200DynamicLast4] :: PostCustomersCustomerCardsIdResponseBody200 -> Maybe Text
-- | eps
[postCustomersCustomerCardsIdResponseBody200Eps] :: PostCustomersCustomerCardsIdResponseBody200 -> Maybe SourceTypeEps
-- | exp_month: Two-digit number representing the card's expiration month.
[postCustomersCustomerCardsIdResponseBody200ExpMonth] :: PostCustomersCustomerCardsIdResponseBody200 -> Maybe Int
-- | exp_year: Four-digit number representing the card's expiration year.
[postCustomersCustomerCardsIdResponseBody200ExpYear] :: PostCustomersCustomerCardsIdResponseBody200 -> Maybe Int
-- | fingerprint: Uniquely identifies this particular card number. You can
-- use this attribute to check whether two customers who’ve signed up
-- with you are using the same card number, for example. For payment
-- methods that tokenize card information (Apple Pay, Google Pay), the
-- tokenized number might be provided instead of the underlying card
-- number.
--
--
-- - Starting May 1, 2021, card fingerprint in India for Connect will
-- change to allow two fingerprints for the same card --- one for India
-- and one for the rest of the world.*
--
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerCardsIdResponseBody200Fingerprint] :: PostCustomersCustomerCardsIdResponseBody200 -> Maybe Text
-- | flow: The authentication `flow` of the source. `flow` is one of
-- `redirect`, `receiver`, `code_verification`, `none`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerCardsIdResponseBody200Flow] :: PostCustomersCustomerCardsIdResponseBody200 -> Maybe Text
-- | funding: Card funding type. Can be `credit`, `debit`, `prepaid`, or
-- `unknown`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerCardsIdResponseBody200Funding] :: PostCustomersCustomerCardsIdResponseBody200 -> Maybe Text
-- | giropay
[postCustomersCustomerCardsIdResponseBody200Giropay] :: PostCustomersCustomerCardsIdResponseBody200 -> Maybe SourceTypeGiropay
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerCardsIdResponseBody200Id] :: PostCustomersCustomerCardsIdResponseBody200 -> Maybe Text
-- | ideal
[postCustomersCustomerCardsIdResponseBody200Ideal] :: PostCustomersCustomerCardsIdResponseBody200 -> Maybe SourceTypeIdeal
-- | klarna
[postCustomersCustomerCardsIdResponseBody200Klarna] :: PostCustomersCustomerCardsIdResponseBody200 -> Maybe SourceTypeKlarna
-- | last4: The last four digits of the card.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerCardsIdResponseBody200Last4] :: PostCustomersCustomerCardsIdResponseBody200 -> Maybe Text
-- | livemode: Has the value `true` if the object exists in live mode or
-- the value `false` if the object exists in test mode.
[postCustomersCustomerCardsIdResponseBody200Livemode] :: PostCustomersCustomerCardsIdResponseBody200 -> Maybe Bool
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format.
[postCustomersCustomerCardsIdResponseBody200Metadata] :: PostCustomersCustomerCardsIdResponseBody200 -> Maybe Object
-- | multibanco
[postCustomersCustomerCardsIdResponseBody200Multibanco] :: PostCustomersCustomerCardsIdResponseBody200 -> Maybe SourceTypeMultibanco
-- | name: Cardholder name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerCardsIdResponseBody200Name] :: PostCustomersCustomerCardsIdResponseBody200 -> Maybe Text
-- | object: String representing the object's type. Objects of the same
-- type share the same value.
[postCustomersCustomerCardsIdResponseBody200Object] :: PostCustomersCustomerCardsIdResponseBody200 -> Maybe PostCustomersCustomerCardsIdResponseBody200Object'
-- | owner: Information about the owner of the payment instrument that may
-- be used or required by particular source types.
[postCustomersCustomerCardsIdResponseBody200Owner] :: PostCustomersCustomerCardsIdResponseBody200 -> Maybe PostCustomersCustomerCardsIdResponseBody200Owner'
-- | p24
[postCustomersCustomerCardsIdResponseBody200P24] :: PostCustomersCustomerCardsIdResponseBody200 -> Maybe SourceTypeP24
-- | receiver:
[postCustomersCustomerCardsIdResponseBody200Receiver] :: PostCustomersCustomerCardsIdResponseBody200 -> Maybe SourceReceiverFlow
-- | recipient: 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.
[postCustomersCustomerCardsIdResponseBody200Recipient] :: PostCustomersCustomerCardsIdResponseBody200 -> Maybe PostCustomersCustomerCardsIdResponseBody200Recipient'Variants
-- | redirect:
[postCustomersCustomerCardsIdResponseBody200Redirect] :: PostCustomersCustomerCardsIdResponseBody200 -> Maybe SourceRedirectFlow
-- | routing_number: The routing transit number for the bank account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerCardsIdResponseBody200RoutingNumber] :: PostCustomersCustomerCardsIdResponseBody200 -> Maybe Text
-- | sepa_debit
[postCustomersCustomerCardsIdResponseBody200SepaDebit] :: PostCustomersCustomerCardsIdResponseBody200 -> Maybe SourceTypeSepaDebit
-- | sofort
[postCustomersCustomerCardsIdResponseBody200Sofort] :: PostCustomersCustomerCardsIdResponseBody200 -> Maybe SourceTypeSofort
-- | source_order:
[postCustomersCustomerCardsIdResponseBody200SourceOrder] :: PostCustomersCustomerCardsIdResponseBody200 -> Maybe SourceOrder
-- | statement_descriptor: Extra information about a source. This will
-- appear on your customer's statement every time you charge the source.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerCardsIdResponseBody200StatementDescriptor] :: PostCustomersCustomerCardsIdResponseBody200 -> Maybe Text
-- | status: For bank accounts, possible values are `new`, `validated`,
-- `verified`, `verification_failed`, or `errored`. A bank account that
-- hasn't had any activity or validation performed is `new`. If Stripe
-- can determine that the bank account exists, its status will be
-- `validated`. Note that there often isn’t enough information to know
-- (e.g., for smaller credit unions), and the validation is not always
-- run. If customer bank account verification has succeeded, the bank
-- account status will be `verified`. If the verification failed for any
-- reason, such as microdeposit failure, the status will be
-- `verification_failed`. If a transfer sent to this bank account fails,
-- we'll set the status to `errored` and will not continue to send
-- transfers until the bank details are updated.
--
-- For external accounts, possible values are `new` and `errored`.
-- Validations aren't run against external accounts because they're only
-- used for payouts. This means the other statuses don't apply. If a
-- transfer fails, the status is set to `errored` and transfers are
-- stopped until account details are updated.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerCardsIdResponseBody200Status] :: PostCustomersCustomerCardsIdResponseBody200 -> Maybe Text
-- | three_d_secure
[postCustomersCustomerCardsIdResponseBody200ThreeDSecure] :: PostCustomersCustomerCardsIdResponseBody200 -> Maybe SourceTypeThreeDSecure
-- | tokenization_method: If the card number is tokenized, this is the
-- method that was used. Can be `android_pay` (includes Google Pay),
-- `apple_pay`, `masterpass`, `visa_checkout`, or null.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerCardsIdResponseBody200TokenizationMethod] :: PostCustomersCustomerCardsIdResponseBody200 -> Maybe Text
-- | type: The `type` of the source. The `type` is a payment method, one of
-- `ach_credit_transfer`, `ach_debit`, `alipay`, `bancontact`, `card`,
-- `card_present`, `eps`, `giropay`, `ideal`, `multibanco`, `klarna`,
-- `p24`, `sepa_debit`, `sofort`, `three_d_secure`, or `wechat`. An
-- additional hash is included on the source with a name matching this
-- value. It contains additional information specific to the payment
-- method used.
[postCustomersCustomerCardsIdResponseBody200Type] :: PostCustomersCustomerCardsIdResponseBody200 -> Maybe PostCustomersCustomerCardsIdResponseBody200Type'
-- | usage: Either `reusable` or `single_use`. Whether this source should
-- be reusable or not. Some source types may or may not be reusable by
-- construction, while others may leave the option at creation. If an
-- incompatible value is passed, an error will be returned.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerCardsIdResponseBody200Usage] :: PostCustomersCustomerCardsIdResponseBody200 -> Maybe Text
-- | wechat
[postCustomersCustomerCardsIdResponseBody200Wechat] :: PostCustomersCustomerCardsIdResponseBody200 -> Maybe SourceTypeWechat
-- | Create a new PostCustomersCustomerCardsIdResponseBody200 with
-- all required fields.
mkPostCustomersCustomerCardsIdResponseBody200 :: PostCustomersCustomerCardsIdResponseBody200
-- | Defines the oneOf schema located at
-- paths./v1/customers/{customer}/cards/{id}.POST.responses.200.content.application/json.schema.anyOf.properties.account.anyOf
-- in the specification.
--
-- The account this card belongs to. This attribute will not be in the
-- card object if the card belongs to a customer or recipient instead.
data PostCustomersCustomerCardsIdResponseBody200Account'Variants
PostCustomersCustomerCardsIdResponseBody200Account'Text :: Text -> PostCustomersCustomerCardsIdResponseBody200Account'Variants
PostCustomersCustomerCardsIdResponseBody200Account'Account :: Account -> PostCustomersCustomerCardsIdResponseBody200Account'Variants
-- | Defines the enum schema located at
-- paths./v1/customers/{customer}/cards/{id}.POST.responses.200.content.application/json.schema.anyOf.properties.available_payout_methods.items
-- in the specification.
data PostCustomersCustomerCardsIdResponseBody200AvailablePayoutMethods'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostCustomersCustomerCardsIdResponseBody200AvailablePayoutMethods'Other :: Value -> PostCustomersCustomerCardsIdResponseBody200AvailablePayoutMethods'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostCustomersCustomerCardsIdResponseBody200AvailablePayoutMethods'Typed :: Text -> PostCustomersCustomerCardsIdResponseBody200AvailablePayoutMethods'
-- | Represents the JSON value "instant"
PostCustomersCustomerCardsIdResponseBody200AvailablePayoutMethods'EnumInstant :: PostCustomersCustomerCardsIdResponseBody200AvailablePayoutMethods'
-- | Represents the JSON value "standard"
PostCustomersCustomerCardsIdResponseBody200AvailablePayoutMethods'EnumStandard :: PostCustomersCustomerCardsIdResponseBody200AvailablePayoutMethods'
-- | Defines the oneOf schema located at
-- paths./v1/customers/{customer}/cards/{id}.POST.responses.200.content.application/json.schema.anyOf.properties.customer.anyOf
-- in the specification.
--
-- The customer that this card belongs to. This attribute will not be in
-- the card object if the card belongs to an account or recipient
-- instead.
data PostCustomersCustomerCardsIdResponseBody200Customer'Variants
PostCustomersCustomerCardsIdResponseBody200Customer'Text :: Text -> PostCustomersCustomerCardsIdResponseBody200Customer'Variants
PostCustomersCustomerCardsIdResponseBody200Customer'Customer :: Customer -> PostCustomersCustomerCardsIdResponseBody200Customer'Variants
PostCustomersCustomerCardsIdResponseBody200Customer'DeletedCustomer :: DeletedCustomer -> PostCustomersCustomerCardsIdResponseBody200Customer'Variants
-- | Defines the enum schema located at
-- paths./v1/customers/{customer}/cards/{id}.POST.responses.200.content.application/json.schema.anyOf.properties.object
-- in the specification.
--
-- String representing the object's type. Objects of the same type share
-- the same value.
data PostCustomersCustomerCardsIdResponseBody200Object'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostCustomersCustomerCardsIdResponseBody200Object'Other :: Value -> PostCustomersCustomerCardsIdResponseBody200Object'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostCustomersCustomerCardsIdResponseBody200Object'Typed :: Text -> PostCustomersCustomerCardsIdResponseBody200Object'
-- | Represents the JSON value "card"
PostCustomersCustomerCardsIdResponseBody200Object'EnumCard :: PostCustomersCustomerCardsIdResponseBody200Object'
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/cards/{id}.POST.responses.200.content.application/json.schema.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.
data PostCustomersCustomerCardsIdResponseBody200Owner'
PostCustomersCustomerCardsIdResponseBody200Owner' :: Maybe PostCustomersCustomerCardsIdResponseBody200Owner'Address' -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe PostCustomersCustomerCardsIdResponseBody200Owner'VerifiedAddress' -> Maybe Text -> Maybe Text -> Maybe Text -> PostCustomersCustomerCardsIdResponseBody200Owner'
-- | address: Owner's address.
[postCustomersCustomerCardsIdResponseBody200Owner'Address] :: PostCustomersCustomerCardsIdResponseBody200Owner' -> Maybe PostCustomersCustomerCardsIdResponseBody200Owner'Address'
-- | email: Owner's email address.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerCardsIdResponseBody200Owner'Email] :: PostCustomersCustomerCardsIdResponseBody200Owner' -> Maybe Text
-- | name: Owner's full name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerCardsIdResponseBody200Owner'Name] :: PostCustomersCustomerCardsIdResponseBody200Owner' -> Maybe Text
-- | phone: Owner's phone number (including extension).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerCardsIdResponseBody200Owner'Phone] :: PostCustomersCustomerCardsIdResponseBody200Owner' -> Maybe Text
-- | verified_address: 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.
[postCustomersCustomerCardsIdResponseBody200Owner'VerifiedAddress] :: PostCustomersCustomerCardsIdResponseBody200Owner' -> Maybe PostCustomersCustomerCardsIdResponseBody200Owner'VerifiedAddress'
-- | verified_email: Verified owner's email 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.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerCardsIdResponseBody200Owner'VerifiedEmail] :: PostCustomersCustomerCardsIdResponseBody200Owner' -> Maybe Text
-- | verified_name: Verified owner's full name. 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.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerCardsIdResponseBody200Owner'VerifiedName] :: PostCustomersCustomerCardsIdResponseBody200Owner' -> Maybe Text
-- | verified_phone: Verified owner's phone number (including extension).
-- 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.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerCardsIdResponseBody200Owner'VerifiedPhone] :: PostCustomersCustomerCardsIdResponseBody200Owner' -> Maybe Text
-- | Create a new PostCustomersCustomerCardsIdResponseBody200Owner'
-- with all required fields.
mkPostCustomersCustomerCardsIdResponseBody200Owner' :: PostCustomersCustomerCardsIdResponseBody200Owner'
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/cards/{id}.POST.responses.200.content.application/json.schema.anyOf.properties.owner.anyOf.properties.address.anyOf
-- in the specification.
--
-- Owner\'s address.
data PostCustomersCustomerCardsIdResponseBody200Owner'Address'
PostCustomersCustomerCardsIdResponseBody200Owner'Address' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PostCustomersCustomerCardsIdResponseBody200Owner'Address'
-- | city: City, district, suburb, town, or village.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerCardsIdResponseBody200Owner'Address'City] :: PostCustomersCustomerCardsIdResponseBody200Owner'Address' -> Maybe Text
-- | country: Two-letter country code ([ISO 3166-1
-- alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerCardsIdResponseBody200Owner'Address'Country] :: PostCustomersCustomerCardsIdResponseBody200Owner'Address' -> Maybe Text
-- | line1: Address line 1 (e.g., street, PO Box, or company name).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerCardsIdResponseBody200Owner'Address'Line1] :: PostCustomersCustomerCardsIdResponseBody200Owner'Address' -> Maybe Text
-- | line2: Address line 2 (e.g., apartment, suite, unit, or building).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerCardsIdResponseBody200Owner'Address'Line2] :: PostCustomersCustomerCardsIdResponseBody200Owner'Address' -> Maybe Text
-- | postal_code: ZIP or postal code.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerCardsIdResponseBody200Owner'Address'PostalCode] :: PostCustomersCustomerCardsIdResponseBody200Owner'Address' -> Maybe Text
-- | state: State, county, province, or region.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerCardsIdResponseBody200Owner'Address'State] :: PostCustomersCustomerCardsIdResponseBody200Owner'Address' -> Maybe Text
-- | Create a new
-- PostCustomersCustomerCardsIdResponseBody200Owner'Address' with
-- all required fields.
mkPostCustomersCustomerCardsIdResponseBody200Owner'Address' :: PostCustomersCustomerCardsIdResponseBody200Owner'Address'
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/cards/{id}.POST.responses.200.content.application/json.schema.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.
data PostCustomersCustomerCardsIdResponseBody200Owner'VerifiedAddress'
PostCustomersCustomerCardsIdResponseBody200Owner'VerifiedAddress' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PostCustomersCustomerCardsIdResponseBody200Owner'VerifiedAddress'
-- | city: City, district, suburb, town, or village.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerCardsIdResponseBody200Owner'VerifiedAddress'City] :: PostCustomersCustomerCardsIdResponseBody200Owner'VerifiedAddress' -> Maybe Text
-- | country: Two-letter country code ([ISO 3166-1
-- alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerCardsIdResponseBody200Owner'VerifiedAddress'Country] :: PostCustomersCustomerCardsIdResponseBody200Owner'VerifiedAddress' -> Maybe Text
-- | line1: Address line 1 (e.g., street, PO Box, or company name).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerCardsIdResponseBody200Owner'VerifiedAddress'Line1] :: PostCustomersCustomerCardsIdResponseBody200Owner'VerifiedAddress' -> Maybe Text
-- | line2: Address line 2 (e.g., apartment, suite, unit, or building).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerCardsIdResponseBody200Owner'VerifiedAddress'Line2] :: PostCustomersCustomerCardsIdResponseBody200Owner'VerifiedAddress' -> Maybe Text
-- | postal_code: ZIP or postal code.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerCardsIdResponseBody200Owner'VerifiedAddress'PostalCode] :: PostCustomersCustomerCardsIdResponseBody200Owner'VerifiedAddress' -> Maybe Text
-- | state: State, county, province, or region.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerCardsIdResponseBody200Owner'VerifiedAddress'State] :: PostCustomersCustomerCardsIdResponseBody200Owner'VerifiedAddress' -> Maybe Text
-- | Create a new
-- PostCustomersCustomerCardsIdResponseBody200Owner'VerifiedAddress'
-- with all required fields.
mkPostCustomersCustomerCardsIdResponseBody200Owner'VerifiedAddress' :: PostCustomersCustomerCardsIdResponseBody200Owner'VerifiedAddress'
-- | Defines the oneOf schema located at
-- paths./v1/customers/{customer}/cards/{id}.POST.responses.200.content.application/json.schema.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 PostCustomersCustomerCardsIdResponseBody200Recipient'Variants
PostCustomersCustomerCardsIdResponseBody200Recipient'Text :: Text -> PostCustomersCustomerCardsIdResponseBody200Recipient'Variants
PostCustomersCustomerCardsIdResponseBody200Recipient'Recipient :: Recipient -> PostCustomersCustomerCardsIdResponseBody200Recipient'Variants
-- | Defines the enum schema located at
-- paths./v1/customers/{customer}/cards/{id}.POST.responses.200.content.application/json.schema.anyOf.properties.type
-- in the specification.
--
-- The `type` of the source. The `type` is a payment method, one of
-- `ach_credit_transfer`, `ach_debit`, `alipay`, `bancontact`, `card`,
-- `card_present`, `eps`, `giropay`, `ideal`, `multibanco`, `klarna`,
-- `p24`, `sepa_debit`, `sofort`, `three_d_secure`, or `wechat`. An
-- additional hash is included on the source with a name matching this
-- value. It contains additional information specific to the payment
-- method used.
data PostCustomersCustomerCardsIdResponseBody200Type'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostCustomersCustomerCardsIdResponseBody200Type'Other :: Value -> PostCustomersCustomerCardsIdResponseBody200Type'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostCustomersCustomerCardsIdResponseBody200Type'Typed :: Text -> PostCustomersCustomerCardsIdResponseBody200Type'
-- | Represents the JSON value "ach_credit_transfer"
PostCustomersCustomerCardsIdResponseBody200Type'EnumAchCreditTransfer :: PostCustomersCustomerCardsIdResponseBody200Type'
-- | Represents the JSON value "ach_debit"
PostCustomersCustomerCardsIdResponseBody200Type'EnumAchDebit :: PostCustomersCustomerCardsIdResponseBody200Type'
-- | Represents the JSON value "acss_debit"
PostCustomersCustomerCardsIdResponseBody200Type'EnumAcssDebit :: PostCustomersCustomerCardsIdResponseBody200Type'
-- | Represents the JSON value "alipay"
PostCustomersCustomerCardsIdResponseBody200Type'EnumAlipay :: PostCustomersCustomerCardsIdResponseBody200Type'
-- | Represents the JSON value "au_becs_debit"
PostCustomersCustomerCardsIdResponseBody200Type'EnumAuBecsDebit :: PostCustomersCustomerCardsIdResponseBody200Type'
-- | Represents the JSON value "bancontact"
PostCustomersCustomerCardsIdResponseBody200Type'EnumBancontact :: PostCustomersCustomerCardsIdResponseBody200Type'
-- | Represents the JSON value "card"
PostCustomersCustomerCardsIdResponseBody200Type'EnumCard :: PostCustomersCustomerCardsIdResponseBody200Type'
-- | Represents the JSON value "card_present"
PostCustomersCustomerCardsIdResponseBody200Type'EnumCardPresent :: PostCustomersCustomerCardsIdResponseBody200Type'
-- | Represents the JSON value "eps"
PostCustomersCustomerCardsIdResponseBody200Type'EnumEps :: PostCustomersCustomerCardsIdResponseBody200Type'
-- | Represents the JSON value "giropay"
PostCustomersCustomerCardsIdResponseBody200Type'EnumGiropay :: PostCustomersCustomerCardsIdResponseBody200Type'
-- | Represents the JSON value "ideal"
PostCustomersCustomerCardsIdResponseBody200Type'EnumIdeal :: PostCustomersCustomerCardsIdResponseBody200Type'
-- | Represents the JSON value "klarna"
PostCustomersCustomerCardsIdResponseBody200Type'EnumKlarna :: PostCustomersCustomerCardsIdResponseBody200Type'
-- | Represents the JSON value "multibanco"
PostCustomersCustomerCardsIdResponseBody200Type'EnumMultibanco :: PostCustomersCustomerCardsIdResponseBody200Type'
-- | Represents the JSON value "p24"
PostCustomersCustomerCardsIdResponseBody200Type'EnumP24 :: PostCustomersCustomerCardsIdResponseBody200Type'
-- | Represents the JSON value "sepa_debit"
PostCustomersCustomerCardsIdResponseBody200Type'EnumSepaDebit :: PostCustomersCustomerCardsIdResponseBody200Type'
-- | Represents the JSON value "sofort"
PostCustomersCustomerCardsIdResponseBody200Type'EnumSofort :: PostCustomersCustomerCardsIdResponseBody200Type'
-- | Represents the JSON value "three_d_secure"
PostCustomersCustomerCardsIdResponseBody200Type'EnumThreeDSecure :: PostCustomersCustomerCardsIdResponseBody200Type'
-- | Represents the JSON value "wechat"
PostCustomersCustomerCardsIdResponseBody200Type'EnumWechat :: PostCustomersCustomerCardsIdResponseBody200Type'
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerCardsId.PostCustomersCustomerCardsIdParameters
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerCardsId.PostCustomersCustomerCardsIdParameters
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerCardsId.PostCustomersCustomerCardsIdRequestBodyAccountHolderType'
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerCardsId.PostCustomersCustomerCardsIdRequestBodyAccountHolderType'
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerCardsId.PostCustomersCustomerCardsIdRequestBodyMetadata'Variants
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerCardsId.PostCustomersCustomerCardsIdRequestBodyMetadata'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerCardsId.PostCustomersCustomerCardsIdRequestBodyOwner'Address'
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerCardsId.PostCustomersCustomerCardsIdRequestBodyOwner'Address'
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerCardsId.PostCustomersCustomerCardsIdRequestBodyOwner'
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerCardsId.PostCustomersCustomerCardsIdRequestBodyOwner'
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerCardsId.PostCustomersCustomerCardsIdRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerCardsId.PostCustomersCustomerCardsIdRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerCardsId.PostCustomersCustomerCardsIdResponseBody200Account'Variants
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerCardsId.PostCustomersCustomerCardsIdResponseBody200Account'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerCardsId.PostCustomersCustomerCardsIdResponseBody200AvailablePayoutMethods'
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerCardsId.PostCustomersCustomerCardsIdResponseBody200AvailablePayoutMethods'
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerCardsId.PostCustomersCustomerCardsIdResponseBody200Customer'Variants
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerCardsId.PostCustomersCustomerCardsIdResponseBody200Customer'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerCardsId.PostCustomersCustomerCardsIdResponseBody200Object'
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerCardsId.PostCustomersCustomerCardsIdResponseBody200Object'
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerCardsId.PostCustomersCustomerCardsIdResponseBody200Owner'Address'
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerCardsId.PostCustomersCustomerCardsIdResponseBody200Owner'Address'
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerCardsId.PostCustomersCustomerCardsIdResponseBody200Owner'VerifiedAddress'
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerCardsId.PostCustomersCustomerCardsIdResponseBody200Owner'VerifiedAddress'
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerCardsId.PostCustomersCustomerCardsIdResponseBody200Owner'
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerCardsId.PostCustomersCustomerCardsIdResponseBody200Owner'
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerCardsId.PostCustomersCustomerCardsIdResponseBody200Recipient'Variants
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerCardsId.PostCustomersCustomerCardsIdResponseBody200Recipient'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerCardsId.PostCustomersCustomerCardsIdResponseBody200Type'
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerCardsId.PostCustomersCustomerCardsIdResponseBody200Type'
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerCardsId.PostCustomersCustomerCardsIdResponseBody200
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerCardsId.PostCustomersCustomerCardsIdResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerCardsId.PostCustomersCustomerCardsIdResponse
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerCardsId.PostCustomersCustomerCardsIdResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerCardsId.PostCustomersCustomerCardsIdResponseBody200
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerCardsId.PostCustomersCustomerCardsIdResponseBody200
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerCardsId.PostCustomersCustomerCardsIdResponseBody200Type'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerCardsId.PostCustomersCustomerCardsIdResponseBody200Type'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerCardsId.PostCustomersCustomerCardsIdResponseBody200Recipient'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerCardsId.PostCustomersCustomerCardsIdResponseBody200Recipient'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerCardsId.PostCustomersCustomerCardsIdResponseBody200Owner'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerCardsId.PostCustomersCustomerCardsIdResponseBody200Owner'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerCardsId.PostCustomersCustomerCardsIdResponseBody200Owner'VerifiedAddress'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerCardsId.PostCustomersCustomerCardsIdResponseBody200Owner'VerifiedAddress'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerCardsId.PostCustomersCustomerCardsIdResponseBody200Owner'Address'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerCardsId.PostCustomersCustomerCardsIdResponseBody200Owner'Address'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerCardsId.PostCustomersCustomerCardsIdResponseBody200Object'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerCardsId.PostCustomersCustomerCardsIdResponseBody200Object'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerCardsId.PostCustomersCustomerCardsIdResponseBody200Customer'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerCardsId.PostCustomersCustomerCardsIdResponseBody200Customer'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerCardsId.PostCustomersCustomerCardsIdResponseBody200AvailablePayoutMethods'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerCardsId.PostCustomersCustomerCardsIdResponseBody200AvailablePayoutMethods'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerCardsId.PostCustomersCustomerCardsIdResponseBody200Account'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerCardsId.PostCustomersCustomerCardsIdResponseBody200Account'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerCardsId.PostCustomersCustomerCardsIdRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerCardsId.PostCustomersCustomerCardsIdRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerCardsId.PostCustomersCustomerCardsIdRequestBodyOwner'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerCardsId.PostCustomersCustomerCardsIdRequestBodyOwner'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerCardsId.PostCustomersCustomerCardsIdRequestBodyOwner'Address'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerCardsId.PostCustomersCustomerCardsIdRequestBodyOwner'Address'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerCardsId.PostCustomersCustomerCardsIdRequestBodyMetadata'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerCardsId.PostCustomersCustomerCardsIdRequestBodyMetadata'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerCardsId.PostCustomersCustomerCardsIdRequestBodyAccountHolderType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerCardsId.PostCustomersCustomerCardsIdRequestBodyAccountHolderType'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerCardsId.PostCustomersCustomerCardsIdParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerCardsId.PostCustomersCustomerCardsIdParameters
-- | Contains the different functions to run the operation
-- postCustomersCustomerCards
module StripeAPI.Operations.PostCustomersCustomerCards
-- |
-- POST /v1/customers/{customer}/cards
--
--
-- <p>When you create a new credit card, you must specify a
-- customer or recipient on which to create it.</p>
--
-- <p>If the card’s owner has no default card, then the new card
-- will become the default. However, if the owner already has a default,
-- then it will not change. To change the default, you should <a
-- href="/docs/api#update_customer">update the customer</a> to
-- have a new <code>default_source</code>.</p>
postCustomersCustomerCards :: forall m. MonadHTTP m => Text -> Maybe PostCustomersCustomerCardsRequestBody -> ClientT m (Response PostCustomersCustomerCardsResponse)
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/cards.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostCustomersCustomerCardsRequestBody
PostCustomersCustomerCardsRequestBody :: Maybe Text -> Maybe PostCustomersCustomerCardsRequestBodyBankAccount'Variants -> Maybe PostCustomersCustomerCardsRequestBodyCard'Variants -> Maybe [Text] -> Maybe Object -> Maybe Text -> PostCustomersCustomerCardsRequestBody
-- | alipay_account: A token returned by Stripe.js representing the
-- user’s Alipay account details.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerCardsRequestBodyAlipayAccount] :: PostCustomersCustomerCardsRequestBody -> Maybe Text
-- | bank_account: Either a token, like the ones returned by
-- Stripe.js, or a dictionary containing a user's bank account
-- details.
[postCustomersCustomerCardsRequestBodyBankAccount] :: PostCustomersCustomerCardsRequestBody -> Maybe PostCustomersCustomerCardsRequestBodyBankAccount'Variants
-- | card: A token, like the ones returned by Stripe.js.
[postCustomersCustomerCardsRequestBodyCard] :: PostCustomersCustomerCardsRequestBody -> Maybe PostCustomersCustomerCardsRequestBodyCard'Variants
-- | expand: Specifies which fields in the response should be expanded.
[postCustomersCustomerCardsRequestBodyExpand] :: PostCustomersCustomerCardsRequestBody -> Maybe [Text]
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postCustomersCustomerCardsRequestBodyMetadata] :: PostCustomersCustomerCardsRequestBody -> Maybe Object
-- | source: Please refer to full documentation instead.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerCardsRequestBodySource] :: PostCustomersCustomerCardsRequestBody -> Maybe Text
-- | Create a new PostCustomersCustomerCardsRequestBody with all
-- required fields.
mkPostCustomersCustomerCardsRequestBody :: PostCustomersCustomerCardsRequestBody
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/cards.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.bank_account.anyOf
-- in the specification.
data PostCustomersCustomerCardsRequestBodyBankAccount'OneOf1
PostCustomersCustomerCardsRequestBodyBankAccount'OneOf1 :: Maybe Text -> Maybe PostCustomersCustomerCardsRequestBodyBankAccount'OneOf1AccountHolderType' -> Text -> Text -> Maybe Text -> Maybe PostCustomersCustomerCardsRequestBodyBankAccount'OneOf1Object' -> Maybe Text -> PostCustomersCustomerCardsRequestBodyBankAccount'OneOf1
-- | account_holder_name
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerCardsRequestBodyBankAccount'OneOf1AccountHolderName] :: PostCustomersCustomerCardsRequestBodyBankAccount'OneOf1 -> Maybe Text
-- | account_holder_type
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerCardsRequestBodyBankAccount'OneOf1AccountHolderType] :: PostCustomersCustomerCardsRequestBodyBankAccount'OneOf1 -> Maybe PostCustomersCustomerCardsRequestBodyBankAccount'OneOf1AccountHolderType'
-- | account_number
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerCardsRequestBodyBankAccount'OneOf1AccountNumber] :: PostCustomersCustomerCardsRequestBodyBankAccount'OneOf1 -> Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerCardsRequestBodyBankAccount'OneOf1Country] :: PostCustomersCustomerCardsRequestBodyBankAccount'OneOf1 -> Text
-- | currency
[postCustomersCustomerCardsRequestBodyBankAccount'OneOf1Currency] :: PostCustomersCustomerCardsRequestBodyBankAccount'OneOf1 -> Maybe Text
-- | object
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerCardsRequestBodyBankAccount'OneOf1Object] :: PostCustomersCustomerCardsRequestBodyBankAccount'OneOf1 -> Maybe PostCustomersCustomerCardsRequestBodyBankAccount'OneOf1Object'
-- | routing_number
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerCardsRequestBodyBankAccount'OneOf1RoutingNumber] :: PostCustomersCustomerCardsRequestBodyBankAccount'OneOf1 -> Maybe Text
-- | Create a new
-- PostCustomersCustomerCardsRequestBodyBankAccount'OneOf1 with
-- all required fields.
mkPostCustomersCustomerCardsRequestBodyBankAccount'OneOf1 :: Text -> Text -> PostCustomersCustomerCardsRequestBodyBankAccount'OneOf1
-- | Defines the enum schema located at
-- paths./v1/customers/{customer}/cards.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.bank_account.anyOf.properties.account_holder_type
-- in the specification.
data PostCustomersCustomerCardsRequestBodyBankAccount'OneOf1AccountHolderType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostCustomersCustomerCardsRequestBodyBankAccount'OneOf1AccountHolderType'Other :: Value -> PostCustomersCustomerCardsRequestBodyBankAccount'OneOf1AccountHolderType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostCustomersCustomerCardsRequestBodyBankAccount'OneOf1AccountHolderType'Typed :: Text -> PostCustomersCustomerCardsRequestBodyBankAccount'OneOf1AccountHolderType'
-- | Represents the JSON value "company"
PostCustomersCustomerCardsRequestBodyBankAccount'OneOf1AccountHolderType'EnumCompany :: PostCustomersCustomerCardsRequestBodyBankAccount'OneOf1AccountHolderType'
-- | Represents the JSON value "individual"
PostCustomersCustomerCardsRequestBodyBankAccount'OneOf1AccountHolderType'EnumIndividual :: PostCustomersCustomerCardsRequestBodyBankAccount'OneOf1AccountHolderType'
-- | Defines the enum schema located at
-- paths./v1/customers/{customer}/cards.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.bank_account.anyOf.properties.object
-- in the specification.
data PostCustomersCustomerCardsRequestBodyBankAccount'OneOf1Object'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostCustomersCustomerCardsRequestBodyBankAccount'OneOf1Object'Other :: Value -> PostCustomersCustomerCardsRequestBodyBankAccount'OneOf1Object'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostCustomersCustomerCardsRequestBodyBankAccount'OneOf1Object'Typed :: Text -> PostCustomersCustomerCardsRequestBodyBankAccount'OneOf1Object'
-- | Represents the JSON value "bank_account"
PostCustomersCustomerCardsRequestBodyBankAccount'OneOf1Object'EnumBankAccount :: PostCustomersCustomerCardsRequestBodyBankAccount'OneOf1Object'
-- | Defines the oneOf schema located at
-- paths./v1/customers/{customer}/cards.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.bank_account.anyOf
-- in the specification.
--
-- Either a token, like the ones returned by Stripe.js, or a
-- dictionary containing a user's bank account details.
data PostCustomersCustomerCardsRequestBodyBankAccount'Variants
PostCustomersCustomerCardsRequestBodyBankAccount'PostCustomersCustomerCardsRequestBodyBankAccount'OneOf1 :: PostCustomersCustomerCardsRequestBodyBankAccount'OneOf1 -> PostCustomersCustomerCardsRequestBodyBankAccount'Variants
PostCustomersCustomerCardsRequestBodyBankAccount'Text :: Text -> PostCustomersCustomerCardsRequestBodyBankAccount'Variants
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/cards.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.card.anyOf
-- in the specification.
data PostCustomersCustomerCardsRequestBodyCard'OneOf1
PostCustomersCustomerCardsRequestBodyCard'OneOf1 :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Int -> Int -> Maybe Object -> Maybe Text -> Text -> Maybe PostCustomersCustomerCardsRequestBodyCard'OneOf1Object' -> PostCustomersCustomerCardsRequestBodyCard'OneOf1
-- | address_city
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerCardsRequestBodyCard'OneOf1AddressCity] :: PostCustomersCustomerCardsRequestBodyCard'OneOf1 -> Maybe Text
-- | address_country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerCardsRequestBodyCard'OneOf1AddressCountry] :: PostCustomersCustomerCardsRequestBodyCard'OneOf1 -> Maybe Text
-- | address_line1
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerCardsRequestBodyCard'OneOf1AddressLine1] :: PostCustomersCustomerCardsRequestBodyCard'OneOf1 -> Maybe Text
-- | address_line2
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerCardsRequestBodyCard'OneOf1AddressLine2] :: PostCustomersCustomerCardsRequestBodyCard'OneOf1 -> Maybe Text
-- | address_state
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerCardsRequestBodyCard'OneOf1AddressState] :: PostCustomersCustomerCardsRequestBodyCard'OneOf1 -> Maybe Text
-- | address_zip
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerCardsRequestBodyCard'OneOf1AddressZip] :: PostCustomersCustomerCardsRequestBodyCard'OneOf1 -> Maybe Text
-- | cvc
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerCardsRequestBodyCard'OneOf1Cvc] :: PostCustomersCustomerCardsRequestBodyCard'OneOf1 -> Maybe Text
-- | exp_month
[postCustomersCustomerCardsRequestBodyCard'OneOf1ExpMonth] :: PostCustomersCustomerCardsRequestBodyCard'OneOf1 -> Int
-- | exp_year
[postCustomersCustomerCardsRequestBodyCard'OneOf1ExpYear] :: PostCustomersCustomerCardsRequestBodyCard'OneOf1 -> Int
-- | metadata
[postCustomersCustomerCardsRequestBodyCard'OneOf1Metadata] :: PostCustomersCustomerCardsRequestBodyCard'OneOf1 -> Maybe Object
-- | name
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerCardsRequestBodyCard'OneOf1Name] :: PostCustomersCustomerCardsRequestBodyCard'OneOf1 -> Maybe Text
-- | number
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerCardsRequestBodyCard'OneOf1Number] :: PostCustomersCustomerCardsRequestBodyCard'OneOf1 -> Text
-- | object
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerCardsRequestBodyCard'OneOf1Object] :: PostCustomersCustomerCardsRequestBodyCard'OneOf1 -> Maybe PostCustomersCustomerCardsRequestBodyCard'OneOf1Object'
-- | Create a new PostCustomersCustomerCardsRequestBodyCard'OneOf1
-- with all required fields.
mkPostCustomersCustomerCardsRequestBodyCard'OneOf1 :: Int -> Int -> Text -> PostCustomersCustomerCardsRequestBodyCard'OneOf1
-- | Defines the enum schema located at
-- paths./v1/customers/{customer}/cards.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.card.anyOf.properties.object
-- in the specification.
data PostCustomersCustomerCardsRequestBodyCard'OneOf1Object'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostCustomersCustomerCardsRequestBodyCard'OneOf1Object'Other :: Value -> PostCustomersCustomerCardsRequestBodyCard'OneOf1Object'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostCustomersCustomerCardsRequestBodyCard'OneOf1Object'Typed :: Text -> PostCustomersCustomerCardsRequestBodyCard'OneOf1Object'
-- | Represents the JSON value "card"
PostCustomersCustomerCardsRequestBodyCard'OneOf1Object'EnumCard :: PostCustomersCustomerCardsRequestBodyCard'OneOf1Object'
-- | Defines the oneOf schema located at
-- paths./v1/customers/{customer}/cards.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.card.anyOf
-- in the specification.
--
-- A token, like the ones returned by Stripe.js.
data PostCustomersCustomerCardsRequestBodyCard'Variants
PostCustomersCustomerCardsRequestBodyCard'PostCustomersCustomerCardsRequestBodyCard'OneOf1 :: PostCustomersCustomerCardsRequestBodyCard'OneOf1 -> PostCustomersCustomerCardsRequestBodyCard'Variants
PostCustomersCustomerCardsRequestBodyCard'Text :: Text -> PostCustomersCustomerCardsRequestBodyCard'Variants
-- | Represents a response of the operation
-- postCustomersCustomerCards.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostCustomersCustomerCardsResponseError
-- is used.
data PostCustomersCustomerCardsResponse
-- | Means either no matching case available or a parse error
PostCustomersCustomerCardsResponseError :: String -> PostCustomersCustomerCardsResponse
-- | Successful response.
PostCustomersCustomerCardsResponse200 :: PaymentSource -> PostCustomersCustomerCardsResponse
-- | Error response.
PostCustomersCustomerCardsResponseDefault :: Error -> PostCustomersCustomerCardsResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerCards.PostCustomersCustomerCardsRequestBodyBankAccount'OneOf1AccountHolderType'
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerCards.PostCustomersCustomerCardsRequestBodyBankAccount'OneOf1AccountHolderType'
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerCards.PostCustomersCustomerCardsRequestBodyBankAccount'OneOf1Object'
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerCards.PostCustomersCustomerCardsRequestBodyBankAccount'OneOf1Object'
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerCards.PostCustomersCustomerCardsRequestBodyBankAccount'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerCards.PostCustomersCustomerCardsRequestBodyBankAccount'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerCards.PostCustomersCustomerCardsRequestBodyBankAccount'Variants
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerCards.PostCustomersCustomerCardsRequestBodyBankAccount'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerCards.PostCustomersCustomerCardsRequestBodyCard'OneOf1Object'
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerCards.PostCustomersCustomerCardsRequestBodyCard'OneOf1Object'
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerCards.PostCustomersCustomerCardsRequestBodyCard'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerCards.PostCustomersCustomerCardsRequestBodyCard'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerCards.PostCustomersCustomerCardsRequestBodyCard'Variants
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerCards.PostCustomersCustomerCardsRequestBodyCard'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerCards.PostCustomersCustomerCardsRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerCards.PostCustomersCustomerCardsRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerCards.PostCustomersCustomerCardsResponse
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerCards.PostCustomersCustomerCardsResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerCards.PostCustomersCustomerCardsRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerCards.PostCustomersCustomerCardsRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerCards.PostCustomersCustomerCardsRequestBodyCard'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerCards.PostCustomersCustomerCardsRequestBodyCard'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerCards.PostCustomersCustomerCardsRequestBodyCard'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerCards.PostCustomersCustomerCardsRequestBodyCard'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerCards.PostCustomersCustomerCardsRequestBodyCard'OneOf1Object'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerCards.PostCustomersCustomerCardsRequestBodyCard'OneOf1Object'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerCards.PostCustomersCustomerCardsRequestBodyBankAccount'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerCards.PostCustomersCustomerCardsRequestBodyBankAccount'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerCards.PostCustomersCustomerCardsRequestBodyBankAccount'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerCards.PostCustomersCustomerCardsRequestBodyBankAccount'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerCards.PostCustomersCustomerCardsRequestBodyBankAccount'OneOf1Object'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerCards.PostCustomersCustomerCardsRequestBodyBankAccount'OneOf1Object'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerCards.PostCustomersCustomerCardsRequestBodyBankAccount'OneOf1AccountHolderType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerCards.PostCustomersCustomerCardsRequestBodyBankAccount'OneOf1AccountHolderType'
-- | Contains the different functions to run the operation
-- postCustomersCustomerBankAccountsIdVerify
module StripeAPI.Operations.PostCustomersCustomerBankAccountsIdVerify
-- |
-- POST /v1/customers/{customer}/bank_accounts/{id}/verify
--
--
-- <p>Verify a specified bank account for a given
-- customer.</p>
postCustomersCustomerBankAccountsIdVerify :: forall m. MonadHTTP m => PostCustomersCustomerBankAccountsIdVerifyParameters -> Maybe PostCustomersCustomerBankAccountsIdVerifyRequestBody -> ClientT m (Response PostCustomersCustomerBankAccountsIdVerifyResponse)
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/bank_accounts/{id}/verify.POST.parameters
-- in the specification.
data PostCustomersCustomerBankAccountsIdVerifyParameters
PostCustomersCustomerBankAccountsIdVerifyParameters :: Text -> Text -> PostCustomersCustomerBankAccountsIdVerifyParameters
-- | pathCustomer: Represents the parameter named 'customer'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerBankAccountsIdVerifyParametersPathCustomer] :: PostCustomersCustomerBankAccountsIdVerifyParameters -> Text
-- | pathId: Represents the parameter named 'id'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerBankAccountsIdVerifyParametersPathId] :: PostCustomersCustomerBankAccountsIdVerifyParameters -> Text
-- | Create a new
-- PostCustomersCustomerBankAccountsIdVerifyParameters with all
-- required fields.
mkPostCustomersCustomerBankAccountsIdVerifyParameters :: Text -> Text -> PostCustomersCustomerBankAccountsIdVerifyParameters
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/bank_accounts/{id}/verify.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostCustomersCustomerBankAccountsIdVerifyRequestBody
PostCustomersCustomerBankAccountsIdVerifyRequestBody :: Maybe [Int] -> Maybe [Text] -> PostCustomersCustomerBankAccountsIdVerifyRequestBody
-- | amounts: Two positive integers, in *cents*, equal to the values of the
-- microdeposits sent to the bank account.
[postCustomersCustomerBankAccountsIdVerifyRequestBodyAmounts] :: PostCustomersCustomerBankAccountsIdVerifyRequestBody -> Maybe [Int]
-- | expand: Specifies which fields in the response should be expanded.
[postCustomersCustomerBankAccountsIdVerifyRequestBodyExpand] :: PostCustomersCustomerBankAccountsIdVerifyRequestBody -> Maybe [Text]
-- | Create a new
-- PostCustomersCustomerBankAccountsIdVerifyRequestBody with all
-- required fields.
mkPostCustomersCustomerBankAccountsIdVerifyRequestBody :: PostCustomersCustomerBankAccountsIdVerifyRequestBody
-- | Represents a response of the operation
-- postCustomersCustomerBankAccountsIdVerify.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- PostCustomersCustomerBankAccountsIdVerifyResponseError is used.
data PostCustomersCustomerBankAccountsIdVerifyResponse
-- | Means either no matching case available or a parse error
PostCustomersCustomerBankAccountsIdVerifyResponseError :: String -> PostCustomersCustomerBankAccountsIdVerifyResponse
-- | Successful response.
PostCustomersCustomerBankAccountsIdVerifyResponse200 :: BankAccount -> PostCustomersCustomerBankAccountsIdVerifyResponse
-- | Error response.
PostCustomersCustomerBankAccountsIdVerifyResponseDefault :: Error -> PostCustomersCustomerBankAccountsIdVerifyResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerBankAccountsIdVerify.PostCustomersCustomerBankAccountsIdVerifyParameters
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerBankAccountsIdVerify.PostCustomersCustomerBankAccountsIdVerifyParameters
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerBankAccountsIdVerify.PostCustomersCustomerBankAccountsIdVerifyRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerBankAccountsIdVerify.PostCustomersCustomerBankAccountsIdVerifyRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerBankAccountsIdVerify.PostCustomersCustomerBankAccountsIdVerifyResponse
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerBankAccountsIdVerify.PostCustomersCustomerBankAccountsIdVerifyResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerBankAccountsIdVerify.PostCustomersCustomerBankAccountsIdVerifyRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerBankAccountsIdVerify.PostCustomersCustomerBankAccountsIdVerifyRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerBankAccountsIdVerify.PostCustomersCustomerBankAccountsIdVerifyParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerBankAccountsIdVerify.PostCustomersCustomerBankAccountsIdVerifyParameters
-- | Contains the different functions to run the operation
-- postCustomersCustomerBankAccountsId
module StripeAPI.Operations.PostCustomersCustomerBankAccountsId
-- |
-- POST /v1/customers/{customer}/bank_accounts/{id}
--
--
-- <p>Update a specified source for a given customer.</p>
postCustomersCustomerBankAccountsId :: forall m. MonadHTTP m => PostCustomersCustomerBankAccountsIdParameters -> Maybe PostCustomersCustomerBankAccountsIdRequestBody -> ClientT m (Response PostCustomersCustomerBankAccountsIdResponse)
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/bank_accounts/{id}.POST.parameters
-- in the specification.
data PostCustomersCustomerBankAccountsIdParameters
PostCustomersCustomerBankAccountsIdParameters :: Text -> Text -> PostCustomersCustomerBankAccountsIdParameters
-- | pathCustomer: Represents the parameter named 'customer'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerBankAccountsIdParametersPathCustomer] :: PostCustomersCustomerBankAccountsIdParameters -> Text
-- | pathId: Represents the parameter named 'id'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerBankAccountsIdParametersPathId] :: PostCustomersCustomerBankAccountsIdParameters -> Text
-- | Create a new PostCustomersCustomerBankAccountsIdParameters with
-- all required fields.
mkPostCustomersCustomerBankAccountsIdParameters :: Text -> Text -> PostCustomersCustomerBankAccountsIdParameters
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/bank_accounts/{id}.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostCustomersCustomerBankAccountsIdRequestBody
PostCustomersCustomerBankAccountsIdRequestBody :: Maybe Text -> Maybe PostCustomersCustomerBankAccountsIdRequestBodyAccountHolderType' -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe [Text] -> Maybe PostCustomersCustomerBankAccountsIdRequestBodyMetadata'Variants -> Maybe Text -> Maybe PostCustomersCustomerBankAccountsIdRequestBodyOwner' -> PostCustomersCustomerBankAccountsIdRequestBody
-- | account_holder_name: The name of the person or business that owns the
-- bank account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerBankAccountsIdRequestBodyAccountHolderName] :: PostCustomersCustomerBankAccountsIdRequestBody -> Maybe Text
-- | account_holder_type: The type of entity that holds the account. This
-- can be either `individual` or `company`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerBankAccountsIdRequestBodyAccountHolderType] :: PostCustomersCustomerBankAccountsIdRequestBody -> Maybe PostCustomersCustomerBankAccountsIdRequestBodyAccountHolderType'
-- | address_city: City/District/Suburb/Town/Village.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerBankAccountsIdRequestBodyAddressCity] :: PostCustomersCustomerBankAccountsIdRequestBody -> Maybe Text
-- | address_country: Billing address country, if provided when creating
-- card.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerBankAccountsIdRequestBodyAddressCountry] :: PostCustomersCustomerBankAccountsIdRequestBody -> Maybe Text
-- | address_line1: Address line 1 (Street address/PO Box/Company name).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerBankAccountsIdRequestBodyAddressLine1] :: PostCustomersCustomerBankAccountsIdRequestBody -> Maybe Text
-- | address_line2: Address line 2 (Apartment/Suite/Unit/Building).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerBankAccountsIdRequestBodyAddressLine2] :: PostCustomersCustomerBankAccountsIdRequestBody -> Maybe Text
-- | address_state: State/County/Province/Region.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerBankAccountsIdRequestBodyAddressState] :: PostCustomersCustomerBankAccountsIdRequestBody -> Maybe Text
-- | address_zip: ZIP or postal code.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerBankAccountsIdRequestBodyAddressZip] :: PostCustomersCustomerBankAccountsIdRequestBody -> Maybe Text
-- | exp_month: Two digit number representing the card’s expiration month.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerBankAccountsIdRequestBodyExpMonth] :: PostCustomersCustomerBankAccountsIdRequestBody -> Maybe Text
-- | exp_year: Four digit number representing the card’s expiration year.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerBankAccountsIdRequestBodyExpYear] :: PostCustomersCustomerBankAccountsIdRequestBody -> Maybe Text
-- | expand: Specifies which fields in the response should be expanded.
[postCustomersCustomerBankAccountsIdRequestBodyExpand] :: PostCustomersCustomerBankAccountsIdRequestBody -> Maybe [Text]
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postCustomersCustomerBankAccountsIdRequestBodyMetadata] :: PostCustomersCustomerBankAccountsIdRequestBody -> Maybe PostCustomersCustomerBankAccountsIdRequestBodyMetadata'Variants
-- | name: Cardholder name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerBankAccountsIdRequestBodyName] :: PostCustomersCustomerBankAccountsIdRequestBody -> Maybe Text
-- | owner
[postCustomersCustomerBankAccountsIdRequestBodyOwner] :: PostCustomersCustomerBankAccountsIdRequestBody -> Maybe PostCustomersCustomerBankAccountsIdRequestBodyOwner'
-- | Create a new PostCustomersCustomerBankAccountsIdRequestBody
-- with all required fields.
mkPostCustomersCustomerBankAccountsIdRequestBody :: PostCustomersCustomerBankAccountsIdRequestBody
-- | Defines the enum schema located at
-- paths./v1/customers/{customer}/bank_accounts/{id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.account_holder_type
-- in the specification.
--
-- The type of entity that holds the account. This can be either
-- `individual` or `company`.
data PostCustomersCustomerBankAccountsIdRequestBodyAccountHolderType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostCustomersCustomerBankAccountsIdRequestBodyAccountHolderType'Other :: Value -> PostCustomersCustomerBankAccountsIdRequestBodyAccountHolderType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostCustomersCustomerBankAccountsIdRequestBodyAccountHolderType'Typed :: Text -> PostCustomersCustomerBankAccountsIdRequestBodyAccountHolderType'
-- | Represents the JSON value "company"
PostCustomersCustomerBankAccountsIdRequestBodyAccountHolderType'EnumCompany :: PostCustomersCustomerBankAccountsIdRequestBodyAccountHolderType'
-- | Represents the JSON value "individual"
PostCustomersCustomerBankAccountsIdRequestBodyAccountHolderType'EnumIndividual :: PostCustomersCustomerBankAccountsIdRequestBodyAccountHolderType'
-- | Defines the oneOf schema located at
-- paths./v1/customers/{customer}/bank_accounts/{id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.metadata.anyOf
-- in the specification.
--
-- Set of key-value pairs that you can attach to an object. This
-- can be useful for storing additional information about the object in a
-- structured format. Individual keys can be unset by posting an empty
-- value to them. All keys can be unset by posting an empty value to
-- `metadata`.
data PostCustomersCustomerBankAccountsIdRequestBodyMetadata'Variants
-- | Represents the JSON value ""
PostCustomersCustomerBankAccountsIdRequestBodyMetadata'EmptyString :: PostCustomersCustomerBankAccountsIdRequestBodyMetadata'Variants
PostCustomersCustomerBankAccountsIdRequestBodyMetadata'Object :: Object -> PostCustomersCustomerBankAccountsIdRequestBodyMetadata'Variants
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/bank_accounts/{id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.owner
-- in the specification.
data PostCustomersCustomerBankAccountsIdRequestBodyOwner'
PostCustomersCustomerBankAccountsIdRequestBodyOwner' :: Maybe PostCustomersCustomerBankAccountsIdRequestBodyOwner'Address' -> Maybe Text -> Maybe Text -> Maybe Text -> PostCustomersCustomerBankAccountsIdRequestBodyOwner'
-- | address
[postCustomersCustomerBankAccountsIdRequestBodyOwner'Address] :: PostCustomersCustomerBankAccountsIdRequestBodyOwner' -> Maybe PostCustomersCustomerBankAccountsIdRequestBodyOwner'Address'
-- | email
[postCustomersCustomerBankAccountsIdRequestBodyOwner'Email] :: PostCustomersCustomerBankAccountsIdRequestBodyOwner' -> Maybe Text
-- | name
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerBankAccountsIdRequestBodyOwner'Name] :: PostCustomersCustomerBankAccountsIdRequestBodyOwner' -> Maybe Text
-- | phone
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerBankAccountsIdRequestBodyOwner'Phone] :: PostCustomersCustomerBankAccountsIdRequestBodyOwner' -> Maybe Text
-- | Create a new
-- PostCustomersCustomerBankAccountsIdRequestBodyOwner' with all
-- required fields.
mkPostCustomersCustomerBankAccountsIdRequestBodyOwner' :: PostCustomersCustomerBankAccountsIdRequestBodyOwner'
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/bank_accounts/{id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.owner.properties.address
-- in the specification.
data PostCustomersCustomerBankAccountsIdRequestBodyOwner'Address'
PostCustomersCustomerBankAccountsIdRequestBodyOwner'Address' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PostCustomersCustomerBankAccountsIdRequestBodyOwner'Address'
-- | city
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerBankAccountsIdRequestBodyOwner'Address'City] :: PostCustomersCustomerBankAccountsIdRequestBodyOwner'Address' -> Maybe Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerBankAccountsIdRequestBodyOwner'Address'Country] :: PostCustomersCustomerBankAccountsIdRequestBodyOwner'Address' -> Maybe Text
-- | line1
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerBankAccountsIdRequestBodyOwner'Address'Line1] :: PostCustomersCustomerBankAccountsIdRequestBodyOwner'Address' -> Maybe Text
-- | line2
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerBankAccountsIdRequestBodyOwner'Address'Line2] :: PostCustomersCustomerBankAccountsIdRequestBodyOwner'Address' -> Maybe Text
-- | postal_code
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerBankAccountsIdRequestBodyOwner'Address'PostalCode] :: PostCustomersCustomerBankAccountsIdRequestBodyOwner'Address' -> Maybe Text
-- | state
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerBankAccountsIdRequestBodyOwner'Address'State] :: PostCustomersCustomerBankAccountsIdRequestBodyOwner'Address' -> Maybe Text
-- | Create a new
-- PostCustomersCustomerBankAccountsIdRequestBodyOwner'Address'
-- with all required fields.
mkPostCustomersCustomerBankAccountsIdRequestBodyOwner'Address' :: PostCustomersCustomerBankAccountsIdRequestBodyOwner'Address'
-- | Represents a response of the operation
-- postCustomersCustomerBankAccountsId.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- PostCustomersCustomerBankAccountsIdResponseError is used.
data PostCustomersCustomerBankAccountsIdResponse
-- | Means either no matching case available or a parse error
PostCustomersCustomerBankAccountsIdResponseError :: String -> PostCustomersCustomerBankAccountsIdResponse
-- | Successful response.
PostCustomersCustomerBankAccountsIdResponse200 :: PostCustomersCustomerBankAccountsIdResponseBody200 -> PostCustomersCustomerBankAccountsIdResponse
-- | Error response.
PostCustomersCustomerBankAccountsIdResponseDefault :: Error -> PostCustomersCustomerBankAccountsIdResponse
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/bank_accounts/{id}.POST.responses.200.content.application/json.schema.anyOf
-- in the specification.
data PostCustomersCustomerBankAccountsIdResponseBody200
PostCustomersCustomerBankAccountsIdResponseBody200 :: Maybe PostCustomersCustomerBankAccountsIdResponseBody200Account'Variants -> Maybe Text -> Maybe Text -> Maybe SourceTypeAchCreditTransfer -> Maybe SourceTypeAchDebit -> Maybe SourceTypeAcssDebit -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe SourceTypeAlipay -> Maybe Int -> Maybe SourceTypeAuBecsDebit -> Maybe [PostCustomersCustomerBankAccountsIdResponseBody200AvailablePayoutMethods'] -> Maybe SourceTypeBancontact -> Maybe Text -> Maybe Text -> Maybe SourceTypeCard -> Maybe SourceTypeCardPresent -> Maybe Text -> Maybe SourceCodeVerificationFlow -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe PostCustomersCustomerBankAccountsIdResponseBody200Customer'Variants -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe SourceTypeEps -> Maybe Int -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe SourceTypeGiropay -> Maybe Text -> Maybe SourceTypeIdeal -> Maybe SourceTypeKlarna -> Maybe Text -> Maybe Bool -> Maybe Object -> Maybe SourceTypeMultibanco -> Maybe Text -> Maybe PostCustomersCustomerBankAccountsIdResponseBody200Object' -> Maybe PostCustomersCustomerBankAccountsIdResponseBody200Owner' -> Maybe SourceTypeP24 -> Maybe SourceReceiverFlow -> Maybe PostCustomersCustomerBankAccountsIdResponseBody200Recipient'Variants -> Maybe SourceRedirectFlow -> Maybe Text -> Maybe SourceTypeSepaDebit -> Maybe SourceTypeSofort -> Maybe SourceOrder -> Maybe Text -> Maybe Text -> Maybe SourceTypeThreeDSecure -> Maybe Text -> Maybe PostCustomersCustomerBankAccountsIdResponseBody200Type' -> Maybe Text -> Maybe SourceTypeWechat -> PostCustomersCustomerBankAccountsIdResponseBody200
-- | account: The account this card belongs to. This attribute will not be
-- in the card object if the card belongs to a customer or recipient
-- instead.
[postCustomersCustomerBankAccountsIdResponseBody200Account] :: PostCustomersCustomerBankAccountsIdResponseBody200 -> Maybe PostCustomersCustomerBankAccountsIdResponseBody200Account'Variants
-- | account_holder_name: The name of the person or business that owns the
-- bank account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerBankAccountsIdResponseBody200AccountHolderName] :: PostCustomersCustomerBankAccountsIdResponseBody200 -> Maybe Text
-- | account_holder_type: The type of entity that holds the account. This
-- can be either `individual` or `company`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerBankAccountsIdResponseBody200AccountHolderType] :: PostCustomersCustomerBankAccountsIdResponseBody200 -> Maybe Text
-- | ach_credit_transfer
[postCustomersCustomerBankAccountsIdResponseBody200AchCreditTransfer] :: PostCustomersCustomerBankAccountsIdResponseBody200 -> Maybe SourceTypeAchCreditTransfer
-- | ach_debit
[postCustomersCustomerBankAccountsIdResponseBody200AchDebit] :: PostCustomersCustomerBankAccountsIdResponseBody200 -> Maybe SourceTypeAchDebit
-- | acss_debit
[postCustomersCustomerBankAccountsIdResponseBody200AcssDebit] :: PostCustomersCustomerBankAccountsIdResponseBody200 -> Maybe SourceTypeAcssDebit
-- | address_city: City/District/Suburb/Town/Village.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerBankAccountsIdResponseBody200AddressCity] :: PostCustomersCustomerBankAccountsIdResponseBody200 -> Maybe Text
-- | address_country: Billing address country, if provided when creating
-- card.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerBankAccountsIdResponseBody200AddressCountry] :: PostCustomersCustomerBankAccountsIdResponseBody200 -> Maybe Text
-- | address_line1: Address line 1 (Street address/PO Box/Company name).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerBankAccountsIdResponseBody200AddressLine1] :: PostCustomersCustomerBankAccountsIdResponseBody200 -> Maybe Text
-- | address_line1_check: If `address_line1` was provided, results of the
-- check: `pass`, `fail`, `unavailable`, or `unchecked`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerBankAccountsIdResponseBody200AddressLine1Check] :: PostCustomersCustomerBankAccountsIdResponseBody200 -> Maybe Text
-- | address_line2: Address line 2 (Apartment/Suite/Unit/Building).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerBankAccountsIdResponseBody200AddressLine2] :: PostCustomersCustomerBankAccountsIdResponseBody200 -> Maybe Text
-- | address_state: State/County/Province/Region.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerBankAccountsIdResponseBody200AddressState] :: PostCustomersCustomerBankAccountsIdResponseBody200 -> Maybe Text
-- | address_zip: ZIP or postal code.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerBankAccountsIdResponseBody200AddressZip] :: PostCustomersCustomerBankAccountsIdResponseBody200 -> Maybe Text
-- | address_zip_check: If `address_zip` was provided, results of the
-- check: `pass`, `fail`, `unavailable`, or `unchecked`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerBankAccountsIdResponseBody200AddressZipCheck] :: PostCustomersCustomerBankAccountsIdResponseBody200 -> Maybe Text
-- | alipay
[postCustomersCustomerBankAccountsIdResponseBody200Alipay] :: PostCustomersCustomerBankAccountsIdResponseBody200 -> Maybe SourceTypeAlipay
-- | amount: A positive integer in the smallest currency unit (that is, 100
-- cents for $1.00, or 1 for ¥1, Japanese Yen being a zero-decimal
-- currency) representing the total amount associated with the source.
-- This is the amount for which the source will be chargeable once ready.
-- Required for `single_use` sources.
[postCustomersCustomerBankAccountsIdResponseBody200Amount] :: PostCustomersCustomerBankAccountsIdResponseBody200 -> Maybe Int
-- | au_becs_debit
[postCustomersCustomerBankAccountsIdResponseBody200AuBecsDebit] :: PostCustomersCustomerBankAccountsIdResponseBody200 -> Maybe SourceTypeAuBecsDebit
-- | available_payout_methods: A set of available payout methods for this
-- card. Only values from this set should be passed as the `method` when
-- creating a payout.
[postCustomersCustomerBankAccountsIdResponseBody200AvailablePayoutMethods] :: PostCustomersCustomerBankAccountsIdResponseBody200 -> Maybe [PostCustomersCustomerBankAccountsIdResponseBody200AvailablePayoutMethods']
-- | bancontact
[postCustomersCustomerBankAccountsIdResponseBody200Bancontact] :: PostCustomersCustomerBankAccountsIdResponseBody200 -> Maybe SourceTypeBancontact
-- | bank_name: Name of the bank associated with the routing number (e.g.,
-- `WELLS FARGO`).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerBankAccountsIdResponseBody200BankName] :: PostCustomersCustomerBankAccountsIdResponseBody200 -> Maybe Text
-- | brand: Card brand. Can be `American Express`, `Diners Club`,
-- `Discover`, `JCB`, `MasterCard`, `UnionPay`, `Visa`, or `Unknown`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerBankAccountsIdResponseBody200Brand] :: PostCustomersCustomerBankAccountsIdResponseBody200 -> Maybe Text
-- | card
[postCustomersCustomerBankAccountsIdResponseBody200Card] :: PostCustomersCustomerBankAccountsIdResponseBody200 -> Maybe SourceTypeCard
-- | card_present
[postCustomersCustomerBankAccountsIdResponseBody200CardPresent] :: PostCustomersCustomerBankAccountsIdResponseBody200 -> Maybe SourceTypeCardPresent
-- | client_secret: The client secret of the source. Used for client-side
-- retrieval using a publishable key.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerBankAccountsIdResponseBody200ClientSecret] :: PostCustomersCustomerBankAccountsIdResponseBody200 -> Maybe Text
-- | code_verification:
[postCustomersCustomerBankAccountsIdResponseBody200CodeVerification] :: PostCustomersCustomerBankAccountsIdResponseBody200 -> Maybe SourceCodeVerificationFlow
-- | country: Two-letter ISO code representing the country of the card. You
-- could use this attribute to get a sense of the international breakdown
-- of cards you've collected.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerBankAccountsIdResponseBody200Country] :: PostCustomersCustomerBankAccountsIdResponseBody200 -> Maybe Text
-- | created: Time at which the object was created. Measured in seconds
-- since the Unix epoch.
[postCustomersCustomerBankAccountsIdResponseBody200Created] :: PostCustomersCustomerBankAccountsIdResponseBody200 -> Maybe Int
-- | currency: Three-letter ISO code for currency. Only applicable
-- on accounts (not customers or recipients). The card can be used as a
-- transfer destination for funds in this currency.
[postCustomersCustomerBankAccountsIdResponseBody200Currency] :: PostCustomersCustomerBankAccountsIdResponseBody200 -> Maybe Text
-- | customer: The customer that this card belongs to. This attribute will
-- not be in the card object if the card belongs to an account or
-- recipient instead.
[postCustomersCustomerBankAccountsIdResponseBody200Customer] :: PostCustomersCustomerBankAccountsIdResponseBody200 -> Maybe PostCustomersCustomerBankAccountsIdResponseBody200Customer'Variants
-- | cvc_check: If a CVC was provided, results of the check: `pass`,
-- `fail`, `unavailable`, or `unchecked`. A result of unchecked indicates
-- that CVC was provided but hasn't been checked yet. Checks are
-- typically performed when attaching a card to a Customer object, or
-- when creating a charge. For more details, see Check if a card is
-- valid without a charge.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerBankAccountsIdResponseBody200CvcCheck] :: PostCustomersCustomerBankAccountsIdResponseBody200 -> Maybe Text
-- | default_for_currency: Whether this card is the default external
-- account for its currency.
[postCustomersCustomerBankAccountsIdResponseBody200DefaultForCurrency] :: PostCustomersCustomerBankAccountsIdResponseBody200 -> Maybe Bool
-- | dynamic_last4: (For tokenized numbers only.) The last four digits of
-- the device account number.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerBankAccountsIdResponseBody200DynamicLast4] :: PostCustomersCustomerBankAccountsIdResponseBody200 -> Maybe Text
-- | eps
[postCustomersCustomerBankAccountsIdResponseBody200Eps] :: PostCustomersCustomerBankAccountsIdResponseBody200 -> Maybe SourceTypeEps
-- | exp_month: Two-digit number representing the card's expiration month.
[postCustomersCustomerBankAccountsIdResponseBody200ExpMonth] :: PostCustomersCustomerBankAccountsIdResponseBody200 -> Maybe Int
-- | exp_year: Four-digit number representing the card's expiration year.
[postCustomersCustomerBankAccountsIdResponseBody200ExpYear] :: PostCustomersCustomerBankAccountsIdResponseBody200 -> Maybe Int
-- | fingerprint: Uniquely identifies this particular card number. You can
-- use this attribute to check whether two customers who’ve signed up
-- with you are using the same card number, for example. For payment
-- methods that tokenize card information (Apple Pay, Google Pay), the
-- tokenized number might be provided instead of the underlying card
-- number.
--
--
-- - Starting May 1, 2021, card fingerprint in India for Connect will
-- change to allow two fingerprints for the same card --- one for India
-- and one for the rest of the world.*
--
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerBankAccountsIdResponseBody200Fingerprint] :: PostCustomersCustomerBankAccountsIdResponseBody200 -> Maybe Text
-- | flow: The authentication `flow` of the source. `flow` is one of
-- `redirect`, `receiver`, `code_verification`, `none`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerBankAccountsIdResponseBody200Flow] :: PostCustomersCustomerBankAccountsIdResponseBody200 -> Maybe Text
-- | funding: Card funding type. Can be `credit`, `debit`, `prepaid`, or
-- `unknown`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerBankAccountsIdResponseBody200Funding] :: PostCustomersCustomerBankAccountsIdResponseBody200 -> Maybe Text
-- | giropay
[postCustomersCustomerBankAccountsIdResponseBody200Giropay] :: PostCustomersCustomerBankAccountsIdResponseBody200 -> Maybe SourceTypeGiropay
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerBankAccountsIdResponseBody200Id] :: PostCustomersCustomerBankAccountsIdResponseBody200 -> Maybe Text
-- | ideal
[postCustomersCustomerBankAccountsIdResponseBody200Ideal] :: PostCustomersCustomerBankAccountsIdResponseBody200 -> Maybe SourceTypeIdeal
-- | klarna
[postCustomersCustomerBankAccountsIdResponseBody200Klarna] :: PostCustomersCustomerBankAccountsIdResponseBody200 -> Maybe SourceTypeKlarna
-- | last4: The last four digits of the card.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerBankAccountsIdResponseBody200Last4] :: PostCustomersCustomerBankAccountsIdResponseBody200 -> Maybe Text
-- | livemode: Has the value `true` if the object exists in live mode or
-- the value `false` if the object exists in test mode.
[postCustomersCustomerBankAccountsIdResponseBody200Livemode] :: PostCustomersCustomerBankAccountsIdResponseBody200 -> Maybe Bool
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format.
[postCustomersCustomerBankAccountsIdResponseBody200Metadata] :: PostCustomersCustomerBankAccountsIdResponseBody200 -> Maybe Object
-- | multibanco
[postCustomersCustomerBankAccountsIdResponseBody200Multibanco] :: PostCustomersCustomerBankAccountsIdResponseBody200 -> Maybe SourceTypeMultibanco
-- | name: Cardholder name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerBankAccountsIdResponseBody200Name] :: PostCustomersCustomerBankAccountsIdResponseBody200 -> Maybe Text
-- | object: String representing the object's type. Objects of the same
-- type share the same value.
[postCustomersCustomerBankAccountsIdResponseBody200Object] :: PostCustomersCustomerBankAccountsIdResponseBody200 -> Maybe PostCustomersCustomerBankAccountsIdResponseBody200Object'
-- | owner: Information about the owner of the payment instrument that may
-- be used or required by particular source types.
[postCustomersCustomerBankAccountsIdResponseBody200Owner] :: PostCustomersCustomerBankAccountsIdResponseBody200 -> Maybe PostCustomersCustomerBankAccountsIdResponseBody200Owner'
-- | p24
[postCustomersCustomerBankAccountsIdResponseBody200P24] :: PostCustomersCustomerBankAccountsIdResponseBody200 -> Maybe SourceTypeP24
-- | receiver:
[postCustomersCustomerBankAccountsIdResponseBody200Receiver] :: PostCustomersCustomerBankAccountsIdResponseBody200 -> Maybe SourceReceiverFlow
-- | recipient: 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.
[postCustomersCustomerBankAccountsIdResponseBody200Recipient] :: PostCustomersCustomerBankAccountsIdResponseBody200 -> Maybe PostCustomersCustomerBankAccountsIdResponseBody200Recipient'Variants
-- | redirect:
[postCustomersCustomerBankAccountsIdResponseBody200Redirect] :: PostCustomersCustomerBankAccountsIdResponseBody200 -> Maybe SourceRedirectFlow
-- | routing_number: The routing transit number for the bank account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerBankAccountsIdResponseBody200RoutingNumber] :: PostCustomersCustomerBankAccountsIdResponseBody200 -> Maybe Text
-- | sepa_debit
[postCustomersCustomerBankAccountsIdResponseBody200SepaDebit] :: PostCustomersCustomerBankAccountsIdResponseBody200 -> Maybe SourceTypeSepaDebit
-- | sofort
[postCustomersCustomerBankAccountsIdResponseBody200Sofort] :: PostCustomersCustomerBankAccountsIdResponseBody200 -> Maybe SourceTypeSofort
-- | source_order:
[postCustomersCustomerBankAccountsIdResponseBody200SourceOrder] :: PostCustomersCustomerBankAccountsIdResponseBody200 -> Maybe SourceOrder
-- | statement_descriptor: Extra information about a source. This will
-- appear on your customer's statement every time you charge the source.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerBankAccountsIdResponseBody200StatementDescriptor] :: PostCustomersCustomerBankAccountsIdResponseBody200 -> Maybe Text
-- | status: For bank accounts, possible values are `new`, `validated`,
-- `verified`, `verification_failed`, or `errored`. A bank account that
-- hasn't had any activity or validation performed is `new`. If Stripe
-- can determine that the bank account exists, its status will be
-- `validated`. Note that there often isn’t enough information to know
-- (e.g., for smaller credit unions), and the validation is not always
-- run. If customer bank account verification has succeeded, the bank
-- account status will be `verified`. If the verification failed for any
-- reason, such as microdeposit failure, the status will be
-- `verification_failed`. If a transfer sent to this bank account fails,
-- we'll set the status to `errored` and will not continue to send
-- transfers until the bank details are updated.
--
-- For external accounts, possible values are `new` and `errored`.
-- Validations aren't run against external accounts because they're only
-- used for payouts. This means the other statuses don't apply. If a
-- transfer fails, the status is set to `errored` and transfers are
-- stopped until account details are updated.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerBankAccountsIdResponseBody200Status] :: PostCustomersCustomerBankAccountsIdResponseBody200 -> Maybe Text
-- | three_d_secure
[postCustomersCustomerBankAccountsIdResponseBody200ThreeDSecure] :: PostCustomersCustomerBankAccountsIdResponseBody200 -> Maybe SourceTypeThreeDSecure
-- | tokenization_method: If the card number is tokenized, this is the
-- method that was used. Can be `android_pay` (includes Google Pay),
-- `apple_pay`, `masterpass`, `visa_checkout`, or null.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerBankAccountsIdResponseBody200TokenizationMethod] :: PostCustomersCustomerBankAccountsIdResponseBody200 -> Maybe Text
-- | type: The `type` of the source. The `type` is a payment method, one of
-- `ach_credit_transfer`, `ach_debit`, `alipay`, `bancontact`, `card`,
-- `card_present`, `eps`, `giropay`, `ideal`, `multibanco`, `klarna`,
-- `p24`, `sepa_debit`, `sofort`, `three_d_secure`, or `wechat`. An
-- additional hash is included on the source with a name matching this
-- value. It contains additional information specific to the payment
-- method used.
[postCustomersCustomerBankAccountsIdResponseBody200Type] :: PostCustomersCustomerBankAccountsIdResponseBody200 -> Maybe PostCustomersCustomerBankAccountsIdResponseBody200Type'
-- | usage: Either `reusable` or `single_use`. Whether this source should
-- be reusable or not. Some source types may or may not be reusable by
-- construction, while others may leave the option at creation. If an
-- incompatible value is passed, an error will be returned.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerBankAccountsIdResponseBody200Usage] :: PostCustomersCustomerBankAccountsIdResponseBody200 -> Maybe Text
-- | wechat
[postCustomersCustomerBankAccountsIdResponseBody200Wechat] :: PostCustomersCustomerBankAccountsIdResponseBody200 -> Maybe SourceTypeWechat
-- | Create a new PostCustomersCustomerBankAccountsIdResponseBody200
-- with all required fields.
mkPostCustomersCustomerBankAccountsIdResponseBody200 :: PostCustomersCustomerBankAccountsIdResponseBody200
-- | Defines the oneOf schema located at
-- paths./v1/customers/{customer}/bank_accounts/{id}.POST.responses.200.content.application/json.schema.anyOf.properties.account.anyOf
-- in the specification.
--
-- The account this card belongs to. This attribute will not be in the
-- card object if the card belongs to a customer or recipient instead.
data PostCustomersCustomerBankAccountsIdResponseBody200Account'Variants
PostCustomersCustomerBankAccountsIdResponseBody200Account'Text :: Text -> PostCustomersCustomerBankAccountsIdResponseBody200Account'Variants
PostCustomersCustomerBankAccountsIdResponseBody200Account'Account :: Account -> PostCustomersCustomerBankAccountsIdResponseBody200Account'Variants
-- | Defines the enum schema located at
-- paths./v1/customers/{customer}/bank_accounts/{id}.POST.responses.200.content.application/json.schema.anyOf.properties.available_payout_methods.items
-- in the specification.
data PostCustomersCustomerBankAccountsIdResponseBody200AvailablePayoutMethods'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostCustomersCustomerBankAccountsIdResponseBody200AvailablePayoutMethods'Other :: Value -> PostCustomersCustomerBankAccountsIdResponseBody200AvailablePayoutMethods'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostCustomersCustomerBankAccountsIdResponseBody200AvailablePayoutMethods'Typed :: Text -> PostCustomersCustomerBankAccountsIdResponseBody200AvailablePayoutMethods'
-- | Represents the JSON value "instant"
PostCustomersCustomerBankAccountsIdResponseBody200AvailablePayoutMethods'EnumInstant :: PostCustomersCustomerBankAccountsIdResponseBody200AvailablePayoutMethods'
-- | Represents the JSON value "standard"
PostCustomersCustomerBankAccountsIdResponseBody200AvailablePayoutMethods'EnumStandard :: PostCustomersCustomerBankAccountsIdResponseBody200AvailablePayoutMethods'
-- | Defines the oneOf schema located at
-- paths./v1/customers/{customer}/bank_accounts/{id}.POST.responses.200.content.application/json.schema.anyOf.properties.customer.anyOf
-- in the specification.
--
-- The customer that this card belongs to. This attribute will not be in
-- the card object if the card belongs to an account or recipient
-- instead.
data PostCustomersCustomerBankAccountsIdResponseBody200Customer'Variants
PostCustomersCustomerBankAccountsIdResponseBody200Customer'Text :: Text -> PostCustomersCustomerBankAccountsIdResponseBody200Customer'Variants
PostCustomersCustomerBankAccountsIdResponseBody200Customer'Customer :: Customer -> PostCustomersCustomerBankAccountsIdResponseBody200Customer'Variants
PostCustomersCustomerBankAccountsIdResponseBody200Customer'DeletedCustomer :: DeletedCustomer -> PostCustomersCustomerBankAccountsIdResponseBody200Customer'Variants
-- | Defines the enum schema located at
-- paths./v1/customers/{customer}/bank_accounts/{id}.POST.responses.200.content.application/json.schema.anyOf.properties.object
-- in the specification.
--
-- String representing the object's type. Objects of the same type share
-- the same value.
data PostCustomersCustomerBankAccountsIdResponseBody200Object'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostCustomersCustomerBankAccountsIdResponseBody200Object'Other :: Value -> PostCustomersCustomerBankAccountsIdResponseBody200Object'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostCustomersCustomerBankAccountsIdResponseBody200Object'Typed :: Text -> PostCustomersCustomerBankAccountsIdResponseBody200Object'
-- | Represents the JSON value "card"
PostCustomersCustomerBankAccountsIdResponseBody200Object'EnumCard :: PostCustomersCustomerBankAccountsIdResponseBody200Object'
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/bank_accounts/{id}.POST.responses.200.content.application/json.schema.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.
data PostCustomersCustomerBankAccountsIdResponseBody200Owner'
PostCustomersCustomerBankAccountsIdResponseBody200Owner' :: Maybe PostCustomersCustomerBankAccountsIdResponseBody200Owner'Address' -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe PostCustomersCustomerBankAccountsIdResponseBody200Owner'VerifiedAddress' -> Maybe Text -> Maybe Text -> Maybe Text -> PostCustomersCustomerBankAccountsIdResponseBody200Owner'
-- | address: Owner's address.
[postCustomersCustomerBankAccountsIdResponseBody200Owner'Address] :: PostCustomersCustomerBankAccountsIdResponseBody200Owner' -> Maybe PostCustomersCustomerBankAccountsIdResponseBody200Owner'Address'
-- | email: Owner's email address.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerBankAccountsIdResponseBody200Owner'Email] :: PostCustomersCustomerBankAccountsIdResponseBody200Owner' -> Maybe Text
-- | name: Owner's full name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerBankAccountsIdResponseBody200Owner'Name] :: PostCustomersCustomerBankAccountsIdResponseBody200Owner' -> Maybe Text
-- | phone: Owner's phone number (including extension).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerBankAccountsIdResponseBody200Owner'Phone] :: PostCustomersCustomerBankAccountsIdResponseBody200Owner' -> Maybe Text
-- | verified_address: 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.
[postCustomersCustomerBankAccountsIdResponseBody200Owner'VerifiedAddress] :: PostCustomersCustomerBankAccountsIdResponseBody200Owner' -> Maybe PostCustomersCustomerBankAccountsIdResponseBody200Owner'VerifiedAddress'
-- | verified_email: Verified owner's email 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.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerBankAccountsIdResponseBody200Owner'VerifiedEmail] :: PostCustomersCustomerBankAccountsIdResponseBody200Owner' -> Maybe Text
-- | verified_name: Verified owner's full name. 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.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerBankAccountsIdResponseBody200Owner'VerifiedName] :: PostCustomersCustomerBankAccountsIdResponseBody200Owner' -> Maybe Text
-- | verified_phone: Verified owner's phone number (including extension).
-- 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.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerBankAccountsIdResponseBody200Owner'VerifiedPhone] :: PostCustomersCustomerBankAccountsIdResponseBody200Owner' -> Maybe Text
-- | Create a new
-- PostCustomersCustomerBankAccountsIdResponseBody200Owner' with
-- all required fields.
mkPostCustomersCustomerBankAccountsIdResponseBody200Owner' :: PostCustomersCustomerBankAccountsIdResponseBody200Owner'
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/bank_accounts/{id}.POST.responses.200.content.application/json.schema.anyOf.properties.owner.anyOf.properties.address.anyOf
-- in the specification.
--
-- Owner\'s address.
data PostCustomersCustomerBankAccountsIdResponseBody200Owner'Address'
PostCustomersCustomerBankAccountsIdResponseBody200Owner'Address' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PostCustomersCustomerBankAccountsIdResponseBody200Owner'Address'
-- | city: City, district, suburb, town, or village.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerBankAccountsIdResponseBody200Owner'Address'City] :: PostCustomersCustomerBankAccountsIdResponseBody200Owner'Address' -> Maybe Text
-- | country: Two-letter country code ([ISO 3166-1
-- alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerBankAccountsIdResponseBody200Owner'Address'Country] :: PostCustomersCustomerBankAccountsIdResponseBody200Owner'Address' -> Maybe Text
-- | line1: Address line 1 (e.g., street, PO Box, or company name).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerBankAccountsIdResponseBody200Owner'Address'Line1] :: PostCustomersCustomerBankAccountsIdResponseBody200Owner'Address' -> Maybe Text
-- | line2: Address line 2 (e.g., apartment, suite, unit, or building).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerBankAccountsIdResponseBody200Owner'Address'Line2] :: PostCustomersCustomerBankAccountsIdResponseBody200Owner'Address' -> Maybe Text
-- | postal_code: ZIP or postal code.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerBankAccountsIdResponseBody200Owner'Address'PostalCode] :: PostCustomersCustomerBankAccountsIdResponseBody200Owner'Address' -> Maybe Text
-- | state: State, county, province, or region.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerBankAccountsIdResponseBody200Owner'Address'State] :: PostCustomersCustomerBankAccountsIdResponseBody200Owner'Address' -> Maybe Text
-- | Create a new
-- PostCustomersCustomerBankAccountsIdResponseBody200Owner'Address'
-- with all required fields.
mkPostCustomersCustomerBankAccountsIdResponseBody200Owner'Address' :: PostCustomersCustomerBankAccountsIdResponseBody200Owner'Address'
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/bank_accounts/{id}.POST.responses.200.content.application/json.schema.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.
data PostCustomersCustomerBankAccountsIdResponseBody200Owner'VerifiedAddress'
PostCustomersCustomerBankAccountsIdResponseBody200Owner'VerifiedAddress' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PostCustomersCustomerBankAccountsIdResponseBody200Owner'VerifiedAddress'
-- | city: City, district, suburb, town, or village.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerBankAccountsIdResponseBody200Owner'VerifiedAddress'City] :: PostCustomersCustomerBankAccountsIdResponseBody200Owner'VerifiedAddress' -> Maybe Text
-- | country: Two-letter country code ([ISO 3166-1
-- alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerBankAccountsIdResponseBody200Owner'VerifiedAddress'Country] :: PostCustomersCustomerBankAccountsIdResponseBody200Owner'VerifiedAddress' -> Maybe Text
-- | line1: Address line 1 (e.g., street, PO Box, or company name).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerBankAccountsIdResponseBody200Owner'VerifiedAddress'Line1] :: PostCustomersCustomerBankAccountsIdResponseBody200Owner'VerifiedAddress' -> Maybe Text
-- | line2: Address line 2 (e.g., apartment, suite, unit, or building).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerBankAccountsIdResponseBody200Owner'VerifiedAddress'Line2] :: PostCustomersCustomerBankAccountsIdResponseBody200Owner'VerifiedAddress' -> Maybe Text
-- | postal_code: ZIP or postal code.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerBankAccountsIdResponseBody200Owner'VerifiedAddress'PostalCode] :: PostCustomersCustomerBankAccountsIdResponseBody200Owner'VerifiedAddress' -> Maybe Text
-- | state: State, county, province, or region.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerBankAccountsIdResponseBody200Owner'VerifiedAddress'State] :: PostCustomersCustomerBankAccountsIdResponseBody200Owner'VerifiedAddress' -> Maybe Text
-- | Create a new
-- PostCustomersCustomerBankAccountsIdResponseBody200Owner'VerifiedAddress'
-- with all required fields.
mkPostCustomersCustomerBankAccountsIdResponseBody200Owner'VerifiedAddress' :: PostCustomersCustomerBankAccountsIdResponseBody200Owner'VerifiedAddress'
-- | Defines the oneOf schema located at
-- paths./v1/customers/{customer}/bank_accounts/{id}.POST.responses.200.content.application/json.schema.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 PostCustomersCustomerBankAccountsIdResponseBody200Recipient'Variants
PostCustomersCustomerBankAccountsIdResponseBody200Recipient'Text :: Text -> PostCustomersCustomerBankAccountsIdResponseBody200Recipient'Variants
PostCustomersCustomerBankAccountsIdResponseBody200Recipient'Recipient :: Recipient -> PostCustomersCustomerBankAccountsIdResponseBody200Recipient'Variants
-- | Defines the enum schema located at
-- paths./v1/customers/{customer}/bank_accounts/{id}.POST.responses.200.content.application/json.schema.anyOf.properties.type
-- in the specification.
--
-- The `type` of the source. The `type` is a payment method, one of
-- `ach_credit_transfer`, `ach_debit`, `alipay`, `bancontact`, `card`,
-- `card_present`, `eps`, `giropay`, `ideal`, `multibanco`, `klarna`,
-- `p24`, `sepa_debit`, `sofort`, `three_d_secure`, or `wechat`. An
-- additional hash is included on the source with a name matching this
-- value. It contains additional information specific to the payment
-- method used.
data PostCustomersCustomerBankAccountsIdResponseBody200Type'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostCustomersCustomerBankAccountsIdResponseBody200Type'Other :: Value -> PostCustomersCustomerBankAccountsIdResponseBody200Type'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostCustomersCustomerBankAccountsIdResponseBody200Type'Typed :: Text -> PostCustomersCustomerBankAccountsIdResponseBody200Type'
-- | Represents the JSON value "ach_credit_transfer"
PostCustomersCustomerBankAccountsIdResponseBody200Type'EnumAchCreditTransfer :: PostCustomersCustomerBankAccountsIdResponseBody200Type'
-- | Represents the JSON value "ach_debit"
PostCustomersCustomerBankAccountsIdResponseBody200Type'EnumAchDebit :: PostCustomersCustomerBankAccountsIdResponseBody200Type'
-- | Represents the JSON value "acss_debit"
PostCustomersCustomerBankAccountsIdResponseBody200Type'EnumAcssDebit :: PostCustomersCustomerBankAccountsIdResponseBody200Type'
-- | Represents the JSON value "alipay"
PostCustomersCustomerBankAccountsIdResponseBody200Type'EnumAlipay :: PostCustomersCustomerBankAccountsIdResponseBody200Type'
-- | Represents the JSON value "au_becs_debit"
PostCustomersCustomerBankAccountsIdResponseBody200Type'EnumAuBecsDebit :: PostCustomersCustomerBankAccountsIdResponseBody200Type'
-- | Represents the JSON value "bancontact"
PostCustomersCustomerBankAccountsIdResponseBody200Type'EnumBancontact :: PostCustomersCustomerBankAccountsIdResponseBody200Type'
-- | Represents the JSON value "card"
PostCustomersCustomerBankAccountsIdResponseBody200Type'EnumCard :: PostCustomersCustomerBankAccountsIdResponseBody200Type'
-- | Represents the JSON value "card_present"
PostCustomersCustomerBankAccountsIdResponseBody200Type'EnumCardPresent :: PostCustomersCustomerBankAccountsIdResponseBody200Type'
-- | Represents the JSON value "eps"
PostCustomersCustomerBankAccountsIdResponseBody200Type'EnumEps :: PostCustomersCustomerBankAccountsIdResponseBody200Type'
-- | Represents the JSON value "giropay"
PostCustomersCustomerBankAccountsIdResponseBody200Type'EnumGiropay :: PostCustomersCustomerBankAccountsIdResponseBody200Type'
-- | Represents the JSON value "ideal"
PostCustomersCustomerBankAccountsIdResponseBody200Type'EnumIdeal :: PostCustomersCustomerBankAccountsIdResponseBody200Type'
-- | Represents the JSON value "klarna"
PostCustomersCustomerBankAccountsIdResponseBody200Type'EnumKlarna :: PostCustomersCustomerBankAccountsIdResponseBody200Type'
-- | Represents the JSON value "multibanco"
PostCustomersCustomerBankAccountsIdResponseBody200Type'EnumMultibanco :: PostCustomersCustomerBankAccountsIdResponseBody200Type'
-- | Represents the JSON value "p24"
PostCustomersCustomerBankAccountsIdResponseBody200Type'EnumP24 :: PostCustomersCustomerBankAccountsIdResponseBody200Type'
-- | Represents the JSON value "sepa_debit"
PostCustomersCustomerBankAccountsIdResponseBody200Type'EnumSepaDebit :: PostCustomersCustomerBankAccountsIdResponseBody200Type'
-- | Represents the JSON value "sofort"
PostCustomersCustomerBankAccountsIdResponseBody200Type'EnumSofort :: PostCustomersCustomerBankAccountsIdResponseBody200Type'
-- | Represents the JSON value "three_d_secure"
PostCustomersCustomerBankAccountsIdResponseBody200Type'EnumThreeDSecure :: PostCustomersCustomerBankAccountsIdResponseBody200Type'
-- | Represents the JSON value "wechat"
PostCustomersCustomerBankAccountsIdResponseBody200Type'EnumWechat :: PostCustomersCustomerBankAccountsIdResponseBody200Type'
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerBankAccountsId.PostCustomersCustomerBankAccountsIdParameters
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerBankAccountsId.PostCustomersCustomerBankAccountsIdParameters
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerBankAccountsId.PostCustomersCustomerBankAccountsIdRequestBodyAccountHolderType'
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerBankAccountsId.PostCustomersCustomerBankAccountsIdRequestBodyAccountHolderType'
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerBankAccountsId.PostCustomersCustomerBankAccountsIdRequestBodyMetadata'Variants
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerBankAccountsId.PostCustomersCustomerBankAccountsIdRequestBodyMetadata'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerBankAccountsId.PostCustomersCustomerBankAccountsIdRequestBodyOwner'Address'
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerBankAccountsId.PostCustomersCustomerBankAccountsIdRequestBodyOwner'Address'
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerBankAccountsId.PostCustomersCustomerBankAccountsIdRequestBodyOwner'
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerBankAccountsId.PostCustomersCustomerBankAccountsIdRequestBodyOwner'
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerBankAccountsId.PostCustomersCustomerBankAccountsIdRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerBankAccountsId.PostCustomersCustomerBankAccountsIdRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerBankAccountsId.PostCustomersCustomerBankAccountsIdResponseBody200Account'Variants
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerBankAccountsId.PostCustomersCustomerBankAccountsIdResponseBody200Account'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerBankAccountsId.PostCustomersCustomerBankAccountsIdResponseBody200AvailablePayoutMethods'
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerBankAccountsId.PostCustomersCustomerBankAccountsIdResponseBody200AvailablePayoutMethods'
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerBankAccountsId.PostCustomersCustomerBankAccountsIdResponseBody200Customer'Variants
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerBankAccountsId.PostCustomersCustomerBankAccountsIdResponseBody200Customer'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerBankAccountsId.PostCustomersCustomerBankAccountsIdResponseBody200Object'
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerBankAccountsId.PostCustomersCustomerBankAccountsIdResponseBody200Object'
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerBankAccountsId.PostCustomersCustomerBankAccountsIdResponseBody200Owner'Address'
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerBankAccountsId.PostCustomersCustomerBankAccountsIdResponseBody200Owner'Address'
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerBankAccountsId.PostCustomersCustomerBankAccountsIdResponseBody200Owner'VerifiedAddress'
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerBankAccountsId.PostCustomersCustomerBankAccountsIdResponseBody200Owner'VerifiedAddress'
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerBankAccountsId.PostCustomersCustomerBankAccountsIdResponseBody200Owner'
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerBankAccountsId.PostCustomersCustomerBankAccountsIdResponseBody200Owner'
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerBankAccountsId.PostCustomersCustomerBankAccountsIdResponseBody200Recipient'Variants
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerBankAccountsId.PostCustomersCustomerBankAccountsIdResponseBody200Recipient'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerBankAccountsId.PostCustomersCustomerBankAccountsIdResponseBody200Type'
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerBankAccountsId.PostCustomersCustomerBankAccountsIdResponseBody200Type'
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerBankAccountsId.PostCustomersCustomerBankAccountsIdResponseBody200
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerBankAccountsId.PostCustomersCustomerBankAccountsIdResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerBankAccountsId.PostCustomersCustomerBankAccountsIdResponse
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerBankAccountsId.PostCustomersCustomerBankAccountsIdResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerBankAccountsId.PostCustomersCustomerBankAccountsIdResponseBody200
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerBankAccountsId.PostCustomersCustomerBankAccountsIdResponseBody200
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerBankAccountsId.PostCustomersCustomerBankAccountsIdResponseBody200Type'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerBankAccountsId.PostCustomersCustomerBankAccountsIdResponseBody200Type'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerBankAccountsId.PostCustomersCustomerBankAccountsIdResponseBody200Recipient'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerBankAccountsId.PostCustomersCustomerBankAccountsIdResponseBody200Recipient'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerBankAccountsId.PostCustomersCustomerBankAccountsIdResponseBody200Owner'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerBankAccountsId.PostCustomersCustomerBankAccountsIdResponseBody200Owner'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerBankAccountsId.PostCustomersCustomerBankAccountsIdResponseBody200Owner'VerifiedAddress'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerBankAccountsId.PostCustomersCustomerBankAccountsIdResponseBody200Owner'VerifiedAddress'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerBankAccountsId.PostCustomersCustomerBankAccountsIdResponseBody200Owner'Address'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerBankAccountsId.PostCustomersCustomerBankAccountsIdResponseBody200Owner'Address'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerBankAccountsId.PostCustomersCustomerBankAccountsIdResponseBody200Object'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerBankAccountsId.PostCustomersCustomerBankAccountsIdResponseBody200Object'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerBankAccountsId.PostCustomersCustomerBankAccountsIdResponseBody200Customer'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerBankAccountsId.PostCustomersCustomerBankAccountsIdResponseBody200Customer'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerBankAccountsId.PostCustomersCustomerBankAccountsIdResponseBody200AvailablePayoutMethods'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerBankAccountsId.PostCustomersCustomerBankAccountsIdResponseBody200AvailablePayoutMethods'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerBankAccountsId.PostCustomersCustomerBankAccountsIdResponseBody200Account'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerBankAccountsId.PostCustomersCustomerBankAccountsIdResponseBody200Account'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerBankAccountsId.PostCustomersCustomerBankAccountsIdRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerBankAccountsId.PostCustomersCustomerBankAccountsIdRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerBankAccountsId.PostCustomersCustomerBankAccountsIdRequestBodyOwner'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerBankAccountsId.PostCustomersCustomerBankAccountsIdRequestBodyOwner'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerBankAccountsId.PostCustomersCustomerBankAccountsIdRequestBodyOwner'Address'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerBankAccountsId.PostCustomersCustomerBankAccountsIdRequestBodyOwner'Address'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerBankAccountsId.PostCustomersCustomerBankAccountsIdRequestBodyMetadata'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerBankAccountsId.PostCustomersCustomerBankAccountsIdRequestBodyMetadata'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerBankAccountsId.PostCustomersCustomerBankAccountsIdRequestBodyAccountHolderType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerBankAccountsId.PostCustomersCustomerBankAccountsIdRequestBodyAccountHolderType'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerBankAccountsId.PostCustomersCustomerBankAccountsIdParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerBankAccountsId.PostCustomersCustomerBankAccountsIdParameters
-- | Contains the different functions to run the operation
-- postCustomersCustomerBankAccounts
module StripeAPI.Operations.PostCustomersCustomerBankAccounts
-- |
-- POST /v1/customers/{customer}/bank_accounts
--
--
-- <p>When you create a new credit card, you must specify a
-- customer or recipient on which to create it.</p>
--
-- <p>If the card’s owner has no default card, then the new card
-- will become the default. However, if the owner already has a default,
-- then it will not change. To change the default, you should <a
-- href="/docs/api#update_customer">update the customer</a> to
-- have a new <code>default_source</code>.</p>
postCustomersCustomerBankAccounts :: forall m. MonadHTTP m => Text -> Maybe PostCustomersCustomerBankAccountsRequestBody -> ClientT m (Response PostCustomersCustomerBankAccountsResponse)
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/bank_accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostCustomersCustomerBankAccountsRequestBody
PostCustomersCustomerBankAccountsRequestBody :: Maybe Text -> Maybe PostCustomersCustomerBankAccountsRequestBodyBankAccount'Variants -> Maybe PostCustomersCustomerBankAccountsRequestBodyCard'Variants -> Maybe [Text] -> Maybe Object -> Maybe Text -> PostCustomersCustomerBankAccountsRequestBody
-- | alipay_account: A token returned by Stripe.js representing the
-- user’s Alipay account details.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerBankAccountsRequestBodyAlipayAccount] :: PostCustomersCustomerBankAccountsRequestBody -> Maybe Text
-- | bank_account: Either a token, like the ones returned by
-- Stripe.js, or a dictionary containing a user's bank account
-- details.
[postCustomersCustomerBankAccountsRequestBodyBankAccount] :: PostCustomersCustomerBankAccountsRequestBody -> Maybe PostCustomersCustomerBankAccountsRequestBodyBankAccount'Variants
-- | card: A token, like the ones returned by Stripe.js.
[postCustomersCustomerBankAccountsRequestBodyCard] :: PostCustomersCustomerBankAccountsRequestBody -> Maybe PostCustomersCustomerBankAccountsRequestBodyCard'Variants
-- | expand: Specifies which fields in the response should be expanded.
[postCustomersCustomerBankAccountsRequestBodyExpand] :: PostCustomersCustomerBankAccountsRequestBody -> Maybe [Text]
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postCustomersCustomerBankAccountsRequestBodyMetadata] :: PostCustomersCustomerBankAccountsRequestBody -> Maybe Object
-- | source: Please refer to full documentation instead.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerBankAccountsRequestBodySource] :: PostCustomersCustomerBankAccountsRequestBody -> Maybe Text
-- | Create a new PostCustomersCustomerBankAccountsRequestBody with
-- all required fields.
mkPostCustomersCustomerBankAccountsRequestBody :: PostCustomersCustomerBankAccountsRequestBody
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/bank_accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.bank_account.anyOf
-- in the specification.
data PostCustomersCustomerBankAccountsRequestBodyBankAccount'OneOf1
PostCustomersCustomerBankAccountsRequestBodyBankAccount'OneOf1 :: Maybe Text -> Maybe PostCustomersCustomerBankAccountsRequestBodyBankAccount'OneOf1AccountHolderType' -> Text -> Text -> Maybe Text -> Maybe PostCustomersCustomerBankAccountsRequestBodyBankAccount'OneOf1Object' -> Maybe Text -> PostCustomersCustomerBankAccountsRequestBodyBankAccount'OneOf1
-- | account_holder_name
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerBankAccountsRequestBodyBankAccount'OneOf1AccountHolderName] :: PostCustomersCustomerBankAccountsRequestBodyBankAccount'OneOf1 -> Maybe Text
-- | account_holder_type
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerBankAccountsRequestBodyBankAccount'OneOf1AccountHolderType] :: PostCustomersCustomerBankAccountsRequestBodyBankAccount'OneOf1 -> Maybe PostCustomersCustomerBankAccountsRequestBodyBankAccount'OneOf1AccountHolderType'
-- | account_number
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerBankAccountsRequestBodyBankAccount'OneOf1AccountNumber] :: PostCustomersCustomerBankAccountsRequestBodyBankAccount'OneOf1 -> Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerBankAccountsRequestBodyBankAccount'OneOf1Country] :: PostCustomersCustomerBankAccountsRequestBodyBankAccount'OneOf1 -> Text
-- | currency
[postCustomersCustomerBankAccountsRequestBodyBankAccount'OneOf1Currency] :: PostCustomersCustomerBankAccountsRequestBodyBankAccount'OneOf1 -> Maybe Text
-- | object
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerBankAccountsRequestBodyBankAccount'OneOf1Object] :: PostCustomersCustomerBankAccountsRequestBodyBankAccount'OneOf1 -> Maybe PostCustomersCustomerBankAccountsRequestBodyBankAccount'OneOf1Object'
-- | routing_number
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerBankAccountsRequestBodyBankAccount'OneOf1RoutingNumber] :: PostCustomersCustomerBankAccountsRequestBodyBankAccount'OneOf1 -> Maybe Text
-- | Create a new
-- PostCustomersCustomerBankAccountsRequestBodyBankAccount'OneOf1
-- with all required fields.
mkPostCustomersCustomerBankAccountsRequestBodyBankAccount'OneOf1 :: Text -> Text -> PostCustomersCustomerBankAccountsRequestBodyBankAccount'OneOf1
-- | Defines the enum schema located at
-- paths./v1/customers/{customer}/bank_accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.bank_account.anyOf.properties.account_holder_type
-- in the specification.
data PostCustomersCustomerBankAccountsRequestBodyBankAccount'OneOf1AccountHolderType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostCustomersCustomerBankAccountsRequestBodyBankAccount'OneOf1AccountHolderType'Other :: Value -> PostCustomersCustomerBankAccountsRequestBodyBankAccount'OneOf1AccountHolderType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostCustomersCustomerBankAccountsRequestBodyBankAccount'OneOf1AccountHolderType'Typed :: Text -> PostCustomersCustomerBankAccountsRequestBodyBankAccount'OneOf1AccountHolderType'
-- | Represents the JSON value "company"
PostCustomersCustomerBankAccountsRequestBodyBankAccount'OneOf1AccountHolderType'EnumCompany :: PostCustomersCustomerBankAccountsRequestBodyBankAccount'OneOf1AccountHolderType'
-- | Represents the JSON value "individual"
PostCustomersCustomerBankAccountsRequestBodyBankAccount'OneOf1AccountHolderType'EnumIndividual :: PostCustomersCustomerBankAccountsRequestBodyBankAccount'OneOf1AccountHolderType'
-- | Defines the enum schema located at
-- paths./v1/customers/{customer}/bank_accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.bank_account.anyOf.properties.object
-- in the specification.
data PostCustomersCustomerBankAccountsRequestBodyBankAccount'OneOf1Object'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostCustomersCustomerBankAccountsRequestBodyBankAccount'OneOf1Object'Other :: Value -> PostCustomersCustomerBankAccountsRequestBodyBankAccount'OneOf1Object'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostCustomersCustomerBankAccountsRequestBodyBankAccount'OneOf1Object'Typed :: Text -> PostCustomersCustomerBankAccountsRequestBodyBankAccount'OneOf1Object'
-- | Represents the JSON value "bank_account"
PostCustomersCustomerBankAccountsRequestBodyBankAccount'OneOf1Object'EnumBankAccount :: PostCustomersCustomerBankAccountsRequestBodyBankAccount'OneOf1Object'
-- | Defines the oneOf schema located at
-- paths./v1/customers/{customer}/bank_accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.bank_account.anyOf
-- in the specification.
--
-- Either a token, like the ones returned by Stripe.js, or a
-- dictionary containing a user's bank account details.
data PostCustomersCustomerBankAccountsRequestBodyBankAccount'Variants
PostCustomersCustomerBankAccountsRequestBodyBankAccount'PostCustomersCustomerBankAccountsRequestBodyBankAccount'OneOf1 :: PostCustomersCustomerBankAccountsRequestBodyBankAccount'OneOf1 -> PostCustomersCustomerBankAccountsRequestBodyBankAccount'Variants
PostCustomersCustomerBankAccountsRequestBodyBankAccount'Text :: Text -> PostCustomersCustomerBankAccountsRequestBodyBankAccount'Variants
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/bank_accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.card.anyOf
-- in the specification.
data PostCustomersCustomerBankAccountsRequestBodyCard'OneOf1
PostCustomersCustomerBankAccountsRequestBodyCard'OneOf1 :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Int -> Int -> Maybe Object -> Maybe Text -> Text -> Maybe PostCustomersCustomerBankAccountsRequestBodyCard'OneOf1Object' -> PostCustomersCustomerBankAccountsRequestBodyCard'OneOf1
-- | address_city
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerBankAccountsRequestBodyCard'OneOf1AddressCity] :: PostCustomersCustomerBankAccountsRequestBodyCard'OneOf1 -> Maybe Text
-- | address_country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerBankAccountsRequestBodyCard'OneOf1AddressCountry] :: PostCustomersCustomerBankAccountsRequestBodyCard'OneOf1 -> Maybe Text
-- | address_line1
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerBankAccountsRequestBodyCard'OneOf1AddressLine1] :: PostCustomersCustomerBankAccountsRequestBodyCard'OneOf1 -> Maybe Text
-- | address_line2
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerBankAccountsRequestBodyCard'OneOf1AddressLine2] :: PostCustomersCustomerBankAccountsRequestBodyCard'OneOf1 -> Maybe Text
-- | address_state
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerBankAccountsRequestBodyCard'OneOf1AddressState] :: PostCustomersCustomerBankAccountsRequestBodyCard'OneOf1 -> Maybe Text
-- | address_zip
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerBankAccountsRequestBodyCard'OneOf1AddressZip] :: PostCustomersCustomerBankAccountsRequestBodyCard'OneOf1 -> Maybe Text
-- | cvc
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerBankAccountsRequestBodyCard'OneOf1Cvc] :: PostCustomersCustomerBankAccountsRequestBodyCard'OneOf1 -> Maybe Text
-- | exp_month
[postCustomersCustomerBankAccountsRequestBodyCard'OneOf1ExpMonth] :: PostCustomersCustomerBankAccountsRequestBodyCard'OneOf1 -> Int
-- | exp_year
[postCustomersCustomerBankAccountsRequestBodyCard'OneOf1ExpYear] :: PostCustomersCustomerBankAccountsRequestBodyCard'OneOf1 -> Int
-- | metadata
[postCustomersCustomerBankAccountsRequestBodyCard'OneOf1Metadata] :: PostCustomersCustomerBankAccountsRequestBodyCard'OneOf1 -> Maybe Object
-- | name
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerBankAccountsRequestBodyCard'OneOf1Name] :: PostCustomersCustomerBankAccountsRequestBodyCard'OneOf1 -> Maybe Text
-- | number
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerBankAccountsRequestBodyCard'OneOf1Number] :: PostCustomersCustomerBankAccountsRequestBodyCard'OneOf1 -> Text
-- | object
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerBankAccountsRequestBodyCard'OneOf1Object] :: PostCustomersCustomerBankAccountsRequestBodyCard'OneOf1 -> Maybe PostCustomersCustomerBankAccountsRequestBodyCard'OneOf1Object'
-- | Create a new
-- PostCustomersCustomerBankAccountsRequestBodyCard'OneOf1 with
-- all required fields.
mkPostCustomersCustomerBankAccountsRequestBodyCard'OneOf1 :: Int -> Int -> Text -> PostCustomersCustomerBankAccountsRequestBodyCard'OneOf1
-- | Defines the enum schema located at
-- paths./v1/customers/{customer}/bank_accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.card.anyOf.properties.object
-- in the specification.
data PostCustomersCustomerBankAccountsRequestBodyCard'OneOf1Object'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostCustomersCustomerBankAccountsRequestBodyCard'OneOf1Object'Other :: Value -> PostCustomersCustomerBankAccountsRequestBodyCard'OneOf1Object'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostCustomersCustomerBankAccountsRequestBodyCard'OneOf1Object'Typed :: Text -> PostCustomersCustomerBankAccountsRequestBodyCard'OneOf1Object'
-- | Represents the JSON value "card"
PostCustomersCustomerBankAccountsRequestBodyCard'OneOf1Object'EnumCard :: PostCustomersCustomerBankAccountsRequestBodyCard'OneOf1Object'
-- | Defines the oneOf schema located at
-- paths./v1/customers/{customer}/bank_accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.card.anyOf
-- in the specification.
--
-- A token, like the ones returned by Stripe.js.
data PostCustomersCustomerBankAccountsRequestBodyCard'Variants
PostCustomersCustomerBankAccountsRequestBodyCard'PostCustomersCustomerBankAccountsRequestBodyCard'OneOf1 :: PostCustomersCustomerBankAccountsRequestBodyCard'OneOf1 -> PostCustomersCustomerBankAccountsRequestBodyCard'Variants
PostCustomersCustomerBankAccountsRequestBodyCard'Text :: Text -> PostCustomersCustomerBankAccountsRequestBodyCard'Variants
-- | Represents a response of the operation
-- postCustomersCustomerBankAccounts.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- PostCustomersCustomerBankAccountsResponseError is used.
data PostCustomersCustomerBankAccountsResponse
-- | Means either no matching case available or a parse error
PostCustomersCustomerBankAccountsResponseError :: String -> PostCustomersCustomerBankAccountsResponse
-- | Successful response.
PostCustomersCustomerBankAccountsResponse200 :: PaymentSource -> PostCustomersCustomerBankAccountsResponse
-- | Error response.
PostCustomersCustomerBankAccountsResponseDefault :: Error -> PostCustomersCustomerBankAccountsResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerBankAccounts.PostCustomersCustomerBankAccountsRequestBodyBankAccount'OneOf1AccountHolderType'
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerBankAccounts.PostCustomersCustomerBankAccountsRequestBodyBankAccount'OneOf1AccountHolderType'
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerBankAccounts.PostCustomersCustomerBankAccountsRequestBodyBankAccount'OneOf1Object'
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerBankAccounts.PostCustomersCustomerBankAccountsRequestBodyBankAccount'OneOf1Object'
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerBankAccounts.PostCustomersCustomerBankAccountsRequestBodyBankAccount'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerBankAccounts.PostCustomersCustomerBankAccountsRequestBodyBankAccount'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerBankAccounts.PostCustomersCustomerBankAccountsRequestBodyBankAccount'Variants
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerBankAccounts.PostCustomersCustomerBankAccountsRequestBodyBankAccount'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerBankAccounts.PostCustomersCustomerBankAccountsRequestBodyCard'OneOf1Object'
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerBankAccounts.PostCustomersCustomerBankAccountsRequestBodyCard'OneOf1Object'
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerBankAccounts.PostCustomersCustomerBankAccountsRequestBodyCard'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerBankAccounts.PostCustomersCustomerBankAccountsRequestBodyCard'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerBankAccounts.PostCustomersCustomerBankAccountsRequestBodyCard'Variants
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerBankAccounts.PostCustomersCustomerBankAccountsRequestBodyCard'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerBankAccounts.PostCustomersCustomerBankAccountsRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerBankAccounts.PostCustomersCustomerBankAccountsRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerBankAccounts.PostCustomersCustomerBankAccountsResponse
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerBankAccounts.PostCustomersCustomerBankAccountsResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerBankAccounts.PostCustomersCustomerBankAccountsRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerBankAccounts.PostCustomersCustomerBankAccountsRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerBankAccounts.PostCustomersCustomerBankAccountsRequestBodyCard'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerBankAccounts.PostCustomersCustomerBankAccountsRequestBodyCard'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerBankAccounts.PostCustomersCustomerBankAccountsRequestBodyCard'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerBankAccounts.PostCustomersCustomerBankAccountsRequestBodyCard'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerBankAccounts.PostCustomersCustomerBankAccountsRequestBodyCard'OneOf1Object'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerBankAccounts.PostCustomersCustomerBankAccountsRequestBodyCard'OneOf1Object'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerBankAccounts.PostCustomersCustomerBankAccountsRequestBodyBankAccount'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerBankAccounts.PostCustomersCustomerBankAccountsRequestBodyBankAccount'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerBankAccounts.PostCustomersCustomerBankAccountsRequestBodyBankAccount'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerBankAccounts.PostCustomersCustomerBankAccountsRequestBodyBankAccount'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerBankAccounts.PostCustomersCustomerBankAccountsRequestBodyBankAccount'OneOf1Object'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerBankAccounts.PostCustomersCustomerBankAccountsRequestBodyBankAccount'OneOf1Object'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerBankAccounts.PostCustomersCustomerBankAccountsRequestBodyBankAccount'OneOf1AccountHolderType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerBankAccounts.PostCustomersCustomerBankAccountsRequestBodyBankAccount'OneOf1AccountHolderType'
-- | Contains the different functions to run the operation
-- postCustomersCustomerBalanceTransactionsTransaction
module StripeAPI.Operations.PostCustomersCustomerBalanceTransactionsTransaction
-- |
-- POST /v1/customers/{customer}/balance_transactions/{transaction}
--
--
-- <p>Most credit balance transaction fields are immutable, but you
-- may update its <code>description</code> and
-- <code>metadata</code>.</p>
postCustomersCustomerBalanceTransactionsTransaction :: forall m. MonadHTTP m => PostCustomersCustomerBalanceTransactionsTransactionParameters -> Maybe PostCustomersCustomerBalanceTransactionsTransactionRequestBody -> ClientT m (Response PostCustomersCustomerBalanceTransactionsTransactionResponse)
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/balance_transactions/{transaction}.POST.parameters
-- in the specification.
data PostCustomersCustomerBalanceTransactionsTransactionParameters
PostCustomersCustomerBalanceTransactionsTransactionParameters :: Text -> Text -> PostCustomersCustomerBalanceTransactionsTransactionParameters
-- | pathCustomer: Represents the parameter named 'customer'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerBalanceTransactionsTransactionParametersPathCustomer] :: PostCustomersCustomerBalanceTransactionsTransactionParameters -> Text
-- | pathTransaction: Represents the parameter named 'transaction'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerBalanceTransactionsTransactionParametersPathTransaction] :: PostCustomersCustomerBalanceTransactionsTransactionParameters -> Text
-- | Create a new
-- PostCustomersCustomerBalanceTransactionsTransactionParameters
-- with all required fields.
mkPostCustomersCustomerBalanceTransactionsTransactionParameters :: Text -> Text -> PostCustomersCustomerBalanceTransactionsTransactionParameters
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/balance_transactions/{transaction}.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostCustomersCustomerBalanceTransactionsTransactionRequestBody
PostCustomersCustomerBalanceTransactionsTransactionRequestBody :: Maybe Text -> Maybe [Text] -> Maybe PostCustomersCustomerBalanceTransactionsTransactionRequestBodyMetadata'Variants -> PostCustomersCustomerBalanceTransactionsTransactionRequestBody
-- | description: An arbitrary string attached to the object. Often useful
-- for displaying to users.
--
-- Constraints:
--
--
-- - Maximum length of 350
--
[postCustomersCustomerBalanceTransactionsTransactionRequestBodyDescription] :: PostCustomersCustomerBalanceTransactionsTransactionRequestBody -> Maybe Text
-- | expand: Specifies which fields in the response should be expanded.
[postCustomersCustomerBalanceTransactionsTransactionRequestBodyExpand] :: PostCustomersCustomerBalanceTransactionsTransactionRequestBody -> Maybe [Text]
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postCustomersCustomerBalanceTransactionsTransactionRequestBodyMetadata] :: PostCustomersCustomerBalanceTransactionsTransactionRequestBody -> Maybe PostCustomersCustomerBalanceTransactionsTransactionRequestBodyMetadata'Variants
-- | Create a new
-- PostCustomersCustomerBalanceTransactionsTransactionRequestBody
-- with all required fields.
mkPostCustomersCustomerBalanceTransactionsTransactionRequestBody :: PostCustomersCustomerBalanceTransactionsTransactionRequestBody
-- | Defines the oneOf schema located at
-- paths./v1/customers/{customer}/balance_transactions/{transaction}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.metadata.anyOf
-- in the specification.
--
-- Set of key-value pairs that you can attach to an object. This
-- can be useful for storing additional information about the object in a
-- structured format. Individual keys can be unset by posting an empty
-- value to them. All keys can be unset by posting an empty value to
-- `metadata`.
data PostCustomersCustomerBalanceTransactionsTransactionRequestBodyMetadata'Variants
-- | Represents the JSON value ""
PostCustomersCustomerBalanceTransactionsTransactionRequestBodyMetadata'EmptyString :: PostCustomersCustomerBalanceTransactionsTransactionRequestBodyMetadata'Variants
PostCustomersCustomerBalanceTransactionsTransactionRequestBodyMetadata'Object :: Object -> PostCustomersCustomerBalanceTransactionsTransactionRequestBodyMetadata'Variants
-- | Represents a response of the operation
-- postCustomersCustomerBalanceTransactionsTransaction.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- PostCustomersCustomerBalanceTransactionsTransactionResponseError
-- is used.
data PostCustomersCustomerBalanceTransactionsTransactionResponse
-- | Means either no matching case available or a parse error
PostCustomersCustomerBalanceTransactionsTransactionResponseError :: String -> PostCustomersCustomerBalanceTransactionsTransactionResponse
-- | Successful response.
PostCustomersCustomerBalanceTransactionsTransactionResponse200 :: CustomerBalanceTransaction -> PostCustomersCustomerBalanceTransactionsTransactionResponse
-- | Error response.
PostCustomersCustomerBalanceTransactionsTransactionResponseDefault :: Error -> PostCustomersCustomerBalanceTransactionsTransactionResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerBalanceTransactionsTransaction.PostCustomersCustomerBalanceTransactionsTransactionParameters
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerBalanceTransactionsTransaction.PostCustomersCustomerBalanceTransactionsTransactionParameters
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerBalanceTransactionsTransaction.PostCustomersCustomerBalanceTransactionsTransactionRequestBodyMetadata'Variants
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerBalanceTransactionsTransaction.PostCustomersCustomerBalanceTransactionsTransactionRequestBodyMetadata'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerBalanceTransactionsTransaction.PostCustomersCustomerBalanceTransactionsTransactionRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerBalanceTransactionsTransaction.PostCustomersCustomerBalanceTransactionsTransactionRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerBalanceTransactionsTransaction.PostCustomersCustomerBalanceTransactionsTransactionResponse
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerBalanceTransactionsTransaction.PostCustomersCustomerBalanceTransactionsTransactionResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerBalanceTransactionsTransaction.PostCustomersCustomerBalanceTransactionsTransactionRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerBalanceTransactionsTransaction.PostCustomersCustomerBalanceTransactionsTransactionRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerBalanceTransactionsTransaction.PostCustomersCustomerBalanceTransactionsTransactionRequestBodyMetadata'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerBalanceTransactionsTransaction.PostCustomersCustomerBalanceTransactionsTransactionRequestBodyMetadata'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerBalanceTransactionsTransaction.PostCustomersCustomerBalanceTransactionsTransactionParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerBalanceTransactionsTransaction.PostCustomersCustomerBalanceTransactionsTransactionParameters
-- | Contains the different functions to run the operation
-- postCustomersCustomerBalanceTransactions
module StripeAPI.Operations.PostCustomersCustomerBalanceTransactions
-- |
-- POST /v1/customers/{customer}/balance_transactions
--
--
-- <p>Creates an immutable transaction that updates the customer’s
-- credit <a
-- href="/docs/billing/customer/balance">balance</a>.</p>
postCustomersCustomerBalanceTransactions :: forall m. MonadHTTP m => Text -> PostCustomersCustomerBalanceTransactionsRequestBody -> ClientT m (Response PostCustomersCustomerBalanceTransactionsResponse)
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/balance_transactions.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostCustomersCustomerBalanceTransactionsRequestBody
PostCustomersCustomerBalanceTransactionsRequestBody :: Int -> Text -> Maybe Text -> Maybe [Text] -> Maybe PostCustomersCustomerBalanceTransactionsRequestBodyMetadata'Variants -> PostCustomersCustomerBalanceTransactionsRequestBody
-- | amount: The integer amount in **%s** to apply to the customer's credit
-- balance.
[postCustomersCustomerBalanceTransactionsRequestBodyAmount] :: PostCustomersCustomerBalanceTransactionsRequestBody -> Int
-- | currency: Three-letter ISO currency code, in lowercase. Must be
-- a supported currency. If the customer's `currency` is
-- set, this value must match it. If the customer's `currency` is not
-- set, it will be updated to this value.
[postCustomersCustomerBalanceTransactionsRequestBodyCurrency] :: PostCustomersCustomerBalanceTransactionsRequestBody -> Text
-- | description: An arbitrary string attached to the object. Often useful
-- for displaying to users.
--
-- Constraints:
--
--
-- - Maximum length of 350
--
[postCustomersCustomerBalanceTransactionsRequestBodyDescription] :: PostCustomersCustomerBalanceTransactionsRequestBody -> Maybe Text
-- | expand: Specifies which fields in the response should be expanded.
[postCustomersCustomerBalanceTransactionsRequestBodyExpand] :: PostCustomersCustomerBalanceTransactionsRequestBody -> Maybe [Text]
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postCustomersCustomerBalanceTransactionsRequestBodyMetadata] :: PostCustomersCustomerBalanceTransactionsRequestBody -> Maybe PostCustomersCustomerBalanceTransactionsRequestBodyMetadata'Variants
-- | Create a new
-- PostCustomersCustomerBalanceTransactionsRequestBody with all
-- required fields.
mkPostCustomersCustomerBalanceTransactionsRequestBody :: Int -> Text -> PostCustomersCustomerBalanceTransactionsRequestBody
-- | Defines the oneOf schema located at
-- paths./v1/customers/{customer}/balance_transactions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.metadata.anyOf
-- in the specification.
--
-- Set of key-value pairs that you can attach to an object. This
-- can be useful for storing additional information about the object in a
-- structured format. Individual keys can be unset by posting an empty
-- value to them. All keys can be unset by posting an empty value to
-- `metadata`.
data PostCustomersCustomerBalanceTransactionsRequestBodyMetadata'Variants
-- | Represents the JSON value ""
PostCustomersCustomerBalanceTransactionsRequestBodyMetadata'EmptyString :: PostCustomersCustomerBalanceTransactionsRequestBodyMetadata'Variants
PostCustomersCustomerBalanceTransactionsRequestBodyMetadata'Object :: Object -> PostCustomersCustomerBalanceTransactionsRequestBodyMetadata'Variants
-- | Represents a response of the operation
-- postCustomersCustomerBalanceTransactions.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- PostCustomersCustomerBalanceTransactionsResponseError is used.
data PostCustomersCustomerBalanceTransactionsResponse
-- | Means either no matching case available or a parse error
PostCustomersCustomerBalanceTransactionsResponseError :: String -> PostCustomersCustomerBalanceTransactionsResponse
-- | Successful response.
PostCustomersCustomerBalanceTransactionsResponse200 :: CustomerBalanceTransaction -> PostCustomersCustomerBalanceTransactionsResponse
-- | Error response.
PostCustomersCustomerBalanceTransactionsResponseDefault :: Error -> PostCustomersCustomerBalanceTransactionsResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerBalanceTransactions.PostCustomersCustomerBalanceTransactionsRequestBodyMetadata'Variants
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerBalanceTransactions.PostCustomersCustomerBalanceTransactionsRequestBodyMetadata'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerBalanceTransactions.PostCustomersCustomerBalanceTransactionsRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerBalanceTransactions.PostCustomersCustomerBalanceTransactionsRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomerBalanceTransactions.PostCustomersCustomerBalanceTransactionsResponse
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomerBalanceTransactions.PostCustomersCustomerBalanceTransactionsResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerBalanceTransactions.PostCustomersCustomerBalanceTransactionsRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerBalanceTransactions.PostCustomersCustomerBalanceTransactionsRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomerBalanceTransactions.PostCustomersCustomerBalanceTransactionsRequestBodyMetadata'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomerBalanceTransactions.PostCustomersCustomerBalanceTransactionsRequestBodyMetadata'Variants
-- | Contains the different functions to run the operation
-- postCustomersCustomer
module StripeAPI.Operations.PostCustomersCustomer
-- |
-- POST /v1/customers/{customer}
--
--
-- <p>Updates the specified customer by setting the values of the
-- parameters passed. Any parameters not provided will be left unchanged.
-- For example, if you pass the <strong>source</strong>
-- parameter, that becomes the customer’s active source (e.g., a card) to
-- be used for all charges in the future. When you update a customer to a
-- new valid card source by passing the
-- <strong>source</strong> parameter: for each of the
-- customer’s current subscriptions, if the subscription bills
-- automatically and is in the <code>past_due</code> state,
-- then the latest open invoice for the subscription with automatic
-- collection enabled will be retried. This retry will not count as an
-- automatic retry, and will not affect the next regularly scheduled
-- payment for the invoice. Changing the
-- <strong>default_source</strong> for a customer will not
-- trigger this behavior.</p>
--
-- <p>This request accepts mostly the same arguments as the
-- customer creation call.</p>
postCustomersCustomer :: forall m. MonadHTTP m => Text -> Maybe PostCustomersCustomerRequestBody -> ClientT m (Response PostCustomersCustomerResponse)
-- | Defines the object schema located at
-- paths./v1/customers/{customer}.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostCustomersCustomerRequestBody
PostCustomersCustomerRequestBody :: Maybe PostCustomersCustomerRequestBodyAddress'Variants -> Maybe Int -> Maybe PostCustomersCustomerRequestBodyBankAccount'Variants -> Maybe PostCustomersCustomerRequestBodyCard'Variants -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe [Text] -> Maybe Text -> Maybe PostCustomersCustomerRequestBodyInvoiceSettings' -> Maybe PostCustomersCustomerRequestBodyMetadata'Variants -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe [Text] -> Maybe Text -> Maybe PostCustomersCustomerRequestBodyShipping'Variants -> Maybe Text -> Maybe PostCustomersCustomerRequestBodyTax' -> Maybe PostCustomersCustomerRequestBodyTaxExempt' -> Maybe PostCustomersCustomerRequestBodyTrialEnd'Variants -> PostCustomersCustomerRequestBody
-- | address: The customer's address.
[postCustomersCustomerRequestBodyAddress] :: PostCustomersCustomerRequestBody -> Maybe PostCustomersCustomerRequestBodyAddress'Variants
-- | balance: An integer amount in %s that represents the customer's
-- current balance, which affect the customer's future invoices. A
-- negative amount represents a credit that decreases the amount due on
-- an invoice; a positive amount increases the amount due on an invoice.
[postCustomersCustomerRequestBodyBalance] :: PostCustomersCustomerRequestBody -> Maybe Int
-- | bank_account: Either a token, like the ones returned by
-- Stripe.js, or a dictionary containing a user's bank account
-- details.
[postCustomersCustomerRequestBodyBankAccount] :: PostCustomersCustomerRequestBody -> Maybe PostCustomersCustomerRequestBodyBankAccount'Variants
-- | card: A token, like the ones returned by Stripe.js.
[postCustomersCustomerRequestBodyCard] :: PostCustomersCustomerRequestBody -> Maybe PostCustomersCustomerRequestBodyCard'Variants
-- | coupon
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerRequestBodyCoupon] :: PostCustomersCustomerRequestBody -> Maybe Text
-- | default_alipay_account: ID of Alipay account to make the customer's
-- new default for invoice payments.
--
-- Constraints:
--
--
-- - Maximum length of 500
--
[postCustomersCustomerRequestBodyDefaultAlipayAccount] :: PostCustomersCustomerRequestBody -> Maybe Text
-- | default_bank_account: ID of bank account to make the customer's new
-- default for invoice payments.
--
-- Constraints:
--
--
-- - Maximum length of 500
--
[postCustomersCustomerRequestBodyDefaultBankAccount] :: PostCustomersCustomerRequestBody -> Maybe Text
-- | default_card: ID of card to make the customer's new default for
-- invoice payments.
--
-- Constraints:
--
--
-- - Maximum length of 500
--
[postCustomersCustomerRequestBodyDefaultCard] :: PostCustomersCustomerRequestBody -> Maybe Text
-- | default_source: If you are using payment methods created via the
-- PaymentMethods API, see the
-- invoice_settings.default_payment_method parameter.
--
-- Provide the ID of a payment source already attached to this customer
-- to make it this customer's default payment source.
--
-- If you want to add a new payment source and make it the default, see
-- the source property.
--
-- Constraints:
--
--
-- - Maximum length of 500
--
[postCustomersCustomerRequestBodyDefaultSource] :: PostCustomersCustomerRequestBody -> Maybe Text
-- | description: An arbitrary string that you can attach to a customer
-- object. It is displayed alongside the customer in the dashboard.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerRequestBodyDescription] :: PostCustomersCustomerRequestBody -> Maybe Text
-- | email: Customer's email address. It's displayed alongside the customer
-- in your dashboard and can be useful for searching and tracking. This
-- may be up to *512 characters*.
--
-- Constraints:
--
--
-- - Maximum length of 512
--
[postCustomersCustomerRequestBodyEmail] :: PostCustomersCustomerRequestBody -> Maybe Text
-- | expand: Specifies which fields in the response should be expanded.
[postCustomersCustomerRequestBodyExpand] :: PostCustomersCustomerRequestBody -> Maybe [Text]
-- | invoice_prefix: The prefix for the customer used to generate unique
-- invoice numbers. Must be 3–12 uppercase letters or numbers.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerRequestBodyInvoicePrefix] :: PostCustomersCustomerRequestBody -> Maybe Text
-- | invoice_settings: Default invoice settings for this customer.
[postCustomersCustomerRequestBodyInvoiceSettings] :: PostCustomersCustomerRequestBody -> Maybe PostCustomersCustomerRequestBodyInvoiceSettings'
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postCustomersCustomerRequestBodyMetadata] :: PostCustomersCustomerRequestBody -> Maybe PostCustomersCustomerRequestBodyMetadata'Variants
-- | name: The customer's full name or business name.
--
-- Constraints:
--
--
-- - Maximum length of 256
--
[postCustomersCustomerRequestBodyName] :: PostCustomersCustomerRequestBody -> Maybe Text
-- | next_invoice_sequence: The sequence to be used on the customer's next
-- invoice. Defaults to 1.
[postCustomersCustomerRequestBodyNextInvoiceSequence] :: PostCustomersCustomerRequestBody -> Maybe Int
-- | phone: The customer's phone number.
--
-- Constraints:
--
--
-- - Maximum length of 20
--
[postCustomersCustomerRequestBodyPhone] :: PostCustomersCustomerRequestBody -> Maybe Text
-- | preferred_locales: Customer's preferred languages, ordered by
-- preference.
[postCustomersCustomerRequestBodyPreferredLocales] :: PostCustomersCustomerRequestBody -> Maybe [Text]
-- | promotion_code: The API ID of a promotion code to apply to the
-- customer. The customer will have a discount applied on all recurring
-- payments. Charges you create through the API will not have the
-- discount.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerRequestBodyPromotionCode] :: PostCustomersCustomerRequestBody -> Maybe Text
-- | shipping: The customer's shipping information. Appears on invoices
-- emailed to this customer.
[postCustomersCustomerRequestBodyShipping] :: PostCustomersCustomerRequestBody -> Maybe PostCustomersCustomerRequestBodyShipping'Variants
-- | source
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerRequestBodySource] :: PostCustomersCustomerRequestBody -> Maybe Text
-- | tax: Tax details about the customer.
[postCustomersCustomerRequestBodyTax] :: PostCustomersCustomerRequestBody -> Maybe PostCustomersCustomerRequestBodyTax'
-- | tax_exempt: The customer's tax exemption. One of `none`, `exempt`, or
-- `reverse`.
[postCustomersCustomerRequestBodyTaxExempt] :: PostCustomersCustomerRequestBody -> Maybe PostCustomersCustomerRequestBodyTaxExempt'
-- | trial_end: Unix timestamp representing the end of the trial period the
-- customer will get before being charged for the first time. This will
-- always overwrite any trials that might apply via a subscribed plan. If
-- set, trial_end will override the default trial period of the plan the
-- customer is being subscribed to. The special value `now` can be
-- provided to end the customer's trial immediately. Can be at most two
-- years from `billing_cycle_anchor`.
[postCustomersCustomerRequestBodyTrialEnd] :: PostCustomersCustomerRequestBody -> Maybe PostCustomersCustomerRequestBodyTrialEnd'Variants
-- | Create a new PostCustomersCustomerRequestBody with all required
-- fields.
mkPostCustomersCustomerRequestBody :: PostCustomersCustomerRequestBody
-- | Defines the object schema located at
-- paths./v1/customers/{customer}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.address.anyOf
-- in the specification.
data PostCustomersCustomerRequestBodyAddress'OneOf1
PostCustomersCustomerRequestBodyAddress'OneOf1 :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PostCustomersCustomerRequestBodyAddress'OneOf1
-- | city
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerRequestBodyAddress'OneOf1City] :: PostCustomersCustomerRequestBodyAddress'OneOf1 -> Maybe Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerRequestBodyAddress'OneOf1Country] :: PostCustomersCustomerRequestBodyAddress'OneOf1 -> Maybe Text
-- | line1
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerRequestBodyAddress'OneOf1Line1] :: PostCustomersCustomerRequestBodyAddress'OneOf1 -> Maybe Text
-- | line2
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerRequestBodyAddress'OneOf1Line2] :: PostCustomersCustomerRequestBodyAddress'OneOf1 -> Maybe Text
-- | postal_code
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerRequestBodyAddress'OneOf1PostalCode] :: PostCustomersCustomerRequestBodyAddress'OneOf1 -> Maybe Text
-- | state
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerRequestBodyAddress'OneOf1State] :: PostCustomersCustomerRequestBodyAddress'OneOf1 -> Maybe Text
-- | Create a new PostCustomersCustomerRequestBodyAddress'OneOf1
-- with all required fields.
mkPostCustomersCustomerRequestBodyAddress'OneOf1 :: PostCustomersCustomerRequestBodyAddress'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/customers/{customer}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.address.anyOf
-- in the specification.
--
-- The customer's address.
data PostCustomersCustomerRequestBodyAddress'Variants
-- | Represents the JSON value ""
PostCustomersCustomerRequestBodyAddress'EmptyString :: PostCustomersCustomerRequestBodyAddress'Variants
PostCustomersCustomerRequestBodyAddress'PostCustomersCustomerRequestBodyAddress'OneOf1 :: PostCustomersCustomerRequestBodyAddress'OneOf1 -> PostCustomersCustomerRequestBodyAddress'Variants
-- | Defines the object schema located at
-- paths./v1/customers/{customer}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.bank_account.anyOf
-- in the specification.
data PostCustomersCustomerRequestBodyBankAccount'OneOf1
PostCustomersCustomerRequestBodyBankAccount'OneOf1 :: Maybe Text -> Maybe PostCustomersCustomerRequestBodyBankAccount'OneOf1AccountHolderType' -> Text -> Text -> Maybe Text -> Maybe PostCustomersCustomerRequestBodyBankAccount'OneOf1Object' -> Maybe Text -> PostCustomersCustomerRequestBodyBankAccount'OneOf1
-- | account_holder_name
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerRequestBodyBankAccount'OneOf1AccountHolderName] :: PostCustomersCustomerRequestBodyBankAccount'OneOf1 -> Maybe Text
-- | account_holder_type
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerRequestBodyBankAccount'OneOf1AccountHolderType] :: PostCustomersCustomerRequestBodyBankAccount'OneOf1 -> Maybe PostCustomersCustomerRequestBodyBankAccount'OneOf1AccountHolderType'
-- | account_number
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerRequestBodyBankAccount'OneOf1AccountNumber] :: PostCustomersCustomerRequestBodyBankAccount'OneOf1 -> Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerRequestBodyBankAccount'OneOf1Country] :: PostCustomersCustomerRequestBodyBankAccount'OneOf1 -> Text
-- | currency
[postCustomersCustomerRequestBodyBankAccount'OneOf1Currency] :: PostCustomersCustomerRequestBodyBankAccount'OneOf1 -> Maybe Text
-- | object
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerRequestBodyBankAccount'OneOf1Object] :: PostCustomersCustomerRequestBodyBankAccount'OneOf1 -> Maybe PostCustomersCustomerRequestBodyBankAccount'OneOf1Object'
-- | routing_number
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerRequestBodyBankAccount'OneOf1RoutingNumber] :: PostCustomersCustomerRequestBodyBankAccount'OneOf1 -> Maybe Text
-- | Create a new PostCustomersCustomerRequestBodyBankAccount'OneOf1
-- with all required fields.
mkPostCustomersCustomerRequestBodyBankAccount'OneOf1 :: Text -> Text -> PostCustomersCustomerRequestBodyBankAccount'OneOf1
-- | Defines the enum schema located at
-- paths./v1/customers/{customer}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.bank_account.anyOf.properties.account_holder_type
-- in the specification.
data PostCustomersCustomerRequestBodyBankAccount'OneOf1AccountHolderType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostCustomersCustomerRequestBodyBankAccount'OneOf1AccountHolderType'Other :: Value -> PostCustomersCustomerRequestBodyBankAccount'OneOf1AccountHolderType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostCustomersCustomerRequestBodyBankAccount'OneOf1AccountHolderType'Typed :: Text -> PostCustomersCustomerRequestBodyBankAccount'OneOf1AccountHolderType'
-- | Represents the JSON value "company"
PostCustomersCustomerRequestBodyBankAccount'OneOf1AccountHolderType'EnumCompany :: PostCustomersCustomerRequestBodyBankAccount'OneOf1AccountHolderType'
-- | Represents the JSON value "individual"
PostCustomersCustomerRequestBodyBankAccount'OneOf1AccountHolderType'EnumIndividual :: PostCustomersCustomerRequestBodyBankAccount'OneOf1AccountHolderType'
-- | Defines the enum schema located at
-- paths./v1/customers/{customer}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.bank_account.anyOf.properties.object
-- in the specification.
data PostCustomersCustomerRequestBodyBankAccount'OneOf1Object'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostCustomersCustomerRequestBodyBankAccount'OneOf1Object'Other :: Value -> PostCustomersCustomerRequestBodyBankAccount'OneOf1Object'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostCustomersCustomerRequestBodyBankAccount'OneOf1Object'Typed :: Text -> PostCustomersCustomerRequestBodyBankAccount'OneOf1Object'
-- | Represents the JSON value "bank_account"
PostCustomersCustomerRequestBodyBankAccount'OneOf1Object'EnumBankAccount :: PostCustomersCustomerRequestBodyBankAccount'OneOf1Object'
-- | Defines the oneOf schema located at
-- paths./v1/customers/{customer}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.bank_account.anyOf
-- in the specification.
--
-- Either a token, like the ones returned by Stripe.js, or a
-- dictionary containing a user's bank account details.
data PostCustomersCustomerRequestBodyBankAccount'Variants
PostCustomersCustomerRequestBodyBankAccount'PostCustomersCustomerRequestBodyBankAccount'OneOf1 :: PostCustomersCustomerRequestBodyBankAccount'OneOf1 -> PostCustomersCustomerRequestBodyBankAccount'Variants
PostCustomersCustomerRequestBodyBankAccount'Text :: Text -> PostCustomersCustomerRequestBodyBankAccount'Variants
-- | Defines the object schema located at
-- paths./v1/customers/{customer}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.card.anyOf
-- in the specification.
data PostCustomersCustomerRequestBodyCard'OneOf1
PostCustomersCustomerRequestBodyCard'OneOf1 :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Int -> Int -> Maybe Object -> Maybe Text -> Text -> Maybe PostCustomersCustomerRequestBodyCard'OneOf1Object' -> PostCustomersCustomerRequestBodyCard'OneOf1
-- | address_city
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerRequestBodyCard'OneOf1AddressCity] :: PostCustomersCustomerRequestBodyCard'OneOf1 -> Maybe Text
-- | address_country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerRequestBodyCard'OneOf1AddressCountry] :: PostCustomersCustomerRequestBodyCard'OneOf1 -> Maybe Text
-- | address_line1
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerRequestBodyCard'OneOf1AddressLine1] :: PostCustomersCustomerRequestBodyCard'OneOf1 -> Maybe Text
-- | address_line2
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerRequestBodyCard'OneOf1AddressLine2] :: PostCustomersCustomerRequestBodyCard'OneOf1 -> Maybe Text
-- | address_state
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerRequestBodyCard'OneOf1AddressState] :: PostCustomersCustomerRequestBodyCard'OneOf1 -> Maybe Text
-- | address_zip
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerRequestBodyCard'OneOf1AddressZip] :: PostCustomersCustomerRequestBodyCard'OneOf1 -> Maybe Text
-- | cvc
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerRequestBodyCard'OneOf1Cvc] :: PostCustomersCustomerRequestBodyCard'OneOf1 -> Maybe Text
-- | exp_month
[postCustomersCustomerRequestBodyCard'OneOf1ExpMonth] :: PostCustomersCustomerRequestBodyCard'OneOf1 -> Int
-- | exp_year
[postCustomersCustomerRequestBodyCard'OneOf1ExpYear] :: PostCustomersCustomerRequestBodyCard'OneOf1 -> Int
-- | metadata
[postCustomersCustomerRequestBodyCard'OneOf1Metadata] :: PostCustomersCustomerRequestBodyCard'OneOf1 -> Maybe Object
-- | name
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerRequestBodyCard'OneOf1Name] :: PostCustomersCustomerRequestBodyCard'OneOf1 -> Maybe Text
-- | number
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerRequestBodyCard'OneOf1Number] :: PostCustomersCustomerRequestBodyCard'OneOf1 -> Text
-- | object
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerRequestBodyCard'OneOf1Object] :: PostCustomersCustomerRequestBodyCard'OneOf1 -> Maybe PostCustomersCustomerRequestBodyCard'OneOf1Object'
-- | Create a new PostCustomersCustomerRequestBodyCard'OneOf1 with
-- all required fields.
mkPostCustomersCustomerRequestBodyCard'OneOf1 :: Int -> Int -> Text -> PostCustomersCustomerRequestBodyCard'OneOf1
-- | Defines the enum schema located at
-- paths./v1/customers/{customer}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.card.anyOf.properties.object
-- in the specification.
data PostCustomersCustomerRequestBodyCard'OneOf1Object'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostCustomersCustomerRequestBodyCard'OneOf1Object'Other :: Value -> PostCustomersCustomerRequestBodyCard'OneOf1Object'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostCustomersCustomerRequestBodyCard'OneOf1Object'Typed :: Text -> PostCustomersCustomerRequestBodyCard'OneOf1Object'
-- | Represents the JSON value "card"
PostCustomersCustomerRequestBodyCard'OneOf1Object'EnumCard :: PostCustomersCustomerRequestBodyCard'OneOf1Object'
-- | Defines the oneOf schema located at
-- paths./v1/customers/{customer}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.card.anyOf
-- in the specification.
--
-- A token, like the ones returned by Stripe.js.
data PostCustomersCustomerRequestBodyCard'Variants
PostCustomersCustomerRequestBodyCard'PostCustomersCustomerRequestBodyCard'OneOf1 :: PostCustomersCustomerRequestBodyCard'OneOf1 -> PostCustomersCustomerRequestBodyCard'Variants
PostCustomersCustomerRequestBodyCard'Text :: Text -> PostCustomersCustomerRequestBodyCard'Variants
-- | Defines the object schema located at
-- paths./v1/customers/{customer}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.invoice_settings
-- in the specification.
--
-- Default invoice settings for this customer.
data PostCustomersCustomerRequestBodyInvoiceSettings'
PostCustomersCustomerRequestBodyInvoiceSettings' :: Maybe PostCustomersCustomerRequestBodyInvoiceSettings'CustomFields'Variants -> Maybe Text -> Maybe Text -> PostCustomersCustomerRequestBodyInvoiceSettings'
-- | custom_fields
[postCustomersCustomerRequestBodyInvoiceSettings'CustomFields] :: PostCustomersCustomerRequestBodyInvoiceSettings' -> Maybe PostCustomersCustomerRequestBodyInvoiceSettings'CustomFields'Variants
-- | default_payment_method
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerRequestBodyInvoiceSettings'DefaultPaymentMethod] :: PostCustomersCustomerRequestBodyInvoiceSettings' -> Maybe Text
-- | footer
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerRequestBodyInvoiceSettings'Footer] :: PostCustomersCustomerRequestBodyInvoiceSettings' -> Maybe Text
-- | Create a new PostCustomersCustomerRequestBodyInvoiceSettings'
-- with all required fields.
mkPostCustomersCustomerRequestBodyInvoiceSettings' :: PostCustomersCustomerRequestBodyInvoiceSettings'
-- | Defines the object schema located at
-- paths./v1/customers/{customer}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.invoice_settings.properties.custom_fields.anyOf.items
-- in the specification.
data PostCustomersCustomerRequestBodyInvoiceSettings'CustomFields'OneOf1
PostCustomersCustomerRequestBodyInvoiceSettings'CustomFields'OneOf1 :: Text -> Text -> PostCustomersCustomerRequestBodyInvoiceSettings'CustomFields'OneOf1
-- | name
--
-- Constraints:
--
--
-- - Maximum length of 30
--
[postCustomersCustomerRequestBodyInvoiceSettings'CustomFields'OneOf1Name] :: PostCustomersCustomerRequestBodyInvoiceSettings'CustomFields'OneOf1 -> Text
-- | value
--
-- Constraints:
--
--
-- - Maximum length of 30
--
[postCustomersCustomerRequestBodyInvoiceSettings'CustomFields'OneOf1Value] :: PostCustomersCustomerRequestBodyInvoiceSettings'CustomFields'OneOf1 -> Text
-- | Create a new
-- PostCustomersCustomerRequestBodyInvoiceSettings'CustomFields'OneOf1
-- with all required fields.
mkPostCustomersCustomerRequestBodyInvoiceSettings'CustomFields'OneOf1 :: Text -> Text -> PostCustomersCustomerRequestBodyInvoiceSettings'CustomFields'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/customers/{customer}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.invoice_settings.properties.custom_fields.anyOf
-- in the specification.
data PostCustomersCustomerRequestBodyInvoiceSettings'CustomFields'Variants
-- | Represents the JSON value ""
PostCustomersCustomerRequestBodyInvoiceSettings'CustomFields'EmptyString :: PostCustomersCustomerRequestBodyInvoiceSettings'CustomFields'Variants
PostCustomersCustomerRequestBodyInvoiceSettings'CustomFields'ListTPostCustomersCustomerRequestBodyInvoiceSettings'CustomFields'OneOf1 :: [PostCustomersCustomerRequestBodyInvoiceSettings'CustomFields'OneOf1] -> PostCustomersCustomerRequestBodyInvoiceSettings'CustomFields'Variants
-- | Defines the oneOf schema located at
-- paths./v1/customers/{customer}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.metadata.anyOf
-- in the specification.
--
-- Set of key-value pairs that you can attach to an object. This
-- can be useful for storing additional information about the object in a
-- structured format. Individual keys can be unset by posting an empty
-- value to them. All keys can be unset by posting an empty value to
-- `metadata`.
data PostCustomersCustomerRequestBodyMetadata'Variants
-- | Represents the JSON value ""
PostCustomersCustomerRequestBodyMetadata'EmptyString :: PostCustomersCustomerRequestBodyMetadata'Variants
PostCustomersCustomerRequestBodyMetadata'Object :: Object -> PostCustomersCustomerRequestBodyMetadata'Variants
-- | Defines the object schema located at
-- paths./v1/customers/{customer}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.shipping.anyOf
-- in the specification.
data PostCustomersCustomerRequestBodyShipping'OneOf1
PostCustomersCustomerRequestBodyShipping'OneOf1 :: PostCustomersCustomerRequestBodyShipping'OneOf1Address' -> Text -> Maybe Text -> PostCustomersCustomerRequestBodyShipping'OneOf1
-- | address
[postCustomersCustomerRequestBodyShipping'OneOf1Address] :: PostCustomersCustomerRequestBodyShipping'OneOf1 -> PostCustomersCustomerRequestBodyShipping'OneOf1Address'
-- | name
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerRequestBodyShipping'OneOf1Name] :: PostCustomersCustomerRequestBodyShipping'OneOf1 -> Text
-- | phone
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerRequestBodyShipping'OneOf1Phone] :: PostCustomersCustomerRequestBodyShipping'OneOf1 -> Maybe Text
-- | Create a new PostCustomersCustomerRequestBodyShipping'OneOf1
-- with all required fields.
mkPostCustomersCustomerRequestBodyShipping'OneOf1 :: PostCustomersCustomerRequestBodyShipping'OneOf1Address' -> Text -> PostCustomersCustomerRequestBodyShipping'OneOf1
-- | Defines the object schema located at
-- paths./v1/customers/{customer}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.shipping.anyOf.properties.address
-- in the specification.
data PostCustomersCustomerRequestBodyShipping'OneOf1Address'
PostCustomersCustomerRequestBodyShipping'OneOf1Address' :: Maybe Text -> Maybe Text -> Text -> Maybe Text -> Maybe Text -> Maybe Text -> PostCustomersCustomerRequestBodyShipping'OneOf1Address'
-- | city
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerRequestBodyShipping'OneOf1Address'City] :: PostCustomersCustomerRequestBodyShipping'OneOf1Address' -> Maybe Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerRequestBodyShipping'OneOf1Address'Country] :: PostCustomersCustomerRequestBodyShipping'OneOf1Address' -> Maybe Text
-- | line1
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerRequestBodyShipping'OneOf1Address'Line1] :: PostCustomersCustomerRequestBodyShipping'OneOf1Address' -> Text
-- | line2
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerRequestBodyShipping'OneOf1Address'Line2] :: PostCustomersCustomerRequestBodyShipping'OneOf1Address' -> Maybe Text
-- | postal_code
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerRequestBodyShipping'OneOf1Address'PostalCode] :: PostCustomersCustomerRequestBodyShipping'OneOf1Address' -> Maybe Text
-- | state
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersCustomerRequestBodyShipping'OneOf1Address'State] :: PostCustomersCustomerRequestBodyShipping'OneOf1Address' -> Maybe Text
-- | Create a new
-- PostCustomersCustomerRequestBodyShipping'OneOf1Address' with
-- all required fields.
mkPostCustomersCustomerRequestBodyShipping'OneOf1Address' :: Text -> PostCustomersCustomerRequestBodyShipping'OneOf1Address'
-- | Defines the oneOf schema located at
-- paths./v1/customers/{customer}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.shipping.anyOf
-- in the specification.
--
-- The customer's shipping information. Appears on invoices emailed to
-- this customer.
data PostCustomersCustomerRequestBodyShipping'Variants
-- | Represents the JSON value ""
PostCustomersCustomerRequestBodyShipping'EmptyString :: PostCustomersCustomerRequestBodyShipping'Variants
PostCustomersCustomerRequestBodyShipping'PostCustomersCustomerRequestBodyShipping'OneOf1 :: PostCustomersCustomerRequestBodyShipping'OneOf1 -> PostCustomersCustomerRequestBodyShipping'Variants
-- | Defines the object schema located at
-- paths./v1/customers/{customer}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.tax
-- in the specification.
--
-- Tax details about the customer.
data PostCustomersCustomerRequestBodyTax'
PostCustomersCustomerRequestBodyTax' :: Maybe PostCustomersCustomerRequestBodyTax'IpAddress'Variants -> PostCustomersCustomerRequestBodyTax'
-- | ip_address
[postCustomersCustomerRequestBodyTax'IpAddress] :: PostCustomersCustomerRequestBodyTax' -> Maybe PostCustomersCustomerRequestBodyTax'IpAddress'Variants
-- | Create a new PostCustomersCustomerRequestBodyTax' with all
-- required fields.
mkPostCustomersCustomerRequestBodyTax' :: PostCustomersCustomerRequestBodyTax'
-- | Defines the oneOf schema located at
-- paths./v1/customers/{customer}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.tax.properties.ip_address.anyOf
-- in the specification.
data PostCustomersCustomerRequestBodyTax'IpAddress'Variants
-- | Represents the JSON value ""
PostCustomersCustomerRequestBodyTax'IpAddress'EmptyString :: PostCustomersCustomerRequestBodyTax'IpAddress'Variants
PostCustomersCustomerRequestBodyTax'IpAddress'Text :: Text -> PostCustomersCustomerRequestBodyTax'IpAddress'Variants
-- | Defines the enum schema located at
-- paths./v1/customers/{customer}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.tax_exempt
-- in the specification.
--
-- The customer's tax exemption. One of `none`, `exempt`, or `reverse`.
data PostCustomersCustomerRequestBodyTaxExempt'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostCustomersCustomerRequestBodyTaxExempt'Other :: Value -> PostCustomersCustomerRequestBodyTaxExempt'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostCustomersCustomerRequestBodyTaxExempt'Typed :: Text -> PostCustomersCustomerRequestBodyTaxExempt'
-- | Represents the JSON value ""
PostCustomersCustomerRequestBodyTaxExempt'EnumEmptyString :: PostCustomersCustomerRequestBodyTaxExempt'
-- | Represents the JSON value "exempt"
PostCustomersCustomerRequestBodyTaxExempt'EnumExempt :: PostCustomersCustomerRequestBodyTaxExempt'
-- | Represents the JSON value "none"
PostCustomersCustomerRequestBodyTaxExempt'EnumNone :: PostCustomersCustomerRequestBodyTaxExempt'
-- | Represents the JSON value "reverse"
PostCustomersCustomerRequestBodyTaxExempt'EnumReverse :: PostCustomersCustomerRequestBodyTaxExempt'
-- | Defines the oneOf schema located at
-- paths./v1/customers/{customer}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.trial_end.anyOf
-- in the specification.
--
-- Unix timestamp representing the end of the trial period the customer
-- will get before being charged for the first time. This will always
-- overwrite any trials that might apply via a subscribed plan. If set,
-- trial_end will override the default trial period of the plan the
-- customer is being subscribed to. The special value `now` can be
-- provided to end the customer's trial immediately. Can be at most two
-- years from `billing_cycle_anchor`.
data PostCustomersCustomerRequestBodyTrialEnd'Variants
-- | Represents the JSON value "now"
PostCustomersCustomerRequestBodyTrialEnd'Now :: PostCustomersCustomerRequestBodyTrialEnd'Variants
PostCustomersCustomerRequestBodyTrialEnd'Int :: Int -> PostCustomersCustomerRequestBodyTrialEnd'Variants
-- | Represents a response of the operation postCustomersCustomer.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostCustomersCustomerResponseError is
-- used.
data PostCustomersCustomerResponse
-- | Means either no matching case available or a parse error
PostCustomersCustomerResponseError :: String -> PostCustomersCustomerResponse
-- | Successful response.
PostCustomersCustomerResponse200 :: Customer -> PostCustomersCustomerResponse
-- | Error response.
PostCustomersCustomerResponseDefault :: Error -> PostCustomersCustomerResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomer.PostCustomersCustomerRequestBodyAddress'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomer.PostCustomersCustomerRequestBodyAddress'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomer.PostCustomersCustomerRequestBodyAddress'Variants
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomer.PostCustomersCustomerRequestBodyAddress'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomer.PostCustomersCustomerRequestBodyBankAccount'OneOf1AccountHolderType'
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomer.PostCustomersCustomerRequestBodyBankAccount'OneOf1AccountHolderType'
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomer.PostCustomersCustomerRequestBodyBankAccount'OneOf1Object'
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomer.PostCustomersCustomerRequestBodyBankAccount'OneOf1Object'
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomer.PostCustomersCustomerRequestBodyBankAccount'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomer.PostCustomersCustomerRequestBodyBankAccount'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomer.PostCustomersCustomerRequestBodyBankAccount'Variants
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomer.PostCustomersCustomerRequestBodyBankAccount'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomer.PostCustomersCustomerRequestBodyCard'OneOf1Object'
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomer.PostCustomersCustomerRequestBodyCard'OneOf1Object'
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomer.PostCustomersCustomerRequestBodyCard'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomer.PostCustomersCustomerRequestBodyCard'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomer.PostCustomersCustomerRequestBodyCard'Variants
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomer.PostCustomersCustomerRequestBodyCard'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomer.PostCustomersCustomerRequestBodyInvoiceSettings'CustomFields'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomer.PostCustomersCustomerRequestBodyInvoiceSettings'CustomFields'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomer.PostCustomersCustomerRequestBodyInvoiceSettings'CustomFields'Variants
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomer.PostCustomersCustomerRequestBodyInvoiceSettings'CustomFields'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomer.PostCustomersCustomerRequestBodyInvoiceSettings'
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomer.PostCustomersCustomerRequestBodyInvoiceSettings'
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomer.PostCustomersCustomerRequestBodyMetadata'Variants
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomer.PostCustomersCustomerRequestBodyMetadata'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomer.PostCustomersCustomerRequestBodyShipping'OneOf1Address'
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomer.PostCustomersCustomerRequestBodyShipping'OneOf1Address'
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomer.PostCustomersCustomerRequestBodyShipping'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomer.PostCustomersCustomerRequestBodyShipping'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomer.PostCustomersCustomerRequestBodyShipping'Variants
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomer.PostCustomersCustomerRequestBodyShipping'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomer.PostCustomersCustomerRequestBodyTax'IpAddress'Variants
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomer.PostCustomersCustomerRequestBodyTax'IpAddress'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomer.PostCustomersCustomerRequestBodyTax'
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomer.PostCustomersCustomerRequestBodyTax'
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomer.PostCustomersCustomerRequestBodyTaxExempt'
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomer.PostCustomersCustomerRequestBodyTaxExempt'
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomer.PostCustomersCustomerRequestBodyTrialEnd'Variants
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomer.PostCustomersCustomerRequestBodyTrialEnd'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomer.PostCustomersCustomerRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomer.PostCustomersCustomerRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomersCustomer.PostCustomersCustomerResponse
instance GHC.Show.Show StripeAPI.Operations.PostCustomersCustomer.PostCustomersCustomerResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomer.PostCustomersCustomerRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomer.PostCustomersCustomerRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomer.PostCustomersCustomerRequestBodyTrialEnd'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomer.PostCustomersCustomerRequestBodyTrialEnd'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomer.PostCustomersCustomerRequestBodyTaxExempt'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomer.PostCustomersCustomerRequestBodyTaxExempt'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomer.PostCustomersCustomerRequestBodyTax'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomer.PostCustomersCustomerRequestBodyTax'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomer.PostCustomersCustomerRequestBodyTax'IpAddress'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomer.PostCustomersCustomerRequestBodyTax'IpAddress'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomer.PostCustomersCustomerRequestBodyShipping'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomer.PostCustomersCustomerRequestBodyShipping'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomer.PostCustomersCustomerRequestBodyShipping'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomer.PostCustomersCustomerRequestBodyShipping'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomer.PostCustomersCustomerRequestBodyShipping'OneOf1Address'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomer.PostCustomersCustomerRequestBodyShipping'OneOf1Address'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomer.PostCustomersCustomerRequestBodyMetadata'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomer.PostCustomersCustomerRequestBodyMetadata'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomer.PostCustomersCustomerRequestBodyInvoiceSettings'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomer.PostCustomersCustomerRequestBodyInvoiceSettings'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomer.PostCustomersCustomerRequestBodyInvoiceSettings'CustomFields'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomer.PostCustomersCustomerRequestBodyInvoiceSettings'CustomFields'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomer.PostCustomersCustomerRequestBodyInvoiceSettings'CustomFields'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomer.PostCustomersCustomerRequestBodyInvoiceSettings'CustomFields'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomer.PostCustomersCustomerRequestBodyCard'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomer.PostCustomersCustomerRequestBodyCard'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomer.PostCustomersCustomerRequestBodyCard'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomer.PostCustomersCustomerRequestBodyCard'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomer.PostCustomersCustomerRequestBodyCard'OneOf1Object'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomer.PostCustomersCustomerRequestBodyCard'OneOf1Object'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomer.PostCustomersCustomerRequestBodyBankAccount'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomer.PostCustomersCustomerRequestBodyBankAccount'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomer.PostCustomersCustomerRequestBodyBankAccount'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomer.PostCustomersCustomerRequestBodyBankAccount'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomer.PostCustomersCustomerRequestBodyBankAccount'OneOf1Object'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomer.PostCustomersCustomerRequestBodyBankAccount'OneOf1Object'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomer.PostCustomersCustomerRequestBodyBankAccount'OneOf1AccountHolderType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomer.PostCustomersCustomerRequestBodyBankAccount'OneOf1AccountHolderType'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomer.PostCustomersCustomerRequestBodyAddress'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomer.PostCustomersCustomerRequestBodyAddress'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomersCustomer.PostCustomersCustomerRequestBodyAddress'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomersCustomer.PostCustomersCustomerRequestBodyAddress'OneOf1
-- | Contains the different functions to run the operation postCustomers
module StripeAPI.Operations.PostCustomers
-- |
-- POST /v1/customers
--
--
-- <p>Creates a new customer object.</p>
postCustomers :: forall m. MonadHTTP m => Maybe PostCustomersRequestBody -> ClientT m (Response PostCustomersResponse)
-- | Defines the object schema located at
-- paths./v1/customers.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostCustomersRequestBody
PostCustomersRequestBody :: Maybe PostCustomersRequestBodyAddress'Variants -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe [Text] -> Maybe Text -> Maybe PostCustomersRequestBodyInvoiceSettings' -> Maybe PostCustomersRequestBodyMetadata'Variants -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe [Text] -> Maybe Text -> Maybe PostCustomersRequestBodyShipping'Variants -> Maybe Text -> Maybe PostCustomersRequestBodyTax' -> Maybe PostCustomersRequestBodyTaxExempt' -> Maybe [PostCustomersRequestBodyTaxIdData'] -> PostCustomersRequestBody
-- | address: The customer's address.
[postCustomersRequestBodyAddress] :: PostCustomersRequestBody -> Maybe PostCustomersRequestBodyAddress'Variants
-- | balance: An integer amount in %s that represents the customer's
-- current balance, which affect the customer's future invoices. A
-- negative amount represents a credit that decreases the amount due on
-- an invoice; a positive amount increases the amount due on an invoice.
[postCustomersRequestBodyBalance] :: PostCustomersRequestBody -> Maybe Int
-- | coupon
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersRequestBodyCoupon] :: PostCustomersRequestBody -> Maybe Text
-- | description: An arbitrary string that you can attach to a customer
-- object. It is displayed alongside the customer in the dashboard.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersRequestBodyDescription] :: PostCustomersRequestBody -> Maybe Text
-- | email: Customer's email address. It's displayed alongside the customer
-- in your dashboard and can be useful for searching and tracking. This
-- may be up to *512 characters*.
--
-- Constraints:
--
--
-- - Maximum length of 512
--
[postCustomersRequestBodyEmail] :: PostCustomersRequestBody -> Maybe Text
-- | expand: Specifies which fields in the response should be expanded.
[postCustomersRequestBodyExpand] :: PostCustomersRequestBody -> Maybe [Text]
-- | invoice_prefix: The prefix for the customer used to generate unique
-- invoice numbers. Must be 3–12 uppercase letters or numbers.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersRequestBodyInvoicePrefix] :: PostCustomersRequestBody -> Maybe Text
-- | invoice_settings: Default invoice settings for this customer.
[postCustomersRequestBodyInvoiceSettings] :: PostCustomersRequestBody -> Maybe PostCustomersRequestBodyInvoiceSettings'
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postCustomersRequestBodyMetadata] :: PostCustomersRequestBody -> Maybe PostCustomersRequestBodyMetadata'Variants
-- | name: The customer's full name or business name.
--
-- Constraints:
--
--
-- - Maximum length of 256
--
[postCustomersRequestBodyName] :: PostCustomersRequestBody -> Maybe Text
-- | next_invoice_sequence: The sequence to be used on the customer's next
-- invoice. Defaults to 1.
[postCustomersRequestBodyNextInvoiceSequence] :: PostCustomersRequestBody -> Maybe Int
-- | payment_method
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersRequestBodyPaymentMethod] :: PostCustomersRequestBody -> Maybe Text
-- | phone: The customer's phone number.
--
-- Constraints:
--
--
-- - Maximum length of 20
--
[postCustomersRequestBodyPhone] :: PostCustomersRequestBody -> Maybe Text
-- | preferred_locales: Customer's preferred languages, ordered by
-- preference.
[postCustomersRequestBodyPreferredLocales] :: PostCustomersRequestBody -> Maybe [Text]
-- | promotion_code: The API ID of a promotion code to apply to the
-- customer. The customer will have a discount applied on all recurring
-- payments. Charges you create through the API will not have the
-- discount.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersRequestBodyPromotionCode] :: PostCustomersRequestBody -> Maybe Text
-- | shipping: The customer's shipping information. Appears on invoices
-- emailed to this customer.
[postCustomersRequestBodyShipping] :: PostCustomersRequestBody -> Maybe PostCustomersRequestBodyShipping'Variants
-- | source
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersRequestBodySource] :: PostCustomersRequestBody -> Maybe Text
-- | tax: Tax details about the customer.
[postCustomersRequestBodyTax] :: PostCustomersRequestBody -> Maybe PostCustomersRequestBodyTax'
-- | tax_exempt: The customer's tax exemption. One of `none`, `exempt`, or
-- `reverse`.
[postCustomersRequestBodyTaxExempt] :: PostCustomersRequestBody -> Maybe PostCustomersRequestBodyTaxExempt'
-- | tax_id_data: The customer's tax IDs.
[postCustomersRequestBodyTaxIdData] :: PostCustomersRequestBody -> Maybe [PostCustomersRequestBodyTaxIdData']
-- | Create a new PostCustomersRequestBody with all required fields.
mkPostCustomersRequestBody :: PostCustomersRequestBody
-- | Defines the object schema located at
-- paths./v1/customers.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.address.anyOf
-- in the specification.
data PostCustomersRequestBodyAddress'OneOf1
PostCustomersRequestBodyAddress'OneOf1 :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PostCustomersRequestBodyAddress'OneOf1
-- | city
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersRequestBodyAddress'OneOf1City] :: PostCustomersRequestBodyAddress'OneOf1 -> Maybe Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersRequestBodyAddress'OneOf1Country] :: PostCustomersRequestBodyAddress'OneOf1 -> Maybe Text
-- | line1
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersRequestBodyAddress'OneOf1Line1] :: PostCustomersRequestBodyAddress'OneOf1 -> Maybe Text
-- | line2
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersRequestBodyAddress'OneOf1Line2] :: PostCustomersRequestBodyAddress'OneOf1 -> Maybe Text
-- | postal_code
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersRequestBodyAddress'OneOf1PostalCode] :: PostCustomersRequestBodyAddress'OneOf1 -> Maybe Text
-- | state
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersRequestBodyAddress'OneOf1State] :: PostCustomersRequestBodyAddress'OneOf1 -> Maybe Text
-- | Create a new PostCustomersRequestBodyAddress'OneOf1 with all
-- required fields.
mkPostCustomersRequestBodyAddress'OneOf1 :: PostCustomersRequestBodyAddress'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/customers.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.address.anyOf
-- in the specification.
--
-- The customer's address.
data PostCustomersRequestBodyAddress'Variants
-- | Represents the JSON value ""
PostCustomersRequestBodyAddress'EmptyString :: PostCustomersRequestBodyAddress'Variants
PostCustomersRequestBodyAddress'PostCustomersRequestBodyAddress'OneOf1 :: PostCustomersRequestBodyAddress'OneOf1 -> PostCustomersRequestBodyAddress'Variants
-- | Defines the object schema located at
-- paths./v1/customers.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.invoice_settings
-- in the specification.
--
-- Default invoice settings for this customer.
data PostCustomersRequestBodyInvoiceSettings'
PostCustomersRequestBodyInvoiceSettings' :: Maybe PostCustomersRequestBodyInvoiceSettings'CustomFields'Variants -> Maybe Text -> Maybe Text -> PostCustomersRequestBodyInvoiceSettings'
-- | custom_fields
[postCustomersRequestBodyInvoiceSettings'CustomFields] :: PostCustomersRequestBodyInvoiceSettings' -> Maybe PostCustomersRequestBodyInvoiceSettings'CustomFields'Variants
-- | default_payment_method
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersRequestBodyInvoiceSettings'DefaultPaymentMethod] :: PostCustomersRequestBodyInvoiceSettings' -> Maybe Text
-- | footer
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersRequestBodyInvoiceSettings'Footer] :: PostCustomersRequestBodyInvoiceSettings' -> Maybe Text
-- | Create a new PostCustomersRequestBodyInvoiceSettings' with all
-- required fields.
mkPostCustomersRequestBodyInvoiceSettings' :: PostCustomersRequestBodyInvoiceSettings'
-- | Defines the object schema located at
-- paths./v1/customers.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.invoice_settings.properties.custom_fields.anyOf.items
-- in the specification.
data PostCustomersRequestBodyInvoiceSettings'CustomFields'OneOf1
PostCustomersRequestBodyInvoiceSettings'CustomFields'OneOf1 :: Text -> Text -> PostCustomersRequestBodyInvoiceSettings'CustomFields'OneOf1
-- | name
--
-- Constraints:
--
--
-- - Maximum length of 30
--
[postCustomersRequestBodyInvoiceSettings'CustomFields'OneOf1Name] :: PostCustomersRequestBodyInvoiceSettings'CustomFields'OneOf1 -> Text
-- | value
--
-- Constraints:
--
--
-- - Maximum length of 30
--
[postCustomersRequestBodyInvoiceSettings'CustomFields'OneOf1Value] :: PostCustomersRequestBodyInvoiceSettings'CustomFields'OneOf1 -> Text
-- | Create a new
-- PostCustomersRequestBodyInvoiceSettings'CustomFields'OneOf1
-- with all required fields.
mkPostCustomersRequestBodyInvoiceSettings'CustomFields'OneOf1 :: Text -> Text -> PostCustomersRequestBodyInvoiceSettings'CustomFields'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/customers.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.invoice_settings.properties.custom_fields.anyOf
-- in the specification.
data PostCustomersRequestBodyInvoiceSettings'CustomFields'Variants
-- | Represents the JSON value ""
PostCustomersRequestBodyInvoiceSettings'CustomFields'EmptyString :: PostCustomersRequestBodyInvoiceSettings'CustomFields'Variants
PostCustomersRequestBodyInvoiceSettings'CustomFields'ListTPostCustomersRequestBodyInvoiceSettings'CustomFields'OneOf1 :: [PostCustomersRequestBodyInvoiceSettings'CustomFields'OneOf1] -> PostCustomersRequestBodyInvoiceSettings'CustomFields'Variants
-- | Defines the oneOf schema located at
-- paths./v1/customers.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.metadata.anyOf
-- in the specification.
--
-- Set of key-value pairs that you can attach to an object. This
-- can be useful for storing additional information about the object in a
-- structured format. Individual keys can be unset by posting an empty
-- value to them. All keys can be unset by posting an empty value to
-- `metadata`.
data PostCustomersRequestBodyMetadata'Variants
-- | Represents the JSON value ""
PostCustomersRequestBodyMetadata'EmptyString :: PostCustomersRequestBodyMetadata'Variants
PostCustomersRequestBodyMetadata'Object :: Object -> PostCustomersRequestBodyMetadata'Variants
-- | Defines the object schema located at
-- paths./v1/customers.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.shipping.anyOf
-- in the specification.
data PostCustomersRequestBodyShipping'OneOf1
PostCustomersRequestBodyShipping'OneOf1 :: PostCustomersRequestBodyShipping'OneOf1Address' -> Text -> Maybe Text -> PostCustomersRequestBodyShipping'OneOf1
-- | address
[postCustomersRequestBodyShipping'OneOf1Address] :: PostCustomersRequestBodyShipping'OneOf1 -> PostCustomersRequestBodyShipping'OneOf1Address'
-- | name
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersRequestBodyShipping'OneOf1Name] :: PostCustomersRequestBodyShipping'OneOf1 -> Text
-- | phone
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersRequestBodyShipping'OneOf1Phone] :: PostCustomersRequestBodyShipping'OneOf1 -> Maybe Text
-- | Create a new PostCustomersRequestBodyShipping'OneOf1 with all
-- required fields.
mkPostCustomersRequestBodyShipping'OneOf1 :: PostCustomersRequestBodyShipping'OneOf1Address' -> Text -> PostCustomersRequestBodyShipping'OneOf1
-- | Defines the object schema located at
-- paths./v1/customers.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.shipping.anyOf.properties.address
-- in the specification.
data PostCustomersRequestBodyShipping'OneOf1Address'
PostCustomersRequestBodyShipping'OneOf1Address' :: Maybe Text -> Maybe Text -> Text -> Maybe Text -> Maybe Text -> Maybe Text -> PostCustomersRequestBodyShipping'OneOf1Address'
-- | city
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersRequestBodyShipping'OneOf1Address'City] :: PostCustomersRequestBodyShipping'OneOf1Address' -> Maybe Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersRequestBodyShipping'OneOf1Address'Country] :: PostCustomersRequestBodyShipping'OneOf1Address' -> Maybe Text
-- | line1
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersRequestBodyShipping'OneOf1Address'Line1] :: PostCustomersRequestBodyShipping'OneOf1Address' -> Text
-- | line2
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersRequestBodyShipping'OneOf1Address'Line2] :: PostCustomersRequestBodyShipping'OneOf1Address' -> Maybe Text
-- | postal_code
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersRequestBodyShipping'OneOf1Address'PostalCode] :: PostCustomersRequestBodyShipping'OneOf1Address' -> Maybe Text
-- | state
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersRequestBodyShipping'OneOf1Address'State] :: PostCustomersRequestBodyShipping'OneOf1Address' -> Maybe Text
-- | Create a new PostCustomersRequestBodyShipping'OneOf1Address'
-- with all required fields.
mkPostCustomersRequestBodyShipping'OneOf1Address' :: Text -> PostCustomersRequestBodyShipping'OneOf1Address'
-- | Defines the oneOf schema located at
-- paths./v1/customers.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.shipping.anyOf
-- in the specification.
--
-- The customer's shipping information. Appears on invoices emailed to
-- this customer.
data PostCustomersRequestBodyShipping'Variants
-- | Represents the JSON value ""
PostCustomersRequestBodyShipping'EmptyString :: PostCustomersRequestBodyShipping'Variants
PostCustomersRequestBodyShipping'PostCustomersRequestBodyShipping'OneOf1 :: PostCustomersRequestBodyShipping'OneOf1 -> PostCustomersRequestBodyShipping'Variants
-- | Defines the object schema located at
-- paths./v1/customers.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.tax
-- in the specification.
--
-- Tax details about the customer.
data PostCustomersRequestBodyTax'
PostCustomersRequestBodyTax' :: Maybe PostCustomersRequestBodyTax'IpAddress'Variants -> PostCustomersRequestBodyTax'
-- | ip_address
[postCustomersRequestBodyTax'IpAddress] :: PostCustomersRequestBodyTax' -> Maybe PostCustomersRequestBodyTax'IpAddress'Variants
-- | Create a new PostCustomersRequestBodyTax' with all required
-- fields.
mkPostCustomersRequestBodyTax' :: PostCustomersRequestBodyTax'
-- | Defines the oneOf schema located at
-- paths./v1/customers.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.tax.properties.ip_address.anyOf
-- in the specification.
data PostCustomersRequestBodyTax'IpAddress'Variants
-- | Represents the JSON value ""
PostCustomersRequestBodyTax'IpAddress'EmptyString :: PostCustomersRequestBodyTax'IpAddress'Variants
PostCustomersRequestBodyTax'IpAddress'Text :: Text -> PostCustomersRequestBodyTax'IpAddress'Variants
-- | Defines the enum schema located at
-- paths./v1/customers.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.tax_exempt
-- in the specification.
--
-- The customer's tax exemption. One of `none`, `exempt`, or `reverse`.
data PostCustomersRequestBodyTaxExempt'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostCustomersRequestBodyTaxExempt'Other :: Value -> PostCustomersRequestBodyTaxExempt'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostCustomersRequestBodyTaxExempt'Typed :: Text -> PostCustomersRequestBodyTaxExempt'
-- | Represents the JSON value ""
PostCustomersRequestBodyTaxExempt'EnumEmptyString :: PostCustomersRequestBodyTaxExempt'
-- | Represents the JSON value "exempt"
PostCustomersRequestBodyTaxExempt'EnumExempt :: PostCustomersRequestBodyTaxExempt'
-- | Represents the JSON value "none"
PostCustomersRequestBodyTaxExempt'EnumNone :: PostCustomersRequestBodyTaxExempt'
-- | Represents the JSON value "reverse"
PostCustomersRequestBodyTaxExempt'EnumReverse :: PostCustomersRequestBodyTaxExempt'
-- | Defines the object schema located at
-- paths./v1/customers.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.tax_id_data.items
-- in the specification.
data PostCustomersRequestBodyTaxIdData'
PostCustomersRequestBodyTaxIdData' :: PostCustomersRequestBodyTaxIdData'Type' -> Text -> PostCustomersRequestBodyTaxIdData'
-- | type
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCustomersRequestBodyTaxIdData'Type] :: PostCustomersRequestBodyTaxIdData' -> PostCustomersRequestBodyTaxIdData'Type'
-- | value
[postCustomersRequestBodyTaxIdData'Value] :: PostCustomersRequestBodyTaxIdData' -> Text
-- | Create a new PostCustomersRequestBodyTaxIdData' with all
-- required fields.
mkPostCustomersRequestBodyTaxIdData' :: PostCustomersRequestBodyTaxIdData'Type' -> Text -> PostCustomersRequestBodyTaxIdData'
-- | Defines the enum schema located at
-- paths./v1/customers.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.tax_id_data.items.properties.type
-- in the specification.
data PostCustomersRequestBodyTaxIdData'Type'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostCustomersRequestBodyTaxIdData'Type'Other :: Value -> PostCustomersRequestBodyTaxIdData'Type'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostCustomersRequestBodyTaxIdData'Type'Typed :: Text -> PostCustomersRequestBodyTaxIdData'Type'
-- | Represents the JSON value "ae_trn"
PostCustomersRequestBodyTaxIdData'Type'EnumAeTrn :: PostCustomersRequestBodyTaxIdData'Type'
-- | Represents the JSON value "au_abn"
PostCustomersRequestBodyTaxIdData'Type'EnumAuAbn :: PostCustomersRequestBodyTaxIdData'Type'
-- | Represents the JSON value "br_cnpj"
PostCustomersRequestBodyTaxIdData'Type'EnumBrCnpj :: PostCustomersRequestBodyTaxIdData'Type'
-- | Represents the JSON value "br_cpf"
PostCustomersRequestBodyTaxIdData'Type'EnumBrCpf :: PostCustomersRequestBodyTaxIdData'Type'
-- | Represents the JSON value "ca_bn"
PostCustomersRequestBodyTaxIdData'Type'EnumCaBn :: PostCustomersRequestBodyTaxIdData'Type'
-- | Represents the JSON value "ca_gst_hst"
PostCustomersRequestBodyTaxIdData'Type'EnumCaGstHst :: PostCustomersRequestBodyTaxIdData'Type'
-- | Represents the JSON value "ca_pst_bc"
PostCustomersRequestBodyTaxIdData'Type'EnumCaPstBc :: PostCustomersRequestBodyTaxIdData'Type'
-- | Represents the JSON value "ca_pst_mb"
PostCustomersRequestBodyTaxIdData'Type'EnumCaPstMb :: PostCustomersRequestBodyTaxIdData'Type'
-- | Represents the JSON value "ca_pst_sk"
PostCustomersRequestBodyTaxIdData'Type'EnumCaPstSk :: PostCustomersRequestBodyTaxIdData'Type'
-- | Represents the JSON value "ca_qst"
PostCustomersRequestBodyTaxIdData'Type'EnumCaQst :: PostCustomersRequestBodyTaxIdData'Type'
-- | Represents the JSON value "ch_vat"
PostCustomersRequestBodyTaxIdData'Type'EnumChVat :: PostCustomersRequestBodyTaxIdData'Type'
-- | Represents the JSON value "cl_tin"
PostCustomersRequestBodyTaxIdData'Type'EnumClTin :: PostCustomersRequestBodyTaxIdData'Type'
-- | Represents the JSON value "es_cif"
PostCustomersRequestBodyTaxIdData'Type'EnumEsCif :: PostCustomersRequestBodyTaxIdData'Type'
-- | Represents the JSON value "eu_vat"
PostCustomersRequestBodyTaxIdData'Type'EnumEuVat :: PostCustomersRequestBodyTaxIdData'Type'
-- | Represents the JSON value "gb_vat"
PostCustomersRequestBodyTaxIdData'Type'EnumGbVat :: PostCustomersRequestBodyTaxIdData'Type'
-- | Represents the JSON value "hk_br"
PostCustomersRequestBodyTaxIdData'Type'EnumHkBr :: PostCustomersRequestBodyTaxIdData'Type'
-- | Represents the JSON value "id_npwp"
PostCustomersRequestBodyTaxIdData'Type'EnumIdNpwp :: PostCustomersRequestBodyTaxIdData'Type'
-- | Represents the JSON value "il_vat"
PostCustomersRequestBodyTaxIdData'Type'EnumIlVat :: PostCustomersRequestBodyTaxIdData'Type'
-- | Represents the JSON value "in_gst"
PostCustomersRequestBodyTaxIdData'Type'EnumInGst :: PostCustomersRequestBodyTaxIdData'Type'
-- | Represents the JSON value "jp_cn"
PostCustomersRequestBodyTaxIdData'Type'EnumJpCn :: PostCustomersRequestBodyTaxIdData'Type'
-- | Represents the JSON value "jp_rn"
PostCustomersRequestBodyTaxIdData'Type'EnumJpRn :: PostCustomersRequestBodyTaxIdData'Type'
-- | Represents the JSON value "kr_brn"
PostCustomersRequestBodyTaxIdData'Type'EnumKrBrn :: PostCustomersRequestBodyTaxIdData'Type'
-- | Represents the JSON value "li_uid"
PostCustomersRequestBodyTaxIdData'Type'EnumLiUid :: PostCustomersRequestBodyTaxIdData'Type'
-- | Represents the JSON value "mx_rfc"
PostCustomersRequestBodyTaxIdData'Type'EnumMxRfc :: PostCustomersRequestBodyTaxIdData'Type'
-- | Represents the JSON value "my_frp"
PostCustomersRequestBodyTaxIdData'Type'EnumMyFrp :: PostCustomersRequestBodyTaxIdData'Type'
-- | Represents the JSON value "my_itn"
PostCustomersRequestBodyTaxIdData'Type'EnumMyItn :: PostCustomersRequestBodyTaxIdData'Type'
-- | Represents the JSON value "my_sst"
PostCustomersRequestBodyTaxIdData'Type'EnumMySst :: PostCustomersRequestBodyTaxIdData'Type'
-- | Represents the JSON value "no_vat"
PostCustomersRequestBodyTaxIdData'Type'EnumNoVat :: PostCustomersRequestBodyTaxIdData'Type'
-- | Represents the JSON value "nz_gst"
PostCustomersRequestBodyTaxIdData'Type'EnumNzGst :: PostCustomersRequestBodyTaxIdData'Type'
-- | Represents the JSON value "ru_inn"
PostCustomersRequestBodyTaxIdData'Type'EnumRuInn :: PostCustomersRequestBodyTaxIdData'Type'
-- | Represents the JSON value "ru_kpp"
PostCustomersRequestBodyTaxIdData'Type'EnumRuKpp :: PostCustomersRequestBodyTaxIdData'Type'
-- | Represents the JSON value "sa_vat"
PostCustomersRequestBodyTaxIdData'Type'EnumSaVat :: PostCustomersRequestBodyTaxIdData'Type'
-- | Represents the JSON value "sg_gst"
PostCustomersRequestBodyTaxIdData'Type'EnumSgGst :: PostCustomersRequestBodyTaxIdData'Type'
-- | Represents the JSON value "sg_uen"
PostCustomersRequestBodyTaxIdData'Type'EnumSgUen :: PostCustomersRequestBodyTaxIdData'Type'
-- | Represents the JSON value "th_vat"
PostCustomersRequestBodyTaxIdData'Type'EnumThVat :: PostCustomersRequestBodyTaxIdData'Type'
-- | Represents the JSON value "tw_vat"
PostCustomersRequestBodyTaxIdData'Type'EnumTwVat :: PostCustomersRequestBodyTaxIdData'Type'
-- | Represents the JSON value "us_ein"
PostCustomersRequestBodyTaxIdData'Type'EnumUsEin :: PostCustomersRequestBodyTaxIdData'Type'
-- | Represents the JSON value "za_vat"
PostCustomersRequestBodyTaxIdData'Type'EnumZaVat :: PostCustomersRequestBodyTaxIdData'Type'
-- | Represents a response of the operation postCustomers.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostCustomersResponseError is used.
data PostCustomersResponse
-- | Means either no matching case available or a parse error
PostCustomersResponseError :: String -> PostCustomersResponse
-- | Successful response.
PostCustomersResponse200 :: Customer -> PostCustomersResponse
-- | Error response.
PostCustomersResponseDefault :: Error -> PostCustomersResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomers.PostCustomersRequestBodyAddress'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostCustomers.PostCustomersRequestBodyAddress'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomers.PostCustomersRequestBodyAddress'Variants
instance GHC.Show.Show StripeAPI.Operations.PostCustomers.PostCustomersRequestBodyAddress'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomers.PostCustomersRequestBodyInvoiceSettings'CustomFields'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostCustomers.PostCustomersRequestBodyInvoiceSettings'CustomFields'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomers.PostCustomersRequestBodyInvoiceSettings'CustomFields'Variants
instance GHC.Show.Show StripeAPI.Operations.PostCustomers.PostCustomersRequestBodyInvoiceSettings'CustomFields'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomers.PostCustomersRequestBodyInvoiceSettings'
instance GHC.Show.Show StripeAPI.Operations.PostCustomers.PostCustomersRequestBodyInvoiceSettings'
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomers.PostCustomersRequestBodyMetadata'Variants
instance GHC.Show.Show StripeAPI.Operations.PostCustomers.PostCustomersRequestBodyMetadata'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomers.PostCustomersRequestBodyShipping'OneOf1Address'
instance GHC.Show.Show StripeAPI.Operations.PostCustomers.PostCustomersRequestBodyShipping'OneOf1Address'
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomers.PostCustomersRequestBodyShipping'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostCustomers.PostCustomersRequestBodyShipping'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomers.PostCustomersRequestBodyShipping'Variants
instance GHC.Show.Show StripeAPI.Operations.PostCustomers.PostCustomersRequestBodyShipping'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomers.PostCustomersRequestBodyTax'IpAddress'Variants
instance GHC.Show.Show StripeAPI.Operations.PostCustomers.PostCustomersRequestBodyTax'IpAddress'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomers.PostCustomersRequestBodyTax'
instance GHC.Show.Show StripeAPI.Operations.PostCustomers.PostCustomersRequestBodyTax'
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomers.PostCustomersRequestBodyTaxExempt'
instance GHC.Show.Show StripeAPI.Operations.PostCustomers.PostCustomersRequestBodyTaxExempt'
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomers.PostCustomersRequestBodyTaxIdData'Type'
instance GHC.Show.Show StripeAPI.Operations.PostCustomers.PostCustomersRequestBodyTaxIdData'Type'
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomers.PostCustomersRequestBodyTaxIdData'
instance GHC.Show.Show StripeAPI.Operations.PostCustomers.PostCustomersRequestBodyTaxIdData'
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomers.PostCustomersRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostCustomers.PostCustomersRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostCustomers.PostCustomersResponse
instance GHC.Show.Show StripeAPI.Operations.PostCustomers.PostCustomersResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomers.PostCustomersRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomers.PostCustomersRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomers.PostCustomersRequestBodyTaxIdData'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomers.PostCustomersRequestBodyTaxIdData'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomers.PostCustomersRequestBodyTaxIdData'Type'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomers.PostCustomersRequestBodyTaxIdData'Type'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomers.PostCustomersRequestBodyTaxExempt'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomers.PostCustomersRequestBodyTaxExempt'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomers.PostCustomersRequestBodyTax'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomers.PostCustomersRequestBodyTax'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomers.PostCustomersRequestBodyTax'IpAddress'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomers.PostCustomersRequestBodyTax'IpAddress'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomers.PostCustomersRequestBodyShipping'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomers.PostCustomersRequestBodyShipping'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomers.PostCustomersRequestBodyShipping'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomers.PostCustomersRequestBodyShipping'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomers.PostCustomersRequestBodyShipping'OneOf1Address'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomers.PostCustomersRequestBodyShipping'OneOf1Address'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomers.PostCustomersRequestBodyMetadata'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomers.PostCustomersRequestBodyMetadata'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomers.PostCustomersRequestBodyInvoiceSettings'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomers.PostCustomersRequestBodyInvoiceSettings'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomers.PostCustomersRequestBodyInvoiceSettings'CustomFields'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomers.PostCustomersRequestBodyInvoiceSettings'CustomFields'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomers.PostCustomersRequestBodyInvoiceSettings'CustomFields'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomers.PostCustomersRequestBodyInvoiceSettings'CustomFields'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomers.PostCustomersRequestBodyAddress'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomers.PostCustomersRequestBodyAddress'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCustomers.PostCustomersRequestBodyAddress'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCustomers.PostCustomersRequestBodyAddress'OneOf1
-- | Contains the different functions to run the operation
-- postCreditNotesIdVoid
module StripeAPI.Operations.PostCreditNotesIdVoid
-- |
-- POST /v1/credit_notes/{id}/void
--
--
-- <p>Marks a credit note as void. Learn more about <a
-- href="/docs/billing/invoices/credit-notes#voiding">voiding credit
-- notes</a>.</p>
postCreditNotesIdVoid :: forall m. MonadHTTP m => Text -> Maybe PostCreditNotesIdVoidRequestBody -> ClientT m (Response PostCreditNotesIdVoidResponse)
-- | Defines the object schema located at
-- paths./v1/credit_notes/{id}/void.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostCreditNotesIdVoidRequestBody
PostCreditNotesIdVoidRequestBody :: Maybe [Text] -> PostCreditNotesIdVoidRequestBody
-- | expand: Specifies which fields in the response should be expanded.
[postCreditNotesIdVoidRequestBodyExpand] :: PostCreditNotesIdVoidRequestBody -> Maybe [Text]
-- | Create a new PostCreditNotesIdVoidRequestBody with all required
-- fields.
mkPostCreditNotesIdVoidRequestBody :: PostCreditNotesIdVoidRequestBody
-- | Represents a response of the operation postCreditNotesIdVoid.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostCreditNotesIdVoidResponseError is
-- used.
data PostCreditNotesIdVoidResponse
-- | Means either no matching case available or a parse error
PostCreditNotesIdVoidResponseError :: String -> PostCreditNotesIdVoidResponse
-- | Successful response.
PostCreditNotesIdVoidResponse200 :: CreditNote -> PostCreditNotesIdVoidResponse
-- | Error response.
PostCreditNotesIdVoidResponseDefault :: Error -> PostCreditNotesIdVoidResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostCreditNotesIdVoid.PostCreditNotesIdVoidRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostCreditNotesIdVoid.PostCreditNotesIdVoidRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostCreditNotesIdVoid.PostCreditNotesIdVoidResponse
instance GHC.Show.Show StripeAPI.Operations.PostCreditNotesIdVoid.PostCreditNotesIdVoidResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCreditNotesIdVoid.PostCreditNotesIdVoidRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCreditNotesIdVoid.PostCreditNotesIdVoidRequestBody
-- | Contains the different functions to run the operation
-- postCreditNotesId
module StripeAPI.Operations.PostCreditNotesId
-- |
-- POST /v1/credit_notes/{id}
--
--
-- <p>Updates an existing credit note.</p>
postCreditNotesId :: forall m. MonadHTTP m => Text -> Maybe PostCreditNotesIdRequestBody -> ClientT m (Response PostCreditNotesIdResponse)
-- | Defines the object schema located at
-- paths./v1/credit_notes/{id}.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostCreditNotesIdRequestBody
PostCreditNotesIdRequestBody :: Maybe [Text] -> Maybe Text -> Maybe Object -> PostCreditNotesIdRequestBody
-- | expand: Specifies which fields in the response should be expanded.
[postCreditNotesIdRequestBodyExpand] :: PostCreditNotesIdRequestBody -> Maybe [Text]
-- | memo: Credit note memo.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCreditNotesIdRequestBodyMemo] :: PostCreditNotesIdRequestBody -> Maybe Text
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postCreditNotesIdRequestBodyMetadata] :: PostCreditNotesIdRequestBody -> Maybe Object
-- | Create a new PostCreditNotesIdRequestBody with all required
-- fields.
mkPostCreditNotesIdRequestBody :: PostCreditNotesIdRequestBody
-- | Represents a response of the operation postCreditNotesId.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostCreditNotesIdResponseError is used.
data PostCreditNotesIdResponse
-- | Means either no matching case available or a parse error
PostCreditNotesIdResponseError :: String -> PostCreditNotesIdResponse
-- | Successful response.
PostCreditNotesIdResponse200 :: CreditNote -> PostCreditNotesIdResponse
-- | Error response.
PostCreditNotesIdResponseDefault :: Error -> PostCreditNotesIdResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostCreditNotesId.PostCreditNotesIdRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostCreditNotesId.PostCreditNotesIdRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostCreditNotesId.PostCreditNotesIdResponse
instance GHC.Show.Show StripeAPI.Operations.PostCreditNotesId.PostCreditNotesIdResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCreditNotesId.PostCreditNotesIdRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCreditNotesId.PostCreditNotesIdRequestBody
-- | Contains the different functions to run the operation postCreditNotes
module StripeAPI.Operations.PostCreditNotes
-- |
-- POST /v1/credit_notes
--
--
-- <p>Issue a credit note to adjust the amount of a finalized
-- invoice. For a <code>status=open</code> invoice, a credit
-- note reduces its <code>amount_due</code>. For a
-- <code>status=paid</code> invoice, a credit note does not
-- affect its <code>amount_due</code>. Instead, it can result
-- in any combination of the following:</p>
--
-- <ul> <li>Refund: create a new refund (using
-- <code>refund_amount</code>) or link an existing refund
-- (using <code>refund</code>).</li> <li>Customer
-- balance credit: credit the customer’s balance (using
-- <code>credit_amount</code>) which will be automatically
-- applied to their next invoice when it’s finalized.</li>
-- <li>Outside of Stripe credit: record the amount that is or will
-- be credited outside of Stripe (using
-- <code>out_of_band_amount</code>).</li> </ul>
--
-- <p>For post-payment credit notes the sum of the refund, credit
-- and outside of Stripe amounts must equal the credit note
-- total.</p>
--
-- <p>You may issue multiple credit notes for an invoice. Each
-- credit note will increment the invoice’s
-- <code>pre_payment_credit_notes_amount</code> or
-- <code>post_payment_credit_notes_amount</code> depending on
-- its <code>status</code> at the time of credit note
-- creation.</p>
postCreditNotes :: forall m. MonadHTTP m => PostCreditNotesRequestBody -> ClientT m (Response PostCreditNotesResponse)
-- | Defines the object schema located at
-- paths./v1/credit_notes.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostCreditNotesRequestBody
PostCreditNotesRequestBody :: Maybe Int -> Maybe Int -> Maybe [Text] -> Text -> Maybe [PostCreditNotesRequestBodyLines'] -> Maybe Text -> Maybe Object -> Maybe Int -> Maybe PostCreditNotesRequestBodyReason' -> Maybe Text -> Maybe Int -> PostCreditNotesRequestBody
-- | amount: The integer amount in %s representing the total amount of the
-- credit note.
[postCreditNotesRequestBodyAmount] :: PostCreditNotesRequestBody -> Maybe Int
-- | credit_amount: The integer amount in %s representing the amount to
-- credit the customer's balance, which will be automatically applied to
-- their next invoice.
[postCreditNotesRequestBodyCreditAmount] :: PostCreditNotesRequestBody -> Maybe Int
-- | expand: Specifies which fields in the response should be expanded.
[postCreditNotesRequestBodyExpand] :: PostCreditNotesRequestBody -> Maybe [Text]
-- | invoice: ID of the invoice.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCreditNotesRequestBodyInvoice] :: PostCreditNotesRequestBody -> Text
-- | lines: Line items that make up the credit note.
[postCreditNotesRequestBodyLines] :: PostCreditNotesRequestBody -> Maybe [PostCreditNotesRequestBodyLines']
-- | memo: The credit note's memo appears on the credit note PDF.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCreditNotesRequestBodyMemo] :: PostCreditNotesRequestBody -> Maybe Text
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postCreditNotesRequestBodyMetadata] :: PostCreditNotesRequestBody -> Maybe Object
-- | out_of_band_amount: The integer amount in %s representing the amount
-- that is credited outside of Stripe.
[postCreditNotesRequestBodyOutOfBandAmount] :: PostCreditNotesRequestBody -> Maybe Int
-- | reason: Reason for issuing this credit note, one of `duplicate`,
-- `fraudulent`, `order_change`, or `product_unsatisfactory`
[postCreditNotesRequestBodyReason] :: PostCreditNotesRequestBody -> Maybe PostCreditNotesRequestBodyReason'
-- | refund: ID of an existing refund to link this credit note to.
[postCreditNotesRequestBodyRefund] :: PostCreditNotesRequestBody -> Maybe Text
-- | refund_amount: The integer amount in %s representing the amount to
-- refund. If set, a refund will be created for the charge associated
-- with the invoice.
[postCreditNotesRequestBodyRefundAmount] :: PostCreditNotesRequestBody -> Maybe Int
-- | Create a new PostCreditNotesRequestBody with all required
-- fields.
mkPostCreditNotesRequestBody :: Text -> PostCreditNotesRequestBody
-- | Defines the object schema located at
-- paths./v1/credit_notes.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.lines.items
-- in the specification.
data PostCreditNotesRequestBodyLines'
PostCreditNotesRequestBodyLines' :: Maybe Int -> Maybe Text -> Maybe Text -> Maybe Int -> Maybe PostCreditNotesRequestBodyLines'TaxRates'Variants -> PostCreditNotesRequestBodyLines'Type' -> Maybe Int -> Maybe Text -> PostCreditNotesRequestBodyLines'
-- | amount
[postCreditNotesRequestBodyLines'Amount] :: PostCreditNotesRequestBodyLines' -> Maybe Int
-- | description
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCreditNotesRequestBodyLines'Description] :: PostCreditNotesRequestBodyLines' -> Maybe Text
-- | invoice_line_item
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCreditNotesRequestBodyLines'InvoiceLineItem] :: PostCreditNotesRequestBodyLines' -> Maybe Text
-- | quantity
[postCreditNotesRequestBodyLines'Quantity] :: PostCreditNotesRequestBodyLines' -> Maybe Int
-- | tax_rates
[postCreditNotesRequestBodyLines'TaxRates] :: PostCreditNotesRequestBodyLines' -> Maybe PostCreditNotesRequestBodyLines'TaxRates'Variants
-- | type
[postCreditNotesRequestBodyLines'Type] :: PostCreditNotesRequestBodyLines' -> PostCreditNotesRequestBodyLines'Type'
-- | unit_amount
[postCreditNotesRequestBodyLines'UnitAmount] :: PostCreditNotesRequestBodyLines' -> Maybe Int
-- | unit_amount_decimal
[postCreditNotesRequestBodyLines'UnitAmountDecimal] :: PostCreditNotesRequestBodyLines' -> Maybe Text
-- | Create a new PostCreditNotesRequestBodyLines' with all required
-- fields.
mkPostCreditNotesRequestBodyLines' :: PostCreditNotesRequestBodyLines'Type' -> PostCreditNotesRequestBodyLines'
-- | Defines the oneOf schema located at
-- paths./v1/credit_notes.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.lines.items.properties.tax_rates.anyOf
-- in the specification.
data PostCreditNotesRequestBodyLines'TaxRates'Variants
-- | Represents the JSON value ""
PostCreditNotesRequestBodyLines'TaxRates'EmptyString :: PostCreditNotesRequestBodyLines'TaxRates'Variants
PostCreditNotesRequestBodyLines'TaxRates'ListTText :: [Text] -> PostCreditNotesRequestBodyLines'TaxRates'Variants
-- | Defines the enum schema located at
-- paths./v1/credit_notes.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.lines.items.properties.type
-- in the specification.
data PostCreditNotesRequestBodyLines'Type'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostCreditNotesRequestBodyLines'Type'Other :: Value -> PostCreditNotesRequestBodyLines'Type'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostCreditNotesRequestBodyLines'Type'Typed :: Text -> PostCreditNotesRequestBodyLines'Type'
-- | Represents the JSON value "custom_line_item"
PostCreditNotesRequestBodyLines'Type'EnumCustomLineItem :: PostCreditNotesRequestBodyLines'Type'
-- | Represents the JSON value "invoice_line_item"
PostCreditNotesRequestBodyLines'Type'EnumInvoiceLineItem :: PostCreditNotesRequestBodyLines'Type'
-- | Defines the enum schema located at
-- paths./v1/credit_notes.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.reason
-- in the specification.
--
-- Reason for issuing this credit note, one of `duplicate`, `fraudulent`,
-- `order_change`, or `product_unsatisfactory`
data PostCreditNotesRequestBodyReason'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostCreditNotesRequestBodyReason'Other :: Value -> PostCreditNotesRequestBodyReason'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostCreditNotesRequestBodyReason'Typed :: Text -> PostCreditNotesRequestBodyReason'
-- | Represents the JSON value "duplicate"
PostCreditNotesRequestBodyReason'EnumDuplicate :: PostCreditNotesRequestBodyReason'
-- | Represents the JSON value "fraudulent"
PostCreditNotesRequestBodyReason'EnumFraudulent :: PostCreditNotesRequestBodyReason'
-- | Represents the JSON value "order_change"
PostCreditNotesRequestBodyReason'EnumOrderChange :: PostCreditNotesRequestBodyReason'
-- | Represents the JSON value "product_unsatisfactory"
PostCreditNotesRequestBodyReason'EnumProductUnsatisfactory :: PostCreditNotesRequestBodyReason'
-- | Represents a response of the operation postCreditNotes.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostCreditNotesResponseError is used.
data PostCreditNotesResponse
-- | Means either no matching case available or a parse error
PostCreditNotesResponseError :: String -> PostCreditNotesResponse
-- | Successful response.
PostCreditNotesResponse200 :: CreditNote -> PostCreditNotesResponse
-- | Error response.
PostCreditNotesResponseDefault :: Error -> PostCreditNotesResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostCreditNotes.PostCreditNotesRequestBodyLines'TaxRates'Variants
instance GHC.Show.Show StripeAPI.Operations.PostCreditNotes.PostCreditNotesRequestBodyLines'TaxRates'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostCreditNotes.PostCreditNotesRequestBodyLines'Type'
instance GHC.Show.Show StripeAPI.Operations.PostCreditNotes.PostCreditNotesRequestBodyLines'Type'
instance GHC.Classes.Eq StripeAPI.Operations.PostCreditNotes.PostCreditNotesRequestBodyLines'
instance GHC.Show.Show StripeAPI.Operations.PostCreditNotes.PostCreditNotesRequestBodyLines'
instance GHC.Classes.Eq StripeAPI.Operations.PostCreditNotes.PostCreditNotesRequestBodyReason'
instance GHC.Show.Show StripeAPI.Operations.PostCreditNotes.PostCreditNotesRequestBodyReason'
instance GHC.Classes.Eq StripeAPI.Operations.PostCreditNotes.PostCreditNotesRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostCreditNotes.PostCreditNotesRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostCreditNotes.PostCreditNotesResponse
instance GHC.Show.Show StripeAPI.Operations.PostCreditNotes.PostCreditNotesResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCreditNotes.PostCreditNotesRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCreditNotes.PostCreditNotesRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCreditNotes.PostCreditNotesRequestBodyReason'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCreditNotes.PostCreditNotesRequestBodyReason'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCreditNotes.PostCreditNotesRequestBodyLines'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCreditNotes.PostCreditNotesRequestBodyLines'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCreditNotes.PostCreditNotesRequestBodyLines'Type'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCreditNotes.PostCreditNotesRequestBodyLines'Type'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCreditNotes.PostCreditNotesRequestBodyLines'TaxRates'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCreditNotes.PostCreditNotesRequestBodyLines'TaxRates'Variants
-- | Contains the different functions to run the operation
-- postCouponsCoupon
module StripeAPI.Operations.PostCouponsCoupon
-- |
-- POST /v1/coupons/{coupon}
--
--
-- <p>Updates the metadata of a coupon. Other coupon details
-- (currency, duration, amount_off) are, by design, not
-- editable.</p>
postCouponsCoupon :: forall m. MonadHTTP m => Text -> Maybe PostCouponsCouponRequestBody -> ClientT m (Response PostCouponsCouponResponse)
-- | Defines the object schema located at
-- paths./v1/coupons/{coupon}.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostCouponsCouponRequestBody
PostCouponsCouponRequestBody :: Maybe [Text] -> Maybe PostCouponsCouponRequestBodyMetadata'Variants -> Maybe Text -> PostCouponsCouponRequestBody
-- | expand: Specifies which fields in the response should be expanded.
[postCouponsCouponRequestBodyExpand] :: PostCouponsCouponRequestBody -> Maybe [Text]
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postCouponsCouponRequestBodyMetadata] :: PostCouponsCouponRequestBody -> Maybe PostCouponsCouponRequestBodyMetadata'Variants
-- | name: Name of the coupon displayed to customers on, for instance
-- invoices, or receipts. By default the `id` is shown if `name` is not
-- set.
--
-- Constraints:
--
--
-- - Maximum length of 40
--
[postCouponsCouponRequestBodyName] :: PostCouponsCouponRequestBody -> Maybe Text
-- | Create a new PostCouponsCouponRequestBody with all required
-- fields.
mkPostCouponsCouponRequestBody :: PostCouponsCouponRequestBody
-- | Defines the oneOf schema located at
-- paths./v1/coupons/{coupon}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.metadata.anyOf
-- in the specification.
--
-- Set of key-value pairs that you can attach to an object. This
-- can be useful for storing additional information about the object in a
-- structured format. Individual keys can be unset by posting an empty
-- value to them. All keys can be unset by posting an empty value to
-- `metadata`.
data PostCouponsCouponRequestBodyMetadata'Variants
-- | Represents the JSON value ""
PostCouponsCouponRequestBodyMetadata'EmptyString :: PostCouponsCouponRequestBodyMetadata'Variants
PostCouponsCouponRequestBodyMetadata'Object :: Object -> PostCouponsCouponRequestBodyMetadata'Variants
-- | Represents a response of the operation postCouponsCoupon.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostCouponsCouponResponseError is used.
data PostCouponsCouponResponse
-- | Means either no matching case available or a parse error
PostCouponsCouponResponseError :: String -> PostCouponsCouponResponse
-- | Successful response.
PostCouponsCouponResponse200 :: Coupon -> PostCouponsCouponResponse
-- | Error response.
PostCouponsCouponResponseDefault :: Error -> PostCouponsCouponResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostCouponsCoupon.PostCouponsCouponRequestBodyMetadata'Variants
instance GHC.Show.Show StripeAPI.Operations.PostCouponsCoupon.PostCouponsCouponRequestBodyMetadata'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostCouponsCoupon.PostCouponsCouponRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostCouponsCoupon.PostCouponsCouponRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostCouponsCoupon.PostCouponsCouponResponse
instance GHC.Show.Show StripeAPI.Operations.PostCouponsCoupon.PostCouponsCouponResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCouponsCoupon.PostCouponsCouponRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCouponsCoupon.PostCouponsCouponRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCouponsCoupon.PostCouponsCouponRequestBodyMetadata'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCouponsCoupon.PostCouponsCouponRequestBodyMetadata'Variants
-- | Contains the different functions to run the operation postCoupons
module StripeAPI.Operations.PostCoupons
-- |
-- POST /v1/coupons
--
--
-- <p>You can create coupons easily via the <a
-- href="https://dashboard.stripe.com/coupons">coupon
-- management</a> page of the Stripe dashboard. Coupon creation is
-- also accessible via the API if you need to create coupons on the
-- fly.</p>
--
-- <p>A coupon has either a <code>percent_off</code> or
-- an <code>amount_off</code> and
-- <code>currency</code>. If you set an
-- <code>amount_off</code>, that amount will be subtracted
-- from any invoice’s subtotal. For example, an invoice with a subtotal
-- of <currency>100</currency> will have a final total of
-- <currency>0</currency> if a coupon with an
-- <code>amount_off</code> of
-- <amount>200</amount> is applied to it and an invoice with
-- a subtotal of <currency>300</currency> will have a final
-- total of <currency>100</currency> if a coupon with an
-- <code>amount_off</code> of
-- <amount>200</amount> is applied to it.</p>
postCoupons :: forall m. MonadHTTP m => Maybe PostCouponsRequestBody -> ClientT m (Response PostCouponsResponse)
-- | Defines the object schema located at
-- paths./v1/coupons.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostCouponsRequestBody
PostCouponsRequestBody :: Maybe Int -> Maybe PostCouponsRequestBodyAppliesTo' -> Maybe Text -> Maybe PostCouponsRequestBodyDuration' -> Maybe Int -> Maybe [Text] -> Maybe Text -> Maybe Int -> Maybe PostCouponsRequestBodyMetadata'Variants -> Maybe Text -> Maybe Double -> Maybe Int -> PostCouponsRequestBody
-- | amount_off: A positive integer representing the amount to subtract
-- from an invoice total (required if `percent_off` is not passed).
[postCouponsRequestBodyAmountOff] :: PostCouponsRequestBody -> Maybe Int
-- | applies_to: A hash containing directions for what this Coupon will
-- apply discounts to.
[postCouponsRequestBodyAppliesTo] :: PostCouponsRequestBody -> Maybe PostCouponsRequestBodyAppliesTo'
-- | currency: Three-letter ISO code for the currency of the
-- `amount_off` parameter (required if `amount_off` is passed).
[postCouponsRequestBodyCurrency] :: PostCouponsRequestBody -> Maybe Text
-- | duration: Specifies how long the discount will be in effect if used on
-- a subscription. Can be `forever`, `once`, or `repeating`. Defaults to
-- `once`.
[postCouponsRequestBodyDuration] :: PostCouponsRequestBody -> Maybe PostCouponsRequestBodyDuration'
-- | duration_in_months: Required only if `duration` is `repeating`, in
-- which case it must be a positive integer that specifies the number of
-- months the discount will be in effect.
[postCouponsRequestBodyDurationInMonths] :: PostCouponsRequestBody -> Maybe Int
-- | expand: Specifies which fields in the response should be expanded.
[postCouponsRequestBodyExpand] :: PostCouponsRequestBody -> Maybe [Text]
-- | id: Unique string of your choice that will be used to identify this
-- coupon when applying it to a customer. If you don't want to specify a
-- particular code, you can leave the ID blank and we'll generate a
-- random code for you.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCouponsRequestBodyId] :: PostCouponsRequestBody -> Maybe Text
-- | max_redemptions: A positive integer specifying the number of times the
-- coupon can be redeemed before it's no longer valid. For example, you
-- might have a 50% off coupon that the first 20 readers of your blog can
-- use.
[postCouponsRequestBodyMaxRedemptions] :: PostCouponsRequestBody -> Maybe Int
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postCouponsRequestBodyMetadata] :: PostCouponsRequestBody -> Maybe PostCouponsRequestBodyMetadata'Variants
-- | name: Name of the coupon displayed to customers on, for instance
-- invoices, or receipts. By default the `id` is shown if `name` is not
-- set.
--
-- Constraints:
--
--
-- - Maximum length of 40
--
[postCouponsRequestBodyName] :: PostCouponsRequestBody -> Maybe Text
-- | percent_off: A positive float larger than 0, and smaller or equal to
-- 100, that represents the discount the coupon will apply (required if
-- `amount_off` is not passed).
[postCouponsRequestBodyPercentOff] :: PostCouponsRequestBody -> Maybe Double
-- | redeem_by: Unix timestamp specifying the last time at which the coupon
-- can be redeemed. After the redeem_by date, the coupon can no longer be
-- applied to new customers.
[postCouponsRequestBodyRedeemBy] :: PostCouponsRequestBody -> Maybe Int
-- | Create a new PostCouponsRequestBody with all required fields.
mkPostCouponsRequestBody :: PostCouponsRequestBody
-- | Defines the object schema located at
-- paths./v1/coupons.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.applies_to
-- in the specification.
--
-- A hash containing directions for what this Coupon will apply discounts
-- to.
data PostCouponsRequestBodyAppliesTo'
PostCouponsRequestBodyAppliesTo' :: Maybe [Text] -> PostCouponsRequestBodyAppliesTo'
-- | products
[postCouponsRequestBodyAppliesTo'Products] :: PostCouponsRequestBodyAppliesTo' -> Maybe [Text]
-- | Create a new PostCouponsRequestBodyAppliesTo' with all required
-- fields.
mkPostCouponsRequestBodyAppliesTo' :: PostCouponsRequestBodyAppliesTo'
-- | Defines the enum schema located at
-- paths./v1/coupons.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.duration
-- in the specification.
--
-- Specifies how long the discount will be in effect if used on a
-- subscription. Can be `forever`, `once`, or `repeating`. Defaults to
-- `once`.
data PostCouponsRequestBodyDuration'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostCouponsRequestBodyDuration'Other :: Value -> PostCouponsRequestBodyDuration'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostCouponsRequestBodyDuration'Typed :: Text -> PostCouponsRequestBodyDuration'
-- | Represents the JSON value "forever"
PostCouponsRequestBodyDuration'EnumForever :: PostCouponsRequestBodyDuration'
-- | Represents the JSON value "once"
PostCouponsRequestBodyDuration'EnumOnce :: PostCouponsRequestBodyDuration'
-- | Represents the JSON value "repeating"
PostCouponsRequestBodyDuration'EnumRepeating :: PostCouponsRequestBodyDuration'
-- | Defines the oneOf schema located at
-- paths./v1/coupons.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.metadata.anyOf
-- in the specification.
--
-- Set of key-value pairs that you can attach to an object. This
-- can be useful for storing additional information about the object in a
-- structured format. Individual keys can be unset by posting an empty
-- value to them. All keys can be unset by posting an empty value to
-- `metadata`.
data PostCouponsRequestBodyMetadata'Variants
-- | Represents the JSON value ""
PostCouponsRequestBodyMetadata'EmptyString :: PostCouponsRequestBodyMetadata'Variants
PostCouponsRequestBodyMetadata'Object :: Object -> PostCouponsRequestBodyMetadata'Variants
-- | Represents a response of the operation postCoupons.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostCouponsResponseError is used.
data PostCouponsResponse
-- | Means either no matching case available or a parse error
PostCouponsResponseError :: String -> PostCouponsResponse
-- | Successful response.
PostCouponsResponse200 :: Coupon -> PostCouponsResponse
-- | Error response.
PostCouponsResponseDefault :: Error -> PostCouponsResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostCoupons.PostCouponsRequestBodyAppliesTo'
instance GHC.Show.Show StripeAPI.Operations.PostCoupons.PostCouponsRequestBodyAppliesTo'
instance GHC.Classes.Eq StripeAPI.Operations.PostCoupons.PostCouponsRequestBodyDuration'
instance GHC.Show.Show StripeAPI.Operations.PostCoupons.PostCouponsRequestBodyDuration'
instance GHC.Classes.Eq StripeAPI.Operations.PostCoupons.PostCouponsRequestBodyMetadata'Variants
instance GHC.Show.Show StripeAPI.Operations.PostCoupons.PostCouponsRequestBodyMetadata'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostCoupons.PostCouponsRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostCoupons.PostCouponsRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostCoupons.PostCouponsResponse
instance GHC.Show.Show StripeAPI.Operations.PostCoupons.PostCouponsResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCoupons.PostCouponsRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCoupons.PostCouponsRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCoupons.PostCouponsRequestBodyMetadata'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCoupons.PostCouponsRequestBodyMetadata'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCoupons.PostCouponsRequestBodyDuration'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCoupons.PostCouponsRequestBodyDuration'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCoupons.PostCouponsRequestBodyAppliesTo'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCoupons.PostCouponsRequestBodyAppliesTo'
-- | Contains the different functions to run the operation
-- postCheckoutSessions
module StripeAPI.Operations.PostCheckoutSessions
-- |
-- POST /v1/checkout/sessions
--
--
-- <p>Creates a Session object.</p>
postCheckoutSessions :: forall m. MonadHTTP m => PostCheckoutSessionsRequestBody -> ClientT m (Response PostCheckoutSessionsResponse)
-- | Defines the object schema located at
-- paths./v1/checkout/sessions.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostCheckoutSessionsRequestBody
PostCheckoutSessionsRequestBody :: Maybe Bool -> Maybe PostCheckoutSessionsRequestBodyAutomaticTax' -> Maybe PostCheckoutSessionsRequestBodyBillingAddressCollection' -> Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe PostCheckoutSessionsRequestBodyCustomerUpdate' -> Maybe [PostCheckoutSessionsRequestBodyDiscounts'] -> Maybe [Text] -> Maybe [PostCheckoutSessionsRequestBodyLineItems'] -> Maybe PostCheckoutSessionsRequestBodyLocale' -> Maybe Object -> Maybe PostCheckoutSessionsRequestBodyMode' -> Maybe PostCheckoutSessionsRequestBodyPaymentIntentData' -> Maybe PostCheckoutSessionsRequestBodyPaymentMethodOptions' -> Maybe [PostCheckoutSessionsRequestBodyPaymentMethodTypes'] -> Maybe PostCheckoutSessionsRequestBodySetupIntentData' -> Maybe PostCheckoutSessionsRequestBodyShippingAddressCollection' -> Maybe [Text] -> Maybe PostCheckoutSessionsRequestBodySubmitType' -> Maybe PostCheckoutSessionsRequestBodySubscriptionData' -> Text -> Maybe PostCheckoutSessionsRequestBodyTaxIdCollection' -> PostCheckoutSessionsRequestBody
-- | allow_promotion_codes: Enables user redeemable promotion codes.
[postCheckoutSessionsRequestBodyAllowPromotionCodes] :: PostCheckoutSessionsRequestBody -> Maybe Bool
-- | automatic_tax
[postCheckoutSessionsRequestBodyAutomaticTax] :: PostCheckoutSessionsRequestBody -> Maybe PostCheckoutSessionsRequestBodyAutomaticTax'
-- | billing_address_collection: Specify whether Checkout should collect
-- the customer's billing address.
[postCheckoutSessionsRequestBodyBillingAddressCollection] :: PostCheckoutSessionsRequestBody -> Maybe PostCheckoutSessionsRequestBodyBillingAddressCollection'
-- | cancel_url: The URL the customer will be directed to if they decide to
-- cancel payment and return to your website.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCheckoutSessionsRequestBodyCancelUrl] :: PostCheckoutSessionsRequestBody -> Text
-- | client_reference_id: A unique string to reference the Checkout
-- Session. This can be a customer ID, a cart ID, or similar, and can be
-- used to reconcile the session with your internal systems.
--
-- Constraints:
--
--
-- - Maximum length of 200
--
[postCheckoutSessionsRequestBodyClientReferenceId] :: PostCheckoutSessionsRequestBody -> Maybe Text
-- | customer: ID of an existing Customer, if one exists. In `payment`
-- mode, the customer’s most recent card payment method will be used to
-- prefill the email, name, card details, and billing address on the
-- Checkout page. In `subscription` mode, the customer’s default
-- payment method will be used if it’s a card, and otherwise the most
-- recent card will be used. A valid billing address is required for
-- Checkout to prefill the customer's card details.
--
-- If the customer changes their email on the Checkout page, the Customer
-- object will be updated with the new email.
--
-- If blank for Checkout Sessions in `payment` or `subscription` mode,
-- Checkout will create a new Customer object based on information
-- provided during the payment flow.
--
-- You can set `payment_intent_data.setup_future_usage` to have
-- Checkout automatically attach the payment method to the Customer you
-- pass in for future reuse.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCheckoutSessionsRequestBodyCustomer] :: PostCheckoutSessionsRequestBody -> Maybe Text
-- | customer_email: If provided, this value will be used when the Customer
-- object is created. If not provided, customers will be asked to enter
-- their email address. Use this parameter to prefill customer data if
-- you already have an email on file. To access information about the
-- customer once a session is complete, use the `customer` field.
[postCheckoutSessionsRequestBodyCustomerEmail] :: PostCheckoutSessionsRequestBody -> Maybe Text
-- | customer_update: Controls what fields on Customer can be updated by
-- the Checkout Session. Can only be provided when `customer` is
-- provided.
[postCheckoutSessionsRequestBodyCustomerUpdate] :: PostCheckoutSessionsRequestBody -> Maybe PostCheckoutSessionsRequestBodyCustomerUpdate'
-- | discounts: The coupon or promotion code to apply to this Session.
-- Currently, only up to one may be specified.
[postCheckoutSessionsRequestBodyDiscounts] :: PostCheckoutSessionsRequestBody -> Maybe [PostCheckoutSessionsRequestBodyDiscounts']
-- | expand: Specifies which fields in the response should be expanded.
[postCheckoutSessionsRequestBodyExpand] :: PostCheckoutSessionsRequestBody -> Maybe [Text]
-- | line_items: A list of items the customer is purchasing. Use this
-- parameter to pass one-time or recurring Prices.
--
-- For `payment` mode, there is a maximum of 100 line items, however it
-- is recommended to consolidate line items if there are more than a few
-- dozen.
--
-- For `subscription` mode, there is a maximum of 20 line items with
-- recurring Prices and 20 line items with one-time Prices. Line items
-- with one-time Prices in will be on the initial invoice only.
[postCheckoutSessionsRequestBodyLineItems] :: PostCheckoutSessionsRequestBody -> Maybe [PostCheckoutSessionsRequestBodyLineItems']
-- | locale: The IETF language tag of the locale Checkout is displayed in.
-- If blank or `auto`, the browser's locale is used.
[postCheckoutSessionsRequestBodyLocale] :: PostCheckoutSessionsRequestBody -> Maybe PostCheckoutSessionsRequestBodyLocale'
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postCheckoutSessionsRequestBodyMetadata] :: PostCheckoutSessionsRequestBody -> Maybe Object
-- | mode: The mode of the Checkout Session. Required when using prices or
-- `setup` mode. Pass `subscription` if the Checkout Session includes at
-- least one recurring item.
[postCheckoutSessionsRequestBodyMode] :: PostCheckoutSessionsRequestBody -> Maybe PostCheckoutSessionsRequestBodyMode'
-- | payment_intent_data: A subset of parameters to be passed to
-- PaymentIntent creation for Checkout Sessions in `payment` mode.
[postCheckoutSessionsRequestBodyPaymentIntentData] :: PostCheckoutSessionsRequestBody -> Maybe PostCheckoutSessionsRequestBodyPaymentIntentData'
-- | payment_method_options: Payment-method-specific configuration.
[postCheckoutSessionsRequestBodyPaymentMethodOptions] :: PostCheckoutSessionsRequestBody -> Maybe PostCheckoutSessionsRequestBodyPaymentMethodOptions'
-- | payment_method_types: A list of the types of payment methods (e.g.,
-- `card`) this Checkout Session can accept.
--
-- Read more about the supported payment methods and their requirements
-- in our payment method details guide.
--
-- If multiple payment methods are passed, Checkout will dynamically
-- reorder them to prioritize the most relevant payment methods based on
-- the customer's location and other characteristics.
[postCheckoutSessionsRequestBodyPaymentMethodTypes] :: PostCheckoutSessionsRequestBody -> Maybe [PostCheckoutSessionsRequestBodyPaymentMethodTypes']
-- | setup_intent_data: A subset of parameters to be passed to SetupIntent
-- creation for Checkout Sessions in `setup` mode.
[postCheckoutSessionsRequestBodySetupIntentData] :: PostCheckoutSessionsRequestBody -> Maybe PostCheckoutSessionsRequestBodySetupIntentData'
-- | shipping_address_collection: When set, provides configuration for
-- Checkout to collect a shipping address from a customer.
[postCheckoutSessionsRequestBodyShippingAddressCollection] :: PostCheckoutSessionsRequestBody -> Maybe PostCheckoutSessionsRequestBodyShippingAddressCollection'
-- | shipping_rates: The shipping rate to apply to this Session. Currently,
-- only up to one may be specified
[postCheckoutSessionsRequestBodyShippingRates] :: PostCheckoutSessionsRequestBody -> Maybe [Text]
-- | submit_type: Describes the type of transaction being performed by
-- Checkout in order to customize relevant text on the page, such as the
-- submit button. `submit_type` can only be specified on Checkout
-- Sessions in `payment` mode, but not Checkout Sessions in
-- `subscription` or `setup` mode.
[postCheckoutSessionsRequestBodySubmitType] :: PostCheckoutSessionsRequestBody -> Maybe PostCheckoutSessionsRequestBodySubmitType'
-- | subscription_data: A subset of parameters to be passed to subscription
-- creation for Checkout Sessions in `subscription` mode.
[postCheckoutSessionsRequestBodySubscriptionData] :: PostCheckoutSessionsRequestBody -> Maybe PostCheckoutSessionsRequestBodySubscriptionData'
-- | success_url: The URL to which Stripe should send customers when
-- payment or setup is complete. If you’d like access to the Checkout
-- Session for the successful payment, read more about it in the guide on
-- fulfilling orders.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCheckoutSessionsRequestBodySuccessUrl] :: PostCheckoutSessionsRequestBody -> Text
-- | tax_id_collection: Controls tax ID collection settings for the
-- session.
[postCheckoutSessionsRequestBodyTaxIdCollection] :: PostCheckoutSessionsRequestBody -> Maybe PostCheckoutSessionsRequestBodyTaxIdCollection'
-- | Create a new PostCheckoutSessionsRequestBody with all required
-- fields.
mkPostCheckoutSessionsRequestBody :: Text -> Text -> PostCheckoutSessionsRequestBody
-- | Defines the object schema located at
-- paths./v1/checkout/sessions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.automatic_tax
-- in the specification.
data PostCheckoutSessionsRequestBodyAutomaticTax'
PostCheckoutSessionsRequestBodyAutomaticTax' :: Bool -> PostCheckoutSessionsRequestBodyAutomaticTax'
-- | enabled
[postCheckoutSessionsRequestBodyAutomaticTax'Enabled] :: PostCheckoutSessionsRequestBodyAutomaticTax' -> Bool
-- | Create a new PostCheckoutSessionsRequestBodyAutomaticTax' with
-- all required fields.
mkPostCheckoutSessionsRequestBodyAutomaticTax' :: Bool -> PostCheckoutSessionsRequestBodyAutomaticTax'
-- | Defines the enum schema located at
-- paths./v1/checkout/sessions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.billing_address_collection
-- in the specification.
--
-- Specify whether Checkout should collect the customer's billing
-- address.
data PostCheckoutSessionsRequestBodyBillingAddressCollection'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostCheckoutSessionsRequestBodyBillingAddressCollection'Other :: Value -> PostCheckoutSessionsRequestBodyBillingAddressCollection'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostCheckoutSessionsRequestBodyBillingAddressCollection'Typed :: Text -> PostCheckoutSessionsRequestBodyBillingAddressCollection'
-- | Represents the JSON value "auto"
PostCheckoutSessionsRequestBodyBillingAddressCollection'EnumAuto :: PostCheckoutSessionsRequestBodyBillingAddressCollection'
-- | Represents the JSON value "required"
PostCheckoutSessionsRequestBodyBillingAddressCollection'EnumRequired :: PostCheckoutSessionsRequestBodyBillingAddressCollection'
-- | Defines the object schema located at
-- paths./v1/checkout/sessions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.customer_update
-- in the specification.
--
-- Controls what fields on Customer can be updated by the Checkout
-- Session. Can only be provided when `customer` is provided.
data PostCheckoutSessionsRequestBodyCustomerUpdate'
PostCheckoutSessionsRequestBodyCustomerUpdate' :: Maybe PostCheckoutSessionsRequestBodyCustomerUpdate'Address' -> Maybe PostCheckoutSessionsRequestBodyCustomerUpdate'Name' -> Maybe PostCheckoutSessionsRequestBodyCustomerUpdate'Shipping' -> PostCheckoutSessionsRequestBodyCustomerUpdate'
-- | address
[postCheckoutSessionsRequestBodyCustomerUpdate'Address] :: PostCheckoutSessionsRequestBodyCustomerUpdate' -> Maybe PostCheckoutSessionsRequestBodyCustomerUpdate'Address'
-- | name
[postCheckoutSessionsRequestBodyCustomerUpdate'Name] :: PostCheckoutSessionsRequestBodyCustomerUpdate' -> Maybe PostCheckoutSessionsRequestBodyCustomerUpdate'Name'
-- | shipping
[postCheckoutSessionsRequestBodyCustomerUpdate'Shipping] :: PostCheckoutSessionsRequestBodyCustomerUpdate' -> Maybe PostCheckoutSessionsRequestBodyCustomerUpdate'Shipping'
-- | Create a new PostCheckoutSessionsRequestBodyCustomerUpdate'
-- with all required fields.
mkPostCheckoutSessionsRequestBodyCustomerUpdate' :: PostCheckoutSessionsRequestBodyCustomerUpdate'
-- | Defines the enum schema located at
-- paths./v1/checkout/sessions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.customer_update.properties.address
-- in the specification.
data PostCheckoutSessionsRequestBodyCustomerUpdate'Address'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostCheckoutSessionsRequestBodyCustomerUpdate'Address'Other :: Value -> PostCheckoutSessionsRequestBodyCustomerUpdate'Address'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostCheckoutSessionsRequestBodyCustomerUpdate'Address'Typed :: Text -> PostCheckoutSessionsRequestBodyCustomerUpdate'Address'
-- | Represents the JSON value "auto"
PostCheckoutSessionsRequestBodyCustomerUpdate'Address'EnumAuto :: PostCheckoutSessionsRequestBodyCustomerUpdate'Address'
-- | Represents the JSON value "never"
PostCheckoutSessionsRequestBodyCustomerUpdate'Address'EnumNever :: PostCheckoutSessionsRequestBodyCustomerUpdate'Address'
-- | Defines the enum schema located at
-- paths./v1/checkout/sessions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.customer_update.properties.name
-- in the specification.
data PostCheckoutSessionsRequestBodyCustomerUpdate'Name'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostCheckoutSessionsRequestBodyCustomerUpdate'Name'Other :: Value -> PostCheckoutSessionsRequestBodyCustomerUpdate'Name'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostCheckoutSessionsRequestBodyCustomerUpdate'Name'Typed :: Text -> PostCheckoutSessionsRequestBodyCustomerUpdate'Name'
-- | Represents the JSON value "auto"
PostCheckoutSessionsRequestBodyCustomerUpdate'Name'EnumAuto :: PostCheckoutSessionsRequestBodyCustomerUpdate'Name'
-- | Represents the JSON value "never"
PostCheckoutSessionsRequestBodyCustomerUpdate'Name'EnumNever :: PostCheckoutSessionsRequestBodyCustomerUpdate'Name'
-- | Defines the enum schema located at
-- paths./v1/checkout/sessions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.customer_update.properties.shipping
-- in the specification.
data PostCheckoutSessionsRequestBodyCustomerUpdate'Shipping'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostCheckoutSessionsRequestBodyCustomerUpdate'Shipping'Other :: Value -> PostCheckoutSessionsRequestBodyCustomerUpdate'Shipping'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostCheckoutSessionsRequestBodyCustomerUpdate'Shipping'Typed :: Text -> PostCheckoutSessionsRequestBodyCustomerUpdate'Shipping'
-- | Represents the JSON value "auto"
PostCheckoutSessionsRequestBodyCustomerUpdate'Shipping'EnumAuto :: PostCheckoutSessionsRequestBodyCustomerUpdate'Shipping'
-- | Represents the JSON value "never"
PostCheckoutSessionsRequestBodyCustomerUpdate'Shipping'EnumNever :: PostCheckoutSessionsRequestBodyCustomerUpdate'Shipping'
-- | Defines the object schema located at
-- paths./v1/checkout/sessions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.discounts.items
-- in the specification.
data PostCheckoutSessionsRequestBodyDiscounts'
PostCheckoutSessionsRequestBodyDiscounts' :: Maybe Text -> Maybe Text -> PostCheckoutSessionsRequestBodyDiscounts'
-- | coupon
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCheckoutSessionsRequestBodyDiscounts'Coupon] :: PostCheckoutSessionsRequestBodyDiscounts' -> Maybe Text
-- | promotion_code
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCheckoutSessionsRequestBodyDiscounts'PromotionCode] :: PostCheckoutSessionsRequestBodyDiscounts' -> Maybe Text
-- | Create a new PostCheckoutSessionsRequestBodyDiscounts' with all
-- required fields.
mkPostCheckoutSessionsRequestBodyDiscounts' :: PostCheckoutSessionsRequestBodyDiscounts'
-- | Defines the object schema located at
-- paths./v1/checkout/sessions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.line_items.items
-- in the specification.
data PostCheckoutSessionsRequestBodyLineItems'
PostCheckoutSessionsRequestBodyLineItems' :: Maybe PostCheckoutSessionsRequestBodyLineItems'AdjustableQuantity' -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe [Text] -> Maybe [Text] -> Maybe Text -> Maybe Text -> Maybe PostCheckoutSessionsRequestBodyLineItems'PriceData' -> Maybe Int -> Maybe [Text] -> PostCheckoutSessionsRequestBodyLineItems'
-- | adjustable_quantity
[postCheckoutSessionsRequestBodyLineItems'AdjustableQuantity] :: PostCheckoutSessionsRequestBodyLineItems' -> Maybe PostCheckoutSessionsRequestBodyLineItems'AdjustableQuantity'
-- | amount
[postCheckoutSessionsRequestBodyLineItems'Amount] :: PostCheckoutSessionsRequestBodyLineItems' -> Maybe Int
-- | currency
[postCheckoutSessionsRequestBodyLineItems'Currency] :: PostCheckoutSessionsRequestBodyLineItems' -> Maybe Text
-- | description
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCheckoutSessionsRequestBodyLineItems'Description] :: PostCheckoutSessionsRequestBodyLineItems' -> Maybe Text
-- | dynamic_tax_rates
[postCheckoutSessionsRequestBodyLineItems'DynamicTaxRates] :: PostCheckoutSessionsRequestBodyLineItems' -> Maybe [Text]
-- | images
[postCheckoutSessionsRequestBodyLineItems'Images] :: PostCheckoutSessionsRequestBodyLineItems' -> Maybe [Text]
-- | name
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCheckoutSessionsRequestBodyLineItems'Name] :: PostCheckoutSessionsRequestBodyLineItems' -> Maybe Text
-- | price
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCheckoutSessionsRequestBodyLineItems'Price] :: PostCheckoutSessionsRequestBodyLineItems' -> Maybe Text
-- | price_data
[postCheckoutSessionsRequestBodyLineItems'PriceData] :: PostCheckoutSessionsRequestBodyLineItems' -> Maybe PostCheckoutSessionsRequestBodyLineItems'PriceData'
-- | quantity
[postCheckoutSessionsRequestBodyLineItems'Quantity] :: PostCheckoutSessionsRequestBodyLineItems' -> Maybe Int
-- | tax_rates
[postCheckoutSessionsRequestBodyLineItems'TaxRates] :: PostCheckoutSessionsRequestBodyLineItems' -> Maybe [Text]
-- | Create a new PostCheckoutSessionsRequestBodyLineItems' with all
-- required fields.
mkPostCheckoutSessionsRequestBodyLineItems' :: PostCheckoutSessionsRequestBodyLineItems'
-- | Defines the object schema located at
-- paths./v1/checkout/sessions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.line_items.items.properties.adjustable_quantity
-- in the specification.
data PostCheckoutSessionsRequestBodyLineItems'AdjustableQuantity'
PostCheckoutSessionsRequestBodyLineItems'AdjustableQuantity' :: Bool -> Maybe Int -> Maybe Int -> PostCheckoutSessionsRequestBodyLineItems'AdjustableQuantity'
-- | enabled
[postCheckoutSessionsRequestBodyLineItems'AdjustableQuantity'Enabled] :: PostCheckoutSessionsRequestBodyLineItems'AdjustableQuantity' -> Bool
-- | maximum
[postCheckoutSessionsRequestBodyLineItems'AdjustableQuantity'Maximum] :: PostCheckoutSessionsRequestBodyLineItems'AdjustableQuantity' -> Maybe Int
-- | minimum
[postCheckoutSessionsRequestBodyLineItems'AdjustableQuantity'Minimum] :: PostCheckoutSessionsRequestBodyLineItems'AdjustableQuantity' -> Maybe Int
-- | Create a new
-- PostCheckoutSessionsRequestBodyLineItems'AdjustableQuantity'
-- with all required fields.
mkPostCheckoutSessionsRequestBodyLineItems'AdjustableQuantity' :: Bool -> PostCheckoutSessionsRequestBodyLineItems'AdjustableQuantity'
-- | Defines the object schema located at
-- paths./v1/checkout/sessions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.line_items.items.properties.price_data
-- in the specification.
data PostCheckoutSessionsRequestBodyLineItems'PriceData'
PostCheckoutSessionsRequestBodyLineItems'PriceData' :: Text -> Maybe Text -> Maybe PostCheckoutSessionsRequestBodyLineItems'PriceData'ProductData' -> Maybe PostCheckoutSessionsRequestBodyLineItems'PriceData'Recurring' -> Maybe PostCheckoutSessionsRequestBodyLineItems'PriceData'TaxBehavior' -> Maybe Int -> Maybe Text -> PostCheckoutSessionsRequestBodyLineItems'PriceData'
-- | currency
[postCheckoutSessionsRequestBodyLineItems'PriceData'Currency] :: PostCheckoutSessionsRequestBodyLineItems'PriceData' -> Text
-- | product
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCheckoutSessionsRequestBodyLineItems'PriceData'Product] :: PostCheckoutSessionsRequestBodyLineItems'PriceData' -> Maybe Text
-- | product_data
[postCheckoutSessionsRequestBodyLineItems'PriceData'ProductData] :: PostCheckoutSessionsRequestBodyLineItems'PriceData' -> Maybe PostCheckoutSessionsRequestBodyLineItems'PriceData'ProductData'
-- | recurring
[postCheckoutSessionsRequestBodyLineItems'PriceData'Recurring] :: PostCheckoutSessionsRequestBodyLineItems'PriceData' -> Maybe PostCheckoutSessionsRequestBodyLineItems'PriceData'Recurring'
-- | tax_behavior
[postCheckoutSessionsRequestBodyLineItems'PriceData'TaxBehavior] :: PostCheckoutSessionsRequestBodyLineItems'PriceData' -> Maybe PostCheckoutSessionsRequestBodyLineItems'PriceData'TaxBehavior'
-- | unit_amount
[postCheckoutSessionsRequestBodyLineItems'PriceData'UnitAmount] :: PostCheckoutSessionsRequestBodyLineItems'PriceData' -> Maybe Int
-- | unit_amount_decimal
[postCheckoutSessionsRequestBodyLineItems'PriceData'UnitAmountDecimal] :: PostCheckoutSessionsRequestBodyLineItems'PriceData' -> Maybe Text
-- | Create a new
-- PostCheckoutSessionsRequestBodyLineItems'PriceData' with all
-- required fields.
mkPostCheckoutSessionsRequestBodyLineItems'PriceData' :: Text -> PostCheckoutSessionsRequestBodyLineItems'PriceData'
-- | Defines the object schema located at
-- paths./v1/checkout/sessions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.line_items.items.properties.price_data.properties.product_data
-- in the specification.
data PostCheckoutSessionsRequestBodyLineItems'PriceData'ProductData'
PostCheckoutSessionsRequestBodyLineItems'PriceData'ProductData' :: Maybe Text -> Maybe [Text] -> Maybe Object -> Text -> Maybe Text -> PostCheckoutSessionsRequestBodyLineItems'PriceData'ProductData'
-- | description
--
-- Constraints:
--
--
-- - Maximum length of 40000
--
[postCheckoutSessionsRequestBodyLineItems'PriceData'ProductData'Description] :: PostCheckoutSessionsRequestBodyLineItems'PriceData'ProductData' -> Maybe Text
-- | images
[postCheckoutSessionsRequestBodyLineItems'PriceData'ProductData'Images] :: PostCheckoutSessionsRequestBodyLineItems'PriceData'ProductData' -> Maybe [Text]
-- | metadata
[postCheckoutSessionsRequestBodyLineItems'PriceData'ProductData'Metadata] :: PostCheckoutSessionsRequestBodyLineItems'PriceData'ProductData' -> Maybe Object
-- | name
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCheckoutSessionsRequestBodyLineItems'PriceData'ProductData'Name] :: PostCheckoutSessionsRequestBodyLineItems'PriceData'ProductData' -> Text
-- | tax_code
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCheckoutSessionsRequestBodyLineItems'PriceData'ProductData'TaxCode] :: PostCheckoutSessionsRequestBodyLineItems'PriceData'ProductData' -> Maybe Text
-- | Create a new
-- PostCheckoutSessionsRequestBodyLineItems'PriceData'ProductData'
-- with all required fields.
mkPostCheckoutSessionsRequestBodyLineItems'PriceData'ProductData' :: Text -> PostCheckoutSessionsRequestBodyLineItems'PriceData'ProductData'
-- | Defines the object schema located at
-- paths./v1/checkout/sessions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.line_items.items.properties.price_data.properties.recurring
-- in the specification.
data PostCheckoutSessionsRequestBodyLineItems'PriceData'Recurring'
PostCheckoutSessionsRequestBodyLineItems'PriceData'Recurring' :: PostCheckoutSessionsRequestBodyLineItems'PriceData'Recurring'Interval' -> Maybe Int -> PostCheckoutSessionsRequestBodyLineItems'PriceData'Recurring'
-- | interval
[postCheckoutSessionsRequestBodyLineItems'PriceData'Recurring'Interval] :: PostCheckoutSessionsRequestBodyLineItems'PriceData'Recurring' -> PostCheckoutSessionsRequestBodyLineItems'PriceData'Recurring'Interval'
-- | interval_count
[postCheckoutSessionsRequestBodyLineItems'PriceData'Recurring'IntervalCount] :: PostCheckoutSessionsRequestBodyLineItems'PriceData'Recurring' -> Maybe Int
-- | Create a new
-- PostCheckoutSessionsRequestBodyLineItems'PriceData'Recurring'
-- with all required fields.
mkPostCheckoutSessionsRequestBodyLineItems'PriceData'Recurring' :: PostCheckoutSessionsRequestBodyLineItems'PriceData'Recurring'Interval' -> PostCheckoutSessionsRequestBodyLineItems'PriceData'Recurring'
-- | Defines the enum schema located at
-- paths./v1/checkout/sessions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.line_items.items.properties.price_data.properties.recurring.properties.interval
-- in the specification.
data PostCheckoutSessionsRequestBodyLineItems'PriceData'Recurring'Interval'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostCheckoutSessionsRequestBodyLineItems'PriceData'Recurring'Interval'Other :: Value -> PostCheckoutSessionsRequestBodyLineItems'PriceData'Recurring'Interval'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostCheckoutSessionsRequestBodyLineItems'PriceData'Recurring'Interval'Typed :: Text -> PostCheckoutSessionsRequestBodyLineItems'PriceData'Recurring'Interval'
-- | Represents the JSON value "day"
PostCheckoutSessionsRequestBodyLineItems'PriceData'Recurring'Interval'EnumDay :: PostCheckoutSessionsRequestBodyLineItems'PriceData'Recurring'Interval'
-- | Represents the JSON value "month"
PostCheckoutSessionsRequestBodyLineItems'PriceData'Recurring'Interval'EnumMonth :: PostCheckoutSessionsRequestBodyLineItems'PriceData'Recurring'Interval'
-- | Represents the JSON value "week"
PostCheckoutSessionsRequestBodyLineItems'PriceData'Recurring'Interval'EnumWeek :: PostCheckoutSessionsRequestBodyLineItems'PriceData'Recurring'Interval'
-- | Represents the JSON value "year"
PostCheckoutSessionsRequestBodyLineItems'PriceData'Recurring'Interval'EnumYear :: PostCheckoutSessionsRequestBodyLineItems'PriceData'Recurring'Interval'
-- | Defines the enum schema located at
-- paths./v1/checkout/sessions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.line_items.items.properties.price_data.properties.tax_behavior
-- in the specification.
data PostCheckoutSessionsRequestBodyLineItems'PriceData'TaxBehavior'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostCheckoutSessionsRequestBodyLineItems'PriceData'TaxBehavior'Other :: Value -> PostCheckoutSessionsRequestBodyLineItems'PriceData'TaxBehavior'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostCheckoutSessionsRequestBodyLineItems'PriceData'TaxBehavior'Typed :: Text -> PostCheckoutSessionsRequestBodyLineItems'PriceData'TaxBehavior'
-- | Represents the JSON value "exclusive"
PostCheckoutSessionsRequestBodyLineItems'PriceData'TaxBehavior'EnumExclusive :: PostCheckoutSessionsRequestBodyLineItems'PriceData'TaxBehavior'
-- | Represents the JSON value "inclusive"
PostCheckoutSessionsRequestBodyLineItems'PriceData'TaxBehavior'EnumInclusive :: PostCheckoutSessionsRequestBodyLineItems'PriceData'TaxBehavior'
-- | Represents the JSON value "unspecified"
PostCheckoutSessionsRequestBodyLineItems'PriceData'TaxBehavior'EnumUnspecified :: PostCheckoutSessionsRequestBodyLineItems'PriceData'TaxBehavior'
-- | Defines the enum schema located at
-- paths./v1/checkout/sessions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.locale
-- in the specification.
--
-- The IETF language tag of the locale Checkout is displayed in. If blank
-- or `auto`, the browser's locale is used.
data PostCheckoutSessionsRequestBodyLocale'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostCheckoutSessionsRequestBodyLocale'Other :: Value -> PostCheckoutSessionsRequestBodyLocale'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostCheckoutSessionsRequestBodyLocale'Typed :: Text -> PostCheckoutSessionsRequestBodyLocale'
-- | Represents the JSON value "auto"
PostCheckoutSessionsRequestBodyLocale'EnumAuto :: PostCheckoutSessionsRequestBodyLocale'
-- | Represents the JSON value "bg"
PostCheckoutSessionsRequestBodyLocale'EnumBg :: PostCheckoutSessionsRequestBodyLocale'
-- | Represents the JSON value "cs"
PostCheckoutSessionsRequestBodyLocale'EnumCs :: PostCheckoutSessionsRequestBodyLocale'
-- | Represents the JSON value "da"
PostCheckoutSessionsRequestBodyLocale'EnumDa :: PostCheckoutSessionsRequestBodyLocale'
-- | Represents the JSON value "de"
PostCheckoutSessionsRequestBodyLocale'EnumDe :: PostCheckoutSessionsRequestBodyLocale'
-- | Represents the JSON value "el"
PostCheckoutSessionsRequestBodyLocale'EnumEl :: PostCheckoutSessionsRequestBodyLocale'
-- | Represents the JSON value "en"
PostCheckoutSessionsRequestBodyLocale'EnumEn :: PostCheckoutSessionsRequestBodyLocale'
-- | Represents the JSON value "en-GB"
PostCheckoutSessionsRequestBodyLocale'EnumEnGB :: PostCheckoutSessionsRequestBodyLocale'
-- | Represents the JSON value "es"
PostCheckoutSessionsRequestBodyLocale'EnumEs :: PostCheckoutSessionsRequestBodyLocale'
-- | Represents the JSON value "es-419"
PostCheckoutSessionsRequestBodyLocale'EnumEs_419 :: PostCheckoutSessionsRequestBodyLocale'
-- | Represents the JSON value "et"
PostCheckoutSessionsRequestBodyLocale'EnumEt :: PostCheckoutSessionsRequestBodyLocale'
-- | Represents the JSON value "fi"
PostCheckoutSessionsRequestBodyLocale'EnumFi :: PostCheckoutSessionsRequestBodyLocale'
-- | Represents the JSON value "fr"
PostCheckoutSessionsRequestBodyLocale'EnumFr :: PostCheckoutSessionsRequestBodyLocale'
-- | Represents the JSON value "fr-CA"
PostCheckoutSessionsRequestBodyLocale'EnumFrCA :: PostCheckoutSessionsRequestBodyLocale'
-- | Represents the JSON value "hu"
PostCheckoutSessionsRequestBodyLocale'EnumHu :: PostCheckoutSessionsRequestBodyLocale'
-- | Represents the JSON value "id"
PostCheckoutSessionsRequestBodyLocale'EnumId :: PostCheckoutSessionsRequestBodyLocale'
-- | Represents the JSON value "it"
PostCheckoutSessionsRequestBodyLocale'EnumIt :: PostCheckoutSessionsRequestBodyLocale'
-- | Represents the JSON value "ja"
PostCheckoutSessionsRequestBodyLocale'EnumJa :: PostCheckoutSessionsRequestBodyLocale'
-- | Represents the JSON value "lt"
PostCheckoutSessionsRequestBodyLocale'EnumLt :: PostCheckoutSessionsRequestBodyLocale'
-- | Represents the JSON value "lv"
PostCheckoutSessionsRequestBodyLocale'EnumLv :: PostCheckoutSessionsRequestBodyLocale'
-- | Represents the JSON value "ms"
PostCheckoutSessionsRequestBodyLocale'EnumMs :: PostCheckoutSessionsRequestBodyLocale'
-- | Represents the JSON value "mt"
PostCheckoutSessionsRequestBodyLocale'EnumMt :: PostCheckoutSessionsRequestBodyLocale'
-- | Represents the JSON value "nb"
PostCheckoutSessionsRequestBodyLocale'EnumNb :: PostCheckoutSessionsRequestBodyLocale'
-- | Represents the JSON value "nl"
PostCheckoutSessionsRequestBodyLocale'EnumNl :: PostCheckoutSessionsRequestBodyLocale'
-- | Represents the JSON value "pl"
PostCheckoutSessionsRequestBodyLocale'EnumPl :: PostCheckoutSessionsRequestBodyLocale'
-- | Represents the JSON value "pt"
PostCheckoutSessionsRequestBodyLocale'EnumPt :: PostCheckoutSessionsRequestBodyLocale'
-- | Represents the JSON value "pt-BR"
PostCheckoutSessionsRequestBodyLocale'EnumPtBR :: PostCheckoutSessionsRequestBodyLocale'
-- | Represents the JSON value "ro"
PostCheckoutSessionsRequestBodyLocale'EnumRo :: PostCheckoutSessionsRequestBodyLocale'
-- | Represents the JSON value "ru"
PostCheckoutSessionsRequestBodyLocale'EnumRu :: PostCheckoutSessionsRequestBodyLocale'
-- | Represents the JSON value "sk"
PostCheckoutSessionsRequestBodyLocale'EnumSk :: PostCheckoutSessionsRequestBodyLocale'
-- | Represents the JSON value "sl"
PostCheckoutSessionsRequestBodyLocale'EnumSl :: PostCheckoutSessionsRequestBodyLocale'
-- | Represents the JSON value "sv"
PostCheckoutSessionsRequestBodyLocale'EnumSv :: PostCheckoutSessionsRequestBodyLocale'
-- | Represents the JSON value "th"
PostCheckoutSessionsRequestBodyLocale'EnumTh :: PostCheckoutSessionsRequestBodyLocale'
-- | Represents the JSON value "tr"
PostCheckoutSessionsRequestBodyLocale'EnumTr :: PostCheckoutSessionsRequestBodyLocale'
-- | Represents the JSON value "zh"
PostCheckoutSessionsRequestBodyLocale'EnumZh :: PostCheckoutSessionsRequestBodyLocale'
-- | Represents the JSON value "zh-HK"
PostCheckoutSessionsRequestBodyLocale'EnumZhHK :: PostCheckoutSessionsRequestBodyLocale'
-- | Represents the JSON value "zh-TW"
PostCheckoutSessionsRequestBodyLocale'EnumZhTW :: PostCheckoutSessionsRequestBodyLocale'
-- | Defines the enum schema located at
-- paths./v1/checkout/sessions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.mode
-- in the specification.
--
-- The mode of the Checkout Session. Required when using prices or
-- `setup` mode. Pass `subscription` if the Checkout Session includes at
-- least one recurring item.
data PostCheckoutSessionsRequestBodyMode'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostCheckoutSessionsRequestBodyMode'Other :: Value -> PostCheckoutSessionsRequestBodyMode'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostCheckoutSessionsRequestBodyMode'Typed :: Text -> PostCheckoutSessionsRequestBodyMode'
-- | Represents the JSON value "payment"
PostCheckoutSessionsRequestBodyMode'EnumPayment :: PostCheckoutSessionsRequestBodyMode'
-- | Represents the JSON value "setup"
PostCheckoutSessionsRequestBodyMode'EnumSetup :: PostCheckoutSessionsRequestBodyMode'
-- | Represents the JSON value "subscription"
PostCheckoutSessionsRequestBodyMode'EnumSubscription :: PostCheckoutSessionsRequestBodyMode'
-- | Defines the object schema located at
-- paths./v1/checkout/sessions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_intent_data
-- in the specification.
--
-- A subset of parameters to be passed to PaymentIntent creation for
-- Checkout Sessions in `payment` mode.
data PostCheckoutSessionsRequestBodyPaymentIntentData'
PostCheckoutSessionsRequestBodyPaymentIntentData' :: Maybe Int -> Maybe PostCheckoutSessionsRequestBodyPaymentIntentData'CaptureMethod' -> Maybe Text -> Maybe Object -> Maybe Text -> Maybe Text -> Maybe PostCheckoutSessionsRequestBodyPaymentIntentData'SetupFutureUsage' -> Maybe PostCheckoutSessionsRequestBodyPaymentIntentData'Shipping' -> Maybe Text -> Maybe Text -> Maybe PostCheckoutSessionsRequestBodyPaymentIntentData'TransferData' -> Maybe Text -> PostCheckoutSessionsRequestBodyPaymentIntentData'
-- | application_fee_amount
[postCheckoutSessionsRequestBodyPaymentIntentData'ApplicationFeeAmount] :: PostCheckoutSessionsRequestBodyPaymentIntentData' -> Maybe Int
-- | capture_method
[postCheckoutSessionsRequestBodyPaymentIntentData'CaptureMethod] :: PostCheckoutSessionsRequestBodyPaymentIntentData' -> Maybe PostCheckoutSessionsRequestBodyPaymentIntentData'CaptureMethod'
-- | description
--
-- Constraints:
--
--
-- - Maximum length of 1000
--
[postCheckoutSessionsRequestBodyPaymentIntentData'Description] :: PostCheckoutSessionsRequestBodyPaymentIntentData' -> Maybe Text
-- | metadata
[postCheckoutSessionsRequestBodyPaymentIntentData'Metadata] :: PostCheckoutSessionsRequestBodyPaymentIntentData' -> Maybe Object
-- | on_behalf_of
[postCheckoutSessionsRequestBodyPaymentIntentData'OnBehalfOf] :: PostCheckoutSessionsRequestBodyPaymentIntentData' -> Maybe Text
-- | receipt_email
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCheckoutSessionsRequestBodyPaymentIntentData'ReceiptEmail] :: PostCheckoutSessionsRequestBodyPaymentIntentData' -> Maybe Text
-- | setup_future_usage
[postCheckoutSessionsRequestBodyPaymentIntentData'SetupFutureUsage] :: PostCheckoutSessionsRequestBodyPaymentIntentData' -> Maybe PostCheckoutSessionsRequestBodyPaymentIntentData'SetupFutureUsage'
-- | shipping
[postCheckoutSessionsRequestBodyPaymentIntentData'Shipping] :: PostCheckoutSessionsRequestBodyPaymentIntentData' -> Maybe PostCheckoutSessionsRequestBodyPaymentIntentData'Shipping'
-- | statement_descriptor
--
-- Constraints:
--
--
-- - Maximum length of 22
--
[postCheckoutSessionsRequestBodyPaymentIntentData'StatementDescriptor] :: PostCheckoutSessionsRequestBodyPaymentIntentData' -> Maybe Text
-- | statement_descriptor_suffix
--
-- Constraints:
--
--
-- - Maximum length of 22
--
[postCheckoutSessionsRequestBodyPaymentIntentData'StatementDescriptorSuffix] :: PostCheckoutSessionsRequestBodyPaymentIntentData' -> Maybe Text
-- | transfer_data
[postCheckoutSessionsRequestBodyPaymentIntentData'TransferData] :: PostCheckoutSessionsRequestBodyPaymentIntentData' -> Maybe PostCheckoutSessionsRequestBodyPaymentIntentData'TransferData'
-- | transfer_group
[postCheckoutSessionsRequestBodyPaymentIntentData'TransferGroup] :: PostCheckoutSessionsRequestBodyPaymentIntentData' -> Maybe Text
-- | Create a new PostCheckoutSessionsRequestBodyPaymentIntentData'
-- with all required fields.
mkPostCheckoutSessionsRequestBodyPaymentIntentData' :: PostCheckoutSessionsRequestBodyPaymentIntentData'
-- | Defines the enum schema located at
-- paths./v1/checkout/sessions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_intent_data.properties.capture_method
-- in the specification.
data PostCheckoutSessionsRequestBodyPaymentIntentData'CaptureMethod'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostCheckoutSessionsRequestBodyPaymentIntentData'CaptureMethod'Other :: Value -> PostCheckoutSessionsRequestBodyPaymentIntentData'CaptureMethod'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostCheckoutSessionsRequestBodyPaymentIntentData'CaptureMethod'Typed :: Text -> PostCheckoutSessionsRequestBodyPaymentIntentData'CaptureMethod'
-- | Represents the JSON value "automatic"
PostCheckoutSessionsRequestBodyPaymentIntentData'CaptureMethod'EnumAutomatic :: PostCheckoutSessionsRequestBodyPaymentIntentData'CaptureMethod'
-- | Represents the JSON value "manual"
PostCheckoutSessionsRequestBodyPaymentIntentData'CaptureMethod'EnumManual :: PostCheckoutSessionsRequestBodyPaymentIntentData'CaptureMethod'
-- | Defines the enum schema located at
-- paths./v1/checkout/sessions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_intent_data.properties.setup_future_usage
-- in the specification.
data PostCheckoutSessionsRequestBodyPaymentIntentData'SetupFutureUsage'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostCheckoutSessionsRequestBodyPaymentIntentData'SetupFutureUsage'Other :: Value -> PostCheckoutSessionsRequestBodyPaymentIntentData'SetupFutureUsage'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostCheckoutSessionsRequestBodyPaymentIntentData'SetupFutureUsage'Typed :: Text -> PostCheckoutSessionsRequestBodyPaymentIntentData'SetupFutureUsage'
-- | Represents the JSON value "off_session"
PostCheckoutSessionsRequestBodyPaymentIntentData'SetupFutureUsage'EnumOffSession :: PostCheckoutSessionsRequestBodyPaymentIntentData'SetupFutureUsage'
-- | Represents the JSON value "on_session"
PostCheckoutSessionsRequestBodyPaymentIntentData'SetupFutureUsage'EnumOnSession :: PostCheckoutSessionsRequestBodyPaymentIntentData'SetupFutureUsage'
-- | Defines the object schema located at
-- paths./v1/checkout/sessions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_intent_data.properties.shipping
-- in the specification.
data PostCheckoutSessionsRequestBodyPaymentIntentData'Shipping'
PostCheckoutSessionsRequestBodyPaymentIntentData'Shipping' :: PostCheckoutSessionsRequestBodyPaymentIntentData'Shipping'Address' -> Maybe Text -> Text -> Maybe Text -> Maybe Text -> PostCheckoutSessionsRequestBodyPaymentIntentData'Shipping'
-- | address
[postCheckoutSessionsRequestBodyPaymentIntentData'Shipping'Address] :: PostCheckoutSessionsRequestBodyPaymentIntentData'Shipping' -> PostCheckoutSessionsRequestBodyPaymentIntentData'Shipping'Address'
-- | carrier
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCheckoutSessionsRequestBodyPaymentIntentData'Shipping'Carrier] :: PostCheckoutSessionsRequestBodyPaymentIntentData'Shipping' -> Maybe Text
-- | name
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCheckoutSessionsRequestBodyPaymentIntentData'Shipping'Name] :: PostCheckoutSessionsRequestBodyPaymentIntentData'Shipping' -> Text
-- | phone
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCheckoutSessionsRequestBodyPaymentIntentData'Shipping'Phone] :: PostCheckoutSessionsRequestBodyPaymentIntentData'Shipping' -> Maybe Text
-- | tracking_number
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCheckoutSessionsRequestBodyPaymentIntentData'Shipping'TrackingNumber] :: PostCheckoutSessionsRequestBodyPaymentIntentData'Shipping' -> Maybe Text
-- | Create a new
-- PostCheckoutSessionsRequestBodyPaymentIntentData'Shipping' with
-- all required fields.
mkPostCheckoutSessionsRequestBodyPaymentIntentData'Shipping' :: PostCheckoutSessionsRequestBodyPaymentIntentData'Shipping'Address' -> Text -> PostCheckoutSessionsRequestBodyPaymentIntentData'Shipping'
-- | Defines the object schema located at
-- paths./v1/checkout/sessions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_intent_data.properties.shipping.properties.address
-- in the specification.
data PostCheckoutSessionsRequestBodyPaymentIntentData'Shipping'Address'
PostCheckoutSessionsRequestBodyPaymentIntentData'Shipping'Address' :: Maybe Text -> Maybe Text -> Text -> Maybe Text -> Maybe Text -> Maybe Text -> PostCheckoutSessionsRequestBodyPaymentIntentData'Shipping'Address'
-- | city
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCheckoutSessionsRequestBodyPaymentIntentData'Shipping'Address'City] :: PostCheckoutSessionsRequestBodyPaymentIntentData'Shipping'Address' -> Maybe Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCheckoutSessionsRequestBodyPaymentIntentData'Shipping'Address'Country] :: PostCheckoutSessionsRequestBodyPaymentIntentData'Shipping'Address' -> Maybe Text
-- | line1
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCheckoutSessionsRequestBodyPaymentIntentData'Shipping'Address'Line1] :: PostCheckoutSessionsRequestBodyPaymentIntentData'Shipping'Address' -> Text
-- | line2
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCheckoutSessionsRequestBodyPaymentIntentData'Shipping'Address'Line2] :: PostCheckoutSessionsRequestBodyPaymentIntentData'Shipping'Address' -> Maybe Text
-- | postal_code
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCheckoutSessionsRequestBodyPaymentIntentData'Shipping'Address'PostalCode] :: PostCheckoutSessionsRequestBodyPaymentIntentData'Shipping'Address' -> Maybe Text
-- | state
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCheckoutSessionsRequestBodyPaymentIntentData'Shipping'Address'State] :: PostCheckoutSessionsRequestBodyPaymentIntentData'Shipping'Address' -> Maybe Text
-- | Create a new
-- PostCheckoutSessionsRequestBodyPaymentIntentData'Shipping'Address'
-- with all required fields.
mkPostCheckoutSessionsRequestBodyPaymentIntentData'Shipping'Address' :: Text -> PostCheckoutSessionsRequestBodyPaymentIntentData'Shipping'Address'
-- | Defines the object schema located at
-- paths./v1/checkout/sessions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_intent_data.properties.transfer_data
-- in the specification.
data PostCheckoutSessionsRequestBodyPaymentIntentData'TransferData'
PostCheckoutSessionsRequestBodyPaymentIntentData'TransferData' :: Maybe Int -> Text -> PostCheckoutSessionsRequestBodyPaymentIntentData'TransferData'
-- | amount
[postCheckoutSessionsRequestBodyPaymentIntentData'TransferData'Amount] :: PostCheckoutSessionsRequestBodyPaymentIntentData'TransferData' -> Maybe Int
-- | destination
[postCheckoutSessionsRequestBodyPaymentIntentData'TransferData'Destination] :: PostCheckoutSessionsRequestBodyPaymentIntentData'TransferData' -> Text
-- | Create a new
-- PostCheckoutSessionsRequestBodyPaymentIntentData'TransferData'
-- with all required fields.
mkPostCheckoutSessionsRequestBodyPaymentIntentData'TransferData' :: Text -> PostCheckoutSessionsRequestBodyPaymentIntentData'TransferData'
-- | Defines the object schema located at
-- paths./v1/checkout/sessions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options
-- in the specification.
--
-- Payment-method-specific configuration.
data PostCheckoutSessionsRequestBodyPaymentMethodOptions'
PostCheckoutSessionsRequestBodyPaymentMethodOptions' :: Maybe PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit' -> PostCheckoutSessionsRequestBodyPaymentMethodOptions'
-- | acss_debit
[postCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit] :: PostCheckoutSessionsRequestBodyPaymentMethodOptions' -> Maybe PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'
-- | Create a new
-- PostCheckoutSessionsRequestBodyPaymentMethodOptions' with all
-- required fields.
mkPostCheckoutSessionsRequestBodyPaymentMethodOptions' :: PostCheckoutSessionsRequestBodyPaymentMethodOptions'
-- | Defines the object schema located at
-- paths./v1/checkout/sessions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.acss_debit
-- in the specification.
data PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'
PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit' :: Maybe PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'Currency' -> Maybe PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions' -> Maybe PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'VerificationMethod' -> PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'
-- | currency
[postCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'Currency] :: PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit' -> Maybe PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'Currency'
-- | mandate_options
[postCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions] :: PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit' -> Maybe PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'
-- | verification_method
[postCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'VerificationMethod] :: PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit' -> Maybe PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'VerificationMethod'
-- | Create a new
-- PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'
-- with all required fields.
mkPostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit' :: PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'
-- | Defines the enum schema located at
-- paths./v1/checkout/sessions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.acss_debit.properties.currency
-- in the specification.
data PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'Currency'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'Currency'Other :: Value -> PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'Currency'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'Currency'Typed :: Text -> PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'Currency'
-- | Represents the JSON value "cad"
PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'Currency'EnumCad :: PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'Currency'
-- | Represents the JSON value "usd"
PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'Currency'EnumUsd :: PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'Currency'
-- | Defines the object schema located at
-- paths./v1/checkout/sessions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.acss_debit.properties.mandate_options
-- in the specification.
data PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'
PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions' :: Maybe PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'CustomMandateUrl'Variants -> Maybe Text -> Maybe PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'PaymentSchedule' -> Maybe PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'TransactionType' -> PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'
-- | custom_mandate_url
[postCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'CustomMandateUrl] :: PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions' -> Maybe PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'CustomMandateUrl'Variants
-- | interval_description
--
-- Constraints:
--
--
-- - Maximum length of 500
--
[postCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'IntervalDescription] :: PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions' -> Maybe Text
-- | payment_schedule
[postCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'PaymentSchedule] :: PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions' -> Maybe PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'PaymentSchedule'
-- | transaction_type
[postCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'TransactionType] :: PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions' -> Maybe PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'TransactionType'
-- | Create a new
-- PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'
-- with all required fields.
mkPostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions' :: PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'
-- | Defines the oneOf schema located at
-- paths./v1/checkout/sessions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.acss_debit.properties.mandate_options.properties.custom_mandate_url.anyOf
-- in the specification.
data PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'CustomMandateUrl'Variants
-- | Represents the JSON value ""
PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'CustomMandateUrl'EmptyString :: PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'CustomMandateUrl'Variants
PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'CustomMandateUrl'Text :: Text -> PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'CustomMandateUrl'Variants
-- | Defines the enum schema located at
-- paths./v1/checkout/sessions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.acss_debit.properties.mandate_options.properties.payment_schedule
-- in the specification.
data PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'PaymentSchedule'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'PaymentSchedule'Other :: Value -> PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'PaymentSchedule'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'PaymentSchedule'Typed :: Text -> PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'PaymentSchedule'
-- | Represents the JSON value "combined"
PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'PaymentSchedule'EnumCombined :: PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'PaymentSchedule'
-- | Represents the JSON value "interval"
PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'PaymentSchedule'EnumInterval :: PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'PaymentSchedule'
-- | Represents the JSON value "sporadic"
PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'PaymentSchedule'EnumSporadic :: PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'PaymentSchedule'
-- | Defines the enum schema located at
-- paths./v1/checkout/sessions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.acss_debit.properties.mandate_options.properties.transaction_type
-- in the specification.
data PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'TransactionType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'TransactionType'Other :: Value -> PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'TransactionType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'TransactionType'Typed :: Text -> PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'TransactionType'
-- | Represents the JSON value "business"
PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'TransactionType'EnumBusiness :: PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'TransactionType'
-- | Represents the JSON value "personal"
PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'TransactionType'EnumPersonal :: PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'TransactionType'
-- | Defines the enum schema located at
-- paths./v1/checkout/sessions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_options.properties.acss_debit.properties.verification_method
-- in the specification.
data PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'VerificationMethod'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'VerificationMethod'Other :: Value -> PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'VerificationMethod'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'VerificationMethod'Typed :: Text -> PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'VerificationMethod'
-- | Represents the JSON value "automatic"
PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'VerificationMethod'EnumAutomatic :: PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'VerificationMethod'
-- | Represents the JSON value "instant"
PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'VerificationMethod'EnumInstant :: PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'VerificationMethod'
-- | Represents the JSON value "microdeposits"
PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'VerificationMethod'EnumMicrodeposits :: PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'VerificationMethod'
-- | Defines the enum schema located at
-- paths./v1/checkout/sessions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_method_types.items
-- in the specification.
data PostCheckoutSessionsRequestBodyPaymentMethodTypes'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostCheckoutSessionsRequestBodyPaymentMethodTypes'Other :: Value -> PostCheckoutSessionsRequestBodyPaymentMethodTypes'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostCheckoutSessionsRequestBodyPaymentMethodTypes'Typed :: Text -> PostCheckoutSessionsRequestBodyPaymentMethodTypes'
-- | Represents the JSON value "acss_debit"
PostCheckoutSessionsRequestBodyPaymentMethodTypes'EnumAcssDebit :: PostCheckoutSessionsRequestBodyPaymentMethodTypes'
-- | Represents the JSON value "afterpay_clearpay"
PostCheckoutSessionsRequestBodyPaymentMethodTypes'EnumAfterpayClearpay :: PostCheckoutSessionsRequestBodyPaymentMethodTypes'
-- | Represents the JSON value "alipay"
PostCheckoutSessionsRequestBodyPaymentMethodTypes'EnumAlipay :: PostCheckoutSessionsRequestBodyPaymentMethodTypes'
-- | Represents the JSON value "bacs_debit"
PostCheckoutSessionsRequestBodyPaymentMethodTypes'EnumBacsDebit :: PostCheckoutSessionsRequestBodyPaymentMethodTypes'
-- | Represents the JSON value "bancontact"
PostCheckoutSessionsRequestBodyPaymentMethodTypes'EnumBancontact :: PostCheckoutSessionsRequestBodyPaymentMethodTypes'
-- | Represents the JSON value "card"
PostCheckoutSessionsRequestBodyPaymentMethodTypes'EnumCard :: PostCheckoutSessionsRequestBodyPaymentMethodTypes'
-- | Represents the JSON value "eps"
PostCheckoutSessionsRequestBodyPaymentMethodTypes'EnumEps :: PostCheckoutSessionsRequestBodyPaymentMethodTypes'
-- | Represents the JSON value "fpx"
PostCheckoutSessionsRequestBodyPaymentMethodTypes'EnumFpx :: PostCheckoutSessionsRequestBodyPaymentMethodTypes'
-- | Represents the JSON value "giropay"
PostCheckoutSessionsRequestBodyPaymentMethodTypes'EnumGiropay :: PostCheckoutSessionsRequestBodyPaymentMethodTypes'
-- | Represents the JSON value "grabpay"
PostCheckoutSessionsRequestBodyPaymentMethodTypes'EnumGrabpay :: PostCheckoutSessionsRequestBodyPaymentMethodTypes'
-- | Represents the JSON value "ideal"
PostCheckoutSessionsRequestBodyPaymentMethodTypes'EnumIdeal :: PostCheckoutSessionsRequestBodyPaymentMethodTypes'
-- | Represents the JSON value "p24"
PostCheckoutSessionsRequestBodyPaymentMethodTypes'EnumP24 :: PostCheckoutSessionsRequestBodyPaymentMethodTypes'
-- | Represents the JSON value "sepa_debit"
PostCheckoutSessionsRequestBodyPaymentMethodTypes'EnumSepaDebit :: PostCheckoutSessionsRequestBodyPaymentMethodTypes'
-- | Represents the JSON value "sofort"
PostCheckoutSessionsRequestBodyPaymentMethodTypes'EnumSofort :: PostCheckoutSessionsRequestBodyPaymentMethodTypes'
-- | Defines the object schema located at
-- paths./v1/checkout/sessions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.setup_intent_data
-- in the specification.
--
-- A subset of parameters to be passed to SetupIntent creation for
-- Checkout Sessions in `setup` mode.
data PostCheckoutSessionsRequestBodySetupIntentData'
PostCheckoutSessionsRequestBodySetupIntentData' :: Maybe Text -> Maybe Object -> Maybe Text -> PostCheckoutSessionsRequestBodySetupIntentData'
-- | description
--
-- Constraints:
--
--
-- - Maximum length of 1000
--
[postCheckoutSessionsRequestBodySetupIntentData'Description] :: PostCheckoutSessionsRequestBodySetupIntentData' -> Maybe Text
-- | metadata
[postCheckoutSessionsRequestBodySetupIntentData'Metadata] :: PostCheckoutSessionsRequestBodySetupIntentData' -> Maybe Object
-- | on_behalf_of
[postCheckoutSessionsRequestBodySetupIntentData'OnBehalfOf] :: PostCheckoutSessionsRequestBodySetupIntentData' -> Maybe Text
-- | Create a new PostCheckoutSessionsRequestBodySetupIntentData'
-- with all required fields.
mkPostCheckoutSessionsRequestBodySetupIntentData' :: PostCheckoutSessionsRequestBodySetupIntentData'
-- | Defines the object schema located at
-- paths./v1/checkout/sessions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.shipping_address_collection
-- in the specification.
--
-- When set, provides configuration for Checkout to collect a shipping
-- address from a customer.
data PostCheckoutSessionsRequestBodyShippingAddressCollection'
PostCheckoutSessionsRequestBodyShippingAddressCollection' :: [PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'] -> PostCheckoutSessionsRequestBodyShippingAddressCollection'
-- | allowed_countries
[postCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries] :: PostCheckoutSessionsRequestBodyShippingAddressCollection' -> [PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries']
-- | Create a new
-- PostCheckoutSessionsRequestBodyShippingAddressCollection' with
-- all required fields.
mkPostCheckoutSessionsRequestBodyShippingAddressCollection' :: [PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'] -> PostCheckoutSessionsRequestBodyShippingAddressCollection'
-- | Defines the enum schema located at
-- paths./v1/checkout/sessions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.shipping_address_collection.properties.allowed_countries.items
-- in the specification.
data PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'Other :: Value -> PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'Typed :: Text -> PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value AC
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumAC :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value AD
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumAD :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value AE
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumAE :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value AF
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumAF :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value AG
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumAG :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value AI
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumAI :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value AL
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumAL :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value AM
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumAM :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value AO
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumAO :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value AQ
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumAQ :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value AR
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumAR :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value AT
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumAT :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value AU
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumAU :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value AW
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumAW :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value AX
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumAX :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value AZ
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumAZ :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value BA
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumBA :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value BB
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumBB :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value BD
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumBD :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value BE
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumBE :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value BF
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumBF :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value BG
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumBG :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value BH
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumBH :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value BI
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumBI :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value BJ
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumBJ :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value BL
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumBL :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value BM
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumBM :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value BN
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumBN :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value BO
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumBO :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value BQ
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumBQ :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value BR
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumBR :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value BS
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumBS :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value BT
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumBT :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value BV
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumBV :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value BW
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumBW :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value BY
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumBY :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value BZ
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumBZ :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value CA
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumCA :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value CD
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumCD :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value CF
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumCF :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value CG
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumCG :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value CH
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumCH :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value CI
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumCI :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value CK
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumCK :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value CL
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumCL :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value CM
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumCM :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value CN
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumCN :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value CO
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumCO :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value CR
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumCR :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value CV
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumCV :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value CW
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumCW :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value CY
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumCY :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value CZ
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumCZ :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value DE
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumDE :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value DJ
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumDJ :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value DK
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumDK :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value DM
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumDM :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value DO
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumDO :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value DZ
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumDZ :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value EC
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumEC :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value EE
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumEE :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value EG
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumEG :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value EH
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumEH :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value ER
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumER :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value ES
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumES :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value ET
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumET :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value FI
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumFI :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value FJ
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumFJ :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value FK
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumFK :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value FO
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumFO :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value FR
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumFR :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value GA
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumGA :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value GB
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumGB :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value GD
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumGD :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value GE
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumGE :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value GF
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumGF :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value GG
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumGG :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value GH
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumGH :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value GI
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumGI :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value GL
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumGL :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value GM
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumGM :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value GN
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumGN :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value GP
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumGP :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value GQ
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumGQ :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value GR
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumGR :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value GS
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumGS :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value GT
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumGT :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value GU
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumGU :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value GW
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumGW :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value GY
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumGY :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value HK
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumHK :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value HN
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumHN :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value HR
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumHR :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value HT
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumHT :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value HU
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumHU :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value ID
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumID :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value IE
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumIE :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value IL
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumIL :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value IM
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumIM :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value IN
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumIN :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value IO
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumIO :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value IQ
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumIQ :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value IS
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumIS :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value IT
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumIT :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value JE
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumJE :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value JM
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumJM :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value JO
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumJO :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value JP
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumJP :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value KE
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumKE :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value KG
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumKG :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value KH
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumKH :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value KI
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumKI :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value KM
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumKM :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value KN
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumKN :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value KR
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumKR :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value KW
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumKW :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value KY
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumKY :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value KZ
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumKZ :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value LA
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumLA :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value LB
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumLB :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value LC
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumLC :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value LI
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumLI :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value LK
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumLK :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value LR
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumLR :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value LS
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumLS :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value LT
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumLT :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value LU
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumLU :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value LV
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumLV :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value LY
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumLY :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value MA
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumMA :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value MC
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumMC :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value MD
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumMD :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value ME
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumME :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value MF
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumMF :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value MG
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumMG :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value MK
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumMK :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value ML
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumML :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value MM
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumMM :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value MN
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumMN :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value MO
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumMO :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value MQ
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumMQ :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value MR
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumMR :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value MS
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumMS :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value MT
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumMT :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value MU
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumMU :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value MV
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumMV :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value MW
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumMW :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value MX
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumMX :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value MY
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumMY :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value MZ
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumMZ :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value NA
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumNA :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value NC
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumNC :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value NE
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumNE :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value NG
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumNG :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value NI
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumNI :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value NL
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumNL :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value NO
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumNO :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value NP
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumNP :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value NR
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumNR :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value NU
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumNU :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value NZ
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumNZ :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value OM
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumOM :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value PA
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumPA :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value PE
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumPE :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value PF
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumPF :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value PG
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumPG :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value PH
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumPH :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value PK
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumPK :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value PL
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumPL :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value PM
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumPM :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value PN
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumPN :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value PR
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumPR :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value PS
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumPS :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value PT
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumPT :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value PY
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumPY :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value QA
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumQA :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value RE
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumRE :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value RO
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumRO :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value RS
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumRS :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value RU
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumRU :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value RW
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumRW :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value SA
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumSA :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value SB
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumSB :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value SC
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumSC :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value SE
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumSE :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value SG
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumSG :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value SH
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumSH :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value SI
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumSI :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value SJ
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumSJ :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value SK
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumSK :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value SL
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumSL :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value SM
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumSM :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value SN
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumSN :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value SO
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumSO :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value SR
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumSR :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value SS
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumSS :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value ST
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumST :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value SV
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumSV :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value SX
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumSX :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value SZ
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumSZ :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value TA
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumTA :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value TC
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumTC :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value TD
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumTD :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value TF
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumTF :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value TG
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumTG :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value TH
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumTH :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value TJ
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumTJ :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value TK
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumTK :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value TL
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumTL :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value TM
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumTM :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value TN
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumTN :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value TO
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumTO :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value TR
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumTR :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value TT
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumTT :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value TV
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumTV :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value TW
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumTW :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value TZ
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumTZ :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value UA
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumUA :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value UG
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumUG :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value US
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumUS :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value UY
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumUY :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value UZ
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumUZ :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value VA
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumVA :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value VC
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumVC :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value VE
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumVE :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value VG
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumVG :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value VN
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumVN :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value VU
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumVU :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value WF
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumWF :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value WS
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumWS :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value XK
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumXK :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value YE
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumYE :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value YT
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumYT :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value ZA
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumZA :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value ZM
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumZM :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value ZW
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumZW :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Represents the JSON value ZZ
PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'EnumZZ :: PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
-- | Defines the enum schema located at
-- paths./v1/checkout/sessions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.submit_type
-- in the specification.
--
-- Describes the type of transaction being performed by Checkout in order
-- to customize relevant text on the page, such as the submit button.
-- `submit_type` can only be specified on Checkout Sessions in `payment`
-- mode, but not Checkout Sessions in `subscription` or `setup` mode.
data PostCheckoutSessionsRequestBodySubmitType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostCheckoutSessionsRequestBodySubmitType'Other :: Value -> PostCheckoutSessionsRequestBodySubmitType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostCheckoutSessionsRequestBodySubmitType'Typed :: Text -> PostCheckoutSessionsRequestBodySubmitType'
-- | Represents the JSON value "auto"
PostCheckoutSessionsRequestBodySubmitType'EnumAuto :: PostCheckoutSessionsRequestBodySubmitType'
-- | Represents the JSON value "book"
PostCheckoutSessionsRequestBodySubmitType'EnumBook :: PostCheckoutSessionsRequestBodySubmitType'
-- | Represents the JSON value "donate"
PostCheckoutSessionsRequestBodySubmitType'EnumDonate :: PostCheckoutSessionsRequestBodySubmitType'
-- | Represents the JSON value "pay"
PostCheckoutSessionsRequestBodySubmitType'EnumPay :: PostCheckoutSessionsRequestBodySubmitType'
-- | Defines the object schema located at
-- paths./v1/checkout/sessions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.subscription_data
-- in the specification.
--
-- A subset of parameters to be passed to subscription creation for
-- Checkout Sessions in `subscription` mode.
data PostCheckoutSessionsRequestBodySubscriptionData'
PostCheckoutSessionsRequestBodySubscriptionData' :: Maybe Double -> Maybe [Text] -> Maybe [PostCheckoutSessionsRequestBodySubscriptionData'Items'] -> Maybe Object -> Maybe PostCheckoutSessionsRequestBodySubscriptionData'TransferData' -> Maybe Int -> Maybe Int -> PostCheckoutSessionsRequestBodySubscriptionData'
-- | application_fee_percent
[postCheckoutSessionsRequestBodySubscriptionData'ApplicationFeePercent] :: PostCheckoutSessionsRequestBodySubscriptionData' -> Maybe Double
-- | default_tax_rates
[postCheckoutSessionsRequestBodySubscriptionData'DefaultTaxRates] :: PostCheckoutSessionsRequestBodySubscriptionData' -> Maybe [Text]
-- | items
[postCheckoutSessionsRequestBodySubscriptionData'Items] :: PostCheckoutSessionsRequestBodySubscriptionData' -> Maybe [PostCheckoutSessionsRequestBodySubscriptionData'Items']
-- | metadata
[postCheckoutSessionsRequestBodySubscriptionData'Metadata] :: PostCheckoutSessionsRequestBodySubscriptionData' -> Maybe Object
-- | transfer_data
[postCheckoutSessionsRequestBodySubscriptionData'TransferData] :: PostCheckoutSessionsRequestBodySubscriptionData' -> Maybe PostCheckoutSessionsRequestBodySubscriptionData'TransferData'
-- | trial_end
[postCheckoutSessionsRequestBodySubscriptionData'TrialEnd] :: PostCheckoutSessionsRequestBodySubscriptionData' -> Maybe Int
-- | trial_period_days
[postCheckoutSessionsRequestBodySubscriptionData'TrialPeriodDays] :: PostCheckoutSessionsRequestBodySubscriptionData' -> Maybe Int
-- | Create a new PostCheckoutSessionsRequestBodySubscriptionData'
-- with all required fields.
mkPostCheckoutSessionsRequestBodySubscriptionData' :: PostCheckoutSessionsRequestBodySubscriptionData'
-- | Defines the object schema located at
-- paths./v1/checkout/sessions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.subscription_data.properties.items.items
-- in the specification.
data PostCheckoutSessionsRequestBodySubscriptionData'Items'
PostCheckoutSessionsRequestBodySubscriptionData'Items' :: Text -> Maybe Int -> Maybe [Text] -> PostCheckoutSessionsRequestBodySubscriptionData'Items'
-- | plan
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postCheckoutSessionsRequestBodySubscriptionData'Items'Plan] :: PostCheckoutSessionsRequestBodySubscriptionData'Items' -> Text
-- | quantity
[postCheckoutSessionsRequestBodySubscriptionData'Items'Quantity] :: PostCheckoutSessionsRequestBodySubscriptionData'Items' -> Maybe Int
-- | tax_rates
[postCheckoutSessionsRequestBodySubscriptionData'Items'TaxRates] :: PostCheckoutSessionsRequestBodySubscriptionData'Items' -> Maybe [Text]
-- | Create a new
-- PostCheckoutSessionsRequestBodySubscriptionData'Items' with all
-- required fields.
mkPostCheckoutSessionsRequestBodySubscriptionData'Items' :: Text -> PostCheckoutSessionsRequestBodySubscriptionData'Items'
-- | Defines the object schema located at
-- paths./v1/checkout/sessions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.subscription_data.properties.transfer_data
-- in the specification.
data PostCheckoutSessionsRequestBodySubscriptionData'TransferData'
PostCheckoutSessionsRequestBodySubscriptionData'TransferData' :: Maybe Double -> Text -> PostCheckoutSessionsRequestBodySubscriptionData'TransferData'
-- | amount_percent
[postCheckoutSessionsRequestBodySubscriptionData'TransferData'AmountPercent] :: PostCheckoutSessionsRequestBodySubscriptionData'TransferData' -> Maybe Double
-- | destination
[postCheckoutSessionsRequestBodySubscriptionData'TransferData'Destination] :: PostCheckoutSessionsRequestBodySubscriptionData'TransferData' -> Text
-- | Create a new
-- PostCheckoutSessionsRequestBodySubscriptionData'TransferData'
-- with all required fields.
mkPostCheckoutSessionsRequestBodySubscriptionData'TransferData' :: Text -> PostCheckoutSessionsRequestBodySubscriptionData'TransferData'
-- | Defines the object schema located at
-- paths./v1/checkout/sessions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.tax_id_collection
-- in the specification.
--
-- Controls tax ID collection settings for the session.
data PostCheckoutSessionsRequestBodyTaxIdCollection'
PostCheckoutSessionsRequestBodyTaxIdCollection' :: Bool -> PostCheckoutSessionsRequestBodyTaxIdCollection'
-- | enabled
[postCheckoutSessionsRequestBodyTaxIdCollection'Enabled] :: PostCheckoutSessionsRequestBodyTaxIdCollection' -> Bool
-- | Create a new PostCheckoutSessionsRequestBodyTaxIdCollection'
-- with all required fields.
mkPostCheckoutSessionsRequestBodyTaxIdCollection' :: Bool -> PostCheckoutSessionsRequestBodyTaxIdCollection'
-- | Represents a response of the operation postCheckoutSessions.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostCheckoutSessionsResponseError is
-- used.
data PostCheckoutSessionsResponse
-- | Means either no matching case available or a parse error
PostCheckoutSessionsResponseError :: String -> PostCheckoutSessionsResponse
-- | Successful response.
PostCheckoutSessionsResponse200 :: Checkout'session -> PostCheckoutSessionsResponse
-- | Error response.
PostCheckoutSessionsResponseDefault :: Error -> PostCheckoutSessionsResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyAutomaticTax'
instance GHC.Show.Show StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyAutomaticTax'
instance GHC.Classes.Eq StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyBillingAddressCollection'
instance GHC.Show.Show StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyBillingAddressCollection'
instance GHC.Classes.Eq StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyCustomerUpdate'Address'
instance GHC.Show.Show StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyCustomerUpdate'Address'
instance GHC.Classes.Eq StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyCustomerUpdate'Name'
instance GHC.Show.Show StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyCustomerUpdate'Name'
instance GHC.Classes.Eq StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyCustomerUpdate'Shipping'
instance GHC.Show.Show StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyCustomerUpdate'Shipping'
instance GHC.Classes.Eq StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyCustomerUpdate'
instance GHC.Show.Show StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyCustomerUpdate'
instance GHC.Classes.Eq StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyDiscounts'
instance GHC.Show.Show StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyDiscounts'
instance GHC.Classes.Eq StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyLineItems'AdjustableQuantity'
instance GHC.Show.Show StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyLineItems'AdjustableQuantity'
instance GHC.Classes.Eq StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyLineItems'PriceData'ProductData'
instance GHC.Show.Show StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyLineItems'PriceData'ProductData'
instance GHC.Classes.Eq StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyLineItems'PriceData'Recurring'Interval'
instance GHC.Show.Show StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyLineItems'PriceData'Recurring'Interval'
instance GHC.Classes.Eq StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyLineItems'PriceData'Recurring'
instance GHC.Show.Show StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyLineItems'PriceData'Recurring'
instance GHC.Classes.Eq StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyLineItems'PriceData'TaxBehavior'
instance GHC.Show.Show StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyLineItems'PriceData'TaxBehavior'
instance GHC.Classes.Eq StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyLineItems'PriceData'
instance GHC.Show.Show StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyLineItems'PriceData'
instance GHC.Classes.Eq StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyLineItems'
instance GHC.Show.Show StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyLineItems'
instance GHC.Classes.Eq StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyLocale'
instance GHC.Show.Show StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyLocale'
instance GHC.Classes.Eq StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyMode'
instance GHC.Show.Show StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyMode'
instance GHC.Classes.Eq StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyPaymentIntentData'CaptureMethod'
instance GHC.Show.Show StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyPaymentIntentData'CaptureMethod'
instance GHC.Classes.Eq StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyPaymentIntentData'SetupFutureUsage'
instance GHC.Show.Show StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyPaymentIntentData'SetupFutureUsage'
instance GHC.Classes.Eq StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyPaymentIntentData'Shipping'Address'
instance GHC.Show.Show StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyPaymentIntentData'Shipping'Address'
instance GHC.Classes.Eq StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyPaymentIntentData'Shipping'
instance GHC.Show.Show StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyPaymentIntentData'Shipping'
instance GHC.Classes.Eq StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyPaymentIntentData'TransferData'
instance GHC.Show.Show StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyPaymentIntentData'TransferData'
instance GHC.Classes.Eq StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyPaymentIntentData'
instance GHC.Show.Show StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyPaymentIntentData'
instance GHC.Classes.Eq StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'Currency'
instance GHC.Show.Show StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'Currency'
instance GHC.Classes.Eq StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'CustomMandateUrl'Variants
instance GHC.Show.Show StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'CustomMandateUrl'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'PaymentSchedule'
instance GHC.Show.Show StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'PaymentSchedule'
instance GHC.Classes.Eq StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'TransactionType'
instance GHC.Show.Show StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'TransactionType'
instance GHC.Classes.Eq StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'
instance GHC.Show.Show StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'
instance GHC.Classes.Eq StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'VerificationMethod'
instance GHC.Show.Show StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'VerificationMethod'
instance GHC.Classes.Eq StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'
instance GHC.Show.Show StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'
instance GHC.Classes.Eq StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyPaymentMethodOptions'
instance GHC.Show.Show StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyPaymentMethodOptions'
instance GHC.Classes.Eq StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyPaymentMethodTypes'
instance GHC.Show.Show StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyPaymentMethodTypes'
instance GHC.Classes.Eq StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodySetupIntentData'
instance GHC.Show.Show StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodySetupIntentData'
instance GHC.Classes.Eq StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
instance GHC.Show.Show StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
instance GHC.Classes.Eq StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyShippingAddressCollection'
instance GHC.Show.Show StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyShippingAddressCollection'
instance GHC.Classes.Eq StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodySubmitType'
instance GHC.Show.Show StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodySubmitType'
instance GHC.Classes.Eq StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodySubscriptionData'Items'
instance GHC.Show.Show StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodySubscriptionData'Items'
instance GHC.Classes.Eq StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodySubscriptionData'TransferData'
instance GHC.Show.Show StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodySubscriptionData'TransferData'
instance GHC.Classes.Eq StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodySubscriptionData'
instance GHC.Show.Show StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodySubscriptionData'
instance GHC.Classes.Eq StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyTaxIdCollection'
instance GHC.Show.Show StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyTaxIdCollection'
instance GHC.Classes.Eq StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsResponse
instance GHC.Show.Show StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyTaxIdCollection'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyTaxIdCollection'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodySubscriptionData'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodySubscriptionData'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodySubscriptionData'TransferData'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodySubscriptionData'TransferData'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodySubscriptionData'Items'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodySubscriptionData'Items'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodySubmitType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodySubmitType'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyShippingAddressCollection'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyShippingAddressCollection'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyShippingAddressCollection'AllowedCountries'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodySetupIntentData'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodySetupIntentData'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyPaymentMethodTypes'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyPaymentMethodTypes'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyPaymentMethodOptions'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyPaymentMethodOptions'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'VerificationMethod'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'VerificationMethod'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'TransactionType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'TransactionType'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'PaymentSchedule'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'PaymentSchedule'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'CustomMandateUrl'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'MandateOptions'CustomMandateUrl'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'Currency'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyPaymentMethodOptions'AcssDebit'Currency'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyPaymentIntentData'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyPaymentIntentData'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyPaymentIntentData'TransferData'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyPaymentIntentData'TransferData'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyPaymentIntentData'Shipping'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyPaymentIntentData'Shipping'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyPaymentIntentData'Shipping'Address'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyPaymentIntentData'Shipping'Address'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyPaymentIntentData'SetupFutureUsage'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyPaymentIntentData'SetupFutureUsage'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyPaymentIntentData'CaptureMethod'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyPaymentIntentData'CaptureMethod'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyMode'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyMode'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyLocale'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyLocale'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyLineItems'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyLineItems'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyLineItems'PriceData'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyLineItems'PriceData'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyLineItems'PriceData'TaxBehavior'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyLineItems'PriceData'TaxBehavior'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyLineItems'PriceData'Recurring'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyLineItems'PriceData'Recurring'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyLineItems'PriceData'Recurring'Interval'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyLineItems'PriceData'Recurring'Interval'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyLineItems'PriceData'ProductData'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyLineItems'PriceData'ProductData'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyLineItems'AdjustableQuantity'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyLineItems'AdjustableQuantity'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyDiscounts'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyDiscounts'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyCustomerUpdate'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyCustomerUpdate'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyCustomerUpdate'Shipping'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyCustomerUpdate'Shipping'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyCustomerUpdate'Name'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyCustomerUpdate'Name'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyCustomerUpdate'Address'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyCustomerUpdate'Address'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyBillingAddressCollection'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyBillingAddressCollection'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyAutomaticTax'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCheckoutSessions.PostCheckoutSessionsRequestBodyAutomaticTax'
-- | Contains the different functions to run the operation
-- postChargesChargeRefundsRefund
module StripeAPI.Operations.PostChargesChargeRefundsRefund
-- |
-- POST /v1/charges/{charge}/refunds/{refund}
--
--
-- <p>Update a specified refund.</p>
postChargesChargeRefundsRefund :: forall m. MonadHTTP m => PostChargesChargeRefundsRefundParameters -> Maybe PostChargesChargeRefundsRefundRequestBody -> ClientT m (Response PostChargesChargeRefundsRefundResponse)
-- | Defines the object schema located at
-- paths./v1/charges/{charge}/refunds/{refund}.POST.parameters
-- in the specification.
data PostChargesChargeRefundsRefundParameters
PostChargesChargeRefundsRefundParameters :: Text -> Text -> PostChargesChargeRefundsRefundParameters
-- | pathCharge: Represents the parameter named 'charge'
[postChargesChargeRefundsRefundParametersPathCharge] :: PostChargesChargeRefundsRefundParameters -> Text
-- | pathRefund: Represents the parameter named 'refund'
[postChargesChargeRefundsRefundParametersPathRefund] :: PostChargesChargeRefundsRefundParameters -> Text
-- | Create a new PostChargesChargeRefundsRefundParameters with all
-- required fields.
mkPostChargesChargeRefundsRefundParameters :: Text -> Text -> PostChargesChargeRefundsRefundParameters
-- | Defines the object schema located at
-- paths./v1/charges/{charge}/refunds/{refund}.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostChargesChargeRefundsRefundRequestBody
PostChargesChargeRefundsRefundRequestBody :: Maybe [Text] -> Maybe PostChargesChargeRefundsRefundRequestBodyMetadata'Variants -> PostChargesChargeRefundsRefundRequestBody
-- | expand: Specifies which fields in the response should be expanded.
[postChargesChargeRefundsRefundRequestBodyExpand] :: PostChargesChargeRefundsRefundRequestBody -> Maybe [Text]
-- | metadata
[postChargesChargeRefundsRefundRequestBodyMetadata] :: PostChargesChargeRefundsRefundRequestBody -> Maybe PostChargesChargeRefundsRefundRequestBodyMetadata'Variants
-- | Create a new PostChargesChargeRefundsRefundRequestBody with all
-- required fields.
mkPostChargesChargeRefundsRefundRequestBody :: PostChargesChargeRefundsRefundRequestBody
-- | Defines the oneOf schema located at
-- paths./v1/charges/{charge}/refunds/{refund}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.metadata.anyOf
-- in the specification.
data PostChargesChargeRefundsRefundRequestBodyMetadata'Variants
-- | Represents the JSON value ""
PostChargesChargeRefundsRefundRequestBodyMetadata'EmptyString :: PostChargesChargeRefundsRefundRequestBodyMetadata'Variants
PostChargesChargeRefundsRefundRequestBodyMetadata'Object :: Object -> PostChargesChargeRefundsRefundRequestBodyMetadata'Variants
-- | Represents a response of the operation
-- postChargesChargeRefundsRefund.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- PostChargesChargeRefundsRefundResponseError is used.
data PostChargesChargeRefundsRefundResponse
-- | Means either no matching case available or a parse error
PostChargesChargeRefundsRefundResponseError :: String -> PostChargesChargeRefundsRefundResponse
-- | Successful response.
PostChargesChargeRefundsRefundResponse200 :: Refund -> PostChargesChargeRefundsRefundResponse
-- | Error response.
PostChargesChargeRefundsRefundResponseDefault :: Error -> PostChargesChargeRefundsRefundResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostChargesChargeRefundsRefund.PostChargesChargeRefundsRefundParameters
instance GHC.Show.Show StripeAPI.Operations.PostChargesChargeRefundsRefund.PostChargesChargeRefundsRefundParameters
instance GHC.Classes.Eq StripeAPI.Operations.PostChargesChargeRefundsRefund.PostChargesChargeRefundsRefundRequestBodyMetadata'Variants
instance GHC.Show.Show StripeAPI.Operations.PostChargesChargeRefundsRefund.PostChargesChargeRefundsRefundRequestBodyMetadata'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostChargesChargeRefundsRefund.PostChargesChargeRefundsRefundRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostChargesChargeRefundsRefund.PostChargesChargeRefundsRefundRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostChargesChargeRefundsRefund.PostChargesChargeRefundsRefundResponse
instance GHC.Show.Show StripeAPI.Operations.PostChargesChargeRefundsRefund.PostChargesChargeRefundsRefundResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostChargesChargeRefundsRefund.PostChargesChargeRefundsRefundRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostChargesChargeRefundsRefund.PostChargesChargeRefundsRefundRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostChargesChargeRefundsRefund.PostChargesChargeRefundsRefundRequestBodyMetadata'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostChargesChargeRefundsRefund.PostChargesChargeRefundsRefundRequestBodyMetadata'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostChargesChargeRefundsRefund.PostChargesChargeRefundsRefundParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostChargesChargeRefundsRefund.PostChargesChargeRefundsRefundParameters
-- | Contains the different functions to run the operation
-- postChargesChargeRefunds
module StripeAPI.Operations.PostChargesChargeRefunds
-- |
-- POST /v1/charges/{charge}/refunds
--
--
-- <p>Create a refund.</p>
postChargesChargeRefunds :: forall m. MonadHTTP m => Text -> Maybe PostChargesChargeRefundsRequestBody -> ClientT m (Response PostChargesChargeRefundsResponse)
-- | Defines the object schema located at
-- paths./v1/charges/{charge}/refunds.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostChargesChargeRefundsRequestBody
PostChargesChargeRefundsRequestBody :: Maybe Int -> Maybe [Text] -> Maybe PostChargesChargeRefundsRequestBodyMetadata'Variants -> Maybe Text -> Maybe PostChargesChargeRefundsRequestBodyReason' -> Maybe Bool -> Maybe Bool -> PostChargesChargeRefundsRequestBody
-- | amount
[postChargesChargeRefundsRequestBodyAmount] :: PostChargesChargeRefundsRequestBody -> Maybe Int
-- | expand: Specifies which fields in the response should be expanded.
[postChargesChargeRefundsRequestBodyExpand] :: PostChargesChargeRefundsRequestBody -> Maybe [Text]
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postChargesChargeRefundsRequestBodyMetadata] :: PostChargesChargeRefundsRequestBody -> Maybe PostChargesChargeRefundsRequestBodyMetadata'Variants
-- | payment_intent
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postChargesChargeRefundsRequestBodyPaymentIntent] :: PostChargesChargeRefundsRequestBody -> Maybe Text
-- | reason
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postChargesChargeRefundsRequestBodyReason] :: PostChargesChargeRefundsRequestBody -> Maybe PostChargesChargeRefundsRequestBodyReason'
-- | refund_application_fee
[postChargesChargeRefundsRequestBodyRefundApplicationFee] :: PostChargesChargeRefundsRequestBody -> Maybe Bool
-- | reverse_transfer
[postChargesChargeRefundsRequestBodyReverseTransfer] :: PostChargesChargeRefundsRequestBody -> Maybe Bool
-- | Create a new PostChargesChargeRefundsRequestBody with all
-- required fields.
mkPostChargesChargeRefundsRequestBody :: PostChargesChargeRefundsRequestBody
-- | Defines the oneOf schema located at
-- paths./v1/charges/{charge}/refunds.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.metadata.anyOf
-- in the specification.
--
-- Set of key-value pairs that you can attach to an object. This
-- can be useful for storing additional information about the object in a
-- structured format. Individual keys can be unset by posting an empty
-- value to them. All keys can be unset by posting an empty value to
-- `metadata`.
data PostChargesChargeRefundsRequestBodyMetadata'Variants
-- | Represents the JSON value ""
PostChargesChargeRefundsRequestBodyMetadata'EmptyString :: PostChargesChargeRefundsRequestBodyMetadata'Variants
PostChargesChargeRefundsRequestBodyMetadata'Object :: Object -> PostChargesChargeRefundsRequestBodyMetadata'Variants
-- | Defines the enum schema located at
-- paths./v1/charges/{charge}/refunds.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.reason
-- in the specification.
data PostChargesChargeRefundsRequestBodyReason'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostChargesChargeRefundsRequestBodyReason'Other :: Value -> PostChargesChargeRefundsRequestBodyReason'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostChargesChargeRefundsRequestBodyReason'Typed :: Text -> PostChargesChargeRefundsRequestBodyReason'
-- | Represents the JSON value "duplicate"
PostChargesChargeRefundsRequestBodyReason'EnumDuplicate :: PostChargesChargeRefundsRequestBodyReason'
-- | Represents the JSON value "fraudulent"
PostChargesChargeRefundsRequestBodyReason'EnumFraudulent :: PostChargesChargeRefundsRequestBodyReason'
-- | Represents the JSON value "requested_by_customer"
PostChargesChargeRefundsRequestBodyReason'EnumRequestedByCustomer :: PostChargesChargeRefundsRequestBodyReason'
-- | Represents a response of the operation
-- postChargesChargeRefunds.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostChargesChargeRefundsResponseError
-- is used.
data PostChargesChargeRefundsResponse
-- | Means either no matching case available or a parse error
PostChargesChargeRefundsResponseError :: String -> PostChargesChargeRefundsResponse
-- | Successful response.
PostChargesChargeRefundsResponse200 :: Refund -> PostChargesChargeRefundsResponse
-- | Error response.
PostChargesChargeRefundsResponseDefault :: Error -> PostChargesChargeRefundsResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostChargesChargeRefunds.PostChargesChargeRefundsRequestBodyMetadata'Variants
instance GHC.Show.Show StripeAPI.Operations.PostChargesChargeRefunds.PostChargesChargeRefundsRequestBodyMetadata'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostChargesChargeRefunds.PostChargesChargeRefundsRequestBodyReason'
instance GHC.Show.Show StripeAPI.Operations.PostChargesChargeRefunds.PostChargesChargeRefundsRequestBodyReason'
instance GHC.Classes.Eq StripeAPI.Operations.PostChargesChargeRefunds.PostChargesChargeRefundsRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostChargesChargeRefunds.PostChargesChargeRefundsRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostChargesChargeRefunds.PostChargesChargeRefundsResponse
instance GHC.Show.Show StripeAPI.Operations.PostChargesChargeRefunds.PostChargesChargeRefundsResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostChargesChargeRefunds.PostChargesChargeRefundsRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostChargesChargeRefunds.PostChargesChargeRefundsRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostChargesChargeRefunds.PostChargesChargeRefundsRequestBodyReason'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostChargesChargeRefunds.PostChargesChargeRefundsRequestBodyReason'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostChargesChargeRefunds.PostChargesChargeRefundsRequestBodyMetadata'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostChargesChargeRefunds.PostChargesChargeRefundsRequestBodyMetadata'Variants
-- | Contains the different functions to run the operation
-- postChargesChargeRefund
module StripeAPI.Operations.PostChargesChargeRefund
-- |
-- POST /v1/charges/{charge}/refund
--
--
-- <p>When you create a new refund, you must specify a Charge or a
-- PaymentIntent object on which to create it.</p>
--
-- <p>Creating a new refund will refund a charge that has
-- previously been created but not yet refunded. Funds will be refunded
-- to the credit or debit card that was originally charged.</p>
--
-- <p>You can optionally refund only part of a charge. You can do
-- so multiple times, until the entire charge has been
-- refunded.</p>
--
-- <p>Once entirely refunded, a charge can’t be refunded again.
-- This method will raise an error when called on an already-refunded
-- charge, or when trying to refund more money than is left on a
-- charge.</p>
postChargesChargeRefund :: forall m. MonadHTTP m => Text -> Maybe PostChargesChargeRefundRequestBody -> ClientT m (Response PostChargesChargeRefundResponse)
-- | Defines the object schema located at
-- paths./v1/charges/{charge}/refund.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostChargesChargeRefundRequestBody
PostChargesChargeRefundRequestBody :: Maybe Int -> Maybe [Text] -> Maybe PostChargesChargeRefundRequestBodyMetadata'Variants -> Maybe Text -> Maybe PostChargesChargeRefundRequestBodyReason' -> Maybe Bool -> Maybe Bool -> PostChargesChargeRefundRequestBody
-- | amount
[postChargesChargeRefundRequestBodyAmount] :: PostChargesChargeRefundRequestBody -> Maybe Int
-- | expand: Specifies which fields in the response should be expanded.
[postChargesChargeRefundRequestBodyExpand] :: PostChargesChargeRefundRequestBody -> Maybe [Text]
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postChargesChargeRefundRequestBodyMetadata] :: PostChargesChargeRefundRequestBody -> Maybe PostChargesChargeRefundRequestBodyMetadata'Variants
-- | payment_intent
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postChargesChargeRefundRequestBodyPaymentIntent] :: PostChargesChargeRefundRequestBody -> Maybe Text
-- | reason
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postChargesChargeRefundRequestBodyReason] :: PostChargesChargeRefundRequestBody -> Maybe PostChargesChargeRefundRequestBodyReason'
-- | refund_application_fee
[postChargesChargeRefundRequestBodyRefundApplicationFee] :: PostChargesChargeRefundRequestBody -> Maybe Bool
-- | reverse_transfer
[postChargesChargeRefundRequestBodyReverseTransfer] :: PostChargesChargeRefundRequestBody -> Maybe Bool
-- | Create a new PostChargesChargeRefundRequestBody with all
-- required fields.
mkPostChargesChargeRefundRequestBody :: PostChargesChargeRefundRequestBody
-- | Defines the oneOf schema located at
-- paths./v1/charges/{charge}/refund.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.metadata.anyOf
-- in the specification.
--
-- Set of key-value pairs that you can attach to an object. This
-- can be useful for storing additional information about the object in a
-- structured format. Individual keys can be unset by posting an empty
-- value to them. All keys can be unset by posting an empty value to
-- `metadata`.
data PostChargesChargeRefundRequestBodyMetadata'Variants
-- | Represents the JSON value ""
PostChargesChargeRefundRequestBodyMetadata'EmptyString :: PostChargesChargeRefundRequestBodyMetadata'Variants
PostChargesChargeRefundRequestBodyMetadata'Object :: Object -> PostChargesChargeRefundRequestBodyMetadata'Variants
-- | Defines the enum schema located at
-- paths./v1/charges/{charge}/refund.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.reason
-- in the specification.
data PostChargesChargeRefundRequestBodyReason'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostChargesChargeRefundRequestBodyReason'Other :: Value -> PostChargesChargeRefundRequestBodyReason'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostChargesChargeRefundRequestBodyReason'Typed :: Text -> PostChargesChargeRefundRequestBodyReason'
-- | Represents the JSON value "duplicate"
PostChargesChargeRefundRequestBodyReason'EnumDuplicate :: PostChargesChargeRefundRequestBodyReason'
-- | Represents the JSON value "fraudulent"
PostChargesChargeRefundRequestBodyReason'EnumFraudulent :: PostChargesChargeRefundRequestBodyReason'
-- | Represents the JSON value "requested_by_customer"
PostChargesChargeRefundRequestBodyReason'EnumRequestedByCustomer :: PostChargesChargeRefundRequestBodyReason'
-- | Represents a response of the operation postChargesChargeRefund.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostChargesChargeRefundResponseError is
-- used.
data PostChargesChargeRefundResponse
-- | Means either no matching case available or a parse error
PostChargesChargeRefundResponseError :: String -> PostChargesChargeRefundResponse
-- | Successful response.
PostChargesChargeRefundResponse200 :: Charge -> PostChargesChargeRefundResponse
-- | Error response.
PostChargesChargeRefundResponseDefault :: Error -> PostChargesChargeRefundResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostChargesChargeRefund.PostChargesChargeRefundRequestBodyMetadata'Variants
instance GHC.Show.Show StripeAPI.Operations.PostChargesChargeRefund.PostChargesChargeRefundRequestBodyMetadata'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostChargesChargeRefund.PostChargesChargeRefundRequestBodyReason'
instance GHC.Show.Show StripeAPI.Operations.PostChargesChargeRefund.PostChargesChargeRefundRequestBodyReason'
instance GHC.Classes.Eq StripeAPI.Operations.PostChargesChargeRefund.PostChargesChargeRefundRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostChargesChargeRefund.PostChargesChargeRefundRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostChargesChargeRefund.PostChargesChargeRefundResponse
instance GHC.Show.Show StripeAPI.Operations.PostChargesChargeRefund.PostChargesChargeRefundResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostChargesChargeRefund.PostChargesChargeRefundRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostChargesChargeRefund.PostChargesChargeRefundRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostChargesChargeRefund.PostChargesChargeRefundRequestBodyReason'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostChargesChargeRefund.PostChargesChargeRefundRequestBodyReason'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostChargesChargeRefund.PostChargesChargeRefundRequestBodyMetadata'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostChargesChargeRefund.PostChargesChargeRefundRequestBodyMetadata'Variants
-- | Contains the different functions to run the operation
-- postChargesChargeDisputeClose
module StripeAPI.Operations.PostChargesChargeDisputeClose
-- |
-- POST /v1/charges/{charge}/dispute/close
--
postChargesChargeDisputeClose :: forall m. MonadHTTP m => Text -> Maybe PostChargesChargeDisputeCloseRequestBody -> ClientT m (Response PostChargesChargeDisputeCloseResponse)
-- | Defines the object schema located at
-- paths./v1/charges/{charge}/dispute/close.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostChargesChargeDisputeCloseRequestBody
PostChargesChargeDisputeCloseRequestBody :: Maybe [Text] -> PostChargesChargeDisputeCloseRequestBody
-- | expand: Specifies which fields in the response should be expanded.
[postChargesChargeDisputeCloseRequestBodyExpand] :: PostChargesChargeDisputeCloseRequestBody -> Maybe [Text]
-- | Create a new PostChargesChargeDisputeCloseRequestBody with all
-- required fields.
mkPostChargesChargeDisputeCloseRequestBody :: PostChargesChargeDisputeCloseRequestBody
-- | Represents a response of the operation
-- postChargesChargeDisputeClose.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- PostChargesChargeDisputeCloseResponseError is used.
data PostChargesChargeDisputeCloseResponse
-- | Means either no matching case available or a parse error
PostChargesChargeDisputeCloseResponseError :: String -> PostChargesChargeDisputeCloseResponse
-- | Successful response.
PostChargesChargeDisputeCloseResponse200 :: Dispute -> PostChargesChargeDisputeCloseResponse
-- | Error response.
PostChargesChargeDisputeCloseResponseDefault :: Error -> PostChargesChargeDisputeCloseResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostChargesChargeDisputeClose.PostChargesChargeDisputeCloseRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostChargesChargeDisputeClose.PostChargesChargeDisputeCloseRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostChargesChargeDisputeClose.PostChargesChargeDisputeCloseResponse
instance GHC.Show.Show StripeAPI.Operations.PostChargesChargeDisputeClose.PostChargesChargeDisputeCloseResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostChargesChargeDisputeClose.PostChargesChargeDisputeCloseRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostChargesChargeDisputeClose.PostChargesChargeDisputeCloseRequestBody
-- | Contains the different functions to run the operation
-- postChargesChargeDispute
module StripeAPI.Operations.PostChargesChargeDispute
-- |
-- POST /v1/charges/{charge}/dispute
--
postChargesChargeDispute :: forall m. MonadHTTP m => Text -> Maybe PostChargesChargeDisputeRequestBody -> ClientT m (Response PostChargesChargeDisputeResponse)
-- | Defines the object schema located at
-- paths./v1/charges/{charge}/dispute.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostChargesChargeDisputeRequestBody
PostChargesChargeDisputeRequestBody :: Maybe PostChargesChargeDisputeRequestBodyEvidence' -> Maybe [Text] -> Maybe PostChargesChargeDisputeRequestBodyMetadata'Variants -> Maybe Bool -> PostChargesChargeDisputeRequestBody
-- | evidence: Evidence to upload, to respond to a dispute. Updating any
-- field in the hash will submit all fields in the hash for review. The
-- combined character count of all fields is limited to 150,000.
[postChargesChargeDisputeRequestBodyEvidence] :: PostChargesChargeDisputeRequestBody -> Maybe PostChargesChargeDisputeRequestBodyEvidence'
-- | expand: Specifies which fields in the response should be expanded.
[postChargesChargeDisputeRequestBodyExpand] :: PostChargesChargeDisputeRequestBody -> Maybe [Text]
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postChargesChargeDisputeRequestBodyMetadata] :: PostChargesChargeDisputeRequestBody -> Maybe PostChargesChargeDisputeRequestBodyMetadata'Variants
-- | submit: Whether to immediately submit evidence to the bank. If
-- `false`, evidence is staged on the dispute. Staged evidence is visible
-- in the API and Dashboard, and can be submitted to the bank by making
-- another request with this attribute set to `true` (the default).
[postChargesChargeDisputeRequestBodySubmit] :: PostChargesChargeDisputeRequestBody -> Maybe Bool
-- | Create a new PostChargesChargeDisputeRequestBody with all
-- required fields.
mkPostChargesChargeDisputeRequestBody :: PostChargesChargeDisputeRequestBody
-- | Defines the object schema located at
-- paths./v1/charges/{charge}/dispute.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.evidence
-- in the specification.
--
-- Evidence to upload, to respond to a dispute. Updating any field in the
-- hash will submit all fields in the hash for review. The combined
-- character count of all fields is limited to 150,000.
data PostChargesChargeDisputeRequestBodyEvidence'
PostChargesChargeDisputeRequestBodyEvidence' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PostChargesChargeDisputeRequestBodyEvidence'
-- | access_activity_log
--
-- Constraints:
--
--
-- - Maximum length of 20000
--
[postChargesChargeDisputeRequestBodyEvidence'AccessActivityLog] :: PostChargesChargeDisputeRequestBodyEvidence' -> Maybe Text
-- | billing_address
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postChargesChargeDisputeRequestBodyEvidence'BillingAddress] :: PostChargesChargeDisputeRequestBodyEvidence' -> Maybe Text
-- | cancellation_policy
[postChargesChargeDisputeRequestBodyEvidence'CancellationPolicy] :: PostChargesChargeDisputeRequestBodyEvidence' -> Maybe Text
-- | cancellation_policy_disclosure
--
-- Constraints:
--
--
-- - Maximum length of 20000
--
[postChargesChargeDisputeRequestBodyEvidence'CancellationPolicyDisclosure] :: PostChargesChargeDisputeRequestBodyEvidence' -> Maybe Text
-- | cancellation_rebuttal
--
-- Constraints:
--
--
-- - Maximum length of 20000
--
[postChargesChargeDisputeRequestBodyEvidence'CancellationRebuttal] :: PostChargesChargeDisputeRequestBodyEvidence' -> Maybe Text
-- | customer_communication
[postChargesChargeDisputeRequestBodyEvidence'CustomerCommunication] :: PostChargesChargeDisputeRequestBodyEvidence' -> Maybe Text
-- | customer_email_address
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postChargesChargeDisputeRequestBodyEvidence'CustomerEmailAddress] :: PostChargesChargeDisputeRequestBodyEvidence' -> Maybe Text
-- | customer_name
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postChargesChargeDisputeRequestBodyEvidence'CustomerName] :: PostChargesChargeDisputeRequestBodyEvidence' -> Maybe Text
-- | customer_purchase_ip
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postChargesChargeDisputeRequestBodyEvidence'CustomerPurchaseIp] :: PostChargesChargeDisputeRequestBodyEvidence' -> Maybe Text
-- | customer_signature
[postChargesChargeDisputeRequestBodyEvidence'CustomerSignature] :: PostChargesChargeDisputeRequestBodyEvidence' -> Maybe Text
-- | duplicate_charge_documentation
[postChargesChargeDisputeRequestBodyEvidence'DuplicateChargeDocumentation] :: PostChargesChargeDisputeRequestBodyEvidence' -> Maybe Text
-- | duplicate_charge_explanation
--
-- Constraints:
--
--
-- - Maximum length of 20000
--
[postChargesChargeDisputeRequestBodyEvidence'DuplicateChargeExplanation] :: PostChargesChargeDisputeRequestBodyEvidence' -> Maybe Text
-- | duplicate_charge_id
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postChargesChargeDisputeRequestBodyEvidence'DuplicateChargeId] :: PostChargesChargeDisputeRequestBodyEvidence' -> Maybe Text
-- | product_description
--
-- Constraints:
--
--
-- - Maximum length of 20000
--
[postChargesChargeDisputeRequestBodyEvidence'ProductDescription] :: PostChargesChargeDisputeRequestBodyEvidence' -> Maybe Text
-- | receipt
[postChargesChargeDisputeRequestBodyEvidence'Receipt] :: PostChargesChargeDisputeRequestBodyEvidence' -> Maybe Text
-- | refund_policy
[postChargesChargeDisputeRequestBodyEvidence'RefundPolicy] :: PostChargesChargeDisputeRequestBodyEvidence' -> Maybe Text
-- | refund_policy_disclosure
--
-- Constraints:
--
--
-- - Maximum length of 20000
--
[postChargesChargeDisputeRequestBodyEvidence'RefundPolicyDisclosure] :: PostChargesChargeDisputeRequestBodyEvidence' -> Maybe Text
-- | refund_refusal_explanation
--
-- Constraints:
--
--
-- - Maximum length of 20000
--
[postChargesChargeDisputeRequestBodyEvidence'RefundRefusalExplanation] :: PostChargesChargeDisputeRequestBodyEvidence' -> Maybe Text
-- | service_date
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postChargesChargeDisputeRequestBodyEvidence'ServiceDate] :: PostChargesChargeDisputeRequestBodyEvidence' -> Maybe Text
-- | service_documentation
[postChargesChargeDisputeRequestBodyEvidence'ServiceDocumentation] :: PostChargesChargeDisputeRequestBodyEvidence' -> Maybe Text
-- | shipping_address
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postChargesChargeDisputeRequestBodyEvidence'ShippingAddress] :: PostChargesChargeDisputeRequestBodyEvidence' -> Maybe Text
-- | shipping_carrier
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postChargesChargeDisputeRequestBodyEvidence'ShippingCarrier] :: PostChargesChargeDisputeRequestBodyEvidence' -> Maybe Text
-- | shipping_date
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postChargesChargeDisputeRequestBodyEvidence'ShippingDate] :: PostChargesChargeDisputeRequestBodyEvidence' -> Maybe Text
-- | shipping_documentation
[postChargesChargeDisputeRequestBodyEvidence'ShippingDocumentation] :: PostChargesChargeDisputeRequestBodyEvidence' -> Maybe Text
-- | shipping_tracking_number
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postChargesChargeDisputeRequestBodyEvidence'ShippingTrackingNumber] :: PostChargesChargeDisputeRequestBodyEvidence' -> Maybe Text
-- | uncategorized_file
[postChargesChargeDisputeRequestBodyEvidence'UncategorizedFile] :: PostChargesChargeDisputeRequestBodyEvidence' -> Maybe Text
-- | uncategorized_text
--
-- Constraints:
--
--
-- - Maximum length of 20000
--
[postChargesChargeDisputeRequestBodyEvidence'UncategorizedText] :: PostChargesChargeDisputeRequestBodyEvidence' -> Maybe Text
-- | Create a new PostChargesChargeDisputeRequestBodyEvidence' with
-- all required fields.
mkPostChargesChargeDisputeRequestBodyEvidence' :: PostChargesChargeDisputeRequestBodyEvidence'
-- | Defines the oneOf schema located at
-- paths./v1/charges/{charge}/dispute.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.metadata.anyOf
-- in the specification.
--
-- Set of key-value pairs that you can attach to an object. This
-- can be useful for storing additional information about the object in a
-- structured format. Individual keys can be unset by posting an empty
-- value to them. All keys can be unset by posting an empty value to
-- `metadata`.
data PostChargesChargeDisputeRequestBodyMetadata'Variants
-- | Represents the JSON value ""
PostChargesChargeDisputeRequestBodyMetadata'EmptyString :: PostChargesChargeDisputeRequestBodyMetadata'Variants
PostChargesChargeDisputeRequestBodyMetadata'Object :: Object -> PostChargesChargeDisputeRequestBodyMetadata'Variants
-- | Represents a response of the operation
-- postChargesChargeDispute.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostChargesChargeDisputeResponseError
-- is used.
data PostChargesChargeDisputeResponse
-- | Means either no matching case available or a parse error
PostChargesChargeDisputeResponseError :: String -> PostChargesChargeDisputeResponse
-- | Successful response.
PostChargesChargeDisputeResponse200 :: Dispute -> PostChargesChargeDisputeResponse
-- | Error response.
PostChargesChargeDisputeResponseDefault :: Error -> PostChargesChargeDisputeResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostChargesChargeDispute.PostChargesChargeDisputeRequestBodyEvidence'
instance GHC.Show.Show StripeAPI.Operations.PostChargesChargeDispute.PostChargesChargeDisputeRequestBodyEvidence'
instance GHC.Classes.Eq StripeAPI.Operations.PostChargesChargeDispute.PostChargesChargeDisputeRequestBodyMetadata'Variants
instance GHC.Show.Show StripeAPI.Operations.PostChargesChargeDispute.PostChargesChargeDisputeRequestBodyMetadata'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostChargesChargeDispute.PostChargesChargeDisputeRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostChargesChargeDispute.PostChargesChargeDisputeRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostChargesChargeDispute.PostChargesChargeDisputeResponse
instance GHC.Show.Show StripeAPI.Operations.PostChargesChargeDispute.PostChargesChargeDisputeResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostChargesChargeDispute.PostChargesChargeDisputeRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostChargesChargeDispute.PostChargesChargeDisputeRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostChargesChargeDispute.PostChargesChargeDisputeRequestBodyMetadata'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostChargesChargeDispute.PostChargesChargeDisputeRequestBodyMetadata'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostChargesChargeDispute.PostChargesChargeDisputeRequestBodyEvidence'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostChargesChargeDispute.PostChargesChargeDisputeRequestBodyEvidence'
-- | Contains the different functions to run the operation
-- postChargesChargeCapture
module StripeAPI.Operations.PostChargesChargeCapture
-- |
-- POST /v1/charges/{charge}/capture
--
--
-- <p>Capture the payment of an existing, uncaptured, charge. This
-- is the second half of the two-step payment flow, where first you <a
-- href="#create_charge">created a charge</a> with the capture
-- option set to false.</p>
--
-- <p>Uncaptured payments expire exactly seven days after they are
-- created. If they are not captured by that point in time, they will be
-- marked as refunded and will no longer be capturable.</p>
postChargesChargeCapture :: forall m. MonadHTTP m => Text -> Maybe PostChargesChargeCaptureRequestBody -> ClientT m (Response PostChargesChargeCaptureResponse)
-- | Defines the object schema located at
-- paths./v1/charges/{charge}/capture.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostChargesChargeCaptureRequestBody
PostChargesChargeCaptureRequestBody :: Maybe Int -> Maybe Int -> Maybe Int -> Maybe [Text] -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe PostChargesChargeCaptureRequestBodyTransferData' -> Maybe Text -> PostChargesChargeCaptureRequestBody
-- | amount: The amount to capture, which must be less than or equal to the
-- original amount. Any additional amount will be automatically refunded.
[postChargesChargeCaptureRequestBodyAmount] :: PostChargesChargeCaptureRequestBody -> Maybe Int
-- | application_fee: An application fee to add on to this charge.
[postChargesChargeCaptureRequestBodyApplicationFee] :: PostChargesChargeCaptureRequestBody -> Maybe Int
-- | application_fee_amount: An application fee amount to add on to this
-- charge, which must be less than or equal to the original amount.
[postChargesChargeCaptureRequestBodyApplicationFeeAmount] :: PostChargesChargeCaptureRequestBody -> Maybe Int
-- | expand: Specifies which fields in the response should be expanded.
[postChargesChargeCaptureRequestBodyExpand] :: PostChargesChargeCaptureRequestBody -> Maybe [Text]
-- | receipt_email: The email address to send this charge's receipt to.
-- This will override the previously-specified email address for this
-- charge, if one was set. Receipts will not be sent in test mode.
[postChargesChargeCaptureRequestBodyReceiptEmail] :: PostChargesChargeCaptureRequestBody -> Maybe Text
-- | statement_descriptor: For card charges, use
-- `statement_descriptor_suffix` instead. Otherwise, you can use this
-- value as the complete description of a charge on your customers’
-- statements. Must contain at least one letter, maximum 22 characters.
--
-- Constraints:
--
--
-- - Maximum length of 22
--
[postChargesChargeCaptureRequestBodyStatementDescriptor] :: PostChargesChargeCaptureRequestBody -> Maybe Text
-- | statement_descriptor_suffix: Provides information about the charge
-- that customers see on their statements. Concatenated with the prefix
-- (shortened descriptor) or statement descriptor that’s set on the
-- account to form the complete statement descriptor. Maximum 22
-- characters for the concatenated descriptor.
--
-- Constraints:
--
--
-- - Maximum length of 22
--
[postChargesChargeCaptureRequestBodyStatementDescriptorSuffix] :: PostChargesChargeCaptureRequestBody -> Maybe Text
-- | transfer_data: An optional dictionary including the account to
-- automatically transfer to as part of a destination charge. See the
-- Connect documentation for details.
[postChargesChargeCaptureRequestBodyTransferData] :: PostChargesChargeCaptureRequestBody -> Maybe PostChargesChargeCaptureRequestBodyTransferData'
-- | transfer_group: A string that identifies this transaction as part of a
-- group. `transfer_group` may only be provided if it has not been set.
-- See the Connect documentation for details.
[postChargesChargeCaptureRequestBodyTransferGroup] :: PostChargesChargeCaptureRequestBody -> Maybe Text
-- | Create a new PostChargesChargeCaptureRequestBody with all
-- required fields.
mkPostChargesChargeCaptureRequestBody :: PostChargesChargeCaptureRequestBody
-- | Defines the object schema located at
-- paths./v1/charges/{charge}/capture.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.transfer_data
-- in the specification.
--
-- An optional dictionary including the account to automatically transfer
-- to as part of a destination charge. See the Connect
-- documentation for details.
data PostChargesChargeCaptureRequestBodyTransferData'
PostChargesChargeCaptureRequestBodyTransferData' :: Maybe Int -> PostChargesChargeCaptureRequestBodyTransferData'
-- | amount
[postChargesChargeCaptureRequestBodyTransferData'Amount] :: PostChargesChargeCaptureRequestBodyTransferData' -> Maybe Int
-- | Create a new PostChargesChargeCaptureRequestBodyTransferData'
-- with all required fields.
mkPostChargesChargeCaptureRequestBodyTransferData' :: PostChargesChargeCaptureRequestBodyTransferData'
-- | Represents a response of the operation
-- postChargesChargeCapture.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostChargesChargeCaptureResponseError
-- is used.
data PostChargesChargeCaptureResponse
-- | Means either no matching case available or a parse error
PostChargesChargeCaptureResponseError :: String -> PostChargesChargeCaptureResponse
-- | Successful response.
PostChargesChargeCaptureResponse200 :: Charge -> PostChargesChargeCaptureResponse
-- | Error response.
PostChargesChargeCaptureResponseDefault :: Error -> PostChargesChargeCaptureResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostChargesChargeCapture.PostChargesChargeCaptureRequestBodyTransferData'
instance GHC.Show.Show StripeAPI.Operations.PostChargesChargeCapture.PostChargesChargeCaptureRequestBodyTransferData'
instance GHC.Classes.Eq StripeAPI.Operations.PostChargesChargeCapture.PostChargesChargeCaptureRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostChargesChargeCapture.PostChargesChargeCaptureRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostChargesChargeCapture.PostChargesChargeCaptureResponse
instance GHC.Show.Show StripeAPI.Operations.PostChargesChargeCapture.PostChargesChargeCaptureResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostChargesChargeCapture.PostChargesChargeCaptureRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostChargesChargeCapture.PostChargesChargeCaptureRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostChargesChargeCapture.PostChargesChargeCaptureRequestBodyTransferData'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostChargesChargeCapture.PostChargesChargeCaptureRequestBodyTransferData'
-- | Contains the different functions to run the operation
-- postChargesCharge
module StripeAPI.Operations.PostChargesCharge
-- |
-- POST /v1/charges/{charge}
--
--
-- <p>Updates the specified charge by setting the values of the
-- parameters passed. Any parameters not provided will be left
-- unchanged.</p>
postChargesCharge :: forall m. MonadHTTP m => Text -> Maybe PostChargesChargeRequestBody -> ClientT m (Response PostChargesChargeResponse)
-- | Defines the object schema located at
-- paths./v1/charges/{charge}.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostChargesChargeRequestBody
PostChargesChargeRequestBody :: Maybe Text -> Maybe Text -> Maybe [Text] -> Maybe PostChargesChargeRequestBodyFraudDetails' -> Maybe PostChargesChargeRequestBodyMetadata'Variants -> Maybe Text -> Maybe PostChargesChargeRequestBodyShipping' -> Maybe Text -> PostChargesChargeRequestBody
-- | customer: The ID of an existing customer that will be associated with
-- this request. This field may only be updated if there is no existing
-- associated customer with this charge.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postChargesChargeRequestBodyCustomer] :: PostChargesChargeRequestBody -> Maybe Text
-- | description: An arbitrary string which you can attach to a charge
-- object. It is displayed when in the web interface alongside the
-- charge. Note that if you use Stripe to send automatic email receipts
-- to your customers, your receipt emails will include the `description`
-- of the charge(s) that they are describing.
--
-- Constraints:
--
--
-- - Maximum length of 40000
--
[postChargesChargeRequestBodyDescription] :: PostChargesChargeRequestBody -> Maybe Text
-- | expand: Specifies which fields in the response should be expanded.
[postChargesChargeRequestBodyExpand] :: PostChargesChargeRequestBody -> Maybe [Text]
-- | fraud_details: A set of key-value pairs you can attach to a charge
-- giving information about its riskiness. If you believe a charge is
-- fraudulent, include a `user_report` key with a value of `fraudulent`.
-- If you believe a charge is safe, include a `user_report` key with a
-- value of `safe`. Stripe will use the information you send to improve
-- our fraud detection algorithms.
[postChargesChargeRequestBodyFraudDetails] :: PostChargesChargeRequestBody -> Maybe PostChargesChargeRequestBodyFraudDetails'
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postChargesChargeRequestBodyMetadata] :: PostChargesChargeRequestBody -> Maybe PostChargesChargeRequestBodyMetadata'Variants
-- | receipt_email: This is the email address that the receipt for this
-- charge will be sent to. If this field is updated, then a new email
-- receipt will be sent to the updated address.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postChargesChargeRequestBodyReceiptEmail] :: PostChargesChargeRequestBody -> Maybe Text
-- | shipping: Shipping information for the charge. Helps prevent fraud on
-- charges for physical goods.
[postChargesChargeRequestBodyShipping] :: PostChargesChargeRequestBody -> Maybe PostChargesChargeRequestBodyShipping'
-- | transfer_group: A string that identifies this transaction as part of a
-- group. `transfer_group` may only be provided if it has not been set.
-- See the Connect documentation for details.
[postChargesChargeRequestBodyTransferGroup] :: PostChargesChargeRequestBody -> Maybe Text
-- | Create a new PostChargesChargeRequestBody with all required
-- fields.
mkPostChargesChargeRequestBody :: PostChargesChargeRequestBody
-- | Defines the object schema located at
-- paths./v1/charges/{charge}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.fraud_details
-- in the specification.
--
-- A set of key-value pairs you can attach to a charge giving information
-- about its riskiness. If you believe a charge is fraudulent, include a
-- `user_report` key with a value of `fraudulent`. If you believe a
-- charge is safe, include a `user_report` key with a value of `safe`.
-- Stripe will use the information you send to improve our fraud
-- detection algorithms.
data PostChargesChargeRequestBodyFraudDetails'
PostChargesChargeRequestBodyFraudDetails' :: PostChargesChargeRequestBodyFraudDetails'UserReport' -> PostChargesChargeRequestBodyFraudDetails'
-- | user_report
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postChargesChargeRequestBodyFraudDetails'UserReport] :: PostChargesChargeRequestBodyFraudDetails' -> PostChargesChargeRequestBodyFraudDetails'UserReport'
-- | Create a new PostChargesChargeRequestBodyFraudDetails' with all
-- required fields.
mkPostChargesChargeRequestBodyFraudDetails' :: PostChargesChargeRequestBodyFraudDetails'UserReport' -> PostChargesChargeRequestBodyFraudDetails'
-- | Defines the enum schema located at
-- paths./v1/charges/{charge}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.fraud_details.properties.user_report
-- in the specification.
data PostChargesChargeRequestBodyFraudDetails'UserReport'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostChargesChargeRequestBodyFraudDetails'UserReport'Other :: Value -> PostChargesChargeRequestBodyFraudDetails'UserReport'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostChargesChargeRequestBodyFraudDetails'UserReport'Typed :: Text -> PostChargesChargeRequestBodyFraudDetails'UserReport'
-- | Represents the JSON value ""
PostChargesChargeRequestBodyFraudDetails'UserReport'EnumEmptyString :: PostChargesChargeRequestBodyFraudDetails'UserReport'
-- | Represents the JSON value "fraudulent"
PostChargesChargeRequestBodyFraudDetails'UserReport'EnumFraudulent :: PostChargesChargeRequestBodyFraudDetails'UserReport'
-- | Represents the JSON value "safe"
PostChargesChargeRequestBodyFraudDetails'UserReport'EnumSafe :: PostChargesChargeRequestBodyFraudDetails'UserReport'
-- | Defines the oneOf schema located at
-- paths./v1/charges/{charge}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.metadata.anyOf
-- in the specification.
--
-- Set of key-value pairs that you can attach to an object. This
-- can be useful for storing additional information about the object in a
-- structured format. Individual keys can be unset by posting an empty
-- value to them. All keys can be unset by posting an empty value to
-- `metadata`.
data PostChargesChargeRequestBodyMetadata'Variants
-- | Represents the JSON value ""
PostChargesChargeRequestBodyMetadata'EmptyString :: PostChargesChargeRequestBodyMetadata'Variants
PostChargesChargeRequestBodyMetadata'Object :: Object -> PostChargesChargeRequestBodyMetadata'Variants
-- | Defines the object schema located at
-- paths./v1/charges/{charge}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.shipping
-- in the specification.
--
-- Shipping information for the charge. Helps prevent fraud on charges
-- for physical goods.
data PostChargesChargeRequestBodyShipping'
PostChargesChargeRequestBodyShipping' :: PostChargesChargeRequestBodyShipping'Address' -> Maybe Text -> Text -> Maybe Text -> Maybe Text -> PostChargesChargeRequestBodyShipping'
-- | address
[postChargesChargeRequestBodyShipping'Address] :: PostChargesChargeRequestBodyShipping' -> PostChargesChargeRequestBodyShipping'Address'
-- | carrier
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postChargesChargeRequestBodyShipping'Carrier] :: PostChargesChargeRequestBodyShipping' -> Maybe Text
-- | name
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postChargesChargeRequestBodyShipping'Name] :: PostChargesChargeRequestBodyShipping' -> Text
-- | phone
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postChargesChargeRequestBodyShipping'Phone] :: PostChargesChargeRequestBodyShipping' -> Maybe Text
-- | tracking_number
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postChargesChargeRequestBodyShipping'TrackingNumber] :: PostChargesChargeRequestBodyShipping' -> Maybe Text
-- | Create a new PostChargesChargeRequestBodyShipping' with all
-- required fields.
mkPostChargesChargeRequestBodyShipping' :: PostChargesChargeRequestBodyShipping'Address' -> Text -> PostChargesChargeRequestBodyShipping'
-- | Defines the object schema located at
-- paths./v1/charges/{charge}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.shipping.properties.address
-- in the specification.
data PostChargesChargeRequestBodyShipping'Address'
PostChargesChargeRequestBodyShipping'Address' :: Maybe Text -> Maybe Text -> Text -> Maybe Text -> Maybe Text -> Maybe Text -> PostChargesChargeRequestBodyShipping'Address'
-- | city
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postChargesChargeRequestBodyShipping'Address'City] :: PostChargesChargeRequestBodyShipping'Address' -> Maybe Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postChargesChargeRequestBodyShipping'Address'Country] :: PostChargesChargeRequestBodyShipping'Address' -> Maybe Text
-- | line1
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postChargesChargeRequestBodyShipping'Address'Line1] :: PostChargesChargeRequestBodyShipping'Address' -> Text
-- | line2
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postChargesChargeRequestBodyShipping'Address'Line2] :: PostChargesChargeRequestBodyShipping'Address' -> Maybe Text
-- | postal_code
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postChargesChargeRequestBodyShipping'Address'PostalCode] :: PostChargesChargeRequestBodyShipping'Address' -> Maybe Text
-- | state
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postChargesChargeRequestBodyShipping'Address'State] :: PostChargesChargeRequestBodyShipping'Address' -> Maybe Text
-- | Create a new PostChargesChargeRequestBodyShipping'Address' with
-- all required fields.
mkPostChargesChargeRequestBodyShipping'Address' :: Text -> PostChargesChargeRequestBodyShipping'Address'
-- | Represents a response of the operation postChargesCharge.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostChargesChargeResponseError is used.
data PostChargesChargeResponse
-- | Means either no matching case available or a parse error
PostChargesChargeResponseError :: String -> PostChargesChargeResponse
-- | Successful response.
PostChargesChargeResponse200 :: Charge -> PostChargesChargeResponse
-- | Error response.
PostChargesChargeResponseDefault :: Error -> PostChargesChargeResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostChargesCharge.PostChargesChargeRequestBodyFraudDetails'UserReport'
instance GHC.Show.Show StripeAPI.Operations.PostChargesCharge.PostChargesChargeRequestBodyFraudDetails'UserReport'
instance GHC.Classes.Eq StripeAPI.Operations.PostChargesCharge.PostChargesChargeRequestBodyFraudDetails'
instance GHC.Show.Show StripeAPI.Operations.PostChargesCharge.PostChargesChargeRequestBodyFraudDetails'
instance GHC.Classes.Eq StripeAPI.Operations.PostChargesCharge.PostChargesChargeRequestBodyMetadata'Variants
instance GHC.Show.Show StripeAPI.Operations.PostChargesCharge.PostChargesChargeRequestBodyMetadata'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostChargesCharge.PostChargesChargeRequestBodyShipping'Address'
instance GHC.Show.Show StripeAPI.Operations.PostChargesCharge.PostChargesChargeRequestBodyShipping'Address'
instance GHC.Classes.Eq StripeAPI.Operations.PostChargesCharge.PostChargesChargeRequestBodyShipping'
instance GHC.Show.Show StripeAPI.Operations.PostChargesCharge.PostChargesChargeRequestBodyShipping'
instance GHC.Classes.Eq StripeAPI.Operations.PostChargesCharge.PostChargesChargeRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostChargesCharge.PostChargesChargeRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostChargesCharge.PostChargesChargeResponse
instance GHC.Show.Show StripeAPI.Operations.PostChargesCharge.PostChargesChargeResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostChargesCharge.PostChargesChargeRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostChargesCharge.PostChargesChargeRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostChargesCharge.PostChargesChargeRequestBodyShipping'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostChargesCharge.PostChargesChargeRequestBodyShipping'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostChargesCharge.PostChargesChargeRequestBodyShipping'Address'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostChargesCharge.PostChargesChargeRequestBodyShipping'Address'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostChargesCharge.PostChargesChargeRequestBodyMetadata'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostChargesCharge.PostChargesChargeRequestBodyMetadata'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostChargesCharge.PostChargesChargeRequestBodyFraudDetails'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostChargesCharge.PostChargesChargeRequestBodyFraudDetails'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostChargesCharge.PostChargesChargeRequestBodyFraudDetails'UserReport'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostChargesCharge.PostChargesChargeRequestBodyFraudDetails'UserReport'
-- | Contains the different functions to run the operation postCharges
module StripeAPI.Operations.PostCharges
-- |
-- POST /v1/charges
--
--
-- <p>To charge a credit card or other payment source, you create a
-- <code>Charge</code> object. If your API key is in test
-- mode, the supplied payment source (e.g., card) won’t actually be
-- charged, although everything else will occur as if in live mode.
-- (Stripe assumes that the charge would have completed
-- successfully).</p>
postCharges :: forall m. MonadHTTP m => Maybe PostChargesRequestBody -> ClientT m (Response PostChargesResponse)
-- | Defines the object schema located at
-- paths./v1/charges.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostChargesRequestBody
PostChargesRequestBody :: Maybe Int -> Maybe Int -> Maybe Int -> Maybe Bool -> Maybe PostChargesRequestBodyCard'Variants -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe PostChargesRequestBodyDestination'Variants -> Maybe [Text] -> Maybe PostChargesRequestBodyMetadata'Variants -> Maybe Text -> Maybe Text -> Maybe PostChargesRequestBodyShipping' -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe PostChargesRequestBodyTransferData' -> Maybe Text -> PostChargesRequestBody
-- | amount: Amount intended to be collected by this payment. A positive
-- integer representing how much to charge in the smallest currency
-- unit (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a
-- zero-decimal currency). The minimum amount is $0.50 US or
-- equivalent in charge currency. The amount value supports up to
-- eight digits (e.g., a value of 99999999 for a USD charge of
-- $999,999.99).
[postChargesRequestBodyAmount] :: PostChargesRequestBody -> Maybe Int
-- | application_fee
[postChargesRequestBodyApplicationFee] :: PostChargesRequestBody -> Maybe Int
-- | application_fee_amount: A fee in %s that will be applied to the charge
-- and transferred to the application owner's Stripe account. The request
-- must be made with an OAuth key or the `Stripe-Account` header in order
-- to take an application fee. For more information, see the application
-- fees documentation.
[postChargesRequestBodyApplicationFeeAmount] :: PostChargesRequestBody -> Maybe Int
-- | capture: Whether to immediately capture the charge. Defaults to
-- `true`. When `false`, the charge issues an authorization (or
-- pre-authorization), and will need to be captured later.
-- Uncaptured charges expire in _seven days_. For more information, see
-- the authorizing charges and settling later documentation.
[postChargesRequestBodyCapture] :: PostChargesRequestBody -> Maybe Bool
-- | card: A token, like the ones returned by Stripe.js.
[postChargesRequestBodyCard] :: PostChargesRequestBody -> Maybe PostChargesRequestBodyCard'Variants
-- | currency: Three-letter ISO currency code, in lowercase. Must be
-- a supported currency.
[postChargesRequestBodyCurrency] :: PostChargesRequestBody -> Maybe Text
-- | customer: The ID of an existing customer that will be charged in this
-- request.
--
-- Constraints:
--
--
-- - Maximum length of 500
--
[postChargesRequestBodyCustomer] :: PostChargesRequestBody -> Maybe Text
-- | description: An arbitrary string which you can attach to a `Charge`
-- object. It is displayed when in the web interface alongside the
-- charge. Note that if you use Stripe to send automatic email receipts
-- to your customers, your receipt emails will include the `description`
-- of the charge(s) that they are describing.
--
-- Constraints:
--
--
-- - Maximum length of 40000
--
[postChargesRequestBodyDescription] :: PostChargesRequestBody -> Maybe Text
-- | destination
[postChargesRequestBodyDestination] :: PostChargesRequestBody -> Maybe PostChargesRequestBodyDestination'Variants
-- | expand: Specifies which fields in the response should be expanded.
[postChargesRequestBodyExpand] :: PostChargesRequestBody -> Maybe [Text]
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postChargesRequestBodyMetadata] :: PostChargesRequestBody -> Maybe PostChargesRequestBodyMetadata'Variants
-- | on_behalf_of: The Stripe account ID for which these funds are
-- intended. Automatically set if you use the `destination` parameter.
-- For details, see Creating Separate Charges and Transfers.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postChargesRequestBodyOnBehalfOf] :: PostChargesRequestBody -> Maybe Text
-- | receipt_email: The email address to which this charge's receipt
-- will be sent. The receipt will not be sent until the charge is paid,
-- and no receipts will be sent for test mode charges. If this charge is
-- for a Customer, the email address specified here will override
-- the customer's email address. If `receipt_email` is specified for a
-- charge in live mode, a receipt will be sent regardless of your
-- email settings.
[postChargesRequestBodyReceiptEmail] :: PostChargesRequestBody -> Maybe Text
-- | shipping: Shipping information for the charge. Helps prevent fraud on
-- charges for physical goods.
[postChargesRequestBodyShipping] :: PostChargesRequestBody -> Maybe PostChargesRequestBodyShipping'
-- | source: A payment source to be charged. This can be the ID of a
-- card (i.e., credit or debit card), a bank account, a
-- source, a token, or a connected account. For
-- certain sources---namely, cards, bank accounts, and
-- attached sources---you must also pass the ID of the associated
-- customer.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postChargesRequestBodySource] :: PostChargesRequestBody -> Maybe Text
-- | statement_descriptor: For card charges, use
-- `statement_descriptor_suffix` instead. Otherwise, you can use this
-- value as the complete description of a charge on your customers’
-- statements. Must contain at least one letter, maximum 22 characters.
--
-- Constraints:
--
--
-- - Maximum length of 22
--
[postChargesRequestBodyStatementDescriptor] :: PostChargesRequestBody -> Maybe Text
-- | statement_descriptor_suffix: Provides information about the charge
-- that customers see on their statements. Concatenated with the prefix
-- (shortened descriptor) or statement descriptor that’s set on the
-- account to form the complete statement descriptor. Maximum 22
-- characters for the concatenated descriptor.
--
-- Constraints:
--
--
-- - Maximum length of 22
--
[postChargesRequestBodyStatementDescriptorSuffix] :: PostChargesRequestBody -> Maybe Text
-- | transfer_data: An optional dictionary including the account to
-- automatically transfer to as part of a destination charge. See the
-- Connect documentation for details.
[postChargesRequestBodyTransferData] :: PostChargesRequestBody -> Maybe PostChargesRequestBodyTransferData'
-- | transfer_group: A string that identifies this transaction as part of a
-- group. For details, see Grouping transactions.
[postChargesRequestBodyTransferGroup] :: PostChargesRequestBody -> Maybe Text
-- | Create a new PostChargesRequestBody with all required fields.
mkPostChargesRequestBody :: PostChargesRequestBody
-- | Defines the object schema located at
-- paths./v1/charges.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.card.anyOf
-- in the specification.
data PostChargesRequestBodyCard'OneOf1
PostChargesRequestBodyCard'OneOf1 :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Int -> Int -> Maybe Object -> Maybe Text -> Text -> Maybe PostChargesRequestBodyCard'OneOf1Object' -> PostChargesRequestBodyCard'OneOf1
-- | address_city
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postChargesRequestBodyCard'OneOf1AddressCity] :: PostChargesRequestBodyCard'OneOf1 -> Maybe Text
-- | address_country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postChargesRequestBodyCard'OneOf1AddressCountry] :: PostChargesRequestBodyCard'OneOf1 -> Maybe Text
-- | address_line1
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postChargesRequestBodyCard'OneOf1AddressLine1] :: PostChargesRequestBodyCard'OneOf1 -> Maybe Text
-- | address_line2
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postChargesRequestBodyCard'OneOf1AddressLine2] :: PostChargesRequestBodyCard'OneOf1 -> Maybe Text
-- | address_state
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postChargesRequestBodyCard'OneOf1AddressState] :: PostChargesRequestBodyCard'OneOf1 -> Maybe Text
-- | address_zip
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postChargesRequestBodyCard'OneOf1AddressZip] :: PostChargesRequestBodyCard'OneOf1 -> Maybe Text
-- | cvc
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postChargesRequestBodyCard'OneOf1Cvc] :: PostChargesRequestBodyCard'OneOf1 -> Maybe Text
-- | exp_month
[postChargesRequestBodyCard'OneOf1ExpMonth] :: PostChargesRequestBodyCard'OneOf1 -> Int
-- | exp_year
[postChargesRequestBodyCard'OneOf1ExpYear] :: PostChargesRequestBodyCard'OneOf1 -> Int
-- | metadata
[postChargesRequestBodyCard'OneOf1Metadata] :: PostChargesRequestBodyCard'OneOf1 -> Maybe Object
-- | name
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postChargesRequestBodyCard'OneOf1Name] :: PostChargesRequestBodyCard'OneOf1 -> Maybe Text
-- | number
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postChargesRequestBodyCard'OneOf1Number] :: PostChargesRequestBodyCard'OneOf1 -> Text
-- | object
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postChargesRequestBodyCard'OneOf1Object] :: PostChargesRequestBodyCard'OneOf1 -> Maybe PostChargesRequestBodyCard'OneOf1Object'
-- | Create a new PostChargesRequestBodyCard'OneOf1 with all
-- required fields.
mkPostChargesRequestBodyCard'OneOf1 :: Int -> Int -> Text -> PostChargesRequestBodyCard'OneOf1
-- | Defines the enum schema located at
-- paths./v1/charges.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.card.anyOf.properties.object
-- in the specification.
data PostChargesRequestBodyCard'OneOf1Object'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostChargesRequestBodyCard'OneOf1Object'Other :: Value -> PostChargesRequestBodyCard'OneOf1Object'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostChargesRequestBodyCard'OneOf1Object'Typed :: Text -> PostChargesRequestBodyCard'OneOf1Object'
-- | Represents the JSON value "card"
PostChargesRequestBodyCard'OneOf1Object'EnumCard :: PostChargesRequestBodyCard'OneOf1Object'
-- | Defines the oneOf schema located at
-- paths./v1/charges.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.card.anyOf
-- in the specification.
--
-- A token, like the ones returned by Stripe.js.
data PostChargesRequestBodyCard'Variants
PostChargesRequestBodyCard'PostChargesRequestBodyCard'OneOf1 :: PostChargesRequestBodyCard'OneOf1 -> PostChargesRequestBodyCard'Variants
PostChargesRequestBodyCard'Text :: Text -> PostChargesRequestBodyCard'Variants
-- | Defines the object schema located at
-- paths./v1/charges.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.destination.anyOf
-- in the specification.
data PostChargesRequestBodyDestination'OneOf1
PostChargesRequestBodyDestination'OneOf1 :: Text -> Maybe Int -> PostChargesRequestBodyDestination'OneOf1
-- | account
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postChargesRequestBodyDestination'OneOf1Account] :: PostChargesRequestBodyDestination'OneOf1 -> Text
-- | amount
[postChargesRequestBodyDestination'OneOf1Amount] :: PostChargesRequestBodyDestination'OneOf1 -> Maybe Int
-- | Create a new PostChargesRequestBodyDestination'OneOf1 with all
-- required fields.
mkPostChargesRequestBodyDestination'OneOf1 :: Text -> PostChargesRequestBodyDestination'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/charges.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.destination.anyOf
-- in the specification.
data PostChargesRequestBodyDestination'Variants
PostChargesRequestBodyDestination'PostChargesRequestBodyDestination'OneOf1 :: PostChargesRequestBodyDestination'OneOf1 -> PostChargesRequestBodyDestination'Variants
PostChargesRequestBodyDestination'Text :: Text -> PostChargesRequestBodyDestination'Variants
-- | Defines the oneOf schema located at
-- paths./v1/charges.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.metadata.anyOf
-- in the specification.
--
-- Set of key-value pairs that you can attach to an object. This
-- can be useful for storing additional information about the object in a
-- structured format. Individual keys can be unset by posting an empty
-- value to them. All keys can be unset by posting an empty value to
-- `metadata`.
data PostChargesRequestBodyMetadata'Variants
-- | Represents the JSON value ""
PostChargesRequestBodyMetadata'EmptyString :: PostChargesRequestBodyMetadata'Variants
PostChargesRequestBodyMetadata'Object :: Object -> PostChargesRequestBodyMetadata'Variants
-- | Defines the object schema located at
-- paths./v1/charges.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.shipping
-- in the specification.
--
-- Shipping information for the charge. Helps prevent fraud on charges
-- for physical goods.
data PostChargesRequestBodyShipping'
PostChargesRequestBodyShipping' :: PostChargesRequestBodyShipping'Address' -> Maybe Text -> Text -> Maybe Text -> Maybe Text -> PostChargesRequestBodyShipping'
-- | address
[postChargesRequestBodyShipping'Address] :: PostChargesRequestBodyShipping' -> PostChargesRequestBodyShipping'Address'
-- | carrier
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postChargesRequestBodyShipping'Carrier] :: PostChargesRequestBodyShipping' -> Maybe Text
-- | name
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postChargesRequestBodyShipping'Name] :: PostChargesRequestBodyShipping' -> Text
-- | phone
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postChargesRequestBodyShipping'Phone] :: PostChargesRequestBodyShipping' -> Maybe Text
-- | tracking_number
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postChargesRequestBodyShipping'TrackingNumber] :: PostChargesRequestBodyShipping' -> Maybe Text
-- | Create a new PostChargesRequestBodyShipping' with all required
-- fields.
mkPostChargesRequestBodyShipping' :: PostChargesRequestBodyShipping'Address' -> Text -> PostChargesRequestBodyShipping'
-- | Defines the object schema located at
-- paths./v1/charges.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.shipping.properties.address
-- in the specification.
data PostChargesRequestBodyShipping'Address'
PostChargesRequestBodyShipping'Address' :: Maybe Text -> Maybe Text -> Text -> Maybe Text -> Maybe Text -> Maybe Text -> PostChargesRequestBodyShipping'Address'
-- | city
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postChargesRequestBodyShipping'Address'City] :: PostChargesRequestBodyShipping'Address' -> Maybe Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postChargesRequestBodyShipping'Address'Country] :: PostChargesRequestBodyShipping'Address' -> Maybe Text
-- | line1
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postChargesRequestBodyShipping'Address'Line1] :: PostChargesRequestBodyShipping'Address' -> Text
-- | line2
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postChargesRequestBodyShipping'Address'Line2] :: PostChargesRequestBodyShipping'Address' -> Maybe Text
-- | postal_code
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postChargesRequestBodyShipping'Address'PostalCode] :: PostChargesRequestBodyShipping'Address' -> Maybe Text
-- | state
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postChargesRequestBodyShipping'Address'State] :: PostChargesRequestBodyShipping'Address' -> Maybe Text
-- | Create a new PostChargesRequestBodyShipping'Address' with all
-- required fields.
mkPostChargesRequestBodyShipping'Address' :: Text -> PostChargesRequestBodyShipping'Address'
-- | Defines the object schema located at
-- paths./v1/charges.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.transfer_data
-- in the specification.
--
-- An optional dictionary including the account to automatically transfer
-- to as part of a destination charge. See the Connect
-- documentation for details.
data PostChargesRequestBodyTransferData'
PostChargesRequestBodyTransferData' :: Maybe Int -> Text -> PostChargesRequestBodyTransferData'
-- | amount
[postChargesRequestBodyTransferData'Amount] :: PostChargesRequestBodyTransferData' -> Maybe Int
-- | destination
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postChargesRequestBodyTransferData'Destination] :: PostChargesRequestBodyTransferData' -> Text
-- | Create a new PostChargesRequestBodyTransferData' with all
-- required fields.
mkPostChargesRequestBodyTransferData' :: Text -> PostChargesRequestBodyTransferData'
-- | Represents a response of the operation postCharges.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostChargesResponseError is used.
data PostChargesResponse
-- | Means either no matching case available or a parse error
PostChargesResponseError :: String -> PostChargesResponse
-- | Successful response.
PostChargesResponse200 :: Charge -> PostChargesResponse
-- | Error response.
PostChargesResponseDefault :: Error -> PostChargesResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostCharges.PostChargesRequestBodyCard'OneOf1Object'
instance GHC.Show.Show StripeAPI.Operations.PostCharges.PostChargesRequestBodyCard'OneOf1Object'
instance GHC.Classes.Eq StripeAPI.Operations.PostCharges.PostChargesRequestBodyCard'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostCharges.PostChargesRequestBodyCard'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostCharges.PostChargesRequestBodyCard'Variants
instance GHC.Show.Show StripeAPI.Operations.PostCharges.PostChargesRequestBodyCard'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostCharges.PostChargesRequestBodyDestination'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostCharges.PostChargesRequestBodyDestination'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostCharges.PostChargesRequestBodyDestination'Variants
instance GHC.Show.Show StripeAPI.Operations.PostCharges.PostChargesRequestBodyDestination'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostCharges.PostChargesRequestBodyMetadata'Variants
instance GHC.Show.Show StripeAPI.Operations.PostCharges.PostChargesRequestBodyMetadata'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostCharges.PostChargesRequestBodyShipping'Address'
instance GHC.Show.Show StripeAPI.Operations.PostCharges.PostChargesRequestBodyShipping'Address'
instance GHC.Classes.Eq StripeAPI.Operations.PostCharges.PostChargesRequestBodyShipping'
instance GHC.Show.Show StripeAPI.Operations.PostCharges.PostChargesRequestBodyShipping'
instance GHC.Classes.Eq StripeAPI.Operations.PostCharges.PostChargesRequestBodyTransferData'
instance GHC.Show.Show StripeAPI.Operations.PostCharges.PostChargesRequestBodyTransferData'
instance GHC.Classes.Eq StripeAPI.Operations.PostCharges.PostChargesRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostCharges.PostChargesRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostCharges.PostChargesResponse
instance GHC.Show.Show StripeAPI.Operations.PostCharges.PostChargesResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCharges.PostChargesRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCharges.PostChargesRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCharges.PostChargesRequestBodyTransferData'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCharges.PostChargesRequestBodyTransferData'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCharges.PostChargesRequestBodyShipping'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCharges.PostChargesRequestBodyShipping'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCharges.PostChargesRequestBodyShipping'Address'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCharges.PostChargesRequestBodyShipping'Address'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCharges.PostChargesRequestBodyMetadata'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCharges.PostChargesRequestBodyMetadata'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCharges.PostChargesRequestBodyDestination'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCharges.PostChargesRequestBodyDestination'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCharges.PostChargesRequestBodyDestination'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCharges.PostChargesRequestBodyDestination'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCharges.PostChargesRequestBodyCard'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCharges.PostChargesRequestBodyCard'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCharges.PostChargesRequestBodyCard'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCharges.PostChargesRequestBodyCard'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostCharges.PostChargesRequestBodyCard'OneOf1Object'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostCharges.PostChargesRequestBodyCard'OneOf1Object'
-- | Contains the different functions to run the operation
-- postBillingPortalSessions
module StripeAPI.Operations.PostBillingPortalSessions
-- |
-- POST /v1/billing_portal/sessions
--
--
-- <p>Creates a session of the customer portal.</p>
postBillingPortalSessions :: forall m. MonadHTTP m => PostBillingPortalSessionsRequestBody -> ClientT m (Response PostBillingPortalSessionsResponse)
-- | Defines the object schema located at
-- paths./v1/billing_portal/sessions.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostBillingPortalSessionsRequestBody
PostBillingPortalSessionsRequestBody :: Maybe Text -> Text -> Maybe [Text] -> Maybe Text -> Maybe Text -> PostBillingPortalSessionsRequestBody
-- | configuration: The ID of an existing configuration to use for
-- this session, describing its functionality and features. If not
-- specified, the session uses the default configuration.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postBillingPortalSessionsRequestBodyConfiguration] :: PostBillingPortalSessionsRequestBody -> Maybe Text
-- | customer: The ID of an existing customer.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postBillingPortalSessionsRequestBodyCustomer] :: PostBillingPortalSessionsRequestBody -> Text
-- | expand: Specifies which fields in the response should be expanded.
[postBillingPortalSessionsRequestBodyExpand] :: PostBillingPortalSessionsRequestBody -> Maybe [Text]
-- | on_behalf_of: The `on_behalf_of` account to use for this session. When
-- specified, only subscriptions and invoices with this `on_behalf_of`
-- account appear in the portal. For more information, see the
-- docs. Use the Accounts API to modify the `on_behalf_of`
-- account's branding settings, which the portal displays.
[postBillingPortalSessionsRequestBodyOnBehalfOf] :: PostBillingPortalSessionsRequestBody -> Maybe Text
-- | return_url: The default URL to redirect customers to when they click
-- on the portal's link to return to your website.
[postBillingPortalSessionsRequestBodyReturnUrl] :: PostBillingPortalSessionsRequestBody -> Maybe Text
-- | Create a new PostBillingPortalSessionsRequestBody with all
-- required fields.
mkPostBillingPortalSessionsRequestBody :: Text -> PostBillingPortalSessionsRequestBody
-- | Represents a response of the operation
-- postBillingPortalSessions.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostBillingPortalSessionsResponseError
-- is used.
data PostBillingPortalSessionsResponse
-- | Means either no matching case available or a parse error
PostBillingPortalSessionsResponseError :: String -> PostBillingPortalSessionsResponse
-- | Successful response.
PostBillingPortalSessionsResponse200 :: BillingPortal'session -> PostBillingPortalSessionsResponse
-- | Error response.
PostBillingPortalSessionsResponseDefault :: Error -> PostBillingPortalSessionsResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostBillingPortalSessions.PostBillingPortalSessionsRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostBillingPortalSessions.PostBillingPortalSessionsRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostBillingPortalSessions.PostBillingPortalSessionsResponse
instance GHC.Show.Show StripeAPI.Operations.PostBillingPortalSessions.PostBillingPortalSessionsResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostBillingPortalSessions.PostBillingPortalSessionsRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostBillingPortalSessions.PostBillingPortalSessionsRequestBody
-- | Contains the different functions to run the operation
-- postBillingPortalConfigurationsConfiguration
module StripeAPI.Operations.PostBillingPortalConfigurationsConfiguration
-- |
-- POST /v1/billing_portal/configurations/{configuration}
--
--
-- <p>Updates a configuration that describes the functionality of
-- the customer portal.</p>
postBillingPortalConfigurationsConfiguration :: forall m. MonadHTTP m => Text -> Maybe PostBillingPortalConfigurationsConfigurationRequestBody -> ClientT m (Response PostBillingPortalConfigurationsConfigurationResponse)
-- | Defines the object schema located at
-- paths./v1/billing_portal/configurations/{configuration}.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostBillingPortalConfigurationsConfigurationRequestBody
PostBillingPortalConfigurationsConfigurationRequestBody :: Maybe Bool -> Maybe PostBillingPortalConfigurationsConfigurationRequestBodyBusinessProfile' -> Maybe PostBillingPortalConfigurationsConfigurationRequestBodyDefaultReturnUrl'Variants -> Maybe [Text] -> Maybe PostBillingPortalConfigurationsConfigurationRequestBodyFeatures' -> PostBillingPortalConfigurationsConfigurationRequestBody
-- | active: Whether the configuration is active and can be used to create
-- portal sessions.
[postBillingPortalConfigurationsConfigurationRequestBodyActive] :: PostBillingPortalConfigurationsConfigurationRequestBody -> Maybe Bool
-- | business_profile: The business information shown to customers in the
-- portal.
[postBillingPortalConfigurationsConfigurationRequestBodyBusinessProfile] :: PostBillingPortalConfigurationsConfigurationRequestBody -> Maybe PostBillingPortalConfigurationsConfigurationRequestBodyBusinessProfile'
-- | default_return_url: The default URL to redirect customers to when they
-- click on the portal's link to return to your website. This can be
-- overriden when creating the session.
[postBillingPortalConfigurationsConfigurationRequestBodyDefaultReturnUrl] :: PostBillingPortalConfigurationsConfigurationRequestBody -> Maybe PostBillingPortalConfigurationsConfigurationRequestBodyDefaultReturnUrl'Variants
-- | expand: Specifies which fields in the response should be expanded.
[postBillingPortalConfigurationsConfigurationRequestBodyExpand] :: PostBillingPortalConfigurationsConfigurationRequestBody -> Maybe [Text]
-- | features: Information about the features available in the portal.
[postBillingPortalConfigurationsConfigurationRequestBodyFeatures] :: PostBillingPortalConfigurationsConfigurationRequestBody -> Maybe PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'
-- | Create a new
-- PostBillingPortalConfigurationsConfigurationRequestBody with
-- all required fields.
mkPostBillingPortalConfigurationsConfigurationRequestBody :: PostBillingPortalConfigurationsConfigurationRequestBody
-- | Defines the object schema located at
-- paths./v1/billing_portal/configurations/{configuration}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.business_profile
-- in the specification.
--
-- The business information shown to customers in the portal.
data PostBillingPortalConfigurationsConfigurationRequestBodyBusinessProfile'
PostBillingPortalConfigurationsConfigurationRequestBodyBusinessProfile' :: Maybe Text -> Maybe Text -> Maybe Text -> PostBillingPortalConfigurationsConfigurationRequestBodyBusinessProfile'
-- | headline
--
-- Constraints:
--
--
-- - Maximum length of 60
--
[postBillingPortalConfigurationsConfigurationRequestBodyBusinessProfile'Headline] :: PostBillingPortalConfigurationsConfigurationRequestBodyBusinessProfile' -> Maybe Text
-- | privacy_policy_url
[postBillingPortalConfigurationsConfigurationRequestBodyBusinessProfile'PrivacyPolicyUrl] :: PostBillingPortalConfigurationsConfigurationRequestBodyBusinessProfile' -> Maybe Text
-- | terms_of_service_url
[postBillingPortalConfigurationsConfigurationRequestBodyBusinessProfile'TermsOfServiceUrl] :: PostBillingPortalConfigurationsConfigurationRequestBodyBusinessProfile' -> Maybe Text
-- | Create a new
-- PostBillingPortalConfigurationsConfigurationRequestBodyBusinessProfile'
-- with all required fields.
mkPostBillingPortalConfigurationsConfigurationRequestBodyBusinessProfile' :: PostBillingPortalConfigurationsConfigurationRequestBodyBusinessProfile'
-- | Defines the oneOf schema located at
-- paths./v1/billing_portal/configurations/{configuration}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.default_return_url.anyOf
-- in the specification.
--
-- The default URL to redirect customers to when they click on the
-- portal's link to return to your website. This can be overriden
-- when creating the session.
data PostBillingPortalConfigurationsConfigurationRequestBodyDefaultReturnUrl'Variants
-- | Represents the JSON value ""
PostBillingPortalConfigurationsConfigurationRequestBodyDefaultReturnUrl'EmptyString :: PostBillingPortalConfigurationsConfigurationRequestBodyDefaultReturnUrl'Variants
PostBillingPortalConfigurationsConfigurationRequestBodyDefaultReturnUrl'Text :: Text -> PostBillingPortalConfigurationsConfigurationRequestBodyDefaultReturnUrl'Variants
-- | Defines the object schema located at
-- paths./v1/billing_portal/configurations/{configuration}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.features
-- in the specification.
--
-- Information about the features available in the portal.
data PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'
PostBillingPortalConfigurationsConfigurationRequestBodyFeatures' :: Maybe PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'CustomerUpdate' -> Maybe PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'InvoiceHistory' -> Maybe PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'PaymentMethodUpdate' -> Maybe PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionCancel' -> Maybe PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionPause' -> Maybe PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionUpdate' -> PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'
-- | customer_update
[postBillingPortalConfigurationsConfigurationRequestBodyFeatures'CustomerUpdate] :: PostBillingPortalConfigurationsConfigurationRequestBodyFeatures' -> Maybe PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'CustomerUpdate'
-- | invoice_history
[postBillingPortalConfigurationsConfigurationRequestBodyFeatures'InvoiceHistory] :: PostBillingPortalConfigurationsConfigurationRequestBodyFeatures' -> Maybe PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'InvoiceHistory'
-- | payment_method_update
[postBillingPortalConfigurationsConfigurationRequestBodyFeatures'PaymentMethodUpdate] :: PostBillingPortalConfigurationsConfigurationRequestBodyFeatures' -> Maybe PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'PaymentMethodUpdate'
-- | subscription_cancel
[postBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionCancel] :: PostBillingPortalConfigurationsConfigurationRequestBodyFeatures' -> Maybe PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionCancel'
-- | subscription_pause
[postBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionPause] :: PostBillingPortalConfigurationsConfigurationRequestBodyFeatures' -> Maybe PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionPause'
-- | subscription_update
[postBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionUpdate] :: PostBillingPortalConfigurationsConfigurationRequestBodyFeatures' -> Maybe PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionUpdate'
-- | Create a new
-- PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'
-- with all required fields.
mkPostBillingPortalConfigurationsConfigurationRequestBodyFeatures' :: PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'
-- | Defines the object schema located at
-- paths./v1/billing_portal/configurations/{configuration}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.features.properties.customer_update
-- in the specification.
data PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'CustomerUpdate'
PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'CustomerUpdate' :: Maybe PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'CustomerUpdate'AllowedUpdates'Variants -> Maybe Bool -> PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'CustomerUpdate'
-- | allowed_updates
[postBillingPortalConfigurationsConfigurationRequestBodyFeatures'CustomerUpdate'AllowedUpdates] :: PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'CustomerUpdate' -> Maybe PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'CustomerUpdate'AllowedUpdates'Variants
-- | enabled
[postBillingPortalConfigurationsConfigurationRequestBodyFeatures'CustomerUpdate'Enabled] :: PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'CustomerUpdate' -> Maybe Bool
-- | Create a new
-- PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'CustomerUpdate'
-- with all required fields.
mkPostBillingPortalConfigurationsConfigurationRequestBodyFeatures'CustomerUpdate' :: PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'CustomerUpdate'
-- | Defines the enum schema located at
-- paths./v1/billing_portal/configurations/{configuration}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.features.properties.customer_update.properties.allowed_updates.anyOf.items
-- in the specification.
data PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'CustomerUpdate'AllowedUpdates'OneOf1
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'CustomerUpdate'AllowedUpdates'OneOf1Other :: Value -> PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'CustomerUpdate'AllowedUpdates'OneOf1
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'CustomerUpdate'AllowedUpdates'OneOf1Typed :: Text -> PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'CustomerUpdate'AllowedUpdates'OneOf1
-- | Represents the JSON value "address"
PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'CustomerUpdate'AllowedUpdates'OneOf1EnumAddress :: PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'CustomerUpdate'AllowedUpdates'OneOf1
-- | Represents the JSON value "email"
PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'CustomerUpdate'AllowedUpdates'OneOf1EnumEmail :: PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'CustomerUpdate'AllowedUpdates'OneOf1
-- | Represents the JSON value "phone"
PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'CustomerUpdate'AllowedUpdates'OneOf1EnumPhone :: PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'CustomerUpdate'AllowedUpdates'OneOf1
-- | Represents the JSON value "shipping"
PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'CustomerUpdate'AllowedUpdates'OneOf1EnumShipping :: PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'CustomerUpdate'AllowedUpdates'OneOf1
-- | Represents the JSON value "tax_id"
PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'CustomerUpdate'AllowedUpdates'OneOf1EnumTaxId :: PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'CustomerUpdate'AllowedUpdates'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/billing_portal/configurations/{configuration}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.features.properties.customer_update.properties.allowed_updates.anyOf
-- in the specification.
data PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'CustomerUpdate'AllowedUpdates'Variants
-- | Represents the JSON value ""
PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'CustomerUpdate'AllowedUpdates'EmptyString :: PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'CustomerUpdate'AllowedUpdates'Variants
PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'CustomerUpdate'AllowedUpdates'ListTPostBillingPortalConfigurationsConfigurationRequestBodyFeatures'CustomerUpdate'AllowedUpdates'OneOf1 :: [PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'CustomerUpdate'AllowedUpdates'OneOf1] -> PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'CustomerUpdate'AllowedUpdates'Variants
-- | Defines the object schema located at
-- paths./v1/billing_portal/configurations/{configuration}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.features.properties.invoice_history
-- in the specification.
data PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'InvoiceHistory'
PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'InvoiceHistory' :: Bool -> PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'InvoiceHistory'
-- | enabled
[postBillingPortalConfigurationsConfigurationRequestBodyFeatures'InvoiceHistory'Enabled] :: PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'InvoiceHistory' -> Bool
-- | Create a new
-- PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'InvoiceHistory'
-- with all required fields.
mkPostBillingPortalConfigurationsConfigurationRequestBodyFeatures'InvoiceHistory' :: Bool -> PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'InvoiceHistory'
-- | Defines the object schema located at
-- paths./v1/billing_portal/configurations/{configuration}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.features.properties.payment_method_update
-- in the specification.
data PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'PaymentMethodUpdate'
PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'PaymentMethodUpdate' :: Bool -> PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'PaymentMethodUpdate'
-- | enabled
[postBillingPortalConfigurationsConfigurationRequestBodyFeatures'PaymentMethodUpdate'Enabled] :: PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'PaymentMethodUpdate' -> Bool
-- | Create a new
-- PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'PaymentMethodUpdate'
-- with all required fields.
mkPostBillingPortalConfigurationsConfigurationRequestBodyFeatures'PaymentMethodUpdate' :: Bool -> PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'PaymentMethodUpdate'
-- | Defines the object schema located at
-- paths./v1/billing_portal/configurations/{configuration}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.features.properties.subscription_cancel
-- in the specification.
data PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionCancel'
PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionCancel' :: Maybe Bool -> Maybe PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionCancel'Mode' -> Maybe PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionCancel'ProrationBehavior' -> PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionCancel'
-- | enabled
[postBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionCancel'Enabled] :: PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionCancel' -> Maybe Bool
-- | mode
[postBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionCancel'Mode] :: PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionCancel' -> Maybe PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionCancel'Mode'
-- | proration_behavior
[postBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionCancel'ProrationBehavior] :: PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionCancel' -> Maybe PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionCancel'ProrationBehavior'
-- | Create a new
-- PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionCancel'
-- with all required fields.
mkPostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionCancel' :: PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionCancel'
-- | Defines the enum schema located at
-- paths./v1/billing_portal/configurations/{configuration}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.features.properties.subscription_cancel.properties.mode
-- in the specification.
data PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionCancel'Mode'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionCancel'Mode'Other :: Value -> PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionCancel'Mode'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionCancel'Mode'Typed :: Text -> PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionCancel'Mode'
-- | Represents the JSON value "at_period_end"
PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionCancel'Mode'EnumAtPeriodEnd :: PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionCancel'Mode'
-- | Represents the JSON value "immediately"
PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionCancel'Mode'EnumImmediately :: PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionCancel'Mode'
-- | Defines the enum schema located at
-- paths./v1/billing_portal/configurations/{configuration}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.features.properties.subscription_cancel.properties.proration_behavior
-- in the specification.
data PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionCancel'ProrationBehavior'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionCancel'ProrationBehavior'Other :: Value -> PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionCancel'ProrationBehavior'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionCancel'ProrationBehavior'Typed :: Text -> PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionCancel'ProrationBehavior'
-- | Represents the JSON value "always_invoice"
PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionCancel'ProrationBehavior'EnumAlwaysInvoice :: PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionCancel'ProrationBehavior'
-- | Represents the JSON value "create_prorations"
PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionCancel'ProrationBehavior'EnumCreateProrations :: PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionCancel'ProrationBehavior'
-- | Represents the JSON value "none"
PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionCancel'ProrationBehavior'EnumNone :: PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionCancel'ProrationBehavior'
-- | Defines the object schema located at
-- paths./v1/billing_portal/configurations/{configuration}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.features.properties.subscription_pause
-- in the specification.
data PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionPause'
PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionPause' :: Maybe Bool -> PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionPause'
-- | enabled
[postBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionPause'Enabled] :: PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionPause' -> Maybe Bool
-- | Create a new
-- PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionPause'
-- with all required fields.
mkPostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionPause' :: PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionPause'
-- | Defines the object schema located at
-- paths./v1/billing_portal/configurations/{configuration}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.features.properties.subscription_update
-- in the specification.
data PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionUpdate'
PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionUpdate' :: Maybe PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionUpdate'DefaultAllowedUpdates'Variants -> Maybe Bool -> Maybe PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionUpdate'Products'Variants -> Maybe PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionUpdate'ProrationBehavior' -> PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionUpdate'
-- | default_allowed_updates
[postBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionUpdate'DefaultAllowedUpdates] :: PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionUpdate' -> Maybe PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionUpdate'DefaultAllowedUpdates'Variants
-- | enabled
[postBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionUpdate'Enabled] :: PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionUpdate' -> Maybe Bool
-- | products
[postBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionUpdate'Products] :: PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionUpdate' -> Maybe PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionUpdate'Products'Variants
-- | proration_behavior
[postBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionUpdate'ProrationBehavior] :: PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionUpdate' -> Maybe PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionUpdate'ProrationBehavior'
-- | Create a new
-- PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionUpdate'
-- with all required fields.
mkPostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionUpdate' :: PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionUpdate'
-- | Defines the enum schema located at
-- paths./v1/billing_portal/configurations/{configuration}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.features.properties.subscription_update.properties.default_allowed_updates.anyOf.items
-- in the specification.
data PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionUpdate'DefaultAllowedUpdates'OneOf1
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionUpdate'DefaultAllowedUpdates'OneOf1Other :: Value -> PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionUpdate'DefaultAllowedUpdates'OneOf1
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionUpdate'DefaultAllowedUpdates'OneOf1Typed :: Text -> PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionUpdate'DefaultAllowedUpdates'OneOf1
-- | Represents the JSON value "price"
PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionUpdate'DefaultAllowedUpdates'OneOf1EnumPrice :: PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionUpdate'DefaultAllowedUpdates'OneOf1
-- | Represents the JSON value "promotion_code"
PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionUpdate'DefaultAllowedUpdates'OneOf1EnumPromotionCode :: PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionUpdate'DefaultAllowedUpdates'OneOf1
-- | Represents the JSON value "quantity"
PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionUpdate'DefaultAllowedUpdates'OneOf1EnumQuantity :: PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionUpdate'DefaultAllowedUpdates'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/billing_portal/configurations/{configuration}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.features.properties.subscription_update.properties.default_allowed_updates.anyOf
-- in the specification.
data PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionUpdate'DefaultAllowedUpdates'Variants
-- | Represents the JSON value ""
PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionUpdate'DefaultAllowedUpdates'EmptyString :: PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionUpdate'DefaultAllowedUpdates'Variants
PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionUpdate'DefaultAllowedUpdates'ListTPostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionUpdate'DefaultAllowedUpdates'OneOf1 :: [PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionUpdate'DefaultAllowedUpdates'OneOf1] -> PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionUpdate'DefaultAllowedUpdates'Variants
-- | Defines the object schema located at
-- paths./v1/billing_portal/configurations/{configuration}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.features.properties.subscription_update.properties.products.anyOf.items
-- in the specification.
data PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionUpdate'Products'OneOf1
PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionUpdate'Products'OneOf1 :: [Text] -> Text -> PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionUpdate'Products'OneOf1
-- | prices
[postBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionUpdate'Products'OneOf1Prices] :: PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionUpdate'Products'OneOf1 -> [Text]
-- | product
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionUpdate'Products'OneOf1Product] :: PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionUpdate'Products'OneOf1 -> Text
-- | Create a new
-- PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionUpdate'Products'OneOf1
-- with all required fields.
mkPostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionUpdate'Products'OneOf1 :: [Text] -> Text -> PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionUpdate'Products'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/billing_portal/configurations/{configuration}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.features.properties.subscription_update.properties.products.anyOf
-- in the specification.
data PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionUpdate'Products'Variants
-- | Represents the JSON value ""
PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionUpdate'Products'EmptyString :: PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionUpdate'Products'Variants
PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionUpdate'Products'ListTPostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionUpdate'Products'OneOf1 :: [PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionUpdate'Products'OneOf1] -> PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionUpdate'Products'Variants
-- | Defines the enum schema located at
-- paths./v1/billing_portal/configurations/{configuration}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.features.properties.subscription_update.properties.proration_behavior
-- in the specification.
data PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionUpdate'ProrationBehavior'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionUpdate'ProrationBehavior'Other :: Value -> PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionUpdate'ProrationBehavior'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionUpdate'ProrationBehavior'Typed :: Text -> PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionUpdate'ProrationBehavior'
-- | Represents the JSON value "always_invoice"
PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionUpdate'ProrationBehavior'EnumAlwaysInvoice :: PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionUpdate'ProrationBehavior'
-- | Represents the JSON value "create_prorations"
PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionUpdate'ProrationBehavior'EnumCreateProrations :: PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionUpdate'ProrationBehavior'
-- | Represents the JSON value "none"
PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionUpdate'ProrationBehavior'EnumNone :: PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionUpdate'ProrationBehavior'
-- | Represents a response of the operation
-- postBillingPortalConfigurationsConfiguration.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- PostBillingPortalConfigurationsConfigurationResponseError is
-- used.
data PostBillingPortalConfigurationsConfigurationResponse
-- | Means either no matching case available or a parse error
PostBillingPortalConfigurationsConfigurationResponseError :: String -> PostBillingPortalConfigurationsConfigurationResponse
-- | Successful response.
PostBillingPortalConfigurationsConfigurationResponse200 :: BillingPortal'configuration -> PostBillingPortalConfigurationsConfigurationResponse
-- | Error response.
PostBillingPortalConfigurationsConfigurationResponseDefault :: Error -> PostBillingPortalConfigurationsConfigurationResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostBillingPortalConfigurationsConfiguration.PostBillingPortalConfigurationsConfigurationRequestBodyBusinessProfile'
instance GHC.Show.Show StripeAPI.Operations.PostBillingPortalConfigurationsConfiguration.PostBillingPortalConfigurationsConfigurationRequestBodyBusinessProfile'
instance GHC.Classes.Eq StripeAPI.Operations.PostBillingPortalConfigurationsConfiguration.PostBillingPortalConfigurationsConfigurationRequestBodyDefaultReturnUrl'Variants
instance GHC.Show.Show StripeAPI.Operations.PostBillingPortalConfigurationsConfiguration.PostBillingPortalConfigurationsConfigurationRequestBodyDefaultReturnUrl'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostBillingPortalConfigurationsConfiguration.PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'CustomerUpdate'AllowedUpdates'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostBillingPortalConfigurationsConfiguration.PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'CustomerUpdate'AllowedUpdates'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostBillingPortalConfigurationsConfiguration.PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'CustomerUpdate'AllowedUpdates'Variants
instance GHC.Show.Show StripeAPI.Operations.PostBillingPortalConfigurationsConfiguration.PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'CustomerUpdate'AllowedUpdates'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostBillingPortalConfigurationsConfiguration.PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'CustomerUpdate'
instance GHC.Show.Show StripeAPI.Operations.PostBillingPortalConfigurationsConfiguration.PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'CustomerUpdate'
instance GHC.Classes.Eq StripeAPI.Operations.PostBillingPortalConfigurationsConfiguration.PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'InvoiceHistory'
instance GHC.Show.Show StripeAPI.Operations.PostBillingPortalConfigurationsConfiguration.PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'InvoiceHistory'
instance GHC.Classes.Eq StripeAPI.Operations.PostBillingPortalConfigurationsConfiguration.PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'PaymentMethodUpdate'
instance GHC.Show.Show StripeAPI.Operations.PostBillingPortalConfigurationsConfiguration.PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'PaymentMethodUpdate'
instance GHC.Classes.Eq StripeAPI.Operations.PostBillingPortalConfigurationsConfiguration.PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionCancel'Mode'
instance GHC.Show.Show StripeAPI.Operations.PostBillingPortalConfigurationsConfiguration.PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionCancel'Mode'
instance GHC.Classes.Eq StripeAPI.Operations.PostBillingPortalConfigurationsConfiguration.PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionCancel'ProrationBehavior'
instance GHC.Show.Show StripeAPI.Operations.PostBillingPortalConfigurationsConfiguration.PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionCancel'ProrationBehavior'
instance GHC.Classes.Eq StripeAPI.Operations.PostBillingPortalConfigurationsConfiguration.PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionCancel'
instance GHC.Show.Show StripeAPI.Operations.PostBillingPortalConfigurationsConfiguration.PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionCancel'
instance GHC.Classes.Eq StripeAPI.Operations.PostBillingPortalConfigurationsConfiguration.PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionPause'
instance GHC.Show.Show StripeAPI.Operations.PostBillingPortalConfigurationsConfiguration.PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionPause'
instance GHC.Classes.Eq StripeAPI.Operations.PostBillingPortalConfigurationsConfiguration.PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionUpdate'DefaultAllowedUpdates'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostBillingPortalConfigurationsConfiguration.PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionUpdate'DefaultAllowedUpdates'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostBillingPortalConfigurationsConfiguration.PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionUpdate'DefaultAllowedUpdates'Variants
instance GHC.Show.Show StripeAPI.Operations.PostBillingPortalConfigurationsConfiguration.PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionUpdate'DefaultAllowedUpdates'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostBillingPortalConfigurationsConfiguration.PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionUpdate'Products'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostBillingPortalConfigurationsConfiguration.PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionUpdate'Products'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostBillingPortalConfigurationsConfiguration.PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionUpdate'Products'Variants
instance GHC.Show.Show StripeAPI.Operations.PostBillingPortalConfigurationsConfiguration.PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionUpdate'Products'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostBillingPortalConfigurationsConfiguration.PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionUpdate'ProrationBehavior'
instance GHC.Show.Show StripeAPI.Operations.PostBillingPortalConfigurationsConfiguration.PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionUpdate'ProrationBehavior'
instance GHC.Classes.Eq StripeAPI.Operations.PostBillingPortalConfigurationsConfiguration.PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionUpdate'
instance GHC.Show.Show StripeAPI.Operations.PostBillingPortalConfigurationsConfiguration.PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionUpdate'
instance GHC.Classes.Eq StripeAPI.Operations.PostBillingPortalConfigurationsConfiguration.PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'
instance GHC.Show.Show StripeAPI.Operations.PostBillingPortalConfigurationsConfiguration.PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'
instance GHC.Classes.Eq StripeAPI.Operations.PostBillingPortalConfigurationsConfiguration.PostBillingPortalConfigurationsConfigurationRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostBillingPortalConfigurationsConfiguration.PostBillingPortalConfigurationsConfigurationRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostBillingPortalConfigurationsConfiguration.PostBillingPortalConfigurationsConfigurationResponse
instance GHC.Show.Show StripeAPI.Operations.PostBillingPortalConfigurationsConfiguration.PostBillingPortalConfigurationsConfigurationResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostBillingPortalConfigurationsConfiguration.PostBillingPortalConfigurationsConfigurationRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostBillingPortalConfigurationsConfiguration.PostBillingPortalConfigurationsConfigurationRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostBillingPortalConfigurationsConfiguration.PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostBillingPortalConfigurationsConfiguration.PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostBillingPortalConfigurationsConfiguration.PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionUpdate'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostBillingPortalConfigurationsConfiguration.PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionUpdate'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostBillingPortalConfigurationsConfiguration.PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionUpdate'ProrationBehavior'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostBillingPortalConfigurationsConfiguration.PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionUpdate'ProrationBehavior'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostBillingPortalConfigurationsConfiguration.PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionUpdate'Products'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostBillingPortalConfigurationsConfiguration.PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionUpdate'Products'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostBillingPortalConfigurationsConfiguration.PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionUpdate'Products'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostBillingPortalConfigurationsConfiguration.PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionUpdate'Products'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostBillingPortalConfigurationsConfiguration.PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionUpdate'DefaultAllowedUpdates'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostBillingPortalConfigurationsConfiguration.PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionUpdate'DefaultAllowedUpdates'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostBillingPortalConfigurationsConfiguration.PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionUpdate'DefaultAllowedUpdates'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostBillingPortalConfigurationsConfiguration.PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionUpdate'DefaultAllowedUpdates'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostBillingPortalConfigurationsConfiguration.PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionPause'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostBillingPortalConfigurationsConfiguration.PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionPause'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostBillingPortalConfigurationsConfiguration.PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionCancel'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostBillingPortalConfigurationsConfiguration.PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionCancel'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostBillingPortalConfigurationsConfiguration.PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionCancel'ProrationBehavior'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostBillingPortalConfigurationsConfiguration.PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionCancel'ProrationBehavior'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostBillingPortalConfigurationsConfiguration.PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionCancel'Mode'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostBillingPortalConfigurationsConfiguration.PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'SubscriptionCancel'Mode'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostBillingPortalConfigurationsConfiguration.PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'PaymentMethodUpdate'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostBillingPortalConfigurationsConfiguration.PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'PaymentMethodUpdate'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostBillingPortalConfigurationsConfiguration.PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'InvoiceHistory'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostBillingPortalConfigurationsConfiguration.PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'InvoiceHistory'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostBillingPortalConfigurationsConfiguration.PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'CustomerUpdate'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostBillingPortalConfigurationsConfiguration.PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'CustomerUpdate'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostBillingPortalConfigurationsConfiguration.PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'CustomerUpdate'AllowedUpdates'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostBillingPortalConfigurationsConfiguration.PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'CustomerUpdate'AllowedUpdates'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostBillingPortalConfigurationsConfiguration.PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'CustomerUpdate'AllowedUpdates'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostBillingPortalConfigurationsConfiguration.PostBillingPortalConfigurationsConfigurationRequestBodyFeatures'CustomerUpdate'AllowedUpdates'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostBillingPortalConfigurationsConfiguration.PostBillingPortalConfigurationsConfigurationRequestBodyDefaultReturnUrl'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostBillingPortalConfigurationsConfiguration.PostBillingPortalConfigurationsConfigurationRequestBodyDefaultReturnUrl'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostBillingPortalConfigurationsConfiguration.PostBillingPortalConfigurationsConfigurationRequestBodyBusinessProfile'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostBillingPortalConfigurationsConfiguration.PostBillingPortalConfigurationsConfigurationRequestBodyBusinessProfile'
-- | Contains the different functions to run the operation
-- postBillingPortalConfigurations
module StripeAPI.Operations.PostBillingPortalConfigurations
-- |
-- POST /v1/billing_portal/configurations
--
--
-- <p>Creates a configuration that describes the functionality and
-- behavior of a PortalSession</p>
postBillingPortalConfigurations :: forall m. MonadHTTP m => PostBillingPortalConfigurationsRequestBody -> ClientT m (Response PostBillingPortalConfigurationsResponse)
-- | Defines the object schema located at
-- paths./v1/billing_portal/configurations.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostBillingPortalConfigurationsRequestBody
PostBillingPortalConfigurationsRequestBody :: PostBillingPortalConfigurationsRequestBodyBusinessProfile' -> Maybe PostBillingPortalConfigurationsRequestBodyDefaultReturnUrl'Variants -> Maybe [Text] -> PostBillingPortalConfigurationsRequestBodyFeatures' -> PostBillingPortalConfigurationsRequestBody
-- | business_profile: The business information shown to customers in the
-- portal.
[postBillingPortalConfigurationsRequestBodyBusinessProfile] :: PostBillingPortalConfigurationsRequestBody -> PostBillingPortalConfigurationsRequestBodyBusinessProfile'
-- | default_return_url: The default URL to redirect customers to when they
-- click on the portal's link to return to your website. This can be
-- overriden when creating the session.
[postBillingPortalConfigurationsRequestBodyDefaultReturnUrl] :: PostBillingPortalConfigurationsRequestBody -> Maybe PostBillingPortalConfigurationsRequestBodyDefaultReturnUrl'Variants
-- | expand: Specifies which fields in the response should be expanded.
[postBillingPortalConfigurationsRequestBodyExpand] :: PostBillingPortalConfigurationsRequestBody -> Maybe [Text]
-- | features: Information about the features available in the portal.
[postBillingPortalConfigurationsRequestBodyFeatures] :: PostBillingPortalConfigurationsRequestBody -> PostBillingPortalConfigurationsRequestBodyFeatures'
-- | Create a new PostBillingPortalConfigurationsRequestBody with
-- all required fields.
mkPostBillingPortalConfigurationsRequestBody :: PostBillingPortalConfigurationsRequestBodyBusinessProfile' -> PostBillingPortalConfigurationsRequestBodyFeatures' -> PostBillingPortalConfigurationsRequestBody
-- | Defines the object schema located at
-- paths./v1/billing_portal/configurations.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.business_profile
-- in the specification.
--
-- The business information shown to customers in the portal.
data PostBillingPortalConfigurationsRequestBodyBusinessProfile'
PostBillingPortalConfigurationsRequestBodyBusinessProfile' :: Maybe Text -> Text -> Text -> PostBillingPortalConfigurationsRequestBodyBusinessProfile'
-- | headline
--
-- Constraints:
--
--
-- - Maximum length of 60
--
[postBillingPortalConfigurationsRequestBodyBusinessProfile'Headline] :: PostBillingPortalConfigurationsRequestBodyBusinessProfile' -> Maybe Text
-- | privacy_policy_url
[postBillingPortalConfigurationsRequestBodyBusinessProfile'PrivacyPolicyUrl] :: PostBillingPortalConfigurationsRequestBodyBusinessProfile' -> Text
-- | terms_of_service_url
[postBillingPortalConfigurationsRequestBodyBusinessProfile'TermsOfServiceUrl] :: PostBillingPortalConfigurationsRequestBodyBusinessProfile' -> Text
-- | Create a new
-- PostBillingPortalConfigurationsRequestBodyBusinessProfile' with
-- all required fields.
mkPostBillingPortalConfigurationsRequestBodyBusinessProfile' :: Text -> Text -> PostBillingPortalConfigurationsRequestBodyBusinessProfile'
-- | Defines the oneOf schema located at
-- paths./v1/billing_portal/configurations.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.default_return_url.anyOf
-- in the specification.
--
-- The default URL to redirect customers to when they click on the
-- portal's link to return to your website. This can be overriden
-- when creating the session.
data PostBillingPortalConfigurationsRequestBodyDefaultReturnUrl'Variants
-- | Represents the JSON value ""
PostBillingPortalConfigurationsRequestBodyDefaultReturnUrl'EmptyString :: PostBillingPortalConfigurationsRequestBodyDefaultReturnUrl'Variants
PostBillingPortalConfigurationsRequestBodyDefaultReturnUrl'Text :: Text -> PostBillingPortalConfigurationsRequestBodyDefaultReturnUrl'Variants
-- | Defines the object schema located at
-- paths./v1/billing_portal/configurations.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.features
-- in the specification.
--
-- Information about the features available in the portal.
data PostBillingPortalConfigurationsRequestBodyFeatures'
PostBillingPortalConfigurationsRequestBodyFeatures' :: Maybe PostBillingPortalConfigurationsRequestBodyFeatures'CustomerUpdate' -> Maybe PostBillingPortalConfigurationsRequestBodyFeatures'InvoiceHistory' -> Maybe PostBillingPortalConfigurationsRequestBodyFeatures'PaymentMethodUpdate' -> Maybe PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionCancel' -> Maybe PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionPause' -> Maybe PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionUpdate' -> PostBillingPortalConfigurationsRequestBodyFeatures'
-- | customer_update
[postBillingPortalConfigurationsRequestBodyFeatures'CustomerUpdate] :: PostBillingPortalConfigurationsRequestBodyFeatures' -> Maybe PostBillingPortalConfigurationsRequestBodyFeatures'CustomerUpdate'
-- | invoice_history
[postBillingPortalConfigurationsRequestBodyFeatures'InvoiceHistory] :: PostBillingPortalConfigurationsRequestBodyFeatures' -> Maybe PostBillingPortalConfigurationsRequestBodyFeatures'InvoiceHistory'
-- | payment_method_update
[postBillingPortalConfigurationsRequestBodyFeatures'PaymentMethodUpdate] :: PostBillingPortalConfigurationsRequestBodyFeatures' -> Maybe PostBillingPortalConfigurationsRequestBodyFeatures'PaymentMethodUpdate'
-- | subscription_cancel
[postBillingPortalConfigurationsRequestBodyFeatures'SubscriptionCancel] :: PostBillingPortalConfigurationsRequestBodyFeatures' -> Maybe PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionCancel'
-- | subscription_pause
[postBillingPortalConfigurationsRequestBodyFeatures'SubscriptionPause] :: PostBillingPortalConfigurationsRequestBodyFeatures' -> Maybe PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionPause'
-- | subscription_update
[postBillingPortalConfigurationsRequestBodyFeatures'SubscriptionUpdate] :: PostBillingPortalConfigurationsRequestBodyFeatures' -> Maybe PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionUpdate'
-- | Create a new
-- PostBillingPortalConfigurationsRequestBodyFeatures' with all
-- required fields.
mkPostBillingPortalConfigurationsRequestBodyFeatures' :: PostBillingPortalConfigurationsRequestBodyFeatures'
-- | Defines the object schema located at
-- paths./v1/billing_portal/configurations.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.features.properties.customer_update
-- in the specification.
data PostBillingPortalConfigurationsRequestBodyFeatures'CustomerUpdate'
PostBillingPortalConfigurationsRequestBodyFeatures'CustomerUpdate' :: PostBillingPortalConfigurationsRequestBodyFeatures'CustomerUpdate'AllowedUpdates'Variants -> Bool -> PostBillingPortalConfigurationsRequestBodyFeatures'CustomerUpdate'
-- | allowed_updates
[postBillingPortalConfigurationsRequestBodyFeatures'CustomerUpdate'AllowedUpdates] :: PostBillingPortalConfigurationsRequestBodyFeatures'CustomerUpdate' -> PostBillingPortalConfigurationsRequestBodyFeatures'CustomerUpdate'AllowedUpdates'Variants
-- | enabled
[postBillingPortalConfigurationsRequestBodyFeatures'CustomerUpdate'Enabled] :: PostBillingPortalConfigurationsRequestBodyFeatures'CustomerUpdate' -> Bool
-- | Create a new
-- PostBillingPortalConfigurationsRequestBodyFeatures'CustomerUpdate'
-- with all required fields.
mkPostBillingPortalConfigurationsRequestBodyFeatures'CustomerUpdate' :: PostBillingPortalConfigurationsRequestBodyFeatures'CustomerUpdate'AllowedUpdates'Variants -> Bool -> PostBillingPortalConfigurationsRequestBodyFeatures'CustomerUpdate'
-- | Defines the enum schema located at
-- paths./v1/billing_portal/configurations.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.features.properties.customer_update.properties.allowed_updates.anyOf.items
-- in the specification.
data PostBillingPortalConfigurationsRequestBodyFeatures'CustomerUpdate'AllowedUpdates'OneOf1
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostBillingPortalConfigurationsRequestBodyFeatures'CustomerUpdate'AllowedUpdates'OneOf1Other :: Value -> PostBillingPortalConfigurationsRequestBodyFeatures'CustomerUpdate'AllowedUpdates'OneOf1
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostBillingPortalConfigurationsRequestBodyFeatures'CustomerUpdate'AllowedUpdates'OneOf1Typed :: Text -> PostBillingPortalConfigurationsRequestBodyFeatures'CustomerUpdate'AllowedUpdates'OneOf1
-- | Represents the JSON value "address"
PostBillingPortalConfigurationsRequestBodyFeatures'CustomerUpdate'AllowedUpdates'OneOf1EnumAddress :: PostBillingPortalConfigurationsRequestBodyFeatures'CustomerUpdate'AllowedUpdates'OneOf1
-- | Represents the JSON value "email"
PostBillingPortalConfigurationsRequestBodyFeatures'CustomerUpdate'AllowedUpdates'OneOf1EnumEmail :: PostBillingPortalConfigurationsRequestBodyFeatures'CustomerUpdate'AllowedUpdates'OneOf1
-- | Represents the JSON value "phone"
PostBillingPortalConfigurationsRequestBodyFeatures'CustomerUpdate'AllowedUpdates'OneOf1EnumPhone :: PostBillingPortalConfigurationsRequestBodyFeatures'CustomerUpdate'AllowedUpdates'OneOf1
-- | Represents the JSON value "shipping"
PostBillingPortalConfigurationsRequestBodyFeatures'CustomerUpdate'AllowedUpdates'OneOf1EnumShipping :: PostBillingPortalConfigurationsRequestBodyFeatures'CustomerUpdate'AllowedUpdates'OneOf1
-- | Represents the JSON value "tax_id"
PostBillingPortalConfigurationsRequestBodyFeatures'CustomerUpdate'AllowedUpdates'OneOf1EnumTaxId :: PostBillingPortalConfigurationsRequestBodyFeatures'CustomerUpdate'AllowedUpdates'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/billing_portal/configurations.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.features.properties.customer_update.properties.allowed_updates.anyOf
-- in the specification.
data PostBillingPortalConfigurationsRequestBodyFeatures'CustomerUpdate'AllowedUpdates'Variants
-- | Represents the JSON value ""
PostBillingPortalConfigurationsRequestBodyFeatures'CustomerUpdate'AllowedUpdates'EmptyString :: PostBillingPortalConfigurationsRequestBodyFeatures'CustomerUpdate'AllowedUpdates'Variants
PostBillingPortalConfigurationsRequestBodyFeatures'CustomerUpdate'AllowedUpdates'ListTPostBillingPortalConfigurationsRequestBodyFeatures'CustomerUpdate'AllowedUpdates'OneOf1 :: [PostBillingPortalConfigurationsRequestBodyFeatures'CustomerUpdate'AllowedUpdates'OneOf1] -> PostBillingPortalConfigurationsRequestBodyFeatures'CustomerUpdate'AllowedUpdates'Variants
-- | Defines the object schema located at
-- paths./v1/billing_portal/configurations.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.features.properties.invoice_history
-- in the specification.
data PostBillingPortalConfigurationsRequestBodyFeatures'InvoiceHistory'
PostBillingPortalConfigurationsRequestBodyFeatures'InvoiceHistory' :: Bool -> PostBillingPortalConfigurationsRequestBodyFeatures'InvoiceHistory'
-- | enabled
[postBillingPortalConfigurationsRequestBodyFeatures'InvoiceHistory'Enabled] :: PostBillingPortalConfigurationsRequestBodyFeatures'InvoiceHistory' -> Bool
-- | Create a new
-- PostBillingPortalConfigurationsRequestBodyFeatures'InvoiceHistory'
-- with all required fields.
mkPostBillingPortalConfigurationsRequestBodyFeatures'InvoiceHistory' :: Bool -> PostBillingPortalConfigurationsRequestBodyFeatures'InvoiceHistory'
-- | Defines the object schema located at
-- paths./v1/billing_portal/configurations.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.features.properties.payment_method_update
-- in the specification.
data PostBillingPortalConfigurationsRequestBodyFeatures'PaymentMethodUpdate'
PostBillingPortalConfigurationsRequestBodyFeatures'PaymentMethodUpdate' :: Bool -> PostBillingPortalConfigurationsRequestBodyFeatures'PaymentMethodUpdate'
-- | enabled
[postBillingPortalConfigurationsRequestBodyFeatures'PaymentMethodUpdate'Enabled] :: PostBillingPortalConfigurationsRequestBodyFeatures'PaymentMethodUpdate' -> Bool
-- | Create a new
-- PostBillingPortalConfigurationsRequestBodyFeatures'PaymentMethodUpdate'
-- with all required fields.
mkPostBillingPortalConfigurationsRequestBodyFeatures'PaymentMethodUpdate' :: Bool -> PostBillingPortalConfigurationsRequestBodyFeatures'PaymentMethodUpdate'
-- | Defines the object schema located at
-- paths./v1/billing_portal/configurations.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.features.properties.subscription_cancel
-- in the specification.
data PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionCancel'
PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionCancel' :: Bool -> Maybe PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionCancel'Mode' -> Maybe PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionCancel'ProrationBehavior' -> PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionCancel'
-- | enabled
[postBillingPortalConfigurationsRequestBodyFeatures'SubscriptionCancel'Enabled] :: PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionCancel' -> Bool
-- | mode
[postBillingPortalConfigurationsRequestBodyFeatures'SubscriptionCancel'Mode] :: PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionCancel' -> Maybe PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionCancel'Mode'
-- | proration_behavior
[postBillingPortalConfigurationsRequestBodyFeatures'SubscriptionCancel'ProrationBehavior] :: PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionCancel' -> Maybe PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionCancel'ProrationBehavior'
-- | Create a new
-- PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionCancel'
-- with all required fields.
mkPostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionCancel' :: Bool -> PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionCancel'
-- | Defines the enum schema located at
-- paths./v1/billing_portal/configurations.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.features.properties.subscription_cancel.properties.mode
-- in the specification.
data PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionCancel'Mode'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionCancel'Mode'Other :: Value -> PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionCancel'Mode'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionCancel'Mode'Typed :: Text -> PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionCancel'Mode'
-- | Represents the JSON value "at_period_end"
PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionCancel'Mode'EnumAtPeriodEnd :: PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionCancel'Mode'
-- | Represents the JSON value "immediately"
PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionCancel'Mode'EnumImmediately :: PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionCancel'Mode'
-- | Defines the enum schema located at
-- paths./v1/billing_portal/configurations.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.features.properties.subscription_cancel.properties.proration_behavior
-- in the specification.
data PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionCancel'ProrationBehavior'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionCancel'ProrationBehavior'Other :: Value -> PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionCancel'ProrationBehavior'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionCancel'ProrationBehavior'Typed :: Text -> PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionCancel'ProrationBehavior'
-- | Represents the JSON value "always_invoice"
PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionCancel'ProrationBehavior'EnumAlwaysInvoice :: PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionCancel'ProrationBehavior'
-- | Represents the JSON value "create_prorations"
PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionCancel'ProrationBehavior'EnumCreateProrations :: PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionCancel'ProrationBehavior'
-- | Represents the JSON value "none"
PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionCancel'ProrationBehavior'EnumNone :: PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionCancel'ProrationBehavior'
-- | Defines the object schema located at
-- paths./v1/billing_portal/configurations.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.features.properties.subscription_pause
-- in the specification.
data PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionPause'
PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionPause' :: Maybe Bool -> PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionPause'
-- | enabled
[postBillingPortalConfigurationsRequestBodyFeatures'SubscriptionPause'Enabled] :: PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionPause' -> Maybe Bool
-- | Create a new
-- PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionPause'
-- with all required fields.
mkPostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionPause' :: PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionPause'
-- | Defines the object schema located at
-- paths./v1/billing_portal/configurations.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.features.properties.subscription_update
-- in the specification.
data PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionUpdate'
PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionUpdate' :: PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionUpdate'DefaultAllowedUpdates'Variants -> Bool -> PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionUpdate'Products'Variants -> Maybe PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionUpdate'ProrationBehavior' -> PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionUpdate'
-- | default_allowed_updates
[postBillingPortalConfigurationsRequestBodyFeatures'SubscriptionUpdate'DefaultAllowedUpdates] :: PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionUpdate' -> PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionUpdate'DefaultAllowedUpdates'Variants
-- | enabled
[postBillingPortalConfigurationsRequestBodyFeatures'SubscriptionUpdate'Enabled] :: PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionUpdate' -> Bool
-- | products
[postBillingPortalConfigurationsRequestBodyFeatures'SubscriptionUpdate'Products] :: PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionUpdate' -> PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionUpdate'Products'Variants
-- | proration_behavior
[postBillingPortalConfigurationsRequestBodyFeatures'SubscriptionUpdate'ProrationBehavior] :: PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionUpdate' -> Maybe PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionUpdate'ProrationBehavior'
-- | Create a new
-- PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionUpdate'
-- with all required fields.
mkPostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionUpdate' :: PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionUpdate'DefaultAllowedUpdates'Variants -> Bool -> PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionUpdate'Products'Variants -> PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionUpdate'
-- | Defines the enum schema located at
-- paths./v1/billing_portal/configurations.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.features.properties.subscription_update.properties.default_allowed_updates.anyOf.items
-- in the specification.
data PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionUpdate'DefaultAllowedUpdates'OneOf1
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionUpdate'DefaultAllowedUpdates'OneOf1Other :: Value -> PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionUpdate'DefaultAllowedUpdates'OneOf1
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionUpdate'DefaultAllowedUpdates'OneOf1Typed :: Text -> PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionUpdate'DefaultAllowedUpdates'OneOf1
-- | Represents the JSON value "price"
PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionUpdate'DefaultAllowedUpdates'OneOf1EnumPrice :: PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionUpdate'DefaultAllowedUpdates'OneOf1
-- | Represents the JSON value "promotion_code"
PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionUpdate'DefaultAllowedUpdates'OneOf1EnumPromotionCode :: PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionUpdate'DefaultAllowedUpdates'OneOf1
-- | Represents the JSON value "quantity"
PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionUpdate'DefaultAllowedUpdates'OneOf1EnumQuantity :: PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionUpdate'DefaultAllowedUpdates'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/billing_portal/configurations.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.features.properties.subscription_update.properties.default_allowed_updates.anyOf
-- in the specification.
data PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionUpdate'DefaultAllowedUpdates'Variants
-- | Represents the JSON value ""
PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionUpdate'DefaultAllowedUpdates'EmptyString :: PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionUpdate'DefaultAllowedUpdates'Variants
PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionUpdate'DefaultAllowedUpdates'ListTPostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionUpdate'DefaultAllowedUpdates'OneOf1 :: [PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionUpdate'DefaultAllowedUpdates'OneOf1] -> PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionUpdate'DefaultAllowedUpdates'Variants
-- | Defines the object schema located at
-- paths./v1/billing_portal/configurations.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.features.properties.subscription_update.properties.products.anyOf.items
-- in the specification.
data PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionUpdate'Products'OneOf1
PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionUpdate'Products'OneOf1 :: [Text] -> Text -> PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionUpdate'Products'OneOf1
-- | prices
[postBillingPortalConfigurationsRequestBodyFeatures'SubscriptionUpdate'Products'OneOf1Prices] :: PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionUpdate'Products'OneOf1 -> [Text]
-- | product
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postBillingPortalConfigurationsRequestBodyFeatures'SubscriptionUpdate'Products'OneOf1Product] :: PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionUpdate'Products'OneOf1 -> Text
-- | Create a new
-- PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionUpdate'Products'OneOf1
-- with all required fields.
mkPostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionUpdate'Products'OneOf1 :: [Text] -> Text -> PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionUpdate'Products'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/billing_portal/configurations.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.features.properties.subscription_update.properties.products.anyOf
-- in the specification.
data PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionUpdate'Products'Variants
-- | Represents the JSON value ""
PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionUpdate'Products'EmptyString :: PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionUpdate'Products'Variants
PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionUpdate'Products'ListTPostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionUpdate'Products'OneOf1 :: [PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionUpdate'Products'OneOf1] -> PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionUpdate'Products'Variants
-- | Defines the enum schema located at
-- paths./v1/billing_portal/configurations.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.features.properties.subscription_update.properties.proration_behavior
-- in the specification.
data PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionUpdate'ProrationBehavior'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionUpdate'ProrationBehavior'Other :: Value -> PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionUpdate'ProrationBehavior'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionUpdate'ProrationBehavior'Typed :: Text -> PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionUpdate'ProrationBehavior'
-- | Represents the JSON value "always_invoice"
PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionUpdate'ProrationBehavior'EnumAlwaysInvoice :: PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionUpdate'ProrationBehavior'
-- | Represents the JSON value "create_prorations"
PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionUpdate'ProrationBehavior'EnumCreateProrations :: PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionUpdate'ProrationBehavior'
-- | Represents the JSON value "none"
PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionUpdate'ProrationBehavior'EnumNone :: PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionUpdate'ProrationBehavior'
-- | Represents a response of the operation
-- postBillingPortalConfigurations.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- PostBillingPortalConfigurationsResponseError is used.
data PostBillingPortalConfigurationsResponse
-- | Means either no matching case available or a parse error
PostBillingPortalConfigurationsResponseError :: String -> PostBillingPortalConfigurationsResponse
-- | Successful response.
PostBillingPortalConfigurationsResponse200 :: BillingPortal'configuration -> PostBillingPortalConfigurationsResponse
-- | Error response.
PostBillingPortalConfigurationsResponseDefault :: Error -> PostBillingPortalConfigurationsResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostBillingPortalConfigurations.PostBillingPortalConfigurationsRequestBodyBusinessProfile'
instance GHC.Show.Show StripeAPI.Operations.PostBillingPortalConfigurations.PostBillingPortalConfigurationsRequestBodyBusinessProfile'
instance GHC.Classes.Eq StripeAPI.Operations.PostBillingPortalConfigurations.PostBillingPortalConfigurationsRequestBodyDefaultReturnUrl'Variants
instance GHC.Show.Show StripeAPI.Operations.PostBillingPortalConfigurations.PostBillingPortalConfigurationsRequestBodyDefaultReturnUrl'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostBillingPortalConfigurations.PostBillingPortalConfigurationsRequestBodyFeatures'CustomerUpdate'AllowedUpdates'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostBillingPortalConfigurations.PostBillingPortalConfigurationsRequestBodyFeatures'CustomerUpdate'AllowedUpdates'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostBillingPortalConfigurations.PostBillingPortalConfigurationsRequestBodyFeatures'CustomerUpdate'AllowedUpdates'Variants
instance GHC.Show.Show StripeAPI.Operations.PostBillingPortalConfigurations.PostBillingPortalConfigurationsRequestBodyFeatures'CustomerUpdate'AllowedUpdates'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostBillingPortalConfigurations.PostBillingPortalConfigurationsRequestBodyFeatures'CustomerUpdate'
instance GHC.Show.Show StripeAPI.Operations.PostBillingPortalConfigurations.PostBillingPortalConfigurationsRequestBodyFeatures'CustomerUpdate'
instance GHC.Classes.Eq StripeAPI.Operations.PostBillingPortalConfigurations.PostBillingPortalConfigurationsRequestBodyFeatures'InvoiceHistory'
instance GHC.Show.Show StripeAPI.Operations.PostBillingPortalConfigurations.PostBillingPortalConfigurationsRequestBodyFeatures'InvoiceHistory'
instance GHC.Classes.Eq StripeAPI.Operations.PostBillingPortalConfigurations.PostBillingPortalConfigurationsRequestBodyFeatures'PaymentMethodUpdate'
instance GHC.Show.Show StripeAPI.Operations.PostBillingPortalConfigurations.PostBillingPortalConfigurationsRequestBodyFeatures'PaymentMethodUpdate'
instance GHC.Classes.Eq StripeAPI.Operations.PostBillingPortalConfigurations.PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionCancel'Mode'
instance GHC.Show.Show StripeAPI.Operations.PostBillingPortalConfigurations.PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionCancel'Mode'
instance GHC.Classes.Eq StripeAPI.Operations.PostBillingPortalConfigurations.PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionCancel'ProrationBehavior'
instance GHC.Show.Show StripeAPI.Operations.PostBillingPortalConfigurations.PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionCancel'ProrationBehavior'
instance GHC.Classes.Eq StripeAPI.Operations.PostBillingPortalConfigurations.PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionCancel'
instance GHC.Show.Show StripeAPI.Operations.PostBillingPortalConfigurations.PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionCancel'
instance GHC.Classes.Eq StripeAPI.Operations.PostBillingPortalConfigurations.PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionPause'
instance GHC.Show.Show StripeAPI.Operations.PostBillingPortalConfigurations.PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionPause'
instance GHC.Classes.Eq StripeAPI.Operations.PostBillingPortalConfigurations.PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionUpdate'DefaultAllowedUpdates'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostBillingPortalConfigurations.PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionUpdate'DefaultAllowedUpdates'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostBillingPortalConfigurations.PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionUpdate'DefaultAllowedUpdates'Variants
instance GHC.Show.Show StripeAPI.Operations.PostBillingPortalConfigurations.PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionUpdate'DefaultAllowedUpdates'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostBillingPortalConfigurations.PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionUpdate'Products'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostBillingPortalConfigurations.PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionUpdate'Products'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostBillingPortalConfigurations.PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionUpdate'Products'Variants
instance GHC.Show.Show StripeAPI.Operations.PostBillingPortalConfigurations.PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionUpdate'Products'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostBillingPortalConfigurations.PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionUpdate'ProrationBehavior'
instance GHC.Show.Show StripeAPI.Operations.PostBillingPortalConfigurations.PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionUpdate'ProrationBehavior'
instance GHC.Classes.Eq StripeAPI.Operations.PostBillingPortalConfigurations.PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionUpdate'
instance GHC.Show.Show StripeAPI.Operations.PostBillingPortalConfigurations.PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionUpdate'
instance GHC.Classes.Eq StripeAPI.Operations.PostBillingPortalConfigurations.PostBillingPortalConfigurationsRequestBodyFeatures'
instance GHC.Show.Show StripeAPI.Operations.PostBillingPortalConfigurations.PostBillingPortalConfigurationsRequestBodyFeatures'
instance GHC.Classes.Eq StripeAPI.Operations.PostBillingPortalConfigurations.PostBillingPortalConfigurationsRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostBillingPortalConfigurations.PostBillingPortalConfigurationsRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostBillingPortalConfigurations.PostBillingPortalConfigurationsResponse
instance GHC.Show.Show StripeAPI.Operations.PostBillingPortalConfigurations.PostBillingPortalConfigurationsResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostBillingPortalConfigurations.PostBillingPortalConfigurationsRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostBillingPortalConfigurations.PostBillingPortalConfigurationsRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostBillingPortalConfigurations.PostBillingPortalConfigurationsRequestBodyFeatures'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostBillingPortalConfigurations.PostBillingPortalConfigurationsRequestBodyFeatures'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostBillingPortalConfigurations.PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionUpdate'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostBillingPortalConfigurations.PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionUpdate'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostBillingPortalConfigurations.PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionUpdate'ProrationBehavior'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostBillingPortalConfigurations.PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionUpdate'ProrationBehavior'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostBillingPortalConfigurations.PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionUpdate'Products'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostBillingPortalConfigurations.PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionUpdate'Products'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostBillingPortalConfigurations.PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionUpdate'Products'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostBillingPortalConfigurations.PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionUpdate'Products'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostBillingPortalConfigurations.PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionUpdate'DefaultAllowedUpdates'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostBillingPortalConfigurations.PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionUpdate'DefaultAllowedUpdates'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostBillingPortalConfigurations.PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionUpdate'DefaultAllowedUpdates'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostBillingPortalConfigurations.PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionUpdate'DefaultAllowedUpdates'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostBillingPortalConfigurations.PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionPause'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostBillingPortalConfigurations.PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionPause'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostBillingPortalConfigurations.PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionCancel'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostBillingPortalConfigurations.PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionCancel'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostBillingPortalConfigurations.PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionCancel'ProrationBehavior'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostBillingPortalConfigurations.PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionCancel'ProrationBehavior'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostBillingPortalConfigurations.PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionCancel'Mode'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostBillingPortalConfigurations.PostBillingPortalConfigurationsRequestBodyFeatures'SubscriptionCancel'Mode'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostBillingPortalConfigurations.PostBillingPortalConfigurationsRequestBodyFeatures'PaymentMethodUpdate'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostBillingPortalConfigurations.PostBillingPortalConfigurationsRequestBodyFeatures'PaymentMethodUpdate'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostBillingPortalConfigurations.PostBillingPortalConfigurationsRequestBodyFeatures'InvoiceHistory'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostBillingPortalConfigurations.PostBillingPortalConfigurationsRequestBodyFeatures'InvoiceHistory'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostBillingPortalConfigurations.PostBillingPortalConfigurationsRequestBodyFeatures'CustomerUpdate'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostBillingPortalConfigurations.PostBillingPortalConfigurationsRequestBodyFeatures'CustomerUpdate'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostBillingPortalConfigurations.PostBillingPortalConfigurationsRequestBodyFeatures'CustomerUpdate'AllowedUpdates'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostBillingPortalConfigurations.PostBillingPortalConfigurationsRequestBodyFeatures'CustomerUpdate'AllowedUpdates'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostBillingPortalConfigurations.PostBillingPortalConfigurationsRequestBodyFeatures'CustomerUpdate'AllowedUpdates'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostBillingPortalConfigurations.PostBillingPortalConfigurationsRequestBodyFeatures'CustomerUpdate'AllowedUpdates'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostBillingPortalConfigurations.PostBillingPortalConfigurationsRequestBodyDefaultReturnUrl'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostBillingPortalConfigurations.PostBillingPortalConfigurationsRequestBodyDefaultReturnUrl'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostBillingPortalConfigurations.PostBillingPortalConfigurationsRequestBodyBusinessProfile'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostBillingPortalConfigurations.PostBillingPortalConfigurationsRequestBodyBusinessProfile'
-- | Contains the different functions to run the operation
-- postApplicationFeesIdRefunds
module StripeAPI.Operations.PostApplicationFeesIdRefunds
-- |
-- POST /v1/application_fees/{id}/refunds
--
--
-- <p>Refunds an application fee that has previously been collected
-- but not yet refunded. Funds will be refunded to the Stripe account
-- from which the fee was originally collected.</p>
--
-- <p>You can optionally refund only part of an application fee.
-- You can do so multiple times, until the entire fee has been
-- refunded.</p>
--
-- <p>Once entirely refunded, an application fee can’t be refunded
-- again. This method will raise an error when called on an
-- already-refunded application fee, or when trying to refund more money
-- than is left on an application fee.</p>
postApplicationFeesIdRefunds :: forall m. MonadHTTP m => Text -> Maybe PostApplicationFeesIdRefundsRequestBody -> ClientT m (Response PostApplicationFeesIdRefundsResponse)
-- | Defines the object schema located at
-- paths./v1/application_fees/{id}/refunds.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostApplicationFeesIdRefundsRequestBody
PostApplicationFeesIdRefundsRequestBody :: Maybe Int -> Maybe [Text] -> Maybe Object -> PostApplicationFeesIdRefundsRequestBody
-- | amount: A positive integer, in _%s_, representing how much of this fee
-- to refund. Can refund only up to the remaining unrefunded amount of
-- the fee.
[postApplicationFeesIdRefundsRequestBodyAmount] :: PostApplicationFeesIdRefundsRequestBody -> Maybe Int
-- | expand: Specifies which fields in the response should be expanded.
[postApplicationFeesIdRefundsRequestBodyExpand] :: PostApplicationFeesIdRefundsRequestBody -> Maybe [Text]
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postApplicationFeesIdRefundsRequestBodyMetadata] :: PostApplicationFeesIdRefundsRequestBody -> Maybe Object
-- | Create a new PostApplicationFeesIdRefundsRequestBody with all
-- required fields.
mkPostApplicationFeesIdRefundsRequestBody :: PostApplicationFeesIdRefundsRequestBody
-- | Represents a response of the operation
-- postApplicationFeesIdRefunds.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- PostApplicationFeesIdRefundsResponseError is used.
data PostApplicationFeesIdRefundsResponse
-- | Means either no matching case available or a parse error
PostApplicationFeesIdRefundsResponseError :: String -> PostApplicationFeesIdRefundsResponse
-- | Successful response.
PostApplicationFeesIdRefundsResponse200 :: FeeRefund -> PostApplicationFeesIdRefundsResponse
-- | Error response.
PostApplicationFeesIdRefundsResponseDefault :: Error -> PostApplicationFeesIdRefundsResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostApplicationFeesIdRefunds.PostApplicationFeesIdRefundsRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostApplicationFeesIdRefunds.PostApplicationFeesIdRefundsRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostApplicationFeesIdRefunds.PostApplicationFeesIdRefundsResponse
instance GHC.Show.Show StripeAPI.Operations.PostApplicationFeesIdRefunds.PostApplicationFeesIdRefundsResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostApplicationFeesIdRefunds.PostApplicationFeesIdRefundsRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostApplicationFeesIdRefunds.PostApplicationFeesIdRefundsRequestBody
-- | Contains the different functions to run the operation
-- postApplicationFeesIdRefund
module StripeAPI.Operations.PostApplicationFeesIdRefund
-- |
-- POST /v1/application_fees/{id}/refund
--
postApplicationFeesIdRefund :: forall m. MonadHTTP m => Text -> Maybe PostApplicationFeesIdRefundRequestBody -> ClientT m (Response PostApplicationFeesIdRefundResponse)
-- | Defines the object schema located at
-- paths./v1/application_fees/{id}/refund.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostApplicationFeesIdRefundRequestBody
PostApplicationFeesIdRefundRequestBody :: Maybe Int -> Maybe Text -> Maybe [Text] -> PostApplicationFeesIdRefundRequestBody
-- | amount
[postApplicationFeesIdRefundRequestBodyAmount] :: PostApplicationFeesIdRefundRequestBody -> Maybe Int
-- | directive
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postApplicationFeesIdRefundRequestBodyDirective] :: PostApplicationFeesIdRefundRequestBody -> Maybe Text
-- | expand: Specifies which fields in the response should be expanded.
[postApplicationFeesIdRefundRequestBodyExpand] :: PostApplicationFeesIdRefundRequestBody -> Maybe [Text]
-- | Create a new PostApplicationFeesIdRefundRequestBody with all
-- required fields.
mkPostApplicationFeesIdRefundRequestBody :: PostApplicationFeesIdRefundRequestBody
-- | Represents a response of the operation
-- postApplicationFeesIdRefund.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- PostApplicationFeesIdRefundResponseError is used.
data PostApplicationFeesIdRefundResponse
-- | Means either no matching case available or a parse error
PostApplicationFeesIdRefundResponseError :: String -> PostApplicationFeesIdRefundResponse
-- | Successful response.
PostApplicationFeesIdRefundResponse200 :: ApplicationFee -> PostApplicationFeesIdRefundResponse
-- | Error response.
PostApplicationFeesIdRefundResponseDefault :: Error -> PostApplicationFeesIdRefundResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostApplicationFeesIdRefund.PostApplicationFeesIdRefundRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostApplicationFeesIdRefund.PostApplicationFeesIdRefundRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostApplicationFeesIdRefund.PostApplicationFeesIdRefundResponse
instance GHC.Show.Show StripeAPI.Operations.PostApplicationFeesIdRefund.PostApplicationFeesIdRefundResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostApplicationFeesIdRefund.PostApplicationFeesIdRefundRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostApplicationFeesIdRefund.PostApplicationFeesIdRefundRequestBody
-- | Contains the different functions to run the operation
-- postApplicationFeesFeeRefundsId
module StripeAPI.Operations.PostApplicationFeesFeeRefundsId
-- |
-- POST /v1/application_fees/{fee}/refunds/{id}
--
--
-- <p>Updates the specified application fee refund by setting the
-- values of the parameters passed. Any parameters not provided will be
-- left unchanged.</p>
--
-- <p>This request only accepts metadata as an argument.</p>
postApplicationFeesFeeRefundsId :: forall m. MonadHTTP m => PostApplicationFeesFeeRefundsIdParameters -> Maybe PostApplicationFeesFeeRefundsIdRequestBody -> ClientT m (Response PostApplicationFeesFeeRefundsIdResponse)
-- | Defines the object schema located at
-- paths./v1/application_fees/{fee}/refunds/{id}.POST.parameters
-- in the specification.
data PostApplicationFeesFeeRefundsIdParameters
PostApplicationFeesFeeRefundsIdParameters :: Text -> Text -> PostApplicationFeesFeeRefundsIdParameters
-- | pathFee: Represents the parameter named 'fee'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postApplicationFeesFeeRefundsIdParametersPathFee] :: PostApplicationFeesFeeRefundsIdParameters -> Text
-- | pathId: Represents the parameter named 'id'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postApplicationFeesFeeRefundsIdParametersPathId] :: PostApplicationFeesFeeRefundsIdParameters -> Text
-- | Create a new PostApplicationFeesFeeRefundsIdParameters with all
-- required fields.
mkPostApplicationFeesFeeRefundsIdParameters :: Text -> Text -> PostApplicationFeesFeeRefundsIdParameters
-- | Defines the object schema located at
-- paths./v1/application_fees/{fee}/refunds/{id}.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostApplicationFeesFeeRefundsIdRequestBody
PostApplicationFeesFeeRefundsIdRequestBody :: Maybe [Text] -> Maybe PostApplicationFeesFeeRefundsIdRequestBodyMetadata'Variants -> PostApplicationFeesFeeRefundsIdRequestBody
-- | expand: Specifies which fields in the response should be expanded.
[postApplicationFeesFeeRefundsIdRequestBodyExpand] :: PostApplicationFeesFeeRefundsIdRequestBody -> Maybe [Text]
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postApplicationFeesFeeRefundsIdRequestBodyMetadata] :: PostApplicationFeesFeeRefundsIdRequestBody -> Maybe PostApplicationFeesFeeRefundsIdRequestBodyMetadata'Variants
-- | Create a new PostApplicationFeesFeeRefundsIdRequestBody with
-- all required fields.
mkPostApplicationFeesFeeRefundsIdRequestBody :: PostApplicationFeesFeeRefundsIdRequestBody
-- | Defines the oneOf schema located at
-- paths./v1/application_fees/{fee}/refunds/{id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.metadata.anyOf
-- in the specification.
--
-- Set of key-value pairs that you can attach to an object. This
-- can be useful for storing additional information about the object in a
-- structured format. Individual keys can be unset by posting an empty
-- value to them. All keys can be unset by posting an empty value to
-- `metadata`.
data PostApplicationFeesFeeRefundsIdRequestBodyMetadata'Variants
-- | Represents the JSON value ""
PostApplicationFeesFeeRefundsIdRequestBodyMetadata'EmptyString :: PostApplicationFeesFeeRefundsIdRequestBodyMetadata'Variants
PostApplicationFeesFeeRefundsIdRequestBodyMetadata'Object :: Object -> PostApplicationFeesFeeRefundsIdRequestBodyMetadata'Variants
-- | Represents a response of the operation
-- postApplicationFeesFeeRefundsId.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- PostApplicationFeesFeeRefundsIdResponseError is used.
data PostApplicationFeesFeeRefundsIdResponse
-- | Means either no matching case available or a parse error
PostApplicationFeesFeeRefundsIdResponseError :: String -> PostApplicationFeesFeeRefundsIdResponse
-- | Successful response.
PostApplicationFeesFeeRefundsIdResponse200 :: FeeRefund -> PostApplicationFeesFeeRefundsIdResponse
-- | Error response.
PostApplicationFeesFeeRefundsIdResponseDefault :: Error -> PostApplicationFeesFeeRefundsIdResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostApplicationFeesFeeRefundsId.PostApplicationFeesFeeRefundsIdParameters
instance GHC.Show.Show StripeAPI.Operations.PostApplicationFeesFeeRefundsId.PostApplicationFeesFeeRefundsIdParameters
instance GHC.Classes.Eq StripeAPI.Operations.PostApplicationFeesFeeRefundsId.PostApplicationFeesFeeRefundsIdRequestBodyMetadata'Variants
instance GHC.Show.Show StripeAPI.Operations.PostApplicationFeesFeeRefundsId.PostApplicationFeesFeeRefundsIdRequestBodyMetadata'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostApplicationFeesFeeRefundsId.PostApplicationFeesFeeRefundsIdRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostApplicationFeesFeeRefundsId.PostApplicationFeesFeeRefundsIdRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostApplicationFeesFeeRefundsId.PostApplicationFeesFeeRefundsIdResponse
instance GHC.Show.Show StripeAPI.Operations.PostApplicationFeesFeeRefundsId.PostApplicationFeesFeeRefundsIdResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostApplicationFeesFeeRefundsId.PostApplicationFeesFeeRefundsIdRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostApplicationFeesFeeRefundsId.PostApplicationFeesFeeRefundsIdRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostApplicationFeesFeeRefundsId.PostApplicationFeesFeeRefundsIdRequestBodyMetadata'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostApplicationFeesFeeRefundsId.PostApplicationFeesFeeRefundsIdRequestBodyMetadata'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostApplicationFeesFeeRefundsId.PostApplicationFeesFeeRefundsIdParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostApplicationFeesFeeRefundsId.PostApplicationFeesFeeRefundsIdParameters
-- | Contains the different functions to run the operation
-- postApplePayDomains
module StripeAPI.Operations.PostApplePayDomains
-- |
-- POST /v1/apple_pay/domains
--
--
-- <p>Create an apple pay domain.</p>
postApplePayDomains :: forall m. MonadHTTP m => PostApplePayDomainsRequestBody -> ClientT m (Response PostApplePayDomainsResponse)
-- | Defines the object schema located at
-- paths./v1/apple_pay/domains.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostApplePayDomainsRequestBody
PostApplePayDomainsRequestBody :: Text -> Maybe [Text] -> PostApplePayDomainsRequestBody
-- | domain_name
[postApplePayDomainsRequestBodyDomainName] :: PostApplePayDomainsRequestBody -> Text
-- | expand: Specifies which fields in the response should be expanded.
[postApplePayDomainsRequestBodyExpand] :: PostApplePayDomainsRequestBody -> Maybe [Text]
-- | Create a new PostApplePayDomainsRequestBody with all required
-- fields.
mkPostApplePayDomainsRequestBody :: Text -> PostApplePayDomainsRequestBody
-- | Represents a response of the operation postApplePayDomains.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostApplePayDomainsResponseError is
-- used.
data PostApplePayDomainsResponse
-- | Means either no matching case available or a parse error
PostApplePayDomainsResponseError :: String -> PostApplePayDomainsResponse
-- | Successful response.
PostApplePayDomainsResponse200 :: ApplePayDomain -> PostApplePayDomainsResponse
-- | Error response.
PostApplePayDomainsResponseDefault :: Error -> PostApplePayDomainsResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostApplePayDomains.PostApplePayDomainsRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostApplePayDomains.PostApplePayDomainsRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostApplePayDomains.PostApplePayDomainsResponse
instance GHC.Show.Show StripeAPI.Operations.PostApplePayDomains.PostApplePayDomainsResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostApplePayDomains.PostApplePayDomainsRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostApplePayDomains.PostApplePayDomainsRequestBody
-- | Contains the different functions to run the operation
-- postAccountsAccountReject
module StripeAPI.Operations.PostAccountsAccountReject
-- |
-- POST /v1/accounts/{account}/reject
--
--
-- <p>With <a href="/docs/connect">Connect</a>, you may
-- flag accounts as suspicious.</p>
--
-- <p>Test-mode Custom and Express accounts can be rejected at any
-- time. Accounts created using live-mode keys may only be rejected once
-- all balances are zero.</p>
postAccountsAccountReject :: forall m. MonadHTTP m => Text -> PostAccountsAccountRejectRequestBody -> ClientT m (Response PostAccountsAccountRejectResponse)
-- | Defines the object schema located at
-- paths./v1/accounts/{account}/reject.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostAccountsAccountRejectRequestBody
PostAccountsAccountRejectRequestBody :: Maybe [Text] -> Text -> PostAccountsAccountRejectRequestBody
-- | expand: Specifies which fields in the response should be expanded.
[postAccountsAccountRejectRequestBodyExpand] :: PostAccountsAccountRejectRequestBody -> Maybe [Text]
-- | reason: The reason for rejecting the account. Can be `fraud`,
-- `terms_of_service`, or `other`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountRejectRequestBodyReason] :: PostAccountsAccountRejectRequestBody -> Text
-- | Create a new PostAccountsAccountRejectRequestBody with all
-- required fields.
mkPostAccountsAccountRejectRequestBody :: Text -> PostAccountsAccountRejectRequestBody
-- | Represents a response of the operation
-- postAccountsAccountReject.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostAccountsAccountRejectResponseError
-- is used.
data PostAccountsAccountRejectResponse
-- | Means either no matching case available or a parse error
PostAccountsAccountRejectResponseError :: String -> PostAccountsAccountRejectResponse
-- | Successful response.
PostAccountsAccountRejectResponse200 :: Account -> PostAccountsAccountRejectResponse
-- | Error response.
PostAccountsAccountRejectResponseDefault :: Error -> PostAccountsAccountRejectResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountReject.PostAccountsAccountRejectRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountReject.PostAccountsAccountRejectRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountReject.PostAccountsAccountRejectResponse
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountReject.PostAccountsAccountRejectResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccountReject.PostAccountsAccountRejectRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccountReject.PostAccountsAccountRejectRequestBody
-- | Contains the different functions to run the operation
-- postAccountsAccountPersonsPerson
module StripeAPI.Operations.PostAccountsAccountPersonsPerson
-- |
-- POST /v1/accounts/{account}/persons/{person}
--
--
-- <p>Updates an existing person.</p>
postAccountsAccountPersonsPerson :: forall m. MonadHTTP m => PostAccountsAccountPersonsPersonParameters -> Maybe PostAccountsAccountPersonsPersonRequestBody -> ClientT m (Response PostAccountsAccountPersonsPersonResponse)
-- | Defines the object schema located at
-- paths./v1/accounts/{account}/persons/{person}.POST.parameters
-- in the specification.
data PostAccountsAccountPersonsPersonParameters
PostAccountsAccountPersonsPersonParameters :: Text -> Text -> PostAccountsAccountPersonsPersonParameters
-- | pathAccount: Represents the parameter named 'account'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPersonsPersonParametersPathAccount] :: PostAccountsAccountPersonsPersonParameters -> Text
-- | pathPerson: Represents the parameter named 'person'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPersonsPersonParametersPathPerson] :: PostAccountsAccountPersonsPersonParameters -> Text
-- | Create a new PostAccountsAccountPersonsPersonParameters with
-- all required fields.
mkPostAccountsAccountPersonsPersonParameters :: Text -> Text -> PostAccountsAccountPersonsPersonParameters
-- | Defines the object schema located at
-- paths./v1/accounts/{account}/persons/{person}.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostAccountsAccountPersonsPersonRequestBody
PostAccountsAccountPersonsPersonRequestBody :: Maybe PostAccountsAccountPersonsPersonRequestBodyAddress' -> Maybe PostAccountsAccountPersonsPersonRequestBodyAddressKana' -> Maybe PostAccountsAccountPersonsPersonRequestBodyAddressKanji' -> Maybe PostAccountsAccountPersonsPersonRequestBodyDob'Variants -> Maybe PostAccountsAccountPersonsPersonRequestBodyDocuments' -> Maybe Text -> Maybe [Text] -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe PostAccountsAccountPersonsPersonRequestBodyMetadata'Variants -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe PostAccountsAccountPersonsPersonRequestBodyRelationship' -> Maybe Text -> Maybe PostAccountsAccountPersonsPersonRequestBodyVerification' -> PostAccountsAccountPersonsPersonRequestBody
-- | address: The person's address.
[postAccountsAccountPersonsPersonRequestBodyAddress] :: PostAccountsAccountPersonsPersonRequestBody -> Maybe PostAccountsAccountPersonsPersonRequestBodyAddress'
-- | address_kana: The Kana variation of the person's address (Japan only).
[postAccountsAccountPersonsPersonRequestBodyAddressKana] :: PostAccountsAccountPersonsPersonRequestBody -> Maybe PostAccountsAccountPersonsPersonRequestBodyAddressKana'
-- | address_kanji: The Kanji variation of the person's address (Japan
-- only).
[postAccountsAccountPersonsPersonRequestBodyAddressKanji] :: PostAccountsAccountPersonsPersonRequestBody -> Maybe PostAccountsAccountPersonsPersonRequestBodyAddressKanji'
-- | dob: The person's date of birth.
[postAccountsAccountPersonsPersonRequestBodyDob] :: PostAccountsAccountPersonsPersonRequestBody -> Maybe PostAccountsAccountPersonsPersonRequestBodyDob'Variants
-- | documents: Documents that may be submitted to satisfy various
-- informational requests.
[postAccountsAccountPersonsPersonRequestBodyDocuments] :: PostAccountsAccountPersonsPersonRequestBody -> Maybe PostAccountsAccountPersonsPersonRequestBodyDocuments'
-- | email: The person's email address.
[postAccountsAccountPersonsPersonRequestBodyEmail] :: PostAccountsAccountPersonsPersonRequestBody -> Maybe Text
-- | expand: Specifies which fields in the response should be expanded.
[postAccountsAccountPersonsPersonRequestBodyExpand] :: PostAccountsAccountPersonsPersonRequestBody -> Maybe [Text]
-- | first_name: The person's first name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPersonsPersonRequestBodyFirstName] :: PostAccountsAccountPersonsPersonRequestBody -> Maybe Text
-- | first_name_kana: The Kana variation of the person's first name (Japan
-- only).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPersonsPersonRequestBodyFirstNameKana] :: PostAccountsAccountPersonsPersonRequestBody -> Maybe Text
-- | first_name_kanji: The Kanji variation of the person's first name
-- (Japan only).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPersonsPersonRequestBodyFirstNameKanji] :: PostAccountsAccountPersonsPersonRequestBody -> Maybe Text
-- | gender: The person's gender (International regulations require either
-- "male" or "female").
[postAccountsAccountPersonsPersonRequestBodyGender] :: PostAccountsAccountPersonsPersonRequestBody -> Maybe Text
-- | id_number: The person's ID number, as appropriate for their country.
-- For example, a social security number in the U.S., social insurance
-- number in Canada, etc. Instead of the number itself, you can also
-- provide a PII token provided by Stripe.js.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPersonsPersonRequestBodyIdNumber] :: PostAccountsAccountPersonsPersonRequestBody -> Maybe Text
-- | last_name: The person's last name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPersonsPersonRequestBodyLastName] :: PostAccountsAccountPersonsPersonRequestBody -> Maybe Text
-- | last_name_kana: The Kana variation of the person's last name (Japan
-- only).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPersonsPersonRequestBodyLastNameKana] :: PostAccountsAccountPersonsPersonRequestBody -> Maybe Text
-- | last_name_kanji: The Kanji variation of the person's last name (Japan
-- only).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPersonsPersonRequestBodyLastNameKanji] :: PostAccountsAccountPersonsPersonRequestBody -> Maybe Text
-- | maiden_name: The person's maiden name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPersonsPersonRequestBodyMaidenName] :: PostAccountsAccountPersonsPersonRequestBody -> Maybe Text
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postAccountsAccountPersonsPersonRequestBodyMetadata] :: PostAccountsAccountPersonsPersonRequestBody -> Maybe PostAccountsAccountPersonsPersonRequestBodyMetadata'Variants
-- | nationality: The country where the person is a national. Two-letter
-- country code ([ISO 3166-1
-- alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)), or "XX"
-- if unavailable.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPersonsPersonRequestBodyNationality] :: PostAccountsAccountPersonsPersonRequestBody -> Maybe Text
-- | person_token: A person token, used to securely provide details
-- to the person.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPersonsPersonRequestBodyPersonToken] :: PostAccountsAccountPersonsPersonRequestBody -> Maybe Text
-- | phone: The person's phone number.
[postAccountsAccountPersonsPersonRequestBodyPhone] :: PostAccountsAccountPersonsPersonRequestBody -> Maybe Text
-- | political_exposure: Indicates if the person or any of their
-- representatives, family members, or other closely related persons,
-- declares that they hold or have held an important public job or
-- function, in any jurisdiction.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPersonsPersonRequestBodyPoliticalExposure] :: PostAccountsAccountPersonsPersonRequestBody -> Maybe Text
-- | relationship: The relationship that this person has with the account's
-- legal entity.
[postAccountsAccountPersonsPersonRequestBodyRelationship] :: PostAccountsAccountPersonsPersonRequestBody -> Maybe PostAccountsAccountPersonsPersonRequestBodyRelationship'
-- | ssn_last_4: The last four digits of the person's Social Security
-- number (U.S. only).
[postAccountsAccountPersonsPersonRequestBodySsnLast_4] :: PostAccountsAccountPersonsPersonRequestBody -> Maybe Text
-- | verification: The person's verification status.
[postAccountsAccountPersonsPersonRequestBodyVerification] :: PostAccountsAccountPersonsPersonRequestBody -> Maybe PostAccountsAccountPersonsPersonRequestBodyVerification'
-- | Create a new PostAccountsAccountPersonsPersonRequestBody with
-- all required fields.
mkPostAccountsAccountPersonsPersonRequestBody :: PostAccountsAccountPersonsPersonRequestBody
-- | Defines the object schema located at
-- paths./v1/accounts/{account}/persons/{person}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.address
-- in the specification.
--
-- The person's address.
data PostAccountsAccountPersonsPersonRequestBodyAddress'
PostAccountsAccountPersonsPersonRequestBodyAddress' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PostAccountsAccountPersonsPersonRequestBodyAddress'
-- | city
--
-- Constraints:
--
--
-- - Maximum length of 100
--
[postAccountsAccountPersonsPersonRequestBodyAddress'City] :: PostAccountsAccountPersonsPersonRequestBodyAddress' -> Maybe Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPersonsPersonRequestBodyAddress'Country] :: PostAccountsAccountPersonsPersonRequestBodyAddress' -> Maybe Text
-- | line1
--
-- Constraints:
--
--
-- - Maximum length of 200
--
[postAccountsAccountPersonsPersonRequestBodyAddress'Line1] :: PostAccountsAccountPersonsPersonRequestBodyAddress' -> Maybe Text
-- | line2
--
-- Constraints:
--
--
-- - Maximum length of 200
--
[postAccountsAccountPersonsPersonRequestBodyAddress'Line2] :: PostAccountsAccountPersonsPersonRequestBodyAddress' -> Maybe Text
-- | postal_code
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPersonsPersonRequestBodyAddress'PostalCode] :: PostAccountsAccountPersonsPersonRequestBodyAddress' -> Maybe Text
-- | state
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPersonsPersonRequestBodyAddress'State] :: PostAccountsAccountPersonsPersonRequestBodyAddress' -> Maybe Text
-- | Create a new
-- PostAccountsAccountPersonsPersonRequestBodyAddress' with all
-- required fields.
mkPostAccountsAccountPersonsPersonRequestBodyAddress' :: PostAccountsAccountPersonsPersonRequestBodyAddress'
-- | Defines the object schema located at
-- paths./v1/accounts/{account}/persons/{person}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.address_kana
-- in the specification.
--
-- The Kana variation of the person's address (Japan only).
data PostAccountsAccountPersonsPersonRequestBodyAddressKana'
PostAccountsAccountPersonsPersonRequestBodyAddressKana' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PostAccountsAccountPersonsPersonRequestBodyAddressKana'
-- | city
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPersonsPersonRequestBodyAddressKana'City] :: PostAccountsAccountPersonsPersonRequestBodyAddressKana' -> Maybe Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPersonsPersonRequestBodyAddressKana'Country] :: PostAccountsAccountPersonsPersonRequestBodyAddressKana' -> Maybe Text
-- | line1
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPersonsPersonRequestBodyAddressKana'Line1] :: PostAccountsAccountPersonsPersonRequestBodyAddressKana' -> Maybe Text
-- | line2
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPersonsPersonRequestBodyAddressKana'Line2] :: PostAccountsAccountPersonsPersonRequestBodyAddressKana' -> Maybe Text
-- | postal_code
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPersonsPersonRequestBodyAddressKana'PostalCode] :: PostAccountsAccountPersonsPersonRequestBodyAddressKana' -> Maybe Text
-- | state
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPersonsPersonRequestBodyAddressKana'State] :: PostAccountsAccountPersonsPersonRequestBodyAddressKana' -> Maybe Text
-- | town
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPersonsPersonRequestBodyAddressKana'Town] :: PostAccountsAccountPersonsPersonRequestBodyAddressKana' -> Maybe Text
-- | Create a new
-- PostAccountsAccountPersonsPersonRequestBodyAddressKana' with
-- all required fields.
mkPostAccountsAccountPersonsPersonRequestBodyAddressKana' :: PostAccountsAccountPersonsPersonRequestBodyAddressKana'
-- | Defines the object schema located at
-- paths./v1/accounts/{account}/persons/{person}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.address_kanji
-- in the specification.
--
-- The Kanji variation of the person's address (Japan only).
data PostAccountsAccountPersonsPersonRequestBodyAddressKanji'
PostAccountsAccountPersonsPersonRequestBodyAddressKanji' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PostAccountsAccountPersonsPersonRequestBodyAddressKanji'
-- | city
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPersonsPersonRequestBodyAddressKanji'City] :: PostAccountsAccountPersonsPersonRequestBodyAddressKanji' -> Maybe Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPersonsPersonRequestBodyAddressKanji'Country] :: PostAccountsAccountPersonsPersonRequestBodyAddressKanji' -> Maybe Text
-- | line1
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPersonsPersonRequestBodyAddressKanji'Line1] :: PostAccountsAccountPersonsPersonRequestBodyAddressKanji' -> Maybe Text
-- | line2
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPersonsPersonRequestBodyAddressKanji'Line2] :: PostAccountsAccountPersonsPersonRequestBodyAddressKanji' -> Maybe Text
-- | postal_code
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPersonsPersonRequestBodyAddressKanji'PostalCode] :: PostAccountsAccountPersonsPersonRequestBodyAddressKanji' -> Maybe Text
-- | state
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPersonsPersonRequestBodyAddressKanji'State] :: PostAccountsAccountPersonsPersonRequestBodyAddressKanji' -> Maybe Text
-- | town
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPersonsPersonRequestBodyAddressKanji'Town] :: PostAccountsAccountPersonsPersonRequestBodyAddressKanji' -> Maybe Text
-- | Create a new
-- PostAccountsAccountPersonsPersonRequestBodyAddressKanji' with
-- all required fields.
mkPostAccountsAccountPersonsPersonRequestBodyAddressKanji' :: PostAccountsAccountPersonsPersonRequestBodyAddressKanji'
-- | Defines the object schema located at
-- paths./v1/accounts/{account}/persons/{person}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.dob.anyOf
-- in the specification.
data PostAccountsAccountPersonsPersonRequestBodyDob'OneOf1
PostAccountsAccountPersonsPersonRequestBodyDob'OneOf1 :: Int -> Int -> Int -> PostAccountsAccountPersonsPersonRequestBodyDob'OneOf1
-- | day
[postAccountsAccountPersonsPersonRequestBodyDob'OneOf1Day] :: PostAccountsAccountPersonsPersonRequestBodyDob'OneOf1 -> Int
-- | month
[postAccountsAccountPersonsPersonRequestBodyDob'OneOf1Month] :: PostAccountsAccountPersonsPersonRequestBodyDob'OneOf1 -> Int
-- | year
[postAccountsAccountPersonsPersonRequestBodyDob'OneOf1Year] :: PostAccountsAccountPersonsPersonRequestBodyDob'OneOf1 -> Int
-- | Create a new
-- PostAccountsAccountPersonsPersonRequestBodyDob'OneOf1 with all
-- required fields.
mkPostAccountsAccountPersonsPersonRequestBodyDob'OneOf1 :: Int -> Int -> Int -> PostAccountsAccountPersonsPersonRequestBodyDob'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/accounts/{account}/persons/{person}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.dob.anyOf
-- in the specification.
--
-- The person's date of birth.
data PostAccountsAccountPersonsPersonRequestBodyDob'Variants
-- | Represents the JSON value ""
PostAccountsAccountPersonsPersonRequestBodyDob'EmptyString :: PostAccountsAccountPersonsPersonRequestBodyDob'Variants
PostAccountsAccountPersonsPersonRequestBodyDob'PostAccountsAccountPersonsPersonRequestBodyDob'OneOf1 :: PostAccountsAccountPersonsPersonRequestBodyDob'OneOf1 -> PostAccountsAccountPersonsPersonRequestBodyDob'Variants
-- | Defines the object schema located at
-- paths./v1/accounts/{account}/persons/{person}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.documents
-- in the specification.
--
-- Documents that may be submitted to satisfy various informational
-- requests.
data PostAccountsAccountPersonsPersonRequestBodyDocuments'
PostAccountsAccountPersonsPersonRequestBodyDocuments' :: Maybe PostAccountsAccountPersonsPersonRequestBodyDocuments'CompanyAuthorization' -> Maybe PostAccountsAccountPersonsPersonRequestBodyDocuments'Passport' -> Maybe PostAccountsAccountPersonsPersonRequestBodyDocuments'Visa' -> PostAccountsAccountPersonsPersonRequestBodyDocuments'
-- | company_authorization
[postAccountsAccountPersonsPersonRequestBodyDocuments'CompanyAuthorization] :: PostAccountsAccountPersonsPersonRequestBodyDocuments' -> Maybe PostAccountsAccountPersonsPersonRequestBodyDocuments'CompanyAuthorization'
-- | passport
[postAccountsAccountPersonsPersonRequestBodyDocuments'Passport] :: PostAccountsAccountPersonsPersonRequestBodyDocuments' -> Maybe PostAccountsAccountPersonsPersonRequestBodyDocuments'Passport'
-- | visa
[postAccountsAccountPersonsPersonRequestBodyDocuments'Visa] :: PostAccountsAccountPersonsPersonRequestBodyDocuments' -> Maybe PostAccountsAccountPersonsPersonRequestBodyDocuments'Visa'
-- | Create a new
-- PostAccountsAccountPersonsPersonRequestBodyDocuments' with all
-- required fields.
mkPostAccountsAccountPersonsPersonRequestBodyDocuments' :: PostAccountsAccountPersonsPersonRequestBodyDocuments'
-- | Defines the object schema located at
-- paths./v1/accounts/{account}/persons/{person}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.documents.properties.company_authorization
-- in the specification.
data PostAccountsAccountPersonsPersonRequestBodyDocuments'CompanyAuthorization'
PostAccountsAccountPersonsPersonRequestBodyDocuments'CompanyAuthorization' :: Maybe [Text] -> PostAccountsAccountPersonsPersonRequestBodyDocuments'CompanyAuthorization'
-- | files
[postAccountsAccountPersonsPersonRequestBodyDocuments'CompanyAuthorization'Files] :: PostAccountsAccountPersonsPersonRequestBodyDocuments'CompanyAuthorization' -> Maybe [Text]
-- | Create a new
-- PostAccountsAccountPersonsPersonRequestBodyDocuments'CompanyAuthorization'
-- with all required fields.
mkPostAccountsAccountPersonsPersonRequestBodyDocuments'CompanyAuthorization' :: PostAccountsAccountPersonsPersonRequestBodyDocuments'CompanyAuthorization'
-- | Defines the object schema located at
-- paths./v1/accounts/{account}/persons/{person}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.documents.properties.passport
-- in the specification.
data PostAccountsAccountPersonsPersonRequestBodyDocuments'Passport'
PostAccountsAccountPersonsPersonRequestBodyDocuments'Passport' :: Maybe [Text] -> PostAccountsAccountPersonsPersonRequestBodyDocuments'Passport'
-- | files
[postAccountsAccountPersonsPersonRequestBodyDocuments'Passport'Files] :: PostAccountsAccountPersonsPersonRequestBodyDocuments'Passport' -> Maybe [Text]
-- | Create a new
-- PostAccountsAccountPersonsPersonRequestBodyDocuments'Passport'
-- with all required fields.
mkPostAccountsAccountPersonsPersonRequestBodyDocuments'Passport' :: PostAccountsAccountPersonsPersonRequestBodyDocuments'Passport'
-- | Defines the object schema located at
-- paths./v1/accounts/{account}/persons/{person}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.documents.properties.visa
-- in the specification.
data PostAccountsAccountPersonsPersonRequestBodyDocuments'Visa'
PostAccountsAccountPersonsPersonRequestBodyDocuments'Visa' :: Maybe [Text] -> PostAccountsAccountPersonsPersonRequestBodyDocuments'Visa'
-- | files
[postAccountsAccountPersonsPersonRequestBodyDocuments'Visa'Files] :: PostAccountsAccountPersonsPersonRequestBodyDocuments'Visa' -> Maybe [Text]
-- | Create a new
-- PostAccountsAccountPersonsPersonRequestBodyDocuments'Visa' with
-- all required fields.
mkPostAccountsAccountPersonsPersonRequestBodyDocuments'Visa' :: PostAccountsAccountPersonsPersonRequestBodyDocuments'Visa'
-- | Defines the oneOf schema located at
-- paths./v1/accounts/{account}/persons/{person}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.metadata.anyOf
-- in the specification.
--
-- Set of key-value pairs that you can attach to an object. This
-- can be useful for storing additional information about the object in a
-- structured format. Individual keys can be unset by posting an empty
-- value to them. All keys can be unset by posting an empty value to
-- `metadata`.
data PostAccountsAccountPersonsPersonRequestBodyMetadata'Variants
-- | Represents the JSON value ""
PostAccountsAccountPersonsPersonRequestBodyMetadata'EmptyString :: PostAccountsAccountPersonsPersonRequestBodyMetadata'Variants
PostAccountsAccountPersonsPersonRequestBodyMetadata'Object :: Object -> PostAccountsAccountPersonsPersonRequestBodyMetadata'Variants
-- | Defines the object schema located at
-- paths./v1/accounts/{account}/persons/{person}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.relationship
-- in the specification.
--
-- The relationship that this person has with the account's legal entity.
data PostAccountsAccountPersonsPersonRequestBodyRelationship'
PostAccountsAccountPersonsPersonRequestBodyRelationship' :: Maybe Bool -> Maybe Bool -> Maybe Bool -> Maybe PostAccountsAccountPersonsPersonRequestBodyRelationship'PercentOwnership'Variants -> Maybe Bool -> Maybe Text -> PostAccountsAccountPersonsPersonRequestBodyRelationship'
-- | director
[postAccountsAccountPersonsPersonRequestBodyRelationship'Director] :: PostAccountsAccountPersonsPersonRequestBodyRelationship' -> Maybe Bool
-- | executive
[postAccountsAccountPersonsPersonRequestBodyRelationship'Executive] :: PostAccountsAccountPersonsPersonRequestBodyRelationship' -> Maybe Bool
-- | owner
[postAccountsAccountPersonsPersonRequestBodyRelationship'Owner] :: PostAccountsAccountPersonsPersonRequestBodyRelationship' -> Maybe Bool
-- | percent_ownership
[postAccountsAccountPersonsPersonRequestBodyRelationship'PercentOwnership] :: PostAccountsAccountPersonsPersonRequestBodyRelationship' -> Maybe PostAccountsAccountPersonsPersonRequestBodyRelationship'PercentOwnership'Variants
-- | representative
[postAccountsAccountPersonsPersonRequestBodyRelationship'Representative] :: PostAccountsAccountPersonsPersonRequestBodyRelationship' -> Maybe Bool
-- | title
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPersonsPersonRequestBodyRelationship'Title] :: PostAccountsAccountPersonsPersonRequestBodyRelationship' -> Maybe Text
-- | Create a new
-- PostAccountsAccountPersonsPersonRequestBodyRelationship' with
-- all required fields.
mkPostAccountsAccountPersonsPersonRequestBodyRelationship' :: PostAccountsAccountPersonsPersonRequestBodyRelationship'
-- | Defines the oneOf schema located at
-- paths./v1/accounts/{account}/persons/{person}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.relationship.properties.percent_ownership.anyOf
-- in the specification.
data PostAccountsAccountPersonsPersonRequestBodyRelationship'PercentOwnership'Variants
-- | Represents the JSON value ""
PostAccountsAccountPersonsPersonRequestBodyRelationship'PercentOwnership'EmptyString :: PostAccountsAccountPersonsPersonRequestBodyRelationship'PercentOwnership'Variants
PostAccountsAccountPersonsPersonRequestBodyRelationship'PercentOwnership'Double :: Double -> PostAccountsAccountPersonsPersonRequestBodyRelationship'PercentOwnership'Variants
-- | Defines the object schema located at
-- paths./v1/accounts/{account}/persons/{person}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.verification
-- in the specification.
--
-- The person's verification status.
data PostAccountsAccountPersonsPersonRequestBodyVerification'
PostAccountsAccountPersonsPersonRequestBodyVerification' :: Maybe PostAccountsAccountPersonsPersonRequestBodyVerification'AdditionalDocument' -> Maybe PostAccountsAccountPersonsPersonRequestBodyVerification'Document' -> PostAccountsAccountPersonsPersonRequestBodyVerification'
-- | additional_document
[postAccountsAccountPersonsPersonRequestBodyVerification'AdditionalDocument] :: PostAccountsAccountPersonsPersonRequestBodyVerification' -> Maybe PostAccountsAccountPersonsPersonRequestBodyVerification'AdditionalDocument'
-- | document
[postAccountsAccountPersonsPersonRequestBodyVerification'Document] :: PostAccountsAccountPersonsPersonRequestBodyVerification' -> Maybe PostAccountsAccountPersonsPersonRequestBodyVerification'Document'
-- | Create a new
-- PostAccountsAccountPersonsPersonRequestBodyVerification' with
-- all required fields.
mkPostAccountsAccountPersonsPersonRequestBodyVerification' :: PostAccountsAccountPersonsPersonRequestBodyVerification'
-- | Defines the object schema located at
-- paths./v1/accounts/{account}/persons/{person}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.verification.properties.additional_document
-- in the specification.
data PostAccountsAccountPersonsPersonRequestBodyVerification'AdditionalDocument'
PostAccountsAccountPersonsPersonRequestBodyVerification'AdditionalDocument' :: Maybe Text -> Maybe Text -> PostAccountsAccountPersonsPersonRequestBodyVerification'AdditionalDocument'
-- | back
--
-- Constraints:
--
--
-- - Maximum length of 500
--
[postAccountsAccountPersonsPersonRequestBodyVerification'AdditionalDocument'Back] :: PostAccountsAccountPersonsPersonRequestBodyVerification'AdditionalDocument' -> Maybe Text
-- | front
--
-- Constraints:
--
--
-- - Maximum length of 500
--
[postAccountsAccountPersonsPersonRequestBodyVerification'AdditionalDocument'Front] :: PostAccountsAccountPersonsPersonRequestBodyVerification'AdditionalDocument' -> Maybe Text
-- | Create a new
-- PostAccountsAccountPersonsPersonRequestBodyVerification'AdditionalDocument'
-- with all required fields.
mkPostAccountsAccountPersonsPersonRequestBodyVerification'AdditionalDocument' :: PostAccountsAccountPersonsPersonRequestBodyVerification'AdditionalDocument'
-- | Defines the object schema located at
-- paths./v1/accounts/{account}/persons/{person}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.verification.properties.document
-- in the specification.
data PostAccountsAccountPersonsPersonRequestBodyVerification'Document'
PostAccountsAccountPersonsPersonRequestBodyVerification'Document' :: Maybe Text -> Maybe Text -> PostAccountsAccountPersonsPersonRequestBodyVerification'Document'
-- | back
--
-- Constraints:
--
--
-- - Maximum length of 500
--
[postAccountsAccountPersonsPersonRequestBodyVerification'Document'Back] :: PostAccountsAccountPersonsPersonRequestBodyVerification'Document' -> Maybe Text
-- | front
--
-- Constraints:
--
--
-- - Maximum length of 500
--
[postAccountsAccountPersonsPersonRequestBodyVerification'Document'Front] :: PostAccountsAccountPersonsPersonRequestBodyVerification'Document' -> Maybe Text
-- | Create a new
-- PostAccountsAccountPersonsPersonRequestBodyVerification'Document'
-- with all required fields.
mkPostAccountsAccountPersonsPersonRequestBodyVerification'Document' :: PostAccountsAccountPersonsPersonRequestBodyVerification'Document'
-- | Represents a response of the operation
-- postAccountsAccountPersonsPerson.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- PostAccountsAccountPersonsPersonResponseError is used.
data PostAccountsAccountPersonsPersonResponse
-- | Means either no matching case available or a parse error
PostAccountsAccountPersonsPersonResponseError :: String -> PostAccountsAccountPersonsPersonResponse
-- | Successful response.
PostAccountsAccountPersonsPersonResponse200 :: Person -> PostAccountsAccountPersonsPersonResponse
-- | Error response.
PostAccountsAccountPersonsPersonResponseDefault :: Error -> PostAccountsAccountPersonsPersonResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountPersonsPerson.PostAccountsAccountPersonsPersonParameters
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountPersonsPerson.PostAccountsAccountPersonsPersonParameters
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountPersonsPerson.PostAccountsAccountPersonsPersonRequestBodyAddress'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountPersonsPerson.PostAccountsAccountPersonsPersonRequestBodyAddress'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountPersonsPerson.PostAccountsAccountPersonsPersonRequestBodyAddressKana'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountPersonsPerson.PostAccountsAccountPersonsPersonRequestBodyAddressKana'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountPersonsPerson.PostAccountsAccountPersonsPersonRequestBodyAddressKanji'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountPersonsPerson.PostAccountsAccountPersonsPersonRequestBodyAddressKanji'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountPersonsPerson.PostAccountsAccountPersonsPersonRequestBodyDob'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountPersonsPerson.PostAccountsAccountPersonsPersonRequestBodyDob'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountPersonsPerson.PostAccountsAccountPersonsPersonRequestBodyDob'Variants
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountPersonsPerson.PostAccountsAccountPersonsPersonRequestBodyDob'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountPersonsPerson.PostAccountsAccountPersonsPersonRequestBodyDocuments'CompanyAuthorization'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountPersonsPerson.PostAccountsAccountPersonsPersonRequestBodyDocuments'CompanyAuthorization'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountPersonsPerson.PostAccountsAccountPersonsPersonRequestBodyDocuments'Passport'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountPersonsPerson.PostAccountsAccountPersonsPersonRequestBodyDocuments'Passport'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountPersonsPerson.PostAccountsAccountPersonsPersonRequestBodyDocuments'Visa'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountPersonsPerson.PostAccountsAccountPersonsPersonRequestBodyDocuments'Visa'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountPersonsPerson.PostAccountsAccountPersonsPersonRequestBodyDocuments'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountPersonsPerson.PostAccountsAccountPersonsPersonRequestBodyDocuments'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountPersonsPerson.PostAccountsAccountPersonsPersonRequestBodyMetadata'Variants
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountPersonsPerson.PostAccountsAccountPersonsPersonRequestBodyMetadata'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountPersonsPerson.PostAccountsAccountPersonsPersonRequestBodyRelationship'PercentOwnership'Variants
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountPersonsPerson.PostAccountsAccountPersonsPersonRequestBodyRelationship'PercentOwnership'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountPersonsPerson.PostAccountsAccountPersonsPersonRequestBodyRelationship'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountPersonsPerson.PostAccountsAccountPersonsPersonRequestBodyRelationship'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountPersonsPerson.PostAccountsAccountPersonsPersonRequestBodyVerification'AdditionalDocument'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountPersonsPerson.PostAccountsAccountPersonsPersonRequestBodyVerification'AdditionalDocument'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountPersonsPerson.PostAccountsAccountPersonsPersonRequestBodyVerification'Document'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountPersonsPerson.PostAccountsAccountPersonsPersonRequestBodyVerification'Document'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountPersonsPerson.PostAccountsAccountPersonsPersonRequestBodyVerification'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountPersonsPerson.PostAccountsAccountPersonsPersonRequestBodyVerification'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountPersonsPerson.PostAccountsAccountPersonsPersonRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountPersonsPerson.PostAccountsAccountPersonsPersonRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountPersonsPerson.PostAccountsAccountPersonsPersonResponse
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountPersonsPerson.PostAccountsAccountPersonsPersonResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccountPersonsPerson.PostAccountsAccountPersonsPersonRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccountPersonsPerson.PostAccountsAccountPersonsPersonRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccountPersonsPerson.PostAccountsAccountPersonsPersonRequestBodyVerification'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccountPersonsPerson.PostAccountsAccountPersonsPersonRequestBodyVerification'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccountPersonsPerson.PostAccountsAccountPersonsPersonRequestBodyVerification'Document'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccountPersonsPerson.PostAccountsAccountPersonsPersonRequestBodyVerification'Document'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccountPersonsPerson.PostAccountsAccountPersonsPersonRequestBodyVerification'AdditionalDocument'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccountPersonsPerson.PostAccountsAccountPersonsPersonRequestBodyVerification'AdditionalDocument'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccountPersonsPerson.PostAccountsAccountPersonsPersonRequestBodyRelationship'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccountPersonsPerson.PostAccountsAccountPersonsPersonRequestBodyRelationship'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccountPersonsPerson.PostAccountsAccountPersonsPersonRequestBodyRelationship'PercentOwnership'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccountPersonsPerson.PostAccountsAccountPersonsPersonRequestBodyRelationship'PercentOwnership'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccountPersonsPerson.PostAccountsAccountPersonsPersonRequestBodyMetadata'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccountPersonsPerson.PostAccountsAccountPersonsPersonRequestBodyMetadata'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccountPersonsPerson.PostAccountsAccountPersonsPersonRequestBodyDocuments'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccountPersonsPerson.PostAccountsAccountPersonsPersonRequestBodyDocuments'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccountPersonsPerson.PostAccountsAccountPersonsPersonRequestBodyDocuments'Visa'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccountPersonsPerson.PostAccountsAccountPersonsPersonRequestBodyDocuments'Visa'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccountPersonsPerson.PostAccountsAccountPersonsPersonRequestBodyDocuments'Passport'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccountPersonsPerson.PostAccountsAccountPersonsPersonRequestBodyDocuments'Passport'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccountPersonsPerson.PostAccountsAccountPersonsPersonRequestBodyDocuments'CompanyAuthorization'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccountPersonsPerson.PostAccountsAccountPersonsPersonRequestBodyDocuments'CompanyAuthorization'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccountPersonsPerson.PostAccountsAccountPersonsPersonRequestBodyDob'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccountPersonsPerson.PostAccountsAccountPersonsPersonRequestBodyDob'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccountPersonsPerson.PostAccountsAccountPersonsPersonRequestBodyDob'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccountPersonsPerson.PostAccountsAccountPersonsPersonRequestBodyDob'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccountPersonsPerson.PostAccountsAccountPersonsPersonRequestBodyAddressKanji'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccountPersonsPerson.PostAccountsAccountPersonsPersonRequestBodyAddressKanji'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccountPersonsPerson.PostAccountsAccountPersonsPersonRequestBodyAddressKana'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccountPersonsPerson.PostAccountsAccountPersonsPersonRequestBodyAddressKana'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccountPersonsPerson.PostAccountsAccountPersonsPersonRequestBodyAddress'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccountPersonsPerson.PostAccountsAccountPersonsPersonRequestBodyAddress'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccountPersonsPerson.PostAccountsAccountPersonsPersonParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccountPersonsPerson.PostAccountsAccountPersonsPersonParameters
-- | Contains the different functions to run the operation
-- postAccountsAccountPersons
module StripeAPI.Operations.PostAccountsAccountPersons
-- |
-- POST /v1/accounts/{account}/persons
--
--
-- <p>Creates a new person.</p>
postAccountsAccountPersons :: forall m. MonadHTTP m => Text -> Maybe PostAccountsAccountPersonsRequestBody -> ClientT m (Response PostAccountsAccountPersonsResponse)
-- | Defines the object schema located at
-- paths./v1/accounts/{account}/persons.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostAccountsAccountPersonsRequestBody
PostAccountsAccountPersonsRequestBody :: Maybe PostAccountsAccountPersonsRequestBodyAddress' -> Maybe PostAccountsAccountPersonsRequestBodyAddressKana' -> Maybe PostAccountsAccountPersonsRequestBodyAddressKanji' -> Maybe PostAccountsAccountPersonsRequestBodyDob'Variants -> Maybe PostAccountsAccountPersonsRequestBodyDocuments' -> Maybe Text -> Maybe [Text] -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe PostAccountsAccountPersonsRequestBodyMetadata'Variants -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe PostAccountsAccountPersonsRequestBodyRelationship' -> Maybe Text -> Maybe PostAccountsAccountPersonsRequestBodyVerification' -> PostAccountsAccountPersonsRequestBody
-- | address: The person's address.
[postAccountsAccountPersonsRequestBodyAddress] :: PostAccountsAccountPersonsRequestBody -> Maybe PostAccountsAccountPersonsRequestBodyAddress'
-- | address_kana: The Kana variation of the person's address (Japan only).
[postAccountsAccountPersonsRequestBodyAddressKana] :: PostAccountsAccountPersonsRequestBody -> Maybe PostAccountsAccountPersonsRequestBodyAddressKana'
-- | address_kanji: The Kanji variation of the person's address (Japan
-- only).
[postAccountsAccountPersonsRequestBodyAddressKanji] :: PostAccountsAccountPersonsRequestBody -> Maybe PostAccountsAccountPersonsRequestBodyAddressKanji'
-- | dob: The person's date of birth.
[postAccountsAccountPersonsRequestBodyDob] :: PostAccountsAccountPersonsRequestBody -> Maybe PostAccountsAccountPersonsRequestBodyDob'Variants
-- | documents: Documents that may be submitted to satisfy various
-- informational requests.
[postAccountsAccountPersonsRequestBodyDocuments] :: PostAccountsAccountPersonsRequestBody -> Maybe PostAccountsAccountPersonsRequestBodyDocuments'
-- | email: The person's email address.
[postAccountsAccountPersonsRequestBodyEmail] :: PostAccountsAccountPersonsRequestBody -> Maybe Text
-- | expand: Specifies which fields in the response should be expanded.
[postAccountsAccountPersonsRequestBodyExpand] :: PostAccountsAccountPersonsRequestBody -> Maybe [Text]
-- | first_name: The person's first name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPersonsRequestBodyFirstName] :: PostAccountsAccountPersonsRequestBody -> Maybe Text
-- | first_name_kana: The Kana variation of the person's first name (Japan
-- only).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPersonsRequestBodyFirstNameKana] :: PostAccountsAccountPersonsRequestBody -> Maybe Text
-- | first_name_kanji: The Kanji variation of the person's first name
-- (Japan only).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPersonsRequestBodyFirstNameKanji] :: PostAccountsAccountPersonsRequestBody -> Maybe Text
-- | gender: The person's gender (International regulations require either
-- "male" or "female").
[postAccountsAccountPersonsRequestBodyGender] :: PostAccountsAccountPersonsRequestBody -> Maybe Text
-- | id_number: The person's ID number, as appropriate for their country.
-- For example, a social security number in the U.S., social insurance
-- number in Canada, etc. Instead of the number itself, you can also
-- provide a PII token provided by Stripe.js.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPersonsRequestBodyIdNumber] :: PostAccountsAccountPersonsRequestBody -> Maybe Text
-- | last_name: The person's last name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPersonsRequestBodyLastName] :: PostAccountsAccountPersonsRequestBody -> Maybe Text
-- | last_name_kana: The Kana variation of the person's last name (Japan
-- only).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPersonsRequestBodyLastNameKana] :: PostAccountsAccountPersonsRequestBody -> Maybe Text
-- | last_name_kanji: The Kanji variation of the person's last name (Japan
-- only).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPersonsRequestBodyLastNameKanji] :: PostAccountsAccountPersonsRequestBody -> Maybe Text
-- | maiden_name: The person's maiden name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPersonsRequestBodyMaidenName] :: PostAccountsAccountPersonsRequestBody -> Maybe Text
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postAccountsAccountPersonsRequestBodyMetadata] :: PostAccountsAccountPersonsRequestBody -> Maybe PostAccountsAccountPersonsRequestBodyMetadata'Variants
-- | nationality: The country where the person is a national. Two-letter
-- country code ([ISO 3166-1
-- alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)), or "XX"
-- if unavailable.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPersonsRequestBodyNationality] :: PostAccountsAccountPersonsRequestBody -> Maybe Text
-- | person_token: A person token, used to securely provide details
-- to the person.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPersonsRequestBodyPersonToken] :: PostAccountsAccountPersonsRequestBody -> Maybe Text
-- | phone: The person's phone number.
[postAccountsAccountPersonsRequestBodyPhone] :: PostAccountsAccountPersonsRequestBody -> Maybe Text
-- | political_exposure: Indicates if the person or any of their
-- representatives, family members, or other closely related persons,
-- declares that they hold or have held an important public job or
-- function, in any jurisdiction.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPersonsRequestBodyPoliticalExposure] :: PostAccountsAccountPersonsRequestBody -> Maybe Text
-- | relationship: The relationship that this person has with the account's
-- legal entity.
[postAccountsAccountPersonsRequestBodyRelationship] :: PostAccountsAccountPersonsRequestBody -> Maybe PostAccountsAccountPersonsRequestBodyRelationship'
-- | ssn_last_4: The last four digits of the person's Social Security
-- number (U.S. only).
[postAccountsAccountPersonsRequestBodySsnLast_4] :: PostAccountsAccountPersonsRequestBody -> Maybe Text
-- | verification: The person's verification status.
[postAccountsAccountPersonsRequestBodyVerification] :: PostAccountsAccountPersonsRequestBody -> Maybe PostAccountsAccountPersonsRequestBodyVerification'
-- | Create a new PostAccountsAccountPersonsRequestBody with all
-- required fields.
mkPostAccountsAccountPersonsRequestBody :: PostAccountsAccountPersonsRequestBody
-- | Defines the object schema located at
-- paths./v1/accounts/{account}/persons.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.address
-- in the specification.
--
-- The person's address.
data PostAccountsAccountPersonsRequestBodyAddress'
PostAccountsAccountPersonsRequestBodyAddress' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PostAccountsAccountPersonsRequestBodyAddress'
-- | city
--
-- Constraints:
--
--
-- - Maximum length of 100
--
[postAccountsAccountPersonsRequestBodyAddress'City] :: PostAccountsAccountPersonsRequestBodyAddress' -> Maybe Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPersonsRequestBodyAddress'Country] :: PostAccountsAccountPersonsRequestBodyAddress' -> Maybe Text
-- | line1
--
-- Constraints:
--
--
-- - Maximum length of 200
--
[postAccountsAccountPersonsRequestBodyAddress'Line1] :: PostAccountsAccountPersonsRequestBodyAddress' -> Maybe Text
-- | line2
--
-- Constraints:
--
--
-- - Maximum length of 200
--
[postAccountsAccountPersonsRequestBodyAddress'Line2] :: PostAccountsAccountPersonsRequestBodyAddress' -> Maybe Text
-- | postal_code
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPersonsRequestBodyAddress'PostalCode] :: PostAccountsAccountPersonsRequestBodyAddress' -> Maybe Text
-- | state
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPersonsRequestBodyAddress'State] :: PostAccountsAccountPersonsRequestBodyAddress' -> Maybe Text
-- | Create a new PostAccountsAccountPersonsRequestBodyAddress' with
-- all required fields.
mkPostAccountsAccountPersonsRequestBodyAddress' :: PostAccountsAccountPersonsRequestBodyAddress'
-- | Defines the object schema located at
-- paths./v1/accounts/{account}/persons.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.address_kana
-- in the specification.
--
-- The Kana variation of the person's address (Japan only).
data PostAccountsAccountPersonsRequestBodyAddressKana'
PostAccountsAccountPersonsRequestBodyAddressKana' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PostAccountsAccountPersonsRequestBodyAddressKana'
-- | city
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPersonsRequestBodyAddressKana'City] :: PostAccountsAccountPersonsRequestBodyAddressKana' -> Maybe Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPersonsRequestBodyAddressKana'Country] :: PostAccountsAccountPersonsRequestBodyAddressKana' -> Maybe Text
-- | line1
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPersonsRequestBodyAddressKana'Line1] :: PostAccountsAccountPersonsRequestBodyAddressKana' -> Maybe Text
-- | line2
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPersonsRequestBodyAddressKana'Line2] :: PostAccountsAccountPersonsRequestBodyAddressKana' -> Maybe Text
-- | postal_code
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPersonsRequestBodyAddressKana'PostalCode] :: PostAccountsAccountPersonsRequestBodyAddressKana' -> Maybe Text
-- | state
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPersonsRequestBodyAddressKana'State] :: PostAccountsAccountPersonsRequestBodyAddressKana' -> Maybe Text
-- | town
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPersonsRequestBodyAddressKana'Town] :: PostAccountsAccountPersonsRequestBodyAddressKana' -> Maybe Text
-- | Create a new PostAccountsAccountPersonsRequestBodyAddressKana'
-- with all required fields.
mkPostAccountsAccountPersonsRequestBodyAddressKana' :: PostAccountsAccountPersonsRequestBodyAddressKana'
-- | Defines the object schema located at
-- paths./v1/accounts/{account}/persons.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.address_kanji
-- in the specification.
--
-- The Kanji variation of the person's address (Japan only).
data PostAccountsAccountPersonsRequestBodyAddressKanji'
PostAccountsAccountPersonsRequestBodyAddressKanji' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PostAccountsAccountPersonsRequestBodyAddressKanji'
-- | city
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPersonsRequestBodyAddressKanji'City] :: PostAccountsAccountPersonsRequestBodyAddressKanji' -> Maybe Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPersonsRequestBodyAddressKanji'Country] :: PostAccountsAccountPersonsRequestBodyAddressKanji' -> Maybe Text
-- | line1
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPersonsRequestBodyAddressKanji'Line1] :: PostAccountsAccountPersonsRequestBodyAddressKanji' -> Maybe Text
-- | line2
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPersonsRequestBodyAddressKanji'Line2] :: PostAccountsAccountPersonsRequestBodyAddressKanji' -> Maybe Text
-- | postal_code
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPersonsRequestBodyAddressKanji'PostalCode] :: PostAccountsAccountPersonsRequestBodyAddressKanji' -> Maybe Text
-- | state
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPersonsRequestBodyAddressKanji'State] :: PostAccountsAccountPersonsRequestBodyAddressKanji' -> Maybe Text
-- | town
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPersonsRequestBodyAddressKanji'Town] :: PostAccountsAccountPersonsRequestBodyAddressKanji' -> Maybe Text
-- | Create a new PostAccountsAccountPersonsRequestBodyAddressKanji'
-- with all required fields.
mkPostAccountsAccountPersonsRequestBodyAddressKanji' :: PostAccountsAccountPersonsRequestBodyAddressKanji'
-- | Defines the object schema located at
-- paths./v1/accounts/{account}/persons.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.dob.anyOf
-- in the specification.
data PostAccountsAccountPersonsRequestBodyDob'OneOf1
PostAccountsAccountPersonsRequestBodyDob'OneOf1 :: Int -> Int -> Int -> PostAccountsAccountPersonsRequestBodyDob'OneOf1
-- | day
[postAccountsAccountPersonsRequestBodyDob'OneOf1Day] :: PostAccountsAccountPersonsRequestBodyDob'OneOf1 -> Int
-- | month
[postAccountsAccountPersonsRequestBodyDob'OneOf1Month] :: PostAccountsAccountPersonsRequestBodyDob'OneOf1 -> Int
-- | year
[postAccountsAccountPersonsRequestBodyDob'OneOf1Year] :: PostAccountsAccountPersonsRequestBodyDob'OneOf1 -> Int
-- | Create a new PostAccountsAccountPersonsRequestBodyDob'OneOf1
-- with all required fields.
mkPostAccountsAccountPersonsRequestBodyDob'OneOf1 :: Int -> Int -> Int -> PostAccountsAccountPersonsRequestBodyDob'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/accounts/{account}/persons.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.dob.anyOf
-- in the specification.
--
-- The person's date of birth.
data PostAccountsAccountPersonsRequestBodyDob'Variants
-- | Represents the JSON value ""
PostAccountsAccountPersonsRequestBodyDob'EmptyString :: PostAccountsAccountPersonsRequestBodyDob'Variants
PostAccountsAccountPersonsRequestBodyDob'PostAccountsAccountPersonsRequestBodyDob'OneOf1 :: PostAccountsAccountPersonsRequestBodyDob'OneOf1 -> PostAccountsAccountPersonsRequestBodyDob'Variants
-- | Defines the object schema located at
-- paths./v1/accounts/{account}/persons.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.documents
-- in the specification.
--
-- Documents that may be submitted to satisfy various informational
-- requests.
data PostAccountsAccountPersonsRequestBodyDocuments'
PostAccountsAccountPersonsRequestBodyDocuments' :: Maybe PostAccountsAccountPersonsRequestBodyDocuments'CompanyAuthorization' -> Maybe PostAccountsAccountPersonsRequestBodyDocuments'Passport' -> Maybe PostAccountsAccountPersonsRequestBodyDocuments'Visa' -> PostAccountsAccountPersonsRequestBodyDocuments'
-- | company_authorization
[postAccountsAccountPersonsRequestBodyDocuments'CompanyAuthorization] :: PostAccountsAccountPersonsRequestBodyDocuments' -> Maybe PostAccountsAccountPersonsRequestBodyDocuments'CompanyAuthorization'
-- | passport
[postAccountsAccountPersonsRequestBodyDocuments'Passport] :: PostAccountsAccountPersonsRequestBodyDocuments' -> Maybe PostAccountsAccountPersonsRequestBodyDocuments'Passport'
-- | visa
[postAccountsAccountPersonsRequestBodyDocuments'Visa] :: PostAccountsAccountPersonsRequestBodyDocuments' -> Maybe PostAccountsAccountPersonsRequestBodyDocuments'Visa'
-- | Create a new PostAccountsAccountPersonsRequestBodyDocuments'
-- with all required fields.
mkPostAccountsAccountPersonsRequestBodyDocuments' :: PostAccountsAccountPersonsRequestBodyDocuments'
-- | Defines the object schema located at
-- paths./v1/accounts/{account}/persons.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.documents.properties.company_authorization
-- in the specification.
data PostAccountsAccountPersonsRequestBodyDocuments'CompanyAuthorization'
PostAccountsAccountPersonsRequestBodyDocuments'CompanyAuthorization' :: Maybe [Text] -> PostAccountsAccountPersonsRequestBodyDocuments'CompanyAuthorization'
-- | files
[postAccountsAccountPersonsRequestBodyDocuments'CompanyAuthorization'Files] :: PostAccountsAccountPersonsRequestBodyDocuments'CompanyAuthorization' -> Maybe [Text]
-- | Create a new
-- PostAccountsAccountPersonsRequestBodyDocuments'CompanyAuthorization'
-- with all required fields.
mkPostAccountsAccountPersonsRequestBodyDocuments'CompanyAuthorization' :: PostAccountsAccountPersonsRequestBodyDocuments'CompanyAuthorization'
-- | Defines the object schema located at
-- paths./v1/accounts/{account}/persons.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.documents.properties.passport
-- in the specification.
data PostAccountsAccountPersonsRequestBodyDocuments'Passport'
PostAccountsAccountPersonsRequestBodyDocuments'Passport' :: Maybe [Text] -> PostAccountsAccountPersonsRequestBodyDocuments'Passport'
-- | files
[postAccountsAccountPersonsRequestBodyDocuments'Passport'Files] :: PostAccountsAccountPersonsRequestBodyDocuments'Passport' -> Maybe [Text]
-- | Create a new
-- PostAccountsAccountPersonsRequestBodyDocuments'Passport' with
-- all required fields.
mkPostAccountsAccountPersonsRequestBodyDocuments'Passport' :: PostAccountsAccountPersonsRequestBodyDocuments'Passport'
-- | Defines the object schema located at
-- paths./v1/accounts/{account}/persons.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.documents.properties.visa
-- in the specification.
data PostAccountsAccountPersonsRequestBodyDocuments'Visa'
PostAccountsAccountPersonsRequestBodyDocuments'Visa' :: Maybe [Text] -> PostAccountsAccountPersonsRequestBodyDocuments'Visa'
-- | files
[postAccountsAccountPersonsRequestBodyDocuments'Visa'Files] :: PostAccountsAccountPersonsRequestBodyDocuments'Visa' -> Maybe [Text]
-- | Create a new
-- PostAccountsAccountPersonsRequestBodyDocuments'Visa' with all
-- required fields.
mkPostAccountsAccountPersonsRequestBodyDocuments'Visa' :: PostAccountsAccountPersonsRequestBodyDocuments'Visa'
-- | Defines the oneOf schema located at
-- paths./v1/accounts/{account}/persons.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.metadata.anyOf
-- in the specification.
--
-- Set of key-value pairs that you can attach to an object. This
-- can be useful for storing additional information about the object in a
-- structured format. Individual keys can be unset by posting an empty
-- value to them. All keys can be unset by posting an empty value to
-- `metadata`.
data PostAccountsAccountPersonsRequestBodyMetadata'Variants
-- | Represents the JSON value ""
PostAccountsAccountPersonsRequestBodyMetadata'EmptyString :: PostAccountsAccountPersonsRequestBodyMetadata'Variants
PostAccountsAccountPersonsRequestBodyMetadata'Object :: Object -> PostAccountsAccountPersonsRequestBodyMetadata'Variants
-- | Defines the object schema located at
-- paths./v1/accounts/{account}/persons.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.relationship
-- in the specification.
--
-- The relationship that this person has with the account's legal entity.
data PostAccountsAccountPersonsRequestBodyRelationship'
PostAccountsAccountPersonsRequestBodyRelationship' :: Maybe Bool -> Maybe Bool -> Maybe Bool -> Maybe PostAccountsAccountPersonsRequestBodyRelationship'PercentOwnership'Variants -> Maybe Bool -> Maybe Text -> PostAccountsAccountPersonsRequestBodyRelationship'
-- | director
[postAccountsAccountPersonsRequestBodyRelationship'Director] :: PostAccountsAccountPersonsRequestBodyRelationship' -> Maybe Bool
-- | executive
[postAccountsAccountPersonsRequestBodyRelationship'Executive] :: PostAccountsAccountPersonsRequestBodyRelationship' -> Maybe Bool
-- | owner
[postAccountsAccountPersonsRequestBodyRelationship'Owner] :: PostAccountsAccountPersonsRequestBodyRelationship' -> Maybe Bool
-- | percent_ownership
[postAccountsAccountPersonsRequestBodyRelationship'PercentOwnership] :: PostAccountsAccountPersonsRequestBodyRelationship' -> Maybe PostAccountsAccountPersonsRequestBodyRelationship'PercentOwnership'Variants
-- | representative
[postAccountsAccountPersonsRequestBodyRelationship'Representative] :: PostAccountsAccountPersonsRequestBodyRelationship' -> Maybe Bool
-- | title
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPersonsRequestBodyRelationship'Title] :: PostAccountsAccountPersonsRequestBodyRelationship' -> Maybe Text
-- | Create a new PostAccountsAccountPersonsRequestBodyRelationship'
-- with all required fields.
mkPostAccountsAccountPersonsRequestBodyRelationship' :: PostAccountsAccountPersonsRequestBodyRelationship'
-- | Defines the oneOf schema located at
-- paths./v1/accounts/{account}/persons.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.relationship.properties.percent_ownership.anyOf
-- in the specification.
data PostAccountsAccountPersonsRequestBodyRelationship'PercentOwnership'Variants
-- | Represents the JSON value ""
PostAccountsAccountPersonsRequestBodyRelationship'PercentOwnership'EmptyString :: PostAccountsAccountPersonsRequestBodyRelationship'PercentOwnership'Variants
PostAccountsAccountPersonsRequestBodyRelationship'PercentOwnership'Double :: Double -> PostAccountsAccountPersonsRequestBodyRelationship'PercentOwnership'Variants
-- | Defines the object schema located at
-- paths./v1/accounts/{account}/persons.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.verification
-- in the specification.
--
-- The person's verification status.
data PostAccountsAccountPersonsRequestBodyVerification'
PostAccountsAccountPersonsRequestBodyVerification' :: Maybe PostAccountsAccountPersonsRequestBodyVerification'AdditionalDocument' -> Maybe PostAccountsAccountPersonsRequestBodyVerification'Document' -> PostAccountsAccountPersonsRequestBodyVerification'
-- | additional_document
[postAccountsAccountPersonsRequestBodyVerification'AdditionalDocument] :: PostAccountsAccountPersonsRequestBodyVerification' -> Maybe PostAccountsAccountPersonsRequestBodyVerification'AdditionalDocument'
-- | document
[postAccountsAccountPersonsRequestBodyVerification'Document] :: PostAccountsAccountPersonsRequestBodyVerification' -> Maybe PostAccountsAccountPersonsRequestBodyVerification'Document'
-- | Create a new PostAccountsAccountPersonsRequestBodyVerification'
-- with all required fields.
mkPostAccountsAccountPersonsRequestBodyVerification' :: PostAccountsAccountPersonsRequestBodyVerification'
-- | Defines the object schema located at
-- paths./v1/accounts/{account}/persons.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.verification.properties.additional_document
-- in the specification.
data PostAccountsAccountPersonsRequestBodyVerification'AdditionalDocument'
PostAccountsAccountPersonsRequestBodyVerification'AdditionalDocument' :: Maybe Text -> Maybe Text -> PostAccountsAccountPersonsRequestBodyVerification'AdditionalDocument'
-- | back
--
-- Constraints:
--
--
-- - Maximum length of 500
--
[postAccountsAccountPersonsRequestBodyVerification'AdditionalDocument'Back] :: PostAccountsAccountPersonsRequestBodyVerification'AdditionalDocument' -> Maybe Text
-- | front
--
-- Constraints:
--
--
-- - Maximum length of 500
--
[postAccountsAccountPersonsRequestBodyVerification'AdditionalDocument'Front] :: PostAccountsAccountPersonsRequestBodyVerification'AdditionalDocument' -> Maybe Text
-- | Create a new
-- PostAccountsAccountPersonsRequestBodyVerification'AdditionalDocument'
-- with all required fields.
mkPostAccountsAccountPersonsRequestBodyVerification'AdditionalDocument' :: PostAccountsAccountPersonsRequestBodyVerification'AdditionalDocument'
-- | Defines the object schema located at
-- paths./v1/accounts/{account}/persons.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.verification.properties.document
-- in the specification.
data PostAccountsAccountPersonsRequestBodyVerification'Document'
PostAccountsAccountPersonsRequestBodyVerification'Document' :: Maybe Text -> Maybe Text -> PostAccountsAccountPersonsRequestBodyVerification'Document'
-- | back
--
-- Constraints:
--
--
-- - Maximum length of 500
--
[postAccountsAccountPersonsRequestBodyVerification'Document'Back] :: PostAccountsAccountPersonsRequestBodyVerification'Document' -> Maybe Text
-- | front
--
-- Constraints:
--
--
-- - Maximum length of 500
--
[postAccountsAccountPersonsRequestBodyVerification'Document'Front] :: PostAccountsAccountPersonsRequestBodyVerification'Document' -> Maybe Text
-- | Create a new
-- PostAccountsAccountPersonsRequestBodyVerification'Document'
-- with all required fields.
mkPostAccountsAccountPersonsRequestBodyVerification'Document' :: PostAccountsAccountPersonsRequestBodyVerification'Document'
-- | Represents a response of the operation
-- postAccountsAccountPersons.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostAccountsAccountPersonsResponseError
-- is used.
data PostAccountsAccountPersonsResponse
-- | Means either no matching case available or a parse error
PostAccountsAccountPersonsResponseError :: String -> PostAccountsAccountPersonsResponse
-- | Successful response.
PostAccountsAccountPersonsResponse200 :: Person -> PostAccountsAccountPersonsResponse
-- | Error response.
PostAccountsAccountPersonsResponseDefault :: Error -> PostAccountsAccountPersonsResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountPersons.PostAccountsAccountPersonsRequestBodyAddress'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountPersons.PostAccountsAccountPersonsRequestBodyAddress'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountPersons.PostAccountsAccountPersonsRequestBodyAddressKana'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountPersons.PostAccountsAccountPersonsRequestBodyAddressKana'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountPersons.PostAccountsAccountPersonsRequestBodyAddressKanji'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountPersons.PostAccountsAccountPersonsRequestBodyAddressKanji'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountPersons.PostAccountsAccountPersonsRequestBodyDob'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountPersons.PostAccountsAccountPersonsRequestBodyDob'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountPersons.PostAccountsAccountPersonsRequestBodyDob'Variants
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountPersons.PostAccountsAccountPersonsRequestBodyDob'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountPersons.PostAccountsAccountPersonsRequestBodyDocuments'CompanyAuthorization'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountPersons.PostAccountsAccountPersonsRequestBodyDocuments'CompanyAuthorization'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountPersons.PostAccountsAccountPersonsRequestBodyDocuments'Passport'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountPersons.PostAccountsAccountPersonsRequestBodyDocuments'Passport'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountPersons.PostAccountsAccountPersonsRequestBodyDocuments'Visa'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountPersons.PostAccountsAccountPersonsRequestBodyDocuments'Visa'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountPersons.PostAccountsAccountPersonsRequestBodyDocuments'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountPersons.PostAccountsAccountPersonsRequestBodyDocuments'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountPersons.PostAccountsAccountPersonsRequestBodyMetadata'Variants
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountPersons.PostAccountsAccountPersonsRequestBodyMetadata'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountPersons.PostAccountsAccountPersonsRequestBodyRelationship'PercentOwnership'Variants
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountPersons.PostAccountsAccountPersonsRequestBodyRelationship'PercentOwnership'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountPersons.PostAccountsAccountPersonsRequestBodyRelationship'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountPersons.PostAccountsAccountPersonsRequestBodyRelationship'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountPersons.PostAccountsAccountPersonsRequestBodyVerification'AdditionalDocument'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountPersons.PostAccountsAccountPersonsRequestBodyVerification'AdditionalDocument'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountPersons.PostAccountsAccountPersonsRequestBodyVerification'Document'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountPersons.PostAccountsAccountPersonsRequestBodyVerification'Document'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountPersons.PostAccountsAccountPersonsRequestBodyVerification'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountPersons.PostAccountsAccountPersonsRequestBodyVerification'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountPersons.PostAccountsAccountPersonsRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountPersons.PostAccountsAccountPersonsRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountPersons.PostAccountsAccountPersonsResponse
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountPersons.PostAccountsAccountPersonsResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccountPersons.PostAccountsAccountPersonsRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccountPersons.PostAccountsAccountPersonsRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccountPersons.PostAccountsAccountPersonsRequestBodyVerification'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccountPersons.PostAccountsAccountPersonsRequestBodyVerification'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccountPersons.PostAccountsAccountPersonsRequestBodyVerification'Document'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccountPersons.PostAccountsAccountPersonsRequestBodyVerification'Document'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccountPersons.PostAccountsAccountPersonsRequestBodyVerification'AdditionalDocument'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccountPersons.PostAccountsAccountPersonsRequestBodyVerification'AdditionalDocument'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccountPersons.PostAccountsAccountPersonsRequestBodyRelationship'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccountPersons.PostAccountsAccountPersonsRequestBodyRelationship'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccountPersons.PostAccountsAccountPersonsRequestBodyRelationship'PercentOwnership'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccountPersons.PostAccountsAccountPersonsRequestBodyRelationship'PercentOwnership'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccountPersons.PostAccountsAccountPersonsRequestBodyMetadata'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccountPersons.PostAccountsAccountPersonsRequestBodyMetadata'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccountPersons.PostAccountsAccountPersonsRequestBodyDocuments'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccountPersons.PostAccountsAccountPersonsRequestBodyDocuments'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccountPersons.PostAccountsAccountPersonsRequestBodyDocuments'Visa'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccountPersons.PostAccountsAccountPersonsRequestBodyDocuments'Visa'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccountPersons.PostAccountsAccountPersonsRequestBodyDocuments'Passport'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccountPersons.PostAccountsAccountPersonsRequestBodyDocuments'Passport'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccountPersons.PostAccountsAccountPersonsRequestBodyDocuments'CompanyAuthorization'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccountPersons.PostAccountsAccountPersonsRequestBodyDocuments'CompanyAuthorization'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccountPersons.PostAccountsAccountPersonsRequestBodyDob'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccountPersons.PostAccountsAccountPersonsRequestBodyDob'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccountPersons.PostAccountsAccountPersonsRequestBodyDob'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccountPersons.PostAccountsAccountPersonsRequestBodyDob'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccountPersons.PostAccountsAccountPersonsRequestBodyAddressKanji'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccountPersons.PostAccountsAccountPersonsRequestBodyAddressKanji'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccountPersons.PostAccountsAccountPersonsRequestBodyAddressKana'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccountPersons.PostAccountsAccountPersonsRequestBodyAddressKana'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccountPersons.PostAccountsAccountPersonsRequestBodyAddress'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccountPersons.PostAccountsAccountPersonsRequestBodyAddress'
-- | Contains the different functions to run the operation
-- postAccountsAccountPeoplePerson
module StripeAPI.Operations.PostAccountsAccountPeoplePerson
-- |
-- POST /v1/accounts/{account}/people/{person}
--
--
-- <p>Updates an existing person.</p>
postAccountsAccountPeoplePerson :: forall m. MonadHTTP m => PostAccountsAccountPeoplePersonParameters -> Maybe PostAccountsAccountPeoplePersonRequestBody -> ClientT m (Response PostAccountsAccountPeoplePersonResponse)
-- | Defines the object schema located at
-- paths./v1/accounts/{account}/people/{person}.POST.parameters
-- in the specification.
data PostAccountsAccountPeoplePersonParameters
PostAccountsAccountPeoplePersonParameters :: Text -> Text -> PostAccountsAccountPeoplePersonParameters
-- | pathAccount: Represents the parameter named 'account'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPeoplePersonParametersPathAccount] :: PostAccountsAccountPeoplePersonParameters -> Text
-- | pathPerson: Represents the parameter named 'person'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPeoplePersonParametersPathPerson] :: PostAccountsAccountPeoplePersonParameters -> Text
-- | Create a new PostAccountsAccountPeoplePersonParameters with all
-- required fields.
mkPostAccountsAccountPeoplePersonParameters :: Text -> Text -> PostAccountsAccountPeoplePersonParameters
-- | Defines the object schema located at
-- paths./v1/accounts/{account}/people/{person}.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostAccountsAccountPeoplePersonRequestBody
PostAccountsAccountPeoplePersonRequestBody :: Maybe PostAccountsAccountPeoplePersonRequestBodyAddress' -> Maybe PostAccountsAccountPeoplePersonRequestBodyAddressKana' -> Maybe PostAccountsAccountPeoplePersonRequestBodyAddressKanji' -> Maybe PostAccountsAccountPeoplePersonRequestBodyDob'Variants -> Maybe PostAccountsAccountPeoplePersonRequestBodyDocuments' -> Maybe Text -> Maybe [Text] -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe PostAccountsAccountPeoplePersonRequestBodyMetadata'Variants -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe PostAccountsAccountPeoplePersonRequestBodyRelationship' -> Maybe Text -> Maybe PostAccountsAccountPeoplePersonRequestBodyVerification' -> PostAccountsAccountPeoplePersonRequestBody
-- | address: The person's address.
[postAccountsAccountPeoplePersonRequestBodyAddress] :: PostAccountsAccountPeoplePersonRequestBody -> Maybe PostAccountsAccountPeoplePersonRequestBodyAddress'
-- | address_kana: The Kana variation of the person's address (Japan only).
[postAccountsAccountPeoplePersonRequestBodyAddressKana] :: PostAccountsAccountPeoplePersonRequestBody -> Maybe PostAccountsAccountPeoplePersonRequestBodyAddressKana'
-- | address_kanji: The Kanji variation of the person's address (Japan
-- only).
[postAccountsAccountPeoplePersonRequestBodyAddressKanji] :: PostAccountsAccountPeoplePersonRequestBody -> Maybe PostAccountsAccountPeoplePersonRequestBodyAddressKanji'
-- | dob: The person's date of birth.
[postAccountsAccountPeoplePersonRequestBodyDob] :: PostAccountsAccountPeoplePersonRequestBody -> Maybe PostAccountsAccountPeoplePersonRequestBodyDob'Variants
-- | documents: Documents that may be submitted to satisfy various
-- informational requests.
[postAccountsAccountPeoplePersonRequestBodyDocuments] :: PostAccountsAccountPeoplePersonRequestBody -> Maybe PostAccountsAccountPeoplePersonRequestBodyDocuments'
-- | email: The person's email address.
[postAccountsAccountPeoplePersonRequestBodyEmail] :: PostAccountsAccountPeoplePersonRequestBody -> Maybe Text
-- | expand: Specifies which fields in the response should be expanded.
[postAccountsAccountPeoplePersonRequestBodyExpand] :: PostAccountsAccountPeoplePersonRequestBody -> Maybe [Text]
-- | first_name: The person's first name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPeoplePersonRequestBodyFirstName] :: PostAccountsAccountPeoplePersonRequestBody -> Maybe Text
-- | first_name_kana: The Kana variation of the person's first name (Japan
-- only).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPeoplePersonRequestBodyFirstNameKana] :: PostAccountsAccountPeoplePersonRequestBody -> Maybe Text
-- | first_name_kanji: The Kanji variation of the person's first name
-- (Japan only).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPeoplePersonRequestBodyFirstNameKanji] :: PostAccountsAccountPeoplePersonRequestBody -> Maybe Text
-- | gender: The person's gender (International regulations require either
-- "male" or "female").
[postAccountsAccountPeoplePersonRequestBodyGender] :: PostAccountsAccountPeoplePersonRequestBody -> Maybe Text
-- | id_number: The person's ID number, as appropriate for their country.
-- For example, a social security number in the U.S., social insurance
-- number in Canada, etc. Instead of the number itself, you can also
-- provide a PII token provided by Stripe.js.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPeoplePersonRequestBodyIdNumber] :: PostAccountsAccountPeoplePersonRequestBody -> Maybe Text
-- | last_name: The person's last name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPeoplePersonRequestBodyLastName] :: PostAccountsAccountPeoplePersonRequestBody -> Maybe Text
-- | last_name_kana: The Kana variation of the person's last name (Japan
-- only).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPeoplePersonRequestBodyLastNameKana] :: PostAccountsAccountPeoplePersonRequestBody -> Maybe Text
-- | last_name_kanji: The Kanji variation of the person's last name (Japan
-- only).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPeoplePersonRequestBodyLastNameKanji] :: PostAccountsAccountPeoplePersonRequestBody -> Maybe Text
-- | maiden_name: The person's maiden name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPeoplePersonRequestBodyMaidenName] :: PostAccountsAccountPeoplePersonRequestBody -> Maybe Text
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postAccountsAccountPeoplePersonRequestBodyMetadata] :: PostAccountsAccountPeoplePersonRequestBody -> Maybe PostAccountsAccountPeoplePersonRequestBodyMetadata'Variants
-- | nationality: The country where the person is a national. Two-letter
-- country code ([ISO 3166-1
-- alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)), or "XX"
-- if unavailable.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPeoplePersonRequestBodyNationality] :: PostAccountsAccountPeoplePersonRequestBody -> Maybe Text
-- | person_token: A person token, used to securely provide details
-- to the person.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPeoplePersonRequestBodyPersonToken] :: PostAccountsAccountPeoplePersonRequestBody -> Maybe Text
-- | phone: The person's phone number.
[postAccountsAccountPeoplePersonRequestBodyPhone] :: PostAccountsAccountPeoplePersonRequestBody -> Maybe Text
-- | political_exposure: Indicates if the person or any of their
-- representatives, family members, or other closely related persons,
-- declares that they hold or have held an important public job or
-- function, in any jurisdiction.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPeoplePersonRequestBodyPoliticalExposure] :: PostAccountsAccountPeoplePersonRequestBody -> Maybe Text
-- | relationship: The relationship that this person has with the account's
-- legal entity.
[postAccountsAccountPeoplePersonRequestBodyRelationship] :: PostAccountsAccountPeoplePersonRequestBody -> Maybe PostAccountsAccountPeoplePersonRequestBodyRelationship'
-- | ssn_last_4: The last four digits of the person's Social Security
-- number (U.S. only).
[postAccountsAccountPeoplePersonRequestBodySsnLast_4] :: PostAccountsAccountPeoplePersonRequestBody -> Maybe Text
-- | verification: The person's verification status.
[postAccountsAccountPeoplePersonRequestBodyVerification] :: PostAccountsAccountPeoplePersonRequestBody -> Maybe PostAccountsAccountPeoplePersonRequestBodyVerification'
-- | Create a new PostAccountsAccountPeoplePersonRequestBody with
-- all required fields.
mkPostAccountsAccountPeoplePersonRequestBody :: PostAccountsAccountPeoplePersonRequestBody
-- | Defines the object schema located at
-- paths./v1/accounts/{account}/people/{person}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.address
-- in the specification.
--
-- The person's address.
data PostAccountsAccountPeoplePersonRequestBodyAddress'
PostAccountsAccountPeoplePersonRequestBodyAddress' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PostAccountsAccountPeoplePersonRequestBodyAddress'
-- | city
--
-- Constraints:
--
--
-- - Maximum length of 100
--
[postAccountsAccountPeoplePersonRequestBodyAddress'City] :: PostAccountsAccountPeoplePersonRequestBodyAddress' -> Maybe Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPeoplePersonRequestBodyAddress'Country] :: PostAccountsAccountPeoplePersonRequestBodyAddress' -> Maybe Text
-- | line1
--
-- Constraints:
--
--
-- - Maximum length of 200
--
[postAccountsAccountPeoplePersonRequestBodyAddress'Line1] :: PostAccountsAccountPeoplePersonRequestBodyAddress' -> Maybe Text
-- | line2
--
-- Constraints:
--
--
-- - Maximum length of 200
--
[postAccountsAccountPeoplePersonRequestBodyAddress'Line2] :: PostAccountsAccountPeoplePersonRequestBodyAddress' -> Maybe Text
-- | postal_code
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPeoplePersonRequestBodyAddress'PostalCode] :: PostAccountsAccountPeoplePersonRequestBodyAddress' -> Maybe Text
-- | state
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPeoplePersonRequestBodyAddress'State] :: PostAccountsAccountPeoplePersonRequestBodyAddress' -> Maybe Text
-- | Create a new PostAccountsAccountPeoplePersonRequestBodyAddress'
-- with all required fields.
mkPostAccountsAccountPeoplePersonRequestBodyAddress' :: PostAccountsAccountPeoplePersonRequestBodyAddress'
-- | Defines the object schema located at
-- paths./v1/accounts/{account}/people/{person}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.address_kana
-- in the specification.
--
-- The Kana variation of the person's address (Japan only).
data PostAccountsAccountPeoplePersonRequestBodyAddressKana'
PostAccountsAccountPeoplePersonRequestBodyAddressKana' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PostAccountsAccountPeoplePersonRequestBodyAddressKana'
-- | city
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPeoplePersonRequestBodyAddressKana'City] :: PostAccountsAccountPeoplePersonRequestBodyAddressKana' -> Maybe Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPeoplePersonRequestBodyAddressKana'Country] :: PostAccountsAccountPeoplePersonRequestBodyAddressKana' -> Maybe Text
-- | line1
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPeoplePersonRequestBodyAddressKana'Line1] :: PostAccountsAccountPeoplePersonRequestBodyAddressKana' -> Maybe Text
-- | line2
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPeoplePersonRequestBodyAddressKana'Line2] :: PostAccountsAccountPeoplePersonRequestBodyAddressKana' -> Maybe Text
-- | postal_code
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPeoplePersonRequestBodyAddressKana'PostalCode] :: PostAccountsAccountPeoplePersonRequestBodyAddressKana' -> Maybe Text
-- | state
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPeoplePersonRequestBodyAddressKana'State] :: PostAccountsAccountPeoplePersonRequestBodyAddressKana' -> Maybe Text
-- | town
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPeoplePersonRequestBodyAddressKana'Town] :: PostAccountsAccountPeoplePersonRequestBodyAddressKana' -> Maybe Text
-- | Create a new
-- PostAccountsAccountPeoplePersonRequestBodyAddressKana' with all
-- required fields.
mkPostAccountsAccountPeoplePersonRequestBodyAddressKana' :: PostAccountsAccountPeoplePersonRequestBodyAddressKana'
-- | Defines the object schema located at
-- paths./v1/accounts/{account}/people/{person}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.address_kanji
-- in the specification.
--
-- The Kanji variation of the person's address (Japan only).
data PostAccountsAccountPeoplePersonRequestBodyAddressKanji'
PostAccountsAccountPeoplePersonRequestBodyAddressKanji' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PostAccountsAccountPeoplePersonRequestBodyAddressKanji'
-- | city
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPeoplePersonRequestBodyAddressKanji'City] :: PostAccountsAccountPeoplePersonRequestBodyAddressKanji' -> Maybe Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPeoplePersonRequestBodyAddressKanji'Country] :: PostAccountsAccountPeoplePersonRequestBodyAddressKanji' -> Maybe Text
-- | line1
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPeoplePersonRequestBodyAddressKanji'Line1] :: PostAccountsAccountPeoplePersonRequestBodyAddressKanji' -> Maybe Text
-- | line2
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPeoplePersonRequestBodyAddressKanji'Line2] :: PostAccountsAccountPeoplePersonRequestBodyAddressKanji' -> Maybe Text
-- | postal_code
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPeoplePersonRequestBodyAddressKanji'PostalCode] :: PostAccountsAccountPeoplePersonRequestBodyAddressKanji' -> Maybe Text
-- | state
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPeoplePersonRequestBodyAddressKanji'State] :: PostAccountsAccountPeoplePersonRequestBodyAddressKanji' -> Maybe Text
-- | town
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPeoplePersonRequestBodyAddressKanji'Town] :: PostAccountsAccountPeoplePersonRequestBodyAddressKanji' -> Maybe Text
-- | Create a new
-- PostAccountsAccountPeoplePersonRequestBodyAddressKanji' with
-- all required fields.
mkPostAccountsAccountPeoplePersonRequestBodyAddressKanji' :: PostAccountsAccountPeoplePersonRequestBodyAddressKanji'
-- | Defines the object schema located at
-- paths./v1/accounts/{account}/people/{person}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.dob.anyOf
-- in the specification.
data PostAccountsAccountPeoplePersonRequestBodyDob'OneOf1
PostAccountsAccountPeoplePersonRequestBodyDob'OneOf1 :: Int -> Int -> Int -> PostAccountsAccountPeoplePersonRequestBodyDob'OneOf1
-- | day
[postAccountsAccountPeoplePersonRequestBodyDob'OneOf1Day] :: PostAccountsAccountPeoplePersonRequestBodyDob'OneOf1 -> Int
-- | month
[postAccountsAccountPeoplePersonRequestBodyDob'OneOf1Month] :: PostAccountsAccountPeoplePersonRequestBodyDob'OneOf1 -> Int
-- | year
[postAccountsAccountPeoplePersonRequestBodyDob'OneOf1Year] :: PostAccountsAccountPeoplePersonRequestBodyDob'OneOf1 -> Int
-- | Create a new
-- PostAccountsAccountPeoplePersonRequestBodyDob'OneOf1 with all
-- required fields.
mkPostAccountsAccountPeoplePersonRequestBodyDob'OneOf1 :: Int -> Int -> Int -> PostAccountsAccountPeoplePersonRequestBodyDob'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/accounts/{account}/people/{person}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.dob.anyOf
-- in the specification.
--
-- The person's date of birth.
data PostAccountsAccountPeoplePersonRequestBodyDob'Variants
-- | Represents the JSON value ""
PostAccountsAccountPeoplePersonRequestBodyDob'EmptyString :: PostAccountsAccountPeoplePersonRequestBodyDob'Variants
PostAccountsAccountPeoplePersonRequestBodyDob'PostAccountsAccountPeoplePersonRequestBodyDob'OneOf1 :: PostAccountsAccountPeoplePersonRequestBodyDob'OneOf1 -> PostAccountsAccountPeoplePersonRequestBodyDob'Variants
-- | Defines the object schema located at
-- paths./v1/accounts/{account}/people/{person}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.documents
-- in the specification.
--
-- Documents that may be submitted to satisfy various informational
-- requests.
data PostAccountsAccountPeoplePersonRequestBodyDocuments'
PostAccountsAccountPeoplePersonRequestBodyDocuments' :: Maybe PostAccountsAccountPeoplePersonRequestBodyDocuments'CompanyAuthorization' -> Maybe PostAccountsAccountPeoplePersonRequestBodyDocuments'Passport' -> Maybe PostAccountsAccountPeoplePersonRequestBodyDocuments'Visa' -> PostAccountsAccountPeoplePersonRequestBodyDocuments'
-- | company_authorization
[postAccountsAccountPeoplePersonRequestBodyDocuments'CompanyAuthorization] :: PostAccountsAccountPeoplePersonRequestBodyDocuments' -> Maybe PostAccountsAccountPeoplePersonRequestBodyDocuments'CompanyAuthorization'
-- | passport
[postAccountsAccountPeoplePersonRequestBodyDocuments'Passport] :: PostAccountsAccountPeoplePersonRequestBodyDocuments' -> Maybe PostAccountsAccountPeoplePersonRequestBodyDocuments'Passport'
-- | visa
[postAccountsAccountPeoplePersonRequestBodyDocuments'Visa] :: PostAccountsAccountPeoplePersonRequestBodyDocuments' -> Maybe PostAccountsAccountPeoplePersonRequestBodyDocuments'Visa'
-- | Create a new
-- PostAccountsAccountPeoplePersonRequestBodyDocuments' with all
-- required fields.
mkPostAccountsAccountPeoplePersonRequestBodyDocuments' :: PostAccountsAccountPeoplePersonRequestBodyDocuments'
-- | Defines the object schema located at
-- paths./v1/accounts/{account}/people/{person}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.documents.properties.company_authorization
-- in the specification.
data PostAccountsAccountPeoplePersonRequestBodyDocuments'CompanyAuthorization'
PostAccountsAccountPeoplePersonRequestBodyDocuments'CompanyAuthorization' :: Maybe [Text] -> PostAccountsAccountPeoplePersonRequestBodyDocuments'CompanyAuthorization'
-- | files
[postAccountsAccountPeoplePersonRequestBodyDocuments'CompanyAuthorization'Files] :: PostAccountsAccountPeoplePersonRequestBodyDocuments'CompanyAuthorization' -> Maybe [Text]
-- | Create a new
-- PostAccountsAccountPeoplePersonRequestBodyDocuments'CompanyAuthorization'
-- with all required fields.
mkPostAccountsAccountPeoplePersonRequestBodyDocuments'CompanyAuthorization' :: PostAccountsAccountPeoplePersonRequestBodyDocuments'CompanyAuthorization'
-- | Defines the object schema located at
-- paths./v1/accounts/{account}/people/{person}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.documents.properties.passport
-- in the specification.
data PostAccountsAccountPeoplePersonRequestBodyDocuments'Passport'
PostAccountsAccountPeoplePersonRequestBodyDocuments'Passport' :: Maybe [Text] -> PostAccountsAccountPeoplePersonRequestBodyDocuments'Passport'
-- | files
[postAccountsAccountPeoplePersonRequestBodyDocuments'Passport'Files] :: PostAccountsAccountPeoplePersonRequestBodyDocuments'Passport' -> Maybe [Text]
-- | Create a new
-- PostAccountsAccountPeoplePersonRequestBodyDocuments'Passport'
-- with all required fields.
mkPostAccountsAccountPeoplePersonRequestBodyDocuments'Passport' :: PostAccountsAccountPeoplePersonRequestBodyDocuments'Passport'
-- | Defines the object schema located at
-- paths./v1/accounts/{account}/people/{person}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.documents.properties.visa
-- in the specification.
data PostAccountsAccountPeoplePersonRequestBodyDocuments'Visa'
PostAccountsAccountPeoplePersonRequestBodyDocuments'Visa' :: Maybe [Text] -> PostAccountsAccountPeoplePersonRequestBodyDocuments'Visa'
-- | files
[postAccountsAccountPeoplePersonRequestBodyDocuments'Visa'Files] :: PostAccountsAccountPeoplePersonRequestBodyDocuments'Visa' -> Maybe [Text]
-- | Create a new
-- PostAccountsAccountPeoplePersonRequestBodyDocuments'Visa' with
-- all required fields.
mkPostAccountsAccountPeoplePersonRequestBodyDocuments'Visa' :: PostAccountsAccountPeoplePersonRequestBodyDocuments'Visa'
-- | Defines the oneOf schema located at
-- paths./v1/accounts/{account}/people/{person}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.metadata.anyOf
-- in the specification.
--
-- Set of key-value pairs that you can attach to an object. This
-- can be useful for storing additional information about the object in a
-- structured format. Individual keys can be unset by posting an empty
-- value to them. All keys can be unset by posting an empty value to
-- `metadata`.
data PostAccountsAccountPeoplePersonRequestBodyMetadata'Variants
-- | Represents the JSON value ""
PostAccountsAccountPeoplePersonRequestBodyMetadata'EmptyString :: PostAccountsAccountPeoplePersonRequestBodyMetadata'Variants
PostAccountsAccountPeoplePersonRequestBodyMetadata'Object :: Object -> PostAccountsAccountPeoplePersonRequestBodyMetadata'Variants
-- | Defines the object schema located at
-- paths./v1/accounts/{account}/people/{person}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.relationship
-- in the specification.
--
-- The relationship that this person has with the account's legal entity.
data PostAccountsAccountPeoplePersonRequestBodyRelationship'
PostAccountsAccountPeoplePersonRequestBodyRelationship' :: Maybe Bool -> Maybe Bool -> Maybe Bool -> Maybe PostAccountsAccountPeoplePersonRequestBodyRelationship'PercentOwnership'Variants -> Maybe Bool -> Maybe Text -> PostAccountsAccountPeoplePersonRequestBodyRelationship'
-- | director
[postAccountsAccountPeoplePersonRequestBodyRelationship'Director] :: PostAccountsAccountPeoplePersonRequestBodyRelationship' -> Maybe Bool
-- | executive
[postAccountsAccountPeoplePersonRequestBodyRelationship'Executive] :: PostAccountsAccountPeoplePersonRequestBodyRelationship' -> Maybe Bool
-- | owner
[postAccountsAccountPeoplePersonRequestBodyRelationship'Owner] :: PostAccountsAccountPeoplePersonRequestBodyRelationship' -> Maybe Bool
-- | percent_ownership
[postAccountsAccountPeoplePersonRequestBodyRelationship'PercentOwnership] :: PostAccountsAccountPeoplePersonRequestBodyRelationship' -> Maybe PostAccountsAccountPeoplePersonRequestBodyRelationship'PercentOwnership'Variants
-- | representative
[postAccountsAccountPeoplePersonRequestBodyRelationship'Representative] :: PostAccountsAccountPeoplePersonRequestBodyRelationship' -> Maybe Bool
-- | title
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPeoplePersonRequestBodyRelationship'Title] :: PostAccountsAccountPeoplePersonRequestBodyRelationship' -> Maybe Text
-- | Create a new
-- PostAccountsAccountPeoplePersonRequestBodyRelationship' with
-- all required fields.
mkPostAccountsAccountPeoplePersonRequestBodyRelationship' :: PostAccountsAccountPeoplePersonRequestBodyRelationship'
-- | Defines the oneOf schema located at
-- paths./v1/accounts/{account}/people/{person}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.relationship.properties.percent_ownership.anyOf
-- in the specification.
data PostAccountsAccountPeoplePersonRequestBodyRelationship'PercentOwnership'Variants
-- | Represents the JSON value ""
PostAccountsAccountPeoplePersonRequestBodyRelationship'PercentOwnership'EmptyString :: PostAccountsAccountPeoplePersonRequestBodyRelationship'PercentOwnership'Variants
PostAccountsAccountPeoplePersonRequestBodyRelationship'PercentOwnership'Double :: Double -> PostAccountsAccountPeoplePersonRequestBodyRelationship'PercentOwnership'Variants
-- | Defines the object schema located at
-- paths./v1/accounts/{account}/people/{person}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.verification
-- in the specification.
--
-- The person's verification status.
data PostAccountsAccountPeoplePersonRequestBodyVerification'
PostAccountsAccountPeoplePersonRequestBodyVerification' :: Maybe PostAccountsAccountPeoplePersonRequestBodyVerification'AdditionalDocument' -> Maybe PostAccountsAccountPeoplePersonRequestBodyVerification'Document' -> PostAccountsAccountPeoplePersonRequestBodyVerification'
-- | additional_document
[postAccountsAccountPeoplePersonRequestBodyVerification'AdditionalDocument] :: PostAccountsAccountPeoplePersonRequestBodyVerification' -> Maybe PostAccountsAccountPeoplePersonRequestBodyVerification'AdditionalDocument'
-- | document
[postAccountsAccountPeoplePersonRequestBodyVerification'Document] :: PostAccountsAccountPeoplePersonRequestBodyVerification' -> Maybe PostAccountsAccountPeoplePersonRequestBodyVerification'Document'
-- | Create a new
-- PostAccountsAccountPeoplePersonRequestBodyVerification' with
-- all required fields.
mkPostAccountsAccountPeoplePersonRequestBodyVerification' :: PostAccountsAccountPeoplePersonRequestBodyVerification'
-- | Defines the object schema located at
-- paths./v1/accounts/{account}/people/{person}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.verification.properties.additional_document
-- in the specification.
data PostAccountsAccountPeoplePersonRequestBodyVerification'AdditionalDocument'
PostAccountsAccountPeoplePersonRequestBodyVerification'AdditionalDocument' :: Maybe Text -> Maybe Text -> PostAccountsAccountPeoplePersonRequestBodyVerification'AdditionalDocument'
-- | back
--
-- Constraints:
--
--
-- - Maximum length of 500
--
[postAccountsAccountPeoplePersonRequestBodyVerification'AdditionalDocument'Back] :: PostAccountsAccountPeoplePersonRequestBodyVerification'AdditionalDocument' -> Maybe Text
-- | front
--
-- Constraints:
--
--
-- - Maximum length of 500
--
[postAccountsAccountPeoplePersonRequestBodyVerification'AdditionalDocument'Front] :: PostAccountsAccountPeoplePersonRequestBodyVerification'AdditionalDocument' -> Maybe Text
-- | Create a new
-- PostAccountsAccountPeoplePersonRequestBodyVerification'AdditionalDocument'
-- with all required fields.
mkPostAccountsAccountPeoplePersonRequestBodyVerification'AdditionalDocument' :: PostAccountsAccountPeoplePersonRequestBodyVerification'AdditionalDocument'
-- | Defines the object schema located at
-- paths./v1/accounts/{account}/people/{person}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.verification.properties.document
-- in the specification.
data PostAccountsAccountPeoplePersonRequestBodyVerification'Document'
PostAccountsAccountPeoplePersonRequestBodyVerification'Document' :: Maybe Text -> Maybe Text -> PostAccountsAccountPeoplePersonRequestBodyVerification'Document'
-- | back
--
-- Constraints:
--
--
-- - Maximum length of 500
--
[postAccountsAccountPeoplePersonRequestBodyVerification'Document'Back] :: PostAccountsAccountPeoplePersonRequestBodyVerification'Document' -> Maybe Text
-- | front
--
-- Constraints:
--
--
-- - Maximum length of 500
--
[postAccountsAccountPeoplePersonRequestBodyVerification'Document'Front] :: PostAccountsAccountPeoplePersonRequestBodyVerification'Document' -> Maybe Text
-- | Create a new
-- PostAccountsAccountPeoplePersonRequestBodyVerification'Document'
-- with all required fields.
mkPostAccountsAccountPeoplePersonRequestBodyVerification'Document' :: PostAccountsAccountPeoplePersonRequestBodyVerification'Document'
-- | Represents a response of the operation
-- postAccountsAccountPeoplePerson.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- PostAccountsAccountPeoplePersonResponseError is used.
data PostAccountsAccountPeoplePersonResponse
-- | Means either no matching case available or a parse error
PostAccountsAccountPeoplePersonResponseError :: String -> PostAccountsAccountPeoplePersonResponse
-- | Successful response.
PostAccountsAccountPeoplePersonResponse200 :: Person -> PostAccountsAccountPeoplePersonResponse
-- | Error response.
PostAccountsAccountPeoplePersonResponseDefault :: Error -> PostAccountsAccountPeoplePersonResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountPeoplePerson.PostAccountsAccountPeoplePersonParameters
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountPeoplePerson.PostAccountsAccountPeoplePersonParameters
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountPeoplePerson.PostAccountsAccountPeoplePersonRequestBodyAddress'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountPeoplePerson.PostAccountsAccountPeoplePersonRequestBodyAddress'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountPeoplePerson.PostAccountsAccountPeoplePersonRequestBodyAddressKana'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountPeoplePerson.PostAccountsAccountPeoplePersonRequestBodyAddressKana'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountPeoplePerson.PostAccountsAccountPeoplePersonRequestBodyAddressKanji'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountPeoplePerson.PostAccountsAccountPeoplePersonRequestBodyAddressKanji'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountPeoplePerson.PostAccountsAccountPeoplePersonRequestBodyDob'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountPeoplePerson.PostAccountsAccountPeoplePersonRequestBodyDob'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountPeoplePerson.PostAccountsAccountPeoplePersonRequestBodyDob'Variants
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountPeoplePerson.PostAccountsAccountPeoplePersonRequestBodyDob'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountPeoplePerson.PostAccountsAccountPeoplePersonRequestBodyDocuments'CompanyAuthorization'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountPeoplePerson.PostAccountsAccountPeoplePersonRequestBodyDocuments'CompanyAuthorization'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountPeoplePerson.PostAccountsAccountPeoplePersonRequestBodyDocuments'Passport'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountPeoplePerson.PostAccountsAccountPeoplePersonRequestBodyDocuments'Passport'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountPeoplePerson.PostAccountsAccountPeoplePersonRequestBodyDocuments'Visa'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountPeoplePerson.PostAccountsAccountPeoplePersonRequestBodyDocuments'Visa'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountPeoplePerson.PostAccountsAccountPeoplePersonRequestBodyDocuments'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountPeoplePerson.PostAccountsAccountPeoplePersonRequestBodyDocuments'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountPeoplePerson.PostAccountsAccountPeoplePersonRequestBodyMetadata'Variants
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountPeoplePerson.PostAccountsAccountPeoplePersonRequestBodyMetadata'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountPeoplePerson.PostAccountsAccountPeoplePersonRequestBodyRelationship'PercentOwnership'Variants
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountPeoplePerson.PostAccountsAccountPeoplePersonRequestBodyRelationship'PercentOwnership'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountPeoplePerson.PostAccountsAccountPeoplePersonRequestBodyRelationship'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountPeoplePerson.PostAccountsAccountPeoplePersonRequestBodyRelationship'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountPeoplePerson.PostAccountsAccountPeoplePersonRequestBodyVerification'AdditionalDocument'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountPeoplePerson.PostAccountsAccountPeoplePersonRequestBodyVerification'AdditionalDocument'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountPeoplePerson.PostAccountsAccountPeoplePersonRequestBodyVerification'Document'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountPeoplePerson.PostAccountsAccountPeoplePersonRequestBodyVerification'Document'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountPeoplePerson.PostAccountsAccountPeoplePersonRequestBodyVerification'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountPeoplePerson.PostAccountsAccountPeoplePersonRequestBodyVerification'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountPeoplePerson.PostAccountsAccountPeoplePersonRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountPeoplePerson.PostAccountsAccountPeoplePersonRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountPeoplePerson.PostAccountsAccountPeoplePersonResponse
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountPeoplePerson.PostAccountsAccountPeoplePersonResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccountPeoplePerson.PostAccountsAccountPeoplePersonRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccountPeoplePerson.PostAccountsAccountPeoplePersonRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccountPeoplePerson.PostAccountsAccountPeoplePersonRequestBodyVerification'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccountPeoplePerson.PostAccountsAccountPeoplePersonRequestBodyVerification'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccountPeoplePerson.PostAccountsAccountPeoplePersonRequestBodyVerification'Document'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccountPeoplePerson.PostAccountsAccountPeoplePersonRequestBodyVerification'Document'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccountPeoplePerson.PostAccountsAccountPeoplePersonRequestBodyVerification'AdditionalDocument'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccountPeoplePerson.PostAccountsAccountPeoplePersonRequestBodyVerification'AdditionalDocument'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccountPeoplePerson.PostAccountsAccountPeoplePersonRequestBodyRelationship'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccountPeoplePerson.PostAccountsAccountPeoplePersonRequestBodyRelationship'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccountPeoplePerson.PostAccountsAccountPeoplePersonRequestBodyRelationship'PercentOwnership'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccountPeoplePerson.PostAccountsAccountPeoplePersonRequestBodyRelationship'PercentOwnership'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccountPeoplePerson.PostAccountsAccountPeoplePersonRequestBodyMetadata'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccountPeoplePerson.PostAccountsAccountPeoplePersonRequestBodyMetadata'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccountPeoplePerson.PostAccountsAccountPeoplePersonRequestBodyDocuments'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccountPeoplePerson.PostAccountsAccountPeoplePersonRequestBodyDocuments'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccountPeoplePerson.PostAccountsAccountPeoplePersonRequestBodyDocuments'Visa'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccountPeoplePerson.PostAccountsAccountPeoplePersonRequestBodyDocuments'Visa'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccountPeoplePerson.PostAccountsAccountPeoplePersonRequestBodyDocuments'Passport'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccountPeoplePerson.PostAccountsAccountPeoplePersonRequestBodyDocuments'Passport'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccountPeoplePerson.PostAccountsAccountPeoplePersonRequestBodyDocuments'CompanyAuthorization'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccountPeoplePerson.PostAccountsAccountPeoplePersonRequestBodyDocuments'CompanyAuthorization'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccountPeoplePerson.PostAccountsAccountPeoplePersonRequestBodyDob'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccountPeoplePerson.PostAccountsAccountPeoplePersonRequestBodyDob'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccountPeoplePerson.PostAccountsAccountPeoplePersonRequestBodyDob'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccountPeoplePerson.PostAccountsAccountPeoplePersonRequestBodyDob'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccountPeoplePerson.PostAccountsAccountPeoplePersonRequestBodyAddressKanji'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccountPeoplePerson.PostAccountsAccountPeoplePersonRequestBodyAddressKanji'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccountPeoplePerson.PostAccountsAccountPeoplePersonRequestBodyAddressKana'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccountPeoplePerson.PostAccountsAccountPeoplePersonRequestBodyAddressKana'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccountPeoplePerson.PostAccountsAccountPeoplePersonRequestBodyAddress'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccountPeoplePerson.PostAccountsAccountPeoplePersonRequestBodyAddress'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccountPeoplePerson.PostAccountsAccountPeoplePersonParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccountPeoplePerson.PostAccountsAccountPeoplePersonParameters
-- | Contains the different functions to run the operation
-- postAccountsAccountPeople
module StripeAPI.Operations.PostAccountsAccountPeople
-- |
-- POST /v1/accounts/{account}/people
--
--
-- <p>Creates a new person.</p>
postAccountsAccountPeople :: forall m. MonadHTTP m => Text -> Maybe PostAccountsAccountPeopleRequestBody -> ClientT m (Response PostAccountsAccountPeopleResponse)
-- | Defines the object schema located at
-- paths./v1/accounts/{account}/people.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostAccountsAccountPeopleRequestBody
PostAccountsAccountPeopleRequestBody :: Maybe PostAccountsAccountPeopleRequestBodyAddress' -> Maybe PostAccountsAccountPeopleRequestBodyAddressKana' -> Maybe PostAccountsAccountPeopleRequestBodyAddressKanji' -> Maybe PostAccountsAccountPeopleRequestBodyDob'Variants -> Maybe PostAccountsAccountPeopleRequestBodyDocuments' -> Maybe Text -> Maybe [Text] -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe PostAccountsAccountPeopleRequestBodyMetadata'Variants -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe PostAccountsAccountPeopleRequestBodyRelationship' -> Maybe Text -> Maybe PostAccountsAccountPeopleRequestBodyVerification' -> PostAccountsAccountPeopleRequestBody
-- | address: The person's address.
[postAccountsAccountPeopleRequestBodyAddress] :: PostAccountsAccountPeopleRequestBody -> Maybe PostAccountsAccountPeopleRequestBodyAddress'
-- | address_kana: The Kana variation of the person's address (Japan only).
[postAccountsAccountPeopleRequestBodyAddressKana] :: PostAccountsAccountPeopleRequestBody -> Maybe PostAccountsAccountPeopleRequestBodyAddressKana'
-- | address_kanji: The Kanji variation of the person's address (Japan
-- only).
[postAccountsAccountPeopleRequestBodyAddressKanji] :: PostAccountsAccountPeopleRequestBody -> Maybe PostAccountsAccountPeopleRequestBodyAddressKanji'
-- | dob: The person's date of birth.
[postAccountsAccountPeopleRequestBodyDob] :: PostAccountsAccountPeopleRequestBody -> Maybe PostAccountsAccountPeopleRequestBodyDob'Variants
-- | documents: Documents that may be submitted to satisfy various
-- informational requests.
[postAccountsAccountPeopleRequestBodyDocuments] :: PostAccountsAccountPeopleRequestBody -> Maybe PostAccountsAccountPeopleRequestBodyDocuments'
-- | email: The person's email address.
[postAccountsAccountPeopleRequestBodyEmail] :: PostAccountsAccountPeopleRequestBody -> Maybe Text
-- | expand: Specifies which fields in the response should be expanded.
[postAccountsAccountPeopleRequestBodyExpand] :: PostAccountsAccountPeopleRequestBody -> Maybe [Text]
-- | first_name: The person's first name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPeopleRequestBodyFirstName] :: PostAccountsAccountPeopleRequestBody -> Maybe Text
-- | first_name_kana: The Kana variation of the person's first name (Japan
-- only).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPeopleRequestBodyFirstNameKana] :: PostAccountsAccountPeopleRequestBody -> Maybe Text
-- | first_name_kanji: The Kanji variation of the person's first name
-- (Japan only).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPeopleRequestBodyFirstNameKanji] :: PostAccountsAccountPeopleRequestBody -> Maybe Text
-- | gender: The person's gender (International regulations require either
-- "male" or "female").
[postAccountsAccountPeopleRequestBodyGender] :: PostAccountsAccountPeopleRequestBody -> Maybe Text
-- | id_number: The person's ID number, as appropriate for their country.
-- For example, a social security number in the U.S., social insurance
-- number in Canada, etc. Instead of the number itself, you can also
-- provide a PII token provided by Stripe.js.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPeopleRequestBodyIdNumber] :: PostAccountsAccountPeopleRequestBody -> Maybe Text
-- | last_name: The person's last name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPeopleRequestBodyLastName] :: PostAccountsAccountPeopleRequestBody -> Maybe Text
-- | last_name_kana: The Kana variation of the person's last name (Japan
-- only).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPeopleRequestBodyLastNameKana] :: PostAccountsAccountPeopleRequestBody -> Maybe Text
-- | last_name_kanji: The Kanji variation of the person's last name (Japan
-- only).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPeopleRequestBodyLastNameKanji] :: PostAccountsAccountPeopleRequestBody -> Maybe Text
-- | maiden_name: The person's maiden name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPeopleRequestBodyMaidenName] :: PostAccountsAccountPeopleRequestBody -> Maybe Text
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postAccountsAccountPeopleRequestBodyMetadata] :: PostAccountsAccountPeopleRequestBody -> Maybe PostAccountsAccountPeopleRequestBodyMetadata'Variants
-- | nationality: The country where the person is a national. Two-letter
-- country code ([ISO 3166-1
-- alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)), or "XX"
-- if unavailable.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPeopleRequestBodyNationality] :: PostAccountsAccountPeopleRequestBody -> Maybe Text
-- | person_token: A person token, used to securely provide details
-- to the person.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPeopleRequestBodyPersonToken] :: PostAccountsAccountPeopleRequestBody -> Maybe Text
-- | phone: The person's phone number.
[postAccountsAccountPeopleRequestBodyPhone] :: PostAccountsAccountPeopleRequestBody -> Maybe Text
-- | political_exposure: Indicates if the person or any of their
-- representatives, family members, or other closely related persons,
-- declares that they hold or have held an important public job or
-- function, in any jurisdiction.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPeopleRequestBodyPoliticalExposure] :: PostAccountsAccountPeopleRequestBody -> Maybe Text
-- | relationship: The relationship that this person has with the account's
-- legal entity.
[postAccountsAccountPeopleRequestBodyRelationship] :: PostAccountsAccountPeopleRequestBody -> Maybe PostAccountsAccountPeopleRequestBodyRelationship'
-- | ssn_last_4: The last four digits of the person's Social Security
-- number (U.S. only).
[postAccountsAccountPeopleRequestBodySsnLast_4] :: PostAccountsAccountPeopleRequestBody -> Maybe Text
-- | verification: The person's verification status.
[postAccountsAccountPeopleRequestBodyVerification] :: PostAccountsAccountPeopleRequestBody -> Maybe PostAccountsAccountPeopleRequestBodyVerification'
-- | Create a new PostAccountsAccountPeopleRequestBody with all
-- required fields.
mkPostAccountsAccountPeopleRequestBody :: PostAccountsAccountPeopleRequestBody
-- | Defines the object schema located at
-- paths./v1/accounts/{account}/people.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.address
-- in the specification.
--
-- The person's address.
data PostAccountsAccountPeopleRequestBodyAddress'
PostAccountsAccountPeopleRequestBodyAddress' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PostAccountsAccountPeopleRequestBodyAddress'
-- | city
--
-- Constraints:
--
--
-- - Maximum length of 100
--
[postAccountsAccountPeopleRequestBodyAddress'City] :: PostAccountsAccountPeopleRequestBodyAddress' -> Maybe Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPeopleRequestBodyAddress'Country] :: PostAccountsAccountPeopleRequestBodyAddress' -> Maybe Text
-- | line1
--
-- Constraints:
--
--
-- - Maximum length of 200
--
[postAccountsAccountPeopleRequestBodyAddress'Line1] :: PostAccountsAccountPeopleRequestBodyAddress' -> Maybe Text
-- | line2
--
-- Constraints:
--
--
-- - Maximum length of 200
--
[postAccountsAccountPeopleRequestBodyAddress'Line2] :: PostAccountsAccountPeopleRequestBodyAddress' -> Maybe Text
-- | postal_code
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPeopleRequestBodyAddress'PostalCode] :: PostAccountsAccountPeopleRequestBodyAddress' -> Maybe Text
-- | state
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPeopleRequestBodyAddress'State] :: PostAccountsAccountPeopleRequestBodyAddress' -> Maybe Text
-- | Create a new PostAccountsAccountPeopleRequestBodyAddress' with
-- all required fields.
mkPostAccountsAccountPeopleRequestBodyAddress' :: PostAccountsAccountPeopleRequestBodyAddress'
-- | Defines the object schema located at
-- paths./v1/accounts/{account}/people.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.address_kana
-- in the specification.
--
-- The Kana variation of the person's address (Japan only).
data PostAccountsAccountPeopleRequestBodyAddressKana'
PostAccountsAccountPeopleRequestBodyAddressKana' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PostAccountsAccountPeopleRequestBodyAddressKana'
-- | city
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPeopleRequestBodyAddressKana'City] :: PostAccountsAccountPeopleRequestBodyAddressKana' -> Maybe Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPeopleRequestBodyAddressKana'Country] :: PostAccountsAccountPeopleRequestBodyAddressKana' -> Maybe Text
-- | line1
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPeopleRequestBodyAddressKana'Line1] :: PostAccountsAccountPeopleRequestBodyAddressKana' -> Maybe Text
-- | line2
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPeopleRequestBodyAddressKana'Line2] :: PostAccountsAccountPeopleRequestBodyAddressKana' -> Maybe Text
-- | postal_code
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPeopleRequestBodyAddressKana'PostalCode] :: PostAccountsAccountPeopleRequestBodyAddressKana' -> Maybe Text
-- | state
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPeopleRequestBodyAddressKana'State] :: PostAccountsAccountPeopleRequestBodyAddressKana' -> Maybe Text
-- | town
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPeopleRequestBodyAddressKana'Town] :: PostAccountsAccountPeopleRequestBodyAddressKana' -> Maybe Text
-- | Create a new PostAccountsAccountPeopleRequestBodyAddressKana'
-- with all required fields.
mkPostAccountsAccountPeopleRequestBodyAddressKana' :: PostAccountsAccountPeopleRequestBodyAddressKana'
-- | Defines the object schema located at
-- paths./v1/accounts/{account}/people.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.address_kanji
-- in the specification.
--
-- The Kanji variation of the person's address (Japan only).
data PostAccountsAccountPeopleRequestBodyAddressKanji'
PostAccountsAccountPeopleRequestBodyAddressKanji' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PostAccountsAccountPeopleRequestBodyAddressKanji'
-- | city
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPeopleRequestBodyAddressKanji'City] :: PostAccountsAccountPeopleRequestBodyAddressKanji' -> Maybe Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPeopleRequestBodyAddressKanji'Country] :: PostAccountsAccountPeopleRequestBodyAddressKanji' -> Maybe Text
-- | line1
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPeopleRequestBodyAddressKanji'Line1] :: PostAccountsAccountPeopleRequestBodyAddressKanji' -> Maybe Text
-- | line2
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPeopleRequestBodyAddressKanji'Line2] :: PostAccountsAccountPeopleRequestBodyAddressKanji' -> Maybe Text
-- | postal_code
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPeopleRequestBodyAddressKanji'PostalCode] :: PostAccountsAccountPeopleRequestBodyAddressKanji' -> Maybe Text
-- | state
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPeopleRequestBodyAddressKanji'State] :: PostAccountsAccountPeopleRequestBodyAddressKanji' -> Maybe Text
-- | town
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPeopleRequestBodyAddressKanji'Town] :: PostAccountsAccountPeopleRequestBodyAddressKanji' -> Maybe Text
-- | Create a new PostAccountsAccountPeopleRequestBodyAddressKanji'
-- with all required fields.
mkPostAccountsAccountPeopleRequestBodyAddressKanji' :: PostAccountsAccountPeopleRequestBodyAddressKanji'
-- | Defines the object schema located at
-- paths./v1/accounts/{account}/people.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.dob.anyOf
-- in the specification.
data PostAccountsAccountPeopleRequestBodyDob'OneOf1
PostAccountsAccountPeopleRequestBodyDob'OneOf1 :: Int -> Int -> Int -> PostAccountsAccountPeopleRequestBodyDob'OneOf1
-- | day
[postAccountsAccountPeopleRequestBodyDob'OneOf1Day] :: PostAccountsAccountPeopleRequestBodyDob'OneOf1 -> Int
-- | month
[postAccountsAccountPeopleRequestBodyDob'OneOf1Month] :: PostAccountsAccountPeopleRequestBodyDob'OneOf1 -> Int
-- | year
[postAccountsAccountPeopleRequestBodyDob'OneOf1Year] :: PostAccountsAccountPeopleRequestBodyDob'OneOf1 -> Int
-- | Create a new PostAccountsAccountPeopleRequestBodyDob'OneOf1
-- with all required fields.
mkPostAccountsAccountPeopleRequestBodyDob'OneOf1 :: Int -> Int -> Int -> PostAccountsAccountPeopleRequestBodyDob'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/accounts/{account}/people.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.dob.anyOf
-- in the specification.
--
-- The person's date of birth.
data PostAccountsAccountPeopleRequestBodyDob'Variants
-- | Represents the JSON value ""
PostAccountsAccountPeopleRequestBodyDob'EmptyString :: PostAccountsAccountPeopleRequestBodyDob'Variants
PostAccountsAccountPeopleRequestBodyDob'PostAccountsAccountPeopleRequestBodyDob'OneOf1 :: PostAccountsAccountPeopleRequestBodyDob'OneOf1 -> PostAccountsAccountPeopleRequestBodyDob'Variants
-- | Defines the object schema located at
-- paths./v1/accounts/{account}/people.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.documents
-- in the specification.
--
-- Documents that may be submitted to satisfy various informational
-- requests.
data PostAccountsAccountPeopleRequestBodyDocuments'
PostAccountsAccountPeopleRequestBodyDocuments' :: Maybe PostAccountsAccountPeopleRequestBodyDocuments'CompanyAuthorization' -> Maybe PostAccountsAccountPeopleRequestBodyDocuments'Passport' -> Maybe PostAccountsAccountPeopleRequestBodyDocuments'Visa' -> PostAccountsAccountPeopleRequestBodyDocuments'
-- | company_authorization
[postAccountsAccountPeopleRequestBodyDocuments'CompanyAuthorization] :: PostAccountsAccountPeopleRequestBodyDocuments' -> Maybe PostAccountsAccountPeopleRequestBodyDocuments'CompanyAuthorization'
-- | passport
[postAccountsAccountPeopleRequestBodyDocuments'Passport] :: PostAccountsAccountPeopleRequestBodyDocuments' -> Maybe PostAccountsAccountPeopleRequestBodyDocuments'Passport'
-- | visa
[postAccountsAccountPeopleRequestBodyDocuments'Visa] :: PostAccountsAccountPeopleRequestBodyDocuments' -> Maybe PostAccountsAccountPeopleRequestBodyDocuments'Visa'
-- | Create a new PostAccountsAccountPeopleRequestBodyDocuments'
-- with all required fields.
mkPostAccountsAccountPeopleRequestBodyDocuments' :: PostAccountsAccountPeopleRequestBodyDocuments'
-- | Defines the object schema located at
-- paths./v1/accounts/{account}/people.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.documents.properties.company_authorization
-- in the specification.
data PostAccountsAccountPeopleRequestBodyDocuments'CompanyAuthorization'
PostAccountsAccountPeopleRequestBodyDocuments'CompanyAuthorization' :: Maybe [Text] -> PostAccountsAccountPeopleRequestBodyDocuments'CompanyAuthorization'
-- | files
[postAccountsAccountPeopleRequestBodyDocuments'CompanyAuthorization'Files] :: PostAccountsAccountPeopleRequestBodyDocuments'CompanyAuthorization' -> Maybe [Text]
-- | Create a new
-- PostAccountsAccountPeopleRequestBodyDocuments'CompanyAuthorization'
-- with all required fields.
mkPostAccountsAccountPeopleRequestBodyDocuments'CompanyAuthorization' :: PostAccountsAccountPeopleRequestBodyDocuments'CompanyAuthorization'
-- | Defines the object schema located at
-- paths./v1/accounts/{account}/people.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.documents.properties.passport
-- in the specification.
data PostAccountsAccountPeopleRequestBodyDocuments'Passport'
PostAccountsAccountPeopleRequestBodyDocuments'Passport' :: Maybe [Text] -> PostAccountsAccountPeopleRequestBodyDocuments'Passport'
-- | files
[postAccountsAccountPeopleRequestBodyDocuments'Passport'Files] :: PostAccountsAccountPeopleRequestBodyDocuments'Passport' -> Maybe [Text]
-- | Create a new
-- PostAccountsAccountPeopleRequestBodyDocuments'Passport' with
-- all required fields.
mkPostAccountsAccountPeopleRequestBodyDocuments'Passport' :: PostAccountsAccountPeopleRequestBodyDocuments'Passport'
-- | Defines the object schema located at
-- paths./v1/accounts/{account}/people.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.documents.properties.visa
-- in the specification.
data PostAccountsAccountPeopleRequestBodyDocuments'Visa'
PostAccountsAccountPeopleRequestBodyDocuments'Visa' :: Maybe [Text] -> PostAccountsAccountPeopleRequestBodyDocuments'Visa'
-- | files
[postAccountsAccountPeopleRequestBodyDocuments'Visa'Files] :: PostAccountsAccountPeopleRequestBodyDocuments'Visa' -> Maybe [Text]
-- | Create a new
-- PostAccountsAccountPeopleRequestBodyDocuments'Visa' with all
-- required fields.
mkPostAccountsAccountPeopleRequestBodyDocuments'Visa' :: PostAccountsAccountPeopleRequestBodyDocuments'Visa'
-- | Defines the oneOf schema located at
-- paths./v1/accounts/{account}/people.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.metadata.anyOf
-- in the specification.
--
-- Set of key-value pairs that you can attach to an object. This
-- can be useful for storing additional information about the object in a
-- structured format. Individual keys can be unset by posting an empty
-- value to them. All keys can be unset by posting an empty value to
-- `metadata`.
data PostAccountsAccountPeopleRequestBodyMetadata'Variants
-- | Represents the JSON value ""
PostAccountsAccountPeopleRequestBodyMetadata'EmptyString :: PostAccountsAccountPeopleRequestBodyMetadata'Variants
PostAccountsAccountPeopleRequestBodyMetadata'Object :: Object -> PostAccountsAccountPeopleRequestBodyMetadata'Variants
-- | Defines the object schema located at
-- paths./v1/accounts/{account}/people.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.relationship
-- in the specification.
--
-- The relationship that this person has with the account's legal entity.
data PostAccountsAccountPeopleRequestBodyRelationship'
PostAccountsAccountPeopleRequestBodyRelationship' :: Maybe Bool -> Maybe Bool -> Maybe Bool -> Maybe PostAccountsAccountPeopleRequestBodyRelationship'PercentOwnership'Variants -> Maybe Bool -> Maybe Text -> PostAccountsAccountPeopleRequestBodyRelationship'
-- | director
[postAccountsAccountPeopleRequestBodyRelationship'Director] :: PostAccountsAccountPeopleRequestBodyRelationship' -> Maybe Bool
-- | executive
[postAccountsAccountPeopleRequestBodyRelationship'Executive] :: PostAccountsAccountPeopleRequestBodyRelationship' -> Maybe Bool
-- | owner
[postAccountsAccountPeopleRequestBodyRelationship'Owner] :: PostAccountsAccountPeopleRequestBodyRelationship' -> Maybe Bool
-- | percent_ownership
[postAccountsAccountPeopleRequestBodyRelationship'PercentOwnership] :: PostAccountsAccountPeopleRequestBodyRelationship' -> Maybe PostAccountsAccountPeopleRequestBodyRelationship'PercentOwnership'Variants
-- | representative
[postAccountsAccountPeopleRequestBodyRelationship'Representative] :: PostAccountsAccountPeopleRequestBodyRelationship' -> Maybe Bool
-- | title
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountPeopleRequestBodyRelationship'Title] :: PostAccountsAccountPeopleRequestBodyRelationship' -> Maybe Text
-- | Create a new PostAccountsAccountPeopleRequestBodyRelationship'
-- with all required fields.
mkPostAccountsAccountPeopleRequestBodyRelationship' :: PostAccountsAccountPeopleRequestBodyRelationship'
-- | Defines the oneOf schema located at
-- paths./v1/accounts/{account}/people.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.relationship.properties.percent_ownership.anyOf
-- in the specification.
data PostAccountsAccountPeopleRequestBodyRelationship'PercentOwnership'Variants
-- | Represents the JSON value ""
PostAccountsAccountPeopleRequestBodyRelationship'PercentOwnership'EmptyString :: PostAccountsAccountPeopleRequestBodyRelationship'PercentOwnership'Variants
PostAccountsAccountPeopleRequestBodyRelationship'PercentOwnership'Double :: Double -> PostAccountsAccountPeopleRequestBodyRelationship'PercentOwnership'Variants
-- | Defines the object schema located at
-- paths./v1/accounts/{account}/people.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.verification
-- in the specification.
--
-- The person's verification status.
data PostAccountsAccountPeopleRequestBodyVerification'
PostAccountsAccountPeopleRequestBodyVerification' :: Maybe PostAccountsAccountPeopleRequestBodyVerification'AdditionalDocument' -> Maybe PostAccountsAccountPeopleRequestBodyVerification'Document' -> PostAccountsAccountPeopleRequestBodyVerification'
-- | additional_document
[postAccountsAccountPeopleRequestBodyVerification'AdditionalDocument] :: PostAccountsAccountPeopleRequestBodyVerification' -> Maybe PostAccountsAccountPeopleRequestBodyVerification'AdditionalDocument'
-- | document
[postAccountsAccountPeopleRequestBodyVerification'Document] :: PostAccountsAccountPeopleRequestBodyVerification' -> Maybe PostAccountsAccountPeopleRequestBodyVerification'Document'
-- | Create a new PostAccountsAccountPeopleRequestBodyVerification'
-- with all required fields.
mkPostAccountsAccountPeopleRequestBodyVerification' :: PostAccountsAccountPeopleRequestBodyVerification'
-- | Defines the object schema located at
-- paths./v1/accounts/{account}/people.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.verification.properties.additional_document
-- in the specification.
data PostAccountsAccountPeopleRequestBodyVerification'AdditionalDocument'
PostAccountsAccountPeopleRequestBodyVerification'AdditionalDocument' :: Maybe Text -> Maybe Text -> PostAccountsAccountPeopleRequestBodyVerification'AdditionalDocument'
-- | back
--
-- Constraints:
--
--
-- - Maximum length of 500
--
[postAccountsAccountPeopleRequestBodyVerification'AdditionalDocument'Back] :: PostAccountsAccountPeopleRequestBodyVerification'AdditionalDocument' -> Maybe Text
-- | front
--
-- Constraints:
--
--
-- - Maximum length of 500
--
[postAccountsAccountPeopleRequestBodyVerification'AdditionalDocument'Front] :: PostAccountsAccountPeopleRequestBodyVerification'AdditionalDocument' -> Maybe Text
-- | Create a new
-- PostAccountsAccountPeopleRequestBodyVerification'AdditionalDocument'
-- with all required fields.
mkPostAccountsAccountPeopleRequestBodyVerification'AdditionalDocument' :: PostAccountsAccountPeopleRequestBodyVerification'AdditionalDocument'
-- | Defines the object schema located at
-- paths./v1/accounts/{account}/people.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.verification.properties.document
-- in the specification.
data PostAccountsAccountPeopleRequestBodyVerification'Document'
PostAccountsAccountPeopleRequestBodyVerification'Document' :: Maybe Text -> Maybe Text -> PostAccountsAccountPeopleRequestBodyVerification'Document'
-- | back
--
-- Constraints:
--
--
-- - Maximum length of 500
--
[postAccountsAccountPeopleRequestBodyVerification'Document'Back] :: PostAccountsAccountPeopleRequestBodyVerification'Document' -> Maybe Text
-- | front
--
-- Constraints:
--
--
-- - Maximum length of 500
--
[postAccountsAccountPeopleRequestBodyVerification'Document'Front] :: PostAccountsAccountPeopleRequestBodyVerification'Document' -> Maybe Text
-- | Create a new
-- PostAccountsAccountPeopleRequestBodyVerification'Document' with
-- all required fields.
mkPostAccountsAccountPeopleRequestBodyVerification'Document' :: PostAccountsAccountPeopleRequestBodyVerification'Document'
-- | Represents a response of the operation
-- postAccountsAccountPeople.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostAccountsAccountPeopleResponseError
-- is used.
data PostAccountsAccountPeopleResponse
-- | Means either no matching case available or a parse error
PostAccountsAccountPeopleResponseError :: String -> PostAccountsAccountPeopleResponse
-- | Successful response.
PostAccountsAccountPeopleResponse200 :: Person -> PostAccountsAccountPeopleResponse
-- | Error response.
PostAccountsAccountPeopleResponseDefault :: Error -> PostAccountsAccountPeopleResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountPeople.PostAccountsAccountPeopleRequestBodyAddress'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountPeople.PostAccountsAccountPeopleRequestBodyAddress'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountPeople.PostAccountsAccountPeopleRequestBodyAddressKana'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountPeople.PostAccountsAccountPeopleRequestBodyAddressKana'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountPeople.PostAccountsAccountPeopleRequestBodyAddressKanji'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountPeople.PostAccountsAccountPeopleRequestBodyAddressKanji'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountPeople.PostAccountsAccountPeopleRequestBodyDob'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountPeople.PostAccountsAccountPeopleRequestBodyDob'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountPeople.PostAccountsAccountPeopleRequestBodyDob'Variants
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountPeople.PostAccountsAccountPeopleRequestBodyDob'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountPeople.PostAccountsAccountPeopleRequestBodyDocuments'CompanyAuthorization'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountPeople.PostAccountsAccountPeopleRequestBodyDocuments'CompanyAuthorization'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountPeople.PostAccountsAccountPeopleRequestBodyDocuments'Passport'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountPeople.PostAccountsAccountPeopleRequestBodyDocuments'Passport'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountPeople.PostAccountsAccountPeopleRequestBodyDocuments'Visa'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountPeople.PostAccountsAccountPeopleRequestBodyDocuments'Visa'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountPeople.PostAccountsAccountPeopleRequestBodyDocuments'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountPeople.PostAccountsAccountPeopleRequestBodyDocuments'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountPeople.PostAccountsAccountPeopleRequestBodyMetadata'Variants
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountPeople.PostAccountsAccountPeopleRequestBodyMetadata'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountPeople.PostAccountsAccountPeopleRequestBodyRelationship'PercentOwnership'Variants
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountPeople.PostAccountsAccountPeopleRequestBodyRelationship'PercentOwnership'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountPeople.PostAccountsAccountPeopleRequestBodyRelationship'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountPeople.PostAccountsAccountPeopleRequestBodyRelationship'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountPeople.PostAccountsAccountPeopleRequestBodyVerification'AdditionalDocument'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountPeople.PostAccountsAccountPeopleRequestBodyVerification'AdditionalDocument'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountPeople.PostAccountsAccountPeopleRequestBodyVerification'Document'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountPeople.PostAccountsAccountPeopleRequestBodyVerification'Document'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountPeople.PostAccountsAccountPeopleRequestBodyVerification'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountPeople.PostAccountsAccountPeopleRequestBodyVerification'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountPeople.PostAccountsAccountPeopleRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountPeople.PostAccountsAccountPeopleRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountPeople.PostAccountsAccountPeopleResponse
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountPeople.PostAccountsAccountPeopleResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccountPeople.PostAccountsAccountPeopleRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccountPeople.PostAccountsAccountPeopleRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccountPeople.PostAccountsAccountPeopleRequestBodyVerification'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccountPeople.PostAccountsAccountPeopleRequestBodyVerification'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccountPeople.PostAccountsAccountPeopleRequestBodyVerification'Document'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccountPeople.PostAccountsAccountPeopleRequestBodyVerification'Document'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccountPeople.PostAccountsAccountPeopleRequestBodyVerification'AdditionalDocument'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccountPeople.PostAccountsAccountPeopleRequestBodyVerification'AdditionalDocument'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccountPeople.PostAccountsAccountPeopleRequestBodyRelationship'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccountPeople.PostAccountsAccountPeopleRequestBodyRelationship'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccountPeople.PostAccountsAccountPeopleRequestBodyRelationship'PercentOwnership'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccountPeople.PostAccountsAccountPeopleRequestBodyRelationship'PercentOwnership'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccountPeople.PostAccountsAccountPeopleRequestBodyMetadata'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccountPeople.PostAccountsAccountPeopleRequestBodyMetadata'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccountPeople.PostAccountsAccountPeopleRequestBodyDocuments'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccountPeople.PostAccountsAccountPeopleRequestBodyDocuments'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccountPeople.PostAccountsAccountPeopleRequestBodyDocuments'Visa'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccountPeople.PostAccountsAccountPeopleRequestBodyDocuments'Visa'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccountPeople.PostAccountsAccountPeopleRequestBodyDocuments'Passport'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccountPeople.PostAccountsAccountPeopleRequestBodyDocuments'Passport'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccountPeople.PostAccountsAccountPeopleRequestBodyDocuments'CompanyAuthorization'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccountPeople.PostAccountsAccountPeopleRequestBodyDocuments'CompanyAuthorization'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccountPeople.PostAccountsAccountPeopleRequestBodyDob'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccountPeople.PostAccountsAccountPeopleRequestBodyDob'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccountPeople.PostAccountsAccountPeopleRequestBodyDob'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccountPeople.PostAccountsAccountPeopleRequestBodyDob'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccountPeople.PostAccountsAccountPeopleRequestBodyAddressKanji'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccountPeople.PostAccountsAccountPeopleRequestBodyAddressKanji'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccountPeople.PostAccountsAccountPeopleRequestBodyAddressKana'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccountPeople.PostAccountsAccountPeopleRequestBodyAddressKana'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccountPeople.PostAccountsAccountPeopleRequestBodyAddress'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccountPeople.PostAccountsAccountPeopleRequestBodyAddress'
-- | Contains the different functions to run the operation
-- postAccountsAccountLoginLinks
module StripeAPI.Operations.PostAccountsAccountLoginLinks
-- |
-- POST /v1/accounts/{account}/login_links
--
--
-- <p>Creates a single-use login link for an Express account to
-- access their Stripe dashboard.</p>
--
-- <p><strong>You may only create login links for <a
-- href="/docs/connect/express-accounts">Express accounts</a>
-- connected to your platform</strong>.</p>
postAccountsAccountLoginLinks :: forall m. MonadHTTP m => Text -> Maybe PostAccountsAccountLoginLinksRequestBody -> ClientT m (Response PostAccountsAccountLoginLinksResponse)
-- | Defines the object schema located at
-- paths./v1/accounts/{account}/login_links.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostAccountsAccountLoginLinksRequestBody
PostAccountsAccountLoginLinksRequestBody :: Maybe [Text] -> Maybe Text -> PostAccountsAccountLoginLinksRequestBody
-- | expand: Specifies which fields in the response should be expanded.
[postAccountsAccountLoginLinksRequestBodyExpand] :: PostAccountsAccountLoginLinksRequestBody -> Maybe [Text]
-- | redirect_url: Where to redirect the user after they log out of their
-- dashboard.
[postAccountsAccountLoginLinksRequestBodyRedirectUrl] :: PostAccountsAccountLoginLinksRequestBody -> Maybe Text
-- | Create a new PostAccountsAccountLoginLinksRequestBody with all
-- required fields.
mkPostAccountsAccountLoginLinksRequestBody :: PostAccountsAccountLoginLinksRequestBody
-- | Represents a response of the operation
-- postAccountsAccountLoginLinks.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- PostAccountsAccountLoginLinksResponseError is used.
data PostAccountsAccountLoginLinksResponse
-- | Means either no matching case available or a parse error
PostAccountsAccountLoginLinksResponseError :: String -> PostAccountsAccountLoginLinksResponse
-- | Successful response.
PostAccountsAccountLoginLinksResponse200 :: LoginLink -> PostAccountsAccountLoginLinksResponse
-- | Error response.
PostAccountsAccountLoginLinksResponseDefault :: Error -> PostAccountsAccountLoginLinksResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountLoginLinks.PostAccountsAccountLoginLinksRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountLoginLinks.PostAccountsAccountLoginLinksRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountLoginLinks.PostAccountsAccountLoginLinksResponse
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountLoginLinks.PostAccountsAccountLoginLinksResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccountLoginLinks.PostAccountsAccountLoginLinksRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccountLoginLinks.PostAccountsAccountLoginLinksRequestBody
-- | Contains the different functions to run the operation
-- postAccountsAccountExternalAccountsId
module StripeAPI.Operations.PostAccountsAccountExternalAccountsId
-- |
-- POST /v1/accounts/{account}/external_accounts/{id}
--
--
-- <p>Updates the metadata, account holder name, and account holder
-- type of a bank account belonging to a <a
-- href="/docs/connect/custom-accounts">Custom account</a>, and
-- optionally sets it as the default for its currency. Other bank account
-- details are not editable by design.</p>
--
-- <p>You can re-enable a disabled bank account by performing an
-- update call without providing any arguments or changes.</p>
postAccountsAccountExternalAccountsId :: forall m. MonadHTTP m => PostAccountsAccountExternalAccountsIdParameters -> Maybe PostAccountsAccountExternalAccountsIdRequestBody -> ClientT m (Response PostAccountsAccountExternalAccountsIdResponse)
-- | Defines the object schema located at
-- paths./v1/accounts/{account}/external_accounts/{id}.POST.parameters
-- in the specification.
data PostAccountsAccountExternalAccountsIdParameters
PostAccountsAccountExternalAccountsIdParameters :: Text -> Text -> PostAccountsAccountExternalAccountsIdParameters
-- | pathAccount: Represents the parameter named 'account'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountExternalAccountsIdParametersPathAccount] :: PostAccountsAccountExternalAccountsIdParameters -> Text
-- | pathId: Represents the parameter named 'id'
[postAccountsAccountExternalAccountsIdParametersPathId] :: PostAccountsAccountExternalAccountsIdParameters -> Text
-- | Create a new PostAccountsAccountExternalAccountsIdParameters
-- with all required fields.
mkPostAccountsAccountExternalAccountsIdParameters :: Text -> Text -> PostAccountsAccountExternalAccountsIdParameters
-- | Defines the object schema located at
-- paths./v1/accounts/{account}/external_accounts/{id}.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostAccountsAccountExternalAccountsIdRequestBody
PostAccountsAccountExternalAccountsIdRequestBody :: Maybe Text -> Maybe PostAccountsAccountExternalAccountsIdRequestBodyAccountHolderType' -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe Text -> Maybe [Text] -> Maybe PostAccountsAccountExternalAccountsIdRequestBodyMetadata'Variants -> Maybe Text -> PostAccountsAccountExternalAccountsIdRequestBody
-- | account_holder_name: The name of the person or business that owns the
-- bank account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountExternalAccountsIdRequestBodyAccountHolderName] :: PostAccountsAccountExternalAccountsIdRequestBody -> Maybe Text
-- | account_holder_type: The type of entity that holds the account. This
-- can be either `individual` or `company`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountExternalAccountsIdRequestBodyAccountHolderType] :: PostAccountsAccountExternalAccountsIdRequestBody -> Maybe PostAccountsAccountExternalAccountsIdRequestBodyAccountHolderType'
-- | address_city: City/District/Suburb/Town/Village.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountExternalAccountsIdRequestBodyAddressCity] :: PostAccountsAccountExternalAccountsIdRequestBody -> Maybe Text
-- | address_country: Billing address country, if provided when creating
-- card.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountExternalAccountsIdRequestBodyAddressCountry] :: PostAccountsAccountExternalAccountsIdRequestBody -> Maybe Text
-- | address_line1: Address line 1 (Street address/PO Box/Company name).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountExternalAccountsIdRequestBodyAddressLine1] :: PostAccountsAccountExternalAccountsIdRequestBody -> Maybe Text
-- | address_line2: Address line 2 (Apartment/Suite/Unit/Building).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountExternalAccountsIdRequestBodyAddressLine2] :: PostAccountsAccountExternalAccountsIdRequestBody -> Maybe Text
-- | address_state: State/County/Province/Region.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountExternalAccountsIdRequestBodyAddressState] :: PostAccountsAccountExternalAccountsIdRequestBody -> Maybe Text
-- | address_zip: ZIP or postal code.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountExternalAccountsIdRequestBodyAddressZip] :: PostAccountsAccountExternalAccountsIdRequestBody -> Maybe Text
-- | default_for_currency: When set to true, this becomes the default
-- external account for its currency.
[postAccountsAccountExternalAccountsIdRequestBodyDefaultForCurrency] :: PostAccountsAccountExternalAccountsIdRequestBody -> Maybe Bool
-- | exp_month: Two digit number representing the card’s expiration month.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountExternalAccountsIdRequestBodyExpMonth] :: PostAccountsAccountExternalAccountsIdRequestBody -> Maybe Text
-- | exp_year: Four digit number representing the card’s expiration year.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountExternalAccountsIdRequestBodyExpYear] :: PostAccountsAccountExternalAccountsIdRequestBody -> Maybe Text
-- | expand: Specifies which fields in the response should be expanded.
[postAccountsAccountExternalAccountsIdRequestBodyExpand] :: PostAccountsAccountExternalAccountsIdRequestBody -> Maybe [Text]
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postAccountsAccountExternalAccountsIdRequestBodyMetadata] :: PostAccountsAccountExternalAccountsIdRequestBody -> Maybe PostAccountsAccountExternalAccountsIdRequestBodyMetadata'Variants
-- | name: Cardholder name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountExternalAccountsIdRequestBodyName] :: PostAccountsAccountExternalAccountsIdRequestBody -> Maybe Text
-- | Create a new PostAccountsAccountExternalAccountsIdRequestBody
-- with all required fields.
mkPostAccountsAccountExternalAccountsIdRequestBody :: PostAccountsAccountExternalAccountsIdRequestBody
-- | Defines the enum schema located at
-- paths./v1/accounts/{account}/external_accounts/{id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.account_holder_type
-- in the specification.
--
-- The type of entity that holds the account. This can be either
-- `individual` or `company`.
data PostAccountsAccountExternalAccountsIdRequestBodyAccountHolderType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostAccountsAccountExternalAccountsIdRequestBodyAccountHolderType'Other :: Value -> PostAccountsAccountExternalAccountsIdRequestBodyAccountHolderType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostAccountsAccountExternalAccountsIdRequestBodyAccountHolderType'Typed :: Text -> PostAccountsAccountExternalAccountsIdRequestBodyAccountHolderType'
-- | Represents the JSON value ""
PostAccountsAccountExternalAccountsIdRequestBodyAccountHolderType'EnumEmptyString :: PostAccountsAccountExternalAccountsIdRequestBodyAccountHolderType'
-- | Represents the JSON value "company"
PostAccountsAccountExternalAccountsIdRequestBodyAccountHolderType'EnumCompany :: PostAccountsAccountExternalAccountsIdRequestBodyAccountHolderType'
-- | Represents the JSON value "individual"
PostAccountsAccountExternalAccountsIdRequestBodyAccountHolderType'EnumIndividual :: PostAccountsAccountExternalAccountsIdRequestBodyAccountHolderType'
-- | Defines the oneOf schema located at
-- paths./v1/accounts/{account}/external_accounts/{id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.metadata.anyOf
-- in the specification.
--
-- Set of key-value pairs that you can attach to an object. This
-- can be useful for storing additional information about the object in a
-- structured format. Individual keys can be unset by posting an empty
-- value to them. All keys can be unset by posting an empty value to
-- `metadata`.
data PostAccountsAccountExternalAccountsIdRequestBodyMetadata'Variants
-- | Represents the JSON value ""
PostAccountsAccountExternalAccountsIdRequestBodyMetadata'EmptyString :: PostAccountsAccountExternalAccountsIdRequestBodyMetadata'Variants
PostAccountsAccountExternalAccountsIdRequestBodyMetadata'Object :: Object -> PostAccountsAccountExternalAccountsIdRequestBodyMetadata'Variants
-- | Represents a response of the operation
-- postAccountsAccountExternalAccountsId.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- PostAccountsAccountExternalAccountsIdResponseError is used.
data PostAccountsAccountExternalAccountsIdResponse
-- | Means either no matching case available or a parse error
PostAccountsAccountExternalAccountsIdResponseError :: String -> PostAccountsAccountExternalAccountsIdResponse
-- | Successful response.
PostAccountsAccountExternalAccountsIdResponse200 :: ExternalAccount -> PostAccountsAccountExternalAccountsIdResponse
-- | Error response.
PostAccountsAccountExternalAccountsIdResponseDefault :: Error -> PostAccountsAccountExternalAccountsIdResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountExternalAccountsId.PostAccountsAccountExternalAccountsIdParameters
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountExternalAccountsId.PostAccountsAccountExternalAccountsIdParameters
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountExternalAccountsId.PostAccountsAccountExternalAccountsIdRequestBodyAccountHolderType'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountExternalAccountsId.PostAccountsAccountExternalAccountsIdRequestBodyAccountHolderType'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountExternalAccountsId.PostAccountsAccountExternalAccountsIdRequestBodyMetadata'Variants
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountExternalAccountsId.PostAccountsAccountExternalAccountsIdRequestBodyMetadata'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountExternalAccountsId.PostAccountsAccountExternalAccountsIdRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountExternalAccountsId.PostAccountsAccountExternalAccountsIdRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountExternalAccountsId.PostAccountsAccountExternalAccountsIdResponse
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountExternalAccountsId.PostAccountsAccountExternalAccountsIdResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccountExternalAccountsId.PostAccountsAccountExternalAccountsIdRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccountExternalAccountsId.PostAccountsAccountExternalAccountsIdRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccountExternalAccountsId.PostAccountsAccountExternalAccountsIdRequestBodyMetadata'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccountExternalAccountsId.PostAccountsAccountExternalAccountsIdRequestBodyMetadata'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccountExternalAccountsId.PostAccountsAccountExternalAccountsIdRequestBodyAccountHolderType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccountExternalAccountsId.PostAccountsAccountExternalAccountsIdRequestBodyAccountHolderType'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccountExternalAccountsId.PostAccountsAccountExternalAccountsIdParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccountExternalAccountsId.PostAccountsAccountExternalAccountsIdParameters
-- | Contains the different functions to run the operation
-- postAccountsAccountExternalAccounts
module StripeAPI.Operations.PostAccountsAccountExternalAccounts
-- |
-- POST /v1/accounts/{account}/external_accounts
--
--
-- <p>Create an external account for a given account.</p>
postAccountsAccountExternalAccounts :: forall m. MonadHTTP m => Text -> Maybe PostAccountsAccountExternalAccountsRequestBody -> ClientT m (Response PostAccountsAccountExternalAccountsResponse)
-- | Defines the object schema located at
-- paths./v1/accounts/{account}/external_accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostAccountsAccountExternalAccountsRequestBody
PostAccountsAccountExternalAccountsRequestBody :: Maybe PostAccountsAccountExternalAccountsRequestBodyBankAccount'Variants -> Maybe Bool -> Maybe [Text] -> Maybe Text -> Maybe Object -> PostAccountsAccountExternalAccountsRequestBody
-- | bank_account: Either a token, like the ones returned by
-- Stripe.js, or a dictionary containing a user's bank account
-- details.
[postAccountsAccountExternalAccountsRequestBodyBankAccount] :: PostAccountsAccountExternalAccountsRequestBody -> Maybe PostAccountsAccountExternalAccountsRequestBodyBankAccount'Variants
-- | default_for_currency: When set to true, or if this is the first
-- external account added in this currency, this account becomes the
-- default external account for its currency.
[postAccountsAccountExternalAccountsRequestBodyDefaultForCurrency] :: PostAccountsAccountExternalAccountsRequestBody -> Maybe Bool
-- | expand: Specifies which fields in the response should be expanded.
[postAccountsAccountExternalAccountsRequestBodyExpand] :: PostAccountsAccountExternalAccountsRequestBody -> Maybe [Text]
-- | external_account: Please refer to full documentation instead.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountExternalAccountsRequestBodyExternalAccount] :: PostAccountsAccountExternalAccountsRequestBody -> Maybe Text
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postAccountsAccountExternalAccountsRequestBodyMetadata] :: PostAccountsAccountExternalAccountsRequestBody -> Maybe Object
-- | Create a new PostAccountsAccountExternalAccountsRequestBody
-- with all required fields.
mkPostAccountsAccountExternalAccountsRequestBody :: PostAccountsAccountExternalAccountsRequestBody
-- | Defines the object schema located at
-- paths./v1/accounts/{account}/external_accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.bank_account.anyOf
-- in the specification.
data PostAccountsAccountExternalAccountsRequestBodyBankAccount'OneOf1
PostAccountsAccountExternalAccountsRequestBodyBankAccount'OneOf1 :: Maybe Text -> Maybe PostAccountsAccountExternalAccountsRequestBodyBankAccount'OneOf1AccountHolderType' -> Text -> Text -> Maybe Text -> Maybe PostAccountsAccountExternalAccountsRequestBodyBankAccount'OneOf1Object' -> Maybe Text -> PostAccountsAccountExternalAccountsRequestBodyBankAccount'OneOf1
-- | account_holder_name
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountExternalAccountsRequestBodyBankAccount'OneOf1AccountHolderName] :: PostAccountsAccountExternalAccountsRequestBodyBankAccount'OneOf1 -> Maybe Text
-- | account_holder_type
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountExternalAccountsRequestBodyBankAccount'OneOf1AccountHolderType] :: PostAccountsAccountExternalAccountsRequestBodyBankAccount'OneOf1 -> Maybe PostAccountsAccountExternalAccountsRequestBodyBankAccount'OneOf1AccountHolderType'
-- | account_number
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountExternalAccountsRequestBodyBankAccount'OneOf1AccountNumber] :: PostAccountsAccountExternalAccountsRequestBodyBankAccount'OneOf1 -> Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountExternalAccountsRequestBodyBankAccount'OneOf1Country] :: PostAccountsAccountExternalAccountsRequestBodyBankAccount'OneOf1 -> Text
-- | currency
[postAccountsAccountExternalAccountsRequestBodyBankAccount'OneOf1Currency] :: PostAccountsAccountExternalAccountsRequestBodyBankAccount'OneOf1 -> Maybe Text
-- | object
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountExternalAccountsRequestBodyBankAccount'OneOf1Object] :: PostAccountsAccountExternalAccountsRequestBodyBankAccount'OneOf1 -> Maybe PostAccountsAccountExternalAccountsRequestBodyBankAccount'OneOf1Object'
-- | routing_number
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountExternalAccountsRequestBodyBankAccount'OneOf1RoutingNumber] :: PostAccountsAccountExternalAccountsRequestBodyBankAccount'OneOf1 -> Maybe Text
-- | Create a new
-- PostAccountsAccountExternalAccountsRequestBodyBankAccount'OneOf1
-- with all required fields.
mkPostAccountsAccountExternalAccountsRequestBodyBankAccount'OneOf1 :: Text -> Text -> PostAccountsAccountExternalAccountsRequestBodyBankAccount'OneOf1
-- | Defines the enum schema located at
-- paths./v1/accounts/{account}/external_accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.bank_account.anyOf.properties.account_holder_type
-- in the specification.
data PostAccountsAccountExternalAccountsRequestBodyBankAccount'OneOf1AccountHolderType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostAccountsAccountExternalAccountsRequestBodyBankAccount'OneOf1AccountHolderType'Other :: Value -> PostAccountsAccountExternalAccountsRequestBodyBankAccount'OneOf1AccountHolderType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostAccountsAccountExternalAccountsRequestBodyBankAccount'OneOf1AccountHolderType'Typed :: Text -> PostAccountsAccountExternalAccountsRequestBodyBankAccount'OneOf1AccountHolderType'
-- | Represents the JSON value "company"
PostAccountsAccountExternalAccountsRequestBodyBankAccount'OneOf1AccountHolderType'EnumCompany :: PostAccountsAccountExternalAccountsRequestBodyBankAccount'OneOf1AccountHolderType'
-- | Represents the JSON value "individual"
PostAccountsAccountExternalAccountsRequestBodyBankAccount'OneOf1AccountHolderType'EnumIndividual :: PostAccountsAccountExternalAccountsRequestBodyBankAccount'OneOf1AccountHolderType'
-- | Defines the enum schema located at
-- paths./v1/accounts/{account}/external_accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.bank_account.anyOf.properties.object
-- in the specification.
data PostAccountsAccountExternalAccountsRequestBodyBankAccount'OneOf1Object'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostAccountsAccountExternalAccountsRequestBodyBankAccount'OneOf1Object'Other :: Value -> PostAccountsAccountExternalAccountsRequestBodyBankAccount'OneOf1Object'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostAccountsAccountExternalAccountsRequestBodyBankAccount'OneOf1Object'Typed :: Text -> PostAccountsAccountExternalAccountsRequestBodyBankAccount'OneOf1Object'
-- | Represents the JSON value "bank_account"
PostAccountsAccountExternalAccountsRequestBodyBankAccount'OneOf1Object'EnumBankAccount :: PostAccountsAccountExternalAccountsRequestBodyBankAccount'OneOf1Object'
-- | Defines the oneOf schema located at
-- paths./v1/accounts/{account}/external_accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.bank_account.anyOf
-- in the specification.
--
-- Either a token, like the ones returned by Stripe.js, or a
-- dictionary containing a user's bank account details.
data PostAccountsAccountExternalAccountsRequestBodyBankAccount'Variants
PostAccountsAccountExternalAccountsRequestBodyBankAccount'PostAccountsAccountExternalAccountsRequestBodyBankAccount'OneOf1 :: PostAccountsAccountExternalAccountsRequestBodyBankAccount'OneOf1 -> PostAccountsAccountExternalAccountsRequestBodyBankAccount'Variants
PostAccountsAccountExternalAccountsRequestBodyBankAccount'Text :: Text -> PostAccountsAccountExternalAccountsRequestBodyBankAccount'Variants
-- | Represents a response of the operation
-- postAccountsAccountExternalAccounts.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- PostAccountsAccountExternalAccountsResponseError is used.
data PostAccountsAccountExternalAccountsResponse
-- | Means either no matching case available or a parse error
PostAccountsAccountExternalAccountsResponseError :: String -> PostAccountsAccountExternalAccountsResponse
-- | Successful response.
PostAccountsAccountExternalAccountsResponse200 :: ExternalAccount -> PostAccountsAccountExternalAccountsResponse
-- | Error response.
PostAccountsAccountExternalAccountsResponseDefault :: Error -> PostAccountsAccountExternalAccountsResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountExternalAccounts.PostAccountsAccountExternalAccountsRequestBodyBankAccount'OneOf1AccountHolderType'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountExternalAccounts.PostAccountsAccountExternalAccountsRequestBodyBankAccount'OneOf1AccountHolderType'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountExternalAccounts.PostAccountsAccountExternalAccountsRequestBodyBankAccount'OneOf1Object'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountExternalAccounts.PostAccountsAccountExternalAccountsRequestBodyBankAccount'OneOf1Object'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountExternalAccounts.PostAccountsAccountExternalAccountsRequestBodyBankAccount'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountExternalAccounts.PostAccountsAccountExternalAccountsRequestBodyBankAccount'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountExternalAccounts.PostAccountsAccountExternalAccountsRequestBodyBankAccount'Variants
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountExternalAccounts.PostAccountsAccountExternalAccountsRequestBodyBankAccount'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountExternalAccounts.PostAccountsAccountExternalAccountsRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountExternalAccounts.PostAccountsAccountExternalAccountsRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountExternalAccounts.PostAccountsAccountExternalAccountsResponse
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountExternalAccounts.PostAccountsAccountExternalAccountsResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccountExternalAccounts.PostAccountsAccountExternalAccountsRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccountExternalAccounts.PostAccountsAccountExternalAccountsRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccountExternalAccounts.PostAccountsAccountExternalAccountsRequestBodyBankAccount'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccountExternalAccounts.PostAccountsAccountExternalAccountsRequestBodyBankAccount'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccountExternalAccounts.PostAccountsAccountExternalAccountsRequestBodyBankAccount'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccountExternalAccounts.PostAccountsAccountExternalAccountsRequestBodyBankAccount'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccountExternalAccounts.PostAccountsAccountExternalAccountsRequestBodyBankAccount'OneOf1Object'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccountExternalAccounts.PostAccountsAccountExternalAccountsRequestBodyBankAccount'OneOf1Object'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccountExternalAccounts.PostAccountsAccountExternalAccountsRequestBodyBankAccount'OneOf1AccountHolderType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccountExternalAccounts.PostAccountsAccountExternalAccountsRequestBodyBankAccount'OneOf1AccountHolderType'
-- | Contains the different functions to run the operation
-- postAccountsAccountCapabilitiesCapability
module StripeAPI.Operations.PostAccountsAccountCapabilitiesCapability
-- |
-- POST /v1/accounts/{account}/capabilities/{capability}
--
--
-- <p>Updates an existing Account Capability.</p>
postAccountsAccountCapabilitiesCapability :: forall m. MonadHTTP m => PostAccountsAccountCapabilitiesCapabilityParameters -> Maybe PostAccountsAccountCapabilitiesCapabilityRequestBody -> ClientT m (Response PostAccountsAccountCapabilitiesCapabilityResponse)
-- | Defines the object schema located at
-- paths./v1/accounts/{account}/capabilities/{capability}.POST.parameters
-- in the specification.
data PostAccountsAccountCapabilitiesCapabilityParameters
PostAccountsAccountCapabilitiesCapabilityParameters :: Text -> Text -> PostAccountsAccountCapabilitiesCapabilityParameters
-- | pathAccount: Represents the parameter named 'account'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountCapabilitiesCapabilityParametersPathAccount] :: PostAccountsAccountCapabilitiesCapabilityParameters -> Text
-- | pathCapability: Represents the parameter named 'capability'
[postAccountsAccountCapabilitiesCapabilityParametersPathCapability] :: PostAccountsAccountCapabilitiesCapabilityParameters -> Text
-- | Create a new
-- PostAccountsAccountCapabilitiesCapabilityParameters with all
-- required fields.
mkPostAccountsAccountCapabilitiesCapabilityParameters :: Text -> Text -> PostAccountsAccountCapabilitiesCapabilityParameters
-- | Defines the object schema located at
-- paths./v1/accounts/{account}/capabilities/{capability}.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostAccountsAccountCapabilitiesCapabilityRequestBody
PostAccountsAccountCapabilitiesCapabilityRequestBody :: Maybe [Text] -> Maybe Bool -> PostAccountsAccountCapabilitiesCapabilityRequestBody
-- | expand: Specifies which fields in the response should be expanded.
[postAccountsAccountCapabilitiesCapabilityRequestBodyExpand] :: PostAccountsAccountCapabilitiesCapabilityRequestBody -> Maybe [Text]
-- | requested: Passing true requests the capability for the account, if it
-- is not already requested. A requested capability may not immediately
-- become active. Any requirements to activate the capability are
-- returned in the `requirements` arrays.
[postAccountsAccountCapabilitiesCapabilityRequestBodyRequested] :: PostAccountsAccountCapabilitiesCapabilityRequestBody -> Maybe Bool
-- | Create a new
-- PostAccountsAccountCapabilitiesCapabilityRequestBody with all
-- required fields.
mkPostAccountsAccountCapabilitiesCapabilityRequestBody :: PostAccountsAccountCapabilitiesCapabilityRequestBody
-- | Represents a response of the operation
-- postAccountsAccountCapabilitiesCapability.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- PostAccountsAccountCapabilitiesCapabilityResponseError is used.
data PostAccountsAccountCapabilitiesCapabilityResponse
-- | Means either no matching case available or a parse error
PostAccountsAccountCapabilitiesCapabilityResponseError :: String -> PostAccountsAccountCapabilitiesCapabilityResponse
-- | Successful response.
PostAccountsAccountCapabilitiesCapabilityResponse200 :: Capability -> PostAccountsAccountCapabilitiesCapabilityResponse
-- | Error response.
PostAccountsAccountCapabilitiesCapabilityResponseDefault :: Error -> PostAccountsAccountCapabilitiesCapabilityResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountCapabilitiesCapability.PostAccountsAccountCapabilitiesCapabilityParameters
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountCapabilitiesCapability.PostAccountsAccountCapabilitiesCapabilityParameters
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountCapabilitiesCapability.PostAccountsAccountCapabilitiesCapabilityRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountCapabilitiesCapability.PostAccountsAccountCapabilitiesCapabilityRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountCapabilitiesCapability.PostAccountsAccountCapabilitiesCapabilityResponse
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountCapabilitiesCapability.PostAccountsAccountCapabilitiesCapabilityResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccountCapabilitiesCapability.PostAccountsAccountCapabilitiesCapabilityRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccountCapabilitiesCapability.PostAccountsAccountCapabilitiesCapabilityRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccountCapabilitiesCapability.PostAccountsAccountCapabilitiesCapabilityParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccountCapabilitiesCapability.PostAccountsAccountCapabilitiesCapabilityParameters
-- | Contains the different functions to run the operation
-- postAccountsAccountBankAccountsId
module StripeAPI.Operations.PostAccountsAccountBankAccountsId
-- |
-- POST /v1/accounts/{account}/bank_accounts/{id}
--
--
-- <p>Updates the metadata, account holder name, and account holder
-- type of a bank account belonging to a <a
-- href="/docs/connect/custom-accounts">Custom account</a>, and
-- optionally sets it as the default for its currency. Other bank account
-- details are not editable by design.</p>
--
-- <p>You can re-enable a disabled bank account by performing an
-- update call without providing any arguments or changes.</p>
postAccountsAccountBankAccountsId :: forall m. MonadHTTP m => PostAccountsAccountBankAccountsIdParameters -> Maybe PostAccountsAccountBankAccountsIdRequestBody -> ClientT m (Response PostAccountsAccountBankAccountsIdResponse)
-- | Defines the object schema located at
-- paths./v1/accounts/{account}/bank_accounts/{id}.POST.parameters
-- in the specification.
data PostAccountsAccountBankAccountsIdParameters
PostAccountsAccountBankAccountsIdParameters :: Text -> Text -> PostAccountsAccountBankAccountsIdParameters
-- | pathAccount: Represents the parameter named 'account'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountBankAccountsIdParametersPathAccount] :: PostAccountsAccountBankAccountsIdParameters -> Text
-- | pathId: Represents the parameter named 'id'
[postAccountsAccountBankAccountsIdParametersPathId] :: PostAccountsAccountBankAccountsIdParameters -> Text
-- | Create a new PostAccountsAccountBankAccountsIdParameters with
-- all required fields.
mkPostAccountsAccountBankAccountsIdParameters :: Text -> Text -> PostAccountsAccountBankAccountsIdParameters
-- | Defines the object schema located at
-- paths./v1/accounts/{account}/bank_accounts/{id}.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostAccountsAccountBankAccountsIdRequestBody
PostAccountsAccountBankAccountsIdRequestBody :: Maybe Text -> Maybe PostAccountsAccountBankAccountsIdRequestBodyAccountHolderType' -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe Text -> Maybe [Text] -> Maybe PostAccountsAccountBankAccountsIdRequestBodyMetadata'Variants -> Maybe Text -> PostAccountsAccountBankAccountsIdRequestBody
-- | account_holder_name: The name of the person or business that owns the
-- bank account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountBankAccountsIdRequestBodyAccountHolderName] :: PostAccountsAccountBankAccountsIdRequestBody -> Maybe Text
-- | account_holder_type: The type of entity that holds the account. This
-- can be either `individual` or `company`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountBankAccountsIdRequestBodyAccountHolderType] :: PostAccountsAccountBankAccountsIdRequestBody -> Maybe PostAccountsAccountBankAccountsIdRequestBodyAccountHolderType'
-- | address_city: City/District/Suburb/Town/Village.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountBankAccountsIdRequestBodyAddressCity] :: PostAccountsAccountBankAccountsIdRequestBody -> Maybe Text
-- | address_country: Billing address country, if provided when creating
-- card.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountBankAccountsIdRequestBodyAddressCountry] :: PostAccountsAccountBankAccountsIdRequestBody -> Maybe Text
-- | address_line1: Address line 1 (Street address/PO Box/Company name).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountBankAccountsIdRequestBodyAddressLine1] :: PostAccountsAccountBankAccountsIdRequestBody -> Maybe Text
-- | address_line2: Address line 2 (Apartment/Suite/Unit/Building).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountBankAccountsIdRequestBodyAddressLine2] :: PostAccountsAccountBankAccountsIdRequestBody -> Maybe Text
-- | address_state: State/County/Province/Region.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountBankAccountsIdRequestBodyAddressState] :: PostAccountsAccountBankAccountsIdRequestBody -> Maybe Text
-- | address_zip: ZIP or postal code.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountBankAccountsIdRequestBodyAddressZip] :: PostAccountsAccountBankAccountsIdRequestBody -> Maybe Text
-- | default_for_currency: When set to true, this becomes the default
-- external account for its currency.
[postAccountsAccountBankAccountsIdRequestBodyDefaultForCurrency] :: PostAccountsAccountBankAccountsIdRequestBody -> Maybe Bool
-- | exp_month: Two digit number representing the card’s expiration month.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountBankAccountsIdRequestBodyExpMonth] :: PostAccountsAccountBankAccountsIdRequestBody -> Maybe Text
-- | exp_year: Four digit number representing the card’s expiration year.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountBankAccountsIdRequestBodyExpYear] :: PostAccountsAccountBankAccountsIdRequestBody -> Maybe Text
-- | expand: Specifies which fields in the response should be expanded.
[postAccountsAccountBankAccountsIdRequestBodyExpand] :: PostAccountsAccountBankAccountsIdRequestBody -> Maybe [Text]
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postAccountsAccountBankAccountsIdRequestBodyMetadata] :: PostAccountsAccountBankAccountsIdRequestBody -> Maybe PostAccountsAccountBankAccountsIdRequestBodyMetadata'Variants
-- | name: Cardholder name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountBankAccountsIdRequestBodyName] :: PostAccountsAccountBankAccountsIdRequestBody -> Maybe Text
-- | Create a new PostAccountsAccountBankAccountsIdRequestBody with
-- all required fields.
mkPostAccountsAccountBankAccountsIdRequestBody :: PostAccountsAccountBankAccountsIdRequestBody
-- | Defines the enum schema located at
-- paths./v1/accounts/{account}/bank_accounts/{id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.account_holder_type
-- in the specification.
--
-- The type of entity that holds the account. This can be either
-- `individual` or `company`.
data PostAccountsAccountBankAccountsIdRequestBodyAccountHolderType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostAccountsAccountBankAccountsIdRequestBodyAccountHolderType'Other :: Value -> PostAccountsAccountBankAccountsIdRequestBodyAccountHolderType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostAccountsAccountBankAccountsIdRequestBodyAccountHolderType'Typed :: Text -> PostAccountsAccountBankAccountsIdRequestBodyAccountHolderType'
-- | Represents the JSON value ""
PostAccountsAccountBankAccountsIdRequestBodyAccountHolderType'EnumEmptyString :: PostAccountsAccountBankAccountsIdRequestBodyAccountHolderType'
-- | Represents the JSON value "company"
PostAccountsAccountBankAccountsIdRequestBodyAccountHolderType'EnumCompany :: PostAccountsAccountBankAccountsIdRequestBodyAccountHolderType'
-- | Represents the JSON value "individual"
PostAccountsAccountBankAccountsIdRequestBodyAccountHolderType'EnumIndividual :: PostAccountsAccountBankAccountsIdRequestBodyAccountHolderType'
-- | Defines the oneOf schema located at
-- paths./v1/accounts/{account}/bank_accounts/{id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.metadata.anyOf
-- in the specification.
--
-- Set of key-value pairs that you can attach to an object. This
-- can be useful for storing additional information about the object in a
-- structured format. Individual keys can be unset by posting an empty
-- value to them. All keys can be unset by posting an empty value to
-- `metadata`.
data PostAccountsAccountBankAccountsIdRequestBodyMetadata'Variants
-- | Represents the JSON value ""
PostAccountsAccountBankAccountsIdRequestBodyMetadata'EmptyString :: PostAccountsAccountBankAccountsIdRequestBodyMetadata'Variants
PostAccountsAccountBankAccountsIdRequestBodyMetadata'Object :: Object -> PostAccountsAccountBankAccountsIdRequestBodyMetadata'Variants
-- | Represents a response of the operation
-- postAccountsAccountBankAccountsId.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- PostAccountsAccountBankAccountsIdResponseError is used.
data PostAccountsAccountBankAccountsIdResponse
-- | Means either no matching case available or a parse error
PostAccountsAccountBankAccountsIdResponseError :: String -> PostAccountsAccountBankAccountsIdResponse
-- | Successful response.
PostAccountsAccountBankAccountsIdResponse200 :: ExternalAccount -> PostAccountsAccountBankAccountsIdResponse
-- | Error response.
PostAccountsAccountBankAccountsIdResponseDefault :: Error -> PostAccountsAccountBankAccountsIdResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountBankAccountsId.PostAccountsAccountBankAccountsIdParameters
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountBankAccountsId.PostAccountsAccountBankAccountsIdParameters
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountBankAccountsId.PostAccountsAccountBankAccountsIdRequestBodyAccountHolderType'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountBankAccountsId.PostAccountsAccountBankAccountsIdRequestBodyAccountHolderType'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountBankAccountsId.PostAccountsAccountBankAccountsIdRequestBodyMetadata'Variants
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountBankAccountsId.PostAccountsAccountBankAccountsIdRequestBodyMetadata'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountBankAccountsId.PostAccountsAccountBankAccountsIdRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountBankAccountsId.PostAccountsAccountBankAccountsIdRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountBankAccountsId.PostAccountsAccountBankAccountsIdResponse
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountBankAccountsId.PostAccountsAccountBankAccountsIdResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccountBankAccountsId.PostAccountsAccountBankAccountsIdRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccountBankAccountsId.PostAccountsAccountBankAccountsIdRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccountBankAccountsId.PostAccountsAccountBankAccountsIdRequestBodyMetadata'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccountBankAccountsId.PostAccountsAccountBankAccountsIdRequestBodyMetadata'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccountBankAccountsId.PostAccountsAccountBankAccountsIdRequestBodyAccountHolderType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccountBankAccountsId.PostAccountsAccountBankAccountsIdRequestBodyAccountHolderType'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccountBankAccountsId.PostAccountsAccountBankAccountsIdParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccountBankAccountsId.PostAccountsAccountBankAccountsIdParameters
-- | Contains the different functions to run the operation
-- postAccountsAccountBankAccounts
module StripeAPI.Operations.PostAccountsAccountBankAccounts
-- |
-- POST /v1/accounts/{account}/bank_accounts
--
--
-- <p>Create an external account for a given account.</p>
postAccountsAccountBankAccounts :: forall m. MonadHTTP m => Text -> Maybe PostAccountsAccountBankAccountsRequestBody -> ClientT m (Response PostAccountsAccountBankAccountsResponse)
-- | Defines the object schema located at
-- paths./v1/accounts/{account}/bank_accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostAccountsAccountBankAccountsRequestBody
PostAccountsAccountBankAccountsRequestBody :: Maybe PostAccountsAccountBankAccountsRequestBodyBankAccount'Variants -> Maybe Bool -> Maybe [Text] -> Maybe Text -> Maybe Object -> PostAccountsAccountBankAccountsRequestBody
-- | bank_account: Either a token, like the ones returned by
-- Stripe.js, or a dictionary containing a user's bank account
-- details.
[postAccountsAccountBankAccountsRequestBodyBankAccount] :: PostAccountsAccountBankAccountsRequestBody -> Maybe PostAccountsAccountBankAccountsRequestBodyBankAccount'Variants
-- | default_for_currency: When set to true, or if this is the first
-- external account added in this currency, this account becomes the
-- default external account for its currency.
[postAccountsAccountBankAccountsRequestBodyDefaultForCurrency] :: PostAccountsAccountBankAccountsRequestBody -> Maybe Bool
-- | expand: Specifies which fields in the response should be expanded.
[postAccountsAccountBankAccountsRequestBodyExpand] :: PostAccountsAccountBankAccountsRequestBody -> Maybe [Text]
-- | external_account: Please refer to full documentation instead.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountBankAccountsRequestBodyExternalAccount] :: PostAccountsAccountBankAccountsRequestBody -> Maybe Text
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postAccountsAccountBankAccountsRequestBodyMetadata] :: PostAccountsAccountBankAccountsRequestBody -> Maybe Object
-- | Create a new PostAccountsAccountBankAccountsRequestBody with
-- all required fields.
mkPostAccountsAccountBankAccountsRequestBody :: PostAccountsAccountBankAccountsRequestBody
-- | Defines the object schema located at
-- paths./v1/accounts/{account}/bank_accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.bank_account.anyOf
-- in the specification.
data PostAccountsAccountBankAccountsRequestBodyBankAccount'OneOf1
PostAccountsAccountBankAccountsRequestBodyBankAccount'OneOf1 :: Maybe Text -> Maybe PostAccountsAccountBankAccountsRequestBodyBankAccount'OneOf1AccountHolderType' -> Text -> Text -> Maybe Text -> Maybe PostAccountsAccountBankAccountsRequestBodyBankAccount'OneOf1Object' -> Maybe Text -> PostAccountsAccountBankAccountsRequestBodyBankAccount'OneOf1
-- | account_holder_name
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountBankAccountsRequestBodyBankAccount'OneOf1AccountHolderName] :: PostAccountsAccountBankAccountsRequestBodyBankAccount'OneOf1 -> Maybe Text
-- | account_holder_type
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountBankAccountsRequestBodyBankAccount'OneOf1AccountHolderType] :: PostAccountsAccountBankAccountsRequestBodyBankAccount'OneOf1 -> Maybe PostAccountsAccountBankAccountsRequestBodyBankAccount'OneOf1AccountHolderType'
-- | account_number
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountBankAccountsRequestBodyBankAccount'OneOf1AccountNumber] :: PostAccountsAccountBankAccountsRequestBodyBankAccount'OneOf1 -> Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountBankAccountsRequestBodyBankAccount'OneOf1Country] :: PostAccountsAccountBankAccountsRequestBodyBankAccount'OneOf1 -> Text
-- | currency
[postAccountsAccountBankAccountsRequestBodyBankAccount'OneOf1Currency] :: PostAccountsAccountBankAccountsRequestBodyBankAccount'OneOf1 -> Maybe Text
-- | object
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountBankAccountsRequestBodyBankAccount'OneOf1Object] :: PostAccountsAccountBankAccountsRequestBodyBankAccount'OneOf1 -> Maybe PostAccountsAccountBankAccountsRequestBodyBankAccount'OneOf1Object'
-- | routing_number
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountBankAccountsRequestBodyBankAccount'OneOf1RoutingNumber] :: PostAccountsAccountBankAccountsRequestBodyBankAccount'OneOf1 -> Maybe Text
-- | Create a new
-- PostAccountsAccountBankAccountsRequestBodyBankAccount'OneOf1
-- with all required fields.
mkPostAccountsAccountBankAccountsRequestBodyBankAccount'OneOf1 :: Text -> Text -> PostAccountsAccountBankAccountsRequestBodyBankAccount'OneOf1
-- | Defines the enum schema located at
-- paths./v1/accounts/{account}/bank_accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.bank_account.anyOf.properties.account_holder_type
-- in the specification.
data PostAccountsAccountBankAccountsRequestBodyBankAccount'OneOf1AccountHolderType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostAccountsAccountBankAccountsRequestBodyBankAccount'OneOf1AccountHolderType'Other :: Value -> PostAccountsAccountBankAccountsRequestBodyBankAccount'OneOf1AccountHolderType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostAccountsAccountBankAccountsRequestBodyBankAccount'OneOf1AccountHolderType'Typed :: Text -> PostAccountsAccountBankAccountsRequestBodyBankAccount'OneOf1AccountHolderType'
-- | Represents the JSON value "company"
PostAccountsAccountBankAccountsRequestBodyBankAccount'OneOf1AccountHolderType'EnumCompany :: PostAccountsAccountBankAccountsRequestBodyBankAccount'OneOf1AccountHolderType'
-- | Represents the JSON value "individual"
PostAccountsAccountBankAccountsRequestBodyBankAccount'OneOf1AccountHolderType'EnumIndividual :: PostAccountsAccountBankAccountsRequestBodyBankAccount'OneOf1AccountHolderType'
-- | Defines the enum schema located at
-- paths./v1/accounts/{account}/bank_accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.bank_account.anyOf.properties.object
-- in the specification.
data PostAccountsAccountBankAccountsRequestBodyBankAccount'OneOf1Object'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostAccountsAccountBankAccountsRequestBodyBankAccount'OneOf1Object'Other :: Value -> PostAccountsAccountBankAccountsRequestBodyBankAccount'OneOf1Object'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostAccountsAccountBankAccountsRequestBodyBankAccount'OneOf1Object'Typed :: Text -> PostAccountsAccountBankAccountsRequestBodyBankAccount'OneOf1Object'
-- | Represents the JSON value "bank_account"
PostAccountsAccountBankAccountsRequestBodyBankAccount'OneOf1Object'EnumBankAccount :: PostAccountsAccountBankAccountsRequestBodyBankAccount'OneOf1Object'
-- | Defines the oneOf schema located at
-- paths./v1/accounts/{account}/bank_accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.bank_account.anyOf
-- in the specification.
--
-- Either a token, like the ones returned by Stripe.js, or a
-- dictionary containing a user's bank account details.
data PostAccountsAccountBankAccountsRequestBodyBankAccount'Variants
PostAccountsAccountBankAccountsRequestBodyBankAccount'PostAccountsAccountBankAccountsRequestBodyBankAccount'OneOf1 :: PostAccountsAccountBankAccountsRequestBodyBankAccount'OneOf1 -> PostAccountsAccountBankAccountsRequestBodyBankAccount'Variants
PostAccountsAccountBankAccountsRequestBodyBankAccount'Text :: Text -> PostAccountsAccountBankAccountsRequestBodyBankAccount'Variants
-- | Represents a response of the operation
-- postAccountsAccountBankAccounts.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- PostAccountsAccountBankAccountsResponseError is used.
data PostAccountsAccountBankAccountsResponse
-- | Means either no matching case available or a parse error
PostAccountsAccountBankAccountsResponseError :: String -> PostAccountsAccountBankAccountsResponse
-- | Successful response.
PostAccountsAccountBankAccountsResponse200 :: ExternalAccount -> PostAccountsAccountBankAccountsResponse
-- | Error response.
PostAccountsAccountBankAccountsResponseDefault :: Error -> PostAccountsAccountBankAccountsResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountBankAccounts.PostAccountsAccountBankAccountsRequestBodyBankAccount'OneOf1AccountHolderType'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountBankAccounts.PostAccountsAccountBankAccountsRequestBodyBankAccount'OneOf1AccountHolderType'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountBankAccounts.PostAccountsAccountBankAccountsRequestBodyBankAccount'OneOf1Object'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountBankAccounts.PostAccountsAccountBankAccountsRequestBodyBankAccount'OneOf1Object'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountBankAccounts.PostAccountsAccountBankAccountsRequestBodyBankAccount'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountBankAccounts.PostAccountsAccountBankAccountsRequestBodyBankAccount'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountBankAccounts.PostAccountsAccountBankAccountsRequestBodyBankAccount'Variants
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountBankAccounts.PostAccountsAccountBankAccountsRequestBodyBankAccount'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountBankAccounts.PostAccountsAccountBankAccountsRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountBankAccounts.PostAccountsAccountBankAccountsRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccountBankAccounts.PostAccountsAccountBankAccountsResponse
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccountBankAccounts.PostAccountsAccountBankAccountsResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccountBankAccounts.PostAccountsAccountBankAccountsRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccountBankAccounts.PostAccountsAccountBankAccountsRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccountBankAccounts.PostAccountsAccountBankAccountsRequestBodyBankAccount'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccountBankAccounts.PostAccountsAccountBankAccountsRequestBodyBankAccount'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccountBankAccounts.PostAccountsAccountBankAccountsRequestBodyBankAccount'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccountBankAccounts.PostAccountsAccountBankAccountsRequestBodyBankAccount'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccountBankAccounts.PostAccountsAccountBankAccountsRequestBodyBankAccount'OneOf1Object'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccountBankAccounts.PostAccountsAccountBankAccountsRequestBodyBankAccount'OneOf1Object'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccountBankAccounts.PostAccountsAccountBankAccountsRequestBodyBankAccount'OneOf1AccountHolderType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccountBankAccounts.PostAccountsAccountBankAccountsRequestBodyBankAccount'OneOf1AccountHolderType'
-- | Contains the different functions to run the operation
-- postAccountsAccount
module StripeAPI.Operations.PostAccountsAccount
-- |
-- POST /v1/accounts/{account}
--
--
-- <p>Updates a <a href="/docs/connect/accounts">connected
-- account</a> by setting the values of the parameters passed. Any
-- parameters not provided are left unchanged. Most parameters can be
-- changed only for Custom accounts. (These are marked
-- <strong>Custom Only</strong> below.) Parameters marked
-- <strong>Custom and Express</strong> are not supported for
-- Standard accounts.</p>
--
-- <p>To update your own account, use the <a
-- href="https://dashboard.stripe.com/account">Dashboard</a>.
-- Refer to our <a
-- href="/docs/connect/updating-accounts">Connect</a>
-- documentation to learn more about updating accounts.</p>
postAccountsAccount :: forall m. MonadHTTP m => Text -> Maybe PostAccountsAccountRequestBody -> ClientT m (Response PostAccountsAccountResponse)
-- | Defines the object schema located at
-- paths./v1/accounts/{account}.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostAccountsAccountRequestBody
PostAccountsAccountRequestBody :: Maybe Text -> Maybe PostAccountsAccountRequestBodyBankAccount'Variants -> Maybe PostAccountsAccountRequestBodyBusinessProfile' -> Maybe PostAccountsAccountRequestBodyBusinessType' -> Maybe PostAccountsAccountRequestBodyCapabilities' -> Maybe PostAccountsAccountRequestBodyCompany' -> Maybe Text -> Maybe PostAccountsAccountRequestBodyDocuments' -> Maybe Text -> Maybe [Text] -> Maybe Text -> Maybe PostAccountsAccountRequestBodyIndividual' -> Maybe PostAccountsAccountRequestBodyMetadata'Variants -> Maybe PostAccountsAccountRequestBodySettings' -> Maybe PostAccountsAccountRequestBodyTosAcceptance' -> PostAccountsAccountRequestBody
-- | account_token: An account token, used to securely provide
-- details to the account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountRequestBodyAccountToken] :: PostAccountsAccountRequestBody -> Maybe Text
-- | bank_account: Either a token, like the ones returned by
-- Stripe.js, or a dictionary containing a user's bank account
-- details.
[postAccountsAccountRequestBodyBankAccount] :: PostAccountsAccountRequestBody -> Maybe PostAccountsAccountRequestBodyBankAccount'Variants
-- | business_profile: Business information about the account.
[postAccountsAccountRequestBodyBusinessProfile] :: PostAccountsAccountRequestBody -> Maybe PostAccountsAccountRequestBodyBusinessProfile'
-- | business_type: The business type.
[postAccountsAccountRequestBodyBusinessType] :: PostAccountsAccountRequestBody -> Maybe PostAccountsAccountRequestBodyBusinessType'
-- | capabilities: Each key of the dictionary represents a capability, and
-- each capability maps to its settings (e.g. whether it has been
-- requested or not). Each capability will be inactive until you have
-- provided its specific requirements and Stripe has verified them. An
-- account may have some of its requested capabilities be active and some
-- be inactive.
[postAccountsAccountRequestBodyCapabilities] :: PostAccountsAccountRequestBody -> Maybe PostAccountsAccountRequestBodyCapabilities'
-- | company: Information about the company or business. This field is
-- available for any `business_type`.
[postAccountsAccountRequestBodyCompany] :: PostAccountsAccountRequestBody -> Maybe PostAccountsAccountRequestBodyCompany'
-- | default_currency: Three-letter ISO currency code representing the
-- default currency for the account. This must be a currency that
-- Stripe supports in the account's country.
[postAccountsAccountRequestBodyDefaultCurrency] :: PostAccountsAccountRequestBody -> Maybe Text
-- | documents: Documents that may be submitted to satisfy various
-- informational requests.
[postAccountsAccountRequestBodyDocuments] :: PostAccountsAccountRequestBody -> Maybe PostAccountsAccountRequestBodyDocuments'
-- | email: The email address of the account holder. This is only to make
-- the account easier to identify to you. Stripe will never directly
-- email Custom accounts.
[postAccountsAccountRequestBodyEmail] :: PostAccountsAccountRequestBody -> Maybe Text
-- | expand: Specifies which fields in the response should be expanded.
[postAccountsAccountRequestBodyExpand] :: PostAccountsAccountRequestBody -> Maybe [Text]
-- | external_account: A card or bank account to attach to the account for
-- receiving payouts (you won’t be able to use it for top-ups).
-- You can provide either a token, like the ones returned by
-- Stripe.js, or a dictionary, as documented in the
-- `external_account` parameter for bank account creation.
-- <br><br>By default, providing an external account sets it
-- as the new default external account for its currency, and deletes the
-- old default if one exists. To add additional external accounts without
-- replacing the existing default for the currency, use the bank account
-- or card creation API.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountRequestBodyExternalAccount] :: PostAccountsAccountRequestBody -> Maybe Text
-- | individual: Information about the person represented by the account.
-- This field is null unless `business_type` is set to `individual`.
[postAccountsAccountRequestBodyIndividual] :: PostAccountsAccountRequestBody -> Maybe PostAccountsAccountRequestBodyIndividual'
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postAccountsAccountRequestBodyMetadata] :: PostAccountsAccountRequestBody -> Maybe PostAccountsAccountRequestBodyMetadata'Variants
-- | settings: Options for customizing how the account functions within
-- Stripe.
[postAccountsAccountRequestBodySettings] :: PostAccountsAccountRequestBody -> Maybe PostAccountsAccountRequestBodySettings'
-- | tos_acceptance: Details on the account's acceptance of the Stripe
-- Services Agreement.
[postAccountsAccountRequestBodyTosAcceptance] :: PostAccountsAccountRequestBody -> Maybe PostAccountsAccountRequestBodyTosAcceptance'
-- | Create a new PostAccountsAccountRequestBody with all required
-- fields.
mkPostAccountsAccountRequestBody :: PostAccountsAccountRequestBody
-- | Defines the object schema located at
-- paths./v1/accounts/{account}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.bank_account.anyOf
-- in the specification.
data PostAccountsAccountRequestBodyBankAccount'OneOf1
PostAccountsAccountRequestBodyBankAccount'OneOf1 :: Maybe Text -> Maybe PostAccountsAccountRequestBodyBankAccount'OneOf1AccountHolderType' -> Text -> Text -> Maybe Text -> Maybe PostAccountsAccountRequestBodyBankAccount'OneOf1Object' -> Maybe Text -> PostAccountsAccountRequestBodyBankAccount'OneOf1
-- | account_holder_name
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountRequestBodyBankAccount'OneOf1AccountHolderName] :: PostAccountsAccountRequestBodyBankAccount'OneOf1 -> Maybe Text
-- | account_holder_type
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountRequestBodyBankAccount'OneOf1AccountHolderType] :: PostAccountsAccountRequestBodyBankAccount'OneOf1 -> Maybe PostAccountsAccountRequestBodyBankAccount'OneOf1AccountHolderType'
-- | account_number
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountRequestBodyBankAccount'OneOf1AccountNumber] :: PostAccountsAccountRequestBodyBankAccount'OneOf1 -> Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountRequestBodyBankAccount'OneOf1Country] :: PostAccountsAccountRequestBodyBankAccount'OneOf1 -> Text
-- | currency
[postAccountsAccountRequestBodyBankAccount'OneOf1Currency] :: PostAccountsAccountRequestBodyBankAccount'OneOf1 -> Maybe Text
-- | object
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountRequestBodyBankAccount'OneOf1Object] :: PostAccountsAccountRequestBodyBankAccount'OneOf1 -> Maybe PostAccountsAccountRequestBodyBankAccount'OneOf1Object'
-- | routing_number
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountRequestBodyBankAccount'OneOf1RoutingNumber] :: PostAccountsAccountRequestBodyBankAccount'OneOf1 -> Maybe Text
-- | Create a new PostAccountsAccountRequestBodyBankAccount'OneOf1
-- with all required fields.
mkPostAccountsAccountRequestBodyBankAccount'OneOf1 :: Text -> Text -> PostAccountsAccountRequestBodyBankAccount'OneOf1
-- | Defines the enum schema located at
-- paths./v1/accounts/{account}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.bank_account.anyOf.properties.account_holder_type
-- in the specification.
data PostAccountsAccountRequestBodyBankAccount'OneOf1AccountHolderType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostAccountsAccountRequestBodyBankAccount'OneOf1AccountHolderType'Other :: Value -> PostAccountsAccountRequestBodyBankAccount'OneOf1AccountHolderType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostAccountsAccountRequestBodyBankAccount'OneOf1AccountHolderType'Typed :: Text -> PostAccountsAccountRequestBodyBankAccount'OneOf1AccountHolderType'
-- | Represents the JSON value "company"
PostAccountsAccountRequestBodyBankAccount'OneOf1AccountHolderType'EnumCompany :: PostAccountsAccountRequestBodyBankAccount'OneOf1AccountHolderType'
-- | Represents the JSON value "individual"
PostAccountsAccountRequestBodyBankAccount'OneOf1AccountHolderType'EnumIndividual :: PostAccountsAccountRequestBodyBankAccount'OneOf1AccountHolderType'
-- | Defines the enum schema located at
-- paths./v1/accounts/{account}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.bank_account.anyOf.properties.object
-- in the specification.
data PostAccountsAccountRequestBodyBankAccount'OneOf1Object'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostAccountsAccountRequestBodyBankAccount'OneOf1Object'Other :: Value -> PostAccountsAccountRequestBodyBankAccount'OneOf1Object'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostAccountsAccountRequestBodyBankAccount'OneOf1Object'Typed :: Text -> PostAccountsAccountRequestBodyBankAccount'OneOf1Object'
-- | Represents the JSON value "bank_account"
PostAccountsAccountRequestBodyBankAccount'OneOf1Object'EnumBankAccount :: PostAccountsAccountRequestBodyBankAccount'OneOf1Object'
-- | Defines the oneOf schema located at
-- paths./v1/accounts/{account}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.bank_account.anyOf
-- in the specification.
--
-- Either a token, like the ones returned by Stripe.js, or a
-- dictionary containing a user's bank account details.
data PostAccountsAccountRequestBodyBankAccount'Variants
PostAccountsAccountRequestBodyBankAccount'PostAccountsAccountRequestBodyBankAccount'OneOf1 :: PostAccountsAccountRequestBodyBankAccount'OneOf1 -> PostAccountsAccountRequestBodyBankAccount'Variants
PostAccountsAccountRequestBodyBankAccount'Text :: Text -> PostAccountsAccountRequestBodyBankAccount'Variants
-- | Defines the object schema located at
-- paths./v1/accounts/{account}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.business_profile
-- in the specification.
--
-- Business information about the account.
data PostAccountsAccountRequestBodyBusinessProfile'
PostAccountsAccountRequestBodyBusinessProfile' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe PostAccountsAccountRequestBodyBusinessProfile'SupportAddress' -> Maybe Text -> Maybe Text -> Maybe PostAccountsAccountRequestBodyBusinessProfile'SupportUrl'Variants -> Maybe Text -> PostAccountsAccountRequestBodyBusinessProfile'
-- | mcc
--
-- Constraints:
--
--
-- - Maximum length of 4
--
[postAccountsAccountRequestBodyBusinessProfile'Mcc] :: PostAccountsAccountRequestBodyBusinessProfile' -> Maybe Text
-- | name
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountRequestBodyBusinessProfile'Name] :: PostAccountsAccountRequestBodyBusinessProfile' -> Maybe Text
-- | product_description
--
-- Constraints:
--
--
-- - Maximum length of 40000
--
[postAccountsAccountRequestBodyBusinessProfile'ProductDescription] :: PostAccountsAccountRequestBodyBusinessProfile' -> Maybe Text
-- | support_address
[postAccountsAccountRequestBodyBusinessProfile'SupportAddress] :: PostAccountsAccountRequestBodyBusinessProfile' -> Maybe PostAccountsAccountRequestBodyBusinessProfile'SupportAddress'
-- | support_email
[postAccountsAccountRequestBodyBusinessProfile'SupportEmail] :: PostAccountsAccountRequestBodyBusinessProfile' -> Maybe Text
-- | support_phone
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountRequestBodyBusinessProfile'SupportPhone] :: PostAccountsAccountRequestBodyBusinessProfile' -> Maybe Text
-- | support_url
[postAccountsAccountRequestBodyBusinessProfile'SupportUrl] :: PostAccountsAccountRequestBodyBusinessProfile' -> Maybe PostAccountsAccountRequestBodyBusinessProfile'SupportUrl'Variants
-- | url
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountRequestBodyBusinessProfile'Url] :: PostAccountsAccountRequestBodyBusinessProfile' -> Maybe Text
-- | Create a new PostAccountsAccountRequestBodyBusinessProfile'
-- with all required fields.
mkPostAccountsAccountRequestBodyBusinessProfile' :: PostAccountsAccountRequestBodyBusinessProfile'
-- | Defines the object schema located at
-- paths./v1/accounts/{account}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.business_profile.properties.support_address
-- in the specification.
data PostAccountsAccountRequestBodyBusinessProfile'SupportAddress'
PostAccountsAccountRequestBodyBusinessProfile'SupportAddress' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PostAccountsAccountRequestBodyBusinessProfile'SupportAddress'
-- | city
--
-- Constraints:
--
--
-- - Maximum length of 100
--
[postAccountsAccountRequestBodyBusinessProfile'SupportAddress'City] :: PostAccountsAccountRequestBodyBusinessProfile'SupportAddress' -> Maybe Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountRequestBodyBusinessProfile'SupportAddress'Country] :: PostAccountsAccountRequestBodyBusinessProfile'SupportAddress' -> Maybe Text
-- | line1
--
-- Constraints:
--
--
-- - Maximum length of 200
--
[postAccountsAccountRequestBodyBusinessProfile'SupportAddress'Line1] :: PostAccountsAccountRequestBodyBusinessProfile'SupportAddress' -> Maybe Text
-- | line2
--
-- Constraints:
--
--
-- - Maximum length of 200
--
[postAccountsAccountRequestBodyBusinessProfile'SupportAddress'Line2] :: PostAccountsAccountRequestBodyBusinessProfile'SupportAddress' -> Maybe Text
-- | postal_code
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountRequestBodyBusinessProfile'SupportAddress'PostalCode] :: PostAccountsAccountRequestBodyBusinessProfile'SupportAddress' -> Maybe Text
-- | state
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountRequestBodyBusinessProfile'SupportAddress'State] :: PostAccountsAccountRequestBodyBusinessProfile'SupportAddress' -> Maybe Text
-- | Create a new
-- PostAccountsAccountRequestBodyBusinessProfile'SupportAddress'
-- with all required fields.
mkPostAccountsAccountRequestBodyBusinessProfile'SupportAddress' :: PostAccountsAccountRequestBodyBusinessProfile'SupportAddress'
-- | Defines the oneOf schema located at
-- paths./v1/accounts/{account}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.business_profile.properties.support_url.anyOf
-- in the specification.
data PostAccountsAccountRequestBodyBusinessProfile'SupportUrl'Variants
-- | Represents the JSON value ""
PostAccountsAccountRequestBodyBusinessProfile'SupportUrl'EmptyString :: PostAccountsAccountRequestBodyBusinessProfile'SupportUrl'Variants
PostAccountsAccountRequestBodyBusinessProfile'SupportUrl'Text :: Text -> PostAccountsAccountRequestBodyBusinessProfile'SupportUrl'Variants
-- | Defines the enum schema located at
-- paths./v1/accounts/{account}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.business_type
-- in the specification.
--
-- The business type.
data PostAccountsAccountRequestBodyBusinessType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostAccountsAccountRequestBodyBusinessType'Other :: Value -> PostAccountsAccountRequestBodyBusinessType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostAccountsAccountRequestBodyBusinessType'Typed :: Text -> PostAccountsAccountRequestBodyBusinessType'
-- | Represents the JSON value "company"
PostAccountsAccountRequestBodyBusinessType'EnumCompany :: PostAccountsAccountRequestBodyBusinessType'
-- | Represents the JSON value "government_entity"
PostAccountsAccountRequestBodyBusinessType'EnumGovernmentEntity :: PostAccountsAccountRequestBodyBusinessType'
-- | Represents the JSON value "individual"
PostAccountsAccountRequestBodyBusinessType'EnumIndividual :: PostAccountsAccountRequestBodyBusinessType'
-- | Represents the JSON value "non_profit"
PostAccountsAccountRequestBodyBusinessType'EnumNonProfit :: PostAccountsAccountRequestBodyBusinessType'
-- | Defines the object schema located at
-- paths./v1/accounts/{account}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities
-- in the specification.
--
-- Each key of the dictionary represents a capability, and each
-- capability maps to its settings (e.g. whether it has been requested or
-- not). Each capability will be inactive until you have provided its
-- specific requirements and Stripe has verified them. An account may
-- have some of its requested capabilities be active and some be
-- inactive.
data PostAccountsAccountRequestBodyCapabilities'
PostAccountsAccountRequestBodyCapabilities' :: Maybe PostAccountsAccountRequestBodyCapabilities'AcssDebitPayments' -> Maybe PostAccountsAccountRequestBodyCapabilities'AfterpayClearpayPayments' -> Maybe PostAccountsAccountRequestBodyCapabilities'AuBecsDebitPayments' -> Maybe PostAccountsAccountRequestBodyCapabilities'BacsDebitPayments' -> Maybe PostAccountsAccountRequestBodyCapabilities'BancontactPayments' -> Maybe PostAccountsAccountRequestBodyCapabilities'CardIssuing' -> Maybe PostAccountsAccountRequestBodyCapabilities'CardPayments' -> Maybe PostAccountsAccountRequestBodyCapabilities'CartesBancairesPayments' -> Maybe PostAccountsAccountRequestBodyCapabilities'EpsPayments' -> Maybe PostAccountsAccountRequestBodyCapabilities'FpxPayments' -> Maybe PostAccountsAccountRequestBodyCapabilities'GiropayPayments' -> Maybe PostAccountsAccountRequestBodyCapabilities'GrabpayPayments' -> Maybe PostAccountsAccountRequestBodyCapabilities'IdealPayments' -> Maybe PostAccountsAccountRequestBodyCapabilities'JcbPayments' -> Maybe PostAccountsAccountRequestBodyCapabilities'LegacyPayments' -> Maybe PostAccountsAccountRequestBodyCapabilities'OxxoPayments' -> Maybe PostAccountsAccountRequestBodyCapabilities'P24Payments' -> Maybe PostAccountsAccountRequestBodyCapabilities'SepaDebitPayments' -> Maybe PostAccountsAccountRequestBodyCapabilities'SofortPayments' -> Maybe PostAccountsAccountRequestBodyCapabilities'TaxReportingUs_1099K' -> Maybe PostAccountsAccountRequestBodyCapabilities'TaxReportingUs_1099Misc' -> Maybe PostAccountsAccountRequestBodyCapabilities'Transfers' -> PostAccountsAccountRequestBodyCapabilities'
-- | acss_debit_payments
[postAccountsAccountRequestBodyCapabilities'AcssDebitPayments] :: PostAccountsAccountRequestBodyCapabilities' -> Maybe PostAccountsAccountRequestBodyCapabilities'AcssDebitPayments'
-- | afterpay_clearpay_payments
[postAccountsAccountRequestBodyCapabilities'AfterpayClearpayPayments] :: PostAccountsAccountRequestBodyCapabilities' -> Maybe PostAccountsAccountRequestBodyCapabilities'AfterpayClearpayPayments'
-- | au_becs_debit_payments
[postAccountsAccountRequestBodyCapabilities'AuBecsDebitPayments] :: PostAccountsAccountRequestBodyCapabilities' -> Maybe PostAccountsAccountRequestBodyCapabilities'AuBecsDebitPayments'
-- | bacs_debit_payments
[postAccountsAccountRequestBodyCapabilities'BacsDebitPayments] :: PostAccountsAccountRequestBodyCapabilities' -> Maybe PostAccountsAccountRequestBodyCapabilities'BacsDebitPayments'
-- | bancontact_payments
[postAccountsAccountRequestBodyCapabilities'BancontactPayments] :: PostAccountsAccountRequestBodyCapabilities' -> Maybe PostAccountsAccountRequestBodyCapabilities'BancontactPayments'
-- | card_issuing
[postAccountsAccountRequestBodyCapabilities'CardIssuing] :: PostAccountsAccountRequestBodyCapabilities' -> Maybe PostAccountsAccountRequestBodyCapabilities'CardIssuing'
-- | card_payments
[postAccountsAccountRequestBodyCapabilities'CardPayments] :: PostAccountsAccountRequestBodyCapabilities' -> Maybe PostAccountsAccountRequestBodyCapabilities'CardPayments'
-- | cartes_bancaires_payments
[postAccountsAccountRequestBodyCapabilities'CartesBancairesPayments] :: PostAccountsAccountRequestBodyCapabilities' -> Maybe PostAccountsAccountRequestBodyCapabilities'CartesBancairesPayments'
-- | eps_payments
[postAccountsAccountRequestBodyCapabilities'EpsPayments] :: PostAccountsAccountRequestBodyCapabilities' -> Maybe PostAccountsAccountRequestBodyCapabilities'EpsPayments'
-- | fpx_payments
[postAccountsAccountRequestBodyCapabilities'FpxPayments] :: PostAccountsAccountRequestBodyCapabilities' -> Maybe PostAccountsAccountRequestBodyCapabilities'FpxPayments'
-- | giropay_payments
[postAccountsAccountRequestBodyCapabilities'GiropayPayments] :: PostAccountsAccountRequestBodyCapabilities' -> Maybe PostAccountsAccountRequestBodyCapabilities'GiropayPayments'
-- | grabpay_payments
[postAccountsAccountRequestBodyCapabilities'GrabpayPayments] :: PostAccountsAccountRequestBodyCapabilities' -> Maybe PostAccountsAccountRequestBodyCapabilities'GrabpayPayments'
-- | ideal_payments
[postAccountsAccountRequestBodyCapabilities'IdealPayments] :: PostAccountsAccountRequestBodyCapabilities' -> Maybe PostAccountsAccountRequestBodyCapabilities'IdealPayments'
-- | jcb_payments
[postAccountsAccountRequestBodyCapabilities'JcbPayments] :: PostAccountsAccountRequestBodyCapabilities' -> Maybe PostAccountsAccountRequestBodyCapabilities'JcbPayments'
-- | legacy_payments
[postAccountsAccountRequestBodyCapabilities'LegacyPayments] :: PostAccountsAccountRequestBodyCapabilities' -> Maybe PostAccountsAccountRequestBodyCapabilities'LegacyPayments'
-- | oxxo_payments
[postAccountsAccountRequestBodyCapabilities'OxxoPayments] :: PostAccountsAccountRequestBodyCapabilities' -> Maybe PostAccountsAccountRequestBodyCapabilities'OxxoPayments'
-- | p24_payments
[postAccountsAccountRequestBodyCapabilities'P24Payments] :: PostAccountsAccountRequestBodyCapabilities' -> Maybe PostAccountsAccountRequestBodyCapabilities'P24Payments'
-- | sepa_debit_payments
[postAccountsAccountRequestBodyCapabilities'SepaDebitPayments] :: PostAccountsAccountRequestBodyCapabilities' -> Maybe PostAccountsAccountRequestBodyCapabilities'SepaDebitPayments'
-- | sofort_payments
[postAccountsAccountRequestBodyCapabilities'SofortPayments] :: PostAccountsAccountRequestBodyCapabilities' -> Maybe PostAccountsAccountRequestBodyCapabilities'SofortPayments'
-- | tax_reporting_us_1099_k
[postAccountsAccountRequestBodyCapabilities'TaxReportingUs_1099K] :: PostAccountsAccountRequestBodyCapabilities' -> Maybe PostAccountsAccountRequestBodyCapabilities'TaxReportingUs_1099K'
-- | tax_reporting_us_1099_misc
[postAccountsAccountRequestBodyCapabilities'TaxReportingUs_1099Misc] :: PostAccountsAccountRequestBodyCapabilities' -> Maybe PostAccountsAccountRequestBodyCapabilities'TaxReportingUs_1099Misc'
-- | transfers
[postAccountsAccountRequestBodyCapabilities'Transfers] :: PostAccountsAccountRequestBodyCapabilities' -> Maybe PostAccountsAccountRequestBodyCapabilities'Transfers'
-- | Create a new PostAccountsAccountRequestBodyCapabilities' with
-- all required fields.
mkPostAccountsAccountRequestBodyCapabilities' :: PostAccountsAccountRequestBodyCapabilities'
-- | Defines the object schema located at
-- paths./v1/accounts/{account}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.acss_debit_payments
-- in the specification.
data PostAccountsAccountRequestBodyCapabilities'AcssDebitPayments'
PostAccountsAccountRequestBodyCapabilities'AcssDebitPayments' :: Maybe Bool -> PostAccountsAccountRequestBodyCapabilities'AcssDebitPayments'
-- | requested
[postAccountsAccountRequestBodyCapabilities'AcssDebitPayments'Requested] :: PostAccountsAccountRequestBodyCapabilities'AcssDebitPayments' -> Maybe Bool
-- | Create a new
-- PostAccountsAccountRequestBodyCapabilities'AcssDebitPayments'
-- with all required fields.
mkPostAccountsAccountRequestBodyCapabilities'AcssDebitPayments' :: PostAccountsAccountRequestBodyCapabilities'AcssDebitPayments'
-- | Defines the object schema located at
-- paths./v1/accounts/{account}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.afterpay_clearpay_payments
-- in the specification.
data PostAccountsAccountRequestBodyCapabilities'AfterpayClearpayPayments'
PostAccountsAccountRequestBodyCapabilities'AfterpayClearpayPayments' :: Maybe Bool -> PostAccountsAccountRequestBodyCapabilities'AfterpayClearpayPayments'
-- | requested
[postAccountsAccountRequestBodyCapabilities'AfterpayClearpayPayments'Requested] :: PostAccountsAccountRequestBodyCapabilities'AfterpayClearpayPayments' -> Maybe Bool
-- | Create a new
-- PostAccountsAccountRequestBodyCapabilities'AfterpayClearpayPayments'
-- with all required fields.
mkPostAccountsAccountRequestBodyCapabilities'AfterpayClearpayPayments' :: PostAccountsAccountRequestBodyCapabilities'AfterpayClearpayPayments'
-- | Defines the object schema located at
-- paths./v1/accounts/{account}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.au_becs_debit_payments
-- in the specification.
data PostAccountsAccountRequestBodyCapabilities'AuBecsDebitPayments'
PostAccountsAccountRequestBodyCapabilities'AuBecsDebitPayments' :: Maybe Bool -> PostAccountsAccountRequestBodyCapabilities'AuBecsDebitPayments'
-- | requested
[postAccountsAccountRequestBodyCapabilities'AuBecsDebitPayments'Requested] :: PostAccountsAccountRequestBodyCapabilities'AuBecsDebitPayments' -> Maybe Bool
-- | Create a new
-- PostAccountsAccountRequestBodyCapabilities'AuBecsDebitPayments'
-- with all required fields.
mkPostAccountsAccountRequestBodyCapabilities'AuBecsDebitPayments' :: PostAccountsAccountRequestBodyCapabilities'AuBecsDebitPayments'
-- | Defines the object schema located at
-- paths./v1/accounts/{account}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.bacs_debit_payments
-- in the specification.
data PostAccountsAccountRequestBodyCapabilities'BacsDebitPayments'
PostAccountsAccountRequestBodyCapabilities'BacsDebitPayments' :: Maybe Bool -> PostAccountsAccountRequestBodyCapabilities'BacsDebitPayments'
-- | requested
[postAccountsAccountRequestBodyCapabilities'BacsDebitPayments'Requested] :: PostAccountsAccountRequestBodyCapabilities'BacsDebitPayments' -> Maybe Bool
-- | Create a new
-- PostAccountsAccountRequestBodyCapabilities'BacsDebitPayments'
-- with all required fields.
mkPostAccountsAccountRequestBodyCapabilities'BacsDebitPayments' :: PostAccountsAccountRequestBodyCapabilities'BacsDebitPayments'
-- | Defines the object schema located at
-- paths./v1/accounts/{account}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.bancontact_payments
-- in the specification.
data PostAccountsAccountRequestBodyCapabilities'BancontactPayments'
PostAccountsAccountRequestBodyCapabilities'BancontactPayments' :: Maybe Bool -> PostAccountsAccountRequestBodyCapabilities'BancontactPayments'
-- | requested
[postAccountsAccountRequestBodyCapabilities'BancontactPayments'Requested] :: PostAccountsAccountRequestBodyCapabilities'BancontactPayments' -> Maybe Bool
-- | Create a new
-- PostAccountsAccountRequestBodyCapabilities'BancontactPayments'
-- with all required fields.
mkPostAccountsAccountRequestBodyCapabilities'BancontactPayments' :: PostAccountsAccountRequestBodyCapabilities'BancontactPayments'
-- | Defines the object schema located at
-- paths./v1/accounts/{account}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.card_issuing
-- in the specification.
data PostAccountsAccountRequestBodyCapabilities'CardIssuing'
PostAccountsAccountRequestBodyCapabilities'CardIssuing' :: Maybe Bool -> PostAccountsAccountRequestBodyCapabilities'CardIssuing'
-- | requested
[postAccountsAccountRequestBodyCapabilities'CardIssuing'Requested] :: PostAccountsAccountRequestBodyCapabilities'CardIssuing' -> Maybe Bool
-- | Create a new
-- PostAccountsAccountRequestBodyCapabilities'CardIssuing' with
-- all required fields.
mkPostAccountsAccountRequestBodyCapabilities'CardIssuing' :: PostAccountsAccountRequestBodyCapabilities'CardIssuing'
-- | Defines the object schema located at
-- paths./v1/accounts/{account}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.card_payments
-- in the specification.
data PostAccountsAccountRequestBodyCapabilities'CardPayments'
PostAccountsAccountRequestBodyCapabilities'CardPayments' :: Maybe Bool -> PostAccountsAccountRequestBodyCapabilities'CardPayments'
-- | requested
[postAccountsAccountRequestBodyCapabilities'CardPayments'Requested] :: PostAccountsAccountRequestBodyCapabilities'CardPayments' -> Maybe Bool
-- | Create a new
-- PostAccountsAccountRequestBodyCapabilities'CardPayments' with
-- all required fields.
mkPostAccountsAccountRequestBodyCapabilities'CardPayments' :: PostAccountsAccountRequestBodyCapabilities'CardPayments'
-- | Defines the object schema located at
-- paths./v1/accounts/{account}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.cartes_bancaires_payments
-- in the specification.
data PostAccountsAccountRequestBodyCapabilities'CartesBancairesPayments'
PostAccountsAccountRequestBodyCapabilities'CartesBancairesPayments' :: Maybe Bool -> PostAccountsAccountRequestBodyCapabilities'CartesBancairesPayments'
-- | requested
[postAccountsAccountRequestBodyCapabilities'CartesBancairesPayments'Requested] :: PostAccountsAccountRequestBodyCapabilities'CartesBancairesPayments' -> Maybe Bool
-- | Create a new
-- PostAccountsAccountRequestBodyCapabilities'CartesBancairesPayments'
-- with all required fields.
mkPostAccountsAccountRequestBodyCapabilities'CartesBancairesPayments' :: PostAccountsAccountRequestBodyCapabilities'CartesBancairesPayments'
-- | Defines the object schema located at
-- paths./v1/accounts/{account}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.eps_payments
-- in the specification.
data PostAccountsAccountRequestBodyCapabilities'EpsPayments'
PostAccountsAccountRequestBodyCapabilities'EpsPayments' :: Maybe Bool -> PostAccountsAccountRequestBodyCapabilities'EpsPayments'
-- | requested
[postAccountsAccountRequestBodyCapabilities'EpsPayments'Requested] :: PostAccountsAccountRequestBodyCapabilities'EpsPayments' -> Maybe Bool
-- | Create a new
-- PostAccountsAccountRequestBodyCapabilities'EpsPayments' with
-- all required fields.
mkPostAccountsAccountRequestBodyCapabilities'EpsPayments' :: PostAccountsAccountRequestBodyCapabilities'EpsPayments'
-- | Defines the object schema located at
-- paths./v1/accounts/{account}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.fpx_payments
-- in the specification.
data PostAccountsAccountRequestBodyCapabilities'FpxPayments'
PostAccountsAccountRequestBodyCapabilities'FpxPayments' :: Maybe Bool -> PostAccountsAccountRequestBodyCapabilities'FpxPayments'
-- | requested
[postAccountsAccountRequestBodyCapabilities'FpxPayments'Requested] :: PostAccountsAccountRequestBodyCapabilities'FpxPayments' -> Maybe Bool
-- | Create a new
-- PostAccountsAccountRequestBodyCapabilities'FpxPayments' with
-- all required fields.
mkPostAccountsAccountRequestBodyCapabilities'FpxPayments' :: PostAccountsAccountRequestBodyCapabilities'FpxPayments'
-- | Defines the object schema located at
-- paths./v1/accounts/{account}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.giropay_payments
-- in the specification.
data PostAccountsAccountRequestBodyCapabilities'GiropayPayments'
PostAccountsAccountRequestBodyCapabilities'GiropayPayments' :: Maybe Bool -> PostAccountsAccountRequestBodyCapabilities'GiropayPayments'
-- | requested
[postAccountsAccountRequestBodyCapabilities'GiropayPayments'Requested] :: PostAccountsAccountRequestBodyCapabilities'GiropayPayments' -> Maybe Bool
-- | Create a new
-- PostAccountsAccountRequestBodyCapabilities'GiropayPayments'
-- with all required fields.
mkPostAccountsAccountRequestBodyCapabilities'GiropayPayments' :: PostAccountsAccountRequestBodyCapabilities'GiropayPayments'
-- | Defines the object schema located at
-- paths./v1/accounts/{account}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.grabpay_payments
-- in the specification.
data PostAccountsAccountRequestBodyCapabilities'GrabpayPayments'
PostAccountsAccountRequestBodyCapabilities'GrabpayPayments' :: Maybe Bool -> PostAccountsAccountRequestBodyCapabilities'GrabpayPayments'
-- | requested
[postAccountsAccountRequestBodyCapabilities'GrabpayPayments'Requested] :: PostAccountsAccountRequestBodyCapabilities'GrabpayPayments' -> Maybe Bool
-- | Create a new
-- PostAccountsAccountRequestBodyCapabilities'GrabpayPayments'
-- with all required fields.
mkPostAccountsAccountRequestBodyCapabilities'GrabpayPayments' :: PostAccountsAccountRequestBodyCapabilities'GrabpayPayments'
-- | Defines the object schema located at
-- paths./v1/accounts/{account}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.ideal_payments
-- in the specification.
data PostAccountsAccountRequestBodyCapabilities'IdealPayments'
PostAccountsAccountRequestBodyCapabilities'IdealPayments' :: Maybe Bool -> PostAccountsAccountRequestBodyCapabilities'IdealPayments'
-- | requested
[postAccountsAccountRequestBodyCapabilities'IdealPayments'Requested] :: PostAccountsAccountRequestBodyCapabilities'IdealPayments' -> Maybe Bool
-- | Create a new
-- PostAccountsAccountRequestBodyCapabilities'IdealPayments' with
-- all required fields.
mkPostAccountsAccountRequestBodyCapabilities'IdealPayments' :: PostAccountsAccountRequestBodyCapabilities'IdealPayments'
-- | Defines the object schema located at
-- paths./v1/accounts/{account}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.jcb_payments
-- in the specification.
data PostAccountsAccountRequestBodyCapabilities'JcbPayments'
PostAccountsAccountRequestBodyCapabilities'JcbPayments' :: Maybe Bool -> PostAccountsAccountRequestBodyCapabilities'JcbPayments'
-- | requested
[postAccountsAccountRequestBodyCapabilities'JcbPayments'Requested] :: PostAccountsAccountRequestBodyCapabilities'JcbPayments' -> Maybe Bool
-- | Create a new
-- PostAccountsAccountRequestBodyCapabilities'JcbPayments' with
-- all required fields.
mkPostAccountsAccountRequestBodyCapabilities'JcbPayments' :: PostAccountsAccountRequestBodyCapabilities'JcbPayments'
-- | Defines the object schema located at
-- paths./v1/accounts/{account}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.legacy_payments
-- in the specification.
data PostAccountsAccountRequestBodyCapabilities'LegacyPayments'
PostAccountsAccountRequestBodyCapabilities'LegacyPayments' :: Maybe Bool -> PostAccountsAccountRequestBodyCapabilities'LegacyPayments'
-- | requested
[postAccountsAccountRequestBodyCapabilities'LegacyPayments'Requested] :: PostAccountsAccountRequestBodyCapabilities'LegacyPayments' -> Maybe Bool
-- | Create a new
-- PostAccountsAccountRequestBodyCapabilities'LegacyPayments' with
-- all required fields.
mkPostAccountsAccountRequestBodyCapabilities'LegacyPayments' :: PostAccountsAccountRequestBodyCapabilities'LegacyPayments'
-- | Defines the object schema located at
-- paths./v1/accounts/{account}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.oxxo_payments
-- in the specification.
data PostAccountsAccountRequestBodyCapabilities'OxxoPayments'
PostAccountsAccountRequestBodyCapabilities'OxxoPayments' :: Maybe Bool -> PostAccountsAccountRequestBodyCapabilities'OxxoPayments'
-- | requested
[postAccountsAccountRequestBodyCapabilities'OxxoPayments'Requested] :: PostAccountsAccountRequestBodyCapabilities'OxxoPayments' -> Maybe Bool
-- | Create a new
-- PostAccountsAccountRequestBodyCapabilities'OxxoPayments' with
-- all required fields.
mkPostAccountsAccountRequestBodyCapabilities'OxxoPayments' :: PostAccountsAccountRequestBodyCapabilities'OxxoPayments'
-- | Defines the object schema located at
-- paths./v1/accounts/{account}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.p24_payments
-- in the specification.
data PostAccountsAccountRequestBodyCapabilities'P24Payments'
PostAccountsAccountRequestBodyCapabilities'P24Payments' :: Maybe Bool -> PostAccountsAccountRequestBodyCapabilities'P24Payments'
-- | requested
[postAccountsAccountRequestBodyCapabilities'P24Payments'Requested] :: PostAccountsAccountRequestBodyCapabilities'P24Payments' -> Maybe Bool
-- | Create a new
-- PostAccountsAccountRequestBodyCapabilities'P24Payments' with
-- all required fields.
mkPostAccountsAccountRequestBodyCapabilities'P24Payments' :: PostAccountsAccountRequestBodyCapabilities'P24Payments'
-- | Defines the object schema located at
-- paths./v1/accounts/{account}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.sepa_debit_payments
-- in the specification.
data PostAccountsAccountRequestBodyCapabilities'SepaDebitPayments'
PostAccountsAccountRequestBodyCapabilities'SepaDebitPayments' :: Maybe Bool -> PostAccountsAccountRequestBodyCapabilities'SepaDebitPayments'
-- | requested
[postAccountsAccountRequestBodyCapabilities'SepaDebitPayments'Requested] :: PostAccountsAccountRequestBodyCapabilities'SepaDebitPayments' -> Maybe Bool
-- | Create a new
-- PostAccountsAccountRequestBodyCapabilities'SepaDebitPayments'
-- with all required fields.
mkPostAccountsAccountRequestBodyCapabilities'SepaDebitPayments' :: PostAccountsAccountRequestBodyCapabilities'SepaDebitPayments'
-- | Defines the object schema located at
-- paths./v1/accounts/{account}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.sofort_payments
-- in the specification.
data PostAccountsAccountRequestBodyCapabilities'SofortPayments'
PostAccountsAccountRequestBodyCapabilities'SofortPayments' :: Maybe Bool -> PostAccountsAccountRequestBodyCapabilities'SofortPayments'
-- | requested
[postAccountsAccountRequestBodyCapabilities'SofortPayments'Requested] :: PostAccountsAccountRequestBodyCapabilities'SofortPayments' -> Maybe Bool
-- | Create a new
-- PostAccountsAccountRequestBodyCapabilities'SofortPayments' with
-- all required fields.
mkPostAccountsAccountRequestBodyCapabilities'SofortPayments' :: PostAccountsAccountRequestBodyCapabilities'SofortPayments'
-- | Defines the object schema located at
-- paths./v1/accounts/{account}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.tax_reporting_us_1099_k
-- in the specification.
data PostAccountsAccountRequestBodyCapabilities'TaxReportingUs_1099K'
PostAccountsAccountRequestBodyCapabilities'TaxReportingUs_1099K' :: Maybe Bool -> PostAccountsAccountRequestBodyCapabilities'TaxReportingUs_1099K'
-- | requested
[postAccountsAccountRequestBodyCapabilities'TaxReportingUs_1099K'Requested] :: PostAccountsAccountRequestBodyCapabilities'TaxReportingUs_1099K' -> Maybe Bool
-- | Create a new
-- PostAccountsAccountRequestBodyCapabilities'TaxReportingUs_1099K'
-- with all required fields.
mkPostAccountsAccountRequestBodyCapabilities'TaxReportingUs_1099K' :: PostAccountsAccountRequestBodyCapabilities'TaxReportingUs_1099K'
-- | Defines the object schema located at
-- paths./v1/accounts/{account}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.tax_reporting_us_1099_misc
-- in the specification.
data PostAccountsAccountRequestBodyCapabilities'TaxReportingUs_1099Misc'
PostAccountsAccountRequestBodyCapabilities'TaxReportingUs_1099Misc' :: Maybe Bool -> PostAccountsAccountRequestBodyCapabilities'TaxReportingUs_1099Misc'
-- | requested
[postAccountsAccountRequestBodyCapabilities'TaxReportingUs_1099Misc'Requested] :: PostAccountsAccountRequestBodyCapabilities'TaxReportingUs_1099Misc' -> Maybe Bool
-- | Create a new
-- PostAccountsAccountRequestBodyCapabilities'TaxReportingUs_1099Misc'
-- with all required fields.
mkPostAccountsAccountRequestBodyCapabilities'TaxReportingUs_1099Misc' :: PostAccountsAccountRequestBodyCapabilities'TaxReportingUs_1099Misc'
-- | Defines the object schema located at
-- paths./v1/accounts/{account}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.transfers
-- in the specification.
data PostAccountsAccountRequestBodyCapabilities'Transfers'
PostAccountsAccountRequestBodyCapabilities'Transfers' :: Maybe Bool -> PostAccountsAccountRequestBodyCapabilities'Transfers'
-- | requested
[postAccountsAccountRequestBodyCapabilities'Transfers'Requested] :: PostAccountsAccountRequestBodyCapabilities'Transfers' -> Maybe Bool
-- | Create a new
-- PostAccountsAccountRequestBodyCapabilities'Transfers' with all
-- required fields.
mkPostAccountsAccountRequestBodyCapabilities'Transfers' :: PostAccountsAccountRequestBodyCapabilities'Transfers'
-- | Defines the object schema located at
-- paths./v1/accounts/{account}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.company
-- in the specification.
--
-- Information about the company or business. This field is available for
-- any `business_type`.
data PostAccountsAccountRequestBodyCompany'
PostAccountsAccountRequestBodyCompany' :: Maybe PostAccountsAccountRequestBodyCompany'Address' -> Maybe PostAccountsAccountRequestBodyCompany'AddressKana' -> Maybe PostAccountsAccountRequestBodyCompany'AddressKanji' -> Maybe Bool -> Maybe Bool -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe Text -> Maybe PostAccountsAccountRequestBodyCompany'Structure' -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe PostAccountsAccountRequestBodyCompany'Verification' -> PostAccountsAccountRequestBodyCompany'
-- | address
[postAccountsAccountRequestBodyCompany'Address] :: PostAccountsAccountRequestBodyCompany' -> Maybe PostAccountsAccountRequestBodyCompany'Address'
-- | address_kana
[postAccountsAccountRequestBodyCompany'AddressKana] :: PostAccountsAccountRequestBodyCompany' -> Maybe PostAccountsAccountRequestBodyCompany'AddressKana'
-- | address_kanji
[postAccountsAccountRequestBodyCompany'AddressKanji] :: PostAccountsAccountRequestBodyCompany' -> Maybe PostAccountsAccountRequestBodyCompany'AddressKanji'
-- | directors_provided
[postAccountsAccountRequestBodyCompany'DirectorsProvided] :: PostAccountsAccountRequestBodyCompany' -> Maybe Bool
-- | executives_provided
[postAccountsAccountRequestBodyCompany'ExecutivesProvided] :: PostAccountsAccountRequestBodyCompany' -> Maybe Bool
-- | name
--
-- Constraints:
--
--
-- - Maximum length of 100
--
[postAccountsAccountRequestBodyCompany'Name] :: PostAccountsAccountRequestBodyCompany' -> Maybe Text
-- | name_kana
--
-- Constraints:
--
--
-- - Maximum length of 100
--
[postAccountsAccountRequestBodyCompany'NameKana] :: PostAccountsAccountRequestBodyCompany' -> Maybe Text
-- | name_kanji
--
-- Constraints:
--
--
-- - Maximum length of 100
--
[postAccountsAccountRequestBodyCompany'NameKanji] :: PostAccountsAccountRequestBodyCompany' -> Maybe Text
-- | owners_provided
[postAccountsAccountRequestBodyCompany'OwnersProvided] :: PostAccountsAccountRequestBodyCompany' -> Maybe Bool
-- | phone
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountRequestBodyCompany'Phone] :: PostAccountsAccountRequestBodyCompany' -> Maybe Text
-- | registration_number
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountRequestBodyCompany'RegistrationNumber] :: PostAccountsAccountRequestBodyCompany' -> Maybe Text
-- | structure
[postAccountsAccountRequestBodyCompany'Structure] :: PostAccountsAccountRequestBodyCompany' -> Maybe PostAccountsAccountRequestBodyCompany'Structure'
-- | tax_id
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountRequestBodyCompany'TaxId] :: PostAccountsAccountRequestBodyCompany' -> Maybe Text
-- | tax_id_registrar
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountRequestBodyCompany'TaxIdRegistrar] :: PostAccountsAccountRequestBodyCompany' -> Maybe Text
-- | vat_id
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountRequestBodyCompany'VatId] :: PostAccountsAccountRequestBodyCompany' -> Maybe Text
-- | verification
[postAccountsAccountRequestBodyCompany'Verification] :: PostAccountsAccountRequestBodyCompany' -> Maybe PostAccountsAccountRequestBodyCompany'Verification'
-- | Create a new PostAccountsAccountRequestBodyCompany' with all
-- required fields.
mkPostAccountsAccountRequestBodyCompany' :: PostAccountsAccountRequestBodyCompany'
-- | Defines the object schema located at
-- paths./v1/accounts/{account}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.company.properties.address
-- in the specification.
data PostAccountsAccountRequestBodyCompany'Address'
PostAccountsAccountRequestBodyCompany'Address' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PostAccountsAccountRequestBodyCompany'Address'
-- | city
--
-- Constraints:
--
--
-- - Maximum length of 100
--
[postAccountsAccountRequestBodyCompany'Address'City] :: PostAccountsAccountRequestBodyCompany'Address' -> Maybe Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountRequestBodyCompany'Address'Country] :: PostAccountsAccountRequestBodyCompany'Address' -> Maybe Text
-- | line1
--
-- Constraints:
--
--
-- - Maximum length of 200
--
[postAccountsAccountRequestBodyCompany'Address'Line1] :: PostAccountsAccountRequestBodyCompany'Address' -> Maybe Text
-- | line2
--
-- Constraints:
--
--
-- - Maximum length of 200
--
[postAccountsAccountRequestBodyCompany'Address'Line2] :: PostAccountsAccountRequestBodyCompany'Address' -> Maybe Text
-- | postal_code
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountRequestBodyCompany'Address'PostalCode] :: PostAccountsAccountRequestBodyCompany'Address' -> Maybe Text
-- | state
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountRequestBodyCompany'Address'State] :: PostAccountsAccountRequestBodyCompany'Address' -> Maybe Text
-- | Create a new PostAccountsAccountRequestBodyCompany'Address'
-- with all required fields.
mkPostAccountsAccountRequestBodyCompany'Address' :: PostAccountsAccountRequestBodyCompany'Address'
-- | Defines the object schema located at
-- paths./v1/accounts/{account}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.company.properties.address_kana
-- in the specification.
data PostAccountsAccountRequestBodyCompany'AddressKana'
PostAccountsAccountRequestBodyCompany'AddressKana' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PostAccountsAccountRequestBodyCompany'AddressKana'
-- | city
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountRequestBodyCompany'AddressKana'City] :: PostAccountsAccountRequestBodyCompany'AddressKana' -> Maybe Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountRequestBodyCompany'AddressKana'Country] :: PostAccountsAccountRequestBodyCompany'AddressKana' -> Maybe Text
-- | line1
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountRequestBodyCompany'AddressKana'Line1] :: PostAccountsAccountRequestBodyCompany'AddressKana' -> Maybe Text
-- | line2
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountRequestBodyCompany'AddressKana'Line2] :: PostAccountsAccountRequestBodyCompany'AddressKana' -> Maybe Text
-- | postal_code
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountRequestBodyCompany'AddressKana'PostalCode] :: PostAccountsAccountRequestBodyCompany'AddressKana' -> Maybe Text
-- | state
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountRequestBodyCompany'AddressKana'State] :: PostAccountsAccountRequestBodyCompany'AddressKana' -> Maybe Text
-- | town
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountRequestBodyCompany'AddressKana'Town] :: PostAccountsAccountRequestBodyCompany'AddressKana' -> Maybe Text
-- | Create a new PostAccountsAccountRequestBodyCompany'AddressKana'
-- with all required fields.
mkPostAccountsAccountRequestBodyCompany'AddressKana' :: PostAccountsAccountRequestBodyCompany'AddressKana'
-- | Defines the object schema located at
-- paths./v1/accounts/{account}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.company.properties.address_kanji
-- in the specification.
data PostAccountsAccountRequestBodyCompany'AddressKanji'
PostAccountsAccountRequestBodyCompany'AddressKanji' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PostAccountsAccountRequestBodyCompany'AddressKanji'
-- | city
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountRequestBodyCompany'AddressKanji'City] :: PostAccountsAccountRequestBodyCompany'AddressKanji' -> Maybe Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountRequestBodyCompany'AddressKanji'Country] :: PostAccountsAccountRequestBodyCompany'AddressKanji' -> Maybe Text
-- | line1
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountRequestBodyCompany'AddressKanji'Line1] :: PostAccountsAccountRequestBodyCompany'AddressKanji' -> Maybe Text
-- | line2
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountRequestBodyCompany'AddressKanji'Line2] :: PostAccountsAccountRequestBodyCompany'AddressKanji' -> Maybe Text
-- | postal_code
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountRequestBodyCompany'AddressKanji'PostalCode] :: PostAccountsAccountRequestBodyCompany'AddressKanji' -> Maybe Text
-- | state
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountRequestBodyCompany'AddressKanji'State] :: PostAccountsAccountRequestBodyCompany'AddressKanji' -> Maybe Text
-- | town
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountRequestBodyCompany'AddressKanji'Town] :: PostAccountsAccountRequestBodyCompany'AddressKanji' -> Maybe Text
-- | Create a new
-- PostAccountsAccountRequestBodyCompany'AddressKanji' with all
-- required fields.
mkPostAccountsAccountRequestBodyCompany'AddressKanji' :: PostAccountsAccountRequestBodyCompany'AddressKanji'
-- | Defines the enum schema located at
-- paths./v1/accounts/{account}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.company.properties.structure
-- in the specification.
data PostAccountsAccountRequestBodyCompany'Structure'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostAccountsAccountRequestBodyCompany'Structure'Other :: Value -> PostAccountsAccountRequestBodyCompany'Structure'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostAccountsAccountRequestBodyCompany'Structure'Typed :: Text -> PostAccountsAccountRequestBodyCompany'Structure'
-- | Represents the JSON value ""
PostAccountsAccountRequestBodyCompany'Structure'EnumEmptyString :: PostAccountsAccountRequestBodyCompany'Structure'
-- | Represents the JSON value "free_zone_establishment"
PostAccountsAccountRequestBodyCompany'Structure'EnumFreeZoneEstablishment :: PostAccountsAccountRequestBodyCompany'Structure'
-- | Represents the JSON value "free_zone_llc"
PostAccountsAccountRequestBodyCompany'Structure'EnumFreeZoneLlc :: PostAccountsAccountRequestBodyCompany'Structure'
-- | Represents the JSON value "government_instrumentality"
PostAccountsAccountRequestBodyCompany'Structure'EnumGovernmentInstrumentality :: PostAccountsAccountRequestBodyCompany'Structure'
-- | Represents the JSON value "governmental_unit"
PostAccountsAccountRequestBodyCompany'Structure'EnumGovernmentalUnit :: PostAccountsAccountRequestBodyCompany'Structure'
-- | Represents the JSON value "incorporated_non_profit"
PostAccountsAccountRequestBodyCompany'Structure'EnumIncorporatedNonProfit :: PostAccountsAccountRequestBodyCompany'Structure'
-- | Represents the JSON value "limited_liability_partnership"
PostAccountsAccountRequestBodyCompany'Structure'EnumLimitedLiabilityPartnership :: PostAccountsAccountRequestBodyCompany'Structure'
-- | Represents the JSON value "llc"
PostAccountsAccountRequestBodyCompany'Structure'EnumLlc :: PostAccountsAccountRequestBodyCompany'Structure'
-- | Represents the JSON value "multi_member_llc"
PostAccountsAccountRequestBodyCompany'Structure'EnumMultiMemberLlc :: PostAccountsAccountRequestBodyCompany'Structure'
-- | Represents the JSON value "private_company"
PostAccountsAccountRequestBodyCompany'Structure'EnumPrivateCompany :: PostAccountsAccountRequestBodyCompany'Structure'
-- | Represents the JSON value "private_corporation"
PostAccountsAccountRequestBodyCompany'Structure'EnumPrivateCorporation :: PostAccountsAccountRequestBodyCompany'Structure'
-- | Represents the JSON value "private_partnership"
PostAccountsAccountRequestBodyCompany'Structure'EnumPrivatePartnership :: PostAccountsAccountRequestBodyCompany'Structure'
-- | Represents the JSON value "public_company"
PostAccountsAccountRequestBodyCompany'Structure'EnumPublicCompany :: PostAccountsAccountRequestBodyCompany'Structure'
-- | Represents the JSON value "public_corporation"
PostAccountsAccountRequestBodyCompany'Structure'EnumPublicCorporation :: PostAccountsAccountRequestBodyCompany'Structure'
-- | Represents the JSON value "public_partnership"
PostAccountsAccountRequestBodyCompany'Structure'EnumPublicPartnership :: PostAccountsAccountRequestBodyCompany'Structure'
-- | Represents the JSON value "single_member_llc"
PostAccountsAccountRequestBodyCompany'Structure'EnumSingleMemberLlc :: PostAccountsAccountRequestBodyCompany'Structure'
-- | Represents the JSON value "sole_establishment"
PostAccountsAccountRequestBodyCompany'Structure'EnumSoleEstablishment :: PostAccountsAccountRequestBodyCompany'Structure'
-- | Represents the JSON value "sole_proprietorship"
PostAccountsAccountRequestBodyCompany'Structure'EnumSoleProprietorship :: PostAccountsAccountRequestBodyCompany'Structure'
-- | Represents the JSON value
-- "tax_exempt_government_instrumentality"
PostAccountsAccountRequestBodyCompany'Structure'EnumTaxExemptGovernmentInstrumentality :: PostAccountsAccountRequestBodyCompany'Structure'
-- | Represents the JSON value "unincorporated_association"
PostAccountsAccountRequestBodyCompany'Structure'EnumUnincorporatedAssociation :: PostAccountsAccountRequestBodyCompany'Structure'
-- | Represents the JSON value "unincorporated_non_profit"
PostAccountsAccountRequestBodyCompany'Structure'EnumUnincorporatedNonProfit :: PostAccountsAccountRequestBodyCompany'Structure'
-- | Defines the object schema located at
-- paths./v1/accounts/{account}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.company.properties.verification
-- in the specification.
data PostAccountsAccountRequestBodyCompany'Verification'
PostAccountsAccountRequestBodyCompany'Verification' :: Maybe PostAccountsAccountRequestBodyCompany'Verification'Document' -> PostAccountsAccountRequestBodyCompany'Verification'
-- | document
[postAccountsAccountRequestBodyCompany'Verification'Document] :: PostAccountsAccountRequestBodyCompany'Verification' -> Maybe PostAccountsAccountRequestBodyCompany'Verification'Document'
-- | Create a new
-- PostAccountsAccountRequestBodyCompany'Verification' with all
-- required fields.
mkPostAccountsAccountRequestBodyCompany'Verification' :: PostAccountsAccountRequestBodyCompany'Verification'
-- | Defines the object schema located at
-- paths./v1/accounts/{account}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.company.properties.verification.properties.document
-- in the specification.
data PostAccountsAccountRequestBodyCompany'Verification'Document'
PostAccountsAccountRequestBodyCompany'Verification'Document' :: Maybe Text -> Maybe Text -> PostAccountsAccountRequestBodyCompany'Verification'Document'
-- | back
--
-- Constraints:
--
--
-- - Maximum length of 500
--
[postAccountsAccountRequestBodyCompany'Verification'Document'Back] :: PostAccountsAccountRequestBodyCompany'Verification'Document' -> Maybe Text
-- | front
--
-- Constraints:
--
--
-- - Maximum length of 500
--
[postAccountsAccountRequestBodyCompany'Verification'Document'Front] :: PostAccountsAccountRequestBodyCompany'Verification'Document' -> Maybe Text
-- | Create a new
-- PostAccountsAccountRequestBodyCompany'Verification'Document'
-- with all required fields.
mkPostAccountsAccountRequestBodyCompany'Verification'Document' :: PostAccountsAccountRequestBodyCompany'Verification'Document'
-- | Defines the object schema located at
-- paths./v1/accounts/{account}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.documents
-- in the specification.
--
-- Documents that may be submitted to satisfy various informational
-- requests.
data PostAccountsAccountRequestBodyDocuments'
PostAccountsAccountRequestBodyDocuments' :: Maybe PostAccountsAccountRequestBodyDocuments'BankAccountOwnershipVerification' -> Maybe PostAccountsAccountRequestBodyDocuments'CompanyLicense' -> Maybe PostAccountsAccountRequestBodyDocuments'CompanyMemorandumOfAssociation' -> Maybe PostAccountsAccountRequestBodyDocuments'CompanyMinisterialDecree' -> Maybe PostAccountsAccountRequestBodyDocuments'CompanyRegistrationVerification' -> Maybe PostAccountsAccountRequestBodyDocuments'CompanyTaxIdVerification' -> PostAccountsAccountRequestBodyDocuments'
-- | bank_account_ownership_verification
[postAccountsAccountRequestBodyDocuments'BankAccountOwnershipVerification] :: PostAccountsAccountRequestBodyDocuments' -> Maybe PostAccountsAccountRequestBodyDocuments'BankAccountOwnershipVerification'
-- | company_license
[postAccountsAccountRequestBodyDocuments'CompanyLicense] :: PostAccountsAccountRequestBodyDocuments' -> Maybe PostAccountsAccountRequestBodyDocuments'CompanyLicense'
-- | company_memorandum_of_association
[postAccountsAccountRequestBodyDocuments'CompanyMemorandumOfAssociation] :: PostAccountsAccountRequestBodyDocuments' -> Maybe PostAccountsAccountRequestBodyDocuments'CompanyMemorandumOfAssociation'
-- | company_ministerial_decree
[postAccountsAccountRequestBodyDocuments'CompanyMinisterialDecree] :: PostAccountsAccountRequestBodyDocuments' -> Maybe PostAccountsAccountRequestBodyDocuments'CompanyMinisterialDecree'
-- | company_registration_verification
[postAccountsAccountRequestBodyDocuments'CompanyRegistrationVerification] :: PostAccountsAccountRequestBodyDocuments' -> Maybe PostAccountsAccountRequestBodyDocuments'CompanyRegistrationVerification'
-- | company_tax_id_verification
[postAccountsAccountRequestBodyDocuments'CompanyTaxIdVerification] :: PostAccountsAccountRequestBodyDocuments' -> Maybe PostAccountsAccountRequestBodyDocuments'CompanyTaxIdVerification'
-- | Create a new PostAccountsAccountRequestBodyDocuments' with all
-- required fields.
mkPostAccountsAccountRequestBodyDocuments' :: PostAccountsAccountRequestBodyDocuments'
-- | Defines the object schema located at
-- paths./v1/accounts/{account}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.documents.properties.bank_account_ownership_verification
-- in the specification.
data PostAccountsAccountRequestBodyDocuments'BankAccountOwnershipVerification'
PostAccountsAccountRequestBodyDocuments'BankAccountOwnershipVerification' :: Maybe [Text] -> PostAccountsAccountRequestBodyDocuments'BankAccountOwnershipVerification'
-- | files
[postAccountsAccountRequestBodyDocuments'BankAccountOwnershipVerification'Files] :: PostAccountsAccountRequestBodyDocuments'BankAccountOwnershipVerification' -> Maybe [Text]
-- | Create a new
-- PostAccountsAccountRequestBodyDocuments'BankAccountOwnershipVerification'
-- with all required fields.
mkPostAccountsAccountRequestBodyDocuments'BankAccountOwnershipVerification' :: PostAccountsAccountRequestBodyDocuments'BankAccountOwnershipVerification'
-- | Defines the object schema located at
-- paths./v1/accounts/{account}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.documents.properties.company_license
-- in the specification.
data PostAccountsAccountRequestBodyDocuments'CompanyLicense'
PostAccountsAccountRequestBodyDocuments'CompanyLicense' :: Maybe [Text] -> PostAccountsAccountRequestBodyDocuments'CompanyLicense'
-- | files
[postAccountsAccountRequestBodyDocuments'CompanyLicense'Files] :: PostAccountsAccountRequestBodyDocuments'CompanyLicense' -> Maybe [Text]
-- | Create a new
-- PostAccountsAccountRequestBodyDocuments'CompanyLicense' with
-- all required fields.
mkPostAccountsAccountRequestBodyDocuments'CompanyLicense' :: PostAccountsAccountRequestBodyDocuments'CompanyLicense'
-- | Defines the object schema located at
-- paths./v1/accounts/{account}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.documents.properties.company_memorandum_of_association
-- in the specification.
data PostAccountsAccountRequestBodyDocuments'CompanyMemorandumOfAssociation'
PostAccountsAccountRequestBodyDocuments'CompanyMemorandumOfAssociation' :: Maybe [Text] -> PostAccountsAccountRequestBodyDocuments'CompanyMemorandumOfAssociation'
-- | files
[postAccountsAccountRequestBodyDocuments'CompanyMemorandumOfAssociation'Files] :: PostAccountsAccountRequestBodyDocuments'CompanyMemorandumOfAssociation' -> Maybe [Text]
-- | Create a new
-- PostAccountsAccountRequestBodyDocuments'CompanyMemorandumOfAssociation'
-- with all required fields.
mkPostAccountsAccountRequestBodyDocuments'CompanyMemorandumOfAssociation' :: PostAccountsAccountRequestBodyDocuments'CompanyMemorandumOfAssociation'
-- | Defines the object schema located at
-- paths./v1/accounts/{account}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.documents.properties.company_ministerial_decree
-- in the specification.
data PostAccountsAccountRequestBodyDocuments'CompanyMinisterialDecree'
PostAccountsAccountRequestBodyDocuments'CompanyMinisterialDecree' :: Maybe [Text] -> PostAccountsAccountRequestBodyDocuments'CompanyMinisterialDecree'
-- | files
[postAccountsAccountRequestBodyDocuments'CompanyMinisterialDecree'Files] :: PostAccountsAccountRequestBodyDocuments'CompanyMinisterialDecree' -> Maybe [Text]
-- | Create a new
-- PostAccountsAccountRequestBodyDocuments'CompanyMinisterialDecree'
-- with all required fields.
mkPostAccountsAccountRequestBodyDocuments'CompanyMinisterialDecree' :: PostAccountsAccountRequestBodyDocuments'CompanyMinisterialDecree'
-- | Defines the object schema located at
-- paths./v1/accounts/{account}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.documents.properties.company_registration_verification
-- in the specification.
data PostAccountsAccountRequestBodyDocuments'CompanyRegistrationVerification'
PostAccountsAccountRequestBodyDocuments'CompanyRegistrationVerification' :: Maybe [Text] -> PostAccountsAccountRequestBodyDocuments'CompanyRegistrationVerification'
-- | files
[postAccountsAccountRequestBodyDocuments'CompanyRegistrationVerification'Files] :: PostAccountsAccountRequestBodyDocuments'CompanyRegistrationVerification' -> Maybe [Text]
-- | Create a new
-- PostAccountsAccountRequestBodyDocuments'CompanyRegistrationVerification'
-- with all required fields.
mkPostAccountsAccountRequestBodyDocuments'CompanyRegistrationVerification' :: PostAccountsAccountRequestBodyDocuments'CompanyRegistrationVerification'
-- | Defines the object schema located at
-- paths./v1/accounts/{account}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.documents.properties.company_tax_id_verification
-- in the specification.
data PostAccountsAccountRequestBodyDocuments'CompanyTaxIdVerification'
PostAccountsAccountRequestBodyDocuments'CompanyTaxIdVerification' :: Maybe [Text] -> PostAccountsAccountRequestBodyDocuments'CompanyTaxIdVerification'
-- | files
[postAccountsAccountRequestBodyDocuments'CompanyTaxIdVerification'Files] :: PostAccountsAccountRequestBodyDocuments'CompanyTaxIdVerification' -> Maybe [Text]
-- | Create a new
-- PostAccountsAccountRequestBodyDocuments'CompanyTaxIdVerification'
-- with all required fields.
mkPostAccountsAccountRequestBodyDocuments'CompanyTaxIdVerification' :: PostAccountsAccountRequestBodyDocuments'CompanyTaxIdVerification'
-- | Defines the object schema located at
-- paths./v1/accounts/{account}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.individual
-- in the specification.
--
-- Information about the person represented by the account. This field is
-- null unless `business_type` is set to `individual`.
data PostAccountsAccountRequestBodyIndividual'
PostAccountsAccountRequestBodyIndividual' :: Maybe PostAccountsAccountRequestBodyIndividual'Address' -> Maybe PostAccountsAccountRequestBodyIndividual'AddressKana' -> Maybe PostAccountsAccountRequestBodyIndividual'AddressKanji' -> Maybe PostAccountsAccountRequestBodyIndividual'Dob'Variants -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe PostAccountsAccountRequestBodyIndividual'Metadata'Variants -> Maybe Text -> Maybe PostAccountsAccountRequestBodyIndividual'PoliticalExposure' -> Maybe Text -> Maybe PostAccountsAccountRequestBodyIndividual'Verification' -> PostAccountsAccountRequestBodyIndividual'
-- | address
[postAccountsAccountRequestBodyIndividual'Address] :: PostAccountsAccountRequestBodyIndividual' -> Maybe PostAccountsAccountRequestBodyIndividual'Address'
-- | address_kana
[postAccountsAccountRequestBodyIndividual'AddressKana] :: PostAccountsAccountRequestBodyIndividual' -> Maybe PostAccountsAccountRequestBodyIndividual'AddressKana'
-- | address_kanji
[postAccountsAccountRequestBodyIndividual'AddressKanji] :: PostAccountsAccountRequestBodyIndividual' -> Maybe PostAccountsAccountRequestBodyIndividual'AddressKanji'
-- | dob
[postAccountsAccountRequestBodyIndividual'Dob] :: PostAccountsAccountRequestBodyIndividual' -> Maybe PostAccountsAccountRequestBodyIndividual'Dob'Variants
-- | email
[postAccountsAccountRequestBodyIndividual'Email] :: PostAccountsAccountRequestBodyIndividual' -> Maybe Text
-- | first_name
--
-- Constraints:
--
--
-- - Maximum length of 100
--
[postAccountsAccountRequestBodyIndividual'FirstName] :: PostAccountsAccountRequestBodyIndividual' -> Maybe Text
-- | first_name_kana
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountRequestBodyIndividual'FirstNameKana] :: PostAccountsAccountRequestBodyIndividual' -> Maybe Text
-- | first_name_kanji
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountRequestBodyIndividual'FirstNameKanji] :: PostAccountsAccountRequestBodyIndividual' -> Maybe Text
-- | gender
[postAccountsAccountRequestBodyIndividual'Gender] :: PostAccountsAccountRequestBodyIndividual' -> Maybe Text
-- | id_number
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountRequestBodyIndividual'IdNumber] :: PostAccountsAccountRequestBodyIndividual' -> Maybe Text
-- | last_name
--
-- Constraints:
--
--
-- - Maximum length of 100
--
[postAccountsAccountRequestBodyIndividual'LastName] :: PostAccountsAccountRequestBodyIndividual' -> Maybe Text
-- | last_name_kana
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountRequestBodyIndividual'LastNameKana] :: PostAccountsAccountRequestBodyIndividual' -> Maybe Text
-- | last_name_kanji
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountRequestBodyIndividual'LastNameKanji] :: PostAccountsAccountRequestBodyIndividual' -> Maybe Text
-- | maiden_name
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountRequestBodyIndividual'MaidenName] :: PostAccountsAccountRequestBodyIndividual' -> Maybe Text
-- | metadata
[postAccountsAccountRequestBodyIndividual'Metadata] :: PostAccountsAccountRequestBodyIndividual' -> Maybe PostAccountsAccountRequestBodyIndividual'Metadata'Variants
-- | phone
[postAccountsAccountRequestBodyIndividual'Phone] :: PostAccountsAccountRequestBodyIndividual' -> Maybe Text
-- | political_exposure
[postAccountsAccountRequestBodyIndividual'PoliticalExposure] :: PostAccountsAccountRequestBodyIndividual' -> Maybe PostAccountsAccountRequestBodyIndividual'PoliticalExposure'
-- | ssn_last_4
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountRequestBodyIndividual'SsnLast_4] :: PostAccountsAccountRequestBodyIndividual' -> Maybe Text
-- | verification
[postAccountsAccountRequestBodyIndividual'Verification] :: PostAccountsAccountRequestBodyIndividual' -> Maybe PostAccountsAccountRequestBodyIndividual'Verification'
-- | Create a new PostAccountsAccountRequestBodyIndividual' with all
-- required fields.
mkPostAccountsAccountRequestBodyIndividual' :: PostAccountsAccountRequestBodyIndividual'
-- | Defines the object schema located at
-- paths./v1/accounts/{account}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.individual.properties.address
-- in the specification.
data PostAccountsAccountRequestBodyIndividual'Address'
PostAccountsAccountRequestBodyIndividual'Address' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PostAccountsAccountRequestBodyIndividual'Address'
-- | city
--
-- Constraints:
--
--
-- - Maximum length of 100
--
[postAccountsAccountRequestBodyIndividual'Address'City] :: PostAccountsAccountRequestBodyIndividual'Address' -> Maybe Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountRequestBodyIndividual'Address'Country] :: PostAccountsAccountRequestBodyIndividual'Address' -> Maybe Text
-- | line1
--
-- Constraints:
--
--
-- - Maximum length of 200
--
[postAccountsAccountRequestBodyIndividual'Address'Line1] :: PostAccountsAccountRequestBodyIndividual'Address' -> Maybe Text
-- | line2
--
-- Constraints:
--
--
-- - Maximum length of 200
--
[postAccountsAccountRequestBodyIndividual'Address'Line2] :: PostAccountsAccountRequestBodyIndividual'Address' -> Maybe Text
-- | postal_code
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountRequestBodyIndividual'Address'PostalCode] :: PostAccountsAccountRequestBodyIndividual'Address' -> Maybe Text
-- | state
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountRequestBodyIndividual'Address'State] :: PostAccountsAccountRequestBodyIndividual'Address' -> Maybe Text
-- | Create a new PostAccountsAccountRequestBodyIndividual'Address'
-- with all required fields.
mkPostAccountsAccountRequestBodyIndividual'Address' :: PostAccountsAccountRequestBodyIndividual'Address'
-- | Defines the object schema located at
-- paths./v1/accounts/{account}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.individual.properties.address_kana
-- in the specification.
data PostAccountsAccountRequestBodyIndividual'AddressKana'
PostAccountsAccountRequestBodyIndividual'AddressKana' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PostAccountsAccountRequestBodyIndividual'AddressKana'
-- | city
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountRequestBodyIndividual'AddressKana'City] :: PostAccountsAccountRequestBodyIndividual'AddressKana' -> Maybe Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountRequestBodyIndividual'AddressKana'Country] :: PostAccountsAccountRequestBodyIndividual'AddressKana' -> Maybe Text
-- | line1
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountRequestBodyIndividual'AddressKana'Line1] :: PostAccountsAccountRequestBodyIndividual'AddressKana' -> Maybe Text
-- | line2
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountRequestBodyIndividual'AddressKana'Line2] :: PostAccountsAccountRequestBodyIndividual'AddressKana' -> Maybe Text
-- | postal_code
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountRequestBodyIndividual'AddressKana'PostalCode] :: PostAccountsAccountRequestBodyIndividual'AddressKana' -> Maybe Text
-- | state
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountRequestBodyIndividual'AddressKana'State] :: PostAccountsAccountRequestBodyIndividual'AddressKana' -> Maybe Text
-- | town
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountRequestBodyIndividual'AddressKana'Town] :: PostAccountsAccountRequestBodyIndividual'AddressKana' -> Maybe Text
-- | Create a new
-- PostAccountsAccountRequestBodyIndividual'AddressKana' with all
-- required fields.
mkPostAccountsAccountRequestBodyIndividual'AddressKana' :: PostAccountsAccountRequestBodyIndividual'AddressKana'
-- | Defines the object schema located at
-- paths./v1/accounts/{account}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.individual.properties.address_kanji
-- in the specification.
data PostAccountsAccountRequestBodyIndividual'AddressKanji'
PostAccountsAccountRequestBodyIndividual'AddressKanji' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PostAccountsAccountRequestBodyIndividual'AddressKanji'
-- | city
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountRequestBodyIndividual'AddressKanji'City] :: PostAccountsAccountRequestBodyIndividual'AddressKanji' -> Maybe Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountRequestBodyIndividual'AddressKanji'Country] :: PostAccountsAccountRequestBodyIndividual'AddressKanji' -> Maybe Text
-- | line1
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountRequestBodyIndividual'AddressKanji'Line1] :: PostAccountsAccountRequestBodyIndividual'AddressKanji' -> Maybe Text
-- | line2
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountRequestBodyIndividual'AddressKanji'Line2] :: PostAccountsAccountRequestBodyIndividual'AddressKanji' -> Maybe Text
-- | postal_code
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountRequestBodyIndividual'AddressKanji'PostalCode] :: PostAccountsAccountRequestBodyIndividual'AddressKanji' -> Maybe Text
-- | state
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountRequestBodyIndividual'AddressKanji'State] :: PostAccountsAccountRequestBodyIndividual'AddressKanji' -> Maybe Text
-- | town
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountRequestBodyIndividual'AddressKanji'Town] :: PostAccountsAccountRequestBodyIndividual'AddressKanji' -> Maybe Text
-- | Create a new
-- PostAccountsAccountRequestBodyIndividual'AddressKanji' with all
-- required fields.
mkPostAccountsAccountRequestBodyIndividual'AddressKanji' :: PostAccountsAccountRequestBodyIndividual'AddressKanji'
-- | Defines the object schema located at
-- paths./v1/accounts/{account}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.individual.properties.dob.anyOf
-- in the specification.
data PostAccountsAccountRequestBodyIndividual'Dob'OneOf1
PostAccountsAccountRequestBodyIndividual'Dob'OneOf1 :: Int -> Int -> Int -> PostAccountsAccountRequestBodyIndividual'Dob'OneOf1
-- | day
[postAccountsAccountRequestBodyIndividual'Dob'OneOf1Day] :: PostAccountsAccountRequestBodyIndividual'Dob'OneOf1 -> Int
-- | month
[postAccountsAccountRequestBodyIndividual'Dob'OneOf1Month] :: PostAccountsAccountRequestBodyIndividual'Dob'OneOf1 -> Int
-- | year
[postAccountsAccountRequestBodyIndividual'Dob'OneOf1Year] :: PostAccountsAccountRequestBodyIndividual'Dob'OneOf1 -> Int
-- | Create a new
-- PostAccountsAccountRequestBodyIndividual'Dob'OneOf1 with all
-- required fields.
mkPostAccountsAccountRequestBodyIndividual'Dob'OneOf1 :: Int -> Int -> Int -> PostAccountsAccountRequestBodyIndividual'Dob'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/accounts/{account}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.individual.properties.dob.anyOf
-- in the specification.
data PostAccountsAccountRequestBodyIndividual'Dob'Variants
-- | Represents the JSON value ""
PostAccountsAccountRequestBodyIndividual'Dob'EmptyString :: PostAccountsAccountRequestBodyIndividual'Dob'Variants
PostAccountsAccountRequestBodyIndividual'Dob'PostAccountsAccountRequestBodyIndividual'Dob'OneOf1 :: PostAccountsAccountRequestBodyIndividual'Dob'OneOf1 -> PostAccountsAccountRequestBodyIndividual'Dob'Variants
-- | Defines the oneOf schema located at
-- paths./v1/accounts/{account}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.individual.properties.metadata.anyOf
-- in the specification.
data PostAccountsAccountRequestBodyIndividual'Metadata'Variants
-- | Represents the JSON value ""
PostAccountsAccountRequestBodyIndividual'Metadata'EmptyString :: PostAccountsAccountRequestBodyIndividual'Metadata'Variants
PostAccountsAccountRequestBodyIndividual'Metadata'Object :: Object -> PostAccountsAccountRequestBodyIndividual'Metadata'Variants
-- | Defines the enum schema located at
-- paths./v1/accounts/{account}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.individual.properties.political_exposure
-- in the specification.
data PostAccountsAccountRequestBodyIndividual'PoliticalExposure'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostAccountsAccountRequestBodyIndividual'PoliticalExposure'Other :: Value -> PostAccountsAccountRequestBodyIndividual'PoliticalExposure'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostAccountsAccountRequestBodyIndividual'PoliticalExposure'Typed :: Text -> PostAccountsAccountRequestBodyIndividual'PoliticalExposure'
-- | Represents the JSON value "existing"
PostAccountsAccountRequestBodyIndividual'PoliticalExposure'EnumExisting :: PostAccountsAccountRequestBodyIndividual'PoliticalExposure'
-- | Represents the JSON value "none"
PostAccountsAccountRequestBodyIndividual'PoliticalExposure'EnumNone :: PostAccountsAccountRequestBodyIndividual'PoliticalExposure'
-- | Defines the object schema located at
-- paths./v1/accounts/{account}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.individual.properties.verification
-- in the specification.
data PostAccountsAccountRequestBodyIndividual'Verification'
PostAccountsAccountRequestBodyIndividual'Verification' :: Maybe PostAccountsAccountRequestBodyIndividual'Verification'AdditionalDocument' -> Maybe PostAccountsAccountRequestBodyIndividual'Verification'Document' -> PostAccountsAccountRequestBodyIndividual'Verification'
-- | additional_document
[postAccountsAccountRequestBodyIndividual'Verification'AdditionalDocument] :: PostAccountsAccountRequestBodyIndividual'Verification' -> Maybe PostAccountsAccountRequestBodyIndividual'Verification'AdditionalDocument'
-- | document
[postAccountsAccountRequestBodyIndividual'Verification'Document] :: PostAccountsAccountRequestBodyIndividual'Verification' -> Maybe PostAccountsAccountRequestBodyIndividual'Verification'Document'
-- | Create a new
-- PostAccountsAccountRequestBodyIndividual'Verification' with all
-- required fields.
mkPostAccountsAccountRequestBodyIndividual'Verification' :: PostAccountsAccountRequestBodyIndividual'Verification'
-- | Defines the object schema located at
-- paths./v1/accounts/{account}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.individual.properties.verification.properties.additional_document
-- in the specification.
data PostAccountsAccountRequestBodyIndividual'Verification'AdditionalDocument'
PostAccountsAccountRequestBodyIndividual'Verification'AdditionalDocument' :: Maybe Text -> Maybe Text -> PostAccountsAccountRequestBodyIndividual'Verification'AdditionalDocument'
-- | back
--
-- Constraints:
--
--
-- - Maximum length of 500
--
[postAccountsAccountRequestBodyIndividual'Verification'AdditionalDocument'Back] :: PostAccountsAccountRequestBodyIndividual'Verification'AdditionalDocument' -> Maybe Text
-- | front
--
-- Constraints:
--
--
-- - Maximum length of 500
--
[postAccountsAccountRequestBodyIndividual'Verification'AdditionalDocument'Front] :: PostAccountsAccountRequestBodyIndividual'Verification'AdditionalDocument' -> Maybe Text
-- | Create a new
-- PostAccountsAccountRequestBodyIndividual'Verification'AdditionalDocument'
-- with all required fields.
mkPostAccountsAccountRequestBodyIndividual'Verification'AdditionalDocument' :: PostAccountsAccountRequestBodyIndividual'Verification'AdditionalDocument'
-- | Defines the object schema located at
-- paths./v1/accounts/{account}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.individual.properties.verification.properties.document
-- in the specification.
data PostAccountsAccountRequestBodyIndividual'Verification'Document'
PostAccountsAccountRequestBodyIndividual'Verification'Document' :: Maybe Text -> Maybe Text -> PostAccountsAccountRequestBodyIndividual'Verification'Document'
-- | back
--
-- Constraints:
--
--
-- - Maximum length of 500
--
[postAccountsAccountRequestBodyIndividual'Verification'Document'Back] :: PostAccountsAccountRequestBodyIndividual'Verification'Document' -> Maybe Text
-- | front
--
-- Constraints:
--
--
-- - Maximum length of 500
--
[postAccountsAccountRequestBodyIndividual'Verification'Document'Front] :: PostAccountsAccountRequestBodyIndividual'Verification'Document' -> Maybe Text
-- | Create a new
-- PostAccountsAccountRequestBodyIndividual'Verification'Document'
-- with all required fields.
mkPostAccountsAccountRequestBodyIndividual'Verification'Document' :: PostAccountsAccountRequestBodyIndividual'Verification'Document'
-- | Defines the oneOf schema located at
-- paths./v1/accounts/{account}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.metadata.anyOf
-- in the specification.
--
-- Set of key-value pairs that you can attach to an object. This
-- can be useful for storing additional information about the object in a
-- structured format. Individual keys can be unset by posting an empty
-- value to them. All keys can be unset by posting an empty value to
-- `metadata`.
data PostAccountsAccountRequestBodyMetadata'Variants
-- | Represents the JSON value ""
PostAccountsAccountRequestBodyMetadata'EmptyString :: PostAccountsAccountRequestBodyMetadata'Variants
PostAccountsAccountRequestBodyMetadata'Object :: Object -> PostAccountsAccountRequestBodyMetadata'Variants
-- | Defines the object schema located at
-- paths./v1/accounts/{account}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.settings
-- in the specification.
--
-- Options for customizing how the account functions within Stripe.
data PostAccountsAccountRequestBodySettings'
PostAccountsAccountRequestBodySettings' :: Maybe PostAccountsAccountRequestBodySettings'Branding' -> Maybe PostAccountsAccountRequestBodySettings'CardIssuing' -> Maybe PostAccountsAccountRequestBodySettings'CardPayments' -> Maybe PostAccountsAccountRequestBodySettings'Payments' -> Maybe PostAccountsAccountRequestBodySettings'Payouts' -> PostAccountsAccountRequestBodySettings'
-- | branding
[postAccountsAccountRequestBodySettings'Branding] :: PostAccountsAccountRequestBodySettings' -> Maybe PostAccountsAccountRequestBodySettings'Branding'
-- | card_issuing
[postAccountsAccountRequestBodySettings'CardIssuing] :: PostAccountsAccountRequestBodySettings' -> Maybe PostAccountsAccountRequestBodySettings'CardIssuing'
-- | card_payments
[postAccountsAccountRequestBodySettings'CardPayments] :: PostAccountsAccountRequestBodySettings' -> Maybe PostAccountsAccountRequestBodySettings'CardPayments'
-- | payments
[postAccountsAccountRequestBodySettings'Payments] :: PostAccountsAccountRequestBodySettings' -> Maybe PostAccountsAccountRequestBodySettings'Payments'
-- | payouts
[postAccountsAccountRequestBodySettings'Payouts] :: PostAccountsAccountRequestBodySettings' -> Maybe PostAccountsAccountRequestBodySettings'Payouts'
-- | Create a new PostAccountsAccountRequestBodySettings' with all
-- required fields.
mkPostAccountsAccountRequestBodySettings' :: PostAccountsAccountRequestBodySettings'
-- | Defines the object schema located at
-- paths./v1/accounts/{account}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.settings.properties.branding
-- in the specification.
data PostAccountsAccountRequestBodySettings'Branding'
PostAccountsAccountRequestBodySettings'Branding' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PostAccountsAccountRequestBodySettings'Branding'
-- | icon
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountRequestBodySettings'Branding'Icon] :: PostAccountsAccountRequestBodySettings'Branding' -> Maybe Text
-- | logo
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountRequestBodySettings'Branding'Logo] :: PostAccountsAccountRequestBodySettings'Branding' -> Maybe Text
-- | primary_color
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountRequestBodySettings'Branding'PrimaryColor] :: PostAccountsAccountRequestBodySettings'Branding' -> Maybe Text
-- | secondary_color
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountRequestBodySettings'Branding'SecondaryColor] :: PostAccountsAccountRequestBodySettings'Branding' -> Maybe Text
-- | Create a new PostAccountsAccountRequestBodySettings'Branding'
-- with all required fields.
mkPostAccountsAccountRequestBodySettings'Branding' :: PostAccountsAccountRequestBodySettings'Branding'
-- | Defines the object schema located at
-- paths./v1/accounts/{account}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.settings.properties.card_issuing
-- in the specification.
data PostAccountsAccountRequestBodySettings'CardIssuing'
PostAccountsAccountRequestBodySettings'CardIssuing' :: Maybe PostAccountsAccountRequestBodySettings'CardIssuing'TosAcceptance' -> PostAccountsAccountRequestBodySettings'CardIssuing'
-- | tos_acceptance
[postAccountsAccountRequestBodySettings'CardIssuing'TosAcceptance] :: PostAccountsAccountRequestBodySettings'CardIssuing' -> Maybe PostAccountsAccountRequestBodySettings'CardIssuing'TosAcceptance'
-- | Create a new
-- PostAccountsAccountRequestBodySettings'CardIssuing' with all
-- required fields.
mkPostAccountsAccountRequestBodySettings'CardIssuing' :: PostAccountsAccountRequestBodySettings'CardIssuing'
-- | Defines the object schema located at
-- paths./v1/accounts/{account}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.settings.properties.card_issuing.properties.tos_acceptance
-- in the specification.
data PostAccountsAccountRequestBodySettings'CardIssuing'TosAcceptance'
PostAccountsAccountRequestBodySettings'CardIssuing'TosAcceptance' :: Maybe Int -> Maybe Text -> Maybe Text -> PostAccountsAccountRequestBodySettings'CardIssuing'TosAcceptance'
-- | date
[postAccountsAccountRequestBodySettings'CardIssuing'TosAcceptance'Date] :: PostAccountsAccountRequestBodySettings'CardIssuing'TosAcceptance' -> Maybe Int
-- | ip
[postAccountsAccountRequestBodySettings'CardIssuing'TosAcceptance'Ip] :: PostAccountsAccountRequestBodySettings'CardIssuing'TosAcceptance' -> Maybe Text
-- | user_agent
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountRequestBodySettings'CardIssuing'TosAcceptance'UserAgent] :: PostAccountsAccountRequestBodySettings'CardIssuing'TosAcceptance' -> Maybe Text
-- | Create a new
-- PostAccountsAccountRequestBodySettings'CardIssuing'TosAcceptance'
-- with all required fields.
mkPostAccountsAccountRequestBodySettings'CardIssuing'TosAcceptance' :: PostAccountsAccountRequestBodySettings'CardIssuing'TosAcceptance'
-- | Defines the object schema located at
-- paths./v1/accounts/{account}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.settings.properties.card_payments
-- in the specification.
data PostAccountsAccountRequestBodySettings'CardPayments'
PostAccountsAccountRequestBodySettings'CardPayments' :: Maybe PostAccountsAccountRequestBodySettings'CardPayments'DeclineOn' -> Maybe Text -> PostAccountsAccountRequestBodySettings'CardPayments'
-- | decline_on
[postAccountsAccountRequestBodySettings'CardPayments'DeclineOn] :: PostAccountsAccountRequestBodySettings'CardPayments' -> Maybe PostAccountsAccountRequestBodySettings'CardPayments'DeclineOn'
-- | statement_descriptor_prefix
--
-- Constraints:
--
--
-- - Maximum length of 10
--
[postAccountsAccountRequestBodySettings'CardPayments'StatementDescriptorPrefix] :: PostAccountsAccountRequestBodySettings'CardPayments' -> Maybe Text
-- | Create a new
-- PostAccountsAccountRequestBodySettings'CardPayments' with all
-- required fields.
mkPostAccountsAccountRequestBodySettings'CardPayments' :: PostAccountsAccountRequestBodySettings'CardPayments'
-- | Defines the object schema located at
-- paths./v1/accounts/{account}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.settings.properties.card_payments.properties.decline_on
-- in the specification.
data PostAccountsAccountRequestBodySettings'CardPayments'DeclineOn'
PostAccountsAccountRequestBodySettings'CardPayments'DeclineOn' :: Maybe Bool -> Maybe Bool -> PostAccountsAccountRequestBodySettings'CardPayments'DeclineOn'
-- | avs_failure
[postAccountsAccountRequestBodySettings'CardPayments'DeclineOn'AvsFailure] :: PostAccountsAccountRequestBodySettings'CardPayments'DeclineOn' -> Maybe Bool
-- | cvc_failure
[postAccountsAccountRequestBodySettings'CardPayments'DeclineOn'CvcFailure] :: PostAccountsAccountRequestBodySettings'CardPayments'DeclineOn' -> Maybe Bool
-- | Create a new
-- PostAccountsAccountRequestBodySettings'CardPayments'DeclineOn'
-- with all required fields.
mkPostAccountsAccountRequestBodySettings'CardPayments'DeclineOn' :: PostAccountsAccountRequestBodySettings'CardPayments'DeclineOn'
-- | Defines the object schema located at
-- paths./v1/accounts/{account}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.settings.properties.payments
-- in the specification.
data PostAccountsAccountRequestBodySettings'Payments'
PostAccountsAccountRequestBodySettings'Payments' :: Maybe Text -> Maybe Text -> Maybe Text -> PostAccountsAccountRequestBodySettings'Payments'
-- | statement_descriptor
--
-- Constraints:
--
--
-- - Maximum length of 22
--
[postAccountsAccountRequestBodySettings'Payments'StatementDescriptor] :: PostAccountsAccountRequestBodySettings'Payments' -> Maybe Text
-- | statement_descriptor_kana
--
-- Constraints:
--
--
-- - Maximum length of 22
--
[postAccountsAccountRequestBodySettings'Payments'StatementDescriptorKana] :: PostAccountsAccountRequestBodySettings'Payments' -> Maybe Text
-- | statement_descriptor_kanji
--
-- Constraints:
--
--
-- - Maximum length of 22
--
[postAccountsAccountRequestBodySettings'Payments'StatementDescriptorKanji] :: PostAccountsAccountRequestBodySettings'Payments' -> Maybe Text
-- | Create a new PostAccountsAccountRequestBodySettings'Payments'
-- with all required fields.
mkPostAccountsAccountRequestBodySettings'Payments' :: PostAccountsAccountRequestBodySettings'Payments'
-- | Defines the object schema located at
-- paths./v1/accounts/{account}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.settings.properties.payouts
-- in the specification.
data PostAccountsAccountRequestBodySettings'Payouts'
PostAccountsAccountRequestBodySettings'Payouts' :: Maybe Bool -> Maybe PostAccountsAccountRequestBodySettings'Payouts'Schedule' -> Maybe Text -> PostAccountsAccountRequestBodySettings'Payouts'
-- | debit_negative_balances
[postAccountsAccountRequestBodySettings'Payouts'DebitNegativeBalances] :: PostAccountsAccountRequestBodySettings'Payouts' -> Maybe Bool
-- | schedule
[postAccountsAccountRequestBodySettings'Payouts'Schedule] :: PostAccountsAccountRequestBodySettings'Payouts' -> Maybe PostAccountsAccountRequestBodySettings'Payouts'Schedule'
-- | statement_descriptor
--
-- Constraints:
--
--
-- - Maximum length of 22
--
[postAccountsAccountRequestBodySettings'Payouts'StatementDescriptor] :: PostAccountsAccountRequestBodySettings'Payouts' -> Maybe Text
-- | Create a new PostAccountsAccountRequestBodySettings'Payouts'
-- with all required fields.
mkPostAccountsAccountRequestBodySettings'Payouts' :: PostAccountsAccountRequestBodySettings'Payouts'
-- | Defines the object schema located at
-- paths./v1/accounts/{account}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.settings.properties.payouts.properties.schedule
-- in the specification.
data PostAccountsAccountRequestBodySettings'Payouts'Schedule'
PostAccountsAccountRequestBodySettings'Payouts'Schedule' :: Maybe PostAccountsAccountRequestBodySettings'Payouts'Schedule'DelayDays'Variants -> Maybe PostAccountsAccountRequestBodySettings'Payouts'Schedule'Interval' -> Maybe Int -> Maybe PostAccountsAccountRequestBodySettings'Payouts'Schedule'WeeklyAnchor' -> PostAccountsAccountRequestBodySettings'Payouts'Schedule'
-- | delay_days
[postAccountsAccountRequestBodySettings'Payouts'Schedule'DelayDays] :: PostAccountsAccountRequestBodySettings'Payouts'Schedule' -> Maybe PostAccountsAccountRequestBodySettings'Payouts'Schedule'DelayDays'Variants
-- | interval
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountRequestBodySettings'Payouts'Schedule'Interval] :: PostAccountsAccountRequestBodySettings'Payouts'Schedule' -> Maybe PostAccountsAccountRequestBodySettings'Payouts'Schedule'Interval'
-- | monthly_anchor
[postAccountsAccountRequestBodySettings'Payouts'Schedule'MonthlyAnchor] :: PostAccountsAccountRequestBodySettings'Payouts'Schedule' -> Maybe Int
-- | weekly_anchor
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountRequestBodySettings'Payouts'Schedule'WeeklyAnchor] :: PostAccountsAccountRequestBodySettings'Payouts'Schedule' -> Maybe PostAccountsAccountRequestBodySettings'Payouts'Schedule'WeeklyAnchor'
-- | Create a new
-- PostAccountsAccountRequestBodySettings'Payouts'Schedule' with
-- all required fields.
mkPostAccountsAccountRequestBodySettings'Payouts'Schedule' :: PostAccountsAccountRequestBodySettings'Payouts'Schedule'
-- | Defines the oneOf schema located at
-- paths./v1/accounts/{account}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.settings.properties.payouts.properties.schedule.properties.delay_days.anyOf
-- in the specification.
data PostAccountsAccountRequestBodySettings'Payouts'Schedule'DelayDays'Variants
-- | Represents the JSON value "minimum"
PostAccountsAccountRequestBodySettings'Payouts'Schedule'DelayDays'Minimum :: PostAccountsAccountRequestBodySettings'Payouts'Schedule'DelayDays'Variants
PostAccountsAccountRequestBodySettings'Payouts'Schedule'DelayDays'Int :: Int -> PostAccountsAccountRequestBodySettings'Payouts'Schedule'DelayDays'Variants
-- | Defines the enum schema located at
-- paths./v1/accounts/{account}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.settings.properties.payouts.properties.schedule.properties.interval
-- in the specification.
data PostAccountsAccountRequestBodySettings'Payouts'Schedule'Interval'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostAccountsAccountRequestBodySettings'Payouts'Schedule'Interval'Other :: Value -> PostAccountsAccountRequestBodySettings'Payouts'Schedule'Interval'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostAccountsAccountRequestBodySettings'Payouts'Schedule'Interval'Typed :: Text -> PostAccountsAccountRequestBodySettings'Payouts'Schedule'Interval'
-- | Represents the JSON value "daily"
PostAccountsAccountRequestBodySettings'Payouts'Schedule'Interval'EnumDaily :: PostAccountsAccountRequestBodySettings'Payouts'Schedule'Interval'
-- | Represents the JSON value "manual"
PostAccountsAccountRequestBodySettings'Payouts'Schedule'Interval'EnumManual :: PostAccountsAccountRequestBodySettings'Payouts'Schedule'Interval'
-- | Represents the JSON value "monthly"
PostAccountsAccountRequestBodySettings'Payouts'Schedule'Interval'EnumMonthly :: PostAccountsAccountRequestBodySettings'Payouts'Schedule'Interval'
-- | Represents the JSON value "weekly"
PostAccountsAccountRequestBodySettings'Payouts'Schedule'Interval'EnumWeekly :: PostAccountsAccountRequestBodySettings'Payouts'Schedule'Interval'
-- | Defines the enum schema located at
-- paths./v1/accounts/{account}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.settings.properties.payouts.properties.schedule.properties.weekly_anchor
-- in the specification.
data PostAccountsAccountRequestBodySettings'Payouts'Schedule'WeeklyAnchor'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostAccountsAccountRequestBodySettings'Payouts'Schedule'WeeklyAnchor'Other :: Value -> PostAccountsAccountRequestBodySettings'Payouts'Schedule'WeeklyAnchor'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostAccountsAccountRequestBodySettings'Payouts'Schedule'WeeklyAnchor'Typed :: Text -> PostAccountsAccountRequestBodySettings'Payouts'Schedule'WeeklyAnchor'
-- | Represents the JSON value "friday"
PostAccountsAccountRequestBodySettings'Payouts'Schedule'WeeklyAnchor'EnumFriday :: PostAccountsAccountRequestBodySettings'Payouts'Schedule'WeeklyAnchor'
-- | Represents the JSON value "monday"
PostAccountsAccountRequestBodySettings'Payouts'Schedule'WeeklyAnchor'EnumMonday :: PostAccountsAccountRequestBodySettings'Payouts'Schedule'WeeklyAnchor'
-- | Represents the JSON value "saturday"
PostAccountsAccountRequestBodySettings'Payouts'Schedule'WeeklyAnchor'EnumSaturday :: PostAccountsAccountRequestBodySettings'Payouts'Schedule'WeeklyAnchor'
-- | Represents the JSON value "sunday"
PostAccountsAccountRequestBodySettings'Payouts'Schedule'WeeklyAnchor'EnumSunday :: PostAccountsAccountRequestBodySettings'Payouts'Schedule'WeeklyAnchor'
-- | Represents the JSON value "thursday"
PostAccountsAccountRequestBodySettings'Payouts'Schedule'WeeklyAnchor'EnumThursday :: PostAccountsAccountRequestBodySettings'Payouts'Schedule'WeeklyAnchor'
-- | Represents the JSON value "tuesday"
PostAccountsAccountRequestBodySettings'Payouts'Schedule'WeeklyAnchor'EnumTuesday :: PostAccountsAccountRequestBodySettings'Payouts'Schedule'WeeklyAnchor'
-- | Represents the JSON value "wednesday"
PostAccountsAccountRequestBodySettings'Payouts'Schedule'WeeklyAnchor'EnumWednesday :: PostAccountsAccountRequestBodySettings'Payouts'Schedule'WeeklyAnchor'
-- | Defines the object schema located at
-- paths./v1/accounts/{account}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.tos_acceptance
-- in the specification.
--
-- Details on the account's acceptance of the Stripe Services
-- Agreement.
data PostAccountsAccountRequestBodyTosAcceptance'
PostAccountsAccountRequestBodyTosAcceptance' :: Maybe Int -> Maybe Text -> Maybe Text -> Maybe Text -> PostAccountsAccountRequestBodyTosAcceptance'
-- | date
[postAccountsAccountRequestBodyTosAcceptance'Date] :: PostAccountsAccountRequestBodyTosAcceptance' -> Maybe Int
-- | ip
[postAccountsAccountRequestBodyTosAcceptance'Ip] :: PostAccountsAccountRequestBodyTosAcceptance' -> Maybe Text
-- | service_agreement
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountRequestBodyTosAcceptance'ServiceAgreement] :: PostAccountsAccountRequestBodyTosAcceptance' -> Maybe Text
-- | user_agent
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsAccountRequestBodyTosAcceptance'UserAgent] :: PostAccountsAccountRequestBodyTosAcceptance' -> Maybe Text
-- | Create a new PostAccountsAccountRequestBodyTosAcceptance' with
-- all required fields.
mkPostAccountsAccountRequestBodyTosAcceptance' :: PostAccountsAccountRequestBodyTosAcceptance'
-- | Represents a response of the operation postAccountsAccount.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostAccountsAccountResponseError is
-- used.
data PostAccountsAccountResponse
-- | Means either no matching case available or a parse error
PostAccountsAccountResponseError :: String -> PostAccountsAccountResponse
-- | Successful response.
PostAccountsAccountResponse200 :: Account -> PostAccountsAccountResponse
-- | Error response.
PostAccountsAccountResponseDefault :: Error -> PostAccountsAccountResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyBankAccount'OneOf1AccountHolderType'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyBankAccount'OneOf1AccountHolderType'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyBankAccount'OneOf1Object'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyBankAccount'OneOf1Object'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyBankAccount'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyBankAccount'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyBankAccount'Variants
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyBankAccount'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyBusinessProfile'SupportAddress'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyBusinessProfile'SupportAddress'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyBusinessProfile'SupportUrl'Variants
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyBusinessProfile'SupportUrl'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyBusinessProfile'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyBusinessProfile'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyBusinessType'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyBusinessType'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCapabilities'AcssDebitPayments'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCapabilities'AcssDebitPayments'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCapabilities'AfterpayClearpayPayments'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCapabilities'AfterpayClearpayPayments'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCapabilities'AuBecsDebitPayments'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCapabilities'AuBecsDebitPayments'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCapabilities'BacsDebitPayments'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCapabilities'BacsDebitPayments'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCapabilities'BancontactPayments'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCapabilities'BancontactPayments'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCapabilities'CardIssuing'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCapabilities'CardIssuing'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCapabilities'CardPayments'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCapabilities'CardPayments'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCapabilities'CartesBancairesPayments'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCapabilities'CartesBancairesPayments'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCapabilities'EpsPayments'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCapabilities'EpsPayments'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCapabilities'FpxPayments'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCapabilities'FpxPayments'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCapabilities'GiropayPayments'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCapabilities'GiropayPayments'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCapabilities'GrabpayPayments'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCapabilities'GrabpayPayments'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCapabilities'IdealPayments'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCapabilities'IdealPayments'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCapabilities'JcbPayments'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCapabilities'JcbPayments'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCapabilities'LegacyPayments'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCapabilities'LegacyPayments'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCapabilities'OxxoPayments'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCapabilities'OxxoPayments'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCapabilities'P24Payments'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCapabilities'P24Payments'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCapabilities'SepaDebitPayments'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCapabilities'SepaDebitPayments'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCapabilities'SofortPayments'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCapabilities'SofortPayments'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCapabilities'TaxReportingUs_1099K'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCapabilities'TaxReportingUs_1099K'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCapabilities'TaxReportingUs_1099Misc'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCapabilities'TaxReportingUs_1099Misc'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCapabilities'Transfers'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCapabilities'Transfers'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCapabilities'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCapabilities'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCompany'Address'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCompany'Address'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCompany'AddressKana'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCompany'AddressKana'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCompany'AddressKanji'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCompany'AddressKanji'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCompany'Structure'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCompany'Structure'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCompany'Verification'Document'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCompany'Verification'Document'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCompany'Verification'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCompany'Verification'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCompany'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCompany'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyDocuments'BankAccountOwnershipVerification'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyDocuments'BankAccountOwnershipVerification'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyDocuments'CompanyLicense'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyDocuments'CompanyLicense'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyDocuments'CompanyMemorandumOfAssociation'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyDocuments'CompanyMemorandumOfAssociation'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyDocuments'CompanyMinisterialDecree'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyDocuments'CompanyMinisterialDecree'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyDocuments'CompanyRegistrationVerification'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyDocuments'CompanyRegistrationVerification'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyDocuments'CompanyTaxIdVerification'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyDocuments'CompanyTaxIdVerification'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyDocuments'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyDocuments'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyIndividual'Address'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyIndividual'Address'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyIndividual'AddressKana'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyIndividual'AddressKana'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyIndividual'AddressKanji'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyIndividual'AddressKanji'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyIndividual'Dob'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyIndividual'Dob'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyIndividual'Dob'Variants
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyIndividual'Dob'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyIndividual'Metadata'Variants
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyIndividual'Metadata'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyIndividual'PoliticalExposure'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyIndividual'PoliticalExposure'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyIndividual'Verification'AdditionalDocument'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyIndividual'Verification'AdditionalDocument'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyIndividual'Verification'Document'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyIndividual'Verification'Document'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyIndividual'Verification'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyIndividual'Verification'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyIndividual'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyIndividual'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyMetadata'Variants
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyMetadata'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodySettings'Branding'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodySettings'Branding'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodySettings'CardIssuing'TosAcceptance'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodySettings'CardIssuing'TosAcceptance'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodySettings'CardIssuing'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodySettings'CardIssuing'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodySettings'CardPayments'DeclineOn'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodySettings'CardPayments'DeclineOn'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodySettings'CardPayments'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodySettings'CardPayments'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodySettings'Payments'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodySettings'Payments'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodySettings'Payouts'Schedule'DelayDays'Variants
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodySettings'Payouts'Schedule'DelayDays'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodySettings'Payouts'Schedule'Interval'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodySettings'Payouts'Schedule'Interval'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodySettings'Payouts'Schedule'WeeklyAnchor'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodySettings'Payouts'Schedule'WeeklyAnchor'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodySettings'Payouts'Schedule'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodySettings'Payouts'Schedule'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodySettings'Payouts'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodySettings'Payouts'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodySettings'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodySettings'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyTosAcceptance'
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyTosAcceptance'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountResponse
instance GHC.Show.Show StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyTosAcceptance'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyTosAcceptance'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodySettings'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodySettings'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodySettings'Payouts'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodySettings'Payouts'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodySettings'Payouts'Schedule'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodySettings'Payouts'Schedule'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodySettings'Payouts'Schedule'WeeklyAnchor'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodySettings'Payouts'Schedule'WeeklyAnchor'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodySettings'Payouts'Schedule'Interval'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodySettings'Payouts'Schedule'Interval'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodySettings'Payouts'Schedule'DelayDays'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodySettings'Payouts'Schedule'DelayDays'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodySettings'Payments'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodySettings'Payments'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodySettings'CardPayments'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodySettings'CardPayments'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodySettings'CardPayments'DeclineOn'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodySettings'CardPayments'DeclineOn'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodySettings'CardIssuing'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodySettings'CardIssuing'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodySettings'CardIssuing'TosAcceptance'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodySettings'CardIssuing'TosAcceptance'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodySettings'Branding'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodySettings'Branding'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyMetadata'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyMetadata'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyIndividual'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyIndividual'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyIndividual'Verification'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyIndividual'Verification'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyIndividual'Verification'Document'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyIndividual'Verification'Document'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyIndividual'Verification'AdditionalDocument'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyIndividual'Verification'AdditionalDocument'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyIndividual'PoliticalExposure'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyIndividual'PoliticalExposure'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyIndividual'Metadata'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyIndividual'Metadata'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyIndividual'Dob'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyIndividual'Dob'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyIndividual'Dob'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyIndividual'Dob'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyIndividual'AddressKanji'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyIndividual'AddressKanji'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyIndividual'AddressKana'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyIndividual'AddressKana'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyIndividual'Address'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyIndividual'Address'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyDocuments'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyDocuments'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyDocuments'CompanyTaxIdVerification'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyDocuments'CompanyTaxIdVerification'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyDocuments'CompanyRegistrationVerification'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyDocuments'CompanyRegistrationVerification'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyDocuments'CompanyMinisterialDecree'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyDocuments'CompanyMinisterialDecree'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyDocuments'CompanyMemorandumOfAssociation'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyDocuments'CompanyMemorandumOfAssociation'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyDocuments'CompanyLicense'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyDocuments'CompanyLicense'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyDocuments'BankAccountOwnershipVerification'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyDocuments'BankAccountOwnershipVerification'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCompany'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCompany'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCompany'Verification'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCompany'Verification'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCompany'Verification'Document'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCompany'Verification'Document'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCompany'Structure'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCompany'Structure'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCompany'AddressKanji'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCompany'AddressKanji'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCompany'AddressKana'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCompany'AddressKana'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCompany'Address'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCompany'Address'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCapabilities'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCapabilities'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCapabilities'Transfers'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCapabilities'Transfers'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCapabilities'TaxReportingUs_1099Misc'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCapabilities'TaxReportingUs_1099Misc'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCapabilities'TaxReportingUs_1099K'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCapabilities'TaxReportingUs_1099K'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCapabilities'SofortPayments'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCapabilities'SofortPayments'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCapabilities'SepaDebitPayments'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCapabilities'SepaDebitPayments'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCapabilities'P24Payments'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCapabilities'P24Payments'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCapabilities'OxxoPayments'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCapabilities'OxxoPayments'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCapabilities'LegacyPayments'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCapabilities'LegacyPayments'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCapabilities'JcbPayments'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCapabilities'JcbPayments'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCapabilities'IdealPayments'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCapabilities'IdealPayments'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCapabilities'GrabpayPayments'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCapabilities'GrabpayPayments'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCapabilities'GiropayPayments'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCapabilities'GiropayPayments'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCapabilities'FpxPayments'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCapabilities'FpxPayments'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCapabilities'EpsPayments'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCapabilities'EpsPayments'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCapabilities'CartesBancairesPayments'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCapabilities'CartesBancairesPayments'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCapabilities'CardPayments'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCapabilities'CardPayments'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCapabilities'CardIssuing'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCapabilities'CardIssuing'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCapabilities'BancontactPayments'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCapabilities'BancontactPayments'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCapabilities'BacsDebitPayments'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCapabilities'BacsDebitPayments'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCapabilities'AuBecsDebitPayments'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCapabilities'AuBecsDebitPayments'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCapabilities'AfterpayClearpayPayments'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCapabilities'AfterpayClearpayPayments'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCapabilities'AcssDebitPayments'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyCapabilities'AcssDebitPayments'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyBusinessType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyBusinessType'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyBusinessProfile'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyBusinessProfile'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyBusinessProfile'SupportUrl'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyBusinessProfile'SupportUrl'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyBusinessProfile'SupportAddress'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyBusinessProfile'SupportAddress'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyBankAccount'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyBankAccount'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyBankAccount'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyBankAccount'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyBankAccount'OneOf1Object'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyBankAccount'OneOf1Object'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyBankAccount'OneOf1AccountHolderType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountsAccount.PostAccountsAccountRequestBodyBankAccount'OneOf1AccountHolderType'
-- | Contains the different functions to run the operation postAccounts
module StripeAPI.Operations.PostAccounts
-- |
-- POST /v1/accounts
--
--
-- <p>With <a href="/docs/connect">Connect</a>, you can
-- create Stripe accounts for your users. To do this, you’ll first need
-- to <a
-- href="https://dashboard.stripe.com/account/applications/settings">register
-- your platform</a>.</p>
postAccounts :: forall m. MonadHTTP m => Maybe PostAccountsRequestBody -> ClientT m (Response PostAccountsResponse)
-- | Defines the object schema located at
-- paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostAccountsRequestBody
PostAccountsRequestBody :: Maybe Text -> Maybe PostAccountsRequestBodyBankAccount'Variants -> Maybe PostAccountsRequestBodyBusinessProfile' -> Maybe PostAccountsRequestBodyBusinessType' -> Maybe PostAccountsRequestBodyCapabilities' -> Maybe PostAccountsRequestBodyCompany' -> Maybe Text -> Maybe Text -> Maybe PostAccountsRequestBodyDocuments' -> Maybe Text -> Maybe [Text] -> Maybe Text -> Maybe PostAccountsRequestBodyIndividual' -> Maybe PostAccountsRequestBodyMetadata'Variants -> Maybe PostAccountsRequestBodySettings' -> Maybe PostAccountsRequestBodyTosAcceptance' -> Maybe PostAccountsRequestBodyType' -> PostAccountsRequestBody
-- | account_token: An account token, used to securely provide
-- details to the account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsRequestBodyAccountToken] :: PostAccountsRequestBody -> Maybe Text
-- | bank_account: Either a token, like the ones returned by
-- Stripe.js, or a dictionary containing a user's bank account
-- details.
[postAccountsRequestBodyBankAccount] :: PostAccountsRequestBody -> Maybe PostAccountsRequestBodyBankAccount'Variants
-- | business_profile: Business information about the account.
[postAccountsRequestBodyBusinessProfile] :: PostAccountsRequestBody -> Maybe PostAccountsRequestBodyBusinessProfile'
-- | business_type: The business type.
[postAccountsRequestBodyBusinessType] :: PostAccountsRequestBody -> Maybe PostAccountsRequestBodyBusinessType'
-- | capabilities: Each key of the dictionary represents a capability, and
-- each capability maps to its settings (e.g. whether it has been
-- requested or not). Each capability will be inactive until you have
-- provided its specific requirements and Stripe has verified them. An
-- account may have some of its requested capabilities be active and some
-- be inactive.
[postAccountsRequestBodyCapabilities] :: PostAccountsRequestBody -> Maybe PostAccountsRequestBodyCapabilities'
-- | company: Information about the company or business. This field is
-- available for any `business_type`.
[postAccountsRequestBodyCompany] :: PostAccountsRequestBody -> Maybe PostAccountsRequestBodyCompany'
-- | country: The country in which the account holder resides, or in which
-- the business is legally established. This should be an ISO 3166-1
-- alpha-2 country code. For example, if you are in the United States and
-- the business for which you're creating an account is legally
-- represented in Canada, you would use `CA` as the country for the
-- account being created.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsRequestBodyCountry] :: PostAccountsRequestBody -> Maybe Text
-- | default_currency: Three-letter ISO currency code representing the
-- default currency for the account. This must be a currency that
-- Stripe supports in the account's country.
[postAccountsRequestBodyDefaultCurrency] :: PostAccountsRequestBody -> Maybe Text
-- | documents: Documents that may be submitted to satisfy various
-- informational requests.
[postAccountsRequestBodyDocuments] :: PostAccountsRequestBody -> Maybe PostAccountsRequestBodyDocuments'
-- | email: The email address of the account holder. This is only to make
-- the account easier to identify to you. Stripe will never directly
-- email Custom accounts.
[postAccountsRequestBodyEmail] :: PostAccountsRequestBody -> Maybe Text
-- | expand: Specifies which fields in the response should be expanded.
[postAccountsRequestBodyExpand] :: PostAccountsRequestBody -> Maybe [Text]
-- | external_account: A card or bank account to attach to the account for
-- receiving payouts (you won’t be able to use it for top-ups).
-- You can provide either a token, like the ones returned by
-- Stripe.js, or a dictionary, as documented in the
-- `external_account` parameter for bank account creation.
-- <br><br>By default, providing an external account sets it
-- as the new default external account for its currency, and deletes the
-- old default if one exists. To add additional external accounts without
-- replacing the existing default for the currency, use the bank account
-- or card creation API.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsRequestBodyExternalAccount] :: PostAccountsRequestBody -> Maybe Text
-- | individual: Information about the person represented by the account.
-- This field is null unless `business_type` is set to `individual`.
[postAccountsRequestBodyIndividual] :: PostAccountsRequestBody -> Maybe PostAccountsRequestBodyIndividual'
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postAccountsRequestBodyMetadata] :: PostAccountsRequestBody -> Maybe PostAccountsRequestBodyMetadata'Variants
-- | settings: Options for customizing how the account functions within
-- Stripe.
[postAccountsRequestBodySettings] :: PostAccountsRequestBody -> Maybe PostAccountsRequestBodySettings'
-- | tos_acceptance: Details on the account's acceptance of the Stripe
-- Services Agreement.
[postAccountsRequestBodyTosAcceptance] :: PostAccountsRequestBody -> Maybe PostAccountsRequestBodyTosAcceptance'
-- | type: The type of Stripe account to create. May be one of `custom`,
-- `express` or `standard`.
[postAccountsRequestBodyType] :: PostAccountsRequestBody -> Maybe PostAccountsRequestBodyType'
-- | Create a new PostAccountsRequestBody with all required fields.
mkPostAccountsRequestBody :: PostAccountsRequestBody
-- | Defines the object schema located at
-- paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.bank_account.anyOf
-- in the specification.
data PostAccountsRequestBodyBankAccount'OneOf1
PostAccountsRequestBodyBankAccount'OneOf1 :: Maybe Text -> Maybe PostAccountsRequestBodyBankAccount'OneOf1AccountHolderType' -> Text -> Text -> Maybe Text -> Maybe PostAccountsRequestBodyBankAccount'OneOf1Object' -> Maybe Text -> PostAccountsRequestBodyBankAccount'OneOf1
-- | account_holder_name
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsRequestBodyBankAccount'OneOf1AccountHolderName] :: PostAccountsRequestBodyBankAccount'OneOf1 -> Maybe Text
-- | account_holder_type
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsRequestBodyBankAccount'OneOf1AccountHolderType] :: PostAccountsRequestBodyBankAccount'OneOf1 -> Maybe PostAccountsRequestBodyBankAccount'OneOf1AccountHolderType'
-- | account_number
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsRequestBodyBankAccount'OneOf1AccountNumber] :: PostAccountsRequestBodyBankAccount'OneOf1 -> Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsRequestBodyBankAccount'OneOf1Country] :: PostAccountsRequestBodyBankAccount'OneOf1 -> Text
-- | currency
[postAccountsRequestBodyBankAccount'OneOf1Currency] :: PostAccountsRequestBodyBankAccount'OneOf1 -> Maybe Text
-- | object
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsRequestBodyBankAccount'OneOf1Object] :: PostAccountsRequestBodyBankAccount'OneOf1 -> Maybe PostAccountsRequestBodyBankAccount'OneOf1Object'
-- | routing_number
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsRequestBodyBankAccount'OneOf1RoutingNumber] :: PostAccountsRequestBodyBankAccount'OneOf1 -> Maybe Text
-- | Create a new PostAccountsRequestBodyBankAccount'OneOf1 with all
-- required fields.
mkPostAccountsRequestBodyBankAccount'OneOf1 :: Text -> Text -> PostAccountsRequestBodyBankAccount'OneOf1
-- | Defines the enum schema located at
-- paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.bank_account.anyOf.properties.account_holder_type
-- in the specification.
data PostAccountsRequestBodyBankAccount'OneOf1AccountHolderType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostAccountsRequestBodyBankAccount'OneOf1AccountHolderType'Other :: Value -> PostAccountsRequestBodyBankAccount'OneOf1AccountHolderType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostAccountsRequestBodyBankAccount'OneOf1AccountHolderType'Typed :: Text -> PostAccountsRequestBodyBankAccount'OneOf1AccountHolderType'
-- | Represents the JSON value "company"
PostAccountsRequestBodyBankAccount'OneOf1AccountHolderType'EnumCompany :: PostAccountsRequestBodyBankAccount'OneOf1AccountHolderType'
-- | Represents the JSON value "individual"
PostAccountsRequestBodyBankAccount'OneOf1AccountHolderType'EnumIndividual :: PostAccountsRequestBodyBankAccount'OneOf1AccountHolderType'
-- | Defines the enum schema located at
-- paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.bank_account.anyOf.properties.object
-- in the specification.
data PostAccountsRequestBodyBankAccount'OneOf1Object'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostAccountsRequestBodyBankAccount'OneOf1Object'Other :: Value -> PostAccountsRequestBodyBankAccount'OneOf1Object'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostAccountsRequestBodyBankAccount'OneOf1Object'Typed :: Text -> PostAccountsRequestBodyBankAccount'OneOf1Object'
-- | Represents the JSON value "bank_account"
PostAccountsRequestBodyBankAccount'OneOf1Object'EnumBankAccount :: PostAccountsRequestBodyBankAccount'OneOf1Object'
-- | Defines the oneOf schema located at
-- paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.bank_account.anyOf
-- in the specification.
--
-- Either a token, like the ones returned by Stripe.js, or a
-- dictionary containing a user's bank account details.
data PostAccountsRequestBodyBankAccount'Variants
PostAccountsRequestBodyBankAccount'PostAccountsRequestBodyBankAccount'OneOf1 :: PostAccountsRequestBodyBankAccount'OneOf1 -> PostAccountsRequestBodyBankAccount'Variants
PostAccountsRequestBodyBankAccount'Text :: Text -> PostAccountsRequestBodyBankAccount'Variants
-- | Defines the object schema located at
-- paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.business_profile
-- in the specification.
--
-- Business information about the account.
data PostAccountsRequestBodyBusinessProfile'
PostAccountsRequestBodyBusinessProfile' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe PostAccountsRequestBodyBusinessProfile'SupportAddress' -> Maybe Text -> Maybe Text -> Maybe PostAccountsRequestBodyBusinessProfile'SupportUrl'Variants -> Maybe Text -> PostAccountsRequestBodyBusinessProfile'
-- | mcc
--
-- Constraints:
--
--
-- - Maximum length of 4
--
[postAccountsRequestBodyBusinessProfile'Mcc] :: PostAccountsRequestBodyBusinessProfile' -> Maybe Text
-- | name
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsRequestBodyBusinessProfile'Name] :: PostAccountsRequestBodyBusinessProfile' -> Maybe Text
-- | product_description
--
-- Constraints:
--
--
-- - Maximum length of 40000
--
[postAccountsRequestBodyBusinessProfile'ProductDescription] :: PostAccountsRequestBodyBusinessProfile' -> Maybe Text
-- | support_address
[postAccountsRequestBodyBusinessProfile'SupportAddress] :: PostAccountsRequestBodyBusinessProfile' -> Maybe PostAccountsRequestBodyBusinessProfile'SupportAddress'
-- | support_email
[postAccountsRequestBodyBusinessProfile'SupportEmail] :: PostAccountsRequestBodyBusinessProfile' -> Maybe Text
-- | support_phone
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsRequestBodyBusinessProfile'SupportPhone] :: PostAccountsRequestBodyBusinessProfile' -> Maybe Text
-- | support_url
[postAccountsRequestBodyBusinessProfile'SupportUrl] :: PostAccountsRequestBodyBusinessProfile' -> Maybe PostAccountsRequestBodyBusinessProfile'SupportUrl'Variants
-- | url
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsRequestBodyBusinessProfile'Url] :: PostAccountsRequestBodyBusinessProfile' -> Maybe Text
-- | Create a new PostAccountsRequestBodyBusinessProfile' with all
-- required fields.
mkPostAccountsRequestBodyBusinessProfile' :: PostAccountsRequestBodyBusinessProfile'
-- | Defines the object schema located at
-- paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.business_profile.properties.support_address
-- in the specification.
data PostAccountsRequestBodyBusinessProfile'SupportAddress'
PostAccountsRequestBodyBusinessProfile'SupportAddress' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PostAccountsRequestBodyBusinessProfile'SupportAddress'
-- | city
--
-- Constraints:
--
--
-- - Maximum length of 100
--
[postAccountsRequestBodyBusinessProfile'SupportAddress'City] :: PostAccountsRequestBodyBusinessProfile'SupportAddress' -> Maybe Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsRequestBodyBusinessProfile'SupportAddress'Country] :: PostAccountsRequestBodyBusinessProfile'SupportAddress' -> Maybe Text
-- | line1
--
-- Constraints:
--
--
-- - Maximum length of 200
--
[postAccountsRequestBodyBusinessProfile'SupportAddress'Line1] :: PostAccountsRequestBodyBusinessProfile'SupportAddress' -> Maybe Text
-- | line2
--
-- Constraints:
--
--
-- - Maximum length of 200
--
[postAccountsRequestBodyBusinessProfile'SupportAddress'Line2] :: PostAccountsRequestBodyBusinessProfile'SupportAddress' -> Maybe Text
-- | postal_code
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsRequestBodyBusinessProfile'SupportAddress'PostalCode] :: PostAccountsRequestBodyBusinessProfile'SupportAddress' -> Maybe Text
-- | state
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsRequestBodyBusinessProfile'SupportAddress'State] :: PostAccountsRequestBodyBusinessProfile'SupportAddress' -> Maybe Text
-- | Create a new
-- PostAccountsRequestBodyBusinessProfile'SupportAddress' with all
-- required fields.
mkPostAccountsRequestBodyBusinessProfile'SupportAddress' :: PostAccountsRequestBodyBusinessProfile'SupportAddress'
-- | Defines the oneOf schema located at
-- paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.business_profile.properties.support_url.anyOf
-- in the specification.
data PostAccountsRequestBodyBusinessProfile'SupportUrl'Variants
-- | Represents the JSON value ""
PostAccountsRequestBodyBusinessProfile'SupportUrl'EmptyString :: PostAccountsRequestBodyBusinessProfile'SupportUrl'Variants
PostAccountsRequestBodyBusinessProfile'SupportUrl'Text :: Text -> PostAccountsRequestBodyBusinessProfile'SupportUrl'Variants
-- | Defines the enum schema located at
-- paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.business_type
-- in the specification.
--
-- The business type.
data PostAccountsRequestBodyBusinessType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostAccountsRequestBodyBusinessType'Other :: Value -> PostAccountsRequestBodyBusinessType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostAccountsRequestBodyBusinessType'Typed :: Text -> PostAccountsRequestBodyBusinessType'
-- | Represents the JSON value "company"
PostAccountsRequestBodyBusinessType'EnumCompany :: PostAccountsRequestBodyBusinessType'
-- | Represents the JSON value "government_entity"
PostAccountsRequestBodyBusinessType'EnumGovernmentEntity :: PostAccountsRequestBodyBusinessType'
-- | Represents the JSON value "individual"
PostAccountsRequestBodyBusinessType'EnumIndividual :: PostAccountsRequestBodyBusinessType'
-- | Represents the JSON value "non_profit"
PostAccountsRequestBodyBusinessType'EnumNonProfit :: PostAccountsRequestBodyBusinessType'
-- | Defines the object schema located at
-- paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities
-- in the specification.
--
-- Each key of the dictionary represents a capability, and each
-- capability maps to its settings (e.g. whether it has been requested or
-- not). Each capability will be inactive until you have provided its
-- specific requirements and Stripe has verified them. An account may
-- have some of its requested capabilities be active and some be
-- inactive.
data PostAccountsRequestBodyCapabilities'
PostAccountsRequestBodyCapabilities' :: Maybe PostAccountsRequestBodyCapabilities'AcssDebitPayments' -> Maybe PostAccountsRequestBodyCapabilities'AfterpayClearpayPayments' -> Maybe PostAccountsRequestBodyCapabilities'AuBecsDebitPayments' -> Maybe PostAccountsRequestBodyCapabilities'BacsDebitPayments' -> Maybe PostAccountsRequestBodyCapabilities'BancontactPayments' -> Maybe PostAccountsRequestBodyCapabilities'CardIssuing' -> Maybe PostAccountsRequestBodyCapabilities'CardPayments' -> Maybe PostAccountsRequestBodyCapabilities'CartesBancairesPayments' -> Maybe PostAccountsRequestBodyCapabilities'EpsPayments' -> Maybe PostAccountsRequestBodyCapabilities'FpxPayments' -> Maybe PostAccountsRequestBodyCapabilities'GiropayPayments' -> Maybe PostAccountsRequestBodyCapabilities'GrabpayPayments' -> Maybe PostAccountsRequestBodyCapabilities'IdealPayments' -> Maybe PostAccountsRequestBodyCapabilities'JcbPayments' -> Maybe PostAccountsRequestBodyCapabilities'LegacyPayments' -> Maybe PostAccountsRequestBodyCapabilities'OxxoPayments' -> Maybe PostAccountsRequestBodyCapabilities'P24Payments' -> Maybe PostAccountsRequestBodyCapabilities'SepaDebitPayments' -> Maybe PostAccountsRequestBodyCapabilities'SofortPayments' -> Maybe PostAccountsRequestBodyCapabilities'TaxReportingUs_1099K' -> Maybe PostAccountsRequestBodyCapabilities'TaxReportingUs_1099Misc' -> Maybe PostAccountsRequestBodyCapabilities'Transfers' -> PostAccountsRequestBodyCapabilities'
-- | acss_debit_payments
[postAccountsRequestBodyCapabilities'AcssDebitPayments] :: PostAccountsRequestBodyCapabilities' -> Maybe PostAccountsRequestBodyCapabilities'AcssDebitPayments'
-- | afterpay_clearpay_payments
[postAccountsRequestBodyCapabilities'AfterpayClearpayPayments] :: PostAccountsRequestBodyCapabilities' -> Maybe PostAccountsRequestBodyCapabilities'AfterpayClearpayPayments'
-- | au_becs_debit_payments
[postAccountsRequestBodyCapabilities'AuBecsDebitPayments] :: PostAccountsRequestBodyCapabilities' -> Maybe PostAccountsRequestBodyCapabilities'AuBecsDebitPayments'
-- | bacs_debit_payments
[postAccountsRequestBodyCapabilities'BacsDebitPayments] :: PostAccountsRequestBodyCapabilities' -> Maybe PostAccountsRequestBodyCapabilities'BacsDebitPayments'
-- | bancontact_payments
[postAccountsRequestBodyCapabilities'BancontactPayments] :: PostAccountsRequestBodyCapabilities' -> Maybe PostAccountsRequestBodyCapabilities'BancontactPayments'
-- | card_issuing
[postAccountsRequestBodyCapabilities'CardIssuing] :: PostAccountsRequestBodyCapabilities' -> Maybe PostAccountsRequestBodyCapabilities'CardIssuing'
-- | card_payments
[postAccountsRequestBodyCapabilities'CardPayments] :: PostAccountsRequestBodyCapabilities' -> Maybe PostAccountsRequestBodyCapabilities'CardPayments'
-- | cartes_bancaires_payments
[postAccountsRequestBodyCapabilities'CartesBancairesPayments] :: PostAccountsRequestBodyCapabilities' -> Maybe PostAccountsRequestBodyCapabilities'CartesBancairesPayments'
-- | eps_payments
[postAccountsRequestBodyCapabilities'EpsPayments] :: PostAccountsRequestBodyCapabilities' -> Maybe PostAccountsRequestBodyCapabilities'EpsPayments'
-- | fpx_payments
[postAccountsRequestBodyCapabilities'FpxPayments] :: PostAccountsRequestBodyCapabilities' -> Maybe PostAccountsRequestBodyCapabilities'FpxPayments'
-- | giropay_payments
[postAccountsRequestBodyCapabilities'GiropayPayments] :: PostAccountsRequestBodyCapabilities' -> Maybe PostAccountsRequestBodyCapabilities'GiropayPayments'
-- | grabpay_payments
[postAccountsRequestBodyCapabilities'GrabpayPayments] :: PostAccountsRequestBodyCapabilities' -> Maybe PostAccountsRequestBodyCapabilities'GrabpayPayments'
-- | ideal_payments
[postAccountsRequestBodyCapabilities'IdealPayments] :: PostAccountsRequestBodyCapabilities' -> Maybe PostAccountsRequestBodyCapabilities'IdealPayments'
-- | jcb_payments
[postAccountsRequestBodyCapabilities'JcbPayments] :: PostAccountsRequestBodyCapabilities' -> Maybe PostAccountsRequestBodyCapabilities'JcbPayments'
-- | legacy_payments
[postAccountsRequestBodyCapabilities'LegacyPayments] :: PostAccountsRequestBodyCapabilities' -> Maybe PostAccountsRequestBodyCapabilities'LegacyPayments'
-- | oxxo_payments
[postAccountsRequestBodyCapabilities'OxxoPayments] :: PostAccountsRequestBodyCapabilities' -> Maybe PostAccountsRequestBodyCapabilities'OxxoPayments'
-- | p24_payments
[postAccountsRequestBodyCapabilities'P24Payments] :: PostAccountsRequestBodyCapabilities' -> Maybe PostAccountsRequestBodyCapabilities'P24Payments'
-- | sepa_debit_payments
[postAccountsRequestBodyCapabilities'SepaDebitPayments] :: PostAccountsRequestBodyCapabilities' -> Maybe PostAccountsRequestBodyCapabilities'SepaDebitPayments'
-- | sofort_payments
[postAccountsRequestBodyCapabilities'SofortPayments] :: PostAccountsRequestBodyCapabilities' -> Maybe PostAccountsRequestBodyCapabilities'SofortPayments'
-- | tax_reporting_us_1099_k
[postAccountsRequestBodyCapabilities'TaxReportingUs_1099K] :: PostAccountsRequestBodyCapabilities' -> Maybe PostAccountsRequestBodyCapabilities'TaxReportingUs_1099K'
-- | tax_reporting_us_1099_misc
[postAccountsRequestBodyCapabilities'TaxReportingUs_1099Misc] :: PostAccountsRequestBodyCapabilities' -> Maybe PostAccountsRequestBodyCapabilities'TaxReportingUs_1099Misc'
-- | transfers
[postAccountsRequestBodyCapabilities'Transfers] :: PostAccountsRequestBodyCapabilities' -> Maybe PostAccountsRequestBodyCapabilities'Transfers'
-- | Create a new PostAccountsRequestBodyCapabilities' with all
-- required fields.
mkPostAccountsRequestBodyCapabilities' :: PostAccountsRequestBodyCapabilities'
-- | Defines the object schema located at
-- paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.acss_debit_payments
-- in the specification.
data PostAccountsRequestBodyCapabilities'AcssDebitPayments'
PostAccountsRequestBodyCapabilities'AcssDebitPayments' :: Maybe Bool -> PostAccountsRequestBodyCapabilities'AcssDebitPayments'
-- | requested
[postAccountsRequestBodyCapabilities'AcssDebitPayments'Requested] :: PostAccountsRequestBodyCapabilities'AcssDebitPayments' -> Maybe Bool
-- | Create a new
-- PostAccountsRequestBodyCapabilities'AcssDebitPayments' with all
-- required fields.
mkPostAccountsRequestBodyCapabilities'AcssDebitPayments' :: PostAccountsRequestBodyCapabilities'AcssDebitPayments'
-- | Defines the object schema located at
-- paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.afterpay_clearpay_payments
-- in the specification.
data PostAccountsRequestBodyCapabilities'AfterpayClearpayPayments'
PostAccountsRequestBodyCapabilities'AfterpayClearpayPayments' :: Maybe Bool -> PostAccountsRequestBodyCapabilities'AfterpayClearpayPayments'
-- | requested
[postAccountsRequestBodyCapabilities'AfterpayClearpayPayments'Requested] :: PostAccountsRequestBodyCapabilities'AfterpayClearpayPayments' -> Maybe Bool
-- | Create a new
-- PostAccountsRequestBodyCapabilities'AfterpayClearpayPayments'
-- with all required fields.
mkPostAccountsRequestBodyCapabilities'AfterpayClearpayPayments' :: PostAccountsRequestBodyCapabilities'AfterpayClearpayPayments'
-- | Defines the object schema located at
-- paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.au_becs_debit_payments
-- in the specification.
data PostAccountsRequestBodyCapabilities'AuBecsDebitPayments'
PostAccountsRequestBodyCapabilities'AuBecsDebitPayments' :: Maybe Bool -> PostAccountsRequestBodyCapabilities'AuBecsDebitPayments'
-- | requested
[postAccountsRequestBodyCapabilities'AuBecsDebitPayments'Requested] :: PostAccountsRequestBodyCapabilities'AuBecsDebitPayments' -> Maybe Bool
-- | Create a new
-- PostAccountsRequestBodyCapabilities'AuBecsDebitPayments' with
-- all required fields.
mkPostAccountsRequestBodyCapabilities'AuBecsDebitPayments' :: PostAccountsRequestBodyCapabilities'AuBecsDebitPayments'
-- | Defines the object schema located at
-- paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.bacs_debit_payments
-- in the specification.
data PostAccountsRequestBodyCapabilities'BacsDebitPayments'
PostAccountsRequestBodyCapabilities'BacsDebitPayments' :: Maybe Bool -> PostAccountsRequestBodyCapabilities'BacsDebitPayments'
-- | requested
[postAccountsRequestBodyCapabilities'BacsDebitPayments'Requested] :: PostAccountsRequestBodyCapabilities'BacsDebitPayments' -> Maybe Bool
-- | Create a new
-- PostAccountsRequestBodyCapabilities'BacsDebitPayments' with all
-- required fields.
mkPostAccountsRequestBodyCapabilities'BacsDebitPayments' :: PostAccountsRequestBodyCapabilities'BacsDebitPayments'
-- | Defines the object schema located at
-- paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.bancontact_payments
-- in the specification.
data PostAccountsRequestBodyCapabilities'BancontactPayments'
PostAccountsRequestBodyCapabilities'BancontactPayments' :: Maybe Bool -> PostAccountsRequestBodyCapabilities'BancontactPayments'
-- | requested
[postAccountsRequestBodyCapabilities'BancontactPayments'Requested] :: PostAccountsRequestBodyCapabilities'BancontactPayments' -> Maybe Bool
-- | Create a new
-- PostAccountsRequestBodyCapabilities'BancontactPayments' with
-- all required fields.
mkPostAccountsRequestBodyCapabilities'BancontactPayments' :: PostAccountsRequestBodyCapabilities'BancontactPayments'
-- | Defines the object schema located at
-- paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.card_issuing
-- in the specification.
data PostAccountsRequestBodyCapabilities'CardIssuing'
PostAccountsRequestBodyCapabilities'CardIssuing' :: Maybe Bool -> PostAccountsRequestBodyCapabilities'CardIssuing'
-- | requested
[postAccountsRequestBodyCapabilities'CardIssuing'Requested] :: PostAccountsRequestBodyCapabilities'CardIssuing' -> Maybe Bool
-- | Create a new PostAccountsRequestBodyCapabilities'CardIssuing'
-- with all required fields.
mkPostAccountsRequestBodyCapabilities'CardIssuing' :: PostAccountsRequestBodyCapabilities'CardIssuing'
-- | Defines the object schema located at
-- paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.card_payments
-- in the specification.
data PostAccountsRequestBodyCapabilities'CardPayments'
PostAccountsRequestBodyCapabilities'CardPayments' :: Maybe Bool -> PostAccountsRequestBodyCapabilities'CardPayments'
-- | requested
[postAccountsRequestBodyCapabilities'CardPayments'Requested] :: PostAccountsRequestBodyCapabilities'CardPayments' -> Maybe Bool
-- | Create a new PostAccountsRequestBodyCapabilities'CardPayments'
-- with all required fields.
mkPostAccountsRequestBodyCapabilities'CardPayments' :: PostAccountsRequestBodyCapabilities'CardPayments'
-- | Defines the object schema located at
-- paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.cartes_bancaires_payments
-- in the specification.
data PostAccountsRequestBodyCapabilities'CartesBancairesPayments'
PostAccountsRequestBodyCapabilities'CartesBancairesPayments' :: Maybe Bool -> PostAccountsRequestBodyCapabilities'CartesBancairesPayments'
-- | requested
[postAccountsRequestBodyCapabilities'CartesBancairesPayments'Requested] :: PostAccountsRequestBodyCapabilities'CartesBancairesPayments' -> Maybe Bool
-- | Create a new
-- PostAccountsRequestBodyCapabilities'CartesBancairesPayments'
-- with all required fields.
mkPostAccountsRequestBodyCapabilities'CartesBancairesPayments' :: PostAccountsRequestBodyCapabilities'CartesBancairesPayments'
-- | Defines the object schema located at
-- paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.eps_payments
-- in the specification.
data PostAccountsRequestBodyCapabilities'EpsPayments'
PostAccountsRequestBodyCapabilities'EpsPayments' :: Maybe Bool -> PostAccountsRequestBodyCapabilities'EpsPayments'
-- | requested
[postAccountsRequestBodyCapabilities'EpsPayments'Requested] :: PostAccountsRequestBodyCapabilities'EpsPayments' -> Maybe Bool
-- | Create a new PostAccountsRequestBodyCapabilities'EpsPayments'
-- with all required fields.
mkPostAccountsRequestBodyCapabilities'EpsPayments' :: PostAccountsRequestBodyCapabilities'EpsPayments'
-- | Defines the object schema located at
-- paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.fpx_payments
-- in the specification.
data PostAccountsRequestBodyCapabilities'FpxPayments'
PostAccountsRequestBodyCapabilities'FpxPayments' :: Maybe Bool -> PostAccountsRequestBodyCapabilities'FpxPayments'
-- | requested
[postAccountsRequestBodyCapabilities'FpxPayments'Requested] :: PostAccountsRequestBodyCapabilities'FpxPayments' -> Maybe Bool
-- | Create a new PostAccountsRequestBodyCapabilities'FpxPayments'
-- with all required fields.
mkPostAccountsRequestBodyCapabilities'FpxPayments' :: PostAccountsRequestBodyCapabilities'FpxPayments'
-- | Defines the object schema located at
-- paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.giropay_payments
-- in the specification.
data PostAccountsRequestBodyCapabilities'GiropayPayments'
PostAccountsRequestBodyCapabilities'GiropayPayments' :: Maybe Bool -> PostAccountsRequestBodyCapabilities'GiropayPayments'
-- | requested
[postAccountsRequestBodyCapabilities'GiropayPayments'Requested] :: PostAccountsRequestBodyCapabilities'GiropayPayments' -> Maybe Bool
-- | Create a new
-- PostAccountsRequestBodyCapabilities'GiropayPayments' with all
-- required fields.
mkPostAccountsRequestBodyCapabilities'GiropayPayments' :: PostAccountsRequestBodyCapabilities'GiropayPayments'
-- | Defines the object schema located at
-- paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.grabpay_payments
-- in the specification.
data PostAccountsRequestBodyCapabilities'GrabpayPayments'
PostAccountsRequestBodyCapabilities'GrabpayPayments' :: Maybe Bool -> PostAccountsRequestBodyCapabilities'GrabpayPayments'
-- | requested
[postAccountsRequestBodyCapabilities'GrabpayPayments'Requested] :: PostAccountsRequestBodyCapabilities'GrabpayPayments' -> Maybe Bool
-- | Create a new
-- PostAccountsRequestBodyCapabilities'GrabpayPayments' with all
-- required fields.
mkPostAccountsRequestBodyCapabilities'GrabpayPayments' :: PostAccountsRequestBodyCapabilities'GrabpayPayments'
-- | Defines the object schema located at
-- paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.ideal_payments
-- in the specification.
data PostAccountsRequestBodyCapabilities'IdealPayments'
PostAccountsRequestBodyCapabilities'IdealPayments' :: Maybe Bool -> PostAccountsRequestBodyCapabilities'IdealPayments'
-- | requested
[postAccountsRequestBodyCapabilities'IdealPayments'Requested] :: PostAccountsRequestBodyCapabilities'IdealPayments' -> Maybe Bool
-- | Create a new PostAccountsRequestBodyCapabilities'IdealPayments'
-- with all required fields.
mkPostAccountsRequestBodyCapabilities'IdealPayments' :: PostAccountsRequestBodyCapabilities'IdealPayments'
-- | Defines the object schema located at
-- paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.jcb_payments
-- in the specification.
data PostAccountsRequestBodyCapabilities'JcbPayments'
PostAccountsRequestBodyCapabilities'JcbPayments' :: Maybe Bool -> PostAccountsRequestBodyCapabilities'JcbPayments'
-- | requested
[postAccountsRequestBodyCapabilities'JcbPayments'Requested] :: PostAccountsRequestBodyCapabilities'JcbPayments' -> Maybe Bool
-- | Create a new PostAccountsRequestBodyCapabilities'JcbPayments'
-- with all required fields.
mkPostAccountsRequestBodyCapabilities'JcbPayments' :: PostAccountsRequestBodyCapabilities'JcbPayments'
-- | Defines the object schema located at
-- paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.legacy_payments
-- in the specification.
data PostAccountsRequestBodyCapabilities'LegacyPayments'
PostAccountsRequestBodyCapabilities'LegacyPayments' :: Maybe Bool -> PostAccountsRequestBodyCapabilities'LegacyPayments'
-- | requested
[postAccountsRequestBodyCapabilities'LegacyPayments'Requested] :: PostAccountsRequestBodyCapabilities'LegacyPayments' -> Maybe Bool
-- | Create a new
-- PostAccountsRequestBodyCapabilities'LegacyPayments' with all
-- required fields.
mkPostAccountsRequestBodyCapabilities'LegacyPayments' :: PostAccountsRequestBodyCapabilities'LegacyPayments'
-- | Defines the object schema located at
-- paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.oxxo_payments
-- in the specification.
data PostAccountsRequestBodyCapabilities'OxxoPayments'
PostAccountsRequestBodyCapabilities'OxxoPayments' :: Maybe Bool -> PostAccountsRequestBodyCapabilities'OxxoPayments'
-- | requested
[postAccountsRequestBodyCapabilities'OxxoPayments'Requested] :: PostAccountsRequestBodyCapabilities'OxxoPayments' -> Maybe Bool
-- | Create a new PostAccountsRequestBodyCapabilities'OxxoPayments'
-- with all required fields.
mkPostAccountsRequestBodyCapabilities'OxxoPayments' :: PostAccountsRequestBodyCapabilities'OxxoPayments'
-- | Defines the object schema located at
-- paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.p24_payments
-- in the specification.
data PostAccountsRequestBodyCapabilities'P24Payments'
PostAccountsRequestBodyCapabilities'P24Payments' :: Maybe Bool -> PostAccountsRequestBodyCapabilities'P24Payments'
-- | requested
[postAccountsRequestBodyCapabilities'P24Payments'Requested] :: PostAccountsRequestBodyCapabilities'P24Payments' -> Maybe Bool
-- | Create a new PostAccountsRequestBodyCapabilities'P24Payments'
-- with all required fields.
mkPostAccountsRequestBodyCapabilities'P24Payments' :: PostAccountsRequestBodyCapabilities'P24Payments'
-- | Defines the object schema located at
-- paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.sepa_debit_payments
-- in the specification.
data PostAccountsRequestBodyCapabilities'SepaDebitPayments'
PostAccountsRequestBodyCapabilities'SepaDebitPayments' :: Maybe Bool -> PostAccountsRequestBodyCapabilities'SepaDebitPayments'
-- | requested
[postAccountsRequestBodyCapabilities'SepaDebitPayments'Requested] :: PostAccountsRequestBodyCapabilities'SepaDebitPayments' -> Maybe Bool
-- | Create a new
-- PostAccountsRequestBodyCapabilities'SepaDebitPayments' with all
-- required fields.
mkPostAccountsRequestBodyCapabilities'SepaDebitPayments' :: PostAccountsRequestBodyCapabilities'SepaDebitPayments'
-- | Defines the object schema located at
-- paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.sofort_payments
-- in the specification.
data PostAccountsRequestBodyCapabilities'SofortPayments'
PostAccountsRequestBodyCapabilities'SofortPayments' :: Maybe Bool -> PostAccountsRequestBodyCapabilities'SofortPayments'
-- | requested
[postAccountsRequestBodyCapabilities'SofortPayments'Requested] :: PostAccountsRequestBodyCapabilities'SofortPayments' -> Maybe Bool
-- | Create a new
-- PostAccountsRequestBodyCapabilities'SofortPayments' with all
-- required fields.
mkPostAccountsRequestBodyCapabilities'SofortPayments' :: PostAccountsRequestBodyCapabilities'SofortPayments'
-- | Defines the object schema located at
-- paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.tax_reporting_us_1099_k
-- in the specification.
data PostAccountsRequestBodyCapabilities'TaxReportingUs_1099K'
PostAccountsRequestBodyCapabilities'TaxReportingUs_1099K' :: Maybe Bool -> PostAccountsRequestBodyCapabilities'TaxReportingUs_1099K'
-- | requested
[postAccountsRequestBodyCapabilities'TaxReportingUs_1099K'Requested] :: PostAccountsRequestBodyCapabilities'TaxReportingUs_1099K' -> Maybe Bool
-- | Create a new
-- PostAccountsRequestBodyCapabilities'TaxReportingUs_1099K' with
-- all required fields.
mkPostAccountsRequestBodyCapabilities'TaxReportingUs_1099K' :: PostAccountsRequestBodyCapabilities'TaxReportingUs_1099K'
-- | Defines the object schema located at
-- paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.tax_reporting_us_1099_misc
-- in the specification.
data PostAccountsRequestBodyCapabilities'TaxReportingUs_1099Misc'
PostAccountsRequestBodyCapabilities'TaxReportingUs_1099Misc' :: Maybe Bool -> PostAccountsRequestBodyCapabilities'TaxReportingUs_1099Misc'
-- | requested
[postAccountsRequestBodyCapabilities'TaxReportingUs_1099Misc'Requested] :: PostAccountsRequestBodyCapabilities'TaxReportingUs_1099Misc' -> Maybe Bool
-- | Create a new
-- PostAccountsRequestBodyCapabilities'TaxReportingUs_1099Misc'
-- with all required fields.
mkPostAccountsRequestBodyCapabilities'TaxReportingUs_1099Misc' :: PostAccountsRequestBodyCapabilities'TaxReportingUs_1099Misc'
-- | Defines the object schema located at
-- paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.transfers
-- in the specification.
data PostAccountsRequestBodyCapabilities'Transfers'
PostAccountsRequestBodyCapabilities'Transfers' :: Maybe Bool -> PostAccountsRequestBodyCapabilities'Transfers'
-- | requested
[postAccountsRequestBodyCapabilities'Transfers'Requested] :: PostAccountsRequestBodyCapabilities'Transfers' -> Maybe Bool
-- | Create a new PostAccountsRequestBodyCapabilities'Transfers'
-- with all required fields.
mkPostAccountsRequestBodyCapabilities'Transfers' :: PostAccountsRequestBodyCapabilities'Transfers'
-- | Defines the object schema located at
-- paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.company
-- in the specification.
--
-- Information about the company or business. This field is available for
-- any `business_type`.
data PostAccountsRequestBodyCompany'
PostAccountsRequestBodyCompany' :: Maybe PostAccountsRequestBodyCompany'Address' -> Maybe PostAccountsRequestBodyCompany'AddressKana' -> Maybe PostAccountsRequestBodyCompany'AddressKanji' -> Maybe Bool -> Maybe Bool -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe Text -> Maybe PostAccountsRequestBodyCompany'Structure' -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe PostAccountsRequestBodyCompany'Verification' -> PostAccountsRequestBodyCompany'
-- | address
[postAccountsRequestBodyCompany'Address] :: PostAccountsRequestBodyCompany' -> Maybe PostAccountsRequestBodyCompany'Address'
-- | address_kana
[postAccountsRequestBodyCompany'AddressKana] :: PostAccountsRequestBodyCompany' -> Maybe PostAccountsRequestBodyCompany'AddressKana'
-- | address_kanji
[postAccountsRequestBodyCompany'AddressKanji] :: PostAccountsRequestBodyCompany' -> Maybe PostAccountsRequestBodyCompany'AddressKanji'
-- | directors_provided
[postAccountsRequestBodyCompany'DirectorsProvided] :: PostAccountsRequestBodyCompany' -> Maybe Bool
-- | executives_provided
[postAccountsRequestBodyCompany'ExecutivesProvided] :: PostAccountsRequestBodyCompany' -> Maybe Bool
-- | name
--
-- Constraints:
--
--
-- - Maximum length of 100
--
[postAccountsRequestBodyCompany'Name] :: PostAccountsRequestBodyCompany' -> Maybe Text
-- | name_kana
--
-- Constraints:
--
--
-- - Maximum length of 100
--
[postAccountsRequestBodyCompany'NameKana] :: PostAccountsRequestBodyCompany' -> Maybe Text
-- | name_kanji
--
-- Constraints:
--
--
-- - Maximum length of 100
--
[postAccountsRequestBodyCompany'NameKanji] :: PostAccountsRequestBodyCompany' -> Maybe Text
-- | owners_provided
[postAccountsRequestBodyCompany'OwnersProvided] :: PostAccountsRequestBodyCompany' -> Maybe Bool
-- | phone
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsRequestBodyCompany'Phone] :: PostAccountsRequestBodyCompany' -> Maybe Text
-- | registration_number
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsRequestBodyCompany'RegistrationNumber] :: PostAccountsRequestBodyCompany' -> Maybe Text
-- | structure
[postAccountsRequestBodyCompany'Structure] :: PostAccountsRequestBodyCompany' -> Maybe PostAccountsRequestBodyCompany'Structure'
-- | tax_id
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsRequestBodyCompany'TaxId] :: PostAccountsRequestBodyCompany' -> Maybe Text
-- | tax_id_registrar
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsRequestBodyCompany'TaxIdRegistrar] :: PostAccountsRequestBodyCompany' -> Maybe Text
-- | vat_id
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsRequestBodyCompany'VatId] :: PostAccountsRequestBodyCompany' -> Maybe Text
-- | verification
[postAccountsRequestBodyCompany'Verification] :: PostAccountsRequestBodyCompany' -> Maybe PostAccountsRequestBodyCompany'Verification'
-- | Create a new PostAccountsRequestBodyCompany' with all required
-- fields.
mkPostAccountsRequestBodyCompany' :: PostAccountsRequestBodyCompany'
-- | Defines the object schema located at
-- paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.company.properties.address
-- in the specification.
data PostAccountsRequestBodyCompany'Address'
PostAccountsRequestBodyCompany'Address' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PostAccountsRequestBodyCompany'Address'
-- | city
--
-- Constraints:
--
--
-- - Maximum length of 100
--
[postAccountsRequestBodyCompany'Address'City] :: PostAccountsRequestBodyCompany'Address' -> Maybe Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsRequestBodyCompany'Address'Country] :: PostAccountsRequestBodyCompany'Address' -> Maybe Text
-- | line1
--
-- Constraints:
--
--
-- - Maximum length of 200
--
[postAccountsRequestBodyCompany'Address'Line1] :: PostAccountsRequestBodyCompany'Address' -> Maybe Text
-- | line2
--
-- Constraints:
--
--
-- - Maximum length of 200
--
[postAccountsRequestBodyCompany'Address'Line2] :: PostAccountsRequestBodyCompany'Address' -> Maybe Text
-- | postal_code
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsRequestBodyCompany'Address'PostalCode] :: PostAccountsRequestBodyCompany'Address' -> Maybe Text
-- | state
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsRequestBodyCompany'Address'State] :: PostAccountsRequestBodyCompany'Address' -> Maybe Text
-- | Create a new PostAccountsRequestBodyCompany'Address' with all
-- required fields.
mkPostAccountsRequestBodyCompany'Address' :: PostAccountsRequestBodyCompany'Address'
-- | Defines the object schema located at
-- paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.company.properties.address_kana
-- in the specification.
data PostAccountsRequestBodyCompany'AddressKana'
PostAccountsRequestBodyCompany'AddressKana' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PostAccountsRequestBodyCompany'AddressKana'
-- | city
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsRequestBodyCompany'AddressKana'City] :: PostAccountsRequestBodyCompany'AddressKana' -> Maybe Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsRequestBodyCompany'AddressKana'Country] :: PostAccountsRequestBodyCompany'AddressKana' -> Maybe Text
-- | line1
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsRequestBodyCompany'AddressKana'Line1] :: PostAccountsRequestBodyCompany'AddressKana' -> Maybe Text
-- | line2
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsRequestBodyCompany'AddressKana'Line2] :: PostAccountsRequestBodyCompany'AddressKana' -> Maybe Text
-- | postal_code
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsRequestBodyCompany'AddressKana'PostalCode] :: PostAccountsRequestBodyCompany'AddressKana' -> Maybe Text
-- | state
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsRequestBodyCompany'AddressKana'State] :: PostAccountsRequestBodyCompany'AddressKana' -> Maybe Text
-- | town
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsRequestBodyCompany'AddressKana'Town] :: PostAccountsRequestBodyCompany'AddressKana' -> Maybe Text
-- | Create a new PostAccountsRequestBodyCompany'AddressKana' with
-- all required fields.
mkPostAccountsRequestBodyCompany'AddressKana' :: PostAccountsRequestBodyCompany'AddressKana'
-- | Defines the object schema located at
-- paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.company.properties.address_kanji
-- in the specification.
data PostAccountsRequestBodyCompany'AddressKanji'
PostAccountsRequestBodyCompany'AddressKanji' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PostAccountsRequestBodyCompany'AddressKanji'
-- | city
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsRequestBodyCompany'AddressKanji'City] :: PostAccountsRequestBodyCompany'AddressKanji' -> Maybe Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsRequestBodyCompany'AddressKanji'Country] :: PostAccountsRequestBodyCompany'AddressKanji' -> Maybe Text
-- | line1
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsRequestBodyCompany'AddressKanji'Line1] :: PostAccountsRequestBodyCompany'AddressKanji' -> Maybe Text
-- | line2
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsRequestBodyCompany'AddressKanji'Line2] :: PostAccountsRequestBodyCompany'AddressKanji' -> Maybe Text
-- | postal_code
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsRequestBodyCompany'AddressKanji'PostalCode] :: PostAccountsRequestBodyCompany'AddressKanji' -> Maybe Text
-- | state
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsRequestBodyCompany'AddressKanji'State] :: PostAccountsRequestBodyCompany'AddressKanji' -> Maybe Text
-- | town
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsRequestBodyCompany'AddressKanji'Town] :: PostAccountsRequestBodyCompany'AddressKanji' -> Maybe Text
-- | Create a new PostAccountsRequestBodyCompany'AddressKanji' with
-- all required fields.
mkPostAccountsRequestBodyCompany'AddressKanji' :: PostAccountsRequestBodyCompany'AddressKanji'
-- | Defines the enum schema located at
-- paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.company.properties.structure
-- in the specification.
data PostAccountsRequestBodyCompany'Structure'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostAccountsRequestBodyCompany'Structure'Other :: Value -> PostAccountsRequestBodyCompany'Structure'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostAccountsRequestBodyCompany'Structure'Typed :: Text -> PostAccountsRequestBodyCompany'Structure'
-- | Represents the JSON value ""
PostAccountsRequestBodyCompany'Structure'EnumEmptyString :: PostAccountsRequestBodyCompany'Structure'
-- | Represents the JSON value "free_zone_establishment"
PostAccountsRequestBodyCompany'Structure'EnumFreeZoneEstablishment :: PostAccountsRequestBodyCompany'Structure'
-- | Represents the JSON value "free_zone_llc"
PostAccountsRequestBodyCompany'Structure'EnumFreeZoneLlc :: PostAccountsRequestBodyCompany'Structure'
-- | Represents the JSON value "government_instrumentality"
PostAccountsRequestBodyCompany'Structure'EnumGovernmentInstrumentality :: PostAccountsRequestBodyCompany'Structure'
-- | Represents the JSON value "governmental_unit"
PostAccountsRequestBodyCompany'Structure'EnumGovernmentalUnit :: PostAccountsRequestBodyCompany'Structure'
-- | Represents the JSON value "incorporated_non_profit"
PostAccountsRequestBodyCompany'Structure'EnumIncorporatedNonProfit :: PostAccountsRequestBodyCompany'Structure'
-- | Represents the JSON value "limited_liability_partnership"
PostAccountsRequestBodyCompany'Structure'EnumLimitedLiabilityPartnership :: PostAccountsRequestBodyCompany'Structure'
-- | Represents the JSON value "llc"
PostAccountsRequestBodyCompany'Structure'EnumLlc :: PostAccountsRequestBodyCompany'Structure'
-- | Represents the JSON value "multi_member_llc"
PostAccountsRequestBodyCompany'Structure'EnumMultiMemberLlc :: PostAccountsRequestBodyCompany'Structure'
-- | Represents the JSON value "private_company"
PostAccountsRequestBodyCompany'Structure'EnumPrivateCompany :: PostAccountsRequestBodyCompany'Structure'
-- | Represents the JSON value "private_corporation"
PostAccountsRequestBodyCompany'Structure'EnumPrivateCorporation :: PostAccountsRequestBodyCompany'Structure'
-- | Represents the JSON value "private_partnership"
PostAccountsRequestBodyCompany'Structure'EnumPrivatePartnership :: PostAccountsRequestBodyCompany'Structure'
-- | Represents the JSON value "public_company"
PostAccountsRequestBodyCompany'Structure'EnumPublicCompany :: PostAccountsRequestBodyCompany'Structure'
-- | Represents the JSON value "public_corporation"
PostAccountsRequestBodyCompany'Structure'EnumPublicCorporation :: PostAccountsRequestBodyCompany'Structure'
-- | Represents the JSON value "public_partnership"
PostAccountsRequestBodyCompany'Structure'EnumPublicPartnership :: PostAccountsRequestBodyCompany'Structure'
-- | Represents the JSON value "single_member_llc"
PostAccountsRequestBodyCompany'Structure'EnumSingleMemberLlc :: PostAccountsRequestBodyCompany'Structure'
-- | Represents the JSON value "sole_establishment"
PostAccountsRequestBodyCompany'Structure'EnumSoleEstablishment :: PostAccountsRequestBodyCompany'Structure'
-- | Represents the JSON value "sole_proprietorship"
PostAccountsRequestBodyCompany'Structure'EnumSoleProprietorship :: PostAccountsRequestBodyCompany'Structure'
-- | Represents the JSON value
-- "tax_exempt_government_instrumentality"
PostAccountsRequestBodyCompany'Structure'EnumTaxExemptGovernmentInstrumentality :: PostAccountsRequestBodyCompany'Structure'
-- | Represents the JSON value "unincorporated_association"
PostAccountsRequestBodyCompany'Structure'EnumUnincorporatedAssociation :: PostAccountsRequestBodyCompany'Structure'
-- | Represents the JSON value "unincorporated_non_profit"
PostAccountsRequestBodyCompany'Structure'EnumUnincorporatedNonProfit :: PostAccountsRequestBodyCompany'Structure'
-- | Defines the object schema located at
-- paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.company.properties.verification
-- in the specification.
data PostAccountsRequestBodyCompany'Verification'
PostAccountsRequestBodyCompany'Verification' :: Maybe PostAccountsRequestBodyCompany'Verification'Document' -> PostAccountsRequestBodyCompany'Verification'
-- | document
[postAccountsRequestBodyCompany'Verification'Document] :: PostAccountsRequestBodyCompany'Verification' -> Maybe PostAccountsRequestBodyCompany'Verification'Document'
-- | Create a new PostAccountsRequestBodyCompany'Verification' with
-- all required fields.
mkPostAccountsRequestBodyCompany'Verification' :: PostAccountsRequestBodyCompany'Verification'
-- | Defines the object schema located at
-- paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.company.properties.verification.properties.document
-- in the specification.
data PostAccountsRequestBodyCompany'Verification'Document'
PostAccountsRequestBodyCompany'Verification'Document' :: Maybe Text -> Maybe Text -> PostAccountsRequestBodyCompany'Verification'Document'
-- | back
--
-- Constraints:
--
--
-- - Maximum length of 500
--
[postAccountsRequestBodyCompany'Verification'Document'Back] :: PostAccountsRequestBodyCompany'Verification'Document' -> Maybe Text
-- | front
--
-- Constraints:
--
--
-- - Maximum length of 500
--
[postAccountsRequestBodyCompany'Verification'Document'Front] :: PostAccountsRequestBodyCompany'Verification'Document' -> Maybe Text
-- | Create a new
-- PostAccountsRequestBodyCompany'Verification'Document' with all
-- required fields.
mkPostAccountsRequestBodyCompany'Verification'Document' :: PostAccountsRequestBodyCompany'Verification'Document'
-- | Defines the object schema located at
-- paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.documents
-- in the specification.
--
-- Documents that may be submitted to satisfy various informational
-- requests.
data PostAccountsRequestBodyDocuments'
PostAccountsRequestBodyDocuments' :: Maybe PostAccountsRequestBodyDocuments'BankAccountOwnershipVerification' -> Maybe PostAccountsRequestBodyDocuments'CompanyLicense' -> Maybe PostAccountsRequestBodyDocuments'CompanyMemorandumOfAssociation' -> Maybe PostAccountsRequestBodyDocuments'CompanyMinisterialDecree' -> Maybe PostAccountsRequestBodyDocuments'CompanyRegistrationVerification' -> Maybe PostAccountsRequestBodyDocuments'CompanyTaxIdVerification' -> PostAccountsRequestBodyDocuments'
-- | bank_account_ownership_verification
[postAccountsRequestBodyDocuments'BankAccountOwnershipVerification] :: PostAccountsRequestBodyDocuments' -> Maybe PostAccountsRequestBodyDocuments'BankAccountOwnershipVerification'
-- | company_license
[postAccountsRequestBodyDocuments'CompanyLicense] :: PostAccountsRequestBodyDocuments' -> Maybe PostAccountsRequestBodyDocuments'CompanyLicense'
-- | company_memorandum_of_association
[postAccountsRequestBodyDocuments'CompanyMemorandumOfAssociation] :: PostAccountsRequestBodyDocuments' -> Maybe PostAccountsRequestBodyDocuments'CompanyMemorandumOfAssociation'
-- | company_ministerial_decree
[postAccountsRequestBodyDocuments'CompanyMinisterialDecree] :: PostAccountsRequestBodyDocuments' -> Maybe PostAccountsRequestBodyDocuments'CompanyMinisterialDecree'
-- | company_registration_verification
[postAccountsRequestBodyDocuments'CompanyRegistrationVerification] :: PostAccountsRequestBodyDocuments' -> Maybe PostAccountsRequestBodyDocuments'CompanyRegistrationVerification'
-- | company_tax_id_verification
[postAccountsRequestBodyDocuments'CompanyTaxIdVerification] :: PostAccountsRequestBodyDocuments' -> Maybe PostAccountsRequestBodyDocuments'CompanyTaxIdVerification'
-- | Create a new PostAccountsRequestBodyDocuments' with all
-- required fields.
mkPostAccountsRequestBodyDocuments' :: PostAccountsRequestBodyDocuments'
-- | Defines the object schema located at
-- paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.documents.properties.bank_account_ownership_verification
-- in the specification.
data PostAccountsRequestBodyDocuments'BankAccountOwnershipVerification'
PostAccountsRequestBodyDocuments'BankAccountOwnershipVerification' :: Maybe [Text] -> PostAccountsRequestBodyDocuments'BankAccountOwnershipVerification'
-- | files
[postAccountsRequestBodyDocuments'BankAccountOwnershipVerification'Files] :: PostAccountsRequestBodyDocuments'BankAccountOwnershipVerification' -> Maybe [Text]
-- | Create a new
-- PostAccountsRequestBodyDocuments'BankAccountOwnershipVerification'
-- with all required fields.
mkPostAccountsRequestBodyDocuments'BankAccountOwnershipVerification' :: PostAccountsRequestBodyDocuments'BankAccountOwnershipVerification'
-- | Defines the object schema located at
-- paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.documents.properties.company_license
-- in the specification.
data PostAccountsRequestBodyDocuments'CompanyLicense'
PostAccountsRequestBodyDocuments'CompanyLicense' :: Maybe [Text] -> PostAccountsRequestBodyDocuments'CompanyLicense'
-- | files
[postAccountsRequestBodyDocuments'CompanyLicense'Files] :: PostAccountsRequestBodyDocuments'CompanyLicense' -> Maybe [Text]
-- | Create a new PostAccountsRequestBodyDocuments'CompanyLicense'
-- with all required fields.
mkPostAccountsRequestBodyDocuments'CompanyLicense' :: PostAccountsRequestBodyDocuments'CompanyLicense'
-- | Defines the object schema located at
-- paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.documents.properties.company_memorandum_of_association
-- in the specification.
data PostAccountsRequestBodyDocuments'CompanyMemorandumOfAssociation'
PostAccountsRequestBodyDocuments'CompanyMemorandumOfAssociation' :: Maybe [Text] -> PostAccountsRequestBodyDocuments'CompanyMemorandumOfAssociation'
-- | files
[postAccountsRequestBodyDocuments'CompanyMemorandumOfAssociation'Files] :: PostAccountsRequestBodyDocuments'CompanyMemorandumOfAssociation' -> Maybe [Text]
-- | Create a new
-- PostAccountsRequestBodyDocuments'CompanyMemorandumOfAssociation'
-- with all required fields.
mkPostAccountsRequestBodyDocuments'CompanyMemorandumOfAssociation' :: PostAccountsRequestBodyDocuments'CompanyMemorandumOfAssociation'
-- | Defines the object schema located at
-- paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.documents.properties.company_ministerial_decree
-- in the specification.
data PostAccountsRequestBodyDocuments'CompanyMinisterialDecree'
PostAccountsRequestBodyDocuments'CompanyMinisterialDecree' :: Maybe [Text] -> PostAccountsRequestBodyDocuments'CompanyMinisterialDecree'
-- | files
[postAccountsRequestBodyDocuments'CompanyMinisterialDecree'Files] :: PostAccountsRequestBodyDocuments'CompanyMinisterialDecree' -> Maybe [Text]
-- | Create a new
-- PostAccountsRequestBodyDocuments'CompanyMinisterialDecree' with
-- all required fields.
mkPostAccountsRequestBodyDocuments'CompanyMinisterialDecree' :: PostAccountsRequestBodyDocuments'CompanyMinisterialDecree'
-- | Defines the object schema located at
-- paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.documents.properties.company_registration_verification
-- in the specification.
data PostAccountsRequestBodyDocuments'CompanyRegistrationVerification'
PostAccountsRequestBodyDocuments'CompanyRegistrationVerification' :: Maybe [Text] -> PostAccountsRequestBodyDocuments'CompanyRegistrationVerification'
-- | files
[postAccountsRequestBodyDocuments'CompanyRegistrationVerification'Files] :: PostAccountsRequestBodyDocuments'CompanyRegistrationVerification' -> Maybe [Text]
-- | Create a new
-- PostAccountsRequestBodyDocuments'CompanyRegistrationVerification'
-- with all required fields.
mkPostAccountsRequestBodyDocuments'CompanyRegistrationVerification' :: PostAccountsRequestBodyDocuments'CompanyRegistrationVerification'
-- | Defines the object schema located at
-- paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.documents.properties.company_tax_id_verification
-- in the specification.
data PostAccountsRequestBodyDocuments'CompanyTaxIdVerification'
PostAccountsRequestBodyDocuments'CompanyTaxIdVerification' :: Maybe [Text] -> PostAccountsRequestBodyDocuments'CompanyTaxIdVerification'
-- | files
[postAccountsRequestBodyDocuments'CompanyTaxIdVerification'Files] :: PostAccountsRequestBodyDocuments'CompanyTaxIdVerification' -> Maybe [Text]
-- | Create a new
-- PostAccountsRequestBodyDocuments'CompanyTaxIdVerification' with
-- all required fields.
mkPostAccountsRequestBodyDocuments'CompanyTaxIdVerification' :: PostAccountsRequestBodyDocuments'CompanyTaxIdVerification'
-- | Defines the object schema located at
-- paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.individual
-- in the specification.
--
-- Information about the person represented by the account. This field is
-- null unless `business_type` is set to `individual`.
data PostAccountsRequestBodyIndividual'
PostAccountsRequestBodyIndividual' :: Maybe PostAccountsRequestBodyIndividual'Address' -> Maybe PostAccountsRequestBodyIndividual'AddressKana' -> Maybe PostAccountsRequestBodyIndividual'AddressKanji' -> Maybe PostAccountsRequestBodyIndividual'Dob'Variants -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe PostAccountsRequestBodyIndividual'Metadata'Variants -> Maybe Text -> Maybe PostAccountsRequestBodyIndividual'PoliticalExposure' -> Maybe Text -> Maybe PostAccountsRequestBodyIndividual'Verification' -> PostAccountsRequestBodyIndividual'
-- | address
[postAccountsRequestBodyIndividual'Address] :: PostAccountsRequestBodyIndividual' -> Maybe PostAccountsRequestBodyIndividual'Address'
-- | address_kana
[postAccountsRequestBodyIndividual'AddressKana] :: PostAccountsRequestBodyIndividual' -> Maybe PostAccountsRequestBodyIndividual'AddressKana'
-- | address_kanji
[postAccountsRequestBodyIndividual'AddressKanji] :: PostAccountsRequestBodyIndividual' -> Maybe PostAccountsRequestBodyIndividual'AddressKanji'
-- | dob
[postAccountsRequestBodyIndividual'Dob] :: PostAccountsRequestBodyIndividual' -> Maybe PostAccountsRequestBodyIndividual'Dob'Variants
-- | email
[postAccountsRequestBodyIndividual'Email] :: PostAccountsRequestBodyIndividual' -> Maybe Text
-- | first_name
--
-- Constraints:
--
--
-- - Maximum length of 100
--
[postAccountsRequestBodyIndividual'FirstName] :: PostAccountsRequestBodyIndividual' -> Maybe Text
-- | first_name_kana
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsRequestBodyIndividual'FirstNameKana] :: PostAccountsRequestBodyIndividual' -> Maybe Text
-- | first_name_kanji
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsRequestBodyIndividual'FirstNameKanji] :: PostAccountsRequestBodyIndividual' -> Maybe Text
-- | gender
[postAccountsRequestBodyIndividual'Gender] :: PostAccountsRequestBodyIndividual' -> Maybe Text
-- | id_number
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsRequestBodyIndividual'IdNumber] :: PostAccountsRequestBodyIndividual' -> Maybe Text
-- | last_name
--
-- Constraints:
--
--
-- - Maximum length of 100
--
[postAccountsRequestBodyIndividual'LastName] :: PostAccountsRequestBodyIndividual' -> Maybe Text
-- | last_name_kana
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsRequestBodyIndividual'LastNameKana] :: PostAccountsRequestBodyIndividual' -> Maybe Text
-- | last_name_kanji
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsRequestBodyIndividual'LastNameKanji] :: PostAccountsRequestBodyIndividual' -> Maybe Text
-- | maiden_name
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsRequestBodyIndividual'MaidenName] :: PostAccountsRequestBodyIndividual' -> Maybe Text
-- | metadata
[postAccountsRequestBodyIndividual'Metadata] :: PostAccountsRequestBodyIndividual' -> Maybe PostAccountsRequestBodyIndividual'Metadata'Variants
-- | phone
[postAccountsRequestBodyIndividual'Phone] :: PostAccountsRequestBodyIndividual' -> Maybe Text
-- | political_exposure
[postAccountsRequestBodyIndividual'PoliticalExposure] :: PostAccountsRequestBodyIndividual' -> Maybe PostAccountsRequestBodyIndividual'PoliticalExposure'
-- | ssn_last_4
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsRequestBodyIndividual'SsnLast_4] :: PostAccountsRequestBodyIndividual' -> Maybe Text
-- | verification
[postAccountsRequestBodyIndividual'Verification] :: PostAccountsRequestBodyIndividual' -> Maybe PostAccountsRequestBodyIndividual'Verification'
-- | Create a new PostAccountsRequestBodyIndividual' with all
-- required fields.
mkPostAccountsRequestBodyIndividual' :: PostAccountsRequestBodyIndividual'
-- | Defines the object schema located at
-- paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.individual.properties.address
-- in the specification.
data PostAccountsRequestBodyIndividual'Address'
PostAccountsRequestBodyIndividual'Address' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PostAccountsRequestBodyIndividual'Address'
-- | city
--
-- Constraints:
--
--
-- - Maximum length of 100
--
[postAccountsRequestBodyIndividual'Address'City] :: PostAccountsRequestBodyIndividual'Address' -> Maybe Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsRequestBodyIndividual'Address'Country] :: PostAccountsRequestBodyIndividual'Address' -> Maybe Text
-- | line1
--
-- Constraints:
--
--
-- - Maximum length of 200
--
[postAccountsRequestBodyIndividual'Address'Line1] :: PostAccountsRequestBodyIndividual'Address' -> Maybe Text
-- | line2
--
-- Constraints:
--
--
-- - Maximum length of 200
--
[postAccountsRequestBodyIndividual'Address'Line2] :: PostAccountsRequestBodyIndividual'Address' -> Maybe Text
-- | postal_code
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsRequestBodyIndividual'Address'PostalCode] :: PostAccountsRequestBodyIndividual'Address' -> Maybe Text
-- | state
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsRequestBodyIndividual'Address'State] :: PostAccountsRequestBodyIndividual'Address' -> Maybe Text
-- | Create a new PostAccountsRequestBodyIndividual'Address' with
-- all required fields.
mkPostAccountsRequestBodyIndividual'Address' :: PostAccountsRequestBodyIndividual'Address'
-- | Defines the object schema located at
-- paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.individual.properties.address_kana
-- in the specification.
data PostAccountsRequestBodyIndividual'AddressKana'
PostAccountsRequestBodyIndividual'AddressKana' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PostAccountsRequestBodyIndividual'AddressKana'
-- | city
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsRequestBodyIndividual'AddressKana'City] :: PostAccountsRequestBodyIndividual'AddressKana' -> Maybe Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsRequestBodyIndividual'AddressKana'Country] :: PostAccountsRequestBodyIndividual'AddressKana' -> Maybe Text
-- | line1
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsRequestBodyIndividual'AddressKana'Line1] :: PostAccountsRequestBodyIndividual'AddressKana' -> Maybe Text
-- | line2
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsRequestBodyIndividual'AddressKana'Line2] :: PostAccountsRequestBodyIndividual'AddressKana' -> Maybe Text
-- | postal_code
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsRequestBodyIndividual'AddressKana'PostalCode] :: PostAccountsRequestBodyIndividual'AddressKana' -> Maybe Text
-- | state
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsRequestBodyIndividual'AddressKana'State] :: PostAccountsRequestBodyIndividual'AddressKana' -> Maybe Text
-- | town
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsRequestBodyIndividual'AddressKana'Town] :: PostAccountsRequestBodyIndividual'AddressKana' -> Maybe Text
-- | Create a new PostAccountsRequestBodyIndividual'AddressKana'
-- with all required fields.
mkPostAccountsRequestBodyIndividual'AddressKana' :: PostAccountsRequestBodyIndividual'AddressKana'
-- | Defines the object schema located at
-- paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.individual.properties.address_kanji
-- in the specification.
data PostAccountsRequestBodyIndividual'AddressKanji'
PostAccountsRequestBodyIndividual'AddressKanji' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PostAccountsRequestBodyIndividual'AddressKanji'
-- | city
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsRequestBodyIndividual'AddressKanji'City] :: PostAccountsRequestBodyIndividual'AddressKanji' -> Maybe Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsRequestBodyIndividual'AddressKanji'Country] :: PostAccountsRequestBodyIndividual'AddressKanji' -> Maybe Text
-- | line1
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsRequestBodyIndividual'AddressKanji'Line1] :: PostAccountsRequestBodyIndividual'AddressKanji' -> Maybe Text
-- | line2
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsRequestBodyIndividual'AddressKanji'Line2] :: PostAccountsRequestBodyIndividual'AddressKanji' -> Maybe Text
-- | postal_code
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsRequestBodyIndividual'AddressKanji'PostalCode] :: PostAccountsRequestBodyIndividual'AddressKanji' -> Maybe Text
-- | state
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsRequestBodyIndividual'AddressKanji'State] :: PostAccountsRequestBodyIndividual'AddressKanji' -> Maybe Text
-- | town
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsRequestBodyIndividual'AddressKanji'Town] :: PostAccountsRequestBodyIndividual'AddressKanji' -> Maybe Text
-- | Create a new PostAccountsRequestBodyIndividual'AddressKanji'
-- with all required fields.
mkPostAccountsRequestBodyIndividual'AddressKanji' :: PostAccountsRequestBodyIndividual'AddressKanji'
-- | Defines the object schema located at
-- paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.individual.properties.dob.anyOf
-- in the specification.
data PostAccountsRequestBodyIndividual'Dob'OneOf1
PostAccountsRequestBodyIndividual'Dob'OneOf1 :: Int -> Int -> Int -> PostAccountsRequestBodyIndividual'Dob'OneOf1
-- | day
[postAccountsRequestBodyIndividual'Dob'OneOf1Day] :: PostAccountsRequestBodyIndividual'Dob'OneOf1 -> Int
-- | month
[postAccountsRequestBodyIndividual'Dob'OneOf1Month] :: PostAccountsRequestBodyIndividual'Dob'OneOf1 -> Int
-- | year
[postAccountsRequestBodyIndividual'Dob'OneOf1Year] :: PostAccountsRequestBodyIndividual'Dob'OneOf1 -> Int
-- | Create a new PostAccountsRequestBodyIndividual'Dob'OneOf1 with
-- all required fields.
mkPostAccountsRequestBodyIndividual'Dob'OneOf1 :: Int -> Int -> Int -> PostAccountsRequestBodyIndividual'Dob'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.individual.properties.dob.anyOf
-- in the specification.
data PostAccountsRequestBodyIndividual'Dob'Variants
-- | Represents the JSON value ""
PostAccountsRequestBodyIndividual'Dob'EmptyString :: PostAccountsRequestBodyIndividual'Dob'Variants
PostAccountsRequestBodyIndividual'Dob'PostAccountsRequestBodyIndividual'Dob'OneOf1 :: PostAccountsRequestBodyIndividual'Dob'OneOf1 -> PostAccountsRequestBodyIndividual'Dob'Variants
-- | Defines the oneOf schema located at
-- paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.individual.properties.metadata.anyOf
-- in the specification.
data PostAccountsRequestBodyIndividual'Metadata'Variants
-- | Represents the JSON value ""
PostAccountsRequestBodyIndividual'Metadata'EmptyString :: PostAccountsRequestBodyIndividual'Metadata'Variants
PostAccountsRequestBodyIndividual'Metadata'Object :: Object -> PostAccountsRequestBodyIndividual'Metadata'Variants
-- | Defines the enum schema located at
-- paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.individual.properties.political_exposure
-- in the specification.
data PostAccountsRequestBodyIndividual'PoliticalExposure'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostAccountsRequestBodyIndividual'PoliticalExposure'Other :: Value -> PostAccountsRequestBodyIndividual'PoliticalExposure'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostAccountsRequestBodyIndividual'PoliticalExposure'Typed :: Text -> PostAccountsRequestBodyIndividual'PoliticalExposure'
-- | Represents the JSON value "existing"
PostAccountsRequestBodyIndividual'PoliticalExposure'EnumExisting :: PostAccountsRequestBodyIndividual'PoliticalExposure'
-- | Represents the JSON value "none"
PostAccountsRequestBodyIndividual'PoliticalExposure'EnumNone :: PostAccountsRequestBodyIndividual'PoliticalExposure'
-- | Defines the object schema located at
-- paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.individual.properties.verification
-- in the specification.
data PostAccountsRequestBodyIndividual'Verification'
PostAccountsRequestBodyIndividual'Verification' :: Maybe PostAccountsRequestBodyIndividual'Verification'AdditionalDocument' -> Maybe PostAccountsRequestBodyIndividual'Verification'Document' -> PostAccountsRequestBodyIndividual'Verification'
-- | additional_document
[postAccountsRequestBodyIndividual'Verification'AdditionalDocument] :: PostAccountsRequestBodyIndividual'Verification' -> Maybe PostAccountsRequestBodyIndividual'Verification'AdditionalDocument'
-- | document
[postAccountsRequestBodyIndividual'Verification'Document] :: PostAccountsRequestBodyIndividual'Verification' -> Maybe PostAccountsRequestBodyIndividual'Verification'Document'
-- | Create a new PostAccountsRequestBodyIndividual'Verification'
-- with all required fields.
mkPostAccountsRequestBodyIndividual'Verification' :: PostAccountsRequestBodyIndividual'Verification'
-- | Defines the object schema located at
-- paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.individual.properties.verification.properties.additional_document
-- in the specification.
data PostAccountsRequestBodyIndividual'Verification'AdditionalDocument'
PostAccountsRequestBodyIndividual'Verification'AdditionalDocument' :: Maybe Text -> Maybe Text -> PostAccountsRequestBodyIndividual'Verification'AdditionalDocument'
-- | back
--
-- Constraints:
--
--
-- - Maximum length of 500
--
[postAccountsRequestBodyIndividual'Verification'AdditionalDocument'Back] :: PostAccountsRequestBodyIndividual'Verification'AdditionalDocument' -> Maybe Text
-- | front
--
-- Constraints:
--
--
-- - Maximum length of 500
--
[postAccountsRequestBodyIndividual'Verification'AdditionalDocument'Front] :: PostAccountsRequestBodyIndividual'Verification'AdditionalDocument' -> Maybe Text
-- | Create a new
-- PostAccountsRequestBodyIndividual'Verification'AdditionalDocument'
-- with all required fields.
mkPostAccountsRequestBodyIndividual'Verification'AdditionalDocument' :: PostAccountsRequestBodyIndividual'Verification'AdditionalDocument'
-- | Defines the object schema located at
-- paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.individual.properties.verification.properties.document
-- in the specification.
data PostAccountsRequestBodyIndividual'Verification'Document'
PostAccountsRequestBodyIndividual'Verification'Document' :: Maybe Text -> Maybe Text -> PostAccountsRequestBodyIndividual'Verification'Document'
-- | back
--
-- Constraints:
--
--
-- - Maximum length of 500
--
[postAccountsRequestBodyIndividual'Verification'Document'Back] :: PostAccountsRequestBodyIndividual'Verification'Document' -> Maybe Text
-- | front
--
-- Constraints:
--
--
-- - Maximum length of 500
--
[postAccountsRequestBodyIndividual'Verification'Document'Front] :: PostAccountsRequestBodyIndividual'Verification'Document' -> Maybe Text
-- | Create a new
-- PostAccountsRequestBodyIndividual'Verification'Document' with
-- all required fields.
mkPostAccountsRequestBodyIndividual'Verification'Document' :: PostAccountsRequestBodyIndividual'Verification'Document'
-- | Defines the oneOf schema located at
-- paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.metadata.anyOf
-- in the specification.
--
-- Set of key-value pairs that you can attach to an object. This
-- can be useful for storing additional information about the object in a
-- structured format. Individual keys can be unset by posting an empty
-- value to them. All keys can be unset by posting an empty value to
-- `metadata`.
data PostAccountsRequestBodyMetadata'Variants
-- | Represents the JSON value ""
PostAccountsRequestBodyMetadata'EmptyString :: PostAccountsRequestBodyMetadata'Variants
PostAccountsRequestBodyMetadata'Object :: Object -> PostAccountsRequestBodyMetadata'Variants
-- | Defines the object schema located at
-- paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.settings
-- in the specification.
--
-- Options for customizing how the account functions within Stripe.
data PostAccountsRequestBodySettings'
PostAccountsRequestBodySettings' :: Maybe PostAccountsRequestBodySettings'Branding' -> Maybe PostAccountsRequestBodySettings'CardIssuing' -> Maybe PostAccountsRequestBodySettings'CardPayments' -> Maybe PostAccountsRequestBodySettings'Payments' -> Maybe PostAccountsRequestBodySettings'Payouts' -> PostAccountsRequestBodySettings'
-- | branding
[postAccountsRequestBodySettings'Branding] :: PostAccountsRequestBodySettings' -> Maybe PostAccountsRequestBodySettings'Branding'
-- | card_issuing
[postAccountsRequestBodySettings'CardIssuing] :: PostAccountsRequestBodySettings' -> Maybe PostAccountsRequestBodySettings'CardIssuing'
-- | card_payments
[postAccountsRequestBodySettings'CardPayments] :: PostAccountsRequestBodySettings' -> Maybe PostAccountsRequestBodySettings'CardPayments'
-- | payments
[postAccountsRequestBodySettings'Payments] :: PostAccountsRequestBodySettings' -> Maybe PostAccountsRequestBodySettings'Payments'
-- | payouts
[postAccountsRequestBodySettings'Payouts] :: PostAccountsRequestBodySettings' -> Maybe PostAccountsRequestBodySettings'Payouts'
-- | Create a new PostAccountsRequestBodySettings' with all required
-- fields.
mkPostAccountsRequestBodySettings' :: PostAccountsRequestBodySettings'
-- | Defines the object schema located at
-- paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.settings.properties.branding
-- in the specification.
data PostAccountsRequestBodySettings'Branding'
PostAccountsRequestBodySettings'Branding' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PostAccountsRequestBodySettings'Branding'
-- | icon
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsRequestBodySettings'Branding'Icon] :: PostAccountsRequestBodySettings'Branding' -> Maybe Text
-- | logo
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsRequestBodySettings'Branding'Logo] :: PostAccountsRequestBodySettings'Branding' -> Maybe Text
-- | primary_color
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsRequestBodySettings'Branding'PrimaryColor] :: PostAccountsRequestBodySettings'Branding' -> Maybe Text
-- | secondary_color
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsRequestBodySettings'Branding'SecondaryColor] :: PostAccountsRequestBodySettings'Branding' -> Maybe Text
-- | Create a new PostAccountsRequestBodySettings'Branding' with all
-- required fields.
mkPostAccountsRequestBodySettings'Branding' :: PostAccountsRequestBodySettings'Branding'
-- | Defines the object schema located at
-- paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.settings.properties.card_issuing
-- in the specification.
data PostAccountsRequestBodySettings'CardIssuing'
PostAccountsRequestBodySettings'CardIssuing' :: Maybe PostAccountsRequestBodySettings'CardIssuing'TosAcceptance' -> PostAccountsRequestBodySettings'CardIssuing'
-- | tos_acceptance
[postAccountsRequestBodySettings'CardIssuing'TosAcceptance] :: PostAccountsRequestBodySettings'CardIssuing' -> Maybe PostAccountsRequestBodySettings'CardIssuing'TosAcceptance'
-- | Create a new PostAccountsRequestBodySettings'CardIssuing' with
-- all required fields.
mkPostAccountsRequestBodySettings'CardIssuing' :: PostAccountsRequestBodySettings'CardIssuing'
-- | Defines the object schema located at
-- paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.settings.properties.card_issuing.properties.tos_acceptance
-- in the specification.
data PostAccountsRequestBodySettings'CardIssuing'TosAcceptance'
PostAccountsRequestBodySettings'CardIssuing'TosAcceptance' :: Maybe Int -> Maybe Text -> Maybe Text -> PostAccountsRequestBodySettings'CardIssuing'TosAcceptance'
-- | date
[postAccountsRequestBodySettings'CardIssuing'TosAcceptance'Date] :: PostAccountsRequestBodySettings'CardIssuing'TosAcceptance' -> Maybe Int
-- | ip
[postAccountsRequestBodySettings'CardIssuing'TosAcceptance'Ip] :: PostAccountsRequestBodySettings'CardIssuing'TosAcceptance' -> Maybe Text
-- | user_agent
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsRequestBodySettings'CardIssuing'TosAcceptance'UserAgent] :: PostAccountsRequestBodySettings'CardIssuing'TosAcceptance' -> Maybe Text
-- | Create a new
-- PostAccountsRequestBodySettings'CardIssuing'TosAcceptance' with
-- all required fields.
mkPostAccountsRequestBodySettings'CardIssuing'TosAcceptance' :: PostAccountsRequestBodySettings'CardIssuing'TosAcceptance'
-- | Defines the object schema located at
-- paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.settings.properties.card_payments
-- in the specification.
data PostAccountsRequestBodySettings'CardPayments'
PostAccountsRequestBodySettings'CardPayments' :: Maybe PostAccountsRequestBodySettings'CardPayments'DeclineOn' -> Maybe Text -> PostAccountsRequestBodySettings'CardPayments'
-- | decline_on
[postAccountsRequestBodySettings'CardPayments'DeclineOn] :: PostAccountsRequestBodySettings'CardPayments' -> Maybe PostAccountsRequestBodySettings'CardPayments'DeclineOn'
-- | statement_descriptor_prefix
--
-- Constraints:
--
--
-- - Maximum length of 10
--
[postAccountsRequestBodySettings'CardPayments'StatementDescriptorPrefix] :: PostAccountsRequestBodySettings'CardPayments' -> Maybe Text
-- | Create a new PostAccountsRequestBodySettings'CardPayments' with
-- all required fields.
mkPostAccountsRequestBodySettings'CardPayments' :: PostAccountsRequestBodySettings'CardPayments'
-- | Defines the object schema located at
-- paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.settings.properties.card_payments.properties.decline_on
-- in the specification.
data PostAccountsRequestBodySettings'CardPayments'DeclineOn'
PostAccountsRequestBodySettings'CardPayments'DeclineOn' :: Maybe Bool -> Maybe Bool -> PostAccountsRequestBodySettings'CardPayments'DeclineOn'
-- | avs_failure
[postAccountsRequestBodySettings'CardPayments'DeclineOn'AvsFailure] :: PostAccountsRequestBodySettings'CardPayments'DeclineOn' -> Maybe Bool
-- | cvc_failure
[postAccountsRequestBodySettings'CardPayments'DeclineOn'CvcFailure] :: PostAccountsRequestBodySettings'CardPayments'DeclineOn' -> Maybe Bool
-- | Create a new
-- PostAccountsRequestBodySettings'CardPayments'DeclineOn' with
-- all required fields.
mkPostAccountsRequestBodySettings'CardPayments'DeclineOn' :: PostAccountsRequestBodySettings'CardPayments'DeclineOn'
-- | Defines the object schema located at
-- paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.settings.properties.payments
-- in the specification.
data PostAccountsRequestBodySettings'Payments'
PostAccountsRequestBodySettings'Payments' :: Maybe Text -> Maybe Text -> Maybe Text -> PostAccountsRequestBodySettings'Payments'
-- | statement_descriptor
--
-- Constraints:
--
--
-- - Maximum length of 22
--
[postAccountsRequestBodySettings'Payments'StatementDescriptor] :: PostAccountsRequestBodySettings'Payments' -> Maybe Text
-- | statement_descriptor_kana
--
-- Constraints:
--
--
-- - Maximum length of 22
--
[postAccountsRequestBodySettings'Payments'StatementDescriptorKana] :: PostAccountsRequestBodySettings'Payments' -> Maybe Text
-- | statement_descriptor_kanji
--
-- Constraints:
--
--
-- - Maximum length of 22
--
[postAccountsRequestBodySettings'Payments'StatementDescriptorKanji] :: PostAccountsRequestBodySettings'Payments' -> Maybe Text
-- | Create a new PostAccountsRequestBodySettings'Payments' with all
-- required fields.
mkPostAccountsRequestBodySettings'Payments' :: PostAccountsRequestBodySettings'Payments'
-- | Defines the object schema located at
-- paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.settings.properties.payouts
-- in the specification.
data PostAccountsRequestBodySettings'Payouts'
PostAccountsRequestBodySettings'Payouts' :: Maybe Bool -> Maybe PostAccountsRequestBodySettings'Payouts'Schedule' -> Maybe Text -> PostAccountsRequestBodySettings'Payouts'
-- | debit_negative_balances
[postAccountsRequestBodySettings'Payouts'DebitNegativeBalances] :: PostAccountsRequestBodySettings'Payouts' -> Maybe Bool
-- | schedule
[postAccountsRequestBodySettings'Payouts'Schedule] :: PostAccountsRequestBodySettings'Payouts' -> Maybe PostAccountsRequestBodySettings'Payouts'Schedule'
-- | statement_descriptor
--
-- Constraints:
--
--
-- - Maximum length of 22
--
[postAccountsRequestBodySettings'Payouts'StatementDescriptor] :: PostAccountsRequestBodySettings'Payouts' -> Maybe Text
-- | Create a new PostAccountsRequestBodySettings'Payouts' with all
-- required fields.
mkPostAccountsRequestBodySettings'Payouts' :: PostAccountsRequestBodySettings'Payouts'
-- | Defines the object schema located at
-- paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.settings.properties.payouts.properties.schedule
-- in the specification.
data PostAccountsRequestBodySettings'Payouts'Schedule'
PostAccountsRequestBodySettings'Payouts'Schedule' :: Maybe PostAccountsRequestBodySettings'Payouts'Schedule'DelayDays'Variants -> Maybe PostAccountsRequestBodySettings'Payouts'Schedule'Interval' -> Maybe Int -> Maybe PostAccountsRequestBodySettings'Payouts'Schedule'WeeklyAnchor' -> PostAccountsRequestBodySettings'Payouts'Schedule'
-- | delay_days
[postAccountsRequestBodySettings'Payouts'Schedule'DelayDays] :: PostAccountsRequestBodySettings'Payouts'Schedule' -> Maybe PostAccountsRequestBodySettings'Payouts'Schedule'DelayDays'Variants
-- | interval
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsRequestBodySettings'Payouts'Schedule'Interval] :: PostAccountsRequestBodySettings'Payouts'Schedule' -> Maybe PostAccountsRequestBodySettings'Payouts'Schedule'Interval'
-- | monthly_anchor
[postAccountsRequestBodySettings'Payouts'Schedule'MonthlyAnchor] :: PostAccountsRequestBodySettings'Payouts'Schedule' -> Maybe Int
-- | weekly_anchor
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsRequestBodySettings'Payouts'Schedule'WeeklyAnchor] :: PostAccountsRequestBodySettings'Payouts'Schedule' -> Maybe PostAccountsRequestBodySettings'Payouts'Schedule'WeeklyAnchor'
-- | Create a new PostAccountsRequestBodySettings'Payouts'Schedule'
-- with all required fields.
mkPostAccountsRequestBodySettings'Payouts'Schedule' :: PostAccountsRequestBodySettings'Payouts'Schedule'
-- | Defines the oneOf schema located at
-- paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.settings.properties.payouts.properties.schedule.properties.delay_days.anyOf
-- in the specification.
data PostAccountsRequestBodySettings'Payouts'Schedule'DelayDays'Variants
-- | Represents the JSON value "minimum"
PostAccountsRequestBodySettings'Payouts'Schedule'DelayDays'Minimum :: PostAccountsRequestBodySettings'Payouts'Schedule'DelayDays'Variants
PostAccountsRequestBodySettings'Payouts'Schedule'DelayDays'Int :: Int -> PostAccountsRequestBodySettings'Payouts'Schedule'DelayDays'Variants
-- | Defines the enum schema located at
-- paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.settings.properties.payouts.properties.schedule.properties.interval
-- in the specification.
data PostAccountsRequestBodySettings'Payouts'Schedule'Interval'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostAccountsRequestBodySettings'Payouts'Schedule'Interval'Other :: Value -> PostAccountsRequestBodySettings'Payouts'Schedule'Interval'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostAccountsRequestBodySettings'Payouts'Schedule'Interval'Typed :: Text -> PostAccountsRequestBodySettings'Payouts'Schedule'Interval'
-- | Represents the JSON value "daily"
PostAccountsRequestBodySettings'Payouts'Schedule'Interval'EnumDaily :: PostAccountsRequestBodySettings'Payouts'Schedule'Interval'
-- | Represents the JSON value "manual"
PostAccountsRequestBodySettings'Payouts'Schedule'Interval'EnumManual :: PostAccountsRequestBodySettings'Payouts'Schedule'Interval'
-- | Represents the JSON value "monthly"
PostAccountsRequestBodySettings'Payouts'Schedule'Interval'EnumMonthly :: PostAccountsRequestBodySettings'Payouts'Schedule'Interval'
-- | Represents the JSON value "weekly"
PostAccountsRequestBodySettings'Payouts'Schedule'Interval'EnumWeekly :: PostAccountsRequestBodySettings'Payouts'Schedule'Interval'
-- | Defines the enum schema located at
-- paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.settings.properties.payouts.properties.schedule.properties.weekly_anchor
-- in the specification.
data PostAccountsRequestBodySettings'Payouts'Schedule'WeeklyAnchor'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostAccountsRequestBodySettings'Payouts'Schedule'WeeklyAnchor'Other :: Value -> PostAccountsRequestBodySettings'Payouts'Schedule'WeeklyAnchor'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostAccountsRequestBodySettings'Payouts'Schedule'WeeklyAnchor'Typed :: Text -> PostAccountsRequestBodySettings'Payouts'Schedule'WeeklyAnchor'
-- | Represents the JSON value "friday"
PostAccountsRequestBodySettings'Payouts'Schedule'WeeklyAnchor'EnumFriday :: PostAccountsRequestBodySettings'Payouts'Schedule'WeeklyAnchor'
-- | Represents the JSON value "monday"
PostAccountsRequestBodySettings'Payouts'Schedule'WeeklyAnchor'EnumMonday :: PostAccountsRequestBodySettings'Payouts'Schedule'WeeklyAnchor'
-- | Represents the JSON value "saturday"
PostAccountsRequestBodySettings'Payouts'Schedule'WeeklyAnchor'EnumSaturday :: PostAccountsRequestBodySettings'Payouts'Schedule'WeeklyAnchor'
-- | Represents the JSON value "sunday"
PostAccountsRequestBodySettings'Payouts'Schedule'WeeklyAnchor'EnumSunday :: PostAccountsRequestBodySettings'Payouts'Schedule'WeeklyAnchor'
-- | Represents the JSON value "thursday"
PostAccountsRequestBodySettings'Payouts'Schedule'WeeklyAnchor'EnumThursday :: PostAccountsRequestBodySettings'Payouts'Schedule'WeeklyAnchor'
-- | Represents the JSON value "tuesday"
PostAccountsRequestBodySettings'Payouts'Schedule'WeeklyAnchor'EnumTuesday :: PostAccountsRequestBodySettings'Payouts'Schedule'WeeklyAnchor'
-- | Represents the JSON value "wednesday"
PostAccountsRequestBodySettings'Payouts'Schedule'WeeklyAnchor'EnumWednesday :: PostAccountsRequestBodySettings'Payouts'Schedule'WeeklyAnchor'
-- | Defines the object schema located at
-- paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.tos_acceptance
-- in the specification.
--
-- Details on the account's acceptance of the Stripe Services
-- Agreement.
data PostAccountsRequestBodyTosAcceptance'
PostAccountsRequestBodyTosAcceptance' :: Maybe Int -> Maybe Text -> Maybe Text -> Maybe Text -> PostAccountsRequestBodyTosAcceptance'
-- | date
[postAccountsRequestBodyTosAcceptance'Date] :: PostAccountsRequestBodyTosAcceptance' -> Maybe Int
-- | ip
[postAccountsRequestBodyTosAcceptance'Ip] :: PostAccountsRequestBodyTosAcceptance' -> Maybe Text
-- | service_agreement
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsRequestBodyTosAcceptance'ServiceAgreement] :: PostAccountsRequestBodyTosAcceptance' -> Maybe Text
-- | user_agent
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountsRequestBodyTosAcceptance'UserAgent] :: PostAccountsRequestBodyTosAcceptance' -> Maybe Text
-- | Create a new PostAccountsRequestBodyTosAcceptance' with all
-- required fields.
mkPostAccountsRequestBodyTosAcceptance' :: PostAccountsRequestBodyTosAcceptance'
-- | Defines the enum schema located at
-- paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.type
-- in the specification.
--
-- The type of Stripe account to create. May be one of `custom`,
-- `express` or `standard`.
data PostAccountsRequestBodyType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostAccountsRequestBodyType'Other :: Value -> PostAccountsRequestBodyType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostAccountsRequestBodyType'Typed :: Text -> PostAccountsRequestBodyType'
-- | Represents the JSON value "custom"
PostAccountsRequestBodyType'EnumCustom :: PostAccountsRequestBodyType'
-- | Represents the JSON value "express"
PostAccountsRequestBodyType'EnumExpress :: PostAccountsRequestBodyType'
-- | Represents the JSON value "standard"
PostAccountsRequestBodyType'EnumStandard :: PostAccountsRequestBodyType'
-- | Represents a response of the operation postAccounts.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostAccountsResponseError is used.
data PostAccountsResponse
-- | Means either no matching case available or a parse error
PostAccountsResponseError :: String -> PostAccountsResponse
-- | Successful response.
PostAccountsResponse200 :: Account -> PostAccountsResponse
-- | Error response.
PostAccountsResponseDefault :: Error -> PostAccountsResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyBankAccount'OneOf1AccountHolderType'
instance GHC.Show.Show StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyBankAccount'OneOf1AccountHolderType'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyBankAccount'OneOf1Object'
instance GHC.Show.Show StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyBankAccount'OneOf1Object'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyBankAccount'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyBankAccount'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyBankAccount'Variants
instance GHC.Show.Show StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyBankAccount'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyBusinessProfile'SupportAddress'
instance GHC.Show.Show StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyBusinessProfile'SupportAddress'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyBusinessProfile'SupportUrl'Variants
instance GHC.Show.Show StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyBusinessProfile'SupportUrl'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyBusinessProfile'
instance GHC.Show.Show StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyBusinessProfile'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyBusinessType'
instance GHC.Show.Show StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyBusinessType'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCapabilities'AcssDebitPayments'
instance GHC.Show.Show StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCapabilities'AcssDebitPayments'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCapabilities'AfterpayClearpayPayments'
instance GHC.Show.Show StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCapabilities'AfterpayClearpayPayments'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCapabilities'AuBecsDebitPayments'
instance GHC.Show.Show StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCapabilities'AuBecsDebitPayments'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCapabilities'BacsDebitPayments'
instance GHC.Show.Show StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCapabilities'BacsDebitPayments'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCapabilities'BancontactPayments'
instance GHC.Show.Show StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCapabilities'BancontactPayments'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCapabilities'CardIssuing'
instance GHC.Show.Show StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCapabilities'CardIssuing'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCapabilities'CardPayments'
instance GHC.Show.Show StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCapabilities'CardPayments'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCapabilities'CartesBancairesPayments'
instance GHC.Show.Show StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCapabilities'CartesBancairesPayments'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCapabilities'EpsPayments'
instance GHC.Show.Show StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCapabilities'EpsPayments'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCapabilities'FpxPayments'
instance GHC.Show.Show StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCapabilities'FpxPayments'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCapabilities'GiropayPayments'
instance GHC.Show.Show StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCapabilities'GiropayPayments'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCapabilities'GrabpayPayments'
instance GHC.Show.Show StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCapabilities'GrabpayPayments'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCapabilities'IdealPayments'
instance GHC.Show.Show StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCapabilities'IdealPayments'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCapabilities'JcbPayments'
instance GHC.Show.Show StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCapabilities'JcbPayments'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCapabilities'LegacyPayments'
instance GHC.Show.Show StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCapabilities'LegacyPayments'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCapabilities'OxxoPayments'
instance GHC.Show.Show StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCapabilities'OxxoPayments'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCapabilities'P24Payments'
instance GHC.Show.Show StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCapabilities'P24Payments'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCapabilities'SepaDebitPayments'
instance GHC.Show.Show StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCapabilities'SepaDebitPayments'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCapabilities'SofortPayments'
instance GHC.Show.Show StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCapabilities'SofortPayments'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCapabilities'TaxReportingUs_1099K'
instance GHC.Show.Show StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCapabilities'TaxReportingUs_1099K'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCapabilities'TaxReportingUs_1099Misc'
instance GHC.Show.Show StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCapabilities'TaxReportingUs_1099Misc'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCapabilities'Transfers'
instance GHC.Show.Show StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCapabilities'Transfers'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCapabilities'
instance GHC.Show.Show StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCapabilities'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCompany'Address'
instance GHC.Show.Show StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCompany'Address'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCompany'AddressKana'
instance GHC.Show.Show StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCompany'AddressKana'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCompany'AddressKanji'
instance GHC.Show.Show StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCompany'AddressKanji'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCompany'Structure'
instance GHC.Show.Show StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCompany'Structure'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCompany'Verification'Document'
instance GHC.Show.Show StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCompany'Verification'Document'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCompany'Verification'
instance GHC.Show.Show StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCompany'Verification'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCompany'
instance GHC.Show.Show StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCompany'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyDocuments'BankAccountOwnershipVerification'
instance GHC.Show.Show StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyDocuments'BankAccountOwnershipVerification'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyDocuments'CompanyLicense'
instance GHC.Show.Show StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyDocuments'CompanyLicense'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyDocuments'CompanyMemorandumOfAssociation'
instance GHC.Show.Show StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyDocuments'CompanyMemorandumOfAssociation'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyDocuments'CompanyMinisterialDecree'
instance GHC.Show.Show StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyDocuments'CompanyMinisterialDecree'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyDocuments'CompanyRegistrationVerification'
instance GHC.Show.Show StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyDocuments'CompanyRegistrationVerification'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyDocuments'CompanyTaxIdVerification'
instance GHC.Show.Show StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyDocuments'CompanyTaxIdVerification'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyDocuments'
instance GHC.Show.Show StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyDocuments'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyIndividual'Address'
instance GHC.Show.Show StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyIndividual'Address'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyIndividual'AddressKana'
instance GHC.Show.Show StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyIndividual'AddressKana'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyIndividual'AddressKanji'
instance GHC.Show.Show StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyIndividual'AddressKanji'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyIndividual'Dob'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyIndividual'Dob'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyIndividual'Dob'Variants
instance GHC.Show.Show StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyIndividual'Dob'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyIndividual'Metadata'Variants
instance GHC.Show.Show StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyIndividual'Metadata'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyIndividual'PoliticalExposure'
instance GHC.Show.Show StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyIndividual'PoliticalExposure'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyIndividual'Verification'AdditionalDocument'
instance GHC.Show.Show StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyIndividual'Verification'AdditionalDocument'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyIndividual'Verification'Document'
instance GHC.Show.Show StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyIndividual'Verification'Document'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyIndividual'Verification'
instance GHC.Show.Show StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyIndividual'Verification'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyIndividual'
instance GHC.Show.Show StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyIndividual'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyMetadata'Variants
instance GHC.Show.Show StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyMetadata'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostAccounts.PostAccountsRequestBodySettings'Branding'
instance GHC.Show.Show StripeAPI.Operations.PostAccounts.PostAccountsRequestBodySettings'Branding'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccounts.PostAccountsRequestBodySettings'CardIssuing'TosAcceptance'
instance GHC.Show.Show StripeAPI.Operations.PostAccounts.PostAccountsRequestBodySettings'CardIssuing'TosAcceptance'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccounts.PostAccountsRequestBodySettings'CardIssuing'
instance GHC.Show.Show StripeAPI.Operations.PostAccounts.PostAccountsRequestBodySettings'CardIssuing'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccounts.PostAccountsRequestBodySettings'CardPayments'DeclineOn'
instance GHC.Show.Show StripeAPI.Operations.PostAccounts.PostAccountsRequestBodySettings'CardPayments'DeclineOn'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccounts.PostAccountsRequestBodySettings'CardPayments'
instance GHC.Show.Show StripeAPI.Operations.PostAccounts.PostAccountsRequestBodySettings'CardPayments'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccounts.PostAccountsRequestBodySettings'Payments'
instance GHC.Show.Show StripeAPI.Operations.PostAccounts.PostAccountsRequestBodySettings'Payments'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccounts.PostAccountsRequestBodySettings'Payouts'Schedule'DelayDays'Variants
instance GHC.Show.Show StripeAPI.Operations.PostAccounts.PostAccountsRequestBodySettings'Payouts'Schedule'DelayDays'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostAccounts.PostAccountsRequestBodySettings'Payouts'Schedule'Interval'
instance GHC.Show.Show StripeAPI.Operations.PostAccounts.PostAccountsRequestBodySettings'Payouts'Schedule'Interval'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccounts.PostAccountsRequestBodySettings'Payouts'Schedule'WeeklyAnchor'
instance GHC.Show.Show StripeAPI.Operations.PostAccounts.PostAccountsRequestBodySettings'Payouts'Schedule'WeeklyAnchor'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccounts.PostAccountsRequestBodySettings'Payouts'Schedule'
instance GHC.Show.Show StripeAPI.Operations.PostAccounts.PostAccountsRequestBodySettings'Payouts'Schedule'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccounts.PostAccountsRequestBodySettings'Payouts'
instance GHC.Show.Show StripeAPI.Operations.PostAccounts.PostAccountsRequestBodySettings'Payouts'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccounts.PostAccountsRequestBodySettings'
instance GHC.Show.Show StripeAPI.Operations.PostAccounts.PostAccountsRequestBodySettings'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyTosAcceptance'
instance GHC.Show.Show StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyTosAcceptance'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyType'
instance GHC.Show.Show StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyType'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccounts.PostAccountsRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostAccounts.PostAccountsRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostAccounts.PostAccountsResponse
instance GHC.Show.Show StripeAPI.Operations.PostAccounts.PostAccountsResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyType'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyTosAcceptance'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyTosAcceptance'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodySettings'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodySettings'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodySettings'Payouts'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodySettings'Payouts'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodySettings'Payouts'Schedule'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodySettings'Payouts'Schedule'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodySettings'Payouts'Schedule'WeeklyAnchor'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodySettings'Payouts'Schedule'WeeklyAnchor'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodySettings'Payouts'Schedule'Interval'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodySettings'Payouts'Schedule'Interval'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodySettings'Payouts'Schedule'DelayDays'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodySettings'Payouts'Schedule'DelayDays'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodySettings'Payments'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodySettings'Payments'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodySettings'CardPayments'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodySettings'CardPayments'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodySettings'CardPayments'DeclineOn'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodySettings'CardPayments'DeclineOn'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodySettings'CardIssuing'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodySettings'CardIssuing'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodySettings'CardIssuing'TosAcceptance'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodySettings'CardIssuing'TosAcceptance'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodySettings'Branding'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodySettings'Branding'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyMetadata'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyMetadata'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyIndividual'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyIndividual'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyIndividual'Verification'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyIndividual'Verification'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyIndividual'Verification'Document'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyIndividual'Verification'Document'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyIndividual'Verification'AdditionalDocument'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyIndividual'Verification'AdditionalDocument'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyIndividual'PoliticalExposure'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyIndividual'PoliticalExposure'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyIndividual'Metadata'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyIndividual'Metadata'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyIndividual'Dob'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyIndividual'Dob'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyIndividual'Dob'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyIndividual'Dob'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyIndividual'AddressKanji'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyIndividual'AddressKanji'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyIndividual'AddressKana'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyIndividual'AddressKana'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyIndividual'Address'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyIndividual'Address'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyDocuments'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyDocuments'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyDocuments'CompanyTaxIdVerification'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyDocuments'CompanyTaxIdVerification'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyDocuments'CompanyRegistrationVerification'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyDocuments'CompanyRegistrationVerification'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyDocuments'CompanyMinisterialDecree'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyDocuments'CompanyMinisterialDecree'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyDocuments'CompanyMemorandumOfAssociation'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyDocuments'CompanyMemorandumOfAssociation'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyDocuments'CompanyLicense'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyDocuments'CompanyLicense'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyDocuments'BankAccountOwnershipVerification'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyDocuments'BankAccountOwnershipVerification'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCompany'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCompany'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCompany'Verification'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCompany'Verification'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCompany'Verification'Document'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCompany'Verification'Document'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCompany'Structure'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCompany'Structure'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCompany'AddressKanji'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCompany'AddressKanji'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCompany'AddressKana'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCompany'AddressKana'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCompany'Address'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCompany'Address'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCapabilities'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCapabilities'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCapabilities'Transfers'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCapabilities'Transfers'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCapabilities'TaxReportingUs_1099Misc'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCapabilities'TaxReportingUs_1099Misc'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCapabilities'TaxReportingUs_1099K'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCapabilities'TaxReportingUs_1099K'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCapabilities'SofortPayments'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCapabilities'SofortPayments'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCapabilities'SepaDebitPayments'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCapabilities'SepaDebitPayments'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCapabilities'P24Payments'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCapabilities'P24Payments'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCapabilities'OxxoPayments'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCapabilities'OxxoPayments'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCapabilities'LegacyPayments'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCapabilities'LegacyPayments'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCapabilities'JcbPayments'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCapabilities'JcbPayments'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCapabilities'IdealPayments'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCapabilities'IdealPayments'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCapabilities'GrabpayPayments'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCapabilities'GrabpayPayments'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCapabilities'GiropayPayments'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCapabilities'GiropayPayments'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCapabilities'FpxPayments'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCapabilities'FpxPayments'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCapabilities'EpsPayments'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCapabilities'EpsPayments'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCapabilities'CartesBancairesPayments'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCapabilities'CartesBancairesPayments'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCapabilities'CardPayments'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCapabilities'CardPayments'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCapabilities'CardIssuing'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCapabilities'CardIssuing'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCapabilities'BancontactPayments'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCapabilities'BancontactPayments'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCapabilities'BacsDebitPayments'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCapabilities'BacsDebitPayments'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCapabilities'AuBecsDebitPayments'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCapabilities'AuBecsDebitPayments'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCapabilities'AfterpayClearpayPayments'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCapabilities'AfterpayClearpayPayments'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCapabilities'AcssDebitPayments'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyCapabilities'AcssDebitPayments'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyBusinessType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyBusinessType'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyBusinessProfile'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyBusinessProfile'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyBusinessProfile'SupportUrl'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyBusinessProfile'SupportUrl'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyBusinessProfile'SupportAddress'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyBusinessProfile'SupportAddress'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyBankAccount'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyBankAccount'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyBankAccount'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyBankAccount'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyBankAccount'OneOf1Object'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyBankAccount'OneOf1Object'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyBankAccount'OneOf1AccountHolderType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccounts.PostAccountsRequestBodyBankAccount'OneOf1AccountHolderType'
-- | Contains the different functions to run the operation
-- postAccountPersonsPerson
module StripeAPI.Operations.PostAccountPersonsPerson
-- |
-- POST /v1/account/persons/{person}
--
--
-- <p>Updates an existing person.</p>
postAccountPersonsPerson :: forall m. MonadHTTP m => Text -> Maybe PostAccountPersonsPersonRequestBody -> ClientT m (Response PostAccountPersonsPersonResponse)
-- | Defines the object schema located at
-- paths./v1/account/persons/{person}.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostAccountPersonsPersonRequestBody
PostAccountPersonsPersonRequestBody :: Maybe Text -> Maybe PostAccountPersonsPersonRequestBodyAddress' -> Maybe PostAccountPersonsPersonRequestBodyAddressKana' -> Maybe PostAccountPersonsPersonRequestBodyAddressKanji' -> Maybe PostAccountPersonsPersonRequestBodyDob'Variants -> Maybe PostAccountPersonsPersonRequestBodyDocuments' -> Maybe Text -> Maybe [Text] -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe PostAccountPersonsPersonRequestBodyMetadata'Variants -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe PostAccountPersonsPersonRequestBodyRelationship' -> Maybe Text -> Maybe PostAccountPersonsPersonRequestBodyVerification' -> PostAccountPersonsPersonRequestBody
-- | account
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPersonsPersonRequestBodyAccount] :: PostAccountPersonsPersonRequestBody -> Maybe Text
-- | address: The person's address.
[postAccountPersonsPersonRequestBodyAddress] :: PostAccountPersonsPersonRequestBody -> Maybe PostAccountPersonsPersonRequestBodyAddress'
-- | address_kana: The Kana variation of the person's address (Japan only).
[postAccountPersonsPersonRequestBodyAddressKana] :: PostAccountPersonsPersonRequestBody -> Maybe PostAccountPersonsPersonRequestBodyAddressKana'
-- | address_kanji: The Kanji variation of the person's address (Japan
-- only).
[postAccountPersonsPersonRequestBodyAddressKanji] :: PostAccountPersonsPersonRequestBody -> Maybe PostAccountPersonsPersonRequestBodyAddressKanji'
-- | dob: The person's date of birth.
[postAccountPersonsPersonRequestBodyDob] :: PostAccountPersonsPersonRequestBody -> Maybe PostAccountPersonsPersonRequestBodyDob'Variants
-- | documents: Documents that may be submitted to satisfy various
-- informational requests.
[postAccountPersonsPersonRequestBodyDocuments] :: PostAccountPersonsPersonRequestBody -> Maybe PostAccountPersonsPersonRequestBodyDocuments'
-- | email: The person's email address.
[postAccountPersonsPersonRequestBodyEmail] :: PostAccountPersonsPersonRequestBody -> Maybe Text
-- | expand: Specifies which fields in the response should be expanded.
[postAccountPersonsPersonRequestBodyExpand] :: PostAccountPersonsPersonRequestBody -> Maybe [Text]
-- | first_name: The person's first name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPersonsPersonRequestBodyFirstName] :: PostAccountPersonsPersonRequestBody -> Maybe Text
-- | first_name_kana: The Kana variation of the person's first name (Japan
-- only).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPersonsPersonRequestBodyFirstNameKana] :: PostAccountPersonsPersonRequestBody -> Maybe Text
-- | first_name_kanji: The Kanji variation of the person's first name
-- (Japan only).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPersonsPersonRequestBodyFirstNameKanji] :: PostAccountPersonsPersonRequestBody -> Maybe Text
-- | gender: The person's gender (International regulations require either
-- "male" or "female").
[postAccountPersonsPersonRequestBodyGender] :: PostAccountPersonsPersonRequestBody -> Maybe Text
-- | id_number: The person's ID number, as appropriate for their country.
-- For example, a social security number in the U.S., social insurance
-- number in Canada, etc. Instead of the number itself, you can also
-- provide a PII token provided by Stripe.js.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPersonsPersonRequestBodyIdNumber] :: PostAccountPersonsPersonRequestBody -> Maybe Text
-- | last_name: The person's last name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPersonsPersonRequestBodyLastName] :: PostAccountPersonsPersonRequestBody -> Maybe Text
-- | last_name_kana: The Kana variation of the person's last name (Japan
-- only).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPersonsPersonRequestBodyLastNameKana] :: PostAccountPersonsPersonRequestBody -> Maybe Text
-- | last_name_kanji: The Kanji variation of the person's last name (Japan
-- only).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPersonsPersonRequestBodyLastNameKanji] :: PostAccountPersonsPersonRequestBody -> Maybe Text
-- | maiden_name: The person's maiden name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPersonsPersonRequestBodyMaidenName] :: PostAccountPersonsPersonRequestBody -> Maybe Text
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postAccountPersonsPersonRequestBodyMetadata] :: PostAccountPersonsPersonRequestBody -> Maybe PostAccountPersonsPersonRequestBodyMetadata'Variants
-- | nationality: The country where the person is a national. Two-letter
-- country code ([ISO 3166-1
-- alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)), or "XX"
-- if unavailable.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPersonsPersonRequestBodyNationality] :: PostAccountPersonsPersonRequestBody -> Maybe Text
-- | person_token: A person token, used to securely provide details
-- to the person.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPersonsPersonRequestBodyPersonToken] :: PostAccountPersonsPersonRequestBody -> Maybe Text
-- | phone: The person's phone number.
[postAccountPersonsPersonRequestBodyPhone] :: PostAccountPersonsPersonRequestBody -> Maybe Text
-- | political_exposure: Indicates if the person or any of their
-- representatives, family members, or other closely related persons,
-- declares that they hold or have held an important public job or
-- function, in any jurisdiction.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPersonsPersonRequestBodyPoliticalExposure] :: PostAccountPersonsPersonRequestBody -> Maybe Text
-- | relationship: The relationship that this person has with the account's
-- legal entity.
[postAccountPersonsPersonRequestBodyRelationship] :: PostAccountPersonsPersonRequestBody -> Maybe PostAccountPersonsPersonRequestBodyRelationship'
-- | ssn_last_4: The last four digits of the person's Social Security
-- number (U.S. only).
[postAccountPersonsPersonRequestBodySsnLast_4] :: PostAccountPersonsPersonRequestBody -> Maybe Text
-- | verification: The person's verification status.
[postAccountPersonsPersonRequestBodyVerification] :: PostAccountPersonsPersonRequestBody -> Maybe PostAccountPersonsPersonRequestBodyVerification'
-- | Create a new PostAccountPersonsPersonRequestBody with all
-- required fields.
mkPostAccountPersonsPersonRequestBody :: PostAccountPersonsPersonRequestBody
-- | Defines the object schema located at
-- paths./v1/account/persons/{person}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.address
-- in the specification.
--
-- The person's address.
data PostAccountPersonsPersonRequestBodyAddress'
PostAccountPersonsPersonRequestBodyAddress' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PostAccountPersonsPersonRequestBodyAddress'
-- | city
--
-- Constraints:
--
--
-- - Maximum length of 100
--
[postAccountPersonsPersonRequestBodyAddress'City] :: PostAccountPersonsPersonRequestBodyAddress' -> Maybe Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPersonsPersonRequestBodyAddress'Country] :: PostAccountPersonsPersonRequestBodyAddress' -> Maybe Text
-- | line1
--
-- Constraints:
--
--
-- - Maximum length of 200
--
[postAccountPersonsPersonRequestBodyAddress'Line1] :: PostAccountPersonsPersonRequestBodyAddress' -> Maybe Text
-- | line2
--
-- Constraints:
--
--
-- - Maximum length of 200
--
[postAccountPersonsPersonRequestBodyAddress'Line2] :: PostAccountPersonsPersonRequestBodyAddress' -> Maybe Text
-- | postal_code
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPersonsPersonRequestBodyAddress'PostalCode] :: PostAccountPersonsPersonRequestBodyAddress' -> Maybe Text
-- | state
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPersonsPersonRequestBodyAddress'State] :: PostAccountPersonsPersonRequestBodyAddress' -> Maybe Text
-- | Create a new PostAccountPersonsPersonRequestBodyAddress' with
-- all required fields.
mkPostAccountPersonsPersonRequestBodyAddress' :: PostAccountPersonsPersonRequestBodyAddress'
-- | Defines the object schema located at
-- paths./v1/account/persons/{person}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.address_kana
-- in the specification.
--
-- The Kana variation of the person's address (Japan only).
data PostAccountPersonsPersonRequestBodyAddressKana'
PostAccountPersonsPersonRequestBodyAddressKana' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PostAccountPersonsPersonRequestBodyAddressKana'
-- | city
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPersonsPersonRequestBodyAddressKana'City] :: PostAccountPersonsPersonRequestBodyAddressKana' -> Maybe Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPersonsPersonRequestBodyAddressKana'Country] :: PostAccountPersonsPersonRequestBodyAddressKana' -> Maybe Text
-- | line1
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPersonsPersonRequestBodyAddressKana'Line1] :: PostAccountPersonsPersonRequestBodyAddressKana' -> Maybe Text
-- | line2
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPersonsPersonRequestBodyAddressKana'Line2] :: PostAccountPersonsPersonRequestBodyAddressKana' -> Maybe Text
-- | postal_code
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPersonsPersonRequestBodyAddressKana'PostalCode] :: PostAccountPersonsPersonRequestBodyAddressKana' -> Maybe Text
-- | state
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPersonsPersonRequestBodyAddressKana'State] :: PostAccountPersonsPersonRequestBodyAddressKana' -> Maybe Text
-- | town
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPersonsPersonRequestBodyAddressKana'Town] :: PostAccountPersonsPersonRequestBodyAddressKana' -> Maybe Text
-- | Create a new PostAccountPersonsPersonRequestBodyAddressKana'
-- with all required fields.
mkPostAccountPersonsPersonRequestBodyAddressKana' :: PostAccountPersonsPersonRequestBodyAddressKana'
-- | Defines the object schema located at
-- paths./v1/account/persons/{person}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.address_kanji
-- in the specification.
--
-- The Kanji variation of the person's address (Japan only).
data PostAccountPersonsPersonRequestBodyAddressKanji'
PostAccountPersonsPersonRequestBodyAddressKanji' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PostAccountPersonsPersonRequestBodyAddressKanji'
-- | city
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPersonsPersonRequestBodyAddressKanji'City] :: PostAccountPersonsPersonRequestBodyAddressKanji' -> Maybe Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPersonsPersonRequestBodyAddressKanji'Country] :: PostAccountPersonsPersonRequestBodyAddressKanji' -> Maybe Text
-- | line1
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPersonsPersonRequestBodyAddressKanji'Line1] :: PostAccountPersonsPersonRequestBodyAddressKanji' -> Maybe Text
-- | line2
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPersonsPersonRequestBodyAddressKanji'Line2] :: PostAccountPersonsPersonRequestBodyAddressKanji' -> Maybe Text
-- | postal_code
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPersonsPersonRequestBodyAddressKanji'PostalCode] :: PostAccountPersonsPersonRequestBodyAddressKanji' -> Maybe Text
-- | state
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPersonsPersonRequestBodyAddressKanji'State] :: PostAccountPersonsPersonRequestBodyAddressKanji' -> Maybe Text
-- | town
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPersonsPersonRequestBodyAddressKanji'Town] :: PostAccountPersonsPersonRequestBodyAddressKanji' -> Maybe Text
-- | Create a new PostAccountPersonsPersonRequestBodyAddressKanji'
-- with all required fields.
mkPostAccountPersonsPersonRequestBodyAddressKanji' :: PostAccountPersonsPersonRequestBodyAddressKanji'
-- | Defines the object schema located at
-- paths./v1/account/persons/{person}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.dob.anyOf
-- in the specification.
data PostAccountPersonsPersonRequestBodyDob'OneOf1
PostAccountPersonsPersonRequestBodyDob'OneOf1 :: Int -> Int -> Int -> PostAccountPersonsPersonRequestBodyDob'OneOf1
-- | day
[postAccountPersonsPersonRequestBodyDob'OneOf1Day] :: PostAccountPersonsPersonRequestBodyDob'OneOf1 -> Int
-- | month
[postAccountPersonsPersonRequestBodyDob'OneOf1Month] :: PostAccountPersonsPersonRequestBodyDob'OneOf1 -> Int
-- | year
[postAccountPersonsPersonRequestBodyDob'OneOf1Year] :: PostAccountPersonsPersonRequestBodyDob'OneOf1 -> Int
-- | Create a new PostAccountPersonsPersonRequestBodyDob'OneOf1 with
-- all required fields.
mkPostAccountPersonsPersonRequestBodyDob'OneOf1 :: Int -> Int -> Int -> PostAccountPersonsPersonRequestBodyDob'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/account/persons/{person}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.dob.anyOf
-- in the specification.
--
-- The person's date of birth.
data PostAccountPersonsPersonRequestBodyDob'Variants
-- | Represents the JSON value ""
PostAccountPersonsPersonRequestBodyDob'EmptyString :: PostAccountPersonsPersonRequestBodyDob'Variants
PostAccountPersonsPersonRequestBodyDob'PostAccountPersonsPersonRequestBodyDob'OneOf1 :: PostAccountPersonsPersonRequestBodyDob'OneOf1 -> PostAccountPersonsPersonRequestBodyDob'Variants
-- | Defines the object schema located at
-- paths./v1/account/persons/{person}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.documents
-- in the specification.
--
-- Documents that may be submitted to satisfy various informational
-- requests.
data PostAccountPersonsPersonRequestBodyDocuments'
PostAccountPersonsPersonRequestBodyDocuments' :: Maybe PostAccountPersonsPersonRequestBodyDocuments'CompanyAuthorization' -> Maybe PostAccountPersonsPersonRequestBodyDocuments'Passport' -> Maybe PostAccountPersonsPersonRequestBodyDocuments'Visa' -> PostAccountPersonsPersonRequestBodyDocuments'
-- | company_authorization
[postAccountPersonsPersonRequestBodyDocuments'CompanyAuthorization] :: PostAccountPersonsPersonRequestBodyDocuments' -> Maybe PostAccountPersonsPersonRequestBodyDocuments'CompanyAuthorization'
-- | passport
[postAccountPersonsPersonRequestBodyDocuments'Passport] :: PostAccountPersonsPersonRequestBodyDocuments' -> Maybe PostAccountPersonsPersonRequestBodyDocuments'Passport'
-- | visa
[postAccountPersonsPersonRequestBodyDocuments'Visa] :: PostAccountPersonsPersonRequestBodyDocuments' -> Maybe PostAccountPersonsPersonRequestBodyDocuments'Visa'
-- | Create a new PostAccountPersonsPersonRequestBodyDocuments' with
-- all required fields.
mkPostAccountPersonsPersonRequestBodyDocuments' :: PostAccountPersonsPersonRequestBodyDocuments'
-- | Defines the object schema located at
-- paths./v1/account/persons/{person}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.documents.properties.company_authorization
-- in the specification.
data PostAccountPersonsPersonRequestBodyDocuments'CompanyAuthorization'
PostAccountPersonsPersonRequestBodyDocuments'CompanyAuthorization' :: Maybe [Text] -> PostAccountPersonsPersonRequestBodyDocuments'CompanyAuthorization'
-- | files
[postAccountPersonsPersonRequestBodyDocuments'CompanyAuthorization'Files] :: PostAccountPersonsPersonRequestBodyDocuments'CompanyAuthorization' -> Maybe [Text]
-- | Create a new
-- PostAccountPersonsPersonRequestBodyDocuments'CompanyAuthorization'
-- with all required fields.
mkPostAccountPersonsPersonRequestBodyDocuments'CompanyAuthorization' :: PostAccountPersonsPersonRequestBodyDocuments'CompanyAuthorization'
-- | Defines the object schema located at
-- paths./v1/account/persons/{person}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.documents.properties.passport
-- in the specification.
data PostAccountPersonsPersonRequestBodyDocuments'Passport'
PostAccountPersonsPersonRequestBodyDocuments'Passport' :: Maybe [Text] -> PostAccountPersonsPersonRequestBodyDocuments'Passport'
-- | files
[postAccountPersonsPersonRequestBodyDocuments'Passport'Files] :: PostAccountPersonsPersonRequestBodyDocuments'Passport' -> Maybe [Text]
-- | Create a new
-- PostAccountPersonsPersonRequestBodyDocuments'Passport' with all
-- required fields.
mkPostAccountPersonsPersonRequestBodyDocuments'Passport' :: PostAccountPersonsPersonRequestBodyDocuments'Passport'
-- | Defines the object schema located at
-- paths./v1/account/persons/{person}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.documents.properties.visa
-- in the specification.
data PostAccountPersonsPersonRequestBodyDocuments'Visa'
PostAccountPersonsPersonRequestBodyDocuments'Visa' :: Maybe [Text] -> PostAccountPersonsPersonRequestBodyDocuments'Visa'
-- | files
[postAccountPersonsPersonRequestBodyDocuments'Visa'Files] :: PostAccountPersonsPersonRequestBodyDocuments'Visa' -> Maybe [Text]
-- | Create a new PostAccountPersonsPersonRequestBodyDocuments'Visa'
-- with all required fields.
mkPostAccountPersonsPersonRequestBodyDocuments'Visa' :: PostAccountPersonsPersonRequestBodyDocuments'Visa'
-- | Defines the oneOf schema located at
-- paths./v1/account/persons/{person}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.metadata.anyOf
-- in the specification.
--
-- Set of key-value pairs that you can attach to an object. This
-- can be useful for storing additional information about the object in a
-- structured format. Individual keys can be unset by posting an empty
-- value to them. All keys can be unset by posting an empty value to
-- `metadata`.
data PostAccountPersonsPersonRequestBodyMetadata'Variants
-- | Represents the JSON value ""
PostAccountPersonsPersonRequestBodyMetadata'EmptyString :: PostAccountPersonsPersonRequestBodyMetadata'Variants
PostAccountPersonsPersonRequestBodyMetadata'Object :: Object -> PostAccountPersonsPersonRequestBodyMetadata'Variants
-- | Defines the object schema located at
-- paths./v1/account/persons/{person}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.relationship
-- in the specification.
--
-- The relationship that this person has with the account's legal entity.
data PostAccountPersonsPersonRequestBodyRelationship'
PostAccountPersonsPersonRequestBodyRelationship' :: Maybe Bool -> Maybe Bool -> Maybe Bool -> Maybe PostAccountPersonsPersonRequestBodyRelationship'PercentOwnership'Variants -> Maybe Bool -> Maybe Text -> PostAccountPersonsPersonRequestBodyRelationship'
-- | director
[postAccountPersonsPersonRequestBodyRelationship'Director] :: PostAccountPersonsPersonRequestBodyRelationship' -> Maybe Bool
-- | executive
[postAccountPersonsPersonRequestBodyRelationship'Executive] :: PostAccountPersonsPersonRequestBodyRelationship' -> Maybe Bool
-- | owner
[postAccountPersonsPersonRequestBodyRelationship'Owner] :: PostAccountPersonsPersonRequestBodyRelationship' -> Maybe Bool
-- | percent_ownership
[postAccountPersonsPersonRequestBodyRelationship'PercentOwnership] :: PostAccountPersonsPersonRequestBodyRelationship' -> Maybe PostAccountPersonsPersonRequestBodyRelationship'PercentOwnership'Variants
-- | representative
[postAccountPersonsPersonRequestBodyRelationship'Representative] :: PostAccountPersonsPersonRequestBodyRelationship' -> Maybe Bool
-- | title
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPersonsPersonRequestBodyRelationship'Title] :: PostAccountPersonsPersonRequestBodyRelationship' -> Maybe Text
-- | Create a new PostAccountPersonsPersonRequestBodyRelationship'
-- with all required fields.
mkPostAccountPersonsPersonRequestBodyRelationship' :: PostAccountPersonsPersonRequestBodyRelationship'
-- | Defines the oneOf schema located at
-- paths./v1/account/persons/{person}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.relationship.properties.percent_ownership.anyOf
-- in the specification.
data PostAccountPersonsPersonRequestBodyRelationship'PercentOwnership'Variants
-- | Represents the JSON value ""
PostAccountPersonsPersonRequestBodyRelationship'PercentOwnership'EmptyString :: PostAccountPersonsPersonRequestBodyRelationship'PercentOwnership'Variants
PostAccountPersonsPersonRequestBodyRelationship'PercentOwnership'Double :: Double -> PostAccountPersonsPersonRequestBodyRelationship'PercentOwnership'Variants
-- | Defines the object schema located at
-- paths./v1/account/persons/{person}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.verification
-- in the specification.
--
-- The person's verification status.
data PostAccountPersonsPersonRequestBodyVerification'
PostAccountPersonsPersonRequestBodyVerification' :: Maybe PostAccountPersonsPersonRequestBodyVerification'AdditionalDocument' -> Maybe PostAccountPersonsPersonRequestBodyVerification'Document' -> PostAccountPersonsPersonRequestBodyVerification'
-- | additional_document
[postAccountPersonsPersonRequestBodyVerification'AdditionalDocument] :: PostAccountPersonsPersonRequestBodyVerification' -> Maybe PostAccountPersonsPersonRequestBodyVerification'AdditionalDocument'
-- | document
[postAccountPersonsPersonRequestBodyVerification'Document] :: PostAccountPersonsPersonRequestBodyVerification' -> Maybe PostAccountPersonsPersonRequestBodyVerification'Document'
-- | Create a new PostAccountPersonsPersonRequestBodyVerification'
-- with all required fields.
mkPostAccountPersonsPersonRequestBodyVerification' :: PostAccountPersonsPersonRequestBodyVerification'
-- | Defines the object schema located at
-- paths./v1/account/persons/{person}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.verification.properties.additional_document
-- in the specification.
data PostAccountPersonsPersonRequestBodyVerification'AdditionalDocument'
PostAccountPersonsPersonRequestBodyVerification'AdditionalDocument' :: Maybe Text -> Maybe Text -> PostAccountPersonsPersonRequestBodyVerification'AdditionalDocument'
-- | back
--
-- Constraints:
--
--
-- - Maximum length of 500
--
[postAccountPersonsPersonRequestBodyVerification'AdditionalDocument'Back] :: PostAccountPersonsPersonRequestBodyVerification'AdditionalDocument' -> Maybe Text
-- | front
--
-- Constraints:
--
--
-- - Maximum length of 500
--
[postAccountPersonsPersonRequestBodyVerification'AdditionalDocument'Front] :: PostAccountPersonsPersonRequestBodyVerification'AdditionalDocument' -> Maybe Text
-- | Create a new
-- PostAccountPersonsPersonRequestBodyVerification'AdditionalDocument'
-- with all required fields.
mkPostAccountPersonsPersonRequestBodyVerification'AdditionalDocument' :: PostAccountPersonsPersonRequestBodyVerification'AdditionalDocument'
-- | Defines the object schema located at
-- paths./v1/account/persons/{person}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.verification.properties.document
-- in the specification.
data PostAccountPersonsPersonRequestBodyVerification'Document'
PostAccountPersonsPersonRequestBodyVerification'Document' :: Maybe Text -> Maybe Text -> PostAccountPersonsPersonRequestBodyVerification'Document'
-- | back
--
-- Constraints:
--
--
-- - Maximum length of 500
--
[postAccountPersonsPersonRequestBodyVerification'Document'Back] :: PostAccountPersonsPersonRequestBodyVerification'Document' -> Maybe Text
-- | front
--
-- Constraints:
--
--
-- - Maximum length of 500
--
[postAccountPersonsPersonRequestBodyVerification'Document'Front] :: PostAccountPersonsPersonRequestBodyVerification'Document' -> Maybe Text
-- | Create a new
-- PostAccountPersonsPersonRequestBodyVerification'Document' with
-- all required fields.
mkPostAccountPersonsPersonRequestBodyVerification'Document' :: PostAccountPersonsPersonRequestBodyVerification'Document'
-- | Represents a response of the operation
-- postAccountPersonsPerson.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostAccountPersonsPersonResponseError
-- is used.
data PostAccountPersonsPersonResponse
-- | Means either no matching case available or a parse error
PostAccountPersonsPersonResponseError :: String -> PostAccountPersonsPersonResponse
-- | Successful response.
PostAccountPersonsPersonResponse200 :: Person -> PostAccountPersonsPersonResponse
-- | Error response.
PostAccountPersonsPersonResponseDefault :: Error -> PostAccountPersonsPersonResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountPersonsPerson.PostAccountPersonsPersonRequestBodyAddress'
instance GHC.Show.Show StripeAPI.Operations.PostAccountPersonsPerson.PostAccountPersonsPersonRequestBodyAddress'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountPersonsPerson.PostAccountPersonsPersonRequestBodyAddressKana'
instance GHC.Show.Show StripeAPI.Operations.PostAccountPersonsPerson.PostAccountPersonsPersonRequestBodyAddressKana'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountPersonsPerson.PostAccountPersonsPersonRequestBodyAddressKanji'
instance GHC.Show.Show StripeAPI.Operations.PostAccountPersonsPerson.PostAccountPersonsPersonRequestBodyAddressKanji'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountPersonsPerson.PostAccountPersonsPersonRequestBodyDob'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostAccountPersonsPerson.PostAccountPersonsPersonRequestBodyDob'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountPersonsPerson.PostAccountPersonsPersonRequestBodyDob'Variants
instance GHC.Show.Show StripeAPI.Operations.PostAccountPersonsPerson.PostAccountPersonsPersonRequestBodyDob'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountPersonsPerson.PostAccountPersonsPersonRequestBodyDocuments'CompanyAuthorization'
instance GHC.Show.Show StripeAPI.Operations.PostAccountPersonsPerson.PostAccountPersonsPersonRequestBodyDocuments'CompanyAuthorization'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountPersonsPerson.PostAccountPersonsPersonRequestBodyDocuments'Passport'
instance GHC.Show.Show StripeAPI.Operations.PostAccountPersonsPerson.PostAccountPersonsPersonRequestBodyDocuments'Passport'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountPersonsPerson.PostAccountPersonsPersonRequestBodyDocuments'Visa'
instance GHC.Show.Show StripeAPI.Operations.PostAccountPersonsPerson.PostAccountPersonsPersonRequestBodyDocuments'Visa'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountPersonsPerson.PostAccountPersonsPersonRequestBodyDocuments'
instance GHC.Show.Show StripeAPI.Operations.PostAccountPersonsPerson.PostAccountPersonsPersonRequestBodyDocuments'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountPersonsPerson.PostAccountPersonsPersonRequestBodyMetadata'Variants
instance GHC.Show.Show StripeAPI.Operations.PostAccountPersonsPerson.PostAccountPersonsPersonRequestBodyMetadata'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountPersonsPerson.PostAccountPersonsPersonRequestBodyRelationship'PercentOwnership'Variants
instance GHC.Show.Show StripeAPI.Operations.PostAccountPersonsPerson.PostAccountPersonsPersonRequestBodyRelationship'PercentOwnership'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountPersonsPerson.PostAccountPersonsPersonRequestBodyRelationship'
instance GHC.Show.Show StripeAPI.Operations.PostAccountPersonsPerson.PostAccountPersonsPersonRequestBodyRelationship'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountPersonsPerson.PostAccountPersonsPersonRequestBodyVerification'AdditionalDocument'
instance GHC.Show.Show StripeAPI.Operations.PostAccountPersonsPerson.PostAccountPersonsPersonRequestBodyVerification'AdditionalDocument'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountPersonsPerson.PostAccountPersonsPersonRequestBodyVerification'Document'
instance GHC.Show.Show StripeAPI.Operations.PostAccountPersonsPerson.PostAccountPersonsPersonRequestBodyVerification'Document'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountPersonsPerson.PostAccountPersonsPersonRequestBodyVerification'
instance GHC.Show.Show StripeAPI.Operations.PostAccountPersonsPerson.PostAccountPersonsPersonRequestBodyVerification'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountPersonsPerson.PostAccountPersonsPersonRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostAccountPersonsPerson.PostAccountPersonsPersonRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountPersonsPerson.PostAccountPersonsPersonResponse
instance GHC.Show.Show StripeAPI.Operations.PostAccountPersonsPerson.PostAccountPersonsPersonResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountPersonsPerson.PostAccountPersonsPersonRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountPersonsPerson.PostAccountPersonsPersonRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountPersonsPerson.PostAccountPersonsPersonRequestBodyVerification'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountPersonsPerson.PostAccountPersonsPersonRequestBodyVerification'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountPersonsPerson.PostAccountPersonsPersonRequestBodyVerification'Document'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountPersonsPerson.PostAccountPersonsPersonRequestBodyVerification'Document'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountPersonsPerson.PostAccountPersonsPersonRequestBodyVerification'AdditionalDocument'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountPersonsPerson.PostAccountPersonsPersonRequestBodyVerification'AdditionalDocument'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountPersonsPerson.PostAccountPersonsPersonRequestBodyRelationship'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountPersonsPerson.PostAccountPersonsPersonRequestBodyRelationship'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountPersonsPerson.PostAccountPersonsPersonRequestBodyRelationship'PercentOwnership'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountPersonsPerson.PostAccountPersonsPersonRequestBodyRelationship'PercentOwnership'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountPersonsPerson.PostAccountPersonsPersonRequestBodyMetadata'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountPersonsPerson.PostAccountPersonsPersonRequestBodyMetadata'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountPersonsPerson.PostAccountPersonsPersonRequestBodyDocuments'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountPersonsPerson.PostAccountPersonsPersonRequestBodyDocuments'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountPersonsPerson.PostAccountPersonsPersonRequestBodyDocuments'Visa'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountPersonsPerson.PostAccountPersonsPersonRequestBodyDocuments'Visa'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountPersonsPerson.PostAccountPersonsPersonRequestBodyDocuments'Passport'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountPersonsPerson.PostAccountPersonsPersonRequestBodyDocuments'Passport'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountPersonsPerson.PostAccountPersonsPersonRequestBodyDocuments'CompanyAuthorization'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountPersonsPerson.PostAccountPersonsPersonRequestBodyDocuments'CompanyAuthorization'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountPersonsPerson.PostAccountPersonsPersonRequestBodyDob'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountPersonsPerson.PostAccountPersonsPersonRequestBodyDob'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountPersonsPerson.PostAccountPersonsPersonRequestBodyDob'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountPersonsPerson.PostAccountPersonsPersonRequestBodyDob'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountPersonsPerson.PostAccountPersonsPersonRequestBodyAddressKanji'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountPersonsPerson.PostAccountPersonsPersonRequestBodyAddressKanji'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountPersonsPerson.PostAccountPersonsPersonRequestBodyAddressKana'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountPersonsPerson.PostAccountPersonsPersonRequestBodyAddressKana'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountPersonsPerson.PostAccountPersonsPersonRequestBodyAddress'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountPersonsPerson.PostAccountPersonsPersonRequestBodyAddress'
-- | Contains the different functions to run the operation
-- postAccountPersons
module StripeAPI.Operations.PostAccountPersons
-- |
-- POST /v1/account/persons
--
--
-- <p>Creates a new person.</p>
postAccountPersons :: forall m. MonadHTTP m => Maybe PostAccountPersonsRequestBody -> ClientT m (Response PostAccountPersonsResponse)
-- | Defines the object schema located at
-- paths./v1/account/persons.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostAccountPersonsRequestBody
PostAccountPersonsRequestBody :: Maybe Text -> Maybe PostAccountPersonsRequestBodyAddress' -> Maybe PostAccountPersonsRequestBodyAddressKana' -> Maybe PostAccountPersonsRequestBodyAddressKanji' -> Maybe PostAccountPersonsRequestBodyDob'Variants -> Maybe PostAccountPersonsRequestBodyDocuments' -> Maybe Text -> Maybe [Text] -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe PostAccountPersonsRequestBodyMetadata'Variants -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe PostAccountPersonsRequestBodyRelationship' -> Maybe Text -> Maybe PostAccountPersonsRequestBodyVerification' -> PostAccountPersonsRequestBody
-- | account
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPersonsRequestBodyAccount] :: PostAccountPersonsRequestBody -> Maybe Text
-- | address: The person's address.
[postAccountPersonsRequestBodyAddress] :: PostAccountPersonsRequestBody -> Maybe PostAccountPersonsRequestBodyAddress'
-- | address_kana: The Kana variation of the person's address (Japan only).
[postAccountPersonsRequestBodyAddressKana] :: PostAccountPersonsRequestBody -> Maybe PostAccountPersonsRequestBodyAddressKana'
-- | address_kanji: The Kanji variation of the person's address (Japan
-- only).
[postAccountPersonsRequestBodyAddressKanji] :: PostAccountPersonsRequestBody -> Maybe PostAccountPersonsRequestBodyAddressKanji'
-- | dob: The person's date of birth.
[postAccountPersonsRequestBodyDob] :: PostAccountPersonsRequestBody -> Maybe PostAccountPersonsRequestBodyDob'Variants
-- | documents: Documents that may be submitted to satisfy various
-- informational requests.
[postAccountPersonsRequestBodyDocuments] :: PostAccountPersonsRequestBody -> Maybe PostAccountPersonsRequestBodyDocuments'
-- | email: The person's email address.
[postAccountPersonsRequestBodyEmail] :: PostAccountPersonsRequestBody -> Maybe Text
-- | expand: Specifies which fields in the response should be expanded.
[postAccountPersonsRequestBodyExpand] :: PostAccountPersonsRequestBody -> Maybe [Text]
-- | first_name: The person's first name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPersonsRequestBodyFirstName] :: PostAccountPersonsRequestBody -> Maybe Text
-- | first_name_kana: The Kana variation of the person's first name (Japan
-- only).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPersonsRequestBodyFirstNameKana] :: PostAccountPersonsRequestBody -> Maybe Text
-- | first_name_kanji: The Kanji variation of the person's first name
-- (Japan only).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPersonsRequestBodyFirstNameKanji] :: PostAccountPersonsRequestBody -> Maybe Text
-- | gender: The person's gender (International regulations require either
-- "male" or "female").
[postAccountPersonsRequestBodyGender] :: PostAccountPersonsRequestBody -> Maybe Text
-- | id_number: The person's ID number, as appropriate for their country.
-- For example, a social security number in the U.S., social insurance
-- number in Canada, etc. Instead of the number itself, you can also
-- provide a PII token provided by Stripe.js.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPersonsRequestBodyIdNumber] :: PostAccountPersonsRequestBody -> Maybe Text
-- | last_name: The person's last name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPersonsRequestBodyLastName] :: PostAccountPersonsRequestBody -> Maybe Text
-- | last_name_kana: The Kana variation of the person's last name (Japan
-- only).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPersonsRequestBodyLastNameKana] :: PostAccountPersonsRequestBody -> Maybe Text
-- | last_name_kanji: The Kanji variation of the person's last name (Japan
-- only).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPersonsRequestBodyLastNameKanji] :: PostAccountPersonsRequestBody -> Maybe Text
-- | maiden_name: The person's maiden name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPersonsRequestBodyMaidenName] :: PostAccountPersonsRequestBody -> Maybe Text
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postAccountPersonsRequestBodyMetadata] :: PostAccountPersonsRequestBody -> Maybe PostAccountPersonsRequestBodyMetadata'Variants
-- | nationality: The country where the person is a national. Two-letter
-- country code ([ISO 3166-1
-- alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)), or "XX"
-- if unavailable.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPersonsRequestBodyNationality] :: PostAccountPersonsRequestBody -> Maybe Text
-- | person_token: A person token, used to securely provide details
-- to the person.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPersonsRequestBodyPersonToken] :: PostAccountPersonsRequestBody -> Maybe Text
-- | phone: The person's phone number.
[postAccountPersonsRequestBodyPhone] :: PostAccountPersonsRequestBody -> Maybe Text
-- | political_exposure: Indicates if the person or any of their
-- representatives, family members, or other closely related persons,
-- declares that they hold or have held an important public job or
-- function, in any jurisdiction.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPersonsRequestBodyPoliticalExposure] :: PostAccountPersonsRequestBody -> Maybe Text
-- | relationship: The relationship that this person has with the account's
-- legal entity.
[postAccountPersonsRequestBodyRelationship] :: PostAccountPersonsRequestBody -> Maybe PostAccountPersonsRequestBodyRelationship'
-- | ssn_last_4: The last four digits of the person's Social Security
-- number (U.S. only).
[postAccountPersonsRequestBodySsnLast_4] :: PostAccountPersonsRequestBody -> Maybe Text
-- | verification: The person's verification status.
[postAccountPersonsRequestBodyVerification] :: PostAccountPersonsRequestBody -> Maybe PostAccountPersonsRequestBodyVerification'
-- | Create a new PostAccountPersonsRequestBody with all required
-- fields.
mkPostAccountPersonsRequestBody :: PostAccountPersonsRequestBody
-- | Defines the object schema located at
-- paths./v1/account/persons.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.address
-- in the specification.
--
-- The person's address.
data PostAccountPersonsRequestBodyAddress'
PostAccountPersonsRequestBodyAddress' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PostAccountPersonsRequestBodyAddress'
-- | city
--
-- Constraints:
--
--
-- - Maximum length of 100
--
[postAccountPersonsRequestBodyAddress'City] :: PostAccountPersonsRequestBodyAddress' -> Maybe Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPersonsRequestBodyAddress'Country] :: PostAccountPersonsRequestBodyAddress' -> Maybe Text
-- | line1
--
-- Constraints:
--
--
-- - Maximum length of 200
--
[postAccountPersonsRequestBodyAddress'Line1] :: PostAccountPersonsRequestBodyAddress' -> Maybe Text
-- | line2
--
-- Constraints:
--
--
-- - Maximum length of 200
--
[postAccountPersonsRequestBodyAddress'Line2] :: PostAccountPersonsRequestBodyAddress' -> Maybe Text
-- | postal_code
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPersonsRequestBodyAddress'PostalCode] :: PostAccountPersonsRequestBodyAddress' -> Maybe Text
-- | state
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPersonsRequestBodyAddress'State] :: PostAccountPersonsRequestBodyAddress' -> Maybe Text
-- | Create a new PostAccountPersonsRequestBodyAddress' with all
-- required fields.
mkPostAccountPersonsRequestBodyAddress' :: PostAccountPersonsRequestBodyAddress'
-- | Defines the object schema located at
-- paths./v1/account/persons.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.address_kana
-- in the specification.
--
-- The Kana variation of the person's address (Japan only).
data PostAccountPersonsRequestBodyAddressKana'
PostAccountPersonsRequestBodyAddressKana' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PostAccountPersonsRequestBodyAddressKana'
-- | city
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPersonsRequestBodyAddressKana'City] :: PostAccountPersonsRequestBodyAddressKana' -> Maybe Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPersonsRequestBodyAddressKana'Country] :: PostAccountPersonsRequestBodyAddressKana' -> Maybe Text
-- | line1
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPersonsRequestBodyAddressKana'Line1] :: PostAccountPersonsRequestBodyAddressKana' -> Maybe Text
-- | line2
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPersonsRequestBodyAddressKana'Line2] :: PostAccountPersonsRequestBodyAddressKana' -> Maybe Text
-- | postal_code
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPersonsRequestBodyAddressKana'PostalCode] :: PostAccountPersonsRequestBodyAddressKana' -> Maybe Text
-- | state
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPersonsRequestBodyAddressKana'State] :: PostAccountPersonsRequestBodyAddressKana' -> Maybe Text
-- | town
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPersonsRequestBodyAddressKana'Town] :: PostAccountPersonsRequestBodyAddressKana' -> Maybe Text
-- | Create a new PostAccountPersonsRequestBodyAddressKana' with all
-- required fields.
mkPostAccountPersonsRequestBodyAddressKana' :: PostAccountPersonsRequestBodyAddressKana'
-- | Defines the object schema located at
-- paths./v1/account/persons.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.address_kanji
-- in the specification.
--
-- The Kanji variation of the person's address (Japan only).
data PostAccountPersonsRequestBodyAddressKanji'
PostAccountPersonsRequestBodyAddressKanji' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PostAccountPersonsRequestBodyAddressKanji'
-- | city
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPersonsRequestBodyAddressKanji'City] :: PostAccountPersonsRequestBodyAddressKanji' -> Maybe Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPersonsRequestBodyAddressKanji'Country] :: PostAccountPersonsRequestBodyAddressKanji' -> Maybe Text
-- | line1
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPersonsRequestBodyAddressKanji'Line1] :: PostAccountPersonsRequestBodyAddressKanji' -> Maybe Text
-- | line2
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPersonsRequestBodyAddressKanji'Line2] :: PostAccountPersonsRequestBodyAddressKanji' -> Maybe Text
-- | postal_code
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPersonsRequestBodyAddressKanji'PostalCode] :: PostAccountPersonsRequestBodyAddressKanji' -> Maybe Text
-- | state
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPersonsRequestBodyAddressKanji'State] :: PostAccountPersonsRequestBodyAddressKanji' -> Maybe Text
-- | town
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPersonsRequestBodyAddressKanji'Town] :: PostAccountPersonsRequestBodyAddressKanji' -> Maybe Text
-- | Create a new PostAccountPersonsRequestBodyAddressKanji' with
-- all required fields.
mkPostAccountPersonsRequestBodyAddressKanji' :: PostAccountPersonsRequestBodyAddressKanji'
-- | Defines the object schema located at
-- paths./v1/account/persons.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.dob.anyOf
-- in the specification.
data PostAccountPersonsRequestBodyDob'OneOf1
PostAccountPersonsRequestBodyDob'OneOf1 :: Int -> Int -> Int -> PostAccountPersonsRequestBodyDob'OneOf1
-- | day
[postAccountPersonsRequestBodyDob'OneOf1Day] :: PostAccountPersonsRequestBodyDob'OneOf1 -> Int
-- | month
[postAccountPersonsRequestBodyDob'OneOf1Month] :: PostAccountPersonsRequestBodyDob'OneOf1 -> Int
-- | year
[postAccountPersonsRequestBodyDob'OneOf1Year] :: PostAccountPersonsRequestBodyDob'OneOf1 -> Int
-- | Create a new PostAccountPersonsRequestBodyDob'OneOf1 with all
-- required fields.
mkPostAccountPersonsRequestBodyDob'OneOf1 :: Int -> Int -> Int -> PostAccountPersonsRequestBodyDob'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/account/persons.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.dob.anyOf
-- in the specification.
--
-- The person's date of birth.
data PostAccountPersonsRequestBodyDob'Variants
-- | Represents the JSON value ""
PostAccountPersonsRequestBodyDob'EmptyString :: PostAccountPersonsRequestBodyDob'Variants
PostAccountPersonsRequestBodyDob'PostAccountPersonsRequestBodyDob'OneOf1 :: PostAccountPersonsRequestBodyDob'OneOf1 -> PostAccountPersonsRequestBodyDob'Variants
-- | Defines the object schema located at
-- paths./v1/account/persons.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.documents
-- in the specification.
--
-- Documents that may be submitted to satisfy various informational
-- requests.
data PostAccountPersonsRequestBodyDocuments'
PostAccountPersonsRequestBodyDocuments' :: Maybe PostAccountPersonsRequestBodyDocuments'CompanyAuthorization' -> Maybe PostAccountPersonsRequestBodyDocuments'Passport' -> Maybe PostAccountPersonsRequestBodyDocuments'Visa' -> PostAccountPersonsRequestBodyDocuments'
-- | company_authorization
[postAccountPersonsRequestBodyDocuments'CompanyAuthorization] :: PostAccountPersonsRequestBodyDocuments' -> Maybe PostAccountPersonsRequestBodyDocuments'CompanyAuthorization'
-- | passport
[postAccountPersonsRequestBodyDocuments'Passport] :: PostAccountPersonsRequestBodyDocuments' -> Maybe PostAccountPersonsRequestBodyDocuments'Passport'
-- | visa
[postAccountPersonsRequestBodyDocuments'Visa] :: PostAccountPersonsRequestBodyDocuments' -> Maybe PostAccountPersonsRequestBodyDocuments'Visa'
-- | Create a new PostAccountPersonsRequestBodyDocuments' with all
-- required fields.
mkPostAccountPersonsRequestBodyDocuments' :: PostAccountPersonsRequestBodyDocuments'
-- | Defines the object schema located at
-- paths./v1/account/persons.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.documents.properties.company_authorization
-- in the specification.
data PostAccountPersonsRequestBodyDocuments'CompanyAuthorization'
PostAccountPersonsRequestBodyDocuments'CompanyAuthorization' :: Maybe [Text] -> PostAccountPersonsRequestBodyDocuments'CompanyAuthorization'
-- | files
[postAccountPersonsRequestBodyDocuments'CompanyAuthorization'Files] :: PostAccountPersonsRequestBodyDocuments'CompanyAuthorization' -> Maybe [Text]
-- | Create a new
-- PostAccountPersonsRequestBodyDocuments'CompanyAuthorization'
-- with all required fields.
mkPostAccountPersonsRequestBodyDocuments'CompanyAuthorization' :: PostAccountPersonsRequestBodyDocuments'CompanyAuthorization'
-- | Defines the object schema located at
-- paths./v1/account/persons.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.documents.properties.passport
-- in the specification.
data PostAccountPersonsRequestBodyDocuments'Passport'
PostAccountPersonsRequestBodyDocuments'Passport' :: Maybe [Text] -> PostAccountPersonsRequestBodyDocuments'Passport'
-- | files
[postAccountPersonsRequestBodyDocuments'Passport'Files] :: PostAccountPersonsRequestBodyDocuments'Passport' -> Maybe [Text]
-- | Create a new PostAccountPersonsRequestBodyDocuments'Passport'
-- with all required fields.
mkPostAccountPersonsRequestBodyDocuments'Passport' :: PostAccountPersonsRequestBodyDocuments'Passport'
-- | Defines the object schema located at
-- paths./v1/account/persons.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.documents.properties.visa
-- in the specification.
data PostAccountPersonsRequestBodyDocuments'Visa'
PostAccountPersonsRequestBodyDocuments'Visa' :: Maybe [Text] -> PostAccountPersonsRequestBodyDocuments'Visa'
-- | files
[postAccountPersonsRequestBodyDocuments'Visa'Files] :: PostAccountPersonsRequestBodyDocuments'Visa' -> Maybe [Text]
-- | Create a new PostAccountPersonsRequestBodyDocuments'Visa' with
-- all required fields.
mkPostAccountPersonsRequestBodyDocuments'Visa' :: PostAccountPersonsRequestBodyDocuments'Visa'
-- | Defines the oneOf schema located at
-- paths./v1/account/persons.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.metadata.anyOf
-- in the specification.
--
-- Set of key-value pairs that you can attach to an object. This
-- can be useful for storing additional information about the object in a
-- structured format. Individual keys can be unset by posting an empty
-- value to them. All keys can be unset by posting an empty value to
-- `metadata`.
data PostAccountPersonsRequestBodyMetadata'Variants
-- | Represents the JSON value ""
PostAccountPersonsRequestBodyMetadata'EmptyString :: PostAccountPersonsRequestBodyMetadata'Variants
PostAccountPersonsRequestBodyMetadata'Object :: Object -> PostAccountPersonsRequestBodyMetadata'Variants
-- | Defines the object schema located at
-- paths./v1/account/persons.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.relationship
-- in the specification.
--
-- The relationship that this person has with the account's legal entity.
data PostAccountPersonsRequestBodyRelationship'
PostAccountPersonsRequestBodyRelationship' :: Maybe Bool -> Maybe Bool -> Maybe Bool -> Maybe PostAccountPersonsRequestBodyRelationship'PercentOwnership'Variants -> Maybe Bool -> Maybe Text -> PostAccountPersonsRequestBodyRelationship'
-- | director
[postAccountPersonsRequestBodyRelationship'Director] :: PostAccountPersonsRequestBodyRelationship' -> Maybe Bool
-- | executive
[postAccountPersonsRequestBodyRelationship'Executive] :: PostAccountPersonsRequestBodyRelationship' -> Maybe Bool
-- | owner
[postAccountPersonsRequestBodyRelationship'Owner] :: PostAccountPersonsRequestBodyRelationship' -> Maybe Bool
-- | percent_ownership
[postAccountPersonsRequestBodyRelationship'PercentOwnership] :: PostAccountPersonsRequestBodyRelationship' -> Maybe PostAccountPersonsRequestBodyRelationship'PercentOwnership'Variants
-- | representative
[postAccountPersonsRequestBodyRelationship'Representative] :: PostAccountPersonsRequestBodyRelationship' -> Maybe Bool
-- | title
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPersonsRequestBodyRelationship'Title] :: PostAccountPersonsRequestBodyRelationship' -> Maybe Text
-- | Create a new PostAccountPersonsRequestBodyRelationship' with
-- all required fields.
mkPostAccountPersonsRequestBodyRelationship' :: PostAccountPersonsRequestBodyRelationship'
-- | Defines the oneOf schema located at
-- paths./v1/account/persons.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.relationship.properties.percent_ownership.anyOf
-- in the specification.
data PostAccountPersonsRequestBodyRelationship'PercentOwnership'Variants
-- | Represents the JSON value ""
PostAccountPersonsRequestBodyRelationship'PercentOwnership'EmptyString :: PostAccountPersonsRequestBodyRelationship'PercentOwnership'Variants
PostAccountPersonsRequestBodyRelationship'PercentOwnership'Double :: Double -> PostAccountPersonsRequestBodyRelationship'PercentOwnership'Variants
-- | Defines the object schema located at
-- paths./v1/account/persons.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.verification
-- in the specification.
--
-- The person's verification status.
data PostAccountPersonsRequestBodyVerification'
PostAccountPersonsRequestBodyVerification' :: Maybe PostAccountPersonsRequestBodyVerification'AdditionalDocument' -> Maybe PostAccountPersonsRequestBodyVerification'Document' -> PostAccountPersonsRequestBodyVerification'
-- | additional_document
[postAccountPersonsRequestBodyVerification'AdditionalDocument] :: PostAccountPersonsRequestBodyVerification' -> Maybe PostAccountPersonsRequestBodyVerification'AdditionalDocument'
-- | document
[postAccountPersonsRequestBodyVerification'Document] :: PostAccountPersonsRequestBodyVerification' -> Maybe PostAccountPersonsRequestBodyVerification'Document'
-- | Create a new PostAccountPersonsRequestBodyVerification' with
-- all required fields.
mkPostAccountPersonsRequestBodyVerification' :: PostAccountPersonsRequestBodyVerification'
-- | Defines the object schema located at
-- paths./v1/account/persons.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.verification.properties.additional_document
-- in the specification.
data PostAccountPersonsRequestBodyVerification'AdditionalDocument'
PostAccountPersonsRequestBodyVerification'AdditionalDocument' :: Maybe Text -> Maybe Text -> PostAccountPersonsRequestBodyVerification'AdditionalDocument'
-- | back
--
-- Constraints:
--
--
-- - Maximum length of 500
--
[postAccountPersonsRequestBodyVerification'AdditionalDocument'Back] :: PostAccountPersonsRequestBodyVerification'AdditionalDocument' -> Maybe Text
-- | front
--
-- Constraints:
--
--
-- - Maximum length of 500
--
[postAccountPersonsRequestBodyVerification'AdditionalDocument'Front] :: PostAccountPersonsRequestBodyVerification'AdditionalDocument' -> Maybe Text
-- | Create a new
-- PostAccountPersonsRequestBodyVerification'AdditionalDocument'
-- with all required fields.
mkPostAccountPersonsRequestBodyVerification'AdditionalDocument' :: PostAccountPersonsRequestBodyVerification'AdditionalDocument'
-- | Defines the object schema located at
-- paths./v1/account/persons.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.verification.properties.document
-- in the specification.
data PostAccountPersonsRequestBodyVerification'Document'
PostAccountPersonsRequestBodyVerification'Document' :: Maybe Text -> Maybe Text -> PostAccountPersonsRequestBodyVerification'Document'
-- | back
--
-- Constraints:
--
--
-- - Maximum length of 500
--
[postAccountPersonsRequestBodyVerification'Document'Back] :: PostAccountPersonsRequestBodyVerification'Document' -> Maybe Text
-- | front
--
-- Constraints:
--
--
-- - Maximum length of 500
--
[postAccountPersonsRequestBodyVerification'Document'Front] :: PostAccountPersonsRequestBodyVerification'Document' -> Maybe Text
-- | Create a new
-- PostAccountPersonsRequestBodyVerification'Document' with all
-- required fields.
mkPostAccountPersonsRequestBodyVerification'Document' :: PostAccountPersonsRequestBodyVerification'Document'
-- | Represents a response of the operation postAccountPersons.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostAccountPersonsResponseError is
-- used.
data PostAccountPersonsResponse
-- | Means either no matching case available or a parse error
PostAccountPersonsResponseError :: String -> PostAccountPersonsResponse
-- | Successful response.
PostAccountPersonsResponse200 :: Person -> PostAccountPersonsResponse
-- | Error response.
PostAccountPersonsResponseDefault :: Error -> PostAccountPersonsResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountPersons.PostAccountPersonsRequestBodyAddress'
instance GHC.Show.Show StripeAPI.Operations.PostAccountPersons.PostAccountPersonsRequestBodyAddress'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountPersons.PostAccountPersonsRequestBodyAddressKana'
instance GHC.Show.Show StripeAPI.Operations.PostAccountPersons.PostAccountPersonsRequestBodyAddressKana'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountPersons.PostAccountPersonsRequestBodyAddressKanji'
instance GHC.Show.Show StripeAPI.Operations.PostAccountPersons.PostAccountPersonsRequestBodyAddressKanji'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountPersons.PostAccountPersonsRequestBodyDob'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostAccountPersons.PostAccountPersonsRequestBodyDob'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountPersons.PostAccountPersonsRequestBodyDob'Variants
instance GHC.Show.Show StripeAPI.Operations.PostAccountPersons.PostAccountPersonsRequestBodyDob'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountPersons.PostAccountPersonsRequestBodyDocuments'CompanyAuthorization'
instance GHC.Show.Show StripeAPI.Operations.PostAccountPersons.PostAccountPersonsRequestBodyDocuments'CompanyAuthorization'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountPersons.PostAccountPersonsRequestBodyDocuments'Passport'
instance GHC.Show.Show StripeAPI.Operations.PostAccountPersons.PostAccountPersonsRequestBodyDocuments'Passport'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountPersons.PostAccountPersonsRequestBodyDocuments'Visa'
instance GHC.Show.Show StripeAPI.Operations.PostAccountPersons.PostAccountPersonsRequestBodyDocuments'Visa'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountPersons.PostAccountPersonsRequestBodyDocuments'
instance GHC.Show.Show StripeAPI.Operations.PostAccountPersons.PostAccountPersonsRequestBodyDocuments'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountPersons.PostAccountPersonsRequestBodyMetadata'Variants
instance GHC.Show.Show StripeAPI.Operations.PostAccountPersons.PostAccountPersonsRequestBodyMetadata'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountPersons.PostAccountPersonsRequestBodyRelationship'PercentOwnership'Variants
instance GHC.Show.Show StripeAPI.Operations.PostAccountPersons.PostAccountPersonsRequestBodyRelationship'PercentOwnership'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountPersons.PostAccountPersonsRequestBodyRelationship'
instance GHC.Show.Show StripeAPI.Operations.PostAccountPersons.PostAccountPersonsRequestBodyRelationship'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountPersons.PostAccountPersonsRequestBodyVerification'AdditionalDocument'
instance GHC.Show.Show StripeAPI.Operations.PostAccountPersons.PostAccountPersonsRequestBodyVerification'AdditionalDocument'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountPersons.PostAccountPersonsRequestBodyVerification'Document'
instance GHC.Show.Show StripeAPI.Operations.PostAccountPersons.PostAccountPersonsRequestBodyVerification'Document'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountPersons.PostAccountPersonsRequestBodyVerification'
instance GHC.Show.Show StripeAPI.Operations.PostAccountPersons.PostAccountPersonsRequestBodyVerification'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountPersons.PostAccountPersonsRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostAccountPersons.PostAccountPersonsRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountPersons.PostAccountPersonsResponse
instance GHC.Show.Show StripeAPI.Operations.PostAccountPersons.PostAccountPersonsResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountPersons.PostAccountPersonsRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountPersons.PostAccountPersonsRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountPersons.PostAccountPersonsRequestBodyVerification'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountPersons.PostAccountPersonsRequestBodyVerification'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountPersons.PostAccountPersonsRequestBodyVerification'Document'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountPersons.PostAccountPersonsRequestBodyVerification'Document'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountPersons.PostAccountPersonsRequestBodyVerification'AdditionalDocument'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountPersons.PostAccountPersonsRequestBodyVerification'AdditionalDocument'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountPersons.PostAccountPersonsRequestBodyRelationship'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountPersons.PostAccountPersonsRequestBodyRelationship'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountPersons.PostAccountPersonsRequestBodyRelationship'PercentOwnership'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountPersons.PostAccountPersonsRequestBodyRelationship'PercentOwnership'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountPersons.PostAccountPersonsRequestBodyMetadata'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountPersons.PostAccountPersonsRequestBodyMetadata'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountPersons.PostAccountPersonsRequestBodyDocuments'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountPersons.PostAccountPersonsRequestBodyDocuments'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountPersons.PostAccountPersonsRequestBodyDocuments'Visa'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountPersons.PostAccountPersonsRequestBodyDocuments'Visa'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountPersons.PostAccountPersonsRequestBodyDocuments'Passport'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountPersons.PostAccountPersonsRequestBodyDocuments'Passport'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountPersons.PostAccountPersonsRequestBodyDocuments'CompanyAuthorization'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountPersons.PostAccountPersonsRequestBodyDocuments'CompanyAuthorization'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountPersons.PostAccountPersonsRequestBodyDob'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountPersons.PostAccountPersonsRequestBodyDob'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountPersons.PostAccountPersonsRequestBodyDob'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountPersons.PostAccountPersonsRequestBodyDob'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountPersons.PostAccountPersonsRequestBodyAddressKanji'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountPersons.PostAccountPersonsRequestBodyAddressKanji'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountPersons.PostAccountPersonsRequestBodyAddressKana'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountPersons.PostAccountPersonsRequestBodyAddressKana'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountPersons.PostAccountPersonsRequestBodyAddress'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountPersons.PostAccountPersonsRequestBodyAddress'
-- | Contains the different functions to run the operation
-- postAccountPeoplePerson
module StripeAPI.Operations.PostAccountPeoplePerson
-- |
-- POST /v1/account/people/{person}
--
--
-- <p>Updates an existing person.</p>
postAccountPeoplePerson :: forall m. MonadHTTP m => Text -> Maybe PostAccountPeoplePersonRequestBody -> ClientT m (Response PostAccountPeoplePersonResponse)
-- | Defines the object schema located at
-- paths./v1/account/people/{person}.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostAccountPeoplePersonRequestBody
PostAccountPeoplePersonRequestBody :: Maybe Text -> Maybe PostAccountPeoplePersonRequestBodyAddress' -> Maybe PostAccountPeoplePersonRequestBodyAddressKana' -> Maybe PostAccountPeoplePersonRequestBodyAddressKanji' -> Maybe PostAccountPeoplePersonRequestBodyDob'Variants -> Maybe PostAccountPeoplePersonRequestBodyDocuments' -> Maybe Text -> Maybe [Text] -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe PostAccountPeoplePersonRequestBodyMetadata'Variants -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe PostAccountPeoplePersonRequestBodyRelationship' -> Maybe Text -> Maybe PostAccountPeoplePersonRequestBodyVerification' -> PostAccountPeoplePersonRequestBody
-- | account
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPeoplePersonRequestBodyAccount] :: PostAccountPeoplePersonRequestBody -> Maybe Text
-- | address: The person's address.
[postAccountPeoplePersonRequestBodyAddress] :: PostAccountPeoplePersonRequestBody -> Maybe PostAccountPeoplePersonRequestBodyAddress'
-- | address_kana: The Kana variation of the person's address (Japan only).
[postAccountPeoplePersonRequestBodyAddressKana] :: PostAccountPeoplePersonRequestBody -> Maybe PostAccountPeoplePersonRequestBodyAddressKana'
-- | address_kanji: The Kanji variation of the person's address (Japan
-- only).
[postAccountPeoplePersonRequestBodyAddressKanji] :: PostAccountPeoplePersonRequestBody -> Maybe PostAccountPeoplePersonRequestBodyAddressKanji'
-- | dob: The person's date of birth.
[postAccountPeoplePersonRequestBodyDob] :: PostAccountPeoplePersonRequestBody -> Maybe PostAccountPeoplePersonRequestBodyDob'Variants
-- | documents: Documents that may be submitted to satisfy various
-- informational requests.
[postAccountPeoplePersonRequestBodyDocuments] :: PostAccountPeoplePersonRequestBody -> Maybe PostAccountPeoplePersonRequestBodyDocuments'
-- | email: The person's email address.
[postAccountPeoplePersonRequestBodyEmail] :: PostAccountPeoplePersonRequestBody -> Maybe Text
-- | expand: Specifies which fields in the response should be expanded.
[postAccountPeoplePersonRequestBodyExpand] :: PostAccountPeoplePersonRequestBody -> Maybe [Text]
-- | first_name: The person's first name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPeoplePersonRequestBodyFirstName] :: PostAccountPeoplePersonRequestBody -> Maybe Text
-- | first_name_kana: The Kana variation of the person's first name (Japan
-- only).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPeoplePersonRequestBodyFirstNameKana] :: PostAccountPeoplePersonRequestBody -> Maybe Text
-- | first_name_kanji: The Kanji variation of the person's first name
-- (Japan only).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPeoplePersonRequestBodyFirstNameKanji] :: PostAccountPeoplePersonRequestBody -> Maybe Text
-- | gender: The person's gender (International regulations require either
-- "male" or "female").
[postAccountPeoplePersonRequestBodyGender] :: PostAccountPeoplePersonRequestBody -> Maybe Text
-- | id_number: The person's ID number, as appropriate for their country.
-- For example, a social security number in the U.S., social insurance
-- number in Canada, etc. Instead of the number itself, you can also
-- provide a PII token provided by Stripe.js.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPeoplePersonRequestBodyIdNumber] :: PostAccountPeoplePersonRequestBody -> Maybe Text
-- | last_name: The person's last name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPeoplePersonRequestBodyLastName] :: PostAccountPeoplePersonRequestBody -> Maybe Text
-- | last_name_kana: The Kana variation of the person's last name (Japan
-- only).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPeoplePersonRequestBodyLastNameKana] :: PostAccountPeoplePersonRequestBody -> Maybe Text
-- | last_name_kanji: The Kanji variation of the person's last name (Japan
-- only).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPeoplePersonRequestBodyLastNameKanji] :: PostAccountPeoplePersonRequestBody -> Maybe Text
-- | maiden_name: The person's maiden name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPeoplePersonRequestBodyMaidenName] :: PostAccountPeoplePersonRequestBody -> Maybe Text
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postAccountPeoplePersonRequestBodyMetadata] :: PostAccountPeoplePersonRequestBody -> Maybe PostAccountPeoplePersonRequestBodyMetadata'Variants
-- | nationality: The country where the person is a national. Two-letter
-- country code ([ISO 3166-1
-- alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)), or "XX"
-- if unavailable.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPeoplePersonRequestBodyNationality] :: PostAccountPeoplePersonRequestBody -> Maybe Text
-- | person_token: A person token, used to securely provide details
-- to the person.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPeoplePersonRequestBodyPersonToken] :: PostAccountPeoplePersonRequestBody -> Maybe Text
-- | phone: The person's phone number.
[postAccountPeoplePersonRequestBodyPhone] :: PostAccountPeoplePersonRequestBody -> Maybe Text
-- | political_exposure: Indicates if the person or any of their
-- representatives, family members, or other closely related persons,
-- declares that they hold or have held an important public job or
-- function, in any jurisdiction.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPeoplePersonRequestBodyPoliticalExposure] :: PostAccountPeoplePersonRequestBody -> Maybe Text
-- | relationship: The relationship that this person has with the account's
-- legal entity.
[postAccountPeoplePersonRequestBodyRelationship] :: PostAccountPeoplePersonRequestBody -> Maybe PostAccountPeoplePersonRequestBodyRelationship'
-- | ssn_last_4: The last four digits of the person's Social Security
-- number (U.S. only).
[postAccountPeoplePersonRequestBodySsnLast_4] :: PostAccountPeoplePersonRequestBody -> Maybe Text
-- | verification: The person's verification status.
[postAccountPeoplePersonRequestBodyVerification] :: PostAccountPeoplePersonRequestBody -> Maybe PostAccountPeoplePersonRequestBodyVerification'
-- | Create a new PostAccountPeoplePersonRequestBody with all
-- required fields.
mkPostAccountPeoplePersonRequestBody :: PostAccountPeoplePersonRequestBody
-- | Defines the object schema located at
-- paths./v1/account/people/{person}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.address
-- in the specification.
--
-- The person's address.
data PostAccountPeoplePersonRequestBodyAddress'
PostAccountPeoplePersonRequestBodyAddress' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PostAccountPeoplePersonRequestBodyAddress'
-- | city
--
-- Constraints:
--
--
-- - Maximum length of 100
--
[postAccountPeoplePersonRequestBodyAddress'City] :: PostAccountPeoplePersonRequestBodyAddress' -> Maybe Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPeoplePersonRequestBodyAddress'Country] :: PostAccountPeoplePersonRequestBodyAddress' -> Maybe Text
-- | line1
--
-- Constraints:
--
--
-- - Maximum length of 200
--
[postAccountPeoplePersonRequestBodyAddress'Line1] :: PostAccountPeoplePersonRequestBodyAddress' -> Maybe Text
-- | line2
--
-- Constraints:
--
--
-- - Maximum length of 200
--
[postAccountPeoplePersonRequestBodyAddress'Line2] :: PostAccountPeoplePersonRequestBodyAddress' -> Maybe Text
-- | postal_code
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPeoplePersonRequestBodyAddress'PostalCode] :: PostAccountPeoplePersonRequestBodyAddress' -> Maybe Text
-- | state
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPeoplePersonRequestBodyAddress'State] :: PostAccountPeoplePersonRequestBodyAddress' -> Maybe Text
-- | Create a new PostAccountPeoplePersonRequestBodyAddress' with
-- all required fields.
mkPostAccountPeoplePersonRequestBodyAddress' :: PostAccountPeoplePersonRequestBodyAddress'
-- | Defines the object schema located at
-- paths./v1/account/people/{person}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.address_kana
-- in the specification.
--
-- The Kana variation of the person's address (Japan only).
data PostAccountPeoplePersonRequestBodyAddressKana'
PostAccountPeoplePersonRequestBodyAddressKana' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PostAccountPeoplePersonRequestBodyAddressKana'
-- | city
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPeoplePersonRequestBodyAddressKana'City] :: PostAccountPeoplePersonRequestBodyAddressKana' -> Maybe Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPeoplePersonRequestBodyAddressKana'Country] :: PostAccountPeoplePersonRequestBodyAddressKana' -> Maybe Text
-- | line1
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPeoplePersonRequestBodyAddressKana'Line1] :: PostAccountPeoplePersonRequestBodyAddressKana' -> Maybe Text
-- | line2
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPeoplePersonRequestBodyAddressKana'Line2] :: PostAccountPeoplePersonRequestBodyAddressKana' -> Maybe Text
-- | postal_code
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPeoplePersonRequestBodyAddressKana'PostalCode] :: PostAccountPeoplePersonRequestBodyAddressKana' -> Maybe Text
-- | state
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPeoplePersonRequestBodyAddressKana'State] :: PostAccountPeoplePersonRequestBodyAddressKana' -> Maybe Text
-- | town
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPeoplePersonRequestBodyAddressKana'Town] :: PostAccountPeoplePersonRequestBodyAddressKana' -> Maybe Text
-- | Create a new PostAccountPeoplePersonRequestBodyAddressKana'
-- with all required fields.
mkPostAccountPeoplePersonRequestBodyAddressKana' :: PostAccountPeoplePersonRequestBodyAddressKana'
-- | Defines the object schema located at
-- paths./v1/account/people/{person}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.address_kanji
-- in the specification.
--
-- The Kanji variation of the person's address (Japan only).
data PostAccountPeoplePersonRequestBodyAddressKanji'
PostAccountPeoplePersonRequestBodyAddressKanji' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PostAccountPeoplePersonRequestBodyAddressKanji'
-- | city
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPeoplePersonRequestBodyAddressKanji'City] :: PostAccountPeoplePersonRequestBodyAddressKanji' -> Maybe Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPeoplePersonRequestBodyAddressKanji'Country] :: PostAccountPeoplePersonRequestBodyAddressKanji' -> Maybe Text
-- | line1
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPeoplePersonRequestBodyAddressKanji'Line1] :: PostAccountPeoplePersonRequestBodyAddressKanji' -> Maybe Text
-- | line2
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPeoplePersonRequestBodyAddressKanji'Line2] :: PostAccountPeoplePersonRequestBodyAddressKanji' -> Maybe Text
-- | postal_code
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPeoplePersonRequestBodyAddressKanji'PostalCode] :: PostAccountPeoplePersonRequestBodyAddressKanji' -> Maybe Text
-- | state
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPeoplePersonRequestBodyAddressKanji'State] :: PostAccountPeoplePersonRequestBodyAddressKanji' -> Maybe Text
-- | town
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPeoplePersonRequestBodyAddressKanji'Town] :: PostAccountPeoplePersonRequestBodyAddressKanji' -> Maybe Text
-- | Create a new PostAccountPeoplePersonRequestBodyAddressKanji'
-- with all required fields.
mkPostAccountPeoplePersonRequestBodyAddressKanji' :: PostAccountPeoplePersonRequestBodyAddressKanji'
-- | Defines the object schema located at
-- paths./v1/account/people/{person}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.dob.anyOf
-- in the specification.
data PostAccountPeoplePersonRequestBodyDob'OneOf1
PostAccountPeoplePersonRequestBodyDob'OneOf1 :: Int -> Int -> Int -> PostAccountPeoplePersonRequestBodyDob'OneOf1
-- | day
[postAccountPeoplePersonRequestBodyDob'OneOf1Day] :: PostAccountPeoplePersonRequestBodyDob'OneOf1 -> Int
-- | month
[postAccountPeoplePersonRequestBodyDob'OneOf1Month] :: PostAccountPeoplePersonRequestBodyDob'OneOf1 -> Int
-- | year
[postAccountPeoplePersonRequestBodyDob'OneOf1Year] :: PostAccountPeoplePersonRequestBodyDob'OneOf1 -> Int
-- | Create a new PostAccountPeoplePersonRequestBodyDob'OneOf1 with
-- all required fields.
mkPostAccountPeoplePersonRequestBodyDob'OneOf1 :: Int -> Int -> Int -> PostAccountPeoplePersonRequestBodyDob'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/account/people/{person}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.dob.anyOf
-- in the specification.
--
-- The person's date of birth.
data PostAccountPeoplePersonRequestBodyDob'Variants
-- | Represents the JSON value ""
PostAccountPeoplePersonRequestBodyDob'EmptyString :: PostAccountPeoplePersonRequestBodyDob'Variants
PostAccountPeoplePersonRequestBodyDob'PostAccountPeoplePersonRequestBodyDob'OneOf1 :: PostAccountPeoplePersonRequestBodyDob'OneOf1 -> PostAccountPeoplePersonRequestBodyDob'Variants
-- | Defines the object schema located at
-- paths./v1/account/people/{person}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.documents
-- in the specification.
--
-- Documents that may be submitted to satisfy various informational
-- requests.
data PostAccountPeoplePersonRequestBodyDocuments'
PostAccountPeoplePersonRequestBodyDocuments' :: Maybe PostAccountPeoplePersonRequestBodyDocuments'CompanyAuthorization' -> Maybe PostAccountPeoplePersonRequestBodyDocuments'Passport' -> Maybe PostAccountPeoplePersonRequestBodyDocuments'Visa' -> PostAccountPeoplePersonRequestBodyDocuments'
-- | company_authorization
[postAccountPeoplePersonRequestBodyDocuments'CompanyAuthorization] :: PostAccountPeoplePersonRequestBodyDocuments' -> Maybe PostAccountPeoplePersonRequestBodyDocuments'CompanyAuthorization'
-- | passport
[postAccountPeoplePersonRequestBodyDocuments'Passport] :: PostAccountPeoplePersonRequestBodyDocuments' -> Maybe PostAccountPeoplePersonRequestBodyDocuments'Passport'
-- | visa
[postAccountPeoplePersonRequestBodyDocuments'Visa] :: PostAccountPeoplePersonRequestBodyDocuments' -> Maybe PostAccountPeoplePersonRequestBodyDocuments'Visa'
-- | Create a new PostAccountPeoplePersonRequestBodyDocuments' with
-- all required fields.
mkPostAccountPeoplePersonRequestBodyDocuments' :: PostAccountPeoplePersonRequestBodyDocuments'
-- | Defines the object schema located at
-- paths./v1/account/people/{person}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.documents.properties.company_authorization
-- in the specification.
data PostAccountPeoplePersonRequestBodyDocuments'CompanyAuthorization'
PostAccountPeoplePersonRequestBodyDocuments'CompanyAuthorization' :: Maybe [Text] -> PostAccountPeoplePersonRequestBodyDocuments'CompanyAuthorization'
-- | files
[postAccountPeoplePersonRequestBodyDocuments'CompanyAuthorization'Files] :: PostAccountPeoplePersonRequestBodyDocuments'CompanyAuthorization' -> Maybe [Text]
-- | Create a new
-- PostAccountPeoplePersonRequestBodyDocuments'CompanyAuthorization'
-- with all required fields.
mkPostAccountPeoplePersonRequestBodyDocuments'CompanyAuthorization' :: PostAccountPeoplePersonRequestBodyDocuments'CompanyAuthorization'
-- | Defines the object schema located at
-- paths./v1/account/people/{person}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.documents.properties.passport
-- in the specification.
data PostAccountPeoplePersonRequestBodyDocuments'Passport'
PostAccountPeoplePersonRequestBodyDocuments'Passport' :: Maybe [Text] -> PostAccountPeoplePersonRequestBodyDocuments'Passport'
-- | files
[postAccountPeoplePersonRequestBodyDocuments'Passport'Files] :: PostAccountPeoplePersonRequestBodyDocuments'Passport' -> Maybe [Text]
-- | Create a new
-- PostAccountPeoplePersonRequestBodyDocuments'Passport' with all
-- required fields.
mkPostAccountPeoplePersonRequestBodyDocuments'Passport' :: PostAccountPeoplePersonRequestBodyDocuments'Passport'
-- | Defines the object schema located at
-- paths./v1/account/people/{person}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.documents.properties.visa
-- in the specification.
data PostAccountPeoplePersonRequestBodyDocuments'Visa'
PostAccountPeoplePersonRequestBodyDocuments'Visa' :: Maybe [Text] -> PostAccountPeoplePersonRequestBodyDocuments'Visa'
-- | files
[postAccountPeoplePersonRequestBodyDocuments'Visa'Files] :: PostAccountPeoplePersonRequestBodyDocuments'Visa' -> Maybe [Text]
-- | Create a new PostAccountPeoplePersonRequestBodyDocuments'Visa'
-- with all required fields.
mkPostAccountPeoplePersonRequestBodyDocuments'Visa' :: PostAccountPeoplePersonRequestBodyDocuments'Visa'
-- | Defines the oneOf schema located at
-- paths./v1/account/people/{person}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.metadata.anyOf
-- in the specification.
--
-- Set of key-value pairs that you can attach to an object. This
-- can be useful for storing additional information about the object in a
-- structured format. Individual keys can be unset by posting an empty
-- value to them. All keys can be unset by posting an empty value to
-- `metadata`.
data PostAccountPeoplePersonRequestBodyMetadata'Variants
-- | Represents the JSON value ""
PostAccountPeoplePersonRequestBodyMetadata'EmptyString :: PostAccountPeoplePersonRequestBodyMetadata'Variants
PostAccountPeoplePersonRequestBodyMetadata'Object :: Object -> PostAccountPeoplePersonRequestBodyMetadata'Variants
-- | Defines the object schema located at
-- paths./v1/account/people/{person}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.relationship
-- in the specification.
--
-- The relationship that this person has with the account's legal entity.
data PostAccountPeoplePersonRequestBodyRelationship'
PostAccountPeoplePersonRequestBodyRelationship' :: Maybe Bool -> Maybe Bool -> Maybe Bool -> Maybe PostAccountPeoplePersonRequestBodyRelationship'PercentOwnership'Variants -> Maybe Bool -> Maybe Text -> PostAccountPeoplePersonRequestBodyRelationship'
-- | director
[postAccountPeoplePersonRequestBodyRelationship'Director] :: PostAccountPeoplePersonRequestBodyRelationship' -> Maybe Bool
-- | executive
[postAccountPeoplePersonRequestBodyRelationship'Executive] :: PostAccountPeoplePersonRequestBodyRelationship' -> Maybe Bool
-- | owner
[postAccountPeoplePersonRequestBodyRelationship'Owner] :: PostAccountPeoplePersonRequestBodyRelationship' -> Maybe Bool
-- | percent_ownership
[postAccountPeoplePersonRequestBodyRelationship'PercentOwnership] :: PostAccountPeoplePersonRequestBodyRelationship' -> Maybe PostAccountPeoplePersonRequestBodyRelationship'PercentOwnership'Variants
-- | representative
[postAccountPeoplePersonRequestBodyRelationship'Representative] :: PostAccountPeoplePersonRequestBodyRelationship' -> Maybe Bool
-- | title
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPeoplePersonRequestBodyRelationship'Title] :: PostAccountPeoplePersonRequestBodyRelationship' -> Maybe Text
-- | Create a new PostAccountPeoplePersonRequestBodyRelationship'
-- with all required fields.
mkPostAccountPeoplePersonRequestBodyRelationship' :: PostAccountPeoplePersonRequestBodyRelationship'
-- | Defines the oneOf schema located at
-- paths./v1/account/people/{person}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.relationship.properties.percent_ownership.anyOf
-- in the specification.
data PostAccountPeoplePersonRequestBodyRelationship'PercentOwnership'Variants
-- | Represents the JSON value ""
PostAccountPeoplePersonRequestBodyRelationship'PercentOwnership'EmptyString :: PostAccountPeoplePersonRequestBodyRelationship'PercentOwnership'Variants
PostAccountPeoplePersonRequestBodyRelationship'PercentOwnership'Double :: Double -> PostAccountPeoplePersonRequestBodyRelationship'PercentOwnership'Variants
-- | Defines the object schema located at
-- paths./v1/account/people/{person}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.verification
-- in the specification.
--
-- The person's verification status.
data PostAccountPeoplePersonRequestBodyVerification'
PostAccountPeoplePersonRequestBodyVerification' :: Maybe PostAccountPeoplePersonRequestBodyVerification'AdditionalDocument' -> Maybe PostAccountPeoplePersonRequestBodyVerification'Document' -> PostAccountPeoplePersonRequestBodyVerification'
-- | additional_document
[postAccountPeoplePersonRequestBodyVerification'AdditionalDocument] :: PostAccountPeoplePersonRequestBodyVerification' -> Maybe PostAccountPeoplePersonRequestBodyVerification'AdditionalDocument'
-- | document
[postAccountPeoplePersonRequestBodyVerification'Document] :: PostAccountPeoplePersonRequestBodyVerification' -> Maybe PostAccountPeoplePersonRequestBodyVerification'Document'
-- | Create a new PostAccountPeoplePersonRequestBodyVerification'
-- with all required fields.
mkPostAccountPeoplePersonRequestBodyVerification' :: PostAccountPeoplePersonRequestBodyVerification'
-- | Defines the object schema located at
-- paths./v1/account/people/{person}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.verification.properties.additional_document
-- in the specification.
data PostAccountPeoplePersonRequestBodyVerification'AdditionalDocument'
PostAccountPeoplePersonRequestBodyVerification'AdditionalDocument' :: Maybe Text -> Maybe Text -> PostAccountPeoplePersonRequestBodyVerification'AdditionalDocument'
-- | back
--
-- Constraints:
--
--
-- - Maximum length of 500
--
[postAccountPeoplePersonRequestBodyVerification'AdditionalDocument'Back] :: PostAccountPeoplePersonRequestBodyVerification'AdditionalDocument' -> Maybe Text
-- | front
--
-- Constraints:
--
--
-- - Maximum length of 500
--
[postAccountPeoplePersonRequestBodyVerification'AdditionalDocument'Front] :: PostAccountPeoplePersonRequestBodyVerification'AdditionalDocument' -> Maybe Text
-- | Create a new
-- PostAccountPeoplePersonRequestBodyVerification'AdditionalDocument'
-- with all required fields.
mkPostAccountPeoplePersonRequestBodyVerification'AdditionalDocument' :: PostAccountPeoplePersonRequestBodyVerification'AdditionalDocument'
-- | Defines the object schema located at
-- paths./v1/account/people/{person}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.verification.properties.document
-- in the specification.
data PostAccountPeoplePersonRequestBodyVerification'Document'
PostAccountPeoplePersonRequestBodyVerification'Document' :: Maybe Text -> Maybe Text -> PostAccountPeoplePersonRequestBodyVerification'Document'
-- | back
--
-- Constraints:
--
--
-- - Maximum length of 500
--
[postAccountPeoplePersonRequestBodyVerification'Document'Back] :: PostAccountPeoplePersonRequestBodyVerification'Document' -> Maybe Text
-- | front
--
-- Constraints:
--
--
-- - Maximum length of 500
--
[postAccountPeoplePersonRequestBodyVerification'Document'Front] :: PostAccountPeoplePersonRequestBodyVerification'Document' -> Maybe Text
-- | Create a new
-- PostAccountPeoplePersonRequestBodyVerification'Document' with
-- all required fields.
mkPostAccountPeoplePersonRequestBodyVerification'Document' :: PostAccountPeoplePersonRequestBodyVerification'Document'
-- | Represents a response of the operation postAccountPeoplePerson.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostAccountPeoplePersonResponseError is
-- used.
data PostAccountPeoplePersonResponse
-- | Means either no matching case available or a parse error
PostAccountPeoplePersonResponseError :: String -> PostAccountPeoplePersonResponse
-- | Successful response.
PostAccountPeoplePersonResponse200 :: Person -> PostAccountPeoplePersonResponse
-- | Error response.
PostAccountPeoplePersonResponseDefault :: Error -> PostAccountPeoplePersonResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountPeoplePerson.PostAccountPeoplePersonRequestBodyAddress'
instance GHC.Show.Show StripeAPI.Operations.PostAccountPeoplePerson.PostAccountPeoplePersonRequestBodyAddress'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountPeoplePerson.PostAccountPeoplePersonRequestBodyAddressKana'
instance GHC.Show.Show StripeAPI.Operations.PostAccountPeoplePerson.PostAccountPeoplePersonRequestBodyAddressKana'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountPeoplePerson.PostAccountPeoplePersonRequestBodyAddressKanji'
instance GHC.Show.Show StripeAPI.Operations.PostAccountPeoplePerson.PostAccountPeoplePersonRequestBodyAddressKanji'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountPeoplePerson.PostAccountPeoplePersonRequestBodyDob'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostAccountPeoplePerson.PostAccountPeoplePersonRequestBodyDob'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountPeoplePerson.PostAccountPeoplePersonRequestBodyDob'Variants
instance GHC.Show.Show StripeAPI.Operations.PostAccountPeoplePerson.PostAccountPeoplePersonRequestBodyDob'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountPeoplePerson.PostAccountPeoplePersonRequestBodyDocuments'CompanyAuthorization'
instance GHC.Show.Show StripeAPI.Operations.PostAccountPeoplePerson.PostAccountPeoplePersonRequestBodyDocuments'CompanyAuthorization'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountPeoplePerson.PostAccountPeoplePersonRequestBodyDocuments'Passport'
instance GHC.Show.Show StripeAPI.Operations.PostAccountPeoplePerson.PostAccountPeoplePersonRequestBodyDocuments'Passport'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountPeoplePerson.PostAccountPeoplePersonRequestBodyDocuments'Visa'
instance GHC.Show.Show StripeAPI.Operations.PostAccountPeoplePerson.PostAccountPeoplePersonRequestBodyDocuments'Visa'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountPeoplePerson.PostAccountPeoplePersonRequestBodyDocuments'
instance GHC.Show.Show StripeAPI.Operations.PostAccountPeoplePerson.PostAccountPeoplePersonRequestBodyDocuments'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountPeoplePerson.PostAccountPeoplePersonRequestBodyMetadata'Variants
instance GHC.Show.Show StripeAPI.Operations.PostAccountPeoplePerson.PostAccountPeoplePersonRequestBodyMetadata'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountPeoplePerson.PostAccountPeoplePersonRequestBodyRelationship'PercentOwnership'Variants
instance GHC.Show.Show StripeAPI.Operations.PostAccountPeoplePerson.PostAccountPeoplePersonRequestBodyRelationship'PercentOwnership'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountPeoplePerson.PostAccountPeoplePersonRequestBodyRelationship'
instance GHC.Show.Show StripeAPI.Operations.PostAccountPeoplePerson.PostAccountPeoplePersonRequestBodyRelationship'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountPeoplePerson.PostAccountPeoplePersonRequestBodyVerification'AdditionalDocument'
instance GHC.Show.Show StripeAPI.Operations.PostAccountPeoplePerson.PostAccountPeoplePersonRequestBodyVerification'AdditionalDocument'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountPeoplePerson.PostAccountPeoplePersonRequestBodyVerification'Document'
instance GHC.Show.Show StripeAPI.Operations.PostAccountPeoplePerson.PostAccountPeoplePersonRequestBodyVerification'Document'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountPeoplePerson.PostAccountPeoplePersonRequestBodyVerification'
instance GHC.Show.Show StripeAPI.Operations.PostAccountPeoplePerson.PostAccountPeoplePersonRequestBodyVerification'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountPeoplePerson.PostAccountPeoplePersonRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostAccountPeoplePerson.PostAccountPeoplePersonRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountPeoplePerson.PostAccountPeoplePersonResponse
instance GHC.Show.Show StripeAPI.Operations.PostAccountPeoplePerson.PostAccountPeoplePersonResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountPeoplePerson.PostAccountPeoplePersonRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountPeoplePerson.PostAccountPeoplePersonRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountPeoplePerson.PostAccountPeoplePersonRequestBodyVerification'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountPeoplePerson.PostAccountPeoplePersonRequestBodyVerification'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountPeoplePerson.PostAccountPeoplePersonRequestBodyVerification'Document'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountPeoplePerson.PostAccountPeoplePersonRequestBodyVerification'Document'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountPeoplePerson.PostAccountPeoplePersonRequestBodyVerification'AdditionalDocument'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountPeoplePerson.PostAccountPeoplePersonRequestBodyVerification'AdditionalDocument'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountPeoplePerson.PostAccountPeoplePersonRequestBodyRelationship'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountPeoplePerson.PostAccountPeoplePersonRequestBodyRelationship'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountPeoplePerson.PostAccountPeoplePersonRequestBodyRelationship'PercentOwnership'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountPeoplePerson.PostAccountPeoplePersonRequestBodyRelationship'PercentOwnership'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountPeoplePerson.PostAccountPeoplePersonRequestBodyMetadata'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountPeoplePerson.PostAccountPeoplePersonRequestBodyMetadata'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountPeoplePerson.PostAccountPeoplePersonRequestBodyDocuments'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountPeoplePerson.PostAccountPeoplePersonRequestBodyDocuments'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountPeoplePerson.PostAccountPeoplePersonRequestBodyDocuments'Visa'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountPeoplePerson.PostAccountPeoplePersonRequestBodyDocuments'Visa'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountPeoplePerson.PostAccountPeoplePersonRequestBodyDocuments'Passport'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountPeoplePerson.PostAccountPeoplePersonRequestBodyDocuments'Passport'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountPeoplePerson.PostAccountPeoplePersonRequestBodyDocuments'CompanyAuthorization'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountPeoplePerson.PostAccountPeoplePersonRequestBodyDocuments'CompanyAuthorization'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountPeoplePerson.PostAccountPeoplePersonRequestBodyDob'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountPeoplePerson.PostAccountPeoplePersonRequestBodyDob'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountPeoplePerson.PostAccountPeoplePersonRequestBodyDob'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountPeoplePerson.PostAccountPeoplePersonRequestBodyDob'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountPeoplePerson.PostAccountPeoplePersonRequestBodyAddressKanji'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountPeoplePerson.PostAccountPeoplePersonRequestBodyAddressKanji'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountPeoplePerson.PostAccountPeoplePersonRequestBodyAddressKana'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountPeoplePerson.PostAccountPeoplePersonRequestBodyAddressKana'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountPeoplePerson.PostAccountPeoplePersonRequestBodyAddress'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountPeoplePerson.PostAccountPeoplePersonRequestBodyAddress'
-- | Contains the different functions to run the operation
-- postAccountPeople
module StripeAPI.Operations.PostAccountPeople
-- |
-- POST /v1/account/people
--
--
-- <p>Creates a new person.</p>
postAccountPeople :: forall m. MonadHTTP m => Maybe PostAccountPeopleRequestBody -> ClientT m (Response PostAccountPeopleResponse)
-- | Defines the object schema located at
-- paths./v1/account/people.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostAccountPeopleRequestBody
PostAccountPeopleRequestBody :: Maybe Text -> Maybe PostAccountPeopleRequestBodyAddress' -> Maybe PostAccountPeopleRequestBodyAddressKana' -> Maybe PostAccountPeopleRequestBodyAddressKanji' -> Maybe PostAccountPeopleRequestBodyDob'Variants -> Maybe PostAccountPeopleRequestBodyDocuments' -> Maybe Text -> Maybe [Text] -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe PostAccountPeopleRequestBodyMetadata'Variants -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe PostAccountPeopleRequestBodyRelationship' -> Maybe Text -> Maybe PostAccountPeopleRequestBodyVerification' -> PostAccountPeopleRequestBody
-- | account
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPeopleRequestBodyAccount] :: PostAccountPeopleRequestBody -> Maybe Text
-- | address: The person's address.
[postAccountPeopleRequestBodyAddress] :: PostAccountPeopleRequestBody -> Maybe PostAccountPeopleRequestBodyAddress'
-- | address_kana: The Kana variation of the person's address (Japan only).
[postAccountPeopleRequestBodyAddressKana] :: PostAccountPeopleRequestBody -> Maybe PostAccountPeopleRequestBodyAddressKana'
-- | address_kanji: The Kanji variation of the person's address (Japan
-- only).
[postAccountPeopleRequestBodyAddressKanji] :: PostAccountPeopleRequestBody -> Maybe PostAccountPeopleRequestBodyAddressKanji'
-- | dob: The person's date of birth.
[postAccountPeopleRequestBodyDob] :: PostAccountPeopleRequestBody -> Maybe PostAccountPeopleRequestBodyDob'Variants
-- | documents: Documents that may be submitted to satisfy various
-- informational requests.
[postAccountPeopleRequestBodyDocuments] :: PostAccountPeopleRequestBody -> Maybe PostAccountPeopleRequestBodyDocuments'
-- | email: The person's email address.
[postAccountPeopleRequestBodyEmail] :: PostAccountPeopleRequestBody -> Maybe Text
-- | expand: Specifies which fields in the response should be expanded.
[postAccountPeopleRequestBodyExpand] :: PostAccountPeopleRequestBody -> Maybe [Text]
-- | first_name: The person's first name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPeopleRequestBodyFirstName] :: PostAccountPeopleRequestBody -> Maybe Text
-- | first_name_kana: The Kana variation of the person's first name (Japan
-- only).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPeopleRequestBodyFirstNameKana] :: PostAccountPeopleRequestBody -> Maybe Text
-- | first_name_kanji: The Kanji variation of the person's first name
-- (Japan only).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPeopleRequestBodyFirstNameKanji] :: PostAccountPeopleRequestBody -> Maybe Text
-- | gender: The person's gender (International regulations require either
-- "male" or "female").
[postAccountPeopleRequestBodyGender] :: PostAccountPeopleRequestBody -> Maybe Text
-- | id_number: The person's ID number, as appropriate for their country.
-- For example, a social security number in the U.S., social insurance
-- number in Canada, etc. Instead of the number itself, you can also
-- provide a PII token provided by Stripe.js.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPeopleRequestBodyIdNumber] :: PostAccountPeopleRequestBody -> Maybe Text
-- | last_name: The person's last name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPeopleRequestBodyLastName] :: PostAccountPeopleRequestBody -> Maybe Text
-- | last_name_kana: The Kana variation of the person's last name (Japan
-- only).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPeopleRequestBodyLastNameKana] :: PostAccountPeopleRequestBody -> Maybe Text
-- | last_name_kanji: The Kanji variation of the person's last name (Japan
-- only).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPeopleRequestBodyLastNameKanji] :: PostAccountPeopleRequestBody -> Maybe Text
-- | maiden_name: The person's maiden name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPeopleRequestBodyMaidenName] :: PostAccountPeopleRequestBody -> Maybe Text
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postAccountPeopleRequestBodyMetadata] :: PostAccountPeopleRequestBody -> Maybe PostAccountPeopleRequestBodyMetadata'Variants
-- | nationality: The country where the person is a national. Two-letter
-- country code ([ISO 3166-1
-- alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)), or "XX"
-- if unavailable.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPeopleRequestBodyNationality] :: PostAccountPeopleRequestBody -> Maybe Text
-- | person_token: A person token, used to securely provide details
-- to the person.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPeopleRequestBodyPersonToken] :: PostAccountPeopleRequestBody -> Maybe Text
-- | phone: The person's phone number.
[postAccountPeopleRequestBodyPhone] :: PostAccountPeopleRequestBody -> Maybe Text
-- | political_exposure: Indicates if the person or any of their
-- representatives, family members, or other closely related persons,
-- declares that they hold or have held an important public job or
-- function, in any jurisdiction.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPeopleRequestBodyPoliticalExposure] :: PostAccountPeopleRequestBody -> Maybe Text
-- | relationship: The relationship that this person has with the account's
-- legal entity.
[postAccountPeopleRequestBodyRelationship] :: PostAccountPeopleRequestBody -> Maybe PostAccountPeopleRequestBodyRelationship'
-- | ssn_last_4: The last four digits of the person's Social Security
-- number (U.S. only).
[postAccountPeopleRequestBodySsnLast_4] :: PostAccountPeopleRequestBody -> Maybe Text
-- | verification: The person's verification status.
[postAccountPeopleRequestBodyVerification] :: PostAccountPeopleRequestBody -> Maybe PostAccountPeopleRequestBodyVerification'
-- | Create a new PostAccountPeopleRequestBody with all required
-- fields.
mkPostAccountPeopleRequestBody :: PostAccountPeopleRequestBody
-- | Defines the object schema located at
-- paths./v1/account/people.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.address
-- in the specification.
--
-- The person's address.
data PostAccountPeopleRequestBodyAddress'
PostAccountPeopleRequestBodyAddress' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PostAccountPeopleRequestBodyAddress'
-- | city
--
-- Constraints:
--
--
-- - Maximum length of 100
--
[postAccountPeopleRequestBodyAddress'City] :: PostAccountPeopleRequestBodyAddress' -> Maybe Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPeopleRequestBodyAddress'Country] :: PostAccountPeopleRequestBodyAddress' -> Maybe Text
-- | line1
--
-- Constraints:
--
--
-- - Maximum length of 200
--
[postAccountPeopleRequestBodyAddress'Line1] :: PostAccountPeopleRequestBodyAddress' -> Maybe Text
-- | line2
--
-- Constraints:
--
--
-- - Maximum length of 200
--
[postAccountPeopleRequestBodyAddress'Line2] :: PostAccountPeopleRequestBodyAddress' -> Maybe Text
-- | postal_code
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPeopleRequestBodyAddress'PostalCode] :: PostAccountPeopleRequestBodyAddress' -> Maybe Text
-- | state
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPeopleRequestBodyAddress'State] :: PostAccountPeopleRequestBodyAddress' -> Maybe Text
-- | Create a new PostAccountPeopleRequestBodyAddress' with all
-- required fields.
mkPostAccountPeopleRequestBodyAddress' :: PostAccountPeopleRequestBodyAddress'
-- | Defines the object schema located at
-- paths./v1/account/people.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.address_kana
-- in the specification.
--
-- The Kana variation of the person's address (Japan only).
data PostAccountPeopleRequestBodyAddressKana'
PostAccountPeopleRequestBodyAddressKana' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PostAccountPeopleRequestBodyAddressKana'
-- | city
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPeopleRequestBodyAddressKana'City] :: PostAccountPeopleRequestBodyAddressKana' -> Maybe Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPeopleRequestBodyAddressKana'Country] :: PostAccountPeopleRequestBodyAddressKana' -> Maybe Text
-- | line1
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPeopleRequestBodyAddressKana'Line1] :: PostAccountPeopleRequestBodyAddressKana' -> Maybe Text
-- | line2
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPeopleRequestBodyAddressKana'Line2] :: PostAccountPeopleRequestBodyAddressKana' -> Maybe Text
-- | postal_code
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPeopleRequestBodyAddressKana'PostalCode] :: PostAccountPeopleRequestBodyAddressKana' -> Maybe Text
-- | state
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPeopleRequestBodyAddressKana'State] :: PostAccountPeopleRequestBodyAddressKana' -> Maybe Text
-- | town
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPeopleRequestBodyAddressKana'Town] :: PostAccountPeopleRequestBodyAddressKana' -> Maybe Text
-- | Create a new PostAccountPeopleRequestBodyAddressKana' with all
-- required fields.
mkPostAccountPeopleRequestBodyAddressKana' :: PostAccountPeopleRequestBodyAddressKana'
-- | Defines the object schema located at
-- paths./v1/account/people.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.address_kanji
-- in the specification.
--
-- The Kanji variation of the person's address (Japan only).
data PostAccountPeopleRequestBodyAddressKanji'
PostAccountPeopleRequestBodyAddressKanji' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PostAccountPeopleRequestBodyAddressKanji'
-- | city
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPeopleRequestBodyAddressKanji'City] :: PostAccountPeopleRequestBodyAddressKanji' -> Maybe Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPeopleRequestBodyAddressKanji'Country] :: PostAccountPeopleRequestBodyAddressKanji' -> Maybe Text
-- | line1
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPeopleRequestBodyAddressKanji'Line1] :: PostAccountPeopleRequestBodyAddressKanji' -> Maybe Text
-- | line2
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPeopleRequestBodyAddressKanji'Line2] :: PostAccountPeopleRequestBodyAddressKanji' -> Maybe Text
-- | postal_code
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPeopleRequestBodyAddressKanji'PostalCode] :: PostAccountPeopleRequestBodyAddressKanji' -> Maybe Text
-- | state
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPeopleRequestBodyAddressKanji'State] :: PostAccountPeopleRequestBodyAddressKanji' -> Maybe Text
-- | town
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPeopleRequestBodyAddressKanji'Town] :: PostAccountPeopleRequestBodyAddressKanji' -> Maybe Text
-- | Create a new PostAccountPeopleRequestBodyAddressKanji' with all
-- required fields.
mkPostAccountPeopleRequestBodyAddressKanji' :: PostAccountPeopleRequestBodyAddressKanji'
-- | Defines the object schema located at
-- paths./v1/account/people.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.dob.anyOf
-- in the specification.
data PostAccountPeopleRequestBodyDob'OneOf1
PostAccountPeopleRequestBodyDob'OneOf1 :: Int -> Int -> Int -> PostAccountPeopleRequestBodyDob'OneOf1
-- | day
[postAccountPeopleRequestBodyDob'OneOf1Day] :: PostAccountPeopleRequestBodyDob'OneOf1 -> Int
-- | month
[postAccountPeopleRequestBodyDob'OneOf1Month] :: PostAccountPeopleRequestBodyDob'OneOf1 -> Int
-- | year
[postAccountPeopleRequestBodyDob'OneOf1Year] :: PostAccountPeopleRequestBodyDob'OneOf1 -> Int
-- | Create a new PostAccountPeopleRequestBodyDob'OneOf1 with all
-- required fields.
mkPostAccountPeopleRequestBodyDob'OneOf1 :: Int -> Int -> Int -> PostAccountPeopleRequestBodyDob'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/account/people.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.dob.anyOf
-- in the specification.
--
-- The person's date of birth.
data PostAccountPeopleRequestBodyDob'Variants
-- | Represents the JSON value ""
PostAccountPeopleRequestBodyDob'EmptyString :: PostAccountPeopleRequestBodyDob'Variants
PostAccountPeopleRequestBodyDob'PostAccountPeopleRequestBodyDob'OneOf1 :: PostAccountPeopleRequestBodyDob'OneOf1 -> PostAccountPeopleRequestBodyDob'Variants
-- | Defines the object schema located at
-- paths./v1/account/people.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.documents
-- in the specification.
--
-- Documents that may be submitted to satisfy various informational
-- requests.
data PostAccountPeopleRequestBodyDocuments'
PostAccountPeopleRequestBodyDocuments' :: Maybe PostAccountPeopleRequestBodyDocuments'CompanyAuthorization' -> Maybe PostAccountPeopleRequestBodyDocuments'Passport' -> Maybe PostAccountPeopleRequestBodyDocuments'Visa' -> PostAccountPeopleRequestBodyDocuments'
-- | company_authorization
[postAccountPeopleRequestBodyDocuments'CompanyAuthorization] :: PostAccountPeopleRequestBodyDocuments' -> Maybe PostAccountPeopleRequestBodyDocuments'CompanyAuthorization'
-- | passport
[postAccountPeopleRequestBodyDocuments'Passport] :: PostAccountPeopleRequestBodyDocuments' -> Maybe PostAccountPeopleRequestBodyDocuments'Passport'
-- | visa
[postAccountPeopleRequestBodyDocuments'Visa] :: PostAccountPeopleRequestBodyDocuments' -> Maybe PostAccountPeopleRequestBodyDocuments'Visa'
-- | Create a new PostAccountPeopleRequestBodyDocuments' with all
-- required fields.
mkPostAccountPeopleRequestBodyDocuments' :: PostAccountPeopleRequestBodyDocuments'
-- | Defines the object schema located at
-- paths./v1/account/people.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.documents.properties.company_authorization
-- in the specification.
data PostAccountPeopleRequestBodyDocuments'CompanyAuthorization'
PostAccountPeopleRequestBodyDocuments'CompanyAuthorization' :: Maybe [Text] -> PostAccountPeopleRequestBodyDocuments'CompanyAuthorization'
-- | files
[postAccountPeopleRequestBodyDocuments'CompanyAuthorization'Files] :: PostAccountPeopleRequestBodyDocuments'CompanyAuthorization' -> Maybe [Text]
-- | Create a new
-- PostAccountPeopleRequestBodyDocuments'CompanyAuthorization'
-- with all required fields.
mkPostAccountPeopleRequestBodyDocuments'CompanyAuthorization' :: PostAccountPeopleRequestBodyDocuments'CompanyAuthorization'
-- | Defines the object schema located at
-- paths./v1/account/people.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.documents.properties.passport
-- in the specification.
data PostAccountPeopleRequestBodyDocuments'Passport'
PostAccountPeopleRequestBodyDocuments'Passport' :: Maybe [Text] -> PostAccountPeopleRequestBodyDocuments'Passport'
-- | files
[postAccountPeopleRequestBodyDocuments'Passport'Files] :: PostAccountPeopleRequestBodyDocuments'Passport' -> Maybe [Text]
-- | Create a new PostAccountPeopleRequestBodyDocuments'Passport'
-- with all required fields.
mkPostAccountPeopleRequestBodyDocuments'Passport' :: PostAccountPeopleRequestBodyDocuments'Passport'
-- | Defines the object schema located at
-- paths./v1/account/people.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.documents.properties.visa
-- in the specification.
data PostAccountPeopleRequestBodyDocuments'Visa'
PostAccountPeopleRequestBodyDocuments'Visa' :: Maybe [Text] -> PostAccountPeopleRequestBodyDocuments'Visa'
-- | files
[postAccountPeopleRequestBodyDocuments'Visa'Files] :: PostAccountPeopleRequestBodyDocuments'Visa' -> Maybe [Text]
-- | Create a new PostAccountPeopleRequestBodyDocuments'Visa' with
-- all required fields.
mkPostAccountPeopleRequestBodyDocuments'Visa' :: PostAccountPeopleRequestBodyDocuments'Visa'
-- | Defines the oneOf schema located at
-- paths./v1/account/people.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.metadata.anyOf
-- in the specification.
--
-- Set of key-value pairs that you can attach to an object. This
-- can be useful for storing additional information about the object in a
-- structured format. Individual keys can be unset by posting an empty
-- value to them. All keys can be unset by posting an empty value to
-- `metadata`.
data PostAccountPeopleRequestBodyMetadata'Variants
-- | Represents the JSON value ""
PostAccountPeopleRequestBodyMetadata'EmptyString :: PostAccountPeopleRequestBodyMetadata'Variants
PostAccountPeopleRequestBodyMetadata'Object :: Object -> PostAccountPeopleRequestBodyMetadata'Variants
-- | Defines the object schema located at
-- paths./v1/account/people.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.relationship
-- in the specification.
--
-- The relationship that this person has with the account's legal entity.
data PostAccountPeopleRequestBodyRelationship'
PostAccountPeopleRequestBodyRelationship' :: Maybe Bool -> Maybe Bool -> Maybe Bool -> Maybe PostAccountPeopleRequestBodyRelationship'PercentOwnership'Variants -> Maybe Bool -> Maybe Text -> PostAccountPeopleRequestBodyRelationship'
-- | director
[postAccountPeopleRequestBodyRelationship'Director] :: PostAccountPeopleRequestBodyRelationship' -> Maybe Bool
-- | executive
[postAccountPeopleRequestBodyRelationship'Executive] :: PostAccountPeopleRequestBodyRelationship' -> Maybe Bool
-- | owner
[postAccountPeopleRequestBodyRelationship'Owner] :: PostAccountPeopleRequestBodyRelationship' -> Maybe Bool
-- | percent_ownership
[postAccountPeopleRequestBodyRelationship'PercentOwnership] :: PostAccountPeopleRequestBodyRelationship' -> Maybe PostAccountPeopleRequestBodyRelationship'PercentOwnership'Variants
-- | representative
[postAccountPeopleRequestBodyRelationship'Representative] :: PostAccountPeopleRequestBodyRelationship' -> Maybe Bool
-- | title
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountPeopleRequestBodyRelationship'Title] :: PostAccountPeopleRequestBodyRelationship' -> Maybe Text
-- | Create a new PostAccountPeopleRequestBodyRelationship' with all
-- required fields.
mkPostAccountPeopleRequestBodyRelationship' :: PostAccountPeopleRequestBodyRelationship'
-- | Defines the oneOf schema located at
-- paths./v1/account/people.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.relationship.properties.percent_ownership.anyOf
-- in the specification.
data PostAccountPeopleRequestBodyRelationship'PercentOwnership'Variants
-- | Represents the JSON value ""
PostAccountPeopleRequestBodyRelationship'PercentOwnership'EmptyString :: PostAccountPeopleRequestBodyRelationship'PercentOwnership'Variants
PostAccountPeopleRequestBodyRelationship'PercentOwnership'Double :: Double -> PostAccountPeopleRequestBodyRelationship'PercentOwnership'Variants
-- | Defines the object schema located at
-- paths./v1/account/people.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.verification
-- in the specification.
--
-- The person's verification status.
data PostAccountPeopleRequestBodyVerification'
PostAccountPeopleRequestBodyVerification' :: Maybe PostAccountPeopleRequestBodyVerification'AdditionalDocument' -> Maybe PostAccountPeopleRequestBodyVerification'Document' -> PostAccountPeopleRequestBodyVerification'
-- | additional_document
[postAccountPeopleRequestBodyVerification'AdditionalDocument] :: PostAccountPeopleRequestBodyVerification' -> Maybe PostAccountPeopleRequestBodyVerification'AdditionalDocument'
-- | document
[postAccountPeopleRequestBodyVerification'Document] :: PostAccountPeopleRequestBodyVerification' -> Maybe PostAccountPeopleRequestBodyVerification'Document'
-- | Create a new PostAccountPeopleRequestBodyVerification' with all
-- required fields.
mkPostAccountPeopleRequestBodyVerification' :: PostAccountPeopleRequestBodyVerification'
-- | Defines the object schema located at
-- paths./v1/account/people.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.verification.properties.additional_document
-- in the specification.
data PostAccountPeopleRequestBodyVerification'AdditionalDocument'
PostAccountPeopleRequestBodyVerification'AdditionalDocument' :: Maybe Text -> Maybe Text -> PostAccountPeopleRequestBodyVerification'AdditionalDocument'
-- | back
--
-- Constraints:
--
--
-- - Maximum length of 500
--
[postAccountPeopleRequestBodyVerification'AdditionalDocument'Back] :: PostAccountPeopleRequestBodyVerification'AdditionalDocument' -> Maybe Text
-- | front
--
-- Constraints:
--
--
-- - Maximum length of 500
--
[postAccountPeopleRequestBodyVerification'AdditionalDocument'Front] :: PostAccountPeopleRequestBodyVerification'AdditionalDocument' -> Maybe Text
-- | Create a new
-- PostAccountPeopleRequestBodyVerification'AdditionalDocument'
-- with all required fields.
mkPostAccountPeopleRequestBodyVerification'AdditionalDocument' :: PostAccountPeopleRequestBodyVerification'AdditionalDocument'
-- | Defines the object schema located at
-- paths./v1/account/people.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.verification.properties.document
-- in the specification.
data PostAccountPeopleRequestBodyVerification'Document'
PostAccountPeopleRequestBodyVerification'Document' :: Maybe Text -> Maybe Text -> PostAccountPeopleRequestBodyVerification'Document'
-- | back
--
-- Constraints:
--
--
-- - Maximum length of 500
--
[postAccountPeopleRequestBodyVerification'Document'Back] :: PostAccountPeopleRequestBodyVerification'Document' -> Maybe Text
-- | front
--
-- Constraints:
--
--
-- - Maximum length of 500
--
[postAccountPeopleRequestBodyVerification'Document'Front] :: PostAccountPeopleRequestBodyVerification'Document' -> Maybe Text
-- | Create a new PostAccountPeopleRequestBodyVerification'Document'
-- with all required fields.
mkPostAccountPeopleRequestBodyVerification'Document' :: PostAccountPeopleRequestBodyVerification'Document'
-- | Represents a response of the operation postAccountPeople.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostAccountPeopleResponseError is used.
data PostAccountPeopleResponse
-- | Means either no matching case available or a parse error
PostAccountPeopleResponseError :: String -> PostAccountPeopleResponse
-- | Successful response.
PostAccountPeopleResponse200 :: Person -> PostAccountPeopleResponse
-- | Error response.
PostAccountPeopleResponseDefault :: Error -> PostAccountPeopleResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountPeople.PostAccountPeopleRequestBodyAddress'
instance GHC.Show.Show StripeAPI.Operations.PostAccountPeople.PostAccountPeopleRequestBodyAddress'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountPeople.PostAccountPeopleRequestBodyAddressKana'
instance GHC.Show.Show StripeAPI.Operations.PostAccountPeople.PostAccountPeopleRequestBodyAddressKana'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountPeople.PostAccountPeopleRequestBodyAddressKanji'
instance GHC.Show.Show StripeAPI.Operations.PostAccountPeople.PostAccountPeopleRequestBodyAddressKanji'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountPeople.PostAccountPeopleRequestBodyDob'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostAccountPeople.PostAccountPeopleRequestBodyDob'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountPeople.PostAccountPeopleRequestBodyDob'Variants
instance GHC.Show.Show StripeAPI.Operations.PostAccountPeople.PostAccountPeopleRequestBodyDob'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountPeople.PostAccountPeopleRequestBodyDocuments'CompanyAuthorization'
instance GHC.Show.Show StripeAPI.Operations.PostAccountPeople.PostAccountPeopleRequestBodyDocuments'CompanyAuthorization'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountPeople.PostAccountPeopleRequestBodyDocuments'Passport'
instance GHC.Show.Show StripeAPI.Operations.PostAccountPeople.PostAccountPeopleRequestBodyDocuments'Passport'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountPeople.PostAccountPeopleRequestBodyDocuments'Visa'
instance GHC.Show.Show StripeAPI.Operations.PostAccountPeople.PostAccountPeopleRequestBodyDocuments'Visa'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountPeople.PostAccountPeopleRequestBodyDocuments'
instance GHC.Show.Show StripeAPI.Operations.PostAccountPeople.PostAccountPeopleRequestBodyDocuments'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountPeople.PostAccountPeopleRequestBodyMetadata'Variants
instance GHC.Show.Show StripeAPI.Operations.PostAccountPeople.PostAccountPeopleRequestBodyMetadata'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountPeople.PostAccountPeopleRequestBodyRelationship'PercentOwnership'Variants
instance GHC.Show.Show StripeAPI.Operations.PostAccountPeople.PostAccountPeopleRequestBodyRelationship'PercentOwnership'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountPeople.PostAccountPeopleRequestBodyRelationship'
instance GHC.Show.Show StripeAPI.Operations.PostAccountPeople.PostAccountPeopleRequestBodyRelationship'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountPeople.PostAccountPeopleRequestBodyVerification'AdditionalDocument'
instance GHC.Show.Show StripeAPI.Operations.PostAccountPeople.PostAccountPeopleRequestBodyVerification'AdditionalDocument'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountPeople.PostAccountPeopleRequestBodyVerification'Document'
instance GHC.Show.Show StripeAPI.Operations.PostAccountPeople.PostAccountPeopleRequestBodyVerification'Document'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountPeople.PostAccountPeopleRequestBodyVerification'
instance GHC.Show.Show StripeAPI.Operations.PostAccountPeople.PostAccountPeopleRequestBodyVerification'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountPeople.PostAccountPeopleRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostAccountPeople.PostAccountPeopleRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountPeople.PostAccountPeopleResponse
instance GHC.Show.Show StripeAPI.Operations.PostAccountPeople.PostAccountPeopleResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountPeople.PostAccountPeopleRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountPeople.PostAccountPeopleRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountPeople.PostAccountPeopleRequestBodyVerification'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountPeople.PostAccountPeopleRequestBodyVerification'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountPeople.PostAccountPeopleRequestBodyVerification'Document'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountPeople.PostAccountPeopleRequestBodyVerification'Document'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountPeople.PostAccountPeopleRequestBodyVerification'AdditionalDocument'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountPeople.PostAccountPeopleRequestBodyVerification'AdditionalDocument'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountPeople.PostAccountPeopleRequestBodyRelationship'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountPeople.PostAccountPeopleRequestBodyRelationship'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountPeople.PostAccountPeopleRequestBodyRelationship'PercentOwnership'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountPeople.PostAccountPeopleRequestBodyRelationship'PercentOwnership'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountPeople.PostAccountPeopleRequestBodyMetadata'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountPeople.PostAccountPeopleRequestBodyMetadata'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountPeople.PostAccountPeopleRequestBodyDocuments'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountPeople.PostAccountPeopleRequestBodyDocuments'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountPeople.PostAccountPeopleRequestBodyDocuments'Visa'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountPeople.PostAccountPeopleRequestBodyDocuments'Visa'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountPeople.PostAccountPeopleRequestBodyDocuments'Passport'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountPeople.PostAccountPeopleRequestBodyDocuments'Passport'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountPeople.PostAccountPeopleRequestBodyDocuments'CompanyAuthorization'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountPeople.PostAccountPeopleRequestBodyDocuments'CompanyAuthorization'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountPeople.PostAccountPeopleRequestBodyDob'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountPeople.PostAccountPeopleRequestBodyDob'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountPeople.PostAccountPeopleRequestBodyDob'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountPeople.PostAccountPeopleRequestBodyDob'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountPeople.PostAccountPeopleRequestBodyAddressKanji'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountPeople.PostAccountPeopleRequestBodyAddressKanji'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountPeople.PostAccountPeopleRequestBodyAddressKana'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountPeople.PostAccountPeopleRequestBodyAddressKana'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountPeople.PostAccountPeopleRequestBodyAddress'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountPeople.PostAccountPeopleRequestBodyAddress'
-- | Contains the different functions to run the operation
-- postAccountLoginLinks
module StripeAPI.Operations.PostAccountLoginLinks
-- |
-- POST /v1/account/login_links
--
--
-- <p>Creates a single-use login link for an Express account to
-- access their Stripe dashboard.</p>
--
-- <p><strong>You may only create login links for <a
-- href="/docs/connect/express-accounts">Express accounts</a>
-- connected to your platform</strong>.</p>
postAccountLoginLinks :: forall m. MonadHTTP m => PostAccountLoginLinksRequestBody -> ClientT m (Response PostAccountLoginLinksResponse)
-- | Defines the object schema located at
-- paths./v1/account/login_links.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostAccountLoginLinksRequestBody
PostAccountLoginLinksRequestBody :: Text -> Maybe [Text] -> Maybe Text -> PostAccountLoginLinksRequestBody
-- | account
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountLoginLinksRequestBodyAccount] :: PostAccountLoginLinksRequestBody -> Text
-- | expand: Specifies which fields in the response should be expanded.
[postAccountLoginLinksRequestBodyExpand] :: PostAccountLoginLinksRequestBody -> Maybe [Text]
-- | redirect_url: Where to redirect the user after they log out of their
-- dashboard.
[postAccountLoginLinksRequestBodyRedirectUrl] :: PostAccountLoginLinksRequestBody -> Maybe Text
-- | Create a new PostAccountLoginLinksRequestBody with all required
-- fields.
mkPostAccountLoginLinksRequestBody :: Text -> PostAccountLoginLinksRequestBody
-- | Represents a response of the operation postAccountLoginLinks.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostAccountLoginLinksResponseError is
-- used.
data PostAccountLoginLinksResponse
-- | Means either no matching case available or a parse error
PostAccountLoginLinksResponseError :: String -> PostAccountLoginLinksResponse
-- | Successful response.
PostAccountLoginLinksResponse200 :: LoginLink -> PostAccountLoginLinksResponse
-- | Error response.
PostAccountLoginLinksResponseDefault :: Error -> PostAccountLoginLinksResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountLoginLinks.PostAccountLoginLinksRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostAccountLoginLinks.PostAccountLoginLinksRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountLoginLinks.PostAccountLoginLinksResponse
instance GHC.Show.Show StripeAPI.Operations.PostAccountLoginLinks.PostAccountLoginLinksResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountLoginLinks.PostAccountLoginLinksRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountLoginLinks.PostAccountLoginLinksRequestBody
-- | Contains the different functions to run the operation postAccountLinks
module StripeAPI.Operations.PostAccountLinks
-- |
-- POST /v1/account_links
--
--
-- <p>Creates an AccountLink object that includes a single-use
-- Stripe URL that the platform can redirect their user to in order to
-- take them through the Connect Onboarding flow.</p>
postAccountLinks :: forall m. MonadHTTP m => PostAccountLinksRequestBody -> ClientT m (Response PostAccountLinksResponse)
-- | Defines the object schema located at
-- paths./v1/account_links.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostAccountLinksRequestBody
PostAccountLinksRequestBody :: Text -> Maybe PostAccountLinksRequestBodyCollect' -> Maybe [Text] -> Maybe Text -> Maybe Text -> PostAccountLinksRequestBodyType' -> PostAccountLinksRequestBody
-- | account: The identifier of the account to create an account link for.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountLinksRequestBodyAccount] :: PostAccountLinksRequestBody -> Text
-- | collect: Which information the platform needs to collect from the
-- user. One of `currently_due` or `eventually_due`. Default is
-- `currently_due`.
[postAccountLinksRequestBodyCollect] :: PostAccountLinksRequestBody -> Maybe PostAccountLinksRequestBodyCollect'
-- | expand: Specifies which fields in the response should be expanded.
[postAccountLinksRequestBodyExpand] :: PostAccountLinksRequestBody -> Maybe [Text]
-- | refresh_url: The URL the user will be redirected to if the account
-- link is expired, has been previously-visited, or is otherwise invalid.
-- The URL you specify should attempt to generate a new account link with
-- the same parameters used to create the original account link, then
-- redirect the user to the new account link's URL so they can continue
-- with Connect Onboarding. If a new account link cannot be generated or
-- the redirect fails you should display a useful error to the user.
[postAccountLinksRequestBodyRefreshUrl] :: PostAccountLinksRequestBody -> Maybe Text
-- | return_url: The URL that the user will be redirected to upon leaving
-- or completing the linked flow.
[postAccountLinksRequestBodyReturnUrl] :: PostAccountLinksRequestBody -> Maybe Text
-- | type: The type of account link the user is requesting. Possible values
-- are `account_onboarding` or `account_update`.
[postAccountLinksRequestBodyType] :: PostAccountLinksRequestBody -> PostAccountLinksRequestBodyType'
-- | Create a new PostAccountLinksRequestBody with all required
-- fields.
mkPostAccountLinksRequestBody :: Text -> PostAccountLinksRequestBodyType' -> PostAccountLinksRequestBody
-- | Defines the enum schema located at
-- paths./v1/account_links.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.collect
-- in the specification.
--
-- Which information the platform needs to collect from the user. One of
-- `currently_due` or `eventually_due`. Default is `currently_due`.
data PostAccountLinksRequestBodyCollect'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostAccountLinksRequestBodyCollect'Other :: Value -> PostAccountLinksRequestBodyCollect'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostAccountLinksRequestBodyCollect'Typed :: Text -> PostAccountLinksRequestBodyCollect'
-- | Represents the JSON value "currently_due"
PostAccountLinksRequestBodyCollect'EnumCurrentlyDue :: PostAccountLinksRequestBodyCollect'
-- | Represents the JSON value "eventually_due"
PostAccountLinksRequestBodyCollect'EnumEventuallyDue :: PostAccountLinksRequestBodyCollect'
-- | Defines the enum schema located at
-- paths./v1/account_links.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.type
-- in the specification.
--
-- The type of account link the user is requesting. Possible values are
-- `account_onboarding` or `account_update`.
data PostAccountLinksRequestBodyType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostAccountLinksRequestBodyType'Other :: Value -> PostAccountLinksRequestBodyType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostAccountLinksRequestBodyType'Typed :: Text -> PostAccountLinksRequestBodyType'
-- | Represents the JSON value "account_onboarding"
PostAccountLinksRequestBodyType'EnumAccountOnboarding :: PostAccountLinksRequestBodyType'
-- | Represents the JSON value "account_update"
PostAccountLinksRequestBodyType'EnumAccountUpdate :: PostAccountLinksRequestBodyType'
-- | Represents a response of the operation postAccountLinks.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostAccountLinksResponseError is used.
data PostAccountLinksResponse
-- | Means either no matching case available or a parse error
PostAccountLinksResponseError :: String -> PostAccountLinksResponse
-- | Successful response.
PostAccountLinksResponse200 :: AccountLink -> PostAccountLinksResponse
-- | Error response.
PostAccountLinksResponseDefault :: Error -> PostAccountLinksResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountLinks.PostAccountLinksRequestBodyCollect'
instance GHC.Show.Show StripeAPI.Operations.PostAccountLinks.PostAccountLinksRequestBodyCollect'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountLinks.PostAccountLinksRequestBodyType'
instance GHC.Show.Show StripeAPI.Operations.PostAccountLinks.PostAccountLinksRequestBodyType'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountLinks.PostAccountLinksRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostAccountLinks.PostAccountLinksRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountLinks.PostAccountLinksResponse
instance GHC.Show.Show StripeAPI.Operations.PostAccountLinks.PostAccountLinksResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountLinks.PostAccountLinksRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountLinks.PostAccountLinksRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountLinks.PostAccountLinksRequestBodyType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountLinks.PostAccountLinksRequestBodyType'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountLinks.PostAccountLinksRequestBodyCollect'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountLinks.PostAccountLinksRequestBodyCollect'
-- | Contains the different functions to run the operation
-- postAccountExternalAccountsId
module StripeAPI.Operations.PostAccountExternalAccountsId
-- |
-- POST /v1/account/external_accounts/{id}
--
--
-- <p>Updates the metadata, account holder name, and account holder
-- type of a bank account belonging to a <a
-- href="/docs/connect/custom-accounts">Custom account</a>, and
-- optionally sets it as the default for its currency. Other bank account
-- details are not editable by design.</p>
--
-- <p>You can re-enable a disabled bank account by performing an
-- update call without providing any arguments or changes.</p>
postAccountExternalAccountsId :: forall m. MonadHTTP m => Text -> Maybe PostAccountExternalAccountsIdRequestBody -> ClientT m (Response PostAccountExternalAccountsIdResponse)
-- | Defines the object schema located at
-- paths./v1/account/external_accounts/{id}.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostAccountExternalAccountsIdRequestBody
PostAccountExternalAccountsIdRequestBody :: Maybe Text -> Maybe PostAccountExternalAccountsIdRequestBodyAccountHolderType' -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe Text -> Maybe [Text] -> Maybe PostAccountExternalAccountsIdRequestBodyMetadata'Variants -> Maybe Text -> PostAccountExternalAccountsIdRequestBody
-- | account_holder_name: The name of the person or business that owns the
-- bank account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountExternalAccountsIdRequestBodyAccountHolderName] :: PostAccountExternalAccountsIdRequestBody -> Maybe Text
-- | account_holder_type: The type of entity that holds the account. This
-- can be either `individual` or `company`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountExternalAccountsIdRequestBodyAccountHolderType] :: PostAccountExternalAccountsIdRequestBody -> Maybe PostAccountExternalAccountsIdRequestBodyAccountHolderType'
-- | address_city: City/District/Suburb/Town/Village.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountExternalAccountsIdRequestBodyAddressCity] :: PostAccountExternalAccountsIdRequestBody -> Maybe Text
-- | address_country: Billing address country, if provided when creating
-- card.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountExternalAccountsIdRequestBodyAddressCountry] :: PostAccountExternalAccountsIdRequestBody -> Maybe Text
-- | address_line1: Address line 1 (Street address/PO Box/Company name).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountExternalAccountsIdRequestBodyAddressLine1] :: PostAccountExternalAccountsIdRequestBody -> Maybe Text
-- | address_line2: Address line 2 (Apartment/Suite/Unit/Building).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountExternalAccountsIdRequestBodyAddressLine2] :: PostAccountExternalAccountsIdRequestBody -> Maybe Text
-- | address_state: State/County/Province/Region.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountExternalAccountsIdRequestBodyAddressState] :: PostAccountExternalAccountsIdRequestBody -> Maybe Text
-- | address_zip: ZIP or postal code.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountExternalAccountsIdRequestBodyAddressZip] :: PostAccountExternalAccountsIdRequestBody -> Maybe Text
-- | default_for_currency: When set to true, this becomes the default
-- external account for its currency.
[postAccountExternalAccountsIdRequestBodyDefaultForCurrency] :: PostAccountExternalAccountsIdRequestBody -> Maybe Bool
-- | exp_month: Two digit number representing the card’s expiration month.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountExternalAccountsIdRequestBodyExpMonth] :: PostAccountExternalAccountsIdRequestBody -> Maybe Text
-- | exp_year: Four digit number representing the card’s expiration year.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountExternalAccountsIdRequestBodyExpYear] :: PostAccountExternalAccountsIdRequestBody -> Maybe Text
-- | expand: Specifies which fields in the response should be expanded.
[postAccountExternalAccountsIdRequestBodyExpand] :: PostAccountExternalAccountsIdRequestBody -> Maybe [Text]
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postAccountExternalAccountsIdRequestBodyMetadata] :: PostAccountExternalAccountsIdRequestBody -> Maybe PostAccountExternalAccountsIdRequestBodyMetadata'Variants
-- | name: Cardholder name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountExternalAccountsIdRequestBodyName] :: PostAccountExternalAccountsIdRequestBody -> Maybe Text
-- | Create a new PostAccountExternalAccountsIdRequestBody with all
-- required fields.
mkPostAccountExternalAccountsIdRequestBody :: PostAccountExternalAccountsIdRequestBody
-- | Defines the enum schema located at
-- paths./v1/account/external_accounts/{id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.account_holder_type
-- in the specification.
--
-- The type of entity that holds the account. This can be either
-- `individual` or `company`.
data PostAccountExternalAccountsIdRequestBodyAccountHolderType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostAccountExternalAccountsIdRequestBodyAccountHolderType'Other :: Value -> PostAccountExternalAccountsIdRequestBodyAccountHolderType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostAccountExternalAccountsIdRequestBodyAccountHolderType'Typed :: Text -> PostAccountExternalAccountsIdRequestBodyAccountHolderType'
-- | Represents the JSON value ""
PostAccountExternalAccountsIdRequestBodyAccountHolderType'EnumEmptyString :: PostAccountExternalAccountsIdRequestBodyAccountHolderType'
-- | Represents the JSON value "company"
PostAccountExternalAccountsIdRequestBodyAccountHolderType'EnumCompany :: PostAccountExternalAccountsIdRequestBodyAccountHolderType'
-- | Represents the JSON value "individual"
PostAccountExternalAccountsIdRequestBodyAccountHolderType'EnumIndividual :: PostAccountExternalAccountsIdRequestBodyAccountHolderType'
-- | Defines the oneOf schema located at
-- paths./v1/account/external_accounts/{id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.metadata.anyOf
-- in the specification.
--
-- Set of key-value pairs that you can attach to an object. This
-- can be useful for storing additional information about the object in a
-- structured format. Individual keys can be unset by posting an empty
-- value to them. All keys can be unset by posting an empty value to
-- `metadata`.
data PostAccountExternalAccountsIdRequestBodyMetadata'Variants
-- | Represents the JSON value ""
PostAccountExternalAccountsIdRequestBodyMetadata'EmptyString :: PostAccountExternalAccountsIdRequestBodyMetadata'Variants
PostAccountExternalAccountsIdRequestBodyMetadata'Object :: Object -> PostAccountExternalAccountsIdRequestBodyMetadata'Variants
-- | Represents a response of the operation
-- postAccountExternalAccountsId.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- PostAccountExternalAccountsIdResponseError is used.
data PostAccountExternalAccountsIdResponse
-- | Means either no matching case available or a parse error
PostAccountExternalAccountsIdResponseError :: String -> PostAccountExternalAccountsIdResponse
-- | Successful response.
PostAccountExternalAccountsIdResponse200 :: ExternalAccount -> PostAccountExternalAccountsIdResponse
-- | Error response.
PostAccountExternalAccountsIdResponseDefault :: Error -> PostAccountExternalAccountsIdResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountExternalAccountsId.PostAccountExternalAccountsIdRequestBodyAccountHolderType'
instance GHC.Show.Show StripeAPI.Operations.PostAccountExternalAccountsId.PostAccountExternalAccountsIdRequestBodyAccountHolderType'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountExternalAccountsId.PostAccountExternalAccountsIdRequestBodyMetadata'Variants
instance GHC.Show.Show StripeAPI.Operations.PostAccountExternalAccountsId.PostAccountExternalAccountsIdRequestBodyMetadata'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountExternalAccountsId.PostAccountExternalAccountsIdRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostAccountExternalAccountsId.PostAccountExternalAccountsIdRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountExternalAccountsId.PostAccountExternalAccountsIdResponse
instance GHC.Show.Show StripeAPI.Operations.PostAccountExternalAccountsId.PostAccountExternalAccountsIdResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountExternalAccountsId.PostAccountExternalAccountsIdRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountExternalAccountsId.PostAccountExternalAccountsIdRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountExternalAccountsId.PostAccountExternalAccountsIdRequestBodyMetadata'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountExternalAccountsId.PostAccountExternalAccountsIdRequestBodyMetadata'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountExternalAccountsId.PostAccountExternalAccountsIdRequestBodyAccountHolderType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountExternalAccountsId.PostAccountExternalAccountsIdRequestBodyAccountHolderType'
-- | Contains the different functions to run the operation
-- postAccountExternalAccounts
module StripeAPI.Operations.PostAccountExternalAccounts
-- |
-- POST /v1/account/external_accounts
--
--
-- <p>Create an external account for a given account.</p>
postAccountExternalAccounts :: forall m. MonadHTTP m => Maybe PostAccountExternalAccountsRequestBody -> ClientT m (Response PostAccountExternalAccountsResponse)
-- | Defines the object schema located at
-- paths./v1/account/external_accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostAccountExternalAccountsRequestBody
PostAccountExternalAccountsRequestBody :: Maybe PostAccountExternalAccountsRequestBodyBankAccount'Variants -> Maybe Bool -> Maybe [Text] -> Maybe Text -> Maybe Object -> PostAccountExternalAccountsRequestBody
-- | bank_account: Either a token, like the ones returned by
-- Stripe.js, or a dictionary containing a user's bank account
-- details.
[postAccountExternalAccountsRequestBodyBankAccount] :: PostAccountExternalAccountsRequestBody -> Maybe PostAccountExternalAccountsRequestBodyBankAccount'Variants
-- | default_for_currency: When set to true, or if this is the first
-- external account added in this currency, this account becomes the
-- default external account for its currency.
[postAccountExternalAccountsRequestBodyDefaultForCurrency] :: PostAccountExternalAccountsRequestBody -> Maybe Bool
-- | expand: Specifies which fields in the response should be expanded.
[postAccountExternalAccountsRequestBodyExpand] :: PostAccountExternalAccountsRequestBody -> Maybe [Text]
-- | external_account: Please refer to full documentation instead.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountExternalAccountsRequestBodyExternalAccount] :: PostAccountExternalAccountsRequestBody -> Maybe Text
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postAccountExternalAccountsRequestBodyMetadata] :: PostAccountExternalAccountsRequestBody -> Maybe Object
-- | Create a new PostAccountExternalAccountsRequestBody with all
-- required fields.
mkPostAccountExternalAccountsRequestBody :: PostAccountExternalAccountsRequestBody
-- | Defines the object schema located at
-- paths./v1/account/external_accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.bank_account.anyOf
-- in the specification.
data PostAccountExternalAccountsRequestBodyBankAccount'OneOf1
PostAccountExternalAccountsRequestBodyBankAccount'OneOf1 :: Maybe Text -> Maybe PostAccountExternalAccountsRequestBodyBankAccount'OneOf1AccountHolderType' -> Text -> Text -> Maybe Text -> Maybe PostAccountExternalAccountsRequestBodyBankAccount'OneOf1Object' -> Maybe Text -> PostAccountExternalAccountsRequestBodyBankAccount'OneOf1
-- | account_holder_name
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountExternalAccountsRequestBodyBankAccount'OneOf1AccountHolderName] :: PostAccountExternalAccountsRequestBodyBankAccount'OneOf1 -> Maybe Text
-- | account_holder_type
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountExternalAccountsRequestBodyBankAccount'OneOf1AccountHolderType] :: PostAccountExternalAccountsRequestBodyBankAccount'OneOf1 -> Maybe PostAccountExternalAccountsRequestBodyBankAccount'OneOf1AccountHolderType'
-- | account_number
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountExternalAccountsRequestBodyBankAccount'OneOf1AccountNumber] :: PostAccountExternalAccountsRequestBodyBankAccount'OneOf1 -> Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountExternalAccountsRequestBodyBankAccount'OneOf1Country] :: PostAccountExternalAccountsRequestBodyBankAccount'OneOf1 -> Text
-- | currency
[postAccountExternalAccountsRequestBodyBankAccount'OneOf1Currency] :: PostAccountExternalAccountsRequestBodyBankAccount'OneOf1 -> Maybe Text
-- | object
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountExternalAccountsRequestBodyBankAccount'OneOf1Object] :: PostAccountExternalAccountsRequestBodyBankAccount'OneOf1 -> Maybe PostAccountExternalAccountsRequestBodyBankAccount'OneOf1Object'
-- | routing_number
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountExternalAccountsRequestBodyBankAccount'OneOf1RoutingNumber] :: PostAccountExternalAccountsRequestBodyBankAccount'OneOf1 -> Maybe Text
-- | Create a new
-- PostAccountExternalAccountsRequestBodyBankAccount'OneOf1 with
-- all required fields.
mkPostAccountExternalAccountsRequestBodyBankAccount'OneOf1 :: Text -> Text -> PostAccountExternalAccountsRequestBodyBankAccount'OneOf1
-- | Defines the enum schema located at
-- paths./v1/account/external_accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.bank_account.anyOf.properties.account_holder_type
-- in the specification.
data PostAccountExternalAccountsRequestBodyBankAccount'OneOf1AccountHolderType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostAccountExternalAccountsRequestBodyBankAccount'OneOf1AccountHolderType'Other :: Value -> PostAccountExternalAccountsRequestBodyBankAccount'OneOf1AccountHolderType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostAccountExternalAccountsRequestBodyBankAccount'OneOf1AccountHolderType'Typed :: Text -> PostAccountExternalAccountsRequestBodyBankAccount'OneOf1AccountHolderType'
-- | Represents the JSON value "company"
PostAccountExternalAccountsRequestBodyBankAccount'OneOf1AccountHolderType'EnumCompany :: PostAccountExternalAccountsRequestBodyBankAccount'OneOf1AccountHolderType'
-- | Represents the JSON value "individual"
PostAccountExternalAccountsRequestBodyBankAccount'OneOf1AccountHolderType'EnumIndividual :: PostAccountExternalAccountsRequestBodyBankAccount'OneOf1AccountHolderType'
-- | Defines the enum schema located at
-- paths./v1/account/external_accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.bank_account.anyOf.properties.object
-- in the specification.
data PostAccountExternalAccountsRequestBodyBankAccount'OneOf1Object'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostAccountExternalAccountsRequestBodyBankAccount'OneOf1Object'Other :: Value -> PostAccountExternalAccountsRequestBodyBankAccount'OneOf1Object'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostAccountExternalAccountsRequestBodyBankAccount'OneOf1Object'Typed :: Text -> PostAccountExternalAccountsRequestBodyBankAccount'OneOf1Object'
-- | Represents the JSON value "bank_account"
PostAccountExternalAccountsRequestBodyBankAccount'OneOf1Object'EnumBankAccount :: PostAccountExternalAccountsRequestBodyBankAccount'OneOf1Object'
-- | Defines the oneOf schema located at
-- paths./v1/account/external_accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.bank_account.anyOf
-- in the specification.
--
-- Either a token, like the ones returned by Stripe.js, or a
-- dictionary containing a user's bank account details.
data PostAccountExternalAccountsRequestBodyBankAccount'Variants
PostAccountExternalAccountsRequestBodyBankAccount'PostAccountExternalAccountsRequestBodyBankAccount'OneOf1 :: PostAccountExternalAccountsRequestBodyBankAccount'OneOf1 -> PostAccountExternalAccountsRequestBodyBankAccount'Variants
PostAccountExternalAccountsRequestBodyBankAccount'Text :: Text -> PostAccountExternalAccountsRequestBodyBankAccount'Variants
-- | Represents a response of the operation
-- postAccountExternalAccounts.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- PostAccountExternalAccountsResponseError is used.
data PostAccountExternalAccountsResponse
-- | Means either no matching case available or a parse error
PostAccountExternalAccountsResponseError :: String -> PostAccountExternalAccountsResponse
-- | Successful response.
PostAccountExternalAccountsResponse200 :: ExternalAccount -> PostAccountExternalAccountsResponse
-- | Error response.
PostAccountExternalAccountsResponseDefault :: Error -> PostAccountExternalAccountsResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountExternalAccounts.PostAccountExternalAccountsRequestBodyBankAccount'OneOf1AccountHolderType'
instance GHC.Show.Show StripeAPI.Operations.PostAccountExternalAccounts.PostAccountExternalAccountsRequestBodyBankAccount'OneOf1AccountHolderType'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountExternalAccounts.PostAccountExternalAccountsRequestBodyBankAccount'OneOf1Object'
instance GHC.Show.Show StripeAPI.Operations.PostAccountExternalAccounts.PostAccountExternalAccountsRequestBodyBankAccount'OneOf1Object'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountExternalAccounts.PostAccountExternalAccountsRequestBodyBankAccount'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostAccountExternalAccounts.PostAccountExternalAccountsRequestBodyBankAccount'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountExternalAccounts.PostAccountExternalAccountsRequestBodyBankAccount'Variants
instance GHC.Show.Show StripeAPI.Operations.PostAccountExternalAccounts.PostAccountExternalAccountsRequestBodyBankAccount'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountExternalAccounts.PostAccountExternalAccountsRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostAccountExternalAccounts.PostAccountExternalAccountsRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountExternalAccounts.PostAccountExternalAccountsResponse
instance GHC.Show.Show StripeAPI.Operations.PostAccountExternalAccounts.PostAccountExternalAccountsResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountExternalAccounts.PostAccountExternalAccountsRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountExternalAccounts.PostAccountExternalAccountsRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountExternalAccounts.PostAccountExternalAccountsRequestBodyBankAccount'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountExternalAccounts.PostAccountExternalAccountsRequestBodyBankAccount'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountExternalAccounts.PostAccountExternalAccountsRequestBodyBankAccount'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountExternalAccounts.PostAccountExternalAccountsRequestBodyBankAccount'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountExternalAccounts.PostAccountExternalAccountsRequestBodyBankAccount'OneOf1Object'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountExternalAccounts.PostAccountExternalAccountsRequestBodyBankAccount'OneOf1Object'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountExternalAccounts.PostAccountExternalAccountsRequestBodyBankAccount'OneOf1AccountHolderType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountExternalAccounts.PostAccountExternalAccountsRequestBodyBankAccount'OneOf1AccountHolderType'
-- | Contains the different functions to run the operation
-- postAccountCapabilitiesCapability
module StripeAPI.Operations.PostAccountCapabilitiesCapability
-- |
-- POST /v1/account/capabilities/{capability}
--
--
-- <p>Updates an existing Account Capability.</p>
postAccountCapabilitiesCapability :: forall m. MonadHTTP m => Text -> Maybe PostAccountCapabilitiesCapabilityRequestBody -> ClientT m (Response PostAccountCapabilitiesCapabilityResponse)
-- | Defines the object schema located at
-- paths./v1/account/capabilities/{capability}.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostAccountCapabilitiesCapabilityRequestBody
PostAccountCapabilitiesCapabilityRequestBody :: Maybe [Text] -> Maybe Bool -> PostAccountCapabilitiesCapabilityRequestBody
-- | expand: Specifies which fields in the response should be expanded.
[postAccountCapabilitiesCapabilityRequestBodyExpand] :: PostAccountCapabilitiesCapabilityRequestBody -> Maybe [Text]
-- | requested: Passing true requests the capability for the account, if it
-- is not already requested. A requested capability may not immediately
-- become active. Any requirements to activate the capability are
-- returned in the `requirements` arrays.
[postAccountCapabilitiesCapabilityRequestBodyRequested] :: PostAccountCapabilitiesCapabilityRequestBody -> Maybe Bool
-- | Create a new PostAccountCapabilitiesCapabilityRequestBody with
-- all required fields.
mkPostAccountCapabilitiesCapabilityRequestBody :: PostAccountCapabilitiesCapabilityRequestBody
-- | Represents a response of the operation
-- postAccountCapabilitiesCapability.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- PostAccountCapabilitiesCapabilityResponseError is used.
data PostAccountCapabilitiesCapabilityResponse
-- | Means either no matching case available or a parse error
PostAccountCapabilitiesCapabilityResponseError :: String -> PostAccountCapabilitiesCapabilityResponse
-- | Successful response.
PostAccountCapabilitiesCapabilityResponse200 :: Capability -> PostAccountCapabilitiesCapabilityResponse
-- | Error response.
PostAccountCapabilitiesCapabilityResponseDefault :: Error -> PostAccountCapabilitiesCapabilityResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountCapabilitiesCapability.PostAccountCapabilitiesCapabilityRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostAccountCapabilitiesCapability.PostAccountCapabilitiesCapabilityRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountCapabilitiesCapability.PostAccountCapabilitiesCapabilityResponse
instance GHC.Show.Show StripeAPI.Operations.PostAccountCapabilitiesCapability.PostAccountCapabilitiesCapabilityResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountCapabilitiesCapability.PostAccountCapabilitiesCapabilityRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountCapabilitiesCapability.PostAccountCapabilitiesCapabilityRequestBody
-- | Contains the different functions to run the operation
-- postAccountBankAccountsId
module StripeAPI.Operations.PostAccountBankAccountsId
-- |
-- POST /v1/account/bank_accounts/{id}
--
--
-- <p>Updates the metadata, account holder name, and account holder
-- type of a bank account belonging to a <a
-- href="/docs/connect/custom-accounts">Custom account</a>, and
-- optionally sets it as the default for its currency. Other bank account
-- details are not editable by design.</p>
--
-- <p>You can re-enable a disabled bank account by performing an
-- update call without providing any arguments or changes.</p>
postAccountBankAccountsId :: forall m. MonadHTTP m => Text -> Maybe PostAccountBankAccountsIdRequestBody -> ClientT m (Response PostAccountBankAccountsIdResponse)
-- | Defines the object schema located at
-- paths./v1/account/bank_accounts/{id}.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostAccountBankAccountsIdRequestBody
PostAccountBankAccountsIdRequestBody :: Maybe Text -> Maybe PostAccountBankAccountsIdRequestBodyAccountHolderType' -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe Text -> Maybe [Text] -> Maybe PostAccountBankAccountsIdRequestBodyMetadata'Variants -> Maybe Text -> PostAccountBankAccountsIdRequestBody
-- | account_holder_name: The name of the person or business that owns the
-- bank account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountBankAccountsIdRequestBodyAccountHolderName] :: PostAccountBankAccountsIdRequestBody -> Maybe Text
-- | account_holder_type: The type of entity that holds the account. This
-- can be either `individual` or `company`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountBankAccountsIdRequestBodyAccountHolderType] :: PostAccountBankAccountsIdRequestBody -> Maybe PostAccountBankAccountsIdRequestBodyAccountHolderType'
-- | address_city: City/District/Suburb/Town/Village.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountBankAccountsIdRequestBodyAddressCity] :: PostAccountBankAccountsIdRequestBody -> Maybe Text
-- | address_country: Billing address country, if provided when creating
-- card.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountBankAccountsIdRequestBodyAddressCountry] :: PostAccountBankAccountsIdRequestBody -> Maybe Text
-- | address_line1: Address line 1 (Street address/PO Box/Company name).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountBankAccountsIdRequestBodyAddressLine1] :: PostAccountBankAccountsIdRequestBody -> Maybe Text
-- | address_line2: Address line 2 (Apartment/Suite/Unit/Building).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountBankAccountsIdRequestBodyAddressLine2] :: PostAccountBankAccountsIdRequestBody -> Maybe Text
-- | address_state: State/County/Province/Region.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountBankAccountsIdRequestBodyAddressState] :: PostAccountBankAccountsIdRequestBody -> Maybe Text
-- | address_zip: ZIP or postal code.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountBankAccountsIdRequestBodyAddressZip] :: PostAccountBankAccountsIdRequestBody -> Maybe Text
-- | default_for_currency: When set to true, this becomes the default
-- external account for its currency.
[postAccountBankAccountsIdRequestBodyDefaultForCurrency] :: PostAccountBankAccountsIdRequestBody -> Maybe Bool
-- | exp_month: Two digit number representing the card’s expiration month.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountBankAccountsIdRequestBodyExpMonth] :: PostAccountBankAccountsIdRequestBody -> Maybe Text
-- | exp_year: Four digit number representing the card’s expiration year.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountBankAccountsIdRequestBodyExpYear] :: PostAccountBankAccountsIdRequestBody -> Maybe Text
-- | expand: Specifies which fields in the response should be expanded.
[postAccountBankAccountsIdRequestBodyExpand] :: PostAccountBankAccountsIdRequestBody -> Maybe [Text]
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postAccountBankAccountsIdRequestBodyMetadata] :: PostAccountBankAccountsIdRequestBody -> Maybe PostAccountBankAccountsIdRequestBodyMetadata'Variants
-- | name: Cardholder name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountBankAccountsIdRequestBodyName] :: PostAccountBankAccountsIdRequestBody -> Maybe Text
-- | Create a new PostAccountBankAccountsIdRequestBody with all
-- required fields.
mkPostAccountBankAccountsIdRequestBody :: PostAccountBankAccountsIdRequestBody
-- | Defines the enum schema located at
-- paths./v1/account/bank_accounts/{id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.account_holder_type
-- in the specification.
--
-- The type of entity that holds the account. This can be either
-- `individual` or `company`.
data PostAccountBankAccountsIdRequestBodyAccountHolderType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostAccountBankAccountsIdRequestBodyAccountHolderType'Other :: Value -> PostAccountBankAccountsIdRequestBodyAccountHolderType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostAccountBankAccountsIdRequestBodyAccountHolderType'Typed :: Text -> PostAccountBankAccountsIdRequestBodyAccountHolderType'
-- | Represents the JSON value ""
PostAccountBankAccountsIdRequestBodyAccountHolderType'EnumEmptyString :: PostAccountBankAccountsIdRequestBodyAccountHolderType'
-- | Represents the JSON value "company"
PostAccountBankAccountsIdRequestBodyAccountHolderType'EnumCompany :: PostAccountBankAccountsIdRequestBodyAccountHolderType'
-- | Represents the JSON value "individual"
PostAccountBankAccountsIdRequestBodyAccountHolderType'EnumIndividual :: PostAccountBankAccountsIdRequestBodyAccountHolderType'
-- | Defines the oneOf schema located at
-- paths./v1/account/bank_accounts/{id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.metadata.anyOf
-- in the specification.
--
-- Set of key-value pairs that you can attach to an object. This
-- can be useful for storing additional information about the object in a
-- structured format. Individual keys can be unset by posting an empty
-- value to them. All keys can be unset by posting an empty value to
-- `metadata`.
data PostAccountBankAccountsIdRequestBodyMetadata'Variants
-- | Represents the JSON value ""
PostAccountBankAccountsIdRequestBodyMetadata'EmptyString :: PostAccountBankAccountsIdRequestBodyMetadata'Variants
PostAccountBankAccountsIdRequestBodyMetadata'Object :: Object -> PostAccountBankAccountsIdRequestBodyMetadata'Variants
-- | Represents a response of the operation
-- postAccountBankAccountsId.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostAccountBankAccountsIdResponseError
-- is used.
data PostAccountBankAccountsIdResponse
-- | Means either no matching case available or a parse error
PostAccountBankAccountsIdResponseError :: String -> PostAccountBankAccountsIdResponse
-- | Successful response.
PostAccountBankAccountsIdResponse200 :: ExternalAccount -> PostAccountBankAccountsIdResponse
-- | Error response.
PostAccountBankAccountsIdResponseDefault :: Error -> PostAccountBankAccountsIdResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountBankAccountsId.PostAccountBankAccountsIdRequestBodyAccountHolderType'
instance GHC.Show.Show StripeAPI.Operations.PostAccountBankAccountsId.PostAccountBankAccountsIdRequestBodyAccountHolderType'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountBankAccountsId.PostAccountBankAccountsIdRequestBodyMetadata'Variants
instance GHC.Show.Show StripeAPI.Operations.PostAccountBankAccountsId.PostAccountBankAccountsIdRequestBodyMetadata'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountBankAccountsId.PostAccountBankAccountsIdRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostAccountBankAccountsId.PostAccountBankAccountsIdRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountBankAccountsId.PostAccountBankAccountsIdResponse
instance GHC.Show.Show StripeAPI.Operations.PostAccountBankAccountsId.PostAccountBankAccountsIdResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountBankAccountsId.PostAccountBankAccountsIdRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountBankAccountsId.PostAccountBankAccountsIdRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountBankAccountsId.PostAccountBankAccountsIdRequestBodyMetadata'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountBankAccountsId.PostAccountBankAccountsIdRequestBodyMetadata'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountBankAccountsId.PostAccountBankAccountsIdRequestBodyAccountHolderType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountBankAccountsId.PostAccountBankAccountsIdRequestBodyAccountHolderType'
-- | Contains the different functions to run the operation
-- postAccountBankAccounts
module StripeAPI.Operations.PostAccountBankAccounts
-- |
-- POST /v1/account/bank_accounts
--
--
-- <p>Create an external account for a given account.</p>
postAccountBankAccounts :: forall m. MonadHTTP m => Maybe PostAccountBankAccountsRequestBody -> ClientT m (Response PostAccountBankAccountsResponse)
-- | Defines the object schema located at
-- paths./v1/account/bank_accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostAccountBankAccountsRequestBody
PostAccountBankAccountsRequestBody :: Maybe PostAccountBankAccountsRequestBodyBankAccount'Variants -> Maybe Bool -> Maybe [Text] -> Maybe Text -> Maybe Object -> PostAccountBankAccountsRequestBody
-- | bank_account: Either a token, like the ones returned by
-- Stripe.js, or a dictionary containing a user's bank account
-- details.
[postAccountBankAccountsRequestBodyBankAccount] :: PostAccountBankAccountsRequestBody -> Maybe PostAccountBankAccountsRequestBodyBankAccount'Variants
-- | default_for_currency: When set to true, or if this is the first
-- external account added in this currency, this account becomes the
-- default external account for its currency.
[postAccountBankAccountsRequestBodyDefaultForCurrency] :: PostAccountBankAccountsRequestBody -> Maybe Bool
-- | expand: Specifies which fields in the response should be expanded.
[postAccountBankAccountsRequestBodyExpand] :: PostAccountBankAccountsRequestBody -> Maybe [Text]
-- | external_account: Please refer to full documentation instead.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountBankAccountsRequestBodyExternalAccount] :: PostAccountBankAccountsRequestBody -> Maybe Text
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postAccountBankAccountsRequestBodyMetadata] :: PostAccountBankAccountsRequestBody -> Maybe Object
-- | Create a new PostAccountBankAccountsRequestBody with all
-- required fields.
mkPostAccountBankAccountsRequestBody :: PostAccountBankAccountsRequestBody
-- | Defines the object schema located at
-- paths./v1/account/bank_accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.bank_account.anyOf
-- in the specification.
data PostAccountBankAccountsRequestBodyBankAccount'OneOf1
PostAccountBankAccountsRequestBodyBankAccount'OneOf1 :: Maybe Text -> Maybe PostAccountBankAccountsRequestBodyBankAccount'OneOf1AccountHolderType' -> Text -> Text -> Maybe Text -> Maybe PostAccountBankAccountsRequestBodyBankAccount'OneOf1Object' -> Maybe Text -> PostAccountBankAccountsRequestBodyBankAccount'OneOf1
-- | account_holder_name
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountBankAccountsRequestBodyBankAccount'OneOf1AccountHolderName] :: PostAccountBankAccountsRequestBodyBankAccount'OneOf1 -> Maybe Text
-- | account_holder_type
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountBankAccountsRequestBodyBankAccount'OneOf1AccountHolderType] :: PostAccountBankAccountsRequestBodyBankAccount'OneOf1 -> Maybe PostAccountBankAccountsRequestBodyBankAccount'OneOf1AccountHolderType'
-- | account_number
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountBankAccountsRequestBodyBankAccount'OneOf1AccountNumber] :: PostAccountBankAccountsRequestBodyBankAccount'OneOf1 -> Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountBankAccountsRequestBodyBankAccount'OneOf1Country] :: PostAccountBankAccountsRequestBodyBankAccount'OneOf1 -> Text
-- | currency
[postAccountBankAccountsRequestBodyBankAccount'OneOf1Currency] :: PostAccountBankAccountsRequestBodyBankAccount'OneOf1 -> Maybe Text
-- | object
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountBankAccountsRequestBodyBankAccount'OneOf1Object] :: PostAccountBankAccountsRequestBodyBankAccount'OneOf1 -> Maybe PostAccountBankAccountsRequestBodyBankAccount'OneOf1Object'
-- | routing_number
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountBankAccountsRequestBodyBankAccount'OneOf1RoutingNumber] :: PostAccountBankAccountsRequestBodyBankAccount'OneOf1 -> Maybe Text
-- | Create a new
-- PostAccountBankAccountsRequestBodyBankAccount'OneOf1 with all
-- required fields.
mkPostAccountBankAccountsRequestBodyBankAccount'OneOf1 :: Text -> Text -> PostAccountBankAccountsRequestBodyBankAccount'OneOf1
-- | Defines the enum schema located at
-- paths./v1/account/bank_accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.bank_account.anyOf.properties.account_holder_type
-- in the specification.
data PostAccountBankAccountsRequestBodyBankAccount'OneOf1AccountHolderType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostAccountBankAccountsRequestBodyBankAccount'OneOf1AccountHolderType'Other :: Value -> PostAccountBankAccountsRequestBodyBankAccount'OneOf1AccountHolderType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostAccountBankAccountsRequestBodyBankAccount'OneOf1AccountHolderType'Typed :: Text -> PostAccountBankAccountsRequestBodyBankAccount'OneOf1AccountHolderType'
-- | Represents the JSON value "company"
PostAccountBankAccountsRequestBodyBankAccount'OneOf1AccountHolderType'EnumCompany :: PostAccountBankAccountsRequestBodyBankAccount'OneOf1AccountHolderType'
-- | Represents the JSON value "individual"
PostAccountBankAccountsRequestBodyBankAccount'OneOf1AccountHolderType'EnumIndividual :: PostAccountBankAccountsRequestBodyBankAccount'OneOf1AccountHolderType'
-- | Defines the enum schema located at
-- paths./v1/account/bank_accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.bank_account.anyOf.properties.object
-- in the specification.
data PostAccountBankAccountsRequestBodyBankAccount'OneOf1Object'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostAccountBankAccountsRequestBodyBankAccount'OneOf1Object'Other :: Value -> PostAccountBankAccountsRequestBodyBankAccount'OneOf1Object'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostAccountBankAccountsRequestBodyBankAccount'OneOf1Object'Typed :: Text -> PostAccountBankAccountsRequestBodyBankAccount'OneOf1Object'
-- | Represents the JSON value "bank_account"
PostAccountBankAccountsRequestBodyBankAccount'OneOf1Object'EnumBankAccount :: PostAccountBankAccountsRequestBodyBankAccount'OneOf1Object'
-- | Defines the oneOf schema located at
-- paths./v1/account/bank_accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.bank_account.anyOf
-- in the specification.
--
-- Either a token, like the ones returned by Stripe.js, or a
-- dictionary containing a user's bank account details.
data PostAccountBankAccountsRequestBodyBankAccount'Variants
PostAccountBankAccountsRequestBodyBankAccount'PostAccountBankAccountsRequestBodyBankAccount'OneOf1 :: PostAccountBankAccountsRequestBodyBankAccount'OneOf1 -> PostAccountBankAccountsRequestBodyBankAccount'Variants
PostAccountBankAccountsRequestBodyBankAccount'Text :: Text -> PostAccountBankAccountsRequestBodyBankAccount'Variants
-- | Represents a response of the operation postAccountBankAccounts.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostAccountBankAccountsResponseError is
-- used.
data PostAccountBankAccountsResponse
-- | Means either no matching case available or a parse error
PostAccountBankAccountsResponseError :: String -> PostAccountBankAccountsResponse
-- | Successful response.
PostAccountBankAccountsResponse200 :: ExternalAccount -> PostAccountBankAccountsResponse
-- | Error response.
PostAccountBankAccountsResponseDefault :: Error -> PostAccountBankAccountsResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountBankAccounts.PostAccountBankAccountsRequestBodyBankAccount'OneOf1AccountHolderType'
instance GHC.Show.Show StripeAPI.Operations.PostAccountBankAccounts.PostAccountBankAccountsRequestBodyBankAccount'OneOf1AccountHolderType'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountBankAccounts.PostAccountBankAccountsRequestBodyBankAccount'OneOf1Object'
instance GHC.Show.Show StripeAPI.Operations.PostAccountBankAccounts.PostAccountBankAccountsRequestBodyBankAccount'OneOf1Object'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountBankAccounts.PostAccountBankAccountsRequestBodyBankAccount'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostAccountBankAccounts.PostAccountBankAccountsRequestBodyBankAccount'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountBankAccounts.PostAccountBankAccountsRequestBodyBankAccount'Variants
instance GHC.Show.Show StripeAPI.Operations.PostAccountBankAccounts.PostAccountBankAccountsRequestBodyBankAccount'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountBankAccounts.PostAccountBankAccountsRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostAccountBankAccounts.PostAccountBankAccountsRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostAccountBankAccounts.PostAccountBankAccountsResponse
instance GHC.Show.Show StripeAPI.Operations.PostAccountBankAccounts.PostAccountBankAccountsResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountBankAccounts.PostAccountBankAccountsRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountBankAccounts.PostAccountBankAccountsRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountBankAccounts.PostAccountBankAccountsRequestBodyBankAccount'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountBankAccounts.PostAccountBankAccountsRequestBodyBankAccount'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountBankAccounts.PostAccountBankAccountsRequestBodyBankAccount'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountBankAccounts.PostAccountBankAccountsRequestBodyBankAccount'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountBankAccounts.PostAccountBankAccountsRequestBodyBankAccount'OneOf1Object'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountBankAccounts.PostAccountBankAccountsRequestBodyBankAccount'OneOf1Object'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccountBankAccounts.PostAccountBankAccountsRequestBodyBankAccount'OneOf1AccountHolderType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccountBankAccounts.PostAccountBankAccountsRequestBodyBankAccount'OneOf1AccountHolderType'
-- | Contains the different functions to run the operation postAccount
module StripeAPI.Operations.PostAccount
-- |
-- POST /v1/account
--
--
-- <p>Updates a <a href="/docs/connect/accounts">connected
-- account</a> by setting the values of the parameters passed. Any
-- parameters not provided are left unchanged. Most parameters can be
-- changed only for Custom accounts. (These are marked
-- <strong>Custom Only</strong> below.) Parameters marked
-- <strong>Custom and Express</strong> are not supported for
-- Standard accounts.</p>
--
-- <p>To update your own account, use the <a
-- href="https://dashboard.stripe.com/account">Dashboard</a>.
-- Refer to our <a
-- href="/docs/connect/updating-accounts">Connect</a>
-- documentation to learn more about updating accounts.</p>
postAccount :: forall m. MonadHTTP m => Maybe PostAccountRequestBody -> ClientT m (Response PostAccountResponse)
-- | Defines the object schema located at
-- paths./v1/account.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data PostAccountRequestBody
PostAccountRequestBody :: Maybe Text -> Maybe PostAccountRequestBodyBankAccount'Variants -> Maybe PostAccountRequestBodyBusinessProfile' -> Maybe PostAccountRequestBodyBusinessType' -> Maybe PostAccountRequestBodyCapabilities' -> Maybe PostAccountRequestBodyCompany' -> Maybe Text -> Maybe PostAccountRequestBodyDocuments' -> Maybe Text -> Maybe [Text] -> Maybe Text -> Maybe PostAccountRequestBodyIndividual' -> Maybe PostAccountRequestBodyMetadata'Variants -> Maybe PostAccountRequestBodySettings' -> Maybe PostAccountRequestBodyTosAcceptance' -> PostAccountRequestBody
-- | account_token: An account token, used to securely provide
-- details to the account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountRequestBodyAccountToken] :: PostAccountRequestBody -> Maybe Text
-- | bank_account: Either a token, like the ones returned by
-- Stripe.js, or a dictionary containing a user's bank account
-- details.
[postAccountRequestBodyBankAccount] :: PostAccountRequestBody -> Maybe PostAccountRequestBodyBankAccount'Variants
-- | business_profile: Business information about the account.
[postAccountRequestBodyBusinessProfile] :: PostAccountRequestBody -> Maybe PostAccountRequestBodyBusinessProfile'
-- | business_type: The business type.
[postAccountRequestBodyBusinessType] :: PostAccountRequestBody -> Maybe PostAccountRequestBodyBusinessType'
-- | capabilities: Each key of the dictionary represents a capability, and
-- each capability maps to its settings (e.g. whether it has been
-- requested or not). Each capability will be inactive until you have
-- provided its specific requirements and Stripe has verified them. An
-- account may have some of its requested capabilities be active and some
-- be inactive.
[postAccountRequestBodyCapabilities] :: PostAccountRequestBody -> Maybe PostAccountRequestBodyCapabilities'
-- | company: Information about the company or business. This field is
-- available for any `business_type`.
[postAccountRequestBodyCompany] :: PostAccountRequestBody -> Maybe PostAccountRequestBodyCompany'
-- | default_currency: Three-letter ISO currency code representing the
-- default currency for the account. This must be a currency that
-- Stripe supports in the account's country.
[postAccountRequestBodyDefaultCurrency] :: PostAccountRequestBody -> Maybe Text
-- | documents: Documents that may be submitted to satisfy various
-- informational requests.
[postAccountRequestBodyDocuments] :: PostAccountRequestBody -> Maybe PostAccountRequestBodyDocuments'
-- | email: The email address of the account holder. This is only to make
-- the account easier to identify to you. Stripe will never directly
-- email Custom accounts.
[postAccountRequestBodyEmail] :: PostAccountRequestBody -> Maybe Text
-- | expand: Specifies which fields in the response should be expanded.
[postAccountRequestBodyExpand] :: PostAccountRequestBody -> Maybe [Text]
-- | external_account: A card or bank account to attach to the account for
-- receiving payouts (you won’t be able to use it for top-ups).
-- You can provide either a token, like the ones returned by
-- Stripe.js, or a dictionary, as documented in the
-- `external_account` parameter for bank account creation.
-- <br><br>By default, providing an external account sets it
-- as the new default external account for its currency, and deletes the
-- old default if one exists. To add additional external accounts without
-- replacing the existing default for the currency, use the bank account
-- or card creation API.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountRequestBodyExternalAccount] :: PostAccountRequestBody -> Maybe Text
-- | individual: Information about the person represented by the account.
-- This field is null unless `business_type` is set to `individual`.
[postAccountRequestBodyIndividual] :: PostAccountRequestBody -> Maybe PostAccountRequestBodyIndividual'
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format. Individual keys can be unset by
-- posting an empty value to them. All keys can be unset by posting an
-- empty value to `metadata`.
[postAccountRequestBodyMetadata] :: PostAccountRequestBody -> Maybe PostAccountRequestBodyMetadata'Variants
-- | settings: Options for customizing how the account functions within
-- Stripe.
[postAccountRequestBodySettings] :: PostAccountRequestBody -> Maybe PostAccountRequestBodySettings'
-- | tos_acceptance: Details on the account's acceptance of the Stripe
-- Services Agreement.
[postAccountRequestBodyTosAcceptance] :: PostAccountRequestBody -> Maybe PostAccountRequestBodyTosAcceptance'
-- | Create a new PostAccountRequestBody with all required fields.
mkPostAccountRequestBody :: PostAccountRequestBody
-- | Defines the object schema located at
-- paths./v1/account.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.bank_account.anyOf
-- in the specification.
data PostAccountRequestBodyBankAccount'OneOf1
PostAccountRequestBodyBankAccount'OneOf1 :: Maybe Text -> Maybe PostAccountRequestBodyBankAccount'OneOf1AccountHolderType' -> Text -> Text -> Maybe Text -> Maybe PostAccountRequestBodyBankAccount'OneOf1Object' -> Maybe Text -> PostAccountRequestBodyBankAccount'OneOf1
-- | account_holder_name
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountRequestBodyBankAccount'OneOf1AccountHolderName] :: PostAccountRequestBodyBankAccount'OneOf1 -> Maybe Text
-- | account_holder_type
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountRequestBodyBankAccount'OneOf1AccountHolderType] :: PostAccountRequestBodyBankAccount'OneOf1 -> Maybe PostAccountRequestBodyBankAccount'OneOf1AccountHolderType'
-- | account_number
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountRequestBodyBankAccount'OneOf1AccountNumber] :: PostAccountRequestBodyBankAccount'OneOf1 -> Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountRequestBodyBankAccount'OneOf1Country] :: PostAccountRequestBodyBankAccount'OneOf1 -> Text
-- | currency
[postAccountRequestBodyBankAccount'OneOf1Currency] :: PostAccountRequestBodyBankAccount'OneOf1 -> Maybe Text
-- | object
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountRequestBodyBankAccount'OneOf1Object] :: PostAccountRequestBodyBankAccount'OneOf1 -> Maybe PostAccountRequestBodyBankAccount'OneOf1Object'
-- | routing_number
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountRequestBodyBankAccount'OneOf1RoutingNumber] :: PostAccountRequestBodyBankAccount'OneOf1 -> Maybe Text
-- | Create a new PostAccountRequestBodyBankAccount'OneOf1 with all
-- required fields.
mkPostAccountRequestBodyBankAccount'OneOf1 :: Text -> Text -> PostAccountRequestBodyBankAccount'OneOf1
-- | Defines the enum schema located at
-- paths./v1/account.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.bank_account.anyOf.properties.account_holder_type
-- in the specification.
data PostAccountRequestBodyBankAccount'OneOf1AccountHolderType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostAccountRequestBodyBankAccount'OneOf1AccountHolderType'Other :: Value -> PostAccountRequestBodyBankAccount'OneOf1AccountHolderType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostAccountRequestBodyBankAccount'OneOf1AccountHolderType'Typed :: Text -> PostAccountRequestBodyBankAccount'OneOf1AccountHolderType'
-- | Represents the JSON value "company"
PostAccountRequestBodyBankAccount'OneOf1AccountHolderType'EnumCompany :: PostAccountRequestBodyBankAccount'OneOf1AccountHolderType'
-- | Represents the JSON value "individual"
PostAccountRequestBodyBankAccount'OneOf1AccountHolderType'EnumIndividual :: PostAccountRequestBodyBankAccount'OneOf1AccountHolderType'
-- | Defines the enum schema located at
-- paths./v1/account.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.bank_account.anyOf.properties.object
-- in the specification.
data PostAccountRequestBodyBankAccount'OneOf1Object'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostAccountRequestBodyBankAccount'OneOf1Object'Other :: Value -> PostAccountRequestBodyBankAccount'OneOf1Object'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostAccountRequestBodyBankAccount'OneOf1Object'Typed :: Text -> PostAccountRequestBodyBankAccount'OneOf1Object'
-- | Represents the JSON value "bank_account"
PostAccountRequestBodyBankAccount'OneOf1Object'EnumBankAccount :: PostAccountRequestBodyBankAccount'OneOf1Object'
-- | Defines the oneOf schema located at
-- paths./v1/account.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.bank_account.anyOf
-- in the specification.
--
-- Either a token, like the ones returned by Stripe.js, or a
-- dictionary containing a user's bank account details.
data PostAccountRequestBodyBankAccount'Variants
PostAccountRequestBodyBankAccount'PostAccountRequestBodyBankAccount'OneOf1 :: PostAccountRequestBodyBankAccount'OneOf1 -> PostAccountRequestBodyBankAccount'Variants
PostAccountRequestBodyBankAccount'Text :: Text -> PostAccountRequestBodyBankAccount'Variants
-- | Defines the object schema located at
-- paths./v1/account.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.business_profile
-- in the specification.
--
-- Business information about the account.
data PostAccountRequestBodyBusinessProfile'
PostAccountRequestBodyBusinessProfile' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe PostAccountRequestBodyBusinessProfile'SupportAddress' -> Maybe Text -> Maybe Text -> Maybe PostAccountRequestBodyBusinessProfile'SupportUrl'Variants -> Maybe Text -> PostAccountRequestBodyBusinessProfile'
-- | mcc
--
-- Constraints:
--
--
-- - Maximum length of 4
--
[postAccountRequestBodyBusinessProfile'Mcc] :: PostAccountRequestBodyBusinessProfile' -> Maybe Text
-- | name
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountRequestBodyBusinessProfile'Name] :: PostAccountRequestBodyBusinessProfile' -> Maybe Text
-- | product_description
--
-- Constraints:
--
--
-- - Maximum length of 40000
--
[postAccountRequestBodyBusinessProfile'ProductDescription] :: PostAccountRequestBodyBusinessProfile' -> Maybe Text
-- | support_address
[postAccountRequestBodyBusinessProfile'SupportAddress] :: PostAccountRequestBodyBusinessProfile' -> Maybe PostAccountRequestBodyBusinessProfile'SupportAddress'
-- | support_email
[postAccountRequestBodyBusinessProfile'SupportEmail] :: PostAccountRequestBodyBusinessProfile' -> Maybe Text
-- | support_phone
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountRequestBodyBusinessProfile'SupportPhone] :: PostAccountRequestBodyBusinessProfile' -> Maybe Text
-- | support_url
[postAccountRequestBodyBusinessProfile'SupportUrl] :: PostAccountRequestBodyBusinessProfile' -> Maybe PostAccountRequestBodyBusinessProfile'SupportUrl'Variants
-- | url
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountRequestBodyBusinessProfile'Url] :: PostAccountRequestBodyBusinessProfile' -> Maybe Text
-- | Create a new PostAccountRequestBodyBusinessProfile' with all
-- required fields.
mkPostAccountRequestBodyBusinessProfile' :: PostAccountRequestBodyBusinessProfile'
-- | Defines the object schema located at
-- paths./v1/account.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.business_profile.properties.support_address
-- in the specification.
data PostAccountRequestBodyBusinessProfile'SupportAddress'
PostAccountRequestBodyBusinessProfile'SupportAddress' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PostAccountRequestBodyBusinessProfile'SupportAddress'
-- | city
--
-- Constraints:
--
--
-- - Maximum length of 100
--
[postAccountRequestBodyBusinessProfile'SupportAddress'City] :: PostAccountRequestBodyBusinessProfile'SupportAddress' -> Maybe Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountRequestBodyBusinessProfile'SupportAddress'Country] :: PostAccountRequestBodyBusinessProfile'SupportAddress' -> Maybe Text
-- | line1
--
-- Constraints:
--
--
-- - Maximum length of 200
--
[postAccountRequestBodyBusinessProfile'SupportAddress'Line1] :: PostAccountRequestBodyBusinessProfile'SupportAddress' -> Maybe Text
-- | line2
--
-- Constraints:
--
--
-- - Maximum length of 200
--
[postAccountRequestBodyBusinessProfile'SupportAddress'Line2] :: PostAccountRequestBodyBusinessProfile'SupportAddress' -> Maybe Text
-- | postal_code
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountRequestBodyBusinessProfile'SupportAddress'PostalCode] :: PostAccountRequestBodyBusinessProfile'SupportAddress' -> Maybe Text
-- | state
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountRequestBodyBusinessProfile'SupportAddress'State] :: PostAccountRequestBodyBusinessProfile'SupportAddress' -> Maybe Text
-- | Create a new
-- PostAccountRequestBodyBusinessProfile'SupportAddress' with all
-- required fields.
mkPostAccountRequestBodyBusinessProfile'SupportAddress' :: PostAccountRequestBodyBusinessProfile'SupportAddress'
-- | Defines the oneOf schema located at
-- paths./v1/account.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.business_profile.properties.support_url.anyOf
-- in the specification.
data PostAccountRequestBodyBusinessProfile'SupportUrl'Variants
-- | Represents the JSON value ""
PostAccountRequestBodyBusinessProfile'SupportUrl'EmptyString :: PostAccountRequestBodyBusinessProfile'SupportUrl'Variants
PostAccountRequestBodyBusinessProfile'SupportUrl'Text :: Text -> PostAccountRequestBodyBusinessProfile'SupportUrl'Variants
-- | Defines the enum schema located at
-- paths./v1/account.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.business_type
-- in the specification.
--
-- The business type.
data PostAccountRequestBodyBusinessType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostAccountRequestBodyBusinessType'Other :: Value -> PostAccountRequestBodyBusinessType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostAccountRequestBodyBusinessType'Typed :: Text -> PostAccountRequestBodyBusinessType'
-- | Represents the JSON value "company"
PostAccountRequestBodyBusinessType'EnumCompany :: PostAccountRequestBodyBusinessType'
-- | Represents the JSON value "government_entity"
PostAccountRequestBodyBusinessType'EnumGovernmentEntity :: PostAccountRequestBodyBusinessType'
-- | Represents the JSON value "individual"
PostAccountRequestBodyBusinessType'EnumIndividual :: PostAccountRequestBodyBusinessType'
-- | Represents the JSON value "non_profit"
PostAccountRequestBodyBusinessType'EnumNonProfit :: PostAccountRequestBodyBusinessType'
-- | Defines the object schema located at
-- paths./v1/account.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities
-- in the specification.
--
-- Each key of the dictionary represents a capability, and each
-- capability maps to its settings (e.g. whether it has been requested or
-- not). Each capability will be inactive until you have provided its
-- specific requirements and Stripe has verified them. An account may
-- have some of its requested capabilities be active and some be
-- inactive.
data PostAccountRequestBodyCapabilities'
PostAccountRequestBodyCapabilities' :: Maybe PostAccountRequestBodyCapabilities'AcssDebitPayments' -> Maybe PostAccountRequestBodyCapabilities'AfterpayClearpayPayments' -> Maybe PostAccountRequestBodyCapabilities'AuBecsDebitPayments' -> Maybe PostAccountRequestBodyCapabilities'BacsDebitPayments' -> Maybe PostAccountRequestBodyCapabilities'BancontactPayments' -> Maybe PostAccountRequestBodyCapabilities'CardIssuing' -> Maybe PostAccountRequestBodyCapabilities'CardPayments' -> Maybe PostAccountRequestBodyCapabilities'CartesBancairesPayments' -> Maybe PostAccountRequestBodyCapabilities'EpsPayments' -> Maybe PostAccountRequestBodyCapabilities'FpxPayments' -> Maybe PostAccountRequestBodyCapabilities'GiropayPayments' -> Maybe PostAccountRequestBodyCapabilities'GrabpayPayments' -> Maybe PostAccountRequestBodyCapabilities'IdealPayments' -> Maybe PostAccountRequestBodyCapabilities'JcbPayments' -> Maybe PostAccountRequestBodyCapabilities'LegacyPayments' -> Maybe PostAccountRequestBodyCapabilities'OxxoPayments' -> Maybe PostAccountRequestBodyCapabilities'P24Payments' -> Maybe PostAccountRequestBodyCapabilities'SepaDebitPayments' -> Maybe PostAccountRequestBodyCapabilities'SofortPayments' -> Maybe PostAccountRequestBodyCapabilities'TaxReportingUs_1099K' -> Maybe PostAccountRequestBodyCapabilities'TaxReportingUs_1099Misc' -> Maybe PostAccountRequestBodyCapabilities'Transfers' -> PostAccountRequestBodyCapabilities'
-- | acss_debit_payments
[postAccountRequestBodyCapabilities'AcssDebitPayments] :: PostAccountRequestBodyCapabilities' -> Maybe PostAccountRequestBodyCapabilities'AcssDebitPayments'
-- | afterpay_clearpay_payments
[postAccountRequestBodyCapabilities'AfterpayClearpayPayments] :: PostAccountRequestBodyCapabilities' -> Maybe PostAccountRequestBodyCapabilities'AfterpayClearpayPayments'
-- | au_becs_debit_payments
[postAccountRequestBodyCapabilities'AuBecsDebitPayments] :: PostAccountRequestBodyCapabilities' -> Maybe PostAccountRequestBodyCapabilities'AuBecsDebitPayments'
-- | bacs_debit_payments
[postAccountRequestBodyCapabilities'BacsDebitPayments] :: PostAccountRequestBodyCapabilities' -> Maybe PostAccountRequestBodyCapabilities'BacsDebitPayments'
-- | bancontact_payments
[postAccountRequestBodyCapabilities'BancontactPayments] :: PostAccountRequestBodyCapabilities' -> Maybe PostAccountRequestBodyCapabilities'BancontactPayments'
-- | card_issuing
[postAccountRequestBodyCapabilities'CardIssuing] :: PostAccountRequestBodyCapabilities' -> Maybe PostAccountRequestBodyCapabilities'CardIssuing'
-- | card_payments
[postAccountRequestBodyCapabilities'CardPayments] :: PostAccountRequestBodyCapabilities' -> Maybe PostAccountRequestBodyCapabilities'CardPayments'
-- | cartes_bancaires_payments
[postAccountRequestBodyCapabilities'CartesBancairesPayments] :: PostAccountRequestBodyCapabilities' -> Maybe PostAccountRequestBodyCapabilities'CartesBancairesPayments'
-- | eps_payments
[postAccountRequestBodyCapabilities'EpsPayments] :: PostAccountRequestBodyCapabilities' -> Maybe PostAccountRequestBodyCapabilities'EpsPayments'
-- | fpx_payments
[postAccountRequestBodyCapabilities'FpxPayments] :: PostAccountRequestBodyCapabilities' -> Maybe PostAccountRequestBodyCapabilities'FpxPayments'
-- | giropay_payments
[postAccountRequestBodyCapabilities'GiropayPayments] :: PostAccountRequestBodyCapabilities' -> Maybe PostAccountRequestBodyCapabilities'GiropayPayments'
-- | grabpay_payments
[postAccountRequestBodyCapabilities'GrabpayPayments] :: PostAccountRequestBodyCapabilities' -> Maybe PostAccountRequestBodyCapabilities'GrabpayPayments'
-- | ideal_payments
[postAccountRequestBodyCapabilities'IdealPayments] :: PostAccountRequestBodyCapabilities' -> Maybe PostAccountRequestBodyCapabilities'IdealPayments'
-- | jcb_payments
[postAccountRequestBodyCapabilities'JcbPayments] :: PostAccountRequestBodyCapabilities' -> Maybe PostAccountRequestBodyCapabilities'JcbPayments'
-- | legacy_payments
[postAccountRequestBodyCapabilities'LegacyPayments] :: PostAccountRequestBodyCapabilities' -> Maybe PostAccountRequestBodyCapabilities'LegacyPayments'
-- | oxxo_payments
[postAccountRequestBodyCapabilities'OxxoPayments] :: PostAccountRequestBodyCapabilities' -> Maybe PostAccountRequestBodyCapabilities'OxxoPayments'
-- | p24_payments
[postAccountRequestBodyCapabilities'P24Payments] :: PostAccountRequestBodyCapabilities' -> Maybe PostAccountRequestBodyCapabilities'P24Payments'
-- | sepa_debit_payments
[postAccountRequestBodyCapabilities'SepaDebitPayments] :: PostAccountRequestBodyCapabilities' -> Maybe PostAccountRequestBodyCapabilities'SepaDebitPayments'
-- | sofort_payments
[postAccountRequestBodyCapabilities'SofortPayments] :: PostAccountRequestBodyCapabilities' -> Maybe PostAccountRequestBodyCapabilities'SofortPayments'
-- | tax_reporting_us_1099_k
[postAccountRequestBodyCapabilities'TaxReportingUs_1099K] :: PostAccountRequestBodyCapabilities' -> Maybe PostAccountRequestBodyCapabilities'TaxReportingUs_1099K'
-- | tax_reporting_us_1099_misc
[postAccountRequestBodyCapabilities'TaxReportingUs_1099Misc] :: PostAccountRequestBodyCapabilities' -> Maybe PostAccountRequestBodyCapabilities'TaxReportingUs_1099Misc'
-- | transfers
[postAccountRequestBodyCapabilities'Transfers] :: PostAccountRequestBodyCapabilities' -> Maybe PostAccountRequestBodyCapabilities'Transfers'
-- | Create a new PostAccountRequestBodyCapabilities' with all
-- required fields.
mkPostAccountRequestBodyCapabilities' :: PostAccountRequestBodyCapabilities'
-- | Defines the object schema located at
-- paths./v1/account.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.acss_debit_payments
-- in the specification.
data PostAccountRequestBodyCapabilities'AcssDebitPayments'
PostAccountRequestBodyCapabilities'AcssDebitPayments' :: Maybe Bool -> PostAccountRequestBodyCapabilities'AcssDebitPayments'
-- | requested
[postAccountRequestBodyCapabilities'AcssDebitPayments'Requested] :: PostAccountRequestBodyCapabilities'AcssDebitPayments' -> Maybe Bool
-- | Create a new
-- PostAccountRequestBodyCapabilities'AcssDebitPayments' with all
-- required fields.
mkPostAccountRequestBodyCapabilities'AcssDebitPayments' :: PostAccountRequestBodyCapabilities'AcssDebitPayments'
-- | Defines the object schema located at
-- paths./v1/account.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.afterpay_clearpay_payments
-- in the specification.
data PostAccountRequestBodyCapabilities'AfterpayClearpayPayments'
PostAccountRequestBodyCapabilities'AfterpayClearpayPayments' :: Maybe Bool -> PostAccountRequestBodyCapabilities'AfterpayClearpayPayments'
-- | requested
[postAccountRequestBodyCapabilities'AfterpayClearpayPayments'Requested] :: PostAccountRequestBodyCapabilities'AfterpayClearpayPayments' -> Maybe Bool
-- | Create a new
-- PostAccountRequestBodyCapabilities'AfterpayClearpayPayments'
-- with all required fields.
mkPostAccountRequestBodyCapabilities'AfterpayClearpayPayments' :: PostAccountRequestBodyCapabilities'AfterpayClearpayPayments'
-- | Defines the object schema located at
-- paths./v1/account.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.au_becs_debit_payments
-- in the specification.
data PostAccountRequestBodyCapabilities'AuBecsDebitPayments'
PostAccountRequestBodyCapabilities'AuBecsDebitPayments' :: Maybe Bool -> PostAccountRequestBodyCapabilities'AuBecsDebitPayments'
-- | requested
[postAccountRequestBodyCapabilities'AuBecsDebitPayments'Requested] :: PostAccountRequestBodyCapabilities'AuBecsDebitPayments' -> Maybe Bool
-- | Create a new
-- PostAccountRequestBodyCapabilities'AuBecsDebitPayments' with
-- all required fields.
mkPostAccountRequestBodyCapabilities'AuBecsDebitPayments' :: PostAccountRequestBodyCapabilities'AuBecsDebitPayments'
-- | Defines the object schema located at
-- paths./v1/account.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.bacs_debit_payments
-- in the specification.
data PostAccountRequestBodyCapabilities'BacsDebitPayments'
PostAccountRequestBodyCapabilities'BacsDebitPayments' :: Maybe Bool -> PostAccountRequestBodyCapabilities'BacsDebitPayments'
-- | requested
[postAccountRequestBodyCapabilities'BacsDebitPayments'Requested] :: PostAccountRequestBodyCapabilities'BacsDebitPayments' -> Maybe Bool
-- | Create a new
-- PostAccountRequestBodyCapabilities'BacsDebitPayments' with all
-- required fields.
mkPostAccountRequestBodyCapabilities'BacsDebitPayments' :: PostAccountRequestBodyCapabilities'BacsDebitPayments'
-- | Defines the object schema located at
-- paths./v1/account.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.bancontact_payments
-- in the specification.
data PostAccountRequestBodyCapabilities'BancontactPayments'
PostAccountRequestBodyCapabilities'BancontactPayments' :: Maybe Bool -> PostAccountRequestBodyCapabilities'BancontactPayments'
-- | requested
[postAccountRequestBodyCapabilities'BancontactPayments'Requested] :: PostAccountRequestBodyCapabilities'BancontactPayments' -> Maybe Bool
-- | Create a new
-- PostAccountRequestBodyCapabilities'BancontactPayments' with all
-- required fields.
mkPostAccountRequestBodyCapabilities'BancontactPayments' :: PostAccountRequestBodyCapabilities'BancontactPayments'
-- | Defines the object schema located at
-- paths./v1/account.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.card_issuing
-- in the specification.
data PostAccountRequestBodyCapabilities'CardIssuing'
PostAccountRequestBodyCapabilities'CardIssuing' :: Maybe Bool -> PostAccountRequestBodyCapabilities'CardIssuing'
-- | requested
[postAccountRequestBodyCapabilities'CardIssuing'Requested] :: PostAccountRequestBodyCapabilities'CardIssuing' -> Maybe Bool
-- | Create a new PostAccountRequestBodyCapabilities'CardIssuing'
-- with all required fields.
mkPostAccountRequestBodyCapabilities'CardIssuing' :: PostAccountRequestBodyCapabilities'CardIssuing'
-- | Defines the object schema located at
-- paths./v1/account.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.card_payments
-- in the specification.
data PostAccountRequestBodyCapabilities'CardPayments'
PostAccountRequestBodyCapabilities'CardPayments' :: Maybe Bool -> PostAccountRequestBodyCapabilities'CardPayments'
-- | requested
[postAccountRequestBodyCapabilities'CardPayments'Requested] :: PostAccountRequestBodyCapabilities'CardPayments' -> Maybe Bool
-- | Create a new PostAccountRequestBodyCapabilities'CardPayments'
-- with all required fields.
mkPostAccountRequestBodyCapabilities'CardPayments' :: PostAccountRequestBodyCapabilities'CardPayments'
-- | Defines the object schema located at
-- paths./v1/account.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.cartes_bancaires_payments
-- in the specification.
data PostAccountRequestBodyCapabilities'CartesBancairesPayments'
PostAccountRequestBodyCapabilities'CartesBancairesPayments' :: Maybe Bool -> PostAccountRequestBodyCapabilities'CartesBancairesPayments'
-- | requested
[postAccountRequestBodyCapabilities'CartesBancairesPayments'Requested] :: PostAccountRequestBodyCapabilities'CartesBancairesPayments' -> Maybe Bool
-- | Create a new
-- PostAccountRequestBodyCapabilities'CartesBancairesPayments'
-- with all required fields.
mkPostAccountRequestBodyCapabilities'CartesBancairesPayments' :: PostAccountRequestBodyCapabilities'CartesBancairesPayments'
-- | Defines the object schema located at
-- paths./v1/account.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.eps_payments
-- in the specification.
data PostAccountRequestBodyCapabilities'EpsPayments'
PostAccountRequestBodyCapabilities'EpsPayments' :: Maybe Bool -> PostAccountRequestBodyCapabilities'EpsPayments'
-- | requested
[postAccountRequestBodyCapabilities'EpsPayments'Requested] :: PostAccountRequestBodyCapabilities'EpsPayments' -> Maybe Bool
-- | Create a new PostAccountRequestBodyCapabilities'EpsPayments'
-- with all required fields.
mkPostAccountRequestBodyCapabilities'EpsPayments' :: PostAccountRequestBodyCapabilities'EpsPayments'
-- | Defines the object schema located at
-- paths./v1/account.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.fpx_payments
-- in the specification.
data PostAccountRequestBodyCapabilities'FpxPayments'
PostAccountRequestBodyCapabilities'FpxPayments' :: Maybe Bool -> PostAccountRequestBodyCapabilities'FpxPayments'
-- | requested
[postAccountRequestBodyCapabilities'FpxPayments'Requested] :: PostAccountRequestBodyCapabilities'FpxPayments' -> Maybe Bool
-- | Create a new PostAccountRequestBodyCapabilities'FpxPayments'
-- with all required fields.
mkPostAccountRequestBodyCapabilities'FpxPayments' :: PostAccountRequestBodyCapabilities'FpxPayments'
-- | Defines the object schema located at
-- paths./v1/account.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.giropay_payments
-- in the specification.
data PostAccountRequestBodyCapabilities'GiropayPayments'
PostAccountRequestBodyCapabilities'GiropayPayments' :: Maybe Bool -> PostAccountRequestBodyCapabilities'GiropayPayments'
-- | requested
[postAccountRequestBodyCapabilities'GiropayPayments'Requested] :: PostAccountRequestBodyCapabilities'GiropayPayments' -> Maybe Bool
-- | Create a new
-- PostAccountRequestBodyCapabilities'GiropayPayments' with all
-- required fields.
mkPostAccountRequestBodyCapabilities'GiropayPayments' :: PostAccountRequestBodyCapabilities'GiropayPayments'
-- | Defines the object schema located at
-- paths./v1/account.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.grabpay_payments
-- in the specification.
data PostAccountRequestBodyCapabilities'GrabpayPayments'
PostAccountRequestBodyCapabilities'GrabpayPayments' :: Maybe Bool -> PostAccountRequestBodyCapabilities'GrabpayPayments'
-- | requested
[postAccountRequestBodyCapabilities'GrabpayPayments'Requested] :: PostAccountRequestBodyCapabilities'GrabpayPayments' -> Maybe Bool
-- | Create a new
-- PostAccountRequestBodyCapabilities'GrabpayPayments' with all
-- required fields.
mkPostAccountRequestBodyCapabilities'GrabpayPayments' :: PostAccountRequestBodyCapabilities'GrabpayPayments'
-- | Defines the object schema located at
-- paths./v1/account.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.ideal_payments
-- in the specification.
data PostAccountRequestBodyCapabilities'IdealPayments'
PostAccountRequestBodyCapabilities'IdealPayments' :: Maybe Bool -> PostAccountRequestBodyCapabilities'IdealPayments'
-- | requested
[postAccountRequestBodyCapabilities'IdealPayments'Requested] :: PostAccountRequestBodyCapabilities'IdealPayments' -> Maybe Bool
-- | Create a new PostAccountRequestBodyCapabilities'IdealPayments'
-- with all required fields.
mkPostAccountRequestBodyCapabilities'IdealPayments' :: PostAccountRequestBodyCapabilities'IdealPayments'
-- | Defines the object schema located at
-- paths./v1/account.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.jcb_payments
-- in the specification.
data PostAccountRequestBodyCapabilities'JcbPayments'
PostAccountRequestBodyCapabilities'JcbPayments' :: Maybe Bool -> PostAccountRequestBodyCapabilities'JcbPayments'
-- | requested
[postAccountRequestBodyCapabilities'JcbPayments'Requested] :: PostAccountRequestBodyCapabilities'JcbPayments' -> Maybe Bool
-- | Create a new PostAccountRequestBodyCapabilities'JcbPayments'
-- with all required fields.
mkPostAccountRequestBodyCapabilities'JcbPayments' :: PostAccountRequestBodyCapabilities'JcbPayments'
-- | Defines the object schema located at
-- paths./v1/account.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.legacy_payments
-- in the specification.
data PostAccountRequestBodyCapabilities'LegacyPayments'
PostAccountRequestBodyCapabilities'LegacyPayments' :: Maybe Bool -> PostAccountRequestBodyCapabilities'LegacyPayments'
-- | requested
[postAccountRequestBodyCapabilities'LegacyPayments'Requested] :: PostAccountRequestBodyCapabilities'LegacyPayments' -> Maybe Bool
-- | Create a new PostAccountRequestBodyCapabilities'LegacyPayments'
-- with all required fields.
mkPostAccountRequestBodyCapabilities'LegacyPayments' :: PostAccountRequestBodyCapabilities'LegacyPayments'
-- | Defines the object schema located at
-- paths./v1/account.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.oxxo_payments
-- in the specification.
data PostAccountRequestBodyCapabilities'OxxoPayments'
PostAccountRequestBodyCapabilities'OxxoPayments' :: Maybe Bool -> PostAccountRequestBodyCapabilities'OxxoPayments'
-- | requested
[postAccountRequestBodyCapabilities'OxxoPayments'Requested] :: PostAccountRequestBodyCapabilities'OxxoPayments' -> Maybe Bool
-- | Create a new PostAccountRequestBodyCapabilities'OxxoPayments'
-- with all required fields.
mkPostAccountRequestBodyCapabilities'OxxoPayments' :: PostAccountRequestBodyCapabilities'OxxoPayments'
-- | Defines the object schema located at
-- paths./v1/account.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.p24_payments
-- in the specification.
data PostAccountRequestBodyCapabilities'P24Payments'
PostAccountRequestBodyCapabilities'P24Payments' :: Maybe Bool -> PostAccountRequestBodyCapabilities'P24Payments'
-- | requested
[postAccountRequestBodyCapabilities'P24Payments'Requested] :: PostAccountRequestBodyCapabilities'P24Payments' -> Maybe Bool
-- | Create a new PostAccountRequestBodyCapabilities'P24Payments'
-- with all required fields.
mkPostAccountRequestBodyCapabilities'P24Payments' :: PostAccountRequestBodyCapabilities'P24Payments'
-- | Defines the object schema located at
-- paths./v1/account.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.sepa_debit_payments
-- in the specification.
data PostAccountRequestBodyCapabilities'SepaDebitPayments'
PostAccountRequestBodyCapabilities'SepaDebitPayments' :: Maybe Bool -> PostAccountRequestBodyCapabilities'SepaDebitPayments'
-- | requested
[postAccountRequestBodyCapabilities'SepaDebitPayments'Requested] :: PostAccountRequestBodyCapabilities'SepaDebitPayments' -> Maybe Bool
-- | Create a new
-- PostAccountRequestBodyCapabilities'SepaDebitPayments' with all
-- required fields.
mkPostAccountRequestBodyCapabilities'SepaDebitPayments' :: PostAccountRequestBodyCapabilities'SepaDebitPayments'
-- | Defines the object schema located at
-- paths./v1/account.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.sofort_payments
-- in the specification.
data PostAccountRequestBodyCapabilities'SofortPayments'
PostAccountRequestBodyCapabilities'SofortPayments' :: Maybe Bool -> PostAccountRequestBodyCapabilities'SofortPayments'
-- | requested
[postAccountRequestBodyCapabilities'SofortPayments'Requested] :: PostAccountRequestBodyCapabilities'SofortPayments' -> Maybe Bool
-- | Create a new PostAccountRequestBodyCapabilities'SofortPayments'
-- with all required fields.
mkPostAccountRequestBodyCapabilities'SofortPayments' :: PostAccountRequestBodyCapabilities'SofortPayments'
-- | Defines the object schema located at
-- paths./v1/account.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.tax_reporting_us_1099_k
-- in the specification.
data PostAccountRequestBodyCapabilities'TaxReportingUs_1099K'
PostAccountRequestBodyCapabilities'TaxReportingUs_1099K' :: Maybe Bool -> PostAccountRequestBodyCapabilities'TaxReportingUs_1099K'
-- | requested
[postAccountRequestBodyCapabilities'TaxReportingUs_1099K'Requested] :: PostAccountRequestBodyCapabilities'TaxReportingUs_1099K' -> Maybe Bool
-- | Create a new
-- PostAccountRequestBodyCapabilities'TaxReportingUs_1099K' with
-- all required fields.
mkPostAccountRequestBodyCapabilities'TaxReportingUs_1099K' :: PostAccountRequestBodyCapabilities'TaxReportingUs_1099K'
-- | Defines the object schema located at
-- paths./v1/account.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.tax_reporting_us_1099_misc
-- in the specification.
data PostAccountRequestBodyCapabilities'TaxReportingUs_1099Misc'
PostAccountRequestBodyCapabilities'TaxReportingUs_1099Misc' :: Maybe Bool -> PostAccountRequestBodyCapabilities'TaxReportingUs_1099Misc'
-- | requested
[postAccountRequestBodyCapabilities'TaxReportingUs_1099Misc'Requested] :: PostAccountRequestBodyCapabilities'TaxReportingUs_1099Misc' -> Maybe Bool
-- | Create a new
-- PostAccountRequestBodyCapabilities'TaxReportingUs_1099Misc'
-- with all required fields.
mkPostAccountRequestBodyCapabilities'TaxReportingUs_1099Misc' :: PostAccountRequestBodyCapabilities'TaxReportingUs_1099Misc'
-- | Defines the object schema located at
-- paths./v1/account.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.transfers
-- in the specification.
data PostAccountRequestBodyCapabilities'Transfers'
PostAccountRequestBodyCapabilities'Transfers' :: Maybe Bool -> PostAccountRequestBodyCapabilities'Transfers'
-- | requested
[postAccountRequestBodyCapabilities'Transfers'Requested] :: PostAccountRequestBodyCapabilities'Transfers' -> Maybe Bool
-- | Create a new PostAccountRequestBodyCapabilities'Transfers' with
-- all required fields.
mkPostAccountRequestBodyCapabilities'Transfers' :: PostAccountRequestBodyCapabilities'Transfers'
-- | Defines the object schema located at
-- paths./v1/account.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.company
-- in the specification.
--
-- Information about the company or business. This field is available for
-- any `business_type`.
data PostAccountRequestBodyCompany'
PostAccountRequestBodyCompany' :: Maybe PostAccountRequestBodyCompany'Address' -> Maybe PostAccountRequestBodyCompany'AddressKana' -> Maybe PostAccountRequestBodyCompany'AddressKanji' -> Maybe Bool -> Maybe Bool -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe Text -> Maybe PostAccountRequestBodyCompany'Structure' -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe PostAccountRequestBodyCompany'Verification' -> PostAccountRequestBodyCompany'
-- | address
[postAccountRequestBodyCompany'Address] :: PostAccountRequestBodyCompany' -> Maybe PostAccountRequestBodyCompany'Address'
-- | address_kana
[postAccountRequestBodyCompany'AddressKana] :: PostAccountRequestBodyCompany' -> Maybe PostAccountRequestBodyCompany'AddressKana'
-- | address_kanji
[postAccountRequestBodyCompany'AddressKanji] :: PostAccountRequestBodyCompany' -> Maybe PostAccountRequestBodyCompany'AddressKanji'
-- | directors_provided
[postAccountRequestBodyCompany'DirectorsProvided] :: PostAccountRequestBodyCompany' -> Maybe Bool
-- | executives_provided
[postAccountRequestBodyCompany'ExecutivesProvided] :: PostAccountRequestBodyCompany' -> Maybe Bool
-- | name
--
-- Constraints:
--
--
-- - Maximum length of 100
--
[postAccountRequestBodyCompany'Name] :: PostAccountRequestBodyCompany' -> Maybe Text
-- | name_kana
--
-- Constraints:
--
--
-- - Maximum length of 100
--
[postAccountRequestBodyCompany'NameKana] :: PostAccountRequestBodyCompany' -> Maybe Text
-- | name_kanji
--
-- Constraints:
--
--
-- - Maximum length of 100
--
[postAccountRequestBodyCompany'NameKanji] :: PostAccountRequestBodyCompany' -> Maybe Text
-- | owners_provided
[postAccountRequestBodyCompany'OwnersProvided] :: PostAccountRequestBodyCompany' -> Maybe Bool
-- | phone
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountRequestBodyCompany'Phone] :: PostAccountRequestBodyCompany' -> Maybe Text
-- | registration_number
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountRequestBodyCompany'RegistrationNumber] :: PostAccountRequestBodyCompany' -> Maybe Text
-- | structure
[postAccountRequestBodyCompany'Structure] :: PostAccountRequestBodyCompany' -> Maybe PostAccountRequestBodyCompany'Structure'
-- | tax_id
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountRequestBodyCompany'TaxId] :: PostAccountRequestBodyCompany' -> Maybe Text
-- | tax_id_registrar
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountRequestBodyCompany'TaxIdRegistrar] :: PostAccountRequestBodyCompany' -> Maybe Text
-- | vat_id
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountRequestBodyCompany'VatId] :: PostAccountRequestBodyCompany' -> Maybe Text
-- | verification
[postAccountRequestBodyCompany'Verification] :: PostAccountRequestBodyCompany' -> Maybe PostAccountRequestBodyCompany'Verification'
-- | Create a new PostAccountRequestBodyCompany' with all required
-- fields.
mkPostAccountRequestBodyCompany' :: PostAccountRequestBodyCompany'
-- | Defines the object schema located at
-- paths./v1/account.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.company.properties.address
-- in the specification.
data PostAccountRequestBodyCompany'Address'
PostAccountRequestBodyCompany'Address' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PostAccountRequestBodyCompany'Address'
-- | city
--
-- Constraints:
--
--
-- - Maximum length of 100
--
[postAccountRequestBodyCompany'Address'City] :: PostAccountRequestBodyCompany'Address' -> Maybe Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountRequestBodyCompany'Address'Country] :: PostAccountRequestBodyCompany'Address' -> Maybe Text
-- | line1
--
-- Constraints:
--
--
-- - Maximum length of 200
--
[postAccountRequestBodyCompany'Address'Line1] :: PostAccountRequestBodyCompany'Address' -> Maybe Text
-- | line2
--
-- Constraints:
--
--
-- - Maximum length of 200
--
[postAccountRequestBodyCompany'Address'Line2] :: PostAccountRequestBodyCompany'Address' -> Maybe Text
-- | postal_code
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountRequestBodyCompany'Address'PostalCode] :: PostAccountRequestBodyCompany'Address' -> Maybe Text
-- | state
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountRequestBodyCompany'Address'State] :: PostAccountRequestBodyCompany'Address' -> Maybe Text
-- | Create a new PostAccountRequestBodyCompany'Address' with all
-- required fields.
mkPostAccountRequestBodyCompany'Address' :: PostAccountRequestBodyCompany'Address'
-- | Defines the object schema located at
-- paths./v1/account.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.company.properties.address_kana
-- in the specification.
data PostAccountRequestBodyCompany'AddressKana'
PostAccountRequestBodyCompany'AddressKana' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PostAccountRequestBodyCompany'AddressKana'
-- | city
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountRequestBodyCompany'AddressKana'City] :: PostAccountRequestBodyCompany'AddressKana' -> Maybe Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountRequestBodyCompany'AddressKana'Country] :: PostAccountRequestBodyCompany'AddressKana' -> Maybe Text
-- | line1
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountRequestBodyCompany'AddressKana'Line1] :: PostAccountRequestBodyCompany'AddressKana' -> Maybe Text
-- | line2
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountRequestBodyCompany'AddressKana'Line2] :: PostAccountRequestBodyCompany'AddressKana' -> Maybe Text
-- | postal_code
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountRequestBodyCompany'AddressKana'PostalCode] :: PostAccountRequestBodyCompany'AddressKana' -> Maybe Text
-- | state
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountRequestBodyCompany'AddressKana'State] :: PostAccountRequestBodyCompany'AddressKana' -> Maybe Text
-- | town
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountRequestBodyCompany'AddressKana'Town] :: PostAccountRequestBodyCompany'AddressKana' -> Maybe Text
-- | Create a new PostAccountRequestBodyCompany'AddressKana' with
-- all required fields.
mkPostAccountRequestBodyCompany'AddressKana' :: PostAccountRequestBodyCompany'AddressKana'
-- | Defines the object schema located at
-- paths./v1/account.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.company.properties.address_kanji
-- in the specification.
data PostAccountRequestBodyCompany'AddressKanji'
PostAccountRequestBodyCompany'AddressKanji' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PostAccountRequestBodyCompany'AddressKanji'
-- | city
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountRequestBodyCompany'AddressKanji'City] :: PostAccountRequestBodyCompany'AddressKanji' -> Maybe Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountRequestBodyCompany'AddressKanji'Country] :: PostAccountRequestBodyCompany'AddressKanji' -> Maybe Text
-- | line1
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountRequestBodyCompany'AddressKanji'Line1] :: PostAccountRequestBodyCompany'AddressKanji' -> Maybe Text
-- | line2
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountRequestBodyCompany'AddressKanji'Line2] :: PostAccountRequestBodyCompany'AddressKanji' -> Maybe Text
-- | postal_code
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountRequestBodyCompany'AddressKanji'PostalCode] :: PostAccountRequestBodyCompany'AddressKanji' -> Maybe Text
-- | state
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountRequestBodyCompany'AddressKanji'State] :: PostAccountRequestBodyCompany'AddressKanji' -> Maybe Text
-- | town
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountRequestBodyCompany'AddressKanji'Town] :: PostAccountRequestBodyCompany'AddressKanji' -> Maybe Text
-- | Create a new PostAccountRequestBodyCompany'AddressKanji' with
-- all required fields.
mkPostAccountRequestBodyCompany'AddressKanji' :: PostAccountRequestBodyCompany'AddressKanji'
-- | Defines the enum schema located at
-- paths./v1/account.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.company.properties.structure
-- in the specification.
data PostAccountRequestBodyCompany'Structure'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostAccountRequestBodyCompany'Structure'Other :: Value -> PostAccountRequestBodyCompany'Structure'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostAccountRequestBodyCompany'Structure'Typed :: Text -> PostAccountRequestBodyCompany'Structure'
-- | Represents the JSON value ""
PostAccountRequestBodyCompany'Structure'EnumEmptyString :: PostAccountRequestBodyCompany'Structure'
-- | Represents the JSON value "free_zone_establishment"
PostAccountRequestBodyCompany'Structure'EnumFreeZoneEstablishment :: PostAccountRequestBodyCompany'Structure'
-- | Represents the JSON value "free_zone_llc"
PostAccountRequestBodyCompany'Structure'EnumFreeZoneLlc :: PostAccountRequestBodyCompany'Structure'
-- | Represents the JSON value "government_instrumentality"
PostAccountRequestBodyCompany'Structure'EnumGovernmentInstrumentality :: PostAccountRequestBodyCompany'Structure'
-- | Represents the JSON value "governmental_unit"
PostAccountRequestBodyCompany'Structure'EnumGovernmentalUnit :: PostAccountRequestBodyCompany'Structure'
-- | Represents the JSON value "incorporated_non_profit"
PostAccountRequestBodyCompany'Structure'EnumIncorporatedNonProfit :: PostAccountRequestBodyCompany'Structure'
-- | Represents the JSON value "limited_liability_partnership"
PostAccountRequestBodyCompany'Structure'EnumLimitedLiabilityPartnership :: PostAccountRequestBodyCompany'Structure'
-- | Represents the JSON value "llc"
PostAccountRequestBodyCompany'Structure'EnumLlc :: PostAccountRequestBodyCompany'Structure'
-- | Represents the JSON value "multi_member_llc"
PostAccountRequestBodyCompany'Structure'EnumMultiMemberLlc :: PostAccountRequestBodyCompany'Structure'
-- | Represents the JSON value "private_company"
PostAccountRequestBodyCompany'Structure'EnumPrivateCompany :: PostAccountRequestBodyCompany'Structure'
-- | Represents the JSON value "private_corporation"
PostAccountRequestBodyCompany'Structure'EnumPrivateCorporation :: PostAccountRequestBodyCompany'Structure'
-- | Represents the JSON value "private_partnership"
PostAccountRequestBodyCompany'Structure'EnumPrivatePartnership :: PostAccountRequestBodyCompany'Structure'
-- | Represents the JSON value "public_company"
PostAccountRequestBodyCompany'Structure'EnumPublicCompany :: PostAccountRequestBodyCompany'Structure'
-- | Represents the JSON value "public_corporation"
PostAccountRequestBodyCompany'Structure'EnumPublicCorporation :: PostAccountRequestBodyCompany'Structure'
-- | Represents the JSON value "public_partnership"
PostAccountRequestBodyCompany'Structure'EnumPublicPartnership :: PostAccountRequestBodyCompany'Structure'
-- | Represents the JSON value "single_member_llc"
PostAccountRequestBodyCompany'Structure'EnumSingleMemberLlc :: PostAccountRequestBodyCompany'Structure'
-- | Represents the JSON value "sole_establishment"
PostAccountRequestBodyCompany'Structure'EnumSoleEstablishment :: PostAccountRequestBodyCompany'Structure'
-- | Represents the JSON value "sole_proprietorship"
PostAccountRequestBodyCompany'Structure'EnumSoleProprietorship :: PostAccountRequestBodyCompany'Structure'
-- | Represents the JSON value
-- "tax_exempt_government_instrumentality"
PostAccountRequestBodyCompany'Structure'EnumTaxExemptGovernmentInstrumentality :: PostAccountRequestBodyCompany'Structure'
-- | Represents the JSON value "unincorporated_association"
PostAccountRequestBodyCompany'Structure'EnumUnincorporatedAssociation :: PostAccountRequestBodyCompany'Structure'
-- | Represents the JSON value "unincorporated_non_profit"
PostAccountRequestBodyCompany'Structure'EnumUnincorporatedNonProfit :: PostAccountRequestBodyCompany'Structure'
-- | Defines the object schema located at
-- paths./v1/account.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.company.properties.verification
-- in the specification.
data PostAccountRequestBodyCompany'Verification'
PostAccountRequestBodyCompany'Verification' :: Maybe PostAccountRequestBodyCompany'Verification'Document' -> PostAccountRequestBodyCompany'Verification'
-- | document
[postAccountRequestBodyCompany'Verification'Document] :: PostAccountRequestBodyCompany'Verification' -> Maybe PostAccountRequestBodyCompany'Verification'Document'
-- | Create a new PostAccountRequestBodyCompany'Verification' with
-- all required fields.
mkPostAccountRequestBodyCompany'Verification' :: PostAccountRequestBodyCompany'Verification'
-- | Defines the object schema located at
-- paths./v1/account.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.company.properties.verification.properties.document
-- in the specification.
data PostAccountRequestBodyCompany'Verification'Document'
PostAccountRequestBodyCompany'Verification'Document' :: Maybe Text -> Maybe Text -> PostAccountRequestBodyCompany'Verification'Document'
-- | back
--
-- Constraints:
--
--
-- - Maximum length of 500
--
[postAccountRequestBodyCompany'Verification'Document'Back] :: PostAccountRequestBodyCompany'Verification'Document' -> Maybe Text
-- | front
--
-- Constraints:
--
--
-- - Maximum length of 500
--
[postAccountRequestBodyCompany'Verification'Document'Front] :: PostAccountRequestBodyCompany'Verification'Document' -> Maybe Text
-- | Create a new
-- PostAccountRequestBodyCompany'Verification'Document' with all
-- required fields.
mkPostAccountRequestBodyCompany'Verification'Document' :: PostAccountRequestBodyCompany'Verification'Document'
-- | Defines the object schema located at
-- paths./v1/account.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.documents
-- in the specification.
--
-- Documents that may be submitted to satisfy various informational
-- requests.
data PostAccountRequestBodyDocuments'
PostAccountRequestBodyDocuments' :: Maybe PostAccountRequestBodyDocuments'BankAccountOwnershipVerification' -> Maybe PostAccountRequestBodyDocuments'CompanyLicense' -> Maybe PostAccountRequestBodyDocuments'CompanyMemorandumOfAssociation' -> Maybe PostAccountRequestBodyDocuments'CompanyMinisterialDecree' -> Maybe PostAccountRequestBodyDocuments'CompanyRegistrationVerification' -> Maybe PostAccountRequestBodyDocuments'CompanyTaxIdVerification' -> PostAccountRequestBodyDocuments'
-- | bank_account_ownership_verification
[postAccountRequestBodyDocuments'BankAccountOwnershipVerification] :: PostAccountRequestBodyDocuments' -> Maybe PostAccountRequestBodyDocuments'BankAccountOwnershipVerification'
-- | company_license
[postAccountRequestBodyDocuments'CompanyLicense] :: PostAccountRequestBodyDocuments' -> Maybe PostAccountRequestBodyDocuments'CompanyLicense'
-- | company_memorandum_of_association
[postAccountRequestBodyDocuments'CompanyMemorandumOfAssociation] :: PostAccountRequestBodyDocuments' -> Maybe PostAccountRequestBodyDocuments'CompanyMemorandumOfAssociation'
-- | company_ministerial_decree
[postAccountRequestBodyDocuments'CompanyMinisterialDecree] :: PostAccountRequestBodyDocuments' -> Maybe PostAccountRequestBodyDocuments'CompanyMinisterialDecree'
-- | company_registration_verification
[postAccountRequestBodyDocuments'CompanyRegistrationVerification] :: PostAccountRequestBodyDocuments' -> Maybe PostAccountRequestBodyDocuments'CompanyRegistrationVerification'
-- | company_tax_id_verification
[postAccountRequestBodyDocuments'CompanyTaxIdVerification] :: PostAccountRequestBodyDocuments' -> Maybe PostAccountRequestBodyDocuments'CompanyTaxIdVerification'
-- | Create a new PostAccountRequestBodyDocuments' with all required
-- fields.
mkPostAccountRequestBodyDocuments' :: PostAccountRequestBodyDocuments'
-- | Defines the object schema located at
-- paths./v1/account.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.documents.properties.bank_account_ownership_verification
-- in the specification.
data PostAccountRequestBodyDocuments'BankAccountOwnershipVerification'
PostAccountRequestBodyDocuments'BankAccountOwnershipVerification' :: Maybe [Text] -> PostAccountRequestBodyDocuments'BankAccountOwnershipVerification'
-- | files
[postAccountRequestBodyDocuments'BankAccountOwnershipVerification'Files] :: PostAccountRequestBodyDocuments'BankAccountOwnershipVerification' -> Maybe [Text]
-- | Create a new
-- PostAccountRequestBodyDocuments'BankAccountOwnershipVerification'
-- with all required fields.
mkPostAccountRequestBodyDocuments'BankAccountOwnershipVerification' :: PostAccountRequestBodyDocuments'BankAccountOwnershipVerification'
-- | Defines the object schema located at
-- paths./v1/account.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.documents.properties.company_license
-- in the specification.
data PostAccountRequestBodyDocuments'CompanyLicense'
PostAccountRequestBodyDocuments'CompanyLicense' :: Maybe [Text] -> PostAccountRequestBodyDocuments'CompanyLicense'
-- | files
[postAccountRequestBodyDocuments'CompanyLicense'Files] :: PostAccountRequestBodyDocuments'CompanyLicense' -> Maybe [Text]
-- | Create a new PostAccountRequestBodyDocuments'CompanyLicense'
-- with all required fields.
mkPostAccountRequestBodyDocuments'CompanyLicense' :: PostAccountRequestBodyDocuments'CompanyLicense'
-- | Defines the object schema located at
-- paths./v1/account.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.documents.properties.company_memorandum_of_association
-- in the specification.
data PostAccountRequestBodyDocuments'CompanyMemorandumOfAssociation'
PostAccountRequestBodyDocuments'CompanyMemorandumOfAssociation' :: Maybe [Text] -> PostAccountRequestBodyDocuments'CompanyMemorandumOfAssociation'
-- | files
[postAccountRequestBodyDocuments'CompanyMemorandumOfAssociation'Files] :: PostAccountRequestBodyDocuments'CompanyMemorandumOfAssociation' -> Maybe [Text]
-- | Create a new
-- PostAccountRequestBodyDocuments'CompanyMemorandumOfAssociation'
-- with all required fields.
mkPostAccountRequestBodyDocuments'CompanyMemorandumOfAssociation' :: PostAccountRequestBodyDocuments'CompanyMemorandumOfAssociation'
-- | Defines the object schema located at
-- paths./v1/account.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.documents.properties.company_ministerial_decree
-- in the specification.
data PostAccountRequestBodyDocuments'CompanyMinisterialDecree'
PostAccountRequestBodyDocuments'CompanyMinisterialDecree' :: Maybe [Text] -> PostAccountRequestBodyDocuments'CompanyMinisterialDecree'
-- | files
[postAccountRequestBodyDocuments'CompanyMinisterialDecree'Files] :: PostAccountRequestBodyDocuments'CompanyMinisterialDecree' -> Maybe [Text]
-- | Create a new
-- PostAccountRequestBodyDocuments'CompanyMinisterialDecree' with
-- all required fields.
mkPostAccountRequestBodyDocuments'CompanyMinisterialDecree' :: PostAccountRequestBodyDocuments'CompanyMinisterialDecree'
-- | Defines the object schema located at
-- paths./v1/account.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.documents.properties.company_registration_verification
-- in the specification.
data PostAccountRequestBodyDocuments'CompanyRegistrationVerification'
PostAccountRequestBodyDocuments'CompanyRegistrationVerification' :: Maybe [Text] -> PostAccountRequestBodyDocuments'CompanyRegistrationVerification'
-- | files
[postAccountRequestBodyDocuments'CompanyRegistrationVerification'Files] :: PostAccountRequestBodyDocuments'CompanyRegistrationVerification' -> Maybe [Text]
-- | Create a new
-- PostAccountRequestBodyDocuments'CompanyRegistrationVerification'
-- with all required fields.
mkPostAccountRequestBodyDocuments'CompanyRegistrationVerification' :: PostAccountRequestBodyDocuments'CompanyRegistrationVerification'
-- | Defines the object schema located at
-- paths./v1/account.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.documents.properties.company_tax_id_verification
-- in the specification.
data PostAccountRequestBodyDocuments'CompanyTaxIdVerification'
PostAccountRequestBodyDocuments'CompanyTaxIdVerification' :: Maybe [Text] -> PostAccountRequestBodyDocuments'CompanyTaxIdVerification'
-- | files
[postAccountRequestBodyDocuments'CompanyTaxIdVerification'Files] :: PostAccountRequestBodyDocuments'CompanyTaxIdVerification' -> Maybe [Text]
-- | Create a new
-- PostAccountRequestBodyDocuments'CompanyTaxIdVerification' with
-- all required fields.
mkPostAccountRequestBodyDocuments'CompanyTaxIdVerification' :: PostAccountRequestBodyDocuments'CompanyTaxIdVerification'
-- | Defines the object schema located at
-- paths./v1/account.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.individual
-- in the specification.
--
-- Information about the person represented by the account. This field is
-- null unless `business_type` is set to `individual`.
data PostAccountRequestBodyIndividual'
PostAccountRequestBodyIndividual' :: Maybe PostAccountRequestBodyIndividual'Address' -> Maybe PostAccountRequestBodyIndividual'AddressKana' -> Maybe PostAccountRequestBodyIndividual'AddressKanji' -> Maybe PostAccountRequestBodyIndividual'Dob'Variants -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe PostAccountRequestBodyIndividual'Metadata'Variants -> Maybe Text -> Maybe PostAccountRequestBodyIndividual'PoliticalExposure' -> Maybe Text -> Maybe PostAccountRequestBodyIndividual'Verification' -> PostAccountRequestBodyIndividual'
-- | address
[postAccountRequestBodyIndividual'Address] :: PostAccountRequestBodyIndividual' -> Maybe PostAccountRequestBodyIndividual'Address'
-- | address_kana
[postAccountRequestBodyIndividual'AddressKana] :: PostAccountRequestBodyIndividual' -> Maybe PostAccountRequestBodyIndividual'AddressKana'
-- | address_kanji
[postAccountRequestBodyIndividual'AddressKanji] :: PostAccountRequestBodyIndividual' -> Maybe PostAccountRequestBodyIndividual'AddressKanji'
-- | dob
[postAccountRequestBodyIndividual'Dob] :: PostAccountRequestBodyIndividual' -> Maybe PostAccountRequestBodyIndividual'Dob'Variants
-- | email
[postAccountRequestBodyIndividual'Email] :: PostAccountRequestBodyIndividual' -> Maybe Text
-- | first_name
--
-- Constraints:
--
--
-- - Maximum length of 100
--
[postAccountRequestBodyIndividual'FirstName] :: PostAccountRequestBodyIndividual' -> Maybe Text
-- | first_name_kana
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountRequestBodyIndividual'FirstNameKana] :: PostAccountRequestBodyIndividual' -> Maybe Text
-- | first_name_kanji
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountRequestBodyIndividual'FirstNameKanji] :: PostAccountRequestBodyIndividual' -> Maybe Text
-- | gender
[postAccountRequestBodyIndividual'Gender] :: PostAccountRequestBodyIndividual' -> Maybe Text
-- | id_number
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountRequestBodyIndividual'IdNumber] :: PostAccountRequestBodyIndividual' -> Maybe Text
-- | last_name
--
-- Constraints:
--
--
-- - Maximum length of 100
--
[postAccountRequestBodyIndividual'LastName] :: PostAccountRequestBodyIndividual' -> Maybe Text
-- | last_name_kana
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountRequestBodyIndividual'LastNameKana] :: PostAccountRequestBodyIndividual' -> Maybe Text
-- | last_name_kanji
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountRequestBodyIndividual'LastNameKanji] :: PostAccountRequestBodyIndividual' -> Maybe Text
-- | maiden_name
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountRequestBodyIndividual'MaidenName] :: PostAccountRequestBodyIndividual' -> Maybe Text
-- | metadata
[postAccountRequestBodyIndividual'Metadata] :: PostAccountRequestBodyIndividual' -> Maybe PostAccountRequestBodyIndividual'Metadata'Variants
-- | phone
[postAccountRequestBodyIndividual'Phone] :: PostAccountRequestBodyIndividual' -> Maybe Text
-- | political_exposure
[postAccountRequestBodyIndividual'PoliticalExposure] :: PostAccountRequestBodyIndividual' -> Maybe PostAccountRequestBodyIndividual'PoliticalExposure'
-- | ssn_last_4
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountRequestBodyIndividual'SsnLast_4] :: PostAccountRequestBodyIndividual' -> Maybe Text
-- | verification
[postAccountRequestBodyIndividual'Verification] :: PostAccountRequestBodyIndividual' -> Maybe PostAccountRequestBodyIndividual'Verification'
-- | Create a new PostAccountRequestBodyIndividual' with all
-- required fields.
mkPostAccountRequestBodyIndividual' :: PostAccountRequestBodyIndividual'
-- | Defines the object schema located at
-- paths./v1/account.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.individual.properties.address
-- in the specification.
data PostAccountRequestBodyIndividual'Address'
PostAccountRequestBodyIndividual'Address' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PostAccountRequestBodyIndividual'Address'
-- | city
--
-- Constraints:
--
--
-- - Maximum length of 100
--
[postAccountRequestBodyIndividual'Address'City] :: PostAccountRequestBodyIndividual'Address' -> Maybe Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountRequestBodyIndividual'Address'Country] :: PostAccountRequestBodyIndividual'Address' -> Maybe Text
-- | line1
--
-- Constraints:
--
--
-- - Maximum length of 200
--
[postAccountRequestBodyIndividual'Address'Line1] :: PostAccountRequestBodyIndividual'Address' -> Maybe Text
-- | line2
--
-- Constraints:
--
--
-- - Maximum length of 200
--
[postAccountRequestBodyIndividual'Address'Line2] :: PostAccountRequestBodyIndividual'Address' -> Maybe Text
-- | postal_code
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountRequestBodyIndividual'Address'PostalCode] :: PostAccountRequestBodyIndividual'Address' -> Maybe Text
-- | state
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountRequestBodyIndividual'Address'State] :: PostAccountRequestBodyIndividual'Address' -> Maybe Text
-- | Create a new PostAccountRequestBodyIndividual'Address' with all
-- required fields.
mkPostAccountRequestBodyIndividual'Address' :: PostAccountRequestBodyIndividual'Address'
-- | Defines the object schema located at
-- paths./v1/account.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.individual.properties.address_kana
-- in the specification.
data PostAccountRequestBodyIndividual'AddressKana'
PostAccountRequestBodyIndividual'AddressKana' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PostAccountRequestBodyIndividual'AddressKana'
-- | city
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountRequestBodyIndividual'AddressKana'City] :: PostAccountRequestBodyIndividual'AddressKana' -> Maybe Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountRequestBodyIndividual'AddressKana'Country] :: PostAccountRequestBodyIndividual'AddressKana' -> Maybe Text
-- | line1
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountRequestBodyIndividual'AddressKana'Line1] :: PostAccountRequestBodyIndividual'AddressKana' -> Maybe Text
-- | line2
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountRequestBodyIndividual'AddressKana'Line2] :: PostAccountRequestBodyIndividual'AddressKana' -> Maybe Text
-- | postal_code
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountRequestBodyIndividual'AddressKana'PostalCode] :: PostAccountRequestBodyIndividual'AddressKana' -> Maybe Text
-- | state
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountRequestBodyIndividual'AddressKana'State] :: PostAccountRequestBodyIndividual'AddressKana' -> Maybe Text
-- | town
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountRequestBodyIndividual'AddressKana'Town] :: PostAccountRequestBodyIndividual'AddressKana' -> Maybe Text
-- | Create a new PostAccountRequestBodyIndividual'AddressKana' with
-- all required fields.
mkPostAccountRequestBodyIndividual'AddressKana' :: PostAccountRequestBodyIndividual'AddressKana'
-- | Defines the object schema located at
-- paths./v1/account.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.individual.properties.address_kanji
-- in the specification.
data PostAccountRequestBodyIndividual'AddressKanji'
PostAccountRequestBodyIndividual'AddressKanji' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PostAccountRequestBodyIndividual'AddressKanji'
-- | city
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountRequestBodyIndividual'AddressKanji'City] :: PostAccountRequestBodyIndividual'AddressKanji' -> Maybe Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountRequestBodyIndividual'AddressKanji'Country] :: PostAccountRequestBodyIndividual'AddressKanji' -> Maybe Text
-- | line1
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountRequestBodyIndividual'AddressKanji'Line1] :: PostAccountRequestBodyIndividual'AddressKanji' -> Maybe Text
-- | line2
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountRequestBodyIndividual'AddressKanji'Line2] :: PostAccountRequestBodyIndividual'AddressKanji' -> Maybe Text
-- | postal_code
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountRequestBodyIndividual'AddressKanji'PostalCode] :: PostAccountRequestBodyIndividual'AddressKanji' -> Maybe Text
-- | state
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountRequestBodyIndividual'AddressKanji'State] :: PostAccountRequestBodyIndividual'AddressKanji' -> Maybe Text
-- | town
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountRequestBodyIndividual'AddressKanji'Town] :: PostAccountRequestBodyIndividual'AddressKanji' -> Maybe Text
-- | Create a new PostAccountRequestBodyIndividual'AddressKanji'
-- with all required fields.
mkPostAccountRequestBodyIndividual'AddressKanji' :: PostAccountRequestBodyIndividual'AddressKanji'
-- | Defines the object schema located at
-- paths./v1/account.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.individual.properties.dob.anyOf
-- in the specification.
data PostAccountRequestBodyIndividual'Dob'OneOf1
PostAccountRequestBodyIndividual'Dob'OneOf1 :: Int -> Int -> Int -> PostAccountRequestBodyIndividual'Dob'OneOf1
-- | day
[postAccountRequestBodyIndividual'Dob'OneOf1Day] :: PostAccountRequestBodyIndividual'Dob'OneOf1 -> Int
-- | month
[postAccountRequestBodyIndividual'Dob'OneOf1Month] :: PostAccountRequestBodyIndividual'Dob'OneOf1 -> Int
-- | year
[postAccountRequestBodyIndividual'Dob'OneOf1Year] :: PostAccountRequestBodyIndividual'Dob'OneOf1 -> Int
-- | Create a new PostAccountRequestBodyIndividual'Dob'OneOf1 with
-- all required fields.
mkPostAccountRequestBodyIndividual'Dob'OneOf1 :: Int -> Int -> Int -> PostAccountRequestBodyIndividual'Dob'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/account.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.individual.properties.dob.anyOf
-- in the specification.
data PostAccountRequestBodyIndividual'Dob'Variants
-- | Represents the JSON value ""
PostAccountRequestBodyIndividual'Dob'EmptyString :: PostAccountRequestBodyIndividual'Dob'Variants
PostAccountRequestBodyIndividual'Dob'PostAccountRequestBodyIndividual'Dob'OneOf1 :: PostAccountRequestBodyIndividual'Dob'OneOf1 -> PostAccountRequestBodyIndividual'Dob'Variants
-- | Defines the oneOf schema located at
-- paths./v1/account.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.individual.properties.metadata.anyOf
-- in the specification.
data PostAccountRequestBodyIndividual'Metadata'Variants
-- | Represents the JSON value ""
PostAccountRequestBodyIndividual'Metadata'EmptyString :: PostAccountRequestBodyIndividual'Metadata'Variants
PostAccountRequestBodyIndividual'Metadata'Object :: Object -> PostAccountRequestBodyIndividual'Metadata'Variants
-- | Defines the enum schema located at
-- paths./v1/account.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.individual.properties.political_exposure
-- in the specification.
data PostAccountRequestBodyIndividual'PoliticalExposure'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostAccountRequestBodyIndividual'PoliticalExposure'Other :: Value -> PostAccountRequestBodyIndividual'PoliticalExposure'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostAccountRequestBodyIndividual'PoliticalExposure'Typed :: Text -> PostAccountRequestBodyIndividual'PoliticalExposure'
-- | Represents the JSON value "existing"
PostAccountRequestBodyIndividual'PoliticalExposure'EnumExisting :: PostAccountRequestBodyIndividual'PoliticalExposure'
-- | Represents the JSON value "none"
PostAccountRequestBodyIndividual'PoliticalExposure'EnumNone :: PostAccountRequestBodyIndividual'PoliticalExposure'
-- | Defines the object schema located at
-- paths./v1/account.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.individual.properties.verification
-- in the specification.
data PostAccountRequestBodyIndividual'Verification'
PostAccountRequestBodyIndividual'Verification' :: Maybe PostAccountRequestBodyIndividual'Verification'AdditionalDocument' -> Maybe PostAccountRequestBodyIndividual'Verification'Document' -> PostAccountRequestBodyIndividual'Verification'
-- | additional_document
[postAccountRequestBodyIndividual'Verification'AdditionalDocument] :: PostAccountRequestBodyIndividual'Verification' -> Maybe PostAccountRequestBodyIndividual'Verification'AdditionalDocument'
-- | document
[postAccountRequestBodyIndividual'Verification'Document] :: PostAccountRequestBodyIndividual'Verification' -> Maybe PostAccountRequestBodyIndividual'Verification'Document'
-- | Create a new PostAccountRequestBodyIndividual'Verification'
-- with all required fields.
mkPostAccountRequestBodyIndividual'Verification' :: PostAccountRequestBodyIndividual'Verification'
-- | Defines the object schema located at
-- paths./v1/account.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.individual.properties.verification.properties.additional_document
-- in the specification.
data PostAccountRequestBodyIndividual'Verification'AdditionalDocument'
PostAccountRequestBodyIndividual'Verification'AdditionalDocument' :: Maybe Text -> Maybe Text -> PostAccountRequestBodyIndividual'Verification'AdditionalDocument'
-- | back
--
-- Constraints:
--
--
-- - Maximum length of 500
--
[postAccountRequestBodyIndividual'Verification'AdditionalDocument'Back] :: PostAccountRequestBodyIndividual'Verification'AdditionalDocument' -> Maybe Text
-- | front
--
-- Constraints:
--
--
-- - Maximum length of 500
--
[postAccountRequestBodyIndividual'Verification'AdditionalDocument'Front] :: PostAccountRequestBodyIndividual'Verification'AdditionalDocument' -> Maybe Text
-- | Create a new
-- PostAccountRequestBodyIndividual'Verification'AdditionalDocument'
-- with all required fields.
mkPostAccountRequestBodyIndividual'Verification'AdditionalDocument' :: PostAccountRequestBodyIndividual'Verification'AdditionalDocument'
-- | Defines the object schema located at
-- paths./v1/account.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.individual.properties.verification.properties.document
-- in the specification.
data PostAccountRequestBodyIndividual'Verification'Document'
PostAccountRequestBodyIndividual'Verification'Document' :: Maybe Text -> Maybe Text -> PostAccountRequestBodyIndividual'Verification'Document'
-- | back
--
-- Constraints:
--
--
-- - Maximum length of 500
--
[postAccountRequestBodyIndividual'Verification'Document'Back] :: PostAccountRequestBodyIndividual'Verification'Document' -> Maybe Text
-- | front
--
-- Constraints:
--
--
-- - Maximum length of 500
--
[postAccountRequestBodyIndividual'Verification'Document'Front] :: PostAccountRequestBodyIndividual'Verification'Document' -> Maybe Text
-- | Create a new
-- PostAccountRequestBodyIndividual'Verification'Document' with
-- all required fields.
mkPostAccountRequestBodyIndividual'Verification'Document' :: PostAccountRequestBodyIndividual'Verification'Document'
-- | Defines the oneOf schema located at
-- paths./v1/account.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.metadata.anyOf
-- in the specification.
--
-- Set of key-value pairs that you can attach to an object. This
-- can be useful for storing additional information about the object in a
-- structured format. Individual keys can be unset by posting an empty
-- value to them. All keys can be unset by posting an empty value to
-- `metadata`.
data PostAccountRequestBodyMetadata'Variants
-- | Represents the JSON value ""
PostAccountRequestBodyMetadata'EmptyString :: PostAccountRequestBodyMetadata'Variants
PostAccountRequestBodyMetadata'Object :: Object -> PostAccountRequestBodyMetadata'Variants
-- | Defines the object schema located at
-- paths./v1/account.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.settings
-- in the specification.
--
-- Options for customizing how the account functions within Stripe.
data PostAccountRequestBodySettings'
PostAccountRequestBodySettings' :: Maybe PostAccountRequestBodySettings'Branding' -> Maybe PostAccountRequestBodySettings'CardIssuing' -> Maybe PostAccountRequestBodySettings'CardPayments' -> Maybe PostAccountRequestBodySettings'Payments' -> Maybe PostAccountRequestBodySettings'Payouts' -> PostAccountRequestBodySettings'
-- | branding
[postAccountRequestBodySettings'Branding] :: PostAccountRequestBodySettings' -> Maybe PostAccountRequestBodySettings'Branding'
-- | card_issuing
[postAccountRequestBodySettings'CardIssuing] :: PostAccountRequestBodySettings' -> Maybe PostAccountRequestBodySettings'CardIssuing'
-- | card_payments
[postAccountRequestBodySettings'CardPayments] :: PostAccountRequestBodySettings' -> Maybe PostAccountRequestBodySettings'CardPayments'
-- | payments
[postAccountRequestBodySettings'Payments] :: PostAccountRequestBodySettings' -> Maybe PostAccountRequestBodySettings'Payments'
-- | payouts
[postAccountRequestBodySettings'Payouts] :: PostAccountRequestBodySettings' -> Maybe PostAccountRequestBodySettings'Payouts'
-- | Create a new PostAccountRequestBodySettings' with all required
-- fields.
mkPostAccountRequestBodySettings' :: PostAccountRequestBodySettings'
-- | Defines the object schema located at
-- paths./v1/account.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.settings.properties.branding
-- in the specification.
data PostAccountRequestBodySettings'Branding'
PostAccountRequestBodySettings'Branding' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PostAccountRequestBodySettings'Branding'
-- | icon
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountRequestBodySettings'Branding'Icon] :: PostAccountRequestBodySettings'Branding' -> Maybe Text
-- | logo
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountRequestBodySettings'Branding'Logo] :: PostAccountRequestBodySettings'Branding' -> Maybe Text
-- | primary_color
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountRequestBodySettings'Branding'PrimaryColor] :: PostAccountRequestBodySettings'Branding' -> Maybe Text
-- | secondary_color
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountRequestBodySettings'Branding'SecondaryColor] :: PostAccountRequestBodySettings'Branding' -> Maybe Text
-- | Create a new PostAccountRequestBodySettings'Branding' with all
-- required fields.
mkPostAccountRequestBodySettings'Branding' :: PostAccountRequestBodySettings'Branding'
-- | Defines the object schema located at
-- paths./v1/account.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.settings.properties.card_issuing
-- in the specification.
data PostAccountRequestBodySettings'CardIssuing'
PostAccountRequestBodySettings'CardIssuing' :: Maybe PostAccountRequestBodySettings'CardIssuing'TosAcceptance' -> PostAccountRequestBodySettings'CardIssuing'
-- | tos_acceptance
[postAccountRequestBodySettings'CardIssuing'TosAcceptance] :: PostAccountRequestBodySettings'CardIssuing' -> Maybe PostAccountRequestBodySettings'CardIssuing'TosAcceptance'
-- | Create a new PostAccountRequestBodySettings'CardIssuing' with
-- all required fields.
mkPostAccountRequestBodySettings'CardIssuing' :: PostAccountRequestBodySettings'CardIssuing'
-- | Defines the object schema located at
-- paths./v1/account.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.settings.properties.card_issuing.properties.tos_acceptance
-- in the specification.
data PostAccountRequestBodySettings'CardIssuing'TosAcceptance'
PostAccountRequestBodySettings'CardIssuing'TosAcceptance' :: Maybe Int -> Maybe Text -> Maybe Text -> PostAccountRequestBodySettings'CardIssuing'TosAcceptance'
-- | date
[postAccountRequestBodySettings'CardIssuing'TosAcceptance'Date] :: PostAccountRequestBodySettings'CardIssuing'TosAcceptance' -> Maybe Int
-- | ip
[postAccountRequestBodySettings'CardIssuing'TosAcceptance'Ip] :: PostAccountRequestBodySettings'CardIssuing'TosAcceptance' -> Maybe Text
-- | user_agent
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountRequestBodySettings'CardIssuing'TosAcceptance'UserAgent] :: PostAccountRequestBodySettings'CardIssuing'TosAcceptance' -> Maybe Text
-- | Create a new
-- PostAccountRequestBodySettings'CardIssuing'TosAcceptance' with
-- all required fields.
mkPostAccountRequestBodySettings'CardIssuing'TosAcceptance' :: PostAccountRequestBodySettings'CardIssuing'TosAcceptance'
-- | Defines the object schema located at
-- paths./v1/account.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.settings.properties.card_payments
-- in the specification.
data PostAccountRequestBodySettings'CardPayments'
PostAccountRequestBodySettings'CardPayments' :: Maybe PostAccountRequestBodySettings'CardPayments'DeclineOn' -> Maybe Text -> PostAccountRequestBodySettings'CardPayments'
-- | decline_on
[postAccountRequestBodySettings'CardPayments'DeclineOn] :: PostAccountRequestBodySettings'CardPayments' -> Maybe PostAccountRequestBodySettings'CardPayments'DeclineOn'
-- | statement_descriptor_prefix
--
-- Constraints:
--
--
-- - Maximum length of 10
--
[postAccountRequestBodySettings'CardPayments'StatementDescriptorPrefix] :: PostAccountRequestBodySettings'CardPayments' -> Maybe Text
-- | Create a new PostAccountRequestBodySettings'CardPayments' with
-- all required fields.
mkPostAccountRequestBodySettings'CardPayments' :: PostAccountRequestBodySettings'CardPayments'
-- | Defines the object schema located at
-- paths./v1/account.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.settings.properties.card_payments.properties.decline_on
-- in the specification.
data PostAccountRequestBodySettings'CardPayments'DeclineOn'
PostAccountRequestBodySettings'CardPayments'DeclineOn' :: Maybe Bool -> Maybe Bool -> PostAccountRequestBodySettings'CardPayments'DeclineOn'
-- | avs_failure
[postAccountRequestBodySettings'CardPayments'DeclineOn'AvsFailure] :: PostAccountRequestBodySettings'CardPayments'DeclineOn' -> Maybe Bool
-- | cvc_failure
[postAccountRequestBodySettings'CardPayments'DeclineOn'CvcFailure] :: PostAccountRequestBodySettings'CardPayments'DeclineOn' -> Maybe Bool
-- | Create a new
-- PostAccountRequestBodySettings'CardPayments'DeclineOn' with all
-- required fields.
mkPostAccountRequestBodySettings'CardPayments'DeclineOn' :: PostAccountRequestBodySettings'CardPayments'DeclineOn'
-- | Defines the object schema located at
-- paths./v1/account.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.settings.properties.payments
-- in the specification.
data PostAccountRequestBodySettings'Payments'
PostAccountRequestBodySettings'Payments' :: Maybe Text -> Maybe Text -> Maybe Text -> PostAccountRequestBodySettings'Payments'
-- | statement_descriptor
--
-- Constraints:
--
--
-- - Maximum length of 22
--
[postAccountRequestBodySettings'Payments'StatementDescriptor] :: PostAccountRequestBodySettings'Payments' -> Maybe Text
-- | statement_descriptor_kana
--
-- Constraints:
--
--
-- - Maximum length of 22
--
[postAccountRequestBodySettings'Payments'StatementDescriptorKana] :: PostAccountRequestBodySettings'Payments' -> Maybe Text
-- | statement_descriptor_kanji
--
-- Constraints:
--
--
-- - Maximum length of 22
--
[postAccountRequestBodySettings'Payments'StatementDescriptorKanji] :: PostAccountRequestBodySettings'Payments' -> Maybe Text
-- | Create a new PostAccountRequestBodySettings'Payments' with all
-- required fields.
mkPostAccountRequestBodySettings'Payments' :: PostAccountRequestBodySettings'Payments'
-- | Defines the object schema located at
-- paths./v1/account.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.settings.properties.payouts
-- in the specification.
data PostAccountRequestBodySettings'Payouts'
PostAccountRequestBodySettings'Payouts' :: Maybe Bool -> Maybe PostAccountRequestBodySettings'Payouts'Schedule' -> Maybe Text -> PostAccountRequestBodySettings'Payouts'
-- | debit_negative_balances
[postAccountRequestBodySettings'Payouts'DebitNegativeBalances] :: PostAccountRequestBodySettings'Payouts' -> Maybe Bool
-- | schedule
[postAccountRequestBodySettings'Payouts'Schedule] :: PostAccountRequestBodySettings'Payouts' -> Maybe PostAccountRequestBodySettings'Payouts'Schedule'
-- | statement_descriptor
--
-- Constraints:
--
--
-- - Maximum length of 22
--
[postAccountRequestBodySettings'Payouts'StatementDescriptor] :: PostAccountRequestBodySettings'Payouts' -> Maybe Text
-- | Create a new PostAccountRequestBodySettings'Payouts' with all
-- required fields.
mkPostAccountRequestBodySettings'Payouts' :: PostAccountRequestBodySettings'Payouts'
-- | Defines the object schema located at
-- paths./v1/account.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.settings.properties.payouts.properties.schedule
-- in the specification.
data PostAccountRequestBodySettings'Payouts'Schedule'
PostAccountRequestBodySettings'Payouts'Schedule' :: Maybe PostAccountRequestBodySettings'Payouts'Schedule'DelayDays'Variants -> Maybe PostAccountRequestBodySettings'Payouts'Schedule'Interval' -> Maybe Int -> Maybe PostAccountRequestBodySettings'Payouts'Schedule'WeeklyAnchor' -> PostAccountRequestBodySettings'Payouts'Schedule'
-- | delay_days
[postAccountRequestBodySettings'Payouts'Schedule'DelayDays] :: PostAccountRequestBodySettings'Payouts'Schedule' -> Maybe PostAccountRequestBodySettings'Payouts'Schedule'DelayDays'Variants
-- | interval
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountRequestBodySettings'Payouts'Schedule'Interval] :: PostAccountRequestBodySettings'Payouts'Schedule' -> Maybe PostAccountRequestBodySettings'Payouts'Schedule'Interval'
-- | monthly_anchor
[postAccountRequestBodySettings'Payouts'Schedule'MonthlyAnchor] :: PostAccountRequestBodySettings'Payouts'Schedule' -> Maybe Int
-- | weekly_anchor
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountRequestBodySettings'Payouts'Schedule'WeeklyAnchor] :: PostAccountRequestBodySettings'Payouts'Schedule' -> Maybe PostAccountRequestBodySettings'Payouts'Schedule'WeeklyAnchor'
-- | Create a new PostAccountRequestBodySettings'Payouts'Schedule'
-- with all required fields.
mkPostAccountRequestBodySettings'Payouts'Schedule' :: PostAccountRequestBodySettings'Payouts'Schedule'
-- | Defines the oneOf schema located at
-- paths./v1/account.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.settings.properties.payouts.properties.schedule.properties.delay_days.anyOf
-- in the specification.
data PostAccountRequestBodySettings'Payouts'Schedule'DelayDays'Variants
-- | Represents the JSON value "minimum"
PostAccountRequestBodySettings'Payouts'Schedule'DelayDays'Minimum :: PostAccountRequestBodySettings'Payouts'Schedule'DelayDays'Variants
PostAccountRequestBodySettings'Payouts'Schedule'DelayDays'Int :: Int -> PostAccountRequestBodySettings'Payouts'Schedule'DelayDays'Variants
-- | Defines the enum schema located at
-- paths./v1/account.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.settings.properties.payouts.properties.schedule.properties.interval
-- in the specification.
data PostAccountRequestBodySettings'Payouts'Schedule'Interval'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostAccountRequestBodySettings'Payouts'Schedule'Interval'Other :: Value -> PostAccountRequestBodySettings'Payouts'Schedule'Interval'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostAccountRequestBodySettings'Payouts'Schedule'Interval'Typed :: Text -> PostAccountRequestBodySettings'Payouts'Schedule'Interval'
-- | Represents the JSON value "daily"
PostAccountRequestBodySettings'Payouts'Schedule'Interval'EnumDaily :: PostAccountRequestBodySettings'Payouts'Schedule'Interval'
-- | Represents the JSON value "manual"
PostAccountRequestBodySettings'Payouts'Schedule'Interval'EnumManual :: PostAccountRequestBodySettings'Payouts'Schedule'Interval'
-- | Represents the JSON value "monthly"
PostAccountRequestBodySettings'Payouts'Schedule'Interval'EnumMonthly :: PostAccountRequestBodySettings'Payouts'Schedule'Interval'
-- | Represents the JSON value "weekly"
PostAccountRequestBodySettings'Payouts'Schedule'Interval'EnumWeekly :: PostAccountRequestBodySettings'Payouts'Schedule'Interval'
-- | Defines the enum schema located at
-- paths./v1/account.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.settings.properties.payouts.properties.schedule.properties.weekly_anchor
-- in the specification.
data PostAccountRequestBodySettings'Payouts'Schedule'WeeklyAnchor'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
PostAccountRequestBodySettings'Payouts'Schedule'WeeklyAnchor'Other :: Value -> PostAccountRequestBodySettings'Payouts'Schedule'WeeklyAnchor'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
PostAccountRequestBodySettings'Payouts'Schedule'WeeklyAnchor'Typed :: Text -> PostAccountRequestBodySettings'Payouts'Schedule'WeeklyAnchor'
-- | Represents the JSON value "friday"
PostAccountRequestBodySettings'Payouts'Schedule'WeeklyAnchor'EnumFriday :: PostAccountRequestBodySettings'Payouts'Schedule'WeeklyAnchor'
-- | Represents the JSON value "monday"
PostAccountRequestBodySettings'Payouts'Schedule'WeeklyAnchor'EnumMonday :: PostAccountRequestBodySettings'Payouts'Schedule'WeeklyAnchor'
-- | Represents the JSON value "saturday"
PostAccountRequestBodySettings'Payouts'Schedule'WeeklyAnchor'EnumSaturday :: PostAccountRequestBodySettings'Payouts'Schedule'WeeklyAnchor'
-- | Represents the JSON value "sunday"
PostAccountRequestBodySettings'Payouts'Schedule'WeeklyAnchor'EnumSunday :: PostAccountRequestBodySettings'Payouts'Schedule'WeeklyAnchor'
-- | Represents the JSON value "thursday"
PostAccountRequestBodySettings'Payouts'Schedule'WeeklyAnchor'EnumThursday :: PostAccountRequestBodySettings'Payouts'Schedule'WeeklyAnchor'
-- | Represents the JSON value "tuesday"
PostAccountRequestBodySettings'Payouts'Schedule'WeeklyAnchor'EnumTuesday :: PostAccountRequestBodySettings'Payouts'Schedule'WeeklyAnchor'
-- | Represents the JSON value "wednesday"
PostAccountRequestBodySettings'Payouts'Schedule'WeeklyAnchor'EnumWednesday :: PostAccountRequestBodySettings'Payouts'Schedule'WeeklyAnchor'
-- | Defines the object schema located at
-- paths./v1/account.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.tos_acceptance
-- in the specification.
--
-- Details on the account's acceptance of the Stripe Services
-- Agreement.
data PostAccountRequestBodyTosAcceptance'
PostAccountRequestBodyTosAcceptance' :: Maybe Int -> Maybe Text -> Maybe Text -> Maybe Text -> PostAccountRequestBodyTosAcceptance'
-- | date
[postAccountRequestBodyTosAcceptance'Date] :: PostAccountRequestBodyTosAcceptance' -> Maybe Int
-- | ip
[postAccountRequestBodyTosAcceptance'Ip] :: PostAccountRequestBodyTosAcceptance' -> Maybe Text
-- | service_agreement
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountRequestBodyTosAcceptance'ServiceAgreement] :: PostAccountRequestBodyTosAcceptance' -> Maybe Text
-- | user_agent
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[postAccountRequestBodyTosAcceptance'UserAgent] :: PostAccountRequestBodyTosAcceptance' -> Maybe Text
-- | Create a new PostAccountRequestBodyTosAcceptance' with all
-- required fields.
mkPostAccountRequestBodyTosAcceptance' :: PostAccountRequestBodyTosAcceptance'
-- | Represents a response of the operation postAccount.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), PostAccountResponseError is used.
data PostAccountResponse
-- | Means either no matching case available or a parse error
PostAccountResponseError :: String -> PostAccountResponse
-- | Successful response.
PostAccountResponse200 :: Account -> PostAccountResponse
-- | Error response.
PostAccountResponseDefault :: Error -> PostAccountResponse
instance GHC.Classes.Eq StripeAPI.Operations.PostAccount.PostAccountRequestBodyBankAccount'OneOf1AccountHolderType'
instance GHC.Show.Show StripeAPI.Operations.PostAccount.PostAccountRequestBodyBankAccount'OneOf1AccountHolderType'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccount.PostAccountRequestBodyBankAccount'OneOf1Object'
instance GHC.Show.Show StripeAPI.Operations.PostAccount.PostAccountRequestBodyBankAccount'OneOf1Object'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccount.PostAccountRequestBodyBankAccount'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostAccount.PostAccountRequestBodyBankAccount'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostAccount.PostAccountRequestBodyBankAccount'Variants
instance GHC.Show.Show StripeAPI.Operations.PostAccount.PostAccountRequestBodyBankAccount'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostAccount.PostAccountRequestBodyBusinessProfile'SupportAddress'
instance GHC.Show.Show StripeAPI.Operations.PostAccount.PostAccountRequestBodyBusinessProfile'SupportAddress'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccount.PostAccountRequestBodyBusinessProfile'SupportUrl'Variants
instance GHC.Show.Show StripeAPI.Operations.PostAccount.PostAccountRequestBodyBusinessProfile'SupportUrl'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostAccount.PostAccountRequestBodyBusinessProfile'
instance GHC.Show.Show StripeAPI.Operations.PostAccount.PostAccountRequestBodyBusinessProfile'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccount.PostAccountRequestBodyBusinessType'
instance GHC.Show.Show StripeAPI.Operations.PostAccount.PostAccountRequestBodyBusinessType'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccount.PostAccountRequestBodyCapabilities'AcssDebitPayments'
instance GHC.Show.Show StripeAPI.Operations.PostAccount.PostAccountRequestBodyCapabilities'AcssDebitPayments'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccount.PostAccountRequestBodyCapabilities'AfterpayClearpayPayments'
instance GHC.Show.Show StripeAPI.Operations.PostAccount.PostAccountRequestBodyCapabilities'AfterpayClearpayPayments'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccount.PostAccountRequestBodyCapabilities'AuBecsDebitPayments'
instance GHC.Show.Show StripeAPI.Operations.PostAccount.PostAccountRequestBodyCapabilities'AuBecsDebitPayments'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccount.PostAccountRequestBodyCapabilities'BacsDebitPayments'
instance GHC.Show.Show StripeAPI.Operations.PostAccount.PostAccountRequestBodyCapabilities'BacsDebitPayments'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccount.PostAccountRequestBodyCapabilities'BancontactPayments'
instance GHC.Show.Show StripeAPI.Operations.PostAccount.PostAccountRequestBodyCapabilities'BancontactPayments'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccount.PostAccountRequestBodyCapabilities'CardIssuing'
instance GHC.Show.Show StripeAPI.Operations.PostAccount.PostAccountRequestBodyCapabilities'CardIssuing'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccount.PostAccountRequestBodyCapabilities'CardPayments'
instance GHC.Show.Show StripeAPI.Operations.PostAccount.PostAccountRequestBodyCapabilities'CardPayments'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccount.PostAccountRequestBodyCapabilities'CartesBancairesPayments'
instance GHC.Show.Show StripeAPI.Operations.PostAccount.PostAccountRequestBodyCapabilities'CartesBancairesPayments'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccount.PostAccountRequestBodyCapabilities'EpsPayments'
instance GHC.Show.Show StripeAPI.Operations.PostAccount.PostAccountRequestBodyCapabilities'EpsPayments'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccount.PostAccountRequestBodyCapabilities'FpxPayments'
instance GHC.Show.Show StripeAPI.Operations.PostAccount.PostAccountRequestBodyCapabilities'FpxPayments'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccount.PostAccountRequestBodyCapabilities'GiropayPayments'
instance GHC.Show.Show StripeAPI.Operations.PostAccount.PostAccountRequestBodyCapabilities'GiropayPayments'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccount.PostAccountRequestBodyCapabilities'GrabpayPayments'
instance GHC.Show.Show StripeAPI.Operations.PostAccount.PostAccountRequestBodyCapabilities'GrabpayPayments'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccount.PostAccountRequestBodyCapabilities'IdealPayments'
instance GHC.Show.Show StripeAPI.Operations.PostAccount.PostAccountRequestBodyCapabilities'IdealPayments'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccount.PostAccountRequestBodyCapabilities'JcbPayments'
instance GHC.Show.Show StripeAPI.Operations.PostAccount.PostAccountRequestBodyCapabilities'JcbPayments'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccount.PostAccountRequestBodyCapabilities'LegacyPayments'
instance GHC.Show.Show StripeAPI.Operations.PostAccount.PostAccountRequestBodyCapabilities'LegacyPayments'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccount.PostAccountRequestBodyCapabilities'OxxoPayments'
instance GHC.Show.Show StripeAPI.Operations.PostAccount.PostAccountRequestBodyCapabilities'OxxoPayments'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccount.PostAccountRequestBodyCapabilities'P24Payments'
instance GHC.Show.Show StripeAPI.Operations.PostAccount.PostAccountRequestBodyCapabilities'P24Payments'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccount.PostAccountRequestBodyCapabilities'SepaDebitPayments'
instance GHC.Show.Show StripeAPI.Operations.PostAccount.PostAccountRequestBodyCapabilities'SepaDebitPayments'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccount.PostAccountRequestBodyCapabilities'SofortPayments'
instance GHC.Show.Show StripeAPI.Operations.PostAccount.PostAccountRequestBodyCapabilities'SofortPayments'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccount.PostAccountRequestBodyCapabilities'TaxReportingUs_1099K'
instance GHC.Show.Show StripeAPI.Operations.PostAccount.PostAccountRequestBodyCapabilities'TaxReportingUs_1099K'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccount.PostAccountRequestBodyCapabilities'TaxReportingUs_1099Misc'
instance GHC.Show.Show StripeAPI.Operations.PostAccount.PostAccountRequestBodyCapabilities'TaxReportingUs_1099Misc'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccount.PostAccountRequestBodyCapabilities'Transfers'
instance GHC.Show.Show StripeAPI.Operations.PostAccount.PostAccountRequestBodyCapabilities'Transfers'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccount.PostAccountRequestBodyCapabilities'
instance GHC.Show.Show StripeAPI.Operations.PostAccount.PostAccountRequestBodyCapabilities'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccount.PostAccountRequestBodyCompany'Address'
instance GHC.Show.Show StripeAPI.Operations.PostAccount.PostAccountRequestBodyCompany'Address'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccount.PostAccountRequestBodyCompany'AddressKana'
instance GHC.Show.Show StripeAPI.Operations.PostAccount.PostAccountRequestBodyCompany'AddressKana'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccount.PostAccountRequestBodyCompany'AddressKanji'
instance GHC.Show.Show StripeAPI.Operations.PostAccount.PostAccountRequestBodyCompany'AddressKanji'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccount.PostAccountRequestBodyCompany'Structure'
instance GHC.Show.Show StripeAPI.Operations.PostAccount.PostAccountRequestBodyCompany'Structure'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccount.PostAccountRequestBodyCompany'Verification'Document'
instance GHC.Show.Show StripeAPI.Operations.PostAccount.PostAccountRequestBodyCompany'Verification'Document'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccount.PostAccountRequestBodyCompany'Verification'
instance GHC.Show.Show StripeAPI.Operations.PostAccount.PostAccountRequestBodyCompany'Verification'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccount.PostAccountRequestBodyCompany'
instance GHC.Show.Show StripeAPI.Operations.PostAccount.PostAccountRequestBodyCompany'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccount.PostAccountRequestBodyDocuments'BankAccountOwnershipVerification'
instance GHC.Show.Show StripeAPI.Operations.PostAccount.PostAccountRequestBodyDocuments'BankAccountOwnershipVerification'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccount.PostAccountRequestBodyDocuments'CompanyLicense'
instance GHC.Show.Show StripeAPI.Operations.PostAccount.PostAccountRequestBodyDocuments'CompanyLicense'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccount.PostAccountRequestBodyDocuments'CompanyMemorandumOfAssociation'
instance GHC.Show.Show StripeAPI.Operations.PostAccount.PostAccountRequestBodyDocuments'CompanyMemorandumOfAssociation'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccount.PostAccountRequestBodyDocuments'CompanyMinisterialDecree'
instance GHC.Show.Show StripeAPI.Operations.PostAccount.PostAccountRequestBodyDocuments'CompanyMinisterialDecree'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccount.PostAccountRequestBodyDocuments'CompanyRegistrationVerification'
instance GHC.Show.Show StripeAPI.Operations.PostAccount.PostAccountRequestBodyDocuments'CompanyRegistrationVerification'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccount.PostAccountRequestBodyDocuments'CompanyTaxIdVerification'
instance GHC.Show.Show StripeAPI.Operations.PostAccount.PostAccountRequestBodyDocuments'CompanyTaxIdVerification'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccount.PostAccountRequestBodyDocuments'
instance GHC.Show.Show StripeAPI.Operations.PostAccount.PostAccountRequestBodyDocuments'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccount.PostAccountRequestBodyIndividual'Address'
instance GHC.Show.Show StripeAPI.Operations.PostAccount.PostAccountRequestBodyIndividual'Address'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccount.PostAccountRequestBodyIndividual'AddressKana'
instance GHC.Show.Show StripeAPI.Operations.PostAccount.PostAccountRequestBodyIndividual'AddressKana'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccount.PostAccountRequestBodyIndividual'AddressKanji'
instance GHC.Show.Show StripeAPI.Operations.PostAccount.PostAccountRequestBodyIndividual'AddressKanji'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccount.PostAccountRequestBodyIndividual'Dob'OneOf1
instance GHC.Show.Show StripeAPI.Operations.PostAccount.PostAccountRequestBodyIndividual'Dob'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.PostAccount.PostAccountRequestBodyIndividual'Dob'Variants
instance GHC.Show.Show StripeAPI.Operations.PostAccount.PostAccountRequestBodyIndividual'Dob'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostAccount.PostAccountRequestBodyIndividual'Metadata'Variants
instance GHC.Show.Show StripeAPI.Operations.PostAccount.PostAccountRequestBodyIndividual'Metadata'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostAccount.PostAccountRequestBodyIndividual'PoliticalExposure'
instance GHC.Show.Show StripeAPI.Operations.PostAccount.PostAccountRequestBodyIndividual'PoliticalExposure'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccount.PostAccountRequestBodyIndividual'Verification'AdditionalDocument'
instance GHC.Show.Show StripeAPI.Operations.PostAccount.PostAccountRequestBodyIndividual'Verification'AdditionalDocument'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccount.PostAccountRequestBodyIndividual'Verification'Document'
instance GHC.Show.Show StripeAPI.Operations.PostAccount.PostAccountRequestBodyIndividual'Verification'Document'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccount.PostAccountRequestBodyIndividual'Verification'
instance GHC.Show.Show StripeAPI.Operations.PostAccount.PostAccountRequestBodyIndividual'Verification'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccount.PostAccountRequestBodyIndividual'
instance GHC.Show.Show StripeAPI.Operations.PostAccount.PostAccountRequestBodyIndividual'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccount.PostAccountRequestBodyMetadata'Variants
instance GHC.Show.Show StripeAPI.Operations.PostAccount.PostAccountRequestBodyMetadata'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostAccount.PostAccountRequestBodySettings'Branding'
instance GHC.Show.Show StripeAPI.Operations.PostAccount.PostAccountRequestBodySettings'Branding'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccount.PostAccountRequestBodySettings'CardIssuing'TosAcceptance'
instance GHC.Show.Show StripeAPI.Operations.PostAccount.PostAccountRequestBodySettings'CardIssuing'TosAcceptance'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccount.PostAccountRequestBodySettings'CardIssuing'
instance GHC.Show.Show StripeAPI.Operations.PostAccount.PostAccountRequestBodySettings'CardIssuing'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccount.PostAccountRequestBodySettings'CardPayments'DeclineOn'
instance GHC.Show.Show StripeAPI.Operations.PostAccount.PostAccountRequestBodySettings'CardPayments'DeclineOn'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccount.PostAccountRequestBodySettings'CardPayments'
instance GHC.Show.Show StripeAPI.Operations.PostAccount.PostAccountRequestBodySettings'CardPayments'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccount.PostAccountRequestBodySettings'Payments'
instance GHC.Show.Show StripeAPI.Operations.PostAccount.PostAccountRequestBodySettings'Payments'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccount.PostAccountRequestBodySettings'Payouts'Schedule'DelayDays'Variants
instance GHC.Show.Show StripeAPI.Operations.PostAccount.PostAccountRequestBodySettings'Payouts'Schedule'DelayDays'Variants
instance GHC.Classes.Eq StripeAPI.Operations.PostAccount.PostAccountRequestBodySettings'Payouts'Schedule'Interval'
instance GHC.Show.Show StripeAPI.Operations.PostAccount.PostAccountRequestBodySettings'Payouts'Schedule'Interval'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccount.PostAccountRequestBodySettings'Payouts'Schedule'WeeklyAnchor'
instance GHC.Show.Show StripeAPI.Operations.PostAccount.PostAccountRequestBodySettings'Payouts'Schedule'WeeklyAnchor'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccount.PostAccountRequestBodySettings'Payouts'Schedule'
instance GHC.Show.Show StripeAPI.Operations.PostAccount.PostAccountRequestBodySettings'Payouts'Schedule'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccount.PostAccountRequestBodySettings'Payouts'
instance GHC.Show.Show StripeAPI.Operations.PostAccount.PostAccountRequestBodySettings'Payouts'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccount.PostAccountRequestBodySettings'
instance GHC.Show.Show StripeAPI.Operations.PostAccount.PostAccountRequestBodySettings'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccount.PostAccountRequestBodyTosAcceptance'
instance GHC.Show.Show StripeAPI.Operations.PostAccount.PostAccountRequestBodyTosAcceptance'
instance GHC.Classes.Eq StripeAPI.Operations.PostAccount.PostAccountRequestBody
instance GHC.Show.Show StripeAPI.Operations.PostAccount.PostAccountRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.PostAccount.PostAccountResponse
instance GHC.Show.Show StripeAPI.Operations.PostAccount.PostAccountResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccount.PostAccountRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccount.PostAccountRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyTosAcceptance'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyTosAcceptance'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodySettings'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodySettings'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodySettings'Payouts'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodySettings'Payouts'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodySettings'Payouts'Schedule'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodySettings'Payouts'Schedule'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodySettings'Payouts'Schedule'WeeklyAnchor'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodySettings'Payouts'Schedule'WeeklyAnchor'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodySettings'Payouts'Schedule'Interval'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodySettings'Payouts'Schedule'Interval'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodySettings'Payouts'Schedule'DelayDays'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodySettings'Payouts'Schedule'DelayDays'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodySettings'Payments'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodySettings'Payments'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodySettings'CardPayments'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodySettings'CardPayments'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodySettings'CardPayments'DeclineOn'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodySettings'CardPayments'DeclineOn'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodySettings'CardIssuing'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodySettings'CardIssuing'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodySettings'CardIssuing'TosAcceptance'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodySettings'CardIssuing'TosAcceptance'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodySettings'Branding'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodySettings'Branding'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyMetadata'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyMetadata'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyIndividual'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyIndividual'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyIndividual'Verification'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyIndividual'Verification'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyIndividual'Verification'Document'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyIndividual'Verification'Document'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyIndividual'Verification'AdditionalDocument'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyIndividual'Verification'AdditionalDocument'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyIndividual'PoliticalExposure'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyIndividual'PoliticalExposure'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyIndividual'Metadata'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyIndividual'Metadata'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyIndividual'Dob'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyIndividual'Dob'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyIndividual'Dob'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyIndividual'Dob'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyIndividual'AddressKanji'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyIndividual'AddressKanji'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyIndividual'AddressKana'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyIndividual'AddressKana'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyIndividual'Address'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyIndividual'Address'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyDocuments'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyDocuments'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyDocuments'CompanyTaxIdVerification'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyDocuments'CompanyTaxIdVerification'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyDocuments'CompanyRegistrationVerification'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyDocuments'CompanyRegistrationVerification'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyDocuments'CompanyMinisterialDecree'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyDocuments'CompanyMinisterialDecree'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyDocuments'CompanyMemorandumOfAssociation'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyDocuments'CompanyMemorandumOfAssociation'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyDocuments'CompanyLicense'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyDocuments'CompanyLicense'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyDocuments'BankAccountOwnershipVerification'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyDocuments'BankAccountOwnershipVerification'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyCompany'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyCompany'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyCompany'Verification'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyCompany'Verification'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyCompany'Verification'Document'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyCompany'Verification'Document'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyCompany'Structure'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyCompany'Structure'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyCompany'AddressKanji'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyCompany'AddressKanji'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyCompany'AddressKana'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyCompany'AddressKana'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyCompany'Address'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyCompany'Address'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyCapabilities'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyCapabilities'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyCapabilities'Transfers'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyCapabilities'Transfers'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyCapabilities'TaxReportingUs_1099Misc'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyCapabilities'TaxReportingUs_1099Misc'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyCapabilities'TaxReportingUs_1099K'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyCapabilities'TaxReportingUs_1099K'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyCapabilities'SofortPayments'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyCapabilities'SofortPayments'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyCapabilities'SepaDebitPayments'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyCapabilities'SepaDebitPayments'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyCapabilities'P24Payments'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyCapabilities'P24Payments'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyCapabilities'OxxoPayments'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyCapabilities'OxxoPayments'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyCapabilities'LegacyPayments'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyCapabilities'LegacyPayments'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyCapabilities'JcbPayments'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyCapabilities'JcbPayments'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyCapabilities'IdealPayments'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyCapabilities'IdealPayments'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyCapabilities'GrabpayPayments'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyCapabilities'GrabpayPayments'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyCapabilities'GiropayPayments'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyCapabilities'GiropayPayments'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyCapabilities'FpxPayments'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyCapabilities'FpxPayments'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyCapabilities'EpsPayments'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyCapabilities'EpsPayments'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyCapabilities'CartesBancairesPayments'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyCapabilities'CartesBancairesPayments'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyCapabilities'CardPayments'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyCapabilities'CardPayments'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyCapabilities'CardIssuing'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyCapabilities'CardIssuing'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyCapabilities'BancontactPayments'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyCapabilities'BancontactPayments'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyCapabilities'BacsDebitPayments'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyCapabilities'BacsDebitPayments'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyCapabilities'AuBecsDebitPayments'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyCapabilities'AuBecsDebitPayments'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyCapabilities'AfterpayClearpayPayments'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyCapabilities'AfterpayClearpayPayments'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyCapabilities'AcssDebitPayments'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyCapabilities'AcssDebitPayments'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyBusinessType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyBusinessType'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyBusinessProfile'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyBusinessProfile'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyBusinessProfile'SupportUrl'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyBusinessProfile'SupportUrl'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyBusinessProfile'SupportAddress'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyBusinessProfile'SupportAddress'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyBankAccount'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyBankAccount'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyBankAccount'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyBankAccount'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyBankAccount'OneOf1Object'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyBankAccount'OneOf1Object'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyBankAccount'OneOf1AccountHolderType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.PostAccount.PostAccountRequestBodyBankAccount'OneOf1AccountHolderType'
-- | Contains the different functions to run the operation post3dSecure
module StripeAPI.Operations.Post3dSecure
-- |
-- POST /v1/3d_secure
--
--
-- <p>Initiate 3D Secure authentication.</p>
post3dSecure :: forall m. MonadHTTP m => Post3dSecureRequestBody -> ClientT m (Response Post3dSecureResponse)
-- | Defines the object schema located at
-- paths./v1/3d_secure.POST.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data Post3dSecureRequestBody
Post3dSecureRequestBody :: Int -> Maybe Text -> Text -> Maybe Text -> Maybe [Text] -> Text -> Post3dSecureRequestBody
-- | amount: Amount of the charge that you will create when authentication
-- completes.
[post3dSecureRequestBodyAmount] :: Post3dSecureRequestBody -> Int
-- | card: The ID of a card token, or the ID of a card belonging to the
-- given customer.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[post3dSecureRequestBodyCard] :: Post3dSecureRequestBody -> Maybe Text
-- | currency: Three-letter ISO currency code, in lowercase. Must be
-- a supported currency.
[post3dSecureRequestBodyCurrency] :: Post3dSecureRequestBody -> Text
-- | customer: The customer associated with this 3D secure authentication.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[post3dSecureRequestBodyCustomer] :: Post3dSecureRequestBody -> Maybe Text
-- | expand: Specifies which fields in the response should be expanded.
[post3dSecureRequestBodyExpand] :: Post3dSecureRequestBody -> Maybe [Text]
-- | return_url: The URL that the cardholder's browser will be returned to
-- when authentication completes.
[post3dSecureRequestBodyReturnUrl] :: Post3dSecureRequestBody -> Text
-- | Create a new Post3dSecureRequestBody with all required fields.
mkPost3dSecureRequestBody :: Int -> Text -> Text -> Post3dSecureRequestBody
-- | Represents a response of the operation post3dSecure.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), Post3dSecureResponseError is used.
data Post3dSecureResponse
-- | Means either no matching case available or a parse error
Post3dSecureResponseError :: String -> Post3dSecureResponse
-- | Successful response.
Post3dSecureResponse200 :: ThreeDSecure -> Post3dSecureResponse
-- | Error response.
Post3dSecureResponseDefault :: Error -> Post3dSecureResponse
instance GHC.Classes.Eq StripeAPI.Operations.Post3dSecure.Post3dSecureRequestBody
instance GHC.Show.Show StripeAPI.Operations.Post3dSecure.Post3dSecureRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.Post3dSecure.Post3dSecureResponse
instance GHC.Show.Show StripeAPI.Operations.Post3dSecure.Post3dSecureResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.Post3dSecure.Post3dSecureRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.Post3dSecure.Post3dSecureRequestBody
-- | Contains the different functions to run the operation
-- getWebhookEndpointsWebhookEndpoint
module StripeAPI.Operations.GetWebhookEndpointsWebhookEndpoint
-- |
-- GET /v1/webhook_endpoints/{webhook_endpoint}
--
--
-- <p>Retrieves the webhook endpoint with the given ID.</p>
getWebhookEndpointsWebhookEndpoint :: forall m. MonadHTTP m => GetWebhookEndpointsWebhookEndpointParameters -> ClientT m (Response GetWebhookEndpointsWebhookEndpointResponse)
-- | Defines the object schema located at
-- paths./v1/webhook_endpoints/{webhook_endpoint}.GET.parameters
-- in the specification.
data GetWebhookEndpointsWebhookEndpointParameters
GetWebhookEndpointsWebhookEndpointParameters :: Text -> Maybe [Text] -> GetWebhookEndpointsWebhookEndpointParameters
-- | pathWebhook_endpoint: Represents the parameter named
-- 'webhook_endpoint'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getWebhookEndpointsWebhookEndpointParametersPathWebhookEndpoint] :: GetWebhookEndpointsWebhookEndpointParameters -> Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getWebhookEndpointsWebhookEndpointParametersQueryExpand] :: GetWebhookEndpointsWebhookEndpointParameters -> Maybe [Text]
-- | Create a new GetWebhookEndpointsWebhookEndpointParameters with
-- all required fields.
mkGetWebhookEndpointsWebhookEndpointParameters :: Text -> GetWebhookEndpointsWebhookEndpointParameters
-- | Represents a response of the operation
-- getWebhookEndpointsWebhookEndpoint.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- GetWebhookEndpointsWebhookEndpointResponseError is used.
data GetWebhookEndpointsWebhookEndpointResponse
-- | Means either no matching case available or a parse error
GetWebhookEndpointsWebhookEndpointResponseError :: String -> GetWebhookEndpointsWebhookEndpointResponse
-- | Successful response.
GetWebhookEndpointsWebhookEndpointResponse200 :: WebhookEndpoint -> GetWebhookEndpointsWebhookEndpointResponse
-- | Error response.
GetWebhookEndpointsWebhookEndpointResponseDefault :: Error -> GetWebhookEndpointsWebhookEndpointResponse
instance GHC.Classes.Eq StripeAPI.Operations.GetWebhookEndpointsWebhookEndpoint.GetWebhookEndpointsWebhookEndpointParameters
instance GHC.Show.Show StripeAPI.Operations.GetWebhookEndpointsWebhookEndpoint.GetWebhookEndpointsWebhookEndpointParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetWebhookEndpointsWebhookEndpoint.GetWebhookEndpointsWebhookEndpointResponse
instance GHC.Show.Show StripeAPI.Operations.GetWebhookEndpointsWebhookEndpoint.GetWebhookEndpointsWebhookEndpointResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetWebhookEndpointsWebhookEndpoint.GetWebhookEndpointsWebhookEndpointParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetWebhookEndpointsWebhookEndpoint.GetWebhookEndpointsWebhookEndpointParameters
-- | Contains the different functions to run the operation
-- getWebhookEndpoints
module StripeAPI.Operations.GetWebhookEndpoints
-- |
-- GET /v1/webhook_endpoints
--
--
-- <p>Returns a list of your webhook endpoints.</p>
getWebhookEndpoints :: forall m. MonadHTTP m => GetWebhookEndpointsParameters -> ClientT m (Response GetWebhookEndpointsResponse)
-- | Defines the object schema located at
-- paths./v1/webhook_endpoints.GET.parameters in the
-- specification.
data GetWebhookEndpointsParameters
GetWebhookEndpointsParameters :: Maybe Text -> Maybe [Text] -> Maybe Int -> Maybe Text -> GetWebhookEndpointsParameters
-- | queryEnding_before: Represents the parameter named 'ending_before'
--
-- A cursor for use in pagination. `ending_before` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, starting with `obj_bar`, your
-- subsequent call can include `ending_before=obj_bar` in order to fetch
-- the previous page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getWebhookEndpointsParametersQueryEndingBefore] :: GetWebhookEndpointsParameters -> Maybe Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getWebhookEndpointsParametersQueryExpand] :: GetWebhookEndpointsParameters -> Maybe [Text]
-- | queryLimit: Represents the parameter named 'limit'
--
-- A limit on the number of objects to be returned. Limit can range
-- between 1 and 100, and the default is 10.
[getWebhookEndpointsParametersQueryLimit] :: GetWebhookEndpointsParameters -> Maybe Int
-- | queryStarting_after: Represents the parameter named 'starting_after'
--
-- A cursor for use in pagination. `starting_after` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, ending with `obj_foo`, your
-- subsequent call can include `starting_after=obj_foo` in order to fetch
-- the next page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getWebhookEndpointsParametersQueryStartingAfter] :: GetWebhookEndpointsParameters -> Maybe Text
-- | Create a new GetWebhookEndpointsParameters with all required
-- fields.
mkGetWebhookEndpointsParameters :: GetWebhookEndpointsParameters
-- | Represents a response of the operation getWebhookEndpoints.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetWebhookEndpointsResponseError is
-- used.
data GetWebhookEndpointsResponse
-- | Means either no matching case available or a parse error
GetWebhookEndpointsResponseError :: String -> GetWebhookEndpointsResponse
-- | Successful response.
GetWebhookEndpointsResponse200 :: GetWebhookEndpointsResponseBody200 -> GetWebhookEndpointsResponse
-- | Error response.
GetWebhookEndpointsResponseDefault :: Error -> GetWebhookEndpointsResponse
-- | Defines the object schema located at
-- paths./v1/webhook_endpoints.GET.responses.200.content.application/json.schema
-- in the specification.
data GetWebhookEndpointsResponseBody200
GetWebhookEndpointsResponseBody200 :: [WebhookEndpoint] -> Bool -> Text -> GetWebhookEndpointsResponseBody200
-- | data
[getWebhookEndpointsResponseBody200Data] :: GetWebhookEndpointsResponseBody200 -> [WebhookEndpoint]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[getWebhookEndpointsResponseBody200HasMore] :: GetWebhookEndpointsResponseBody200 -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
-- - Must match pattern '^/v1/webhook_endpoints'
--
[getWebhookEndpointsResponseBody200Url] :: GetWebhookEndpointsResponseBody200 -> Text
-- | Create a new GetWebhookEndpointsResponseBody200 with all
-- required fields.
mkGetWebhookEndpointsResponseBody200 :: [WebhookEndpoint] -> Bool -> Text -> GetWebhookEndpointsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetWebhookEndpoints.GetWebhookEndpointsParameters
instance GHC.Show.Show StripeAPI.Operations.GetWebhookEndpoints.GetWebhookEndpointsParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetWebhookEndpoints.GetWebhookEndpointsResponseBody200
instance GHC.Show.Show StripeAPI.Operations.GetWebhookEndpoints.GetWebhookEndpointsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetWebhookEndpoints.GetWebhookEndpointsResponse
instance GHC.Show.Show StripeAPI.Operations.GetWebhookEndpoints.GetWebhookEndpointsResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetWebhookEndpoints.GetWebhookEndpointsResponseBody200
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetWebhookEndpoints.GetWebhookEndpointsResponseBody200
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetWebhookEndpoints.GetWebhookEndpointsParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetWebhookEndpoints.GetWebhookEndpointsParameters
-- | Contains the different functions to run the operation
-- getTransfersTransferReversalsId
module StripeAPI.Operations.GetTransfersTransferReversalsId
-- |
-- GET /v1/transfers/{transfer}/reversals/{id}
--
--
-- <p>By default, you can see the 10 most recent reversals stored
-- directly on the transfer object, but you can also retrieve details
-- about a specific reversal stored on the transfer.</p>
getTransfersTransferReversalsId :: forall m. MonadHTTP m => GetTransfersTransferReversalsIdParameters -> ClientT m (Response GetTransfersTransferReversalsIdResponse)
-- | Defines the object schema located at
-- paths./v1/transfers/{transfer}/reversals/{id}.GET.parameters
-- in the specification.
data GetTransfersTransferReversalsIdParameters
GetTransfersTransferReversalsIdParameters :: Text -> Text -> Maybe [Text] -> GetTransfersTransferReversalsIdParameters
-- | pathId: Represents the parameter named 'id'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getTransfersTransferReversalsIdParametersPathId] :: GetTransfersTransferReversalsIdParameters -> Text
-- | pathTransfer: Represents the parameter named 'transfer'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getTransfersTransferReversalsIdParametersPathTransfer] :: GetTransfersTransferReversalsIdParameters -> Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getTransfersTransferReversalsIdParametersQueryExpand] :: GetTransfersTransferReversalsIdParameters -> Maybe [Text]
-- | Create a new GetTransfersTransferReversalsIdParameters with all
-- required fields.
mkGetTransfersTransferReversalsIdParameters :: Text -> Text -> GetTransfersTransferReversalsIdParameters
-- | Represents a response of the operation
-- getTransfersTransferReversalsId.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- GetTransfersTransferReversalsIdResponseError is used.
data GetTransfersTransferReversalsIdResponse
-- | Means either no matching case available or a parse error
GetTransfersTransferReversalsIdResponseError :: String -> GetTransfersTransferReversalsIdResponse
-- | Successful response.
GetTransfersTransferReversalsIdResponse200 :: TransferReversal -> GetTransfersTransferReversalsIdResponse
-- | Error response.
GetTransfersTransferReversalsIdResponseDefault :: Error -> GetTransfersTransferReversalsIdResponse
instance GHC.Classes.Eq StripeAPI.Operations.GetTransfersTransferReversalsId.GetTransfersTransferReversalsIdParameters
instance GHC.Show.Show StripeAPI.Operations.GetTransfersTransferReversalsId.GetTransfersTransferReversalsIdParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetTransfersTransferReversalsId.GetTransfersTransferReversalsIdResponse
instance GHC.Show.Show StripeAPI.Operations.GetTransfersTransferReversalsId.GetTransfersTransferReversalsIdResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetTransfersTransferReversalsId.GetTransfersTransferReversalsIdParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetTransfersTransferReversalsId.GetTransfersTransferReversalsIdParameters
-- | Contains the different functions to run the operation
-- getTransfersTransfer
module StripeAPI.Operations.GetTransfersTransfer
-- |
-- GET /v1/transfers/{transfer}
--
--
-- <p>Retrieves the details of an existing transfer. Supply the
-- unique transfer ID from either a transfer creation request or the
-- transfer list, and Stripe will return the corresponding transfer
-- information.</p>
getTransfersTransfer :: forall m. MonadHTTP m => GetTransfersTransferParameters -> ClientT m (Response GetTransfersTransferResponse)
-- | Defines the object schema located at
-- paths./v1/transfers/{transfer}.GET.parameters in the
-- specification.
data GetTransfersTransferParameters
GetTransfersTransferParameters :: Text -> Maybe [Text] -> GetTransfersTransferParameters
-- | pathTransfer: Represents the parameter named 'transfer'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getTransfersTransferParametersPathTransfer] :: GetTransfersTransferParameters -> Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getTransfersTransferParametersQueryExpand] :: GetTransfersTransferParameters -> Maybe [Text]
-- | Create a new GetTransfersTransferParameters with all required
-- fields.
mkGetTransfersTransferParameters :: Text -> GetTransfersTransferParameters
-- | Represents a response of the operation getTransfersTransfer.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetTransfersTransferResponseError is
-- used.
data GetTransfersTransferResponse
-- | Means either no matching case available or a parse error
GetTransfersTransferResponseError :: String -> GetTransfersTransferResponse
-- | Successful response.
GetTransfersTransferResponse200 :: Transfer -> GetTransfersTransferResponse
-- | Error response.
GetTransfersTransferResponseDefault :: Error -> GetTransfersTransferResponse
instance GHC.Classes.Eq StripeAPI.Operations.GetTransfersTransfer.GetTransfersTransferParameters
instance GHC.Show.Show StripeAPI.Operations.GetTransfersTransfer.GetTransfersTransferParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetTransfersTransfer.GetTransfersTransferResponse
instance GHC.Show.Show StripeAPI.Operations.GetTransfersTransfer.GetTransfersTransferResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetTransfersTransfer.GetTransfersTransferParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetTransfersTransfer.GetTransfersTransferParameters
-- | Contains the different functions to run the operation
-- getTransfersIdReversals
module StripeAPI.Operations.GetTransfersIdReversals
-- |
-- GET /v1/transfers/{id}/reversals
--
--
-- <p>You can see a list of the reversals belonging to a specific
-- transfer. Note that the 10 most recent reversals are always available
-- by default on the transfer object. If you need more than those 10, you
-- can use this API method and the <code>limit</code> and
-- <code>starting_after</code> parameters to page through
-- additional reversals.</p>
getTransfersIdReversals :: forall m. MonadHTTP m => GetTransfersIdReversalsParameters -> ClientT m (Response GetTransfersIdReversalsResponse)
-- | Defines the object schema located at
-- paths./v1/transfers/{id}/reversals.GET.parameters in the
-- specification.
data GetTransfersIdReversalsParameters
GetTransfersIdReversalsParameters :: Text -> Maybe Text -> Maybe [Text] -> Maybe Int -> Maybe Text -> GetTransfersIdReversalsParameters
-- | pathId: Represents the parameter named 'id'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getTransfersIdReversalsParametersPathId] :: GetTransfersIdReversalsParameters -> Text
-- | queryEnding_before: Represents the parameter named 'ending_before'
--
-- A cursor for use in pagination. `ending_before` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, starting with `obj_bar`, your
-- subsequent call can include `ending_before=obj_bar` in order to fetch
-- the previous page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getTransfersIdReversalsParametersQueryEndingBefore] :: GetTransfersIdReversalsParameters -> Maybe Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getTransfersIdReversalsParametersQueryExpand] :: GetTransfersIdReversalsParameters -> Maybe [Text]
-- | queryLimit: Represents the parameter named 'limit'
--
-- A limit on the number of objects to be returned. Limit can range
-- between 1 and 100, and the default is 10.
[getTransfersIdReversalsParametersQueryLimit] :: GetTransfersIdReversalsParameters -> Maybe Int
-- | queryStarting_after: Represents the parameter named 'starting_after'
--
-- A cursor for use in pagination. `starting_after` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, ending with `obj_foo`, your
-- subsequent call can include `starting_after=obj_foo` in order to fetch
-- the next page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getTransfersIdReversalsParametersQueryStartingAfter] :: GetTransfersIdReversalsParameters -> Maybe Text
-- | Create a new GetTransfersIdReversalsParameters with all
-- required fields.
mkGetTransfersIdReversalsParameters :: Text -> GetTransfersIdReversalsParameters
-- | Represents a response of the operation getTransfersIdReversals.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetTransfersIdReversalsResponseError is
-- used.
data GetTransfersIdReversalsResponse
-- | Means either no matching case available or a parse error
GetTransfersIdReversalsResponseError :: String -> GetTransfersIdReversalsResponse
-- | Successful response.
GetTransfersIdReversalsResponse200 :: GetTransfersIdReversalsResponseBody200 -> GetTransfersIdReversalsResponse
-- | Error response.
GetTransfersIdReversalsResponseDefault :: Error -> GetTransfersIdReversalsResponse
-- | Defines the object schema located at
-- paths./v1/transfers/{id}/reversals.GET.responses.200.content.application/json.schema
-- in the specification.
data GetTransfersIdReversalsResponseBody200
GetTransfersIdReversalsResponseBody200 :: [TransferReversal] -> Bool -> Text -> GetTransfersIdReversalsResponseBody200
-- | data: Details about each object.
[getTransfersIdReversalsResponseBody200Data] :: GetTransfersIdReversalsResponseBody200 -> [TransferReversal]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[getTransfersIdReversalsResponseBody200HasMore] :: GetTransfersIdReversalsResponseBody200 -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getTransfersIdReversalsResponseBody200Url] :: GetTransfersIdReversalsResponseBody200 -> Text
-- | Create a new GetTransfersIdReversalsResponseBody200 with all
-- required fields.
mkGetTransfersIdReversalsResponseBody200 :: [TransferReversal] -> Bool -> Text -> GetTransfersIdReversalsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetTransfersIdReversals.GetTransfersIdReversalsParameters
instance GHC.Show.Show StripeAPI.Operations.GetTransfersIdReversals.GetTransfersIdReversalsParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetTransfersIdReversals.GetTransfersIdReversalsResponseBody200
instance GHC.Show.Show StripeAPI.Operations.GetTransfersIdReversals.GetTransfersIdReversalsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetTransfersIdReversals.GetTransfersIdReversalsResponse
instance GHC.Show.Show StripeAPI.Operations.GetTransfersIdReversals.GetTransfersIdReversalsResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetTransfersIdReversals.GetTransfersIdReversalsResponseBody200
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetTransfersIdReversals.GetTransfersIdReversalsResponseBody200
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetTransfersIdReversals.GetTransfersIdReversalsParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetTransfersIdReversals.GetTransfersIdReversalsParameters
-- | Contains the different functions to run the operation getTransfers
module StripeAPI.Operations.GetTransfers
-- |
-- GET /v1/transfers
--
--
-- <p>Returns a list of existing transfers sent to connected
-- accounts. The transfers are returned in sorted order, with the most
-- recently created transfers appearing first.</p>
getTransfers :: forall m. MonadHTTP m => GetTransfersParameters -> ClientT m (Response GetTransfersResponse)
-- | Defines the object schema located at
-- paths./v1/transfers.GET.parameters in the specification.
data GetTransfersParameters
GetTransfersParameters :: Maybe GetTransfersParametersQueryCreated'Variants -> Maybe Text -> Maybe Text -> Maybe [Text] -> Maybe Int -> Maybe Text -> Maybe Text -> GetTransfersParameters
-- | queryCreated: Represents the parameter named 'created'
[getTransfersParametersQueryCreated] :: GetTransfersParameters -> Maybe GetTransfersParametersQueryCreated'Variants
-- | queryDestination: Represents the parameter named 'destination'
--
-- Only return transfers for the destination specified by this account
-- ID.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getTransfersParametersQueryDestination] :: GetTransfersParameters -> Maybe Text
-- | queryEnding_before: Represents the parameter named 'ending_before'
--
-- A cursor for use in pagination. `ending_before` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, starting with `obj_bar`, your
-- subsequent call can include `ending_before=obj_bar` in order to fetch
-- the previous page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getTransfersParametersQueryEndingBefore] :: GetTransfersParameters -> Maybe Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getTransfersParametersQueryExpand] :: GetTransfersParameters -> Maybe [Text]
-- | queryLimit: Represents the parameter named 'limit'
--
-- A limit on the number of objects to be returned. Limit can range
-- between 1 and 100, and the default is 10.
[getTransfersParametersQueryLimit] :: GetTransfersParameters -> Maybe Int
-- | queryStarting_after: Represents the parameter named 'starting_after'
--
-- A cursor for use in pagination. `starting_after` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, ending with `obj_foo`, your
-- subsequent call can include `starting_after=obj_foo` in order to fetch
-- the next page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getTransfersParametersQueryStartingAfter] :: GetTransfersParameters -> Maybe Text
-- | queryTransfer_group: Represents the parameter named 'transfer_group'
--
-- Only return transfers with the specified transfer group.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getTransfersParametersQueryTransferGroup] :: GetTransfersParameters -> Maybe Text
-- | Create a new GetTransfersParameters with all required fields.
mkGetTransfersParameters :: GetTransfersParameters
-- | Defines the object schema located at
-- paths./v1/transfers.GET.parameters.properties.queryCreated.anyOf
-- in the specification.
data GetTransfersParametersQueryCreated'OneOf1
GetTransfersParametersQueryCreated'OneOf1 :: Maybe Int -> Maybe Int -> Maybe Int -> Maybe Int -> GetTransfersParametersQueryCreated'OneOf1
-- | gt
[getTransfersParametersQueryCreated'OneOf1Gt] :: GetTransfersParametersQueryCreated'OneOf1 -> Maybe Int
-- | gte
[getTransfersParametersQueryCreated'OneOf1Gte] :: GetTransfersParametersQueryCreated'OneOf1 -> Maybe Int
-- | lt
[getTransfersParametersQueryCreated'OneOf1Lt] :: GetTransfersParametersQueryCreated'OneOf1 -> Maybe Int
-- | lte
[getTransfersParametersQueryCreated'OneOf1Lte] :: GetTransfersParametersQueryCreated'OneOf1 -> Maybe Int
-- | Create a new GetTransfersParametersQueryCreated'OneOf1 with all
-- required fields.
mkGetTransfersParametersQueryCreated'OneOf1 :: GetTransfersParametersQueryCreated'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/transfers.GET.parameters.properties.queryCreated.anyOf
-- in the specification.
--
-- Represents the parameter named 'created'
data GetTransfersParametersQueryCreated'Variants
GetTransfersParametersQueryCreated'GetTransfersParametersQueryCreated'OneOf1 :: GetTransfersParametersQueryCreated'OneOf1 -> GetTransfersParametersQueryCreated'Variants
GetTransfersParametersQueryCreated'Int :: Int -> GetTransfersParametersQueryCreated'Variants
-- | Represents a response of the operation getTransfers.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetTransfersResponseError is used.
data GetTransfersResponse
-- | Means either no matching case available or a parse error
GetTransfersResponseError :: String -> GetTransfersResponse
-- | Successful response.
GetTransfersResponse200 :: GetTransfersResponseBody200 -> GetTransfersResponse
-- | Error response.
GetTransfersResponseDefault :: Error -> GetTransfersResponse
-- | Defines the object schema located at
-- paths./v1/transfers.GET.responses.200.content.application/json.schema
-- in the specification.
data GetTransfersResponseBody200
GetTransfersResponseBody200 :: [Transfer] -> Bool -> Text -> GetTransfersResponseBody200
-- | data: Details about each object.
[getTransfersResponseBody200Data] :: GetTransfersResponseBody200 -> [Transfer]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[getTransfersResponseBody200HasMore] :: GetTransfersResponseBody200 -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
-- - Must match pattern '^/v1/transfers'
--
[getTransfersResponseBody200Url] :: GetTransfersResponseBody200 -> Text
-- | Create a new GetTransfersResponseBody200 with all required
-- fields.
mkGetTransfersResponseBody200 :: [Transfer] -> Bool -> Text -> GetTransfersResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetTransfers.GetTransfersParametersQueryCreated'OneOf1
instance GHC.Show.Show StripeAPI.Operations.GetTransfers.GetTransfersParametersQueryCreated'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.GetTransfers.GetTransfersParametersQueryCreated'Variants
instance GHC.Show.Show StripeAPI.Operations.GetTransfers.GetTransfersParametersQueryCreated'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetTransfers.GetTransfersParameters
instance GHC.Show.Show StripeAPI.Operations.GetTransfers.GetTransfersParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetTransfers.GetTransfersResponseBody200
instance GHC.Show.Show StripeAPI.Operations.GetTransfers.GetTransfersResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetTransfers.GetTransfersResponse
instance GHC.Show.Show StripeAPI.Operations.GetTransfers.GetTransfersResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetTransfers.GetTransfersResponseBody200
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetTransfers.GetTransfersResponseBody200
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetTransfers.GetTransfersParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetTransfers.GetTransfersParameters
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetTransfers.GetTransfersParametersQueryCreated'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetTransfers.GetTransfersParametersQueryCreated'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetTransfers.GetTransfersParametersQueryCreated'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetTransfers.GetTransfersParametersQueryCreated'OneOf1
-- | Contains the different functions to run the operation getTopupsTopup
module StripeAPI.Operations.GetTopupsTopup
-- |
-- GET /v1/topups/{topup}
--
--
-- <p>Retrieves the details of a top-up that has previously been
-- created. Supply the unique top-up ID that was returned from your
-- previous request, and Stripe will return the corresponding top-up
-- information.</p>
getTopupsTopup :: forall m. MonadHTTP m => GetTopupsTopupParameters -> ClientT m (Response GetTopupsTopupResponse)
-- | Defines the object schema located at
-- paths./v1/topups/{topup}.GET.parameters in the specification.
data GetTopupsTopupParameters
GetTopupsTopupParameters :: Text -> Maybe [Text] -> GetTopupsTopupParameters
-- | pathTopup: Represents the parameter named 'topup'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getTopupsTopupParametersPathTopup] :: GetTopupsTopupParameters -> Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getTopupsTopupParametersQueryExpand] :: GetTopupsTopupParameters -> Maybe [Text]
-- | Create a new GetTopupsTopupParameters with all required fields.
mkGetTopupsTopupParameters :: Text -> GetTopupsTopupParameters
-- | Represents a response of the operation getTopupsTopup.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetTopupsTopupResponseError is used.
data GetTopupsTopupResponse
-- | Means either no matching case available or a parse error
GetTopupsTopupResponseError :: String -> GetTopupsTopupResponse
-- | Successful response.
GetTopupsTopupResponse200 :: Topup -> GetTopupsTopupResponse
-- | Error response.
GetTopupsTopupResponseDefault :: Error -> GetTopupsTopupResponse
instance GHC.Classes.Eq StripeAPI.Operations.GetTopupsTopup.GetTopupsTopupParameters
instance GHC.Show.Show StripeAPI.Operations.GetTopupsTopup.GetTopupsTopupParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetTopupsTopup.GetTopupsTopupResponse
instance GHC.Show.Show StripeAPI.Operations.GetTopupsTopup.GetTopupsTopupResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetTopupsTopup.GetTopupsTopupParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetTopupsTopup.GetTopupsTopupParameters
-- | Contains the different functions to run the operation getTopups
module StripeAPI.Operations.GetTopups
-- |
-- GET /v1/topups
--
--
-- <p>Returns a list of top-ups.</p>
getTopups :: forall m. MonadHTTP m => GetTopupsParameters -> ClientT m (Response GetTopupsResponse)
-- | Defines the object schema located at
-- paths./v1/topups.GET.parameters in the specification.
data GetTopupsParameters
GetTopupsParameters :: Maybe GetTopupsParametersQueryAmount'Variants -> Maybe GetTopupsParametersQueryCreated'Variants -> Maybe Text -> Maybe [Text] -> Maybe Int -> Maybe Text -> Maybe GetTopupsParametersQueryStatus' -> GetTopupsParameters
-- | queryAmount: Represents the parameter named 'amount'
--
-- A positive integer representing how much to transfer.
[getTopupsParametersQueryAmount] :: GetTopupsParameters -> Maybe GetTopupsParametersQueryAmount'Variants
-- | queryCreated: Represents the parameter named 'created'
--
-- A filter on the list, based on the object `created` field. The value
-- can be a string with an integer Unix timestamp, or it can be a
-- dictionary with a number of different query options.
[getTopupsParametersQueryCreated] :: GetTopupsParameters -> Maybe GetTopupsParametersQueryCreated'Variants
-- | queryEnding_before: Represents the parameter named 'ending_before'
--
-- A cursor for use in pagination. `ending_before` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, starting with `obj_bar`, your
-- subsequent call can include `ending_before=obj_bar` in order to fetch
-- the previous page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getTopupsParametersQueryEndingBefore] :: GetTopupsParameters -> Maybe Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getTopupsParametersQueryExpand] :: GetTopupsParameters -> Maybe [Text]
-- | queryLimit: Represents the parameter named 'limit'
--
-- A limit on the number of objects to be returned. Limit can range
-- between 1 and 100, and the default is 10.
[getTopupsParametersQueryLimit] :: GetTopupsParameters -> Maybe Int
-- | queryStarting_after: Represents the parameter named 'starting_after'
--
-- A cursor for use in pagination. `starting_after` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, ending with `obj_foo`, your
-- subsequent call can include `starting_after=obj_foo` in order to fetch
-- the next page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getTopupsParametersQueryStartingAfter] :: GetTopupsParameters -> Maybe Text
-- | queryStatus: Represents the parameter named 'status'
--
-- Only return top-ups that have the given status. One of `canceled`,
-- `failed`, `pending` or `succeeded`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getTopupsParametersQueryStatus] :: GetTopupsParameters -> Maybe GetTopupsParametersQueryStatus'
-- | Create a new GetTopupsParameters with all required fields.
mkGetTopupsParameters :: GetTopupsParameters
-- | Defines the object schema located at
-- paths./v1/topups.GET.parameters.properties.queryAmount.anyOf
-- in the specification.
data GetTopupsParametersQueryAmount'OneOf1
GetTopupsParametersQueryAmount'OneOf1 :: Maybe Int -> Maybe Int -> Maybe Int -> Maybe Int -> GetTopupsParametersQueryAmount'OneOf1
-- | gt
[getTopupsParametersQueryAmount'OneOf1Gt] :: GetTopupsParametersQueryAmount'OneOf1 -> Maybe Int
-- | gte
[getTopupsParametersQueryAmount'OneOf1Gte] :: GetTopupsParametersQueryAmount'OneOf1 -> Maybe Int
-- | lt
[getTopupsParametersQueryAmount'OneOf1Lt] :: GetTopupsParametersQueryAmount'OneOf1 -> Maybe Int
-- | lte
[getTopupsParametersQueryAmount'OneOf1Lte] :: GetTopupsParametersQueryAmount'OneOf1 -> Maybe Int
-- | Create a new GetTopupsParametersQueryAmount'OneOf1 with all
-- required fields.
mkGetTopupsParametersQueryAmount'OneOf1 :: GetTopupsParametersQueryAmount'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/topups.GET.parameters.properties.queryAmount.anyOf
-- in the specification.
--
-- Represents the parameter named 'amount'
--
-- A positive integer representing how much to transfer.
data GetTopupsParametersQueryAmount'Variants
GetTopupsParametersQueryAmount'GetTopupsParametersQueryAmount'OneOf1 :: GetTopupsParametersQueryAmount'OneOf1 -> GetTopupsParametersQueryAmount'Variants
GetTopupsParametersQueryAmount'Int :: Int -> GetTopupsParametersQueryAmount'Variants
-- | Defines the object schema located at
-- paths./v1/topups.GET.parameters.properties.queryCreated.anyOf
-- in the specification.
data GetTopupsParametersQueryCreated'OneOf1
GetTopupsParametersQueryCreated'OneOf1 :: Maybe Int -> Maybe Int -> Maybe Int -> Maybe Int -> GetTopupsParametersQueryCreated'OneOf1
-- | gt
[getTopupsParametersQueryCreated'OneOf1Gt] :: GetTopupsParametersQueryCreated'OneOf1 -> Maybe Int
-- | gte
[getTopupsParametersQueryCreated'OneOf1Gte] :: GetTopupsParametersQueryCreated'OneOf1 -> Maybe Int
-- | lt
[getTopupsParametersQueryCreated'OneOf1Lt] :: GetTopupsParametersQueryCreated'OneOf1 -> Maybe Int
-- | lte
[getTopupsParametersQueryCreated'OneOf1Lte] :: GetTopupsParametersQueryCreated'OneOf1 -> Maybe Int
-- | Create a new GetTopupsParametersQueryCreated'OneOf1 with all
-- required fields.
mkGetTopupsParametersQueryCreated'OneOf1 :: GetTopupsParametersQueryCreated'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/topups.GET.parameters.properties.queryCreated.anyOf
-- in the specification.
--
-- Represents the parameter named 'created'
--
-- A filter on the list, based on the object `created` field. The value
-- can be a string with an integer Unix timestamp, or it can be a
-- dictionary with a number of different query options.
data GetTopupsParametersQueryCreated'Variants
GetTopupsParametersQueryCreated'GetTopupsParametersQueryCreated'OneOf1 :: GetTopupsParametersQueryCreated'OneOf1 -> GetTopupsParametersQueryCreated'Variants
GetTopupsParametersQueryCreated'Int :: Int -> GetTopupsParametersQueryCreated'Variants
-- | Defines the enum schema located at
-- paths./v1/topups.GET.parameters.properties.queryStatus in the
-- specification.
--
-- Represents the parameter named 'status'
--
-- Only return top-ups that have the given status. One of `canceled`,
-- `failed`, `pending` or `succeeded`.
data GetTopupsParametersQueryStatus'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
GetTopupsParametersQueryStatus'Other :: Value -> GetTopupsParametersQueryStatus'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
GetTopupsParametersQueryStatus'Typed :: Text -> GetTopupsParametersQueryStatus'
-- | Represents the JSON value "canceled"
GetTopupsParametersQueryStatus'EnumCanceled :: GetTopupsParametersQueryStatus'
-- | Represents the JSON value "failed"
GetTopupsParametersQueryStatus'EnumFailed :: GetTopupsParametersQueryStatus'
-- | Represents the JSON value "pending"
GetTopupsParametersQueryStatus'EnumPending :: GetTopupsParametersQueryStatus'
-- | Represents the JSON value "succeeded"
GetTopupsParametersQueryStatus'EnumSucceeded :: GetTopupsParametersQueryStatus'
-- | Represents a response of the operation getTopups.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetTopupsResponseError is used.
data GetTopupsResponse
-- | Means either no matching case available or a parse error
GetTopupsResponseError :: String -> GetTopupsResponse
-- | Successful response.
GetTopupsResponse200 :: GetTopupsResponseBody200 -> GetTopupsResponse
-- | Error response.
GetTopupsResponseDefault :: Error -> GetTopupsResponse
-- | Defines the object schema located at
-- paths./v1/topups.GET.responses.200.content.application/json.schema
-- in the specification.
data GetTopupsResponseBody200
GetTopupsResponseBody200 :: [Topup] -> Bool -> Text -> GetTopupsResponseBody200
-- | data
[getTopupsResponseBody200Data] :: GetTopupsResponseBody200 -> [Topup]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[getTopupsResponseBody200HasMore] :: GetTopupsResponseBody200 -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
-- - Must match pattern '^/v1/topups'
--
[getTopupsResponseBody200Url] :: GetTopupsResponseBody200 -> Text
-- | Create a new GetTopupsResponseBody200 with all required fields.
mkGetTopupsResponseBody200 :: [Topup] -> Bool -> Text -> GetTopupsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetTopups.GetTopupsParametersQueryAmount'OneOf1
instance GHC.Show.Show StripeAPI.Operations.GetTopups.GetTopupsParametersQueryAmount'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.GetTopups.GetTopupsParametersQueryAmount'Variants
instance GHC.Show.Show StripeAPI.Operations.GetTopups.GetTopupsParametersQueryAmount'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetTopups.GetTopupsParametersQueryCreated'OneOf1
instance GHC.Show.Show StripeAPI.Operations.GetTopups.GetTopupsParametersQueryCreated'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.GetTopups.GetTopupsParametersQueryCreated'Variants
instance GHC.Show.Show StripeAPI.Operations.GetTopups.GetTopupsParametersQueryCreated'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetTopups.GetTopupsParametersQueryStatus'
instance GHC.Show.Show StripeAPI.Operations.GetTopups.GetTopupsParametersQueryStatus'
instance GHC.Classes.Eq StripeAPI.Operations.GetTopups.GetTopupsParameters
instance GHC.Show.Show StripeAPI.Operations.GetTopups.GetTopupsParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetTopups.GetTopupsResponseBody200
instance GHC.Show.Show StripeAPI.Operations.GetTopups.GetTopupsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetTopups.GetTopupsResponse
instance GHC.Show.Show StripeAPI.Operations.GetTopups.GetTopupsResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetTopups.GetTopupsResponseBody200
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetTopups.GetTopupsResponseBody200
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetTopups.GetTopupsParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetTopups.GetTopupsParameters
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetTopups.GetTopupsParametersQueryStatus'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetTopups.GetTopupsParametersQueryStatus'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetTopups.GetTopupsParametersQueryCreated'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetTopups.GetTopupsParametersQueryCreated'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetTopups.GetTopupsParametersQueryCreated'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetTopups.GetTopupsParametersQueryCreated'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetTopups.GetTopupsParametersQueryAmount'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetTopups.GetTopupsParametersQueryAmount'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetTopups.GetTopupsParametersQueryAmount'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetTopups.GetTopupsParametersQueryAmount'OneOf1
-- | Contains the different functions to run the operation getTokensToken
module StripeAPI.Operations.GetTokensToken
-- |
-- GET /v1/tokens/{token}
--
--
-- <p>Retrieves the token with the given ID.</p>
getTokensToken :: forall m. MonadHTTP m => GetTokensTokenParameters -> ClientT m (Response GetTokensTokenResponse)
-- | Defines the object schema located at
-- paths./v1/tokens/{token}.GET.parameters in the specification.
data GetTokensTokenParameters
GetTokensTokenParameters :: Text -> Maybe [Text] -> GetTokensTokenParameters
-- | pathToken: Represents the parameter named 'token'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getTokensTokenParametersPathToken] :: GetTokensTokenParameters -> Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getTokensTokenParametersQueryExpand] :: GetTokensTokenParameters -> Maybe [Text]
-- | Create a new GetTokensTokenParameters with all required fields.
mkGetTokensTokenParameters :: Text -> GetTokensTokenParameters
-- | Represents a response of the operation getTokensToken.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetTokensTokenResponseError is used.
data GetTokensTokenResponse
-- | Means either no matching case available or a parse error
GetTokensTokenResponseError :: String -> GetTokensTokenResponse
-- | Successful response.
GetTokensTokenResponse200 :: Token -> GetTokensTokenResponse
-- | Error response.
GetTokensTokenResponseDefault :: Error -> GetTokensTokenResponse
instance GHC.Classes.Eq StripeAPI.Operations.GetTokensToken.GetTokensTokenParameters
instance GHC.Show.Show StripeAPI.Operations.GetTokensToken.GetTokensTokenParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetTokensToken.GetTokensTokenResponse
instance GHC.Show.Show StripeAPI.Operations.GetTokensToken.GetTokensTokenResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetTokensToken.GetTokensTokenParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetTokensToken.GetTokensTokenParameters
-- | Contains the different functions to run the operation
-- getTerminalReadersReader
module StripeAPI.Operations.GetTerminalReadersReader
-- |
-- GET /v1/terminal/readers/{reader}
--
--
-- <p>Retrieves a <code>Reader</code> object.</p>
getTerminalReadersReader :: forall m. MonadHTTP m => GetTerminalReadersReaderParameters -> ClientT m (Response GetTerminalReadersReaderResponse)
-- | Defines the object schema located at
-- paths./v1/terminal/readers/{reader}.GET.parameters in the
-- specification.
data GetTerminalReadersReaderParameters
GetTerminalReadersReaderParameters :: Text -> Maybe [Text] -> GetTerminalReadersReaderParameters
-- | pathReader: Represents the parameter named 'reader'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getTerminalReadersReaderParametersPathReader] :: GetTerminalReadersReaderParameters -> Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getTerminalReadersReaderParametersQueryExpand] :: GetTerminalReadersReaderParameters -> Maybe [Text]
-- | Create a new GetTerminalReadersReaderParameters with all
-- required fields.
mkGetTerminalReadersReaderParameters :: Text -> GetTerminalReadersReaderParameters
-- | Represents a response of the operation
-- getTerminalReadersReader.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetTerminalReadersReaderResponseError
-- is used.
data GetTerminalReadersReaderResponse
-- | Means either no matching case available or a parse error
GetTerminalReadersReaderResponseError :: String -> GetTerminalReadersReaderResponse
-- | Successful response.
GetTerminalReadersReaderResponse200 :: Terminal'reader -> GetTerminalReadersReaderResponse
-- | Error response.
GetTerminalReadersReaderResponseDefault :: Error -> GetTerminalReadersReaderResponse
instance GHC.Classes.Eq StripeAPI.Operations.GetTerminalReadersReader.GetTerminalReadersReaderParameters
instance GHC.Show.Show StripeAPI.Operations.GetTerminalReadersReader.GetTerminalReadersReaderParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetTerminalReadersReader.GetTerminalReadersReaderResponse
instance GHC.Show.Show StripeAPI.Operations.GetTerminalReadersReader.GetTerminalReadersReaderResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetTerminalReadersReader.GetTerminalReadersReaderParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetTerminalReadersReader.GetTerminalReadersReaderParameters
-- | Contains the different functions to run the operation
-- getTerminalReaders
module StripeAPI.Operations.GetTerminalReaders
-- |
-- GET /v1/terminal/readers
--
--
-- <p>Returns a list of <code>Reader</code>
-- objects.</p>
getTerminalReaders :: forall m. MonadHTTP m => GetTerminalReadersParameters -> ClientT m (Response GetTerminalReadersResponse)
-- | Defines the object schema located at
-- paths./v1/terminal/readers.GET.parameters in the
-- specification.
data GetTerminalReadersParameters
GetTerminalReadersParameters :: Maybe GetTerminalReadersParametersQueryDeviceType' -> Maybe Text -> Maybe [Text] -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe GetTerminalReadersParametersQueryStatus' -> GetTerminalReadersParameters
-- | queryDevice_type: Represents the parameter named 'device_type'
--
-- Filters readers by device type
[getTerminalReadersParametersQueryDeviceType] :: GetTerminalReadersParameters -> Maybe GetTerminalReadersParametersQueryDeviceType'
-- | queryEnding_before: Represents the parameter named 'ending_before'
--
-- A cursor for use in pagination. `ending_before` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, starting with `obj_bar`, your
-- subsequent call can include `ending_before=obj_bar` in order to fetch
-- the previous page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getTerminalReadersParametersQueryEndingBefore] :: GetTerminalReadersParameters -> Maybe Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getTerminalReadersParametersQueryExpand] :: GetTerminalReadersParameters -> Maybe [Text]
-- | queryLimit: Represents the parameter named 'limit'
--
-- A limit on the number of objects to be returned. Limit can range
-- between 1 and 100, and the default is 10.
[getTerminalReadersParametersQueryLimit] :: GetTerminalReadersParameters -> Maybe Int
-- | queryLocation: Represents the parameter named 'location'
--
-- A location ID to filter the response list to only readers at the
-- specific location
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getTerminalReadersParametersQueryLocation] :: GetTerminalReadersParameters -> Maybe Text
-- | queryStarting_after: Represents the parameter named 'starting_after'
--
-- A cursor for use in pagination. `starting_after` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, ending with `obj_foo`, your
-- subsequent call can include `starting_after=obj_foo` in order to fetch
-- the next page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getTerminalReadersParametersQueryStartingAfter] :: GetTerminalReadersParameters -> Maybe Text
-- | queryStatus: Represents the parameter named 'status'
--
-- A status filter to filter readers to only offline or online readers
[getTerminalReadersParametersQueryStatus] :: GetTerminalReadersParameters -> Maybe GetTerminalReadersParametersQueryStatus'
-- | Create a new GetTerminalReadersParameters with all required
-- fields.
mkGetTerminalReadersParameters :: GetTerminalReadersParameters
-- | Defines the enum schema located at
-- paths./v1/terminal/readers.GET.parameters.properties.queryDevice_type
-- in the specification.
--
-- Represents the parameter named 'device_type'
--
-- Filters readers by device type
data GetTerminalReadersParametersQueryDeviceType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
GetTerminalReadersParametersQueryDeviceType'Other :: Value -> GetTerminalReadersParametersQueryDeviceType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
GetTerminalReadersParametersQueryDeviceType'Typed :: Text -> GetTerminalReadersParametersQueryDeviceType'
-- | Represents the JSON value "bbpos_chipper2x"
GetTerminalReadersParametersQueryDeviceType'EnumBbposChipper2x :: GetTerminalReadersParametersQueryDeviceType'
-- | Represents the JSON value "verifone_P400"
GetTerminalReadersParametersQueryDeviceType'EnumVerifoneP400 :: GetTerminalReadersParametersQueryDeviceType'
-- | Defines the enum schema located at
-- paths./v1/terminal/readers.GET.parameters.properties.queryStatus
-- in the specification.
--
-- Represents the parameter named 'status'
--
-- A status filter to filter readers to only offline or online readers
data GetTerminalReadersParametersQueryStatus'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
GetTerminalReadersParametersQueryStatus'Other :: Value -> GetTerminalReadersParametersQueryStatus'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
GetTerminalReadersParametersQueryStatus'Typed :: Text -> GetTerminalReadersParametersQueryStatus'
-- | Represents the JSON value "offline"
GetTerminalReadersParametersQueryStatus'EnumOffline :: GetTerminalReadersParametersQueryStatus'
-- | Represents the JSON value "online"
GetTerminalReadersParametersQueryStatus'EnumOnline :: GetTerminalReadersParametersQueryStatus'
-- | Represents a response of the operation getTerminalReaders.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetTerminalReadersResponseError is
-- used.
data GetTerminalReadersResponse
-- | Means either no matching case available or a parse error
GetTerminalReadersResponseError :: String -> GetTerminalReadersResponse
-- | Successful response.
GetTerminalReadersResponse200 :: GetTerminalReadersResponseBody200 -> GetTerminalReadersResponse
-- | Error response.
GetTerminalReadersResponseDefault :: Error -> GetTerminalReadersResponse
-- | Defines the object schema located at
-- paths./v1/terminal/readers.GET.responses.200.content.application/json.schema
-- in the specification.
data GetTerminalReadersResponseBody200
GetTerminalReadersResponseBody200 :: [Terminal'reader] -> Bool -> Text -> GetTerminalReadersResponseBody200
-- | data: A list of readers
[getTerminalReadersResponseBody200Data] :: GetTerminalReadersResponseBody200 -> [Terminal'reader]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[getTerminalReadersResponseBody200HasMore] :: GetTerminalReadersResponseBody200 -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getTerminalReadersResponseBody200Url] :: GetTerminalReadersResponseBody200 -> Text
-- | Create a new GetTerminalReadersResponseBody200 with all
-- required fields.
mkGetTerminalReadersResponseBody200 :: [Terminal'reader] -> Bool -> Text -> GetTerminalReadersResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetTerminalReaders.GetTerminalReadersParametersQueryDeviceType'
instance GHC.Show.Show StripeAPI.Operations.GetTerminalReaders.GetTerminalReadersParametersQueryDeviceType'
instance GHC.Classes.Eq StripeAPI.Operations.GetTerminalReaders.GetTerminalReadersParametersQueryStatus'
instance GHC.Show.Show StripeAPI.Operations.GetTerminalReaders.GetTerminalReadersParametersQueryStatus'
instance GHC.Classes.Eq StripeAPI.Operations.GetTerminalReaders.GetTerminalReadersParameters
instance GHC.Show.Show StripeAPI.Operations.GetTerminalReaders.GetTerminalReadersParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetTerminalReaders.GetTerminalReadersResponseBody200
instance GHC.Show.Show StripeAPI.Operations.GetTerminalReaders.GetTerminalReadersResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetTerminalReaders.GetTerminalReadersResponse
instance GHC.Show.Show StripeAPI.Operations.GetTerminalReaders.GetTerminalReadersResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetTerminalReaders.GetTerminalReadersResponseBody200
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetTerminalReaders.GetTerminalReadersResponseBody200
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetTerminalReaders.GetTerminalReadersParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetTerminalReaders.GetTerminalReadersParameters
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetTerminalReaders.GetTerminalReadersParametersQueryStatus'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetTerminalReaders.GetTerminalReadersParametersQueryStatus'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetTerminalReaders.GetTerminalReadersParametersQueryDeviceType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetTerminalReaders.GetTerminalReadersParametersQueryDeviceType'
-- | Contains the different functions to run the operation
-- getTerminalLocationsLocation
module StripeAPI.Operations.GetTerminalLocationsLocation
-- |
-- GET /v1/terminal/locations/{location}
--
--
-- <p>Retrieves a <code>Location</code>
-- object.</p>
getTerminalLocationsLocation :: forall m. MonadHTTP m => GetTerminalLocationsLocationParameters -> ClientT m (Response GetTerminalLocationsLocationResponse)
-- | Defines the object schema located at
-- paths./v1/terminal/locations/{location}.GET.parameters in the
-- specification.
data GetTerminalLocationsLocationParameters
GetTerminalLocationsLocationParameters :: Text -> Maybe [Text] -> GetTerminalLocationsLocationParameters
-- | pathLocation: Represents the parameter named 'location'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getTerminalLocationsLocationParametersPathLocation] :: GetTerminalLocationsLocationParameters -> Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getTerminalLocationsLocationParametersQueryExpand] :: GetTerminalLocationsLocationParameters -> Maybe [Text]
-- | Create a new GetTerminalLocationsLocationParameters with all
-- required fields.
mkGetTerminalLocationsLocationParameters :: Text -> GetTerminalLocationsLocationParameters
-- | Represents a response of the operation
-- getTerminalLocationsLocation.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- GetTerminalLocationsLocationResponseError is used.
data GetTerminalLocationsLocationResponse
-- | Means either no matching case available or a parse error
GetTerminalLocationsLocationResponseError :: String -> GetTerminalLocationsLocationResponse
-- | Successful response.
GetTerminalLocationsLocationResponse200 :: Terminal'location -> GetTerminalLocationsLocationResponse
-- | Error response.
GetTerminalLocationsLocationResponseDefault :: Error -> GetTerminalLocationsLocationResponse
instance GHC.Classes.Eq StripeAPI.Operations.GetTerminalLocationsLocation.GetTerminalLocationsLocationParameters
instance GHC.Show.Show StripeAPI.Operations.GetTerminalLocationsLocation.GetTerminalLocationsLocationParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetTerminalLocationsLocation.GetTerminalLocationsLocationResponse
instance GHC.Show.Show StripeAPI.Operations.GetTerminalLocationsLocation.GetTerminalLocationsLocationResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetTerminalLocationsLocation.GetTerminalLocationsLocationParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetTerminalLocationsLocation.GetTerminalLocationsLocationParameters
-- | Contains the different functions to run the operation
-- getTerminalLocations
module StripeAPI.Operations.GetTerminalLocations
-- |
-- GET /v1/terminal/locations
--
--
-- <p>Returns a list of <code>Location</code>
-- objects.</p>
getTerminalLocations :: forall m. MonadHTTP m => GetTerminalLocationsParameters -> ClientT m (Response GetTerminalLocationsResponse)
-- | Defines the object schema located at
-- paths./v1/terminal/locations.GET.parameters in the
-- specification.
data GetTerminalLocationsParameters
GetTerminalLocationsParameters :: Maybe Text -> Maybe [Text] -> Maybe Int -> Maybe Text -> GetTerminalLocationsParameters
-- | queryEnding_before: Represents the parameter named 'ending_before'
--
-- A cursor for use in pagination. `ending_before` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, starting with `obj_bar`, your
-- subsequent call can include `ending_before=obj_bar` in order to fetch
-- the previous page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getTerminalLocationsParametersQueryEndingBefore] :: GetTerminalLocationsParameters -> Maybe Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getTerminalLocationsParametersQueryExpand] :: GetTerminalLocationsParameters -> Maybe [Text]
-- | queryLimit: Represents the parameter named 'limit'
--
-- A limit on the number of objects to be returned. Limit can range
-- between 1 and 100, and the default is 10.
[getTerminalLocationsParametersQueryLimit] :: GetTerminalLocationsParameters -> Maybe Int
-- | queryStarting_after: Represents the parameter named 'starting_after'
--
-- A cursor for use in pagination. `starting_after` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, ending with `obj_foo`, your
-- subsequent call can include `starting_after=obj_foo` in order to fetch
-- the next page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getTerminalLocationsParametersQueryStartingAfter] :: GetTerminalLocationsParameters -> Maybe Text
-- | Create a new GetTerminalLocationsParameters with all required
-- fields.
mkGetTerminalLocationsParameters :: GetTerminalLocationsParameters
-- | Represents a response of the operation getTerminalLocations.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetTerminalLocationsResponseError is
-- used.
data GetTerminalLocationsResponse
-- | Means either no matching case available or a parse error
GetTerminalLocationsResponseError :: String -> GetTerminalLocationsResponse
-- | Successful response.
GetTerminalLocationsResponse200 :: GetTerminalLocationsResponseBody200 -> GetTerminalLocationsResponse
-- | Error response.
GetTerminalLocationsResponseDefault :: Error -> GetTerminalLocationsResponse
-- | Defines the object schema located at
-- paths./v1/terminal/locations.GET.responses.200.content.application/json.schema
-- in the specification.
data GetTerminalLocationsResponseBody200
GetTerminalLocationsResponseBody200 :: [Terminal'location] -> Bool -> Text -> GetTerminalLocationsResponseBody200
-- | data
[getTerminalLocationsResponseBody200Data] :: GetTerminalLocationsResponseBody200 -> [Terminal'location]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[getTerminalLocationsResponseBody200HasMore] :: GetTerminalLocationsResponseBody200 -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
-- - Must match pattern '^/v1/terminal/locations'
--
[getTerminalLocationsResponseBody200Url] :: GetTerminalLocationsResponseBody200 -> Text
-- | Create a new GetTerminalLocationsResponseBody200 with all
-- required fields.
mkGetTerminalLocationsResponseBody200 :: [Terminal'location] -> Bool -> Text -> GetTerminalLocationsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetTerminalLocations.GetTerminalLocationsParameters
instance GHC.Show.Show StripeAPI.Operations.GetTerminalLocations.GetTerminalLocationsParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetTerminalLocations.GetTerminalLocationsResponseBody200
instance GHC.Show.Show StripeAPI.Operations.GetTerminalLocations.GetTerminalLocationsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetTerminalLocations.GetTerminalLocationsResponse
instance GHC.Show.Show StripeAPI.Operations.GetTerminalLocations.GetTerminalLocationsResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetTerminalLocations.GetTerminalLocationsResponseBody200
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetTerminalLocations.GetTerminalLocationsResponseBody200
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetTerminalLocations.GetTerminalLocationsParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetTerminalLocations.GetTerminalLocationsParameters
-- | Contains the different functions to run the operation
-- getTaxRatesTaxRate
module StripeAPI.Operations.GetTaxRatesTaxRate
-- |
-- GET /v1/tax_rates/{tax_rate}
--
--
-- <p>Retrieves a tax rate with the given ID</p>
getTaxRatesTaxRate :: forall m. MonadHTTP m => GetTaxRatesTaxRateParameters -> ClientT m (Response GetTaxRatesTaxRateResponse)
-- | Defines the object schema located at
-- paths./v1/tax_rates/{tax_rate}.GET.parameters in the
-- specification.
data GetTaxRatesTaxRateParameters
GetTaxRatesTaxRateParameters :: Text -> Maybe [Text] -> GetTaxRatesTaxRateParameters
-- | pathTax_rate: Represents the parameter named 'tax_rate'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getTaxRatesTaxRateParametersPathTaxRate] :: GetTaxRatesTaxRateParameters -> Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getTaxRatesTaxRateParametersQueryExpand] :: GetTaxRatesTaxRateParameters -> Maybe [Text]
-- | Create a new GetTaxRatesTaxRateParameters with all required
-- fields.
mkGetTaxRatesTaxRateParameters :: Text -> GetTaxRatesTaxRateParameters
-- | Represents a response of the operation getTaxRatesTaxRate.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetTaxRatesTaxRateResponseError is
-- used.
data GetTaxRatesTaxRateResponse
-- | Means either no matching case available or a parse error
GetTaxRatesTaxRateResponseError :: String -> GetTaxRatesTaxRateResponse
-- | Successful response.
GetTaxRatesTaxRateResponse200 :: TaxRate -> GetTaxRatesTaxRateResponse
-- | Error response.
GetTaxRatesTaxRateResponseDefault :: Error -> GetTaxRatesTaxRateResponse
instance GHC.Classes.Eq StripeAPI.Operations.GetTaxRatesTaxRate.GetTaxRatesTaxRateParameters
instance GHC.Show.Show StripeAPI.Operations.GetTaxRatesTaxRate.GetTaxRatesTaxRateParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetTaxRatesTaxRate.GetTaxRatesTaxRateResponse
instance GHC.Show.Show StripeAPI.Operations.GetTaxRatesTaxRate.GetTaxRatesTaxRateResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetTaxRatesTaxRate.GetTaxRatesTaxRateParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetTaxRatesTaxRate.GetTaxRatesTaxRateParameters
-- | Contains the different functions to run the operation getTaxRates
module StripeAPI.Operations.GetTaxRates
-- |
-- GET /v1/tax_rates
--
--
-- <p>Returns a list of your tax rates. Tax rates are returned
-- sorted by creation date, with the most recently created tax rates
-- appearing first.</p>
getTaxRates :: forall m. MonadHTTP m => GetTaxRatesParameters -> ClientT m (Response GetTaxRatesResponse)
-- | Defines the object schema located at
-- paths./v1/tax_rates.GET.parameters in the specification.
data GetTaxRatesParameters
GetTaxRatesParameters :: Maybe Bool -> Maybe GetTaxRatesParametersQueryCreated'Variants -> Maybe Text -> Maybe [Text] -> Maybe Bool -> Maybe Int -> Maybe Text -> GetTaxRatesParameters
-- | queryActive: Represents the parameter named 'active'
--
-- Optional flag to filter by tax rates that are either active or
-- inactive (archived).
[getTaxRatesParametersQueryActive] :: GetTaxRatesParameters -> Maybe Bool
-- | queryCreated: Represents the parameter named 'created'
--
-- Optional range for filtering created date.
[getTaxRatesParametersQueryCreated] :: GetTaxRatesParameters -> Maybe GetTaxRatesParametersQueryCreated'Variants
-- | queryEnding_before: Represents the parameter named 'ending_before'
--
-- A cursor for use in pagination. `ending_before` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, starting with `obj_bar`, your
-- subsequent call can include `ending_before=obj_bar` in order to fetch
-- the previous page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getTaxRatesParametersQueryEndingBefore] :: GetTaxRatesParameters -> Maybe Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getTaxRatesParametersQueryExpand] :: GetTaxRatesParameters -> Maybe [Text]
-- | queryInclusive: Represents the parameter named 'inclusive'
--
-- Optional flag to filter by tax rates that are inclusive (or those that
-- are not inclusive).
[getTaxRatesParametersQueryInclusive] :: GetTaxRatesParameters -> Maybe Bool
-- | queryLimit: Represents the parameter named 'limit'
--
-- A limit on the number of objects to be returned. Limit can range
-- between 1 and 100, and the default is 10.
[getTaxRatesParametersQueryLimit] :: GetTaxRatesParameters -> Maybe Int
-- | queryStarting_after: Represents the parameter named 'starting_after'
--
-- A cursor for use in pagination. `starting_after` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, ending with `obj_foo`, your
-- subsequent call can include `starting_after=obj_foo` in order to fetch
-- the next page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getTaxRatesParametersQueryStartingAfter] :: GetTaxRatesParameters -> Maybe Text
-- | Create a new GetTaxRatesParameters with all required fields.
mkGetTaxRatesParameters :: GetTaxRatesParameters
-- | Defines the object schema located at
-- paths./v1/tax_rates.GET.parameters.properties.queryCreated.anyOf
-- in the specification.
data GetTaxRatesParametersQueryCreated'OneOf1
GetTaxRatesParametersQueryCreated'OneOf1 :: Maybe Int -> Maybe Int -> Maybe Int -> Maybe Int -> GetTaxRatesParametersQueryCreated'OneOf1
-- | gt
[getTaxRatesParametersQueryCreated'OneOf1Gt] :: GetTaxRatesParametersQueryCreated'OneOf1 -> Maybe Int
-- | gte
[getTaxRatesParametersQueryCreated'OneOf1Gte] :: GetTaxRatesParametersQueryCreated'OneOf1 -> Maybe Int
-- | lt
[getTaxRatesParametersQueryCreated'OneOf1Lt] :: GetTaxRatesParametersQueryCreated'OneOf1 -> Maybe Int
-- | lte
[getTaxRatesParametersQueryCreated'OneOf1Lte] :: GetTaxRatesParametersQueryCreated'OneOf1 -> Maybe Int
-- | Create a new GetTaxRatesParametersQueryCreated'OneOf1 with all
-- required fields.
mkGetTaxRatesParametersQueryCreated'OneOf1 :: GetTaxRatesParametersQueryCreated'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/tax_rates.GET.parameters.properties.queryCreated.anyOf
-- in the specification.
--
-- Represents the parameter named 'created'
--
-- Optional range for filtering created date.
data GetTaxRatesParametersQueryCreated'Variants
GetTaxRatesParametersQueryCreated'GetTaxRatesParametersQueryCreated'OneOf1 :: GetTaxRatesParametersQueryCreated'OneOf1 -> GetTaxRatesParametersQueryCreated'Variants
GetTaxRatesParametersQueryCreated'Int :: Int -> GetTaxRatesParametersQueryCreated'Variants
-- | Represents a response of the operation getTaxRates.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetTaxRatesResponseError is used.
data GetTaxRatesResponse
-- | Means either no matching case available or a parse error
GetTaxRatesResponseError :: String -> GetTaxRatesResponse
-- | Successful response.
GetTaxRatesResponse200 :: GetTaxRatesResponseBody200 -> GetTaxRatesResponse
-- | Error response.
GetTaxRatesResponseDefault :: Error -> GetTaxRatesResponse
-- | Defines the object schema located at
-- paths./v1/tax_rates.GET.responses.200.content.application/json.schema
-- in the specification.
data GetTaxRatesResponseBody200
GetTaxRatesResponseBody200 :: [TaxRate] -> Bool -> Text -> GetTaxRatesResponseBody200
-- | data
[getTaxRatesResponseBody200Data] :: GetTaxRatesResponseBody200 -> [TaxRate]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[getTaxRatesResponseBody200HasMore] :: GetTaxRatesResponseBody200 -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
-- - Must match pattern '^/v1/tax_rates'
--
[getTaxRatesResponseBody200Url] :: GetTaxRatesResponseBody200 -> Text
-- | Create a new GetTaxRatesResponseBody200 with all required
-- fields.
mkGetTaxRatesResponseBody200 :: [TaxRate] -> Bool -> Text -> GetTaxRatesResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetTaxRates.GetTaxRatesParametersQueryCreated'OneOf1
instance GHC.Show.Show StripeAPI.Operations.GetTaxRates.GetTaxRatesParametersQueryCreated'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.GetTaxRates.GetTaxRatesParametersQueryCreated'Variants
instance GHC.Show.Show StripeAPI.Operations.GetTaxRates.GetTaxRatesParametersQueryCreated'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetTaxRates.GetTaxRatesParameters
instance GHC.Show.Show StripeAPI.Operations.GetTaxRates.GetTaxRatesParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetTaxRates.GetTaxRatesResponseBody200
instance GHC.Show.Show StripeAPI.Operations.GetTaxRates.GetTaxRatesResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetTaxRates.GetTaxRatesResponse
instance GHC.Show.Show StripeAPI.Operations.GetTaxRates.GetTaxRatesResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetTaxRates.GetTaxRatesResponseBody200
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetTaxRates.GetTaxRatesResponseBody200
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetTaxRates.GetTaxRatesParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetTaxRates.GetTaxRatesParameters
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetTaxRates.GetTaxRatesParametersQueryCreated'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetTaxRates.GetTaxRatesParametersQueryCreated'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetTaxRates.GetTaxRatesParametersQueryCreated'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetTaxRates.GetTaxRatesParametersQueryCreated'OneOf1
-- | Contains the different functions to run the operation getTaxCodesId
module StripeAPI.Operations.GetTaxCodesId
-- |
-- GET /v1/tax_codes/{id}
--
--
-- <p>Retrieves the details of an existing tax code. Supply the
-- unique tax code ID and Stripe will return the corresponding tax code
-- information.</p>
getTaxCodesId :: forall m. MonadHTTP m => GetTaxCodesIdParameters -> ClientT m (Response GetTaxCodesIdResponse)
-- | Defines the object schema located at
-- paths./v1/tax_codes/{id}.GET.parameters in the specification.
data GetTaxCodesIdParameters
GetTaxCodesIdParameters :: Text -> Maybe [Text] -> GetTaxCodesIdParameters
-- | pathId: Represents the parameter named 'id'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getTaxCodesIdParametersPathId] :: GetTaxCodesIdParameters -> Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getTaxCodesIdParametersQueryExpand] :: GetTaxCodesIdParameters -> Maybe [Text]
-- | Create a new GetTaxCodesIdParameters with all required fields.
mkGetTaxCodesIdParameters :: Text -> GetTaxCodesIdParameters
-- | Represents a response of the operation getTaxCodesId.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetTaxCodesIdResponseError is used.
data GetTaxCodesIdResponse
-- | Means either no matching case available or a parse error
GetTaxCodesIdResponseError :: String -> GetTaxCodesIdResponse
-- | Successful response.
GetTaxCodesIdResponse200 :: TaxCode -> GetTaxCodesIdResponse
-- | Error response.
GetTaxCodesIdResponseDefault :: Error -> GetTaxCodesIdResponse
instance GHC.Classes.Eq StripeAPI.Operations.GetTaxCodesId.GetTaxCodesIdParameters
instance GHC.Show.Show StripeAPI.Operations.GetTaxCodesId.GetTaxCodesIdParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetTaxCodesId.GetTaxCodesIdResponse
instance GHC.Show.Show StripeAPI.Operations.GetTaxCodesId.GetTaxCodesIdResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetTaxCodesId.GetTaxCodesIdParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetTaxCodesId.GetTaxCodesIdParameters
-- | Contains the different functions to run the operation getTaxCodes
module StripeAPI.Operations.GetTaxCodes
-- |
-- GET /v1/tax_codes
--
--
-- <p>A list of <a
-- href="https://stripe.com/docs/tax/tax-codes">all tax codes
-- available</a> to add to Products in order to allow specific tax
-- calculations.</p>
getTaxCodes :: forall m. MonadHTTP m => GetTaxCodesParameters -> ClientT m (Response GetTaxCodesResponse)
-- | Defines the object schema located at
-- paths./v1/tax_codes.GET.parameters in the specification.
data GetTaxCodesParameters
GetTaxCodesParameters :: Maybe Text -> Maybe [Text] -> Maybe Int -> Maybe Text -> GetTaxCodesParameters
-- | queryEnding_before: Represents the parameter named 'ending_before'
--
-- A cursor for use in pagination. `ending_before` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, starting with `obj_bar`, your
-- subsequent call can include `ending_before=obj_bar` in order to fetch
-- the previous page of the list.
[getTaxCodesParametersQueryEndingBefore] :: GetTaxCodesParameters -> Maybe Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getTaxCodesParametersQueryExpand] :: GetTaxCodesParameters -> Maybe [Text]
-- | queryLimit: Represents the parameter named 'limit'
--
-- A limit on the number of objects to be returned. Limit can range
-- between 1 and 100, and the default is 10.
[getTaxCodesParametersQueryLimit] :: GetTaxCodesParameters -> Maybe Int
-- | queryStarting_after: Represents the parameter named 'starting_after'
--
-- A cursor for use in pagination. `starting_after` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, ending with `obj_foo`, your
-- subsequent call can include `starting_after=obj_foo` in order to fetch
-- the next page of the list.
[getTaxCodesParametersQueryStartingAfter] :: GetTaxCodesParameters -> Maybe Text
-- | Create a new GetTaxCodesParameters with all required fields.
mkGetTaxCodesParameters :: GetTaxCodesParameters
-- | Represents a response of the operation getTaxCodes.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetTaxCodesResponseError is used.
data GetTaxCodesResponse
-- | Means either no matching case available or a parse error
GetTaxCodesResponseError :: String -> GetTaxCodesResponse
-- | Successful response.
GetTaxCodesResponse200 :: GetTaxCodesResponseBody200 -> GetTaxCodesResponse
-- | Error response.
GetTaxCodesResponseDefault :: Error -> GetTaxCodesResponse
-- | Defines the object schema located at
-- paths./v1/tax_codes.GET.responses.200.content.application/json.schema
-- in the specification.
data GetTaxCodesResponseBody200
GetTaxCodesResponseBody200 :: [TaxCode] -> Bool -> Text -> GetTaxCodesResponseBody200
-- | data
[getTaxCodesResponseBody200Data] :: GetTaxCodesResponseBody200 -> [TaxCode]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[getTaxCodesResponseBody200HasMore] :: GetTaxCodesResponseBody200 -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getTaxCodesResponseBody200Url] :: GetTaxCodesResponseBody200 -> Text
-- | Create a new GetTaxCodesResponseBody200 with all required
-- fields.
mkGetTaxCodesResponseBody200 :: [TaxCode] -> Bool -> Text -> GetTaxCodesResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetTaxCodes.GetTaxCodesParameters
instance GHC.Show.Show StripeAPI.Operations.GetTaxCodes.GetTaxCodesParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetTaxCodes.GetTaxCodesResponseBody200
instance GHC.Show.Show StripeAPI.Operations.GetTaxCodes.GetTaxCodesResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetTaxCodes.GetTaxCodesResponse
instance GHC.Show.Show StripeAPI.Operations.GetTaxCodes.GetTaxCodesResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetTaxCodes.GetTaxCodesResponseBody200
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetTaxCodes.GetTaxCodesResponseBody200
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetTaxCodes.GetTaxCodesParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetTaxCodes.GetTaxCodesParameters
-- | Contains the different functions to run the operation
-- getSubscriptionsSubscriptionExposedId
module StripeAPI.Operations.GetSubscriptionsSubscriptionExposedId
-- |
-- GET /v1/subscriptions/{subscription_exposed_id}
--
--
-- <p>Retrieves the subscription with the given ID.</p>
getSubscriptionsSubscriptionExposedId :: forall m. MonadHTTP m => GetSubscriptionsSubscriptionExposedIdParameters -> ClientT m (Response GetSubscriptionsSubscriptionExposedIdResponse)
-- | Defines the object schema located at
-- paths./v1/subscriptions/{subscription_exposed_id}.GET.parameters
-- in the specification.
data GetSubscriptionsSubscriptionExposedIdParameters
GetSubscriptionsSubscriptionExposedIdParameters :: Text -> Maybe [Text] -> GetSubscriptionsSubscriptionExposedIdParameters
-- | pathSubscription_exposed_id: Represents the parameter named
-- 'subscription_exposed_id'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getSubscriptionsSubscriptionExposedIdParametersPathSubscriptionExposedId] :: GetSubscriptionsSubscriptionExposedIdParameters -> Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getSubscriptionsSubscriptionExposedIdParametersQueryExpand] :: GetSubscriptionsSubscriptionExposedIdParameters -> Maybe [Text]
-- | Create a new GetSubscriptionsSubscriptionExposedIdParameters
-- with all required fields.
mkGetSubscriptionsSubscriptionExposedIdParameters :: Text -> GetSubscriptionsSubscriptionExposedIdParameters
-- | Represents a response of the operation
-- getSubscriptionsSubscriptionExposedId.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- GetSubscriptionsSubscriptionExposedIdResponseError is used.
data GetSubscriptionsSubscriptionExposedIdResponse
-- | Means either no matching case available or a parse error
GetSubscriptionsSubscriptionExposedIdResponseError :: String -> GetSubscriptionsSubscriptionExposedIdResponse
-- | Successful response.
GetSubscriptionsSubscriptionExposedIdResponse200 :: Subscription -> GetSubscriptionsSubscriptionExposedIdResponse
-- | Error response.
GetSubscriptionsSubscriptionExposedIdResponseDefault :: Error -> GetSubscriptionsSubscriptionExposedIdResponse
instance GHC.Classes.Eq StripeAPI.Operations.GetSubscriptionsSubscriptionExposedId.GetSubscriptionsSubscriptionExposedIdParameters
instance GHC.Show.Show StripeAPI.Operations.GetSubscriptionsSubscriptionExposedId.GetSubscriptionsSubscriptionExposedIdParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetSubscriptionsSubscriptionExposedId.GetSubscriptionsSubscriptionExposedIdResponse
instance GHC.Show.Show StripeAPI.Operations.GetSubscriptionsSubscriptionExposedId.GetSubscriptionsSubscriptionExposedIdResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetSubscriptionsSubscriptionExposedId.GetSubscriptionsSubscriptionExposedIdParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetSubscriptionsSubscriptionExposedId.GetSubscriptionsSubscriptionExposedIdParameters
-- | Contains the different functions to run the operation getSubscriptions
module StripeAPI.Operations.GetSubscriptions
-- |
-- GET /v1/subscriptions
--
--
-- <p>By default, returns a list of subscriptions that have not
-- been canceled. In order to list canceled subscriptions, specify
-- <code>status=canceled</code>.</p>
getSubscriptions :: forall m. MonadHTTP m => GetSubscriptionsParameters -> ClientT m (Response GetSubscriptionsResponse)
-- | Defines the object schema located at
-- paths./v1/subscriptions.GET.parameters in the specification.
data GetSubscriptionsParameters
GetSubscriptionsParameters :: Maybe GetSubscriptionsParametersQueryCollectionMethod' -> Maybe GetSubscriptionsParametersQueryCreated'Variants -> Maybe GetSubscriptionsParametersQueryCurrentPeriodEnd'Variants -> Maybe GetSubscriptionsParametersQueryCurrentPeriodStart'Variants -> Maybe Text -> Maybe Text -> Maybe [Text] -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe GetSubscriptionsParametersQueryStatus' -> GetSubscriptionsParameters
-- | queryCollection_method: Represents the parameter named
-- 'collection_method'
--
-- The collection method of the subscriptions to retrieve. Either
-- `charge_automatically` or `send_invoice`.
[getSubscriptionsParametersQueryCollectionMethod] :: GetSubscriptionsParameters -> Maybe GetSubscriptionsParametersQueryCollectionMethod'
-- | queryCreated: Represents the parameter named 'created'
[getSubscriptionsParametersQueryCreated] :: GetSubscriptionsParameters -> Maybe GetSubscriptionsParametersQueryCreated'Variants
-- | queryCurrent_period_end: Represents the parameter named
-- 'current_period_end'
[getSubscriptionsParametersQueryCurrentPeriodEnd] :: GetSubscriptionsParameters -> Maybe GetSubscriptionsParametersQueryCurrentPeriodEnd'Variants
-- | queryCurrent_period_start: Represents the parameter named
-- 'current_period_start'
[getSubscriptionsParametersQueryCurrentPeriodStart] :: GetSubscriptionsParameters -> Maybe GetSubscriptionsParametersQueryCurrentPeriodStart'Variants
-- | queryCustomer: Represents the parameter named 'customer'
--
-- The ID of the customer whose subscriptions will be retrieved.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getSubscriptionsParametersQueryCustomer] :: GetSubscriptionsParameters -> Maybe Text
-- | queryEnding_before: Represents the parameter named 'ending_before'
--
-- A cursor for use in pagination. `ending_before` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, starting with `obj_bar`, your
-- subsequent call can include `ending_before=obj_bar` in order to fetch
-- the previous page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getSubscriptionsParametersQueryEndingBefore] :: GetSubscriptionsParameters -> Maybe Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getSubscriptionsParametersQueryExpand] :: GetSubscriptionsParameters -> Maybe [Text]
-- | queryLimit: Represents the parameter named 'limit'
--
-- A limit on the number of objects to be returned. Limit can range
-- between 1 and 100, and the default is 10.
[getSubscriptionsParametersQueryLimit] :: GetSubscriptionsParameters -> Maybe Int
-- | queryPrice: Represents the parameter named 'price'
--
-- Filter for subscriptions that contain this recurring price ID.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getSubscriptionsParametersQueryPrice] :: GetSubscriptionsParameters -> Maybe Text
-- | queryStarting_after: Represents the parameter named 'starting_after'
--
-- A cursor for use in pagination. `starting_after` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, ending with `obj_foo`, your
-- subsequent call can include `starting_after=obj_foo` in order to fetch
-- the next page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getSubscriptionsParametersQueryStartingAfter] :: GetSubscriptionsParameters -> Maybe Text
-- | queryStatus: Represents the parameter named 'status'
--
-- The status of the subscriptions to retrieve. Passing in a value of
-- `canceled` will return all canceled subscriptions, including those
-- belonging to deleted customers. Pass `ended` to find subscriptions
-- that are canceled and subscriptions that are expired due to
-- incomplete payment. Passing in a value of `all` will return
-- subscriptions of all statuses. If no value is supplied, all
-- subscriptions that have not been canceled are returned.
[getSubscriptionsParametersQueryStatus] :: GetSubscriptionsParameters -> Maybe GetSubscriptionsParametersQueryStatus'
-- | Create a new GetSubscriptionsParameters with all required
-- fields.
mkGetSubscriptionsParameters :: GetSubscriptionsParameters
-- | Defines the enum schema located at
-- paths./v1/subscriptions.GET.parameters.properties.queryCollection_method
-- in the specification.
--
-- Represents the parameter named 'collection_method'
--
-- The collection method of the subscriptions to retrieve. Either
-- `charge_automatically` or `send_invoice`.
data GetSubscriptionsParametersQueryCollectionMethod'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
GetSubscriptionsParametersQueryCollectionMethod'Other :: Value -> GetSubscriptionsParametersQueryCollectionMethod'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
GetSubscriptionsParametersQueryCollectionMethod'Typed :: Text -> GetSubscriptionsParametersQueryCollectionMethod'
-- | Represents the JSON value "charge_automatically"
GetSubscriptionsParametersQueryCollectionMethod'EnumChargeAutomatically :: GetSubscriptionsParametersQueryCollectionMethod'
-- | Represents the JSON value "send_invoice"
GetSubscriptionsParametersQueryCollectionMethod'EnumSendInvoice :: GetSubscriptionsParametersQueryCollectionMethod'
-- | Defines the object schema located at
-- paths./v1/subscriptions.GET.parameters.properties.queryCreated.anyOf
-- in the specification.
data GetSubscriptionsParametersQueryCreated'OneOf1
GetSubscriptionsParametersQueryCreated'OneOf1 :: Maybe Int -> Maybe Int -> Maybe Int -> Maybe Int -> GetSubscriptionsParametersQueryCreated'OneOf1
-- | gt
[getSubscriptionsParametersQueryCreated'OneOf1Gt] :: GetSubscriptionsParametersQueryCreated'OneOf1 -> Maybe Int
-- | gte
[getSubscriptionsParametersQueryCreated'OneOf1Gte] :: GetSubscriptionsParametersQueryCreated'OneOf1 -> Maybe Int
-- | lt
[getSubscriptionsParametersQueryCreated'OneOf1Lt] :: GetSubscriptionsParametersQueryCreated'OneOf1 -> Maybe Int
-- | lte
[getSubscriptionsParametersQueryCreated'OneOf1Lte] :: GetSubscriptionsParametersQueryCreated'OneOf1 -> Maybe Int
-- | Create a new GetSubscriptionsParametersQueryCreated'OneOf1 with
-- all required fields.
mkGetSubscriptionsParametersQueryCreated'OneOf1 :: GetSubscriptionsParametersQueryCreated'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/subscriptions.GET.parameters.properties.queryCreated.anyOf
-- in the specification.
--
-- Represents the parameter named 'created'
data GetSubscriptionsParametersQueryCreated'Variants
GetSubscriptionsParametersQueryCreated'GetSubscriptionsParametersQueryCreated'OneOf1 :: GetSubscriptionsParametersQueryCreated'OneOf1 -> GetSubscriptionsParametersQueryCreated'Variants
GetSubscriptionsParametersQueryCreated'Int :: Int -> GetSubscriptionsParametersQueryCreated'Variants
-- | Defines the object schema located at
-- paths./v1/subscriptions.GET.parameters.properties.queryCurrent_period_end.anyOf
-- in the specification.
data GetSubscriptionsParametersQueryCurrentPeriodEnd'OneOf1
GetSubscriptionsParametersQueryCurrentPeriodEnd'OneOf1 :: Maybe Int -> Maybe Int -> Maybe Int -> Maybe Int -> GetSubscriptionsParametersQueryCurrentPeriodEnd'OneOf1
-- | gt
[getSubscriptionsParametersQueryCurrentPeriodEnd'OneOf1Gt] :: GetSubscriptionsParametersQueryCurrentPeriodEnd'OneOf1 -> Maybe Int
-- | gte
[getSubscriptionsParametersQueryCurrentPeriodEnd'OneOf1Gte] :: GetSubscriptionsParametersQueryCurrentPeriodEnd'OneOf1 -> Maybe Int
-- | lt
[getSubscriptionsParametersQueryCurrentPeriodEnd'OneOf1Lt] :: GetSubscriptionsParametersQueryCurrentPeriodEnd'OneOf1 -> Maybe Int
-- | lte
[getSubscriptionsParametersQueryCurrentPeriodEnd'OneOf1Lte] :: GetSubscriptionsParametersQueryCurrentPeriodEnd'OneOf1 -> Maybe Int
-- | Create a new
-- GetSubscriptionsParametersQueryCurrentPeriodEnd'OneOf1 with all
-- required fields.
mkGetSubscriptionsParametersQueryCurrentPeriodEnd'OneOf1 :: GetSubscriptionsParametersQueryCurrentPeriodEnd'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/subscriptions.GET.parameters.properties.queryCurrent_period_end.anyOf
-- in the specification.
--
-- Represents the parameter named 'current_period_end'
data GetSubscriptionsParametersQueryCurrentPeriodEnd'Variants
GetSubscriptionsParametersQueryCurrentPeriodEnd'GetSubscriptionsParametersQueryCurrentPeriodEnd'OneOf1 :: GetSubscriptionsParametersQueryCurrentPeriodEnd'OneOf1 -> GetSubscriptionsParametersQueryCurrentPeriodEnd'Variants
GetSubscriptionsParametersQueryCurrentPeriodEnd'Int :: Int -> GetSubscriptionsParametersQueryCurrentPeriodEnd'Variants
-- | Defines the object schema located at
-- paths./v1/subscriptions.GET.parameters.properties.queryCurrent_period_start.anyOf
-- in the specification.
data GetSubscriptionsParametersQueryCurrentPeriodStart'OneOf1
GetSubscriptionsParametersQueryCurrentPeriodStart'OneOf1 :: Maybe Int -> Maybe Int -> Maybe Int -> Maybe Int -> GetSubscriptionsParametersQueryCurrentPeriodStart'OneOf1
-- | gt
[getSubscriptionsParametersQueryCurrentPeriodStart'OneOf1Gt] :: GetSubscriptionsParametersQueryCurrentPeriodStart'OneOf1 -> Maybe Int
-- | gte
[getSubscriptionsParametersQueryCurrentPeriodStart'OneOf1Gte] :: GetSubscriptionsParametersQueryCurrentPeriodStart'OneOf1 -> Maybe Int
-- | lt
[getSubscriptionsParametersQueryCurrentPeriodStart'OneOf1Lt] :: GetSubscriptionsParametersQueryCurrentPeriodStart'OneOf1 -> Maybe Int
-- | lte
[getSubscriptionsParametersQueryCurrentPeriodStart'OneOf1Lte] :: GetSubscriptionsParametersQueryCurrentPeriodStart'OneOf1 -> Maybe Int
-- | Create a new
-- GetSubscriptionsParametersQueryCurrentPeriodStart'OneOf1 with
-- all required fields.
mkGetSubscriptionsParametersQueryCurrentPeriodStart'OneOf1 :: GetSubscriptionsParametersQueryCurrentPeriodStart'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/subscriptions.GET.parameters.properties.queryCurrent_period_start.anyOf
-- in the specification.
--
-- Represents the parameter named 'current_period_start'
data GetSubscriptionsParametersQueryCurrentPeriodStart'Variants
GetSubscriptionsParametersQueryCurrentPeriodStart'GetSubscriptionsParametersQueryCurrentPeriodStart'OneOf1 :: GetSubscriptionsParametersQueryCurrentPeriodStart'OneOf1 -> GetSubscriptionsParametersQueryCurrentPeriodStart'Variants
GetSubscriptionsParametersQueryCurrentPeriodStart'Int :: Int -> GetSubscriptionsParametersQueryCurrentPeriodStart'Variants
-- | Defines the enum schema located at
-- paths./v1/subscriptions.GET.parameters.properties.queryStatus
-- in the specification.
--
-- Represents the parameter named 'status'
--
-- The status of the subscriptions to retrieve. Passing in a value of
-- `canceled` will return all canceled subscriptions, including those
-- belonging to deleted customers. Pass `ended` to find subscriptions
-- that are canceled and subscriptions that are expired due to
-- incomplete payment. Passing in a value of `all` will return
-- subscriptions of all statuses. If no value is supplied, all
-- subscriptions that have not been canceled are returned.
data GetSubscriptionsParametersQueryStatus'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
GetSubscriptionsParametersQueryStatus'Other :: Value -> GetSubscriptionsParametersQueryStatus'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
GetSubscriptionsParametersQueryStatus'Typed :: Text -> GetSubscriptionsParametersQueryStatus'
-- | Represents the JSON value "active"
GetSubscriptionsParametersQueryStatus'EnumActive :: GetSubscriptionsParametersQueryStatus'
-- | Represents the JSON value "all"
GetSubscriptionsParametersQueryStatus'EnumAll :: GetSubscriptionsParametersQueryStatus'
-- | Represents the JSON value "canceled"
GetSubscriptionsParametersQueryStatus'EnumCanceled :: GetSubscriptionsParametersQueryStatus'
-- | Represents the JSON value "ended"
GetSubscriptionsParametersQueryStatus'EnumEnded :: GetSubscriptionsParametersQueryStatus'
-- | Represents the JSON value "incomplete"
GetSubscriptionsParametersQueryStatus'EnumIncomplete :: GetSubscriptionsParametersQueryStatus'
-- | Represents the JSON value "incomplete_expired"
GetSubscriptionsParametersQueryStatus'EnumIncompleteExpired :: GetSubscriptionsParametersQueryStatus'
-- | Represents the JSON value "past_due"
GetSubscriptionsParametersQueryStatus'EnumPastDue :: GetSubscriptionsParametersQueryStatus'
-- | Represents the JSON value "trialing"
GetSubscriptionsParametersQueryStatus'EnumTrialing :: GetSubscriptionsParametersQueryStatus'
-- | Represents the JSON value "unpaid"
GetSubscriptionsParametersQueryStatus'EnumUnpaid :: GetSubscriptionsParametersQueryStatus'
-- | Represents a response of the operation getSubscriptions.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetSubscriptionsResponseError is used.
data GetSubscriptionsResponse
-- | Means either no matching case available or a parse error
GetSubscriptionsResponseError :: String -> GetSubscriptionsResponse
-- | Successful response.
GetSubscriptionsResponse200 :: GetSubscriptionsResponseBody200 -> GetSubscriptionsResponse
-- | Error response.
GetSubscriptionsResponseDefault :: Error -> GetSubscriptionsResponse
-- | Defines the object schema located at
-- paths./v1/subscriptions.GET.responses.200.content.application/json.schema
-- in the specification.
data GetSubscriptionsResponseBody200
GetSubscriptionsResponseBody200 :: [Subscription] -> Bool -> Text -> GetSubscriptionsResponseBody200
-- | data
[getSubscriptionsResponseBody200Data] :: GetSubscriptionsResponseBody200 -> [Subscription]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[getSubscriptionsResponseBody200HasMore] :: GetSubscriptionsResponseBody200 -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
-- - Must match pattern '^/v1/subscriptions'
--
[getSubscriptionsResponseBody200Url] :: GetSubscriptionsResponseBody200 -> Text
-- | Create a new GetSubscriptionsResponseBody200 with all required
-- fields.
mkGetSubscriptionsResponseBody200 :: [Subscription] -> Bool -> Text -> GetSubscriptionsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetSubscriptions.GetSubscriptionsParametersQueryCollectionMethod'
instance GHC.Show.Show StripeAPI.Operations.GetSubscriptions.GetSubscriptionsParametersQueryCollectionMethod'
instance GHC.Classes.Eq StripeAPI.Operations.GetSubscriptions.GetSubscriptionsParametersQueryCreated'OneOf1
instance GHC.Show.Show StripeAPI.Operations.GetSubscriptions.GetSubscriptionsParametersQueryCreated'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.GetSubscriptions.GetSubscriptionsParametersQueryCreated'Variants
instance GHC.Show.Show StripeAPI.Operations.GetSubscriptions.GetSubscriptionsParametersQueryCreated'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetSubscriptions.GetSubscriptionsParametersQueryCurrentPeriodEnd'OneOf1
instance GHC.Show.Show StripeAPI.Operations.GetSubscriptions.GetSubscriptionsParametersQueryCurrentPeriodEnd'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.GetSubscriptions.GetSubscriptionsParametersQueryCurrentPeriodEnd'Variants
instance GHC.Show.Show StripeAPI.Operations.GetSubscriptions.GetSubscriptionsParametersQueryCurrentPeriodEnd'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetSubscriptions.GetSubscriptionsParametersQueryCurrentPeriodStart'OneOf1
instance GHC.Show.Show StripeAPI.Operations.GetSubscriptions.GetSubscriptionsParametersQueryCurrentPeriodStart'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.GetSubscriptions.GetSubscriptionsParametersQueryCurrentPeriodStart'Variants
instance GHC.Show.Show StripeAPI.Operations.GetSubscriptions.GetSubscriptionsParametersQueryCurrentPeriodStart'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetSubscriptions.GetSubscriptionsParametersQueryStatus'
instance GHC.Show.Show StripeAPI.Operations.GetSubscriptions.GetSubscriptionsParametersQueryStatus'
instance GHC.Classes.Eq StripeAPI.Operations.GetSubscriptions.GetSubscriptionsParameters
instance GHC.Show.Show StripeAPI.Operations.GetSubscriptions.GetSubscriptionsParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetSubscriptions.GetSubscriptionsResponseBody200
instance GHC.Show.Show StripeAPI.Operations.GetSubscriptions.GetSubscriptionsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetSubscriptions.GetSubscriptionsResponse
instance GHC.Show.Show StripeAPI.Operations.GetSubscriptions.GetSubscriptionsResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetSubscriptions.GetSubscriptionsResponseBody200
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetSubscriptions.GetSubscriptionsResponseBody200
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetSubscriptions.GetSubscriptionsParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetSubscriptions.GetSubscriptionsParameters
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetSubscriptions.GetSubscriptionsParametersQueryStatus'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetSubscriptions.GetSubscriptionsParametersQueryStatus'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetSubscriptions.GetSubscriptionsParametersQueryCurrentPeriodStart'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetSubscriptions.GetSubscriptionsParametersQueryCurrentPeriodStart'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetSubscriptions.GetSubscriptionsParametersQueryCurrentPeriodStart'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetSubscriptions.GetSubscriptionsParametersQueryCurrentPeriodStart'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetSubscriptions.GetSubscriptionsParametersQueryCurrentPeriodEnd'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetSubscriptions.GetSubscriptionsParametersQueryCurrentPeriodEnd'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetSubscriptions.GetSubscriptionsParametersQueryCurrentPeriodEnd'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetSubscriptions.GetSubscriptionsParametersQueryCurrentPeriodEnd'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetSubscriptions.GetSubscriptionsParametersQueryCreated'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetSubscriptions.GetSubscriptionsParametersQueryCreated'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetSubscriptions.GetSubscriptionsParametersQueryCreated'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetSubscriptions.GetSubscriptionsParametersQueryCreated'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetSubscriptions.GetSubscriptionsParametersQueryCollectionMethod'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetSubscriptions.GetSubscriptionsParametersQueryCollectionMethod'
-- | Contains the different functions to run the operation
-- getSubscriptionSchedulesSchedule
module StripeAPI.Operations.GetSubscriptionSchedulesSchedule
-- |
-- GET /v1/subscription_schedules/{schedule}
--
--
-- <p>Retrieves the details of an existing subscription schedule.
-- You only need to supply the unique subscription schedule identifier
-- that was returned upon subscription schedule creation.</p>
getSubscriptionSchedulesSchedule :: forall m. MonadHTTP m => GetSubscriptionSchedulesScheduleParameters -> ClientT m (Response GetSubscriptionSchedulesScheduleResponse)
-- | Defines the object schema located at
-- paths./v1/subscription_schedules/{schedule}.GET.parameters in
-- the specification.
data GetSubscriptionSchedulesScheduleParameters
GetSubscriptionSchedulesScheduleParameters :: Text -> Maybe [Text] -> GetSubscriptionSchedulesScheduleParameters
-- | pathSchedule: Represents the parameter named 'schedule'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getSubscriptionSchedulesScheduleParametersPathSchedule] :: GetSubscriptionSchedulesScheduleParameters -> Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getSubscriptionSchedulesScheduleParametersQueryExpand] :: GetSubscriptionSchedulesScheduleParameters -> Maybe [Text]
-- | Create a new GetSubscriptionSchedulesScheduleParameters with
-- all required fields.
mkGetSubscriptionSchedulesScheduleParameters :: Text -> GetSubscriptionSchedulesScheduleParameters
-- | Represents a response of the operation
-- getSubscriptionSchedulesSchedule.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- GetSubscriptionSchedulesScheduleResponseError is used.
data GetSubscriptionSchedulesScheduleResponse
-- | Means either no matching case available or a parse error
GetSubscriptionSchedulesScheduleResponseError :: String -> GetSubscriptionSchedulesScheduleResponse
-- | Successful response.
GetSubscriptionSchedulesScheduleResponse200 :: SubscriptionSchedule -> GetSubscriptionSchedulesScheduleResponse
-- | Error response.
GetSubscriptionSchedulesScheduleResponseDefault :: Error -> GetSubscriptionSchedulesScheduleResponse
instance GHC.Classes.Eq StripeAPI.Operations.GetSubscriptionSchedulesSchedule.GetSubscriptionSchedulesScheduleParameters
instance GHC.Show.Show StripeAPI.Operations.GetSubscriptionSchedulesSchedule.GetSubscriptionSchedulesScheduleParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetSubscriptionSchedulesSchedule.GetSubscriptionSchedulesScheduleResponse
instance GHC.Show.Show StripeAPI.Operations.GetSubscriptionSchedulesSchedule.GetSubscriptionSchedulesScheduleResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetSubscriptionSchedulesSchedule.GetSubscriptionSchedulesScheduleParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetSubscriptionSchedulesSchedule.GetSubscriptionSchedulesScheduleParameters
-- | Contains the different functions to run the operation
-- getSubscriptionSchedules
module StripeAPI.Operations.GetSubscriptionSchedules
-- |
-- GET /v1/subscription_schedules
--
--
-- <p>Retrieves the list of your subscription schedules.</p>
getSubscriptionSchedules :: forall m. MonadHTTP m => GetSubscriptionSchedulesParameters -> ClientT m (Response GetSubscriptionSchedulesResponse)
-- | Defines the object schema located at
-- paths./v1/subscription_schedules.GET.parameters in the
-- specification.
data GetSubscriptionSchedulesParameters
GetSubscriptionSchedulesParameters :: Maybe GetSubscriptionSchedulesParametersQueryCanceledAt'Variants -> Maybe GetSubscriptionSchedulesParametersQueryCompletedAt'Variants -> Maybe GetSubscriptionSchedulesParametersQueryCreated'Variants -> Maybe Text -> Maybe Text -> Maybe [Text] -> Maybe Int -> Maybe GetSubscriptionSchedulesParametersQueryReleasedAt'Variants -> Maybe Bool -> Maybe Text -> GetSubscriptionSchedulesParameters
-- | queryCanceled_at: Represents the parameter named 'canceled_at'
--
-- Only return subscription schedules that were created canceled the
-- given date interval.
[getSubscriptionSchedulesParametersQueryCanceledAt] :: GetSubscriptionSchedulesParameters -> Maybe GetSubscriptionSchedulesParametersQueryCanceledAt'Variants
-- | queryCompleted_at: Represents the parameter named 'completed_at'
--
-- Only return subscription schedules that completed during the given
-- date interval.
[getSubscriptionSchedulesParametersQueryCompletedAt] :: GetSubscriptionSchedulesParameters -> Maybe GetSubscriptionSchedulesParametersQueryCompletedAt'Variants
-- | queryCreated: Represents the parameter named 'created'
--
-- Only return subscription schedules that were created during the given
-- date interval.
[getSubscriptionSchedulesParametersQueryCreated] :: GetSubscriptionSchedulesParameters -> Maybe GetSubscriptionSchedulesParametersQueryCreated'Variants
-- | queryCustomer: Represents the parameter named 'customer'
--
-- Only return subscription schedules for the given customer.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getSubscriptionSchedulesParametersQueryCustomer] :: GetSubscriptionSchedulesParameters -> Maybe Text
-- | queryEnding_before: Represents the parameter named 'ending_before'
--
-- A cursor for use in pagination. `ending_before` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, starting with `obj_bar`, your
-- subsequent call can include `ending_before=obj_bar` in order to fetch
-- the previous page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getSubscriptionSchedulesParametersQueryEndingBefore] :: GetSubscriptionSchedulesParameters -> Maybe Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getSubscriptionSchedulesParametersQueryExpand] :: GetSubscriptionSchedulesParameters -> Maybe [Text]
-- | queryLimit: Represents the parameter named 'limit'
--
-- A limit on the number of objects to be returned. Limit can range
-- between 1 and 100, and the default is 10.
[getSubscriptionSchedulesParametersQueryLimit] :: GetSubscriptionSchedulesParameters -> Maybe Int
-- | queryReleased_at: Represents the parameter named 'released_at'
--
-- Only return subscription schedules that were released during the given
-- date interval.
[getSubscriptionSchedulesParametersQueryReleasedAt] :: GetSubscriptionSchedulesParameters -> Maybe GetSubscriptionSchedulesParametersQueryReleasedAt'Variants
-- | queryScheduled: Represents the parameter named 'scheduled'
--
-- Only return subscription schedules that have not started yet.
[getSubscriptionSchedulesParametersQueryScheduled] :: GetSubscriptionSchedulesParameters -> Maybe Bool
-- | queryStarting_after: Represents the parameter named 'starting_after'
--
-- A cursor for use in pagination. `starting_after` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, ending with `obj_foo`, your
-- subsequent call can include `starting_after=obj_foo` in order to fetch
-- the next page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getSubscriptionSchedulesParametersQueryStartingAfter] :: GetSubscriptionSchedulesParameters -> Maybe Text
-- | Create a new GetSubscriptionSchedulesParameters with all
-- required fields.
mkGetSubscriptionSchedulesParameters :: GetSubscriptionSchedulesParameters
-- | Defines the object schema located at
-- paths./v1/subscription_schedules.GET.parameters.properties.queryCanceled_at.anyOf
-- in the specification.
data GetSubscriptionSchedulesParametersQueryCanceledAt'OneOf1
GetSubscriptionSchedulesParametersQueryCanceledAt'OneOf1 :: Maybe Int -> Maybe Int -> Maybe Int -> Maybe Int -> GetSubscriptionSchedulesParametersQueryCanceledAt'OneOf1
-- | gt
[getSubscriptionSchedulesParametersQueryCanceledAt'OneOf1Gt] :: GetSubscriptionSchedulesParametersQueryCanceledAt'OneOf1 -> Maybe Int
-- | gte
[getSubscriptionSchedulesParametersQueryCanceledAt'OneOf1Gte] :: GetSubscriptionSchedulesParametersQueryCanceledAt'OneOf1 -> Maybe Int
-- | lt
[getSubscriptionSchedulesParametersQueryCanceledAt'OneOf1Lt] :: GetSubscriptionSchedulesParametersQueryCanceledAt'OneOf1 -> Maybe Int
-- | lte
[getSubscriptionSchedulesParametersQueryCanceledAt'OneOf1Lte] :: GetSubscriptionSchedulesParametersQueryCanceledAt'OneOf1 -> Maybe Int
-- | Create a new
-- GetSubscriptionSchedulesParametersQueryCanceledAt'OneOf1 with
-- all required fields.
mkGetSubscriptionSchedulesParametersQueryCanceledAt'OneOf1 :: GetSubscriptionSchedulesParametersQueryCanceledAt'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/subscription_schedules.GET.parameters.properties.queryCanceled_at.anyOf
-- in the specification.
--
-- Represents the parameter named 'canceled_at'
--
-- Only return subscription schedules that were created canceled the
-- given date interval.
data GetSubscriptionSchedulesParametersQueryCanceledAt'Variants
GetSubscriptionSchedulesParametersQueryCanceledAt'GetSubscriptionSchedulesParametersQueryCanceledAt'OneOf1 :: GetSubscriptionSchedulesParametersQueryCanceledAt'OneOf1 -> GetSubscriptionSchedulesParametersQueryCanceledAt'Variants
GetSubscriptionSchedulesParametersQueryCanceledAt'Int :: Int -> GetSubscriptionSchedulesParametersQueryCanceledAt'Variants
-- | Defines the object schema located at
-- paths./v1/subscription_schedules.GET.parameters.properties.queryCompleted_at.anyOf
-- in the specification.
data GetSubscriptionSchedulesParametersQueryCompletedAt'OneOf1
GetSubscriptionSchedulesParametersQueryCompletedAt'OneOf1 :: Maybe Int -> Maybe Int -> Maybe Int -> Maybe Int -> GetSubscriptionSchedulesParametersQueryCompletedAt'OneOf1
-- | gt
[getSubscriptionSchedulesParametersQueryCompletedAt'OneOf1Gt] :: GetSubscriptionSchedulesParametersQueryCompletedAt'OneOf1 -> Maybe Int
-- | gte
[getSubscriptionSchedulesParametersQueryCompletedAt'OneOf1Gte] :: GetSubscriptionSchedulesParametersQueryCompletedAt'OneOf1 -> Maybe Int
-- | lt
[getSubscriptionSchedulesParametersQueryCompletedAt'OneOf1Lt] :: GetSubscriptionSchedulesParametersQueryCompletedAt'OneOf1 -> Maybe Int
-- | lte
[getSubscriptionSchedulesParametersQueryCompletedAt'OneOf1Lte] :: GetSubscriptionSchedulesParametersQueryCompletedAt'OneOf1 -> Maybe Int
-- | Create a new
-- GetSubscriptionSchedulesParametersQueryCompletedAt'OneOf1 with
-- all required fields.
mkGetSubscriptionSchedulesParametersQueryCompletedAt'OneOf1 :: GetSubscriptionSchedulesParametersQueryCompletedAt'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/subscription_schedules.GET.parameters.properties.queryCompleted_at.anyOf
-- in the specification.
--
-- Represents the parameter named 'completed_at'
--
-- Only return subscription schedules that completed during the given
-- date interval.
data GetSubscriptionSchedulesParametersQueryCompletedAt'Variants
GetSubscriptionSchedulesParametersQueryCompletedAt'GetSubscriptionSchedulesParametersQueryCompletedAt'OneOf1 :: GetSubscriptionSchedulesParametersQueryCompletedAt'OneOf1 -> GetSubscriptionSchedulesParametersQueryCompletedAt'Variants
GetSubscriptionSchedulesParametersQueryCompletedAt'Int :: Int -> GetSubscriptionSchedulesParametersQueryCompletedAt'Variants
-- | Defines the object schema located at
-- paths./v1/subscription_schedules.GET.parameters.properties.queryCreated.anyOf
-- in the specification.
data GetSubscriptionSchedulesParametersQueryCreated'OneOf1
GetSubscriptionSchedulesParametersQueryCreated'OneOf1 :: Maybe Int -> Maybe Int -> Maybe Int -> Maybe Int -> GetSubscriptionSchedulesParametersQueryCreated'OneOf1
-- | gt
[getSubscriptionSchedulesParametersQueryCreated'OneOf1Gt] :: GetSubscriptionSchedulesParametersQueryCreated'OneOf1 -> Maybe Int
-- | gte
[getSubscriptionSchedulesParametersQueryCreated'OneOf1Gte] :: GetSubscriptionSchedulesParametersQueryCreated'OneOf1 -> Maybe Int
-- | lt
[getSubscriptionSchedulesParametersQueryCreated'OneOf1Lt] :: GetSubscriptionSchedulesParametersQueryCreated'OneOf1 -> Maybe Int
-- | lte
[getSubscriptionSchedulesParametersQueryCreated'OneOf1Lte] :: GetSubscriptionSchedulesParametersQueryCreated'OneOf1 -> Maybe Int
-- | Create a new
-- GetSubscriptionSchedulesParametersQueryCreated'OneOf1 with all
-- required fields.
mkGetSubscriptionSchedulesParametersQueryCreated'OneOf1 :: GetSubscriptionSchedulesParametersQueryCreated'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/subscription_schedules.GET.parameters.properties.queryCreated.anyOf
-- in the specification.
--
-- Represents the parameter named 'created'
--
-- Only return subscription schedules that were created during the given
-- date interval.
data GetSubscriptionSchedulesParametersQueryCreated'Variants
GetSubscriptionSchedulesParametersQueryCreated'GetSubscriptionSchedulesParametersQueryCreated'OneOf1 :: GetSubscriptionSchedulesParametersQueryCreated'OneOf1 -> GetSubscriptionSchedulesParametersQueryCreated'Variants
GetSubscriptionSchedulesParametersQueryCreated'Int :: Int -> GetSubscriptionSchedulesParametersQueryCreated'Variants
-- | Defines the object schema located at
-- paths./v1/subscription_schedules.GET.parameters.properties.queryReleased_at.anyOf
-- in the specification.
data GetSubscriptionSchedulesParametersQueryReleasedAt'OneOf1
GetSubscriptionSchedulesParametersQueryReleasedAt'OneOf1 :: Maybe Int -> Maybe Int -> Maybe Int -> Maybe Int -> GetSubscriptionSchedulesParametersQueryReleasedAt'OneOf1
-- | gt
[getSubscriptionSchedulesParametersQueryReleasedAt'OneOf1Gt] :: GetSubscriptionSchedulesParametersQueryReleasedAt'OneOf1 -> Maybe Int
-- | gte
[getSubscriptionSchedulesParametersQueryReleasedAt'OneOf1Gte] :: GetSubscriptionSchedulesParametersQueryReleasedAt'OneOf1 -> Maybe Int
-- | lt
[getSubscriptionSchedulesParametersQueryReleasedAt'OneOf1Lt] :: GetSubscriptionSchedulesParametersQueryReleasedAt'OneOf1 -> Maybe Int
-- | lte
[getSubscriptionSchedulesParametersQueryReleasedAt'OneOf1Lte] :: GetSubscriptionSchedulesParametersQueryReleasedAt'OneOf1 -> Maybe Int
-- | Create a new
-- GetSubscriptionSchedulesParametersQueryReleasedAt'OneOf1 with
-- all required fields.
mkGetSubscriptionSchedulesParametersQueryReleasedAt'OneOf1 :: GetSubscriptionSchedulesParametersQueryReleasedAt'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/subscription_schedules.GET.parameters.properties.queryReleased_at.anyOf
-- in the specification.
--
-- Represents the parameter named 'released_at'
--
-- Only return subscription schedules that were released during the given
-- date interval.
data GetSubscriptionSchedulesParametersQueryReleasedAt'Variants
GetSubscriptionSchedulesParametersQueryReleasedAt'GetSubscriptionSchedulesParametersQueryReleasedAt'OneOf1 :: GetSubscriptionSchedulesParametersQueryReleasedAt'OneOf1 -> GetSubscriptionSchedulesParametersQueryReleasedAt'Variants
GetSubscriptionSchedulesParametersQueryReleasedAt'Int :: Int -> GetSubscriptionSchedulesParametersQueryReleasedAt'Variants
-- | Represents a response of the operation
-- getSubscriptionSchedules.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetSubscriptionSchedulesResponseError
-- is used.
data GetSubscriptionSchedulesResponse
-- | Means either no matching case available or a parse error
GetSubscriptionSchedulesResponseError :: String -> GetSubscriptionSchedulesResponse
-- | Successful response.
GetSubscriptionSchedulesResponse200 :: GetSubscriptionSchedulesResponseBody200 -> GetSubscriptionSchedulesResponse
-- | Error response.
GetSubscriptionSchedulesResponseDefault :: Error -> GetSubscriptionSchedulesResponse
-- | Defines the object schema located at
-- paths./v1/subscription_schedules.GET.responses.200.content.application/json.schema
-- in the specification.
data GetSubscriptionSchedulesResponseBody200
GetSubscriptionSchedulesResponseBody200 :: [SubscriptionSchedule] -> Bool -> Text -> GetSubscriptionSchedulesResponseBody200
-- | data
[getSubscriptionSchedulesResponseBody200Data] :: GetSubscriptionSchedulesResponseBody200 -> [SubscriptionSchedule]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[getSubscriptionSchedulesResponseBody200HasMore] :: GetSubscriptionSchedulesResponseBody200 -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
-- - Must match pattern '^/v1/subscription_schedules'
--
[getSubscriptionSchedulesResponseBody200Url] :: GetSubscriptionSchedulesResponseBody200 -> Text
-- | Create a new GetSubscriptionSchedulesResponseBody200 with all
-- required fields.
mkGetSubscriptionSchedulesResponseBody200 :: [SubscriptionSchedule] -> Bool -> Text -> GetSubscriptionSchedulesResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetSubscriptionSchedules.GetSubscriptionSchedulesParametersQueryCanceledAt'OneOf1
instance GHC.Show.Show StripeAPI.Operations.GetSubscriptionSchedules.GetSubscriptionSchedulesParametersQueryCanceledAt'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.GetSubscriptionSchedules.GetSubscriptionSchedulesParametersQueryCanceledAt'Variants
instance GHC.Show.Show StripeAPI.Operations.GetSubscriptionSchedules.GetSubscriptionSchedulesParametersQueryCanceledAt'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetSubscriptionSchedules.GetSubscriptionSchedulesParametersQueryCompletedAt'OneOf1
instance GHC.Show.Show StripeAPI.Operations.GetSubscriptionSchedules.GetSubscriptionSchedulesParametersQueryCompletedAt'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.GetSubscriptionSchedules.GetSubscriptionSchedulesParametersQueryCompletedAt'Variants
instance GHC.Show.Show StripeAPI.Operations.GetSubscriptionSchedules.GetSubscriptionSchedulesParametersQueryCompletedAt'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetSubscriptionSchedules.GetSubscriptionSchedulesParametersQueryCreated'OneOf1
instance GHC.Show.Show StripeAPI.Operations.GetSubscriptionSchedules.GetSubscriptionSchedulesParametersQueryCreated'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.GetSubscriptionSchedules.GetSubscriptionSchedulesParametersQueryCreated'Variants
instance GHC.Show.Show StripeAPI.Operations.GetSubscriptionSchedules.GetSubscriptionSchedulesParametersQueryCreated'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetSubscriptionSchedules.GetSubscriptionSchedulesParametersQueryReleasedAt'OneOf1
instance GHC.Show.Show StripeAPI.Operations.GetSubscriptionSchedules.GetSubscriptionSchedulesParametersQueryReleasedAt'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.GetSubscriptionSchedules.GetSubscriptionSchedulesParametersQueryReleasedAt'Variants
instance GHC.Show.Show StripeAPI.Operations.GetSubscriptionSchedules.GetSubscriptionSchedulesParametersQueryReleasedAt'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetSubscriptionSchedules.GetSubscriptionSchedulesParameters
instance GHC.Show.Show StripeAPI.Operations.GetSubscriptionSchedules.GetSubscriptionSchedulesParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetSubscriptionSchedules.GetSubscriptionSchedulesResponseBody200
instance GHC.Show.Show StripeAPI.Operations.GetSubscriptionSchedules.GetSubscriptionSchedulesResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetSubscriptionSchedules.GetSubscriptionSchedulesResponse
instance GHC.Show.Show StripeAPI.Operations.GetSubscriptionSchedules.GetSubscriptionSchedulesResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetSubscriptionSchedules.GetSubscriptionSchedulesResponseBody200
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetSubscriptionSchedules.GetSubscriptionSchedulesResponseBody200
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetSubscriptionSchedules.GetSubscriptionSchedulesParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetSubscriptionSchedules.GetSubscriptionSchedulesParameters
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetSubscriptionSchedules.GetSubscriptionSchedulesParametersQueryReleasedAt'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetSubscriptionSchedules.GetSubscriptionSchedulesParametersQueryReleasedAt'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetSubscriptionSchedules.GetSubscriptionSchedulesParametersQueryReleasedAt'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetSubscriptionSchedules.GetSubscriptionSchedulesParametersQueryReleasedAt'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetSubscriptionSchedules.GetSubscriptionSchedulesParametersQueryCreated'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetSubscriptionSchedules.GetSubscriptionSchedulesParametersQueryCreated'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetSubscriptionSchedules.GetSubscriptionSchedulesParametersQueryCreated'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetSubscriptionSchedules.GetSubscriptionSchedulesParametersQueryCreated'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetSubscriptionSchedules.GetSubscriptionSchedulesParametersQueryCompletedAt'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetSubscriptionSchedules.GetSubscriptionSchedulesParametersQueryCompletedAt'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetSubscriptionSchedules.GetSubscriptionSchedulesParametersQueryCompletedAt'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetSubscriptionSchedules.GetSubscriptionSchedulesParametersQueryCompletedAt'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetSubscriptionSchedules.GetSubscriptionSchedulesParametersQueryCanceledAt'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetSubscriptionSchedules.GetSubscriptionSchedulesParametersQueryCanceledAt'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetSubscriptionSchedules.GetSubscriptionSchedulesParametersQueryCanceledAt'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetSubscriptionSchedules.GetSubscriptionSchedulesParametersQueryCanceledAt'OneOf1
-- | Contains the different functions to run the operation
-- getSubscriptionItemsSubscriptionItemUsageRecordSummaries
module StripeAPI.Operations.GetSubscriptionItemsSubscriptionItemUsageRecordSummaries
-- |
-- GET /v1/subscription_items/{subscription_item}/usage_record_summaries
--
--
-- <p>For the specified subscription item, returns a list of
-- summary objects. Each object in the list provides usage information
-- that’s been summarized from multiple usage records and over a
-- subscription billing period (e.g., 15 usage records in the month of
-- September).</p>
--
-- <p>The list is sorted in reverse-chronological order (newest
-- first). The first list item represents the most current usage period
-- that hasn’t ended yet. Since new usage records can still be added, the
-- returned summary information for the subscription item’s ID should be
-- seen as unstable until the subscription billing period ends.</p>
getSubscriptionItemsSubscriptionItemUsageRecordSummaries :: forall m. MonadHTTP m => GetSubscriptionItemsSubscriptionItemUsageRecordSummariesParameters -> ClientT m (Response GetSubscriptionItemsSubscriptionItemUsageRecordSummariesResponse)
-- | Defines the object schema located at
-- paths./v1/subscription_items/{subscription_item}/usage_record_summaries.GET.parameters
-- in the specification.
data GetSubscriptionItemsSubscriptionItemUsageRecordSummariesParameters
GetSubscriptionItemsSubscriptionItemUsageRecordSummariesParameters :: Text -> Maybe Text -> Maybe [Text] -> Maybe Int -> Maybe Text -> GetSubscriptionItemsSubscriptionItemUsageRecordSummariesParameters
-- | pathSubscription_item: Represents the parameter named
-- 'subscription_item'
[getSubscriptionItemsSubscriptionItemUsageRecordSummariesParametersPathSubscriptionItem] :: GetSubscriptionItemsSubscriptionItemUsageRecordSummariesParameters -> Text
-- | queryEnding_before: Represents the parameter named 'ending_before'
--
-- A cursor for use in pagination. `ending_before` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, starting with `obj_bar`, your
-- subsequent call can include `ending_before=obj_bar` in order to fetch
-- the previous page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getSubscriptionItemsSubscriptionItemUsageRecordSummariesParametersQueryEndingBefore] :: GetSubscriptionItemsSubscriptionItemUsageRecordSummariesParameters -> Maybe Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getSubscriptionItemsSubscriptionItemUsageRecordSummariesParametersQueryExpand] :: GetSubscriptionItemsSubscriptionItemUsageRecordSummariesParameters -> Maybe [Text]
-- | queryLimit: Represents the parameter named 'limit'
--
-- A limit on the number of objects to be returned. Limit can range
-- between 1 and 100, and the default is 10.
[getSubscriptionItemsSubscriptionItemUsageRecordSummariesParametersQueryLimit] :: GetSubscriptionItemsSubscriptionItemUsageRecordSummariesParameters -> Maybe Int
-- | queryStarting_after: Represents the parameter named 'starting_after'
--
-- A cursor for use in pagination. `starting_after` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, ending with `obj_foo`, your
-- subsequent call can include `starting_after=obj_foo` in order to fetch
-- the next page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getSubscriptionItemsSubscriptionItemUsageRecordSummariesParametersQueryStartingAfter] :: GetSubscriptionItemsSubscriptionItemUsageRecordSummariesParameters -> Maybe Text
-- | Create a new
-- GetSubscriptionItemsSubscriptionItemUsageRecordSummariesParameters
-- with all required fields.
mkGetSubscriptionItemsSubscriptionItemUsageRecordSummariesParameters :: Text -> GetSubscriptionItemsSubscriptionItemUsageRecordSummariesParameters
-- | Represents a response of the operation
-- getSubscriptionItemsSubscriptionItemUsageRecordSummaries.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- GetSubscriptionItemsSubscriptionItemUsageRecordSummariesResponseError
-- is used.
data GetSubscriptionItemsSubscriptionItemUsageRecordSummariesResponse
-- | Means either no matching case available or a parse error
GetSubscriptionItemsSubscriptionItemUsageRecordSummariesResponseError :: String -> GetSubscriptionItemsSubscriptionItemUsageRecordSummariesResponse
-- | Successful response.
GetSubscriptionItemsSubscriptionItemUsageRecordSummariesResponse200 :: GetSubscriptionItemsSubscriptionItemUsageRecordSummariesResponseBody200 -> GetSubscriptionItemsSubscriptionItemUsageRecordSummariesResponse
-- | Error response.
GetSubscriptionItemsSubscriptionItemUsageRecordSummariesResponseDefault :: Error -> GetSubscriptionItemsSubscriptionItemUsageRecordSummariesResponse
-- | Defines the object schema located at
-- paths./v1/subscription_items/{subscription_item}/usage_record_summaries.GET.responses.200.content.application/json.schema
-- in the specification.
data GetSubscriptionItemsSubscriptionItemUsageRecordSummariesResponseBody200
GetSubscriptionItemsSubscriptionItemUsageRecordSummariesResponseBody200 :: [UsageRecordSummary] -> Bool -> Text -> GetSubscriptionItemsSubscriptionItemUsageRecordSummariesResponseBody200
-- | data
[getSubscriptionItemsSubscriptionItemUsageRecordSummariesResponseBody200Data] :: GetSubscriptionItemsSubscriptionItemUsageRecordSummariesResponseBody200 -> [UsageRecordSummary]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[getSubscriptionItemsSubscriptionItemUsageRecordSummariesResponseBody200HasMore] :: GetSubscriptionItemsSubscriptionItemUsageRecordSummariesResponseBody200 -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getSubscriptionItemsSubscriptionItemUsageRecordSummariesResponseBody200Url] :: GetSubscriptionItemsSubscriptionItemUsageRecordSummariesResponseBody200 -> Text
-- | Create a new
-- GetSubscriptionItemsSubscriptionItemUsageRecordSummariesResponseBody200
-- with all required fields.
mkGetSubscriptionItemsSubscriptionItemUsageRecordSummariesResponseBody200 :: [UsageRecordSummary] -> Bool -> Text -> GetSubscriptionItemsSubscriptionItemUsageRecordSummariesResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetSubscriptionItemsSubscriptionItemUsageRecordSummaries.GetSubscriptionItemsSubscriptionItemUsageRecordSummariesParameters
instance GHC.Show.Show StripeAPI.Operations.GetSubscriptionItemsSubscriptionItemUsageRecordSummaries.GetSubscriptionItemsSubscriptionItemUsageRecordSummariesParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetSubscriptionItemsSubscriptionItemUsageRecordSummaries.GetSubscriptionItemsSubscriptionItemUsageRecordSummariesResponseBody200
instance GHC.Show.Show StripeAPI.Operations.GetSubscriptionItemsSubscriptionItemUsageRecordSummaries.GetSubscriptionItemsSubscriptionItemUsageRecordSummariesResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetSubscriptionItemsSubscriptionItemUsageRecordSummaries.GetSubscriptionItemsSubscriptionItemUsageRecordSummariesResponse
instance GHC.Show.Show StripeAPI.Operations.GetSubscriptionItemsSubscriptionItemUsageRecordSummaries.GetSubscriptionItemsSubscriptionItemUsageRecordSummariesResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetSubscriptionItemsSubscriptionItemUsageRecordSummaries.GetSubscriptionItemsSubscriptionItemUsageRecordSummariesResponseBody200
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetSubscriptionItemsSubscriptionItemUsageRecordSummaries.GetSubscriptionItemsSubscriptionItemUsageRecordSummariesResponseBody200
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetSubscriptionItemsSubscriptionItemUsageRecordSummaries.GetSubscriptionItemsSubscriptionItemUsageRecordSummariesParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetSubscriptionItemsSubscriptionItemUsageRecordSummaries.GetSubscriptionItemsSubscriptionItemUsageRecordSummariesParameters
-- | Contains the different functions to run the operation
-- getSubscriptionItemsItem
module StripeAPI.Operations.GetSubscriptionItemsItem
-- |
-- GET /v1/subscription_items/{item}
--
--
-- <p>Retrieves the subscription item with the given ID.</p>
getSubscriptionItemsItem :: forall m. MonadHTTP m => GetSubscriptionItemsItemParameters -> ClientT m (Response GetSubscriptionItemsItemResponse)
-- | Defines the object schema located at
-- paths./v1/subscription_items/{item}.GET.parameters in the
-- specification.
data GetSubscriptionItemsItemParameters
GetSubscriptionItemsItemParameters :: Text -> Maybe [Text] -> GetSubscriptionItemsItemParameters
-- | pathItem: Represents the parameter named 'item'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getSubscriptionItemsItemParametersPathItem] :: GetSubscriptionItemsItemParameters -> Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getSubscriptionItemsItemParametersQueryExpand] :: GetSubscriptionItemsItemParameters -> Maybe [Text]
-- | Create a new GetSubscriptionItemsItemParameters with all
-- required fields.
mkGetSubscriptionItemsItemParameters :: Text -> GetSubscriptionItemsItemParameters
-- | Represents a response of the operation
-- getSubscriptionItemsItem.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetSubscriptionItemsItemResponseError
-- is used.
data GetSubscriptionItemsItemResponse
-- | Means either no matching case available or a parse error
GetSubscriptionItemsItemResponseError :: String -> GetSubscriptionItemsItemResponse
-- | Successful response.
GetSubscriptionItemsItemResponse200 :: SubscriptionItem -> GetSubscriptionItemsItemResponse
-- | Error response.
GetSubscriptionItemsItemResponseDefault :: Error -> GetSubscriptionItemsItemResponse
instance GHC.Classes.Eq StripeAPI.Operations.GetSubscriptionItemsItem.GetSubscriptionItemsItemParameters
instance GHC.Show.Show StripeAPI.Operations.GetSubscriptionItemsItem.GetSubscriptionItemsItemParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetSubscriptionItemsItem.GetSubscriptionItemsItemResponse
instance GHC.Show.Show StripeAPI.Operations.GetSubscriptionItemsItem.GetSubscriptionItemsItemResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetSubscriptionItemsItem.GetSubscriptionItemsItemParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetSubscriptionItemsItem.GetSubscriptionItemsItemParameters
-- | Contains the different functions to run the operation
-- getSubscriptionItems
module StripeAPI.Operations.GetSubscriptionItems
-- |
-- GET /v1/subscription_items
--
--
-- <p>Returns a list of your subscription items for a given
-- subscription.</p>
getSubscriptionItems :: forall m. MonadHTTP m => GetSubscriptionItemsParameters -> ClientT m (Response GetSubscriptionItemsResponse)
-- | Defines the object schema located at
-- paths./v1/subscription_items.GET.parameters in the
-- specification.
data GetSubscriptionItemsParameters
GetSubscriptionItemsParameters :: Maybe Text -> Maybe [Text] -> Maybe Int -> Maybe Text -> Text -> GetSubscriptionItemsParameters
-- | queryEnding_before: Represents the parameter named 'ending_before'
--
-- A cursor for use in pagination. `ending_before` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, starting with `obj_bar`, your
-- subsequent call can include `ending_before=obj_bar` in order to fetch
-- the previous page of the list.
[getSubscriptionItemsParametersQueryEndingBefore] :: GetSubscriptionItemsParameters -> Maybe Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getSubscriptionItemsParametersQueryExpand] :: GetSubscriptionItemsParameters -> Maybe [Text]
-- | queryLimit: Represents the parameter named 'limit'
--
-- A limit on the number of objects to be returned. Limit can range
-- between 1 and 100, and the default is 10.
[getSubscriptionItemsParametersQueryLimit] :: GetSubscriptionItemsParameters -> Maybe Int
-- | queryStarting_after: Represents the parameter named 'starting_after'
--
-- A cursor for use in pagination. `starting_after` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, ending with `obj_foo`, your
-- subsequent call can include `starting_after=obj_foo` in order to fetch
-- the next page of the list.
[getSubscriptionItemsParametersQueryStartingAfter] :: GetSubscriptionItemsParameters -> Maybe Text
-- | querySubscription: Represents the parameter named 'subscription'
--
-- The ID of the subscription whose items will be retrieved.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getSubscriptionItemsParametersQuerySubscription] :: GetSubscriptionItemsParameters -> Text
-- | Create a new GetSubscriptionItemsParameters with all required
-- fields.
mkGetSubscriptionItemsParameters :: Text -> GetSubscriptionItemsParameters
-- | Represents a response of the operation getSubscriptionItems.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetSubscriptionItemsResponseError is
-- used.
data GetSubscriptionItemsResponse
-- | Means either no matching case available or a parse error
GetSubscriptionItemsResponseError :: String -> GetSubscriptionItemsResponse
-- | Successful response.
GetSubscriptionItemsResponse200 :: GetSubscriptionItemsResponseBody200 -> GetSubscriptionItemsResponse
-- | Error response.
GetSubscriptionItemsResponseDefault :: Error -> GetSubscriptionItemsResponse
-- | Defines the object schema located at
-- paths./v1/subscription_items.GET.responses.200.content.application/json.schema
-- in the specification.
data GetSubscriptionItemsResponseBody200
GetSubscriptionItemsResponseBody200 :: [SubscriptionItem] -> Bool -> Text -> GetSubscriptionItemsResponseBody200
-- | data
[getSubscriptionItemsResponseBody200Data] :: GetSubscriptionItemsResponseBody200 -> [SubscriptionItem]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[getSubscriptionItemsResponseBody200HasMore] :: GetSubscriptionItemsResponseBody200 -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
-- - Must match pattern '^/v1/subscription_items'
--
[getSubscriptionItemsResponseBody200Url] :: GetSubscriptionItemsResponseBody200 -> Text
-- | Create a new GetSubscriptionItemsResponseBody200 with all
-- required fields.
mkGetSubscriptionItemsResponseBody200 :: [SubscriptionItem] -> Bool -> Text -> GetSubscriptionItemsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetSubscriptionItems.GetSubscriptionItemsParameters
instance GHC.Show.Show StripeAPI.Operations.GetSubscriptionItems.GetSubscriptionItemsParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetSubscriptionItems.GetSubscriptionItemsResponseBody200
instance GHC.Show.Show StripeAPI.Operations.GetSubscriptionItems.GetSubscriptionItemsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetSubscriptionItems.GetSubscriptionItemsResponse
instance GHC.Show.Show StripeAPI.Operations.GetSubscriptionItems.GetSubscriptionItemsResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetSubscriptionItems.GetSubscriptionItemsResponseBody200
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetSubscriptionItems.GetSubscriptionItemsResponseBody200
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetSubscriptionItems.GetSubscriptionItemsParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetSubscriptionItems.GetSubscriptionItemsParameters
-- | Contains the different functions to run the operation
-- getSourcesSourceSourceTransactionsSourceTransaction
module StripeAPI.Operations.GetSourcesSourceSourceTransactionsSourceTransaction
-- |
-- GET /v1/sources/{source}/source_transactions/{source_transaction}
--
--
-- <p>Retrieve an existing source transaction object. Supply the
-- unique source ID from a source creation request and the source
-- transaction ID and Stripe will return the corresponding up-to-date
-- source object information.</p>
getSourcesSourceSourceTransactionsSourceTransaction :: forall m. MonadHTTP m => GetSourcesSourceSourceTransactionsSourceTransactionParameters -> ClientT m (Response GetSourcesSourceSourceTransactionsSourceTransactionResponse)
-- | Defines the object schema located at
-- paths./v1/sources/{source}/source_transactions/{source_transaction}.GET.parameters
-- in the specification.
data GetSourcesSourceSourceTransactionsSourceTransactionParameters
GetSourcesSourceSourceTransactionsSourceTransactionParameters :: Text -> Text -> Maybe [Text] -> GetSourcesSourceSourceTransactionsSourceTransactionParameters
-- | pathSource: Represents the parameter named 'source'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getSourcesSourceSourceTransactionsSourceTransactionParametersPathSource] :: GetSourcesSourceSourceTransactionsSourceTransactionParameters -> Text
-- | pathSource_transaction: Represents the parameter named
-- 'source_transaction'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getSourcesSourceSourceTransactionsSourceTransactionParametersPathSourceTransaction] :: GetSourcesSourceSourceTransactionsSourceTransactionParameters -> Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getSourcesSourceSourceTransactionsSourceTransactionParametersQueryExpand] :: GetSourcesSourceSourceTransactionsSourceTransactionParameters -> Maybe [Text]
-- | Create a new
-- GetSourcesSourceSourceTransactionsSourceTransactionParameters
-- with all required fields.
mkGetSourcesSourceSourceTransactionsSourceTransactionParameters :: Text -> Text -> GetSourcesSourceSourceTransactionsSourceTransactionParameters
-- | Represents a response of the operation
-- getSourcesSourceSourceTransactionsSourceTransaction.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- GetSourcesSourceSourceTransactionsSourceTransactionResponseError
-- is used.
data GetSourcesSourceSourceTransactionsSourceTransactionResponse
-- | Means either no matching case available or a parse error
GetSourcesSourceSourceTransactionsSourceTransactionResponseError :: String -> GetSourcesSourceSourceTransactionsSourceTransactionResponse
-- | Successful response.
GetSourcesSourceSourceTransactionsSourceTransactionResponse200 :: SourceTransaction -> GetSourcesSourceSourceTransactionsSourceTransactionResponse
-- | Error response.
GetSourcesSourceSourceTransactionsSourceTransactionResponseDefault :: Error -> GetSourcesSourceSourceTransactionsSourceTransactionResponse
instance GHC.Classes.Eq StripeAPI.Operations.GetSourcesSourceSourceTransactionsSourceTransaction.GetSourcesSourceSourceTransactionsSourceTransactionParameters
instance GHC.Show.Show StripeAPI.Operations.GetSourcesSourceSourceTransactionsSourceTransaction.GetSourcesSourceSourceTransactionsSourceTransactionParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetSourcesSourceSourceTransactionsSourceTransaction.GetSourcesSourceSourceTransactionsSourceTransactionResponse
instance GHC.Show.Show StripeAPI.Operations.GetSourcesSourceSourceTransactionsSourceTransaction.GetSourcesSourceSourceTransactionsSourceTransactionResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetSourcesSourceSourceTransactionsSourceTransaction.GetSourcesSourceSourceTransactionsSourceTransactionParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetSourcesSourceSourceTransactionsSourceTransaction.GetSourcesSourceSourceTransactionsSourceTransactionParameters
-- | Contains the different functions to run the operation
-- getSourcesSourceSourceTransactions
module StripeAPI.Operations.GetSourcesSourceSourceTransactions
-- |
-- GET /v1/sources/{source}/source_transactions
--
--
-- <p>List source transactions for a given source.</p>
getSourcesSourceSourceTransactions :: forall m. MonadHTTP m => GetSourcesSourceSourceTransactionsParameters -> ClientT m (Response GetSourcesSourceSourceTransactionsResponse)
-- | Defines the object schema located at
-- paths./v1/sources/{source}/source_transactions.GET.parameters
-- in the specification.
data GetSourcesSourceSourceTransactionsParameters
GetSourcesSourceSourceTransactionsParameters :: Text -> Maybe Text -> Maybe [Text] -> Maybe Int -> Maybe Text -> GetSourcesSourceSourceTransactionsParameters
-- | pathSource: Represents the parameter named 'source'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getSourcesSourceSourceTransactionsParametersPathSource] :: GetSourcesSourceSourceTransactionsParameters -> Text
-- | queryEnding_before: Represents the parameter named 'ending_before'
--
-- A cursor for use in pagination. `ending_before` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, starting with `obj_bar`, your
-- subsequent call can include `ending_before=obj_bar` in order to fetch
-- the previous page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getSourcesSourceSourceTransactionsParametersQueryEndingBefore] :: GetSourcesSourceSourceTransactionsParameters -> Maybe Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getSourcesSourceSourceTransactionsParametersQueryExpand] :: GetSourcesSourceSourceTransactionsParameters -> Maybe [Text]
-- | queryLimit: Represents the parameter named 'limit'
--
-- A limit on the number of objects to be returned. Limit can range
-- between 1 and 100, and the default is 10.
[getSourcesSourceSourceTransactionsParametersQueryLimit] :: GetSourcesSourceSourceTransactionsParameters -> Maybe Int
-- | queryStarting_after: Represents the parameter named 'starting_after'
--
-- A cursor for use in pagination. `starting_after` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, ending with `obj_foo`, your
-- subsequent call can include `starting_after=obj_foo` in order to fetch
-- the next page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getSourcesSourceSourceTransactionsParametersQueryStartingAfter] :: GetSourcesSourceSourceTransactionsParameters -> Maybe Text
-- | Create a new GetSourcesSourceSourceTransactionsParameters with
-- all required fields.
mkGetSourcesSourceSourceTransactionsParameters :: Text -> GetSourcesSourceSourceTransactionsParameters
-- | Represents a response of the operation
-- getSourcesSourceSourceTransactions.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- GetSourcesSourceSourceTransactionsResponseError is used.
data GetSourcesSourceSourceTransactionsResponse
-- | Means either no matching case available or a parse error
GetSourcesSourceSourceTransactionsResponseError :: String -> GetSourcesSourceSourceTransactionsResponse
-- | Successful response.
GetSourcesSourceSourceTransactionsResponse200 :: GetSourcesSourceSourceTransactionsResponseBody200 -> GetSourcesSourceSourceTransactionsResponse
-- | Error response.
GetSourcesSourceSourceTransactionsResponseDefault :: Error -> GetSourcesSourceSourceTransactionsResponse
-- | Defines the object schema located at
-- paths./v1/sources/{source}/source_transactions.GET.responses.200.content.application/json.schema
-- in the specification.
data GetSourcesSourceSourceTransactionsResponseBody200
GetSourcesSourceSourceTransactionsResponseBody200 :: [SourceTransaction] -> Bool -> Text -> GetSourcesSourceSourceTransactionsResponseBody200
-- | data
[getSourcesSourceSourceTransactionsResponseBody200Data] :: GetSourcesSourceSourceTransactionsResponseBody200 -> [SourceTransaction]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[getSourcesSourceSourceTransactionsResponseBody200HasMore] :: GetSourcesSourceSourceTransactionsResponseBody200 -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getSourcesSourceSourceTransactionsResponseBody200Url] :: GetSourcesSourceSourceTransactionsResponseBody200 -> Text
-- | Create a new GetSourcesSourceSourceTransactionsResponseBody200
-- with all required fields.
mkGetSourcesSourceSourceTransactionsResponseBody200 :: [SourceTransaction] -> Bool -> Text -> GetSourcesSourceSourceTransactionsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetSourcesSourceSourceTransactions.GetSourcesSourceSourceTransactionsParameters
instance GHC.Show.Show StripeAPI.Operations.GetSourcesSourceSourceTransactions.GetSourcesSourceSourceTransactionsParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetSourcesSourceSourceTransactions.GetSourcesSourceSourceTransactionsResponseBody200
instance GHC.Show.Show StripeAPI.Operations.GetSourcesSourceSourceTransactions.GetSourcesSourceSourceTransactionsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetSourcesSourceSourceTransactions.GetSourcesSourceSourceTransactionsResponse
instance GHC.Show.Show StripeAPI.Operations.GetSourcesSourceSourceTransactions.GetSourcesSourceSourceTransactionsResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetSourcesSourceSourceTransactions.GetSourcesSourceSourceTransactionsResponseBody200
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetSourcesSourceSourceTransactions.GetSourcesSourceSourceTransactionsResponseBody200
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetSourcesSourceSourceTransactions.GetSourcesSourceSourceTransactionsParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetSourcesSourceSourceTransactions.GetSourcesSourceSourceTransactionsParameters
-- | Contains the different functions to run the operation
-- getSourcesSourceMandateNotificationsMandateNotification
module StripeAPI.Operations.GetSourcesSourceMandateNotificationsMandateNotification
-- |
-- GET /v1/sources/{source}/mandate_notifications/{mandate_notification}
--
--
-- <p>Retrieves a new Source MandateNotification.</p>
getSourcesSourceMandateNotificationsMandateNotification :: forall m. MonadHTTP m => GetSourcesSourceMandateNotificationsMandateNotificationParameters -> ClientT m (Response GetSourcesSourceMandateNotificationsMandateNotificationResponse)
-- | Defines the object schema located at
-- paths./v1/sources/{source}/mandate_notifications/{mandate_notification}.GET.parameters
-- in the specification.
data GetSourcesSourceMandateNotificationsMandateNotificationParameters
GetSourcesSourceMandateNotificationsMandateNotificationParameters :: Text -> Text -> Maybe [Text] -> GetSourcesSourceMandateNotificationsMandateNotificationParameters
-- | pathMandate_notification: Represents the parameter named
-- 'mandate_notification'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getSourcesSourceMandateNotificationsMandateNotificationParametersPathMandateNotification] :: GetSourcesSourceMandateNotificationsMandateNotificationParameters -> Text
-- | pathSource: Represents the parameter named 'source'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getSourcesSourceMandateNotificationsMandateNotificationParametersPathSource] :: GetSourcesSourceMandateNotificationsMandateNotificationParameters -> Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getSourcesSourceMandateNotificationsMandateNotificationParametersQueryExpand] :: GetSourcesSourceMandateNotificationsMandateNotificationParameters -> Maybe [Text]
-- | Create a new
-- GetSourcesSourceMandateNotificationsMandateNotificationParameters
-- with all required fields.
mkGetSourcesSourceMandateNotificationsMandateNotificationParameters :: Text -> Text -> GetSourcesSourceMandateNotificationsMandateNotificationParameters
-- | Represents a response of the operation
-- getSourcesSourceMandateNotificationsMandateNotification.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- GetSourcesSourceMandateNotificationsMandateNotificationResponseError
-- is used.
data GetSourcesSourceMandateNotificationsMandateNotificationResponse
-- | Means either no matching case available or a parse error
GetSourcesSourceMandateNotificationsMandateNotificationResponseError :: String -> GetSourcesSourceMandateNotificationsMandateNotificationResponse
-- | Successful response.
GetSourcesSourceMandateNotificationsMandateNotificationResponse200 :: SourceMandateNotification -> GetSourcesSourceMandateNotificationsMandateNotificationResponse
-- | Error response.
GetSourcesSourceMandateNotificationsMandateNotificationResponseDefault :: Error -> GetSourcesSourceMandateNotificationsMandateNotificationResponse
instance GHC.Classes.Eq StripeAPI.Operations.GetSourcesSourceMandateNotificationsMandateNotification.GetSourcesSourceMandateNotificationsMandateNotificationParameters
instance GHC.Show.Show StripeAPI.Operations.GetSourcesSourceMandateNotificationsMandateNotification.GetSourcesSourceMandateNotificationsMandateNotificationParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetSourcesSourceMandateNotificationsMandateNotification.GetSourcesSourceMandateNotificationsMandateNotificationResponse
instance GHC.Show.Show StripeAPI.Operations.GetSourcesSourceMandateNotificationsMandateNotification.GetSourcesSourceMandateNotificationsMandateNotificationResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetSourcesSourceMandateNotificationsMandateNotification.GetSourcesSourceMandateNotificationsMandateNotificationParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetSourcesSourceMandateNotificationsMandateNotification.GetSourcesSourceMandateNotificationsMandateNotificationParameters
-- | Contains the different functions to run the operation getSourcesSource
module StripeAPI.Operations.GetSourcesSource
-- |
-- GET /v1/sources/{source}
--
--
-- <p>Retrieves an existing source object. Supply the unique source
-- ID from a source creation request and Stripe will return the
-- corresponding up-to-date source object information.</p>
getSourcesSource :: forall m. MonadHTTP m => GetSourcesSourceParameters -> ClientT m (Response GetSourcesSourceResponse)
-- | Defines the object schema located at
-- paths./v1/sources/{source}.GET.parameters in the
-- specification.
data GetSourcesSourceParameters
GetSourcesSourceParameters :: Text -> Maybe Text -> Maybe [Text] -> GetSourcesSourceParameters
-- | pathSource: Represents the parameter named 'source'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getSourcesSourceParametersPathSource] :: GetSourcesSourceParameters -> Text
-- | queryClient_secret: Represents the parameter named 'client_secret'
--
-- The client secret of the source. Required if a publishable key is used
-- to retrieve the source.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getSourcesSourceParametersQueryClientSecret] :: GetSourcesSourceParameters -> Maybe Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getSourcesSourceParametersQueryExpand] :: GetSourcesSourceParameters -> Maybe [Text]
-- | Create a new GetSourcesSourceParameters with all required
-- fields.
mkGetSourcesSourceParameters :: Text -> GetSourcesSourceParameters
-- | Represents a response of the operation getSourcesSource.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetSourcesSourceResponseError is used.
data GetSourcesSourceResponse
-- | Means either no matching case available or a parse error
GetSourcesSourceResponseError :: String -> GetSourcesSourceResponse
-- | Successful response.
GetSourcesSourceResponse200 :: Source -> GetSourcesSourceResponse
-- | Error response.
GetSourcesSourceResponseDefault :: Error -> GetSourcesSourceResponse
instance GHC.Classes.Eq StripeAPI.Operations.GetSourcesSource.GetSourcesSourceParameters
instance GHC.Show.Show StripeAPI.Operations.GetSourcesSource.GetSourcesSourceParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetSourcesSource.GetSourcesSourceResponse
instance GHC.Show.Show StripeAPI.Operations.GetSourcesSource.GetSourcesSourceResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetSourcesSource.GetSourcesSourceParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetSourcesSource.GetSourcesSourceParameters
-- | Contains the different functions to run the operation getSkusId
module StripeAPI.Operations.GetSkusId
-- |
-- GET /v1/skus/{id}
--
--
-- <p>Retrieves the details of an existing SKU. Supply the unique
-- SKU identifier from either a SKU creation request or from the product,
-- and Stripe will return the corresponding SKU information.</p>
getSkusId :: forall m. MonadHTTP m => GetSkusIdParameters -> ClientT m (Response GetSkusIdResponse)
-- | Defines the object schema located at
-- paths./v1/skus/{id}.GET.parameters in the specification.
data GetSkusIdParameters
GetSkusIdParameters :: Text -> Maybe [Text] -> GetSkusIdParameters
-- | pathId: Represents the parameter named 'id'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getSkusIdParametersPathId] :: GetSkusIdParameters -> Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getSkusIdParametersQueryExpand] :: GetSkusIdParameters -> Maybe [Text]
-- | Create a new GetSkusIdParameters with all required fields.
mkGetSkusIdParameters :: Text -> GetSkusIdParameters
-- | Represents a response of the operation getSkusId.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetSkusIdResponseError is used.
data GetSkusIdResponse
-- | Means either no matching case available or a parse error
GetSkusIdResponseError :: String -> GetSkusIdResponse
-- | Successful response.
GetSkusIdResponse200 :: GetSkusIdResponseBody200 -> GetSkusIdResponse
-- | Error response.
GetSkusIdResponseDefault :: Error -> GetSkusIdResponse
-- | Defines the object schema located at
-- paths./v1/skus/{id}.GET.responses.200.content.application/json.schema.anyOf
-- in the specification.
data GetSkusIdResponseBody200
GetSkusIdResponseBody200 :: Maybe Bool -> Maybe Object -> Maybe Int -> Maybe Text -> Maybe GetSkusIdResponseBody200Deleted' -> Maybe Text -> Maybe Text -> Maybe SkuInventory -> Maybe Bool -> Maybe Object -> Maybe GetSkusIdResponseBody200Object' -> Maybe GetSkusIdResponseBody200PackageDimensions' -> Maybe Int -> Maybe GetSkusIdResponseBody200Product'Variants -> Maybe Int -> GetSkusIdResponseBody200
-- | active: Whether the SKU is available for purchase.
[getSkusIdResponseBody200Active] :: GetSkusIdResponseBody200 -> Maybe Bool
-- | attributes: A dictionary of attributes and values for the attributes
-- defined by the product. If, for example, a product's attributes are
-- `["size", "gender"]`, a valid SKU has the following dictionary of
-- attributes: `{"size": "Medium", "gender": "Unisex"}`.
[getSkusIdResponseBody200Attributes] :: GetSkusIdResponseBody200 -> Maybe Object
-- | created: Time at which the object was created. Measured in seconds
-- since the Unix epoch.
[getSkusIdResponseBody200Created] :: GetSkusIdResponseBody200 -> Maybe Int
-- | currency: Three-letter ISO currency code, in lowercase. Must be
-- a supported currency.
[getSkusIdResponseBody200Currency] :: GetSkusIdResponseBody200 -> Maybe Text
-- | deleted: Always true for a deleted object
[getSkusIdResponseBody200Deleted] :: GetSkusIdResponseBody200 -> Maybe GetSkusIdResponseBody200Deleted'
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getSkusIdResponseBody200Id] :: GetSkusIdResponseBody200 -> Maybe Text
-- | image: The URL of an image for this SKU, meant to be displayable to
-- the customer.
--
-- Constraints:
--
--
-- - Maximum length of 2048
--
[getSkusIdResponseBody200Image] :: GetSkusIdResponseBody200 -> Maybe Text
-- | inventory:
[getSkusIdResponseBody200Inventory] :: GetSkusIdResponseBody200 -> Maybe SkuInventory
-- | livemode: Has the value `true` if the object exists in live mode or
-- the value `false` if the object exists in test mode.
[getSkusIdResponseBody200Livemode] :: GetSkusIdResponseBody200 -> Maybe Bool
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format.
[getSkusIdResponseBody200Metadata] :: GetSkusIdResponseBody200 -> Maybe Object
-- | object: String representing the object's type. Objects of the same
-- type share the same value.
[getSkusIdResponseBody200Object] :: GetSkusIdResponseBody200 -> Maybe GetSkusIdResponseBody200Object'
-- | package_dimensions: The dimensions of this SKU for shipping purposes.
[getSkusIdResponseBody200PackageDimensions] :: GetSkusIdResponseBody200 -> Maybe GetSkusIdResponseBody200PackageDimensions'
-- | price: The cost of the item as a positive integer in the smallest
-- currency unit (that is, 100 cents to charge $1.00, or 100 to charge
-- ¥100, Japanese Yen being a zero-decimal currency).
[getSkusIdResponseBody200Price] :: GetSkusIdResponseBody200 -> Maybe Int
-- | product: The ID of the product this SKU is associated with. The
-- product must be currently active.
[getSkusIdResponseBody200Product] :: GetSkusIdResponseBody200 -> Maybe GetSkusIdResponseBody200Product'Variants
-- | updated: Time at which the object was last updated. Measured in
-- seconds since the Unix epoch.
[getSkusIdResponseBody200Updated] :: GetSkusIdResponseBody200 -> Maybe Int
-- | Create a new GetSkusIdResponseBody200 with all required fields.
mkGetSkusIdResponseBody200 :: GetSkusIdResponseBody200
-- | Defines the enum schema located at
-- paths./v1/skus/{id}.GET.responses.200.content.application/json.schema.anyOf.properties.deleted
-- in the specification.
--
-- Always true for a deleted object
data GetSkusIdResponseBody200Deleted'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
GetSkusIdResponseBody200Deleted'Other :: Value -> GetSkusIdResponseBody200Deleted'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
GetSkusIdResponseBody200Deleted'Typed :: Bool -> GetSkusIdResponseBody200Deleted'
-- | Represents the JSON value true
GetSkusIdResponseBody200Deleted'EnumTrue :: GetSkusIdResponseBody200Deleted'
-- | Defines the enum schema located at
-- paths./v1/skus/{id}.GET.responses.200.content.application/json.schema.anyOf.properties.object
-- in the specification.
--
-- String representing the object's type. Objects of the same type share
-- the same value.
data GetSkusIdResponseBody200Object'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
GetSkusIdResponseBody200Object'Other :: Value -> GetSkusIdResponseBody200Object'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
GetSkusIdResponseBody200Object'Typed :: Text -> GetSkusIdResponseBody200Object'
-- | Represents the JSON value "sku"
GetSkusIdResponseBody200Object'EnumSku :: GetSkusIdResponseBody200Object'
-- | Defines the object schema located at
-- paths./v1/skus/{id}.GET.responses.200.content.application/json.schema.anyOf.properties.package_dimensions.anyOf
-- in the specification.
--
-- The dimensions of this SKU for shipping purposes.
data GetSkusIdResponseBody200PackageDimensions'
GetSkusIdResponseBody200PackageDimensions' :: Maybe Double -> Maybe Double -> Maybe Double -> Maybe Double -> GetSkusIdResponseBody200PackageDimensions'
-- | height: Height, in inches.
[getSkusIdResponseBody200PackageDimensions'Height] :: GetSkusIdResponseBody200PackageDimensions' -> Maybe Double
-- | length: Length, in inches.
[getSkusIdResponseBody200PackageDimensions'Length] :: GetSkusIdResponseBody200PackageDimensions' -> Maybe Double
-- | weight: Weight, in ounces.
[getSkusIdResponseBody200PackageDimensions'Weight] :: GetSkusIdResponseBody200PackageDimensions' -> Maybe Double
-- | width: Width, in inches.
[getSkusIdResponseBody200PackageDimensions'Width] :: GetSkusIdResponseBody200PackageDimensions' -> Maybe Double
-- | Create a new GetSkusIdResponseBody200PackageDimensions' with
-- all required fields.
mkGetSkusIdResponseBody200PackageDimensions' :: GetSkusIdResponseBody200PackageDimensions'
-- | Defines the oneOf schema located at
-- paths./v1/skus/{id}.GET.responses.200.content.application/json.schema.anyOf.properties.product.anyOf
-- in the specification.
--
-- The ID of the product this SKU is associated with. The product must be
-- currently active.
data GetSkusIdResponseBody200Product'Variants
GetSkusIdResponseBody200Product'Text :: Text -> GetSkusIdResponseBody200Product'Variants
GetSkusIdResponseBody200Product'Product :: Product -> GetSkusIdResponseBody200Product'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetSkusId.GetSkusIdParameters
instance GHC.Show.Show StripeAPI.Operations.GetSkusId.GetSkusIdParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetSkusId.GetSkusIdResponseBody200Deleted'
instance GHC.Show.Show StripeAPI.Operations.GetSkusId.GetSkusIdResponseBody200Deleted'
instance GHC.Classes.Eq StripeAPI.Operations.GetSkusId.GetSkusIdResponseBody200Object'
instance GHC.Show.Show StripeAPI.Operations.GetSkusId.GetSkusIdResponseBody200Object'
instance GHC.Classes.Eq StripeAPI.Operations.GetSkusId.GetSkusIdResponseBody200PackageDimensions'
instance GHC.Show.Show StripeAPI.Operations.GetSkusId.GetSkusIdResponseBody200PackageDimensions'
instance GHC.Classes.Eq StripeAPI.Operations.GetSkusId.GetSkusIdResponseBody200Product'Variants
instance GHC.Show.Show StripeAPI.Operations.GetSkusId.GetSkusIdResponseBody200Product'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetSkusId.GetSkusIdResponseBody200
instance GHC.Show.Show StripeAPI.Operations.GetSkusId.GetSkusIdResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetSkusId.GetSkusIdResponse
instance GHC.Show.Show StripeAPI.Operations.GetSkusId.GetSkusIdResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetSkusId.GetSkusIdResponseBody200
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetSkusId.GetSkusIdResponseBody200
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetSkusId.GetSkusIdResponseBody200Product'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetSkusId.GetSkusIdResponseBody200Product'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetSkusId.GetSkusIdResponseBody200PackageDimensions'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetSkusId.GetSkusIdResponseBody200PackageDimensions'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetSkusId.GetSkusIdResponseBody200Object'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetSkusId.GetSkusIdResponseBody200Object'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetSkusId.GetSkusIdResponseBody200Deleted'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetSkusId.GetSkusIdResponseBody200Deleted'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetSkusId.GetSkusIdParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetSkusId.GetSkusIdParameters
-- | Contains the different functions to run the operation getSkus
module StripeAPI.Operations.GetSkus
-- |
-- GET /v1/skus
--
--
-- <p>Returns a list of your SKUs. The SKUs are returned sorted by
-- creation date, with the most recently created SKUs appearing
-- first.</p>
getSkus :: forall m. MonadHTTP m => GetSkusParameters -> ClientT m (Response GetSkusResponse)
-- | Defines the object schema located at
-- paths./v1/skus.GET.parameters in the specification.
data GetSkusParameters
GetSkusParameters :: Maybe Bool -> Maybe Object -> Maybe Text -> Maybe [Text] -> Maybe [Text] -> Maybe Bool -> Maybe Int -> Maybe Text -> Maybe Text -> GetSkusParameters
-- | queryActive: Represents the parameter named 'active'
--
-- Only return SKUs that are active or inactive (e.g., pass `false` to
-- list all inactive products).
[getSkusParametersQueryActive] :: GetSkusParameters -> Maybe Bool
-- | queryAttributes: Represents the parameter named 'attributes'
--
-- Only return SKUs that have the specified key-value pairs in this
-- partially constructed dictionary. Can be specified only if `product`
-- is also supplied. For instance, if the associated product has
-- attributes `["color", "size"]`, passing in `attributes[color]=red`
-- returns all the SKUs for this product that have `color` set to `red`.
[getSkusParametersQueryAttributes] :: GetSkusParameters -> Maybe Object
-- | queryEnding_before: Represents the parameter named 'ending_before'
--
-- A cursor for use in pagination. `ending_before` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, starting with `obj_bar`, your
-- subsequent call can include `ending_before=obj_bar` in order to fetch
-- the previous page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getSkusParametersQueryEndingBefore] :: GetSkusParameters -> Maybe Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getSkusParametersQueryExpand] :: GetSkusParameters -> Maybe [Text]
-- | queryIds: Represents the parameter named 'ids'
--
-- Only return SKUs with the given IDs.
[getSkusParametersQueryIds] :: GetSkusParameters -> Maybe [Text]
-- | queryIn_stock: Represents the parameter named 'in_stock'
--
-- Only return SKUs that are either in stock or out of stock (e.g., pass
-- `false` to list all SKUs that are out of stock). If no value is
-- provided, all SKUs are returned.
[getSkusParametersQueryInStock] :: GetSkusParameters -> Maybe Bool
-- | queryLimit: Represents the parameter named 'limit'
--
-- A limit on the number of objects to be returned. Limit can range
-- between 1 and 100, and the default is 10.
[getSkusParametersQueryLimit] :: GetSkusParameters -> Maybe Int
-- | queryProduct: Represents the parameter named 'product'
--
-- The ID of the product whose SKUs will be retrieved. Must be a product
-- with type `good`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getSkusParametersQueryProduct] :: GetSkusParameters -> Maybe Text
-- | queryStarting_after: Represents the parameter named 'starting_after'
--
-- A cursor for use in pagination. `starting_after` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, ending with `obj_foo`, your
-- subsequent call can include `starting_after=obj_foo` in order to fetch
-- the next page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getSkusParametersQueryStartingAfter] :: GetSkusParameters -> Maybe Text
-- | Create a new GetSkusParameters with all required fields.
mkGetSkusParameters :: GetSkusParameters
-- | Represents a response of the operation getSkus.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetSkusResponseError is used.
data GetSkusResponse
-- | Means either no matching case available or a parse error
GetSkusResponseError :: String -> GetSkusResponse
-- | Successful response.
GetSkusResponse200 :: GetSkusResponseBody200 -> GetSkusResponse
-- | Error response.
GetSkusResponseDefault :: Error -> GetSkusResponse
-- | Defines the object schema located at
-- paths./v1/skus.GET.responses.200.content.application/json.schema
-- in the specification.
data GetSkusResponseBody200
GetSkusResponseBody200 :: [Sku] -> Bool -> Text -> GetSkusResponseBody200
-- | data
[getSkusResponseBody200Data] :: GetSkusResponseBody200 -> [Sku]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[getSkusResponseBody200HasMore] :: GetSkusResponseBody200 -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
-- - Must match pattern '^/v1/skus'
--
[getSkusResponseBody200Url] :: GetSkusResponseBody200 -> Text
-- | Create a new GetSkusResponseBody200 with all required fields.
mkGetSkusResponseBody200 :: [Sku] -> Bool -> Text -> GetSkusResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetSkus.GetSkusParameters
instance GHC.Show.Show StripeAPI.Operations.GetSkus.GetSkusParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetSkus.GetSkusResponseBody200
instance GHC.Show.Show StripeAPI.Operations.GetSkus.GetSkusResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetSkus.GetSkusResponse
instance GHC.Show.Show StripeAPI.Operations.GetSkus.GetSkusResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetSkus.GetSkusResponseBody200
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetSkus.GetSkusResponseBody200
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetSkus.GetSkusParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetSkus.GetSkusParameters
-- | Contains the different functions to run the operation
-- getSigmaScheduledQueryRunsScheduledQueryRun
module StripeAPI.Operations.GetSigmaScheduledQueryRunsScheduledQueryRun
-- |
-- GET /v1/sigma/scheduled_query_runs/{scheduled_query_run}
--
--
-- <p>Retrieves the details of an scheduled query run.</p>
getSigmaScheduledQueryRunsScheduledQueryRun :: forall m. MonadHTTP m => GetSigmaScheduledQueryRunsScheduledQueryRunParameters -> ClientT m (Response GetSigmaScheduledQueryRunsScheduledQueryRunResponse)
-- | Defines the object schema located at
-- paths./v1/sigma/scheduled_query_runs/{scheduled_query_run}.GET.parameters
-- in the specification.
data GetSigmaScheduledQueryRunsScheduledQueryRunParameters
GetSigmaScheduledQueryRunsScheduledQueryRunParameters :: Text -> Maybe [Text] -> GetSigmaScheduledQueryRunsScheduledQueryRunParameters
-- | pathScheduled_query_run: Represents the parameter named
-- 'scheduled_query_run'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getSigmaScheduledQueryRunsScheduledQueryRunParametersPathScheduledQueryRun] :: GetSigmaScheduledQueryRunsScheduledQueryRunParameters -> Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getSigmaScheduledQueryRunsScheduledQueryRunParametersQueryExpand] :: GetSigmaScheduledQueryRunsScheduledQueryRunParameters -> Maybe [Text]
-- | Create a new
-- GetSigmaScheduledQueryRunsScheduledQueryRunParameters with all
-- required fields.
mkGetSigmaScheduledQueryRunsScheduledQueryRunParameters :: Text -> GetSigmaScheduledQueryRunsScheduledQueryRunParameters
-- | Represents a response of the operation
-- getSigmaScheduledQueryRunsScheduledQueryRun.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- GetSigmaScheduledQueryRunsScheduledQueryRunResponseError is
-- used.
data GetSigmaScheduledQueryRunsScheduledQueryRunResponse
-- | Means either no matching case available or a parse error
GetSigmaScheduledQueryRunsScheduledQueryRunResponseError :: String -> GetSigmaScheduledQueryRunsScheduledQueryRunResponse
-- | Successful response.
GetSigmaScheduledQueryRunsScheduledQueryRunResponse200 :: ScheduledQueryRun -> GetSigmaScheduledQueryRunsScheduledQueryRunResponse
-- | Error response.
GetSigmaScheduledQueryRunsScheduledQueryRunResponseDefault :: Error -> GetSigmaScheduledQueryRunsScheduledQueryRunResponse
instance GHC.Classes.Eq StripeAPI.Operations.GetSigmaScheduledQueryRunsScheduledQueryRun.GetSigmaScheduledQueryRunsScheduledQueryRunParameters
instance GHC.Show.Show StripeAPI.Operations.GetSigmaScheduledQueryRunsScheduledQueryRun.GetSigmaScheduledQueryRunsScheduledQueryRunParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetSigmaScheduledQueryRunsScheduledQueryRun.GetSigmaScheduledQueryRunsScheduledQueryRunResponse
instance GHC.Show.Show StripeAPI.Operations.GetSigmaScheduledQueryRunsScheduledQueryRun.GetSigmaScheduledQueryRunsScheduledQueryRunResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetSigmaScheduledQueryRunsScheduledQueryRun.GetSigmaScheduledQueryRunsScheduledQueryRunParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetSigmaScheduledQueryRunsScheduledQueryRun.GetSigmaScheduledQueryRunsScheduledQueryRunParameters
-- | Contains the different functions to run the operation
-- getSigmaScheduledQueryRuns
module StripeAPI.Operations.GetSigmaScheduledQueryRuns
-- |
-- GET /v1/sigma/scheduled_query_runs
--
--
-- <p>Returns a list of scheduled query runs.</p>
getSigmaScheduledQueryRuns :: forall m. MonadHTTP m => GetSigmaScheduledQueryRunsParameters -> ClientT m (Response GetSigmaScheduledQueryRunsResponse)
-- | Defines the object schema located at
-- paths./v1/sigma/scheduled_query_runs.GET.parameters in the
-- specification.
data GetSigmaScheduledQueryRunsParameters
GetSigmaScheduledQueryRunsParameters :: Maybe Text -> Maybe [Text] -> Maybe Int -> Maybe Text -> GetSigmaScheduledQueryRunsParameters
-- | queryEnding_before: Represents the parameter named 'ending_before'
--
-- A cursor for use in pagination. `ending_before` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, starting with `obj_bar`, your
-- subsequent call can include `ending_before=obj_bar` in order to fetch
-- the previous page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getSigmaScheduledQueryRunsParametersQueryEndingBefore] :: GetSigmaScheduledQueryRunsParameters -> Maybe Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getSigmaScheduledQueryRunsParametersQueryExpand] :: GetSigmaScheduledQueryRunsParameters -> Maybe [Text]
-- | queryLimit: Represents the parameter named 'limit'
--
-- A limit on the number of objects to be returned. Limit can range
-- between 1 and 100, and the default is 10.
[getSigmaScheduledQueryRunsParametersQueryLimit] :: GetSigmaScheduledQueryRunsParameters -> Maybe Int
-- | queryStarting_after: Represents the parameter named 'starting_after'
--
-- A cursor for use in pagination. `starting_after` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, ending with `obj_foo`, your
-- subsequent call can include `starting_after=obj_foo` in order to fetch
-- the next page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getSigmaScheduledQueryRunsParametersQueryStartingAfter] :: GetSigmaScheduledQueryRunsParameters -> Maybe Text
-- | Create a new GetSigmaScheduledQueryRunsParameters with all
-- required fields.
mkGetSigmaScheduledQueryRunsParameters :: GetSigmaScheduledQueryRunsParameters
-- | Represents a response of the operation
-- getSigmaScheduledQueryRuns.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetSigmaScheduledQueryRunsResponseError
-- is used.
data GetSigmaScheduledQueryRunsResponse
-- | Means either no matching case available or a parse error
GetSigmaScheduledQueryRunsResponseError :: String -> GetSigmaScheduledQueryRunsResponse
-- | Successful response.
GetSigmaScheduledQueryRunsResponse200 :: GetSigmaScheduledQueryRunsResponseBody200 -> GetSigmaScheduledQueryRunsResponse
-- | Error response.
GetSigmaScheduledQueryRunsResponseDefault :: Error -> GetSigmaScheduledQueryRunsResponse
-- | Defines the object schema located at
-- paths./v1/sigma/scheduled_query_runs.GET.responses.200.content.application/json.schema
-- in the specification.
data GetSigmaScheduledQueryRunsResponseBody200
GetSigmaScheduledQueryRunsResponseBody200 :: [ScheduledQueryRun] -> Bool -> Text -> GetSigmaScheduledQueryRunsResponseBody200
-- | data
[getSigmaScheduledQueryRunsResponseBody200Data] :: GetSigmaScheduledQueryRunsResponseBody200 -> [ScheduledQueryRun]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[getSigmaScheduledQueryRunsResponseBody200HasMore] :: GetSigmaScheduledQueryRunsResponseBody200 -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
-- - Must match pattern '^/v1/sigma/scheduled_query_runs'
--
[getSigmaScheduledQueryRunsResponseBody200Url] :: GetSigmaScheduledQueryRunsResponseBody200 -> Text
-- | Create a new GetSigmaScheduledQueryRunsResponseBody200 with all
-- required fields.
mkGetSigmaScheduledQueryRunsResponseBody200 :: [ScheduledQueryRun] -> Bool -> Text -> GetSigmaScheduledQueryRunsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetSigmaScheduledQueryRuns.GetSigmaScheduledQueryRunsParameters
instance GHC.Show.Show StripeAPI.Operations.GetSigmaScheduledQueryRuns.GetSigmaScheduledQueryRunsParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetSigmaScheduledQueryRuns.GetSigmaScheduledQueryRunsResponseBody200
instance GHC.Show.Show StripeAPI.Operations.GetSigmaScheduledQueryRuns.GetSigmaScheduledQueryRunsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetSigmaScheduledQueryRuns.GetSigmaScheduledQueryRunsResponse
instance GHC.Show.Show StripeAPI.Operations.GetSigmaScheduledQueryRuns.GetSigmaScheduledQueryRunsResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetSigmaScheduledQueryRuns.GetSigmaScheduledQueryRunsResponseBody200
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetSigmaScheduledQueryRuns.GetSigmaScheduledQueryRunsResponseBody200
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetSigmaScheduledQueryRuns.GetSigmaScheduledQueryRunsParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetSigmaScheduledQueryRuns.GetSigmaScheduledQueryRunsParameters
-- | Contains the different functions to run the operation
-- getSetupIntentsIntent
module StripeAPI.Operations.GetSetupIntentsIntent
-- |
-- GET /v1/setup_intents/{intent}
--
--
-- <p>Retrieves the details of a SetupIntent that has previously
-- been created. </p>
--
-- <p>Client-side retrieval using a publishable key is allowed when
-- the <code>client_secret</code> is provided in the query
-- string. </p>
--
-- <p>When retrieved with a publishable key, only a subset of
-- properties will be returned. Please refer to the <a
-- href="#setup_intent_object">SetupIntent</a> object reference
-- for more details.</p>
getSetupIntentsIntent :: forall m. MonadHTTP m => GetSetupIntentsIntentParameters -> ClientT m (Response GetSetupIntentsIntentResponse)
-- | Defines the object schema located at
-- paths./v1/setup_intents/{intent}.GET.parameters in the
-- specification.
data GetSetupIntentsIntentParameters
GetSetupIntentsIntentParameters :: Text -> Maybe Text -> Maybe [Text] -> GetSetupIntentsIntentParameters
-- | pathIntent: Represents the parameter named 'intent'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getSetupIntentsIntentParametersPathIntent] :: GetSetupIntentsIntentParameters -> Text
-- | queryClient_secret: Represents the parameter named 'client_secret'
--
-- The client secret of the SetupIntent. Required if a publishable key is
-- used to retrieve the SetupIntent.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getSetupIntentsIntentParametersQueryClientSecret] :: GetSetupIntentsIntentParameters -> Maybe Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getSetupIntentsIntentParametersQueryExpand] :: GetSetupIntentsIntentParameters -> Maybe [Text]
-- | Create a new GetSetupIntentsIntentParameters with all required
-- fields.
mkGetSetupIntentsIntentParameters :: Text -> GetSetupIntentsIntentParameters
-- | Represents a response of the operation getSetupIntentsIntent.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetSetupIntentsIntentResponseError is
-- used.
data GetSetupIntentsIntentResponse
-- | Means either no matching case available or a parse error
GetSetupIntentsIntentResponseError :: String -> GetSetupIntentsIntentResponse
-- | Successful response.
GetSetupIntentsIntentResponse200 :: SetupIntent -> GetSetupIntentsIntentResponse
-- | Error response.
GetSetupIntentsIntentResponseDefault :: Error -> GetSetupIntentsIntentResponse
instance GHC.Classes.Eq StripeAPI.Operations.GetSetupIntentsIntent.GetSetupIntentsIntentParameters
instance GHC.Show.Show StripeAPI.Operations.GetSetupIntentsIntent.GetSetupIntentsIntentParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetSetupIntentsIntent.GetSetupIntentsIntentResponse
instance GHC.Show.Show StripeAPI.Operations.GetSetupIntentsIntent.GetSetupIntentsIntentResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetSetupIntentsIntent.GetSetupIntentsIntentParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetSetupIntentsIntent.GetSetupIntentsIntentParameters
-- | Contains the different functions to run the operation getSetupIntents
module StripeAPI.Operations.GetSetupIntents
-- |
-- GET /v1/setup_intents
--
--
-- <p>Returns a list of SetupIntents.</p>
getSetupIntents :: forall m. MonadHTTP m => GetSetupIntentsParameters -> ClientT m (Response GetSetupIntentsResponse)
-- | Defines the object schema located at
-- paths./v1/setup_intents.GET.parameters in the specification.
data GetSetupIntentsParameters
GetSetupIntentsParameters :: Maybe GetSetupIntentsParametersQueryCreated'Variants -> Maybe Text -> Maybe Text -> Maybe [Text] -> Maybe Int -> Maybe Text -> Maybe Text -> GetSetupIntentsParameters
-- | queryCreated: Represents the parameter named 'created'
--
-- A filter on the list, based on the object `created` field. The value
-- can be a string with an integer Unix timestamp, or it can be a
-- dictionary with a number of different query options.
[getSetupIntentsParametersQueryCreated] :: GetSetupIntentsParameters -> Maybe GetSetupIntentsParametersQueryCreated'Variants
-- | queryCustomer: Represents the parameter named 'customer'
--
-- Only return SetupIntents for the customer specified by this customer
-- ID.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getSetupIntentsParametersQueryCustomer] :: GetSetupIntentsParameters -> Maybe Text
-- | queryEnding_before: Represents the parameter named 'ending_before'
--
-- A cursor for use in pagination. `ending_before` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, starting with `obj_bar`, your
-- subsequent call can include `ending_before=obj_bar` in order to fetch
-- the previous page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getSetupIntentsParametersQueryEndingBefore] :: GetSetupIntentsParameters -> Maybe Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getSetupIntentsParametersQueryExpand] :: GetSetupIntentsParameters -> Maybe [Text]
-- | queryLimit: Represents the parameter named 'limit'
--
-- A limit on the number of objects to be returned. Limit can range
-- between 1 and 100, and the default is 10.
[getSetupIntentsParametersQueryLimit] :: GetSetupIntentsParameters -> Maybe Int
-- | queryPayment_method: Represents the parameter named 'payment_method'
--
-- Only return SetupIntents associated with the specified payment method.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getSetupIntentsParametersQueryPaymentMethod] :: GetSetupIntentsParameters -> Maybe Text
-- | queryStarting_after: Represents the parameter named 'starting_after'
--
-- A cursor for use in pagination. `starting_after` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, ending with `obj_foo`, your
-- subsequent call can include `starting_after=obj_foo` in order to fetch
-- the next page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getSetupIntentsParametersQueryStartingAfter] :: GetSetupIntentsParameters -> Maybe Text
-- | Create a new GetSetupIntentsParameters with all required
-- fields.
mkGetSetupIntentsParameters :: GetSetupIntentsParameters
-- | Defines the object schema located at
-- paths./v1/setup_intents.GET.parameters.properties.queryCreated.anyOf
-- in the specification.
data GetSetupIntentsParametersQueryCreated'OneOf1
GetSetupIntentsParametersQueryCreated'OneOf1 :: Maybe Int -> Maybe Int -> Maybe Int -> Maybe Int -> GetSetupIntentsParametersQueryCreated'OneOf1
-- | gt
[getSetupIntentsParametersQueryCreated'OneOf1Gt] :: GetSetupIntentsParametersQueryCreated'OneOf1 -> Maybe Int
-- | gte
[getSetupIntentsParametersQueryCreated'OneOf1Gte] :: GetSetupIntentsParametersQueryCreated'OneOf1 -> Maybe Int
-- | lt
[getSetupIntentsParametersQueryCreated'OneOf1Lt] :: GetSetupIntentsParametersQueryCreated'OneOf1 -> Maybe Int
-- | lte
[getSetupIntentsParametersQueryCreated'OneOf1Lte] :: GetSetupIntentsParametersQueryCreated'OneOf1 -> Maybe Int
-- | Create a new GetSetupIntentsParametersQueryCreated'OneOf1 with
-- all required fields.
mkGetSetupIntentsParametersQueryCreated'OneOf1 :: GetSetupIntentsParametersQueryCreated'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/setup_intents.GET.parameters.properties.queryCreated.anyOf
-- in the specification.
--
-- Represents the parameter named 'created'
--
-- A filter on the list, based on the object `created` field. The value
-- can be a string with an integer Unix timestamp, or it can be a
-- dictionary with a number of different query options.
data GetSetupIntentsParametersQueryCreated'Variants
GetSetupIntentsParametersQueryCreated'GetSetupIntentsParametersQueryCreated'OneOf1 :: GetSetupIntentsParametersQueryCreated'OneOf1 -> GetSetupIntentsParametersQueryCreated'Variants
GetSetupIntentsParametersQueryCreated'Int :: Int -> GetSetupIntentsParametersQueryCreated'Variants
-- | Represents a response of the operation getSetupIntents.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetSetupIntentsResponseError is used.
data GetSetupIntentsResponse
-- | Means either no matching case available or a parse error
GetSetupIntentsResponseError :: String -> GetSetupIntentsResponse
-- | Successful response.
GetSetupIntentsResponse200 :: GetSetupIntentsResponseBody200 -> GetSetupIntentsResponse
-- | Error response.
GetSetupIntentsResponseDefault :: Error -> GetSetupIntentsResponse
-- | Defines the object schema located at
-- paths./v1/setup_intents.GET.responses.200.content.application/json.schema
-- in the specification.
data GetSetupIntentsResponseBody200
GetSetupIntentsResponseBody200 :: [SetupIntent] -> Bool -> Text -> GetSetupIntentsResponseBody200
-- | data
[getSetupIntentsResponseBody200Data] :: GetSetupIntentsResponseBody200 -> [SetupIntent]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[getSetupIntentsResponseBody200HasMore] :: GetSetupIntentsResponseBody200 -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
-- - Must match pattern '^/v1/setup_intents'
--
[getSetupIntentsResponseBody200Url] :: GetSetupIntentsResponseBody200 -> Text
-- | Create a new GetSetupIntentsResponseBody200 with all required
-- fields.
mkGetSetupIntentsResponseBody200 :: [SetupIntent] -> Bool -> Text -> GetSetupIntentsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetSetupIntents.GetSetupIntentsParametersQueryCreated'OneOf1
instance GHC.Show.Show StripeAPI.Operations.GetSetupIntents.GetSetupIntentsParametersQueryCreated'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.GetSetupIntents.GetSetupIntentsParametersQueryCreated'Variants
instance GHC.Show.Show StripeAPI.Operations.GetSetupIntents.GetSetupIntentsParametersQueryCreated'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetSetupIntents.GetSetupIntentsParameters
instance GHC.Show.Show StripeAPI.Operations.GetSetupIntents.GetSetupIntentsParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetSetupIntents.GetSetupIntentsResponseBody200
instance GHC.Show.Show StripeAPI.Operations.GetSetupIntents.GetSetupIntentsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetSetupIntents.GetSetupIntentsResponse
instance GHC.Show.Show StripeAPI.Operations.GetSetupIntents.GetSetupIntentsResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetSetupIntents.GetSetupIntentsResponseBody200
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetSetupIntents.GetSetupIntentsResponseBody200
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetSetupIntents.GetSetupIntentsParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetSetupIntents.GetSetupIntentsParameters
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetSetupIntents.GetSetupIntentsParametersQueryCreated'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetSetupIntents.GetSetupIntentsParametersQueryCreated'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetSetupIntents.GetSetupIntentsParametersQueryCreated'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetSetupIntents.GetSetupIntentsParametersQueryCreated'OneOf1
-- | Contains the different functions to run the operation getSetupAttempts
module StripeAPI.Operations.GetSetupAttempts
-- |
-- GET /v1/setup_attempts
--
--
-- <p>Returns a list of SetupAttempts associated with a provided
-- SetupIntent.</p>
getSetupAttempts :: forall m. MonadHTTP m => GetSetupAttemptsParameters -> ClientT m (Response GetSetupAttemptsResponse)
-- | Defines the object schema located at
-- paths./v1/setup_attempts.GET.parameters in the specification.
data GetSetupAttemptsParameters
GetSetupAttemptsParameters :: Maybe GetSetupAttemptsParametersQueryCreated'Variants -> Maybe Text -> Maybe [Text] -> Maybe Int -> Text -> Maybe Text -> GetSetupAttemptsParameters
-- | queryCreated: Represents the parameter named 'created'
--
-- A filter on the list, based on the object `created` field. The value
-- can be a string with an integer Unix timestamp, or it can be a
-- dictionary with a number of different query options.
[getSetupAttemptsParametersQueryCreated] :: GetSetupAttemptsParameters -> Maybe GetSetupAttemptsParametersQueryCreated'Variants
-- | queryEnding_before: Represents the parameter named 'ending_before'
--
-- A cursor for use in pagination. `ending_before` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, starting with `obj_bar`, your
-- subsequent call can include `ending_before=obj_bar` in order to fetch
-- the previous page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getSetupAttemptsParametersQueryEndingBefore] :: GetSetupAttemptsParameters -> Maybe Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getSetupAttemptsParametersQueryExpand] :: GetSetupAttemptsParameters -> Maybe [Text]
-- | queryLimit: Represents the parameter named 'limit'
--
-- A limit on the number of objects to be returned. Limit can range
-- between 1 and 100, and the default is 10.
[getSetupAttemptsParametersQueryLimit] :: GetSetupAttemptsParameters -> Maybe Int
-- | querySetup_intent: Represents the parameter named 'setup_intent'
--
-- Only return SetupAttempts created by the SetupIntent specified by this
-- ID.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getSetupAttemptsParametersQuerySetupIntent] :: GetSetupAttemptsParameters -> Text
-- | queryStarting_after: Represents the parameter named 'starting_after'
--
-- A cursor for use in pagination. `starting_after` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, ending with `obj_foo`, your
-- subsequent call can include `starting_after=obj_foo` in order to fetch
-- the next page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getSetupAttemptsParametersQueryStartingAfter] :: GetSetupAttemptsParameters -> Maybe Text
-- | Create a new GetSetupAttemptsParameters with all required
-- fields.
mkGetSetupAttemptsParameters :: Text -> GetSetupAttemptsParameters
-- | Defines the object schema located at
-- paths./v1/setup_attempts.GET.parameters.properties.queryCreated.anyOf
-- in the specification.
data GetSetupAttemptsParametersQueryCreated'OneOf1
GetSetupAttemptsParametersQueryCreated'OneOf1 :: Maybe Int -> Maybe Int -> Maybe Int -> Maybe Int -> GetSetupAttemptsParametersQueryCreated'OneOf1
-- | gt
[getSetupAttemptsParametersQueryCreated'OneOf1Gt] :: GetSetupAttemptsParametersQueryCreated'OneOf1 -> Maybe Int
-- | gte
[getSetupAttemptsParametersQueryCreated'OneOf1Gte] :: GetSetupAttemptsParametersQueryCreated'OneOf1 -> Maybe Int
-- | lt
[getSetupAttemptsParametersQueryCreated'OneOf1Lt] :: GetSetupAttemptsParametersQueryCreated'OneOf1 -> Maybe Int
-- | lte
[getSetupAttemptsParametersQueryCreated'OneOf1Lte] :: GetSetupAttemptsParametersQueryCreated'OneOf1 -> Maybe Int
-- | Create a new GetSetupAttemptsParametersQueryCreated'OneOf1 with
-- all required fields.
mkGetSetupAttemptsParametersQueryCreated'OneOf1 :: GetSetupAttemptsParametersQueryCreated'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/setup_attempts.GET.parameters.properties.queryCreated.anyOf
-- in the specification.
--
-- Represents the parameter named 'created'
--
-- A filter on the list, based on the object `created` field. The value
-- can be a string with an integer Unix timestamp, or it can be a
-- dictionary with a number of different query options.
data GetSetupAttemptsParametersQueryCreated'Variants
GetSetupAttemptsParametersQueryCreated'GetSetupAttemptsParametersQueryCreated'OneOf1 :: GetSetupAttemptsParametersQueryCreated'OneOf1 -> GetSetupAttemptsParametersQueryCreated'Variants
GetSetupAttemptsParametersQueryCreated'Int :: Int -> GetSetupAttemptsParametersQueryCreated'Variants
-- | Represents a response of the operation getSetupAttempts.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetSetupAttemptsResponseError is used.
data GetSetupAttemptsResponse
-- | Means either no matching case available or a parse error
GetSetupAttemptsResponseError :: String -> GetSetupAttemptsResponse
-- | Successful response.
GetSetupAttemptsResponse200 :: GetSetupAttemptsResponseBody200 -> GetSetupAttemptsResponse
-- | Error response.
GetSetupAttemptsResponseDefault :: Error -> GetSetupAttemptsResponse
-- | Defines the object schema located at
-- paths./v1/setup_attempts.GET.responses.200.content.application/json.schema
-- in the specification.
data GetSetupAttemptsResponseBody200
GetSetupAttemptsResponseBody200 :: [SetupAttempt] -> Bool -> Text -> GetSetupAttemptsResponseBody200
-- | data
[getSetupAttemptsResponseBody200Data] :: GetSetupAttemptsResponseBody200 -> [SetupAttempt]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[getSetupAttemptsResponseBody200HasMore] :: GetSetupAttemptsResponseBody200 -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
-- - Must match pattern '^/v1/setup_attempts'
--
[getSetupAttemptsResponseBody200Url] :: GetSetupAttemptsResponseBody200 -> Text
-- | Create a new GetSetupAttemptsResponseBody200 with all required
-- fields.
mkGetSetupAttemptsResponseBody200 :: [SetupAttempt] -> Bool -> Text -> GetSetupAttemptsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetSetupAttempts.GetSetupAttemptsParametersQueryCreated'OneOf1
instance GHC.Show.Show StripeAPI.Operations.GetSetupAttempts.GetSetupAttemptsParametersQueryCreated'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.GetSetupAttempts.GetSetupAttemptsParametersQueryCreated'Variants
instance GHC.Show.Show StripeAPI.Operations.GetSetupAttempts.GetSetupAttemptsParametersQueryCreated'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetSetupAttempts.GetSetupAttemptsParameters
instance GHC.Show.Show StripeAPI.Operations.GetSetupAttempts.GetSetupAttemptsParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetSetupAttempts.GetSetupAttemptsResponseBody200
instance GHC.Show.Show StripeAPI.Operations.GetSetupAttempts.GetSetupAttemptsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetSetupAttempts.GetSetupAttemptsResponse
instance GHC.Show.Show StripeAPI.Operations.GetSetupAttempts.GetSetupAttemptsResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetSetupAttempts.GetSetupAttemptsResponseBody200
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetSetupAttempts.GetSetupAttemptsResponseBody200
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetSetupAttempts.GetSetupAttemptsParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetSetupAttempts.GetSetupAttemptsParameters
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetSetupAttempts.GetSetupAttemptsParametersQueryCreated'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetSetupAttempts.GetSetupAttemptsParametersQueryCreated'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetSetupAttempts.GetSetupAttemptsParametersQueryCreated'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetSetupAttempts.GetSetupAttemptsParametersQueryCreated'OneOf1
-- | Contains the different functions to run the operation getReviewsReview
module StripeAPI.Operations.GetReviewsReview
-- |
-- GET /v1/reviews/{review}
--
--
-- <p>Retrieves a <code>Review</code> object.</p>
getReviewsReview :: forall m. MonadHTTP m => GetReviewsReviewParameters -> ClientT m (Response GetReviewsReviewResponse)
-- | Defines the object schema located at
-- paths./v1/reviews/{review}.GET.parameters in the
-- specification.
data GetReviewsReviewParameters
GetReviewsReviewParameters :: Text -> Maybe [Text] -> GetReviewsReviewParameters
-- | pathReview: Represents the parameter named 'review'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getReviewsReviewParametersPathReview] :: GetReviewsReviewParameters -> Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getReviewsReviewParametersQueryExpand] :: GetReviewsReviewParameters -> Maybe [Text]
-- | Create a new GetReviewsReviewParameters with all required
-- fields.
mkGetReviewsReviewParameters :: Text -> GetReviewsReviewParameters
-- | Represents a response of the operation getReviewsReview.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetReviewsReviewResponseError is used.
data GetReviewsReviewResponse
-- | Means either no matching case available or a parse error
GetReviewsReviewResponseError :: String -> GetReviewsReviewResponse
-- | Successful response.
GetReviewsReviewResponse200 :: Review -> GetReviewsReviewResponse
-- | Error response.
GetReviewsReviewResponseDefault :: Error -> GetReviewsReviewResponse
instance GHC.Classes.Eq StripeAPI.Operations.GetReviewsReview.GetReviewsReviewParameters
instance GHC.Show.Show StripeAPI.Operations.GetReviewsReview.GetReviewsReviewParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetReviewsReview.GetReviewsReviewResponse
instance GHC.Show.Show StripeAPI.Operations.GetReviewsReview.GetReviewsReviewResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetReviewsReview.GetReviewsReviewParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetReviewsReview.GetReviewsReviewParameters
-- | Contains the different functions to run the operation getReviews
module StripeAPI.Operations.GetReviews
-- |
-- GET /v1/reviews
--
--
-- <p>Returns a list of <code>Review</code> objects
-- that have <code>open</code> set to
-- <code>true</code>. The objects are sorted in descending
-- order by creation date, with the most recently created object
-- appearing first.</p>
getReviews :: forall m. MonadHTTP m => GetReviewsParameters -> ClientT m (Response GetReviewsResponse)
-- | Defines the object schema located at
-- paths./v1/reviews.GET.parameters in the specification.
data GetReviewsParameters
GetReviewsParameters :: Maybe GetReviewsParametersQueryCreated'Variants -> Maybe Text -> Maybe [Text] -> Maybe Int -> Maybe Text -> GetReviewsParameters
-- | queryCreated: Represents the parameter named 'created'
[getReviewsParametersQueryCreated] :: GetReviewsParameters -> Maybe GetReviewsParametersQueryCreated'Variants
-- | queryEnding_before: Represents the parameter named 'ending_before'
--
-- A cursor for use in pagination. `ending_before` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, starting with `obj_bar`, your
-- subsequent call can include `ending_before=obj_bar` in order to fetch
-- the previous page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getReviewsParametersQueryEndingBefore] :: GetReviewsParameters -> Maybe Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getReviewsParametersQueryExpand] :: GetReviewsParameters -> Maybe [Text]
-- | queryLimit: Represents the parameter named 'limit'
--
-- A limit on the number of objects to be returned. Limit can range
-- between 1 and 100, and the default is 10.
[getReviewsParametersQueryLimit] :: GetReviewsParameters -> Maybe Int
-- | queryStarting_after: Represents the parameter named 'starting_after'
--
-- A cursor for use in pagination. `starting_after` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, ending with `obj_foo`, your
-- subsequent call can include `starting_after=obj_foo` in order to fetch
-- the next page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getReviewsParametersQueryStartingAfter] :: GetReviewsParameters -> Maybe Text
-- | Create a new GetReviewsParameters with all required fields.
mkGetReviewsParameters :: GetReviewsParameters
-- | Defines the object schema located at
-- paths./v1/reviews.GET.parameters.properties.queryCreated.anyOf
-- in the specification.
data GetReviewsParametersQueryCreated'OneOf1
GetReviewsParametersQueryCreated'OneOf1 :: Maybe Int -> Maybe Int -> Maybe Int -> Maybe Int -> GetReviewsParametersQueryCreated'OneOf1
-- | gt
[getReviewsParametersQueryCreated'OneOf1Gt] :: GetReviewsParametersQueryCreated'OneOf1 -> Maybe Int
-- | gte
[getReviewsParametersQueryCreated'OneOf1Gte] :: GetReviewsParametersQueryCreated'OneOf1 -> Maybe Int
-- | lt
[getReviewsParametersQueryCreated'OneOf1Lt] :: GetReviewsParametersQueryCreated'OneOf1 -> Maybe Int
-- | lte
[getReviewsParametersQueryCreated'OneOf1Lte] :: GetReviewsParametersQueryCreated'OneOf1 -> Maybe Int
-- | Create a new GetReviewsParametersQueryCreated'OneOf1 with all
-- required fields.
mkGetReviewsParametersQueryCreated'OneOf1 :: GetReviewsParametersQueryCreated'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/reviews.GET.parameters.properties.queryCreated.anyOf
-- in the specification.
--
-- Represents the parameter named 'created'
data GetReviewsParametersQueryCreated'Variants
GetReviewsParametersQueryCreated'GetReviewsParametersQueryCreated'OneOf1 :: GetReviewsParametersQueryCreated'OneOf1 -> GetReviewsParametersQueryCreated'Variants
GetReviewsParametersQueryCreated'Int :: Int -> GetReviewsParametersQueryCreated'Variants
-- | Represents a response of the operation getReviews.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetReviewsResponseError is used.
data GetReviewsResponse
-- | Means either no matching case available or a parse error
GetReviewsResponseError :: String -> GetReviewsResponse
-- | Successful response.
GetReviewsResponse200 :: GetReviewsResponseBody200 -> GetReviewsResponse
-- | Error response.
GetReviewsResponseDefault :: Error -> GetReviewsResponse
-- | Defines the object schema located at
-- paths./v1/reviews.GET.responses.200.content.application/json.schema
-- in the specification.
data GetReviewsResponseBody200
GetReviewsResponseBody200 :: [Review] -> Bool -> Text -> GetReviewsResponseBody200
-- | data
[getReviewsResponseBody200Data] :: GetReviewsResponseBody200 -> [Review]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[getReviewsResponseBody200HasMore] :: GetReviewsResponseBody200 -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
-- - Must match pattern '^/v1/reviews'
--
[getReviewsResponseBody200Url] :: GetReviewsResponseBody200 -> Text
-- | Create a new GetReviewsResponseBody200 with all required
-- fields.
mkGetReviewsResponseBody200 :: [Review] -> Bool -> Text -> GetReviewsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetReviews.GetReviewsParametersQueryCreated'OneOf1
instance GHC.Show.Show StripeAPI.Operations.GetReviews.GetReviewsParametersQueryCreated'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.GetReviews.GetReviewsParametersQueryCreated'Variants
instance GHC.Show.Show StripeAPI.Operations.GetReviews.GetReviewsParametersQueryCreated'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetReviews.GetReviewsParameters
instance GHC.Show.Show StripeAPI.Operations.GetReviews.GetReviewsParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetReviews.GetReviewsResponseBody200
instance GHC.Show.Show StripeAPI.Operations.GetReviews.GetReviewsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetReviews.GetReviewsResponse
instance GHC.Show.Show StripeAPI.Operations.GetReviews.GetReviewsResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetReviews.GetReviewsResponseBody200
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetReviews.GetReviewsResponseBody200
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetReviews.GetReviewsParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetReviews.GetReviewsParameters
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetReviews.GetReviewsParametersQueryCreated'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetReviews.GetReviewsParametersQueryCreated'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetReviews.GetReviewsParametersQueryCreated'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetReviews.GetReviewsParametersQueryCreated'OneOf1
-- | Contains the different functions to run the operation
-- getReportingReportTypesReportType
module StripeAPI.Operations.GetReportingReportTypesReportType
-- |
-- GET /v1/reporting/report_types/{report_type}
--
--
-- <p>Retrieves the details of a Report Type. (Certain report types
-- require a <a
-- href="https://stripe.com/docs/keys#test-live-modes">live-mode API
-- key</a>.)</p>
getReportingReportTypesReportType :: forall m. MonadHTTP m => GetReportingReportTypesReportTypeParameters -> ClientT m (Response GetReportingReportTypesReportTypeResponse)
-- | Defines the object schema located at
-- paths./v1/reporting/report_types/{report_type}.GET.parameters
-- in the specification.
data GetReportingReportTypesReportTypeParameters
GetReportingReportTypesReportTypeParameters :: Text -> Maybe [Text] -> GetReportingReportTypesReportTypeParameters
-- | pathReport_type: Represents the parameter named 'report_type'
[getReportingReportTypesReportTypeParametersPathReportType] :: GetReportingReportTypesReportTypeParameters -> Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getReportingReportTypesReportTypeParametersQueryExpand] :: GetReportingReportTypesReportTypeParameters -> Maybe [Text]
-- | Create a new GetReportingReportTypesReportTypeParameters with
-- all required fields.
mkGetReportingReportTypesReportTypeParameters :: Text -> GetReportingReportTypesReportTypeParameters
-- | Represents a response of the operation
-- getReportingReportTypesReportType.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- GetReportingReportTypesReportTypeResponseError is used.
data GetReportingReportTypesReportTypeResponse
-- | Means either no matching case available or a parse error
GetReportingReportTypesReportTypeResponseError :: String -> GetReportingReportTypesReportTypeResponse
-- | Successful response.
GetReportingReportTypesReportTypeResponse200 :: Reporting'reportType -> GetReportingReportTypesReportTypeResponse
-- | Error response.
GetReportingReportTypesReportTypeResponseDefault :: Error -> GetReportingReportTypesReportTypeResponse
instance GHC.Classes.Eq StripeAPI.Operations.GetReportingReportTypesReportType.GetReportingReportTypesReportTypeParameters
instance GHC.Show.Show StripeAPI.Operations.GetReportingReportTypesReportType.GetReportingReportTypesReportTypeParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetReportingReportTypesReportType.GetReportingReportTypesReportTypeResponse
instance GHC.Show.Show StripeAPI.Operations.GetReportingReportTypesReportType.GetReportingReportTypesReportTypeResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetReportingReportTypesReportType.GetReportingReportTypesReportTypeParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetReportingReportTypesReportType.GetReportingReportTypesReportTypeParameters
-- | Contains the different functions to run the operation
-- getReportingReportTypes
module StripeAPI.Operations.GetReportingReportTypes
-- |
-- GET /v1/reporting/report_types
--
--
-- <p>Returns a full list of Report Types.</p>
getReportingReportTypes :: forall m. MonadHTTP m => Maybe [Text] -> ClientT m (Response GetReportingReportTypesResponse)
-- | Represents a response of the operation getReportingReportTypes.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetReportingReportTypesResponseError is
-- used.
data GetReportingReportTypesResponse
-- | Means either no matching case available or a parse error
GetReportingReportTypesResponseError :: String -> GetReportingReportTypesResponse
-- | Successful response.
GetReportingReportTypesResponse200 :: GetReportingReportTypesResponseBody200 -> GetReportingReportTypesResponse
-- | Error response.
GetReportingReportTypesResponseDefault :: Error -> GetReportingReportTypesResponse
-- | Defines the object schema located at
-- paths./v1/reporting/report_types.GET.responses.200.content.application/json.schema
-- in the specification.
data GetReportingReportTypesResponseBody200
GetReportingReportTypesResponseBody200 :: [Reporting'reportType] -> Bool -> Text -> GetReportingReportTypesResponseBody200
-- | data
[getReportingReportTypesResponseBody200Data] :: GetReportingReportTypesResponseBody200 -> [Reporting'reportType]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[getReportingReportTypesResponseBody200HasMore] :: GetReportingReportTypesResponseBody200 -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getReportingReportTypesResponseBody200Url] :: GetReportingReportTypesResponseBody200 -> Text
-- | Create a new GetReportingReportTypesResponseBody200 with all
-- required fields.
mkGetReportingReportTypesResponseBody200 :: [Reporting'reportType] -> Bool -> Text -> GetReportingReportTypesResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetReportingReportTypes.GetReportingReportTypesResponseBody200
instance GHC.Show.Show StripeAPI.Operations.GetReportingReportTypes.GetReportingReportTypesResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetReportingReportTypes.GetReportingReportTypesResponse
instance GHC.Show.Show StripeAPI.Operations.GetReportingReportTypes.GetReportingReportTypesResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetReportingReportTypes.GetReportingReportTypesResponseBody200
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetReportingReportTypes.GetReportingReportTypesResponseBody200
-- | Contains the different functions to run the operation
-- getReportingReportRunsReportRun
module StripeAPI.Operations.GetReportingReportRunsReportRun
-- |
-- GET /v1/reporting/report_runs/{report_run}
--
--
-- <p>Retrieves the details of an existing Report Run.</p>
getReportingReportRunsReportRun :: forall m. MonadHTTP m => GetReportingReportRunsReportRunParameters -> ClientT m (Response GetReportingReportRunsReportRunResponse)
-- | Defines the object schema located at
-- paths./v1/reporting/report_runs/{report_run}.GET.parameters
-- in the specification.
data GetReportingReportRunsReportRunParameters
GetReportingReportRunsReportRunParameters :: Text -> Maybe [Text] -> GetReportingReportRunsReportRunParameters
-- | pathReport_run: Represents the parameter named 'report_run'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getReportingReportRunsReportRunParametersPathReportRun] :: GetReportingReportRunsReportRunParameters -> Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getReportingReportRunsReportRunParametersQueryExpand] :: GetReportingReportRunsReportRunParameters -> Maybe [Text]
-- | Create a new GetReportingReportRunsReportRunParameters with all
-- required fields.
mkGetReportingReportRunsReportRunParameters :: Text -> GetReportingReportRunsReportRunParameters
-- | Represents a response of the operation
-- getReportingReportRunsReportRun.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- GetReportingReportRunsReportRunResponseError is used.
data GetReportingReportRunsReportRunResponse
-- | Means either no matching case available or a parse error
GetReportingReportRunsReportRunResponseError :: String -> GetReportingReportRunsReportRunResponse
-- | Successful response.
GetReportingReportRunsReportRunResponse200 :: Reporting'reportRun -> GetReportingReportRunsReportRunResponse
-- | Error response.
GetReportingReportRunsReportRunResponseDefault :: Error -> GetReportingReportRunsReportRunResponse
instance GHC.Classes.Eq StripeAPI.Operations.GetReportingReportRunsReportRun.GetReportingReportRunsReportRunParameters
instance GHC.Show.Show StripeAPI.Operations.GetReportingReportRunsReportRun.GetReportingReportRunsReportRunParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetReportingReportRunsReportRun.GetReportingReportRunsReportRunResponse
instance GHC.Show.Show StripeAPI.Operations.GetReportingReportRunsReportRun.GetReportingReportRunsReportRunResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetReportingReportRunsReportRun.GetReportingReportRunsReportRunParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetReportingReportRunsReportRun.GetReportingReportRunsReportRunParameters
-- | Contains the different functions to run the operation
-- getReportingReportRuns
module StripeAPI.Operations.GetReportingReportRuns
-- |
-- GET /v1/reporting/report_runs
--
--
-- <p>Returns a list of Report Runs, with the most recent appearing
-- first.</p>
getReportingReportRuns :: forall m. MonadHTTP m => GetReportingReportRunsParameters -> ClientT m (Response GetReportingReportRunsResponse)
-- | Defines the object schema located at
-- paths./v1/reporting/report_runs.GET.parameters in the
-- specification.
data GetReportingReportRunsParameters
GetReportingReportRunsParameters :: Maybe GetReportingReportRunsParametersQueryCreated'Variants -> Maybe Text -> Maybe [Text] -> Maybe Int -> Maybe Text -> GetReportingReportRunsParameters
-- | queryCreated: Represents the parameter named 'created'
[getReportingReportRunsParametersQueryCreated] :: GetReportingReportRunsParameters -> Maybe GetReportingReportRunsParametersQueryCreated'Variants
-- | queryEnding_before: Represents the parameter named 'ending_before'
--
-- A cursor for use in pagination. `ending_before` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, starting with `obj_bar`, your
-- subsequent call can include `ending_before=obj_bar` in order to fetch
-- the previous page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getReportingReportRunsParametersQueryEndingBefore] :: GetReportingReportRunsParameters -> Maybe Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getReportingReportRunsParametersQueryExpand] :: GetReportingReportRunsParameters -> Maybe [Text]
-- | queryLimit: Represents the parameter named 'limit'
--
-- A limit on the number of objects to be returned. Limit can range
-- between 1 and 100, and the default is 10.
[getReportingReportRunsParametersQueryLimit] :: GetReportingReportRunsParameters -> Maybe Int
-- | queryStarting_after: Represents the parameter named 'starting_after'
--
-- A cursor for use in pagination. `starting_after` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, ending with `obj_foo`, your
-- subsequent call can include `starting_after=obj_foo` in order to fetch
-- the next page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getReportingReportRunsParametersQueryStartingAfter] :: GetReportingReportRunsParameters -> Maybe Text
-- | Create a new GetReportingReportRunsParameters with all required
-- fields.
mkGetReportingReportRunsParameters :: GetReportingReportRunsParameters
-- | Defines the object schema located at
-- paths./v1/reporting/report_runs.GET.parameters.properties.queryCreated.anyOf
-- in the specification.
data GetReportingReportRunsParametersQueryCreated'OneOf1
GetReportingReportRunsParametersQueryCreated'OneOf1 :: Maybe Int -> Maybe Int -> Maybe Int -> Maybe Int -> GetReportingReportRunsParametersQueryCreated'OneOf1
-- | gt
[getReportingReportRunsParametersQueryCreated'OneOf1Gt] :: GetReportingReportRunsParametersQueryCreated'OneOf1 -> Maybe Int
-- | gte
[getReportingReportRunsParametersQueryCreated'OneOf1Gte] :: GetReportingReportRunsParametersQueryCreated'OneOf1 -> Maybe Int
-- | lt
[getReportingReportRunsParametersQueryCreated'OneOf1Lt] :: GetReportingReportRunsParametersQueryCreated'OneOf1 -> Maybe Int
-- | lte
[getReportingReportRunsParametersQueryCreated'OneOf1Lte] :: GetReportingReportRunsParametersQueryCreated'OneOf1 -> Maybe Int
-- | Create a new
-- GetReportingReportRunsParametersQueryCreated'OneOf1 with all
-- required fields.
mkGetReportingReportRunsParametersQueryCreated'OneOf1 :: GetReportingReportRunsParametersQueryCreated'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/reporting/report_runs.GET.parameters.properties.queryCreated.anyOf
-- in the specification.
--
-- Represents the parameter named 'created'
data GetReportingReportRunsParametersQueryCreated'Variants
GetReportingReportRunsParametersQueryCreated'GetReportingReportRunsParametersQueryCreated'OneOf1 :: GetReportingReportRunsParametersQueryCreated'OneOf1 -> GetReportingReportRunsParametersQueryCreated'Variants
GetReportingReportRunsParametersQueryCreated'Int :: Int -> GetReportingReportRunsParametersQueryCreated'Variants
-- | Represents a response of the operation getReportingReportRuns.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetReportingReportRunsResponseError is
-- used.
data GetReportingReportRunsResponse
-- | Means either no matching case available or a parse error
GetReportingReportRunsResponseError :: String -> GetReportingReportRunsResponse
-- | Successful response.
GetReportingReportRunsResponse200 :: GetReportingReportRunsResponseBody200 -> GetReportingReportRunsResponse
-- | Error response.
GetReportingReportRunsResponseDefault :: Error -> GetReportingReportRunsResponse
-- | Defines the object schema located at
-- paths./v1/reporting/report_runs.GET.responses.200.content.application/json.schema
-- in the specification.
data GetReportingReportRunsResponseBody200
GetReportingReportRunsResponseBody200 :: [Reporting'reportRun] -> Bool -> Text -> GetReportingReportRunsResponseBody200
-- | data
[getReportingReportRunsResponseBody200Data] :: GetReportingReportRunsResponseBody200 -> [Reporting'reportRun]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[getReportingReportRunsResponseBody200HasMore] :: GetReportingReportRunsResponseBody200 -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
-- - Must match pattern '^/v1/reporting/report_runs'
--
[getReportingReportRunsResponseBody200Url] :: GetReportingReportRunsResponseBody200 -> Text
-- | Create a new GetReportingReportRunsResponseBody200 with all
-- required fields.
mkGetReportingReportRunsResponseBody200 :: [Reporting'reportRun] -> Bool -> Text -> GetReportingReportRunsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetReportingReportRuns.GetReportingReportRunsParametersQueryCreated'OneOf1
instance GHC.Show.Show StripeAPI.Operations.GetReportingReportRuns.GetReportingReportRunsParametersQueryCreated'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.GetReportingReportRuns.GetReportingReportRunsParametersQueryCreated'Variants
instance GHC.Show.Show StripeAPI.Operations.GetReportingReportRuns.GetReportingReportRunsParametersQueryCreated'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetReportingReportRuns.GetReportingReportRunsParameters
instance GHC.Show.Show StripeAPI.Operations.GetReportingReportRuns.GetReportingReportRunsParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetReportingReportRuns.GetReportingReportRunsResponseBody200
instance GHC.Show.Show StripeAPI.Operations.GetReportingReportRuns.GetReportingReportRunsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetReportingReportRuns.GetReportingReportRunsResponse
instance GHC.Show.Show StripeAPI.Operations.GetReportingReportRuns.GetReportingReportRunsResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetReportingReportRuns.GetReportingReportRunsResponseBody200
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetReportingReportRuns.GetReportingReportRunsResponseBody200
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetReportingReportRuns.GetReportingReportRunsParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetReportingReportRuns.GetReportingReportRunsParameters
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetReportingReportRuns.GetReportingReportRunsParametersQueryCreated'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetReportingReportRuns.GetReportingReportRunsParametersQueryCreated'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetReportingReportRuns.GetReportingReportRunsParametersQueryCreated'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetReportingReportRuns.GetReportingReportRunsParametersQueryCreated'OneOf1
-- | Contains the different functions to run the operation getRefundsRefund
module StripeAPI.Operations.GetRefundsRefund
-- |
-- GET /v1/refunds/{refund}
--
--
-- <p>Retrieves the details of an existing refund.</p>
getRefundsRefund :: forall m. MonadHTTP m => GetRefundsRefundParameters -> ClientT m (Response GetRefundsRefundResponse)
-- | Defines the object schema located at
-- paths./v1/refunds/{refund}.GET.parameters in the
-- specification.
data GetRefundsRefundParameters
GetRefundsRefundParameters :: Text -> Maybe [Text] -> GetRefundsRefundParameters
-- | pathRefund: Represents the parameter named 'refund'
[getRefundsRefundParametersPathRefund] :: GetRefundsRefundParameters -> Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getRefundsRefundParametersQueryExpand] :: GetRefundsRefundParameters -> Maybe [Text]
-- | Create a new GetRefundsRefundParameters with all required
-- fields.
mkGetRefundsRefundParameters :: Text -> GetRefundsRefundParameters
-- | Represents a response of the operation getRefundsRefund.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetRefundsRefundResponseError is used.
data GetRefundsRefundResponse
-- | Means either no matching case available or a parse error
GetRefundsRefundResponseError :: String -> GetRefundsRefundResponse
-- | Successful response.
GetRefundsRefundResponse200 :: Refund -> GetRefundsRefundResponse
-- | Error response.
GetRefundsRefundResponseDefault :: Error -> GetRefundsRefundResponse
instance GHC.Classes.Eq StripeAPI.Operations.GetRefundsRefund.GetRefundsRefundParameters
instance GHC.Show.Show StripeAPI.Operations.GetRefundsRefund.GetRefundsRefundParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetRefundsRefund.GetRefundsRefundResponse
instance GHC.Show.Show StripeAPI.Operations.GetRefundsRefund.GetRefundsRefundResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetRefundsRefund.GetRefundsRefundParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetRefundsRefund.GetRefundsRefundParameters
-- | Contains the different functions to run the operation getRefunds
module StripeAPI.Operations.GetRefunds
-- |
-- GET /v1/refunds
--
--
-- <p>Returns a list of all refunds you’ve previously created. The
-- refunds are returned in sorted order, with the most recent refunds
-- appearing first. For convenience, the 10 most recent refunds are
-- always available by default on the charge object.</p>
getRefunds :: forall m. MonadHTTP m => GetRefundsParameters -> ClientT m (Response GetRefundsResponse)
-- | Defines the object schema located at
-- paths./v1/refunds.GET.parameters in the specification.
data GetRefundsParameters
GetRefundsParameters :: Maybe Text -> Maybe GetRefundsParametersQueryCreated'Variants -> Maybe Text -> Maybe [Text] -> Maybe Int -> Maybe Text -> Maybe Text -> GetRefundsParameters
-- | queryCharge: Represents the parameter named 'charge'
--
-- Only return refunds for the charge specified by this charge ID.
[getRefundsParametersQueryCharge] :: GetRefundsParameters -> Maybe Text
-- | queryCreated: Represents the parameter named 'created'
[getRefundsParametersQueryCreated] :: GetRefundsParameters -> Maybe GetRefundsParametersQueryCreated'Variants
-- | queryEnding_before: Represents the parameter named 'ending_before'
--
-- A cursor for use in pagination. `ending_before` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, starting with `obj_bar`, your
-- subsequent call can include `ending_before=obj_bar` in order to fetch
-- the previous page of the list.
[getRefundsParametersQueryEndingBefore] :: GetRefundsParameters -> Maybe Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getRefundsParametersQueryExpand] :: GetRefundsParameters -> Maybe [Text]
-- | queryLimit: Represents the parameter named 'limit'
--
-- A limit on the number of objects to be returned. Limit can range
-- between 1 and 100, and the default is 10.
[getRefundsParametersQueryLimit] :: GetRefundsParameters -> Maybe Int
-- | queryPayment_intent: Represents the parameter named 'payment_intent'
--
-- Only return refunds for the PaymentIntent specified by this ID.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getRefundsParametersQueryPaymentIntent] :: GetRefundsParameters -> Maybe Text
-- | queryStarting_after: Represents the parameter named 'starting_after'
--
-- A cursor for use in pagination. `starting_after` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, ending with `obj_foo`, your
-- subsequent call can include `starting_after=obj_foo` in order to fetch
-- the next page of the list.
[getRefundsParametersQueryStartingAfter] :: GetRefundsParameters -> Maybe Text
-- | Create a new GetRefundsParameters with all required fields.
mkGetRefundsParameters :: GetRefundsParameters
-- | Defines the object schema located at
-- paths./v1/refunds.GET.parameters.properties.queryCreated.anyOf
-- in the specification.
data GetRefundsParametersQueryCreated'OneOf1
GetRefundsParametersQueryCreated'OneOf1 :: Maybe Int -> Maybe Int -> Maybe Int -> Maybe Int -> GetRefundsParametersQueryCreated'OneOf1
-- | gt
[getRefundsParametersQueryCreated'OneOf1Gt] :: GetRefundsParametersQueryCreated'OneOf1 -> Maybe Int
-- | gte
[getRefundsParametersQueryCreated'OneOf1Gte] :: GetRefundsParametersQueryCreated'OneOf1 -> Maybe Int
-- | lt
[getRefundsParametersQueryCreated'OneOf1Lt] :: GetRefundsParametersQueryCreated'OneOf1 -> Maybe Int
-- | lte
[getRefundsParametersQueryCreated'OneOf1Lte] :: GetRefundsParametersQueryCreated'OneOf1 -> Maybe Int
-- | Create a new GetRefundsParametersQueryCreated'OneOf1 with all
-- required fields.
mkGetRefundsParametersQueryCreated'OneOf1 :: GetRefundsParametersQueryCreated'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/refunds.GET.parameters.properties.queryCreated.anyOf
-- in the specification.
--
-- Represents the parameter named 'created'
data GetRefundsParametersQueryCreated'Variants
GetRefundsParametersQueryCreated'GetRefundsParametersQueryCreated'OneOf1 :: GetRefundsParametersQueryCreated'OneOf1 -> GetRefundsParametersQueryCreated'Variants
GetRefundsParametersQueryCreated'Int :: Int -> GetRefundsParametersQueryCreated'Variants
-- | Represents a response of the operation getRefunds.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetRefundsResponseError is used.
data GetRefundsResponse
-- | Means either no matching case available or a parse error
GetRefundsResponseError :: String -> GetRefundsResponse
-- | Successful response.
GetRefundsResponse200 :: GetRefundsResponseBody200 -> GetRefundsResponse
-- | Error response.
GetRefundsResponseDefault :: Error -> GetRefundsResponse
-- | Defines the object schema located at
-- paths./v1/refunds.GET.responses.200.content.application/json.schema
-- in the specification.
data GetRefundsResponseBody200
GetRefundsResponseBody200 :: [Refund] -> Bool -> Text -> GetRefundsResponseBody200
-- | data
[getRefundsResponseBody200Data] :: GetRefundsResponseBody200 -> [Refund]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[getRefundsResponseBody200HasMore] :: GetRefundsResponseBody200 -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
-- - Must match pattern '^/v1/refunds'
--
[getRefundsResponseBody200Url] :: GetRefundsResponseBody200 -> Text
-- | Create a new GetRefundsResponseBody200 with all required
-- fields.
mkGetRefundsResponseBody200 :: [Refund] -> Bool -> Text -> GetRefundsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetRefunds.GetRefundsParametersQueryCreated'OneOf1
instance GHC.Show.Show StripeAPI.Operations.GetRefunds.GetRefundsParametersQueryCreated'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.GetRefunds.GetRefundsParametersQueryCreated'Variants
instance GHC.Show.Show StripeAPI.Operations.GetRefunds.GetRefundsParametersQueryCreated'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetRefunds.GetRefundsParameters
instance GHC.Show.Show StripeAPI.Operations.GetRefunds.GetRefundsParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetRefunds.GetRefundsResponseBody200
instance GHC.Show.Show StripeAPI.Operations.GetRefunds.GetRefundsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetRefunds.GetRefundsResponse
instance GHC.Show.Show StripeAPI.Operations.GetRefunds.GetRefundsResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetRefunds.GetRefundsResponseBody200
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetRefunds.GetRefundsResponseBody200
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetRefunds.GetRefundsParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetRefunds.GetRefundsParameters
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetRefunds.GetRefundsParametersQueryCreated'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetRefunds.GetRefundsParametersQueryCreated'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetRefunds.GetRefundsParametersQueryCreated'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetRefunds.GetRefundsParametersQueryCreated'OneOf1
-- | Contains the different functions to run the operation getRecipientsId
module StripeAPI.Operations.GetRecipientsId
-- |
-- GET /v1/recipients/{id}
--
--
-- <p>Retrieves the details of an existing recipient. You need only
-- supply the unique recipient identifier that was returned upon
-- recipient creation.</p>
getRecipientsId :: forall m. MonadHTTP m => GetRecipientsIdParameters -> ClientT m (Response GetRecipientsIdResponse)
-- | Defines the object schema located at
-- paths./v1/recipients/{id}.GET.parameters in the
-- specification.
data GetRecipientsIdParameters
GetRecipientsIdParameters :: Text -> Maybe [Text] -> GetRecipientsIdParameters
-- | pathId: Represents the parameter named 'id'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getRecipientsIdParametersPathId] :: GetRecipientsIdParameters -> Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getRecipientsIdParametersQueryExpand] :: GetRecipientsIdParameters -> Maybe [Text]
-- | Create a new GetRecipientsIdParameters with all required
-- fields.
mkGetRecipientsIdParameters :: Text -> GetRecipientsIdParameters
-- | Represents a response of the operation getRecipientsId.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetRecipientsIdResponseError is used.
data GetRecipientsIdResponse
-- | Means either no matching case available or a parse error
GetRecipientsIdResponseError :: String -> GetRecipientsIdResponse
-- | Successful response.
GetRecipientsIdResponse200 :: GetRecipientsIdResponseBody200 -> GetRecipientsIdResponse
-- | Error response.
GetRecipientsIdResponseDefault :: Error -> GetRecipientsIdResponse
-- | Defines the object schema located at
-- paths./v1/recipients/{id}.GET.responses.200.content.application/json.schema.anyOf
-- in the specification.
data GetRecipientsIdResponseBody200
GetRecipientsIdResponseBody200 :: Maybe GetRecipientsIdResponseBody200ActiveAccount' -> Maybe GetRecipientsIdResponseBody200Cards' -> Maybe Int -> Maybe GetRecipientsIdResponseBody200DefaultCard'Variants -> Maybe GetRecipientsIdResponseBody200Deleted' -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Bool -> Maybe Object -> Maybe GetRecipientsIdResponseBody200MigratedTo'Variants -> Maybe Text -> Maybe GetRecipientsIdResponseBody200Object' -> Maybe GetRecipientsIdResponseBody200RolledBackFrom'Variants -> Maybe Text -> GetRecipientsIdResponseBody200
-- | active_account: Hash describing the current account on the recipient,
-- if there is one.
[getRecipientsIdResponseBody200ActiveAccount] :: GetRecipientsIdResponseBody200 -> Maybe GetRecipientsIdResponseBody200ActiveAccount'
-- | cards:
[getRecipientsIdResponseBody200Cards] :: GetRecipientsIdResponseBody200 -> Maybe GetRecipientsIdResponseBody200Cards'
-- | created: Time at which the object was created. Measured in seconds
-- since the Unix epoch.
[getRecipientsIdResponseBody200Created] :: GetRecipientsIdResponseBody200 -> Maybe Int
-- | default_card: The default card to use for creating transfers to this
-- recipient.
[getRecipientsIdResponseBody200DefaultCard] :: GetRecipientsIdResponseBody200 -> Maybe GetRecipientsIdResponseBody200DefaultCard'Variants
-- | deleted: Always true for a deleted object
[getRecipientsIdResponseBody200Deleted] :: GetRecipientsIdResponseBody200 -> Maybe GetRecipientsIdResponseBody200Deleted'
-- | description: An arbitrary string attached to the object. Often useful
-- for displaying to users.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getRecipientsIdResponseBody200Description] :: GetRecipientsIdResponseBody200 -> Maybe Text
-- | email
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getRecipientsIdResponseBody200Email] :: GetRecipientsIdResponseBody200 -> Maybe Text
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getRecipientsIdResponseBody200Id] :: GetRecipientsIdResponseBody200 -> Maybe Text
-- | livemode: Has the value `true` if the object exists in live mode or
-- the value `false` if the object exists in test mode.
[getRecipientsIdResponseBody200Livemode] :: GetRecipientsIdResponseBody200 -> Maybe Bool
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format.
[getRecipientsIdResponseBody200Metadata] :: GetRecipientsIdResponseBody200 -> Maybe Object
-- | migrated_to: The ID of the Custom account this recipient was
-- migrated to. If set, the recipient can no longer be updated, nor can
-- transfers be made to it: use the Custom account instead.
[getRecipientsIdResponseBody200MigratedTo] :: GetRecipientsIdResponseBody200 -> Maybe GetRecipientsIdResponseBody200MigratedTo'Variants
-- | name: Full, legal name of the recipient.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getRecipientsIdResponseBody200Name] :: GetRecipientsIdResponseBody200 -> Maybe Text
-- | object: String representing the object's type. Objects of the same
-- type share the same value.
[getRecipientsIdResponseBody200Object] :: GetRecipientsIdResponseBody200 -> Maybe GetRecipientsIdResponseBody200Object'
-- | rolled_back_from
[getRecipientsIdResponseBody200RolledBackFrom] :: GetRecipientsIdResponseBody200 -> Maybe GetRecipientsIdResponseBody200RolledBackFrom'Variants
-- | type: Type of the recipient, one of `individual` or `corporation`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getRecipientsIdResponseBody200Type] :: GetRecipientsIdResponseBody200 -> Maybe Text
-- | Create a new GetRecipientsIdResponseBody200 with all required
-- fields.
mkGetRecipientsIdResponseBody200 :: GetRecipientsIdResponseBody200
-- | Defines the object schema located at
-- paths./v1/recipients/{id}.GET.responses.200.content.application/json.schema.anyOf.properties.active_account.anyOf
-- in the specification.
--
-- Hash describing the current account on the recipient, if there is one.
data GetRecipientsIdResponseBody200ActiveAccount'
GetRecipientsIdResponseBody200ActiveAccount' :: Maybe GetRecipientsIdResponseBody200ActiveAccount'Account'Variants -> Maybe Text -> Maybe Text -> Maybe [GetRecipientsIdResponseBody200ActiveAccount'AvailablePayoutMethods'] -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe GetRecipientsIdResponseBody200ActiveAccount'Customer'Variants -> Maybe Bool -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Object -> Maybe GetRecipientsIdResponseBody200ActiveAccount'Object' -> Maybe Text -> Maybe Text -> GetRecipientsIdResponseBody200ActiveAccount'
-- | account: The ID of the account that the bank account is associated
-- with.
[getRecipientsIdResponseBody200ActiveAccount'Account] :: GetRecipientsIdResponseBody200ActiveAccount' -> Maybe GetRecipientsIdResponseBody200ActiveAccount'Account'Variants
-- | account_holder_name: The name of the person or business that owns the
-- bank account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getRecipientsIdResponseBody200ActiveAccount'AccountHolderName] :: GetRecipientsIdResponseBody200ActiveAccount' -> Maybe Text
-- | account_holder_type: The type of entity that holds the account. This
-- can be either `individual` or `company`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getRecipientsIdResponseBody200ActiveAccount'AccountHolderType] :: GetRecipientsIdResponseBody200ActiveAccount' -> Maybe Text
-- | available_payout_methods: A set of available payout methods for this
-- bank account. Only values from this set should be passed as the
-- `method` when creating a payout.
[getRecipientsIdResponseBody200ActiveAccount'AvailablePayoutMethods] :: GetRecipientsIdResponseBody200ActiveAccount' -> Maybe [GetRecipientsIdResponseBody200ActiveAccount'AvailablePayoutMethods']
-- | bank_name: Name of the bank associated with the routing number (e.g.,
-- `WELLS FARGO`).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getRecipientsIdResponseBody200ActiveAccount'BankName] :: GetRecipientsIdResponseBody200ActiveAccount' -> Maybe Text
-- | country: Two-letter ISO code representing the country the bank account
-- is located in.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getRecipientsIdResponseBody200ActiveAccount'Country] :: GetRecipientsIdResponseBody200ActiveAccount' -> Maybe Text
-- | currency: Three-letter ISO code for the currency paid out to
-- the bank account.
[getRecipientsIdResponseBody200ActiveAccount'Currency] :: GetRecipientsIdResponseBody200ActiveAccount' -> Maybe Text
-- | customer: The ID of the customer that the bank account is associated
-- with.
[getRecipientsIdResponseBody200ActiveAccount'Customer] :: GetRecipientsIdResponseBody200ActiveAccount' -> Maybe GetRecipientsIdResponseBody200ActiveAccount'Customer'Variants
-- | default_for_currency: Whether this bank account is the default
-- external account for its currency.
[getRecipientsIdResponseBody200ActiveAccount'DefaultForCurrency] :: GetRecipientsIdResponseBody200ActiveAccount' -> Maybe Bool
-- | fingerprint: Uniquely identifies this particular bank account. You can
-- use this attribute to check whether two bank accounts are the same.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getRecipientsIdResponseBody200ActiveAccount'Fingerprint] :: GetRecipientsIdResponseBody200ActiveAccount' -> Maybe Text
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getRecipientsIdResponseBody200ActiveAccount'Id] :: GetRecipientsIdResponseBody200ActiveAccount' -> Maybe Text
-- | last4: The last four digits of the bank account number.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getRecipientsIdResponseBody200ActiveAccount'Last4] :: GetRecipientsIdResponseBody200ActiveAccount' -> Maybe Text
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format.
[getRecipientsIdResponseBody200ActiveAccount'Metadata] :: GetRecipientsIdResponseBody200ActiveAccount' -> Maybe Object
-- | object: String representing the object's type. Objects of the same
-- type share the same value.
[getRecipientsIdResponseBody200ActiveAccount'Object] :: GetRecipientsIdResponseBody200ActiveAccount' -> Maybe GetRecipientsIdResponseBody200ActiveAccount'Object'
-- | routing_number: The routing transit number for the bank account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getRecipientsIdResponseBody200ActiveAccount'RoutingNumber] :: GetRecipientsIdResponseBody200ActiveAccount' -> Maybe Text
-- | status: For bank accounts, possible values are `new`, `validated`,
-- `verified`, `verification_failed`, or `errored`. A bank account that
-- hasn't had any activity or validation performed is `new`. If Stripe
-- can determine that the bank account exists, its status will be
-- `validated`. Note that there often isn’t enough information to know
-- (e.g., for smaller credit unions), and the validation is not always
-- run. If customer bank account verification has succeeded, the bank
-- account status will be `verified`. If the verification failed for any
-- reason, such as microdeposit failure, the status will be
-- `verification_failed`. If a transfer sent to this bank account fails,
-- we'll set the status to `errored` and will not continue to send
-- transfers until the bank details are updated.
--
-- For external accounts, possible values are `new` and `errored`.
-- Validations aren't run against external accounts because they're only
-- used for payouts. This means the other statuses don't apply. If a
-- transfer fails, the status is set to `errored` and transfers are
-- stopped until account details are updated.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getRecipientsIdResponseBody200ActiveAccount'Status] :: GetRecipientsIdResponseBody200ActiveAccount' -> Maybe Text
-- | Create a new GetRecipientsIdResponseBody200ActiveAccount' with
-- all required fields.
mkGetRecipientsIdResponseBody200ActiveAccount' :: GetRecipientsIdResponseBody200ActiveAccount'
-- | Defines the oneOf schema located at
-- paths./v1/recipients/{id}.GET.responses.200.content.application/json.schema.anyOf.properties.active_account.anyOf.properties.account.anyOf
-- in the specification.
--
-- The ID of the account that the bank account is associated with.
data GetRecipientsIdResponseBody200ActiveAccount'Account'Variants
GetRecipientsIdResponseBody200ActiveAccount'Account'Text :: Text -> GetRecipientsIdResponseBody200ActiveAccount'Account'Variants
GetRecipientsIdResponseBody200ActiveAccount'Account'Account :: Account -> GetRecipientsIdResponseBody200ActiveAccount'Account'Variants
-- | Defines the enum schema located at
-- paths./v1/recipients/{id}.GET.responses.200.content.application/json.schema.anyOf.properties.active_account.anyOf.properties.available_payout_methods.items
-- in the specification.
data GetRecipientsIdResponseBody200ActiveAccount'AvailablePayoutMethods'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
GetRecipientsIdResponseBody200ActiveAccount'AvailablePayoutMethods'Other :: Value -> GetRecipientsIdResponseBody200ActiveAccount'AvailablePayoutMethods'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
GetRecipientsIdResponseBody200ActiveAccount'AvailablePayoutMethods'Typed :: Text -> GetRecipientsIdResponseBody200ActiveAccount'AvailablePayoutMethods'
-- | Represents the JSON value "instant"
GetRecipientsIdResponseBody200ActiveAccount'AvailablePayoutMethods'EnumInstant :: GetRecipientsIdResponseBody200ActiveAccount'AvailablePayoutMethods'
-- | Represents the JSON value "standard"
GetRecipientsIdResponseBody200ActiveAccount'AvailablePayoutMethods'EnumStandard :: GetRecipientsIdResponseBody200ActiveAccount'AvailablePayoutMethods'
-- | Defines the oneOf schema located at
-- paths./v1/recipients/{id}.GET.responses.200.content.application/json.schema.anyOf.properties.active_account.anyOf.properties.customer.anyOf
-- in the specification.
--
-- The ID of the customer that the bank account is associated with.
data GetRecipientsIdResponseBody200ActiveAccount'Customer'Variants
GetRecipientsIdResponseBody200ActiveAccount'Customer'Text :: Text -> GetRecipientsIdResponseBody200ActiveAccount'Customer'Variants
GetRecipientsIdResponseBody200ActiveAccount'Customer'Customer :: Customer -> GetRecipientsIdResponseBody200ActiveAccount'Customer'Variants
GetRecipientsIdResponseBody200ActiveAccount'Customer'DeletedCustomer :: DeletedCustomer -> GetRecipientsIdResponseBody200ActiveAccount'Customer'Variants
-- | Defines the enum schema located at
-- paths./v1/recipients/{id}.GET.responses.200.content.application/json.schema.anyOf.properties.active_account.anyOf.properties.object
-- in the specification.
--
-- String representing the object's type. Objects of the same type share
-- the same value.
data GetRecipientsIdResponseBody200ActiveAccount'Object'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
GetRecipientsIdResponseBody200ActiveAccount'Object'Other :: Value -> GetRecipientsIdResponseBody200ActiveAccount'Object'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
GetRecipientsIdResponseBody200ActiveAccount'Object'Typed :: Text -> GetRecipientsIdResponseBody200ActiveAccount'Object'
-- | Represents the JSON value "bank_account"
GetRecipientsIdResponseBody200ActiveAccount'Object'EnumBankAccount :: GetRecipientsIdResponseBody200ActiveAccount'Object'
-- | Defines the object schema located at
-- paths./v1/recipients/{id}.GET.responses.200.content.application/json.schema.anyOf.properties.cards
-- in the specification.
data GetRecipientsIdResponseBody200Cards'
GetRecipientsIdResponseBody200Cards' :: [Card] -> Bool -> Text -> GetRecipientsIdResponseBody200Cards'
-- | data
[getRecipientsIdResponseBody200Cards'Data] :: GetRecipientsIdResponseBody200Cards' -> [Card]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[getRecipientsIdResponseBody200Cards'HasMore] :: GetRecipientsIdResponseBody200Cards' -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getRecipientsIdResponseBody200Cards'Url] :: GetRecipientsIdResponseBody200Cards' -> Text
-- | Create a new GetRecipientsIdResponseBody200Cards' with all
-- required fields.
mkGetRecipientsIdResponseBody200Cards' :: [Card] -> Bool -> Text -> GetRecipientsIdResponseBody200Cards'
-- | Defines the oneOf schema located at
-- paths./v1/recipients/{id}.GET.responses.200.content.application/json.schema.anyOf.properties.default_card.anyOf
-- in the specification.
--
-- The default card to use for creating transfers to this recipient.
data GetRecipientsIdResponseBody200DefaultCard'Variants
GetRecipientsIdResponseBody200DefaultCard'Text :: Text -> GetRecipientsIdResponseBody200DefaultCard'Variants
GetRecipientsIdResponseBody200DefaultCard'Card :: Card -> GetRecipientsIdResponseBody200DefaultCard'Variants
-- | Defines the enum schema located at
-- paths./v1/recipients/{id}.GET.responses.200.content.application/json.schema.anyOf.properties.deleted
-- in the specification.
--
-- Always true for a deleted object
data GetRecipientsIdResponseBody200Deleted'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
GetRecipientsIdResponseBody200Deleted'Other :: Value -> GetRecipientsIdResponseBody200Deleted'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
GetRecipientsIdResponseBody200Deleted'Typed :: Bool -> GetRecipientsIdResponseBody200Deleted'
-- | Represents the JSON value true
GetRecipientsIdResponseBody200Deleted'EnumTrue :: GetRecipientsIdResponseBody200Deleted'
-- | Defines the oneOf schema located at
-- paths./v1/recipients/{id}.GET.responses.200.content.application/json.schema.anyOf.properties.migrated_to.anyOf
-- in the specification.
--
-- The ID of the Custom account this recipient was migrated to. If
-- set, the recipient can no longer be updated, nor can transfers be made
-- to it: use the Custom account instead.
data GetRecipientsIdResponseBody200MigratedTo'Variants
GetRecipientsIdResponseBody200MigratedTo'Text :: Text -> GetRecipientsIdResponseBody200MigratedTo'Variants
GetRecipientsIdResponseBody200MigratedTo'Account :: Account -> GetRecipientsIdResponseBody200MigratedTo'Variants
-- | Defines the enum schema located at
-- paths./v1/recipients/{id}.GET.responses.200.content.application/json.schema.anyOf.properties.object
-- in the specification.
--
-- String representing the object's type. Objects of the same type share
-- the same value.
data GetRecipientsIdResponseBody200Object'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
GetRecipientsIdResponseBody200Object'Other :: Value -> GetRecipientsIdResponseBody200Object'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
GetRecipientsIdResponseBody200Object'Typed :: Text -> GetRecipientsIdResponseBody200Object'
-- | Represents the JSON value "recipient"
GetRecipientsIdResponseBody200Object'EnumRecipient :: GetRecipientsIdResponseBody200Object'
-- | Defines the oneOf schema located at
-- paths./v1/recipients/{id}.GET.responses.200.content.application/json.schema.anyOf.properties.rolled_back_from.anyOf
-- in the specification.
data GetRecipientsIdResponseBody200RolledBackFrom'Variants
GetRecipientsIdResponseBody200RolledBackFrom'Text :: Text -> GetRecipientsIdResponseBody200RolledBackFrom'Variants
GetRecipientsIdResponseBody200RolledBackFrom'Account :: Account -> GetRecipientsIdResponseBody200RolledBackFrom'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetRecipientsId.GetRecipientsIdParameters
instance GHC.Show.Show StripeAPI.Operations.GetRecipientsId.GetRecipientsIdParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetRecipientsId.GetRecipientsIdResponseBody200ActiveAccount'Account'Variants
instance GHC.Show.Show StripeAPI.Operations.GetRecipientsId.GetRecipientsIdResponseBody200ActiveAccount'Account'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetRecipientsId.GetRecipientsIdResponseBody200ActiveAccount'AvailablePayoutMethods'
instance GHC.Show.Show StripeAPI.Operations.GetRecipientsId.GetRecipientsIdResponseBody200ActiveAccount'AvailablePayoutMethods'
instance GHC.Classes.Eq StripeAPI.Operations.GetRecipientsId.GetRecipientsIdResponseBody200ActiveAccount'Customer'Variants
instance GHC.Show.Show StripeAPI.Operations.GetRecipientsId.GetRecipientsIdResponseBody200ActiveAccount'Customer'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetRecipientsId.GetRecipientsIdResponseBody200ActiveAccount'Object'
instance GHC.Show.Show StripeAPI.Operations.GetRecipientsId.GetRecipientsIdResponseBody200ActiveAccount'Object'
instance GHC.Classes.Eq StripeAPI.Operations.GetRecipientsId.GetRecipientsIdResponseBody200ActiveAccount'
instance GHC.Show.Show StripeAPI.Operations.GetRecipientsId.GetRecipientsIdResponseBody200ActiveAccount'
instance GHC.Classes.Eq StripeAPI.Operations.GetRecipientsId.GetRecipientsIdResponseBody200Cards'
instance GHC.Show.Show StripeAPI.Operations.GetRecipientsId.GetRecipientsIdResponseBody200Cards'
instance GHC.Classes.Eq StripeAPI.Operations.GetRecipientsId.GetRecipientsIdResponseBody200DefaultCard'Variants
instance GHC.Show.Show StripeAPI.Operations.GetRecipientsId.GetRecipientsIdResponseBody200DefaultCard'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetRecipientsId.GetRecipientsIdResponseBody200Deleted'
instance GHC.Show.Show StripeAPI.Operations.GetRecipientsId.GetRecipientsIdResponseBody200Deleted'
instance GHC.Classes.Eq StripeAPI.Operations.GetRecipientsId.GetRecipientsIdResponseBody200MigratedTo'Variants
instance GHC.Show.Show StripeAPI.Operations.GetRecipientsId.GetRecipientsIdResponseBody200MigratedTo'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetRecipientsId.GetRecipientsIdResponseBody200Object'
instance GHC.Show.Show StripeAPI.Operations.GetRecipientsId.GetRecipientsIdResponseBody200Object'
instance GHC.Classes.Eq StripeAPI.Operations.GetRecipientsId.GetRecipientsIdResponseBody200RolledBackFrom'Variants
instance GHC.Show.Show StripeAPI.Operations.GetRecipientsId.GetRecipientsIdResponseBody200RolledBackFrom'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetRecipientsId.GetRecipientsIdResponseBody200
instance GHC.Show.Show StripeAPI.Operations.GetRecipientsId.GetRecipientsIdResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetRecipientsId.GetRecipientsIdResponse
instance GHC.Show.Show StripeAPI.Operations.GetRecipientsId.GetRecipientsIdResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetRecipientsId.GetRecipientsIdResponseBody200
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetRecipientsId.GetRecipientsIdResponseBody200
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetRecipientsId.GetRecipientsIdResponseBody200RolledBackFrom'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetRecipientsId.GetRecipientsIdResponseBody200RolledBackFrom'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetRecipientsId.GetRecipientsIdResponseBody200Object'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetRecipientsId.GetRecipientsIdResponseBody200Object'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetRecipientsId.GetRecipientsIdResponseBody200MigratedTo'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetRecipientsId.GetRecipientsIdResponseBody200MigratedTo'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetRecipientsId.GetRecipientsIdResponseBody200Deleted'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetRecipientsId.GetRecipientsIdResponseBody200Deleted'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetRecipientsId.GetRecipientsIdResponseBody200DefaultCard'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetRecipientsId.GetRecipientsIdResponseBody200DefaultCard'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetRecipientsId.GetRecipientsIdResponseBody200Cards'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetRecipientsId.GetRecipientsIdResponseBody200Cards'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetRecipientsId.GetRecipientsIdResponseBody200ActiveAccount'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetRecipientsId.GetRecipientsIdResponseBody200ActiveAccount'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetRecipientsId.GetRecipientsIdResponseBody200ActiveAccount'Object'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetRecipientsId.GetRecipientsIdResponseBody200ActiveAccount'Object'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetRecipientsId.GetRecipientsIdResponseBody200ActiveAccount'Customer'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetRecipientsId.GetRecipientsIdResponseBody200ActiveAccount'Customer'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetRecipientsId.GetRecipientsIdResponseBody200ActiveAccount'AvailablePayoutMethods'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetRecipientsId.GetRecipientsIdResponseBody200ActiveAccount'AvailablePayoutMethods'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetRecipientsId.GetRecipientsIdResponseBody200ActiveAccount'Account'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetRecipientsId.GetRecipientsIdResponseBody200ActiveAccount'Account'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetRecipientsId.GetRecipientsIdParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetRecipientsId.GetRecipientsIdParameters
-- | Contains the different functions to run the operation getRecipients
module StripeAPI.Operations.GetRecipients
-- |
-- GET /v1/recipients
--
--
-- <p>Returns a list of your recipients. The recipients are
-- returned sorted by creation date, with the most recently created
-- recipients appearing first.</p>
getRecipients :: forall m. MonadHTTP m => GetRecipientsParameters -> ClientT m (Response GetRecipientsResponse)
-- | Defines the object schema located at
-- paths./v1/recipients.GET.parameters in the specification.
data GetRecipientsParameters
GetRecipientsParameters :: Maybe GetRecipientsParametersQueryCreated'Variants -> Maybe Text -> Maybe [Text] -> Maybe Int -> Maybe Text -> Maybe GetRecipientsParametersQueryType' -> Maybe Bool -> GetRecipientsParameters
-- | queryCreated: Represents the parameter named 'created'
[getRecipientsParametersQueryCreated] :: GetRecipientsParameters -> Maybe GetRecipientsParametersQueryCreated'Variants
-- | queryEnding_before: Represents the parameter named 'ending_before'
--
-- A cursor for use in pagination. `ending_before` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, starting with `obj_bar`, your
-- subsequent call can include `ending_before=obj_bar` in order to fetch
-- the previous page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getRecipientsParametersQueryEndingBefore] :: GetRecipientsParameters -> Maybe Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getRecipientsParametersQueryExpand] :: GetRecipientsParameters -> Maybe [Text]
-- | queryLimit: Represents the parameter named 'limit'
--
-- A limit on the number of objects to be returned. Limit can range
-- between 1 and 100, and the default is 10.
[getRecipientsParametersQueryLimit] :: GetRecipientsParameters -> Maybe Int
-- | queryStarting_after: Represents the parameter named 'starting_after'
--
-- A cursor for use in pagination. `starting_after` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, ending with `obj_foo`, your
-- subsequent call can include `starting_after=obj_foo` in order to fetch
-- the next page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getRecipientsParametersQueryStartingAfter] :: GetRecipientsParameters -> Maybe Text
-- | queryType: Represents the parameter named 'type'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getRecipientsParametersQueryType] :: GetRecipientsParameters -> Maybe GetRecipientsParametersQueryType'
-- | queryVerified: Represents the parameter named 'verified'
--
-- Only return recipients that are verified or unverified.
[getRecipientsParametersQueryVerified] :: GetRecipientsParameters -> Maybe Bool
-- | Create a new GetRecipientsParameters with all required fields.
mkGetRecipientsParameters :: GetRecipientsParameters
-- | Defines the object schema located at
-- paths./v1/recipients.GET.parameters.properties.queryCreated.anyOf
-- in the specification.
data GetRecipientsParametersQueryCreated'OneOf1
GetRecipientsParametersQueryCreated'OneOf1 :: Maybe Int -> Maybe Int -> Maybe Int -> Maybe Int -> GetRecipientsParametersQueryCreated'OneOf1
-- | gt
[getRecipientsParametersQueryCreated'OneOf1Gt] :: GetRecipientsParametersQueryCreated'OneOf1 -> Maybe Int
-- | gte
[getRecipientsParametersQueryCreated'OneOf1Gte] :: GetRecipientsParametersQueryCreated'OneOf1 -> Maybe Int
-- | lt
[getRecipientsParametersQueryCreated'OneOf1Lt] :: GetRecipientsParametersQueryCreated'OneOf1 -> Maybe Int
-- | lte
[getRecipientsParametersQueryCreated'OneOf1Lte] :: GetRecipientsParametersQueryCreated'OneOf1 -> Maybe Int
-- | Create a new GetRecipientsParametersQueryCreated'OneOf1 with
-- all required fields.
mkGetRecipientsParametersQueryCreated'OneOf1 :: GetRecipientsParametersQueryCreated'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/recipients.GET.parameters.properties.queryCreated.anyOf
-- in the specification.
--
-- Represents the parameter named 'created'
data GetRecipientsParametersQueryCreated'Variants
GetRecipientsParametersQueryCreated'GetRecipientsParametersQueryCreated'OneOf1 :: GetRecipientsParametersQueryCreated'OneOf1 -> GetRecipientsParametersQueryCreated'Variants
GetRecipientsParametersQueryCreated'Int :: Int -> GetRecipientsParametersQueryCreated'Variants
-- | Defines the enum schema located at
-- paths./v1/recipients.GET.parameters.properties.queryType in
-- the specification.
--
-- Represents the parameter named 'type'
data GetRecipientsParametersQueryType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
GetRecipientsParametersQueryType'Other :: Value -> GetRecipientsParametersQueryType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
GetRecipientsParametersQueryType'Typed :: Text -> GetRecipientsParametersQueryType'
-- | Represents the JSON value "corporation"
GetRecipientsParametersQueryType'EnumCorporation :: GetRecipientsParametersQueryType'
-- | Represents the JSON value "individual"
GetRecipientsParametersQueryType'EnumIndividual :: GetRecipientsParametersQueryType'
-- | Represents a response of the operation getRecipients.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetRecipientsResponseError is used.
data GetRecipientsResponse
-- | Means either no matching case available or a parse error
GetRecipientsResponseError :: String -> GetRecipientsResponse
-- | Successful response.
GetRecipientsResponse200 :: GetRecipientsResponseBody200 -> GetRecipientsResponse
-- | Error response.
GetRecipientsResponseDefault :: Error -> GetRecipientsResponse
-- | Defines the object schema located at
-- paths./v1/recipients.GET.responses.200.content.application/json.schema
-- in the specification.
data GetRecipientsResponseBody200
GetRecipientsResponseBody200 :: [Recipient] -> Bool -> Text -> GetRecipientsResponseBody200
-- | data
[getRecipientsResponseBody200Data] :: GetRecipientsResponseBody200 -> [Recipient]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[getRecipientsResponseBody200HasMore] :: GetRecipientsResponseBody200 -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
-- - Must match pattern '^/v1/recipients'
--
[getRecipientsResponseBody200Url] :: GetRecipientsResponseBody200 -> Text
-- | Create a new GetRecipientsResponseBody200 with all required
-- fields.
mkGetRecipientsResponseBody200 :: [Recipient] -> Bool -> Text -> GetRecipientsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetRecipients.GetRecipientsParametersQueryCreated'OneOf1
instance GHC.Show.Show StripeAPI.Operations.GetRecipients.GetRecipientsParametersQueryCreated'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.GetRecipients.GetRecipientsParametersQueryCreated'Variants
instance GHC.Show.Show StripeAPI.Operations.GetRecipients.GetRecipientsParametersQueryCreated'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetRecipients.GetRecipientsParametersQueryType'
instance GHC.Show.Show StripeAPI.Operations.GetRecipients.GetRecipientsParametersQueryType'
instance GHC.Classes.Eq StripeAPI.Operations.GetRecipients.GetRecipientsParameters
instance GHC.Show.Show StripeAPI.Operations.GetRecipients.GetRecipientsParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetRecipients.GetRecipientsResponseBody200
instance GHC.Show.Show StripeAPI.Operations.GetRecipients.GetRecipientsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetRecipients.GetRecipientsResponse
instance GHC.Show.Show StripeAPI.Operations.GetRecipients.GetRecipientsResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetRecipients.GetRecipientsResponseBody200
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetRecipients.GetRecipientsResponseBody200
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetRecipients.GetRecipientsParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetRecipients.GetRecipientsParameters
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetRecipients.GetRecipientsParametersQueryType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetRecipients.GetRecipientsParametersQueryType'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetRecipients.GetRecipientsParametersQueryCreated'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetRecipients.GetRecipientsParametersQueryCreated'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetRecipients.GetRecipientsParametersQueryCreated'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetRecipients.GetRecipientsParametersQueryCreated'OneOf1
-- | Contains the different functions to run the operation
-- getRadarValueListsValueList
module StripeAPI.Operations.GetRadarValueListsValueList
-- |
-- GET /v1/radar/value_lists/{value_list}
--
--
-- <p>Retrieves a <code>ValueList</code>
-- object.</p>
getRadarValueListsValueList :: forall m. MonadHTTP m => GetRadarValueListsValueListParameters -> ClientT m (Response GetRadarValueListsValueListResponse)
-- | Defines the object schema located at
-- paths./v1/radar/value_lists/{value_list}.GET.parameters in
-- the specification.
data GetRadarValueListsValueListParameters
GetRadarValueListsValueListParameters :: Text -> Maybe [Text] -> GetRadarValueListsValueListParameters
-- | pathValue_list: Represents the parameter named 'value_list'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getRadarValueListsValueListParametersPathValueList] :: GetRadarValueListsValueListParameters -> Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getRadarValueListsValueListParametersQueryExpand] :: GetRadarValueListsValueListParameters -> Maybe [Text]
-- | Create a new GetRadarValueListsValueListParameters with all
-- required fields.
mkGetRadarValueListsValueListParameters :: Text -> GetRadarValueListsValueListParameters
-- | Represents a response of the operation
-- getRadarValueListsValueList.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- GetRadarValueListsValueListResponseError is used.
data GetRadarValueListsValueListResponse
-- | Means either no matching case available or a parse error
GetRadarValueListsValueListResponseError :: String -> GetRadarValueListsValueListResponse
-- | Successful response.
GetRadarValueListsValueListResponse200 :: Radar'valueList -> GetRadarValueListsValueListResponse
-- | Error response.
GetRadarValueListsValueListResponseDefault :: Error -> GetRadarValueListsValueListResponse
instance GHC.Classes.Eq StripeAPI.Operations.GetRadarValueListsValueList.GetRadarValueListsValueListParameters
instance GHC.Show.Show StripeAPI.Operations.GetRadarValueListsValueList.GetRadarValueListsValueListParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetRadarValueListsValueList.GetRadarValueListsValueListResponse
instance GHC.Show.Show StripeAPI.Operations.GetRadarValueListsValueList.GetRadarValueListsValueListResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetRadarValueListsValueList.GetRadarValueListsValueListParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetRadarValueListsValueList.GetRadarValueListsValueListParameters
-- | Contains the different functions to run the operation
-- getRadarValueLists
module StripeAPI.Operations.GetRadarValueLists
-- |
-- GET /v1/radar/value_lists
--
--
-- <p>Returns a list of <code>ValueList</code> objects.
-- The objects are sorted in descending order by creation date, with the
-- most recently created object appearing first.</p>
getRadarValueLists :: forall m. MonadHTTP m => GetRadarValueListsParameters -> ClientT m (Response GetRadarValueListsResponse)
-- | Defines the object schema located at
-- paths./v1/radar/value_lists.GET.parameters in the
-- specification.
data GetRadarValueListsParameters
GetRadarValueListsParameters :: Maybe Text -> Maybe Text -> Maybe GetRadarValueListsParametersQueryCreated'Variants -> Maybe Text -> Maybe [Text] -> Maybe Int -> Maybe Text -> GetRadarValueListsParameters
-- | queryAlias: Represents the parameter named 'alias'
--
-- The alias used to reference the value list when writing rules.
--
-- Constraints:
--
--
-- - Maximum length of 100
--
[getRadarValueListsParametersQueryAlias] :: GetRadarValueListsParameters -> Maybe Text
-- | queryContains: Represents the parameter named 'contains'
--
-- A value contained within a value list - returns all value lists
-- containing this value.
--
-- Constraints:
--
--
-- - Maximum length of 800
--
[getRadarValueListsParametersQueryContains] :: GetRadarValueListsParameters -> Maybe Text
-- | queryCreated: Represents the parameter named 'created'
[getRadarValueListsParametersQueryCreated] :: GetRadarValueListsParameters -> Maybe GetRadarValueListsParametersQueryCreated'Variants
-- | queryEnding_before: Represents the parameter named 'ending_before'
--
-- A cursor for use in pagination. `ending_before` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, starting with `obj_bar`, your
-- subsequent call can include `ending_before=obj_bar` in order to fetch
-- the previous page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getRadarValueListsParametersQueryEndingBefore] :: GetRadarValueListsParameters -> Maybe Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getRadarValueListsParametersQueryExpand] :: GetRadarValueListsParameters -> Maybe [Text]
-- | queryLimit: Represents the parameter named 'limit'
--
-- A limit on the number of objects to be returned. Limit can range
-- between 1 and 100, and the default is 10.
[getRadarValueListsParametersQueryLimit] :: GetRadarValueListsParameters -> Maybe Int
-- | queryStarting_after: Represents the parameter named 'starting_after'
--
-- A cursor for use in pagination. `starting_after` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, ending with `obj_foo`, your
-- subsequent call can include `starting_after=obj_foo` in order to fetch
-- the next page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getRadarValueListsParametersQueryStartingAfter] :: GetRadarValueListsParameters -> Maybe Text
-- | Create a new GetRadarValueListsParameters with all required
-- fields.
mkGetRadarValueListsParameters :: GetRadarValueListsParameters
-- | Defines the object schema located at
-- paths./v1/radar/value_lists.GET.parameters.properties.queryCreated.anyOf
-- in the specification.
data GetRadarValueListsParametersQueryCreated'OneOf1
GetRadarValueListsParametersQueryCreated'OneOf1 :: Maybe Int -> Maybe Int -> Maybe Int -> Maybe Int -> GetRadarValueListsParametersQueryCreated'OneOf1
-- | gt
[getRadarValueListsParametersQueryCreated'OneOf1Gt] :: GetRadarValueListsParametersQueryCreated'OneOf1 -> Maybe Int
-- | gte
[getRadarValueListsParametersQueryCreated'OneOf1Gte] :: GetRadarValueListsParametersQueryCreated'OneOf1 -> Maybe Int
-- | lt
[getRadarValueListsParametersQueryCreated'OneOf1Lt] :: GetRadarValueListsParametersQueryCreated'OneOf1 -> Maybe Int
-- | lte
[getRadarValueListsParametersQueryCreated'OneOf1Lte] :: GetRadarValueListsParametersQueryCreated'OneOf1 -> Maybe Int
-- | Create a new GetRadarValueListsParametersQueryCreated'OneOf1
-- with all required fields.
mkGetRadarValueListsParametersQueryCreated'OneOf1 :: GetRadarValueListsParametersQueryCreated'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/radar/value_lists.GET.parameters.properties.queryCreated.anyOf
-- in the specification.
--
-- Represents the parameter named 'created'
data GetRadarValueListsParametersQueryCreated'Variants
GetRadarValueListsParametersQueryCreated'GetRadarValueListsParametersQueryCreated'OneOf1 :: GetRadarValueListsParametersQueryCreated'OneOf1 -> GetRadarValueListsParametersQueryCreated'Variants
GetRadarValueListsParametersQueryCreated'Int :: Int -> GetRadarValueListsParametersQueryCreated'Variants
-- | Represents a response of the operation getRadarValueLists.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetRadarValueListsResponseError is
-- used.
data GetRadarValueListsResponse
-- | Means either no matching case available or a parse error
GetRadarValueListsResponseError :: String -> GetRadarValueListsResponse
-- | Successful response.
GetRadarValueListsResponse200 :: GetRadarValueListsResponseBody200 -> GetRadarValueListsResponse
-- | Error response.
GetRadarValueListsResponseDefault :: Error -> GetRadarValueListsResponse
-- | Defines the object schema located at
-- paths./v1/radar/value_lists.GET.responses.200.content.application/json.schema
-- in the specification.
data GetRadarValueListsResponseBody200
GetRadarValueListsResponseBody200 :: [Radar'valueList] -> Bool -> Text -> GetRadarValueListsResponseBody200
-- | data
[getRadarValueListsResponseBody200Data] :: GetRadarValueListsResponseBody200 -> [Radar'valueList]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[getRadarValueListsResponseBody200HasMore] :: GetRadarValueListsResponseBody200 -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
-- - Must match pattern '^/v1/radar/value_lists'
--
[getRadarValueListsResponseBody200Url] :: GetRadarValueListsResponseBody200 -> Text
-- | Create a new GetRadarValueListsResponseBody200 with all
-- required fields.
mkGetRadarValueListsResponseBody200 :: [Radar'valueList] -> Bool -> Text -> GetRadarValueListsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetRadarValueLists.GetRadarValueListsParametersQueryCreated'OneOf1
instance GHC.Show.Show StripeAPI.Operations.GetRadarValueLists.GetRadarValueListsParametersQueryCreated'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.GetRadarValueLists.GetRadarValueListsParametersQueryCreated'Variants
instance GHC.Show.Show StripeAPI.Operations.GetRadarValueLists.GetRadarValueListsParametersQueryCreated'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetRadarValueLists.GetRadarValueListsParameters
instance GHC.Show.Show StripeAPI.Operations.GetRadarValueLists.GetRadarValueListsParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetRadarValueLists.GetRadarValueListsResponseBody200
instance GHC.Show.Show StripeAPI.Operations.GetRadarValueLists.GetRadarValueListsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetRadarValueLists.GetRadarValueListsResponse
instance GHC.Show.Show StripeAPI.Operations.GetRadarValueLists.GetRadarValueListsResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetRadarValueLists.GetRadarValueListsResponseBody200
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetRadarValueLists.GetRadarValueListsResponseBody200
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetRadarValueLists.GetRadarValueListsParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetRadarValueLists.GetRadarValueListsParameters
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetRadarValueLists.GetRadarValueListsParametersQueryCreated'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetRadarValueLists.GetRadarValueListsParametersQueryCreated'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetRadarValueLists.GetRadarValueListsParametersQueryCreated'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetRadarValueLists.GetRadarValueListsParametersQueryCreated'OneOf1
-- | Contains the different functions to run the operation
-- getRadarValueListItemsItem
module StripeAPI.Operations.GetRadarValueListItemsItem
-- |
-- GET /v1/radar/value_list_items/{item}
--
--
-- <p>Retrieves a <code>ValueListItem</code>
-- object.</p>
getRadarValueListItemsItem :: forall m. MonadHTTP m => GetRadarValueListItemsItemParameters -> ClientT m (Response GetRadarValueListItemsItemResponse)
-- | Defines the object schema located at
-- paths./v1/radar/value_list_items/{item}.GET.parameters in the
-- specification.
data GetRadarValueListItemsItemParameters
GetRadarValueListItemsItemParameters :: Text -> Maybe [Text] -> GetRadarValueListItemsItemParameters
-- | pathItem: Represents the parameter named 'item'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getRadarValueListItemsItemParametersPathItem] :: GetRadarValueListItemsItemParameters -> Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getRadarValueListItemsItemParametersQueryExpand] :: GetRadarValueListItemsItemParameters -> Maybe [Text]
-- | Create a new GetRadarValueListItemsItemParameters with all
-- required fields.
mkGetRadarValueListItemsItemParameters :: Text -> GetRadarValueListItemsItemParameters
-- | Represents a response of the operation
-- getRadarValueListItemsItem.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetRadarValueListItemsItemResponseError
-- is used.
data GetRadarValueListItemsItemResponse
-- | Means either no matching case available or a parse error
GetRadarValueListItemsItemResponseError :: String -> GetRadarValueListItemsItemResponse
-- | Successful response.
GetRadarValueListItemsItemResponse200 :: Radar'valueListItem -> GetRadarValueListItemsItemResponse
-- | Error response.
GetRadarValueListItemsItemResponseDefault :: Error -> GetRadarValueListItemsItemResponse
instance GHC.Classes.Eq StripeAPI.Operations.GetRadarValueListItemsItem.GetRadarValueListItemsItemParameters
instance GHC.Show.Show StripeAPI.Operations.GetRadarValueListItemsItem.GetRadarValueListItemsItemParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetRadarValueListItemsItem.GetRadarValueListItemsItemResponse
instance GHC.Show.Show StripeAPI.Operations.GetRadarValueListItemsItem.GetRadarValueListItemsItemResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetRadarValueListItemsItem.GetRadarValueListItemsItemParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetRadarValueListItemsItem.GetRadarValueListItemsItemParameters
-- | Contains the different functions to run the operation
-- getRadarValueListItems
module StripeAPI.Operations.GetRadarValueListItems
-- |
-- GET /v1/radar/value_list_items
--
--
-- <p>Returns a list of <code>ValueListItem</code>
-- objects. The objects are sorted in descending order by creation date,
-- with the most recently created object appearing first.</p>
getRadarValueListItems :: forall m. MonadHTTP m => GetRadarValueListItemsParameters -> ClientT m (Response GetRadarValueListItemsResponse)
-- | Defines the object schema located at
-- paths./v1/radar/value_list_items.GET.parameters in the
-- specification.
data GetRadarValueListItemsParameters
GetRadarValueListItemsParameters :: Maybe GetRadarValueListItemsParametersQueryCreated'Variants -> Maybe Text -> Maybe [Text] -> Maybe Int -> Maybe Text -> Maybe Text -> Text -> GetRadarValueListItemsParameters
-- | queryCreated: Represents the parameter named 'created'
[getRadarValueListItemsParametersQueryCreated] :: GetRadarValueListItemsParameters -> Maybe GetRadarValueListItemsParametersQueryCreated'Variants
-- | queryEnding_before: Represents the parameter named 'ending_before'
--
-- A cursor for use in pagination. `ending_before` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, starting with `obj_bar`, your
-- subsequent call can include `ending_before=obj_bar` in order to fetch
-- the previous page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getRadarValueListItemsParametersQueryEndingBefore] :: GetRadarValueListItemsParameters -> Maybe Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getRadarValueListItemsParametersQueryExpand] :: GetRadarValueListItemsParameters -> Maybe [Text]
-- | queryLimit: Represents the parameter named 'limit'
--
-- A limit on the number of objects to be returned. Limit can range
-- between 1 and 100, and the default is 10.
[getRadarValueListItemsParametersQueryLimit] :: GetRadarValueListItemsParameters -> Maybe Int
-- | queryStarting_after: Represents the parameter named 'starting_after'
--
-- A cursor for use in pagination. `starting_after` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, ending with `obj_foo`, your
-- subsequent call can include `starting_after=obj_foo` in order to fetch
-- the next page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getRadarValueListItemsParametersQueryStartingAfter] :: GetRadarValueListItemsParameters -> Maybe Text
-- | queryValue: Represents the parameter named 'value'
--
-- Return items belonging to the parent list whose value matches the
-- specified value (using an "is like" match).
--
-- Constraints:
--
--
-- - Maximum length of 800
--
[getRadarValueListItemsParametersQueryValue] :: GetRadarValueListItemsParameters -> Maybe Text
-- | queryValue_list: Represents the parameter named 'value_list'
--
-- Identifier for the parent value list this item belongs to.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getRadarValueListItemsParametersQueryValueList] :: GetRadarValueListItemsParameters -> Text
-- | Create a new GetRadarValueListItemsParameters with all required
-- fields.
mkGetRadarValueListItemsParameters :: Text -> GetRadarValueListItemsParameters
-- | Defines the object schema located at
-- paths./v1/radar/value_list_items.GET.parameters.properties.queryCreated.anyOf
-- in the specification.
data GetRadarValueListItemsParametersQueryCreated'OneOf1
GetRadarValueListItemsParametersQueryCreated'OneOf1 :: Maybe Int -> Maybe Int -> Maybe Int -> Maybe Int -> GetRadarValueListItemsParametersQueryCreated'OneOf1
-- | gt
[getRadarValueListItemsParametersQueryCreated'OneOf1Gt] :: GetRadarValueListItemsParametersQueryCreated'OneOf1 -> Maybe Int
-- | gte
[getRadarValueListItemsParametersQueryCreated'OneOf1Gte] :: GetRadarValueListItemsParametersQueryCreated'OneOf1 -> Maybe Int
-- | lt
[getRadarValueListItemsParametersQueryCreated'OneOf1Lt] :: GetRadarValueListItemsParametersQueryCreated'OneOf1 -> Maybe Int
-- | lte
[getRadarValueListItemsParametersQueryCreated'OneOf1Lte] :: GetRadarValueListItemsParametersQueryCreated'OneOf1 -> Maybe Int
-- | Create a new
-- GetRadarValueListItemsParametersQueryCreated'OneOf1 with all
-- required fields.
mkGetRadarValueListItemsParametersQueryCreated'OneOf1 :: GetRadarValueListItemsParametersQueryCreated'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/radar/value_list_items.GET.parameters.properties.queryCreated.anyOf
-- in the specification.
--
-- Represents the parameter named 'created'
data GetRadarValueListItemsParametersQueryCreated'Variants
GetRadarValueListItemsParametersQueryCreated'GetRadarValueListItemsParametersQueryCreated'OneOf1 :: GetRadarValueListItemsParametersQueryCreated'OneOf1 -> GetRadarValueListItemsParametersQueryCreated'Variants
GetRadarValueListItemsParametersQueryCreated'Int :: Int -> GetRadarValueListItemsParametersQueryCreated'Variants
-- | Represents a response of the operation getRadarValueListItems.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetRadarValueListItemsResponseError is
-- used.
data GetRadarValueListItemsResponse
-- | Means either no matching case available or a parse error
GetRadarValueListItemsResponseError :: String -> GetRadarValueListItemsResponse
-- | Successful response.
GetRadarValueListItemsResponse200 :: GetRadarValueListItemsResponseBody200 -> GetRadarValueListItemsResponse
-- | Error response.
GetRadarValueListItemsResponseDefault :: Error -> GetRadarValueListItemsResponse
-- | Defines the object schema located at
-- paths./v1/radar/value_list_items.GET.responses.200.content.application/json.schema
-- in the specification.
data GetRadarValueListItemsResponseBody200
GetRadarValueListItemsResponseBody200 :: [Radar'valueListItem] -> Bool -> Text -> GetRadarValueListItemsResponseBody200
-- | data
[getRadarValueListItemsResponseBody200Data] :: GetRadarValueListItemsResponseBody200 -> [Radar'valueListItem]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[getRadarValueListItemsResponseBody200HasMore] :: GetRadarValueListItemsResponseBody200 -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
-- - Must match pattern '^/v1/radar/value_list_items'
--
[getRadarValueListItemsResponseBody200Url] :: GetRadarValueListItemsResponseBody200 -> Text
-- | Create a new GetRadarValueListItemsResponseBody200 with all
-- required fields.
mkGetRadarValueListItemsResponseBody200 :: [Radar'valueListItem] -> Bool -> Text -> GetRadarValueListItemsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetRadarValueListItems.GetRadarValueListItemsParametersQueryCreated'OneOf1
instance GHC.Show.Show StripeAPI.Operations.GetRadarValueListItems.GetRadarValueListItemsParametersQueryCreated'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.GetRadarValueListItems.GetRadarValueListItemsParametersQueryCreated'Variants
instance GHC.Show.Show StripeAPI.Operations.GetRadarValueListItems.GetRadarValueListItemsParametersQueryCreated'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetRadarValueListItems.GetRadarValueListItemsParameters
instance GHC.Show.Show StripeAPI.Operations.GetRadarValueListItems.GetRadarValueListItemsParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetRadarValueListItems.GetRadarValueListItemsResponseBody200
instance GHC.Show.Show StripeAPI.Operations.GetRadarValueListItems.GetRadarValueListItemsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetRadarValueListItems.GetRadarValueListItemsResponse
instance GHC.Show.Show StripeAPI.Operations.GetRadarValueListItems.GetRadarValueListItemsResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetRadarValueListItems.GetRadarValueListItemsResponseBody200
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetRadarValueListItems.GetRadarValueListItemsResponseBody200
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetRadarValueListItems.GetRadarValueListItemsParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetRadarValueListItems.GetRadarValueListItemsParameters
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetRadarValueListItems.GetRadarValueListItemsParametersQueryCreated'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetRadarValueListItems.GetRadarValueListItemsParametersQueryCreated'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetRadarValueListItems.GetRadarValueListItemsParametersQueryCreated'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetRadarValueListItems.GetRadarValueListItemsParametersQueryCreated'OneOf1
-- | Contains the different functions to run the operation
-- getRadarEarlyFraudWarningsEarlyFraudWarning
module StripeAPI.Operations.GetRadarEarlyFraudWarningsEarlyFraudWarning
-- |
-- GET /v1/radar/early_fraud_warnings/{early_fraud_warning}
--
--
-- <p>Retrieves the details of an early fraud warning that has
-- previously been created. </p>
--
-- <p>Please refer to the <a
-- href="#early_fraud_warning_object">early fraud warning</a>
-- object reference for more details.</p>
getRadarEarlyFraudWarningsEarlyFraudWarning :: forall m. MonadHTTP m => GetRadarEarlyFraudWarningsEarlyFraudWarningParameters -> ClientT m (Response GetRadarEarlyFraudWarningsEarlyFraudWarningResponse)
-- | Defines the object schema located at
-- paths./v1/radar/early_fraud_warnings/{early_fraud_warning}.GET.parameters
-- in the specification.
data GetRadarEarlyFraudWarningsEarlyFraudWarningParameters
GetRadarEarlyFraudWarningsEarlyFraudWarningParameters :: Text -> Maybe [Text] -> GetRadarEarlyFraudWarningsEarlyFraudWarningParameters
-- | pathEarly_fraud_warning: Represents the parameter named
-- 'early_fraud_warning'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getRadarEarlyFraudWarningsEarlyFraudWarningParametersPathEarlyFraudWarning] :: GetRadarEarlyFraudWarningsEarlyFraudWarningParameters -> Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getRadarEarlyFraudWarningsEarlyFraudWarningParametersQueryExpand] :: GetRadarEarlyFraudWarningsEarlyFraudWarningParameters -> Maybe [Text]
-- | Create a new
-- GetRadarEarlyFraudWarningsEarlyFraudWarningParameters with all
-- required fields.
mkGetRadarEarlyFraudWarningsEarlyFraudWarningParameters :: Text -> GetRadarEarlyFraudWarningsEarlyFraudWarningParameters
-- | Represents a response of the operation
-- getRadarEarlyFraudWarningsEarlyFraudWarning.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- GetRadarEarlyFraudWarningsEarlyFraudWarningResponseError is
-- used.
data GetRadarEarlyFraudWarningsEarlyFraudWarningResponse
-- | Means either no matching case available or a parse error
GetRadarEarlyFraudWarningsEarlyFraudWarningResponseError :: String -> GetRadarEarlyFraudWarningsEarlyFraudWarningResponse
-- | Successful response.
GetRadarEarlyFraudWarningsEarlyFraudWarningResponse200 :: Radar'earlyFraudWarning -> GetRadarEarlyFraudWarningsEarlyFraudWarningResponse
-- | Error response.
GetRadarEarlyFraudWarningsEarlyFraudWarningResponseDefault :: Error -> GetRadarEarlyFraudWarningsEarlyFraudWarningResponse
instance GHC.Classes.Eq StripeAPI.Operations.GetRadarEarlyFraudWarningsEarlyFraudWarning.GetRadarEarlyFraudWarningsEarlyFraudWarningParameters
instance GHC.Show.Show StripeAPI.Operations.GetRadarEarlyFraudWarningsEarlyFraudWarning.GetRadarEarlyFraudWarningsEarlyFraudWarningParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetRadarEarlyFraudWarningsEarlyFraudWarning.GetRadarEarlyFraudWarningsEarlyFraudWarningResponse
instance GHC.Show.Show StripeAPI.Operations.GetRadarEarlyFraudWarningsEarlyFraudWarning.GetRadarEarlyFraudWarningsEarlyFraudWarningResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetRadarEarlyFraudWarningsEarlyFraudWarning.GetRadarEarlyFraudWarningsEarlyFraudWarningParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetRadarEarlyFraudWarningsEarlyFraudWarning.GetRadarEarlyFraudWarningsEarlyFraudWarningParameters
-- | Contains the different functions to run the operation
-- getRadarEarlyFraudWarnings
module StripeAPI.Operations.GetRadarEarlyFraudWarnings
-- |
-- GET /v1/radar/early_fraud_warnings
--
--
-- <p>Returns a list of early fraud warnings.</p>
getRadarEarlyFraudWarnings :: forall m. MonadHTTP m => GetRadarEarlyFraudWarningsParameters -> ClientT m (Response GetRadarEarlyFraudWarningsResponse)
-- | Defines the object schema located at
-- paths./v1/radar/early_fraud_warnings.GET.parameters in the
-- specification.
data GetRadarEarlyFraudWarningsParameters
GetRadarEarlyFraudWarningsParameters :: Maybe Text -> Maybe Text -> Maybe [Text] -> Maybe Int -> Maybe Text -> Maybe Text -> GetRadarEarlyFraudWarningsParameters
-- | queryCharge: Represents the parameter named 'charge'
--
-- Only return early fraud warnings for the charge specified by this
-- charge ID.
[getRadarEarlyFraudWarningsParametersQueryCharge] :: GetRadarEarlyFraudWarningsParameters -> Maybe Text
-- | queryEnding_before: Represents the parameter named 'ending_before'
--
-- A cursor for use in pagination. `ending_before` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, starting with `obj_bar`, your
-- subsequent call can include `ending_before=obj_bar` in order to fetch
-- the previous page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getRadarEarlyFraudWarningsParametersQueryEndingBefore] :: GetRadarEarlyFraudWarningsParameters -> Maybe Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getRadarEarlyFraudWarningsParametersQueryExpand] :: GetRadarEarlyFraudWarningsParameters -> Maybe [Text]
-- | queryLimit: Represents the parameter named 'limit'
--
-- A limit on the number of objects to be returned. Limit can range
-- between 1 and 100, and the default is 10.
[getRadarEarlyFraudWarningsParametersQueryLimit] :: GetRadarEarlyFraudWarningsParameters -> Maybe Int
-- | queryPayment_intent: Represents the parameter named 'payment_intent'
--
-- Only return early fraud warnings for charges that were created by the
-- PaymentIntent specified by this PaymentIntent ID.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getRadarEarlyFraudWarningsParametersQueryPaymentIntent] :: GetRadarEarlyFraudWarningsParameters -> Maybe Text
-- | queryStarting_after: Represents the parameter named 'starting_after'
--
-- A cursor for use in pagination. `starting_after` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, ending with `obj_foo`, your
-- subsequent call can include `starting_after=obj_foo` in order to fetch
-- the next page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getRadarEarlyFraudWarningsParametersQueryStartingAfter] :: GetRadarEarlyFraudWarningsParameters -> Maybe Text
-- | Create a new GetRadarEarlyFraudWarningsParameters with all
-- required fields.
mkGetRadarEarlyFraudWarningsParameters :: GetRadarEarlyFraudWarningsParameters
-- | Represents a response of the operation
-- getRadarEarlyFraudWarnings.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetRadarEarlyFraudWarningsResponseError
-- is used.
data GetRadarEarlyFraudWarningsResponse
-- | Means either no matching case available or a parse error
GetRadarEarlyFraudWarningsResponseError :: String -> GetRadarEarlyFraudWarningsResponse
-- | Successful response.
GetRadarEarlyFraudWarningsResponse200 :: GetRadarEarlyFraudWarningsResponseBody200 -> GetRadarEarlyFraudWarningsResponse
-- | Error response.
GetRadarEarlyFraudWarningsResponseDefault :: Error -> GetRadarEarlyFraudWarningsResponse
-- | Defines the object schema located at
-- paths./v1/radar/early_fraud_warnings.GET.responses.200.content.application/json.schema
-- in the specification.
data GetRadarEarlyFraudWarningsResponseBody200
GetRadarEarlyFraudWarningsResponseBody200 :: [Radar'earlyFraudWarning] -> Bool -> Text -> GetRadarEarlyFraudWarningsResponseBody200
-- | data
[getRadarEarlyFraudWarningsResponseBody200Data] :: GetRadarEarlyFraudWarningsResponseBody200 -> [Radar'earlyFraudWarning]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[getRadarEarlyFraudWarningsResponseBody200HasMore] :: GetRadarEarlyFraudWarningsResponseBody200 -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
-- - Must match pattern '^/v1/radar/early_fraud_warnings'
--
[getRadarEarlyFraudWarningsResponseBody200Url] :: GetRadarEarlyFraudWarningsResponseBody200 -> Text
-- | Create a new GetRadarEarlyFraudWarningsResponseBody200 with all
-- required fields.
mkGetRadarEarlyFraudWarningsResponseBody200 :: [Radar'earlyFraudWarning] -> Bool -> Text -> GetRadarEarlyFraudWarningsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetRadarEarlyFraudWarnings.GetRadarEarlyFraudWarningsParameters
instance GHC.Show.Show StripeAPI.Operations.GetRadarEarlyFraudWarnings.GetRadarEarlyFraudWarningsParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetRadarEarlyFraudWarnings.GetRadarEarlyFraudWarningsResponseBody200
instance GHC.Show.Show StripeAPI.Operations.GetRadarEarlyFraudWarnings.GetRadarEarlyFraudWarningsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetRadarEarlyFraudWarnings.GetRadarEarlyFraudWarningsResponse
instance GHC.Show.Show StripeAPI.Operations.GetRadarEarlyFraudWarnings.GetRadarEarlyFraudWarningsResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetRadarEarlyFraudWarnings.GetRadarEarlyFraudWarningsResponseBody200
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetRadarEarlyFraudWarnings.GetRadarEarlyFraudWarningsResponseBody200
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetRadarEarlyFraudWarnings.GetRadarEarlyFraudWarningsParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetRadarEarlyFraudWarnings.GetRadarEarlyFraudWarningsParameters
-- | Contains the different functions to run the operation
-- getPromotionCodesPromotionCode
module StripeAPI.Operations.GetPromotionCodesPromotionCode
-- |
-- GET /v1/promotion_codes/{promotion_code}
--
--
-- <p>Retrieves the promotion code with the given ID.</p>
getPromotionCodesPromotionCode :: forall m. MonadHTTP m => GetPromotionCodesPromotionCodeParameters -> ClientT m (Response GetPromotionCodesPromotionCodeResponse)
-- | Defines the object schema located at
-- paths./v1/promotion_codes/{promotion_code}.GET.parameters in
-- the specification.
data GetPromotionCodesPromotionCodeParameters
GetPromotionCodesPromotionCodeParameters :: Text -> Maybe [Text] -> GetPromotionCodesPromotionCodeParameters
-- | pathPromotion_code: Represents the parameter named 'promotion_code'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getPromotionCodesPromotionCodeParametersPathPromotionCode] :: GetPromotionCodesPromotionCodeParameters -> Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getPromotionCodesPromotionCodeParametersQueryExpand] :: GetPromotionCodesPromotionCodeParameters -> Maybe [Text]
-- | Create a new GetPromotionCodesPromotionCodeParameters with all
-- required fields.
mkGetPromotionCodesPromotionCodeParameters :: Text -> GetPromotionCodesPromotionCodeParameters
-- | Represents a response of the operation
-- getPromotionCodesPromotionCode.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- GetPromotionCodesPromotionCodeResponseError is used.
data GetPromotionCodesPromotionCodeResponse
-- | Means either no matching case available or a parse error
GetPromotionCodesPromotionCodeResponseError :: String -> GetPromotionCodesPromotionCodeResponse
-- | Successful response.
GetPromotionCodesPromotionCodeResponse200 :: PromotionCode -> GetPromotionCodesPromotionCodeResponse
-- | Error response.
GetPromotionCodesPromotionCodeResponseDefault :: Error -> GetPromotionCodesPromotionCodeResponse
instance GHC.Classes.Eq StripeAPI.Operations.GetPromotionCodesPromotionCode.GetPromotionCodesPromotionCodeParameters
instance GHC.Show.Show StripeAPI.Operations.GetPromotionCodesPromotionCode.GetPromotionCodesPromotionCodeParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetPromotionCodesPromotionCode.GetPromotionCodesPromotionCodeResponse
instance GHC.Show.Show StripeAPI.Operations.GetPromotionCodesPromotionCode.GetPromotionCodesPromotionCodeResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetPromotionCodesPromotionCode.GetPromotionCodesPromotionCodeParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetPromotionCodesPromotionCode.GetPromotionCodesPromotionCodeParameters
-- | Contains the different functions to run the operation
-- getPromotionCodes
module StripeAPI.Operations.GetPromotionCodes
-- |
-- GET /v1/promotion_codes
--
--
-- <p>Returns a list of your promotion codes.</p>
getPromotionCodes :: forall m. MonadHTTP m => GetPromotionCodesParameters -> ClientT m (Response GetPromotionCodesResponse)
-- | Defines the object schema located at
-- paths./v1/promotion_codes.GET.parameters in the
-- specification.
data GetPromotionCodesParameters
GetPromotionCodesParameters :: Maybe Bool -> Maybe Text -> Maybe Text -> Maybe GetPromotionCodesParametersQueryCreated'Variants -> Maybe Text -> Maybe Text -> Maybe [Text] -> Maybe Int -> Maybe Text -> GetPromotionCodesParameters
-- | queryActive: Represents the parameter named 'active'
--
-- Filter promotion codes by whether they are active.
[getPromotionCodesParametersQueryActive] :: GetPromotionCodesParameters -> Maybe Bool
-- | queryCode: Represents the parameter named 'code'
--
-- Only return promotion codes that have this case-insensitive code.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getPromotionCodesParametersQueryCode] :: GetPromotionCodesParameters -> Maybe Text
-- | queryCoupon: Represents the parameter named 'coupon'
--
-- Only return promotion codes for this coupon.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getPromotionCodesParametersQueryCoupon] :: GetPromotionCodesParameters -> Maybe Text
-- | queryCreated: Represents the parameter named 'created'
--
-- A filter on the list, based on the object `created` field. The value
-- can be a string with an integer Unix timestamp, or it can be a
-- dictionary with a number of different query options.
[getPromotionCodesParametersQueryCreated] :: GetPromotionCodesParameters -> Maybe GetPromotionCodesParametersQueryCreated'Variants
-- | queryCustomer: Represents the parameter named 'customer'
--
-- Only return promotion codes that are restricted to this customer.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getPromotionCodesParametersQueryCustomer] :: GetPromotionCodesParameters -> Maybe Text
-- | queryEnding_before: Represents the parameter named 'ending_before'
--
-- A cursor for use in pagination. `ending_before` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, starting with `obj_bar`, your
-- subsequent call can include `ending_before=obj_bar` in order to fetch
-- the previous page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getPromotionCodesParametersQueryEndingBefore] :: GetPromotionCodesParameters -> Maybe Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getPromotionCodesParametersQueryExpand] :: GetPromotionCodesParameters -> Maybe [Text]
-- | queryLimit: Represents the parameter named 'limit'
--
-- A limit on the number of objects to be returned. Limit can range
-- between 1 and 100, and the default is 10.
[getPromotionCodesParametersQueryLimit] :: GetPromotionCodesParameters -> Maybe Int
-- | queryStarting_after: Represents the parameter named 'starting_after'
--
-- A cursor for use in pagination. `starting_after` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, ending with `obj_foo`, your
-- subsequent call can include `starting_after=obj_foo` in order to fetch
-- the next page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getPromotionCodesParametersQueryStartingAfter] :: GetPromotionCodesParameters -> Maybe Text
-- | Create a new GetPromotionCodesParameters with all required
-- fields.
mkGetPromotionCodesParameters :: GetPromotionCodesParameters
-- | Defines the object schema located at
-- paths./v1/promotion_codes.GET.parameters.properties.queryCreated.anyOf
-- in the specification.
data GetPromotionCodesParametersQueryCreated'OneOf1
GetPromotionCodesParametersQueryCreated'OneOf1 :: Maybe Int -> Maybe Int -> Maybe Int -> Maybe Int -> GetPromotionCodesParametersQueryCreated'OneOf1
-- | gt
[getPromotionCodesParametersQueryCreated'OneOf1Gt] :: GetPromotionCodesParametersQueryCreated'OneOf1 -> Maybe Int
-- | gte
[getPromotionCodesParametersQueryCreated'OneOf1Gte] :: GetPromotionCodesParametersQueryCreated'OneOf1 -> Maybe Int
-- | lt
[getPromotionCodesParametersQueryCreated'OneOf1Lt] :: GetPromotionCodesParametersQueryCreated'OneOf1 -> Maybe Int
-- | lte
[getPromotionCodesParametersQueryCreated'OneOf1Lte] :: GetPromotionCodesParametersQueryCreated'OneOf1 -> Maybe Int
-- | Create a new GetPromotionCodesParametersQueryCreated'OneOf1
-- with all required fields.
mkGetPromotionCodesParametersQueryCreated'OneOf1 :: GetPromotionCodesParametersQueryCreated'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/promotion_codes.GET.parameters.properties.queryCreated.anyOf
-- in the specification.
--
-- Represents the parameter named 'created'
--
-- A filter on the list, based on the object `created` field. The value
-- can be a string with an integer Unix timestamp, or it can be a
-- dictionary with a number of different query options.
data GetPromotionCodesParametersQueryCreated'Variants
GetPromotionCodesParametersQueryCreated'GetPromotionCodesParametersQueryCreated'OneOf1 :: GetPromotionCodesParametersQueryCreated'OneOf1 -> GetPromotionCodesParametersQueryCreated'Variants
GetPromotionCodesParametersQueryCreated'Int :: Int -> GetPromotionCodesParametersQueryCreated'Variants
-- | Represents a response of the operation getPromotionCodes.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetPromotionCodesResponseError is used.
data GetPromotionCodesResponse
-- | Means either no matching case available or a parse error
GetPromotionCodesResponseError :: String -> GetPromotionCodesResponse
-- | Successful response.
GetPromotionCodesResponse200 :: GetPromotionCodesResponseBody200 -> GetPromotionCodesResponse
-- | Error response.
GetPromotionCodesResponseDefault :: Error -> GetPromotionCodesResponse
-- | Defines the object schema located at
-- paths./v1/promotion_codes.GET.responses.200.content.application/json.schema
-- in the specification.
data GetPromotionCodesResponseBody200
GetPromotionCodesResponseBody200 :: [PromotionCode] -> Bool -> Text -> GetPromotionCodesResponseBody200
-- | data
[getPromotionCodesResponseBody200Data] :: GetPromotionCodesResponseBody200 -> [PromotionCode]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[getPromotionCodesResponseBody200HasMore] :: GetPromotionCodesResponseBody200 -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
-- - Must match pattern '^/v1/promotion_codes'
--
[getPromotionCodesResponseBody200Url] :: GetPromotionCodesResponseBody200 -> Text
-- | Create a new GetPromotionCodesResponseBody200 with all required
-- fields.
mkGetPromotionCodesResponseBody200 :: [PromotionCode] -> Bool -> Text -> GetPromotionCodesResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetPromotionCodes.GetPromotionCodesParametersQueryCreated'OneOf1
instance GHC.Show.Show StripeAPI.Operations.GetPromotionCodes.GetPromotionCodesParametersQueryCreated'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.GetPromotionCodes.GetPromotionCodesParametersQueryCreated'Variants
instance GHC.Show.Show StripeAPI.Operations.GetPromotionCodes.GetPromotionCodesParametersQueryCreated'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetPromotionCodes.GetPromotionCodesParameters
instance GHC.Show.Show StripeAPI.Operations.GetPromotionCodes.GetPromotionCodesParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetPromotionCodes.GetPromotionCodesResponseBody200
instance GHC.Show.Show StripeAPI.Operations.GetPromotionCodes.GetPromotionCodesResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetPromotionCodes.GetPromotionCodesResponse
instance GHC.Show.Show StripeAPI.Operations.GetPromotionCodes.GetPromotionCodesResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetPromotionCodes.GetPromotionCodesResponseBody200
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetPromotionCodes.GetPromotionCodesResponseBody200
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetPromotionCodes.GetPromotionCodesParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetPromotionCodes.GetPromotionCodesParameters
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetPromotionCodes.GetPromotionCodesParametersQueryCreated'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetPromotionCodes.GetPromotionCodesParametersQueryCreated'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetPromotionCodes.GetPromotionCodesParametersQueryCreated'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetPromotionCodes.GetPromotionCodesParametersQueryCreated'OneOf1
-- | Contains the different functions to run the operation getProductsId
module StripeAPI.Operations.GetProductsId
-- |
-- GET /v1/products/{id}
--
--
-- <p>Retrieves the details of an existing product. Supply the
-- unique product ID from either a product creation request or the
-- product list, and Stripe will return the corresponding product
-- information.</p>
getProductsId :: forall m. MonadHTTP m => GetProductsIdParameters -> ClientT m (Response GetProductsIdResponse)
-- | Defines the object schema located at
-- paths./v1/products/{id}.GET.parameters in the specification.
data GetProductsIdParameters
GetProductsIdParameters :: Text -> Maybe [Text] -> GetProductsIdParameters
-- | pathId: Represents the parameter named 'id'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getProductsIdParametersPathId] :: GetProductsIdParameters -> Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getProductsIdParametersQueryExpand] :: GetProductsIdParameters -> Maybe [Text]
-- | Create a new GetProductsIdParameters with all required fields.
mkGetProductsIdParameters :: Text -> GetProductsIdParameters
-- | Represents a response of the operation getProductsId.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetProductsIdResponseError is used.
data GetProductsIdResponse
-- | Means either no matching case available or a parse error
GetProductsIdResponseError :: String -> GetProductsIdResponse
-- | Successful response.
GetProductsIdResponse200 :: Product -> GetProductsIdResponse
-- | Error response.
GetProductsIdResponseDefault :: Error -> GetProductsIdResponse
instance GHC.Classes.Eq StripeAPI.Operations.GetProductsId.GetProductsIdParameters
instance GHC.Show.Show StripeAPI.Operations.GetProductsId.GetProductsIdParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetProductsId.GetProductsIdResponse
instance GHC.Show.Show StripeAPI.Operations.GetProductsId.GetProductsIdResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetProductsId.GetProductsIdParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetProductsId.GetProductsIdParameters
-- | Contains the different functions to run the operation getProducts
module StripeAPI.Operations.GetProducts
-- |
-- GET /v1/products
--
--
-- <p>Returns a list of your products. The products are returned
-- sorted by creation date, with the most recently created products
-- appearing first.</p>
getProducts :: forall m. MonadHTTP m => GetProductsParameters -> ClientT m (Response GetProductsResponse)
-- | Defines the object schema located at
-- paths./v1/products.GET.parameters in the specification.
data GetProductsParameters
GetProductsParameters :: Maybe Bool -> Maybe GetProductsParametersQueryCreated'Variants -> Maybe Text -> Maybe [Text] -> Maybe [Text] -> Maybe Int -> Maybe Bool -> Maybe Text -> Maybe Text -> GetProductsParameters
-- | queryActive: Represents the parameter named 'active'
--
-- Only return products that are active or inactive (e.g., pass `false`
-- to list all inactive products).
[getProductsParametersQueryActive] :: GetProductsParameters -> Maybe Bool
-- | queryCreated: Represents the parameter named 'created'
--
-- Only return products that were created during the given date interval.
[getProductsParametersQueryCreated] :: GetProductsParameters -> Maybe GetProductsParametersQueryCreated'Variants
-- | queryEnding_before: Represents the parameter named 'ending_before'
--
-- A cursor for use in pagination. `ending_before` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, starting with `obj_bar`, your
-- subsequent call can include `ending_before=obj_bar` in order to fetch
-- the previous page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getProductsParametersQueryEndingBefore] :: GetProductsParameters -> Maybe Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getProductsParametersQueryExpand] :: GetProductsParameters -> Maybe [Text]
-- | queryIds: Represents the parameter named 'ids'
--
-- Only return products with the given IDs.
[getProductsParametersQueryIds] :: GetProductsParameters -> Maybe [Text]
-- | queryLimit: Represents the parameter named 'limit'
--
-- A limit on the number of objects to be returned. Limit can range
-- between 1 and 100, and the default is 10.
[getProductsParametersQueryLimit] :: GetProductsParameters -> Maybe Int
-- | queryShippable: Represents the parameter named 'shippable'
--
-- Only return products that can be shipped (i.e., physical, not digital
-- products).
[getProductsParametersQueryShippable] :: GetProductsParameters -> Maybe Bool
-- | queryStarting_after: Represents the parameter named 'starting_after'
--
-- A cursor for use in pagination. `starting_after` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, ending with `obj_foo`, your
-- subsequent call can include `starting_after=obj_foo` in order to fetch
-- the next page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getProductsParametersQueryStartingAfter] :: GetProductsParameters -> Maybe Text
-- | queryUrl: Represents the parameter named 'url'
--
-- Only return products with the given url.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getProductsParametersQueryUrl] :: GetProductsParameters -> Maybe Text
-- | Create a new GetProductsParameters with all required fields.
mkGetProductsParameters :: GetProductsParameters
-- | Defines the object schema located at
-- paths./v1/products.GET.parameters.properties.queryCreated.anyOf
-- in the specification.
data GetProductsParametersQueryCreated'OneOf1
GetProductsParametersQueryCreated'OneOf1 :: Maybe Int -> Maybe Int -> Maybe Int -> Maybe Int -> GetProductsParametersQueryCreated'OneOf1
-- | gt
[getProductsParametersQueryCreated'OneOf1Gt] :: GetProductsParametersQueryCreated'OneOf1 -> Maybe Int
-- | gte
[getProductsParametersQueryCreated'OneOf1Gte] :: GetProductsParametersQueryCreated'OneOf1 -> Maybe Int
-- | lt
[getProductsParametersQueryCreated'OneOf1Lt] :: GetProductsParametersQueryCreated'OneOf1 -> Maybe Int
-- | lte
[getProductsParametersQueryCreated'OneOf1Lte] :: GetProductsParametersQueryCreated'OneOf1 -> Maybe Int
-- | Create a new GetProductsParametersQueryCreated'OneOf1 with all
-- required fields.
mkGetProductsParametersQueryCreated'OneOf1 :: GetProductsParametersQueryCreated'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/products.GET.parameters.properties.queryCreated.anyOf
-- in the specification.
--
-- Represents the parameter named 'created'
--
-- Only return products that were created during the given date interval.
data GetProductsParametersQueryCreated'Variants
GetProductsParametersQueryCreated'GetProductsParametersQueryCreated'OneOf1 :: GetProductsParametersQueryCreated'OneOf1 -> GetProductsParametersQueryCreated'Variants
GetProductsParametersQueryCreated'Int :: Int -> GetProductsParametersQueryCreated'Variants
-- | Represents a response of the operation getProducts.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetProductsResponseError is used.
data GetProductsResponse
-- | Means either no matching case available or a parse error
GetProductsResponseError :: String -> GetProductsResponse
-- | Successful response.
GetProductsResponse200 :: GetProductsResponseBody200 -> GetProductsResponse
-- | Error response.
GetProductsResponseDefault :: Error -> GetProductsResponse
-- | Defines the object schema located at
-- paths./v1/products.GET.responses.200.content.application/json.schema
-- in the specification.
data GetProductsResponseBody200
GetProductsResponseBody200 :: [Product] -> Bool -> Text -> GetProductsResponseBody200
-- | data
[getProductsResponseBody200Data] :: GetProductsResponseBody200 -> [Product]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[getProductsResponseBody200HasMore] :: GetProductsResponseBody200 -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
-- - Must match pattern '^/v1/products'
--
[getProductsResponseBody200Url] :: GetProductsResponseBody200 -> Text
-- | Create a new GetProductsResponseBody200 with all required
-- fields.
mkGetProductsResponseBody200 :: [Product] -> Bool -> Text -> GetProductsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetProducts.GetProductsParametersQueryCreated'OneOf1
instance GHC.Show.Show StripeAPI.Operations.GetProducts.GetProductsParametersQueryCreated'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.GetProducts.GetProductsParametersQueryCreated'Variants
instance GHC.Show.Show StripeAPI.Operations.GetProducts.GetProductsParametersQueryCreated'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetProducts.GetProductsParameters
instance GHC.Show.Show StripeAPI.Operations.GetProducts.GetProductsParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetProducts.GetProductsResponseBody200
instance GHC.Show.Show StripeAPI.Operations.GetProducts.GetProductsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetProducts.GetProductsResponse
instance GHC.Show.Show StripeAPI.Operations.GetProducts.GetProductsResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetProducts.GetProductsResponseBody200
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetProducts.GetProductsResponseBody200
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetProducts.GetProductsParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetProducts.GetProductsParameters
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetProducts.GetProductsParametersQueryCreated'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetProducts.GetProductsParametersQueryCreated'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetProducts.GetProductsParametersQueryCreated'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetProducts.GetProductsParametersQueryCreated'OneOf1
-- | Contains the different functions to run the operation getPricesPrice
module StripeAPI.Operations.GetPricesPrice
-- |
-- GET /v1/prices/{price}
--
--
-- <p>Retrieves the price with the given ID.</p>
getPricesPrice :: forall m. MonadHTTP m => GetPricesPriceParameters -> ClientT m (Response GetPricesPriceResponse)
-- | Defines the object schema located at
-- paths./v1/prices/{price}.GET.parameters in the specification.
data GetPricesPriceParameters
GetPricesPriceParameters :: Text -> Maybe [Text] -> GetPricesPriceParameters
-- | pathPrice: Represents the parameter named 'price'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getPricesPriceParametersPathPrice] :: GetPricesPriceParameters -> Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getPricesPriceParametersQueryExpand] :: GetPricesPriceParameters -> Maybe [Text]
-- | Create a new GetPricesPriceParameters with all required fields.
mkGetPricesPriceParameters :: Text -> GetPricesPriceParameters
-- | Represents a response of the operation getPricesPrice.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetPricesPriceResponseError is used.
data GetPricesPriceResponse
-- | Means either no matching case available or a parse error
GetPricesPriceResponseError :: String -> GetPricesPriceResponse
-- | Successful response.
GetPricesPriceResponse200 :: Price -> GetPricesPriceResponse
-- | Error response.
GetPricesPriceResponseDefault :: Error -> GetPricesPriceResponse
instance GHC.Classes.Eq StripeAPI.Operations.GetPricesPrice.GetPricesPriceParameters
instance GHC.Show.Show StripeAPI.Operations.GetPricesPrice.GetPricesPriceParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetPricesPrice.GetPricesPriceResponse
instance GHC.Show.Show StripeAPI.Operations.GetPricesPrice.GetPricesPriceResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetPricesPrice.GetPricesPriceParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetPricesPrice.GetPricesPriceParameters
-- | Contains the different functions to run the operation getPrices
module StripeAPI.Operations.GetPrices
-- |
-- GET /v1/prices
--
--
-- <p>Returns a list of your prices.</p>
getPrices :: forall m. MonadHTTP m => GetPricesParameters -> ClientT m (Response GetPricesResponse)
-- | Defines the object schema located at
-- paths./v1/prices.GET.parameters in the specification.
data GetPricesParameters
GetPricesParameters :: Maybe Bool -> Maybe GetPricesParametersQueryCreated'Variants -> Maybe Text -> Maybe Text -> Maybe [Text] -> Maybe Int -> Maybe [Text] -> Maybe Text -> Maybe GetPricesParametersQueryRecurring' -> Maybe Text -> Maybe GetPricesParametersQueryType' -> GetPricesParameters
-- | queryActive: Represents the parameter named 'active'
--
-- Only return prices that are active or inactive (e.g., pass `false` to
-- list all inactive prices).
[getPricesParametersQueryActive] :: GetPricesParameters -> Maybe Bool
-- | queryCreated: Represents the parameter named 'created'
--
-- A filter on the list, based on the object `created` field. The value
-- can be a string with an integer Unix timestamp, or it can be a
-- dictionary with a number of different query options.
[getPricesParametersQueryCreated] :: GetPricesParameters -> Maybe GetPricesParametersQueryCreated'Variants
-- | queryCurrency: Represents the parameter named 'currency'
--
-- Only return prices for the given currency.
[getPricesParametersQueryCurrency] :: GetPricesParameters -> Maybe Text
-- | queryEnding_before: Represents the parameter named 'ending_before'
--
-- A cursor for use in pagination. `ending_before` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, starting with `obj_bar`, your
-- subsequent call can include `ending_before=obj_bar` in order to fetch
-- the previous page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getPricesParametersQueryEndingBefore] :: GetPricesParameters -> Maybe Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getPricesParametersQueryExpand] :: GetPricesParameters -> Maybe [Text]
-- | queryLimit: Represents the parameter named 'limit'
--
-- A limit on the number of objects to be returned. Limit can range
-- between 1 and 100, and the default is 10.
[getPricesParametersQueryLimit] :: GetPricesParameters -> Maybe Int
-- | queryLookup_keys: Represents the parameter named 'lookup_keys'
--
-- Only return the price with these lookup_keys, if any exist.
[getPricesParametersQueryLookupKeys] :: GetPricesParameters -> Maybe [Text]
-- | queryProduct: Represents the parameter named 'product'
--
-- Only return prices for the given product.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getPricesParametersQueryProduct] :: GetPricesParameters -> Maybe Text
-- | queryRecurring: Represents the parameter named 'recurring'
--
-- Only return prices with these recurring fields.
[getPricesParametersQueryRecurring] :: GetPricesParameters -> Maybe GetPricesParametersQueryRecurring'
-- | queryStarting_after: Represents the parameter named 'starting_after'
--
-- A cursor for use in pagination. `starting_after` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, ending with `obj_foo`, your
-- subsequent call can include `starting_after=obj_foo` in order to fetch
-- the next page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getPricesParametersQueryStartingAfter] :: GetPricesParameters -> Maybe Text
-- | queryType: Represents the parameter named 'type'
--
-- Only return prices of type `recurring` or `one_time`.
[getPricesParametersQueryType] :: GetPricesParameters -> Maybe GetPricesParametersQueryType'
-- | Create a new GetPricesParameters with all required fields.
mkGetPricesParameters :: GetPricesParameters
-- | Defines the object schema located at
-- paths./v1/prices.GET.parameters.properties.queryCreated.anyOf
-- in the specification.
data GetPricesParametersQueryCreated'OneOf1
GetPricesParametersQueryCreated'OneOf1 :: Maybe Int -> Maybe Int -> Maybe Int -> Maybe Int -> GetPricesParametersQueryCreated'OneOf1
-- | gt
[getPricesParametersQueryCreated'OneOf1Gt] :: GetPricesParametersQueryCreated'OneOf1 -> Maybe Int
-- | gte
[getPricesParametersQueryCreated'OneOf1Gte] :: GetPricesParametersQueryCreated'OneOf1 -> Maybe Int
-- | lt
[getPricesParametersQueryCreated'OneOf1Lt] :: GetPricesParametersQueryCreated'OneOf1 -> Maybe Int
-- | lte
[getPricesParametersQueryCreated'OneOf1Lte] :: GetPricesParametersQueryCreated'OneOf1 -> Maybe Int
-- | Create a new GetPricesParametersQueryCreated'OneOf1 with all
-- required fields.
mkGetPricesParametersQueryCreated'OneOf1 :: GetPricesParametersQueryCreated'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/prices.GET.parameters.properties.queryCreated.anyOf
-- in the specification.
--
-- Represents the parameter named 'created'
--
-- A filter on the list, based on the object `created` field. The value
-- can be a string with an integer Unix timestamp, or it can be a
-- dictionary with a number of different query options.
data GetPricesParametersQueryCreated'Variants
GetPricesParametersQueryCreated'GetPricesParametersQueryCreated'OneOf1 :: GetPricesParametersQueryCreated'OneOf1 -> GetPricesParametersQueryCreated'Variants
GetPricesParametersQueryCreated'Int :: Int -> GetPricesParametersQueryCreated'Variants
-- | Defines the object schema located at
-- paths./v1/prices.GET.parameters.properties.queryRecurring in
-- the specification.
--
-- Represents the parameter named 'recurring'
--
-- Only return prices with these recurring fields.
data GetPricesParametersQueryRecurring'
GetPricesParametersQueryRecurring' :: Maybe GetPricesParametersQueryRecurring'Interval' -> Maybe GetPricesParametersQueryRecurring'UsageType' -> GetPricesParametersQueryRecurring'
-- | interval
[getPricesParametersQueryRecurring'Interval] :: GetPricesParametersQueryRecurring' -> Maybe GetPricesParametersQueryRecurring'Interval'
-- | usage_type
[getPricesParametersQueryRecurring'UsageType] :: GetPricesParametersQueryRecurring' -> Maybe GetPricesParametersQueryRecurring'UsageType'
-- | Create a new GetPricesParametersQueryRecurring' with all
-- required fields.
mkGetPricesParametersQueryRecurring' :: GetPricesParametersQueryRecurring'
-- | Defines the enum schema located at
-- paths./v1/prices.GET.parameters.properties.queryRecurring.properties.interval
-- in the specification.
data GetPricesParametersQueryRecurring'Interval'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
GetPricesParametersQueryRecurring'Interval'Other :: Value -> GetPricesParametersQueryRecurring'Interval'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
GetPricesParametersQueryRecurring'Interval'Typed :: Text -> GetPricesParametersQueryRecurring'Interval'
-- | Represents the JSON value "day"
GetPricesParametersQueryRecurring'Interval'EnumDay :: GetPricesParametersQueryRecurring'Interval'
-- | Represents the JSON value "month"
GetPricesParametersQueryRecurring'Interval'EnumMonth :: GetPricesParametersQueryRecurring'Interval'
-- | Represents the JSON value "week"
GetPricesParametersQueryRecurring'Interval'EnumWeek :: GetPricesParametersQueryRecurring'Interval'
-- | Represents the JSON value "year"
GetPricesParametersQueryRecurring'Interval'EnumYear :: GetPricesParametersQueryRecurring'Interval'
-- | Defines the enum schema located at
-- paths./v1/prices.GET.parameters.properties.queryRecurring.properties.usage_type
-- in the specification.
data GetPricesParametersQueryRecurring'UsageType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
GetPricesParametersQueryRecurring'UsageType'Other :: Value -> GetPricesParametersQueryRecurring'UsageType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
GetPricesParametersQueryRecurring'UsageType'Typed :: Text -> GetPricesParametersQueryRecurring'UsageType'
-- | Represents the JSON value "licensed"
GetPricesParametersQueryRecurring'UsageType'EnumLicensed :: GetPricesParametersQueryRecurring'UsageType'
-- | Represents the JSON value "metered"
GetPricesParametersQueryRecurring'UsageType'EnumMetered :: GetPricesParametersQueryRecurring'UsageType'
-- | Defines the enum schema located at
-- paths./v1/prices.GET.parameters.properties.queryType in the
-- specification.
--
-- Represents the parameter named 'type'
--
-- Only return prices of type `recurring` or `one_time`.
data GetPricesParametersQueryType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
GetPricesParametersQueryType'Other :: Value -> GetPricesParametersQueryType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
GetPricesParametersQueryType'Typed :: Text -> GetPricesParametersQueryType'
-- | Represents the JSON value "one_time"
GetPricesParametersQueryType'EnumOneTime :: GetPricesParametersQueryType'
-- | Represents the JSON value "recurring"
GetPricesParametersQueryType'EnumRecurring :: GetPricesParametersQueryType'
-- | Represents a response of the operation getPrices.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetPricesResponseError is used.
data GetPricesResponse
-- | Means either no matching case available or a parse error
GetPricesResponseError :: String -> GetPricesResponse
-- | Successful response.
GetPricesResponse200 :: GetPricesResponseBody200 -> GetPricesResponse
-- | Error response.
GetPricesResponseDefault :: Error -> GetPricesResponse
-- | Defines the object schema located at
-- paths./v1/prices.GET.responses.200.content.application/json.schema
-- in the specification.
data GetPricesResponseBody200
GetPricesResponseBody200 :: [Price] -> Bool -> Text -> GetPricesResponseBody200
-- | data: Details about each object.
[getPricesResponseBody200Data] :: GetPricesResponseBody200 -> [Price]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[getPricesResponseBody200HasMore] :: GetPricesResponseBody200 -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
-- - Must match pattern '^/v1/prices'
--
[getPricesResponseBody200Url] :: GetPricesResponseBody200 -> Text
-- | Create a new GetPricesResponseBody200 with all required fields.
mkGetPricesResponseBody200 :: [Price] -> Bool -> Text -> GetPricesResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetPrices.GetPricesParametersQueryCreated'OneOf1
instance GHC.Show.Show StripeAPI.Operations.GetPrices.GetPricesParametersQueryCreated'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.GetPrices.GetPricesParametersQueryCreated'Variants
instance GHC.Show.Show StripeAPI.Operations.GetPrices.GetPricesParametersQueryCreated'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetPrices.GetPricesParametersQueryRecurring'Interval'
instance GHC.Show.Show StripeAPI.Operations.GetPrices.GetPricesParametersQueryRecurring'Interval'
instance GHC.Classes.Eq StripeAPI.Operations.GetPrices.GetPricesParametersQueryRecurring'UsageType'
instance GHC.Show.Show StripeAPI.Operations.GetPrices.GetPricesParametersQueryRecurring'UsageType'
instance GHC.Classes.Eq StripeAPI.Operations.GetPrices.GetPricesParametersQueryRecurring'
instance GHC.Show.Show StripeAPI.Operations.GetPrices.GetPricesParametersQueryRecurring'
instance GHC.Classes.Eq StripeAPI.Operations.GetPrices.GetPricesParametersQueryType'
instance GHC.Show.Show StripeAPI.Operations.GetPrices.GetPricesParametersQueryType'
instance GHC.Classes.Eq StripeAPI.Operations.GetPrices.GetPricesParameters
instance GHC.Show.Show StripeAPI.Operations.GetPrices.GetPricesParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetPrices.GetPricesResponseBody200
instance GHC.Show.Show StripeAPI.Operations.GetPrices.GetPricesResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetPrices.GetPricesResponse
instance GHC.Show.Show StripeAPI.Operations.GetPrices.GetPricesResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetPrices.GetPricesResponseBody200
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetPrices.GetPricesResponseBody200
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetPrices.GetPricesParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetPrices.GetPricesParameters
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetPrices.GetPricesParametersQueryType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetPrices.GetPricesParametersQueryType'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetPrices.GetPricesParametersQueryRecurring'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetPrices.GetPricesParametersQueryRecurring'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetPrices.GetPricesParametersQueryRecurring'UsageType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetPrices.GetPricesParametersQueryRecurring'UsageType'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetPrices.GetPricesParametersQueryRecurring'Interval'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetPrices.GetPricesParametersQueryRecurring'Interval'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetPrices.GetPricesParametersQueryCreated'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetPrices.GetPricesParametersQueryCreated'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetPrices.GetPricesParametersQueryCreated'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetPrices.GetPricesParametersQueryCreated'OneOf1
-- | Contains the different functions to run the operation getPlansPlan
module StripeAPI.Operations.GetPlansPlan
-- |
-- GET /v1/plans/{plan}
--
--
-- <p>Retrieves the plan with the given ID.</p>
getPlansPlan :: forall m. MonadHTTP m => GetPlansPlanParameters -> ClientT m (Response GetPlansPlanResponse)
-- | Defines the object schema located at
-- paths./v1/plans/{plan}.GET.parameters in the specification.
data GetPlansPlanParameters
GetPlansPlanParameters :: Text -> Maybe [Text] -> GetPlansPlanParameters
-- | pathPlan: Represents the parameter named 'plan'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getPlansPlanParametersPathPlan] :: GetPlansPlanParameters -> Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getPlansPlanParametersQueryExpand] :: GetPlansPlanParameters -> Maybe [Text]
-- | Create a new GetPlansPlanParameters with all required fields.
mkGetPlansPlanParameters :: Text -> GetPlansPlanParameters
-- | Represents a response of the operation getPlansPlan.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetPlansPlanResponseError is used.
data GetPlansPlanResponse
-- | Means either no matching case available or a parse error
GetPlansPlanResponseError :: String -> GetPlansPlanResponse
-- | Successful response.
GetPlansPlanResponse200 :: Plan -> GetPlansPlanResponse
-- | Error response.
GetPlansPlanResponseDefault :: Error -> GetPlansPlanResponse
instance GHC.Classes.Eq StripeAPI.Operations.GetPlansPlan.GetPlansPlanParameters
instance GHC.Show.Show StripeAPI.Operations.GetPlansPlan.GetPlansPlanParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetPlansPlan.GetPlansPlanResponse
instance GHC.Show.Show StripeAPI.Operations.GetPlansPlan.GetPlansPlanResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetPlansPlan.GetPlansPlanParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetPlansPlan.GetPlansPlanParameters
-- | Contains the different functions to run the operation getPlans
module StripeAPI.Operations.GetPlans
-- |
-- GET /v1/plans
--
--
-- <p>Returns a list of your plans.</p>
getPlans :: forall m. MonadHTTP m => GetPlansParameters -> ClientT m (Response GetPlansResponse)
-- | Defines the object schema located at
-- paths./v1/plans.GET.parameters in the specification.
data GetPlansParameters
GetPlansParameters :: Maybe Bool -> Maybe GetPlansParametersQueryCreated'Variants -> Maybe Text -> Maybe [Text] -> Maybe Int -> Maybe Text -> Maybe Text -> GetPlansParameters
-- | queryActive: Represents the parameter named 'active'
--
-- Only return plans that are active or inactive (e.g., pass `false` to
-- list all inactive plans).
[getPlansParametersQueryActive] :: GetPlansParameters -> Maybe Bool
-- | queryCreated: Represents the parameter named 'created'
--
-- A filter on the list, based on the object `created` field. The value
-- can be a string with an integer Unix timestamp, or it can be a
-- dictionary with a number of different query options.
[getPlansParametersQueryCreated] :: GetPlansParameters -> Maybe GetPlansParametersQueryCreated'Variants
-- | queryEnding_before: Represents the parameter named 'ending_before'
--
-- A cursor for use in pagination. `ending_before` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, starting with `obj_bar`, your
-- subsequent call can include `ending_before=obj_bar` in order to fetch
-- the previous page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getPlansParametersQueryEndingBefore] :: GetPlansParameters -> Maybe Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getPlansParametersQueryExpand] :: GetPlansParameters -> Maybe [Text]
-- | queryLimit: Represents the parameter named 'limit'
--
-- A limit on the number of objects to be returned. Limit can range
-- between 1 and 100, and the default is 10.
[getPlansParametersQueryLimit] :: GetPlansParameters -> Maybe Int
-- | queryProduct: Represents the parameter named 'product'
--
-- Only return plans for the given product.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getPlansParametersQueryProduct] :: GetPlansParameters -> Maybe Text
-- | queryStarting_after: Represents the parameter named 'starting_after'
--
-- A cursor for use in pagination. `starting_after` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, ending with `obj_foo`, your
-- subsequent call can include `starting_after=obj_foo` in order to fetch
-- the next page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getPlansParametersQueryStartingAfter] :: GetPlansParameters -> Maybe Text
-- | Create a new GetPlansParameters with all required fields.
mkGetPlansParameters :: GetPlansParameters
-- | Defines the object schema located at
-- paths./v1/plans.GET.parameters.properties.queryCreated.anyOf
-- in the specification.
data GetPlansParametersQueryCreated'OneOf1
GetPlansParametersQueryCreated'OneOf1 :: Maybe Int -> Maybe Int -> Maybe Int -> Maybe Int -> GetPlansParametersQueryCreated'OneOf1
-- | gt
[getPlansParametersQueryCreated'OneOf1Gt] :: GetPlansParametersQueryCreated'OneOf1 -> Maybe Int
-- | gte
[getPlansParametersQueryCreated'OneOf1Gte] :: GetPlansParametersQueryCreated'OneOf1 -> Maybe Int
-- | lt
[getPlansParametersQueryCreated'OneOf1Lt] :: GetPlansParametersQueryCreated'OneOf1 -> Maybe Int
-- | lte
[getPlansParametersQueryCreated'OneOf1Lte] :: GetPlansParametersQueryCreated'OneOf1 -> Maybe Int
-- | Create a new GetPlansParametersQueryCreated'OneOf1 with all
-- required fields.
mkGetPlansParametersQueryCreated'OneOf1 :: GetPlansParametersQueryCreated'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/plans.GET.parameters.properties.queryCreated.anyOf
-- in the specification.
--
-- Represents the parameter named 'created'
--
-- A filter on the list, based on the object `created` field. The value
-- can be a string with an integer Unix timestamp, or it can be a
-- dictionary with a number of different query options.
data GetPlansParametersQueryCreated'Variants
GetPlansParametersQueryCreated'GetPlansParametersQueryCreated'OneOf1 :: GetPlansParametersQueryCreated'OneOf1 -> GetPlansParametersQueryCreated'Variants
GetPlansParametersQueryCreated'Int :: Int -> GetPlansParametersQueryCreated'Variants
-- | Represents a response of the operation getPlans.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetPlansResponseError is used.
data GetPlansResponse
-- | Means either no matching case available or a parse error
GetPlansResponseError :: String -> GetPlansResponse
-- | Successful response.
GetPlansResponse200 :: GetPlansResponseBody200 -> GetPlansResponse
-- | Error response.
GetPlansResponseDefault :: Error -> GetPlansResponse
-- | Defines the object schema located at
-- paths./v1/plans.GET.responses.200.content.application/json.schema
-- in the specification.
data GetPlansResponseBody200
GetPlansResponseBody200 :: [Plan] -> Bool -> Text -> GetPlansResponseBody200
-- | data: Details about each object.
[getPlansResponseBody200Data] :: GetPlansResponseBody200 -> [Plan]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[getPlansResponseBody200HasMore] :: GetPlansResponseBody200 -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
-- - Must match pattern '^/v1/plans'
--
[getPlansResponseBody200Url] :: GetPlansResponseBody200 -> Text
-- | Create a new GetPlansResponseBody200 with all required fields.
mkGetPlansResponseBody200 :: [Plan] -> Bool -> Text -> GetPlansResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetPlans.GetPlansParametersQueryCreated'OneOf1
instance GHC.Show.Show StripeAPI.Operations.GetPlans.GetPlansParametersQueryCreated'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.GetPlans.GetPlansParametersQueryCreated'Variants
instance GHC.Show.Show StripeAPI.Operations.GetPlans.GetPlansParametersQueryCreated'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetPlans.GetPlansParameters
instance GHC.Show.Show StripeAPI.Operations.GetPlans.GetPlansParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetPlans.GetPlansResponseBody200
instance GHC.Show.Show StripeAPI.Operations.GetPlans.GetPlansResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetPlans.GetPlansResponse
instance GHC.Show.Show StripeAPI.Operations.GetPlans.GetPlansResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetPlans.GetPlansResponseBody200
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetPlans.GetPlansResponseBody200
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetPlans.GetPlansParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetPlans.GetPlansParameters
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetPlans.GetPlansParametersQueryCreated'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetPlans.GetPlansParametersQueryCreated'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetPlans.GetPlansParametersQueryCreated'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetPlans.GetPlansParametersQueryCreated'OneOf1
-- | Contains the different functions to run the operation getPayoutsPayout
module StripeAPI.Operations.GetPayoutsPayout
-- |
-- GET /v1/payouts/{payout}
--
--
-- <p>Retrieves the details of an existing payout. Supply the
-- unique payout ID from either a payout creation request or the payout
-- list, and Stripe will return the corresponding payout
-- information.</p>
getPayoutsPayout :: forall m. MonadHTTP m => GetPayoutsPayoutParameters -> ClientT m (Response GetPayoutsPayoutResponse)
-- | Defines the object schema located at
-- paths./v1/payouts/{payout}.GET.parameters in the
-- specification.
data GetPayoutsPayoutParameters
GetPayoutsPayoutParameters :: Text -> Maybe [Text] -> GetPayoutsPayoutParameters
-- | pathPayout: Represents the parameter named 'payout'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getPayoutsPayoutParametersPathPayout] :: GetPayoutsPayoutParameters -> Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getPayoutsPayoutParametersQueryExpand] :: GetPayoutsPayoutParameters -> Maybe [Text]
-- | Create a new GetPayoutsPayoutParameters with all required
-- fields.
mkGetPayoutsPayoutParameters :: Text -> GetPayoutsPayoutParameters
-- | Represents a response of the operation getPayoutsPayout.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetPayoutsPayoutResponseError is used.
data GetPayoutsPayoutResponse
-- | Means either no matching case available or a parse error
GetPayoutsPayoutResponseError :: String -> GetPayoutsPayoutResponse
-- | Successful response.
GetPayoutsPayoutResponse200 :: Payout -> GetPayoutsPayoutResponse
-- | Error response.
GetPayoutsPayoutResponseDefault :: Error -> GetPayoutsPayoutResponse
instance GHC.Classes.Eq StripeAPI.Operations.GetPayoutsPayout.GetPayoutsPayoutParameters
instance GHC.Show.Show StripeAPI.Operations.GetPayoutsPayout.GetPayoutsPayoutParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetPayoutsPayout.GetPayoutsPayoutResponse
instance GHC.Show.Show StripeAPI.Operations.GetPayoutsPayout.GetPayoutsPayoutResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetPayoutsPayout.GetPayoutsPayoutParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetPayoutsPayout.GetPayoutsPayoutParameters
-- | Contains the different functions to run the operation getPayouts
module StripeAPI.Operations.GetPayouts
-- |
-- GET /v1/payouts
--
--
-- <p>Returns a list of existing payouts sent to third-party bank
-- accounts or that Stripe has sent you. The payouts are returned in
-- sorted order, with the most recently created payouts appearing
-- first.</p>
getPayouts :: forall m. MonadHTTP m => GetPayoutsParameters -> ClientT m (Response GetPayoutsResponse)
-- | Defines the object schema located at
-- paths./v1/payouts.GET.parameters in the specification.
data GetPayoutsParameters
GetPayoutsParameters :: Maybe GetPayoutsParametersQueryArrivalDate'Variants -> Maybe GetPayoutsParametersQueryCreated'Variants -> Maybe Text -> Maybe Text -> Maybe [Text] -> Maybe Int -> Maybe Text -> Maybe Text -> GetPayoutsParameters
-- | queryArrival_date: Represents the parameter named 'arrival_date'
[getPayoutsParametersQueryArrivalDate] :: GetPayoutsParameters -> Maybe GetPayoutsParametersQueryArrivalDate'Variants
-- | queryCreated: Represents the parameter named 'created'
[getPayoutsParametersQueryCreated] :: GetPayoutsParameters -> Maybe GetPayoutsParametersQueryCreated'Variants
-- | queryDestination: Represents the parameter named 'destination'
--
-- The ID of an external account - only return payouts sent to this
-- external account.
[getPayoutsParametersQueryDestination] :: GetPayoutsParameters -> Maybe Text
-- | queryEnding_before: Represents the parameter named 'ending_before'
--
-- A cursor for use in pagination. `ending_before` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, starting with `obj_bar`, your
-- subsequent call can include `ending_before=obj_bar` in order to fetch
-- the previous page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getPayoutsParametersQueryEndingBefore] :: GetPayoutsParameters -> Maybe Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getPayoutsParametersQueryExpand] :: GetPayoutsParameters -> Maybe [Text]
-- | queryLimit: Represents the parameter named 'limit'
--
-- A limit on the number of objects to be returned. Limit can range
-- between 1 and 100, and the default is 10.
[getPayoutsParametersQueryLimit] :: GetPayoutsParameters -> Maybe Int
-- | queryStarting_after: Represents the parameter named 'starting_after'
--
-- A cursor for use in pagination. `starting_after` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, ending with `obj_foo`, your
-- subsequent call can include `starting_after=obj_foo` in order to fetch
-- the next page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getPayoutsParametersQueryStartingAfter] :: GetPayoutsParameters -> Maybe Text
-- | queryStatus: Represents the parameter named 'status'
--
-- Only return payouts that have the given status: `pending`, `paid`,
-- `failed`, or `canceled`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getPayoutsParametersQueryStatus] :: GetPayoutsParameters -> Maybe Text
-- | Create a new GetPayoutsParameters with all required fields.
mkGetPayoutsParameters :: GetPayoutsParameters
-- | Defines the object schema located at
-- paths./v1/payouts.GET.parameters.properties.queryArrival_date.anyOf
-- in the specification.
data GetPayoutsParametersQueryArrivalDate'OneOf1
GetPayoutsParametersQueryArrivalDate'OneOf1 :: Maybe Int -> Maybe Int -> Maybe Int -> Maybe Int -> GetPayoutsParametersQueryArrivalDate'OneOf1
-- | gt
[getPayoutsParametersQueryArrivalDate'OneOf1Gt] :: GetPayoutsParametersQueryArrivalDate'OneOf1 -> Maybe Int
-- | gte
[getPayoutsParametersQueryArrivalDate'OneOf1Gte] :: GetPayoutsParametersQueryArrivalDate'OneOf1 -> Maybe Int
-- | lt
[getPayoutsParametersQueryArrivalDate'OneOf1Lt] :: GetPayoutsParametersQueryArrivalDate'OneOf1 -> Maybe Int
-- | lte
[getPayoutsParametersQueryArrivalDate'OneOf1Lte] :: GetPayoutsParametersQueryArrivalDate'OneOf1 -> Maybe Int
-- | Create a new GetPayoutsParametersQueryArrivalDate'OneOf1 with
-- all required fields.
mkGetPayoutsParametersQueryArrivalDate'OneOf1 :: GetPayoutsParametersQueryArrivalDate'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/payouts.GET.parameters.properties.queryArrival_date.anyOf
-- in the specification.
--
-- Represents the parameter named 'arrival_date'
data GetPayoutsParametersQueryArrivalDate'Variants
GetPayoutsParametersQueryArrivalDate'GetPayoutsParametersQueryArrivalDate'OneOf1 :: GetPayoutsParametersQueryArrivalDate'OneOf1 -> GetPayoutsParametersQueryArrivalDate'Variants
GetPayoutsParametersQueryArrivalDate'Int :: Int -> GetPayoutsParametersQueryArrivalDate'Variants
-- | Defines the object schema located at
-- paths./v1/payouts.GET.parameters.properties.queryCreated.anyOf
-- in the specification.
data GetPayoutsParametersQueryCreated'OneOf1
GetPayoutsParametersQueryCreated'OneOf1 :: Maybe Int -> Maybe Int -> Maybe Int -> Maybe Int -> GetPayoutsParametersQueryCreated'OneOf1
-- | gt
[getPayoutsParametersQueryCreated'OneOf1Gt] :: GetPayoutsParametersQueryCreated'OneOf1 -> Maybe Int
-- | gte
[getPayoutsParametersQueryCreated'OneOf1Gte] :: GetPayoutsParametersQueryCreated'OneOf1 -> Maybe Int
-- | lt
[getPayoutsParametersQueryCreated'OneOf1Lt] :: GetPayoutsParametersQueryCreated'OneOf1 -> Maybe Int
-- | lte
[getPayoutsParametersQueryCreated'OneOf1Lte] :: GetPayoutsParametersQueryCreated'OneOf1 -> Maybe Int
-- | Create a new GetPayoutsParametersQueryCreated'OneOf1 with all
-- required fields.
mkGetPayoutsParametersQueryCreated'OneOf1 :: GetPayoutsParametersQueryCreated'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/payouts.GET.parameters.properties.queryCreated.anyOf
-- in the specification.
--
-- Represents the parameter named 'created'
data GetPayoutsParametersQueryCreated'Variants
GetPayoutsParametersQueryCreated'GetPayoutsParametersQueryCreated'OneOf1 :: GetPayoutsParametersQueryCreated'OneOf1 -> GetPayoutsParametersQueryCreated'Variants
GetPayoutsParametersQueryCreated'Int :: Int -> GetPayoutsParametersQueryCreated'Variants
-- | Represents a response of the operation getPayouts.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetPayoutsResponseError is used.
data GetPayoutsResponse
-- | Means either no matching case available or a parse error
GetPayoutsResponseError :: String -> GetPayoutsResponse
-- | Successful response.
GetPayoutsResponse200 :: GetPayoutsResponseBody200 -> GetPayoutsResponse
-- | Error response.
GetPayoutsResponseDefault :: Error -> GetPayoutsResponse
-- | Defines the object schema located at
-- paths./v1/payouts.GET.responses.200.content.application/json.schema
-- in the specification.
data GetPayoutsResponseBody200
GetPayoutsResponseBody200 :: [Payout] -> Bool -> Text -> GetPayoutsResponseBody200
-- | data
[getPayoutsResponseBody200Data] :: GetPayoutsResponseBody200 -> [Payout]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[getPayoutsResponseBody200HasMore] :: GetPayoutsResponseBody200 -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
-- - Must match pattern '^/v1/payouts'
--
[getPayoutsResponseBody200Url] :: GetPayoutsResponseBody200 -> Text
-- | Create a new GetPayoutsResponseBody200 with all required
-- fields.
mkGetPayoutsResponseBody200 :: [Payout] -> Bool -> Text -> GetPayoutsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetPayouts.GetPayoutsParametersQueryArrivalDate'OneOf1
instance GHC.Show.Show StripeAPI.Operations.GetPayouts.GetPayoutsParametersQueryArrivalDate'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.GetPayouts.GetPayoutsParametersQueryArrivalDate'Variants
instance GHC.Show.Show StripeAPI.Operations.GetPayouts.GetPayoutsParametersQueryArrivalDate'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetPayouts.GetPayoutsParametersQueryCreated'OneOf1
instance GHC.Show.Show StripeAPI.Operations.GetPayouts.GetPayoutsParametersQueryCreated'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.GetPayouts.GetPayoutsParametersQueryCreated'Variants
instance GHC.Show.Show StripeAPI.Operations.GetPayouts.GetPayoutsParametersQueryCreated'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetPayouts.GetPayoutsParameters
instance GHC.Show.Show StripeAPI.Operations.GetPayouts.GetPayoutsParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetPayouts.GetPayoutsResponseBody200
instance GHC.Show.Show StripeAPI.Operations.GetPayouts.GetPayoutsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetPayouts.GetPayoutsResponse
instance GHC.Show.Show StripeAPI.Operations.GetPayouts.GetPayoutsResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetPayouts.GetPayoutsResponseBody200
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetPayouts.GetPayoutsResponseBody200
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetPayouts.GetPayoutsParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetPayouts.GetPayoutsParameters
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetPayouts.GetPayoutsParametersQueryCreated'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetPayouts.GetPayoutsParametersQueryCreated'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetPayouts.GetPayoutsParametersQueryCreated'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetPayouts.GetPayoutsParametersQueryCreated'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetPayouts.GetPayoutsParametersQueryArrivalDate'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetPayouts.GetPayoutsParametersQueryArrivalDate'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetPayouts.GetPayoutsParametersQueryArrivalDate'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetPayouts.GetPayoutsParametersQueryArrivalDate'OneOf1
-- | Contains the different functions to run the operation
-- getPaymentMethodsPaymentMethod
module StripeAPI.Operations.GetPaymentMethodsPaymentMethod
-- |
-- GET /v1/payment_methods/{payment_method}
--
--
-- <p>Retrieves a PaymentMethod object.</p>
getPaymentMethodsPaymentMethod :: forall m. MonadHTTP m => GetPaymentMethodsPaymentMethodParameters -> ClientT m (Response GetPaymentMethodsPaymentMethodResponse)
-- | Defines the object schema located at
-- paths./v1/payment_methods/{payment_method}.GET.parameters in
-- the specification.
data GetPaymentMethodsPaymentMethodParameters
GetPaymentMethodsPaymentMethodParameters :: Text -> Maybe [Text] -> GetPaymentMethodsPaymentMethodParameters
-- | pathPayment_method: Represents the parameter named 'payment_method'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getPaymentMethodsPaymentMethodParametersPathPaymentMethod] :: GetPaymentMethodsPaymentMethodParameters -> Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getPaymentMethodsPaymentMethodParametersQueryExpand] :: GetPaymentMethodsPaymentMethodParameters -> Maybe [Text]
-- | Create a new GetPaymentMethodsPaymentMethodParameters with all
-- required fields.
mkGetPaymentMethodsPaymentMethodParameters :: Text -> GetPaymentMethodsPaymentMethodParameters
-- | Represents a response of the operation
-- getPaymentMethodsPaymentMethod.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- GetPaymentMethodsPaymentMethodResponseError is used.
data GetPaymentMethodsPaymentMethodResponse
-- | Means either no matching case available or a parse error
GetPaymentMethodsPaymentMethodResponseError :: String -> GetPaymentMethodsPaymentMethodResponse
-- | Successful response.
GetPaymentMethodsPaymentMethodResponse200 :: PaymentMethod -> GetPaymentMethodsPaymentMethodResponse
-- | Error response.
GetPaymentMethodsPaymentMethodResponseDefault :: Error -> GetPaymentMethodsPaymentMethodResponse
instance GHC.Classes.Eq StripeAPI.Operations.GetPaymentMethodsPaymentMethod.GetPaymentMethodsPaymentMethodParameters
instance GHC.Show.Show StripeAPI.Operations.GetPaymentMethodsPaymentMethod.GetPaymentMethodsPaymentMethodParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetPaymentMethodsPaymentMethod.GetPaymentMethodsPaymentMethodResponse
instance GHC.Show.Show StripeAPI.Operations.GetPaymentMethodsPaymentMethod.GetPaymentMethodsPaymentMethodResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetPaymentMethodsPaymentMethod.GetPaymentMethodsPaymentMethodParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetPaymentMethodsPaymentMethod.GetPaymentMethodsPaymentMethodParameters
-- | Contains the different functions to run the operation
-- getPaymentMethods
module StripeAPI.Operations.GetPaymentMethods
-- |
-- GET /v1/payment_methods
--
--
-- <p>Returns a list of PaymentMethods for a given
-- Customer</p>
getPaymentMethods :: forall m. MonadHTTP m => GetPaymentMethodsParameters -> ClientT m (Response GetPaymentMethodsResponse)
-- | Defines the object schema located at
-- paths./v1/payment_methods.GET.parameters in the
-- specification.
data GetPaymentMethodsParameters
GetPaymentMethodsParameters :: Text -> Maybe Text -> Maybe [Text] -> Maybe Int -> Maybe Text -> GetPaymentMethodsParametersQueryType' -> GetPaymentMethodsParameters
-- | queryCustomer: Represents the parameter named 'customer'
--
-- The ID of the customer whose PaymentMethods will be retrieved.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getPaymentMethodsParametersQueryCustomer] :: GetPaymentMethodsParameters -> Text
-- | queryEnding_before: Represents the parameter named 'ending_before'
--
-- A cursor for use in pagination. `ending_before` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, starting with `obj_bar`, your
-- subsequent call can include `ending_before=obj_bar` in order to fetch
-- the previous page of the list.
[getPaymentMethodsParametersQueryEndingBefore] :: GetPaymentMethodsParameters -> Maybe Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getPaymentMethodsParametersQueryExpand] :: GetPaymentMethodsParameters -> Maybe [Text]
-- | queryLimit: Represents the parameter named 'limit'
--
-- A limit on the number of objects to be returned. Limit can range
-- between 1 and 100, and the default is 10.
[getPaymentMethodsParametersQueryLimit] :: GetPaymentMethodsParameters -> Maybe Int
-- | queryStarting_after: Represents the parameter named 'starting_after'
--
-- A cursor for use in pagination. `starting_after` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, ending with `obj_foo`, your
-- subsequent call can include `starting_after=obj_foo` in order to fetch
-- the next page of the list.
[getPaymentMethodsParametersQueryStartingAfter] :: GetPaymentMethodsParameters -> Maybe Text
-- | queryType: Represents the parameter named 'type'
--
-- A required filter on the list, based on the object `type` field.
[getPaymentMethodsParametersQueryType] :: GetPaymentMethodsParameters -> GetPaymentMethodsParametersQueryType'
-- | Create a new GetPaymentMethodsParameters with all required
-- fields.
mkGetPaymentMethodsParameters :: Text -> GetPaymentMethodsParametersQueryType' -> GetPaymentMethodsParameters
-- | Defines the enum schema located at
-- paths./v1/payment_methods.GET.parameters.properties.queryType
-- in the specification.
--
-- Represents the parameter named 'type'
--
-- A required filter on the list, based on the object `type` field.
data GetPaymentMethodsParametersQueryType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
GetPaymentMethodsParametersQueryType'Other :: Value -> GetPaymentMethodsParametersQueryType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
GetPaymentMethodsParametersQueryType'Typed :: Text -> GetPaymentMethodsParametersQueryType'
-- | Represents the JSON value "acss_debit"
GetPaymentMethodsParametersQueryType'EnumAcssDebit :: GetPaymentMethodsParametersQueryType'
-- | Represents the JSON value "afterpay_clearpay"
GetPaymentMethodsParametersQueryType'EnumAfterpayClearpay :: GetPaymentMethodsParametersQueryType'
-- | Represents the JSON value "alipay"
GetPaymentMethodsParametersQueryType'EnumAlipay :: GetPaymentMethodsParametersQueryType'
-- | Represents the JSON value "au_becs_debit"
GetPaymentMethodsParametersQueryType'EnumAuBecsDebit :: GetPaymentMethodsParametersQueryType'
-- | Represents the JSON value "bacs_debit"
GetPaymentMethodsParametersQueryType'EnumBacsDebit :: GetPaymentMethodsParametersQueryType'
-- | Represents the JSON value "bancontact"
GetPaymentMethodsParametersQueryType'EnumBancontact :: GetPaymentMethodsParametersQueryType'
-- | Represents the JSON value "boleto"
GetPaymentMethodsParametersQueryType'EnumBoleto :: GetPaymentMethodsParametersQueryType'
-- | Represents the JSON value "card"
GetPaymentMethodsParametersQueryType'EnumCard :: GetPaymentMethodsParametersQueryType'
-- | Represents the JSON value "eps"
GetPaymentMethodsParametersQueryType'EnumEps :: GetPaymentMethodsParametersQueryType'
-- | Represents the JSON value "fpx"
GetPaymentMethodsParametersQueryType'EnumFpx :: GetPaymentMethodsParametersQueryType'
-- | Represents the JSON value "giropay"
GetPaymentMethodsParametersQueryType'EnumGiropay :: GetPaymentMethodsParametersQueryType'
-- | Represents the JSON value "grabpay"
GetPaymentMethodsParametersQueryType'EnumGrabpay :: GetPaymentMethodsParametersQueryType'
-- | Represents the JSON value "ideal"
GetPaymentMethodsParametersQueryType'EnumIdeal :: GetPaymentMethodsParametersQueryType'
-- | Represents the JSON value "oxxo"
GetPaymentMethodsParametersQueryType'EnumOxxo :: GetPaymentMethodsParametersQueryType'
-- | Represents the JSON value "p24"
GetPaymentMethodsParametersQueryType'EnumP24 :: GetPaymentMethodsParametersQueryType'
-- | Represents the JSON value "sepa_debit"
GetPaymentMethodsParametersQueryType'EnumSepaDebit :: GetPaymentMethodsParametersQueryType'
-- | Represents the JSON value "sofort"
GetPaymentMethodsParametersQueryType'EnumSofort :: GetPaymentMethodsParametersQueryType'
-- | Represents a response of the operation getPaymentMethods.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetPaymentMethodsResponseError is used.
data GetPaymentMethodsResponse
-- | Means either no matching case available or a parse error
GetPaymentMethodsResponseError :: String -> GetPaymentMethodsResponse
-- | Successful response.
GetPaymentMethodsResponse200 :: GetPaymentMethodsResponseBody200 -> GetPaymentMethodsResponse
-- | Error response.
GetPaymentMethodsResponseDefault :: Error -> GetPaymentMethodsResponse
-- | Defines the object schema located at
-- paths./v1/payment_methods.GET.responses.200.content.application/json.schema
-- in the specification.
data GetPaymentMethodsResponseBody200
GetPaymentMethodsResponseBody200 :: [PaymentMethod] -> Bool -> Text -> GetPaymentMethodsResponseBody200
-- | data
[getPaymentMethodsResponseBody200Data] :: GetPaymentMethodsResponseBody200 -> [PaymentMethod]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[getPaymentMethodsResponseBody200HasMore] :: GetPaymentMethodsResponseBody200 -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
-- - Must match pattern '^/v1/payment_methods'
--
[getPaymentMethodsResponseBody200Url] :: GetPaymentMethodsResponseBody200 -> Text
-- | Create a new GetPaymentMethodsResponseBody200 with all required
-- fields.
mkGetPaymentMethodsResponseBody200 :: [PaymentMethod] -> Bool -> Text -> GetPaymentMethodsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetPaymentMethods.GetPaymentMethodsParametersQueryType'
instance GHC.Show.Show StripeAPI.Operations.GetPaymentMethods.GetPaymentMethodsParametersQueryType'
instance GHC.Classes.Eq StripeAPI.Operations.GetPaymentMethods.GetPaymentMethodsParameters
instance GHC.Show.Show StripeAPI.Operations.GetPaymentMethods.GetPaymentMethodsParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetPaymentMethods.GetPaymentMethodsResponseBody200
instance GHC.Show.Show StripeAPI.Operations.GetPaymentMethods.GetPaymentMethodsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetPaymentMethods.GetPaymentMethodsResponse
instance GHC.Show.Show StripeAPI.Operations.GetPaymentMethods.GetPaymentMethodsResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetPaymentMethods.GetPaymentMethodsResponseBody200
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetPaymentMethods.GetPaymentMethodsResponseBody200
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetPaymentMethods.GetPaymentMethodsParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetPaymentMethods.GetPaymentMethodsParameters
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetPaymentMethods.GetPaymentMethodsParametersQueryType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetPaymentMethods.GetPaymentMethodsParametersQueryType'
-- | Contains the different functions to run the operation
-- getPaymentIntentsIntent
module StripeAPI.Operations.GetPaymentIntentsIntent
-- |
-- GET /v1/payment_intents/{intent}
--
--
-- <p>Retrieves the details of a PaymentIntent that has previously
-- been created. </p>
--
-- <p>Client-side retrieval using a publishable key is allowed when
-- the <code>client_secret</code> is provided in the query
-- string. </p>
--
-- <p>When retrieved with a publishable key, only a subset of
-- properties will be returned. Please refer to the <a
-- href="#payment_intent_object">payment intent</a> object
-- reference for more details.</p>
getPaymentIntentsIntent :: forall m. MonadHTTP m => GetPaymentIntentsIntentParameters -> ClientT m (Response GetPaymentIntentsIntentResponse)
-- | Defines the object schema located at
-- paths./v1/payment_intents/{intent}.GET.parameters in the
-- specification.
data GetPaymentIntentsIntentParameters
GetPaymentIntentsIntentParameters :: Text -> Maybe Text -> Maybe [Text] -> GetPaymentIntentsIntentParameters
-- | pathIntent: Represents the parameter named 'intent'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getPaymentIntentsIntentParametersPathIntent] :: GetPaymentIntentsIntentParameters -> Text
-- | queryClient_secret: Represents the parameter named 'client_secret'
--
-- The client secret of the PaymentIntent. Required if a publishable key
-- is used to retrieve the source.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getPaymentIntentsIntentParametersQueryClientSecret] :: GetPaymentIntentsIntentParameters -> Maybe Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getPaymentIntentsIntentParametersQueryExpand] :: GetPaymentIntentsIntentParameters -> Maybe [Text]
-- | Create a new GetPaymentIntentsIntentParameters with all
-- required fields.
mkGetPaymentIntentsIntentParameters :: Text -> GetPaymentIntentsIntentParameters
-- | Represents a response of the operation getPaymentIntentsIntent.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetPaymentIntentsIntentResponseError is
-- used.
data GetPaymentIntentsIntentResponse
-- | Means either no matching case available or a parse error
GetPaymentIntentsIntentResponseError :: String -> GetPaymentIntentsIntentResponse
-- | Successful response.
GetPaymentIntentsIntentResponse200 :: PaymentIntent -> GetPaymentIntentsIntentResponse
-- | Error response.
GetPaymentIntentsIntentResponseDefault :: Error -> GetPaymentIntentsIntentResponse
instance GHC.Classes.Eq StripeAPI.Operations.GetPaymentIntentsIntent.GetPaymentIntentsIntentParameters
instance GHC.Show.Show StripeAPI.Operations.GetPaymentIntentsIntent.GetPaymentIntentsIntentParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetPaymentIntentsIntent.GetPaymentIntentsIntentResponse
instance GHC.Show.Show StripeAPI.Operations.GetPaymentIntentsIntent.GetPaymentIntentsIntentResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetPaymentIntentsIntent.GetPaymentIntentsIntentParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetPaymentIntentsIntent.GetPaymentIntentsIntentParameters
-- | Contains the different functions to run the operation
-- getPaymentIntents
module StripeAPI.Operations.GetPaymentIntents
-- |
-- GET /v1/payment_intents
--
--
-- <p>Returns a list of PaymentIntents.</p>
getPaymentIntents :: forall m. MonadHTTP m => GetPaymentIntentsParameters -> ClientT m (Response GetPaymentIntentsResponse)
-- | Defines the object schema located at
-- paths./v1/payment_intents.GET.parameters in the
-- specification.
data GetPaymentIntentsParameters
GetPaymentIntentsParameters :: Maybe GetPaymentIntentsParametersQueryCreated'Variants -> Maybe Text -> Maybe Text -> Maybe [Text] -> Maybe Int -> Maybe Text -> GetPaymentIntentsParameters
-- | queryCreated: Represents the parameter named 'created'
--
-- A filter on the list, based on the object `created` field. The value
-- can be a string with an integer Unix timestamp, or it can be a
-- dictionary with a number of different query options.
[getPaymentIntentsParametersQueryCreated] :: GetPaymentIntentsParameters -> Maybe GetPaymentIntentsParametersQueryCreated'Variants
-- | queryCustomer: Represents the parameter named 'customer'
--
-- Only return PaymentIntents for the customer specified by this customer
-- ID.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getPaymentIntentsParametersQueryCustomer] :: GetPaymentIntentsParameters -> Maybe Text
-- | queryEnding_before: Represents the parameter named 'ending_before'
--
-- A cursor for use in pagination. `ending_before` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, starting with `obj_bar`, your
-- subsequent call can include `ending_before=obj_bar` in order to fetch
-- the previous page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getPaymentIntentsParametersQueryEndingBefore] :: GetPaymentIntentsParameters -> Maybe Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getPaymentIntentsParametersQueryExpand] :: GetPaymentIntentsParameters -> Maybe [Text]
-- | queryLimit: Represents the parameter named 'limit'
--
-- A limit on the number of objects to be returned. Limit can range
-- between 1 and 100, and the default is 10.
[getPaymentIntentsParametersQueryLimit] :: GetPaymentIntentsParameters -> Maybe Int
-- | queryStarting_after: Represents the parameter named 'starting_after'
--
-- A cursor for use in pagination. `starting_after` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, ending with `obj_foo`, your
-- subsequent call can include `starting_after=obj_foo` in order to fetch
-- the next page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getPaymentIntentsParametersQueryStartingAfter] :: GetPaymentIntentsParameters -> Maybe Text
-- | Create a new GetPaymentIntentsParameters with all required
-- fields.
mkGetPaymentIntentsParameters :: GetPaymentIntentsParameters
-- | Defines the object schema located at
-- paths./v1/payment_intents.GET.parameters.properties.queryCreated.anyOf
-- in the specification.
data GetPaymentIntentsParametersQueryCreated'OneOf1
GetPaymentIntentsParametersQueryCreated'OneOf1 :: Maybe Int -> Maybe Int -> Maybe Int -> Maybe Int -> GetPaymentIntentsParametersQueryCreated'OneOf1
-- | gt
[getPaymentIntentsParametersQueryCreated'OneOf1Gt] :: GetPaymentIntentsParametersQueryCreated'OneOf1 -> Maybe Int
-- | gte
[getPaymentIntentsParametersQueryCreated'OneOf1Gte] :: GetPaymentIntentsParametersQueryCreated'OneOf1 -> Maybe Int
-- | lt
[getPaymentIntentsParametersQueryCreated'OneOf1Lt] :: GetPaymentIntentsParametersQueryCreated'OneOf1 -> Maybe Int
-- | lte
[getPaymentIntentsParametersQueryCreated'OneOf1Lte] :: GetPaymentIntentsParametersQueryCreated'OneOf1 -> Maybe Int
-- | Create a new GetPaymentIntentsParametersQueryCreated'OneOf1
-- with all required fields.
mkGetPaymentIntentsParametersQueryCreated'OneOf1 :: GetPaymentIntentsParametersQueryCreated'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/payment_intents.GET.parameters.properties.queryCreated.anyOf
-- in the specification.
--
-- Represents the parameter named 'created'
--
-- A filter on the list, based on the object `created` field. The value
-- can be a string with an integer Unix timestamp, or it can be a
-- dictionary with a number of different query options.
data GetPaymentIntentsParametersQueryCreated'Variants
GetPaymentIntentsParametersQueryCreated'GetPaymentIntentsParametersQueryCreated'OneOf1 :: GetPaymentIntentsParametersQueryCreated'OneOf1 -> GetPaymentIntentsParametersQueryCreated'Variants
GetPaymentIntentsParametersQueryCreated'Int :: Int -> GetPaymentIntentsParametersQueryCreated'Variants
-- | Represents a response of the operation getPaymentIntents.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetPaymentIntentsResponseError is used.
data GetPaymentIntentsResponse
-- | Means either no matching case available or a parse error
GetPaymentIntentsResponseError :: String -> GetPaymentIntentsResponse
-- | Successful response.
GetPaymentIntentsResponse200 :: GetPaymentIntentsResponseBody200 -> GetPaymentIntentsResponse
-- | Error response.
GetPaymentIntentsResponseDefault :: Error -> GetPaymentIntentsResponse
-- | Defines the object schema located at
-- paths./v1/payment_intents.GET.responses.200.content.application/json.schema
-- in the specification.
data GetPaymentIntentsResponseBody200
GetPaymentIntentsResponseBody200 :: [PaymentIntent] -> Bool -> Text -> GetPaymentIntentsResponseBody200
-- | data
[getPaymentIntentsResponseBody200Data] :: GetPaymentIntentsResponseBody200 -> [PaymentIntent]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[getPaymentIntentsResponseBody200HasMore] :: GetPaymentIntentsResponseBody200 -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
-- - Must match pattern '^/v1/payment_intents'
--
[getPaymentIntentsResponseBody200Url] :: GetPaymentIntentsResponseBody200 -> Text
-- | Create a new GetPaymentIntentsResponseBody200 with all required
-- fields.
mkGetPaymentIntentsResponseBody200 :: [PaymentIntent] -> Bool -> Text -> GetPaymentIntentsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetPaymentIntents.GetPaymentIntentsParametersQueryCreated'OneOf1
instance GHC.Show.Show StripeAPI.Operations.GetPaymentIntents.GetPaymentIntentsParametersQueryCreated'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.GetPaymentIntents.GetPaymentIntentsParametersQueryCreated'Variants
instance GHC.Show.Show StripeAPI.Operations.GetPaymentIntents.GetPaymentIntentsParametersQueryCreated'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetPaymentIntents.GetPaymentIntentsParameters
instance GHC.Show.Show StripeAPI.Operations.GetPaymentIntents.GetPaymentIntentsParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetPaymentIntents.GetPaymentIntentsResponseBody200
instance GHC.Show.Show StripeAPI.Operations.GetPaymentIntents.GetPaymentIntentsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetPaymentIntents.GetPaymentIntentsResponse
instance GHC.Show.Show StripeAPI.Operations.GetPaymentIntents.GetPaymentIntentsResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetPaymentIntents.GetPaymentIntentsResponseBody200
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetPaymentIntents.GetPaymentIntentsResponseBody200
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetPaymentIntents.GetPaymentIntentsParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetPaymentIntents.GetPaymentIntentsParameters
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetPaymentIntents.GetPaymentIntentsParametersQueryCreated'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetPaymentIntents.GetPaymentIntentsParametersQueryCreated'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetPaymentIntents.GetPaymentIntentsParametersQueryCreated'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetPaymentIntents.GetPaymentIntentsParametersQueryCreated'OneOf1
-- | Contains the different functions to run the operation getOrdersId
module StripeAPI.Operations.GetOrdersId
-- |
-- GET /v1/orders/{id}
--
--
-- <p>Retrieves the details of an existing order. Supply the unique
-- order ID from either an order creation request or the order list, and
-- Stripe will return the corresponding order information.</p>
getOrdersId :: forall m. MonadHTTP m => GetOrdersIdParameters -> ClientT m (Response GetOrdersIdResponse)
-- | Defines the object schema located at
-- paths./v1/orders/{id}.GET.parameters in the specification.
data GetOrdersIdParameters
GetOrdersIdParameters :: Text -> Maybe [Text] -> GetOrdersIdParameters
-- | pathId: Represents the parameter named 'id'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getOrdersIdParametersPathId] :: GetOrdersIdParameters -> Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getOrdersIdParametersQueryExpand] :: GetOrdersIdParameters -> Maybe [Text]
-- | Create a new GetOrdersIdParameters with all required fields.
mkGetOrdersIdParameters :: Text -> GetOrdersIdParameters
-- | Represents a response of the operation getOrdersId.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetOrdersIdResponseError is used.
data GetOrdersIdResponse
-- | Means either no matching case available or a parse error
GetOrdersIdResponseError :: String -> GetOrdersIdResponse
-- | Successful response.
GetOrdersIdResponse200 :: Order -> GetOrdersIdResponse
-- | Error response.
GetOrdersIdResponseDefault :: Error -> GetOrdersIdResponse
instance GHC.Classes.Eq StripeAPI.Operations.GetOrdersId.GetOrdersIdParameters
instance GHC.Show.Show StripeAPI.Operations.GetOrdersId.GetOrdersIdParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetOrdersId.GetOrdersIdResponse
instance GHC.Show.Show StripeAPI.Operations.GetOrdersId.GetOrdersIdResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetOrdersId.GetOrdersIdParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetOrdersId.GetOrdersIdParameters
-- | Contains the different functions to run the operation getOrders
module StripeAPI.Operations.GetOrders
-- |
-- GET /v1/orders
--
--
-- <p>Returns a list of your orders. The orders are returned sorted
-- by creation date, with the most recently created orders appearing
-- first.</p>
getOrders :: forall m. MonadHTTP m => GetOrdersParameters -> ClientT m (Response GetOrdersResponse)
-- | Defines the object schema located at
-- paths./v1/orders.GET.parameters in the specification.
data GetOrdersParameters
GetOrdersParameters :: Maybe GetOrdersParametersQueryCreated'Variants -> Maybe Text -> Maybe Text -> Maybe [Text] -> Maybe [Text] -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe GetOrdersParametersQueryStatusTransitions' -> Maybe [Text] -> GetOrdersParameters
-- | queryCreated: Represents the parameter named 'created'
--
-- Date this order was created.
[getOrdersParametersQueryCreated] :: GetOrdersParameters -> Maybe GetOrdersParametersQueryCreated'Variants
-- | queryCustomer: Represents the parameter named 'customer'
--
-- Only return orders for the given customer.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getOrdersParametersQueryCustomer] :: GetOrdersParameters -> Maybe Text
-- | queryEnding_before: Represents the parameter named 'ending_before'
--
-- A cursor for use in pagination. `ending_before` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, starting with `obj_bar`, your
-- subsequent call can include `ending_before=obj_bar` in order to fetch
-- the previous page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getOrdersParametersQueryEndingBefore] :: GetOrdersParameters -> Maybe Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getOrdersParametersQueryExpand] :: GetOrdersParameters -> Maybe [Text]
-- | queryIds: Represents the parameter named 'ids'
--
-- Only return orders with the given IDs.
[getOrdersParametersQueryIds] :: GetOrdersParameters -> Maybe [Text]
-- | queryLimit: Represents the parameter named 'limit'
--
-- A limit on the number of objects to be returned. Limit can range
-- between 1 and 100, and the default is 10.
[getOrdersParametersQueryLimit] :: GetOrdersParameters -> Maybe Int
-- | queryStarting_after: Represents the parameter named 'starting_after'
--
-- A cursor for use in pagination. `starting_after` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, ending with `obj_foo`, your
-- subsequent call can include `starting_after=obj_foo` in order to fetch
-- the next page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getOrdersParametersQueryStartingAfter] :: GetOrdersParameters -> Maybe Text
-- | queryStatus: Represents the parameter named 'status'
--
-- Only return orders that have the given status. One of `created`,
-- `paid`, `fulfilled`, or `refunded`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getOrdersParametersQueryStatus] :: GetOrdersParameters -> Maybe Text
-- | queryStatus_transitions: Represents the parameter named
-- 'status_transitions'
--
-- Filter orders based on when they were paid, fulfilled, canceled, or
-- returned.
[getOrdersParametersQueryStatusTransitions] :: GetOrdersParameters -> Maybe GetOrdersParametersQueryStatusTransitions'
-- | queryUpstream_ids: Represents the parameter named 'upstream_ids'
--
-- Only return orders with the given upstream order IDs.
[getOrdersParametersQueryUpstreamIds] :: GetOrdersParameters -> Maybe [Text]
-- | Create a new GetOrdersParameters with all required fields.
mkGetOrdersParameters :: GetOrdersParameters
-- | Defines the object schema located at
-- paths./v1/orders.GET.parameters.properties.queryCreated.anyOf
-- in the specification.
data GetOrdersParametersQueryCreated'OneOf1
GetOrdersParametersQueryCreated'OneOf1 :: Maybe Int -> Maybe Int -> Maybe Int -> Maybe Int -> GetOrdersParametersQueryCreated'OneOf1
-- | gt
[getOrdersParametersQueryCreated'OneOf1Gt] :: GetOrdersParametersQueryCreated'OneOf1 -> Maybe Int
-- | gte
[getOrdersParametersQueryCreated'OneOf1Gte] :: GetOrdersParametersQueryCreated'OneOf1 -> Maybe Int
-- | lt
[getOrdersParametersQueryCreated'OneOf1Lt] :: GetOrdersParametersQueryCreated'OneOf1 -> Maybe Int
-- | lte
[getOrdersParametersQueryCreated'OneOf1Lte] :: GetOrdersParametersQueryCreated'OneOf1 -> Maybe Int
-- | Create a new GetOrdersParametersQueryCreated'OneOf1 with all
-- required fields.
mkGetOrdersParametersQueryCreated'OneOf1 :: GetOrdersParametersQueryCreated'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/orders.GET.parameters.properties.queryCreated.anyOf
-- in the specification.
--
-- Represents the parameter named 'created'
--
-- Date this order was created.
data GetOrdersParametersQueryCreated'Variants
GetOrdersParametersQueryCreated'GetOrdersParametersQueryCreated'OneOf1 :: GetOrdersParametersQueryCreated'OneOf1 -> GetOrdersParametersQueryCreated'Variants
GetOrdersParametersQueryCreated'Int :: Int -> GetOrdersParametersQueryCreated'Variants
-- | Defines the object schema located at
-- paths./v1/orders.GET.parameters.properties.queryStatus_transitions
-- in the specification.
--
-- Represents the parameter named 'status_transitions'
--
-- Filter orders based on when they were paid, fulfilled, canceled, or
-- returned.
data GetOrdersParametersQueryStatusTransitions'
GetOrdersParametersQueryStatusTransitions' :: Maybe GetOrdersParametersQueryStatusTransitions'Canceled'Variants -> Maybe GetOrdersParametersQueryStatusTransitions'Fulfilled'Variants -> Maybe GetOrdersParametersQueryStatusTransitions'Paid'Variants -> Maybe GetOrdersParametersQueryStatusTransitions'Returned'Variants -> GetOrdersParametersQueryStatusTransitions'
-- | canceled
[getOrdersParametersQueryStatusTransitions'Canceled] :: GetOrdersParametersQueryStatusTransitions' -> Maybe GetOrdersParametersQueryStatusTransitions'Canceled'Variants
-- | fulfilled
[getOrdersParametersQueryStatusTransitions'Fulfilled] :: GetOrdersParametersQueryStatusTransitions' -> Maybe GetOrdersParametersQueryStatusTransitions'Fulfilled'Variants
-- | paid
[getOrdersParametersQueryStatusTransitions'Paid] :: GetOrdersParametersQueryStatusTransitions' -> Maybe GetOrdersParametersQueryStatusTransitions'Paid'Variants
-- | returned
[getOrdersParametersQueryStatusTransitions'Returned] :: GetOrdersParametersQueryStatusTransitions' -> Maybe GetOrdersParametersQueryStatusTransitions'Returned'Variants
-- | Create a new GetOrdersParametersQueryStatusTransitions' with
-- all required fields.
mkGetOrdersParametersQueryStatusTransitions' :: GetOrdersParametersQueryStatusTransitions'
-- | Defines the object schema located at
-- paths./v1/orders.GET.parameters.properties.queryStatus_transitions.properties.canceled.anyOf
-- in the specification.
data GetOrdersParametersQueryStatusTransitions'Canceled'OneOf1
GetOrdersParametersQueryStatusTransitions'Canceled'OneOf1 :: Maybe Int -> Maybe Int -> Maybe Int -> Maybe Int -> GetOrdersParametersQueryStatusTransitions'Canceled'OneOf1
-- | gt
[getOrdersParametersQueryStatusTransitions'Canceled'OneOf1Gt] :: GetOrdersParametersQueryStatusTransitions'Canceled'OneOf1 -> Maybe Int
-- | gte
[getOrdersParametersQueryStatusTransitions'Canceled'OneOf1Gte] :: GetOrdersParametersQueryStatusTransitions'Canceled'OneOf1 -> Maybe Int
-- | lt
[getOrdersParametersQueryStatusTransitions'Canceled'OneOf1Lt] :: GetOrdersParametersQueryStatusTransitions'Canceled'OneOf1 -> Maybe Int
-- | lte
[getOrdersParametersQueryStatusTransitions'Canceled'OneOf1Lte] :: GetOrdersParametersQueryStatusTransitions'Canceled'OneOf1 -> Maybe Int
-- | Create a new
-- GetOrdersParametersQueryStatusTransitions'Canceled'OneOf1 with
-- all required fields.
mkGetOrdersParametersQueryStatusTransitions'Canceled'OneOf1 :: GetOrdersParametersQueryStatusTransitions'Canceled'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/orders.GET.parameters.properties.queryStatus_transitions.properties.canceled.anyOf
-- in the specification.
data GetOrdersParametersQueryStatusTransitions'Canceled'Variants
GetOrdersParametersQueryStatusTransitions'Canceled'GetOrdersParametersQueryStatusTransitions'Canceled'OneOf1 :: GetOrdersParametersQueryStatusTransitions'Canceled'OneOf1 -> GetOrdersParametersQueryStatusTransitions'Canceled'Variants
GetOrdersParametersQueryStatusTransitions'Canceled'Int :: Int -> GetOrdersParametersQueryStatusTransitions'Canceled'Variants
-- | Defines the object schema located at
-- paths./v1/orders.GET.parameters.properties.queryStatus_transitions.properties.fulfilled.anyOf
-- in the specification.
data GetOrdersParametersQueryStatusTransitions'Fulfilled'OneOf1
GetOrdersParametersQueryStatusTransitions'Fulfilled'OneOf1 :: Maybe Int -> Maybe Int -> Maybe Int -> Maybe Int -> GetOrdersParametersQueryStatusTransitions'Fulfilled'OneOf1
-- | gt
[getOrdersParametersQueryStatusTransitions'Fulfilled'OneOf1Gt] :: GetOrdersParametersQueryStatusTransitions'Fulfilled'OneOf1 -> Maybe Int
-- | gte
[getOrdersParametersQueryStatusTransitions'Fulfilled'OneOf1Gte] :: GetOrdersParametersQueryStatusTransitions'Fulfilled'OneOf1 -> Maybe Int
-- | lt
[getOrdersParametersQueryStatusTransitions'Fulfilled'OneOf1Lt] :: GetOrdersParametersQueryStatusTransitions'Fulfilled'OneOf1 -> Maybe Int
-- | lte
[getOrdersParametersQueryStatusTransitions'Fulfilled'OneOf1Lte] :: GetOrdersParametersQueryStatusTransitions'Fulfilled'OneOf1 -> Maybe Int
-- | Create a new
-- GetOrdersParametersQueryStatusTransitions'Fulfilled'OneOf1 with
-- all required fields.
mkGetOrdersParametersQueryStatusTransitions'Fulfilled'OneOf1 :: GetOrdersParametersQueryStatusTransitions'Fulfilled'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/orders.GET.parameters.properties.queryStatus_transitions.properties.fulfilled.anyOf
-- in the specification.
data GetOrdersParametersQueryStatusTransitions'Fulfilled'Variants
GetOrdersParametersQueryStatusTransitions'Fulfilled'GetOrdersParametersQueryStatusTransitions'Fulfilled'OneOf1 :: GetOrdersParametersQueryStatusTransitions'Fulfilled'OneOf1 -> GetOrdersParametersQueryStatusTransitions'Fulfilled'Variants
GetOrdersParametersQueryStatusTransitions'Fulfilled'Int :: Int -> GetOrdersParametersQueryStatusTransitions'Fulfilled'Variants
-- | Defines the object schema located at
-- paths./v1/orders.GET.parameters.properties.queryStatus_transitions.properties.paid.anyOf
-- in the specification.
data GetOrdersParametersQueryStatusTransitions'Paid'OneOf1
GetOrdersParametersQueryStatusTransitions'Paid'OneOf1 :: Maybe Int -> Maybe Int -> Maybe Int -> Maybe Int -> GetOrdersParametersQueryStatusTransitions'Paid'OneOf1
-- | gt
[getOrdersParametersQueryStatusTransitions'Paid'OneOf1Gt] :: GetOrdersParametersQueryStatusTransitions'Paid'OneOf1 -> Maybe Int
-- | gte
[getOrdersParametersQueryStatusTransitions'Paid'OneOf1Gte] :: GetOrdersParametersQueryStatusTransitions'Paid'OneOf1 -> Maybe Int
-- | lt
[getOrdersParametersQueryStatusTransitions'Paid'OneOf1Lt] :: GetOrdersParametersQueryStatusTransitions'Paid'OneOf1 -> Maybe Int
-- | lte
[getOrdersParametersQueryStatusTransitions'Paid'OneOf1Lte] :: GetOrdersParametersQueryStatusTransitions'Paid'OneOf1 -> Maybe Int
-- | Create a new
-- GetOrdersParametersQueryStatusTransitions'Paid'OneOf1 with all
-- required fields.
mkGetOrdersParametersQueryStatusTransitions'Paid'OneOf1 :: GetOrdersParametersQueryStatusTransitions'Paid'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/orders.GET.parameters.properties.queryStatus_transitions.properties.paid.anyOf
-- in the specification.
data GetOrdersParametersQueryStatusTransitions'Paid'Variants
GetOrdersParametersQueryStatusTransitions'Paid'GetOrdersParametersQueryStatusTransitions'Paid'OneOf1 :: GetOrdersParametersQueryStatusTransitions'Paid'OneOf1 -> GetOrdersParametersQueryStatusTransitions'Paid'Variants
GetOrdersParametersQueryStatusTransitions'Paid'Int :: Int -> GetOrdersParametersQueryStatusTransitions'Paid'Variants
-- | Defines the object schema located at
-- paths./v1/orders.GET.parameters.properties.queryStatus_transitions.properties.returned.anyOf
-- in the specification.
data GetOrdersParametersQueryStatusTransitions'Returned'OneOf1
GetOrdersParametersQueryStatusTransitions'Returned'OneOf1 :: Maybe Int -> Maybe Int -> Maybe Int -> Maybe Int -> GetOrdersParametersQueryStatusTransitions'Returned'OneOf1
-- | gt
[getOrdersParametersQueryStatusTransitions'Returned'OneOf1Gt] :: GetOrdersParametersQueryStatusTransitions'Returned'OneOf1 -> Maybe Int
-- | gte
[getOrdersParametersQueryStatusTransitions'Returned'OneOf1Gte] :: GetOrdersParametersQueryStatusTransitions'Returned'OneOf1 -> Maybe Int
-- | lt
[getOrdersParametersQueryStatusTransitions'Returned'OneOf1Lt] :: GetOrdersParametersQueryStatusTransitions'Returned'OneOf1 -> Maybe Int
-- | lte
[getOrdersParametersQueryStatusTransitions'Returned'OneOf1Lte] :: GetOrdersParametersQueryStatusTransitions'Returned'OneOf1 -> Maybe Int
-- | Create a new
-- GetOrdersParametersQueryStatusTransitions'Returned'OneOf1 with
-- all required fields.
mkGetOrdersParametersQueryStatusTransitions'Returned'OneOf1 :: GetOrdersParametersQueryStatusTransitions'Returned'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/orders.GET.parameters.properties.queryStatus_transitions.properties.returned.anyOf
-- in the specification.
data GetOrdersParametersQueryStatusTransitions'Returned'Variants
GetOrdersParametersQueryStatusTransitions'Returned'GetOrdersParametersQueryStatusTransitions'Returned'OneOf1 :: GetOrdersParametersQueryStatusTransitions'Returned'OneOf1 -> GetOrdersParametersQueryStatusTransitions'Returned'Variants
GetOrdersParametersQueryStatusTransitions'Returned'Int :: Int -> GetOrdersParametersQueryStatusTransitions'Returned'Variants
-- | Represents a response of the operation getOrders.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetOrdersResponseError is used.
data GetOrdersResponse
-- | Means either no matching case available or a parse error
GetOrdersResponseError :: String -> GetOrdersResponse
-- | Successful response.
GetOrdersResponse200 :: GetOrdersResponseBody200 -> GetOrdersResponse
-- | Error response.
GetOrdersResponseDefault :: Error -> GetOrdersResponse
-- | Defines the object schema located at
-- paths./v1/orders.GET.responses.200.content.application/json.schema
-- in the specification.
data GetOrdersResponseBody200
GetOrdersResponseBody200 :: [Order] -> Bool -> Text -> GetOrdersResponseBody200
-- | data
[getOrdersResponseBody200Data] :: GetOrdersResponseBody200 -> [Order]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[getOrdersResponseBody200HasMore] :: GetOrdersResponseBody200 -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
-- - Must match pattern '^/v1/orders'
--
[getOrdersResponseBody200Url] :: GetOrdersResponseBody200 -> Text
-- | Create a new GetOrdersResponseBody200 with all required fields.
mkGetOrdersResponseBody200 :: [Order] -> Bool -> Text -> GetOrdersResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetOrders.GetOrdersParametersQueryCreated'OneOf1
instance GHC.Show.Show StripeAPI.Operations.GetOrders.GetOrdersParametersQueryCreated'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.GetOrders.GetOrdersParametersQueryCreated'Variants
instance GHC.Show.Show StripeAPI.Operations.GetOrders.GetOrdersParametersQueryCreated'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetOrders.GetOrdersParametersQueryStatusTransitions'Canceled'OneOf1
instance GHC.Show.Show StripeAPI.Operations.GetOrders.GetOrdersParametersQueryStatusTransitions'Canceled'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.GetOrders.GetOrdersParametersQueryStatusTransitions'Canceled'Variants
instance GHC.Show.Show StripeAPI.Operations.GetOrders.GetOrdersParametersQueryStatusTransitions'Canceled'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetOrders.GetOrdersParametersQueryStatusTransitions'Fulfilled'OneOf1
instance GHC.Show.Show StripeAPI.Operations.GetOrders.GetOrdersParametersQueryStatusTransitions'Fulfilled'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.GetOrders.GetOrdersParametersQueryStatusTransitions'Fulfilled'Variants
instance GHC.Show.Show StripeAPI.Operations.GetOrders.GetOrdersParametersQueryStatusTransitions'Fulfilled'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetOrders.GetOrdersParametersQueryStatusTransitions'Paid'OneOf1
instance GHC.Show.Show StripeAPI.Operations.GetOrders.GetOrdersParametersQueryStatusTransitions'Paid'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.GetOrders.GetOrdersParametersQueryStatusTransitions'Paid'Variants
instance GHC.Show.Show StripeAPI.Operations.GetOrders.GetOrdersParametersQueryStatusTransitions'Paid'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetOrders.GetOrdersParametersQueryStatusTransitions'Returned'OneOf1
instance GHC.Show.Show StripeAPI.Operations.GetOrders.GetOrdersParametersQueryStatusTransitions'Returned'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.GetOrders.GetOrdersParametersQueryStatusTransitions'Returned'Variants
instance GHC.Show.Show StripeAPI.Operations.GetOrders.GetOrdersParametersQueryStatusTransitions'Returned'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetOrders.GetOrdersParametersQueryStatusTransitions'
instance GHC.Show.Show StripeAPI.Operations.GetOrders.GetOrdersParametersQueryStatusTransitions'
instance GHC.Classes.Eq StripeAPI.Operations.GetOrders.GetOrdersParameters
instance GHC.Show.Show StripeAPI.Operations.GetOrders.GetOrdersParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetOrders.GetOrdersResponseBody200
instance GHC.Show.Show StripeAPI.Operations.GetOrders.GetOrdersResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetOrders.GetOrdersResponse
instance GHC.Show.Show StripeAPI.Operations.GetOrders.GetOrdersResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetOrders.GetOrdersResponseBody200
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetOrders.GetOrdersResponseBody200
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetOrders.GetOrdersParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetOrders.GetOrdersParameters
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetOrders.GetOrdersParametersQueryStatusTransitions'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetOrders.GetOrdersParametersQueryStatusTransitions'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetOrders.GetOrdersParametersQueryStatusTransitions'Returned'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetOrders.GetOrdersParametersQueryStatusTransitions'Returned'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetOrders.GetOrdersParametersQueryStatusTransitions'Returned'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetOrders.GetOrdersParametersQueryStatusTransitions'Returned'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetOrders.GetOrdersParametersQueryStatusTransitions'Paid'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetOrders.GetOrdersParametersQueryStatusTransitions'Paid'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetOrders.GetOrdersParametersQueryStatusTransitions'Paid'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetOrders.GetOrdersParametersQueryStatusTransitions'Paid'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetOrders.GetOrdersParametersQueryStatusTransitions'Fulfilled'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetOrders.GetOrdersParametersQueryStatusTransitions'Fulfilled'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetOrders.GetOrdersParametersQueryStatusTransitions'Fulfilled'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetOrders.GetOrdersParametersQueryStatusTransitions'Fulfilled'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetOrders.GetOrdersParametersQueryStatusTransitions'Canceled'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetOrders.GetOrdersParametersQueryStatusTransitions'Canceled'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetOrders.GetOrdersParametersQueryStatusTransitions'Canceled'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetOrders.GetOrdersParametersQueryStatusTransitions'Canceled'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetOrders.GetOrdersParametersQueryCreated'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetOrders.GetOrdersParametersQueryCreated'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetOrders.GetOrdersParametersQueryCreated'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetOrders.GetOrdersParametersQueryCreated'OneOf1
-- | Contains the different functions to run the operation
-- getOrderReturnsId
module StripeAPI.Operations.GetOrderReturnsId
-- |
-- GET /v1/order_returns/{id}
--
--
-- <p>Retrieves the details of an existing order return. Supply the
-- unique order ID from either an order return creation request or the
-- order return list, and Stripe will return the corresponding order
-- information.</p>
getOrderReturnsId :: forall m. MonadHTTP m => GetOrderReturnsIdParameters -> ClientT m (Response GetOrderReturnsIdResponse)
-- | Defines the object schema located at
-- paths./v1/order_returns/{id}.GET.parameters in the
-- specification.
data GetOrderReturnsIdParameters
GetOrderReturnsIdParameters :: Text -> Maybe [Text] -> GetOrderReturnsIdParameters
-- | pathId: Represents the parameter named 'id'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getOrderReturnsIdParametersPathId] :: GetOrderReturnsIdParameters -> Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getOrderReturnsIdParametersQueryExpand] :: GetOrderReturnsIdParameters -> Maybe [Text]
-- | Create a new GetOrderReturnsIdParameters with all required
-- fields.
mkGetOrderReturnsIdParameters :: Text -> GetOrderReturnsIdParameters
-- | Represents a response of the operation getOrderReturnsId.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetOrderReturnsIdResponseError is used.
data GetOrderReturnsIdResponse
-- | Means either no matching case available or a parse error
GetOrderReturnsIdResponseError :: String -> GetOrderReturnsIdResponse
-- | Successful response.
GetOrderReturnsIdResponse200 :: OrderReturn -> GetOrderReturnsIdResponse
-- | Error response.
GetOrderReturnsIdResponseDefault :: Error -> GetOrderReturnsIdResponse
instance GHC.Classes.Eq StripeAPI.Operations.GetOrderReturnsId.GetOrderReturnsIdParameters
instance GHC.Show.Show StripeAPI.Operations.GetOrderReturnsId.GetOrderReturnsIdParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetOrderReturnsId.GetOrderReturnsIdResponse
instance GHC.Show.Show StripeAPI.Operations.GetOrderReturnsId.GetOrderReturnsIdResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetOrderReturnsId.GetOrderReturnsIdParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetOrderReturnsId.GetOrderReturnsIdParameters
-- | Contains the different functions to run the operation getOrderReturns
module StripeAPI.Operations.GetOrderReturns
-- |
-- GET /v1/order_returns
--
--
-- <p>Returns a list of your order returns. The returns are
-- returned sorted by creation date, with the most recently created
-- return appearing first.</p>
getOrderReturns :: forall m. MonadHTTP m => GetOrderReturnsParameters -> ClientT m (Response GetOrderReturnsResponse)
-- | Defines the object schema located at
-- paths./v1/order_returns.GET.parameters in the specification.
data GetOrderReturnsParameters
GetOrderReturnsParameters :: Maybe GetOrderReturnsParametersQueryCreated'Variants -> Maybe Text -> Maybe [Text] -> Maybe Int -> Maybe Text -> Maybe Text -> GetOrderReturnsParameters
-- | queryCreated: Represents the parameter named 'created'
--
-- Date this return was created.
[getOrderReturnsParametersQueryCreated] :: GetOrderReturnsParameters -> Maybe GetOrderReturnsParametersQueryCreated'Variants
-- | queryEnding_before: Represents the parameter named 'ending_before'
--
-- A cursor for use in pagination. `ending_before` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, starting with `obj_bar`, your
-- subsequent call can include `ending_before=obj_bar` in order to fetch
-- the previous page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getOrderReturnsParametersQueryEndingBefore] :: GetOrderReturnsParameters -> Maybe Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getOrderReturnsParametersQueryExpand] :: GetOrderReturnsParameters -> Maybe [Text]
-- | queryLimit: Represents the parameter named 'limit'
--
-- A limit on the number of objects to be returned. Limit can range
-- between 1 and 100, and the default is 10.
[getOrderReturnsParametersQueryLimit] :: GetOrderReturnsParameters -> Maybe Int
-- | queryOrder: Represents the parameter named 'order'
--
-- The order to retrieve returns for.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getOrderReturnsParametersQueryOrder] :: GetOrderReturnsParameters -> Maybe Text
-- | queryStarting_after: Represents the parameter named 'starting_after'
--
-- A cursor for use in pagination. `starting_after` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, ending with `obj_foo`, your
-- subsequent call can include `starting_after=obj_foo` in order to fetch
-- the next page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getOrderReturnsParametersQueryStartingAfter] :: GetOrderReturnsParameters -> Maybe Text
-- | Create a new GetOrderReturnsParameters with all required
-- fields.
mkGetOrderReturnsParameters :: GetOrderReturnsParameters
-- | Defines the object schema located at
-- paths./v1/order_returns.GET.parameters.properties.queryCreated.anyOf
-- in the specification.
data GetOrderReturnsParametersQueryCreated'OneOf1
GetOrderReturnsParametersQueryCreated'OneOf1 :: Maybe Int -> Maybe Int -> Maybe Int -> Maybe Int -> GetOrderReturnsParametersQueryCreated'OneOf1
-- | gt
[getOrderReturnsParametersQueryCreated'OneOf1Gt] :: GetOrderReturnsParametersQueryCreated'OneOf1 -> Maybe Int
-- | gte
[getOrderReturnsParametersQueryCreated'OneOf1Gte] :: GetOrderReturnsParametersQueryCreated'OneOf1 -> Maybe Int
-- | lt
[getOrderReturnsParametersQueryCreated'OneOf1Lt] :: GetOrderReturnsParametersQueryCreated'OneOf1 -> Maybe Int
-- | lte
[getOrderReturnsParametersQueryCreated'OneOf1Lte] :: GetOrderReturnsParametersQueryCreated'OneOf1 -> Maybe Int
-- | Create a new GetOrderReturnsParametersQueryCreated'OneOf1 with
-- all required fields.
mkGetOrderReturnsParametersQueryCreated'OneOf1 :: GetOrderReturnsParametersQueryCreated'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/order_returns.GET.parameters.properties.queryCreated.anyOf
-- in the specification.
--
-- Represents the parameter named 'created'
--
-- Date this return was created.
data GetOrderReturnsParametersQueryCreated'Variants
GetOrderReturnsParametersQueryCreated'GetOrderReturnsParametersQueryCreated'OneOf1 :: GetOrderReturnsParametersQueryCreated'OneOf1 -> GetOrderReturnsParametersQueryCreated'Variants
GetOrderReturnsParametersQueryCreated'Int :: Int -> GetOrderReturnsParametersQueryCreated'Variants
-- | Represents a response of the operation getOrderReturns.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetOrderReturnsResponseError is used.
data GetOrderReturnsResponse
-- | Means either no matching case available or a parse error
GetOrderReturnsResponseError :: String -> GetOrderReturnsResponse
-- | Successful response.
GetOrderReturnsResponse200 :: GetOrderReturnsResponseBody200 -> GetOrderReturnsResponse
-- | Error response.
GetOrderReturnsResponseDefault :: Error -> GetOrderReturnsResponse
-- | Defines the object schema located at
-- paths./v1/order_returns.GET.responses.200.content.application/json.schema
-- in the specification.
data GetOrderReturnsResponseBody200
GetOrderReturnsResponseBody200 :: [OrderReturn] -> Bool -> Text -> GetOrderReturnsResponseBody200
-- | data
[getOrderReturnsResponseBody200Data] :: GetOrderReturnsResponseBody200 -> [OrderReturn]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[getOrderReturnsResponseBody200HasMore] :: GetOrderReturnsResponseBody200 -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
-- - Must match pattern '^/v1/order_returns'
--
[getOrderReturnsResponseBody200Url] :: GetOrderReturnsResponseBody200 -> Text
-- | Create a new GetOrderReturnsResponseBody200 with all required
-- fields.
mkGetOrderReturnsResponseBody200 :: [OrderReturn] -> Bool -> Text -> GetOrderReturnsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetOrderReturns.GetOrderReturnsParametersQueryCreated'OneOf1
instance GHC.Show.Show StripeAPI.Operations.GetOrderReturns.GetOrderReturnsParametersQueryCreated'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.GetOrderReturns.GetOrderReturnsParametersQueryCreated'Variants
instance GHC.Show.Show StripeAPI.Operations.GetOrderReturns.GetOrderReturnsParametersQueryCreated'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetOrderReturns.GetOrderReturnsParameters
instance GHC.Show.Show StripeAPI.Operations.GetOrderReturns.GetOrderReturnsParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetOrderReturns.GetOrderReturnsResponseBody200
instance GHC.Show.Show StripeAPI.Operations.GetOrderReturns.GetOrderReturnsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetOrderReturns.GetOrderReturnsResponse
instance GHC.Show.Show StripeAPI.Operations.GetOrderReturns.GetOrderReturnsResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetOrderReturns.GetOrderReturnsResponseBody200
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetOrderReturns.GetOrderReturnsResponseBody200
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetOrderReturns.GetOrderReturnsParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetOrderReturns.GetOrderReturnsParameters
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetOrderReturns.GetOrderReturnsParametersQueryCreated'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetOrderReturns.GetOrderReturnsParametersQueryCreated'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetOrderReturns.GetOrderReturnsParametersQueryCreated'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetOrderReturns.GetOrderReturnsParametersQueryCreated'OneOf1
-- | Contains the different functions to run the operation
-- getMandatesMandate
module StripeAPI.Operations.GetMandatesMandate
-- |
-- GET /v1/mandates/{mandate}
--
--
-- <p>Retrieves a Mandate object.</p>
getMandatesMandate :: forall m. MonadHTTP m => GetMandatesMandateParameters -> ClientT m (Response GetMandatesMandateResponse)
-- | Defines the object schema located at
-- paths./v1/mandates/{mandate}.GET.parameters in the
-- specification.
data GetMandatesMandateParameters
GetMandatesMandateParameters :: Text -> Maybe [Text] -> GetMandatesMandateParameters
-- | pathMandate: Represents the parameter named 'mandate'
[getMandatesMandateParametersPathMandate] :: GetMandatesMandateParameters -> Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getMandatesMandateParametersQueryExpand] :: GetMandatesMandateParameters -> Maybe [Text]
-- | Create a new GetMandatesMandateParameters with all required
-- fields.
mkGetMandatesMandateParameters :: Text -> GetMandatesMandateParameters
-- | Represents a response of the operation getMandatesMandate.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetMandatesMandateResponseError is
-- used.
data GetMandatesMandateResponse
-- | Means either no matching case available or a parse error
GetMandatesMandateResponseError :: String -> GetMandatesMandateResponse
-- | Successful response.
GetMandatesMandateResponse200 :: Mandate -> GetMandatesMandateResponse
-- | Error response.
GetMandatesMandateResponseDefault :: Error -> GetMandatesMandateResponse
instance GHC.Classes.Eq StripeAPI.Operations.GetMandatesMandate.GetMandatesMandateParameters
instance GHC.Show.Show StripeAPI.Operations.GetMandatesMandate.GetMandatesMandateParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetMandatesMandate.GetMandatesMandateResponse
instance GHC.Show.Show StripeAPI.Operations.GetMandatesMandate.GetMandatesMandateResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetMandatesMandate.GetMandatesMandateParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetMandatesMandate.GetMandatesMandateParameters
-- | Contains the different functions to run the operation
-- getIssuingTransactionsTransaction
module StripeAPI.Operations.GetIssuingTransactionsTransaction
-- |
-- GET /v1/issuing/transactions/{transaction}
--
--
-- <p>Retrieves an Issuing <code>Transaction</code>
-- object.</p>
getIssuingTransactionsTransaction :: forall m. MonadHTTP m => GetIssuingTransactionsTransactionParameters -> ClientT m (Response GetIssuingTransactionsTransactionResponse)
-- | Defines the object schema located at
-- paths./v1/issuing/transactions/{transaction}.GET.parameters
-- in the specification.
data GetIssuingTransactionsTransactionParameters
GetIssuingTransactionsTransactionParameters :: Text -> Maybe [Text] -> GetIssuingTransactionsTransactionParameters
-- | pathTransaction: Represents the parameter named 'transaction'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getIssuingTransactionsTransactionParametersPathTransaction] :: GetIssuingTransactionsTransactionParameters -> Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getIssuingTransactionsTransactionParametersQueryExpand] :: GetIssuingTransactionsTransactionParameters -> Maybe [Text]
-- | Create a new GetIssuingTransactionsTransactionParameters with
-- all required fields.
mkGetIssuingTransactionsTransactionParameters :: Text -> GetIssuingTransactionsTransactionParameters
-- | Represents a response of the operation
-- getIssuingTransactionsTransaction.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- GetIssuingTransactionsTransactionResponseError is used.
data GetIssuingTransactionsTransactionResponse
-- | Means either no matching case available or a parse error
GetIssuingTransactionsTransactionResponseError :: String -> GetIssuingTransactionsTransactionResponse
-- | Successful response.
GetIssuingTransactionsTransactionResponse200 :: Issuing'transaction -> GetIssuingTransactionsTransactionResponse
-- | Error response.
GetIssuingTransactionsTransactionResponseDefault :: Error -> GetIssuingTransactionsTransactionResponse
instance GHC.Classes.Eq StripeAPI.Operations.GetIssuingTransactionsTransaction.GetIssuingTransactionsTransactionParameters
instance GHC.Show.Show StripeAPI.Operations.GetIssuingTransactionsTransaction.GetIssuingTransactionsTransactionParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetIssuingTransactionsTransaction.GetIssuingTransactionsTransactionResponse
instance GHC.Show.Show StripeAPI.Operations.GetIssuingTransactionsTransaction.GetIssuingTransactionsTransactionResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetIssuingTransactionsTransaction.GetIssuingTransactionsTransactionParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetIssuingTransactionsTransaction.GetIssuingTransactionsTransactionParameters
-- | Contains the different functions to run the operation
-- getIssuingTransactions
module StripeAPI.Operations.GetIssuingTransactions
-- |
-- GET /v1/issuing/transactions
--
--
-- <p>Returns a list of Issuing
-- <code>Transaction</code> objects. The objects are sorted
-- in descending order by creation date, with the most recently created
-- object appearing first.</p>
getIssuingTransactions :: forall m. MonadHTTP m => GetIssuingTransactionsParameters -> ClientT m (Response GetIssuingTransactionsResponse)
-- | Defines the object schema located at
-- paths./v1/issuing/transactions.GET.parameters in the
-- specification.
data GetIssuingTransactionsParameters
GetIssuingTransactionsParameters :: Maybe Text -> Maybe Text -> Maybe GetIssuingTransactionsParametersQueryCreated'Variants -> Maybe Text -> Maybe [Text] -> Maybe Int -> Maybe Text -> Maybe GetIssuingTransactionsParametersQueryType' -> GetIssuingTransactionsParameters
-- | queryCard: Represents the parameter named 'card'
--
-- Only return transactions that belong to the given card.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getIssuingTransactionsParametersQueryCard] :: GetIssuingTransactionsParameters -> Maybe Text
-- | queryCardholder: Represents the parameter named 'cardholder'
--
-- Only return transactions that belong to the given cardholder.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getIssuingTransactionsParametersQueryCardholder] :: GetIssuingTransactionsParameters -> Maybe Text
-- | queryCreated: Represents the parameter named 'created'
--
-- Only return transactions that were created during the given date
-- interval.
[getIssuingTransactionsParametersQueryCreated] :: GetIssuingTransactionsParameters -> Maybe GetIssuingTransactionsParametersQueryCreated'Variants
-- | queryEnding_before: Represents the parameter named 'ending_before'
--
-- A cursor for use in pagination. `ending_before` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, starting with `obj_bar`, your
-- subsequent call can include `ending_before=obj_bar` in order to fetch
-- the previous page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getIssuingTransactionsParametersQueryEndingBefore] :: GetIssuingTransactionsParameters -> Maybe Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getIssuingTransactionsParametersQueryExpand] :: GetIssuingTransactionsParameters -> Maybe [Text]
-- | queryLimit: Represents the parameter named 'limit'
--
-- A limit on the number of objects to be returned. Limit can range
-- between 1 and 100, and the default is 10.
[getIssuingTransactionsParametersQueryLimit] :: GetIssuingTransactionsParameters -> Maybe Int
-- | queryStarting_after: Represents the parameter named 'starting_after'
--
-- A cursor for use in pagination. `starting_after` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, ending with `obj_foo`, your
-- subsequent call can include `starting_after=obj_foo` in order to fetch
-- the next page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getIssuingTransactionsParametersQueryStartingAfter] :: GetIssuingTransactionsParameters -> Maybe Text
-- | queryType: Represents the parameter named 'type'
--
-- Only return transactions that have the given type. One of `capture` or
-- `refund`.
[getIssuingTransactionsParametersQueryType] :: GetIssuingTransactionsParameters -> Maybe GetIssuingTransactionsParametersQueryType'
-- | Create a new GetIssuingTransactionsParameters with all required
-- fields.
mkGetIssuingTransactionsParameters :: GetIssuingTransactionsParameters
-- | Defines the object schema located at
-- paths./v1/issuing/transactions.GET.parameters.properties.queryCreated.anyOf
-- in the specification.
data GetIssuingTransactionsParametersQueryCreated'OneOf1
GetIssuingTransactionsParametersQueryCreated'OneOf1 :: Maybe Int -> Maybe Int -> Maybe Int -> Maybe Int -> GetIssuingTransactionsParametersQueryCreated'OneOf1
-- | gt
[getIssuingTransactionsParametersQueryCreated'OneOf1Gt] :: GetIssuingTransactionsParametersQueryCreated'OneOf1 -> Maybe Int
-- | gte
[getIssuingTransactionsParametersQueryCreated'OneOf1Gte] :: GetIssuingTransactionsParametersQueryCreated'OneOf1 -> Maybe Int
-- | lt
[getIssuingTransactionsParametersQueryCreated'OneOf1Lt] :: GetIssuingTransactionsParametersQueryCreated'OneOf1 -> Maybe Int
-- | lte
[getIssuingTransactionsParametersQueryCreated'OneOf1Lte] :: GetIssuingTransactionsParametersQueryCreated'OneOf1 -> Maybe Int
-- | Create a new
-- GetIssuingTransactionsParametersQueryCreated'OneOf1 with all
-- required fields.
mkGetIssuingTransactionsParametersQueryCreated'OneOf1 :: GetIssuingTransactionsParametersQueryCreated'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/issuing/transactions.GET.parameters.properties.queryCreated.anyOf
-- in the specification.
--
-- Represents the parameter named 'created'
--
-- Only return transactions that were created during the given date
-- interval.
data GetIssuingTransactionsParametersQueryCreated'Variants
GetIssuingTransactionsParametersQueryCreated'GetIssuingTransactionsParametersQueryCreated'OneOf1 :: GetIssuingTransactionsParametersQueryCreated'OneOf1 -> GetIssuingTransactionsParametersQueryCreated'Variants
GetIssuingTransactionsParametersQueryCreated'Int :: Int -> GetIssuingTransactionsParametersQueryCreated'Variants
-- | Defines the enum schema located at
-- paths./v1/issuing/transactions.GET.parameters.properties.queryType
-- in the specification.
--
-- Represents the parameter named 'type'
--
-- Only return transactions that have the given type. One of `capture` or
-- `refund`.
data GetIssuingTransactionsParametersQueryType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
GetIssuingTransactionsParametersQueryType'Other :: Value -> GetIssuingTransactionsParametersQueryType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
GetIssuingTransactionsParametersQueryType'Typed :: Text -> GetIssuingTransactionsParametersQueryType'
-- | Represents the JSON value "capture"
GetIssuingTransactionsParametersQueryType'EnumCapture :: GetIssuingTransactionsParametersQueryType'
-- | Represents the JSON value "refund"
GetIssuingTransactionsParametersQueryType'EnumRefund :: GetIssuingTransactionsParametersQueryType'
-- | Represents a response of the operation getIssuingTransactions.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetIssuingTransactionsResponseError is
-- used.
data GetIssuingTransactionsResponse
-- | Means either no matching case available or a parse error
GetIssuingTransactionsResponseError :: String -> GetIssuingTransactionsResponse
-- | Successful response.
GetIssuingTransactionsResponse200 :: GetIssuingTransactionsResponseBody200 -> GetIssuingTransactionsResponse
-- | Error response.
GetIssuingTransactionsResponseDefault :: Error -> GetIssuingTransactionsResponse
-- | Defines the object schema located at
-- paths./v1/issuing/transactions.GET.responses.200.content.application/json.schema
-- in the specification.
data GetIssuingTransactionsResponseBody200
GetIssuingTransactionsResponseBody200 :: [Issuing'transaction] -> Bool -> Text -> GetIssuingTransactionsResponseBody200
-- | data
[getIssuingTransactionsResponseBody200Data] :: GetIssuingTransactionsResponseBody200 -> [Issuing'transaction]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[getIssuingTransactionsResponseBody200HasMore] :: GetIssuingTransactionsResponseBody200 -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
-- - Must match pattern '^/v1/issuing/transactions'
--
[getIssuingTransactionsResponseBody200Url] :: GetIssuingTransactionsResponseBody200 -> Text
-- | Create a new GetIssuingTransactionsResponseBody200 with all
-- required fields.
mkGetIssuingTransactionsResponseBody200 :: [Issuing'transaction] -> Bool -> Text -> GetIssuingTransactionsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetIssuingTransactions.GetIssuingTransactionsParametersQueryCreated'OneOf1
instance GHC.Show.Show StripeAPI.Operations.GetIssuingTransactions.GetIssuingTransactionsParametersQueryCreated'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.GetIssuingTransactions.GetIssuingTransactionsParametersQueryCreated'Variants
instance GHC.Show.Show StripeAPI.Operations.GetIssuingTransactions.GetIssuingTransactionsParametersQueryCreated'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetIssuingTransactions.GetIssuingTransactionsParametersQueryType'
instance GHC.Show.Show StripeAPI.Operations.GetIssuingTransactions.GetIssuingTransactionsParametersQueryType'
instance GHC.Classes.Eq StripeAPI.Operations.GetIssuingTransactions.GetIssuingTransactionsParameters
instance GHC.Show.Show StripeAPI.Operations.GetIssuingTransactions.GetIssuingTransactionsParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetIssuingTransactions.GetIssuingTransactionsResponseBody200
instance GHC.Show.Show StripeAPI.Operations.GetIssuingTransactions.GetIssuingTransactionsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetIssuingTransactions.GetIssuingTransactionsResponse
instance GHC.Show.Show StripeAPI.Operations.GetIssuingTransactions.GetIssuingTransactionsResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetIssuingTransactions.GetIssuingTransactionsResponseBody200
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetIssuingTransactions.GetIssuingTransactionsResponseBody200
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetIssuingTransactions.GetIssuingTransactionsParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetIssuingTransactions.GetIssuingTransactionsParameters
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetIssuingTransactions.GetIssuingTransactionsParametersQueryType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetIssuingTransactions.GetIssuingTransactionsParametersQueryType'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetIssuingTransactions.GetIssuingTransactionsParametersQueryCreated'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetIssuingTransactions.GetIssuingTransactionsParametersQueryCreated'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetIssuingTransactions.GetIssuingTransactionsParametersQueryCreated'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetIssuingTransactions.GetIssuingTransactionsParametersQueryCreated'OneOf1
-- | Contains the different functions to run the operation
-- getIssuingSettlementsSettlement
module StripeAPI.Operations.GetIssuingSettlementsSettlement
-- |
-- GET /v1/issuing/settlements/{settlement}
--
--
-- <p>Retrieves an Issuing <code>Settlement</code>
-- object.</p>
getIssuingSettlementsSettlement :: forall m. MonadHTTP m => GetIssuingSettlementsSettlementParameters -> ClientT m (Response GetIssuingSettlementsSettlementResponse)
-- | Defines the object schema located at
-- paths./v1/issuing/settlements/{settlement}.GET.parameters in
-- the specification.
data GetIssuingSettlementsSettlementParameters
GetIssuingSettlementsSettlementParameters :: Text -> Maybe [Text] -> GetIssuingSettlementsSettlementParameters
-- | pathSettlement: Represents the parameter named 'settlement'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getIssuingSettlementsSettlementParametersPathSettlement] :: GetIssuingSettlementsSettlementParameters -> Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getIssuingSettlementsSettlementParametersQueryExpand] :: GetIssuingSettlementsSettlementParameters -> Maybe [Text]
-- | Create a new GetIssuingSettlementsSettlementParameters with all
-- required fields.
mkGetIssuingSettlementsSettlementParameters :: Text -> GetIssuingSettlementsSettlementParameters
-- | Represents a response of the operation
-- getIssuingSettlementsSettlement.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- GetIssuingSettlementsSettlementResponseError is used.
data GetIssuingSettlementsSettlementResponse
-- | Means either no matching case available or a parse error
GetIssuingSettlementsSettlementResponseError :: String -> GetIssuingSettlementsSettlementResponse
-- | Successful response.
GetIssuingSettlementsSettlementResponse200 :: Issuing'settlement -> GetIssuingSettlementsSettlementResponse
-- | Error response.
GetIssuingSettlementsSettlementResponseDefault :: Error -> GetIssuingSettlementsSettlementResponse
instance GHC.Classes.Eq StripeAPI.Operations.GetIssuingSettlementsSettlement.GetIssuingSettlementsSettlementParameters
instance GHC.Show.Show StripeAPI.Operations.GetIssuingSettlementsSettlement.GetIssuingSettlementsSettlementParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetIssuingSettlementsSettlement.GetIssuingSettlementsSettlementResponse
instance GHC.Show.Show StripeAPI.Operations.GetIssuingSettlementsSettlement.GetIssuingSettlementsSettlementResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetIssuingSettlementsSettlement.GetIssuingSettlementsSettlementParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetIssuingSettlementsSettlement.GetIssuingSettlementsSettlementParameters
-- | Contains the different functions to run the operation
-- getIssuingSettlements
module StripeAPI.Operations.GetIssuingSettlements
-- |
-- GET /v1/issuing/settlements
--
--
-- <p>Returns a list of Issuing <code>Settlement</code>
-- objects. The objects are sorted in descending order by creation date,
-- with the most recently created object appearing first.</p>
getIssuingSettlements :: forall m. MonadHTTP m => GetIssuingSettlementsParameters -> ClientT m (Response GetIssuingSettlementsResponse)
-- | Defines the object schema located at
-- paths./v1/issuing/settlements.GET.parameters in the
-- specification.
data GetIssuingSettlementsParameters
GetIssuingSettlementsParameters :: Maybe GetIssuingSettlementsParametersQueryCreated'Variants -> Maybe Text -> Maybe [Text] -> Maybe Int -> Maybe Text -> GetIssuingSettlementsParameters
-- | queryCreated: Represents the parameter named 'created'
--
-- Only return issuing settlements that were created during the given
-- date interval.
[getIssuingSettlementsParametersQueryCreated] :: GetIssuingSettlementsParameters -> Maybe GetIssuingSettlementsParametersQueryCreated'Variants
-- | queryEnding_before: Represents the parameter named 'ending_before'
--
-- A cursor for use in pagination. `ending_before` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, starting with `obj_bar`, your
-- subsequent call can include `ending_before=obj_bar` in order to fetch
-- the previous page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getIssuingSettlementsParametersQueryEndingBefore] :: GetIssuingSettlementsParameters -> Maybe Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getIssuingSettlementsParametersQueryExpand] :: GetIssuingSettlementsParameters -> Maybe [Text]
-- | queryLimit: Represents the parameter named 'limit'
--
-- A limit on the number of objects to be returned. Limit can range
-- between 1 and 100, and the default is 10.
[getIssuingSettlementsParametersQueryLimit] :: GetIssuingSettlementsParameters -> Maybe Int
-- | queryStarting_after: Represents the parameter named 'starting_after'
--
-- A cursor for use in pagination. `starting_after` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, ending with `obj_foo`, your
-- subsequent call can include `starting_after=obj_foo` in order to fetch
-- the next page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getIssuingSettlementsParametersQueryStartingAfter] :: GetIssuingSettlementsParameters -> Maybe Text
-- | Create a new GetIssuingSettlementsParameters with all required
-- fields.
mkGetIssuingSettlementsParameters :: GetIssuingSettlementsParameters
-- | Defines the object schema located at
-- paths./v1/issuing/settlements.GET.parameters.properties.queryCreated.anyOf
-- in the specification.
data GetIssuingSettlementsParametersQueryCreated'OneOf1
GetIssuingSettlementsParametersQueryCreated'OneOf1 :: Maybe Int -> Maybe Int -> Maybe Int -> Maybe Int -> GetIssuingSettlementsParametersQueryCreated'OneOf1
-- | gt
[getIssuingSettlementsParametersQueryCreated'OneOf1Gt] :: GetIssuingSettlementsParametersQueryCreated'OneOf1 -> Maybe Int
-- | gte
[getIssuingSettlementsParametersQueryCreated'OneOf1Gte] :: GetIssuingSettlementsParametersQueryCreated'OneOf1 -> Maybe Int
-- | lt
[getIssuingSettlementsParametersQueryCreated'OneOf1Lt] :: GetIssuingSettlementsParametersQueryCreated'OneOf1 -> Maybe Int
-- | lte
[getIssuingSettlementsParametersQueryCreated'OneOf1Lte] :: GetIssuingSettlementsParametersQueryCreated'OneOf1 -> Maybe Int
-- | Create a new GetIssuingSettlementsParametersQueryCreated'OneOf1
-- with all required fields.
mkGetIssuingSettlementsParametersQueryCreated'OneOf1 :: GetIssuingSettlementsParametersQueryCreated'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/issuing/settlements.GET.parameters.properties.queryCreated.anyOf
-- in the specification.
--
-- Represents the parameter named 'created'
--
-- Only return issuing settlements that were created during the given
-- date interval.
data GetIssuingSettlementsParametersQueryCreated'Variants
GetIssuingSettlementsParametersQueryCreated'GetIssuingSettlementsParametersQueryCreated'OneOf1 :: GetIssuingSettlementsParametersQueryCreated'OneOf1 -> GetIssuingSettlementsParametersQueryCreated'Variants
GetIssuingSettlementsParametersQueryCreated'Int :: Int -> GetIssuingSettlementsParametersQueryCreated'Variants
-- | Represents a response of the operation getIssuingSettlements.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetIssuingSettlementsResponseError is
-- used.
data GetIssuingSettlementsResponse
-- | Means either no matching case available or a parse error
GetIssuingSettlementsResponseError :: String -> GetIssuingSettlementsResponse
-- | Successful response.
GetIssuingSettlementsResponse200 :: GetIssuingSettlementsResponseBody200 -> GetIssuingSettlementsResponse
-- | Error response.
GetIssuingSettlementsResponseDefault :: Error -> GetIssuingSettlementsResponse
-- | Defines the object schema located at
-- paths./v1/issuing/settlements.GET.responses.200.content.application/json.schema
-- in the specification.
data GetIssuingSettlementsResponseBody200
GetIssuingSettlementsResponseBody200 :: [Issuing'settlement] -> Bool -> Text -> GetIssuingSettlementsResponseBody200
-- | data
[getIssuingSettlementsResponseBody200Data] :: GetIssuingSettlementsResponseBody200 -> [Issuing'settlement]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[getIssuingSettlementsResponseBody200HasMore] :: GetIssuingSettlementsResponseBody200 -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
-- - Must match pattern '^/v1/issuing/settlements'
--
[getIssuingSettlementsResponseBody200Url] :: GetIssuingSettlementsResponseBody200 -> Text
-- | Create a new GetIssuingSettlementsResponseBody200 with all
-- required fields.
mkGetIssuingSettlementsResponseBody200 :: [Issuing'settlement] -> Bool -> Text -> GetIssuingSettlementsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetIssuingSettlements.GetIssuingSettlementsParametersQueryCreated'OneOf1
instance GHC.Show.Show StripeAPI.Operations.GetIssuingSettlements.GetIssuingSettlementsParametersQueryCreated'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.GetIssuingSettlements.GetIssuingSettlementsParametersQueryCreated'Variants
instance GHC.Show.Show StripeAPI.Operations.GetIssuingSettlements.GetIssuingSettlementsParametersQueryCreated'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetIssuingSettlements.GetIssuingSettlementsParameters
instance GHC.Show.Show StripeAPI.Operations.GetIssuingSettlements.GetIssuingSettlementsParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetIssuingSettlements.GetIssuingSettlementsResponseBody200
instance GHC.Show.Show StripeAPI.Operations.GetIssuingSettlements.GetIssuingSettlementsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetIssuingSettlements.GetIssuingSettlementsResponse
instance GHC.Show.Show StripeAPI.Operations.GetIssuingSettlements.GetIssuingSettlementsResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetIssuingSettlements.GetIssuingSettlementsResponseBody200
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetIssuingSettlements.GetIssuingSettlementsResponseBody200
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetIssuingSettlements.GetIssuingSettlementsParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetIssuingSettlements.GetIssuingSettlementsParameters
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetIssuingSettlements.GetIssuingSettlementsParametersQueryCreated'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetIssuingSettlements.GetIssuingSettlementsParametersQueryCreated'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetIssuingSettlements.GetIssuingSettlementsParametersQueryCreated'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetIssuingSettlements.GetIssuingSettlementsParametersQueryCreated'OneOf1
-- | Contains the different functions to run the operation
-- getIssuingDisputesDispute
module StripeAPI.Operations.GetIssuingDisputesDispute
-- |
-- GET /v1/issuing/disputes/{dispute}
--
--
-- <p>Retrieves an Issuing <code>Dispute</code>
-- object.</p>
getIssuingDisputesDispute :: forall m. MonadHTTP m => GetIssuingDisputesDisputeParameters -> ClientT m (Response GetIssuingDisputesDisputeResponse)
-- | Defines the object schema located at
-- paths./v1/issuing/disputes/{dispute}.GET.parameters in the
-- specification.
data GetIssuingDisputesDisputeParameters
GetIssuingDisputesDisputeParameters :: Text -> Maybe [Text] -> GetIssuingDisputesDisputeParameters
-- | pathDispute: Represents the parameter named 'dispute'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getIssuingDisputesDisputeParametersPathDispute] :: GetIssuingDisputesDisputeParameters -> Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getIssuingDisputesDisputeParametersQueryExpand] :: GetIssuingDisputesDisputeParameters -> Maybe [Text]
-- | Create a new GetIssuingDisputesDisputeParameters with all
-- required fields.
mkGetIssuingDisputesDisputeParameters :: Text -> GetIssuingDisputesDisputeParameters
-- | Represents a response of the operation
-- getIssuingDisputesDispute.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetIssuingDisputesDisputeResponseError
-- is used.
data GetIssuingDisputesDisputeResponse
-- | Means either no matching case available or a parse error
GetIssuingDisputesDisputeResponseError :: String -> GetIssuingDisputesDisputeResponse
-- | Successful response.
GetIssuingDisputesDisputeResponse200 :: Issuing'dispute -> GetIssuingDisputesDisputeResponse
-- | Error response.
GetIssuingDisputesDisputeResponseDefault :: Error -> GetIssuingDisputesDisputeResponse
instance GHC.Classes.Eq StripeAPI.Operations.GetIssuingDisputesDispute.GetIssuingDisputesDisputeParameters
instance GHC.Show.Show StripeAPI.Operations.GetIssuingDisputesDispute.GetIssuingDisputesDisputeParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetIssuingDisputesDispute.GetIssuingDisputesDisputeResponse
instance GHC.Show.Show StripeAPI.Operations.GetIssuingDisputesDispute.GetIssuingDisputesDisputeResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetIssuingDisputesDispute.GetIssuingDisputesDisputeParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetIssuingDisputesDispute.GetIssuingDisputesDisputeParameters
-- | Contains the different functions to run the operation
-- getIssuingDisputes
module StripeAPI.Operations.GetIssuingDisputes
-- |
-- GET /v1/issuing/disputes
--
--
-- <p>Returns a list of Issuing <code>Dispute</code>
-- objects. The objects are sorted in descending order by creation date,
-- with the most recently created object appearing first.</p>
getIssuingDisputes :: forall m. MonadHTTP m => GetIssuingDisputesParameters -> ClientT m (Response GetIssuingDisputesResponse)
-- | Defines the object schema located at
-- paths./v1/issuing/disputes.GET.parameters in the
-- specification.
data GetIssuingDisputesParameters
GetIssuingDisputesParameters :: Maybe GetIssuingDisputesParametersQueryCreated'Variants -> Maybe Text -> Maybe [Text] -> Maybe Int -> Maybe Text -> Maybe GetIssuingDisputesParametersQueryStatus' -> Maybe Text -> GetIssuingDisputesParameters
-- | queryCreated: Represents the parameter named 'created'
--
-- Select Issuing disputes that were created during the given date
-- interval.
[getIssuingDisputesParametersQueryCreated] :: GetIssuingDisputesParameters -> Maybe GetIssuingDisputesParametersQueryCreated'Variants
-- | queryEnding_before: Represents the parameter named 'ending_before'
--
-- A cursor for use in pagination. `ending_before` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, starting with `obj_bar`, your
-- subsequent call can include `ending_before=obj_bar` in order to fetch
-- the previous page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getIssuingDisputesParametersQueryEndingBefore] :: GetIssuingDisputesParameters -> Maybe Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getIssuingDisputesParametersQueryExpand] :: GetIssuingDisputesParameters -> Maybe [Text]
-- | queryLimit: Represents the parameter named 'limit'
--
-- A limit on the number of objects to be returned. Limit can range
-- between 1 and 100, and the default is 10.
[getIssuingDisputesParametersQueryLimit] :: GetIssuingDisputesParameters -> Maybe Int
-- | queryStarting_after: Represents the parameter named 'starting_after'
--
-- A cursor for use in pagination. `starting_after` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, ending with `obj_foo`, your
-- subsequent call can include `starting_after=obj_foo` in order to fetch
-- the next page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getIssuingDisputesParametersQueryStartingAfter] :: GetIssuingDisputesParameters -> Maybe Text
-- | queryStatus: Represents the parameter named 'status'
--
-- Select Issuing disputes with the given status.
[getIssuingDisputesParametersQueryStatus] :: GetIssuingDisputesParameters -> Maybe GetIssuingDisputesParametersQueryStatus'
-- | queryTransaction: Represents the parameter named 'transaction'
--
-- Select the Issuing dispute for the given transaction.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getIssuingDisputesParametersQueryTransaction] :: GetIssuingDisputesParameters -> Maybe Text
-- | Create a new GetIssuingDisputesParameters with all required
-- fields.
mkGetIssuingDisputesParameters :: GetIssuingDisputesParameters
-- | Defines the object schema located at
-- paths./v1/issuing/disputes.GET.parameters.properties.queryCreated.anyOf
-- in the specification.
data GetIssuingDisputesParametersQueryCreated'OneOf1
GetIssuingDisputesParametersQueryCreated'OneOf1 :: Maybe Int -> Maybe Int -> Maybe Int -> Maybe Int -> GetIssuingDisputesParametersQueryCreated'OneOf1
-- | gt
[getIssuingDisputesParametersQueryCreated'OneOf1Gt] :: GetIssuingDisputesParametersQueryCreated'OneOf1 -> Maybe Int
-- | gte
[getIssuingDisputesParametersQueryCreated'OneOf1Gte] :: GetIssuingDisputesParametersQueryCreated'OneOf1 -> Maybe Int
-- | lt
[getIssuingDisputesParametersQueryCreated'OneOf1Lt] :: GetIssuingDisputesParametersQueryCreated'OneOf1 -> Maybe Int
-- | lte
[getIssuingDisputesParametersQueryCreated'OneOf1Lte] :: GetIssuingDisputesParametersQueryCreated'OneOf1 -> Maybe Int
-- | Create a new GetIssuingDisputesParametersQueryCreated'OneOf1
-- with all required fields.
mkGetIssuingDisputesParametersQueryCreated'OneOf1 :: GetIssuingDisputesParametersQueryCreated'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/issuing/disputes.GET.parameters.properties.queryCreated.anyOf
-- in the specification.
--
-- Represents the parameter named 'created'
--
-- Select Issuing disputes that were created during the given date
-- interval.
data GetIssuingDisputesParametersQueryCreated'Variants
GetIssuingDisputesParametersQueryCreated'GetIssuingDisputesParametersQueryCreated'OneOf1 :: GetIssuingDisputesParametersQueryCreated'OneOf1 -> GetIssuingDisputesParametersQueryCreated'Variants
GetIssuingDisputesParametersQueryCreated'Int :: Int -> GetIssuingDisputesParametersQueryCreated'Variants
-- | Defines the enum schema located at
-- paths./v1/issuing/disputes.GET.parameters.properties.queryStatus
-- in the specification.
--
-- Represents the parameter named 'status'
--
-- Select Issuing disputes with the given status.
data GetIssuingDisputesParametersQueryStatus'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
GetIssuingDisputesParametersQueryStatus'Other :: Value -> GetIssuingDisputesParametersQueryStatus'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
GetIssuingDisputesParametersQueryStatus'Typed :: Text -> GetIssuingDisputesParametersQueryStatus'
-- | Represents the JSON value "expired"
GetIssuingDisputesParametersQueryStatus'EnumExpired :: GetIssuingDisputesParametersQueryStatus'
-- | Represents the JSON value "lost"
GetIssuingDisputesParametersQueryStatus'EnumLost :: GetIssuingDisputesParametersQueryStatus'
-- | Represents the JSON value "submitted"
GetIssuingDisputesParametersQueryStatus'EnumSubmitted :: GetIssuingDisputesParametersQueryStatus'
-- | Represents the JSON value "unsubmitted"
GetIssuingDisputesParametersQueryStatus'EnumUnsubmitted :: GetIssuingDisputesParametersQueryStatus'
-- | Represents the JSON value "won"
GetIssuingDisputesParametersQueryStatus'EnumWon :: GetIssuingDisputesParametersQueryStatus'
-- | Represents a response of the operation getIssuingDisputes.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetIssuingDisputesResponseError is
-- used.
data GetIssuingDisputesResponse
-- | Means either no matching case available or a parse error
GetIssuingDisputesResponseError :: String -> GetIssuingDisputesResponse
-- | Successful response.
GetIssuingDisputesResponse200 :: GetIssuingDisputesResponseBody200 -> GetIssuingDisputesResponse
-- | Error response.
GetIssuingDisputesResponseDefault :: Error -> GetIssuingDisputesResponse
-- | Defines the object schema located at
-- paths./v1/issuing/disputes.GET.responses.200.content.application/json.schema
-- in the specification.
data GetIssuingDisputesResponseBody200
GetIssuingDisputesResponseBody200 :: [Issuing'dispute] -> Bool -> Text -> GetIssuingDisputesResponseBody200
-- | data
[getIssuingDisputesResponseBody200Data] :: GetIssuingDisputesResponseBody200 -> [Issuing'dispute]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[getIssuingDisputesResponseBody200HasMore] :: GetIssuingDisputesResponseBody200 -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
-- - Must match pattern '^/v1/issuing/disputes'
--
[getIssuingDisputesResponseBody200Url] :: GetIssuingDisputesResponseBody200 -> Text
-- | Create a new GetIssuingDisputesResponseBody200 with all
-- required fields.
mkGetIssuingDisputesResponseBody200 :: [Issuing'dispute] -> Bool -> Text -> GetIssuingDisputesResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetIssuingDisputes.GetIssuingDisputesParametersQueryCreated'OneOf1
instance GHC.Show.Show StripeAPI.Operations.GetIssuingDisputes.GetIssuingDisputesParametersQueryCreated'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.GetIssuingDisputes.GetIssuingDisputesParametersQueryCreated'Variants
instance GHC.Show.Show StripeAPI.Operations.GetIssuingDisputes.GetIssuingDisputesParametersQueryCreated'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetIssuingDisputes.GetIssuingDisputesParametersQueryStatus'
instance GHC.Show.Show StripeAPI.Operations.GetIssuingDisputes.GetIssuingDisputesParametersQueryStatus'
instance GHC.Classes.Eq StripeAPI.Operations.GetIssuingDisputes.GetIssuingDisputesParameters
instance GHC.Show.Show StripeAPI.Operations.GetIssuingDisputes.GetIssuingDisputesParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetIssuingDisputes.GetIssuingDisputesResponseBody200
instance GHC.Show.Show StripeAPI.Operations.GetIssuingDisputes.GetIssuingDisputesResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetIssuingDisputes.GetIssuingDisputesResponse
instance GHC.Show.Show StripeAPI.Operations.GetIssuingDisputes.GetIssuingDisputesResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetIssuingDisputes.GetIssuingDisputesResponseBody200
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetIssuingDisputes.GetIssuingDisputesResponseBody200
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetIssuingDisputes.GetIssuingDisputesParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetIssuingDisputes.GetIssuingDisputesParameters
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetIssuingDisputes.GetIssuingDisputesParametersQueryStatus'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetIssuingDisputes.GetIssuingDisputesParametersQueryStatus'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetIssuingDisputes.GetIssuingDisputesParametersQueryCreated'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetIssuingDisputes.GetIssuingDisputesParametersQueryCreated'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetIssuingDisputes.GetIssuingDisputesParametersQueryCreated'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetIssuingDisputes.GetIssuingDisputesParametersQueryCreated'OneOf1
-- | Contains the different functions to run the operation
-- getIssuingCardsCard
module StripeAPI.Operations.GetIssuingCardsCard
-- |
-- GET /v1/issuing/cards/{card}
--
--
-- <p>Retrieves an Issuing <code>Card</code>
-- object.</p>
getIssuingCardsCard :: forall m. MonadHTTP m => GetIssuingCardsCardParameters -> ClientT m (Response GetIssuingCardsCardResponse)
-- | Defines the object schema located at
-- paths./v1/issuing/cards/{card}.GET.parameters in the
-- specification.
data GetIssuingCardsCardParameters
GetIssuingCardsCardParameters :: Text -> Maybe [Text] -> GetIssuingCardsCardParameters
-- | pathCard: Represents the parameter named 'card'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getIssuingCardsCardParametersPathCard] :: GetIssuingCardsCardParameters -> Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getIssuingCardsCardParametersQueryExpand] :: GetIssuingCardsCardParameters -> Maybe [Text]
-- | Create a new GetIssuingCardsCardParameters with all required
-- fields.
mkGetIssuingCardsCardParameters :: Text -> GetIssuingCardsCardParameters
-- | Represents a response of the operation getIssuingCardsCard.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetIssuingCardsCardResponseError is
-- used.
data GetIssuingCardsCardResponse
-- | Means either no matching case available or a parse error
GetIssuingCardsCardResponseError :: String -> GetIssuingCardsCardResponse
-- | Successful response.
GetIssuingCardsCardResponse200 :: Issuing'card -> GetIssuingCardsCardResponse
-- | Error response.
GetIssuingCardsCardResponseDefault :: Error -> GetIssuingCardsCardResponse
instance GHC.Classes.Eq StripeAPI.Operations.GetIssuingCardsCard.GetIssuingCardsCardParameters
instance GHC.Show.Show StripeAPI.Operations.GetIssuingCardsCard.GetIssuingCardsCardParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetIssuingCardsCard.GetIssuingCardsCardResponse
instance GHC.Show.Show StripeAPI.Operations.GetIssuingCardsCard.GetIssuingCardsCardResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetIssuingCardsCard.GetIssuingCardsCardParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetIssuingCardsCard.GetIssuingCardsCardParameters
-- | Contains the different functions to run the operation getIssuingCards
module StripeAPI.Operations.GetIssuingCards
-- |
-- GET /v1/issuing/cards
--
--
-- <p>Returns a list of Issuing <code>Card</code>
-- objects. The objects are sorted in descending order by creation date,
-- with the most recently created object appearing first.</p>
getIssuingCards :: forall m. MonadHTTP m => GetIssuingCardsParameters -> ClientT m (Response GetIssuingCardsResponse)
-- | Defines the object schema located at
-- paths./v1/issuing/cards.GET.parameters in the specification.
data GetIssuingCardsParameters
GetIssuingCardsParameters :: Maybe Text -> Maybe GetIssuingCardsParametersQueryCreated'Variants -> Maybe Text -> Maybe Int -> Maybe Int -> Maybe [Text] -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe GetIssuingCardsParametersQueryStatus' -> Maybe GetIssuingCardsParametersQueryType' -> GetIssuingCardsParameters
-- | queryCardholder: Represents the parameter named 'cardholder'
--
-- Only return cards belonging to the Cardholder with the provided ID.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getIssuingCardsParametersQueryCardholder] :: GetIssuingCardsParameters -> Maybe Text
-- | queryCreated: Represents the parameter named 'created'
--
-- Only return cards that were issued during the given date interval.
[getIssuingCardsParametersQueryCreated] :: GetIssuingCardsParameters -> Maybe GetIssuingCardsParametersQueryCreated'Variants
-- | queryEnding_before: Represents the parameter named 'ending_before'
--
-- A cursor for use in pagination. `ending_before` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, starting with `obj_bar`, your
-- subsequent call can include `ending_before=obj_bar` in order to fetch
-- the previous page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getIssuingCardsParametersQueryEndingBefore] :: GetIssuingCardsParameters -> Maybe Text
-- | queryExp_month: Represents the parameter named 'exp_month'
--
-- Only return cards that have the given expiration month.
[getIssuingCardsParametersQueryExpMonth] :: GetIssuingCardsParameters -> Maybe Int
-- | queryExp_year: Represents the parameter named 'exp_year'
--
-- Only return cards that have the given expiration year.
[getIssuingCardsParametersQueryExpYear] :: GetIssuingCardsParameters -> Maybe Int
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getIssuingCardsParametersQueryExpand] :: GetIssuingCardsParameters -> Maybe [Text]
-- | queryLast4: Represents the parameter named 'last4'
--
-- Only return cards that have the given last four digits.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getIssuingCardsParametersQueryLast4] :: GetIssuingCardsParameters -> Maybe Text
-- | queryLimit: Represents the parameter named 'limit'
--
-- A limit on the number of objects to be returned. Limit can range
-- between 1 and 100, and the default is 10.
[getIssuingCardsParametersQueryLimit] :: GetIssuingCardsParameters -> Maybe Int
-- | queryStarting_after: Represents the parameter named 'starting_after'
--
-- A cursor for use in pagination. `starting_after` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, ending with `obj_foo`, your
-- subsequent call can include `starting_after=obj_foo` in order to fetch
-- the next page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getIssuingCardsParametersQueryStartingAfter] :: GetIssuingCardsParameters -> Maybe Text
-- | queryStatus: Represents the parameter named 'status'
--
-- Only return cards that have the given status. One of `active`,
-- `inactive`, or `canceled`.
[getIssuingCardsParametersQueryStatus] :: GetIssuingCardsParameters -> Maybe GetIssuingCardsParametersQueryStatus'
-- | queryType: Represents the parameter named 'type'
--
-- Only return cards that have the given type. One of `virtual` or
-- `physical`.
[getIssuingCardsParametersQueryType] :: GetIssuingCardsParameters -> Maybe GetIssuingCardsParametersQueryType'
-- | Create a new GetIssuingCardsParameters with all required
-- fields.
mkGetIssuingCardsParameters :: GetIssuingCardsParameters
-- | Defines the object schema located at
-- paths./v1/issuing/cards.GET.parameters.properties.queryCreated.anyOf
-- in the specification.
data GetIssuingCardsParametersQueryCreated'OneOf1
GetIssuingCardsParametersQueryCreated'OneOf1 :: Maybe Int -> Maybe Int -> Maybe Int -> Maybe Int -> GetIssuingCardsParametersQueryCreated'OneOf1
-- | gt
[getIssuingCardsParametersQueryCreated'OneOf1Gt] :: GetIssuingCardsParametersQueryCreated'OneOf1 -> Maybe Int
-- | gte
[getIssuingCardsParametersQueryCreated'OneOf1Gte] :: GetIssuingCardsParametersQueryCreated'OneOf1 -> Maybe Int
-- | lt
[getIssuingCardsParametersQueryCreated'OneOf1Lt] :: GetIssuingCardsParametersQueryCreated'OneOf1 -> Maybe Int
-- | lte
[getIssuingCardsParametersQueryCreated'OneOf1Lte] :: GetIssuingCardsParametersQueryCreated'OneOf1 -> Maybe Int
-- | Create a new GetIssuingCardsParametersQueryCreated'OneOf1 with
-- all required fields.
mkGetIssuingCardsParametersQueryCreated'OneOf1 :: GetIssuingCardsParametersQueryCreated'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/issuing/cards.GET.parameters.properties.queryCreated.anyOf
-- in the specification.
--
-- Represents the parameter named 'created'
--
-- Only return cards that were issued during the given date interval.
data GetIssuingCardsParametersQueryCreated'Variants
GetIssuingCardsParametersQueryCreated'GetIssuingCardsParametersQueryCreated'OneOf1 :: GetIssuingCardsParametersQueryCreated'OneOf1 -> GetIssuingCardsParametersQueryCreated'Variants
GetIssuingCardsParametersQueryCreated'Int :: Int -> GetIssuingCardsParametersQueryCreated'Variants
-- | Defines the enum schema located at
-- paths./v1/issuing/cards.GET.parameters.properties.queryStatus
-- in the specification.
--
-- Represents the parameter named 'status'
--
-- Only return cards that have the given status. One of `active`,
-- `inactive`, or `canceled`.
data GetIssuingCardsParametersQueryStatus'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
GetIssuingCardsParametersQueryStatus'Other :: Value -> GetIssuingCardsParametersQueryStatus'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
GetIssuingCardsParametersQueryStatus'Typed :: Text -> GetIssuingCardsParametersQueryStatus'
-- | Represents the JSON value "active"
GetIssuingCardsParametersQueryStatus'EnumActive :: GetIssuingCardsParametersQueryStatus'
-- | Represents the JSON value "canceled"
GetIssuingCardsParametersQueryStatus'EnumCanceled :: GetIssuingCardsParametersQueryStatus'
-- | Represents the JSON value "inactive"
GetIssuingCardsParametersQueryStatus'EnumInactive :: GetIssuingCardsParametersQueryStatus'
-- | Defines the enum schema located at
-- paths./v1/issuing/cards.GET.parameters.properties.queryType
-- in the specification.
--
-- Represents the parameter named 'type'
--
-- Only return cards that have the given type. One of `virtual` or
-- `physical`.
data GetIssuingCardsParametersQueryType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
GetIssuingCardsParametersQueryType'Other :: Value -> GetIssuingCardsParametersQueryType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
GetIssuingCardsParametersQueryType'Typed :: Text -> GetIssuingCardsParametersQueryType'
-- | Represents the JSON value "physical"
GetIssuingCardsParametersQueryType'EnumPhysical :: GetIssuingCardsParametersQueryType'
-- | Represents the JSON value "virtual"
GetIssuingCardsParametersQueryType'EnumVirtual :: GetIssuingCardsParametersQueryType'
-- | Represents a response of the operation getIssuingCards.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetIssuingCardsResponseError is used.
data GetIssuingCardsResponse
-- | Means either no matching case available or a parse error
GetIssuingCardsResponseError :: String -> GetIssuingCardsResponse
-- | Successful response.
GetIssuingCardsResponse200 :: GetIssuingCardsResponseBody200 -> GetIssuingCardsResponse
-- | Error response.
GetIssuingCardsResponseDefault :: Error -> GetIssuingCardsResponse
-- | Defines the object schema located at
-- paths./v1/issuing/cards.GET.responses.200.content.application/json.schema
-- in the specification.
data GetIssuingCardsResponseBody200
GetIssuingCardsResponseBody200 :: [Issuing'card] -> Bool -> Text -> GetIssuingCardsResponseBody200
-- | data
[getIssuingCardsResponseBody200Data] :: GetIssuingCardsResponseBody200 -> [Issuing'card]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[getIssuingCardsResponseBody200HasMore] :: GetIssuingCardsResponseBody200 -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
-- - Must match pattern '^/v1/issuing/cards'
--
[getIssuingCardsResponseBody200Url] :: GetIssuingCardsResponseBody200 -> Text
-- | Create a new GetIssuingCardsResponseBody200 with all required
-- fields.
mkGetIssuingCardsResponseBody200 :: [Issuing'card] -> Bool -> Text -> GetIssuingCardsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetIssuingCards.GetIssuingCardsParametersQueryCreated'OneOf1
instance GHC.Show.Show StripeAPI.Operations.GetIssuingCards.GetIssuingCardsParametersQueryCreated'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.GetIssuingCards.GetIssuingCardsParametersQueryCreated'Variants
instance GHC.Show.Show StripeAPI.Operations.GetIssuingCards.GetIssuingCardsParametersQueryCreated'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetIssuingCards.GetIssuingCardsParametersQueryStatus'
instance GHC.Show.Show StripeAPI.Operations.GetIssuingCards.GetIssuingCardsParametersQueryStatus'
instance GHC.Classes.Eq StripeAPI.Operations.GetIssuingCards.GetIssuingCardsParametersQueryType'
instance GHC.Show.Show StripeAPI.Operations.GetIssuingCards.GetIssuingCardsParametersQueryType'
instance GHC.Classes.Eq StripeAPI.Operations.GetIssuingCards.GetIssuingCardsParameters
instance GHC.Show.Show StripeAPI.Operations.GetIssuingCards.GetIssuingCardsParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetIssuingCards.GetIssuingCardsResponseBody200
instance GHC.Show.Show StripeAPI.Operations.GetIssuingCards.GetIssuingCardsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetIssuingCards.GetIssuingCardsResponse
instance GHC.Show.Show StripeAPI.Operations.GetIssuingCards.GetIssuingCardsResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetIssuingCards.GetIssuingCardsResponseBody200
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetIssuingCards.GetIssuingCardsResponseBody200
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetIssuingCards.GetIssuingCardsParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetIssuingCards.GetIssuingCardsParameters
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetIssuingCards.GetIssuingCardsParametersQueryType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetIssuingCards.GetIssuingCardsParametersQueryType'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetIssuingCards.GetIssuingCardsParametersQueryStatus'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetIssuingCards.GetIssuingCardsParametersQueryStatus'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetIssuingCards.GetIssuingCardsParametersQueryCreated'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetIssuingCards.GetIssuingCardsParametersQueryCreated'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetIssuingCards.GetIssuingCardsParametersQueryCreated'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetIssuingCards.GetIssuingCardsParametersQueryCreated'OneOf1
-- | Contains the different functions to run the operation
-- getIssuingCardholdersCardholder
module StripeAPI.Operations.GetIssuingCardholdersCardholder
-- |
-- GET /v1/issuing/cardholders/{cardholder}
--
--
-- <p>Retrieves an Issuing <code>Cardholder</code>
-- object.</p>
getIssuingCardholdersCardholder :: forall m. MonadHTTP m => GetIssuingCardholdersCardholderParameters -> ClientT m (Response GetIssuingCardholdersCardholderResponse)
-- | Defines the object schema located at
-- paths./v1/issuing/cardholders/{cardholder}.GET.parameters in
-- the specification.
data GetIssuingCardholdersCardholderParameters
GetIssuingCardholdersCardholderParameters :: Text -> Maybe [Text] -> GetIssuingCardholdersCardholderParameters
-- | pathCardholder: Represents the parameter named 'cardholder'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getIssuingCardholdersCardholderParametersPathCardholder] :: GetIssuingCardholdersCardholderParameters -> Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getIssuingCardholdersCardholderParametersQueryExpand] :: GetIssuingCardholdersCardholderParameters -> Maybe [Text]
-- | Create a new GetIssuingCardholdersCardholderParameters with all
-- required fields.
mkGetIssuingCardholdersCardholderParameters :: Text -> GetIssuingCardholdersCardholderParameters
-- | Represents a response of the operation
-- getIssuingCardholdersCardholder.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- GetIssuingCardholdersCardholderResponseError is used.
data GetIssuingCardholdersCardholderResponse
-- | Means either no matching case available or a parse error
GetIssuingCardholdersCardholderResponseError :: String -> GetIssuingCardholdersCardholderResponse
-- | Successful response.
GetIssuingCardholdersCardholderResponse200 :: Issuing'cardholder -> GetIssuingCardholdersCardholderResponse
-- | Error response.
GetIssuingCardholdersCardholderResponseDefault :: Error -> GetIssuingCardholdersCardholderResponse
instance GHC.Classes.Eq StripeAPI.Operations.GetIssuingCardholdersCardholder.GetIssuingCardholdersCardholderParameters
instance GHC.Show.Show StripeAPI.Operations.GetIssuingCardholdersCardholder.GetIssuingCardholdersCardholderParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetIssuingCardholdersCardholder.GetIssuingCardholdersCardholderResponse
instance GHC.Show.Show StripeAPI.Operations.GetIssuingCardholdersCardholder.GetIssuingCardholdersCardholderResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetIssuingCardholdersCardholder.GetIssuingCardholdersCardholderParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetIssuingCardholdersCardholder.GetIssuingCardholdersCardholderParameters
-- | Contains the different functions to run the operation
-- getIssuingCardholders
module StripeAPI.Operations.GetIssuingCardholders
-- |
-- GET /v1/issuing/cardholders
--
--
-- <p>Returns a list of Issuing <code>Cardholder</code>
-- objects. The objects are sorted in descending order by creation date,
-- with the most recently created object appearing first.</p>
getIssuingCardholders :: forall m. MonadHTTP m => GetIssuingCardholdersParameters -> ClientT m (Response GetIssuingCardholdersResponse)
-- | Defines the object schema located at
-- paths./v1/issuing/cardholders.GET.parameters in the
-- specification.
data GetIssuingCardholdersParameters
GetIssuingCardholdersParameters :: Maybe GetIssuingCardholdersParametersQueryCreated'Variants -> Maybe Text -> Maybe Text -> Maybe [Text] -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe GetIssuingCardholdersParametersQueryStatus' -> Maybe GetIssuingCardholdersParametersQueryType' -> GetIssuingCardholdersParameters
-- | queryCreated: Represents the parameter named 'created'
--
-- Only return cardholders that were created during the given date
-- interval.
[getIssuingCardholdersParametersQueryCreated] :: GetIssuingCardholdersParameters -> Maybe GetIssuingCardholdersParametersQueryCreated'Variants
-- | queryEmail: Represents the parameter named 'email'
--
-- Only return cardholders that have the given email address.
[getIssuingCardholdersParametersQueryEmail] :: GetIssuingCardholdersParameters -> Maybe Text
-- | queryEnding_before: Represents the parameter named 'ending_before'
--
-- A cursor for use in pagination. `ending_before` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, starting with `obj_bar`, your
-- subsequent call can include `ending_before=obj_bar` in order to fetch
-- the previous page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getIssuingCardholdersParametersQueryEndingBefore] :: GetIssuingCardholdersParameters -> Maybe Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getIssuingCardholdersParametersQueryExpand] :: GetIssuingCardholdersParameters -> Maybe [Text]
-- | queryLimit: Represents the parameter named 'limit'
--
-- A limit on the number of objects to be returned. Limit can range
-- between 1 and 100, and the default is 10.
[getIssuingCardholdersParametersQueryLimit] :: GetIssuingCardholdersParameters -> Maybe Int
-- | queryPhone_number: Represents the parameter named 'phone_number'
--
-- Only return cardholders that have the given phone number.
[getIssuingCardholdersParametersQueryPhoneNumber] :: GetIssuingCardholdersParameters -> Maybe Text
-- | queryStarting_after: Represents the parameter named 'starting_after'
--
-- A cursor for use in pagination. `starting_after` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, ending with `obj_foo`, your
-- subsequent call can include `starting_after=obj_foo` in order to fetch
-- the next page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getIssuingCardholdersParametersQueryStartingAfter] :: GetIssuingCardholdersParameters -> Maybe Text
-- | queryStatus: Represents the parameter named 'status'
--
-- Only return cardholders that have the given status. One of `active`,
-- `inactive`, or `blocked`.
[getIssuingCardholdersParametersQueryStatus] :: GetIssuingCardholdersParameters -> Maybe GetIssuingCardholdersParametersQueryStatus'
-- | queryType: Represents the parameter named 'type'
--
-- Only return cardholders that have the given type. One of `individual`
-- or `company`.
[getIssuingCardholdersParametersQueryType] :: GetIssuingCardholdersParameters -> Maybe GetIssuingCardholdersParametersQueryType'
-- | Create a new GetIssuingCardholdersParameters with all required
-- fields.
mkGetIssuingCardholdersParameters :: GetIssuingCardholdersParameters
-- | Defines the object schema located at
-- paths./v1/issuing/cardholders.GET.parameters.properties.queryCreated.anyOf
-- in the specification.
data GetIssuingCardholdersParametersQueryCreated'OneOf1
GetIssuingCardholdersParametersQueryCreated'OneOf1 :: Maybe Int -> Maybe Int -> Maybe Int -> Maybe Int -> GetIssuingCardholdersParametersQueryCreated'OneOf1
-- | gt
[getIssuingCardholdersParametersQueryCreated'OneOf1Gt] :: GetIssuingCardholdersParametersQueryCreated'OneOf1 -> Maybe Int
-- | gte
[getIssuingCardholdersParametersQueryCreated'OneOf1Gte] :: GetIssuingCardholdersParametersQueryCreated'OneOf1 -> Maybe Int
-- | lt
[getIssuingCardholdersParametersQueryCreated'OneOf1Lt] :: GetIssuingCardholdersParametersQueryCreated'OneOf1 -> Maybe Int
-- | lte
[getIssuingCardholdersParametersQueryCreated'OneOf1Lte] :: GetIssuingCardholdersParametersQueryCreated'OneOf1 -> Maybe Int
-- | Create a new GetIssuingCardholdersParametersQueryCreated'OneOf1
-- with all required fields.
mkGetIssuingCardholdersParametersQueryCreated'OneOf1 :: GetIssuingCardholdersParametersQueryCreated'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/issuing/cardholders.GET.parameters.properties.queryCreated.anyOf
-- in the specification.
--
-- Represents the parameter named 'created'
--
-- Only return cardholders that were created during the given date
-- interval.
data GetIssuingCardholdersParametersQueryCreated'Variants
GetIssuingCardholdersParametersQueryCreated'GetIssuingCardholdersParametersQueryCreated'OneOf1 :: GetIssuingCardholdersParametersQueryCreated'OneOf1 -> GetIssuingCardholdersParametersQueryCreated'Variants
GetIssuingCardholdersParametersQueryCreated'Int :: Int -> GetIssuingCardholdersParametersQueryCreated'Variants
-- | Defines the enum schema located at
-- paths./v1/issuing/cardholders.GET.parameters.properties.queryStatus
-- in the specification.
--
-- Represents the parameter named 'status'
--
-- Only return cardholders that have the given status. One of `active`,
-- `inactive`, or `blocked`.
data GetIssuingCardholdersParametersQueryStatus'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
GetIssuingCardholdersParametersQueryStatus'Other :: Value -> GetIssuingCardholdersParametersQueryStatus'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
GetIssuingCardholdersParametersQueryStatus'Typed :: Text -> GetIssuingCardholdersParametersQueryStatus'
-- | Represents the JSON value "active"
GetIssuingCardholdersParametersQueryStatus'EnumActive :: GetIssuingCardholdersParametersQueryStatus'
-- | Represents the JSON value "blocked"
GetIssuingCardholdersParametersQueryStatus'EnumBlocked :: GetIssuingCardholdersParametersQueryStatus'
-- | Represents the JSON value "inactive"
GetIssuingCardholdersParametersQueryStatus'EnumInactive :: GetIssuingCardholdersParametersQueryStatus'
-- | Defines the enum schema located at
-- paths./v1/issuing/cardholders.GET.parameters.properties.queryType
-- in the specification.
--
-- Represents the parameter named 'type'
--
-- Only return cardholders that have the given type. One of `individual`
-- or `company`.
data GetIssuingCardholdersParametersQueryType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
GetIssuingCardholdersParametersQueryType'Other :: Value -> GetIssuingCardholdersParametersQueryType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
GetIssuingCardholdersParametersQueryType'Typed :: Text -> GetIssuingCardholdersParametersQueryType'
-- | Represents the JSON value "company"
GetIssuingCardholdersParametersQueryType'EnumCompany :: GetIssuingCardholdersParametersQueryType'
-- | Represents the JSON value "individual"
GetIssuingCardholdersParametersQueryType'EnumIndividual :: GetIssuingCardholdersParametersQueryType'
-- | Represents a response of the operation getIssuingCardholders.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetIssuingCardholdersResponseError is
-- used.
data GetIssuingCardholdersResponse
-- | Means either no matching case available or a parse error
GetIssuingCardholdersResponseError :: String -> GetIssuingCardholdersResponse
-- | Successful response.
GetIssuingCardholdersResponse200 :: GetIssuingCardholdersResponseBody200 -> GetIssuingCardholdersResponse
-- | Error response.
GetIssuingCardholdersResponseDefault :: Error -> GetIssuingCardholdersResponse
-- | Defines the object schema located at
-- paths./v1/issuing/cardholders.GET.responses.200.content.application/json.schema
-- in the specification.
data GetIssuingCardholdersResponseBody200
GetIssuingCardholdersResponseBody200 :: [Issuing'cardholder] -> Bool -> Text -> GetIssuingCardholdersResponseBody200
-- | data
[getIssuingCardholdersResponseBody200Data] :: GetIssuingCardholdersResponseBody200 -> [Issuing'cardholder]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[getIssuingCardholdersResponseBody200HasMore] :: GetIssuingCardholdersResponseBody200 -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
-- - Must match pattern '^/v1/issuing/cardholders'
--
[getIssuingCardholdersResponseBody200Url] :: GetIssuingCardholdersResponseBody200 -> Text
-- | Create a new GetIssuingCardholdersResponseBody200 with all
-- required fields.
mkGetIssuingCardholdersResponseBody200 :: [Issuing'cardholder] -> Bool -> Text -> GetIssuingCardholdersResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetIssuingCardholders.GetIssuingCardholdersParametersQueryCreated'OneOf1
instance GHC.Show.Show StripeAPI.Operations.GetIssuingCardholders.GetIssuingCardholdersParametersQueryCreated'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.GetIssuingCardholders.GetIssuingCardholdersParametersQueryCreated'Variants
instance GHC.Show.Show StripeAPI.Operations.GetIssuingCardholders.GetIssuingCardholdersParametersQueryCreated'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetIssuingCardholders.GetIssuingCardholdersParametersQueryStatus'
instance GHC.Show.Show StripeAPI.Operations.GetIssuingCardholders.GetIssuingCardholdersParametersQueryStatus'
instance GHC.Classes.Eq StripeAPI.Operations.GetIssuingCardholders.GetIssuingCardholdersParametersQueryType'
instance GHC.Show.Show StripeAPI.Operations.GetIssuingCardholders.GetIssuingCardholdersParametersQueryType'
instance GHC.Classes.Eq StripeAPI.Operations.GetIssuingCardholders.GetIssuingCardholdersParameters
instance GHC.Show.Show StripeAPI.Operations.GetIssuingCardholders.GetIssuingCardholdersParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetIssuingCardholders.GetIssuingCardholdersResponseBody200
instance GHC.Show.Show StripeAPI.Operations.GetIssuingCardholders.GetIssuingCardholdersResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetIssuingCardholders.GetIssuingCardholdersResponse
instance GHC.Show.Show StripeAPI.Operations.GetIssuingCardholders.GetIssuingCardholdersResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetIssuingCardholders.GetIssuingCardholdersResponseBody200
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetIssuingCardholders.GetIssuingCardholdersResponseBody200
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetIssuingCardholders.GetIssuingCardholdersParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetIssuingCardholders.GetIssuingCardholdersParameters
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetIssuingCardholders.GetIssuingCardholdersParametersQueryType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetIssuingCardholders.GetIssuingCardholdersParametersQueryType'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetIssuingCardholders.GetIssuingCardholdersParametersQueryStatus'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetIssuingCardholders.GetIssuingCardholdersParametersQueryStatus'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetIssuingCardholders.GetIssuingCardholdersParametersQueryCreated'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetIssuingCardholders.GetIssuingCardholdersParametersQueryCreated'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetIssuingCardholders.GetIssuingCardholdersParametersQueryCreated'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetIssuingCardholders.GetIssuingCardholdersParametersQueryCreated'OneOf1
-- | Contains the different functions to run the operation
-- getIssuingAuthorizationsAuthorization
module StripeAPI.Operations.GetIssuingAuthorizationsAuthorization
-- |
-- GET /v1/issuing/authorizations/{authorization}
--
--
-- <p>Retrieves an Issuing <code>Authorization</code>
-- object.</p>
getIssuingAuthorizationsAuthorization :: forall m. MonadHTTP m => GetIssuingAuthorizationsAuthorizationParameters -> ClientT m (Response GetIssuingAuthorizationsAuthorizationResponse)
-- | Defines the object schema located at
-- paths./v1/issuing/authorizations/{authorization}.GET.parameters
-- in the specification.
data GetIssuingAuthorizationsAuthorizationParameters
GetIssuingAuthorizationsAuthorizationParameters :: Text -> Maybe [Text] -> GetIssuingAuthorizationsAuthorizationParameters
-- | pathAuthorization: Represents the parameter named 'authorization'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getIssuingAuthorizationsAuthorizationParametersPathAuthorization] :: GetIssuingAuthorizationsAuthorizationParameters -> Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getIssuingAuthorizationsAuthorizationParametersQueryExpand] :: GetIssuingAuthorizationsAuthorizationParameters -> Maybe [Text]
-- | Create a new GetIssuingAuthorizationsAuthorizationParameters
-- with all required fields.
mkGetIssuingAuthorizationsAuthorizationParameters :: Text -> GetIssuingAuthorizationsAuthorizationParameters
-- | Represents a response of the operation
-- getIssuingAuthorizationsAuthorization.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- GetIssuingAuthorizationsAuthorizationResponseError is used.
data GetIssuingAuthorizationsAuthorizationResponse
-- | Means either no matching case available or a parse error
GetIssuingAuthorizationsAuthorizationResponseError :: String -> GetIssuingAuthorizationsAuthorizationResponse
-- | Successful response.
GetIssuingAuthorizationsAuthorizationResponse200 :: Issuing'authorization -> GetIssuingAuthorizationsAuthorizationResponse
-- | Error response.
GetIssuingAuthorizationsAuthorizationResponseDefault :: Error -> GetIssuingAuthorizationsAuthorizationResponse
instance GHC.Classes.Eq StripeAPI.Operations.GetIssuingAuthorizationsAuthorization.GetIssuingAuthorizationsAuthorizationParameters
instance GHC.Show.Show StripeAPI.Operations.GetIssuingAuthorizationsAuthorization.GetIssuingAuthorizationsAuthorizationParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetIssuingAuthorizationsAuthorization.GetIssuingAuthorizationsAuthorizationResponse
instance GHC.Show.Show StripeAPI.Operations.GetIssuingAuthorizationsAuthorization.GetIssuingAuthorizationsAuthorizationResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetIssuingAuthorizationsAuthorization.GetIssuingAuthorizationsAuthorizationParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetIssuingAuthorizationsAuthorization.GetIssuingAuthorizationsAuthorizationParameters
-- | Contains the different functions to run the operation
-- getIssuingAuthorizations
module StripeAPI.Operations.GetIssuingAuthorizations
-- |
-- GET /v1/issuing/authorizations
--
--
-- <p>Returns a list of Issuing
-- <code>Authorization</code> objects. The objects are sorted
-- in descending order by creation date, with the most recently created
-- object appearing first.</p>
getIssuingAuthorizations :: forall m. MonadHTTP m => GetIssuingAuthorizationsParameters -> ClientT m (Response GetIssuingAuthorizationsResponse)
-- | Defines the object schema located at
-- paths./v1/issuing/authorizations.GET.parameters in the
-- specification.
data GetIssuingAuthorizationsParameters
GetIssuingAuthorizationsParameters :: Maybe Text -> Maybe Text -> Maybe GetIssuingAuthorizationsParametersQueryCreated'Variants -> Maybe Text -> Maybe [Text] -> Maybe Int -> Maybe Text -> Maybe GetIssuingAuthorizationsParametersQueryStatus' -> GetIssuingAuthorizationsParameters
-- | queryCard: Represents the parameter named 'card'
--
-- Only return authorizations that belong to the given card.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getIssuingAuthorizationsParametersQueryCard] :: GetIssuingAuthorizationsParameters -> Maybe Text
-- | queryCardholder: Represents the parameter named 'cardholder'
--
-- Only return authorizations that belong to the given cardholder.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getIssuingAuthorizationsParametersQueryCardholder] :: GetIssuingAuthorizationsParameters -> Maybe Text
-- | queryCreated: Represents the parameter named 'created'
--
-- Only return authorizations that were created during the given date
-- interval.
[getIssuingAuthorizationsParametersQueryCreated] :: GetIssuingAuthorizationsParameters -> Maybe GetIssuingAuthorizationsParametersQueryCreated'Variants
-- | queryEnding_before: Represents the parameter named 'ending_before'
--
-- A cursor for use in pagination. `ending_before` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, starting with `obj_bar`, your
-- subsequent call can include `ending_before=obj_bar` in order to fetch
-- the previous page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getIssuingAuthorizationsParametersQueryEndingBefore] :: GetIssuingAuthorizationsParameters -> Maybe Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getIssuingAuthorizationsParametersQueryExpand] :: GetIssuingAuthorizationsParameters -> Maybe [Text]
-- | queryLimit: Represents the parameter named 'limit'
--
-- A limit on the number of objects to be returned. Limit can range
-- between 1 and 100, and the default is 10.
[getIssuingAuthorizationsParametersQueryLimit] :: GetIssuingAuthorizationsParameters -> Maybe Int
-- | queryStarting_after: Represents the parameter named 'starting_after'
--
-- A cursor for use in pagination. `starting_after` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, ending with `obj_foo`, your
-- subsequent call can include `starting_after=obj_foo` in order to fetch
-- the next page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getIssuingAuthorizationsParametersQueryStartingAfter] :: GetIssuingAuthorizationsParameters -> Maybe Text
-- | queryStatus: Represents the parameter named 'status'
--
-- Only return authorizations with the given status. One of `pending`,
-- `closed`, or `reversed`.
[getIssuingAuthorizationsParametersQueryStatus] :: GetIssuingAuthorizationsParameters -> Maybe GetIssuingAuthorizationsParametersQueryStatus'
-- | Create a new GetIssuingAuthorizationsParameters with all
-- required fields.
mkGetIssuingAuthorizationsParameters :: GetIssuingAuthorizationsParameters
-- | Defines the object schema located at
-- paths./v1/issuing/authorizations.GET.parameters.properties.queryCreated.anyOf
-- in the specification.
data GetIssuingAuthorizationsParametersQueryCreated'OneOf1
GetIssuingAuthorizationsParametersQueryCreated'OneOf1 :: Maybe Int -> Maybe Int -> Maybe Int -> Maybe Int -> GetIssuingAuthorizationsParametersQueryCreated'OneOf1
-- | gt
[getIssuingAuthorizationsParametersQueryCreated'OneOf1Gt] :: GetIssuingAuthorizationsParametersQueryCreated'OneOf1 -> Maybe Int
-- | gte
[getIssuingAuthorizationsParametersQueryCreated'OneOf1Gte] :: GetIssuingAuthorizationsParametersQueryCreated'OneOf1 -> Maybe Int
-- | lt
[getIssuingAuthorizationsParametersQueryCreated'OneOf1Lt] :: GetIssuingAuthorizationsParametersQueryCreated'OneOf1 -> Maybe Int
-- | lte
[getIssuingAuthorizationsParametersQueryCreated'OneOf1Lte] :: GetIssuingAuthorizationsParametersQueryCreated'OneOf1 -> Maybe Int
-- | Create a new
-- GetIssuingAuthorizationsParametersQueryCreated'OneOf1 with all
-- required fields.
mkGetIssuingAuthorizationsParametersQueryCreated'OneOf1 :: GetIssuingAuthorizationsParametersQueryCreated'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/issuing/authorizations.GET.parameters.properties.queryCreated.anyOf
-- in the specification.
--
-- Represents the parameter named 'created'
--
-- Only return authorizations that were created during the given date
-- interval.
data GetIssuingAuthorizationsParametersQueryCreated'Variants
GetIssuingAuthorizationsParametersQueryCreated'GetIssuingAuthorizationsParametersQueryCreated'OneOf1 :: GetIssuingAuthorizationsParametersQueryCreated'OneOf1 -> GetIssuingAuthorizationsParametersQueryCreated'Variants
GetIssuingAuthorizationsParametersQueryCreated'Int :: Int -> GetIssuingAuthorizationsParametersQueryCreated'Variants
-- | Defines the enum schema located at
-- paths./v1/issuing/authorizations.GET.parameters.properties.queryStatus
-- in the specification.
--
-- Represents the parameter named 'status'
--
-- Only return authorizations with the given status. One of `pending`,
-- `closed`, or `reversed`.
data GetIssuingAuthorizationsParametersQueryStatus'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
GetIssuingAuthorizationsParametersQueryStatus'Other :: Value -> GetIssuingAuthorizationsParametersQueryStatus'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
GetIssuingAuthorizationsParametersQueryStatus'Typed :: Text -> GetIssuingAuthorizationsParametersQueryStatus'
-- | Represents the JSON value "closed"
GetIssuingAuthorizationsParametersQueryStatus'EnumClosed :: GetIssuingAuthorizationsParametersQueryStatus'
-- | Represents the JSON value "pending"
GetIssuingAuthorizationsParametersQueryStatus'EnumPending :: GetIssuingAuthorizationsParametersQueryStatus'
-- | Represents the JSON value "reversed"
GetIssuingAuthorizationsParametersQueryStatus'EnumReversed :: GetIssuingAuthorizationsParametersQueryStatus'
-- | Represents a response of the operation
-- getIssuingAuthorizations.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetIssuingAuthorizationsResponseError
-- is used.
data GetIssuingAuthorizationsResponse
-- | Means either no matching case available or a parse error
GetIssuingAuthorizationsResponseError :: String -> GetIssuingAuthorizationsResponse
-- | Successful response.
GetIssuingAuthorizationsResponse200 :: GetIssuingAuthorizationsResponseBody200 -> GetIssuingAuthorizationsResponse
-- | Error response.
GetIssuingAuthorizationsResponseDefault :: Error -> GetIssuingAuthorizationsResponse
-- | Defines the object schema located at
-- paths./v1/issuing/authorizations.GET.responses.200.content.application/json.schema
-- in the specification.
data GetIssuingAuthorizationsResponseBody200
GetIssuingAuthorizationsResponseBody200 :: [Issuing'authorization] -> Bool -> Text -> GetIssuingAuthorizationsResponseBody200
-- | data
[getIssuingAuthorizationsResponseBody200Data] :: GetIssuingAuthorizationsResponseBody200 -> [Issuing'authorization]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[getIssuingAuthorizationsResponseBody200HasMore] :: GetIssuingAuthorizationsResponseBody200 -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
-- - Must match pattern '^/v1/issuing/authorizations'
--
[getIssuingAuthorizationsResponseBody200Url] :: GetIssuingAuthorizationsResponseBody200 -> Text
-- | Create a new GetIssuingAuthorizationsResponseBody200 with all
-- required fields.
mkGetIssuingAuthorizationsResponseBody200 :: [Issuing'authorization] -> Bool -> Text -> GetIssuingAuthorizationsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetIssuingAuthorizations.GetIssuingAuthorizationsParametersQueryCreated'OneOf1
instance GHC.Show.Show StripeAPI.Operations.GetIssuingAuthorizations.GetIssuingAuthorizationsParametersQueryCreated'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.GetIssuingAuthorizations.GetIssuingAuthorizationsParametersQueryCreated'Variants
instance GHC.Show.Show StripeAPI.Operations.GetIssuingAuthorizations.GetIssuingAuthorizationsParametersQueryCreated'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetIssuingAuthorizations.GetIssuingAuthorizationsParametersQueryStatus'
instance GHC.Show.Show StripeAPI.Operations.GetIssuingAuthorizations.GetIssuingAuthorizationsParametersQueryStatus'
instance GHC.Classes.Eq StripeAPI.Operations.GetIssuingAuthorizations.GetIssuingAuthorizationsParameters
instance GHC.Show.Show StripeAPI.Operations.GetIssuingAuthorizations.GetIssuingAuthorizationsParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetIssuingAuthorizations.GetIssuingAuthorizationsResponseBody200
instance GHC.Show.Show StripeAPI.Operations.GetIssuingAuthorizations.GetIssuingAuthorizationsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetIssuingAuthorizations.GetIssuingAuthorizationsResponse
instance GHC.Show.Show StripeAPI.Operations.GetIssuingAuthorizations.GetIssuingAuthorizationsResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetIssuingAuthorizations.GetIssuingAuthorizationsResponseBody200
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetIssuingAuthorizations.GetIssuingAuthorizationsResponseBody200
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetIssuingAuthorizations.GetIssuingAuthorizationsParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetIssuingAuthorizations.GetIssuingAuthorizationsParameters
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetIssuingAuthorizations.GetIssuingAuthorizationsParametersQueryStatus'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetIssuingAuthorizations.GetIssuingAuthorizationsParametersQueryStatus'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetIssuingAuthorizations.GetIssuingAuthorizationsParametersQueryCreated'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetIssuingAuthorizations.GetIssuingAuthorizationsParametersQueryCreated'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetIssuingAuthorizations.GetIssuingAuthorizationsParametersQueryCreated'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetIssuingAuthorizations.GetIssuingAuthorizationsParametersQueryCreated'OneOf1
-- | Contains the different functions to run the operation
-- getIssuerFraudRecordsIssuerFraudRecord
module StripeAPI.Operations.GetIssuerFraudRecordsIssuerFraudRecord
-- |
-- GET /v1/issuer_fraud_records/{issuer_fraud_record}
--
--
-- <p>Retrieves the details of an issuer fraud record that has
-- previously been created. </p>
--
-- <p>Please refer to the <a
-- href="#issuer_fraud_record_object">issuer fraud record</a>
-- object reference for more details.</p>
getIssuerFraudRecordsIssuerFraudRecord :: forall m. MonadHTTP m => GetIssuerFraudRecordsIssuerFraudRecordParameters -> ClientT m (Response GetIssuerFraudRecordsIssuerFraudRecordResponse)
-- | Defines the object schema located at
-- paths./v1/issuer_fraud_records/{issuer_fraud_record}.GET.parameters
-- in the specification.
data GetIssuerFraudRecordsIssuerFraudRecordParameters
GetIssuerFraudRecordsIssuerFraudRecordParameters :: Text -> Maybe [Text] -> GetIssuerFraudRecordsIssuerFraudRecordParameters
-- | pathIssuer_fraud_record: Represents the parameter named
-- 'issuer_fraud_record'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getIssuerFraudRecordsIssuerFraudRecordParametersPathIssuerFraudRecord] :: GetIssuerFraudRecordsIssuerFraudRecordParameters -> Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getIssuerFraudRecordsIssuerFraudRecordParametersQueryExpand] :: GetIssuerFraudRecordsIssuerFraudRecordParameters -> Maybe [Text]
-- | Create a new GetIssuerFraudRecordsIssuerFraudRecordParameters
-- with all required fields.
mkGetIssuerFraudRecordsIssuerFraudRecordParameters :: Text -> GetIssuerFraudRecordsIssuerFraudRecordParameters
-- | Represents a response of the operation
-- getIssuerFraudRecordsIssuerFraudRecord.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- GetIssuerFraudRecordsIssuerFraudRecordResponseError is used.
data GetIssuerFraudRecordsIssuerFraudRecordResponse
-- | Means either no matching case available or a parse error
GetIssuerFraudRecordsIssuerFraudRecordResponseError :: String -> GetIssuerFraudRecordsIssuerFraudRecordResponse
-- | Successful response.
GetIssuerFraudRecordsIssuerFraudRecordResponse200 :: IssuerFraudRecord -> GetIssuerFraudRecordsIssuerFraudRecordResponse
-- | Error response.
GetIssuerFraudRecordsIssuerFraudRecordResponseDefault :: Error -> GetIssuerFraudRecordsIssuerFraudRecordResponse
instance GHC.Classes.Eq StripeAPI.Operations.GetIssuerFraudRecordsIssuerFraudRecord.GetIssuerFraudRecordsIssuerFraudRecordParameters
instance GHC.Show.Show StripeAPI.Operations.GetIssuerFraudRecordsIssuerFraudRecord.GetIssuerFraudRecordsIssuerFraudRecordParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetIssuerFraudRecordsIssuerFraudRecord.GetIssuerFraudRecordsIssuerFraudRecordResponse
instance GHC.Show.Show StripeAPI.Operations.GetIssuerFraudRecordsIssuerFraudRecord.GetIssuerFraudRecordsIssuerFraudRecordResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetIssuerFraudRecordsIssuerFraudRecord.GetIssuerFraudRecordsIssuerFraudRecordParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetIssuerFraudRecordsIssuerFraudRecord.GetIssuerFraudRecordsIssuerFraudRecordParameters
-- | Contains the different functions to run the operation
-- getIssuerFraudRecords
module StripeAPI.Operations.GetIssuerFraudRecords
-- |
-- GET /v1/issuer_fraud_records
--
--
-- <p>Returns a list of issuer fraud records.</p>
getIssuerFraudRecords :: forall m. MonadHTTP m => GetIssuerFraudRecordsParameters -> ClientT m (Response GetIssuerFraudRecordsResponse)
-- | Defines the object schema located at
-- paths./v1/issuer_fraud_records.GET.parameters in the
-- specification.
data GetIssuerFraudRecordsParameters
GetIssuerFraudRecordsParameters :: Maybe Text -> Maybe Text -> Maybe [Text] -> Maybe Int -> Maybe Text -> GetIssuerFraudRecordsParameters
-- | queryCharge: Represents the parameter named 'charge'
--
-- Only return issuer fraud records for the charge specified by this
-- charge ID.
[getIssuerFraudRecordsParametersQueryCharge] :: GetIssuerFraudRecordsParameters -> Maybe Text
-- | queryEnding_before: Represents the parameter named 'ending_before'
--
-- A cursor for use in pagination. `ending_before` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, starting with `obj_bar`, your
-- subsequent call can include `ending_before=obj_bar` in order to fetch
-- the previous page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getIssuerFraudRecordsParametersQueryEndingBefore] :: GetIssuerFraudRecordsParameters -> Maybe Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getIssuerFraudRecordsParametersQueryExpand] :: GetIssuerFraudRecordsParameters -> Maybe [Text]
-- | queryLimit: Represents the parameter named 'limit'
--
-- A limit on the number of objects to be returned. Limit can range
-- between 1 and 100, and the default is 10.
[getIssuerFraudRecordsParametersQueryLimit] :: GetIssuerFraudRecordsParameters -> Maybe Int
-- | queryStarting_after: Represents the parameter named 'starting_after'
--
-- A cursor for use in pagination. `starting_after` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, ending with `obj_foo`, your
-- subsequent call can include `starting_after=obj_foo` in order to fetch
-- the next page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getIssuerFraudRecordsParametersQueryStartingAfter] :: GetIssuerFraudRecordsParameters -> Maybe Text
-- | Create a new GetIssuerFraudRecordsParameters with all required
-- fields.
mkGetIssuerFraudRecordsParameters :: GetIssuerFraudRecordsParameters
-- | Represents a response of the operation getIssuerFraudRecords.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetIssuerFraudRecordsResponseError is
-- used.
data GetIssuerFraudRecordsResponse
-- | Means either no matching case available or a parse error
GetIssuerFraudRecordsResponseError :: String -> GetIssuerFraudRecordsResponse
-- | Successful response.
GetIssuerFraudRecordsResponse200 :: GetIssuerFraudRecordsResponseBody200 -> GetIssuerFraudRecordsResponse
-- | Error response.
GetIssuerFraudRecordsResponseDefault :: Error -> GetIssuerFraudRecordsResponse
-- | Defines the object schema located at
-- paths./v1/issuer_fraud_records.GET.responses.200.content.application/json.schema
-- in the specification.
data GetIssuerFraudRecordsResponseBody200
GetIssuerFraudRecordsResponseBody200 :: [IssuerFraudRecord] -> Bool -> Text -> GetIssuerFraudRecordsResponseBody200
-- | data
[getIssuerFraudRecordsResponseBody200Data] :: GetIssuerFraudRecordsResponseBody200 -> [IssuerFraudRecord]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[getIssuerFraudRecordsResponseBody200HasMore] :: GetIssuerFraudRecordsResponseBody200 -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
-- - Must match pattern '^/v1/issuer_fraud_records'
--
[getIssuerFraudRecordsResponseBody200Url] :: GetIssuerFraudRecordsResponseBody200 -> Text
-- | Create a new GetIssuerFraudRecordsResponseBody200 with all
-- required fields.
mkGetIssuerFraudRecordsResponseBody200 :: [IssuerFraudRecord] -> Bool -> Text -> GetIssuerFraudRecordsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetIssuerFraudRecords.GetIssuerFraudRecordsParameters
instance GHC.Show.Show StripeAPI.Operations.GetIssuerFraudRecords.GetIssuerFraudRecordsParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetIssuerFraudRecords.GetIssuerFraudRecordsResponseBody200
instance GHC.Show.Show StripeAPI.Operations.GetIssuerFraudRecords.GetIssuerFraudRecordsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetIssuerFraudRecords.GetIssuerFraudRecordsResponse
instance GHC.Show.Show StripeAPI.Operations.GetIssuerFraudRecords.GetIssuerFraudRecordsResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetIssuerFraudRecords.GetIssuerFraudRecordsResponseBody200
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetIssuerFraudRecords.GetIssuerFraudRecordsResponseBody200
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetIssuerFraudRecords.GetIssuerFraudRecordsParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetIssuerFraudRecords.GetIssuerFraudRecordsParameters
-- | Contains the different functions to run the operation
-- getInvoicesUpcomingLines
module StripeAPI.Operations.GetInvoicesUpcomingLines
-- |
-- GET /v1/invoices/upcoming/lines
--
--
-- <p>When retrieving an upcoming invoice, you’ll get a
-- <strong>lines</strong> property containing the total count
-- of line items and the first handful of those items. There is also a
-- URL where you can retrieve the full (paginated) list of line
-- items.</p>
getInvoicesUpcomingLines :: forall m. MonadHTTP m => GetInvoicesUpcomingLinesParameters -> ClientT m (Response GetInvoicesUpcomingLinesResponse)
-- | Defines the object schema located at
-- paths./v1/invoices/upcoming/lines.GET.parameters in the
-- specification.
data GetInvoicesUpcomingLinesParameters
GetInvoicesUpcomingLinesParameters :: Maybe GetInvoicesUpcomingLinesParametersQueryAutomaticTax' -> Maybe Text -> Maybe Text -> Maybe GetInvoicesUpcomingLinesParametersQueryCustomerDetails' -> Maybe GetInvoicesUpcomingLinesParametersQueryDiscounts'Variants -> Maybe Text -> Maybe [Text] -> Maybe [GetInvoicesUpcomingLinesParametersQueryInvoiceItems'] -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe GetInvoicesUpcomingLinesParametersQuerySubscriptionBillingCycleAnchor'Variants -> Maybe GetInvoicesUpcomingLinesParametersQuerySubscriptionCancelAt'Variants -> Maybe Bool -> Maybe Bool -> Maybe GetInvoicesUpcomingLinesParametersQuerySubscriptionDefaultTaxRates'Variants -> Maybe [GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'] -> Maybe GetInvoicesUpcomingLinesParametersQuerySubscriptionProrationBehavior' -> Maybe Int -> Maybe Int -> Maybe GetInvoicesUpcomingLinesParametersQuerySubscriptionTrialEnd'Variants -> Maybe Bool -> GetInvoicesUpcomingLinesParameters
-- | queryAutomatic_tax: Represents the parameter named 'automatic_tax'
--
-- Settings for automatic tax lookup for this invoice preview.
[getInvoicesUpcomingLinesParametersQueryAutomaticTax] :: GetInvoicesUpcomingLinesParameters -> Maybe GetInvoicesUpcomingLinesParametersQueryAutomaticTax'
-- | queryCoupon: Represents the parameter named 'coupon'
--
-- The code of the coupon to apply. If `subscription` or
-- `subscription_items` is provided, the invoice returned will preview
-- updating or creating a subscription with that coupon. Otherwise, it
-- will preview applying that coupon to the customer for the next
-- upcoming invoice from among the customer's subscriptions. The invoice
-- can be previewed without a coupon by passing this value as an empty
-- string.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getInvoicesUpcomingLinesParametersQueryCoupon] :: GetInvoicesUpcomingLinesParameters -> Maybe Text
-- | queryCustomer: Represents the parameter named 'customer'
--
-- The identifier of the customer whose upcoming invoice you'd like to
-- retrieve.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getInvoicesUpcomingLinesParametersQueryCustomer] :: GetInvoicesUpcomingLinesParameters -> Maybe Text
-- | queryCustomer_details: Represents the parameter named
-- 'customer_details'
--
-- Details about the customer you want to invoice
[getInvoicesUpcomingLinesParametersQueryCustomerDetails] :: GetInvoicesUpcomingLinesParameters -> Maybe GetInvoicesUpcomingLinesParametersQueryCustomerDetails'
-- | queryDiscounts: Represents the parameter named 'discounts'
--
-- The coupons to redeem into discounts for the invoice preview. If not
-- specified, inherits the discount from the customer or subscription.
-- Pass an empty string to avoid inheriting any discounts. To preview the
-- upcoming invoice for a subscription that hasn't been created, use
-- `coupon` instead.
[getInvoicesUpcomingLinesParametersQueryDiscounts] :: GetInvoicesUpcomingLinesParameters -> Maybe GetInvoicesUpcomingLinesParametersQueryDiscounts'Variants
-- | queryEnding_before: Represents the parameter named 'ending_before'
--
-- A cursor for use in pagination. `ending_before` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, starting with `obj_bar`, your
-- subsequent call can include `ending_before=obj_bar` in order to fetch
-- the previous page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getInvoicesUpcomingLinesParametersQueryEndingBefore] :: GetInvoicesUpcomingLinesParameters -> Maybe Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getInvoicesUpcomingLinesParametersQueryExpand] :: GetInvoicesUpcomingLinesParameters -> Maybe [Text]
-- | queryInvoice_items: Represents the parameter named 'invoice_items'
--
-- List of invoice items to add or update in the upcoming invoice
-- preview.
[getInvoicesUpcomingLinesParametersQueryInvoiceItems] :: GetInvoicesUpcomingLinesParameters -> Maybe [GetInvoicesUpcomingLinesParametersQueryInvoiceItems']
-- | queryLimit: Represents the parameter named 'limit'
--
-- A limit on the number of objects to be returned. Limit can range
-- between 1 and 100, and the default is 10.
[getInvoicesUpcomingLinesParametersQueryLimit] :: GetInvoicesUpcomingLinesParameters -> Maybe Int
-- | querySchedule: Represents the parameter named 'schedule'
--
-- The identifier of the unstarted schedule whose upcoming invoice you'd
-- like to retrieve. Cannot be used with subscription or subscription
-- fields.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getInvoicesUpcomingLinesParametersQuerySchedule] :: GetInvoicesUpcomingLinesParameters -> Maybe Text
-- | queryStarting_after: Represents the parameter named 'starting_after'
--
-- A cursor for use in pagination. `starting_after` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, ending with `obj_foo`, your
-- subsequent call can include `starting_after=obj_foo` in order to fetch
-- the next page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getInvoicesUpcomingLinesParametersQueryStartingAfter] :: GetInvoicesUpcomingLinesParameters -> Maybe Text
-- | querySubscription: Represents the parameter named 'subscription'
--
-- The identifier of the subscription for which you'd like to retrieve
-- the upcoming invoice. If not provided, but a `subscription_items` is
-- provided, you will preview creating a subscription with those items.
-- If neither `subscription` nor `subscription_items` is provided, you
-- will retrieve the next upcoming invoice from among the customer's
-- subscriptions.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getInvoicesUpcomingLinesParametersQuerySubscription] :: GetInvoicesUpcomingLinesParameters -> Maybe Text
-- | querySubscription_billing_cycle_anchor: Represents the parameter named
-- 'subscription_billing_cycle_anchor'
--
-- For new subscriptions, a future timestamp to anchor the subscription's
-- billing cycle. This is used to determine the date of the first
-- full invoice, and, for plans with `month` or `year` intervals, the day
-- of the month for subsequent invoices. For existing subscriptions, the
-- value can only be set to `now` or `unchanged`.
[getInvoicesUpcomingLinesParametersQuerySubscriptionBillingCycleAnchor] :: GetInvoicesUpcomingLinesParameters -> Maybe GetInvoicesUpcomingLinesParametersQuerySubscriptionBillingCycleAnchor'Variants
-- | querySubscription_cancel_at: Represents the parameter named
-- 'subscription_cancel_at'
--
-- Timestamp indicating when the subscription should be scheduled to
-- cancel. Will prorate if within the current period and prorations have
-- been enabled using `proration_behavior`.
[getInvoicesUpcomingLinesParametersQuerySubscriptionCancelAt] :: GetInvoicesUpcomingLinesParameters -> Maybe GetInvoicesUpcomingLinesParametersQuerySubscriptionCancelAt'Variants
-- | querySubscription_cancel_at_period_end: Represents the parameter named
-- 'subscription_cancel_at_period_end'
--
-- Boolean indicating whether this subscription should cancel at the end
-- of the current period.
[getInvoicesUpcomingLinesParametersQuerySubscriptionCancelAtPeriodEnd] :: GetInvoicesUpcomingLinesParameters -> Maybe Bool
-- | querySubscription_cancel_now: Represents the parameter named
-- 'subscription_cancel_now'
--
-- This simulates the subscription being canceled or expired immediately.
[getInvoicesUpcomingLinesParametersQuerySubscriptionCancelNow] :: GetInvoicesUpcomingLinesParameters -> Maybe Bool
-- | querySubscription_default_tax_rates: Represents the parameter named
-- 'subscription_default_tax_rates'
--
-- If provided, the invoice returned will preview updating or creating a
-- subscription with these default tax rates. The default tax rates will
-- apply to any line item that does not have `tax_rates` set.
[getInvoicesUpcomingLinesParametersQuerySubscriptionDefaultTaxRates] :: GetInvoicesUpcomingLinesParameters -> Maybe GetInvoicesUpcomingLinesParametersQuerySubscriptionDefaultTaxRates'Variants
-- | querySubscription_items: Represents the parameter named
-- 'subscription_items'
--
-- A list of up to 20 subscription items, each with an attached price.
[getInvoicesUpcomingLinesParametersQuerySubscriptionItems] :: GetInvoicesUpcomingLinesParameters -> Maybe [GetInvoicesUpcomingLinesParametersQuerySubscriptionItems']
-- | querySubscription_proration_behavior: Represents the parameter named
-- 'subscription_proration_behavior'
--
-- Determines how to handle prorations when the billing cycle
-- changes (e.g., when switching plans, resetting
-- `billing_cycle_anchor=now`, or starting a trial), or if an item's
-- `quantity` changes. Valid values are `create_prorations`, `none`, or
-- `always_invoice`.
--
-- Passing `create_prorations` will cause proration invoice items to be
-- created when applicable. These proration items will only be invoiced
-- immediately under certain conditions. In order to always
-- invoice immediately for prorations, pass `always_invoice`.
--
-- Prorations can be disabled by passing `none`.
[getInvoicesUpcomingLinesParametersQuerySubscriptionProrationBehavior] :: GetInvoicesUpcomingLinesParameters -> Maybe GetInvoicesUpcomingLinesParametersQuerySubscriptionProrationBehavior'
-- | querySubscription_proration_date: Represents the parameter named
-- 'subscription_proration_date'
--
-- If previewing an update to a subscription, and doing proration,
-- `subscription_proration_date` forces the proration to be calculated as
-- though the update was done at the specified time. The time given must
-- be within the current subscription period, and cannot be before the
-- subscription was on its current plan. If set, `subscription`, and one
-- of `subscription_items`, or `subscription_trial_end` are required.
-- Also, `subscription_proration_behavior` cannot be set to 'none'.
[getInvoicesUpcomingLinesParametersQuerySubscriptionProrationDate] :: GetInvoicesUpcomingLinesParameters -> Maybe Int
-- | querySubscription_start_date: Represents the parameter named
-- 'subscription_start_date'
--
-- Date a subscription is intended to start (can be future or past)
[getInvoicesUpcomingLinesParametersQuerySubscriptionStartDate] :: GetInvoicesUpcomingLinesParameters -> Maybe Int
-- | querySubscription_trial_end: Represents the parameter named
-- 'subscription_trial_end'
--
-- If provided, the invoice returned will preview updating or creating a
-- subscription with that trial end. If set, one of `subscription_items`
-- or `subscription` is required.
[getInvoicesUpcomingLinesParametersQuerySubscriptionTrialEnd] :: GetInvoicesUpcomingLinesParameters -> Maybe GetInvoicesUpcomingLinesParametersQuerySubscriptionTrialEnd'Variants
-- | querySubscription_trial_from_plan: Represents the parameter named
-- 'subscription_trial_from_plan'
--
-- Indicates if a plan's `trial_period_days` should be applied to the
-- subscription. Setting `subscription_trial_end` per subscription is
-- preferred, and this defaults to `false`. Setting this flag to `true`
-- together with `subscription_trial_end` is not allowed.
[getInvoicesUpcomingLinesParametersQuerySubscriptionTrialFromPlan] :: GetInvoicesUpcomingLinesParameters -> Maybe Bool
-- | Create a new GetInvoicesUpcomingLinesParameters with all
-- required fields.
mkGetInvoicesUpcomingLinesParameters :: GetInvoicesUpcomingLinesParameters
-- | Defines the object schema located at
-- paths./v1/invoices/upcoming/lines.GET.parameters.properties.queryAutomatic_tax
-- in the specification.
--
-- Represents the parameter named 'automatic_tax'
--
-- Settings for automatic tax lookup for this invoice preview.
data GetInvoicesUpcomingLinesParametersQueryAutomaticTax'
GetInvoicesUpcomingLinesParametersQueryAutomaticTax' :: Bool -> GetInvoicesUpcomingLinesParametersQueryAutomaticTax'
-- | enabled
[getInvoicesUpcomingLinesParametersQueryAutomaticTax'Enabled] :: GetInvoicesUpcomingLinesParametersQueryAutomaticTax' -> Bool
-- | Create a new
-- GetInvoicesUpcomingLinesParametersQueryAutomaticTax' with all
-- required fields.
mkGetInvoicesUpcomingLinesParametersQueryAutomaticTax' :: Bool -> GetInvoicesUpcomingLinesParametersQueryAutomaticTax'
-- | Defines the object schema located at
-- paths./v1/invoices/upcoming/lines.GET.parameters.properties.queryCustomer_details
-- in the specification.
--
-- Represents the parameter named 'customer_details'
--
-- Details about the customer you want to invoice
data GetInvoicesUpcomingLinesParametersQueryCustomerDetails'
GetInvoicesUpcomingLinesParametersQueryCustomerDetails' :: Maybe GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Address'Variants -> Maybe GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Shipping'Variants -> Maybe GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Tax' -> Maybe GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxExempt' -> Maybe [GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'] -> GetInvoicesUpcomingLinesParametersQueryCustomerDetails'
-- | address
[getInvoicesUpcomingLinesParametersQueryCustomerDetails'Address] :: GetInvoicesUpcomingLinesParametersQueryCustomerDetails' -> Maybe GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Address'Variants
-- | shipping
[getInvoicesUpcomingLinesParametersQueryCustomerDetails'Shipping] :: GetInvoicesUpcomingLinesParametersQueryCustomerDetails' -> Maybe GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Shipping'Variants
-- | tax
[getInvoicesUpcomingLinesParametersQueryCustomerDetails'Tax] :: GetInvoicesUpcomingLinesParametersQueryCustomerDetails' -> Maybe GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Tax'
-- | tax_exempt
[getInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxExempt] :: GetInvoicesUpcomingLinesParametersQueryCustomerDetails' -> Maybe GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxExempt'
-- | tax_ids
[getInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds] :: GetInvoicesUpcomingLinesParametersQueryCustomerDetails' -> Maybe [GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds']
-- | Create a new
-- GetInvoicesUpcomingLinesParametersQueryCustomerDetails' with
-- all required fields.
mkGetInvoicesUpcomingLinesParametersQueryCustomerDetails' :: GetInvoicesUpcomingLinesParametersQueryCustomerDetails'
-- | Defines the object schema located at
-- paths./v1/invoices/upcoming/lines.GET.parameters.properties.queryCustomer_details.properties.address.anyOf
-- in the specification.
data GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Address'OneOf1
GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Address'OneOf1 :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Address'OneOf1
-- | city
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getInvoicesUpcomingLinesParametersQueryCustomerDetails'Address'OneOf1City] :: GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Address'OneOf1 -> Maybe Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getInvoicesUpcomingLinesParametersQueryCustomerDetails'Address'OneOf1Country] :: GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Address'OneOf1 -> Maybe Text
-- | line1
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getInvoicesUpcomingLinesParametersQueryCustomerDetails'Address'OneOf1Line1] :: GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Address'OneOf1 -> Maybe Text
-- | line2
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getInvoicesUpcomingLinesParametersQueryCustomerDetails'Address'OneOf1Line2] :: GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Address'OneOf1 -> Maybe Text
-- | postal_code
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getInvoicesUpcomingLinesParametersQueryCustomerDetails'Address'OneOf1PostalCode] :: GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Address'OneOf1 -> Maybe Text
-- | state
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getInvoicesUpcomingLinesParametersQueryCustomerDetails'Address'OneOf1State] :: GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Address'OneOf1 -> Maybe Text
-- | Create a new
-- GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Address'OneOf1
-- with all required fields.
mkGetInvoicesUpcomingLinesParametersQueryCustomerDetails'Address'OneOf1 :: GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Address'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/invoices/upcoming/lines.GET.parameters.properties.queryCustomer_details.properties.address.anyOf
-- in the specification.
data GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Address'Variants
-- | Represents the JSON value ""
GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Address'EmptyString :: GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Address'Variants
GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Address'GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Address'OneOf1 :: GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Address'OneOf1 -> GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Address'Variants
-- | Defines the object schema located at
-- paths./v1/invoices/upcoming/lines.GET.parameters.properties.queryCustomer_details.properties.shipping.anyOf
-- in the specification.
data GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Shipping'OneOf1
GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Shipping'OneOf1 :: GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Shipping'OneOf1Address' -> Text -> Maybe Text -> GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Shipping'OneOf1
-- | address
[getInvoicesUpcomingLinesParametersQueryCustomerDetails'Shipping'OneOf1Address] :: GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Shipping'OneOf1 -> GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Shipping'OneOf1Address'
-- | name
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getInvoicesUpcomingLinesParametersQueryCustomerDetails'Shipping'OneOf1Name] :: GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Shipping'OneOf1 -> Text
-- | phone
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getInvoicesUpcomingLinesParametersQueryCustomerDetails'Shipping'OneOf1Phone] :: GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Shipping'OneOf1 -> Maybe Text
-- | Create a new
-- GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Shipping'OneOf1
-- with all required fields.
mkGetInvoicesUpcomingLinesParametersQueryCustomerDetails'Shipping'OneOf1 :: GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Shipping'OneOf1Address' -> Text -> GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Shipping'OneOf1
-- | Defines the object schema located at
-- paths./v1/invoices/upcoming/lines.GET.parameters.properties.queryCustomer_details.properties.shipping.anyOf.properties.address
-- in the specification.
data GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Shipping'OneOf1Address'
GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Shipping'OneOf1Address' :: Maybe Text -> Maybe Text -> Text -> Maybe Text -> Maybe Text -> Maybe Text -> GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Shipping'OneOf1Address'
-- | city
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getInvoicesUpcomingLinesParametersQueryCustomerDetails'Shipping'OneOf1Address'City] :: GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Shipping'OneOf1Address' -> Maybe Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getInvoicesUpcomingLinesParametersQueryCustomerDetails'Shipping'OneOf1Address'Country] :: GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Shipping'OneOf1Address' -> Maybe Text
-- | line1
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getInvoicesUpcomingLinesParametersQueryCustomerDetails'Shipping'OneOf1Address'Line1] :: GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Shipping'OneOf1Address' -> Text
-- | line2
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getInvoicesUpcomingLinesParametersQueryCustomerDetails'Shipping'OneOf1Address'Line2] :: GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Shipping'OneOf1Address' -> Maybe Text
-- | postal_code
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getInvoicesUpcomingLinesParametersQueryCustomerDetails'Shipping'OneOf1Address'PostalCode] :: GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Shipping'OneOf1Address' -> Maybe Text
-- | state
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getInvoicesUpcomingLinesParametersQueryCustomerDetails'Shipping'OneOf1Address'State] :: GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Shipping'OneOf1Address' -> Maybe Text
-- | Create a new
-- GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Shipping'OneOf1Address'
-- with all required fields.
mkGetInvoicesUpcomingLinesParametersQueryCustomerDetails'Shipping'OneOf1Address' :: Text -> GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Shipping'OneOf1Address'
-- | Defines the oneOf schema located at
-- paths./v1/invoices/upcoming/lines.GET.parameters.properties.queryCustomer_details.properties.shipping.anyOf
-- in the specification.
data GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Shipping'Variants
-- | Represents the JSON value ""
GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Shipping'EmptyString :: GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Shipping'Variants
GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Shipping'GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Shipping'OneOf1 :: GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Shipping'OneOf1 -> GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Shipping'Variants
-- | Defines the object schema located at
-- paths./v1/invoices/upcoming/lines.GET.parameters.properties.queryCustomer_details.properties.tax
-- in the specification.
data GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Tax'
GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Tax' :: Maybe GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Tax'IpAddress'Variants -> GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Tax'
-- | ip_address
[getInvoicesUpcomingLinesParametersQueryCustomerDetails'Tax'IpAddress] :: GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Tax' -> Maybe GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Tax'IpAddress'Variants
-- | Create a new
-- GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Tax'
-- with all required fields.
mkGetInvoicesUpcomingLinesParametersQueryCustomerDetails'Tax' :: GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Tax'
-- | Defines the oneOf schema located at
-- paths./v1/invoices/upcoming/lines.GET.parameters.properties.queryCustomer_details.properties.tax.properties.ip_address.anyOf
-- in the specification.
data GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Tax'IpAddress'Variants
-- | Represents the JSON value ""
GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Tax'IpAddress'EmptyString :: GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Tax'IpAddress'Variants
GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Tax'IpAddress'Text :: Text -> GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Tax'IpAddress'Variants
-- | Defines the enum schema located at
-- paths./v1/invoices/upcoming/lines.GET.parameters.properties.queryCustomer_details.properties.tax_exempt
-- in the specification.
data GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxExempt'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxExempt'Other :: Value -> GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxExempt'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxExempt'Typed :: Text -> GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxExempt'
-- | Represents the JSON value ""
GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxExempt'EnumEmptyString :: GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxExempt'
-- | Represents the JSON value "exempt"
GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxExempt'EnumExempt :: GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxExempt'
-- | Represents the JSON value "none"
GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxExempt'EnumNone :: GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxExempt'
-- | Represents the JSON value "reverse"
GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxExempt'EnumReverse :: GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxExempt'
-- | Defines the object schema located at
-- paths./v1/invoices/upcoming/lines.GET.parameters.properties.queryCustomer_details.properties.tax_ids.items
-- in the specification.
data GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'
GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds' :: GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type' -> Text -> GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'
-- | type
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type] :: GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds' -> GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'
-- | value
[getInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Value] :: GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds' -> Text
-- | Create a new
-- GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'
-- with all required fields.
mkGetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds' :: GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type' -> Text -> GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'
-- | Defines the enum schema located at
-- paths./v1/invoices/upcoming/lines.GET.parameters.properties.queryCustomer_details.properties.tax_ids.items.properties.type
-- in the specification.
data GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'Other :: Value -> GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'Typed :: Text -> GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'
-- | Represents the JSON value "ae_trn"
GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'EnumAeTrn :: GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'
-- | Represents the JSON value "au_abn"
GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'EnumAuAbn :: GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'
-- | Represents the JSON value "br_cnpj"
GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'EnumBrCnpj :: GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'
-- | Represents the JSON value "br_cpf"
GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'EnumBrCpf :: GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'
-- | Represents the JSON value "ca_bn"
GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'EnumCaBn :: GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'
-- | Represents the JSON value "ca_gst_hst"
GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'EnumCaGstHst :: GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'
-- | Represents the JSON value "ca_pst_bc"
GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'EnumCaPstBc :: GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'
-- | Represents the JSON value "ca_pst_mb"
GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'EnumCaPstMb :: GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'
-- | Represents the JSON value "ca_pst_sk"
GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'EnumCaPstSk :: GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'
-- | Represents the JSON value "ca_qst"
GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'EnumCaQst :: GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'
-- | Represents the JSON value "ch_vat"
GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'EnumChVat :: GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'
-- | Represents the JSON value "cl_tin"
GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'EnumClTin :: GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'
-- | Represents the JSON value "es_cif"
GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'EnumEsCif :: GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'
-- | Represents the JSON value "eu_vat"
GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'EnumEuVat :: GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'
-- | Represents the JSON value "gb_vat"
GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'EnumGbVat :: GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'
-- | Represents the JSON value "hk_br"
GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'EnumHkBr :: GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'
-- | Represents the JSON value "id_npwp"
GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'EnumIdNpwp :: GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'
-- | Represents the JSON value "il_vat"
GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'EnumIlVat :: GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'
-- | Represents the JSON value "in_gst"
GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'EnumInGst :: GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'
-- | Represents the JSON value "jp_cn"
GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'EnumJpCn :: GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'
-- | Represents the JSON value "jp_rn"
GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'EnumJpRn :: GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'
-- | Represents the JSON value "kr_brn"
GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'EnumKrBrn :: GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'
-- | Represents the JSON value "li_uid"
GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'EnumLiUid :: GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'
-- | Represents the JSON value "mx_rfc"
GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'EnumMxRfc :: GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'
-- | Represents the JSON value "my_frp"
GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'EnumMyFrp :: GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'
-- | Represents the JSON value "my_itn"
GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'EnumMyItn :: GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'
-- | Represents the JSON value "my_sst"
GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'EnumMySst :: GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'
-- | Represents the JSON value "no_vat"
GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'EnumNoVat :: GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'
-- | Represents the JSON value "nz_gst"
GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'EnumNzGst :: GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'
-- | Represents the JSON value "ru_inn"
GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'EnumRuInn :: GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'
-- | Represents the JSON value "ru_kpp"
GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'EnumRuKpp :: GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'
-- | Represents the JSON value "sa_vat"
GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'EnumSaVat :: GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'
-- | Represents the JSON value "sg_gst"
GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'EnumSgGst :: GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'
-- | Represents the JSON value "sg_uen"
GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'EnumSgUen :: GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'
-- | Represents the JSON value "th_vat"
GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'EnumThVat :: GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'
-- | Represents the JSON value "tw_vat"
GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'EnumTwVat :: GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'
-- | Represents the JSON value "us_ein"
GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'EnumUsEin :: GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'
-- | Represents the JSON value "za_vat"
GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'EnumZaVat :: GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'
-- | Defines the object schema located at
-- paths./v1/invoices/upcoming/lines.GET.parameters.properties.queryDiscounts.anyOf.items
-- in the specification.
data GetInvoicesUpcomingLinesParametersQueryDiscounts'OneOf1
GetInvoicesUpcomingLinesParametersQueryDiscounts'OneOf1 :: Maybe Text -> Maybe Text -> GetInvoicesUpcomingLinesParametersQueryDiscounts'OneOf1
-- | coupon
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getInvoicesUpcomingLinesParametersQueryDiscounts'OneOf1Coupon] :: GetInvoicesUpcomingLinesParametersQueryDiscounts'OneOf1 -> Maybe Text
-- | discount
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getInvoicesUpcomingLinesParametersQueryDiscounts'OneOf1Discount] :: GetInvoicesUpcomingLinesParametersQueryDiscounts'OneOf1 -> Maybe Text
-- | Create a new
-- GetInvoicesUpcomingLinesParametersQueryDiscounts'OneOf1 with
-- all required fields.
mkGetInvoicesUpcomingLinesParametersQueryDiscounts'OneOf1 :: GetInvoicesUpcomingLinesParametersQueryDiscounts'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/invoices/upcoming/lines.GET.parameters.properties.queryDiscounts.anyOf
-- in the specification.
--
-- Represents the parameter named 'discounts'
--
-- The coupons to redeem into discounts for the invoice preview. If not
-- specified, inherits the discount from the customer or subscription.
-- Pass an empty string to avoid inheriting any discounts. To preview the
-- upcoming invoice for a subscription that hasn't been created, use
-- `coupon` instead.
data GetInvoicesUpcomingLinesParametersQueryDiscounts'Variants
-- | Represents the JSON value ""
GetInvoicesUpcomingLinesParametersQueryDiscounts'EmptyString :: GetInvoicesUpcomingLinesParametersQueryDiscounts'Variants
GetInvoicesUpcomingLinesParametersQueryDiscounts'ListTGetInvoicesUpcomingLinesParametersQueryDiscounts'OneOf1 :: [GetInvoicesUpcomingLinesParametersQueryDiscounts'OneOf1] -> GetInvoicesUpcomingLinesParametersQueryDiscounts'Variants
-- | Defines the object schema located at
-- paths./v1/invoices/upcoming/lines.GET.parameters.properties.queryInvoice_items.items
-- in the specification.
data GetInvoicesUpcomingLinesParametersQueryInvoiceItems'
GetInvoicesUpcomingLinesParametersQueryInvoiceItems' :: Maybe Int -> Maybe Text -> Maybe Text -> Maybe Bool -> Maybe GetInvoicesUpcomingLinesParametersQueryInvoiceItems'Discounts'Variants -> Maybe Text -> Maybe GetInvoicesUpcomingLinesParametersQueryInvoiceItems'Metadata'Variants -> Maybe GetInvoicesUpcomingLinesParametersQueryInvoiceItems'Period' -> Maybe Text -> Maybe GetInvoicesUpcomingLinesParametersQueryInvoiceItems'PriceData' -> Maybe Int -> Maybe GetInvoicesUpcomingLinesParametersQueryInvoiceItems'TaxRates'Variants -> Maybe Int -> Maybe Text -> GetInvoicesUpcomingLinesParametersQueryInvoiceItems'
-- | amount
[getInvoicesUpcomingLinesParametersQueryInvoiceItems'Amount] :: GetInvoicesUpcomingLinesParametersQueryInvoiceItems' -> Maybe Int
-- | currency
[getInvoicesUpcomingLinesParametersQueryInvoiceItems'Currency] :: GetInvoicesUpcomingLinesParametersQueryInvoiceItems' -> Maybe Text
-- | description
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getInvoicesUpcomingLinesParametersQueryInvoiceItems'Description] :: GetInvoicesUpcomingLinesParametersQueryInvoiceItems' -> Maybe Text
-- | discountable
[getInvoicesUpcomingLinesParametersQueryInvoiceItems'Discountable] :: GetInvoicesUpcomingLinesParametersQueryInvoiceItems' -> Maybe Bool
-- | discounts
[getInvoicesUpcomingLinesParametersQueryInvoiceItems'Discounts] :: GetInvoicesUpcomingLinesParametersQueryInvoiceItems' -> Maybe GetInvoicesUpcomingLinesParametersQueryInvoiceItems'Discounts'Variants
-- | invoiceitem
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getInvoicesUpcomingLinesParametersQueryInvoiceItems'Invoiceitem] :: GetInvoicesUpcomingLinesParametersQueryInvoiceItems' -> Maybe Text
-- | metadata
[getInvoicesUpcomingLinesParametersQueryInvoiceItems'Metadata] :: GetInvoicesUpcomingLinesParametersQueryInvoiceItems' -> Maybe GetInvoicesUpcomingLinesParametersQueryInvoiceItems'Metadata'Variants
-- | period
[getInvoicesUpcomingLinesParametersQueryInvoiceItems'Period] :: GetInvoicesUpcomingLinesParametersQueryInvoiceItems' -> Maybe GetInvoicesUpcomingLinesParametersQueryInvoiceItems'Period'
-- | price
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getInvoicesUpcomingLinesParametersQueryInvoiceItems'Price] :: GetInvoicesUpcomingLinesParametersQueryInvoiceItems' -> Maybe Text
-- | price_data
[getInvoicesUpcomingLinesParametersQueryInvoiceItems'PriceData] :: GetInvoicesUpcomingLinesParametersQueryInvoiceItems' -> Maybe GetInvoicesUpcomingLinesParametersQueryInvoiceItems'PriceData'
-- | quantity
[getInvoicesUpcomingLinesParametersQueryInvoiceItems'Quantity] :: GetInvoicesUpcomingLinesParametersQueryInvoiceItems' -> Maybe Int
-- | tax_rates
[getInvoicesUpcomingLinesParametersQueryInvoiceItems'TaxRates] :: GetInvoicesUpcomingLinesParametersQueryInvoiceItems' -> Maybe GetInvoicesUpcomingLinesParametersQueryInvoiceItems'TaxRates'Variants
-- | unit_amount
[getInvoicesUpcomingLinesParametersQueryInvoiceItems'UnitAmount] :: GetInvoicesUpcomingLinesParametersQueryInvoiceItems' -> Maybe Int
-- | unit_amount_decimal
[getInvoicesUpcomingLinesParametersQueryInvoiceItems'UnitAmountDecimal] :: GetInvoicesUpcomingLinesParametersQueryInvoiceItems' -> Maybe Text
-- | Create a new
-- GetInvoicesUpcomingLinesParametersQueryInvoiceItems' with all
-- required fields.
mkGetInvoicesUpcomingLinesParametersQueryInvoiceItems' :: GetInvoicesUpcomingLinesParametersQueryInvoiceItems'
-- | Defines the object schema located at
-- paths./v1/invoices/upcoming/lines.GET.parameters.properties.queryInvoice_items.items.properties.discounts.anyOf.items
-- in the specification.
data GetInvoicesUpcomingLinesParametersQueryInvoiceItems'Discounts'OneOf1
GetInvoicesUpcomingLinesParametersQueryInvoiceItems'Discounts'OneOf1 :: Maybe Text -> Maybe Text -> GetInvoicesUpcomingLinesParametersQueryInvoiceItems'Discounts'OneOf1
-- | coupon
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getInvoicesUpcomingLinesParametersQueryInvoiceItems'Discounts'OneOf1Coupon] :: GetInvoicesUpcomingLinesParametersQueryInvoiceItems'Discounts'OneOf1 -> Maybe Text
-- | discount
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getInvoicesUpcomingLinesParametersQueryInvoiceItems'Discounts'OneOf1Discount] :: GetInvoicesUpcomingLinesParametersQueryInvoiceItems'Discounts'OneOf1 -> Maybe Text
-- | Create a new
-- GetInvoicesUpcomingLinesParametersQueryInvoiceItems'Discounts'OneOf1
-- with all required fields.
mkGetInvoicesUpcomingLinesParametersQueryInvoiceItems'Discounts'OneOf1 :: GetInvoicesUpcomingLinesParametersQueryInvoiceItems'Discounts'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/invoices/upcoming/lines.GET.parameters.properties.queryInvoice_items.items.properties.discounts.anyOf
-- in the specification.
data GetInvoicesUpcomingLinesParametersQueryInvoiceItems'Discounts'Variants
-- | Represents the JSON value ""
GetInvoicesUpcomingLinesParametersQueryInvoiceItems'Discounts'EmptyString :: GetInvoicesUpcomingLinesParametersQueryInvoiceItems'Discounts'Variants
GetInvoicesUpcomingLinesParametersQueryInvoiceItems'Discounts'ListTGetInvoicesUpcomingLinesParametersQueryInvoiceItems'Discounts'OneOf1 :: [GetInvoicesUpcomingLinesParametersQueryInvoiceItems'Discounts'OneOf1] -> GetInvoicesUpcomingLinesParametersQueryInvoiceItems'Discounts'Variants
-- | Defines the oneOf schema located at
-- paths./v1/invoices/upcoming/lines.GET.parameters.properties.queryInvoice_items.items.properties.metadata.anyOf
-- in the specification.
data GetInvoicesUpcomingLinesParametersQueryInvoiceItems'Metadata'Variants
-- | Represents the JSON value ""
GetInvoicesUpcomingLinesParametersQueryInvoiceItems'Metadata'EmptyString :: GetInvoicesUpcomingLinesParametersQueryInvoiceItems'Metadata'Variants
GetInvoicesUpcomingLinesParametersQueryInvoiceItems'Metadata'Object :: Object -> GetInvoicesUpcomingLinesParametersQueryInvoiceItems'Metadata'Variants
-- | Defines the object schema located at
-- paths./v1/invoices/upcoming/lines.GET.parameters.properties.queryInvoice_items.items.properties.period
-- in the specification.
data GetInvoicesUpcomingLinesParametersQueryInvoiceItems'Period'
GetInvoicesUpcomingLinesParametersQueryInvoiceItems'Period' :: Int -> Int -> GetInvoicesUpcomingLinesParametersQueryInvoiceItems'Period'
-- | end
[getInvoicesUpcomingLinesParametersQueryInvoiceItems'Period'End] :: GetInvoicesUpcomingLinesParametersQueryInvoiceItems'Period' -> Int
-- | start
[getInvoicesUpcomingLinesParametersQueryInvoiceItems'Period'Start] :: GetInvoicesUpcomingLinesParametersQueryInvoiceItems'Period' -> Int
-- | Create a new
-- GetInvoicesUpcomingLinesParametersQueryInvoiceItems'Period'
-- with all required fields.
mkGetInvoicesUpcomingLinesParametersQueryInvoiceItems'Period' :: Int -> Int -> GetInvoicesUpcomingLinesParametersQueryInvoiceItems'Period'
-- | Defines the object schema located at
-- paths./v1/invoices/upcoming/lines.GET.parameters.properties.queryInvoice_items.items.properties.price_data
-- in the specification.
data GetInvoicesUpcomingLinesParametersQueryInvoiceItems'PriceData'
GetInvoicesUpcomingLinesParametersQueryInvoiceItems'PriceData' :: Text -> Text -> Maybe GetInvoicesUpcomingLinesParametersQueryInvoiceItems'PriceData'TaxBehavior' -> Maybe Int -> Maybe Text -> GetInvoicesUpcomingLinesParametersQueryInvoiceItems'PriceData'
-- | currency
[getInvoicesUpcomingLinesParametersQueryInvoiceItems'PriceData'Currency] :: GetInvoicesUpcomingLinesParametersQueryInvoiceItems'PriceData' -> Text
-- | product
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getInvoicesUpcomingLinesParametersQueryInvoiceItems'PriceData'Product] :: GetInvoicesUpcomingLinesParametersQueryInvoiceItems'PriceData' -> Text
-- | tax_behavior
[getInvoicesUpcomingLinesParametersQueryInvoiceItems'PriceData'TaxBehavior] :: GetInvoicesUpcomingLinesParametersQueryInvoiceItems'PriceData' -> Maybe GetInvoicesUpcomingLinesParametersQueryInvoiceItems'PriceData'TaxBehavior'
-- | unit_amount
[getInvoicesUpcomingLinesParametersQueryInvoiceItems'PriceData'UnitAmount] :: GetInvoicesUpcomingLinesParametersQueryInvoiceItems'PriceData' -> Maybe Int
-- | unit_amount_decimal
[getInvoicesUpcomingLinesParametersQueryInvoiceItems'PriceData'UnitAmountDecimal] :: GetInvoicesUpcomingLinesParametersQueryInvoiceItems'PriceData' -> Maybe Text
-- | Create a new
-- GetInvoicesUpcomingLinesParametersQueryInvoiceItems'PriceData'
-- with all required fields.
mkGetInvoicesUpcomingLinesParametersQueryInvoiceItems'PriceData' :: Text -> Text -> GetInvoicesUpcomingLinesParametersQueryInvoiceItems'PriceData'
-- | Defines the enum schema located at
-- paths./v1/invoices/upcoming/lines.GET.parameters.properties.queryInvoice_items.items.properties.price_data.properties.tax_behavior
-- in the specification.
data GetInvoicesUpcomingLinesParametersQueryInvoiceItems'PriceData'TaxBehavior'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
GetInvoicesUpcomingLinesParametersQueryInvoiceItems'PriceData'TaxBehavior'Other :: Value -> GetInvoicesUpcomingLinesParametersQueryInvoiceItems'PriceData'TaxBehavior'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
GetInvoicesUpcomingLinesParametersQueryInvoiceItems'PriceData'TaxBehavior'Typed :: Text -> GetInvoicesUpcomingLinesParametersQueryInvoiceItems'PriceData'TaxBehavior'
-- | Represents the JSON value "exclusive"
GetInvoicesUpcomingLinesParametersQueryInvoiceItems'PriceData'TaxBehavior'EnumExclusive :: GetInvoicesUpcomingLinesParametersQueryInvoiceItems'PriceData'TaxBehavior'
-- | Represents the JSON value "inclusive"
GetInvoicesUpcomingLinesParametersQueryInvoiceItems'PriceData'TaxBehavior'EnumInclusive :: GetInvoicesUpcomingLinesParametersQueryInvoiceItems'PriceData'TaxBehavior'
-- | Represents the JSON value "unspecified"
GetInvoicesUpcomingLinesParametersQueryInvoiceItems'PriceData'TaxBehavior'EnumUnspecified :: GetInvoicesUpcomingLinesParametersQueryInvoiceItems'PriceData'TaxBehavior'
-- | Defines the oneOf schema located at
-- paths./v1/invoices/upcoming/lines.GET.parameters.properties.queryInvoice_items.items.properties.tax_rates.anyOf
-- in the specification.
data GetInvoicesUpcomingLinesParametersQueryInvoiceItems'TaxRates'Variants
-- | Represents the JSON value ""
GetInvoicesUpcomingLinesParametersQueryInvoiceItems'TaxRates'EmptyString :: GetInvoicesUpcomingLinesParametersQueryInvoiceItems'TaxRates'Variants
GetInvoicesUpcomingLinesParametersQueryInvoiceItems'TaxRates'ListTText :: [Text] -> GetInvoicesUpcomingLinesParametersQueryInvoiceItems'TaxRates'Variants
-- | Defines the enum schema located at
-- paths./v1/invoices/upcoming/lines.GET.parameters.properties.querySubscription_billing_cycle_anchor.anyOf
-- in the specification.
data GetInvoicesUpcomingLinesParametersQuerySubscriptionBillingCycleAnchor'OneOf1
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
GetInvoicesUpcomingLinesParametersQuerySubscriptionBillingCycleAnchor'OneOf1Other :: Value -> GetInvoicesUpcomingLinesParametersQuerySubscriptionBillingCycleAnchor'OneOf1
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
GetInvoicesUpcomingLinesParametersQuerySubscriptionBillingCycleAnchor'OneOf1Typed :: Text -> GetInvoicesUpcomingLinesParametersQuerySubscriptionBillingCycleAnchor'OneOf1
-- | Represents the JSON value "now"
GetInvoicesUpcomingLinesParametersQuerySubscriptionBillingCycleAnchor'OneOf1EnumNow :: GetInvoicesUpcomingLinesParametersQuerySubscriptionBillingCycleAnchor'OneOf1
-- | Represents the JSON value "unchanged"
GetInvoicesUpcomingLinesParametersQuerySubscriptionBillingCycleAnchor'OneOf1EnumUnchanged :: GetInvoicesUpcomingLinesParametersQuerySubscriptionBillingCycleAnchor'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/invoices/upcoming/lines.GET.parameters.properties.querySubscription_billing_cycle_anchor.anyOf
-- in the specification.
--
-- Represents the parameter named 'subscription_billing_cycle_anchor'
--
-- For new subscriptions, a future timestamp to anchor the subscription's
-- billing cycle. This is used to determine the date of the first
-- full invoice, and, for plans with `month` or `year` intervals, the day
-- of the month for subsequent invoices. For existing subscriptions, the
-- value can only be set to `now` or `unchanged`.
data GetInvoicesUpcomingLinesParametersQuerySubscriptionBillingCycleAnchor'Variants
GetInvoicesUpcomingLinesParametersQuerySubscriptionBillingCycleAnchor'GetInvoicesUpcomingLinesParametersQuerySubscriptionBillingCycleAnchor'OneOf1 :: GetInvoicesUpcomingLinesParametersQuerySubscriptionBillingCycleAnchor'OneOf1 -> GetInvoicesUpcomingLinesParametersQuerySubscriptionBillingCycleAnchor'Variants
GetInvoicesUpcomingLinesParametersQuerySubscriptionBillingCycleAnchor'Int :: Int -> GetInvoicesUpcomingLinesParametersQuerySubscriptionBillingCycleAnchor'Variants
-- | Defines the oneOf schema located at
-- paths./v1/invoices/upcoming/lines.GET.parameters.properties.querySubscription_cancel_at.anyOf
-- in the specification.
--
-- Represents the parameter named 'subscription_cancel_at'
--
-- Timestamp indicating when the subscription should be scheduled to
-- cancel. Will prorate if within the current period and prorations have
-- been enabled using `proration_behavior`.
data GetInvoicesUpcomingLinesParametersQuerySubscriptionCancelAt'Variants
-- | Represents the JSON value ""
GetInvoicesUpcomingLinesParametersQuerySubscriptionCancelAt'EmptyString :: GetInvoicesUpcomingLinesParametersQuerySubscriptionCancelAt'Variants
GetInvoicesUpcomingLinesParametersQuerySubscriptionCancelAt'Int :: Int -> GetInvoicesUpcomingLinesParametersQuerySubscriptionCancelAt'Variants
-- | Defines the oneOf schema located at
-- paths./v1/invoices/upcoming/lines.GET.parameters.properties.querySubscription_default_tax_rates.anyOf
-- in the specification.
--
-- Represents the parameter named 'subscription_default_tax_rates'
--
-- If provided, the invoice returned will preview updating or creating a
-- subscription with these default tax rates. The default tax rates will
-- apply to any line item that does not have `tax_rates` set.
data GetInvoicesUpcomingLinesParametersQuerySubscriptionDefaultTaxRates'Variants
-- | Represents the JSON value ""
GetInvoicesUpcomingLinesParametersQuerySubscriptionDefaultTaxRates'EmptyString :: GetInvoicesUpcomingLinesParametersQuerySubscriptionDefaultTaxRates'Variants
GetInvoicesUpcomingLinesParametersQuerySubscriptionDefaultTaxRates'ListTText :: [Text] -> GetInvoicesUpcomingLinesParametersQuerySubscriptionDefaultTaxRates'Variants
-- | Defines the object schema located at
-- paths./v1/invoices/upcoming/lines.GET.parameters.properties.querySubscription_items.items
-- in the specification.
data GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'
GetInvoicesUpcomingLinesParametersQuerySubscriptionItems' :: Maybe GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'BillingThresholds'Variants -> Maybe Bool -> Maybe Bool -> Maybe Text -> Maybe GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'Metadata'Variants -> Maybe Text -> Maybe GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData' -> Maybe Int -> Maybe GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'TaxRates'Variants -> GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'
-- | billing_thresholds
[getInvoicesUpcomingLinesParametersQuerySubscriptionItems'BillingThresholds] :: GetInvoicesUpcomingLinesParametersQuerySubscriptionItems' -> Maybe GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'BillingThresholds'Variants
-- | clear_usage
[getInvoicesUpcomingLinesParametersQuerySubscriptionItems'ClearUsage] :: GetInvoicesUpcomingLinesParametersQuerySubscriptionItems' -> Maybe Bool
-- | deleted
[getInvoicesUpcomingLinesParametersQuerySubscriptionItems'Deleted] :: GetInvoicesUpcomingLinesParametersQuerySubscriptionItems' -> Maybe Bool
-- | id
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getInvoicesUpcomingLinesParametersQuerySubscriptionItems'Id] :: GetInvoicesUpcomingLinesParametersQuerySubscriptionItems' -> Maybe Text
-- | metadata
[getInvoicesUpcomingLinesParametersQuerySubscriptionItems'Metadata] :: GetInvoicesUpcomingLinesParametersQuerySubscriptionItems' -> Maybe GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'Metadata'Variants
-- | price
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getInvoicesUpcomingLinesParametersQuerySubscriptionItems'Price] :: GetInvoicesUpcomingLinesParametersQuerySubscriptionItems' -> Maybe Text
-- | price_data
[getInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData] :: GetInvoicesUpcomingLinesParametersQuerySubscriptionItems' -> Maybe GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'
-- | quantity
[getInvoicesUpcomingLinesParametersQuerySubscriptionItems'Quantity] :: GetInvoicesUpcomingLinesParametersQuerySubscriptionItems' -> Maybe Int
-- | tax_rates
[getInvoicesUpcomingLinesParametersQuerySubscriptionItems'TaxRates] :: GetInvoicesUpcomingLinesParametersQuerySubscriptionItems' -> Maybe GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'TaxRates'Variants
-- | Create a new
-- GetInvoicesUpcomingLinesParametersQuerySubscriptionItems' with
-- all required fields.
mkGetInvoicesUpcomingLinesParametersQuerySubscriptionItems' :: GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'
-- | Defines the object schema located at
-- paths./v1/invoices/upcoming/lines.GET.parameters.properties.querySubscription_items.items.properties.billing_thresholds.anyOf
-- in the specification.
data GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'BillingThresholds'OneOf1
GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'BillingThresholds'OneOf1 :: Int -> GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'BillingThresholds'OneOf1
-- | usage_gte
[getInvoicesUpcomingLinesParametersQuerySubscriptionItems'BillingThresholds'OneOf1UsageGte] :: GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'BillingThresholds'OneOf1 -> Int
-- | Create a new
-- GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'BillingThresholds'OneOf1
-- with all required fields.
mkGetInvoicesUpcomingLinesParametersQuerySubscriptionItems'BillingThresholds'OneOf1 :: Int -> GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'BillingThresholds'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/invoices/upcoming/lines.GET.parameters.properties.querySubscription_items.items.properties.billing_thresholds.anyOf
-- in the specification.
data GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'BillingThresholds'Variants
-- | Represents the JSON value ""
GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'BillingThresholds'EmptyString :: GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'BillingThresholds'Variants
GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'BillingThresholds'GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'BillingThresholds'OneOf1 :: GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'BillingThresholds'OneOf1 -> GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'BillingThresholds'Variants
-- | Defines the oneOf schema located at
-- paths./v1/invoices/upcoming/lines.GET.parameters.properties.querySubscription_items.items.properties.metadata.anyOf
-- in the specification.
data GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'Metadata'Variants
-- | Represents the JSON value ""
GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'Metadata'EmptyString :: GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'Metadata'Variants
GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'Metadata'Object :: Object -> GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'Metadata'Variants
-- | Defines the object schema located at
-- paths./v1/invoices/upcoming/lines.GET.parameters.properties.querySubscription_items.items.properties.price_data
-- in the specification.
data GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'
GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData' :: Text -> Text -> GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'Recurring' -> Maybe GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'TaxBehavior' -> Maybe Int -> Maybe Text -> GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'
-- | currency
[getInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'Currency] :: GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData' -> Text
-- | product
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'Product] :: GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData' -> Text
-- | recurring
[getInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'Recurring] :: GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData' -> GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'Recurring'
-- | tax_behavior
[getInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'TaxBehavior] :: GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData' -> Maybe GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'TaxBehavior'
-- | unit_amount
[getInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'UnitAmount] :: GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData' -> Maybe Int
-- | unit_amount_decimal
[getInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'UnitAmountDecimal] :: GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData' -> Maybe Text
-- | Create a new
-- GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'
-- with all required fields.
mkGetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData' :: Text -> Text -> GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'Recurring' -> GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'
-- | Defines the object schema located at
-- paths./v1/invoices/upcoming/lines.GET.parameters.properties.querySubscription_items.items.properties.price_data.properties.recurring
-- in the specification.
data GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'Recurring'
GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'Recurring' :: GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'Recurring'Interval' -> Maybe Int -> GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'Recurring'
-- | interval
[getInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'Recurring'Interval] :: GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'Recurring' -> GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'Recurring'Interval'
-- | interval_count
[getInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'Recurring'IntervalCount] :: GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'Recurring' -> Maybe Int
-- | Create a new
-- GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'Recurring'
-- with all required fields.
mkGetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'Recurring' :: GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'Recurring'Interval' -> GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'Recurring'
-- | Defines the enum schema located at
-- paths./v1/invoices/upcoming/lines.GET.parameters.properties.querySubscription_items.items.properties.price_data.properties.recurring.properties.interval
-- in the specification.
data GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'Recurring'Interval'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'Recurring'Interval'Other :: Value -> GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'Recurring'Interval'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'Recurring'Interval'Typed :: Text -> GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'Recurring'Interval'
-- | Represents the JSON value "day"
GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'Recurring'Interval'EnumDay :: GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'Recurring'Interval'
-- | Represents the JSON value "month"
GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'Recurring'Interval'EnumMonth :: GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'Recurring'Interval'
-- | Represents the JSON value "week"
GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'Recurring'Interval'EnumWeek :: GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'Recurring'Interval'
-- | Represents the JSON value "year"
GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'Recurring'Interval'EnumYear :: GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'Recurring'Interval'
-- | Defines the enum schema located at
-- paths./v1/invoices/upcoming/lines.GET.parameters.properties.querySubscription_items.items.properties.price_data.properties.tax_behavior
-- in the specification.
data GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'TaxBehavior'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'TaxBehavior'Other :: Value -> GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'TaxBehavior'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'TaxBehavior'Typed :: Text -> GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'TaxBehavior'
-- | Represents the JSON value "exclusive"
GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'TaxBehavior'EnumExclusive :: GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'TaxBehavior'
-- | Represents the JSON value "inclusive"
GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'TaxBehavior'EnumInclusive :: GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'TaxBehavior'
-- | Represents the JSON value "unspecified"
GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'TaxBehavior'EnumUnspecified :: GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'TaxBehavior'
-- | Defines the oneOf schema located at
-- paths./v1/invoices/upcoming/lines.GET.parameters.properties.querySubscription_items.items.properties.tax_rates.anyOf
-- in the specification.
data GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'TaxRates'Variants
-- | Represents the JSON value ""
GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'TaxRates'EmptyString :: GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'TaxRates'Variants
GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'TaxRates'ListTText :: [Text] -> GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'TaxRates'Variants
-- | Defines the enum schema located at
-- paths./v1/invoices/upcoming/lines.GET.parameters.properties.querySubscription_proration_behavior
-- in the specification.
--
-- Represents the parameter named 'subscription_proration_behavior'
--
-- Determines how to handle prorations when the billing cycle
-- changes (e.g., when switching plans, resetting
-- `billing_cycle_anchor=now`, or starting a trial), or if an item's
-- `quantity` changes. Valid values are `create_prorations`, `none`, or
-- `always_invoice`.
--
-- Passing `create_prorations` will cause proration invoice items to be
-- created when applicable. These proration items will only be invoiced
-- immediately under certain conditions. In order to always
-- invoice immediately for prorations, pass `always_invoice`.
--
-- Prorations can be disabled by passing `none`.
data GetInvoicesUpcomingLinesParametersQuerySubscriptionProrationBehavior'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
GetInvoicesUpcomingLinesParametersQuerySubscriptionProrationBehavior'Other :: Value -> GetInvoicesUpcomingLinesParametersQuerySubscriptionProrationBehavior'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
GetInvoicesUpcomingLinesParametersQuerySubscriptionProrationBehavior'Typed :: Text -> GetInvoicesUpcomingLinesParametersQuerySubscriptionProrationBehavior'
-- | Represents the JSON value "always_invoice"
GetInvoicesUpcomingLinesParametersQuerySubscriptionProrationBehavior'EnumAlwaysInvoice :: GetInvoicesUpcomingLinesParametersQuerySubscriptionProrationBehavior'
-- | Represents the JSON value "create_prorations"
GetInvoicesUpcomingLinesParametersQuerySubscriptionProrationBehavior'EnumCreateProrations :: GetInvoicesUpcomingLinesParametersQuerySubscriptionProrationBehavior'
-- | Represents the JSON value "none"
GetInvoicesUpcomingLinesParametersQuerySubscriptionProrationBehavior'EnumNone :: GetInvoicesUpcomingLinesParametersQuerySubscriptionProrationBehavior'
-- | Defines the oneOf schema located at
-- paths./v1/invoices/upcoming/lines.GET.parameters.properties.querySubscription_trial_end.anyOf
-- in the specification.
--
-- Represents the parameter named 'subscription_trial_end'
--
-- If provided, the invoice returned will preview updating or creating a
-- subscription with that trial end. If set, one of `subscription_items`
-- or `subscription` is required.
data GetInvoicesUpcomingLinesParametersQuerySubscriptionTrialEnd'Variants
-- | Represents the JSON value "now"
GetInvoicesUpcomingLinesParametersQuerySubscriptionTrialEnd'Now :: GetInvoicesUpcomingLinesParametersQuerySubscriptionTrialEnd'Variants
GetInvoicesUpcomingLinesParametersQuerySubscriptionTrialEnd'Int :: Int -> GetInvoicesUpcomingLinesParametersQuerySubscriptionTrialEnd'Variants
-- | Represents a response of the operation
-- getInvoicesUpcomingLines.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetInvoicesUpcomingLinesResponseError
-- is used.
data GetInvoicesUpcomingLinesResponse
-- | Means either no matching case available or a parse error
GetInvoicesUpcomingLinesResponseError :: String -> GetInvoicesUpcomingLinesResponse
-- | Successful response.
GetInvoicesUpcomingLinesResponse200 :: GetInvoicesUpcomingLinesResponseBody200 -> GetInvoicesUpcomingLinesResponse
-- | Error response.
GetInvoicesUpcomingLinesResponseDefault :: Error -> GetInvoicesUpcomingLinesResponse
-- | Defines the object schema located at
-- paths./v1/invoices/upcoming/lines.GET.responses.200.content.application/json.schema
-- in the specification.
data GetInvoicesUpcomingLinesResponseBody200
GetInvoicesUpcomingLinesResponseBody200 :: [LineItem] -> Bool -> Text -> GetInvoicesUpcomingLinesResponseBody200
-- | data: Details about each object.
[getInvoicesUpcomingLinesResponseBody200Data] :: GetInvoicesUpcomingLinesResponseBody200 -> [LineItem]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[getInvoicesUpcomingLinesResponseBody200HasMore] :: GetInvoicesUpcomingLinesResponseBody200 -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getInvoicesUpcomingLinesResponseBody200Url] :: GetInvoicesUpcomingLinesResponseBody200 -> Text
-- | Create a new GetInvoicesUpcomingLinesResponseBody200 with all
-- required fields.
mkGetInvoicesUpcomingLinesResponseBody200 :: [LineItem] -> Bool -> Text -> GetInvoicesUpcomingLinesResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQueryAutomaticTax'
instance GHC.Show.Show StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQueryAutomaticTax'
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Address'OneOf1
instance GHC.Show.Show StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Address'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Address'Variants
instance GHC.Show.Show StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Address'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Shipping'OneOf1Address'
instance GHC.Show.Show StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Shipping'OneOf1Address'
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Shipping'OneOf1
instance GHC.Show.Show StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Shipping'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Shipping'Variants
instance GHC.Show.Show StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Shipping'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Tax'IpAddress'Variants
instance GHC.Show.Show StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Tax'IpAddress'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Tax'
instance GHC.Show.Show StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Tax'
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxExempt'
instance GHC.Show.Show StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxExempt'
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'
instance GHC.Show.Show StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'
instance GHC.Show.Show StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQueryCustomerDetails'
instance GHC.Show.Show StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQueryCustomerDetails'
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQueryDiscounts'OneOf1
instance GHC.Show.Show StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQueryDiscounts'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQueryDiscounts'Variants
instance GHC.Show.Show StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQueryDiscounts'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQueryInvoiceItems'Discounts'OneOf1
instance GHC.Show.Show StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQueryInvoiceItems'Discounts'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQueryInvoiceItems'Discounts'Variants
instance GHC.Show.Show StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQueryInvoiceItems'Discounts'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQueryInvoiceItems'Metadata'Variants
instance GHC.Show.Show StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQueryInvoiceItems'Metadata'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQueryInvoiceItems'Period'
instance GHC.Show.Show StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQueryInvoiceItems'Period'
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQueryInvoiceItems'PriceData'TaxBehavior'
instance GHC.Show.Show StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQueryInvoiceItems'PriceData'TaxBehavior'
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQueryInvoiceItems'PriceData'
instance GHC.Show.Show StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQueryInvoiceItems'PriceData'
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQueryInvoiceItems'TaxRates'Variants
instance GHC.Show.Show StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQueryInvoiceItems'TaxRates'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQueryInvoiceItems'
instance GHC.Show.Show StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQueryInvoiceItems'
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQuerySubscriptionBillingCycleAnchor'OneOf1
instance GHC.Show.Show StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQuerySubscriptionBillingCycleAnchor'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQuerySubscriptionBillingCycleAnchor'Variants
instance GHC.Show.Show StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQuerySubscriptionBillingCycleAnchor'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQuerySubscriptionCancelAt'Variants
instance GHC.Show.Show StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQuerySubscriptionCancelAt'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQuerySubscriptionDefaultTaxRates'Variants
instance GHC.Show.Show StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQuerySubscriptionDefaultTaxRates'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'BillingThresholds'OneOf1
instance GHC.Show.Show StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'BillingThresholds'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'BillingThresholds'Variants
instance GHC.Show.Show StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'BillingThresholds'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'Metadata'Variants
instance GHC.Show.Show StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'Metadata'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'Recurring'Interval'
instance GHC.Show.Show StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'Recurring'Interval'
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'Recurring'
instance GHC.Show.Show StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'Recurring'
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'TaxBehavior'
instance GHC.Show.Show StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'TaxBehavior'
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'
instance GHC.Show.Show StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'TaxRates'Variants
instance GHC.Show.Show StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'TaxRates'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'
instance GHC.Show.Show StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQuerySubscriptionProrationBehavior'
instance GHC.Show.Show StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQuerySubscriptionProrationBehavior'
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQuerySubscriptionTrialEnd'Variants
instance GHC.Show.Show StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQuerySubscriptionTrialEnd'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParameters
instance GHC.Show.Show StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesResponseBody200
instance GHC.Show.Show StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesResponse
instance GHC.Show.Show StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesResponseBody200
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesResponseBody200
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParameters
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQuerySubscriptionTrialEnd'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQuerySubscriptionTrialEnd'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQuerySubscriptionProrationBehavior'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQuerySubscriptionProrationBehavior'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'TaxRates'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'TaxRates'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'TaxBehavior'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'TaxBehavior'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'Recurring'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'Recurring'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'Recurring'Interval'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'Recurring'Interval'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'Metadata'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'Metadata'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'BillingThresholds'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'BillingThresholds'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'BillingThresholds'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'BillingThresholds'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQuerySubscriptionDefaultTaxRates'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQuerySubscriptionDefaultTaxRates'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQuerySubscriptionCancelAt'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQuerySubscriptionCancelAt'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQuerySubscriptionBillingCycleAnchor'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQuerySubscriptionBillingCycleAnchor'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQuerySubscriptionBillingCycleAnchor'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQuerySubscriptionBillingCycleAnchor'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQueryInvoiceItems'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQueryInvoiceItems'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQueryInvoiceItems'TaxRates'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQueryInvoiceItems'TaxRates'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQueryInvoiceItems'PriceData'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQueryInvoiceItems'PriceData'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQueryInvoiceItems'PriceData'TaxBehavior'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQueryInvoiceItems'PriceData'TaxBehavior'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQueryInvoiceItems'Period'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQueryInvoiceItems'Period'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQueryInvoiceItems'Metadata'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQueryInvoiceItems'Metadata'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQueryInvoiceItems'Discounts'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQueryInvoiceItems'Discounts'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQueryInvoiceItems'Discounts'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQueryInvoiceItems'Discounts'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQueryDiscounts'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQueryDiscounts'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQueryDiscounts'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQueryDiscounts'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQueryCustomerDetails'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQueryCustomerDetails'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxExempt'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxExempt'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Tax'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Tax'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Tax'IpAddress'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Tax'IpAddress'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Shipping'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Shipping'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Shipping'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Shipping'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Shipping'OneOf1Address'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Shipping'OneOf1Address'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Address'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Address'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Address'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Address'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQueryAutomaticTax'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetInvoicesUpcomingLines.GetInvoicesUpcomingLinesParametersQueryAutomaticTax'
-- | Contains the different functions to run the operation
-- getInvoicesUpcoming
module StripeAPI.Operations.GetInvoicesUpcoming
-- |
-- GET /v1/invoices/upcoming
--
--
-- <p>At any time, you can preview the upcoming invoice for a
-- customer. This will show you all the charges that are pending,
-- including subscription renewal charges, invoice item charges, etc. It
-- will also show you any discounts that are applicable to the
-- invoice.</p>
--
-- <p>Note that when you are viewing an upcoming invoice, you are
-- simply viewing a preview – the invoice has not yet been created. As
-- such, the upcoming invoice will not show up in invoice listing calls,
-- and you cannot use the API to pay or edit the invoice. If you want to
-- change the amount that your customer will be billed, you can add,
-- remove, or update pending invoice items, or update the customer’s
-- discount.</p>
--
-- <p>You can preview the effects of updating a subscription,
-- including a preview of what proration will take place. To ensure that
-- the actual proration is calculated exactly the same as the previewed
-- proration, you should pass a <code>proration_date</code>
-- parameter when doing the actual subscription update. The value passed
-- in should be the same as the
-- <code>subscription_proration_date</code> returned on the
-- upcoming invoice resource. The recommended way to get only the
-- prorations being previewed is to consider only proration line items
-- where <code>period[start]</code> is equal to the
-- <code>subscription_proration_date</code> on the upcoming
-- invoice resource.</p>
getInvoicesUpcoming :: forall m. MonadHTTP m => GetInvoicesUpcomingParameters -> ClientT m (Response GetInvoicesUpcomingResponse)
-- | Defines the object schema located at
-- paths./v1/invoices/upcoming.GET.parameters in the
-- specification.
data GetInvoicesUpcomingParameters
GetInvoicesUpcomingParameters :: Maybe GetInvoicesUpcomingParametersQueryAutomaticTax' -> Maybe Text -> Maybe Text -> Maybe GetInvoicesUpcomingParametersQueryCustomerDetails' -> Maybe GetInvoicesUpcomingParametersQueryDiscounts'Variants -> Maybe [Text] -> Maybe [GetInvoicesUpcomingParametersQueryInvoiceItems'] -> Maybe Text -> Maybe Text -> Maybe GetInvoicesUpcomingParametersQuerySubscriptionBillingCycleAnchor'Variants -> Maybe GetInvoicesUpcomingParametersQuerySubscriptionCancelAt'Variants -> Maybe Bool -> Maybe Bool -> Maybe GetInvoicesUpcomingParametersQuerySubscriptionDefaultTaxRates'Variants -> Maybe [GetInvoicesUpcomingParametersQuerySubscriptionItems'] -> Maybe GetInvoicesUpcomingParametersQuerySubscriptionProrationBehavior' -> Maybe Int -> Maybe Int -> Maybe GetInvoicesUpcomingParametersQuerySubscriptionTrialEnd'Variants -> Maybe Bool -> GetInvoicesUpcomingParameters
-- | queryAutomatic_tax: Represents the parameter named 'automatic_tax'
--
-- Settings for automatic tax lookup for this invoice preview.
[getInvoicesUpcomingParametersQueryAutomaticTax] :: GetInvoicesUpcomingParameters -> Maybe GetInvoicesUpcomingParametersQueryAutomaticTax'
-- | queryCoupon: Represents the parameter named 'coupon'
--
-- The code of the coupon to apply. If `subscription` or
-- `subscription_items` is provided, the invoice returned will preview
-- updating or creating a subscription with that coupon. Otherwise, it
-- will preview applying that coupon to the customer for the next
-- upcoming invoice from among the customer's subscriptions. The invoice
-- can be previewed without a coupon by passing this value as an empty
-- string.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getInvoicesUpcomingParametersQueryCoupon] :: GetInvoicesUpcomingParameters -> Maybe Text
-- | queryCustomer: Represents the parameter named 'customer'
--
-- The identifier of the customer whose upcoming invoice you'd like to
-- retrieve.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getInvoicesUpcomingParametersQueryCustomer] :: GetInvoicesUpcomingParameters -> Maybe Text
-- | queryCustomer_details: Represents the parameter named
-- 'customer_details'
--
-- Details about the customer you want to invoice
[getInvoicesUpcomingParametersQueryCustomerDetails] :: GetInvoicesUpcomingParameters -> Maybe GetInvoicesUpcomingParametersQueryCustomerDetails'
-- | queryDiscounts: Represents the parameter named 'discounts'
--
-- The coupons to redeem into discounts for the invoice preview. If not
-- specified, inherits the discount from the customer or subscription.
-- Pass an empty string to avoid inheriting any discounts. To preview the
-- upcoming invoice for a subscription that hasn't been created, use
-- `coupon` instead.
[getInvoicesUpcomingParametersQueryDiscounts] :: GetInvoicesUpcomingParameters -> Maybe GetInvoicesUpcomingParametersQueryDiscounts'Variants
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getInvoicesUpcomingParametersQueryExpand] :: GetInvoicesUpcomingParameters -> Maybe [Text]
-- | queryInvoice_items: Represents the parameter named 'invoice_items'
--
-- List of invoice items to add or update in the upcoming invoice
-- preview.
[getInvoicesUpcomingParametersQueryInvoiceItems] :: GetInvoicesUpcomingParameters -> Maybe [GetInvoicesUpcomingParametersQueryInvoiceItems']
-- | querySchedule: Represents the parameter named 'schedule'
--
-- The identifier of the unstarted schedule whose upcoming invoice you'd
-- like to retrieve. Cannot be used with subscription or subscription
-- fields.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getInvoicesUpcomingParametersQuerySchedule] :: GetInvoicesUpcomingParameters -> Maybe Text
-- | querySubscription: Represents the parameter named 'subscription'
--
-- The identifier of the subscription for which you'd like to retrieve
-- the upcoming invoice. If not provided, but a `subscription_items` is
-- provided, you will preview creating a subscription with those items.
-- If neither `subscription` nor `subscription_items` is provided, you
-- will retrieve the next upcoming invoice from among the customer's
-- subscriptions.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getInvoicesUpcomingParametersQuerySubscription] :: GetInvoicesUpcomingParameters -> Maybe Text
-- | querySubscription_billing_cycle_anchor: Represents the parameter named
-- 'subscription_billing_cycle_anchor'
--
-- For new subscriptions, a future timestamp to anchor the subscription's
-- billing cycle. This is used to determine the date of the first
-- full invoice, and, for plans with `month` or `year` intervals, the day
-- of the month for subsequent invoices. For existing subscriptions, the
-- value can only be set to `now` or `unchanged`.
[getInvoicesUpcomingParametersQuerySubscriptionBillingCycleAnchor] :: GetInvoicesUpcomingParameters -> Maybe GetInvoicesUpcomingParametersQuerySubscriptionBillingCycleAnchor'Variants
-- | querySubscription_cancel_at: Represents the parameter named
-- 'subscription_cancel_at'
--
-- Timestamp indicating when the subscription should be scheduled to
-- cancel. Will prorate if within the current period and prorations have
-- been enabled using `proration_behavior`.
[getInvoicesUpcomingParametersQuerySubscriptionCancelAt] :: GetInvoicesUpcomingParameters -> Maybe GetInvoicesUpcomingParametersQuerySubscriptionCancelAt'Variants
-- | querySubscription_cancel_at_period_end: Represents the parameter named
-- 'subscription_cancel_at_period_end'
--
-- Boolean indicating whether this subscription should cancel at the end
-- of the current period.
[getInvoicesUpcomingParametersQuerySubscriptionCancelAtPeriodEnd] :: GetInvoicesUpcomingParameters -> Maybe Bool
-- | querySubscription_cancel_now: Represents the parameter named
-- 'subscription_cancel_now'
--
-- This simulates the subscription being canceled or expired immediately.
[getInvoicesUpcomingParametersQuerySubscriptionCancelNow] :: GetInvoicesUpcomingParameters -> Maybe Bool
-- | querySubscription_default_tax_rates: Represents the parameter named
-- 'subscription_default_tax_rates'
--
-- If provided, the invoice returned will preview updating or creating a
-- subscription with these default tax rates. The default tax rates will
-- apply to any line item that does not have `tax_rates` set.
[getInvoicesUpcomingParametersQuerySubscriptionDefaultTaxRates] :: GetInvoicesUpcomingParameters -> Maybe GetInvoicesUpcomingParametersQuerySubscriptionDefaultTaxRates'Variants
-- | querySubscription_items: Represents the parameter named
-- 'subscription_items'
--
-- A list of up to 20 subscription items, each with an attached price.
[getInvoicesUpcomingParametersQuerySubscriptionItems] :: GetInvoicesUpcomingParameters -> Maybe [GetInvoicesUpcomingParametersQuerySubscriptionItems']
-- | querySubscription_proration_behavior: Represents the parameter named
-- 'subscription_proration_behavior'
--
-- Determines how to handle prorations when the billing cycle
-- changes (e.g., when switching plans, resetting
-- `billing_cycle_anchor=now`, or starting a trial), or if an item's
-- `quantity` changes. Valid values are `create_prorations`, `none`, or
-- `always_invoice`.
--
-- Passing `create_prorations` will cause proration invoice items to be
-- created when applicable. These proration items will only be invoiced
-- immediately under certain conditions. In order to always
-- invoice immediately for prorations, pass `always_invoice`.
--
-- Prorations can be disabled by passing `none`.
[getInvoicesUpcomingParametersQuerySubscriptionProrationBehavior] :: GetInvoicesUpcomingParameters -> Maybe GetInvoicesUpcomingParametersQuerySubscriptionProrationBehavior'
-- | querySubscription_proration_date: Represents the parameter named
-- 'subscription_proration_date'
--
-- If previewing an update to a subscription, and doing proration,
-- `subscription_proration_date` forces the proration to be calculated as
-- though the update was done at the specified time. The time given must
-- be within the current subscription period, and cannot be before the
-- subscription was on its current plan. If set, `subscription`, and one
-- of `subscription_items`, or `subscription_trial_end` are required.
-- Also, `subscription_proration_behavior` cannot be set to 'none'.
[getInvoicesUpcomingParametersQuerySubscriptionProrationDate] :: GetInvoicesUpcomingParameters -> Maybe Int
-- | querySubscription_start_date: Represents the parameter named
-- 'subscription_start_date'
--
-- Date a subscription is intended to start (can be future or past)
[getInvoicesUpcomingParametersQuerySubscriptionStartDate] :: GetInvoicesUpcomingParameters -> Maybe Int
-- | querySubscription_trial_end: Represents the parameter named
-- 'subscription_trial_end'
--
-- If provided, the invoice returned will preview updating or creating a
-- subscription with that trial end. If set, one of `subscription_items`
-- or `subscription` is required.
[getInvoicesUpcomingParametersQuerySubscriptionTrialEnd] :: GetInvoicesUpcomingParameters -> Maybe GetInvoicesUpcomingParametersQuerySubscriptionTrialEnd'Variants
-- | querySubscription_trial_from_plan: Represents the parameter named
-- 'subscription_trial_from_plan'
--
-- Indicates if a plan's `trial_period_days` should be applied to the
-- subscription. Setting `subscription_trial_end` per subscription is
-- preferred, and this defaults to `false`. Setting this flag to `true`
-- together with `subscription_trial_end` is not allowed.
[getInvoicesUpcomingParametersQuerySubscriptionTrialFromPlan] :: GetInvoicesUpcomingParameters -> Maybe Bool
-- | Create a new GetInvoicesUpcomingParameters with all required
-- fields.
mkGetInvoicesUpcomingParameters :: GetInvoicesUpcomingParameters
-- | Defines the object schema located at
-- paths./v1/invoices/upcoming.GET.parameters.properties.queryAutomatic_tax
-- in the specification.
--
-- Represents the parameter named 'automatic_tax'
--
-- Settings for automatic tax lookup for this invoice preview.
data GetInvoicesUpcomingParametersQueryAutomaticTax'
GetInvoicesUpcomingParametersQueryAutomaticTax' :: Bool -> GetInvoicesUpcomingParametersQueryAutomaticTax'
-- | enabled
[getInvoicesUpcomingParametersQueryAutomaticTax'Enabled] :: GetInvoicesUpcomingParametersQueryAutomaticTax' -> Bool
-- | Create a new GetInvoicesUpcomingParametersQueryAutomaticTax'
-- with all required fields.
mkGetInvoicesUpcomingParametersQueryAutomaticTax' :: Bool -> GetInvoicesUpcomingParametersQueryAutomaticTax'
-- | Defines the object schema located at
-- paths./v1/invoices/upcoming.GET.parameters.properties.queryCustomer_details
-- in the specification.
--
-- Represents the parameter named 'customer_details'
--
-- Details about the customer you want to invoice
data GetInvoicesUpcomingParametersQueryCustomerDetails'
GetInvoicesUpcomingParametersQueryCustomerDetails' :: Maybe GetInvoicesUpcomingParametersQueryCustomerDetails'Address'Variants -> Maybe GetInvoicesUpcomingParametersQueryCustomerDetails'Shipping'Variants -> Maybe GetInvoicesUpcomingParametersQueryCustomerDetails'Tax' -> Maybe GetInvoicesUpcomingParametersQueryCustomerDetails'TaxExempt' -> Maybe [GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'] -> GetInvoicesUpcomingParametersQueryCustomerDetails'
-- | address
[getInvoicesUpcomingParametersQueryCustomerDetails'Address] :: GetInvoicesUpcomingParametersQueryCustomerDetails' -> Maybe GetInvoicesUpcomingParametersQueryCustomerDetails'Address'Variants
-- | shipping
[getInvoicesUpcomingParametersQueryCustomerDetails'Shipping] :: GetInvoicesUpcomingParametersQueryCustomerDetails' -> Maybe GetInvoicesUpcomingParametersQueryCustomerDetails'Shipping'Variants
-- | tax
[getInvoicesUpcomingParametersQueryCustomerDetails'Tax] :: GetInvoicesUpcomingParametersQueryCustomerDetails' -> Maybe GetInvoicesUpcomingParametersQueryCustomerDetails'Tax'
-- | tax_exempt
[getInvoicesUpcomingParametersQueryCustomerDetails'TaxExempt] :: GetInvoicesUpcomingParametersQueryCustomerDetails' -> Maybe GetInvoicesUpcomingParametersQueryCustomerDetails'TaxExempt'
-- | tax_ids
[getInvoicesUpcomingParametersQueryCustomerDetails'TaxIds] :: GetInvoicesUpcomingParametersQueryCustomerDetails' -> Maybe [GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds']
-- | Create a new GetInvoicesUpcomingParametersQueryCustomerDetails'
-- with all required fields.
mkGetInvoicesUpcomingParametersQueryCustomerDetails' :: GetInvoicesUpcomingParametersQueryCustomerDetails'
-- | Defines the object schema located at
-- paths./v1/invoices/upcoming.GET.parameters.properties.queryCustomer_details.properties.address.anyOf
-- in the specification.
data GetInvoicesUpcomingParametersQueryCustomerDetails'Address'OneOf1
GetInvoicesUpcomingParametersQueryCustomerDetails'Address'OneOf1 :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> GetInvoicesUpcomingParametersQueryCustomerDetails'Address'OneOf1
-- | city
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getInvoicesUpcomingParametersQueryCustomerDetails'Address'OneOf1City] :: GetInvoicesUpcomingParametersQueryCustomerDetails'Address'OneOf1 -> Maybe Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getInvoicesUpcomingParametersQueryCustomerDetails'Address'OneOf1Country] :: GetInvoicesUpcomingParametersQueryCustomerDetails'Address'OneOf1 -> Maybe Text
-- | line1
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getInvoicesUpcomingParametersQueryCustomerDetails'Address'OneOf1Line1] :: GetInvoicesUpcomingParametersQueryCustomerDetails'Address'OneOf1 -> Maybe Text
-- | line2
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getInvoicesUpcomingParametersQueryCustomerDetails'Address'OneOf1Line2] :: GetInvoicesUpcomingParametersQueryCustomerDetails'Address'OneOf1 -> Maybe Text
-- | postal_code
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getInvoicesUpcomingParametersQueryCustomerDetails'Address'OneOf1PostalCode] :: GetInvoicesUpcomingParametersQueryCustomerDetails'Address'OneOf1 -> Maybe Text
-- | state
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getInvoicesUpcomingParametersQueryCustomerDetails'Address'OneOf1State] :: GetInvoicesUpcomingParametersQueryCustomerDetails'Address'OneOf1 -> Maybe Text
-- | Create a new
-- GetInvoicesUpcomingParametersQueryCustomerDetails'Address'OneOf1
-- with all required fields.
mkGetInvoicesUpcomingParametersQueryCustomerDetails'Address'OneOf1 :: GetInvoicesUpcomingParametersQueryCustomerDetails'Address'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/invoices/upcoming.GET.parameters.properties.queryCustomer_details.properties.address.anyOf
-- in the specification.
data GetInvoicesUpcomingParametersQueryCustomerDetails'Address'Variants
-- | Represents the JSON value ""
GetInvoicesUpcomingParametersQueryCustomerDetails'Address'EmptyString :: GetInvoicesUpcomingParametersQueryCustomerDetails'Address'Variants
GetInvoicesUpcomingParametersQueryCustomerDetails'Address'GetInvoicesUpcomingParametersQueryCustomerDetails'Address'OneOf1 :: GetInvoicesUpcomingParametersQueryCustomerDetails'Address'OneOf1 -> GetInvoicesUpcomingParametersQueryCustomerDetails'Address'Variants
-- | Defines the object schema located at
-- paths./v1/invoices/upcoming.GET.parameters.properties.queryCustomer_details.properties.shipping.anyOf
-- in the specification.
data GetInvoicesUpcomingParametersQueryCustomerDetails'Shipping'OneOf1
GetInvoicesUpcomingParametersQueryCustomerDetails'Shipping'OneOf1 :: GetInvoicesUpcomingParametersQueryCustomerDetails'Shipping'OneOf1Address' -> Text -> Maybe Text -> GetInvoicesUpcomingParametersQueryCustomerDetails'Shipping'OneOf1
-- | address
[getInvoicesUpcomingParametersQueryCustomerDetails'Shipping'OneOf1Address] :: GetInvoicesUpcomingParametersQueryCustomerDetails'Shipping'OneOf1 -> GetInvoicesUpcomingParametersQueryCustomerDetails'Shipping'OneOf1Address'
-- | name
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getInvoicesUpcomingParametersQueryCustomerDetails'Shipping'OneOf1Name] :: GetInvoicesUpcomingParametersQueryCustomerDetails'Shipping'OneOf1 -> Text
-- | phone
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getInvoicesUpcomingParametersQueryCustomerDetails'Shipping'OneOf1Phone] :: GetInvoicesUpcomingParametersQueryCustomerDetails'Shipping'OneOf1 -> Maybe Text
-- | Create a new
-- GetInvoicesUpcomingParametersQueryCustomerDetails'Shipping'OneOf1
-- with all required fields.
mkGetInvoicesUpcomingParametersQueryCustomerDetails'Shipping'OneOf1 :: GetInvoicesUpcomingParametersQueryCustomerDetails'Shipping'OneOf1Address' -> Text -> GetInvoicesUpcomingParametersQueryCustomerDetails'Shipping'OneOf1
-- | Defines the object schema located at
-- paths./v1/invoices/upcoming.GET.parameters.properties.queryCustomer_details.properties.shipping.anyOf.properties.address
-- in the specification.
data GetInvoicesUpcomingParametersQueryCustomerDetails'Shipping'OneOf1Address'
GetInvoicesUpcomingParametersQueryCustomerDetails'Shipping'OneOf1Address' :: Maybe Text -> Maybe Text -> Text -> Maybe Text -> Maybe Text -> Maybe Text -> GetInvoicesUpcomingParametersQueryCustomerDetails'Shipping'OneOf1Address'
-- | city
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getInvoicesUpcomingParametersQueryCustomerDetails'Shipping'OneOf1Address'City] :: GetInvoicesUpcomingParametersQueryCustomerDetails'Shipping'OneOf1Address' -> Maybe Text
-- | country
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getInvoicesUpcomingParametersQueryCustomerDetails'Shipping'OneOf1Address'Country] :: GetInvoicesUpcomingParametersQueryCustomerDetails'Shipping'OneOf1Address' -> Maybe Text
-- | line1
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getInvoicesUpcomingParametersQueryCustomerDetails'Shipping'OneOf1Address'Line1] :: GetInvoicesUpcomingParametersQueryCustomerDetails'Shipping'OneOf1Address' -> Text
-- | line2
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getInvoicesUpcomingParametersQueryCustomerDetails'Shipping'OneOf1Address'Line2] :: GetInvoicesUpcomingParametersQueryCustomerDetails'Shipping'OneOf1Address' -> Maybe Text
-- | postal_code
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getInvoicesUpcomingParametersQueryCustomerDetails'Shipping'OneOf1Address'PostalCode] :: GetInvoicesUpcomingParametersQueryCustomerDetails'Shipping'OneOf1Address' -> Maybe Text
-- | state
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getInvoicesUpcomingParametersQueryCustomerDetails'Shipping'OneOf1Address'State] :: GetInvoicesUpcomingParametersQueryCustomerDetails'Shipping'OneOf1Address' -> Maybe Text
-- | Create a new
-- GetInvoicesUpcomingParametersQueryCustomerDetails'Shipping'OneOf1Address'
-- with all required fields.
mkGetInvoicesUpcomingParametersQueryCustomerDetails'Shipping'OneOf1Address' :: Text -> GetInvoicesUpcomingParametersQueryCustomerDetails'Shipping'OneOf1Address'
-- | Defines the oneOf schema located at
-- paths./v1/invoices/upcoming.GET.parameters.properties.queryCustomer_details.properties.shipping.anyOf
-- in the specification.
data GetInvoicesUpcomingParametersQueryCustomerDetails'Shipping'Variants
-- | Represents the JSON value ""
GetInvoicesUpcomingParametersQueryCustomerDetails'Shipping'EmptyString :: GetInvoicesUpcomingParametersQueryCustomerDetails'Shipping'Variants
GetInvoicesUpcomingParametersQueryCustomerDetails'Shipping'GetInvoicesUpcomingParametersQueryCustomerDetails'Shipping'OneOf1 :: GetInvoicesUpcomingParametersQueryCustomerDetails'Shipping'OneOf1 -> GetInvoicesUpcomingParametersQueryCustomerDetails'Shipping'Variants
-- | Defines the object schema located at
-- paths./v1/invoices/upcoming.GET.parameters.properties.queryCustomer_details.properties.tax
-- in the specification.
data GetInvoicesUpcomingParametersQueryCustomerDetails'Tax'
GetInvoicesUpcomingParametersQueryCustomerDetails'Tax' :: Maybe GetInvoicesUpcomingParametersQueryCustomerDetails'Tax'IpAddress'Variants -> GetInvoicesUpcomingParametersQueryCustomerDetails'Tax'
-- | ip_address
[getInvoicesUpcomingParametersQueryCustomerDetails'Tax'IpAddress] :: GetInvoicesUpcomingParametersQueryCustomerDetails'Tax' -> Maybe GetInvoicesUpcomingParametersQueryCustomerDetails'Tax'IpAddress'Variants
-- | Create a new
-- GetInvoicesUpcomingParametersQueryCustomerDetails'Tax' with all
-- required fields.
mkGetInvoicesUpcomingParametersQueryCustomerDetails'Tax' :: GetInvoicesUpcomingParametersQueryCustomerDetails'Tax'
-- | Defines the oneOf schema located at
-- paths./v1/invoices/upcoming.GET.parameters.properties.queryCustomer_details.properties.tax.properties.ip_address.anyOf
-- in the specification.
data GetInvoicesUpcomingParametersQueryCustomerDetails'Tax'IpAddress'Variants
-- | Represents the JSON value ""
GetInvoicesUpcomingParametersQueryCustomerDetails'Tax'IpAddress'EmptyString :: GetInvoicesUpcomingParametersQueryCustomerDetails'Tax'IpAddress'Variants
GetInvoicesUpcomingParametersQueryCustomerDetails'Tax'IpAddress'Text :: Text -> GetInvoicesUpcomingParametersQueryCustomerDetails'Tax'IpAddress'Variants
-- | Defines the enum schema located at
-- paths./v1/invoices/upcoming.GET.parameters.properties.queryCustomer_details.properties.tax_exempt
-- in the specification.
data GetInvoicesUpcomingParametersQueryCustomerDetails'TaxExempt'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
GetInvoicesUpcomingParametersQueryCustomerDetails'TaxExempt'Other :: Value -> GetInvoicesUpcomingParametersQueryCustomerDetails'TaxExempt'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
GetInvoicesUpcomingParametersQueryCustomerDetails'TaxExempt'Typed :: Text -> GetInvoicesUpcomingParametersQueryCustomerDetails'TaxExempt'
-- | Represents the JSON value ""
GetInvoicesUpcomingParametersQueryCustomerDetails'TaxExempt'EnumEmptyString :: GetInvoicesUpcomingParametersQueryCustomerDetails'TaxExempt'
-- | Represents the JSON value "exempt"
GetInvoicesUpcomingParametersQueryCustomerDetails'TaxExempt'EnumExempt :: GetInvoicesUpcomingParametersQueryCustomerDetails'TaxExempt'
-- | Represents the JSON value "none"
GetInvoicesUpcomingParametersQueryCustomerDetails'TaxExempt'EnumNone :: GetInvoicesUpcomingParametersQueryCustomerDetails'TaxExempt'
-- | Represents the JSON value "reverse"
GetInvoicesUpcomingParametersQueryCustomerDetails'TaxExempt'EnumReverse :: GetInvoicesUpcomingParametersQueryCustomerDetails'TaxExempt'
-- | Defines the object schema located at
-- paths./v1/invoices/upcoming.GET.parameters.properties.queryCustomer_details.properties.tax_ids.items
-- in the specification.
data GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'
GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds' :: GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type' -> Text -> GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'
-- | type
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type] :: GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds' -> GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'
-- | value
[getInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Value] :: GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds' -> Text
-- | Create a new
-- GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds' with
-- all required fields.
mkGetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds' :: GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type' -> Text -> GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'
-- | Defines the enum schema located at
-- paths./v1/invoices/upcoming.GET.parameters.properties.queryCustomer_details.properties.tax_ids.items.properties.type
-- in the specification.
data GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'Other :: Value -> GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'Typed :: Text -> GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'
-- | Represents the JSON value "ae_trn"
GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'EnumAeTrn :: GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'
-- | Represents the JSON value "au_abn"
GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'EnumAuAbn :: GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'
-- | Represents the JSON value "br_cnpj"
GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'EnumBrCnpj :: GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'
-- | Represents the JSON value "br_cpf"
GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'EnumBrCpf :: GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'
-- | Represents the JSON value "ca_bn"
GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'EnumCaBn :: GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'
-- | Represents the JSON value "ca_gst_hst"
GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'EnumCaGstHst :: GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'
-- | Represents the JSON value "ca_pst_bc"
GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'EnumCaPstBc :: GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'
-- | Represents the JSON value "ca_pst_mb"
GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'EnumCaPstMb :: GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'
-- | Represents the JSON value "ca_pst_sk"
GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'EnumCaPstSk :: GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'
-- | Represents the JSON value "ca_qst"
GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'EnumCaQst :: GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'
-- | Represents the JSON value "ch_vat"
GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'EnumChVat :: GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'
-- | Represents the JSON value "cl_tin"
GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'EnumClTin :: GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'
-- | Represents the JSON value "es_cif"
GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'EnumEsCif :: GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'
-- | Represents the JSON value "eu_vat"
GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'EnumEuVat :: GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'
-- | Represents the JSON value "gb_vat"
GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'EnumGbVat :: GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'
-- | Represents the JSON value "hk_br"
GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'EnumHkBr :: GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'
-- | Represents the JSON value "id_npwp"
GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'EnumIdNpwp :: GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'
-- | Represents the JSON value "il_vat"
GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'EnumIlVat :: GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'
-- | Represents the JSON value "in_gst"
GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'EnumInGst :: GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'
-- | Represents the JSON value "jp_cn"
GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'EnumJpCn :: GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'
-- | Represents the JSON value "jp_rn"
GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'EnumJpRn :: GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'
-- | Represents the JSON value "kr_brn"
GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'EnumKrBrn :: GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'
-- | Represents the JSON value "li_uid"
GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'EnumLiUid :: GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'
-- | Represents the JSON value "mx_rfc"
GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'EnumMxRfc :: GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'
-- | Represents the JSON value "my_frp"
GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'EnumMyFrp :: GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'
-- | Represents the JSON value "my_itn"
GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'EnumMyItn :: GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'
-- | Represents the JSON value "my_sst"
GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'EnumMySst :: GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'
-- | Represents the JSON value "no_vat"
GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'EnumNoVat :: GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'
-- | Represents the JSON value "nz_gst"
GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'EnumNzGst :: GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'
-- | Represents the JSON value "ru_inn"
GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'EnumRuInn :: GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'
-- | Represents the JSON value "ru_kpp"
GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'EnumRuKpp :: GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'
-- | Represents the JSON value "sa_vat"
GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'EnumSaVat :: GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'
-- | Represents the JSON value "sg_gst"
GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'EnumSgGst :: GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'
-- | Represents the JSON value "sg_uen"
GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'EnumSgUen :: GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'
-- | Represents the JSON value "th_vat"
GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'EnumThVat :: GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'
-- | Represents the JSON value "tw_vat"
GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'EnumTwVat :: GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'
-- | Represents the JSON value "us_ein"
GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'EnumUsEin :: GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'
-- | Represents the JSON value "za_vat"
GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'EnumZaVat :: GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'
-- | Defines the object schema located at
-- paths./v1/invoices/upcoming.GET.parameters.properties.queryDiscounts.anyOf.items
-- in the specification.
data GetInvoicesUpcomingParametersQueryDiscounts'OneOf1
GetInvoicesUpcomingParametersQueryDiscounts'OneOf1 :: Maybe Text -> Maybe Text -> GetInvoicesUpcomingParametersQueryDiscounts'OneOf1
-- | coupon
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getInvoicesUpcomingParametersQueryDiscounts'OneOf1Coupon] :: GetInvoicesUpcomingParametersQueryDiscounts'OneOf1 -> Maybe Text
-- | discount
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getInvoicesUpcomingParametersQueryDiscounts'OneOf1Discount] :: GetInvoicesUpcomingParametersQueryDiscounts'OneOf1 -> Maybe Text
-- | Create a new GetInvoicesUpcomingParametersQueryDiscounts'OneOf1
-- with all required fields.
mkGetInvoicesUpcomingParametersQueryDiscounts'OneOf1 :: GetInvoicesUpcomingParametersQueryDiscounts'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/invoices/upcoming.GET.parameters.properties.queryDiscounts.anyOf
-- in the specification.
--
-- Represents the parameter named 'discounts'
--
-- The coupons to redeem into discounts for the invoice preview. If not
-- specified, inherits the discount from the customer or subscription.
-- Pass an empty string to avoid inheriting any discounts. To preview the
-- upcoming invoice for a subscription that hasn't been created, use
-- `coupon` instead.
data GetInvoicesUpcomingParametersQueryDiscounts'Variants
-- | Represents the JSON value ""
GetInvoicesUpcomingParametersQueryDiscounts'EmptyString :: GetInvoicesUpcomingParametersQueryDiscounts'Variants
GetInvoicesUpcomingParametersQueryDiscounts'ListTGetInvoicesUpcomingParametersQueryDiscounts'OneOf1 :: [GetInvoicesUpcomingParametersQueryDiscounts'OneOf1] -> GetInvoicesUpcomingParametersQueryDiscounts'Variants
-- | Defines the object schema located at
-- paths./v1/invoices/upcoming.GET.parameters.properties.queryInvoice_items.items
-- in the specification.
data GetInvoicesUpcomingParametersQueryInvoiceItems'
GetInvoicesUpcomingParametersQueryInvoiceItems' :: Maybe Int -> Maybe Text -> Maybe Text -> Maybe Bool -> Maybe GetInvoicesUpcomingParametersQueryInvoiceItems'Discounts'Variants -> Maybe Text -> Maybe GetInvoicesUpcomingParametersQueryInvoiceItems'Metadata'Variants -> Maybe GetInvoicesUpcomingParametersQueryInvoiceItems'Period' -> Maybe Text -> Maybe GetInvoicesUpcomingParametersQueryInvoiceItems'PriceData' -> Maybe Int -> Maybe GetInvoicesUpcomingParametersQueryInvoiceItems'TaxRates'Variants -> Maybe Int -> Maybe Text -> GetInvoicesUpcomingParametersQueryInvoiceItems'
-- | amount
[getInvoicesUpcomingParametersQueryInvoiceItems'Amount] :: GetInvoicesUpcomingParametersQueryInvoiceItems' -> Maybe Int
-- | currency
[getInvoicesUpcomingParametersQueryInvoiceItems'Currency] :: GetInvoicesUpcomingParametersQueryInvoiceItems' -> Maybe Text
-- | description
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getInvoicesUpcomingParametersQueryInvoiceItems'Description] :: GetInvoicesUpcomingParametersQueryInvoiceItems' -> Maybe Text
-- | discountable
[getInvoicesUpcomingParametersQueryInvoiceItems'Discountable] :: GetInvoicesUpcomingParametersQueryInvoiceItems' -> Maybe Bool
-- | discounts
[getInvoicesUpcomingParametersQueryInvoiceItems'Discounts] :: GetInvoicesUpcomingParametersQueryInvoiceItems' -> Maybe GetInvoicesUpcomingParametersQueryInvoiceItems'Discounts'Variants
-- | invoiceitem
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getInvoicesUpcomingParametersQueryInvoiceItems'Invoiceitem] :: GetInvoicesUpcomingParametersQueryInvoiceItems' -> Maybe Text
-- | metadata
[getInvoicesUpcomingParametersQueryInvoiceItems'Metadata] :: GetInvoicesUpcomingParametersQueryInvoiceItems' -> Maybe GetInvoicesUpcomingParametersQueryInvoiceItems'Metadata'Variants
-- | period
[getInvoicesUpcomingParametersQueryInvoiceItems'Period] :: GetInvoicesUpcomingParametersQueryInvoiceItems' -> Maybe GetInvoicesUpcomingParametersQueryInvoiceItems'Period'
-- | price
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getInvoicesUpcomingParametersQueryInvoiceItems'Price] :: GetInvoicesUpcomingParametersQueryInvoiceItems' -> Maybe Text
-- | price_data
[getInvoicesUpcomingParametersQueryInvoiceItems'PriceData] :: GetInvoicesUpcomingParametersQueryInvoiceItems' -> Maybe GetInvoicesUpcomingParametersQueryInvoiceItems'PriceData'
-- | quantity
[getInvoicesUpcomingParametersQueryInvoiceItems'Quantity] :: GetInvoicesUpcomingParametersQueryInvoiceItems' -> Maybe Int
-- | tax_rates
[getInvoicesUpcomingParametersQueryInvoiceItems'TaxRates] :: GetInvoicesUpcomingParametersQueryInvoiceItems' -> Maybe GetInvoicesUpcomingParametersQueryInvoiceItems'TaxRates'Variants
-- | unit_amount
[getInvoicesUpcomingParametersQueryInvoiceItems'UnitAmount] :: GetInvoicesUpcomingParametersQueryInvoiceItems' -> Maybe Int
-- | unit_amount_decimal
[getInvoicesUpcomingParametersQueryInvoiceItems'UnitAmountDecimal] :: GetInvoicesUpcomingParametersQueryInvoiceItems' -> Maybe Text
-- | Create a new GetInvoicesUpcomingParametersQueryInvoiceItems'
-- with all required fields.
mkGetInvoicesUpcomingParametersQueryInvoiceItems' :: GetInvoicesUpcomingParametersQueryInvoiceItems'
-- | Defines the object schema located at
-- paths./v1/invoices/upcoming.GET.parameters.properties.queryInvoice_items.items.properties.discounts.anyOf.items
-- in the specification.
data GetInvoicesUpcomingParametersQueryInvoiceItems'Discounts'OneOf1
GetInvoicesUpcomingParametersQueryInvoiceItems'Discounts'OneOf1 :: Maybe Text -> Maybe Text -> GetInvoicesUpcomingParametersQueryInvoiceItems'Discounts'OneOf1
-- | coupon
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getInvoicesUpcomingParametersQueryInvoiceItems'Discounts'OneOf1Coupon] :: GetInvoicesUpcomingParametersQueryInvoiceItems'Discounts'OneOf1 -> Maybe Text
-- | discount
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getInvoicesUpcomingParametersQueryInvoiceItems'Discounts'OneOf1Discount] :: GetInvoicesUpcomingParametersQueryInvoiceItems'Discounts'OneOf1 -> Maybe Text
-- | Create a new
-- GetInvoicesUpcomingParametersQueryInvoiceItems'Discounts'OneOf1
-- with all required fields.
mkGetInvoicesUpcomingParametersQueryInvoiceItems'Discounts'OneOf1 :: GetInvoicesUpcomingParametersQueryInvoiceItems'Discounts'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/invoices/upcoming.GET.parameters.properties.queryInvoice_items.items.properties.discounts.anyOf
-- in the specification.
data GetInvoicesUpcomingParametersQueryInvoiceItems'Discounts'Variants
-- | Represents the JSON value ""
GetInvoicesUpcomingParametersQueryInvoiceItems'Discounts'EmptyString :: GetInvoicesUpcomingParametersQueryInvoiceItems'Discounts'Variants
GetInvoicesUpcomingParametersQueryInvoiceItems'Discounts'ListTGetInvoicesUpcomingParametersQueryInvoiceItems'Discounts'OneOf1 :: [GetInvoicesUpcomingParametersQueryInvoiceItems'Discounts'OneOf1] -> GetInvoicesUpcomingParametersQueryInvoiceItems'Discounts'Variants
-- | Defines the oneOf schema located at
-- paths./v1/invoices/upcoming.GET.parameters.properties.queryInvoice_items.items.properties.metadata.anyOf
-- in the specification.
data GetInvoicesUpcomingParametersQueryInvoiceItems'Metadata'Variants
-- | Represents the JSON value ""
GetInvoicesUpcomingParametersQueryInvoiceItems'Metadata'EmptyString :: GetInvoicesUpcomingParametersQueryInvoiceItems'Metadata'Variants
GetInvoicesUpcomingParametersQueryInvoiceItems'Metadata'Object :: Object -> GetInvoicesUpcomingParametersQueryInvoiceItems'Metadata'Variants
-- | Defines the object schema located at
-- paths./v1/invoices/upcoming.GET.parameters.properties.queryInvoice_items.items.properties.period
-- in the specification.
data GetInvoicesUpcomingParametersQueryInvoiceItems'Period'
GetInvoicesUpcomingParametersQueryInvoiceItems'Period' :: Int -> Int -> GetInvoicesUpcomingParametersQueryInvoiceItems'Period'
-- | end
[getInvoicesUpcomingParametersQueryInvoiceItems'Period'End] :: GetInvoicesUpcomingParametersQueryInvoiceItems'Period' -> Int
-- | start
[getInvoicesUpcomingParametersQueryInvoiceItems'Period'Start] :: GetInvoicesUpcomingParametersQueryInvoiceItems'Period' -> Int
-- | Create a new
-- GetInvoicesUpcomingParametersQueryInvoiceItems'Period' with all
-- required fields.
mkGetInvoicesUpcomingParametersQueryInvoiceItems'Period' :: Int -> Int -> GetInvoicesUpcomingParametersQueryInvoiceItems'Period'
-- | Defines the object schema located at
-- paths./v1/invoices/upcoming.GET.parameters.properties.queryInvoice_items.items.properties.price_data
-- in the specification.
data GetInvoicesUpcomingParametersQueryInvoiceItems'PriceData'
GetInvoicesUpcomingParametersQueryInvoiceItems'PriceData' :: Text -> Text -> Maybe GetInvoicesUpcomingParametersQueryInvoiceItems'PriceData'TaxBehavior' -> Maybe Int -> Maybe Text -> GetInvoicesUpcomingParametersQueryInvoiceItems'PriceData'
-- | currency
[getInvoicesUpcomingParametersQueryInvoiceItems'PriceData'Currency] :: GetInvoicesUpcomingParametersQueryInvoiceItems'PriceData' -> Text
-- | product
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getInvoicesUpcomingParametersQueryInvoiceItems'PriceData'Product] :: GetInvoicesUpcomingParametersQueryInvoiceItems'PriceData' -> Text
-- | tax_behavior
[getInvoicesUpcomingParametersQueryInvoiceItems'PriceData'TaxBehavior] :: GetInvoicesUpcomingParametersQueryInvoiceItems'PriceData' -> Maybe GetInvoicesUpcomingParametersQueryInvoiceItems'PriceData'TaxBehavior'
-- | unit_amount
[getInvoicesUpcomingParametersQueryInvoiceItems'PriceData'UnitAmount] :: GetInvoicesUpcomingParametersQueryInvoiceItems'PriceData' -> Maybe Int
-- | unit_amount_decimal
[getInvoicesUpcomingParametersQueryInvoiceItems'PriceData'UnitAmountDecimal] :: GetInvoicesUpcomingParametersQueryInvoiceItems'PriceData' -> Maybe Text
-- | Create a new
-- GetInvoicesUpcomingParametersQueryInvoiceItems'PriceData' with
-- all required fields.
mkGetInvoicesUpcomingParametersQueryInvoiceItems'PriceData' :: Text -> Text -> GetInvoicesUpcomingParametersQueryInvoiceItems'PriceData'
-- | Defines the enum schema located at
-- paths./v1/invoices/upcoming.GET.parameters.properties.queryInvoice_items.items.properties.price_data.properties.tax_behavior
-- in the specification.
data GetInvoicesUpcomingParametersQueryInvoiceItems'PriceData'TaxBehavior'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
GetInvoicesUpcomingParametersQueryInvoiceItems'PriceData'TaxBehavior'Other :: Value -> GetInvoicesUpcomingParametersQueryInvoiceItems'PriceData'TaxBehavior'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
GetInvoicesUpcomingParametersQueryInvoiceItems'PriceData'TaxBehavior'Typed :: Text -> GetInvoicesUpcomingParametersQueryInvoiceItems'PriceData'TaxBehavior'
-- | Represents the JSON value "exclusive"
GetInvoicesUpcomingParametersQueryInvoiceItems'PriceData'TaxBehavior'EnumExclusive :: GetInvoicesUpcomingParametersQueryInvoiceItems'PriceData'TaxBehavior'
-- | Represents the JSON value "inclusive"
GetInvoicesUpcomingParametersQueryInvoiceItems'PriceData'TaxBehavior'EnumInclusive :: GetInvoicesUpcomingParametersQueryInvoiceItems'PriceData'TaxBehavior'
-- | Represents the JSON value "unspecified"
GetInvoicesUpcomingParametersQueryInvoiceItems'PriceData'TaxBehavior'EnumUnspecified :: GetInvoicesUpcomingParametersQueryInvoiceItems'PriceData'TaxBehavior'
-- | Defines the oneOf schema located at
-- paths./v1/invoices/upcoming.GET.parameters.properties.queryInvoice_items.items.properties.tax_rates.anyOf
-- in the specification.
data GetInvoicesUpcomingParametersQueryInvoiceItems'TaxRates'Variants
-- | Represents the JSON value ""
GetInvoicesUpcomingParametersQueryInvoiceItems'TaxRates'EmptyString :: GetInvoicesUpcomingParametersQueryInvoiceItems'TaxRates'Variants
GetInvoicesUpcomingParametersQueryInvoiceItems'TaxRates'ListTText :: [Text] -> GetInvoicesUpcomingParametersQueryInvoiceItems'TaxRates'Variants
-- | Defines the enum schema located at
-- paths./v1/invoices/upcoming.GET.parameters.properties.querySubscription_billing_cycle_anchor.anyOf
-- in the specification.
data GetInvoicesUpcomingParametersQuerySubscriptionBillingCycleAnchor'OneOf1
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
GetInvoicesUpcomingParametersQuerySubscriptionBillingCycleAnchor'OneOf1Other :: Value -> GetInvoicesUpcomingParametersQuerySubscriptionBillingCycleAnchor'OneOf1
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
GetInvoicesUpcomingParametersQuerySubscriptionBillingCycleAnchor'OneOf1Typed :: Text -> GetInvoicesUpcomingParametersQuerySubscriptionBillingCycleAnchor'OneOf1
-- | Represents the JSON value "now"
GetInvoicesUpcomingParametersQuerySubscriptionBillingCycleAnchor'OneOf1EnumNow :: GetInvoicesUpcomingParametersQuerySubscriptionBillingCycleAnchor'OneOf1
-- | Represents the JSON value "unchanged"
GetInvoicesUpcomingParametersQuerySubscriptionBillingCycleAnchor'OneOf1EnumUnchanged :: GetInvoicesUpcomingParametersQuerySubscriptionBillingCycleAnchor'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/invoices/upcoming.GET.parameters.properties.querySubscription_billing_cycle_anchor.anyOf
-- in the specification.
--
-- Represents the parameter named 'subscription_billing_cycle_anchor'
--
-- For new subscriptions, a future timestamp to anchor the subscription's
-- billing cycle. This is used to determine the date of the first
-- full invoice, and, for plans with `month` or `year` intervals, the day
-- of the month for subsequent invoices. For existing subscriptions, the
-- value can only be set to `now` or `unchanged`.
data GetInvoicesUpcomingParametersQuerySubscriptionBillingCycleAnchor'Variants
GetInvoicesUpcomingParametersQuerySubscriptionBillingCycleAnchor'GetInvoicesUpcomingParametersQuerySubscriptionBillingCycleAnchor'OneOf1 :: GetInvoicesUpcomingParametersQuerySubscriptionBillingCycleAnchor'OneOf1 -> GetInvoicesUpcomingParametersQuerySubscriptionBillingCycleAnchor'Variants
GetInvoicesUpcomingParametersQuerySubscriptionBillingCycleAnchor'Int :: Int -> GetInvoicesUpcomingParametersQuerySubscriptionBillingCycleAnchor'Variants
-- | Defines the oneOf schema located at
-- paths./v1/invoices/upcoming.GET.parameters.properties.querySubscription_cancel_at.anyOf
-- in the specification.
--
-- Represents the parameter named 'subscription_cancel_at'
--
-- Timestamp indicating when the subscription should be scheduled to
-- cancel. Will prorate if within the current period and prorations have
-- been enabled using `proration_behavior`.
data GetInvoicesUpcomingParametersQuerySubscriptionCancelAt'Variants
-- | Represents the JSON value ""
GetInvoicesUpcomingParametersQuerySubscriptionCancelAt'EmptyString :: GetInvoicesUpcomingParametersQuerySubscriptionCancelAt'Variants
GetInvoicesUpcomingParametersQuerySubscriptionCancelAt'Int :: Int -> GetInvoicesUpcomingParametersQuerySubscriptionCancelAt'Variants
-- | Defines the oneOf schema located at
-- paths./v1/invoices/upcoming.GET.parameters.properties.querySubscription_default_tax_rates.anyOf
-- in the specification.
--
-- Represents the parameter named 'subscription_default_tax_rates'
--
-- If provided, the invoice returned will preview updating or creating a
-- subscription with these default tax rates. The default tax rates will
-- apply to any line item that does not have `tax_rates` set.
data GetInvoicesUpcomingParametersQuerySubscriptionDefaultTaxRates'Variants
-- | Represents the JSON value ""
GetInvoicesUpcomingParametersQuerySubscriptionDefaultTaxRates'EmptyString :: GetInvoicesUpcomingParametersQuerySubscriptionDefaultTaxRates'Variants
GetInvoicesUpcomingParametersQuerySubscriptionDefaultTaxRates'ListTText :: [Text] -> GetInvoicesUpcomingParametersQuerySubscriptionDefaultTaxRates'Variants
-- | Defines the object schema located at
-- paths./v1/invoices/upcoming.GET.parameters.properties.querySubscription_items.items
-- in the specification.
data GetInvoicesUpcomingParametersQuerySubscriptionItems'
GetInvoicesUpcomingParametersQuerySubscriptionItems' :: Maybe GetInvoicesUpcomingParametersQuerySubscriptionItems'BillingThresholds'Variants -> Maybe Bool -> Maybe Bool -> Maybe Text -> Maybe GetInvoicesUpcomingParametersQuerySubscriptionItems'Metadata'Variants -> Maybe Text -> Maybe GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData' -> Maybe Int -> Maybe GetInvoicesUpcomingParametersQuerySubscriptionItems'TaxRates'Variants -> GetInvoicesUpcomingParametersQuerySubscriptionItems'
-- | billing_thresholds
[getInvoicesUpcomingParametersQuerySubscriptionItems'BillingThresholds] :: GetInvoicesUpcomingParametersQuerySubscriptionItems' -> Maybe GetInvoicesUpcomingParametersQuerySubscriptionItems'BillingThresholds'Variants
-- | clear_usage
[getInvoicesUpcomingParametersQuerySubscriptionItems'ClearUsage] :: GetInvoicesUpcomingParametersQuerySubscriptionItems' -> Maybe Bool
-- | deleted
[getInvoicesUpcomingParametersQuerySubscriptionItems'Deleted] :: GetInvoicesUpcomingParametersQuerySubscriptionItems' -> Maybe Bool
-- | id
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getInvoicesUpcomingParametersQuerySubscriptionItems'Id] :: GetInvoicesUpcomingParametersQuerySubscriptionItems' -> Maybe Text
-- | metadata
[getInvoicesUpcomingParametersQuerySubscriptionItems'Metadata] :: GetInvoicesUpcomingParametersQuerySubscriptionItems' -> Maybe GetInvoicesUpcomingParametersQuerySubscriptionItems'Metadata'Variants
-- | price
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getInvoicesUpcomingParametersQuerySubscriptionItems'Price] :: GetInvoicesUpcomingParametersQuerySubscriptionItems' -> Maybe Text
-- | price_data
[getInvoicesUpcomingParametersQuerySubscriptionItems'PriceData] :: GetInvoicesUpcomingParametersQuerySubscriptionItems' -> Maybe GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData'
-- | quantity
[getInvoicesUpcomingParametersQuerySubscriptionItems'Quantity] :: GetInvoicesUpcomingParametersQuerySubscriptionItems' -> Maybe Int
-- | tax_rates
[getInvoicesUpcomingParametersQuerySubscriptionItems'TaxRates] :: GetInvoicesUpcomingParametersQuerySubscriptionItems' -> Maybe GetInvoicesUpcomingParametersQuerySubscriptionItems'TaxRates'Variants
-- | Create a new
-- GetInvoicesUpcomingParametersQuerySubscriptionItems' with all
-- required fields.
mkGetInvoicesUpcomingParametersQuerySubscriptionItems' :: GetInvoicesUpcomingParametersQuerySubscriptionItems'
-- | Defines the object schema located at
-- paths./v1/invoices/upcoming.GET.parameters.properties.querySubscription_items.items.properties.billing_thresholds.anyOf
-- in the specification.
data GetInvoicesUpcomingParametersQuerySubscriptionItems'BillingThresholds'OneOf1
GetInvoicesUpcomingParametersQuerySubscriptionItems'BillingThresholds'OneOf1 :: Int -> GetInvoicesUpcomingParametersQuerySubscriptionItems'BillingThresholds'OneOf1
-- | usage_gte
[getInvoicesUpcomingParametersQuerySubscriptionItems'BillingThresholds'OneOf1UsageGte] :: GetInvoicesUpcomingParametersQuerySubscriptionItems'BillingThresholds'OneOf1 -> Int
-- | Create a new
-- GetInvoicesUpcomingParametersQuerySubscriptionItems'BillingThresholds'OneOf1
-- with all required fields.
mkGetInvoicesUpcomingParametersQuerySubscriptionItems'BillingThresholds'OneOf1 :: Int -> GetInvoicesUpcomingParametersQuerySubscriptionItems'BillingThresholds'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/invoices/upcoming.GET.parameters.properties.querySubscription_items.items.properties.billing_thresholds.anyOf
-- in the specification.
data GetInvoicesUpcomingParametersQuerySubscriptionItems'BillingThresholds'Variants
-- | Represents the JSON value ""
GetInvoicesUpcomingParametersQuerySubscriptionItems'BillingThresholds'EmptyString :: GetInvoicesUpcomingParametersQuerySubscriptionItems'BillingThresholds'Variants
GetInvoicesUpcomingParametersQuerySubscriptionItems'BillingThresholds'GetInvoicesUpcomingParametersQuerySubscriptionItems'BillingThresholds'OneOf1 :: GetInvoicesUpcomingParametersQuerySubscriptionItems'BillingThresholds'OneOf1 -> GetInvoicesUpcomingParametersQuerySubscriptionItems'BillingThresholds'Variants
-- | Defines the oneOf schema located at
-- paths./v1/invoices/upcoming.GET.parameters.properties.querySubscription_items.items.properties.metadata.anyOf
-- in the specification.
data GetInvoicesUpcomingParametersQuerySubscriptionItems'Metadata'Variants
-- | Represents the JSON value ""
GetInvoicesUpcomingParametersQuerySubscriptionItems'Metadata'EmptyString :: GetInvoicesUpcomingParametersQuerySubscriptionItems'Metadata'Variants
GetInvoicesUpcomingParametersQuerySubscriptionItems'Metadata'Object :: Object -> GetInvoicesUpcomingParametersQuerySubscriptionItems'Metadata'Variants
-- | Defines the object schema located at
-- paths./v1/invoices/upcoming.GET.parameters.properties.querySubscription_items.items.properties.price_data
-- in the specification.
data GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData'
GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData' :: Text -> Text -> GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData'Recurring' -> Maybe GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData'TaxBehavior' -> Maybe Int -> Maybe Text -> GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData'
-- | currency
[getInvoicesUpcomingParametersQuerySubscriptionItems'PriceData'Currency] :: GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData' -> Text
-- | product
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getInvoicesUpcomingParametersQuerySubscriptionItems'PriceData'Product] :: GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData' -> Text
-- | recurring
[getInvoicesUpcomingParametersQuerySubscriptionItems'PriceData'Recurring] :: GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData' -> GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData'Recurring'
-- | tax_behavior
[getInvoicesUpcomingParametersQuerySubscriptionItems'PriceData'TaxBehavior] :: GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData' -> Maybe GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData'TaxBehavior'
-- | unit_amount
[getInvoicesUpcomingParametersQuerySubscriptionItems'PriceData'UnitAmount] :: GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData' -> Maybe Int
-- | unit_amount_decimal
[getInvoicesUpcomingParametersQuerySubscriptionItems'PriceData'UnitAmountDecimal] :: GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData' -> Maybe Text
-- | Create a new
-- GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData'
-- with all required fields.
mkGetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData' :: Text -> Text -> GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData'Recurring' -> GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData'
-- | Defines the object schema located at
-- paths./v1/invoices/upcoming.GET.parameters.properties.querySubscription_items.items.properties.price_data.properties.recurring
-- in the specification.
data GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData'Recurring'
GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData'Recurring' :: GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData'Recurring'Interval' -> Maybe Int -> GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData'Recurring'
-- | interval
[getInvoicesUpcomingParametersQuerySubscriptionItems'PriceData'Recurring'Interval] :: GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData'Recurring' -> GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData'Recurring'Interval'
-- | interval_count
[getInvoicesUpcomingParametersQuerySubscriptionItems'PriceData'Recurring'IntervalCount] :: GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData'Recurring' -> Maybe Int
-- | Create a new
-- GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData'Recurring'
-- with all required fields.
mkGetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData'Recurring' :: GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData'Recurring'Interval' -> GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData'Recurring'
-- | Defines the enum schema located at
-- paths./v1/invoices/upcoming.GET.parameters.properties.querySubscription_items.items.properties.price_data.properties.recurring.properties.interval
-- in the specification.
data GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData'Recurring'Interval'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData'Recurring'Interval'Other :: Value -> GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData'Recurring'Interval'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData'Recurring'Interval'Typed :: Text -> GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData'Recurring'Interval'
-- | Represents the JSON value "day"
GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData'Recurring'Interval'EnumDay :: GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData'Recurring'Interval'
-- | Represents the JSON value "month"
GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData'Recurring'Interval'EnumMonth :: GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData'Recurring'Interval'
-- | Represents the JSON value "week"
GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData'Recurring'Interval'EnumWeek :: GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData'Recurring'Interval'
-- | Represents the JSON value "year"
GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData'Recurring'Interval'EnumYear :: GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData'Recurring'Interval'
-- | Defines the enum schema located at
-- paths./v1/invoices/upcoming.GET.parameters.properties.querySubscription_items.items.properties.price_data.properties.tax_behavior
-- in the specification.
data GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData'TaxBehavior'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData'TaxBehavior'Other :: Value -> GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData'TaxBehavior'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData'TaxBehavior'Typed :: Text -> GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData'TaxBehavior'
-- | Represents the JSON value "exclusive"
GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData'TaxBehavior'EnumExclusive :: GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData'TaxBehavior'
-- | Represents the JSON value "inclusive"
GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData'TaxBehavior'EnumInclusive :: GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData'TaxBehavior'
-- | Represents the JSON value "unspecified"
GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData'TaxBehavior'EnumUnspecified :: GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData'TaxBehavior'
-- | Defines the oneOf schema located at
-- paths./v1/invoices/upcoming.GET.parameters.properties.querySubscription_items.items.properties.tax_rates.anyOf
-- in the specification.
data GetInvoicesUpcomingParametersQuerySubscriptionItems'TaxRates'Variants
-- | Represents the JSON value ""
GetInvoicesUpcomingParametersQuerySubscriptionItems'TaxRates'EmptyString :: GetInvoicesUpcomingParametersQuerySubscriptionItems'TaxRates'Variants
GetInvoicesUpcomingParametersQuerySubscriptionItems'TaxRates'ListTText :: [Text] -> GetInvoicesUpcomingParametersQuerySubscriptionItems'TaxRates'Variants
-- | Defines the enum schema located at
-- paths./v1/invoices/upcoming.GET.parameters.properties.querySubscription_proration_behavior
-- in the specification.
--
-- Represents the parameter named 'subscription_proration_behavior'
--
-- Determines how to handle prorations when the billing cycle
-- changes (e.g., when switching plans, resetting
-- `billing_cycle_anchor=now`, or starting a trial), or if an item's
-- `quantity` changes. Valid values are `create_prorations`, `none`, or
-- `always_invoice`.
--
-- Passing `create_prorations` will cause proration invoice items to be
-- created when applicable. These proration items will only be invoiced
-- immediately under certain conditions. In order to always
-- invoice immediately for prorations, pass `always_invoice`.
--
-- Prorations can be disabled by passing `none`.
data GetInvoicesUpcomingParametersQuerySubscriptionProrationBehavior'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
GetInvoicesUpcomingParametersQuerySubscriptionProrationBehavior'Other :: Value -> GetInvoicesUpcomingParametersQuerySubscriptionProrationBehavior'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
GetInvoicesUpcomingParametersQuerySubscriptionProrationBehavior'Typed :: Text -> GetInvoicesUpcomingParametersQuerySubscriptionProrationBehavior'
-- | Represents the JSON value "always_invoice"
GetInvoicesUpcomingParametersQuerySubscriptionProrationBehavior'EnumAlwaysInvoice :: GetInvoicesUpcomingParametersQuerySubscriptionProrationBehavior'
-- | Represents the JSON value "create_prorations"
GetInvoicesUpcomingParametersQuerySubscriptionProrationBehavior'EnumCreateProrations :: GetInvoicesUpcomingParametersQuerySubscriptionProrationBehavior'
-- | Represents the JSON value "none"
GetInvoicesUpcomingParametersQuerySubscriptionProrationBehavior'EnumNone :: GetInvoicesUpcomingParametersQuerySubscriptionProrationBehavior'
-- | Defines the oneOf schema located at
-- paths./v1/invoices/upcoming.GET.parameters.properties.querySubscription_trial_end.anyOf
-- in the specification.
--
-- Represents the parameter named 'subscription_trial_end'
--
-- If provided, the invoice returned will preview updating or creating a
-- subscription with that trial end. If set, one of `subscription_items`
-- or `subscription` is required.
data GetInvoicesUpcomingParametersQuerySubscriptionTrialEnd'Variants
-- | Represents the JSON value "now"
GetInvoicesUpcomingParametersQuerySubscriptionTrialEnd'Now :: GetInvoicesUpcomingParametersQuerySubscriptionTrialEnd'Variants
GetInvoicesUpcomingParametersQuerySubscriptionTrialEnd'Int :: Int -> GetInvoicesUpcomingParametersQuerySubscriptionTrialEnd'Variants
-- | Represents a response of the operation getInvoicesUpcoming.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetInvoicesUpcomingResponseError is
-- used.
data GetInvoicesUpcomingResponse
-- | Means either no matching case available or a parse error
GetInvoicesUpcomingResponseError :: String -> GetInvoicesUpcomingResponse
-- | Successful response.
GetInvoicesUpcomingResponse200 :: Invoice -> GetInvoicesUpcomingResponse
-- | Error response.
GetInvoicesUpcomingResponseDefault :: Error -> GetInvoicesUpcomingResponse
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQueryAutomaticTax'
instance GHC.Show.Show StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQueryAutomaticTax'
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQueryCustomerDetails'Address'OneOf1
instance GHC.Show.Show StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQueryCustomerDetails'Address'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQueryCustomerDetails'Address'Variants
instance GHC.Show.Show StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQueryCustomerDetails'Address'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQueryCustomerDetails'Shipping'OneOf1Address'
instance GHC.Show.Show StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQueryCustomerDetails'Shipping'OneOf1Address'
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQueryCustomerDetails'Shipping'OneOf1
instance GHC.Show.Show StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQueryCustomerDetails'Shipping'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQueryCustomerDetails'Shipping'Variants
instance GHC.Show.Show StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQueryCustomerDetails'Shipping'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQueryCustomerDetails'Tax'IpAddress'Variants
instance GHC.Show.Show StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQueryCustomerDetails'Tax'IpAddress'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQueryCustomerDetails'Tax'
instance GHC.Show.Show StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQueryCustomerDetails'Tax'
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQueryCustomerDetails'TaxExempt'
instance GHC.Show.Show StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQueryCustomerDetails'TaxExempt'
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'
instance GHC.Show.Show StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'
instance GHC.Show.Show StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQueryCustomerDetails'
instance GHC.Show.Show StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQueryCustomerDetails'
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQueryDiscounts'OneOf1
instance GHC.Show.Show StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQueryDiscounts'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQueryDiscounts'Variants
instance GHC.Show.Show StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQueryDiscounts'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQueryInvoiceItems'Discounts'OneOf1
instance GHC.Show.Show StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQueryInvoiceItems'Discounts'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQueryInvoiceItems'Discounts'Variants
instance GHC.Show.Show StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQueryInvoiceItems'Discounts'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQueryInvoiceItems'Metadata'Variants
instance GHC.Show.Show StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQueryInvoiceItems'Metadata'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQueryInvoiceItems'Period'
instance GHC.Show.Show StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQueryInvoiceItems'Period'
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQueryInvoiceItems'PriceData'TaxBehavior'
instance GHC.Show.Show StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQueryInvoiceItems'PriceData'TaxBehavior'
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQueryInvoiceItems'PriceData'
instance GHC.Show.Show StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQueryInvoiceItems'PriceData'
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQueryInvoiceItems'TaxRates'Variants
instance GHC.Show.Show StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQueryInvoiceItems'TaxRates'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQueryInvoiceItems'
instance GHC.Show.Show StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQueryInvoiceItems'
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQuerySubscriptionBillingCycleAnchor'OneOf1
instance GHC.Show.Show StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQuerySubscriptionBillingCycleAnchor'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQuerySubscriptionBillingCycleAnchor'Variants
instance GHC.Show.Show StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQuerySubscriptionBillingCycleAnchor'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQuerySubscriptionCancelAt'Variants
instance GHC.Show.Show StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQuerySubscriptionCancelAt'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQuerySubscriptionDefaultTaxRates'Variants
instance GHC.Show.Show StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQuerySubscriptionDefaultTaxRates'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQuerySubscriptionItems'BillingThresholds'OneOf1
instance GHC.Show.Show StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQuerySubscriptionItems'BillingThresholds'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQuerySubscriptionItems'BillingThresholds'Variants
instance GHC.Show.Show StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQuerySubscriptionItems'BillingThresholds'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQuerySubscriptionItems'Metadata'Variants
instance GHC.Show.Show StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQuerySubscriptionItems'Metadata'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData'Recurring'Interval'
instance GHC.Show.Show StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData'Recurring'Interval'
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData'Recurring'
instance GHC.Show.Show StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData'Recurring'
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData'TaxBehavior'
instance GHC.Show.Show StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData'TaxBehavior'
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData'
instance GHC.Show.Show StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData'
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQuerySubscriptionItems'TaxRates'Variants
instance GHC.Show.Show StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQuerySubscriptionItems'TaxRates'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQuerySubscriptionItems'
instance GHC.Show.Show StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQuerySubscriptionItems'
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQuerySubscriptionProrationBehavior'
instance GHC.Show.Show StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQuerySubscriptionProrationBehavior'
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQuerySubscriptionTrialEnd'Variants
instance GHC.Show.Show StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQuerySubscriptionTrialEnd'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParameters
instance GHC.Show.Show StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingResponse
instance GHC.Show.Show StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParameters
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQuerySubscriptionTrialEnd'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQuerySubscriptionTrialEnd'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQuerySubscriptionProrationBehavior'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQuerySubscriptionProrationBehavior'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQuerySubscriptionItems'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQuerySubscriptionItems'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQuerySubscriptionItems'TaxRates'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQuerySubscriptionItems'TaxRates'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData'TaxBehavior'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData'TaxBehavior'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData'Recurring'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData'Recurring'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData'Recurring'Interval'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData'Recurring'Interval'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQuerySubscriptionItems'Metadata'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQuerySubscriptionItems'Metadata'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQuerySubscriptionItems'BillingThresholds'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQuerySubscriptionItems'BillingThresholds'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQuerySubscriptionItems'BillingThresholds'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQuerySubscriptionItems'BillingThresholds'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQuerySubscriptionDefaultTaxRates'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQuerySubscriptionDefaultTaxRates'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQuerySubscriptionCancelAt'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQuerySubscriptionCancelAt'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQuerySubscriptionBillingCycleAnchor'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQuerySubscriptionBillingCycleAnchor'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQuerySubscriptionBillingCycleAnchor'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQuerySubscriptionBillingCycleAnchor'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQueryInvoiceItems'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQueryInvoiceItems'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQueryInvoiceItems'TaxRates'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQueryInvoiceItems'TaxRates'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQueryInvoiceItems'PriceData'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQueryInvoiceItems'PriceData'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQueryInvoiceItems'PriceData'TaxBehavior'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQueryInvoiceItems'PriceData'TaxBehavior'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQueryInvoiceItems'Period'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQueryInvoiceItems'Period'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQueryInvoiceItems'Metadata'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQueryInvoiceItems'Metadata'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQueryInvoiceItems'Discounts'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQueryInvoiceItems'Discounts'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQueryInvoiceItems'Discounts'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQueryInvoiceItems'Discounts'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQueryDiscounts'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQueryDiscounts'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQueryDiscounts'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQueryDiscounts'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQueryCustomerDetails'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQueryCustomerDetails'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQueryCustomerDetails'TaxExempt'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQueryCustomerDetails'TaxExempt'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQueryCustomerDetails'Tax'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQueryCustomerDetails'Tax'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQueryCustomerDetails'Tax'IpAddress'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQueryCustomerDetails'Tax'IpAddress'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQueryCustomerDetails'Shipping'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQueryCustomerDetails'Shipping'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQueryCustomerDetails'Shipping'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQueryCustomerDetails'Shipping'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQueryCustomerDetails'Shipping'OneOf1Address'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQueryCustomerDetails'Shipping'OneOf1Address'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQueryCustomerDetails'Address'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQueryCustomerDetails'Address'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQueryCustomerDetails'Address'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQueryCustomerDetails'Address'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQueryAutomaticTax'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetInvoicesUpcoming.GetInvoicesUpcomingParametersQueryAutomaticTax'
-- | Contains the different functions to run the operation
-- getInvoicesInvoiceLines
module StripeAPI.Operations.GetInvoicesInvoiceLines
-- |
-- GET /v1/invoices/{invoice}/lines
--
--
-- <p>When retrieving an invoice, you’ll get a
-- <strong>lines</strong> property containing the total count
-- of line items and the first handful of those items. There is also a
-- URL where you can retrieve the full (paginated) list of line
-- items.</p>
getInvoicesInvoiceLines :: forall m. MonadHTTP m => GetInvoicesInvoiceLinesParameters -> ClientT m (Response GetInvoicesInvoiceLinesResponse)
-- | Defines the object schema located at
-- paths./v1/invoices/{invoice}/lines.GET.parameters in the
-- specification.
data GetInvoicesInvoiceLinesParameters
GetInvoicesInvoiceLinesParameters :: Text -> Maybe Text -> Maybe [Text] -> Maybe Int -> Maybe Text -> GetInvoicesInvoiceLinesParameters
-- | pathInvoice: Represents the parameter named 'invoice'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getInvoicesInvoiceLinesParametersPathInvoice] :: GetInvoicesInvoiceLinesParameters -> Text
-- | queryEnding_before: Represents the parameter named 'ending_before'
--
-- A cursor for use in pagination. `ending_before` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, starting with `obj_bar`, your
-- subsequent call can include `ending_before=obj_bar` in order to fetch
-- the previous page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getInvoicesInvoiceLinesParametersQueryEndingBefore] :: GetInvoicesInvoiceLinesParameters -> Maybe Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getInvoicesInvoiceLinesParametersQueryExpand] :: GetInvoicesInvoiceLinesParameters -> Maybe [Text]
-- | queryLimit: Represents the parameter named 'limit'
--
-- A limit on the number of objects to be returned. Limit can range
-- between 1 and 100, and the default is 10.
[getInvoicesInvoiceLinesParametersQueryLimit] :: GetInvoicesInvoiceLinesParameters -> Maybe Int
-- | queryStarting_after: Represents the parameter named 'starting_after'
--
-- A cursor for use in pagination. `starting_after` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, ending with `obj_foo`, your
-- subsequent call can include `starting_after=obj_foo` in order to fetch
-- the next page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getInvoicesInvoiceLinesParametersQueryStartingAfter] :: GetInvoicesInvoiceLinesParameters -> Maybe Text
-- | Create a new GetInvoicesInvoiceLinesParameters with all
-- required fields.
mkGetInvoicesInvoiceLinesParameters :: Text -> GetInvoicesInvoiceLinesParameters
-- | Represents a response of the operation getInvoicesInvoiceLines.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetInvoicesInvoiceLinesResponseError is
-- used.
data GetInvoicesInvoiceLinesResponse
-- | Means either no matching case available or a parse error
GetInvoicesInvoiceLinesResponseError :: String -> GetInvoicesInvoiceLinesResponse
-- | Successful response.
GetInvoicesInvoiceLinesResponse200 :: GetInvoicesInvoiceLinesResponseBody200 -> GetInvoicesInvoiceLinesResponse
-- | Error response.
GetInvoicesInvoiceLinesResponseDefault :: Error -> GetInvoicesInvoiceLinesResponse
-- | Defines the object schema located at
-- paths./v1/invoices/{invoice}/lines.GET.responses.200.content.application/json.schema
-- in the specification.
data GetInvoicesInvoiceLinesResponseBody200
GetInvoicesInvoiceLinesResponseBody200 :: [LineItem] -> Bool -> Text -> GetInvoicesInvoiceLinesResponseBody200
-- | data: Details about each object.
[getInvoicesInvoiceLinesResponseBody200Data] :: GetInvoicesInvoiceLinesResponseBody200 -> [LineItem]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[getInvoicesInvoiceLinesResponseBody200HasMore] :: GetInvoicesInvoiceLinesResponseBody200 -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getInvoicesInvoiceLinesResponseBody200Url] :: GetInvoicesInvoiceLinesResponseBody200 -> Text
-- | Create a new GetInvoicesInvoiceLinesResponseBody200 with all
-- required fields.
mkGetInvoicesInvoiceLinesResponseBody200 :: [LineItem] -> Bool -> Text -> GetInvoicesInvoiceLinesResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoicesInvoiceLines.GetInvoicesInvoiceLinesParameters
instance GHC.Show.Show StripeAPI.Operations.GetInvoicesInvoiceLines.GetInvoicesInvoiceLinesParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoicesInvoiceLines.GetInvoicesInvoiceLinesResponseBody200
instance GHC.Show.Show StripeAPI.Operations.GetInvoicesInvoiceLines.GetInvoicesInvoiceLinesResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoicesInvoiceLines.GetInvoicesInvoiceLinesResponse
instance GHC.Show.Show StripeAPI.Operations.GetInvoicesInvoiceLines.GetInvoicesInvoiceLinesResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetInvoicesInvoiceLines.GetInvoicesInvoiceLinesResponseBody200
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetInvoicesInvoiceLines.GetInvoicesInvoiceLinesResponseBody200
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetInvoicesInvoiceLines.GetInvoicesInvoiceLinesParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetInvoicesInvoiceLines.GetInvoicesInvoiceLinesParameters
-- | Contains the different functions to run the operation
-- getInvoicesInvoice
module StripeAPI.Operations.GetInvoicesInvoice
-- |
-- GET /v1/invoices/{invoice}
--
--
-- <p>Retrieves the invoice with the given ID.</p>
getInvoicesInvoice :: forall m. MonadHTTP m => GetInvoicesInvoiceParameters -> ClientT m (Response GetInvoicesInvoiceResponse)
-- | Defines the object schema located at
-- paths./v1/invoices/{invoice}.GET.parameters in the
-- specification.
data GetInvoicesInvoiceParameters
GetInvoicesInvoiceParameters :: Text -> Maybe [Text] -> GetInvoicesInvoiceParameters
-- | pathInvoice: Represents the parameter named 'invoice'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getInvoicesInvoiceParametersPathInvoice] :: GetInvoicesInvoiceParameters -> Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getInvoicesInvoiceParametersQueryExpand] :: GetInvoicesInvoiceParameters -> Maybe [Text]
-- | Create a new GetInvoicesInvoiceParameters with all required
-- fields.
mkGetInvoicesInvoiceParameters :: Text -> GetInvoicesInvoiceParameters
-- | Represents a response of the operation getInvoicesInvoice.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetInvoicesInvoiceResponseError is
-- used.
data GetInvoicesInvoiceResponse
-- | Means either no matching case available or a parse error
GetInvoicesInvoiceResponseError :: String -> GetInvoicesInvoiceResponse
-- | Successful response.
GetInvoicesInvoiceResponse200 :: Invoice -> GetInvoicesInvoiceResponse
-- | Error response.
GetInvoicesInvoiceResponseDefault :: Error -> GetInvoicesInvoiceResponse
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoicesInvoice.GetInvoicesInvoiceParameters
instance GHC.Show.Show StripeAPI.Operations.GetInvoicesInvoice.GetInvoicesInvoiceParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoicesInvoice.GetInvoicesInvoiceResponse
instance GHC.Show.Show StripeAPI.Operations.GetInvoicesInvoice.GetInvoicesInvoiceResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetInvoicesInvoice.GetInvoicesInvoiceParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetInvoicesInvoice.GetInvoicesInvoiceParameters
-- | Contains the different functions to run the operation getInvoices
module StripeAPI.Operations.GetInvoices
-- |
-- GET /v1/invoices
--
--
-- <p>You can list all invoices, or list the invoices for a
-- specific customer. The invoices are returned sorted by creation date,
-- with the most recently created invoices appearing first.</p>
getInvoices :: forall m. MonadHTTP m => GetInvoicesParameters -> ClientT m (Response GetInvoicesResponse)
-- | Defines the object schema located at
-- paths./v1/invoices.GET.parameters in the specification.
data GetInvoicesParameters
GetInvoicesParameters :: Maybe GetInvoicesParametersQueryCollectionMethod' -> Maybe GetInvoicesParametersQueryCreated'Variants -> Maybe Text -> Maybe GetInvoicesParametersQueryDueDate'Variants -> Maybe Text -> Maybe [Text] -> Maybe Int -> Maybe Text -> Maybe GetInvoicesParametersQueryStatus' -> Maybe Text -> GetInvoicesParameters
-- | queryCollection_method: Represents the parameter named
-- 'collection_method'
--
-- The collection method of the invoice to retrieve. Either
-- `charge_automatically` or `send_invoice`.
[getInvoicesParametersQueryCollectionMethod] :: GetInvoicesParameters -> Maybe GetInvoicesParametersQueryCollectionMethod'
-- | queryCreated: Represents the parameter named 'created'
[getInvoicesParametersQueryCreated] :: GetInvoicesParameters -> Maybe GetInvoicesParametersQueryCreated'Variants
-- | queryCustomer: Represents the parameter named 'customer'
--
-- Only return invoices for the customer specified by this customer ID.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getInvoicesParametersQueryCustomer] :: GetInvoicesParameters -> Maybe Text
-- | queryDue_date: Represents the parameter named 'due_date'
[getInvoicesParametersQueryDueDate] :: GetInvoicesParameters -> Maybe GetInvoicesParametersQueryDueDate'Variants
-- | queryEnding_before: Represents the parameter named 'ending_before'
--
-- A cursor for use in pagination. `ending_before` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, starting with `obj_bar`, your
-- subsequent call can include `ending_before=obj_bar` in order to fetch
-- the previous page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getInvoicesParametersQueryEndingBefore] :: GetInvoicesParameters -> Maybe Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getInvoicesParametersQueryExpand] :: GetInvoicesParameters -> Maybe [Text]
-- | queryLimit: Represents the parameter named 'limit'
--
-- A limit on the number of objects to be returned. Limit can range
-- between 1 and 100, and the default is 10.
[getInvoicesParametersQueryLimit] :: GetInvoicesParameters -> Maybe Int
-- | queryStarting_after: Represents the parameter named 'starting_after'
--
-- A cursor for use in pagination. `starting_after` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, ending with `obj_foo`, your
-- subsequent call can include `starting_after=obj_foo` in order to fetch
-- the next page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getInvoicesParametersQueryStartingAfter] :: GetInvoicesParameters -> Maybe Text
-- | queryStatus: Represents the parameter named 'status'
--
-- The status of the invoice, one of `draft`, `open`, `paid`,
-- `uncollectible`, or `void`. Learn more
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getInvoicesParametersQueryStatus] :: GetInvoicesParameters -> Maybe GetInvoicesParametersQueryStatus'
-- | querySubscription: Represents the parameter named 'subscription'
--
-- Only return invoices for the subscription specified by this
-- subscription ID.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getInvoicesParametersQuerySubscription] :: GetInvoicesParameters -> Maybe Text
-- | Create a new GetInvoicesParameters with all required fields.
mkGetInvoicesParameters :: GetInvoicesParameters
-- | Defines the enum schema located at
-- paths./v1/invoices.GET.parameters.properties.queryCollection_method
-- in the specification.
--
-- Represents the parameter named 'collection_method'
--
-- The collection method of the invoice to retrieve. Either
-- `charge_automatically` or `send_invoice`.
data GetInvoicesParametersQueryCollectionMethod'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
GetInvoicesParametersQueryCollectionMethod'Other :: Value -> GetInvoicesParametersQueryCollectionMethod'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
GetInvoicesParametersQueryCollectionMethod'Typed :: Text -> GetInvoicesParametersQueryCollectionMethod'
-- | Represents the JSON value "charge_automatically"
GetInvoicesParametersQueryCollectionMethod'EnumChargeAutomatically :: GetInvoicesParametersQueryCollectionMethod'
-- | Represents the JSON value "send_invoice"
GetInvoicesParametersQueryCollectionMethod'EnumSendInvoice :: GetInvoicesParametersQueryCollectionMethod'
-- | Defines the object schema located at
-- paths./v1/invoices.GET.parameters.properties.queryCreated.anyOf
-- in the specification.
data GetInvoicesParametersQueryCreated'OneOf1
GetInvoicesParametersQueryCreated'OneOf1 :: Maybe Int -> Maybe Int -> Maybe Int -> Maybe Int -> GetInvoicesParametersQueryCreated'OneOf1
-- | gt
[getInvoicesParametersQueryCreated'OneOf1Gt] :: GetInvoicesParametersQueryCreated'OneOf1 -> Maybe Int
-- | gte
[getInvoicesParametersQueryCreated'OneOf1Gte] :: GetInvoicesParametersQueryCreated'OneOf1 -> Maybe Int
-- | lt
[getInvoicesParametersQueryCreated'OneOf1Lt] :: GetInvoicesParametersQueryCreated'OneOf1 -> Maybe Int
-- | lte
[getInvoicesParametersQueryCreated'OneOf1Lte] :: GetInvoicesParametersQueryCreated'OneOf1 -> Maybe Int
-- | Create a new GetInvoicesParametersQueryCreated'OneOf1 with all
-- required fields.
mkGetInvoicesParametersQueryCreated'OneOf1 :: GetInvoicesParametersQueryCreated'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/invoices.GET.parameters.properties.queryCreated.anyOf
-- in the specification.
--
-- Represents the parameter named 'created'
data GetInvoicesParametersQueryCreated'Variants
GetInvoicesParametersQueryCreated'GetInvoicesParametersQueryCreated'OneOf1 :: GetInvoicesParametersQueryCreated'OneOf1 -> GetInvoicesParametersQueryCreated'Variants
GetInvoicesParametersQueryCreated'Int :: Int -> GetInvoicesParametersQueryCreated'Variants
-- | Defines the object schema located at
-- paths./v1/invoices.GET.parameters.properties.queryDue_date.anyOf
-- in the specification.
data GetInvoicesParametersQueryDueDate'OneOf1
GetInvoicesParametersQueryDueDate'OneOf1 :: Maybe Int -> Maybe Int -> Maybe Int -> Maybe Int -> GetInvoicesParametersQueryDueDate'OneOf1
-- | gt
[getInvoicesParametersQueryDueDate'OneOf1Gt] :: GetInvoicesParametersQueryDueDate'OneOf1 -> Maybe Int
-- | gte
[getInvoicesParametersQueryDueDate'OneOf1Gte] :: GetInvoicesParametersQueryDueDate'OneOf1 -> Maybe Int
-- | lt
[getInvoicesParametersQueryDueDate'OneOf1Lt] :: GetInvoicesParametersQueryDueDate'OneOf1 -> Maybe Int
-- | lte
[getInvoicesParametersQueryDueDate'OneOf1Lte] :: GetInvoicesParametersQueryDueDate'OneOf1 -> Maybe Int
-- | Create a new GetInvoicesParametersQueryDueDate'OneOf1 with all
-- required fields.
mkGetInvoicesParametersQueryDueDate'OneOf1 :: GetInvoicesParametersQueryDueDate'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/invoices.GET.parameters.properties.queryDue_date.anyOf
-- in the specification.
--
-- Represents the parameter named 'due_date'
data GetInvoicesParametersQueryDueDate'Variants
GetInvoicesParametersQueryDueDate'GetInvoicesParametersQueryDueDate'OneOf1 :: GetInvoicesParametersQueryDueDate'OneOf1 -> GetInvoicesParametersQueryDueDate'Variants
GetInvoicesParametersQueryDueDate'Int :: Int -> GetInvoicesParametersQueryDueDate'Variants
-- | Defines the enum schema located at
-- paths./v1/invoices.GET.parameters.properties.queryStatus in
-- the specification.
--
-- Represents the parameter named 'status'
--
-- The status of the invoice, one of `draft`, `open`, `paid`,
-- `uncollectible`, or `void`. Learn more
data GetInvoicesParametersQueryStatus'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
GetInvoicesParametersQueryStatus'Other :: Value -> GetInvoicesParametersQueryStatus'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
GetInvoicesParametersQueryStatus'Typed :: Text -> GetInvoicesParametersQueryStatus'
-- | Represents the JSON value "draft"
GetInvoicesParametersQueryStatus'EnumDraft :: GetInvoicesParametersQueryStatus'
-- | Represents the JSON value "open"
GetInvoicesParametersQueryStatus'EnumOpen :: GetInvoicesParametersQueryStatus'
-- | Represents the JSON value "paid"
GetInvoicesParametersQueryStatus'EnumPaid :: GetInvoicesParametersQueryStatus'
-- | Represents the JSON value "uncollectible"
GetInvoicesParametersQueryStatus'EnumUncollectible :: GetInvoicesParametersQueryStatus'
-- | Represents the JSON value "void"
GetInvoicesParametersQueryStatus'EnumVoid :: GetInvoicesParametersQueryStatus'
-- | Represents a response of the operation getInvoices.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetInvoicesResponseError is used.
data GetInvoicesResponse
-- | Means either no matching case available or a parse error
GetInvoicesResponseError :: String -> GetInvoicesResponse
-- | Successful response.
GetInvoicesResponse200 :: GetInvoicesResponseBody200 -> GetInvoicesResponse
-- | Error response.
GetInvoicesResponseDefault :: Error -> GetInvoicesResponse
-- | Defines the object schema located at
-- paths./v1/invoices.GET.responses.200.content.application/json.schema
-- in the specification.
data GetInvoicesResponseBody200
GetInvoicesResponseBody200 :: [Invoice] -> Bool -> Text -> GetInvoicesResponseBody200
-- | data
[getInvoicesResponseBody200Data] :: GetInvoicesResponseBody200 -> [Invoice]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[getInvoicesResponseBody200HasMore] :: GetInvoicesResponseBody200 -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
-- - Must match pattern '^/v1/invoices'
--
[getInvoicesResponseBody200Url] :: GetInvoicesResponseBody200 -> Text
-- | Create a new GetInvoicesResponseBody200 with all required
-- fields.
mkGetInvoicesResponseBody200 :: [Invoice] -> Bool -> Text -> GetInvoicesResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoices.GetInvoicesParametersQueryCollectionMethod'
instance GHC.Show.Show StripeAPI.Operations.GetInvoices.GetInvoicesParametersQueryCollectionMethod'
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoices.GetInvoicesParametersQueryCreated'OneOf1
instance GHC.Show.Show StripeAPI.Operations.GetInvoices.GetInvoicesParametersQueryCreated'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoices.GetInvoicesParametersQueryCreated'Variants
instance GHC.Show.Show StripeAPI.Operations.GetInvoices.GetInvoicesParametersQueryCreated'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoices.GetInvoicesParametersQueryDueDate'OneOf1
instance GHC.Show.Show StripeAPI.Operations.GetInvoices.GetInvoicesParametersQueryDueDate'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoices.GetInvoicesParametersQueryDueDate'Variants
instance GHC.Show.Show StripeAPI.Operations.GetInvoices.GetInvoicesParametersQueryDueDate'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoices.GetInvoicesParametersQueryStatus'
instance GHC.Show.Show StripeAPI.Operations.GetInvoices.GetInvoicesParametersQueryStatus'
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoices.GetInvoicesParameters
instance GHC.Show.Show StripeAPI.Operations.GetInvoices.GetInvoicesParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoices.GetInvoicesResponseBody200
instance GHC.Show.Show StripeAPI.Operations.GetInvoices.GetInvoicesResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoices.GetInvoicesResponse
instance GHC.Show.Show StripeAPI.Operations.GetInvoices.GetInvoicesResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetInvoices.GetInvoicesResponseBody200
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetInvoices.GetInvoicesResponseBody200
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetInvoices.GetInvoicesParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetInvoices.GetInvoicesParameters
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetInvoices.GetInvoicesParametersQueryStatus'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetInvoices.GetInvoicesParametersQueryStatus'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetInvoices.GetInvoicesParametersQueryDueDate'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetInvoices.GetInvoicesParametersQueryDueDate'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetInvoices.GetInvoicesParametersQueryDueDate'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetInvoices.GetInvoicesParametersQueryDueDate'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetInvoices.GetInvoicesParametersQueryCreated'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetInvoices.GetInvoicesParametersQueryCreated'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetInvoices.GetInvoicesParametersQueryCreated'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetInvoices.GetInvoicesParametersQueryCreated'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetInvoices.GetInvoicesParametersQueryCollectionMethod'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetInvoices.GetInvoicesParametersQueryCollectionMethod'
-- | Contains the different functions to run the operation
-- getInvoiceitemsInvoiceitem
module StripeAPI.Operations.GetInvoiceitemsInvoiceitem
-- |
-- GET /v1/invoiceitems/{invoiceitem}
--
--
-- <p>Retrieves the invoice item with the given ID.</p>
getInvoiceitemsInvoiceitem :: forall m. MonadHTTP m => GetInvoiceitemsInvoiceitemParameters -> ClientT m (Response GetInvoiceitemsInvoiceitemResponse)
-- | Defines the object schema located at
-- paths./v1/invoiceitems/{invoiceitem}.GET.parameters in the
-- specification.
data GetInvoiceitemsInvoiceitemParameters
GetInvoiceitemsInvoiceitemParameters :: Text -> Maybe [Text] -> GetInvoiceitemsInvoiceitemParameters
-- | pathInvoiceitem: Represents the parameter named 'invoiceitem'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getInvoiceitemsInvoiceitemParametersPathInvoiceitem] :: GetInvoiceitemsInvoiceitemParameters -> Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getInvoiceitemsInvoiceitemParametersQueryExpand] :: GetInvoiceitemsInvoiceitemParameters -> Maybe [Text]
-- | Create a new GetInvoiceitemsInvoiceitemParameters with all
-- required fields.
mkGetInvoiceitemsInvoiceitemParameters :: Text -> GetInvoiceitemsInvoiceitemParameters
-- | Represents a response of the operation
-- getInvoiceitemsInvoiceitem.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetInvoiceitemsInvoiceitemResponseError
-- is used.
data GetInvoiceitemsInvoiceitemResponse
-- | Means either no matching case available or a parse error
GetInvoiceitemsInvoiceitemResponseError :: String -> GetInvoiceitemsInvoiceitemResponse
-- | Successful response.
GetInvoiceitemsInvoiceitemResponse200 :: Invoiceitem -> GetInvoiceitemsInvoiceitemResponse
-- | Error response.
GetInvoiceitemsInvoiceitemResponseDefault :: Error -> GetInvoiceitemsInvoiceitemResponse
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoiceitemsInvoiceitem.GetInvoiceitemsInvoiceitemParameters
instance GHC.Show.Show StripeAPI.Operations.GetInvoiceitemsInvoiceitem.GetInvoiceitemsInvoiceitemParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoiceitemsInvoiceitem.GetInvoiceitemsInvoiceitemResponse
instance GHC.Show.Show StripeAPI.Operations.GetInvoiceitemsInvoiceitem.GetInvoiceitemsInvoiceitemResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetInvoiceitemsInvoiceitem.GetInvoiceitemsInvoiceitemParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetInvoiceitemsInvoiceitem.GetInvoiceitemsInvoiceitemParameters
-- | Contains the different functions to run the operation getInvoiceitems
module StripeAPI.Operations.GetInvoiceitems
-- |
-- GET /v1/invoiceitems
--
--
-- <p>Returns a list of your invoice items. Invoice items are
-- returned sorted by creation date, with the most recently created
-- invoice items appearing first.</p>
getInvoiceitems :: forall m. MonadHTTP m => GetInvoiceitemsParameters -> ClientT m (Response GetInvoiceitemsResponse)
-- | Defines the object schema located at
-- paths./v1/invoiceitems.GET.parameters in the specification.
data GetInvoiceitemsParameters
GetInvoiceitemsParameters :: Maybe GetInvoiceitemsParametersQueryCreated'Variants -> Maybe Text -> Maybe Text -> Maybe [Text] -> Maybe Text -> Maybe Int -> Maybe Bool -> Maybe Text -> GetInvoiceitemsParameters
-- | queryCreated: Represents the parameter named 'created'
[getInvoiceitemsParametersQueryCreated] :: GetInvoiceitemsParameters -> Maybe GetInvoiceitemsParametersQueryCreated'Variants
-- | queryCustomer: Represents the parameter named 'customer'
--
-- The identifier of the customer whose invoice items to return. If none
-- is provided, all invoice items will be returned.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getInvoiceitemsParametersQueryCustomer] :: GetInvoiceitemsParameters -> Maybe Text
-- | queryEnding_before: Represents the parameter named 'ending_before'
--
-- A cursor for use in pagination. `ending_before` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, starting with `obj_bar`, your
-- subsequent call can include `ending_before=obj_bar` in order to fetch
-- the previous page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getInvoiceitemsParametersQueryEndingBefore] :: GetInvoiceitemsParameters -> Maybe Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getInvoiceitemsParametersQueryExpand] :: GetInvoiceitemsParameters -> Maybe [Text]
-- | queryInvoice: Represents the parameter named 'invoice'
--
-- Only return invoice items belonging to this invoice. If none is
-- provided, all invoice items will be returned. If specifying an
-- invoice, no customer identifier is needed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getInvoiceitemsParametersQueryInvoice] :: GetInvoiceitemsParameters -> Maybe Text
-- | queryLimit: Represents the parameter named 'limit'
--
-- A limit on the number of objects to be returned. Limit can range
-- between 1 and 100, and the default is 10.
[getInvoiceitemsParametersQueryLimit] :: GetInvoiceitemsParameters -> Maybe Int
-- | queryPending: Represents the parameter named 'pending'
--
-- Set to `true` to only show pending invoice items, which are not yet
-- attached to any invoices. Set to `false` to only show invoice items
-- already attached to invoices. If unspecified, no filter is applied.
[getInvoiceitemsParametersQueryPending] :: GetInvoiceitemsParameters -> Maybe Bool
-- | queryStarting_after: Represents the parameter named 'starting_after'
--
-- A cursor for use in pagination. `starting_after` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, ending with `obj_foo`, your
-- subsequent call can include `starting_after=obj_foo` in order to fetch
-- the next page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getInvoiceitemsParametersQueryStartingAfter] :: GetInvoiceitemsParameters -> Maybe Text
-- | Create a new GetInvoiceitemsParameters with all required
-- fields.
mkGetInvoiceitemsParameters :: GetInvoiceitemsParameters
-- | Defines the object schema located at
-- paths./v1/invoiceitems.GET.parameters.properties.queryCreated.anyOf
-- in the specification.
data GetInvoiceitemsParametersQueryCreated'OneOf1
GetInvoiceitemsParametersQueryCreated'OneOf1 :: Maybe Int -> Maybe Int -> Maybe Int -> Maybe Int -> GetInvoiceitemsParametersQueryCreated'OneOf1
-- | gt
[getInvoiceitemsParametersQueryCreated'OneOf1Gt] :: GetInvoiceitemsParametersQueryCreated'OneOf1 -> Maybe Int
-- | gte
[getInvoiceitemsParametersQueryCreated'OneOf1Gte] :: GetInvoiceitemsParametersQueryCreated'OneOf1 -> Maybe Int
-- | lt
[getInvoiceitemsParametersQueryCreated'OneOf1Lt] :: GetInvoiceitemsParametersQueryCreated'OneOf1 -> Maybe Int
-- | lte
[getInvoiceitemsParametersQueryCreated'OneOf1Lte] :: GetInvoiceitemsParametersQueryCreated'OneOf1 -> Maybe Int
-- | Create a new GetInvoiceitemsParametersQueryCreated'OneOf1 with
-- all required fields.
mkGetInvoiceitemsParametersQueryCreated'OneOf1 :: GetInvoiceitemsParametersQueryCreated'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/invoiceitems.GET.parameters.properties.queryCreated.anyOf
-- in the specification.
--
-- Represents the parameter named 'created'
data GetInvoiceitemsParametersQueryCreated'Variants
GetInvoiceitemsParametersQueryCreated'GetInvoiceitemsParametersQueryCreated'OneOf1 :: GetInvoiceitemsParametersQueryCreated'OneOf1 -> GetInvoiceitemsParametersQueryCreated'Variants
GetInvoiceitemsParametersQueryCreated'Int :: Int -> GetInvoiceitemsParametersQueryCreated'Variants
-- | Represents a response of the operation getInvoiceitems.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetInvoiceitemsResponseError is used.
data GetInvoiceitemsResponse
-- | Means either no matching case available or a parse error
GetInvoiceitemsResponseError :: String -> GetInvoiceitemsResponse
-- | Successful response.
GetInvoiceitemsResponse200 :: GetInvoiceitemsResponseBody200 -> GetInvoiceitemsResponse
-- | Error response.
GetInvoiceitemsResponseDefault :: Error -> GetInvoiceitemsResponse
-- | Defines the object schema located at
-- paths./v1/invoiceitems.GET.responses.200.content.application/json.schema
-- in the specification.
data GetInvoiceitemsResponseBody200
GetInvoiceitemsResponseBody200 :: [Invoiceitem] -> Bool -> Text -> GetInvoiceitemsResponseBody200
-- | data
[getInvoiceitemsResponseBody200Data] :: GetInvoiceitemsResponseBody200 -> [Invoiceitem]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[getInvoiceitemsResponseBody200HasMore] :: GetInvoiceitemsResponseBody200 -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
-- - Must match pattern '^/v1/invoiceitems'
--
[getInvoiceitemsResponseBody200Url] :: GetInvoiceitemsResponseBody200 -> Text
-- | Create a new GetInvoiceitemsResponseBody200 with all required
-- fields.
mkGetInvoiceitemsResponseBody200 :: [Invoiceitem] -> Bool -> Text -> GetInvoiceitemsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoiceitems.GetInvoiceitemsParametersQueryCreated'OneOf1
instance GHC.Show.Show StripeAPI.Operations.GetInvoiceitems.GetInvoiceitemsParametersQueryCreated'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoiceitems.GetInvoiceitemsParametersQueryCreated'Variants
instance GHC.Show.Show StripeAPI.Operations.GetInvoiceitems.GetInvoiceitemsParametersQueryCreated'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoiceitems.GetInvoiceitemsParameters
instance GHC.Show.Show StripeAPI.Operations.GetInvoiceitems.GetInvoiceitemsParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoiceitems.GetInvoiceitemsResponseBody200
instance GHC.Show.Show StripeAPI.Operations.GetInvoiceitems.GetInvoiceitemsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetInvoiceitems.GetInvoiceitemsResponse
instance GHC.Show.Show StripeAPI.Operations.GetInvoiceitems.GetInvoiceitemsResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetInvoiceitems.GetInvoiceitemsResponseBody200
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetInvoiceitems.GetInvoiceitemsResponseBody200
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetInvoiceitems.GetInvoiceitemsParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetInvoiceitems.GetInvoiceitemsParameters
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetInvoiceitems.GetInvoiceitemsParametersQueryCreated'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetInvoiceitems.GetInvoiceitemsParametersQueryCreated'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetInvoiceitems.GetInvoiceitemsParametersQueryCreated'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetInvoiceitems.GetInvoiceitemsParametersQueryCreated'OneOf1
-- | Contains the different functions to run the operation
-- getIdentityVerificationSessionsSession
module StripeAPI.Operations.GetIdentityVerificationSessionsSession
-- |
-- GET /v1/identity/verification_sessions/{session}
--
--
-- <p>Retrieves the details of a VerificationSession that was
-- previously created.</p>
--
-- <p>When the session status is
-- <code>requires_input</code>, you can use this method to
-- retrieve a valid <code>client_secret</code> or
-- <code>url</code> to allow re-submission.</p>
getIdentityVerificationSessionsSession :: forall m. MonadHTTP m => GetIdentityVerificationSessionsSessionParameters -> ClientT m (Response GetIdentityVerificationSessionsSessionResponse)
-- | Defines the object schema located at
-- paths./v1/identity/verification_sessions/{session}.GET.parameters
-- in the specification.
data GetIdentityVerificationSessionsSessionParameters
GetIdentityVerificationSessionsSessionParameters :: Text -> Maybe [Text] -> GetIdentityVerificationSessionsSessionParameters
-- | pathSession: Represents the parameter named 'session'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getIdentityVerificationSessionsSessionParametersPathSession] :: GetIdentityVerificationSessionsSessionParameters -> Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getIdentityVerificationSessionsSessionParametersQueryExpand] :: GetIdentityVerificationSessionsSessionParameters -> Maybe [Text]
-- | Create a new GetIdentityVerificationSessionsSessionParameters
-- with all required fields.
mkGetIdentityVerificationSessionsSessionParameters :: Text -> GetIdentityVerificationSessionsSessionParameters
-- | Represents a response of the operation
-- getIdentityVerificationSessionsSession.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- GetIdentityVerificationSessionsSessionResponseError is used.
data GetIdentityVerificationSessionsSessionResponse
-- | Means either no matching case available or a parse error
GetIdentityVerificationSessionsSessionResponseError :: String -> GetIdentityVerificationSessionsSessionResponse
-- | Successful response.
GetIdentityVerificationSessionsSessionResponse200 :: Identity'verificationSession -> GetIdentityVerificationSessionsSessionResponse
-- | Error response.
GetIdentityVerificationSessionsSessionResponseDefault :: Error -> GetIdentityVerificationSessionsSessionResponse
instance GHC.Classes.Eq StripeAPI.Operations.GetIdentityVerificationSessionsSession.GetIdentityVerificationSessionsSessionParameters
instance GHC.Show.Show StripeAPI.Operations.GetIdentityVerificationSessionsSession.GetIdentityVerificationSessionsSessionParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetIdentityVerificationSessionsSession.GetIdentityVerificationSessionsSessionResponse
instance GHC.Show.Show StripeAPI.Operations.GetIdentityVerificationSessionsSession.GetIdentityVerificationSessionsSessionResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetIdentityVerificationSessionsSession.GetIdentityVerificationSessionsSessionParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetIdentityVerificationSessionsSession.GetIdentityVerificationSessionsSessionParameters
-- | Contains the different functions to run the operation
-- getIdentityVerificationSessions
module StripeAPI.Operations.GetIdentityVerificationSessions
-- |
-- GET /v1/identity/verification_sessions
--
--
-- <p>Returns a list of VerificationSessions</p>
getIdentityVerificationSessions :: forall m. MonadHTTP m => GetIdentityVerificationSessionsParameters -> ClientT m (Response GetIdentityVerificationSessionsResponse)
-- | Defines the object schema located at
-- paths./v1/identity/verification_sessions.GET.parameters in
-- the specification.
data GetIdentityVerificationSessionsParameters
GetIdentityVerificationSessionsParameters :: Maybe GetIdentityVerificationSessionsParametersQueryCreated'Variants -> Maybe Text -> Maybe [Text] -> Maybe Int -> Maybe Text -> Maybe GetIdentityVerificationSessionsParametersQueryStatus' -> GetIdentityVerificationSessionsParameters
-- | queryCreated: Represents the parameter named 'created'
[getIdentityVerificationSessionsParametersQueryCreated] :: GetIdentityVerificationSessionsParameters -> Maybe GetIdentityVerificationSessionsParametersQueryCreated'Variants
-- | queryEnding_before: Represents the parameter named 'ending_before'
--
-- A cursor for use in pagination. `ending_before` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, starting with `obj_bar`, your
-- subsequent call can include `ending_before=obj_bar` in order to fetch
-- the previous page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getIdentityVerificationSessionsParametersQueryEndingBefore] :: GetIdentityVerificationSessionsParameters -> Maybe Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getIdentityVerificationSessionsParametersQueryExpand] :: GetIdentityVerificationSessionsParameters -> Maybe [Text]
-- | queryLimit: Represents the parameter named 'limit'
--
-- A limit on the number of objects to be returned. Limit can range
-- between 1 and 100, and the default is 10.
[getIdentityVerificationSessionsParametersQueryLimit] :: GetIdentityVerificationSessionsParameters -> Maybe Int
-- | queryStarting_after: Represents the parameter named 'starting_after'
--
-- A cursor for use in pagination. `starting_after` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, ending with `obj_foo`, your
-- subsequent call can include `starting_after=obj_foo` in order to fetch
-- the next page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getIdentityVerificationSessionsParametersQueryStartingAfter] :: GetIdentityVerificationSessionsParameters -> Maybe Text
-- | queryStatus: Represents the parameter named 'status'
--
-- Only return VerificationSessions with this status. Learn more about
-- the lifecycle of sessions.
[getIdentityVerificationSessionsParametersQueryStatus] :: GetIdentityVerificationSessionsParameters -> Maybe GetIdentityVerificationSessionsParametersQueryStatus'
-- | Create a new GetIdentityVerificationSessionsParameters with all
-- required fields.
mkGetIdentityVerificationSessionsParameters :: GetIdentityVerificationSessionsParameters
-- | Defines the object schema located at
-- paths./v1/identity/verification_sessions.GET.parameters.properties.queryCreated.anyOf
-- in the specification.
data GetIdentityVerificationSessionsParametersQueryCreated'OneOf1
GetIdentityVerificationSessionsParametersQueryCreated'OneOf1 :: Maybe Int -> Maybe Int -> Maybe Int -> Maybe Int -> GetIdentityVerificationSessionsParametersQueryCreated'OneOf1
-- | gt
[getIdentityVerificationSessionsParametersQueryCreated'OneOf1Gt] :: GetIdentityVerificationSessionsParametersQueryCreated'OneOf1 -> Maybe Int
-- | gte
[getIdentityVerificationSessionsParametersQueryCreated'OneOf1Gte] :: GetIdentityVerificationSessionsParametersQueryCreated'OneOf1 -> Maybe Int
-- | lt
[getIdentityVerificationSessionsParametersQueryCreated'OneOf1Lt] :: GetIdentityVerificationSessionsParametersQueryCreated'OneOf1 -> Maybe Int
-- | lte
[getIdentityVerificationSessionsParametersQueryCreated'OneOf1Lte] :: GetIdentityVerificationSessionsParametersQueryCreated'OneOf1 -> Maybe Int
-- | Create a new
-- GetIdentityVerificationSessionsParametersQueryCreated'OneOf1
-- with all required fields.
mkGetIdentityVerificationSessionsParametersQueryCreated'OneOf1 :: GetIdentityVerificationSessionsParametersQueryCreated'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/identity/verification_sessions.GET.parameters.properties.queryCreated.anyOf
-- in the specification.
--
-- Represents the parameter named 'created'
data GetIdentityVerificationSessionsParametersQueryCreated'Variants
GetIdentityVerificationSessionsParametersQueryCreated'GetIdentityVerificationSessionsParametersQueryCreated'OneOf1 :: GetIdentityVerificationSessionsParametersQueryCreated'OneOf1 -> GetIdentityVerificationSessionsParametersQueryCreated'Variants
GetIdentityVerificationSessionsParametersQueryCreated'Int :: Int -> GetIdentityVerificationSessionsParametersQueryCreated'Variants
-- | Defines the enum schema located at
-- paths./v1/identity/verification_sessions.GET.parameters.properties.queryStatus
-- in the specification.
--
-- Represents the parameter named 'status'
--
-- Only return VerificationSessions with this status. Learn more about
-- the lifecycle of sessions.
data GetIdentityVerificationSessionsParametersQueryStatus'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
GetIdentityVerificationSessionsParametersQueryStatus'Other :: Value -> GetIdentityVerificationSessionsParametersQueryStatus'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
GetIdentityVerificationSessionsParametersQueryStatus'Typed :: Text -> GetIdentityVerificationSessionsParametersQueryStatus'
-- | Represents the JSON value "canceled"
GetIdentityVerificationSessionsParametersQueryStatus'EnumCanceled :: GetIdentityVerificationSessionsParametersQueryStatus'
-- | Represents the JSON value "processing"
GetIdentityVerificationSessionsParametersQueryStatus'EnumProcessing :: GetIdentityVerificationSessionsParametersQueryStatus'
-- | Represents the JSON value "requires_input"
GetIdentityVerificationSessionsParametersQueryStatus'EnumRequiresInput :: GetIdentityVerificationSessionsParametersQueryStatus'
-- | Represents the JSON value "verified"
GetIdentityVerificationSessionsParametersQueryStatus'EnumVerified :: GetIdentityVerificationSessionsParametersQueryStatus'
-- | Represents a response of the operation
-- getIdentityVerificationSessions.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- GetIdentityVerificationSessionsResponseError is used.
data GetIdentityVerificationSessionsResponse
-- | Means either no matching case available or a parse error
GetIdentityVerificationSessionsResponseError :: String -> GetIdentityVerificationSessionsResponse
-- | Successful response.
GetIdentityVerificationSessionsResponse200 :: GetIdentityVerificationSessionsResponseBody200 -> GetIdentityVerificationSessionsResponse
-- | Error response.
GetIdentityVerificationSessionsResponseDefault :: Error -> GetIdentityVerificationSessionsResponse
-- | Defines the object schema located at
-- paths./v1/identity/verification_sessions.GET.responses.200.content.application/json.schema
-- in the specification.
data GetIdentityVerificationSessionsResponseBody200
GetIdentityVerificationSessionsResponseBody200 :: [Identity'verificationSession] -> Bool -> Text -> GetIdentityVerificationSessionsResponseBody200
-- | data
[getIdentityVerificationSessionsResponseBody200Data] :: GetIdentityVerificationSessionsResponseBody200 -> [Identity'verificationSession]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[getIdentityVerificationSessionsResponseBody200HasMore] :: GetIdentityVerificationSessionsResponseBody200 -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
-- - Must match pattern '^/v1/identity/verification_sessions'
--
[getIdentityVerificationSessionsResponseBody200Url] :: GetIdentityVerificationSessionsResponseBody200 -> Text
-- | Create a new GetIdentityVerificationSessionsResponseBody200
-- with all required fields.
mkGetIdentityVerificationSessionsResponseBody200 :: [Identity'verificationSession] -> Bool -> Text -> GetIdentityVerificationSessionsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetIdentityVerificationSessions.GetIdentityVerificationSessionsParametersQueryCreated'OneOf1
instance GHC.Show.Show StripeAPI.Operations.GetIdentityVerificationSessions.GetIdentityVerificationSessionsParametersQueryCreated'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.GetIdentityVerificationSessions.GetIdentityVerificationSessionsParametersQueryCreated'Variants
instance GHC.Show.Show StripeAPI.Operations.GetIdentityVerificationSessions.GetIdentityVerificationSessionsParametersQueryCreated'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetIdentityVerificationSessions.GetIdentityVerificationSessionsParametersQueryStatus'
instance GHC.Show.Show StripeAPI.Operations.GetIdentityVerificationSessions.GetIdentityVerificationSessionsParametersQueryStatus'
instance GHC.Classes.Eq StripeAPI.Operations.GetIdentityVerificationSessions.GetIdentityVerificationSessionsParameters
instance GHC.Show.Show StripeAPI.Operations.GetIdentityVerificationSessions.GetIdentityVerificationSessionsParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetIdentityVerificationSessions.GetIdentityVerificationSessionsResponseBody200
instance GHC.Show.Show StripeAPI.Operations.GetIdentityVerificationSessions.GetIdentityVerificationSessionsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetIdentityVerificationSessions.GetIdentityVerificationSessionsResponse
instance GHC.Show.Show StripeAPI.Operations.GetIdentityVerificationSessions.GetIdentityVerificationSessionsResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetIdentityVerificationSessions.GetIdentityVerificationSessionsResponseBody200
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetIdentityVerificationSessions.GetIdentityVerificationSessionsResponseBody200
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetIdentityVerificationSessions.GetIdentityVerificationSessionsParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetIdentityVerificationSessions.GetIdentityVerificationSessionsParameters
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetIdentityVerificationSessions.GetIdentityVerificationSessionsParametersQueryStatus'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetIdentityVerificationSessions.GetIdentityVerificationSessionsParametersQueryStatus'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetIdentityVerificationSessions.GetIdentityVerificationSessionsParametersQueryCreated'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetIdentityVerificationSessions.GetIdentityVerificationSessionsParametersQueryCreated'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetIdentityVerificationSessions.GetIdentityVerificationSessionsParametersQueryCreated'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetIdentityVerificationSessions.GetIdentityVerificationSessionsParametersQueryCreated'OneOf1
-- | Contains the different functions to run the operation
-- getIdentityVerificationReportsReport
module StripeAPI.Operations.GetIdentityVerificationReportsReport
-- |
-- GET /v1/identity/verification_reports/{report}
--
--
-- <p>Retrieves an existing VerificationReport</p>
getIdentityVerificationReportsReport :: forall m. MonadHTTP m => GetIdentityVerificationReportsReportParameters -> ClientT m (Response GetIdentityVerificationReportsReportResponse)
-- | Defines the object schema located at
-- paths./v1/identity/verification_reports/{report}.GET.parameters
-- in the specification.
data GetIdentityVerificationReportsReportParameters
GetIdentityVerificationReportsReportParameters :: Text -> Maybe [Text] -> GetIdentityVerificationReportsReportParameters
-- | pathReport: Represents the parameter named 'report'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getIdentityVerificationReportsReportParametersPathReport] :: GetIdentityVerificationReportsReportParameters -> Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getIdentityVerificationReportsReportParametersQueryExpand] :: GetIdentityVerificationReportsReportParameters -> Maybe [Text]
-- | Create a new GetIdentityVerificationReportsReportParameters
-- with all required fields.
mkGetIdentityVerificationReportsReportParameters :: Text -> GetIdentityVerificationReportsReportParameters
-- | Represents a response of the operation
-- getIdentityVerificationReportsReport.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- GetIdentityVerificationReportsReportResponseError is used.
data GetIdentityVerificationReportsReportResponse
-- | Means either no matching case available or a parse error
GetIdentityVerificationReportsReportResponseError :: String -> GetIdentityVerificationReportsReportResponse
-- | Successful response.
GetIdentityVerificationReportsReportResponse200 :: Identity'verificationReport -> GetIdentityVerificationReportsReportResponse
-- | Error response.
GetIdentityVerificationReportsReportResponseDefault :: Error -> GetIdentityVerificationReportsReportResponse
instance GHC.Classes.Eq StripeAPI.Operations.GetIdentityVerificationReportsReport.GetIdentityVerificationReportsReportParameters
instance GHC.Show.Show StripeAPI.Operations.GetIdentityVerificationReportsReport.GetIdentityVerificationReportsReportParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetIdentityVerificationReportsReport.GetIdentityVerificationReportsReportResponse
instance GHC.Show.Show StripeAPI.Operations.GetIdentityVerificationReportsReport.GetIdentityVerificationReportsReportResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetIdentityVerificationReportsReport.GetIdentityVerificationReportsReportParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetIdentityVerificationReportsReport.GetIdentityVerificationReportsReportParameters
-- | Contains the different functions to run the operation
-- getIdentityVerificationReports
module StripeAPI.Operations.GetIdentityVerificationReports
-- |
-- GET /v1/identity/verification_reports
--
--
-- <p>List all verification reports.</p>
getIdentityVerificationReports :: forall m. MonadHTTP m => GetIdentityVerificationReportsParameters -> ClientT m (Response GetIdentityVerificationReportsResponse)
-- | Defines the object schema located at
-- paths./v1/identity/verification_reports.GET.parameters in the
-- specification.
data GetIdentityVerificationReportsParameters
GetIdentityVerificationReportsParameters :: Maybe GetIdentityVerificationReportsParametersQueryCreated'Variants -> Maybe Text -> Maybe [Text] -> Maybe Int -> Maybe Text -> Maybe GetIdentityVerificationReportsParametersQueryType' -> Maybe Text -> GetIdentityVerificationReportsParameters
-- | queryCreated: Represents the parameter named 'created'
[getIdentityVerificationReportsParametersQueryCreated] :: GetIdentityVerificationReportsParameters -> Maybe GetIdentityVerificationReportsParametersQueryCreated'Variants
-- | queryEnding_before: Represents the parameter named 'ending_before'
--
-- A cursor for use in pagination. `ending_before` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, starting with `obj_bar`, your
-- subsequent call can include `ending_before=obj_bar` in order to fetch
-- the previous page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getIdentityVerificationReportsParametersQueryEndingBefore] :: GetIdentityVerificationReportsParameters -> Maybe Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getIdentityVerificationReportsParametersQueryExpand] :: GetIdentityVerificationReportsParameters -> Maybe [Text]
-- | queryLimit: Represents the parameter named 'limit'
--
-- A limit on the number of objects to be returned. Limit can range
-- between 1 and 100, and the default is 10.
[getIdentityVerificationReportsParametersQueryLimit] :: GetIdentityVerificationReportsParameters -> Maybe Int
-- | queryStarting_after: Represents the parameter named 'starting_after'
--
-- A cursor for use in pagination. `starting_after` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, ending with `obj_foo`, your
-- subsequent call can include `starting_after=obj_foo` in order to fetch
-- the next page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getIdentityVerificationReportsParametersQueryStartingAfter] :: GetIdentityVerificationReportsParameters -> Maybe Text
-- | queryType: Represents the parameter named 'type'
--
-- Only return VerificationReports of this type
[getIdentityVerificationReportsParametersQueryType] :: GetIdentityVerificationReportsParameters -> Maybe GetIdentityVerificationReportsParametersQueryType'
-- | queryVerification_session: Represents the parameter named
-- 'verification_session'
--
-- Only return VerificationReports created by this VerificationSession
-- ID. It is allowed to provide a VerificationIntent ID.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getIdentityVerificationReportsParametersQueryVerificationSession] :: GetIdentityVerificationReportsParameters -> Maybe Text
-- | Create a new GetIdentityVerificationReportsParameters with all
-- required fields.
mkGetIdentityVerificationReportsParameters :: GetIdentityVerificationReportsParameters
-- | Defines the object schema located at
-- paths./v1/identity/verification_reports.GET.parameters.properties.queryCreated.anyOf
-- in the specification.
data GetIdentityVerificationReportsParametersQueryCreated'OneOf1
GetIdentityVerificationReportsParametersQueryCreated'OneOf1 :: Maybe Int -> Maybe Int -> Maybe Int -> Maybe Int -> GetIdentityVerificationReportsParametersQueryCreated'OneOf1
-- | gt
[getIdentityVerificationReportsParametersQueryCreated'OneOf1Gt] :: GetIdentityVerificationReportsParametersQueryCreated'OneOf1 -> Maybe Int
-- | gte
[getIdentityVerificationReportsParametersQueryCreated'OneOf1Gte] :: GetIdentityVerificationReportsParametersQueryCreated'OneOf1 -> Maybe Int
-- | lt
[getIdentityVerificationReportsParametersQueryCreated'OneOf1Lt] :: GetIdentityVerificationReportsParametersQueryCreated'OneOf1 -> Maybe Int
-- | lte
[getIdentityVerificationReportsParametersQueryCreated'OneOf1Lte] :: GetIdentityVerificationReportsParametersQueryCreated'OneOf1 -> Maybe Int
-- | Create a new
-- GetIdentityVerificationReportsParametersQueryCreated'OneOf1
-- with all required fields.
mkGetIdentityVerificationReportsParametersQueryCreated'OneOf1 :: GetIdentityVerificationReportsParametersQueryCreated'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/identity/verification_reports.GET.parameters.properties.queryCreated.anyOf
-- in the specification.
--
-- Represents the parameter named 'created'
data GetIdentityVerificationReportsParametersQueryCreated'Variants
GetIdentityVerificationReportsParametersQueryCreated'GetIdentityVerificationReportsParametersQueryCreated'OneOf1 :: GetIdentityVerificationReportsParametersQueryCreated'OneOf1 -> GetIdentityVerificationReportsParametersQueryCreated'Variants
GetIdentityVerificationReportsParametersQueryCreated'Int :: Int -> GetIdentityVerificationReportsParametersQueryCreated'Variants
-- | Defines the enum schema located at
-- paths./v1/identity/verification_reports.GET.parameters.properties.queryType
-- in the specification.
--
-- Represents the parameter named 'type'
--
-- Only return VerificationReports of this type
data GetIdentityVerificationReportsParametersQueryType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
GetIdentityVerificationReportsParametersQueryType'Other :: Value -> GetIdentityVerificationReportsParametersQueryType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
GetIdentityVerificationReportsParametersQueryType'Typed :: Text -> GetIdentityVerificationReportsParametersQueryType'
-- | Represents the JSON value "document"
GetIdentityVerificationReportsParametersQueryType'EnumDocument :: GetIdentityVerificationReportsParametersQueryType'
-- | Represents the JSON value "id_number"
GetIdentityVerificationReportsParametersQueryType'EnumIdNumber :: GetIdentityVerificationReportsParametersQueryType'
-- | Represents a response of the operation
-- getIdentityVerificationReports.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- GetIdentityVerificationReportsResponseError is used.
data GetIdentityVerificationReportsResponse
-- | Means either no matching case available or a parse error
GetIdentityVerificationReportsResponseError :: String -> GetIdentityVerificationReportsResponse
-- | Successful response.
GetIdentityVerificationReportsResponse200 :: GetIdentityVerificationReportsResponseBody200 -> GetIdentityVerificationReportsResponse
-- | Error response.
GetIdentityVerificationReportsResponseDefault :: Error -> GetIdentityVerificationReportsResponse
-- | Defines the object schema located at
-- paths./v1/identity/verification_reports.GET.responses.200.content.application/json.schema
-- in the specification.
data GetIdentityVerificationReportsResponseBody200
GetIdentityVerificationReportsResponseBody200 :: [Identity'verificationReport] -> Bool -> Text -> GetIdentityVerificationReportsResponseBody200
-- | data
[getIdentityVerificationReportsResponseBody200Data] :: GetIdentityVerificationReportsResponseBody200 -> [Identity'verificationReport]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[getIdentityVerificationReportsResponseBody200HasMore] :: GetIdentityVerificationReportsResponseBody200 -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
-- - Must match pattern '^/v1/identity/verification_reports'
--
[getIdentityVerificationReportsResponseBody200Url] :: GetIdentityVerificationReportsResponseBody200 -> Text
-- | Create a new GetIdentityVerificationReportsResponseBody200 with
-- all required fields.
mkGetIdentityVerificationReportsResponseBody200 :: [Identity'verificationReport] -> Bool -> Text -> GetIdentityVerificationReportsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetIdentityVerificationReports.GetIdentityVerificationReportsParametersQueryCreated'OneOf1
instance GHC.Show.Show StripeAPI.Operations.GetIdentityVerificationReports.GetIdentityVerificationReportsParametersQueryCreated'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.GetIdentityVerificationReports.GetIdentityVerificationReportsParametersQueryCreated'Variants
instance GHC.Show.Show StripeAPI.Operations.GetIdentityVerificationReports.GetIdentityVerificationReportsParametersQueryCreated'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetIdentityVerificationReports.GetIdentityVerificationReportsParametersQueryType'
instance GHC.Show.Show StripeAPI.Operations.GetIdentityVerificationReports.GetIdentityVerificationReportsParametersQueryType'
instance GHC.Classes.Eq StripeAPI.Operations.GetIdentityVerificationReports.GetIdentityVerificationReportsParameters
instance GHC.Show.Show StripeAPI.Operations.GetIdentityVerificationReports.GetIdentityVerificationReportsParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetIdentityVerificationReports.GetIdentityVerificationReportsResponseBody200
instance GHC.Show.Show StripeAPI.Operations.GetIdentityVerificationReports.GetIdentityVerificationReportsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetIdentityVerificationReports.GetIdentityVerificationReportsResponse
instance GHC.Show.Show StripeAPI.Operations.GetIdentityVerificationReports.GetIdentityVerificationReportsResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetIdentityVerificationReports.GetIdentityVerificationReportsResponseBody200
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetIdentityVerificationReports.GetIdentityVerificationReportsResponseBody200
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetIdentityVerificationReports.GetIdentityVerificationReportsParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetIdentityVerificationReports.GetIdentityVerificationReportsParameters
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetIdentityVerificationReports.GetIdentityVerificationReportsParametersQueryType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetIdentityVerificationReports.GetIdentityVerificationReportsParametersQueryType'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetIdentityVerificationReports.GetIdentityVerificationReportsParametersQueryCreated'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetIdentityVerificationReports.GetIdentityVerificationReportsParametersQueryCreated'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetIdentityVerificationReports.GetIdentityVerificationReportsParametersQueryCreated'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetIdentityVerificationReports.GetIdentityVerificationReportsParametersQueryCreated'OneOf1
-- | Contains the different functions to run the operation getFilesFile
module StripeAPI.Operations.GetFilesFile
-- |
-- GET /v1/files/{file}
--
--
-- <p>Retrieves the details of an existing file object. Supply the
-- unique file ID from a file, and Stripe will return the corresponding
-- file object. To access file contents, see the <a
-- href="/docs/file-upload#download-file-contents">File Upload
-- Guide</a>.</p>
getFilesFile :: forall m. MonadHTTP m => GetFilesFileParameters -> ClientT m (Response GetFilesFileResponse)
-- | Defines the object schema located at
-- paths./v1/files/{file}.GET.parameters in the specification.
data GetFilesFileParameters
GetFilesFileParameters :: Text -> Maybe [Text] -> GetFilesFileParameters
-- | pathFile: Represents the parameter named 'file'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getFilesFileParametersPathFile] :: GetFilesFileParameters -> Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getFilesFileParametersQueryExpand] :: GetFilesFileParameters -> Maybe [Text]
-- | Create a new GetFilesFileParameters with all required fields.
mkGetFilesFileParameters :: Text -> GetFilesFileParameters
-- | Represents a response of the operation getFilesFile.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetFilesFileResponseError is used.
data GetFilesFileResponse
-- | Means either no matching case available or a parse error
GetFilesFileResponseError :: String -> GetFilesFileResponse
-- | Successful response.
GetFilesFileResponse200 :: File -> GetFilesFileResponse
-- | Error response.
GetFilesFileResponseDefault :: Error -> GetFilesFileResponse
instance GHC.Classes.Eq StripeAPI.Operations.GetFilesFile.GetFilesFileParameters
instance GHC.Show.Show StripeAPI.Operations.GetFilesFile.GetFilesFileParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetFilesFile.GetFilesFileResponse
instance GHC.Show.Show StripeAPI.Operations.GetFilesFile.GetFilesFileResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetFilesFile.GetFilesFileParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetFilesFile.GetFilesFileParameters
-- | Contains the different functions to run the operation getFiles
module StripeAPI.Operations.GetFiles
-- |
-- GET /v1/files
--
--
-- <p>Returns a list of the files that your account has access to.
-- The files are returned sorted by creation date, with the most recently
-- created files appearing first.</p>
getFiles :: forall m. MonadHTTP m => GetFilesParameters -> ClientT m (Response GetFilesResponse)
-- | Defines the object schema located at
-- paths./v1/files.GET.parameters in the specification.
data GetFilesParameters
GetFilesParameters :: Maybe GetFilesParametersQueryCreated'Variants -> Maybe Text -> Maybe [Text] -> Maybe Int -> Maybe GetFilesParametersQueryPurpose' -> Maybe Text -> GetFilesParameters
-- | queryCreated: Represents the parameter named 'created'
[getFilesParametersQueryCreated] :: GetFilesParameters -> Maybe GetFilesParametersQueryCreated'Variants
-- | queryEnding_before: Represents the parameter named 'ending_before'
--
-- A cursor for use in pagination. `ending_before` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, starting with `obj_bar`, your
-- subsequent call can include `ending_before=obj_bar` in order to fetch
-- the previous page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getFilesParametersQueryEndingBefore] :: GetFilesParameters -> Maybe Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getFilesParametersQueryExpand] :: GetFilesParameters -> Maybe [Text]
-- | queryLimit: Represents the parameter named 'limit'
--
-- A limit on the number of objects to be returned. Limit can range
-- between 1 and 100, and the default is 10.
[getFilesParametersQueryLimit] :: GetFilesParameters -> Maybe Int
-- | queryPurpose: Represents the parameter named 'purpose'
--
-- The file purpose to filter queries by. If none is provided, files will
-- not be filtered by purpose.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getFilesParametersQueryPurpose] :: GetFilesParameters -> Maybe GetFilesParametersQueryPurpose'
-- | queryStarting_after: Represents the parameter named 'starting_after'
--
-- A cursor for use in pagination. `starting_after` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, ending with `obj_foo`, your
-- subsequent call can include `starting_after=obj_foo` in order to fetch
-- the next page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getFilesParametersQueryStartingAfter] :: GetFilesParameters -> Maybe Text
-- | Create a new GetFilesParameters with all required fields.
mkGetFilesParameters :: GetFilesParameters
-- | Defines the object schema located at
-- paths./v1/files.GET.parameters.properties.queryCreated.anyOf
-- in the specification.
data GetFilesParametersQueryCreated'OneOf1
GetFilesParametersQueryCreated'OneOf1 :: Maybe Int -> Maybe Int -> Maybe Int -> Maybe Int -> GetFilesParametersQueryCreated'OneOf1
-- | gt
[getFilesParametersQueryCreated'OneOf1Gt] :: GetFilesParametersQueryCreated'OneOf1 -> Maybe Int
-- | gte
[getFilesParametersQueryCreated'OneOf1Gte] :: GetFilesParametersQueryCreated'OneOf1 -> Maybe Int
-- | lt
[getFilesParametersQueryCreated'OneOf1Lt] :: GetFilesParametersQueryCreated'OneOf1 -> Maybe Int
-- | lte
[getFilesParametersQueryCreated'OneOf1Lte] :: GetFilesParametersQueryCreated'OneOf1 -> Maybe Int
-- | Create a new GetFilesParametersQueryCreated'OneOf1 with all
-- required fields.
mkGetFilesParametersQueryCreated'OneOf1 :: GetFilesParametersQueryCreated'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/files.GET.parameters.properties.queryCreated.anyOf
-- in the specification.
--
-- Represents the parameter named 'created'
data GetFilesParametersQueryCreated'Variants
GetFilesParametersQueryCreated'GetFilesParametersQueryCreated'OneOf1 :: GetFilesParametersQueryCreated'OneOf1 -> GetFilesParametersQueryCreated'Variants
GetFilesParametersQueryCreated'Int :: Int -> GetFilesParametersQueryCreated'Variants
-- | Defines the enum schema located at
-- paths./v1/files.GET.parameters.properties.queryPurpose in the
-- specification.
--
-- Represents the parameter named 'purpose'
--
-- The file purpose to filter queries by. If none is provided, files will
-- not be filtered by purpose.
data GetFilesParametersQueryPurpose'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
GetFilesParametersQueryPurpose'Other :: Value -> GetFilesParametersQueryPurpose'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
GetFilesParametersQueryPurpose'Typed :: Text -> GetFilesParametersQueryPurpose'
-- | Represents the JSON value "account_requirement"
GetFilesParametersQueryPurpose'EnumAccountRequirement :: GetFilesParametersQueryPurpose'
-- | Represents the JSON value "additional_verification"
GetFilesParametersQueryPurpose'EnumAdditionalVerification :: GetFilesParametersQueryPurpose'
-- | Represents the JSON value "business_icon"
GetFilesParametersQueryPurpose'EnumBusinessIcon :: GetFilesParametersQueryPurpose'
-- | Represents the JSON value "business_logo"
GetFilesParametersQueryPurpose'EnumBusinessLogo :: GetFilesParametersQueryPurpose'
-- | Represents the JSON value "customer_signature"
GetFilesParametersQueryPurpose'EnumCustomerSignature :: GetFilesParametersQueryPurpose'
-- | Represents the JSON value "dispute_evidence"
GetFilesParametersQueryPurpose'EnumDisputeEvidence :: GetFilesParametersQueryPurpose'
-- | Represents the JSON value
-- "document_provider_identity_document"
GetFilesParametersQueryPurpose'EnumDocumentProviderIdentityDocument :: GetFilesParametersQueryPurpose'
-- | Represents the JSON value "finance_report_run"
GetFilesParametersQueryPurpose'EnumFinanceReportRun :: GetFilesParametersQueryPurpose'
-- | Represents the JSON value "identity_document"
GetFilesParametersQueryPurpose'EnumIdentityDocument :: GetFilesParametersQueryPurpose'
-- | Represents the JSON value "identity_document_downloadable"
GetFilesParametersQueryPurpose'EnumIdentityDocumentDownloadable :: GetFilesParametersQueryPurpose'
-- | Represents the JSON value "pci_document"
GetFilesParametersQueryPurpose'EnumPciDocument :: GetFilesParametersQueryPurpose'
-- | Represents the JSON value "selfie"
GetFilesParametersQueryPurpose'EnumSelfie :: GetFilesParametersQueryPurpose'
-- | Represents the JSON value "sigma_scheduled_query"
GetFilesParametersQueryPurpose'EnumSigmaScheduledQuery :: GetFilesParametersQueryPurpose'
-- | Represents the JSON value "tax_document_user_upload"
GetFilesParametersQueryPurpose'EnumTaxDocumentUserUpload :: GetFilesParametersQueryPurpose'
-- | Represents a response of the operation getFiles.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetFilesResponseError is used.
data GetFilesResponse
-- | Means either no matching case available or a parse error
GetFilesResponseError :: String -> GetFilesResponse
-- | Successful response.
GetFilesResponse200 :: GetFilesResponseBody200 -> GetFilesResponse
-- | Error response.
GetFilesResponseDefault :: Error -> GetFilesResponse
-- | Defines the object schema located at
-- paths./v1/files.GET.responses.200.content.application/json.schema
-- in the specification.
data GetFilesResponseBody200
GetFilesResponseBody200 :: [File] -> Bool -> Text -> GetFilesResponseBody200
-- | data
[getFilesResponseBody200Data] :: GetFilesResponseBody200 -> [File]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[getFilesResponseBody200HasMore] :: GetFilesResponseBody200 -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
-- - Must match pattern '^/v1/files'
--
[getFilesResponseBody200Url] :: GetFilesResponseBody200 -> Text
-- | Create a new GetFilesResponseBody200 with all required fields.
mkGetFilesResponseBody200 :: [File] -> Bool -> Text -> GetFilesResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetFiles.GetFilesParametersQueryCreated'OneOf1
instance GHC.Show.Show StripeAPI.Operations.GetFiles.GetFilesParametersQueryCreated'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.GetFiles.GetFilesParametersQueryCreated'Variants
instance GHC.Show.Show StripeAPI.Operations.GetFiles.GetFilesParametersQueryCreated'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetFiles.GetFilesParametersQueryPurpose'
instance GHC.Show.Show StripeAPI.Operations.GetFiles.GetFilesParametersQueryPurpose'
instance GHC.Classes.Eq StripeAPI.Operations.GetFiles.GetFilesParameters
instance GHC.Show.Show StripeAPI.Operations.GetFiles.GetFilesParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetFiles.GetFilesResponseBody200
instance GHC.Show.Show StripeAPI.Operations.GetFiles.GetFilesResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetFiles.GetFilesResponse
instance GHC.Show.Show StripeAPI.Operations.GetFiles.GetFilesResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetFiles.GetFilesResponseBody200
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetFiles.GetFilesResponseBody200
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetFiles.GetFilesParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetFiles.GetFilesParameters
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetFiles.GetFilesParametersQueryPurpose'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetFiles.GetFilesParametersQueryPurpose'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetFiles.GetFilesParametersQueryCreated'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetFiles.GetFilesParametersQueryCreated'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetFiles.GetFilesParametersQueryCreated'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetFiles.GetFilesParametersQueryCreated'OneOf1
-- | Contains the different functions to run the operation getFileLinksLink
module StripeAPI.Operations.GetFileLinksLink
-- |
-- GET /v1/file_links/{link}
--
--
-- <p>Retrieves the file link with the given ID.</p>
getFileLinksLink :: forall m. MonadHTTP m => GetFileLinksLinkParameters -> ClientT m (Response GetFileLinksLinkResponse)
-- | Defines the object schema located at
-- paths./v1/file_links/{link}.GET.parameters in the
-- specification.
data GetFileLinksLinkParameters
GetFileLinksLinkParameters :: Text -> Maybe [Text] -> GetFileLinksLinkParameters
-- | pathLink: Represents the parameter named 'link'
[getFileLinksLinkParametersPathLink] :: GetFileLinksLinkParameters -> Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getFileLinksLinkParametersQueryExpand] :: GetFileLinksLinkParameters -> Maybe [Text]
-- | Create a new GetFileLinksLinkParameters with all required
-- fields.
mkGetFileLinksLinkParameters :: Text -> GetFileLinksLinkParameters
-- | Represents a response of the operation getFileLinksLink.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetFileLinksLinkResponseError is used.
data GetFileLinksLinkResponse
-- | Means either no matching case available or a parse error
GetFileLinksLinkResponseError :: String -> GetFileLinksLinkResponse
-- | Successful response.
GetFileLinksLinkResponse200 :: FileLink -> GetFileLinksLinkResponse
-- | Error response.
GetFileLinksLinkResponseDefault :: Error -> GetFileLinksLinkResponse
instance GHC.Classes.Eq StripeAPI.Operations.GetFileLinksLink.GetFileLinksLinkParameters
instance GHC.Show.Show StripeAPI.Operations.GetFileLinksLink.GetFileLinksLinkParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetFileLinksLink.GetFileLinksLinkResponse
instance GHC.Show.Show StripeAPI.Operations.GetFileLinksLink.GetFileLinksLinkResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetFileLinksLink.GetFileLinksLinkParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetFileLinksLink.GetFileLinksLinkParameters
-- | Contains the different functions to run the operation getFileLinks
module StripeAPI.Operations.GetFileLinks
-- |
-- GET /v1/file_links
--
--
-- <p>Returns a list of file links.</p>
getFileLinks :: forall m. MonadHTTP m => GetFileLinksParameters -> ClientT m (Response GetFileLinksResponse)
-- | Defines the object schema located at
-- paths./v1/file_links.GET.parameters in the specification.
data GetFileLinksParameters
GetFileLinksParameters :: Maybe GetFileLinksParametersQueryCreated'Variants -> Maybe Text -> Maybe [Text] -> Maybe Bool -> Maybe Text -> Maybe Int -> Maybe Text -> GetFileLinksParameters
-- | queryCreated: Represents the parameter named 'created'
[getFileLinksParametersQueryCreated] :: GetFileLinksParameters -> Maybe GetFileLinksParametersQueryCreated'Variants
-- | queryEnding_before: Represents the parameter named 'ending_before'
--
-- A cursor for use in pagination. `ending_before` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, starting with `obj_bar`, your
-- subsequent call can include `ending_before=obj_bar` in order to fetch
-- the previous page of the list.
[getFileLinksParametersQueryEndingBefore] :: GetFileLinksParameters -> Maybe Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getFileLinksParametersQueryExpand] :: GetFileLinksParameters -> Maybe [Text]
-- | queryExpired: Represents the parameter named 'expired'
--
-- Filter links by their expiration status. By default, all links are
-- returned.
[getFileLinksParametersQueryExpired] :: GetFileLinksParameters -> Maybe Bool
-- | queryFile: Represents the parameter named 'file'
--
-- Only return links for the given file.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getFileLinksParametersQueryFile] :: GetFileLinksParameters -> Maybe Text
-- | queryLimit: Represents the parameter named 'limit'
--
-- A limit on the number of objects to be returned. Limit can range
-- between 1 and 100, and the default is 10.
[getFileLinksParametersQueryLimit] :: GetFileLinksParameters -> Maybe Int
-- | queryStarting_after: Represents the parameter named 'starting_after'
--
-- A cursor for use in pagination. `starting_after` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, ending with `obj_foo`, your
-- subsequent call can include `starting_after=obj_foo` in order to fetch
-- the next page of the list.
[getFileLinksParametersQueryStartingAfter] :: GetFileLinksParameters -> Maybe Text
-- | Create a new GetFileLinksParameters with all required fields.
mkGetFileLinksParameters :: GetFileLinksParameters
-- | Defines the object schema located at
-- paths./v1/file_links.GET.parameters.properties.queryCreated.anyOf
-- in the specification.
data GetFileLinksParametersQueryCreated'OneOf1
GetFileLinksParametersQueryCreated'OneOf1 :: Maybe Int -> Maybe Int -> Maybe Int -> Maybe Int -> GetFileLinksParametersQueryCreated'OneOf1
-- | gt
[getFileLinksParametersQueryCreated'OneOf1Gt] :: GetFileLinksParametersQueryCreated'OneOf1 -> Maybe Int
-- | gte
[getFileLinksParametersQueryCreated'OneOf1Gte] :: GetFileLinksParametersQueryCreated'OneOf1 -> Maybe Int
-- | lt
[getFileLinksParametersQueryCreated'OneOf1Lt] :: GetFileLinksParametersQueryCreated'OneOf1 -> Maybe Int
-- | lte
[getFileLinksParametersQueryCreated'OneOf1Lte] :: GetFileLinksParametersQueryCreated'OneOf1 -> Maybe Int
-- | Create a new GetFileLinksParametersQueryCreated'OneOf1 with all
-- required fields.
mkGetFileLinksParametersQueryCreated'OneOf1 :: GetFileLinksParametersQueryCreated'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/file_links.GET.parameters.properties.queryCreated.anyOf
-- in the specification.
--
-- Represents the parameter named 'created'
data GetFileLinksParametersQueryCreated'Variants
GetFileLinksParametersQueryCreated'GetFileLinksParametersQueryCreated'OneOf1 :: GetFileLinksParametersQueryCreated'OneOf1 -> GetFileLinksParametersQueryCreated'Variants
GetFileLinksParametersQueryCreated'Int :: Int -> GetFileLinksParametersQueryCreated'Variants
-- | Represents a response of the operation getFileLinks.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetFileLinksResponseError is used.
data GetFileLinksResponse
-- | Means either no matching case available or a parse error
GetFileLinksResponseError :: String -> GetFileLinksResponse
-- | Successful response.
GetFileLinksResponse200 :: GetFileLinksResponseBody200 -> GetFileLinksResponse
-- | Error response.
GetFileLinksResponseDefault :: Error -> GetFileLinksResponse
-- | Defines the object schema located at
-- paths./v1/file_links.GET.responses.200.content.application/json.schema
-- in the specification.
data GetFileLinksResponseBody200
GetFileLinksResponseBody200 :: [FileLink] -> Bool -> Text -> GetFileLinksResponseBody200
-- | data
[getFileLinksResponseBody200Data] :: GetFileLinksResponseBody200 -> [FileLink]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[getFileLinksResponseBody200HasMore] :: GetFileLinksResponseBody200 -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
-- - Must match pattern '^/v1/file_links'
--
[getFileLinksResponseBody200Url] :: GetFileLinksResponseBody200 -> Text
-- | Create a new GetFileLinksResponseBody200 with all required
-- fields.
mkGetFileLinksResponseBody200 :: [FileLink] -> Bool -> Text -> GetFileLinksResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetFileLinks.GetFileLinksParametersQueryCreated'OneOf1
instance GHC.Show.Show StripeAPI.Operations.GetFileLinks.GetFileLinksParametersQueryCreated'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.GetFileLinks.GetFileLinksParametersQueryCreated'Variants
instance GHC.Show.Show StripeAPI.Operations.GetFileLinks.GetFileLinksParametersQueryCreated'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetFileLinks.GetFileLinksParameters
instance GHC.Show.Show StripeAPI.Operations.GetFileLinks.GetFileLinksParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetFileLinks.GetFileLinksResponseBody200
instance GHC.Show.Show StripeAPI.Operations.GetFileLinks.GetFileLinksResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetFileLinks.GetFileLinksResponse
instance GHC.Show.Show StripeAPI.Operations.GetFileLinks.GetFileLinksResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetFileLinks.GetFileLinksResponseBody200
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetFileLinks.GetFileLinksResponseBody200
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetFileLinks.GetFileLinksParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetFileLinks.GetFileLinksParameters
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetFileLinks.GetFileLinksParametersQueryCreated'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetFileLinks.GetFileLinksParametersQueryCreated'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetFileLinks.GetFileLinksParametersQueryCreated'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetFileLinks.GetFileLinksParametersQueryCreated'OneOf1
-- | Contains the different functions to run the operation
-- getExchangeRatesRateId
module StripeAPI.Operations.GetExchangeRatesRateId
-- |
-- GET /v1/exchange_rates/{rate_id}
--
--
-- <p>Retrieves the exchange rates from the given currency to every
-- supported currency.</p>
getExchangeRatesRateId :: forall m. MonadHTTP m => GetExchangeRatesRateIdParameters -> ClientT m (Response GetExchangeRatesRateIdResponse)
-- | Defines the object schema located at
-- paths./v1/exchange_rates/{rate_id}.GET.parameters in the
-- specification.
data GetExchangeRatesRateIdParameters
GetExchangeRatesRateIdParameters :: Text -> Maybe [Text] -> GetExchangeRatesRateIdParameters
-- | pathRate_id: Represents the parameter named 'rate_id'
--
-- Constraints:
--
--
-- - Maximum length of 3
--
[getExchangeRatesRateIdParametersPathRateId] :: GetExchangeRatesRateIdParameters -> Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getExchangeRatesRateIdParametersQueryExpand] :: GetExchangeRatesRateIdParameters -> Maybe [Text]
-- | Create a new GetExchangeRatesRateIdParameters with all required
-- fields.
mkGetExchangeRatesRateIdParameters :: Text -> GetExchangeRatesRateIdParameters
-- | Represents a response of the operation getExchangeRatesRateId.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetExchangeRatesRateIdResponseError is
-- used.
data GetExchangeRatesRateIdResponse
-- | Means either no matching case available or a parse error
GetExchangeRatesRateIdResponseError :: String -> GetExchangeRatesRateIdResponse
-- | Successful response.
GetExchangeRatesRateIdResponse200 :: ExchangeRate -> GetExchangeRatesRateIdResponse
-- | Error response.
GetExchangeRatesRateIdResponseDefault :: Error -> GetExchangeRatesRateIdResponse
instance GHC.Classes.Eq StripeAPI.Operations.GetExchangeRatesRateId.GetExchangeRatesRateIdParameters
instance GHC.Show.Show StripeAPI.Operations.GetExchangeRatesRateId.GetExchangeRatesRateIdParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetExchangeRatesRateId.GetExchangeRatesRateIdResponse
instance GHC.Show.Show StripeAPI.Operations.GetExchangeRatesRateId.GetExchangeRatesRateIdResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetExchangeRatesRateId.GetExchangeRatesRateIdParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetExchangeRatesRateId.GetExchangeRatesRateIdParameters
-- | Contains the different functions to run the operation getExchangeRates
module StripeAPI.Operations.GetExchangeRates
-- |
-- GET /v1/exchange_rates
--
--
-- <p>Returns a list of objects that contain the rates at which
-- foreign currencies are converted to one another. Only shows the
-- currencies for which Stripe supports.</p>
getExchangeRates :: forall m. MonadHTTP m => GetExchangeRatesParameters -> ClientT m (Response GetExchangeRatesResponse)
-- | Defines the object schema located at
-- paths./v1/exchange_rates.GET.parameters in the specification.
data GetExchangeRatesParameters
GetExchangeRatesParameters :: Maybe Text -> Maybe [Text] -> Maybe Int -> Maybe Text -> GetExchangeRatesParameters
-- | queryEnding_before: Represents the parameter named 'ending_before'
--
-- A cursor for use in pagination. `ending_before` is the currency that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, starting with the exchange rate for
-- currency X your subsequent call can include `ending_before=obj_bar` in
-- order to fetch the previous page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getExchangeRatesParametersQueryEndingBefore] :: GetExchangeRatesParameters -> Maybe Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getExchangeRatesParametersQueryExpand] :: GetExchangeRatesParameters -> Maybe [Text]
-- | queryLimit: Represents the parameter named 'limit'
--
-- A limit on the number of objects to be returned. Limit can range
-- between 1 and total number of supported payout currencies, and the
-- default is the max.
[getExchangeRatesParametersQueryLimit] :: GetExchangeRatesParameters -> Maybe Int
-- | queryStarting_after: Represents the parameter named 'starting_after'
--
-- A cursor for use in pagination. `starting_after` is the currency that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, ending with the exchange rate for
-- currency X, your subsequent call can include `starting_after=X` in
-- order to fetch the next page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getExchangeRatesParametersQueryStartingAfter] :: GetExchangeRatesParameters -> Maybe Text
-- | Create a new GetExchangeRatesParameters with all required
-- fields.
mkGetExchangeRatesParameters :: GetExchangeRatesParameters
-- | Represents a response of the operation getExchangeRates.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetExchangeRatesResponseError is used.
data GetExchangeRatesResponse
-- | Means either no matching case available or a parse error
GetExchangeRatesResponseError :: String -> GetExchangeRatesResponse
-- | Successful response.
GetExchangeRatesResponse200 :: GetExchangeRatesResponseBody200 -> GetExchangeRatesResponse
-- | Error response.
GetExchangeRatesResponseDefault :: Error -> GetExchangeRatesResponse
-- | Defines the object schema located at
-- paths./v1/exchange_rates.GET.responses.200.content.application/json.schema
-- in the specification.
data GetExchangeRatesResponseBody200
GetExchangeRatesResponseBody200 :: [ExchangeRate] -> Bool -> Text -> GetExchangeRatesResponseBody200
-- | data
[getExchangeRatesResponseBody200Data] :: GetExchangeRatesResponseBody200 -> [ExchangeRate]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[getExchangeRatesResponseBody200HasMore] :: GetExchangeRatesResponseBody200 -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
-- - Must match pattern '^/v1/exchange_rates'
--
[getExchangeRatesResponseBody200Url] :: GetExchangeRatesResponseBody200 -> Text
-- | Create a new GetExchangeRatesResponseBody200 with all required
-- fields.
mkGetExchangeRatesResponseBody200 :: [ExchangeRate] -> Bool -> Text -> GetExchangeRatesResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetExchangeRates.GetExchangeRatesParameters
instance GHC.Show.Show StripeAPI.Operations.GetExchangeRates.GetExchangeRatesParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetExchangeRates.GetExchangeRatesResponseBody200
instance GHC.Show.Show StripeAPI.Operations.GetExchangeRates.GetExchangeRatesResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetExchangeRates.GetExchangeRatesResponse
instance GHC.Show.Show StripeAPI.Operations.GetExchangeRates.GetExchangeRatesResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetExchangeRates.GetExchangeRatesResponseBody200
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetExchangeRates.GetExchangeRatesResponseBody200
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetExchangeRates.GetExchangeRatesParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetExchangeRates.GetExchangeRatesParameters
-- | Contains the different functions to run the operation getEventsId
module StripeAPI.Operations.GetEventsId
-- |
-- GET /v1/events/{id}
--
--
-- <p>Retrieves the details of an event. Supply the unique
-- identifier of the event, which you might have received in a
-- webhook.</p>
getEventsId :: forall m. MonadHTTP m => GetEventsIdParameters -> ClientT m (Response GetEventsIdResponse)
-- | Defines the object schema located at
-- paths./v1/events/{id}.GET.parameters in the specification.
data GetEventsIdParameters
GetEventsIdParameters :: Text -> Maybe [Text] -> GetEventsIdParameters
-- | pathId: Represents the parameter named 'id'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getEventsIdParametersPathId] :: GetEventsIdParameters -> Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getEventsIdParametersQueryExpand] :: GetEventsIdParameters -> Maybe [Text]
-- | Create a new GetEventsIdParameters with all required fields.
mkGetEventsIdParameters :: Text -> GetEventsIdParameters
-- | Represents a response of the operation getEventsId.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetEventsIdResponseError is used.
data GetEventsIdResponse
-- | Means either no matching case available or a parse error
GetEventsIdResponseError :: String -> GetEventsIdResponse
-- | Successful response.
GetEventsIdResponse200 :: Event -> GetEventsIdResponse
-- | Error response.
GetEventsIdResponseDefault :: Error -> GetEventsIdResponse
instance GHC.Classes.Eq StripeAPI.Operations.GetEventsId.GetEventsIdParameters
instance GHC.Show.Show StripeAPI.Operations.GetEventsId.GetEventsIdParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetEventsId.GetEventsIdResponse
instance GHC.Show.Show StripeAPI.Operations.GetEventsId.GetEventsIdResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetEventsId.GetEventsIdParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetEventsId.GetEventsIdParameters
-- | Contains the different functions to run the operation getEvents
module StripeAPI.Operations.GetEvents
-- |
-- GET /v1/events
--
--
-- <p>List events, going back up to 30 days. Each event data is
-- rendered according to Stripe API version at its creation time,
-- specified in <a href="/docs/api/events/object">event
-- object</a> <code>api_version</code> attribute (not
-- according to your current Stripe API version or
-- <code>Stripe-Version</code> header).</p>
getEvents :: forall m. MonadHTTP m => GetEventsParameters -> ClientT m (Response GetEventsResponse)
-- | Defines the object schema located at
-- paths./v1/events.GET.parameters in the specification.
data GetEventsParameters
GetEventsParameters :: Maybe GetEventsParametersQueryCreated'Variants -> Maybe Bool -> Maybe Text -> Maybe [Text] -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe [Text] -> GetEventsParameters
-- | queryCreated: Represents the parameter named 'created'
[getEventsParametersQueryCreated] :: GetEventsParameters -> Maybe GetEventsParametersQueryCreated'Variants
-- | queryDelivery_success: Represents the parameter named
-- 'delivery_success'
--
-- Filter events by whether all webhooks were successfully delivered. If
-- false, events which are still pending or have failed all delivery
-- attempts to a webhook endpoint will be returned.
[getEventsParametersQueryDeliverySuccess] :: GetEventsParameters -> Maybe Bool
-- | queryEnding_before: Represents the parameter named 'ending_before'
--
-- A cursor for use in pagination. `ending_before` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, starting with `obj_bar`, your
-- subsequent call can include `ending_before=obj_bar` in order to fetch
-- the previous page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getEventsParametersQueryEndingBefore] :: GetEventsParameters -> Maybe Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getEventsParametersQueryExpand] :: GetEventsParameters -> Maybe [Text]
-- | queryLimit: Represents the parameter named 'limit'
--
-- A limit on the number of objects to be returned. Limit can range
-- between 1 and 100, and the default is 10.
[getEventsParametersQueryLimit] :: GetEventsParameters -> Maybe Int
-- | queryStarting_after: Represents the parameter named 'starting_after'
--
-- A cursor for use in pagination. `starting_after` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, ending with `obj_foo`, your
-- subsequent call can include `starting_after=obj_foo` in order to fetch
-- the next page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getEventsParametersQueryStartingAfter] :: GetEventsParameters -> Maybe Text
-- | queryType: Represents the parameter named 'type'
--
-- A string containing a specific event name, or group of events using *
-- as a wildcard. The list will be filtered to include only events with a
-- matching event property.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getEventsParametersQueryType] :: GetEventsParameters -> Maybe Text
-- | queryTypes: Represents the parameter named 'types'
--
-- An array of up to 20 strings containing specific event names. The list
-- will be filtered to include only events with a matching event
-- property. You may pass either `type` or `types`, but not both.
[getEventsParametersQueryTypes] :: GetEventsParameters -> Maybe [Text]
-- | Create a new GetEventsParameters with all required fields.
mkGetEventsParameters :: GetEventsParameters
-- | Defines the object schema located at
-- paths./v1/events.GET.parameters.properties.queryCreated.anyOf
-- in the specification.
data GetEventsParametersQueryCreated'OneOf1
GetEventsParametersQueryCreated'OneOf1 :: Maybe Int -> Maybe Int -> Maybe Int -> Maybe Int -> GetEventsParametersQueryCreated'OneOf1
-- | gt
[getEventsParametersQueryCreated'OneOf1Gt] :: GetEventsParametersQueryCreated'OneOf1 -> Maybe Int
-- | gte
[getEventsParametersQueryCreated'OneOf1Gte] :: GetEventsParametersQueryCreated'OneOf1 -> Maybe Int
-- | lt
[getEventsParametersQueryCreated'OneOf1Lt] :: GetEventsParametersQueryCreated'OneOf1 -> Maybe Int
-- | lte
[getEventsParametersQueryCreated'OneOf1Lte] :: GetEventsParametersQueryCreated'OneOf1 -> Maybe Int
-- | Create a new GetEventsParametersQueryCreated'OneOf1 with all
-- required fields.
mkGetEventsParametersQueryCreated'OneOf1 :: GetEventsParametersQueryCreated'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/events.GET.parameters.properties.queryCreated.anyOf
-- in the specification.
--
-- Represents the parameter named 'created'
data GetEventsParametersQueryCreated'Variants
GetEventsParametersQueryCreated'GetEventsParametersQueryCreated'OneOf1 :: GetEventsParametersQueryCreated'OneOf1 -> GetEventsParametersQueryCreated'Variants
GetEventsParametersQueryCreated'Int :: Int -> GetEventsParametersQueryCreated'Variants
-- | Represents a response of the operation getEvents.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetEventsResponseError is used.
data GetEventsResponse
-- | Means either no matching case available or a parse error
GetEventsResponseError :: String -> GetEventsResponse
-- | Successful response.
GetEventsResponse200 :: GetEventsResponseBody200 -> GetEventsResponse
-- | Error response.
GetEventsResponseDefault :: Error -> GetEventsResponse
-- | Defines the object schema located at
-- paths./v1/events.GET.responses.200.content.application/json.schema
-- in the specification.
data GetEventsResponseBody200
GetEventsResponseBody200 :: [Event] -> Bool -> Text -> GetEventsResponseBody200
-- | data
[getEventsResponseBody200Data] :: GetEventsResponseBody200 -> [Event]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[getEventsResponseBody200HasMore] :: GetEventsResponseBody200 -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
-- - Must match pattern '^/v1/events'
--
[getEventsResponseBody200Url] :: GetEventsResponseBody200 -> Text
-- | Create a new GetEventsResponseBody200 with all required fields.
mkGetEventsResponseBody200 :: [Event] -> Bool -> Text -> GetEventsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetEvents.GetEventsParametersQueryCreated'OneOf1
instance GHC.Show.Show StripeAPI.Operations.GetEvents.GetEventsParametersQueryCreated'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.GetEvents.GetEventsParametersQueryCreated'Variants
instance GHC.Show.Show StripeAPI.Operations.GetEvents.GetEventsParametersQueryCreated'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetEvents.GetEventsParameters
instance GHC.Show.Show StripeAPI.Operations.GetEvents.GetEventsParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetEvents.GetEventsResponseBody200
instance GHC.Show.Show StripeAPI.Operations.GetEvents.GetEventsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetEvents.GetEventsResponse
instance GHC.Show.Show StripeAPI.Operations.GetEvents.GetEventsResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetEvents.GetEventsResponseBody200
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetEvents.GetEventsResponseBody200
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetEvents.GetEventsParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetEvents.GetEventsParameters
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetEvents.GetEventsParametersQueryCreated'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetEvents.GetEventsParametersQueryCreated'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetEvents.GetEventsParametersQueryCreated'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetEvents.GetEventsParametersQueryCreated'OneOf1
-- | Contains the different functions to run the operation
-- getDisputesDispute
module StripeAPI.Operations.GetDisputesDispute
-- |
-- GET /v1/disputes/{dispute}
--
--
-- <p>Retrieves the dispute with the given ID.</p>
getDisputesDispute :: forall m. MonadHTTP m => GetDisputesDisputeParameters -> ClientT m (Response GetDisputesDisputeResponse)
-- | Defines the object schema located at
-- paths./v1/disputes/{dispute}.GET.parameters in the
-- specification.
data GetDisputesDisputeParameters
GetDisputesDisputeParameters :: Text -> Maybe [Text] -> GetDisputesDisputeParameters
-- | pathDispute: Represents the parameter named 'dispute'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getDisputesDisputeParametersPathDispute] :: GetDisputesDisputeParameters -> Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getDisputesDisputeParametersQueryExpand] :: GetDisputesDisputeParameters -> Maybe [Text]
-- | Create a new GetDisputesDisputeParameters with all required
-- fields.
mkGetDisputesDisputeParameters :: Text -> GetDisputesDisputeParameters
-- | Represents a response of the operation getDisputesDispute.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetDisputesDisputeResponseError is
-- used.
data GetDisputesDisputeResponse
-- | Means either no matching case available or a parse error
GetDisputesDisputeResponseError :: String -> GetDisputesDisputeResponse
-- | Successful response.
GetDisputesDisputeResponse200 :: Dispute -> GetDisputesDisputeResponse
-- | Error response.
GetDisputesDisputeResponseDefault :: Error -> GetDisputesDisputeResponse
instance GHC.Classes.Eq StripeAPI.Operations.GetDisputesDispute.GetDisputesDisputeParameters
instance GHC.Show.Show StripeAPI.Operations.GetDisputesDispute.GetDisputesDisputeParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetDisputesDispute.GetDisputesDisputeResponse
instance GHC.Show.Show StripeAPI.Operations.GetDisputesDispute.GetDisputesDisputeResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetDisputesDispute.GetDisputesDisputeParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetDisputesDispute.GetDisputesDisputeParameters
-- | Contains the different functions to run the operation getDisputes
module StripeAPI.Operations.GetDisputes
-- |
-- GET /v1/disputes
--
--
-- <p>Returns a list of your disputes.</p>
getDisputes :: forall m. MonadHTTP m => GetDisputesParameters -> ClientT m (Response GetDisputesResponse)
-- | Defines the object schema located at
-- paths./v1/disputes.GET.parameters in the specification.
data GetDisputesParameters
GetDisputesParameters :: Maybe Text -> Maybe GetDisputesParametersQueryCreated'Variants -> Maybe Text -> Maybe [Text] -> Maybe Int -> Maybe Text -> Maybe Text -> GetDisputesParameters
-- | queryCharge: Represents the parameter named 'charge'
--
-- Only return disputes associated to the charge specified by this charge
-- ID.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getDisputesParametersQueryCharge] :: GetDisputesParameters -> Maybe Text
-- | queryCreated: Represents the parameter named 'created'
[getDisputesParametersQueryCreated] :: GetDisputesParameters -> Maybe GetDisputesParametersQueryCreated'Variants
-- | queryEnding_before: Represents the parameter named 'ending_before'
--
-- A cursor for use in pagination. `ending_before` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, starting with `obj_bar`, your
-- subsequent call can include `ending_before=obj_bar` in order to fetch
-- the previous page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getDisputesParametersQueryEndingBefore] :: GetDisputesParameters -> Maybe Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getDisputesParametersQueryExpand] :: GetDisputesParameters -> Maybe [Text]
-- | queryLimit: Represents the parameter named 'limit'
--
-- A limit on the number of objects to be returned. Limit can range
-- between 1 and 100, and the default is 10.
[getDisputesParametersQueryLimit] :: GetDisputesParameters -> Maybe Int
-- | queryPayment_intent: Represents the parameter named 'payment_intent'
--
-- Only return disputes associated to the PaymentIntent specified by this
-- PaymentIntent ID.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getDisputesParametersQueryPaymentIntent] :: GetDisputesParameters -> Maybe Text
-- | queryStarting_after: Represents the parameter named 'starting_after'
--
-- A cursor for use in pagination. `starting_after` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, ending with `obj_foo`, your
-- subsequent call can include `starting_after=obj_foo` in order to fetch
-- the next page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getDisputesParametersQueryStartingAfter] :: GetDisputesParameters -> Maybe Text
-- | Create a new GetDisputesParameters with all required fields.
mkGetDisputesParameters :: GetDisputesParameters
-- | Defines the object schema located at
-- paths./v1/disputes.GET.parameters.properties.queryCreated.anyOf
-- in the specification.
data GetDisputesParametersQueryCreated'OneOf1
GetDisputesParametersQueryCreated'OneOf1 :: Maybe Int -> Maybe Int -> Maybe Int -> Maybe Int -> GetDisputesParametersQueryCreated'OneOf1
-- | gt
[getDisputesParametersQueryCreated'OneOf1Gt] :: GetDisputesParametersQueryCreated'OneOf1 -> Maybe Int
-- | gte
[getDisputesParametersQueryCreated'OneOf1Gte] :: GetDisputesParametersQueryCreated'OneOf1 -> Maybe Int
-- | lt
[getDisputesParametersQueryCreated'OneOf1Lt] :: GetDisputesParametersQueryCreated'OneOf1 -> Maybe Int
-- | lte
[getDisputesParametersQueryCreated'OneOf1Lte] :: GetDisputesParametersQueryCreated'OneOf1 -> Maybe Int
-- | Create a new GetDisputesParametersQueryCreated'OneOf1 with all
-- required fields.
mkGetDisputesParametersQueryCreated'OneOf1 :: GetDisputesParametersQueryCreated'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/disputes.GET.parameters.properties.queryCreated.anyOf
-- in the specification.
--
-- Represents the parameter named 'created'
data GetDisputesParametersQueryCreated'Variants
GetDisputesParametersQueryCreated'GetDisputesParametersQueryCreated'OneOf1 :: GetDisputesParametersQueryCreated'OneOf1 -> GetDisputesParametersQueryCreated'Variants
GetDisputesParametersQueryCreated'Int :: Int -> GetDisputesParametersQueryCreated'Variants
-- | Represents a response of the operation getDisputes.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetDisputesResponseError is used.
data GetDisputesResponse
-- | Means either no matching case available or a parse error
GetDisputesResponseError :: String -> GetDisputesResponse
-- | Successful response.
GetDisputesResponse200 :: GetDisputesResponseBody200 -> GetDisputesResponse
-- | Error response.
GetDisputesResponseDefault :: Error -> GetDisputesResponse
-- | Defines the object schema located at
-- paths./v1/disputes.GET.responses.200.content.application/json.schema
-- in the specification.
data GetDisputesResponseBody200
GetDisputesResponseBody200 :: [Dispute] -> Bool -> Text -> GetDisputesResponseBody200
-- | data
[getDisputesResponseBody200Data] :: GetDisputesResponseBody200 -> [Dispute]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[getDisputesResponseBody200HasMore] :: GetDisputesResponseBody200 -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
-- - Must match pattern '^/v1/disputes'
--
[getDisputesResponseBody200Url] :: GetDisputesResponseBody200 -> Text
-- | Create a new GetDisputesResponseBody200 with all required
-- fields.
mkGetDisputesResponseBody200 :: [Dispute] -> Bool -> Text -> GetDisputesResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetDisputes.GetDisputesParametersQueryCreated'OneOf1
instance GHC.Show.Show StripeAPI.Operations.GetDisputes.GetDisputesParametersQueryCreated'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.GetDisputes.GetDisputesParametersQueryCreated'Variants
instance GHC.Show.Show StripeAPI.Operations.GetDisputes.GetDisputesParametersQueryCreated'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetDisputes.GetDisputesParameters
instance GHC.Show.Show StripeAPI.Operations.GetDisputes.GetDisputesParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetDisputes.GetDisputesResponseBody200
instance GHC.Show.Show StripeAPI.Operations.GetDisputes.GetDisputesResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetDisputes.GetDisputesResponse
instance GHC.Show.Show StripeAPI.Operations.GetDisputes.GetDisputesResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetDisputes.GetDisputesResponseBody200
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetDisputes.GetDisputesResponseBody200
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetDisputes.GetDisputesParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetDisputes.GetDisputesParameters
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetDisputes.GetDisputesParametersQueryCreated'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetDisputes.GetDisputesParametersQueryCreated'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetDisputes.GetDisputesParametersQueryCreated'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetDisputes.GetDisputesParametersQueryCreated'OneOf1
-- | Contains the different functions to run the operation
-- getCustomersCustomerTaxIdsId
module StripeAPI.Operations.GetCustomersCustomerTaxIdsId
-- |
-- GET /v1/customers/{customer}/tax_ids/{id}
--
--
-- <p>Retrieves the <code>TaxID</code> object with the
-- given identifier.</p>
getCustomersCustomerTaxIdsId :: forall m. MonadHTTP m => GetCustomersCustomerTaxIdsIdParameters -> ClientT m (Response GetCustomersCustomerTaxIdsIdResponse)
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/tax_ids/{id}.GET.parameters in
-- the specification.
data GetCustomersCustomerTaxIdsIdParameters
GetCustomersCustomerTaxIdsIdParameters :: Text -> Text -> Maybe [Text] -> GetCustomersCustomerTaxIdsIdParameters
-- | pathCustomer: Represents the parameter named 'customer'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerTaxIdsIdParametersPathCustomer] :: GetCustomersCustomerTaxIdsIdParameters -> Text
-- | pathId: Represents the parameter named 'id'
[getCustomersCustomerTaxIdsIdParametersPathId] :: GetCustomersCustomerTaxIdsIdParameters -> Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getCustomersCustomerTaxIdsIdParametersQueryExpand] :: GetCustomersCustomerTaxIdsIdParameters -> Maybe [Text]
-- | Create a new GetCustomersCustomerTaxIdsIdParameters with all
-- required fields.
mkGetCustomersCustomerTaxIdsIdParameters :: Text -> Text -> GetCustomersCustomerTaxIdsIdParameters
-- | Represents a response of the operation
-- getCustomersCustomerTaxIdsId.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- GetCustomersCustomerTaxIdsIdResponseError is used.
data GetCustomersCustomerTaxIdsIdResponse
-- | Means either no matching case available or a parse error
GetCustomersCustomerTaxIdsIdResponseError :: String -> GetCustomersCustomerTaxIdsIdResponse
-- | Successful response.
GetCustomersCustomerTaxIdsIdResponse200 :: TaxId -> GetCustomersCustomerTaxIdsIdResponse
-- | Error response.
GetCustomersCustomerTaxIdsIdResponseDefault :: Error -> GetCustomersCustomerTaxIdsIdResponse
instance GHC.Classes.Eq StripeAPI.Operations.GetCustomersCustomerTaxIdsId.GetCustomersCustomerTaxIdsIdParameters
instance GHC.Show.Show StripeAPI.Operations.GetCustomersCustomerTaxIdsId.GetCustomersCustomerTaxIdsIdParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetCustomersCustomerTaxIdsId.GetCustomersCustomerTaxIdsIdResponse
instance GHC.Show.Show StripeAPI.Operations.GetCustomersCustomerTaxIdsId.GetCustomersCustomerTaxIdsIdResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetCustomersCustomerTaxIdsId.GetCustomersCustomerTaxIdsIdParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetCustomersCustomerTaxIdsId.GetCustomersCustomerTaxIdsIdParameters
-- | Contains the different functions to run the operation
-- getCustomersCustomerTaxIds
module StripeAPI.Operations.GetCustomersCustomerTaxIds
-- |
-- GET /v1/customers/{customer}/tax_ids
--
--
-- <p>Returns a list of tax IDs for a customer.</p>
getCustomersCustomerTaxIds :: forall m. MonadHTTP m => GetCustomersCustomerTaxIdsParameters -> ClientT m (Response GetCustomersCustomerTaxIdsResponse)
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/tax_ids.GET.parameters in the
-- specification.
data GetCustomersCustomerTaxIdsParameters
GetCustomersCustomerTaxIdsParameters :: Text -> Maybe Text -> Maybe [Text] -> Maybe Int -> Maybe Text -> GetCustomersCustomerTaxIdsParameters
-- | pathCustomer: Represents the parameter named 'customer'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerTaxIdsParametersPathCustomer] :: GetCustomersCustomerTaxIdsParameters -> Text
-- | queryEnding_before: Represents the parameter named 'ending_before'
--
-- A cursor for use in pagination. `ending_before` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, starting with `obj_bar`, your
-- subsequent call can include `ending_before=obj_bar` in order to fetch
-- the previous page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerTaxIdsParametersQueryEndingBefore] :: GetCustomersCustomerTaxIdsParameters -> Maybe Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getCustomersCustomerTaxIdsParametersQueryExpand] :: GetCustomersCustomerTaxIdsParameters -> Maybe [Text]
-- | queryLimit: Represents the parameter named 'limit'
--
-- A limit on the number of objects to be returned. Limit can range
-- between 1 and 100, and the default is 10.
[getCustomersCustomerTaxIdsParametersQueryLimit] :: GetCustomersCustomerTaxIdsParameters -> Maybe Int
-- | queryStarting_after: Represents the parameter named 'starting_after'
--
-- A cursor for use in pagination. `starting_after` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, ending with `obj_foo`, your
-- subsequent call can include `starting_after=obj_foo` in order to fetch
-- the next page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerTaxIdsParametersQueryStartingAfter] :: GetCustomersCustomerTaxIdsParameters -> Maybe Text
-- | Create a new GetCustomersCustomerTaxIdsParameters with all
-- required fields.
mkGetCustomersCustomerTaxIdsParameters :: Text -> GetCustomersCustomerTaxIdsParameters
-- | Represents a response of the operation
-- getCustomersCustomerTaxIds.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetCustomersCustomerTaxIdsResponseError
-- is used.
data GetCustomersCustomerTaxIdsResponse
-- | Means either no matching case available or a parse error
GetCustomersCustomerTaxIdsResponseError :: String -> GetCustomersCustomerTaxIdsResponse
-- | Successful response.
GetCustomersCustomerTaxIdsResponse200 :: GetCustomersCustomerTaxIdsResponseBody200 -> GetCustomersCustomerTaxIdsResponse
-- | Error response.
GetCustomersCustomerTaxIdsResponseDefault :: Error -> GetCustomersCustomerTaxIdsResponse
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/tax_ids.GET.responses.200.content.application/json.schema
-- in the specification.
data GetCustomersCustomerTaxIdsResponseBody200
GetCustomersCustomerTaxIdsResponseBody200 :: [TaxId] -> Bool -> Text -> GetCustomersCustomerTaxIdsResponseBody200
-- | data: Details about each object.
[getCustomersCustomerTaxIdsResponseBody200Data] :: GetCustomersCustomerTaxIdsResponseBody200 -> [TaxId]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[getCustomersCustomerTaxIdsResponseBody200HasMore] :: GetCustomersCustomerTaxIdsResponseBody200 -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerTaxIdsResponseBody200Url] :: GetCustomersCustomerTaxIdsResponseBody200 -> Text
-- | Create a new GetCustomersCustomerTaxIdsResponseBody200 with all
-- required fields.
mkGetCustomersCustomerTaxIdsResponseBody200 :: [TaxId] -> Bool -> Text -> GetCustomersCustomerTaxIdsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetCustomersCustomerTaxIds.GetCustomersCustomerTaxIdsParameters
instance GHC.Show.Show StripeAPI.Operations.GetCustomersCustomerTaxIds.GetCustomersCustomerTaxIdsParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetCustomersCustomerTaxIds.GetCustomersCustomerTaxIdsResponseBody200
instance GHC.Show.Show StripeAPI.Operations.GetCustomersCustomerTaxIds.GetCustomersCustomerTaxIdsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetCustomersCustomerTaxIds.GetCustomersCustomerTaxIdsResponse
instance GHC.Show.Show StripeAPI.Operations.GetCustomersCustomerTaxIds.GetCustomersCustomerTaxIdsResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetCustomersCustomerTaxIds.GetCustomersCustomerTaxIdsResponseBody200
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetCustomersCustomerTaxIds.GetCustomersCustomerTaxIdsResponseBody200
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetCustomersCustomerTaxIds.GetCustomersCustomerTaxIdsParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetCustomersCustomerTaxIds.GetCustomersCustomerTaxIdsParameters
-- | Contains the different functions to run the operation
-- getCustomersCustomerSubscriptionsSubscriptionExposedIdDiscount
module StripeAPI.Operations.GetCustomersCustomerSubscriptionsSubscriptionExposedIdDiscount
-- |
-- GET /v1/customers/{customer}/subscriptions/{subscription_exposed_id}/discount
--
getCustomersCustomerSubscriptionsSubscriptionExposedIdDiscount :: forall m. MonadHTTP m => GetCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountParameters -> ClientT m (Response GetCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountResponse)
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/subscriptions/{subscription_exposed_id}/discount.GET.parameters
-- in the specification.
data GetCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountParameters
GetCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountParameters :: Text -> Text -> Maybe [Text] -> GetCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountParameters
-- | pathCustomer: Represents the parameter named 'customer'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountParametersPathCustomer] :: GetCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountParameters -> Text
-- | pathSubscription_exposed_id: Represents the parameter named
-- 'subscription_exposed_id'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountParametersPathSubscriptionExposedId] :: GetCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountParameters -> Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountParametersQueryExpand] :: GetCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountParameters -> Maybe [Text]
-- | Create a new
-- GetCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountParameters
-- with all required fields.
mkGetCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountParameters :: Text -> Text -> GetCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountParameters
-- | Represents a response of the operation
-- getCustomersCustomerSubscriptionsSubscriptionExposedIdDiscount.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- GetCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountResponseError
-- is used.
data GetCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountResponse
-- | Means either no matching case available or a parse error
GetCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountResponseError :: String -> GetCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountResponse
-- | Successful response.
GetCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountResponse200 :: Discount -> GetCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountResponse
-- | Error response.
GetCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountResponseDefault :: Error -> GetCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountResponse
instance GHC.Classes.Eq StripeAPI.Operations.GetCustomersCustomerSubscriptionsSubscriptionExposedIdDiscount.GetCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountParameters
instance GHC.Show.Show StripeAPI.Operations.GetCustomersCustomerSubscriptionsSubscriptionExposedIdDiscount.GetCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetCustomersCustomerSubscriptionsSubscriptionExposedIdDiscount.GetCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountResponse
instance GHC.Show.Show StripeAPI.Operations.GetCustomersCustomerSubscriptionsSubscriptionExposedIdDiscount.GetCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetCustomersCustomerSubscriptionsSubscriptionExposedIdDiscount.GetCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetCustomersCustomerSubscriptionsSubscriptionExposedIdDiscount.GetCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountParameters
-- | Contains the different functions to run the operation
-- getCustomersCustomerSubscriptionsSubscriptionExposedId
module StripeAPI.Operations.GetCustomersCustomerSubscriptionsSubscriptionExposedId
-- |
-- GET /v1/customers/{customer}/subscriptions/{subscription_exposed_id}
--
--
-- <p>Retrieves the subscription with the given ID.</p>
getCustomersCustomerSubscriptionsSubscriptionExposedId :: forall m. MonadHTTP m => GetCustomersCustomerSubscriptionsSubscriptionExposedIdParameters -> ClientT m (Response GetCustomersCustomerSubscriptionsSubscriptionExposedIdResponse)
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/subscriptions/{subscription_exposed_id}.GET.parameters
-- in the specification.
data GetCustomersCustomerSubscriptionsSubscriptionExposedIdParameters
GetCustomersCustomerSubscriptionsSubscriptionExposedIdParameters :: Text -> Text -> Maybe [Text] -> GetCustomersCustomerSubscriptionsSubscriptionExposedIdParameters
-- | pathCustomer: Represents the parameter named 'customer'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerSubscriptionsSubscriptionExposedIdParametersPathCustomer] :: GetCustomersCustomerSubscriptionsSubscriptionExposedIdParameters -> Text
-- | pathSubscription_exposed_id: Represents the parameter named
-- 'subscription_exposed_id'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerSubscriptionsSubscriptionExposedIdParametersPathSubscriptionExposedId] :: GetCustomersCustomerSubscriptionsSubscriptionExposedIdParameters -> Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getCustomersCustomerSubscriptionsSubscriptionExposedIdParametersQueryExpand] :: GetCustomersCustomerSubscriptionsSubscriptionExposedIdParameters -> Maybe [Text]
-- | Create a new
-- GetCustomersCustomerSubscriptionsSubscriptionExposedIdParameters
-- with all required fields.
mkGetCustomersCustomerSubscriptionsSubscriptionExposedIdParameters :: Text -> Text -> GetCustomersCustomerSubscriptionsSubscriptionExposedIdParameters
-- | Represents a response of the operation
-- getCustomersCustomerSubscriptionsSubscriptionExposedId.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- GetCustomersCustomerSubscriptionsSubscriptionExposedIdResponseError
-- is used.
data GetCustomersCustomerSubscriptionsSubscriptionExposedIdResponse
-- | Means either no matching case available or a parse error
GetCustomersCustomerSubscriptionsSubscriptionExposedIdResponseError :: String -> GetCustomersCustomerSubscriptionsSubscriptionExposedIdResponse
-- | Successful response.
GetCustomersCustomerSubscriptionsSubscriptionExposedIdResponse200 :: Subscription -> GetCustomersCustomerSubscriptionsSubscriptionExposedIdResponse
-- | Error response.
GetCustomersCustomerSubscriptionsSubscriptionExposedIdResponseDefault :: Error -> GetCustomersCustomerSubscriptionsSubscriptionExposedIdResponse
instance GHC.Classes.Eq StripeAPI.Operations.GetCustomersCustomerSubscriptionsSubscriptionExposedId.GetCustomersCustomerSubscriptionsSubscriptionExposedIdParameters
instance GHC.Show.Show StripeAPI.Operations.GetCustomersCustomerSubscriptionsSubscriptionExposedId.GetCustomersCustomerSubscriptionsSubscriptionExposedIdParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetCustomersCustomerSubscriptionsSubscriptionExposedId.GetCustomersCustomerSubscriptionsSubscriptionExposedIdResponse
instance GHC.Show.Show StripeAPI.Operations.GetCustomersCustomerSubscriptionsSubscriptionExposedId.GetCustomersCustomerSubscriptionsSubscriptionExposedIdResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetCustomersCustomerSubscriptionsSubscriptionExposedId.GetCustomersCustomerSubscriptionsSubscriptionExposedIdParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetCustomersCustomerSubscriptionsSubscriptionExposedId.GetCustomersCustomerSubscriptionsSubscriptionExposedIdParameters
-- | Contains the different functions to run the operation
-- getCustomersCustomerSubscriptions
module StripeAPI.Operations.GetCustomersCustomerSubscriptions
-- |
-- GET /v1/customers/{customer}/subscriptions
--
--
-- <p>You can see a list of the customer’s active subscriptions.
-- Note that the 10 most recent active subscriptions are always available
-- by default on the customer object. If you need more than those 10, you
-- can use the limit and starting_after parameters to page through
-- additional subscriptions.</p>
getCustomersCustomerSubscriptions :: forall m. MonadHTTP m => GetCustomersCustomerSubscriptionsParameters -> ClientT m (Response GetCustomersCustomerSubscriptionsResponse)
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/subscriptions.GET.parameters
-- in the specification.
data GetCustomersCustomerSubscriptionsParameters
GetCustomersCustomerSubscriptionsParameters :: Text -> Maybe Text -> Maybe [Text] -> Maybe Int -> Maybe Text -> GetCustomersCustomerSubscriptionsParameters
-- | pathCustomer: Represents the parameter named 'customer'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerSubscriptionsParametersPathCustomer] :: GetCustomersCustomerSubscriptionsParameters -> Text
-- | queryEnding_before: Represents the parameter named 'ending_before'
--
-- A cursor for use in pagination. `ending_before` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, starting with `obj_bar`, your
-- subsequent call can include `ending_before=obj_bar` in order to fetch
-- the previous page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerSubscriptionsParametersQueryEndingBefore] :: GetCustomersCustomerSubscriptionsParameters -> Maybe Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getCustomersCustomerSubscriptionsParametersQueryExpand] :: GetCustomersCustomerSubscriptionsParameters -> Maybe [Text]
-- | queryLimit: Represents the parameter named 'limit'
--
-- A limit on the number of objects to be returned. Limit can range
-- between 1 and 100, and the default is 10.
[getCustomersCustomerSubscriptionsParametersQueryLimit] :: GetCustomersCustomerSubscriptionsParameters -> Maybe Int
-- | queryStarting_after: Represents the parameter named 'starting_after'
--
-- A cursor for use in pagination. `starting_after` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, ending with `obj_foo`, your
-- subsequent call can include `starting_after=obj_foo` in order to fetch
-- the next page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerSubscriptionsParametersQueryStartingAfter] :: GetCustomersCustomerSubscriptionsParameters -> Maybe Text
-- | Create a new GetCustomersCustomerSubscriptionsParameters with
-- all required fields.
mkGetCustomersCustomerSubscriptionsParameters :: Text -> GetCustomersCustomerSubscriptionsParameters
-- | Represents a response of the operation
-- getCustomersCustomerSubscriptions.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- GetCustomersCustomerSubscriptionsResponseError is used.
data GetCustomersCustomerSubscriptionsResponse
-- | Means either no matching case available or a parse error
GetCustomersCustomerSubscriptionsResponseError :: String -> GetCustomersCustomerSubscriptionsResponse
-- | Successful response.
GetCustomersCustomerSubscriptionsResponse200 :: GetCustomersCustomerSubscriptionsResponseBody200 -> GetCustomersCustomerSubscriptionsResponse
-- | Error response.
GetCustomersCustomerSubscriptionsResponseDefault :: Error -> GetCustomersCustomerSubscriptionsResponse
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/subscriptions.GET.responses.200.content.application/json.schema
-- in the specification.
data GetCustomersCustomerSubscriptionsResponseBody200
GetCustomersCustomerSubscriptionsResponseBody200 :: [Subscription] -> Bool -> Text -> GetCustomersCustomerSubscriptionsResponseBody200
-- | data: Details about each object.
[getCustomersCustomerSubscriptionsResponseBody200Data] :: GetCustomersCustomerSubscriptionsResponseBody200 -> [Subscription]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[getCustomersCustomerSubscriptionsResponseBody200HasMore] :: GetCustomersCustomerSubscriptionsResponseBody200 -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerSubscriptionsResponseBody200Url] :: GetCustomersCustomerSubscriptionsResponseBody200 -> Text
-- | Create a new GetCustomersCustomerSubscriptionsResponseBody200
-- with all required fields.
mkGetCustomersCustomerSubscriptionsResponseBody200 :: [Subscription] -> Bool -> Text -> GetCustomersCustomerSubscriptionsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetCustomersCustomerSubscriptions.GetCustomersCustomerSubscriptionsParameters
instance GHC.Show.Show StripeAPI.Operations.GetCustomersCustomerSubscriptions.GetCustomersCustomerSubscriptionsParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetCustomersCustomerSubscriptions.GetCustomersCustomerSubscriptionsResponseBody200
instance GHC.Show.Show StripeAPI.Operations.GetCustomersCustomerSubscriptions.GetCustomersCustomerSubscriptionsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetCustomersCustomerSubscriptions.GetCustomersCustomerSubscriptionsResponse
instance GHC.Show.Show StripeAPI.Operations.GetCustomersCustomerSubscriptions.GetCustomersCustomerSubscriptionsResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetCustomersCustomerSubscriptions.GetCustomersCustomerSubscriptionsResponseBody200
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetCustomersCustomerSubscriptions.GetCustomersCustomerSubscriptionsResponseBody200
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetCustomersCustomerSubscriptions.GetCustomersCustomerSubscriptionsParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetCustomersCustomerSubscriptions.GetCustomersCustomerSubscriptionsParameters
-- | Contains the different functions to run the operation
-- getCustomersCustomerSourcesId
module StripeAPI.Operations.GetCustomersCustomerSourcesId
-- |
-- GET /v1/customers/{customer}/sources/{id}
--
--
-- <p>Retrieve a specified source for a given customer.</p>
getCustomersCustomerSourcesId :: forall m. MonadHTTP m => GetCustomersCustomerSourcesIdParameters -> ClientT m (Response GetCustomersCustomerSourcesIdResponse)
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/sources/{id}.GET.parameters in
-- the specification.
data GetCustomersCustomerSourcesIdParameters
GetCustomersCustomerSourcesIdParameters :: Text -> Text -> Maybe [Text] -> GetCustomersCustomerSourcesIdParameters
-- | pathCustomer: Represents the parameter named 'customer'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerSourcesIdParametersPathCustomer] :: GetCustomersCustomerSourcesIdParameters -> Text
-- | pathId: Represents the parameter named 'id'
--
-- Constraints:
--
--
-- - Maximum length of 500
--
[getCustomersCustomerSourcesIdParametersPathId] :: GetCustomersCustomerSourcesIdParameters -> Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getCustomersCustomerSourcesIdParametersQueryExpand] :: GetCustomersCustomerSourcesIdParameters -> Maybe [Text]
-- | Create a new GetCustomersCustomerSourcesIdParameters with all
-- required fields.
mkGetCustomersCustomerSourcesIdParameters :: Text -> Text -> GetCustomersCustomerSourcesIdParameters
-- | Represents a response of the operation
-- getCustomersCustomerSourcesId.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- GetCustomersCustomerSourcesIdResponseError is used.
data GetCustomersCustomerSourcesIdResponse
-- | Means either no matching case available or a parse error
GetCustomersCustomerSourcesIdResponseError :: String -> GetCustomersCustomerSourcesIdResponse
-- | Successful response.
GetCustomersCustomerSourcesIdResponse200 :: PaymentSource -> GetCustomersCustomerSourcesIdResponse
-- | Error response.
GetCustomersCustomerSourcesIdResponseDefault :: Error -> GetCustomersCustomerSourcesIdResponse
instance GHC.Classes.Eq StripeAPI.Operations.GetCustomersCustomerSourcesId.GetCustomersCustomerSourcesIdParameters
instance GHC.Show.Show StripeAPI.Operations.GetCustomersCustomerSourcesId.GetCustomersCustomerSourcesIdParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetCustomersCustomerSourcesId.GetCustomersCustomerSourcesIdResponse
instance GHC.Show.Show StripeAPI.Operations.GetCustomersCustomerSourcesId.GetCustomersCustomerSourcesIdResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetCustomersCustomerSourcesId.GetCustomersCustomerSourcesIdParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetCustomersCustomerSourcesId.GetCustomersCustomerSourcesIdParameters
-- | Contains the different functions to run the operation
-- getCustomersCustomerSources
module StripeAPI.Operations.GetCustomersCustomerSources
-- |
-- GET /v1/customers/{customer}/sources
--
--
-- <p>List sources for a specified customer.</p>
getCustomersCustomerSources :: forall m. MonadHTTP m => GetCustomersCustomerSourcesParameters -> ClientT m (Response GetCustomersCustomerSourcesResponse)
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/sources.GET.parameters in the
-- specification.
data GetCustomersCustomerSourcesParameters
GetCustomersCustomerSourcesParameters :: Text -> Maybe Text -> Maybe [Text] -> Maybe Int -> Maybe Text -> Maybe Text -> GetCustomersCustomerSourcesParameters
-- | pathCustomer: Represents the parameter named 'customer'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerSourcesParametersPathCustomer] :: GetCustomersCustomerSourcesParameters -> Text
-- | queryEnding_before: Represents the parameter named 'ending_before'
--
-- A cursor for use in pagination. `ending_before` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, starting with `obj_bar`, your
-- subsequent call can include `ending_before=obj_bar` in order to fetch
-- the previous page of the list.
[getCustomersCustomerSourcesParametersQueryEndingBefore] :: GetCustomersCustomerSourcesParameters -> Maybe Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getCustomersCustomerSourcesParametersQueryExpand] :: GetCustomersCustomerSourcesParameters -> Maybe [Text]
-- | queryLimit: Represents the parameter named 'limit'
--
-- A limit on the number of objects to be returned. Limit can range
-- between 1 and 100, and the default is 10.
[getCustomersCustomerSourcesParametersQueryLimit] :: GetCustomersCustomerSourcesParameters -> Maybe Int
-- | queryObject: Represents the parameter named 'object'
--
-- Filter sources according to a particular object type.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerSourcesParametersQueryObject] :: GetCustomersCustomerSourcesParameters -> Maybe Text
-- | queryStarting_after: Represents the parameter named 'starting_after'
--
-- A cursor for use in pagination. `starting_after` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, ending with `obj_foo`, your
-- subsequent call can include `starting_after=obj_foo` in order to fetch
-- the next page of the list.
[getCustomersCustomerSourcesParametersQueryStartingAfter] :: GetCustomersCustomerSourcesParameters -> Maybe Text
-- | Create a new GetCustomersCustomerSourcesParameters with all
-- required fields.
mkGetCustomersCustomerSourcesParameters :: Text -> GetCustomersCustomerSourcesParameters
-- | Represents a response of the operation
-- getCustomersCustomerSources.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- GetCustomersCustomerSourcesResponseError is used.
data GetCustomersCustomerSourcesResponse
-- | Means either no matching case available or a parse error
GetCustomersCustomerSourcesResponseError :: String -> GetCustomersCustomerSourcesResponse
-- | Successful response.
GetCustomersCustomerSourcesResponse200 :: GetCustomersCustomerSourcesResponseBody200 -> GetCustomersCustomerSourcesResponse
-- | Error response.
GetCustomersCustomerSourcesResponseDefault :: Error -> GetCustomersCustomerSourcesResponse
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/sources.GET.responses.200.content.application/json.schema
-- in the specification.
data GetCustomersCustomerSourcesResponseBody200
GetCustomersCustomerSourcesResponseBody200 :: [GetCustomersCustomerSourcesResponseBody200Data'] -> Bool -> Text -> GetCustomersCustomerSourcesResponseBody200
-- | data: Details about each object.
[getCustomersCustomerSourcesResponseBody200Data] :: GetCustomersCustomerSourcesResponseBody200 -> [GetCustomersCustomerSourcesResponseBody200Data']
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[getCustomersCustomerSourcesResponseBody200HasMore] :: GetCustomersCustomerSourcesResponseBody200 -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerSourcesResponseBody200Url] :: GetCustomersCustomerSourcesResponseBody200 -> Text
-- | Create a new GetCustomersCustomerSourcesResponseBody200 with
-- all required fields.
mkGetCustomersCustomerSourcesResponseBody200 :: [GetCustomersCustomerSourcesResponseBody200Data'] -> Bool -> Text -> GetCustomersCustomerSourcesResponseBody200
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/sources.GET.responses.200.content.application/json.schema.properties.data.items.anyOf
-- in the specification.
data GetCustomersCustomerSourcesResponseBody200Data'
GetCustomersCustomerSourcesResponseBody200Data' :: Maybe GetCustomersCustomerSourcesResponseBody200Data'Account'Variants -> Maybe Text -> Maybe Text -> Maybe SourceTypeAchCreditTransfer -> Maybe SourceTypeAchDebit -> Maybe SourceTypeAcssDebit -> Maybe Bool -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe SourceTypeAlipay -> Maybe Int -> Maybe Int -> Maybe SourceTypeAuBecsDebit -> Maybe [GetCustomersCustomerSourcesResponseBody200Data'AvailablePayoutMethods'] -> Maybe SourceTypeBancontact -> Maybe Text -> Maybe Int -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe SourceTypeCard -> Maybe SourceTypeCardPresent -> Maybe Text -> Maybe SourceCodeVerificationFlow -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe GetCustomersCustomerSourcesResponseBody200Data'Customer'Variants -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe SourceTypeEps -> Maybe Int -> Maybe Int -> Maybe Bool -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe SourceTypeGiropay -> Maybe Text -> Maybe SourceTypeIdeal -> Maybe Text -> Maybe SourceTypeKlarna -> Maybe Text -> Maybe Bool -> Maybe Object -> Maybe SourceTypeMultibanco -> Maybe Text -> Maybe GetCustomersCustomerSourcesResponseBody200Data'Object' -> Maybe GetCustomersCustomerSourcesResponseBody200Data'Owner' -> Maybe SourceTypeP24 -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe SourceReceiverFlow -> Maybe GetCustomersCustomerSourcesResponseBody200Data'Recipient'Variants -> Maybe SourceRedirectFlow -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe SourceTypeSepaDebit -> Maybe SourceTypeSofort -> Maybe SourceOrder -> Maybe Text -> Maybe Text -> Maybe SourceTypeThreeDSecure -> Maybe Text -> Maybe GetCustomersCustomerSourcesResponseBody200Data'Transactions' -> Maybe GetCustomersCustomerSourcesResponseBody200Data'Type' -> Maybe Bool -> Maybe Text -> Maybe Bool -> Maybe Bool -> Maybe Text -> Maybe SourceTypeWechat -> GetCustomersCustomerSourcesResponseBody200Data'
-- | account: The ID of the account that the bank account is associated
-- with.
[getCustomersCustomerSourcesResponseBody200Data'Account] :: GetCustomersCustomerSourcesResponseBody200Data' -> Maybe GetCustomersCustomerSourcesResponseBody200Data'Account'Variants
-- | account_holder_name: The name of the person or business that owns the
-- bank account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerSourcesResponseBody200Data'AccountHolderName] :: GetCustomersCustomerSourcesResponseBody200Data' -> Maybe Text
-- | account_holder_type: The type of entity that holds the account. This
-- can be either `individual` or `company`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerSourcesResponseBody200Data'AccountHolderType] :: GetCustomersCustomerSourcesResponseBody200Data' -> Maybe Text
-- | ach_credit_transfer
[getCustomersCustomerSourcesResponseBody200Data'AchCreditTransfer] :: GetCustomersCustomerSourcesResponseBody200Data' -> Maybe SourceTypeAchCreditTransfer
-- | ach_debit
[getCustomersCustomerSourcesResponseBody200Data'AchDebit] :: GetCustomersCustomerSourcesResponseBody200Data' -> Maybe SourceTypeAchDebit
-- | acss_debit
[getCustomersCustomerSourcesResponseBody200Data'AcssDebit] :: GetCustomersCustomerSourcesResponseBody200Data' -> Maybe SourceTypeAcssDebit
-- | active: True when this bitcoin receiver has received a non-zero amount
-- of bitcoin.
[getCustomersCustomerSourcesResponseBody200Data'Active] :: GetCustomersCustomerSourcesResponseBody200Data' -> Maybe Bool
-- | address_city: City/District/Suburb/Town/Village.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerSourcesResponseBody200Data'AddressCity] :: GetCustomersCustomerSourcesResponseBody200Data' -> Maybe Text
-- | address_country: Billing address country, if provided when creating
-- card.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerSourcesResponseBody200Data'AddressCountry] :: GetCustomersCustomerSourcesResponseBody200Data' -> Maybe Text
-- | address_line1: Address line 1 (Street address/PO Box/Company name).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerSourcesResponseBody200Data'AddressLine1] :: GetCustomersCustomerSourcesResponseBody200Data' -> Maybe Text
-- | address_line1_check: If `address_line1` was provided, results of the
-- check: `pass`, `fail`, `unavailable`, or `unchecked`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerSourcesResponseBody200Data'AddressLine1Check] :: GetCustomersCustomerSourcesResponseBody200Data' -> Maybe Text
-- | address_line2: Address line 2 (Apartment/Suite/Unit/Building).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerSourcesResponseBody200Data'AddressLine2] :: GetCustomersCustomerSourcesResponseBody200Data' -> Maybe Text
-- | address_state: State/County/Province/Region.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerSourcesResponseBody200Data'AddressState] :: GetCustomersCustomerSourcesResponseBody200Data' -> Maybe Text
-- | address_zip: ZIP or postal code.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerSourcesResponseBody200Data'AddressZip] :: GetCustomersCustomerSourcesResponseBody200Data' -> Maybe Text
-- | address_zip_check: If `address_zip` was provided, results of the
-- check: `pass`, `fail`, `unavailable`, or `unchecked`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerSourcesResponseBody200Data'AddressZipCheck] :: GetCustomersCustomerSourcesResponseBody200Data' -> Maybe Text
-- | alipay
[getCustomersCustomerSourcesResponseBody200Data'Alipay] :: GetCustomersCustomerSourcesResponseBody200Data' -> Maybe SourceTypeAlipay
-- | amount: The amount of `currency` that you are collecting as payment.
[getCustomersCustomerSourcesResponseBody200Data'Amount] :: GetCustomersCustomerSourcesResponseBody200Data' -> Maybe Int
-- | amount_received: The amount of `currency` to which
-- `bitcoin_amount_received` has been converted.
[getCustomersCustomerSourcesResponseBody200Data'AmountReceived] :: GetCustomersCustomerSourcesResponseBody200Data' -> Maybe Int
-- | au_becs_debit
[getCustomersCustomerSourcesResponseBody200Data'AuBecsDebit] :: GetCustomersCustomerSourcesResponseBody200Data' -> Maybe SourceTypeAuBecsDebit
-- | available_payout_methods: A set of available payout methods for this
-- bank account. Only values from this set should be passed as the
-- `method` when creating a payout.
[getCustomersCustomerSourcesResponseBody200Data'AvailablePayoutMethods] :: GetCustomersCustomerSourcesResponseBody200Data' -> Maybe [GetCustomersCustomerSourcesResponseBody200Data'AvailablePayoutMethods']
-- | bancontact
[getCustomersCustomerSourcesResponseBody200Data'Bancontact] :: GetCustomersCustomerSourcesResponseBody200Data' -> Maybe SourceTypeBancontact
-- | bank_name: Name of the bank associated with the routing number (e.g.,
-- `WELLS FARGO`).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerSourcesResponseBody200Data'BankName] :: GetCustomersCustomerSourcesResponseBody200Data' -> Maybe Text
-- | bitcoin_amount: The amount of bitcoin that the customer should send to
-- fill the receiver. The `bitcoin_amount` is denominated in Satoshi:
-- there are 10^8 Satoshi in one bitcoin.
[getCustomersCustomerSourcesResponseBody200Data'BitcoinAmount] :: GetCustomersCustomerSourcesResponseBody200Data' -> Maybe Int
-- | bitcoin_amount_received: The amount of bitcoin that has been sent by
-- the customer to this receiver.
[getCustomersCustomerSourcesResponseBody200Data'BitcoinAmountReceived] :: GetCustomersCustomerSourcesResponseBody200Data' -> Maybe Int
-- | bitcoin_uri: This URI can be displayed to the customer as a clickable
-- link (to activate their bitcoin client) or as a QR code (for mobile
-- wallets).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerSourcesResponseBody200Data'BitcoinUri] :: GetCustomersCustomerSourcesResponseBody200Data' -> Maybe Text
-- | brand: Card brand. Can be `American Express`, `Diners Club`,
-- `Discover`, `JCB`, `MasterCard`, `UnionPay`, `Visa`, or `Unknown`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerSourcesResponseBody200Data'Brand] :: GetCustomersCustomerSourcesResponseBody200Data' -> Maybe Text
-- | card
[getCustomersCustomerSourcesResponseBody200Data'Card] :: GetCustomersCustomerSourcesResponseBody200Data' -> Maybe SourceTypeCard
-- | card_present
[getCustomersCustomerSourcesResponseBody200Data'CardPresent] :: GetCustomersCustomerSourcesResponseBody200Data' -> Maybe SourceTypeCardPresent
-- | client_secret: The client secret of the source. Used for client-side
-- retrieval using a publishable key.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerSourcesResponseBody200Data'ClientSecret] :: GetCustomersCustomerSourcesResponseBody200Data' -> Maybe Text
-- | code_verification:
[getCustomersCustomerSourcesResponseBody200Data'CodeVerification] :: GetCustomersCustomerSourcesResponseBody200Data' -> Maybe SourceCodeVerificationFlow
-- | country: Two-letter ISO code representing the country the bank account
-- is located in.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerSourcesResponseBody200Data'Country] :: GetCustomersCustomerSourcesResponseBody200Data' -> Maybe Text
-- | created: Time at which the object was created. Measured in seconds
-- since the Unix epoch.
[getCustomersCustomerSourcesResponseBody200Data'Created] :: GetCustomersCustomerSourcesResponseBody200Data' -> Maybe Int
-- | currency: Three-letter ISO code for the currency paid out to
-- the bank account.
[getCustomersCustomerSourcesResponseBody200Data'Currency] :: GetCustomersCustomerSourcesResponseBody200Data' -> Maybe Text
-- | customer: The ID of the customer associated with this Alipay Account.
[getCustomersCustomerSourcesResponseBody200Data'Customer] :: GetCustomersCustomerSourcesResponseBody200Data' -> Maybe GetCustomersCustomerSourcesResponseBody200Data'Customer'Variants
-- | cvc_check: If a CVC was provided, results of the check: `pass`,
-- `fail`, `unavailable`, or `unchecked`. A result of unchecked indicates
-- that CVC was provided but hasn't been checked yet. Checks are
-- typically performed when attaching a card to a Customer object, or
-- when creating a charge. For more details, see Check if a card is
-- valid without a charge.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerSourcesResponseBody200Data'CvcCheck] :: GetCustomersCustomerSourcesResponseBody200Data' -> Maybe Text
-- | default_for_currency: Whether this bank account is the default
-- external account for its currency.
[getCustomersCustomerSourcesResponseBody200Data'DefaultForCurrency] :: GetCustomersCustomerSourcesResponseBody200Data' -> Maybe Bool
-- | description: An arbitrary string attached to the object. Often useful
-- for displaying to users.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerSourcesResponseBody200Data'Description] :: GetCustomersCustomerSourcesResponseBody200Data' -> Maybe Text
-- | dynamic_last4: (For tokenized numbers only.) The last four digits of
-- the device account number.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerSourcesResponseBody200Data'DynamicLast4] :: GetCustomersCustomerSourcesResponseBody200Data' -> Maybe Text
-- | email: The customer's email address, set by the API call that creates
-- the receiver.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerSourcesResponseBody200Data'Email] :: GetCustomersCustomerSourcesResponseBody200Data' -> Maybe Text
-- | eps
[getCustomersCustomerSourcesResponseBody200Data'Eps] :: GetCustomersCustomerSourcesResponseBody200Data' -> Maybe SourceTypeEps
-- | exp_month: Two-digit number representing the card's expiration month.
[getCustomersCustomerSourcesResponseBody200Data'ExpMonth] :: GetCustomersCustomerSourcesResponseBody200Data' -> Maybe Int
-- | exp_year: Four-digit number representing the card's expiration year.
[getCustomersCustomerSourcesResponseBody200Data'ExpYear] :: GetCustomersCustomerSourcesResponseBody200Data' -> Maybe Int
-- | filled: This flag is initially false and updates to true when the
-- customer sends the `bitcoin_amount` to this receiver.
[getCustomersCustomerSourcesResponseBody200Data'Filled] :: GetCustomersCustomerSourcesResponseBody200Data' -> Maybe Bool
-- | fingerprint: Uniquely identifies the account and will be the same
-- across all Alipay account objects that are linked to the same Alipay
-- account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerSourcesResponseBody200Data'Fingerprint] :: GetCustomersCustomerSourcesResponseBody200Data' -> Maybe Text
-- | flow: The authentication `flow` of the source. `flow` is one of
-- `redirect`, `receiver`, `code_verification`, `none`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerSourcesResponseBody200Data'Flow] :: GetCustomersCustomerSourcesResponseBody200Data' -> Maybe Text
-- | funding: Card funding type. Can be `credit`, `debit`, `prepaid`, or
-- `unknown`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerSourcesResponseBody200Data'Funding] :: GetCustomersCustomerSourcesResponseBody200Data' -> Maybe Text
-- | giropay
[getCustomersCustomerSourcesResponseBody200Data'Giropay] :: GetCustomersCustomerSourcesResponseBody200Data' -> Maybe SourceTypeGiropay
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerSourcesResponseBody200Data'Id] :: GetCustomersCustomerSourcesResponseBody200Data' -> Maybe Text
-- | ideal
[getCustomersCustomerSourcesResponseBody200Data'Ideal] :: GetCustomersCustomerSourcesResponseBody200Data' -> Maybe SourceTypeIdeal
-- | inbound_address: A bitcoin address that is specific to this receiver.
-- The customer can send bitcoin to this address to fill the receiver.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerSourcesResponseBody200Data'InboundAddress] :: GetCustomersCustomerSourcesResponseBody200Data' -> Maybe Text
-- | klarna
[getCustomersCustomerSourcesResponseBody200Data'Klarna] :: GetCustomersCustomerSourcesResponseBody200Data' -> Maybe SourceTypeKlarna
-- | last4: The last four digits of the bank account number.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerSourcesResponseBody200Data'Last4] :: GetCustomersCustomerSourcesResponseBody200Data' -> Maybe Text
-- | livemode: Has the value `true` if the object exists in live mode or
-- the value `false` if the object exists in test mode.
[getCustomersCustomerSourcesResponseBody200Data'Livemode] :: GetCustomersCustomerSourcesResponseBody200Data' -> Maybe Bool
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format.
[getCustomersCustomerSourcesResponseBody200Data'Metadata] :: GetCustomersCustomerSourcesResponseBody200Data' -> Maybe Object
-- | multibanco
[getCustomersCustomerSourcesResponseBody200Data'Multibanco] :: GetCustomersCustomerSourcesResponseBody200Data' -> Maybe SourceTypeMultibanco
-- | name: Cardholder name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerSourcesResponseBody200Data'Name] :: GetCustomersCustomerSourcesResponseBody200Data' -> Maybe Text
-- | object: String representing the object's type. Objects of the same
-- type share the same value.
[getCustomersCustomerSourcesResponseBody200Data'Object] :: GetCustomersCustomerSourcesResponseBody200Data' -> Maybe GetCustomersCustomerSourcesResponseBody200Data'Object'
-- | owner: Information about the owner of the payment instrument that may
-- be used or required by particular source types.
[getCustomersCustomerSourcesResponseBody200Data'Owner] :: GetCustomersCustomerSourcesResponseBody200Data' -> Maybe GetCustomersCustomerSourcesResponseBody200Data'Owner'
-- | p24
[getCustomersCustomerSourcesResponseBody200Data'P24] :: GetCustomersCustomerSourcesResponseBody200Data' -> Maybe SourceTypeP24
-- | payment: The ID of the payment created from the receiver, if any.
-- Hidden when viewing the receiver with a publishable key.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerSourcesResponseBody200Data'Payment] :: GetCustomersCustomerSourcesResponseBody200Data' -> Maybe Text
-- | payment_amount: If the Alipay account object is not reusable, the
-- exact amount that you can create a charge for.
[getCustomersCustomerSourcesResponseBody200Data'PaymentAmount] :: GetCustomersCustomerSourcesResponseBody200Data' -> Maybe Int
-- | payment_currency: If the Alipay account object is not reusable, the
-- exact currency that you can create a charge for.
[getCustomersCustomerSourcesResponseBody200Data'PaymentCurrency] :: GetCustomersCustomerSourcesResponseBody200Data' -> Maybe Text
-- | receiver:
[getCustomersCustomerSourcesResponseBody200Data'Receiver] :: GetCustomersCustomerSourcesResponseBody200Data' -> Maybe SourceReceiverFlow
-- | recipient: 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.
[getCustomersCustomerSourcesResponseBody200Data'Recipient] :: GetCustomersCustomerSourcesResponseBody200Data' -> Maybe GetCustomersCustomerSourcesResponseBody200Data'Recipient'Variants
-- | redirect:
[getCustomersCustomerSourcesResponseBody200Data'Redirect] :: GetCustomersCustomerSourcesResponseBody200Data' -> Maybe SourceRedirectFlow
-- | refund_address: The refund address of this bitcoin receiver.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerSourcesResponseBody200Data'RefundAddress] :: GetCustomersCustomerSourcesResponseBody200Data' -> Maybe Text
-- | reusable: True if you can create multiple payments using this account.
-- If the account is reusable, then you can freely choose the amount of
-- each payment.
[getCustomersCustomerSourcesResponseBody200Data'Reusable] :: GetCustomersCustomerSourcesResponseBody200Data' -> Maybe Bool
-- | routing_number: The routing transit number for the bank account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerSourcesResponseBody200Data'RoutingNumber] :: GetCustomersCustomerSourcesResponseBody200Data' -> Maybe Text
-- | sepa_debit
[getCustomersCustomerSourcesResponseBody200Data'SepaDebit] :: GetCustomersCustomerSourcesResponseBody200Data' -> Maybe SourceTypeSepaDebit
-- | sofort
[getCustomersCustomerSourcesResponseBody200Data'Sofort] :: GetCustomersCustomerSourcesResponseBody200Data' -> Maybe SourceTypeSofort
-- | source_order:
[getCustomersCustomerSourcesResponseBody200Data'SourceOrder] :: GetCustomersCustomerSourcesResponseBody200Data' -> Maybe SourceOrder
-- | statement_descriptor: Extra information about a source. This will
-- appear on your customer's statement every time you charge the source.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerSourcesResponseBody200Data'StatementDescriptor] :: GetCustomersCustomerSourcesResponseBody200Data' -> Maybe Text
-- | status: For bank accounts, possible values are `new`, `validated`,
-- `verified`, `verification_failed`, or `errored`. A bank account that
-- hasn't had any activity or validation performed is `new`. If Stripe
-- can determine that the bank account exists, its status will be
-- `validated`. Note that there often isn’t enough information to know
-- (e.g., for smaller credit unions), and the validation is not always
-- run. If customer bank account verification has succeeded, the bank
-- account status will be `verified`. If the verification failed for any
-- reason, such as microdeposit failure, the status will be
-- `verification_failed`. If a transfer sent to this bank account fails,
-- we'll set the status to `errored` and will not continue to send
-- transfers until the bank details are updated.
--
-- For external accounts, possible values are `new` and `errored`.
-- Validations aren't run against external accounts because they're only
-- used for payouts. This means the other statuses don't apply. If a
-- transfer fails, the status is set to `errored` and transfers are
-- stopped until account details are updated.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerSourcesResponseBody200Data'Status] :: GetCustomersCustomerSourcesResponseBody200Data' -> Maybe Text
-- | three_d_secure
[getCustomersCustomerSourcesResponseBody200Data'ThreeDSecure] :: GetCustomersCustomerSourcesResponseBody200Data' -> Maybe SourceTypeThreeDSecure
-- | tokenization_method: If the card number is tokenized, this is the
-- method that was used. Can be `android_pay` (includes Google Pay),
-- `apple_pay`, `masterpass`, `visa_checkout`, or null.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerSourcesResponseBody200Data'TokenizationMethod] :: GetCustomersCustomerSourcesResponseBody200Data' -> Maybe Text
-- | transactions: 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.
[getCustomersCustomerSourcesResponseBody200Data'Transactions] :: GetCustomersCustomerSourcesResponseBody200Data' -> Maybe GetCustomersCustomerSourcesResponseBody200Data'Transactions'
-- | type: The `type` of the source. The `type` is a payment method, one of
-- `ach_credit_transfer`, `ach_debit`, `alipay`, `bancontact`, `card`,
-- `card_present`, `eps`, `giropay`, `ideal`, `multibanco`, `klarna`,
-- `p24`, `sepa_debit`, `sofort`, `three_d_secure`, or `wechat`. An
-- additional hash is included on the source with a name matching this
-- value. It contains additional information specific to the payment
-- method used.
[getCustomersCustomerSourcesResponseBody200Data'Type] :: GetCustomersCustomerSourcesResponseBody200Data' -> Maybe GetCustomersCustomerSourcesResponseBody200Data'Type'
-- | uncaptured_funds: This receiver contains uncaptured funds that can be
-- used for a payment or refunded.
[getCustomersCustomerSourcesResponseBody200Data'UncapturedFunds] :: GetCustomersCustomerSourcesResponseBody200Data' -> Maybe Bool
-- | usage: Either `reusable` or `single_use`. Whether this source should
-- be reusable or not. Some source types may or may not be reusable by
-- construction, while others may leave the option at creation. If an
-- incompatible value is passed, an error will be returned.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerSourcesResponseBody200Data'Usage] :: GetCustomersCustomerSourcesResponseBody200Data' -> Maybe Text
-- | used: Whether this Alipay account object has ever been used for a
-- payment.
[getCustomersCustomerSourcesResponseBody200Data'Used] :: GetCustomersCustomerSourcesResponseBody200Data' -> Maybe Bool
-- | used_for_payment: Indicate if this source is used for payment.
[getCustomersCustomerSourcesResponseBody200Data'UsedForPayment] :: GetCustomersCustomerSourcesResponseBody200Data' -> Maybe Bool
-- | username: The username for the Alipay account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerSourcesResponseBody200Data'Username] :: GetCustomersCustomerSourcesResponseBody200Data' -> Maybe Text
-- | wechat
[getCustomersCustomerSourcesResponseBody200Data'Wechat] :: GetCustomersCustomerSourcesResponseBody200Data' -> Maybe SourceTypeWechat
-- | Create a new GetCustomersCustomerSourcesResponseBody200Data'
-- with all required fields.
mkGetCustomersCustomerSourcesResponseBody200Data' :: GetCustomersCustomerSourcesResponseBody200Data'
-- | Defines the oneOf schema located at
-- paths./v1/customers/{customer}/sources.GET.responses.200.content.application/json.schema.properties.data.items.anyOf.properties.account.anyOf
-- in the specification.
--
-- The ID of the account that the bank account is associated with.
data GetCustomersCustomerSourcesResponseBody200Data'Account'Variants
GetCustomersCustomerSourcesResponseBody200Data'Account'Text :: Text -> GetCustomersCustomerSourcesResponseBody200Data'Account'Variants
GetCustomersCustomerSourcesResponseBody200Data'Account'Account :: Account -> GetCustomersCustomerSourcesResponseBody200Data'Account'Variants
-- | Defines the enum schema located at
-- paths./v1/customers/{customer}/sources.GET.responses.200.content.application/json.schema.properties.data.items.anyOf.properties.available_payout_methods.items
-- in the specification.
data GetCustomersCustomerSourcesResponseBody200Data'AvailablePayoutMethods'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
GetCustomersCustomerSourcesResponseBody200Data'AvailablePayoutMethods'Other :: Value -> GetCustomersCustomerSourcesResponseBody200Data'AvailablePayoutMethods'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
GetCustomersCustomerSourcesResponseBody200Data'AvailablePayoutMethods'Typed :: Text -> GetCustomersCustomerSourcesResponseBody200Data'AvailablePayoutMethods'
-- | Represents the JSON value "instant"
GetCustomersCustomerSourcesResponseBody200Data'AvailablePayoutMethods'EnumInstant :: GetCustomersCustomerSourcesResponseBody200Data'AvailablePayoutMethods'
-- | Represents the JSON value "standard"
GetCustomersCustomerSourcesResponseBody200Data'AvailablePayoutMethods'EnumStandard :: GetCustomersCustomerSourcesResponseBody200Data'AvailablePayoutMethods'
-- | Defines the oneOf schema located at
-- paths./v1/customers/{customer}/sources.GET.responses.200.content.application/json.schema.properties.data.items.anyOf.properties.customer.anyOf
-- in the specification.
--
-- The ID of the customer associated with this Alipay Account.
data GetCustomersCustomerSourcesResponseBody200Data'Customer'Variants
GetCustomersCustomerSourcesResponseBody200Data'Customer'Text :: Text -> GetCustomersCustomerSourcesResponseBody200Data'Customer'Variants
GetCustomersCustomerSourcesResponseBody200Data'Customer'Customer :: Customer -> GetCustomersCustomerSourcesResponseBody200Data'Customer'Variants
GetCustomersCustomerSourcesResponseBody200Data'Customer'DeletedCustomer :: DeletedCustomer -> GetCustomersCustomerSourcesResponseBody200Data'Customer'Variants
-- | Defines the enum schema located at
-- paths./v1/customers/{customer}/sources.GET.responses.200.content.application/json.schema.properties.data.items.anyOf.properties.object
-- in the specification.
--
-- String representing the object's type. Objects of the same type share
-- the same value.
data GetCustomersCustomerSourcesResponseBody200Data'Object'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
GetCustomersCustomerSourcesResponseBody200Data'Object'Other :: Value -> GetCustomersCustomerSourcesResponseBody200Data'Object'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
GetCustomersCustomerSourcesResponseBody200Data'Object'Typed :: Text -> GetCustomersCustomerSourcesResponseBody200Data'Object'
-- | Represents the JSON value "alipay_account"
GetCustomersCustomerSourcesResponseBody200Data'Object'EnumAlipayAccount :: GetCustomersCustomerSourcesResponseBody200Data'Object'
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/sources.GET.responses.200.content.application/json.schema.properties.data.items.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.
data GetCustomersCustomerSourcesResponseBody200Data'Owner'
GetCustomersCustomerSourcesResponseBody200Data'Owner' :: Maybe GetCustomersCustomerSourcesResponseBody200Data'Owner'Address' -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe GetCustomersCustomerSourcesResponseBody200Data'Owner'VerifiedAddress' -> Maybe Text -> Maybe Text -> Maybe Text -> GetCustomersCustomerSourcesResponseBody200Data'Owner'
-- | address: Owner's address.
[getCustomersCustomerSourcesResponseBody200Data'Owner'Address] :: GetCustomersCustomerSourcesResponseBody200Data'Owner' -> Maybe GetCustomersCustomerSourcesResponseBody200Data'Owner'Address'
-- | email: Owner's email address.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerSourcesResponseBody200Data'Owner'Email] :: GetCustomersCustomerSourcesResponseBody200Data'Owner' -> Maybe Text
-- | name: Owner's full name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerSourcesResponseBody200Data'Owner'Name] :: GetCustomersCustomerSourcesResponseBody200Data'Owner' -> Maybe Text
-- | phone: Owner's phone number (including extension).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerSourcesResponseBody200Data'Owner'Phone] :: GetCustomersCustomerSourcesResponseBody200Data'Owner' -> Maybe Text
-- | verified_address: 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.
[getCustomersCustomerSourcesResponseBody200Data'Owner'VerifiedAddress] :: GetCustomersCustomerSourcesResponseBody200Data'Owner' -> Maybe GetCustomersCustomerSourcesResponseBody200Data'Owner'VerifiedAddress'
-- | verified_email: Verified owner's email 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.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerSourcesResponseBody200Data'Owner'VerifiedEmail] :: GetCustomersCustomerSourcesResponseBody200Data'Owner' -> Maybe Text
-- | verified_name: Verified owner's full name. 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.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerSourcesResponseBody200Data'Owner'VerifiedName] :: GetCustomersCustomerSourcesResponseBody200Data'Owner' -> Maybe Text
-- | verified_phone: Verified owner's phone number (including extension).
-- 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.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerSourcesResponseBody200Data'Owner'VerifiedPhone] :: GetCustomersCustomerSourcesResponseBody200Data'Owner' -> Maybe Text
-- | Create a new
-- GetCustomersCustomerSourcesResponseBody200Data'Owner' with all
-- required fields.
mkGetCustomersCustomerSourcesResponseBody200Data'Owner' :: GetCustomersCustomerSourcesResponseBody200Data'Owner'
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/sources.GET.responses.200.content.application/json.schema.properties.data.items.anyOf.properties.owner.anyOf.properties.address.anyOf
-- in the specification.
--
-- Owner\'s address.
data GetCustomersCustomerSourcesResponseBody200Data'Owner'Address'
GetCustomersCustomerSourcesResponseBody200Data'Owner'Address' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> GetCustomersCustomerSourcesResponseBody200Data'Owner'Address'
-- | city: City, district, suburb, town, or village.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerSourcesResponseBody200Data'Owner'Address'City] :: GetCustomersCustomerSourcesResponseBody200Data'Owner'Address' -> Maybe Text
-- | country: Two-letter country code ([ISO 3166-1
-- alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerSourcesResponseBody200Data'Owner'Address'Country] :: GetCustomersCustomerSourcesResponseBody200Data'Owner'Address' -> Maybe Text
-- | line1: Address line 1 (e.g., street, PO Box, or company name).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerSourcesResponseBody200Data'Owner'Address'Line1] :: GetCustomersCustomerSourcesResponseBody200Data'Owner'Address' -> Maybe Text
-- | line2: Address line 2 (e.g., apartment, suite, unit, or building).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerSourcesResponseBody200Data'Owner'Address'Line2] :: GetCustomersCustomerSourcesResponseBody200Data'Owner'Address' -> Maybe Text
-- | postal_code: ZIP or postal code.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerSourcesResponseBody200Data'Owner'Address'PostalCode] :: GetCustomersCustomerSourcesResponseBody200Data'Owner'Address' -> Maybe Text
-- | state: State, county, province, or region.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerSourcesResponseBody200Data'Owner'Address'State] :: GetCustomersCustomerSourcesResponseBody200Data'Owner'Address' -> Maybe Text
-- | Create a new
-- GetCustomersCustomerSourcesResponseBody200Data'Owner'Address'
-- with all required fields.
mkGetCustomersCustomerSourcesResponseBody200Data'Owner'Address' :: GetCustomersCustomerSourcesResponseBody200Data'Owner'Address'
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/sources.GET.responses.200.content.application/json.schema.properties.data.items.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.
data GetCustomersCustomerSourcesResponseBody200Data'Owner'VerifiedAddress'
GetCustomersCustomerSourcesResponseBody200Data'Owner'VerifiedAddress' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> GetCustomersCustomerSourcesResponseBody200Data'Owner'VerifiedAddress'
-- | city: City, district, suburb, town, or village.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerSourcesResponseBody200Data'Owner'VerifiedAddress'City] :: GetCustomersCustomerSourcesResponseBody200Data'Owner'VerifiedAddress' -> Maybe Text
-- | country: Two-letter country code ([ISO 3166-1
-- alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerSourcesResponseBody200Data'Owner'VerifiedAddress'Country] :: GetCustomersCustomerSourcesResponseBody200Data'Owner'VerifiedAddress' -> Maybe Text
-- | line1: Address line 1 (e.g., street, PO Box, or company name).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerSourcesResponseBody200Data'Owner'VerifiedAddress'Line1] :: GetCustomersCustomerSourcesResponseBody200Data'Owner'VerifiedAddress' -> Maybe Text
-- | line2: Address line 2 (e.g., apartment, suite, unit, or building).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerSourcesResponseBody200Data'Owner'VerifiedAddress'Line2] :: GetCustomersCustomerSourcesResponseBody200Data'Owner'VerifiedAddress' -> Maybe Text
-- | postal_code: ZIP or postal code.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerSourcesResponseBody200Data'Owner'VerifiedAddress'PostalCode] :: GetCustomersCustomerSourcesResponseBody200Data'Owner'VerifiedAddress' -> Maybe Text
-- | state: State, county, province, or region.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerSourcesResponseBody200Data'Owner'VerifiedAddress'State] :: GetCustomersCustomerSourcesResponseBody200Data'Owner'VerifiedAddress' -> Maybe Text
-- | Create a new
-- GetCustomersCustomerSourcesResponseBody200Data'Owner'VerifiedAddress'
-- with all required fields.
mkGetCustomersCustomerSourcesResponseBody200Data'Owner'VerifiedAddress' :: GetCustomersCustomerSourcesResponseBody200Data'Owner'VerifiedAddress'
-- | Defines the oneOf schema located at
-- paths./v1/customers/{customer}/sources.GET.responses.200.content.application/json.schema.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.
data GetCustomersCustomerSourcesResponseBody200Data'Recipient'Variants
GetCustomersCustomerSourcesResponseBody200Data'Recipient'Text :: Text -> GetCustomersCustomerSourcesResponseBody200Data'Recipient'Variants
GetCustomersCustomerSourcesResponseBody200Data'Recipient'Recipient :: Recipient -> GetCustomersCustomerSourcesResponseBody200Data'Recipient'Variants
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/sources.GET.responses.200.content.application/json.schema.properties.data.items.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.
data GetCustomersCustomerSourcesResponseBody200Data'Transactions'
GetCustomersCustomerSourcesResponseBody200Data'Transactions' :: [BitcoinTransaction] -> Bool -> Text -> GetCustomersCustomerSourcesResponseBody200Data'Transactions'
-- | data: Details about each object.
[getCustomersCustomerSourcesResponseBody200Data'Transactions'Data] :: GetCustomersCustomerSourcesResponseBody200Data'Transactions' -> [BitcoinTransaction]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[getCustomersCustomerSourcesResponseBody200Data'Transactions'HasMore] :: GetCustomersCustomerSourcesResponseBody200Data'Transactions' -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerSourcesResponseBody200Data'Transactions'Url] :: GetCustomersCustomerSourcesResponseBody200Data'Transactions' -> Text
-- | Create a new
-- GetCustomersCustomerSourcesResponseBody200Data'Transactions'
-- with all required fields.
mkGetCustomersCustomerSourcesResponseBody200Data'Transactions' :: [BitcoinTransaction] -> Bool -> Text -> GetCustomersCustomerSourcesResponseBody200Data'Transactions'
-- | Defines the enum schema located at
-- paths./v1/customers/{customer}/sources.GET.responses.200.content.application/json.schema.properties.data.items.anyOf.properties.type
-- in the specification.
--
-- The `type` of the source. The `type` is a payment method, one of
-- `ach_credit_transfer`, `ach_debit`, `alipay`, `bancontact`, `card`,
-- `card_present`, `eps`, `giropay`, `ideal`, `multibanco`, `klarna`,
-- `p24`, `sepa_debit`, `sofort`, `three_d_secure`, or `wechat`. An
-- additional hash is included on the source with a name matching this
-- value. It contains additional information specific to the payment
-- method used.
data GetCustomersCustomerSourcesResponseBody200Data'Type'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
GetCustomersCustomerSourcesResponseBody200Data'Type'Other :: Value -> GetCustomersCustomerSourcesResponseBody200Data'Type'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
GetCustomersCustomerSourcesResponseBody200Data'Type'Typed :: Text -> GetCustomersCustomerSourcesResponseBody200Data'Type'
-- | Represents the JSON value "ach_credit_transfer"
GetCustomersCustomerSourcesResponseBody200Data'Type'EnumAchCreditTransfer :: GetCustomersCustomerSourcesResponseBody200Data'Type'
-- | Represents the JSON value "ach_debit"
GetCustomersCustomerSourcesResponseBody200Data'Type'EnumAchDebit :: GetCustomersCustomerSourcesResponseBody200Data'Type'
-- | Represents the JSON value "acss_debit"
GetCustomersCustomerSourcesResponseBody200Data'Type'EnumAcssDebit :: GetCustomersCustomerSourcesResponseBody200Data'Type'
-- | Represents the JSON value "alipay"
GetCustomersCustomerSourcesResponseBody200Data'Type'EnumAlipay :: GetCustomersCustomerSourcesResponseBody200Data'Type'
-- | Represents the JSON value "au_becs_debit"
GetCustomersCustomerSourcesResponseBody200Data'Type'EnumAuBecsDebit :: GetCustomersCustomerSourcesResponseBody200Data'Type'
-- | Represents the JSON value "bancontact"
GetCustomersCustomerSourcesResponseBody200Data'Type'EnumBancontact :: GetCustomersCustomerSourcesResponseBody200Data'Type'
-- | Represents the JSON value "card"
GetCustomersCustomerSourcesResponseBody200Data'Type'EnumCard :: GetCustomersCustomerSourcesResponseBody200Data'Type'
-- | Represents the JSON value "card_present"
GetCustomersCustomerSourcesResponseBody200Data'Type'EnumCardPresent :: GetCustomersCustomerSourcesResponseBody200Data'Type'
-- | Represents the JSON value "eps"
GetCustomersCustomerSourcesResponseBody200Data'Type'EnumEps :: GetCustomersCustomerSourcesResponseBody200Data'Type'
-- | Represents the JSON value "giropay"
GetCustomersCustomerSourcesResponseBody200Data'Type'EnumGiropay :: GetCustomersCustomerSourcesResponseBody200Data'Type'
-- | Represents the JSON value "ideal"
GetCustomersCustomerSourcesResponseBody200Data'Type'EnumIdeal :: GetCustomersCustomerSourcesResponseBody200Data'Type'
-- | Represents the JSON value "klarna"
GetCustomersCustomerSourcesResponseBody200Data'Type'EnumKlarna :: GetCustomersCustomerSourcesResponseBody200Data'Type'
-- | Represents the JSON value "multibanco"
GetCustomersCustomerSourcesResponseBody200Data'Type'EnumMultibanco :: GetCustomersCustomerSourcesResponseBody200Data'Type'
-- | Represents the JSON value "p24"
GetCustomersCustomerSourcesResponseBody200Data'Type'EnumP24 :: GetCustomersCustomerSourcesResponseBody200Data'Type'
-- | Represents the JSON value "sepa_debit"
GetCustomersCustomerSourcesResponseBody200Data'Type'EnumSepaDebit :: GetCustomersCustomerSourcesResponseBody200Data'Type'
-- | Represents the JSON value "sofort"
GetCustomersCustomerSourcesResponseBody200Data'Type'EnumSofort :: GetCustomersCustomerSourcesResponseBody200Data'Type'
-- | Represents the JSON value "three_d_secure"
GetCustomersCustomerSourcesResponseBody200Data'Type'EnumThreeDSecure :: GetCustomersCustomerSourcesResponseBody200Data'Type'
-- | Represents the JSON value "wechat"
GetCustomersCustomerSourcesResponseBody200Data'Type'EnumWechat :: GetCustomersCustomerSourcesResponseBody200Data'Type'
instance GHC.Classes.Eq StripeAPI.Operations.GetCustomersCustomerSources.GetCustomersCustomerSourcesParameters
instance GHC.Show.Show StripeAPI.Operations.GetCustomersCustomerSources.GetCustomersCustomerSourcesParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetCustomersCustomerSources.GetCustomersCustomerSourcesResponseBody200Data'Account'Variants
instance GHC.Show.Show StripeAPI.Operations.GetCustomersCustomerSources.GetCustomersCustomerSourcesResponseBody200Data'Account'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetCustomersCustomerSources.GetCustomersCustomerSourcesResponseBody200Data'AvailablePayoutMethods'
instance GHC.Show.Show StripeAPI.Operations.GetCustomersCustomerSources.GetCustomersCustomerSourcesResponseBody200Data'AvailablePayoutMethods'
instance GHC.Classes.Eq StripeAPI.Operations.GetCustomersCustomerSources.GetCustomersCustomerSourcesResponseBody200Data'Customer'Variants
instance GHC.Show.Show StripeAPI.Operations.GetCustomersCustomerSources.GetCustomersCustomerSourcesResponseBody200Data'Customer'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetCustomersCustomerSources.GetCustomersCustomerSourcesResponseBody200Data'Object'
instance GHC.Show.Show StripeAPI.Operations.GetCustomersCustomerSources.GetCustomersCustomerSourcesResponseBody200Data'Object'
instance GHC.Classes.Eq StripeAPI.Operations.GetCustomersCustomerSources.GetCustomersCustomerSourcesResponseBody200Data'Owner'Address'
instance GHC.Show.Show StripeAPI.Operations.GetCustomersCustomerSources.GetCustomersCustomerSourcesResponseBody200Data'Owner'Address'
instance GHC.Classes.Eq StripeAPI.Operations.GetCustomersCustomerSources.GetCustomersCustomerSourcesResponseBody200Data'Owner'VerifiedAddress'
instance GHC.Show.Show StripeAPI.Operations.GetCustomersCustomerSources.GetCustomersCustomerSourcesResponseBody200Data'Owner'VerifiedAddress'
instance GHC.Classes.Eq StripeAPI.Operations.GetCustomersCustomerSources.GetCustomersCustomerSourcesResponseBody200Data'Owner'
instance GHC.Show.Show StripeAPI.Operations.GetCustomersCustomerSources.GetCustomersCustomerSourcesResponseBody200Data'Owner'
instance GHC.Classes.Eq StripeAPI.Operations.GetCustomersCustomerSources.GetCustomersCustomerSourcesResponseBody200Data'Recipient'Variants
instance GHC.Show.Show StripeAPI.Operations.GetCustomersCustomerSources.GetCustomersCustomerSourcesResponseBody200Data'Recipient'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetCustomersCustomerSources.GetCustomersCustomerSourcesResponseBody200Data'Transactions'
instance GHC.Show.Show StripeAPI.Operations.GetCustomersCustomerSources.GetCustomersCustomerSourcesResponseBody200Data'Transactions'
instance GHC.Classes.Eq StripeAPI.Operations.GetCustomersCustomerSources.GetCustomersCustomerSourcesResponseBody200Data'Type'
instance GHC.Show.Show StripeAPI.Operations.GetCustomersCustomerSources.GetCustomersCustomerSourcesResponseBody200Data'Type'
instance GHC.Classes.Eq StripeAPI.Operations.GetCustomersCustomerSources.GetCustomersCustomerSourcesResponseBody200Data'
instance GHC.Show.Show StripeAPI.Operations.GetCustomersCustomerSources.GetCustomersCustomerSourcesResponseBody200Data'
instance GHC.Classes.Eq StripeAPI.Operations.GetCustomersCustomerSources.GetCustomersCustomerSourcesResponseBody200
instance GHC.Show.Show StripeAPI.Operations.GetCustomersCustomerSources.GetCustomersCustomerSourcesResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetCustomersCustomerSources.GetCustomersCustomerSourcesResponse
instance GHC.Show.Show StripeAPI.Operations.GetCustomersCustomerSources.GetCustomersCustomerSourcesResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetCustomersCustomerSources.GetCustomersCustomerSourcesResponseBody200
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetCustomersCustomerSources.GetCustomersCustomerSourcesResponseBody200
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetCustomersCustomerSources.GetCustomersCustomerSourcesResponseBody200Data'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetCustomersCustomerSources.GetCustomersCustomerSourcesResponseBody200Data'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetCustomersCustomerSources.GetCustomersCustomerSourcesResponseBody200Data'Type'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetCustomersCustomerSources.GetCustomersCustomerSourcesResponseBody200Data'Type'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetCustomersCustomerSources.GetCustomersCustomerSourcesResponseBody200Data'Transactions'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetCustomersCustomerSources.GetCustomersCustomerSourcesResponseBody200Data'Transactions'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetCustomersCustomerSources.GetCustomersCustomerSourcesResponseBody200Data'Recipient'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetCustomersCustomerSources.GetCustomersCustomerSourcesResponseBody200Data'Recipient'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetCustomersCustomerSources.GetCustomersCustomerSourcesResponseBody200Data'Owner'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetCustomersCustomerSources.GetCustomersCustomerSourcesResponseBody200Data'Owner'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetCustomersCustomerSources.GetCustomersCustomerSourcesResponseBody200Data'Owner'VerifiedAddress'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetCustomersCustomerSources.GetCustomersCustomerSourcesResponseBody200Data'Owner'VerifiedAddress'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetCustomersCustomerSources.GetCustomersCustomerSourcesResponseBody200Data'Owner'Address'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetCustomersCustomerSources.GetCustomersCustomerSourcesResponseBody200Data'Owner'Address'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetCustomersCustomerSources.GetCustomersCustomerSourcesResponseBody200Data'Object'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetCustomersCustomerSources.GetCustomersCustomerSourcesResponseBody200Data'Object'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetCustomersCustomerSources.GetCustomersCustomerSourcesResponseBody200Data'Customer'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetCustomersCustomerSources.GetCustomersCustomerSourcesResponseBody200Data'Customer'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetCustomersCustomerSources.GetCustomersCustomerSourcesResponseBody200Data'AvailablePayoutMethods'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetCustomersCustomerSources.GetCustomersCustomerSourcesResponseBody200Data'AvailablePayoutMethods'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetCustomersCustomerSources.GetCustomersCustomerSourcesResponseBody200Data'Account'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetCustomersCustomerSources.GetCustomersCustomerSourcesResponseBody200Data'Account'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetCustomersCustomerSources.GetCustomersCustomerSourcesParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetCustomersCustomerSources.GetCustomersCustomerSourcesParameters
-- | Contains the different functions to run the operation
-- getCustomersCustomerDiscount
module StripeAPI.Operations.GetCustomersCustomerDiscount
-- |
-- GET /v1/customers/{customer}/discount
--
getCustomersCustomerDiscount :: forall m. MonadHTTP m => GetCustomersCustomerDiscountParameters -> ClientT m (Response GetCustomersCustomerDiscountResponse)
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/discount.GET.parameters in the
-- specification.
data GetCustomersCustomerDiscountParameters
GetCustomersCustomerDiscountParameters :: Text -> Maybe [Text] -> GetCustomersCustomerDiscountParameters
-- | pathCustomer: Represents the parameter named 'customer'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerDiscountParametersPathCustomer] :: GetCustomersCustomerDiscountParameters -> Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getCustomersCustomerDiscountParametersQueryExpand] :: GetCustomersCustomerDiscountParameters -> Maybe [Text]
-- | Create a new GetCustomersCustomerDiscountParameters with all
-- required fields.
mkGetCustomersCustomerDiscountParameters :: Text -> GetCustomersCustomerDiscountParameters
-- | Represents a response of the operation
-- getCustomersCustomerDiscount.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- GetCustomersCustomerDiscountResponseError is used.
data GetCustomersCustomerDiscountResponse
-- | Means either no matching case available or a parse error
GetCustomersCustomerDiscountResponseError :: String -> GetCustomersCustomerDiscountResponse
-- | Successful response.
GetCustomersCustomerDiscountResponse200 :: Discount -> GetCustomersCustomerDiscountResponse
-- | Error response.
GetCustomersCustomerDiscountResponseDefault :: Error -> GetCustomersCustomerDiscountResponse
instance GHC.Classes.Eq StripeAPI.Operations.GetCustomersCustomerDiscount.GetCustomersCustomerDiscountParameters
instance GHC.Show.Show StripeAPI.Operations.GetCustomersCustomerDiscount.GetCustomersCustomerDiscountParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetCustomersCustomerDiscount.GetCustomersCustomerDiscountResponse
instance GHC.Show.Show StripeAPI.Operations.GetCustomersCustomerDiscount.GetCustomersCustomerDiscountResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetCustomersCustomerDiscount.GetCustomersCustomerDiscountParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetCustomersCustomerDiscount.GetCustomersCustomerDiscountParameters
-- | Contains the different functions to run the operation
-- getCustomersCustomerCardsId
module StripeAPI.Operations.GetCustomersCustomerCardsId
-- |
-- GET /v1/customers/{customer}/cards/{id}
--
--
-- <p>You can always see the 10 most recent cards directly on a
-- customer; this method lets you retrieve details about a specific card
-- stored on the customer.</p>
getCustomersCustomerCardsId :: forall m. MonadHTTP m => GetCustomersCustomerCardsIdParameters -> ClientT m (Response GetCustomersCustomerCardsIdResponse)
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/cards/{id}.GET.parameters in
-- the specification.
data GetCustomersCustomerCardsIdParameters
GetCustomersCustomerCardsIdParameters :: Text -> Text -> Maybe [Text] -> GetCustomersCustomerCardsIdParameters
-- | pathCustomer: Represents the parameter named 'customer'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerCardsIdParametersPathCustomer] :: GetCustomersCustomerCardsIdParameters -> Text
-- | pathId: Represents the parameter named 'id'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerCardsIdParametersPathId] :: GetCustomersCustomerCardsIdParameters -> Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getCustomersCustomerCardsIdParametersQueryExpand] :: GetCustomersCustomerCardsIdParameters -> Maybe [Text]
-- | Create a new GetCustomersCustomerCardsIdParameters with all
-- required fields.
mkGetCustomersCustomerCardsIdParameters :: Text -> Text -> GetCustomersCustomerCardsIdParameters
-- | Represents a response of the operation
-- getCustomersCustomerCardsId.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- GetCustomersCustomerCardsIdResponseError is used.
data GetCustomersCustomerCardsIdResponse
-- | Means either no matching case available or a parse error
GetCustomersCustomerCardsIdResponseError :: String -> GetCustomersCustomerCardsIdResponse
-- | Successful response.
GetCustomersCustomerCardsIdResponse200 :: Card -> GetCustomersCustomerCardsIdResponse
-- | Error response.
GetCustomersCustomerCardsIdResponseDefault :: Error -> GetCustomersCustomerCardsIdResponse
instance GHC.Classes.Eq StripeAPI.Operations.GetCustomersCustomerCardsId.GetCustomersCustomerCardsIdParameters
instance GHC.Show.Show StripeAPI.Operations.GetCustomersCustomerCardsId.GetCustomersCustomerCardsIdParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetCustomersCustomerCardsId.GetCustomersCustomerCardsIdResponse
instance GHC.Show.Show StripeAPI.Operations.GetCustomersCustomerCardsId.GetCustomersCustomerCardsIdResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetCustomersCustomerCardsId.GetCustomersCustomerCardsIdParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetCustomersCustomerCardsId.GetCustomersCustomerCardsIdParameters
-- | Contains the different functions to run the operation
-- getCustomersCustomerCards
module StripeAPI.Operations.GetCustomersCustomerCards
-- |
-- GET /v1/customers/{customer}/cards
--
--
-- <p>You can see a list of the cards belonging to a customer. Note
-- that the 10 most recent sources are always available on the
-- <code>Customer</code> object. If you need more than those
-- 10, you can use this API method and the <code>limit</code>
-- and <code>starting_after</code> parameters to page through
-- additional cards.</p>
getCustomersCustomerCards :: forall m. MonadHTTP m => GetCustomersCustomerCardsParameters -> ClientT m (Response GetCustomersCustomerCardsResponse)
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/cards.GET.parameters in the
-- specification.
data GetCustomersCustomerCardsParameters
GetCustomersCustomerCardsParameters :: Text -> Maybe Text -> Maybe [Text] -> Maybe Int -> Maybe Text -> GetCustomersCustomerCardsParameters
-- | pathCustomer: Represents the parameter named 'customer'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerCardsParametersPathCustomer] :: GetCustomersCustomerCardsParameters -> Text
-- | queryEnding_before: Represents the parameter named 'ending_before'
--
-- A cursor for use in pagination. `ending_before` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, starting with `obj_bar`, your
-- subsequent call can include `ending_before=obj_bar` in order to fetch
-- the previous page of the list.
[getCustomersCustomerCardsParametersQueryEndingBefore] :: GetCustomersCustomerCardsParameters -> Maybe Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getCustomersCustomerCardsParametersQueryExpand] :: GetCustomersCustomerCardsParameters -> Maybe [Text]
-- | queryLimit: Represents the parameter named 'limit'
--
-- A limit on the number of objects to be returned. Limit can range
-- between 1 and 100, and the default is 10.
[getCustomersCustomerCardsParametersQueryLimit] :: GetCustomersCustomerCardsParameters -> Maybe Int
-- | queryStarting_after: Represents the parameter named 'starting_after'
--
-- A cursor for use in pagination. `starting_after` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, ending with `obj_foo`, your
-- subsequent call can include `starting_after=obj_foo` in order to fetch
-- the next page of the list.
[getCustomersCustomerCardsParametersQueryStartingAfter] :: GetCustomersCustomerCardsParameters -> Maybe Text
-- | Create a new GetCustomersCustomerCardsParameters with all
-- required fields.
mkGetCustomersCustomerCardsParameters :: Text -> GetCustomersCustomerCardsParameters
-- | Represents a response of the operation
-- getCustomersCustomerCards.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetCustomersCustomerCardsResponseError
-- is used.
data GetCustomersCustomerCardsResponse
-- | Means either no matching case available or a parse error
GetCustomersCustomerCardsResponseError :: String -> GetCustomersCustomerCardsResponse
-- | Successful response.
GetCustomersCustomerCardsResponse200 :: GetCustomersCustomerCardsResponseBody200 -> GetCustomersCustomerCardsResponse
-- | Error response.
GetCustomersCustomerCardsResponseDefault :: Error -> GetCustomersCustomerCardsResponse
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/cards.GET.responses.200.content.application/json.schema
-- in the specification.
data GetCustomersCustomerCardsResponseBody200
GetCustomersCustomerCardsResponseBody200 :: [Card] -> Bool -> Text -> GetCustomersCustomerCardsResponseBody200
-- | data
[getCustomersCustomerCardsResponseBody200Data] :: GetCustomersCustomerCardsResponseBody200 -> [Card]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[getCustomersCustomerCardsResponseBody200HasMore] :: GetCustomersCustomerCardsResponseBody200 -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerCardsResponseBody200Url] :: GetCustomersCustomerCardsResponseBody200 -> Text
-- | Create a new GetCustomersCustomerCardsResponseBody200 with all
-- required fields.
mkGetCustomersCustomerCardsResponseBody200 :: [Card] -> Bool -> Text -> GetCustomersCustomerCardsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetCustomersCustomerCards.GetCustomersCustomerCardsParameters
instance GHC.Show.Show StripeAPI.Operations.GetCustomersCustomerCards.GetCustomersCustomerCardsParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetCustomersCustomerCards.GetCustomersCustomerCardsResponseBody200
instance GHC.Show.Show StripeAPI.Operations.GetCustomersCustomerCards.GetCustomersCustomerCardsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetCustomersCustomerCards.GetCustomersCustomerCardsResponse
instance GHC.Show.Show StripeAPI.Operations.GetCustomersCustomerCards.GetCustomersCustomerCardsResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetCustomersCustomerCards.GetCustomersCustomerCardsResponseBody200
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetCustomersCustomerCards.GetCustomersCustomerCardsResponseBody200
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetCustomersCustomerCards.GetCustomersCustomerCardsParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetCustomersCustomerCards.GetCustomersCustomerCardsParameters
-- | Contains the different functions to run the operation
-- getCustomersCustomerBankAccountsId
module StripeAPI.Operations.GetCustomersCustomerBankAccountsId
-- |
-- GET /v1/customers/{customer}/bank_accounts/{id}
--
--
-- <p>By default, you can see the 10 most recent sources stored on
-- a Customer directly on the object, but you can also retrieve details
-- about a specific bank account stored on the Stripe account.</p>
getCustomersCustomerBankAccountsId :: forall m. MonadHTTP m => GetCustomersCustomerBankAccountsIdParameters -> ClientT m (Response GetCustomersCustomerBankAccountsIdResponse)
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/bank_accounts/{id}.GET.parameters
-- in the specification.
data GetCustomersCustomerBankAccountsIdParameters
GetCustomersCustomerBankAccountsIdParameters :: Text -> Text -> Maybe [Text] -> GetCustomersCustomerBankAccountsIdParameters
-- | pathCustomer: Represents the parameter named 'customer'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerBankAccountsIdParametersPathCustomer] :: GetCustomersCustomerBankAccountsIdParameters -> Text
-- | pathId: Represents the parameter named 'id'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerBankAccountsIdParametersPathId] :: GetCustomersCustomerBankAccountsIdParameters -> Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getCustomersCustomerBankAccountsIdParametersQueryExpand] :: GetCustomersCustomerBankAccountsIdParameters -> Maybe [Text]
-- | Create a new GetCustomersCustomerBankAccountsIdParameters with
-- all required fields.
mkGetCustomersCustomerBankAccountsIdParameters :: Text -> Text -> GetCustomersCustomerBankAccountsIdParameters
-- | Represents a response of the operation
-- getCustomersCustomerBankAccountsId.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- GetCustomersCustomerBankAccountsIdResponseError is used.
data GetCustomersCustomerBankAccountsIdResponse
-- | Means either no matching case available or a parse error
GetCustomersCustomerBankAccountsIdResponseError :: String -> GetCustomersCustomerBankAccountsIdResponse
-- | Successful response.
GetCustomersCustomerBankAccountsIdResponse200 :: BankAccount -> GetCustomersCustomerBankAccountsIdResponse
-- | Error response.
GetCustomersCustomerBankAccountsIdResponseDefault :: Error -> GetCustomersCustomerBankAccountsIdResponse
instance GHC.Classes.Eq StripeAPI.Operations.GetCustomersCustomerBankAccountsId.GetCustomersCustomerBankAccountsIdParameters
instance GHC.Show.Show StripeAPI.Operations.GetCustomersCustomerBankAccountsId.GetCustomersCustomerBankAccountsIdParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetCustomersCustomerBankAccountsId.GetCustomersCustomerBankAccountsIdResponse
instance GHC.Show.Show StripeAPI.Operations.GetCustomersCustomerBankAccountsId.GetCustomersCustomerBankAccountsIdResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetCustomersCustomerBankAccountsId.GetCustomersCustomerBankAccountsIdParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetCustomersCustomerBankAccountsId.GetCustomersCustomerBankAccountsIdParameters
-- | Contains the different functions to run the operation
-- getCustomersCustomerBankAccounts
module StripeAPI.Operations.GetCustomersCustomerBankAccounts
-- |
-- GET /v1/customers/{customer}/bank_accounts
--
--
-- <p>You can see a list of the bank accounts belonging to a
-- Customer. Note that the 10 most recent sources are always available by
-- default on the Customer. If you need more than those 10, you can use
-- this API method and the <code>limit</code> and
-- <code>starting_after</code> parameters to page through
-- additional bank accounts.</p>
getCustomersCustomerBankAccounts :: forall m. MonadHTTP m => GetCustomersCustomerBankAccountsParameters -> ClientT m (Response GetCustomersCustomerBankAccountsResponse)
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/bank_accounts.GET.parameters
-- in the specification.
data GetCustomersCustomerBankAccountsParameters
GetCustomersCustomerBankAccountsParameters :: Text -> Maybe Text -> Maybe [Text] -> Maybe Int -> Maybe Text -> GetCustomersCustomerBankAccountsParameters
-- | pathCustomer: Represents the parameter named 'customer'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerBankAccountsParametersPathCustomer] :: GetCustomersCustomerBankAccountsParameters -> Text
-- | queryEnding_before: Represents the parameter named 'ending_before'
--
-- A cursor for use in pagination. `ending_before` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, starting with `obj_bar`, your
-- subsequent call can include `ending_before=obj_bar` in order to fetch
-- the previous page of the list.
[getCustomersCustomerBankAccountsParametersQueryEndingBefore] :: GetCustomersCustomerBankAccountsParameters -> Maybe Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getCustomersCustomerBankAccountsParametersQueryExpand] :: GetCustomersCustomerBankAccountsParameters -> Maybe [Text]
-- | queryLimit: Represents the parameter named 'limit'
--
-- A limit on the number of objects to be returned. Limit can range
-- between 1 and 100, and the default is 10.
[getCustomersCustomerBankAccountsParametersQueryLimit] :: GetCustomersCustomerBankAccountsParameters -> Maybe Int
-- | queryStarting_after: Represents the parameter named 'starting_after'
--
-- A cursor for use in pagination. `starting_after` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, ending with `obj_foo`, your
-- subsequent call can include `starting_after=obj_foo` in order to fetch
-- the next page of the list.
[getCustomersCustomerBankAccountsParametersQueryStartingAfter] :: GetCustomersCustomerBankAccountsParameters -> Maybe Text
-- | Create a new GetCustomersCustomerBankAccountsParameters with
-- all required fields.
mkGetCustomersCustomerBankAccountsParameters :: Text -> GetCustomersCustomerBankAccountsParameters
-- | Represents a response of the operation
-- getCustomersCustomerBankAccounts.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- GetCustomersCustomerBankAccountsResponseError is used.
data GetCustomersCustomerBankAccountsResponse
-- | Means either no matching case available or a parse error
GetCustomersCustomerBankAccountsResponseError :: String -> GetCustomersCustomerBankAccountsResponse
-- | Successful response.
GetCustomersCustomerBankAccountsResponse200 :: GetCustomersCustomerBankAccountsResponseBody200 -> GetCustomersCustomerBankAccountsResponse
-- | Error response.
GetCustomersCustomerBankAccountsResponseDefault :: Error -> GetCustomersCustomerBankAccountsResponse
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/bank_accounts.GET.responses.200.content.application/json.schema
-- in the specification.
data GetCustomersCustomerBankAccountsResponseBody200
GetCustomersCustomerBankAccountsResponseBody200 :: [BankAccount] -> Bool -> Text -> GetCustomersCustomerBankAccountsResponseBody200
-- | data: Details about each object.
[getCustomersCustomerBankAccountsResponseBody200Data] :: GetCustomersCustomerBankAccountsResponseBody200 -> [BankAccount]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[getCustomersCustomerBankAccountsResponseBody200HasMore] :: GetCustomersCustomerBankAccountsResponseBody200 -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerBankAccountsResponseBody200Url] :: GetCustomersCustomerBankAccountsResponseBody200 -> Text
-- | Create a new GetCustomersCustomerBankAccountsResponseBody200
-- with all required fields.
mkGetCustomersCustomerBankAccountsResponseBody200 :: [BankAccount] -> Bool -> Text -> GetCustomersCustomerBankAccountsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetCustomersCustomerBankAccounts.GetCustomersCustomerBankAccountsParameters
instance GHC.Show.Show StripeAPI.Operations.GetCustomersCustomerBankAccounts.GetCustomersCustomerBankAccountsParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetCustomersCustomerBankAccounts.GetCustomersCustomerBankAccountsResponseBody200
instance GHC.Show.Show StripeAPI.Operations.GetCustomersCustomerBankAccounts.GetCustomersCustomerBankAccountsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetCustomersCustomerBankAccounts.GetCustomersCustomerBankAccountsResponse
instance GHC.Show.Show StripeAPI.Operations.GetCustomersCustomerBankAccounts.GetCustomersCustomerBankAccountsResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetCustomersCustomerBankAccounts.GetCustomersCustomerBankAccountsResponseBody200
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetCustomersCustomerBankAccounts.GetCustomersCustomerBankAccountsResponseBody200
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetCustomersCustomerBankAccounts.GetCustomersCustomerBankAccountsParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetCustomersCustomerBankAccounts.GetCustomersCustomerBankAccountsParameters
-- | Contains the different functions to run the operation
-- getCustomersCustomerBalanceTransactionsTransaction
module StripeAPI.Operations.GetCustomersCustomerBalanceTransactionsTransaction
-- |
-- GET /v1/customers/{customer}/balance_transactions/{transaction}
--
--
-- <p>Retrieves a specific customer balance transaction that
-- updated the customer’s <a
-- href="/docs/billing/customer/balance">balances</a>.</p>
getCustomersCustomerBalanceTransactionsTransaction :: forall m. MonadHTTP m => GetCustomersCustomerBalanceTransactionsTransactionParameters -> ClientT m (Response GetCustomersCustomerBalanceTransactionsTransactionResponse)
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/balance_transactions/{transaction}.GET.parameters
-- in the specification.
data GetCustomersCustomerBalanceTransactionsTransactionParameters
GetCustomersCustomerBalanceTransactionsTransactionParameters :: Text -> Text -> Maybe [Text] -> GetCustomersCustomerBalanceTransactionsTransactionParameters
-- | pathCustomer: Represents the parameter named 'customer'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerBalanceTransactionsTransactionParametersPathCustomer] :: GetCustomersCustomerBalanceTransactionsTransactionParameters -> Text
-- | pathTransaction: Represents the parameter named 'transaction'
[getCustomersCustomerBalanceTransactionsTransactionParametersPathTransaction] :: GetCustomersCustomerBalanceTransactionsTransactionParameters -> Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getCustomersCustomerBalanceTransactionsTransactionParametersQueryExpand] :: GetCustomersCustomerBalanceTransactionsTransactionParameters -> Maybe [Text]
-- | Create a new
-- GetCustomersCustomerBalanceTransactionsTransactionParameters
-- with all required fields.
mkGetCustomersCustomerBalanceTransactionsTransactionParameters :: Text -> Text -> GetCustomersCustomerBalanceTransactionsTransactionParameters
-- | Represents a response of the operation
-- getCustomersCustomerBalanceTransactionsTransaction.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- GetCustomersCustomerBalanceTransactionsTransactionResponseError
-- is used.
data GetCustomersCustomerBalanceTransactionsTransactionResponse
-- | Means either no matching case available or a parse error
GetCustomersCustomerBalanceTransactionsTransactionResponseError :: String -> GetCustomersCustomerBalanceTransactionsTransactionResponse
-- | Successful response.
GetCustomersCustomerBalanceTransactionsTransactionResponse200 :: CustomerBalanceTransaction -> GetCustomersCustomerBalanceTransactionsTransactionResponse
-- | Error response.
GetCustomersCustomerBalanceTransactionsTransactionResponseDefault :: Error -> GetCustomersCustomerBalanceTransactionsTransactionResponse
instance GHC.Classes.Eq StripeAPI.Operations.GetCustomersCustomerBalanceTransactionsTransaction.GetCustomersCustomerBalanceTransactionsTransactionParameters
instance GHC.Show.Show StripeAPI.Operations.GetCustomersCustomerBalanceTransactionsTransaction.GetCustomersCustomerBalanceTransactionsTransactionParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetCustomersCustomerBalanceTransactionsTransaction.GetCustomersCustomerBalanceTransactionsTransactionResponse
instance GHC.Show.Show StripeAPI.Operations.GetCustomersCustomerBalanceTransactionsTransaction.GetCustomersCustomerBalanceTransactionsTransactionResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetCustomersCustomerBalanceTransactionsTransaction.GetCustomersCustomerBalanceTransactionsTransactionParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetCustomersCustomerBalanceTransactionsTransaction.GetCustomersCustomerBalanceTransactionsTransactionParameters
-- | Contains the different functions to run the operation
-- getCustomersCustomerBalanceTransactions
module StripeAPI.Operations.GetCustomersCustomerBalanceTransactions
-- |
-- GET /v1/customers/{customer}/balance_transactions
--
--
-- <p>Returns a list of transactions that updated the customer’s
-- <a
-- href="/docs/billing/customer/balance">balances</a>.</p>
getCustomersCustomerBalanceTransactions :: forall m. MonadHTTP m => GetCustomersCustomerBalanceTransactionsParameters -> ClientT m (Response GetCustomersCustomerBalanceTransactionsResponse)
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/balance_transactions.GET.parameters
-- in the specification.
data GetCustomersCustomerBalanceTransactionsParameters
GetCustomersCustomerBalanceTransactionsParameters :: Text -> Maybe Text -> Maybe [Text] -> Maybe Int -> Maybe Text -> GetCustomersCustomerBalanceTransactionsParameters
-- | pathCustomer: Represents the parameter named 'customer'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerBalanceTransactionsParametersPathCustomer] :: GetCustomersCustomerBalanceTransactionsParameters -> Text
-- | queryEnding_before: Represents the parameter named 'ending_before'
--
-- A cursor for use in pagination. `ending_before` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, starting with `obj_bar`, your
-- subsequent call can include `ending_before=obj_bar` in order to fetch
-- the previous page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerBalanceTransactionsParametersQueryEndingBefore] :: GetCustomersCustomerBalanceTransactionsParameters -> Maybe Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getCustomersCustomerBalanceTransactionsParametersQueryExpand] :: GetCustomersCustomerBalanceTransactionsParameters -> Maybe [Text]
-- | queryLimit: Represents the parameter named 'limit'
--
-- A limit on the number of objects to be returned. Limit can range
-- between 1 and 100, and the default is 10.
[getCustomersCustomerBalanceTransactionsParametersQueryLimit] :: GetCustomersCustomerBalanceTransactionsParameters -> Maybe Int
-- | queryStarting_after: Represents the parameter named 'starting_after'
--
-- A cursor for use in pagination. `starting_after` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, ending with `obj_foo`, your
-- subsequent call can include `starting_after=obj_foo` in order to fetch
-- the next page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerBalanceTransactionsParametersQueryStartingAfter] :: GetCustomersCustomerBalanceTransactionsParameters -> Maybe Text
-- | Create a new GetCustomersCustomerBalanceTransactionsParameters
-- with all required fields.
mkGetCustomersCustomerBalanceTransactionsParameters :: Text -> GetCustomersCustomerBalanceTransactionsParameters
-- | Represents a response of the operation
-- getCustomersCustomerBalanceTransactions.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- GetCustomersCustomerBalanceTransactionsResponseError is used.
data GetCustomersCustomerBalanceTransactionsResponse
-- | Means either no matching case available or a parse error
GetCustomersCustomerBalanceTransactionsResponseError :: String -> GetCustomersCustomerBalanceTransactionsResponse
-- | Successful response.
GetCustomersCustomerBalanceTransactionsResponse200 :: GetCustomersCustomerBalanceTransactionsResponseBody200 -> GetCustomersCustomerBalanceTransactionsResponse
-- | Error response.
GetCustomersCustomerBalanceTransactionsResponseDefault :: Error -> GetCustomersCustomerBalanceTransactionsResponse
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/balance_transactions.GET.responses.200.content.application/json.schema
-- in the specification.
data GetCustomersCustomerBalanceTransactionsResponseBody200
GetCustomersCustomerBalanceTransactionsResponseBody200 :: [CustomerBalanceTransaction] -> Bool -> Text -> GetCustomersCustomerBalanceTransactionsResponseBody200
-- | data: Details about each object.
[getCustomersCustomerBalanceTransactionsResponseBody200Data] :: GetCustomersCustomerBalanceTransactionsResponseBody200 -> [CustomerBalanceTransaction]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[getCustomersCustomerBalanceTransactionsResponseBody200HasMore] :: GetCustomersCustomerBalanceTransactionsResponseBody200 -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerBalanceTransactionsResponseBody200Url] :: GetCustomersCustomerBalanceTransactionsResponseBody200 -> Text
-- | Create a new
-- GetCustomersCustomerBalanceTransactionsResponseBody200 with all
-- required fields.
mkGetCustomersCustomerBalanceTransactionsResponseBody200 :: [CustomerBalanceTransaction] -> Bool -> Text -> GetCustomersCustomerBalanceTransactionsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetCustomersCustomerBalanceTransactions.GetCustomersCustomerBalanceTransactionsParameters
instance GHC.Show.Show StripeAPI.Operations.GetCustomersCustomerBalanceTransactions.GetCustomersCustomerBalanceTransactionsParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetCustomersCustomerBalanceTransactions.GetCustomersCustomerBalanceTransactionsResponseBody200
instance GHC.Show.Show StripeAPI.Operations.GetCustomersCustomerBalanceTransactions.GetCustomersCustomerBalanceTransactionsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetCustomersCustomerBalanceTransactions.GetCustomersCustomerBalanceTransactionsResponse
instance GHC.Show.Show StripeAPI.Operations.GetCustomersCustomerBalanceTransactions.GetCustomersCustomerBalanceTransactionsResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetCustomersCustomerBalanceTransactions.GetCustomersCustomerBalanceTransactionsResponseBody200
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetCustomersCustomerBalanceTransactions.GetCustomersCustomerBalanceTransactionsResponseBody200
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetCustomersCustomerBalanceTransactions.GetCustomersCustomerBalanceTransactionsParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetCustomersCustomerBalanceTransactions.GetCustomersCustomerBalanceTransactionsParameters
-- | Contains the different functions to run the operation
-- getCustomersCustomer
module StripeAPI.Operations.GetCustomersCustomer
-- |
-- GET /v1/customers/{customer}
--
--
-- <p>Retrieves the details of an existing customer. You need only
-- supply the unique customer identifier that was returned upon customer
-- creation.</p>
getCustomersCustomer :: forall m. MonadHTTP m => GetCustomersCustomerParameters -> ClientT m (Response GetCustomersCustomerResponse)
-- | Defines the object schema located at
-- paths./v1/customers/{customer}.GET.parameters in the
-- specification.
data GetCustomersCustomerParameters
GetCustomersCustomerParameters :: Text -> Maybe [Text] -> GetCustomersCustomerParameters
-- | pathCustomer: Represents the parameter named 'customer'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerParametersPathCustomer] :: GetCustomersCustomerParameters -> Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getCustomersCustomerParametersQueryExpand] :: GetCustomersCustomerParameters -> Maybe [Text]
-- | Create a new GetCustomersCustomerParameters with all required
-- fields.
mkGetCustomersCustomerParameters :: Text -> GetCustomersCustomerParameters
-- | Represents a response of the operation getCustomersCustomer.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetCustomersCustomerResponseError is
-- used.
data GetCustomersCustomerResponse
-- | Means either no matching case available or a parse error
GetCustomersCustomerResponseError :: String -> GetCustomersCustomerResponse
-- | Successful response.
GetCustomersCustomerResponse200 :: GetCustomersCustomerResponseBody200 -> GetCustomersCustomerResponse
-- | Error response.
GetCustomersCustomerResponseDefault :: Error -> GetCustomersCustomerResponse
-- | Defines the object schema located at
-- paths./v1/customers/{customer}.GET.responses.200.content.application/json.schema.anyOf
-- in the specification.
data GetCustomersCustomerResponseBody200
GetCustomersCustomerResponseBody200 :: Maybe GetCustomersCustomerResponseBody200Address' -> Maybe Int -> Maybe Int -> Maybe Text -> Maybe GetCustomersCustomerResponseBody200DefaultSource'Variants -> Maybe GetCustomersCustomerResponseBody200Deleted' -> Maybe Bool -> Maybe Text -> Maybe GetCustomersCustomerResponseBody200Discount' -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe InvoiceSettingCustomerSetting -> Maybe Bool -> Maybe Object -> Maybe Text -> Maybe Int -> Maybe GetCustomersCustomerResponseBody200Object' -> Maybe Text -> Maybe [Text] -> Maybe GetCustomersCustomerResponseBody200Shipping' -> Maybe GetCustomersCustomerResponseBody200Sources' -> Maybe GetCustomersCustomerResponseBody200Subscriptions' -> Maybe CustomerTax -> Maybe GetCustomersCustomerResponseBody200TaxExempt' -> Maybe GetCustomersCustomerResponseBody200TaxIds' -> GetCustomersCustomerResponseBody200
-- | address: The customer's address.
[getCustomersCustomerResponseBody200Address] :: GetCustomersCustomerResponseBody200 -> Maybe GetCustomersCustomerResponseBody200Address'
-- | balance: Current balance, if any, being stored on the customer. If
-- negative, the customer has credit to apply to their next invoice. If
-- positive, the customer has an amount owed that will be added to their
-- next invoice. The balance does not refer to any unpaid invoices; it
-- solely takes into account amounts that have yet to be successfully
-- applied to any invoice. This balance is only taken into account as
-- invoices are finalized.
[getCustomersCustomerResponseBody200Balance] :: GetCustomersCustomerResponseBody200 -> Maybe Int
-- | created: Time at which the object was created. Measured in seconds
-- since the Unix epoch.
[getCustomersCustomerResponseBody200Created] :: GetCustomersCustomerResponseBody200 -> Maybe Int
-- | currency: Three-letter ISO code for the currency the customer
-- can be charged in for recurring billing purposes.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerResponseBody200Currency] :: GetCustomersCustomerResponseBody200 -> Maybe Text
-- | default_source: ID of the default payment source for the customer.
--
-- If you are using payment methods created via the PaymentMethods API,
-- see the invoice_settings.default_payment_method field instead.
[getCustomersCustomerResponseBody200DefaultSource] :: GetCustomersCustomerResponseBody200 -> Maybe GetCustomersCustomerResponseBody200DefaultSource'Variants
-- | deleted: Always true for a deleted object
[getCustomersCustomerResponseBody200Deleted] :: GetCustomersCustomerResponseBody200 -> Maybe GetCustomersCustomerResponseBody200Deleted'
-- | delinquent: When the customer's latest invoice is billed by charging
-- automatically, `delinquent` is `true` if the invoice's latest charge
-- failed. When the customer's latest invoice is billed by sending an
-- invoice, `delinquent` is `true` if the invoice isn't paid by its due
-- date.
--
-- If an invoice is marked uncollectible by dunning, `delinquent`
-- doesn't get reset to `false`.
[getCustomersCustomerResponseBody200Delinquent] :: GetCustomersCustomerResponseBody200 -> Maybe Bool
-- | description: An arbitrary string attached to the object. Often useful
-- for displaying to users.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerResponseBody200Description] :: GetCustomersCustomerResponseBody200 -> Maybe Text
-- | discount: Describes the current discount active on the customer, if
-- there is one.
[getCustomersCustomerResponseBody200Discount] :: GetCustomersCustomerResponseBody200 -> Maybe GetCustomersCustomerResponseBody200Discount'
-- | email: The customer's email address.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerResponseBody200Email] :: GetCustomersCustomerResponseBody200 -> Maybe Text
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerResponseBody200Id] :: GetCustomersCustomerResponseBody200 -> Maybe Text
-- | invoice_prefix: The prefix for the customer used to generate unique
-- invoice numbers.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerResponseBody200InvoicePrefix] :: GetCustomersCustomerResponseBody200 -> Maybe Text
-- | invoice_settings:
[getCustomersCustomerResponseBody200InvoiceSettings] :: GetCustomersCustomerResponseBody200 -> Maybe InvoiceSettingCustomerSetting
-- | livemode: Has the value `true` if the object exists in live mode or
-- the value `false` if the object exists in test mode.
[getCustomersCustomerResponseBody200Livemode] :: GetCustomersCustomerResponseBody200 -> Maybe Bool
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format.
[getCustomersCustomerResponseBody200Metadata] :: GetCustomersCustomerResponseBody200 -> Maybe Object
-- | name: The customer's full name or business name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerResponseBody200Name] :: GetCustomersCustomerResponseBody200 -> Maybe Text
-- | next_invoice_sequence: The suffix of the customer's next invoice
-- number, e.g., 0001.
[getCustomersCustomerResponseBody200NextInvoiceSequence] :: GetCustomersCustomerResponseBody200 -> Maybe Int
-- | object: String representing the object's type. Objects of the same
-- type share the same value.
[getCustomersCustomerResponseBody200Object] :: GetCustomersCustomerResponseBody200 -> Maybe GetCustomersCustomerResponseBody200Object'
-- | phone: The customer's phone number.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerResponseBody200Phone] :: GetCustomersCustomerResponseBody200 -> Maybe Text
-- | preferred_locales: The customer's preferred locales (languages),
-- ordered by preference.
[getCustomersCustomerResponseBody200PreferredLocales] :: GetCustomersCustomerResponseBody200 -> Maybe [Text]
-- | shipping: Mailing and shipping address for the customer. Appears on
-- invoices emailed to this customer.
[getCustomersCustomerResponseBody200Shipping] :: GetCustomersCustomerResponseBody200 -> Maybe GetCustomersCustomerResponseBody200Shipping'
-- | sources: The customer's payment sources, if any.
[getCustomersCustomerResponseBody200Sources] :: GetCustomersCustomerResponseBody200 -> Maybe GetCustomersCustomerResponseBody200Sources'
-- | subscriptions: The customer's current subscriptions, if any.
[getCustomersCustomerResponseBody200Subscriptions] :: GetCustomersCustomerResponseBody200 -> Maybe GetCustomersCustomerResponseBody200Subscriptions'
-- | tax:
[getCustomersCustomerResponseBody200Tax] :: GetCustomersCustomerResponseBody200 -> Maybe CustomerTax
-- | tax_exempt: Describes the customer's tax exemption status. One of
-- `none`, `exempt`, or `reverse`. When set to `reverse`, invoice and
-- receipt PDFs include the text **"Reverse charge"**.
[getCustomersCustomerResponseBody200TaxExempt] :: GetCustomersCustomerResponseBody200 -> Maybe GetCustomersCustomerResponseBody200TaxExempt'
-- | tax_ids: The customer's tax IDs.
[getCustomersCustomerResponseBody200TaxIds] :: GetCustomersCustomerResponseBody200 -> Maybe GetCustomersCustomerResponseBody200TaxIds'
-- | Create a new GetCustomersCustomerResponseBody200 with all
-- required fields.
mkGetCustomersCustomerResponseBody200 :: GetCustomersCustomerResponseBody200
-- | Defines the object schema located at
-- paths./v1/customers/{customer}.GET.responses.200.content.application/json.schema.anyOf.properties.address.anyOf
-- in the specification.
--
-- The customer\'s address.
data GetCustomersCustomerResponseBody200Address'
GetCustomersCustomerResponseBody200Address' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> GetCustomersCustomerResponseBody200Address'
-- | city: City, district, suburb, town, or village.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerResponseBody200Address'City] :: GetCustomersCustomerResponseBody200Address' -> Maybe Text
-- | country: Two-letter country code ([ISO 3166-1
-- alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerResponseBody200Address'Country] :: GetCustomersCustomerResponseBody200Address' -> Maybe Text
-- | line1: Address line 1 (e.g., street, PO Box, or company name).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerResponseBody200Address'Line1] :: GetCustomersCustomerResponseBody200Address' -> Maybe Text
-- | line2: Address line 2 (e.g., apartment, suite, unit, or building).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerResponseBody200Address'Line2] :: GetCustomersCustomerResponseBody200Address' -> Maybe Text
-- | postal_code: ZIP or postal code.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerResponseBody200Address'PostalCode] :: GetCustomersCustomerResponseBody200Address' -> Maybe Text
-- | state: State, county, province, or region.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerResponseBody200Address'State] :: GetCustomersCustomerResponseBody200Address' -> Maybe Text
-- | Create a new GetCustomersCustomerResponseBody200Address' with
-- all required fields.
mkGetCustomersCustomerResponseBody200Address' :: GetCustomersCustomerResponseBody200Address'
-- | Defines the oneOf schema located at
-- paths./v1/customers/{customer}.GET.responses.200.content.application/json.schema.anyOf.properties.default_source.anyOf
-- in the specification.
--
-- ID of the default payment source for the customer.
--
-- If you are using payment methods created via the PaymentMethods API,
-- see the invoice_settings.default_payment_method field instead.
data GetCustomersCustomerResponseBody200DefaultSource'Variants
GetCustomersCustomerResponseBody200DefaultSource'Text :: Text -> GetCustomersCustomerResponseBody200DefaultSource'Variants
GetCustomersCustomerResponseBody200DefaultSource'AlipayAccount :: AlipayAccount -> GetCustomersCustomerResponseBody200DefaultSource'Variants
GetCustomersCustomerResponseBody200DefaultSource'BankAccount :: BankAccount -> GetCustomersCustomerResponseBody200DefaultSource'Variants
GetCustomersCustomerResponseBody200DefaultSource'BitcoinReceiver :: BitcoinReceiver -> GetCustomersCustomerResponseBody200DefaultSource'Variants
GetCustomersCustomerResponseBody200DefaultSource'Card :: Card -> GetCustomersCustomerResponseBody200DefaultSource'Variants
GetCustomersCustomerResponseBody200DefaultSource'Source :: Source -> GetCustomersCustomerResponseBody200DefaultSource'Variants
-- | Defines the enum schema located at
-- paths./v1/customers/{customer}.GET.responses.200.content.application/json.schema.anyOf.properties.deleted
-- in the specification.
--
-- Always true for a deleted object
data GetCustomersCustomerResponseBody200Deleted'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
GetCustomersCustomerResponseBody200Deleted'Other :: Value -> GetCustomersCustomerResponseBody200Deleted'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
GetCustomersCustomerResponseBody200Deleted'Typed :: Bool -> GetCustomersCustomerResponseBody200Deleted'
-- | Represents the JSON value true
GetCustomersCustomerResponseBody200Deleted'EnumTrue :: GetCustomersCustomerResponseBody200Deleted'
-- | Defines the object schema located at
-- paths./v1/customers/{customer}.GET.responses.200.content.application/json.schema.anyOf.properties.discount.anyOf
-- in the specification.
--
-- Describes the current discount active on the customer, if there is
-- one.
data GetCustomersCustomerResponseBody200Discount'
GetCustomersCustomerResponseBody200Discount' :: Maybe Text -> Maybe Coupon -> Maybe GetCustomersCustomerResponseBody200Discount'Customer'Variants -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe GetCustomersCustomerResponseBody200Discount'Object' -> Maybe GetCustomersCustomerResponseBody200Discount'PromotionCode'Variants -> Maybe Int -> Maybe Text -> GetCustomersCustomerResponseBody200Discount'
-- | checkout_session: The Checkout session that this coupon is applied to,
-- if it is applied to a particular session in payment mode. Will not be
-- present for subscription mode.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerResponseBody200Discount'CheckoutSession] :: GetCustomersCustomerResponseBody200Discount' -> Maybe Text
-- | coupon: A coupon contains information about a percent-off or
-- amount-off discount you might want to apply to a customer. Coupons may
-- be applied to invoices or orders. Coupons do not work
-- with conventional one-off charges.
[getCustomersCustomerResponseBody200Discount'Coupon] :: GetCustomersCustomerResponseBody200Discount' -> Maybe Coupon
-- | customer: The ID of the customer associated with this discount.
[getCustomersCustomerResponseBody200Discount'Customer] :: GetCustomersCustomerResponseBody200Discount' -> Maybe GetCustomersCustomerResponseBody200Discount'Customer'Variants
-- | end: If the coupon has a duration of `repeating`, the date that this
-- discount will end. If the coupon has a duration of `once` or
-- `forever`, this attribute will be null.
[getCustomersCustomerResponseBody200Discount'End] :: GetCustomersCustomerResponseBody200Discount' -> Maybe Int
-- | id: The ID of the discount object. Discounts cannot be fetched by ID.
-- Use `expand[]=discounts` in API calls to expand discount IDs in an
-- array.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerResponseBody200Discount'Id] :: GetCustomersCustomerResponseBody200Discount' -> Maybe Text
-- | invoice: The invoice that the discount's coupon was applied to, if it
-- was applied directly to a particular invoice.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerResponseBody200Discount'Invoice] :: GetCustomersCustomerResponseBody200Discount' -> Maybe Text
-- | invoice_item: The invoice item `id` (or invoice line item `id` for
-- invoice line items of type='subscription') that the discount's coupon
-- was applied to, if it was applied directly to a particular invoice
-- item or invoice line item.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerResponseBody200Discount'InvoiceItem] :: GetCustomersCustomerResponseBody200Discount' -> Maybe Text
-- | object: String representing the object's type. Objects of the same
-- type share the same value.
[getCustomersCustomerResponseBody200Discount'Object] :: GetCustomersCustomerResponseBody200Discount' -> Maybe GetCustomersCustomerResponseBody200Discount'Object'
-- | promotion_code: The promotion code applied to create this discount.
[getCustomersCustomerResponseBody200Discount'PromotionCode] :: GetCustomersCustomerResponseBody200Discount' -> Maybe GetCustomersCustomerResponseBody200Discount'PromotionCode'Variants
-- | start: Date that the coupon was applied.
[getCustomersCustomerResponseBody200Discount'Start] :: GetCustomersCustomerResponseBody200Discount' -> Maybe Int
-- | subscription: The subscription that this coupon is applied to, if it
-- is applied to a particular subscription.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerResponseBody200Discount'Subscription] :: GetCustomersCustomerResponseBody200Discount' -> Maybe Text
-- | Create a new GetCustomersCustomerResponseBody200Discount' with
-- all required fields.
mkGetCustomersCustomerResponseBody200Discount' :: GetCustomersCustomerResponseBody200Discount'
-- | Defines the oneOf schema located at
-- paths./v1/customers/{customer}.GET.responses.200.content.application/json.schema.anyOf.properties.discount.anyOf.properties.customer.anyOf
-- in the specification.
--
-- The ID of the customer associated with this discount.
data GetCustomersCustomerResponseBody200Discount'Customer'Variants
GetCustomersCustomerResponseBody200Discount'Customer'Text :: Text -> GetCustomersCustomerResponseBody200Discount'Customer'Variants
GetCustomersCustomerResponseBody200Discount'Customer'Customer :: Customer -> GetCustomersCustomerResponseBody200Discount'Customer'Variants
GetCustomersCustomerResponseBody200Discount'Customer'DeletedCustomer :: DeletedCustomer -> GetCustomersCustomerResponseBody200Discount'Customer'Variants
-- | Defines the enum schema located at
-- paths./v1/customers/{customer}.GET.responses.200.content.application/json.schema.anyOf.properties.discount.anyOf.properties.object
-- in the specification.
--
-- String representing the object's type. Objects of the same type share
-- the same value.
data GetCustomersCustomerResponseBody200Discount'Object'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
GetCustomersCustomerResponseBody200Discount'Object'Other :: Value -> GetCustomersCustomerResponseBody200Discount'Object'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
GetCustomersCustomerResponseBody200Discount'Object'Typed :: Text -> GetCustomersCustomerResponseBody200Discount'Object'
-- | Represents the JSON value "discount"
GetCustomersCustomerResponseBody200Discount'Object'EnumDiscount :: GetCustomersCustomerResponseBody200Discount'Object'
-- | Defines the oneOf schema located at
-- paths./v1/customers/{customer}.GET.responses.200.content.application/json.schema.anyOf.properties.discount.anyOf.properties.promotion_code.anyOf
-- in the specification.
--
-- The promotion code applied to create this discount.
data GetCustomersCustomerResponseBody200Discount'PromotionCode'Variants
GetCustomersCustomerResponseBody200Discount'PromotionCode'Text :: Text -> GetCustomersCustomerResponseBody200Discount'PromotionCode'Variants
GetCustomersCustomerResponseBody200Discount'PromotionCode'PromotionCode :: PromotionCode -> GetCustomersCustomerResponseBody200Discount'PromotionCode'Variants
-- | Defines the enum schema located at
-- paths./v1/customers/{customer}.GET.responses.200.content.application/json.schema.anyOf.properties.object
-- in the specification.
--
-- String representing the object's type. Objects of the same type share
-- the same value.
data GetCustomersCustomerResponseBody200Object'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
GetCustomersCustomerResponseBody200Object'Other :: Value -> GetCustomersCustomerResponseBody200Object'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
GetCustomersCustomerResponseBody200Object'Typed :: Text -> GetCustomersCustomerResponseBody200Object'
-- | Represents the JSON value "customer"
GetCustomersCustomerResponseBody200Object'EnumCustomer :: GetCustomersCustomerResponseBody200Object'
-- | Defines the object schema located at
-- paths./v1/customers/{customer}.GET.responses.200.content.application/json.schema.anyOf.properties.shipping.anyOf
-- in the specification.
--
-- Mailing and shipping address for the customer. Appears on invoices
-- emailed to this customer.
data GetCustomersCustomerResponseBody200Shipping'
GetCustomersCustomerResponseBody200Shipping' :: Maybe Address -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> GetCustomersCustomerResponseBody200Shipping'
-- | address:
[getCustomersCustomerResponseBody200Shipping'Address] :: GetCustomersCustomerResponseBody200Shipping' -> Maybe Address
-- | carrier: The delivery service that shipped a physical product, such as
-- Fedex, UPS, USPS, etc.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerResponseBody200Shipping'Carrier] :: GetCustomersCustomerResponseBody200Shipping' -> Maybe Text
-- | name: Recipient name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerResponseBody200Shipping'Name] :: GetCustomersCustomerResponseBody200Shipping' -> Maybe Text
-- | phone: Recipient phone (including extension).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerResponseBody200Shipping'Phone] :: GetCustomersCustomerResponseBody200Shipping' -> Maybe Text
-- | tracking_number: The tracking number for a physical product, obtained
-- from the delivery service. If multiple tracking numbers were generated
-- for this purchase, please separate them with commas.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerResponseBody200Shipping'TrackingNumber] :: GetCustomersCustomerResponseBody200Shipping' -> Maybe Text
-- | Create a new GetCustomersCustomerResponseBody200Shipping' with
-- all required fields.
mkGetCustomersCustomerResponseBody200Shipping' :: GetCustomersCustomerResponseBody200Shipping'
-- | Defines the object schema located at
-- paths./v1/customers/{customer}.GET.responses.200.content.application/json.schema.anyOf.properties.sources
-- in the specification.
--
-- The customer's payment sources, if any.
data GetCustomersCustomerResponseBody200Sources'
GetCustomersCustomerResponseBody200Sources' :: [GetCustomersCustomerResponseBody200Sources'Data'] -> Bool -> Text -> GetCustomersCustomerResponseBody200Sources'
-- | data: Details about each object.
[getCustomersCustomerResponseBody200Sources'Data] :: GetCustomersCustomerResponseBody200Sources' -> [GetCustomersCustomerResponseBody200Sources'Data']
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[getCustomersCustomerResponseBody200Sources'HasMore] :: GetCustomersCustomerResponseBody200Sources' -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerResponseBody200Sources'Url] :: GetCustomersCustomerResponseBody200Sources' -> Text
-- | Create a new GetCustomersCustomerResponseBody200Sources' with
-- all required fields.
mkGetCustomersCustomerResponseBody200Sources' :: [GetCustomersCustomerResponseBody200Sources'Data'] -> Bool -> Text -> GetCustomersCustomerResponseBody200Sources'
-- | Defines the object schema located at
-- paths./v1/customers/{customer}.GET.responses.200.content.application/json.schema.anyOf.properties.sources.properties.data.items.anyOf
-- in the specification.
data GetCustomersCustomerResponseBody200Sources'Data'
GetCustomersCustomerResponseBody200Sources'Data' :: Maybe GetCustomersCustomerResponseBody200Sources'Data'Account'Variants -> Maybe Text -> Maybe Text -> Maybe SourceTypeAchCreditTransfer -> Maybe SourceTypeAchDebit -> Maybe SourceTypeAcssDebit -> Maybe Bool -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe SourceTypeAlipay -> Maybe Int -> Maybe Int -> Maybe SourceTypeAuBecsDebit -> Maybe [GetCustomersCustomerResponseBody200Sources'Data'AvailablePayoutMethods'] -> Maybe SourceTypeBancontact -> Maybe Text -> Maybe Int -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe SourceTypeCard -> Maybe SourceTypeCardPresent -> Maybe Text -> Maybe SourceCodeVerificationFlow -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe GetCustomersCustomerResponseBody200Sources'Data'Customer'Variants -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe SourceTypeEps -> Maybe Int -> Maybe Int -> Maybe Bool -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe SourceTypeGiropay -> Maybe Text -> Maybe SourceTypeIdeal -> Maybe Text -> Maybe SourceTypeKlarna -> Maybe Text -> Maybe Bool -> Maybe Object -> Maybe SourceTypeMultibanco -> Maybe Text -> Maybe GetCustomersCustomerResponseBody200Sources'Data'Object' -> Maybe GetCustomersCustomerResponseBody200Sources'Data'Owner' -> Maybe SourceTypeP24 -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe SourceReceiverFlow -> Maybe GetCustomersCustomerResponseBody200Sources'Data'Recipient'Variants -> Maybe SourceRedirectFlow -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe SourceTypeSepaDebit -> Maybe SourceTypeSofort -> Maybe SourceOrder -> Maybe Text -> Maybe Text -> Maybe SourceTypeThreeDSecure -> Maybe Text -> Maybe GetCustomersCustomerResponseBody200Sources'Data'Transactions' -> Maybe GetCustomersCustomerResponseBody200Sources'Data'Type' -> Maybe Bool -> Maybe Text -> Maybe Bool -> Maybe Bool -> Maybe Text -> Maybe SourceTypeWechat -> GetCustomersCustomerResponseBody200Sources'Data'
-- | account: The ID of the account that the bank account is associated
-- with.
[getCustomersCustomerResponseBody200Sources'Data'Account] :: GetCustomersCustomerResponseBody200Sources'Data' -> Maybe GetCustomersCustomerResponseBody200Sources'Data'Account'Variants
-- | account_holder_name: The name of the person or business that owns the
-- bank account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerResponseBody200Sources'Data'AccountHolderName] :: GetCustomersCustomerResponseBody200Sources'Data' -> Maybe Text
-- | account_holder_type: The type of entity that holds the account. This
-- can be either `individual` or `company`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerResponseBody200Sources'Data'AccountHolderType] :: GetCustomersCustomerResponseBody200Sources'Data' -> Maybe Text
-- | ach_credit_transfer
[getCustomersCustomerResponseBody200Sources'Data'AchCreditTransfer] :: GetCustomersCustomerResponseBody200Sources'Data' -> Maybe SourceTypeAchCreditTransfer
-- | ach_debit
[getCustomersCustomerResponseBody200Sources'Data'AchDebit] :: GetCustomersCustomerResponseBody200Sources'Data' -> Maybe SourceTypeAchDebit
-- | acss_debit
[getCustomersCustomerResponseBody200Sources'Data'AcssDebit] :: GetCustomersCustomerResponseBody200Sources'Data' -> Maybe SourceTypeAcssDebit
-- | active: True when this bitcoin receiver has received a non-zero amount
-- of bitcoin.
[getCustomersCustomerResponseBody200Sources'Data'Active] :: GetCustomersCustomerResponseBody200Sources'Data' -> Maybe Bool
-- | address_city: City/District/Suburb/Town/Village.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerResponseBody200Sources'Data'AddressCity] :: GetCustomersCustomerResponseBody200Sources'Data' -> Maybe Text
-- | address_country: Billing address country, if provided when creating
-- card.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerResponseBody200Sources'Data'AddressCountry] :: GetCustomersCustomerResponseBody200Sources'Data' -> Maybe Text
-- | address_line1: Address line 1 (Street address/PO Box/Company name).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerResponseBody200Sources'Data'AddressLine1] :: GetCustomersCustomerResponseBody200Sources'Data' -> Maybe Text
-- | address_line1_check: If `address_line1` was provided, results of the
-- check: `pass`, `fail`, `unavailable`, or `unchecked`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerResponseBody200Sources'Data'AddressLine1Check] :: GetCustomersCustomerResponseBody200Sources'Data' -> Maybe Text
-- | address_line2: Address line 2 (Apartment/Suite/Unit/Building).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerResponseBody200Sources'Data'AddressLine2] :: GetCustomersCustomerResponseBody200Sources'Data' -> Maybe Text
-- | address_state: State/County/Province/Region.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerResponseBody200Sources'Data'AddressState] :: GetCustomersCustomerResponseBody200Sources'Data' -> Maybe Text
-- | address_zip: ZIP or postal code.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerResponseBody200Sources'Data'AddressZip] :: GetCustomersCustomerResponseBody200Sources'Data' -> Maybe Text
-- | address_zip_check: If `address_zip` was provided, results of the
-- check: `pass`, `fail`, `unavailable`, or `unchecked`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerResponseBody200Sources'Data'AddressZipCheck] :: GetCustomersCustomerResponseBody200Sources'Data' -> Maybe Text
-- | alipay
[getCustomersCustomerResponseBody200Sources'Data'Alipay] :: GetCustomersCustomerResponseBody200Sources'Data' -> Maybe SourceTypeAlipay
-- | amount: The amount of `currency` that you are collecting as payment.
[getCustomersCustomerResponseBody200Sources'Data'Amount] :: GetCustomersCustomerResponseBody200Sources'Data' -> Maybe Int
-- | amount_received: The amount of `currency` to which
-- `bitcoin_amount_received` has been converted.
[getCustomersCustomerResponseBody200Sources'Data'AmountReceived] :: GetCustomersCustomerResponseBody200Sources'Data' -> Maybe Int
-- | au_becs_debit
[getCustomersCustomerResponseBody200Sources'Data'AuBecsDebit] :: GetCustomersCustomerResponseBody200Sources'Data' -> Maybe SourceTypeAuBecsDebit
-- | available_payout_methods: A set of available payout methods for this
-- bank account. Only values from this set should be passed as the
-- `method` when creating a payout.
[getCustomersCustomerResponseBody200Sources'Data'AvailablePayoutMethods] :: GetCustomersCustomerResponseBody200Sources'Data' -> Maybe [GetCustomersCustomerResponseBody200Sources'Data'AvailablePayoutMethods']
-- | bancontact
[getCustomersCustomerResponseBody200Sources'Data'Bancontact] :: GetCustomersCustomerResponseBody200Sources'Data' -> Maybe SourceTypeBancontact
-- | bank_name: Name of the bank associated with the routing number (e.g.,
-- `WELLS FARGO`).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerResponseBody200Sources'Data'BankName] :: GetCustomersCustomerResponseBody200Sources'Data' -> Maybe Text
-- | bitcoin_amount: The amount of bitcoin that the customer should send to
-- fill the receiver. The `bitcoin_amount` is denominated in Satoshi:
-- there are 10^8 Satoshi in one bitcoin.
[getCustomersCustomerResponseBody200Sources'Data'BitcoinAmount] :: GetCustomersCustomerResponseBody200Sources'Data' -> Maybe Int
-- | bitcoin_amount_received: The amount of bitcoin that has been sent by
-- the customer to this receiver.
[getCustomersCustomerResponseBody200Sources'Data'BitcoinAmountReceived] :: GetCustomersCustomerResponseBody200Sources'Data' -> Maybe Int
-- | bitcoin_uri: This URI can be displayed to the customer as a clickable
-- link (to activate their bitcoin client) or as a QR code (for mobile
-- wallets).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerResponseBody200Sources'Data'BitcoinUri] :: GetCustomersCustomerResponseBody200Sources'Data' -> Maybe Text
-- | brand: Card brand. Can be `American Express`, `Diners Club`,
-- `Discover`, `JCB`, `MasterCard`, `UnionPay`, `Visa`, or `Unknown`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerResponseBody200Sources'Data'Brand] :: GetCustomersCustomerResponseBody200Sources'Data' -> Maybe Text
-- | card
[getCustomersCustomerResponseBody200Sources'Data'Card] :: GetCustomersCustomerResponseBody200Sources'Data' -> Maybe SourceTypeCard
-- | card_present
[getCustomersCustomerResponseBody200Sources'Data'CardPresent] :: GetCustomersCustomerResponseBody200Sources'Data' -> Maybe SourceTypeCardPresent
-- | client_secret: The client secret of the source. Used for client-side
-- retrieval using a publishable key.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerResponseBody200Sources'Data'ClientSecret] :: GetCustomersCustomerResponseBody200Sources'Data' -> Maybe Text
-- | code_verification:
[getCustomersCustomerResponseBody200Sources'Data'CodeVerification] :: GetCustomersCustomerResponseBody200Sources'Data' -> Maybe SourceCodeVerificationFlow
-- | country: Two-letter ISO code representing the country the bank account
-- is located in.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerResponseBody200Sources'Data'Country] :: GetCustomersCustomerResponseBody200Sources'Data' -> Maybe Text
-- | created: Time at which the object was created. Measured in seconds
-- since the Unix epoch.
[getCustomersCustomerResponseBody200Sources'Data'Created] :: GetCustomersCustomerResponseBody200Sources'Data' -> Maybe Int
-- | currency: Three-letter ISO code for the currency paid out to
-- the bank account.
[getCustomersCustomerResponseBody200Sources'Data'Currency] :: GetCustomersCustomerResponseBody200Sources'Data' -> Maybe Text
-- | customer: The ID of the customer associated with this Alipay Account.
[getCustomersCustomerResponseBody200Sources'Data'Customer] :: GetCustomersCustomerResponseBody200Sources'Data' -> Maybe GetCustomersCustomerResponseBody200Sources'Data'Customer'Variants
-- | cvc_check: If a CVC was provided, results of the check: `pass`,
-- `fail`, `unavailable`, or `unchecked`. A result of unchecked indicates
-- that CVC was provided but hasn't been checked yet. Checks are
-- typically performed when attaching a card to a Customer object, or
-- when creating a charge. For more details, see Check if a card is
-- valid without a charge.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerResponseBody200Sources'Data'CvcCheck] :: GetCustomersCustomerResponseBody200Sources'Data' -> Maybe Text
-- | default_for_currency: Whether this bank account is the default
-- external account for its currency.
[getCustomersCustomerResponseBody200Sources'Data'DefaultForCurrency] :: GetCustomersCustomerResponseBody200Sources'Data' -> Maybe Bool
-- | description: An arbitrary string attached to the object. Often useful
-- for displaying to users.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerResponseBody200Sources'Data'Description] :: GetCustomersCustomerResponseBody200Sources'Data' -> Maybe Text
-- | dynamic_last4: (For tokenized numbers only.) The last four digits of
-- the device account number.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerResponseBody200Sources'Data'DynamicLast4] :: GetCustomersCustomerResponseBody200Sources'Data' -> Maybe Text
-- | email: The customer's email address, set by the API call that creates
-- the receiver.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerResponseBody200Sources'Data'Email] :: GetCustomersCustomerResponseBody200Sources'Data' -> Maybe Text
-- | eps
[getCustomersCustomerResponseBody200Sources'Data'Eps] :: GetCustomersCustomerResponseBody200Sources'Data' -> Maybe SourceTypeEps
-- | exp_month: Two-digit number representing the card's expiration month.
[getCustomersCustomerResponseBody200Sources'Data'ExpMonth] :: GetCustomersCustomerResponseBody200Sources'Data' -> Maybe Int
-- | exp_year: Four-digit number representing the card's expiration year.
[getCustomersCustomerResponseBody200Sources'Data'ExpYear] :: GetCustomersCustomerResponseBody200Sources'Data' -> Maybe Int
-- | filled: This flag is initially false and updates to true when the
-- customer sends the `bitcoin_amount` to this receiver.
[getCustomersCustomerResponseBody200Sources'Data'Filled] :: GetCustomersCustomerResponseBody200Sources'Data' -> Maybe Bool
-- | fingerprint: Uniquely identifies the account and will be the same
-- across all Alipay account objects that are linked to the same Alipay
-- account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerResponseBody200Sources'Data'Fingerprint] :: GetCustomersCustomerResponseBody200Sources'Data' -> Maybe Text
-- | flow: The authentication `flow` of the source. `flow` is one of
-- `redirect`, `receiver`, `code_verification`, `none`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerResponseBody200Sources'Data'Flow] :: GetCustomersCustomerResponseBody200Sources'Data' -> Maybe Text
-- | funding: Card funding type. Can be `credit`, `debit`, `prepaid`, or
-- `unknown`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerResponseBody200Sources'Data'Funding] :: GetCustomersCustomerResponseBody200Sources'Data' -> Maybe Text
-- | giropay
[getCustomersCustomerResponseBody200Sources'Data'Giropay] :: GetCustomersCustomerResponseBody200Sources'Data' -> Maybe SourceTypeGiropay
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerResponseBody200Sources'Data'Id] :: GetCustomersCustomerResponseBody200Sources'Data' -> Maybe Text
-- | ideal
[getCustomersCustomerResponseBody200Sources'Data'Ideal] :: GetCustomersCustomerResponseBody200Sources'Data' -> Maybe SourceTypeIdeal
-- | inbound_address: A bitcoin address that is specific to this receiver.
-- The customer can send bitcoin to this address to fill the receiver.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerResponseBody200Sources'Data'InboundAddress] :: GetCustomersCustomerResponseBody200Sources'Data' -> Maybe Text
-- | klarna
[getCustomersCustomerResponseBody200Sources'Data'Klarna] :: GetCustomersCustomerResponseBody200Sources'Data' -> Maybe SourceTypeKlarna
-- | last4: The last four digits of the bank account number.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerResponseBody200Sources'Data'Last4] :: GetCustomersCustomerResponseBody200Sources'Data' -> Maybe Text
-- | livemode: Has the value `true` if the object exists in live mode or
-- the value `false` if the object exists in test mode.
[getCustomersCustomerResponseBody200Sources'Data'Livemode] :: GetCustomersCustomerResponseBody200Sources'Data' -> Maybe Bool
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format.
[getCustomersCustomerResponseBody200Sources'Data'Metadata] :: GetCustomersCustomerResponseBody200Sources'Data' -> Maybe Object
-- | multibanco
[getCustomersCustomerResponseBody200Sources'Data'Multibanco] :: GetCustomersCustomerResponseBody200Sources'Data' -> Maybe SourceTypeMultibanco
-- | name: Cardholder name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerResponseBody200Sources'Data'Name] :: GetCustomersCustomerResponseBody200Sources'Data' -> Maybe Text
-- | object: String representing the object's type. Objects of the same
-- type share the same value.
[getCustomersCustomerResponseBody200Sources'Data'Object] :: GetCustomersCustomerResponseBody200Sources'Data' -> Maybe GetCustomersCustomerResponseBody200Sources'Data'Object'
-- | owner: Information about the owner of the payment instrument that may
-- be used or required by particular source types.
[getCustomersCustomerResponseBody200Sources'Data'Owner] :: GetCustomersCustomerResponseBody200Sources'Data' -> Maybe GetCustomersCustomerResponseBody200Sources'Data'Owner'
-- | p24
[getCustomersCustomerResponseBody200Sources'Data'P24] :: GetCustomersCustomerResponseBody200Sources'Data' -> Maybe SourceTypeP24
-- | payment: The ID of the payment created from the receiver, if any.
-- Hidden when viewing the receiver with a publishable key.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerResponseBody200Sources'Data'Payment] :: GetCustomersCustomerResponseBody200Sources'Data' -> Maybe Text
-- | payment_amount: If the Alipay account object is not reusable, the
-- exact amount that you can create a charge for.
[getCustomersCustomerResponseBody200Sources'Data'PaymentAmount] :: GetCustomersCustomerResponseBody200Sources'Data' -> Maybe Int
-- | payment_currency: If the Alipay account object is not reusable, the
-- exact currency that you can create a charge for.
[getCustomersCustomerResponseBody200Sources'Data'PaymentCurrency] :: GetCustomersCustomerResponseBody200Sources'Data' -> Maybe Text
-- | receiver:
[getCustomersCustomerResponseBody200Sources'Data'Receiver] :: GetCustomersCustomerResponseBody200Sources'Data' -> Maybe SourceReceiverFlow
-- | recipient: 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.
[getCustomersCustomerResponseBody200Sources'Data'Recipient] :: GetCustomersCustomerResponseBody200Sources'Data' -> Maybe GetCustomersCustomerResponseBody200Sources'Data'Recipient'Variants
-- | redirect:
[getCustomersCustomerResponseBody200Sources'Data'Redirect] :: GetCustomersCustomerResponseBody200Sources'Data' -> Maybe SourceRedirectFlow
-- | refund_address: The refund address of this bitcoin receiver.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerResponseBody200Sources'Data'RefundAddress] :: GetCustomersCustomerResponseBody200Sources'Data' -> Maybe Text
-- | reusable: True if you can create multiple payments using this account.
-- If the account is reusable, then you can freely choose the amount of
-- each payment.
[getCustomersCustomerResponseBody200Sources'Data'Reusable] :: GetCustomersCustomerResponseBody200Sources'Data' -> Maybe Bool
-- | routing_number: The routing transit number for the bank account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerResponseBody200Sources'Data'RoutingNumber] :: GetCustomersCustomerResponseBody200Sources'Data' -> Maybe Text
-- | sepa_debit
[getCustomersCustomerResponseBody200Sources'Data'SepaDebit] :: GetCustomersCustomerResponseBody200Sources'Data' -> Maybe SourceTypeSepaDebit
-- | sofort
[getCustomersCustomerResponseBody200Sources'Data'Sofort] :: GetCustomersCustomerResponseBody200Sources'Data' -> Maybe SourceTypeSofort
-- | source_order:
[getCustomersCustomerResponseBody200Sources'Data'SourceOrder] :: GetCustomersCustomerResponseBody200Sources'Data' -> Maybe SourceOrder
-- | statement_descriptor: Extra information about a source. This will
-- appear on your customer's statement every time you charge the source.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerResponseBody200Sources'Data'StatementDescriptor] :: GetCustomersCustomerResponseBody200Sources'Data' -> Maybe Text
-- | status: For bank accounts, possible values are `new`, `validated`,
-- `verified`, `verification_failed`, or `errored`. A bank account that
-- hasn't had any activity or validation performed is `new`. If Stripe
-- can determine that the bank account exists, its status will be
-- `validated`. Note that there often isn’t enough information to know
-- (e.g., for smaller credit unions), and the validation is not always
-- run. If customer bank account verification has succeeded, the bank
-- account status will be `verified`. If the verification failed for any
-- reason, such as microdeposit failure, the status will be
-- `verification_failed`. If a transfer sent to this bank account fails,
-- we'll set the status to `errored` and will not continue to send
-- transfers until the bank details are updated.
--
-- For external accounts, possible values are `new` and `errored`.
-- Validations aren't run against external accounts because they're only
-- used for payouts. This means the other statuses don't apply. If a
-- transfer fails, the status is set to `errored` and transfers are
-- stopped until account details are updated.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerResponseBody200Sources'Data'Status] :: GetCustomersCustomerResponseBody200Sources'Data' -> Maybe Text
-- | three_d_secure
[getCustomersCustomerResponseBody200Sources'Data'ThreeDSecure] :: GetCustomersCustomerResponseBody200Sources'Data' -> Maybe SourceTypeThreeDSecure
-- | tokenization_method: If the card number is tokenized, this is the
-- method that was used. Can be `android_pay` (includes Google Pay),
-- `apple_pay`, `masterpass`, `visa_checkout`, or null.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerResponseBody200Sources'Data'TokenizationMethod] :: GetCustomersCustomerResponseBody200Sources'Data' -> Maybe Text
-- | transactions: 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.
[getCustomersCustomerResponseBody200Sources'Data'Transactions] :: GetCustomersCustomerResponseBody200Sources'Data' -> Maybe GetCustomersCustomerResponseBody200Sources'Data'Transactions'
-- | type: The `type` of the source. The `type` is a payment method, one of
-- `ach_credit_transfer`, `ach_debit`, `alipay`, `bancontact`, `card`,
-- `card_present`, `eps`, `giropay`, `ideal`, `multibanco`, `klarna`,
-- `p24`, `sepa_debit`, `sofort`, `three_d_secure`, or `wechat`. An
-- additional hash is included on the source with a name matching this
-- value. It contains additional information specific to the payment
-- method used.
[getCustomersCustomerResponseBody200Sources'Data'Type] :: GetCustomersCustomerResponseBody200Sources'Data' -> Maybe GetCustomersCustomerResponseBody200Sources'Data'Type'
-- | uncaptured_funds: This receiver contains uncaptured funds that can be
-- used for a payment or refunded.
[getCustomersCustomerResponseBody200Sources'Data'UncapturedFunds] :: GetCustomersCustomerResponseBody200Sources'Data' -> Maybe Bool
-- | usage: Either `reusable` or `single_use`. Whether this source should
-- be reusable or not. Some source types may or may not be reusable by
-- construction, while others may leave the option at creation. If an
-- incompatible value is passed, an error will be returned.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerResponseBody200Sources'Data'Usage] :: GetCustomersCustomerResponseBody200Sources'Data' -> Maybe Text
-- | used: Whether this Alipay account object has ever been used for a
-- payment.
[getCustomersCustomerResponseBody200Sources'Data'Used] :: GetCustomersCustomerResponseBody200Sources'Data' -> Maybe Bool
-- | used_for_payment: Indicate if this source is used for payment.
[getCustomersCustomerResponseBody200Sources'Data'UsedForPayment] :: GetCustomersCustomerResponseBody200Sources'Data' -> Maybe Bool
-- | username: The username for the Alipay account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerResponseBody200Sources'Data'Username] :: GetCustomersCustomerResponseBody200Sources'Data' -> Maybe Text
-- | wechat
[getCustomersCustomerResponseBody200Sources'Data'Wechat] :: GetCustomersCustomerResponseBody200Sources'Data' -> Maybe SourceTypeWechat
-- | Create a new GetCustomersCustomerResponseBody200Sources'Data'
-- with all required fields.
mkGetCustomersCustomerResponseBody200Sources'Data' :: GetCustomersCustomerResponseBody200Sources'Data'
-- | Defines the oneOf schema located at
-- paths./v1/customers/{customer}.GET.responses.200.content.application/json.schema.anyOf.properties.sources.properties.data.items.anyOf.properties.account.anyOf
-- in the specification.
--
-- The ID of the account that the bank account is associated with.
data GetCustomersCustomerResponseBody200Sources'Data'Account'Variants
GetCustomersCustomerResponseBody200Sources'Data'Account'Text :: Text -> GetCustomersCustomerResponseBody200Sources'Data'Account'Variants
GetCustomersCustomerResponseBody200Sources'Data'Account'Account :: Account -> GetCustomersCustomerResponseBody200Sources'Data'Account'Variants
-- | Defines the enum schema located at
-- paths./v1/customers/{customer}.GET.responses.200.content.application/json.schema.anyOf.properties.sources.properties.data.items.anyOf.properties.available_payout_methods.items
-- in the specification.
data GetCustomersCustomerResponseBody200Sources'Data'AvailablePayoutMethods'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
GetCustomersCustomerResponseBody200Sources'Data'AvailablePayoutMethods'Other :: Value -> GetCustomersCustomerResponseBody200Sources'Data'AvailablePayoutMethods'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
GetCustomersCustomerResponseBody200Sources'Data'AvailablePayoutMethods'Typed :: Text -> GetCustomersCustomerResponseBody200Sources'Data'AvailablePayoutMethods'
-- | Represents the JSON value "instant"
GetCustomersCustomerResponseBody200Sources'Data'AvailablePayoutMethods'EnumInstant :: GetCustomersCustomerResponseBody200Sources'Data'AvailablePayoutMethods'
-- | Represents the JSON value "standard"
GetCustomersCustomerResponseBody200Sources'Data'AvailablePayoutMethods'EnumStandard :: GetCustomersCustomerResponseBody200Sources'Data'AvailablePayoutMethods'
-- | Defines the oneOf schema located at
-- paths./v1/customers/{customer}.GET.responses.200.content.application/json.schema.anyOf.properties.sources.properties.data.items.anyOf.properties.customer.anyOf
-- in the specification.
--
-- The ID of the customer associated with this Alipay Account.
data GetCustomersCustomerResponseBody200Sources'Data'Customer'Variants
GetCustomersCustomerResponseBody200Sources'Data'Customer'Text :: Text -> GetCustomersCustomerResponseBody200Sources'Data'Customer'Variants
GetCustomersCustomerResponseBody200Sources'Data'Customer'Customer :: Customer -> GetCustomersCustomerResponseBody200Sources'Data'Customer'Variants
GetCustomersCustomerResponseBody200Sources'Data'Customer'DeletedCustomer :: DeletedCustomer -> GetCustomersCustomerResponseBody200Sources'Data'Customer'Variants
-- | Defines the enum schema located at
-- paths./v1/customers/{customer}.GET.responses.200.content.application/json.schema.anyOf.properties.sources.properties.data.items.anyOf.properties.object
-- in the specification.
--
-- String representing the object's type. Objects of the same type share
-- the same value.
data GetCustomersCustomerResponseBody200Sources'Data'Object'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
GetCustomersCustomerResponseBody200Sources'Data'Object'Other :: Value -> GetCustomersCustomerResponseBody200Sources'Data'Object'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
GetCustomersCustomerResponseBody200Sources'Data'Object'Typed :: Text -> GetCustomersCustomerResponseBody200Sources'Data'Object'
-- | Represents the JSON value "alipay_account"
GetCustomersCustomerResponseBody200Sources'Data'Object'EnumAlipayAccount :: GetCustomersCustomerResponseBody200Sources'Data'Object'
-- | Defines the object schema located at
-- paths./v1/customers/{customer}.GET.responses.200.content.application/json.schema.anyOf.properties.sources.properties.data.items.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.
data GetCustomersCustomerResponseBody200Sources'Data'Owner'
GetCustomersCustomerResponseBody200Sources'Data'Owner' :: Maybe GetCustomersCustomerResponseBody200Sources'Data'Owner'Address' -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe GetCustomersCustomerResponseBody200Sources'Data'Owner'VerifiedAddress' -> Maybe Text -> Maybe Text -> Maybe Text -> GetCustomersCustomerResponseBody200Sources'Data'Owner'
-- | address: Owner's address.
[getCustomersCustomerResponseBody200Sources'Data'Owner'Address] :: GetCustomersCustomerResponseBody200Sources'Data'Owner' -> Maybe GetCustomersCustomerResponseBody200Sources'Data'Owner'Address'
-- | email: Owner's email address.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerResponseBody200Sources'Data'Owner'Email] :: GetCustomersCustomerResponseBody200Sources'Data'Owner' -> Maybe Text
-- | name: Owner's full name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerResponseBody200Sources'Data'Owner'Name] :: GetCustomersCustomerResponseBody200Sources'Data'Owner' -> Maybe Text
-- | phone: Owner's phone number (including extension).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerResponseBody200Sources'Data'Owner'Phone] :: GetCustomersCustomerResponseBody200Sources'Data'Owner' -> Maybe Text
-- | verified_address: 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.
[getCustomersCustomerResponseBody200Sources'Data'Owner'VerifiedAddress] :: GetCustomersCustomerResponseBody200Sources'Data'Owner' -> Maybe GetCustomersCustomerResponseBody200Sources'Data'Owner'VerifiedAddress'
-- | verified_email: Verified owner's email 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.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerResponseBody200Sources'Data'Owner'VerifiedEmail] :: GetCustomersCustomerResponseBody200Sources'Data'Owner' -> Maybe Text
-- | verified_name: Verified owner's full name. 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.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerResponseBody200Sources'Data'Owner'VerifiedName] :: GetCustomersCustomerResponseBody200Sources'Data'Owner' -> Maybe Text
-- | verified_phone: Verified owner's phone number (including extension).
-- 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.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerResponseBody200Sources'Data'Owner'VerifiedPhone] :: GetCustomersCustomerResponseBody200Sources'Data'Owner' -> Maybe Text
-- | Create a new
-- GetCustomersCustomerResponseBody200Sources'Data'Owner' with all
-- required fields.
mkGetCustomersCustomerResponseBody200Sources'Data'Owner' :: GetCustomersCustomerResponseBody200Sources'Data'Owner'
-- | Defines the object schema located at
-- paths./v1/customers/{customer}.GET.responses.200.content.application/json.schema.anyOf.properties.sources.properties.data.items.anyOf.properties.owner.anyOf.properties.address.anyOf
-- in the specification.
--
-- Owner\'s address.
data GetCustomersCustomerResponseBody200Sources'Data'Owner'Address'
GetCustomersCustomerResponseBody200Sources'Data'Owner'Address' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> GetCustomersCustomerResponseBody200Sources'Data'Owner'Address'
-- | city: City, district, suburb, town, or village.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerResponseBody200Sources'Data'Owner'Address'City] :: GetCustomersCustomerResponseBody200Sources'Data'Owner'Address' -> Maybe Text
-- | country: Two-letter country code ([ISO 3166-1
-- alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerResponseBody200Sources'Data'Owner'Address'Country] :: GetCustomersCustomerResponseBody200Sources'Data'Owner'Address' -> Maybe Text
-- | line1: Address line 1 (e.g., street, PO Box, or company name).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerResponseBody200Sources'Data'Owner'Address'Line1] :: GetCustomersCustomerResponseBody200Sources'Data'Owner'Address' -> Maybe Text
-- | line2: Address line 2 (e.g., apartment, suite, unit, or building).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerResponseBody200Sources'Data'Owner'Address'Line2] :: GetCustomersCustomerResponseBody200Sources'Data'Owner'Address' -> Maybe Text
-- | postal_code: ZIP or postal code.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerResponseBody200Sources'Data'Owner'Address'PostalCode] :: GetCustomersCustomerResponseBody200Sources'Data'Owner'Address' -> Maybe Text
-- | state: State, county, province, or region.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerResponseBody200Sources'Data'Owner'Address'State] :: GetCustomersCustomerResponseBody200Sources'Data'Owner'Address' -> Maybe Text
-- | Create a new
-- GetCustomersCustomerResponseBody200Sources'Data'Owner'Address'
-- with all required fields.
mkGetCustomersCustomerResponseBody200Sources'Data'Owner'Address' :: GetCustomersCustomerResponseBody200Sources'Data'Owner'Address'
-- | Defines the object schema located at
-- paths./v1/customers/{customer}.GET.responses.200.content.application/json.schema.anyOf.properties.sources.properties.data.items.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.
data GetCustomersCustomerResponseBody200Sources'Data'Owner'VerifiedAddress'
GetCustomersCustomerResponseBody200Sources'Data'Owner'VerifiedAddress' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> GetCustomersCustomerResponseBody200Sources'Data'Owner'VerifiedAddress'
-- | city: City, district, suburb, town, or village.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerResponseBody200Sources'Data'Owner'VerifiedAddress'City] :: GetCustomersCustomerResponseBody200Sources'Data'Owner'VerifiedAddress' -> Maybe Text
-- | country: Two-letter country code ([ISO 3166-1
-- alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerResponseBody200Sources'Data'Owner'VerifiedAddress'Country] :: GetCustomersCustomerResponseBody200Sources'Data'Owner'VerifiedAddress' -> Maybe Text
-- | line1: Address line 1 (e.g., street, PO Box, or company name).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerResponseBody200Sources'Data'Owner'VerifiedAddress'Line1] :: GetCustomersCustomerResponseBody200Sources'Data'Owner'VerifiedAddress' -> Maybe Text
-- | line2: Address line 2 (e.g., apartment, suite, unit, or building).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerResponseBody200Sources'Data'Owner'VerifiedAddress'Line2] :: GetCustomersCustomerResponseBody200Sources'Data'Owner'VerifiedAddress' -> Maybe Text
-- | postal_code: ZIP or postal code.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerResponseBody200Sources'Data'Owner'VerifiedAddress'PostalCode] :: GetCustomersCustomerResponseBody200Sources'Data'Owner'VerifiedAddress' -> Maybe Text
-- | state: State, county, province, or region.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerResponseBody200Sources'Data'Owner'VerifiedAddress'State] :: GetCustomersCustomerResponseBody200Sources'Data'Owner'VerifiedAddress' -> Maybe Text
-- | Create a new
-- GetCustomersCustomerResponseBody200Sources'Data'Owner'VerifiedAddress'
-- with all required fields.
mkGetCustomersCustomerResponseBody200Sources'Data'Owner'VerifiedAddress' :: GetCustomersCustomerResponseBody200Sources'Data'Owner'VerifiedAddress'
-- | Defines the oneOf schema located at
-- paths./v1/customers/{customer}.GET.responses.200.content.application/json.schema.anyOf.properties.sources.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.
data GetCustomersCustomerResponseBody200Sources'Data'Recipient'Variants
GetCustomersCustomerResponseBody200Sources'Data'Recipient'Text :: Text -> GetCustomersCustomerResponseBody200Sources'Data'Recipient'Variants
GetCustomersCustomerResponseBody200Sources'Data'Recipient'Recipient :: Recipient -> GetCustomersCustomerResponseBody200Sources'Data'Recipient'Variants
-- | Defines the object schema located at
-- paths./v1/customers/{customer}.GET.responses.200.content.application/json.schema.anyOf.properties.sources.properties.data.items.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.
data GetCustomersCustomerResponseBody200Sources'Data'Transactions'
GetCustomersCustomerResponseBody200Sources'Data'Transactions' :: [BitcoinTransaction] -> Bool -> Text -> GetCustomersCustomerResponseBody200Sources'Data'Transactions'
-- | data: Details about each object.
[getCustomersCustomerResponseBody200Sources'Data'Transactions'Data] :: GetCustomersCustomerResponseBody200Sources'Data'Transactions' -> [BitcoinTransaction]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[getCustomersCustomerResponseBody200Sources'Data'Transactions'HasMore] :: GetCustomersCustomerResponseBody200Sources'Data'Transactions' -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerResponseBody200Sources'Data'Transactions'Url] :: GetCustomersCustomerResponseBody200Sources'Data'Transactions' -> Text
-- | Create a new
-- GetCustomersCustomerResponseBody200Sources'Data'Transactions'
-- with all required fields.
mkGetCustomersCustomerResponseBody200Sources'Data'Transactions' :: [BitcoinTransaction] -> Bool -> Text -> GetCustomersCustomerResponseBody200Sources'Data'Transactions'
-- | Defines the enum schema located at
-- paths./v1/customers/{customer}.GET.responses.200.content.application/json.schema.anyOf.properties.sources.properties.data.items.anyOf.properties.type
-- in the specification.
--
-- The `type` of the source. The `type` is a payment method, one of
-- `ach_credit_transfer`, `ach_debit`, `alipay`, `bancontact`, `card`,
-- `card_present`, `eps`, `giropay`, `ideal`, `multibanco`, `klarna`,
-- `p24`, `sepa_debit`, `sofort`, `three_d_secure`, or `wechat`. An
-- additional hash is included on the source with a name matching this
-- value. It contains additional information specific to the payment
-- method used.
data GetCustomersCustomerResponseBody200Sources'Data'Type'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
GetCustomersCustomerResponseBody200Sources'Data'Type'Other :: Value -> GetCustomersCustomerResponseBody200Sources'Data'Type'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
GetCustomersCustomerResponseBody200Sources'Data'Type'Typed :: Text -> GetCustomersCustomerResponseBody200Sources'Data'Type'
-- | Represents the JSON value "ach_credit_transfer"
GetCustomersCustomerResponseBody200Sources'Data'Type'EnumAchCreditTransfer :: GetCustomersCustomerResponseBody200Sources'Data'Type'
-- | Represents the JSON value "ach_debit"
GetCustomersCustomerResponseBody200Sources'Data'Type'EnumAchDebit :: GetCustomersCustomerResponseBody200Sources'Data'Type'
-- | Represents the JSON value "acss_debit"
GetCustomersCustomerResponseBody200Sources'Data'Type'EnumAcssDebit :: GetCustomersCustomerResponseBody200Sources'Data'Type'
-- | Represents the JSON value "alipay"
GetCustomersCustomerResponseBody200Sources'Data'Type'EnumAlipay :: GetCustomersCustomerResponseBody200Sources'Data'Type'
-- | Represents the JSON value "au_becs_debit"
GetCustomersCustomerResponseBody200Sources'Data'Type'EnumAuBecsDebit :: GetCustomersCustomerResponseBody200Sources'Data'Type'
-- | Represents the JSON value "bancontact"
GetCustomersCustomerResponseBody200Sources'Data'Type'EnumBancontact :: GetCustomersCustomerResponseBody200Sources'Data'Type'
-- | Represents the JSON value "card"
GetCustomersCustomerResponseBody200Sources'Data'Type'EnumCard :: GetCustomersCustomerResponseBody200Sources'Data'Type'
-- | Represents the JSON value "card_present"
GetCustomersCustomerResponseBody200Sources'Data'Type'EnumCardPresent :: GetCustomersCustomerResponseBody200Sources'Data'Type'
-- | Represents the JSON value "eps"
GetCustomersCustomerResponseBody200Sources'Data'Type'EnumEps :: GetCustomersCustomerResponseBody200Sources'Data'Type'
-- | Represents the JSON value "giropay"
GetCustomersCustomerResponseBody200Sources'Data'Type'EnumGiropay :: GetCustomersCustomerResponseBody200Sources'Data'Type'
-- | Represents the JSON value "ideal"
GetCustomersCustomerResponseBody200Sources'Data'Type'EnumIdeal :: GetCustomersCustomerResponseBody200Sources'Data'Type'
-- | Represents the JSON value "klarna"
GetCustomersCustomerResponseBody200Sources'Data'Type'EnumKlarna :: GetCustomersCustomerResponseBody200Sources'Data'Type'
-- | Represents the JSON value "multibanco"
GetCustomersCustomerResponseBody200Sources'Data'Type'EnumMultibanco :: GetCustomersCustomerResponseBody200Sources'Data'Type'
-- | Represents the JSON value "p24"
GetCustomersCustomerResponseBody200Sources'Data'Type'EnumP24 :: GetCustomersCustomerResponseBody200Sources'Data'Type'
-- | Represents the JSON value "sepa_debit"
GetCustomersCustomerResponseBody200Sources'Data'Type'EnumSepaDebit :: GetCustomersCustomerResponseBody200Sources'Data'Type'
-- | Represents the JSON value "sofort"
GetCustomersCustomerResponseBody200Sources'Data'Type'EnumSofort :: GetCustomersCustomerResponseBody200Sources'Data'Type'
-- | Represents the JSON value "three_d_secure"
GetCustomersCustomerResponseBody200Sources'Data'Type'EnumThreeDSecure :: GetCustomersCustomerResponseBody200Sources'Data'Type'
-- | Represents the JSON value "wechat"
GetCustomersCustomerResponseBody200Sources'Data'Type'EnumWechat :: GetCustomersCustomerResponseBody200Sources'Data'Type'
-- | Defines the object schema located at
-- paths./v1/customers/{customer}.GET.responses.200.content.application/json.schema.anyOf.properties.subscriptions
-- in the specification.
--
-- The customer's current subscriptions, if any.
data GetCustomersCustomerResponseBody200Subscriptions'
GetCustomersCustomerResponseBody200Subscriptions' :: [Subscription] -> Bool -> Text -> GetCustomersCustomerResponseBody200Subscriptions'
-- | data: Details about each object.
[getCustomersCustomerResponseBody200Subscriptions'Data] :: GetCustomersCustomerResponseBody200Subscriptions' -> [Subscription]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[getCustomersCustomerResponseBody200Subscriptions'HasMore] :: GetCustomersCustomerResponseBody200Subscriptions' -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerResponseBody200Subscriptions'Url] :: GetCustomersCustomerResponseBody200Subscriptions' -> Text
-- | Create a new GetCustomersCustomerResponseBody200Subscriptions'
-- with all required fields.
mkGetCustomersCustomerResponseBody200Subscriptions' :: [Subscription] -> Bool -> Text -> GetCustomersCustomerResponseBody200Subscriptions'
-- | Defines the enum schema located at
-- paths./v1/customers/{customer}.GET.responses.200.content.application/json.schema.anyOf.properties.tax_exempt
-- in the specification.
--
-- Describes the customer's tax exemption status. One of `none`,
-- `exempt`, or `reverse`. When set to `reverse`, invoice and receipt
-- PDFs include the text **"Reverse charge"**.
data GetCustomersCustomerResponseBody200TaxExempt'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
GetCustomersCustomerResponseBody200TaxExempt'Other :: Value -> GetCustomersCustomerResponseBody200TaxExempt'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
GetCustomersCustomerResponseBody200TaxExempt'Typed :: Text -> GetCustomersCustomerResponseBody200TaxExempt'
-- | Represents the JSON value "exempt"
GetCustomersCustomerResponseBody200TaxExempt'EnumExempt :: GetCustomersCustomerResponseBody200TaxExempt'
-- | Represents the JSON value "none"
GetCustomersCustomerResponseBody200TaxExempt'EnumNone :: GetCustomersCustomerResponseBody200TaxExempt'
-- | Represents the JSON value "reverse"
GetCustomersCustomerResponseBody200TaxExempt'EnumReverse :: GetCustomersCustomerResponseBody200TaxExempt'
-- | Defines the object schema located at
-- paths./v1/customers/{customer}.GET.responses.200.content.application/json.schema.anyOf.properties.tax_ids
-- in the specification.
--
-- The customer's tax IDs.
data GetCustomersCustomerResponseBody200TaxIds'
GetCustomersCustomerResponseBody200TaxIds' :: [TaxId] -> Bool -> Text -> GetCustomersCustomerResponseBody200TaxIds'
-- | data: Details about each object.
[getCustomersCustomerResponseBody200TaxIds'Data] :: GetCustomersCustomerResponseBody200TaxIds' -> [TaxId]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[getCustomersCustomerResponseBody200TaxIds'HasMore] :: GetCustomersCustomerResponseBody200TaxIds' -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersCustomerResponseBody200TaxIds'Url] :: GetCustomersCustomerResponseBody200TaxIds' -> Text
-- | Create a new GetCustomersCustomerResponseBody200TaxIds' with
-- all required fields.
mkGetCustomersCustomerResponseBody200TaxIds' :: [TaxId] -> Bool -> Text -> GetCustomersCustomerResponseBody200TaxIds'
instance GHC.Classes.Eq StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerParameters
instance GHC.Show.Show StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200Address'
instance GHC.Show.Show StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200Address'
instance GHC.Classes.Eq StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200DefaultSource'Variants
instance GHC.Show.Show StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200DefaultSource'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200Deleted'
instance GHC.Show.Show StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200Deleted'
instance GHC.Classes.Eq StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200Discount'Customer'Variants
instance GHC.Show.Show StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200Discount'Customer'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200Discount'Object'
instance GHC.Show.Show StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200Discount'Object'
instance GHC.Classes.Eq StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200Discount'PromotionCode'Variants
instance GHC.Show.Show StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200Discount'PromotionCode'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200Discount'
instance GHC.Show.Show StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200Discount'
instance GHC.Classes.Eq StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200Object'
instance GHC.Show.Show StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200Object'
instance GHC.Classes.Eq StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200Shipping'
instance GHC.Show.Show StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200Shipping'
instance GHC.Classes.Eq StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200Sources'Data'Account'Variants
instance GHC.Show.Show StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200Sources'Data'Account'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200Sources'Data'AvailablePayoutMethods'
instance GHC.Show.Show StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200Sources'Data'AvailablePayoutMethods'
instance GHC.Classes.Eq StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200Sources'Data'Customer'Variants
instance GHC.Show.Show StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200Sources'Data'Customer'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200Sources'Data'Object'
instance GHC.Show.Show StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200Sources'Data'Object'
instance GHC.Classes.Eq StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200Sources'Data'Owner'Address'
instance GHC.Show.Show StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200Sources'Data'Owner'Address'
instance GHC.Classes.Eq StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200Sources'Data'Owner'VerifiedAddress'
instance GHC.Show.Show StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200Sources'Data'Owner'VerifiedAddress'
instance GHC.Classes.Eq StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200Sources'Data'Owner'
instance GHC.Show.Show StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200Sources'Data'Owner'
instance GHC.Classes.Eq StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200Sources'Data'Recipient'Variants
instance GHC.Show.Show StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200Sources'Data'Recipient'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200Sources'Data'Transactions'
instance GHC.Show.Show StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200Sources'Data'Transactions'
instance GHC.Classes.Eq StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200Sources'Data'Type'
instance GHC.Show.Show StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200Sources'Data'Type'
instance GHC.Classes.Eq StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200Sources'Data'
instance GHC.Show.Show StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200Sources'Data'
instance GHC.Classes.Eq StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200Sources'
instance GHC.Show.Show StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200Sources'
instance GHC.Classes.Eq StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200Subscriptions'
instance GHC.Show.Show StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200Subscriptions'
instance GHC.Classes.Eq StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200TaxExempt'
instance GHC.Show.Show StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200TaxExempt'
instance GHC.Classes.Eq StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200TaxIds'
instance GHC.Show.Show StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200TaxIds'
instance GHC.Classes.Eq StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200
instance GHC.Show.Show StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponse
instance GHC.Show.Show StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200TaxIds'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200TaxIds'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200TaxExempt'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200TaxExempt'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200Subscriptions'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200Subscriptions'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200Sources'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200Sources'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200Sources'Data'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200Sources'Data'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200Sources'Data'Type'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200Sources'Data'Type'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200Sources'Data'Transactions'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200Sources'Data'Transactions'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200Sources'Data'Recipient'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200Sources'Data'Recipient'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200Sources'Data'Owner'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200Sources'Data'Owner'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200Sources'Data'Owner'VerifiedAddress'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200Sources'Data'Owner'VerifiedAddress'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200Sources'Data'Owner'Address'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200Sources'Data'Owner'Address'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200Sources'Data'Object'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200Sources'Data'Object'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200Sources'Data'Customer'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200Sources'Data'Customer'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200Sources'Data'AvailablePayoutMethods'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200Sources'Data'AvailablePayoutMethods'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200Sources'Data'Account'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200Sources'Data'Account'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200Shipping'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200Shipping'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200Object'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200Object'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200Discount'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200Discount'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200Discount'PromotionCode'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200Discount'PromotionCode'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200Discount'Object'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200Discount'Object'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200Discount'Customer'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200Discount'Customer'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200Deleted'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200Deleted'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200DefaultSource'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200DefaultSource'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200Address'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerResponseBody200Address'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetCustomersCustomer.GetCustomersCustomerParameters
-- | Contains the different functions to run the operation getCustomers
module StripeAPI.Operations.GetCustomers
-- |
-- GET /v1/customers
--
--
-- <p>Returns a list of your customers. The customers are returned
-- sorted by creation date, with the most recent customers appearing
-- first.</p>
getCustomers :: forall m. MonadHTTP m => GetCustomersParameters -> ClientT m (Response GetCustomersResponse)
-- | Defines the object schema located at
-- paths./v1/customers.GET.parameters in the specification.
data GetCustomersParameters
GetCustomersParameters :: Maybe GetCustomersParametersQueryCreated'Variants -> Maybe Text -> Maybe Text -> Maybe [Text] -> Maybe Int -> Maybe Text -> GetCustomersParameters
-- | queryCreated: Represents the parameter named 'created'
[getCustomersParametersQueryCreated] :: GetCustomersParameters -> Maybe GetCustomersParametersQueryCreated'Variants
-- | queryEmail: Represents the parameter named 'email'
--
-- A case-sensitive filter on the list based on the customer's `email`
-- field. The value must be a string.
--
-- Constraints:
--
--
-- - Maximum length of 512
--
[getCustomersParametersQueryEmail] :: GetCustomersParameters -> Maybe Text
-- | queryEnding_before: Represents the parameter named 'ending_before'
--
-- A cursor for use in pagination. `ending_before` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, starting with `obj_bar`, your
-- subsequent call can include `ending_before=obj_bar` in order to fetch
-- the previous page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersParametersQueryEndingBefore] :: GetCustomersParameters -> Maybe Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getCustomersParametersQueryExpand] :: GetCustomersParameters -> Maybe [Text]
-- | queryLimit: Represents the parameter named 'limit'
--
-- A limit on the number of objects to be returned. Limit can range
-- between 1 and 100, and the default is 10.
[getCustomersParametersQueryLimit] :: GetCustomersParameters -> Maybe Int
-- | queryStarting_after: Represents the parameter named 'starting_after'
--
-- A cursor for use in pagination. `starting_after` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, ending with `obj_foo`, your
-- subsequent call can include `starting_after=obj_foo` in order to fetch
-- the next page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCustomersParametersQueryStartingAfter] :: GetCustomersParameters -> Maybe Text
-- | Create a new GetCustomersParameters with all required fields.
mkGetCustomersParameters :: GetCustomersParameters
-- | Defines the object schema located at
-- paths./v1/customers.GET.parameters.properties.queryCreated.anyOf
-- in the specification.
data GetCustomersParametersQueryCreated'OneOf1
GetCustomersParametersQueryCreated'OneOf1 :: Maybe Int -> Maybe Int -> Maybe Int -> Maybe Int -> GetCustomersParametersQueryCreated'OneOf1
-- | gt
[getCustomersParametersQueryCreated'OneOf1Gt] :: GetCustomersParametersQueryCreated'OneOf1 -> Maybe Int
-- | gte
[getCustomersParametersQueryCreated'OneOf1Gte] :: GetCustomersParametersQueryCreated'OneOf1 -> Maybe Int
-- | lt
[getCustomersParametersQueryCreated'OneOf1Lt] :: GetCustomersParametersQueryCreated'OneOf1 -> Maybe Int
-- | lte
[getCustomersParametersQueryCreated'OneOf1Lte] :: GetCustomersParametersQueryCreated'OneOf1 -> Maybe Int
-- | Create a new GetCustomersParametersQueryCreated'OneOf1 with all
-- required fields.
mkGetCustomersParametersQueryCreated'OneOf1 :: GetCustomersParametersQueryCreated'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/customers.GET.parameters.properties.queryCreated.anyOf
-- in the specification.
--
-- Represents the parameter named 'created'
data GetCustomersParametersQueryCreated'Variants
GetCustomersParametersQueryCreated'GetCustomersParametersQueryCreated'OneOf1 :: GetCustomersParametersQueryCreated'OneOf1 -> GetCustomersParametersQueryCreated'Variants
GetCustomersParametersQueryCreated'Int :: Int -> GetCustomersParametersQueryCreated'Variants
-- | Represents a response of the operation getCustomers.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetCustomersResponseError is used.
data GetCustomersResponse
-- | Means either no matching case available or a parse error
GetCustomersResponseError :: String -> GetCustomersResponse
-- | Successful response.
GetCustomersResponse200 :: GetCustomersResponseBody200 -> GetCustomersResponse
-- | Error response.
GetCustomersResponseDefault :: Error -> GetCustomersResponse
-- | Defines the object schema located at
-- paths./v1/customers.GET.responses.200.content.application/json.schema
-- in the specification.
data GetCustomersResponseBody200
GetCustomersResponseBody200 :: [Customer] -> Bool -> Text -> GetCustomersResponseBody200
-- | data
[getCustomersResponseBody200Data] :: GetCustomersResponseBody200 -> [Customer]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[getCustomersResponseBody200HasMore] :: GetCustomersResponseBody200 -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
-- - Must match pattern '^/v1/customers'
--
[getCustomersResponseBody200Url] :: GetCustomersResponseBody200 -> Text
-- | Create a new GetCustomersResponseBody200 with all required
-- fields.
mkGetCustomersResponseBody200 :: [Customer] -> Bool -> Text -> GetCustomersResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetCustomers.GetCustomersParametersQueryCreated'OneOf1
instance GHC.Show.Show StripeAPI.Operations.GetCustomers.GetCustomersParametersQueryCreated'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.GetCustomers.GetCustomersParametersQueryCreated'Variants
instance GHC.Show.Show StripeAPI.Operations.GetCustomers.GetCustomersParametersQueryCreated'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetCustomers.GetCustomersParameters
instance GHC.Show.Show StripeAPI.Operations.GetCustomers.GetCustomersParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetCustomers.GetCustomersResponseBody200
instance GHC.Show.Show StripeAPI.Operations.GetCustomers.GetCustomersResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetCustomers.GetCustomersResponse
instance GHC.Show.Show StripeAPI.Operations.GetCustomers.GetCustomersResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetCustomers.GetCustomersResponseBody200
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetCustomers.GetCustomersResponseBody200
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetCustomers.GetCustomersParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetCustomers.GetCustomersParameters
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetCustomers.GetCustomersParametersQueryCreated'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetCustomers.GetCustomersParametersQueryCreated'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetCustomers.GetCustomersParametersQueryCreated'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetCustomers.GetCustomersParametersQueryCreated'OneOf1
-- | Contains the different functions to run the operation
-- getCreditNotesPreviewLines
module StripeAPI.Operations.GetCreditNotesPreviewLines
-- |
-- GET /v1/credit_notes/preview/lines
--
--
-- <p>When retrieving a credit note preview, you’ll get a
-- <strong>lines</strong> property containing the first
-- handful of those items. This URL you can retrieve the full (paginated)
-- list of line items.</p>
getCreditNotesPreviewLines :: forall m. MonadHTTP m => GetCreditNotesPreviewLinesParameters -> ClientT m (Response GetCreditNotesPreviewLinesResponse)
-- | Defines the object schema located at
-- paths./v1/credit_notes/preview/lines.GET.parameters in the
-- specification.
data GetCreditNotesPreviewLinesParameters
GetCreditNotesPreviewLinesParameters :: Maybe Int -> Maybe Int -> Maybe Text -> Maybe [Text] -> Text -> Maybe Int -> Maybe [GetCreditNotesPreviewLinesParametersQueryLines'] -> Maybe Text -> Maybe Object -> Maybe Int -> Maybe GetCreditNotesPreviewLinesParametersQueryReason' -> Maybe Text -> Maybe Int -> Maybe Text -> GetCreditNotesPreviewLinesParameters
-- | queryAmount: Represents the parameter named 'amount'
--
-- The integer amount in %s representing the total amount of the credit
-- note.
[getCreditNotesPreviewLinesParametersQueryAmount] :: GetCreditNotesPreviewLinesParameters -> Maybe Int
-- | queryCredit_amount: Represents the parameter named 'credit_amount'
--
-- The integer amount in %s representing the amount to credit the
-- customer's balance, which will be automatically applied to their next
-- invoice.
[getCreditNotesPreviewLinesParametersQueryCreditAmount] :: GetCreditNotesPreviewLinesParameters -> Maybe Int
-- | queryEnding_before: Represents the parameter named 'ending_before'
--
-- A cursor for use in pagination. `ending_before` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, starting with `obj_bar`, your
-- subsequent call can include `ending_before=obj_bar` in order to fetch
-- the previous page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCreditNotesPreviewLinesParametersQueryEndingBefore] :: GetCreditNotesPreviewLinesParameters -> Maybe Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getCreditNotesPreviewLinesParametersQueryExpand] :: GetCreditNotesPreviewLinesParameters -> Maybe [Text]
-- | queryInvoice: Represents the parameter named 'invoice'
--
-- ID of the invoice.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCreditNotesPreviewLinesParametersQueryInvoice] :: GetCreditNotesPreviewLinesParameters -> Text
-- | queryLimit: Represents the parameter named 'limit'
--
-- A limit on the number of objects to be returned. Limit can range
-- between 1 and 100, and the default is 10.
[getCreditNotesPreviewLinesParametersQueryLimit] :: GetCreditNotesPreviewLinesParameters -> Maybe Int
-- | queryLines: Represents the parameter named 'lines'
--
-- Line items that make up the credit note.
[getCreditNotesPreviewLinesParametersQueryLines] :: GetCreditNotesPreviewLinesParameters -> Maybe [GetCreditNotesPreviewLinesParametersQueryLines']
-- | queryMemo: Represents the parameter named 'memo'
--
-- The credit note's memo appears on the credit note PDF.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCreditNotesPreviewLinesParametersQueryMemo] :: GetCreditNotesPreviewLinesParameters -> Maybe Text
-- | queryMetadata: Represents the parameter named 'metadata'
--
-- Set of key-value pairs that you can attach to an object. This
-- can be useful for storing additional information about the object in a
-- structured format. Individual keys can be unset by posting an empty
-- value to them. All keys can be unset by posting an empty value to
-- `metadata`.
[getCreditNotesPreviewLinesParametersQueryMetadata] :: GetCreditNotesPreviewLinesParameters -> Maybe Object
-- | queryOut_of_band_amount: Represents the parameter named
-- 'out_of_band_amount'
--
-- The integer amount in %s representing the amount that is credited
-- outside of Stripe.
[getCreditNotesPreviewLinesParametersQueryOutOfBandAmount] :: GetCreditNotesPreviewLinesParameters -> Maybe Int
-- | queryReason: Represents the parameter named 'reason'
--
-- Reason for issuing this credit note, one of `duplicate`, `fraudulent`,
-- `order_change`, or `product_unsatisfactory`
[getCreditNotesPreviewLinesParametersQueryReason] :: GetCreditNotesPreviewLinesParameters -> Maybe GetCreditNotesPreviewLinesParametersQueryReason'
-- | queryRefund: Represents the parameter named 'refund'
--
-- ID of an existing refund to link this credit note to.
[getCreditNotesPreviewLinesParametersQueryRefund] :: GetCreditNotesPreviewLinesParameters -> Maybe Text
-- | queryRefund_amount: Represents the parameter named 'refund_amount'
--
-- The integer amount in %s representing the amount to refund. If set, a
-- refund will be created for the charge associated with the invoice.
[getCreditNotesPreviewLinesParametersQueryRefundAmount] :: GetCreditNotesPreviewLinesParameters -> Maybe Int
-- | queryStarting_after: Represents the parameter named 'starting_after'
--
-- A cursor for use in pagination. `starting_after` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, ending with `obj_foo`, your
-- subsequent call can include `starting_after=obj_foo` in order to fetch
-- the next page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCreditNotesPreviewLinesParametersQueryStartingAfter] :: GetCreditNotesPreviewLinesParameters -> Maybe Text
-- | Create a new GetCreditNotesPreviewLinesParameters with all
-- required fields.
mkGetCreditNotesPreviewLinesParameters :: Text -> GetCreditNotesPreviewLinesParameters
-- | Defines the object schema located at
-- paths./v1/credit_notes/preview/lines.GET.parameters.properties.queryLines.items
-- in the specification.
data GetCreditNotesPreviewLinesParametersQueryLines'
GetCreditNotesPreviewLinesParametersQueryLines' :: Maybe Int -> Maybe Text -> Maybe Text -> Maybe Int -> Maybe GetCreditNotesPreviewLinesParametersQueryLines'TaxRates'Variants -> GetCreditNotesPreviewLinesParametersQueryLines'Type' -> Maybe Int -> Maybe Text -> GetCreditNotesPreviewLinesParametersQueryLines'
-- | amount
[getCreditNotesPreviewLinesParametersQueryLines'Amount] :: GetCreditNotesPreviewLinesParametersQueryLines' -> Maybe Int
-- | description
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCreditNotesPreviewLinesParametersQueryLines'Description] :: GetCreditNotesPreviewLinesParametersQueryLines' -> Maybe Text
-- | invoice_line_item
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCreditNotesPreviewLinesParametersQueryLines'InvoiceLineItem] :: GetCreditNotesPreviewLinesParametersQueryLines' -> Maybe Text
-- | quantity
[getCreditNotesPreviewLinesParametersQueryLines'Quantity] :: GetCreditNotesPreviewLinesParametersQueryLines' -> Maybe Int
-- | tax_rates
[getCreditNotesPreviewLinesParametersQueryLines'TaxRates] :: GetCreditNotesPreviewLinesParametersQueryLines' -> Maybe GetCreditNotesPreviewLinesParametersQueryLines'TaxRates'Variants
-- | type
[getCreditNotesPreviewLinesParametersQueryLines'Type] :: GetCreditNotesPreviewLinesParametersQueryLines' -> GetCreditNotesPreviewLinesParametersQueryLines'Type'
-- | unit_amount
[getCreditNotesPreviewLinesParametersQueryLines'UnitAmount] :: GetCreditNotesPreviewLinesParametersQueryLines' -> Maybe Int
-- | unit_amount_decimal
[getCreditNotesPreviewLinesParametersQueryLines'UnitAmountDecimal] :: GetCreditNotesPreviewLinesParametersQueryLines' -> Maybe Text
-- | Create a new GetCreditNotesPreviewLinesParametersQueryLines'
-- with all required fields.
mkGetCreditNotesPreviewLinesParametersQueryLines' :: GetCreditNotesPreviewLinesParametersQueryLines'Type' -> GetCreditNotesPreviewLinesParametersQueryLines'
-- | Defines the oneOf schema located at
-- paths./v1/credit_notes/preview/lines.GET.parameters.properties.queryLines.items.properties.tax_rates.anyOf
-- in the specification.
data GetCreditNotesPreviewLinesParametersQueryLines'TaxRates'Variants
-- | Represents the JSON value ""
GetCreditNotesPreviewLinesParametersQueryLines'TaxRates'EmptyString :: GetCreditNotesPreviewLinesParametersQueryLines'TaxRates'Variants
GetCreditNotesPreviewLinesParametersQueryLines'TaxRates'ListTText :: [Text] -> GetCreditNotesPreviewLinesParametersQueryLines'TaxRates'Variants
-- | Defines the enum schema located at
-- paths./v1/credit_notes/preview/lines.GET.parameters.properties.queryLines.items.properties.type
-- in the specification.
data GetCreditNotesPreviewLinesParametersQueryLines'Type'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
GetCreditNotesPreviewLinesParametersQueryLines'Type'Other :: Value -> GetCreditNotesPreviewLinesParametersQueryLines'Type'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
GetCreditNotesPreviewLinesParametersQueryLines'Type'Typed :: Text -> GetCreditNotesPreviewLinesParametersQueryLines'Type'
-- | Represents the JSON value "custom_line_item"
GetCreditNotesPreviewLinesParametersQueryLines'Type'EnumCustomLineItem :: GetCreditNotesPreviewLinesParametersQueryLines'Type'
-- | Represents the JSON value "invoice_line_item"
GetCreditNotesPreviewLinesParametersQueryLines'Type'EnumInvoiceLineItem :: GetCreditNotesPreviewLinesParametersQueryLines'Type'
-- | Defines the enum schema located at
-- paths./v1/credit_notes/preview/lines.GET.parameters.properties.queryReason
-- in the specification.
--
-- Represents the parameter named 'reason'
--
-- Reason for issuing this credit note, one of `duplicate`, `fraudulent`,
-- `order_change`, or `product_unsatisfactory`
data GetCreditNotesPreviewLinesParametersQueryReason'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
GetCreditNotesPreviewLinesParametersQueryReason'Other :: Value -> GetCreditNotesPreviewLinesParametersQueryReason'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
GetCreditNotesPreviewLinesParametersQueryReason'Typed :: Text -> GetCreditNotesPreviewLinesParametersQueryReason'
-- | Represents the JSON value "duplicate"
GetCreditNotesPreviewLinesParametersQueryReason'EnumDuplicate :: GetCreditNotesPreviewLinesParametersQueryReason'
-- | Represents the JSON value "fraudulent"
GetCreditNotesPreviewLinesParametersQueryReason'EnumFraudulent :: GetCreditNotesPreviewLinesParametersQueryReason'
-- | Represents the JSON value "order_change"
GetCreditNotesPreviewLinesParametersQueryReason'EnumOrderChange :: GetCreditNotesPreviewLinesParametersQueryReason'
-- | Represents the JSON value "product_unsatisfactory"
GetCreditNotesPreviewLinesParametersQueryReason'EnumProductUnsatisfactory :: GetCreditNotesPreviewLinesParametersQueryReason'
-- | Represents a response of the operation
-- getCreditNotesPreviewLines.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetCreditNotesPreviewLinesResponseError
-- is used.
data GetCreditNotesPreviewLinesResponse
-- | Means either no matching case available or a parse error
GetCreditNotesPreviewLinesResponseError :: String -> GetCreditNotesPreviewLinesResponse
-- | Successful response.
GetCreditNotesPreviewLinesResponse200 :: GetCreditNotesPreviewLinesResponseBody200 -> GetCreditNotesPreviewLinesResponse
-- | Error response.
GetCreditNotesPreviewLinesResponseDefault :: Error -> GetCreditNotesPreviewLinesResponse
-- | Defines the object schema located at
-- paths./v1/credit_notes/preview/lines.GET.responses.200.content.application/json.schema
-- in the specification.
data GetCreditNotesPreviewLinesResponseBody200
GetCreditNotesPreviewLinesResponseBody200 :: [CreditNoteLineItem] -> Bool -> Text -> GetCreditNotesPreviewLinesResponseBody200
-- | data: Details about each object.
[getCreditNotesPreviewLinesResponseBody200Data] :: GetCreditNotesPreviewLinesResponseBody200 -> [CreditNoteLineItem]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[getCreditNotesPreviewLinesResponseBody200HasMore] :: GetCreditNotesPreviewLinesResponseBody200 -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCreditNotesPreviewLinesResponseBody200Url] :: GetCreditNotesPreviewLinesResponseBody200 -> Text
-- | Create a new GetCreditNotesPreviewLinesResponseBody200 with all
-- required fields.
mkGetCreditNotesPreviewLinesResponseBody200 :: [CreditNoteLineItem] -> Bool -> Text -> GetCreditNotesPreviewLinesResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetCreditNotesPreviewLines.GetCreditNotesPreviewLinesParametersQueryLines'TaxRates'Variants
instance GHC.Show.Show StripeAPI.Operations.GetCreditNotesPreviewLines.GetCreditNotesPreviewLinesParametersQueryLines'TaxRates'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetCreditNotesPreviewLines.GetCreditNotesPreviewLinesParametersQueryLines'Type'
instance GHC.Show.Show StripeAPI.Operations.GetCreditNotesPreviewLines.GetCreditNotesPreviewLinesParametersQueryLines'Type'
instance GHC.Classes.Eq StripeAPI.Operations.GetCreditNotesPreviewLines.GetCreditNotesPreviewLinesParametersQueryLines'
instance GHC.Show.Show StripeAPI.Operations.GetCreditNotesPreviewLines.GetCreditNotesPreviewLinesParametersQueryLines'
instance GHC.Classes.Eq StripeAPI.Operations.GetCreditNotesPreviewLines.GetCreditNotesPreviewLinesParametersQueryReason'
instance GHC.Show.Show StripeAPI.Operations.GetCreditNotesPreviewLines.GetCreditNotesPreviewLinesParametersQueryReason'
instance GHC.Classes.Eq StripeAPI.Operations.GetCreditNotesPreviewLines.GetCreditNotesPreviewLinesParameters
instance GHC.Show.Show StripeAPI.Operations.GetCreditNotesPreviewLines.GetCreditNotesPreviewLinesParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetCreditNotesPreviewLines.GetCreditNotesPreviewLinesResponseBody200
instance GHC.Show.Show StripeAPI.Operations.GetCreditNotesPreviewLines.GetCreditNotesPreviewLinesResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetCreditNotesPreviewLines.GetCreditNotesPreviewLinesResponse
instance GHC.Show.Show StripeAPI.Operations.GetCreditNotesPreviewLines.GetCreditNotesPreviewLinesResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetCreditNotesPreviewLines.GetCreditNotesPreviewLinesResponseBody200
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetCreditNotesPreviewLines.GetCreditNotesPreviewLinesResponseBody200
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetCreditNotesPreviewLines.GetCreditNotesPreviewLinesParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetCreditNotesPreviewLines.GetCreditNotesPreviewLinesParameters
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetCreditNotesPreviewLines.GetCreditNotesPreviewLinesParametersQueryReason'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetCreditNotesPreviewLines.GetCreditNotesPreviewLinesParametersQueryReason'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetCreditNotesPreviewLines.GetCreditNotesPreviewLinesParametersQueryLines'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetCreditNotesPreviewLines.GetCreditNotesPreviewLinesParametersQueryLines'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetCreditNotesPreviewLines.GetCreditNotesPreviewLinesParametersQueryLines'Type'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetCreditNotesPreviewLines.GetCreditNotesPreviewLinesParametersQueryLines'Type'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetCreditNotesPreviewLines.GetCreditNotesPreviewLinesParametersQueryLines'TaxRates'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetCreditNotesPreviewLines.GetCreditNotesPreviewLinesParametersQueryLines'TaxRates'Variants
-- | Contains the different functions to run the operation
-- getCreditNotesPreview
module StripeAPI.Operations.GetCreditNotesPreview
-- |
-- GET /v1/credit_notes/preview
--
--
-- <p>Get a preview of a credit note without creating it.</p>
getCreditNotesPreview :: forall m. MonadHTTP m => GetCreditNotesPreviewParameters -> ClientT m (Response GetCreditNotesPreviewResponse)
-- | Defines the object schema located at
-- paths./v1/credit_notes/preview.GET.parameters in the
-- specification.
data GetCreditNotesPreviewParameters
GetCreditNotesPreviewParameters :: Maybe Int -> Maybe Int -> Maybe [Text] -> Text -> Maybe [GetCreditNotesPreviewParametersQueryLines'] -> Maybe Text -> Maybe Object -> Maybe Int -> Maybe GetCreditNotesPreviewParametersQueryReason' -> Maybe Text -> Maybe Int -> GetCreditNotesPreviewParameters
-- | queryAmount: Represents the parameter named 'amount'
--
-- The integer amount in %s representing the total amount of the credit
-- note.
[getCreditNotesPreviewParametersQueryAmount] :: GetCreditNotesPreviewParameters -> Maybe Int
-- | queryCredit_amount: Represents the parameter named 'credit_amount'
--
-- The integer amount in %s representing the amount to credit the
-- customer's balance, which will be automatically applied to their next
-- invoice.
[getCreditNotesPreviewParametersQueryCreditAmount] :: GetCreditNotesPreviewParameters -> Maybe Int
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getCreditNotesPreviewParametersQueryExpand] :: GetCreditNotesPreviewParameters -> Maybe [Text]
-- | queryInvoice: Represents the parameter named 'invoice'
--
-- ID of the invoice.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCreditNotesPreviewParametersQueryInvoice] :: GetCreditNotesPreviewParameters -> Text
-- | queryLines: Represents the parameter named 'lines'
--
-- Line items that make up the credit note.
[getCreditNotesPreviewParametersQueryLines] :: GetCreditNotesPreviewParameters -> Maybe [GetCreditNotesPreviewParametersQueryLines']
-- | queryMemo: Represents the parameter named 'memo'
--
-- The credit note's memo appears on the credit note PDF.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCreditNotesPreviewParametersQueryMemo] :: GetCreditNotesPreviewParameters -> Maybe Text
-- | queryMetadata: Represents the parameter named 'metadata'
--
-- Set of key-value pairs that you can attach to an object. This
-- can be useful for storing additional information about the object in a
-- structured format. Individual keys can be unset by posting an empty
-- value to them. All keys can be unset by posting an empty value to
-- `metadata`.
[getCreditNotesPreviewParametersQueryMetadata] :: GetCreditNotesPreviewParameters -> Maybe Object
-- | queryOut_of_band_amount: Represents the parameter named
-- 'out_of_band_amount'
--
-- The integer amount in %s representing the amount that is credited
-- outside of Stripe.
[getCreditNotesPreviewParametersQueryOutOfBandAmount] :: GetCreditNotesPreviewParameters -> Maybe Int
-- | queryReason: Represents the parameter named 'reason'
--
-- Reason for issuing this credit note, one of `duplicate`, `fraudulent`,
-- `order_change`, or `product_unsatisfactory`
[getCreditNotesPreviewParametersQueryReason] :: GetCreditNotesPreviewParameters -> Maybe GetCreditNotesPreviewParametersQueryReason'
-- | queryRefund: Represents the parameter named 'refund'
--
-- ID of an existing refund to link this credit note to.
[getCreditNotesPreviewParametersQueryRefund] :: GetCreditNotesPreviewParameters -> Maybe Text
-- | queryRefund_amount: Represents the parameter named 'refund_amount'
--
-- The integer amount in %s representing the amount to refund. If set, a
-- refund will be created for the charge associated with the invoice.
[getCreditNotesPreviewParametersQueryRefundAmount] :: GetCreditNotesPreviewParameters -> Maybe Int
-- | Create a new GetCreditNotesPreviewParameters with all required
-- fields.
mkGetCreditNotesPreviewParameters :: Text -> GetCreditNotesPreviewParameters
-- | Defines the object schema located at
-- paths./v1/credit_notes/preview.GET.parameters.properties.queryLines.items
-- in the specification.
data GetCreditNotesPreviewParametersQueryLines'
GetCreditNotesPreviewParametersQueryLines' :: Maybe Int -> Maybe Text -> Maybe Text -> Maybe Int -> Maybe GetCreditNotesPreviewParametersQueryLines'TaxRates'Variants -> GetCreditNotesPreviewParametersQueryLines'Type' -> Maybe Int -> Maybe Text -> GetCreditNotesPreviewParametersQueryLines'
-- | amount
[getCreditNotesPreviewParametersQueryLines'Amount] :: GetCreditNotesPreviewParametersQueryLines' -> Maybe Int
-- | description
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCreditNotesPreviewParametersQueryLines'Description] :: GetCreditNotesPreviewParametersQueryLines' -> Maybe Text
-- | invoice_line_item
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCreditNotesPreviewParametersQueryLines'InvoiceLineItem] :: GetCreditNotesPreviewParametersQueryLines' -> Maybe Text
-- | quantity
[getCreditNotesPreviewParametersQueryLines'Quantity] :: GetCreditNotesPreviewParametersQueryLines' -> Maybe Int
-- | tax_rates
[getCreditNotesPreviewParametersQueryLines'TaxRates] :: GetCreditNotesPreviewParametersQueryLines' -> Maybe GetCreditNotesPreviewParametersQueryLines'TaxRates'Variants
-- | type
[getCreditNotesPreviewParametersQueryLines'Type] :: GetCreditNotesPreviewParametersQueryLines' -> GetCreditNotesPreviewParametersQueryLines'Type'
-- | unit_amount
[getCreditNotesPreviewParametersQueryLines'UnitAmount] :: GetCreditNotesPreviewParametersQueryLines' -> Maybe Int
-- | unit_amount_decimal
[getCreditNotesPreviewParametersQueryLines'UnitAmountDecimal] :: GetCreditNotesPreviewParametersQueryLines' -> Maybe Text
-- | Create a new GetCreditNotesPreviewParametersQueryLines' with
-- all required fields.
mkGetCreditNotesPreviewParametersQueryLines' :: GetCreditNotesPreviewParametersQueryLines'Type' -> GetCreditNotesPreviewParametersQueryLines'
-- | Defines the oneOf schema located at
-- paths./v1/credit_notes/preview.GET.parameters.properties.queryLines.items.properties.tax_rates.anyOf
-- in the specification.
data GetCreditNotesPreviewParametersQueryLines'TaxRates'Variants
-- | Represents the JSON value ""
GetCreditNotesPreviewParametersQueryLines'TaxRates'EmptyString :: GetCreditNotesPreviewParametersQueryLines'TaxRates'Variants
GetCreditNotesPreviewParametersQueryLines'TaxRates'ListTText :: [Text] -> GetCreditNotesPreviewParametersQueryLines'TaxRates'Variants
-- | Defines the enum schema located at
-- paths./v1/credit_notes/preview.GET.parameters.properties.queryLines.items.properties.type
-- in the specification.
data GetCreditNotesPreviewParametersQueryLines'Type'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
GetCreditNotesPreviewParametersQueryLines'Type'Other :: Value -> GetCreditNotesPreviewParametersQueryLines'Type'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
GetCreditNotesPreviewParametersQueryLines'Type'Typed :: Text -> GetCreditNotesPreviewParametersQueryLines'Type'
-- | Represents the JSON value "custom_line_item"
GetCreditNotesPreviewParametersQueryLines'Type'EnumCustomLineItem :: GetCreditNotesPreviewParametersQueryLines'Type'
-- | Represents the JSON value "invoice_line_item"
GetCreditNotesPreviewParametersQueryLines'Type'EnumInvoiceLineItem :: GetCreditNotesPreviewParametersQueryLines'Type'
-- | Defines the enum schema located at
-- paths./v1/credit_notes/preview.GET.parameters.properties.queryReason
-- in the specification.
--
-- Represents the parameter named 'reason'
--
-- Reason for issuing this credit note, one of `duplicate`, `fraudulent`,
-- `order_change`, or `product_unsatisfactory`
data GetCreditNotesPreviewParametersQueryReason'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
GetCreditNotesPreviewParametersQueryReason'Other :: Value -> GetCreditNotesPreviewParametersQueryReason'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
GetCreditNotesPreviewParametersQueryReason'Typed :: Text -> GetCreditNotesPreviewParametersQueryReason'
-- | Represents the JSON value "duplicate"
GetCreditNotesPreviewParametersQueryReason'EnumDuplicate :: GetCreditNotesPreviewParametersQueryReason'
-- | Represents the JSON value "fraudulent"
GetCreditNotesPreviewParametersQueryReason'EnumFraudulent :: GetCreditNotesPreviewParametersQueryReason'
-- | Represents the JSON value "order_change"
GetCreditNotesPreviewParametersQueryReason'EnumOrderChange :: GetCreditNotesPreviewParametersQueryReason'
-- | Represents the JSON value "product_unsatisfactory"
GetCreditNotesPreviewParametersQueryReason'EnumProductUnsatisfactory :: GetCreditNotesPreviewParametersQueryReason'
-- | Represents a response of the operation getCreditNotesPreview.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetCreditNotesPreviewResponseError is
-- used.
data GetCreditNotesPreviewResponse
-- | Means either no matching case available or a parse error
GetCreditNotesPreviewResponseError :: String -> GetCreditNotesPreviewResponse
-- | Successful response.
GetCreditNotesPreviewResponse200 :: CreditNote -> GetCreditNotesPreviewResponse
-- | Error response.
GetCreditNotesPreviewResponseDefault :: Error -> GetCreditNotesPreviewResponse
instance GHC.Classes.Eq StripeAPI.Operations.GetCreditNotesPreview.GetCreditNotesPreviewParametersQueryLines'TaxRates'Variants
instance GHC.Show.Show StripeAPI.Operations.GetCreditNotesPreview.GetCreditNotesPreviewParametersQueryLines'TaxRates'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetCreditNotesPreview.GetCreditNotesPreviewParametersQueryLines'Type'
instance GHC.Show.Show StripeAPI.Operations.GetCreditNotesPreview.GetCreditNotesPreviewParametersQueryLines'Type'
instance GHC.Classes.Eq StripeAPI.Operations.GetCreditNotesPreview.GetCreditNotesPreviewParametersQueryLines'
instance GHC.Show.Show StripeAPI.Operations.GetCreditNotesPreview.GetCreditNotesPreviewParametersQueryLines'
instance GHC.Classes.Eq StripeAPI.Operations.GetCreditNotesPreview.GetCreditNotesPreviewParametersQueryReason'
instance GHC.Show.Show StripeAPI.Operations.GetCreditNotesPreview.GetCreditNotesPreviewParametersQueryReason'
instance GHC.Classes.Eq StripeAPI.Operations.GetCreditNotesPreview.GetCreditNotesPreviewParameters
instance GHC.Show.Show StripeAPI.Operations.GetCreditNotesPreview.GetCreditNotesPreviewParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetCreditNotesPreview.GetCreditNotesPreviewResponse
instance GHC.Show.Show StripeAPI.Operations.GetCreditNotesPreview.GetCreditNotesPreviewResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetCreditNotesPreview.GetCreditNotesPreviewParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetCreditNotesPreview.GetCreditNotesPreviewParameters
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetCreditNotesPreview.GetCreditNotesPreviewParametersQueryReason'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetCreditNotesPreview.GetCreditNotesPreviewParametersQueryReason'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetCreditNotesPreview.GetCreditNotesPreviewParametersQueryLines'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetCreditNotesPreview.GetCreditNotesPreviewParametersQueryLines'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetCreditNotesPreview.GetCreditNotesPreviewParametersQueryLines'Type'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetCreditNotesPreview.GetCreditNotesPreviewParametersQueryLines'Type'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetCreditNotesPreview.GetCreditNotesPreviewParametersQueryLines'TaxRates'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetCreditNotesPreview.GetCreditNotesPreviewParametersQueryLines'TaxRates'Variants
-- | Contains the different functions to run the operation getCreditNotesId
module StripeAPI.Operations.GetCreditNotesId
-- |
-- GET /v1/credit_notes/{id}
--
--
-- <p>Retrieves the credit note object with the given
-- identifier.</p>
getCreditNotesId :: forall m. MonadHTTP m => GetCreditNotesIdParameters -> ClientT m (Response GetCreditNotesIdResponse)
-- | Defines the object schema located at
-- paths./v1/credit_notes/{id}.GET.parameters in the
-- specification.
data GetCreditNotesIdParameters
GetCreditNotesIdParameters :: Text -> Maybe [Text] -> GetCreditNotesIdParameters
-- | pathId: Represents the parameter named 'id'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCreditNotesIdParametersPathId] :: GetCreditNotesIdParameters -> Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getCreditNotesIdParametersQueryExpand] :: GetCreditNotesIdParameters -> Maybe [Text]
-- | Create a new GetCreditNotesIdParameters with all required
-- fields.
mkGetCreditNotesIdParameters :: Text -> GetCreditNotesIdParameters
-- | Represents a response of the operation getCreditNotesId.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetCreditNotesIdResponseError is used.
data GetCreditNotesIdResponse
-- | Means either no matching case available or a parse error
GetCreditNotesIdResponseError :: String -> GetCreditNotesIdResponse
-- | Successful response.
GetCreditNotesIdResponse200 :: CreditNote -> GetCreditNotesIdResponse
-- | Error response.
GetCreditNotesIdResponseDefault :: Error -> GetCreditNotesIdResponse
instance GHC.Classes.Eq StripeAPI.Operations.GetCreditNotesId.GetCreditNotesIdParameters
instance GHC.Show.Show StripeAPI.Operations.GetCreditNotesId.GetCreditNotesIdParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetCreditNotesId.GetCreditNotesIdResponse
instance GHC.Show.Show StripeAPI.Operations.GetCreditNotesId.GetCreditNotesIdResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetCreditNotesId.GetCreditNotesIdParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetCreditNotesId.GetCreditNotesIdParameters
-- | Contains the different functions to run the operation
-- getCreditNotesCreditNoteLines
module StripeAPI.Operations.GetCreditNotesCreditNoteLines
-- |
-- GET /v1/credit_notes/{credit_note}/lines
--
--
-- <p>When retrieving a credit note, you’ll get a
-- <strong>lines</strong> property containing the the first
-- handful of those items. There is also a URL where you can retrieve the
-- full (paginated) list of line items.</p>
getCreditNotesCreditNoteLines :: forall m. MonadHTTP m => GetCreditNotesCreditNoteLinesParameters -> ClientT m (Response GetCreditNotesCreditNoteLinesResponse)
-- | Defines the object schema located at
-- paths./v1/credit_notes/{credit_note}/lines.GET.parameters in
-- the specification.
data GetCreditNotesCreditNoteLinesParameters
GetCreditNotesCreditNoteLinesParameters :: Text -> Maybe Text -> Maybe [Text] -> Maybe Int -> Maybe Text -> GetCreditNotesCreditNoteLinesParameters
-- | pathCredit_note: Represents the parameter named 'credit_note'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCreditNotesCreditNoteLinesParametersPathCreditNote] :: GetCreditNotesCreditNoteLinesParameters -> Text
-- | queryEnding_before: Represents the parameter named 'ending_before'
--
-- A cursor for use in pagination. `ending_before` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, starting with `obj_bar`, your
-- subsequent call can include `ending_before=obj_bar` in order to fetch
-- the previous page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCreditNotesCreditNoteLinesParametersQueryEndingBefore] :: GetCreditNotesCreditNoteLinesParameters -> Maybe Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getCreditNotesCreditNoteLinesParametersQueryExpand] :: GetCreditNotesCreditNoteLinesParameters -> Maybe [Text]
-- | queryLimit: Represents the parameter named 'limit'
--
-- A limit on the number of objects to be returned. Limit can range
-- between 1 and 100, and the default is 10.
[getCreditNotesCreditNoteLinesParametersQueryLimit] :: GetCreditNotesCreditNoteLinesParameters -> Maybe Int
-- | queryStarting_after: Represents the parameter named 'starting_after'
--
-- A cursor for use in pagination. `starting_after` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, ending with `obj_foo`, your
-- subsequent call can include `starting_after=obj_foo` in order to fetch
-- the next page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCreditNotesCreditNoteLinesParametersQueryStartingAfter] :: GetCreditNotesCreditNoteLinesParameters -> Maybe Text
-- | Create a new GetCreditNotesCreditNoteLinesParameters with all
-- required fields.
mkGetCreditNotesCreditNoteLinesParameters :: Text -> GetCreditNotesCreditNoteLinesParameters
-- | Represents a response of the operation
-- getCreditNotesCreditNoteLines.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- GetCreditNotesCreditNoteLinesResponseError is used.
data GetCreditNotesCreditNoteLinesResponse
-- | Means either no matching case available or a parse error
GetCreditNotesCreditNoteLinesResponseError :: String -> GetCreditNotesCreditNoteLinesResponse
-- | Successful response.
GetCreditNotesCreditNoteLinesResponse200 :: GetCreditNotesCreditNoteLinesResponseBody200 -> GetCreditNotesCreditNoteLinesResponse
-- | Error response.
GetCreditNotesCreditNoteLinesResponseDefault :: Error -> GetCreditNotesCreditNoteLinesResponse
-- | Defines the object schema located at
-- paths./v1/credit_notes/{credit_note}/lines.GET.responses.200.content.application/json.schema
-- in the specification.
data GetCreditNotesCreditNoteLinesResponseBody200
GetCreditNotesCreditNoteLinesResponseBody200 :: [CreditNoteLineItem] -> Bool -> Text -> GetCreditNotesCreditNoteLinesResponseBody200
-- | data: Details about each object.
[getCreditNotesCreditNoteLinesResponseBody200Data] :: GetCreditNotesCreditNoteLinesResponseBody200 -> [CreditNoteLineItem]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[getCreditNotesCreditNoteLinesResponseBody200HasMore] :: GetCreditNotesCreditNoteLinesResponseBody200 -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCreditNotesCreditNoteLinesResponseBody200Url] :: GetCreditNotesCreditNoteLinesResponseBody200 -> Text
-- | Create a new GetCreditNotesCreditNoteLinesResponseBody200 with
-- all required fields.
mkGetCreditNotesCreditNoteLinesResponseBody200 :: [CreditNoteLineItem] -> Bool -> Text -> GetCreditNotesCreditNoteLinesResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetCreditNotesCreditNoteLines.GetCreditNotesCreditNoteLinesParameters
instance GHC.Show.Show StripeAPI.Operations.GetCreditNotesCreditNoteLines.GetCreditNotesCreditNoteLinesParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetCreditNotesCreditNoteLines.GetCreditNotesCreditNoteLinesResponseBody200
instance GHC.Show.Show StripeAPI.Operations.GetCreditNotesCreditNoteLines.GetCreditNotesCreditNoteLinesResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetCreditNotesCreditNoteLines.GetCreditNotesCreditNoteLinesResponse
instance GHC.Show.Show StripeAPI.Operations.GetCreditNotesCreditNoteLines.GetCreditNotesCreditNoteLinesResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetCreditNotesCreditNoteLines.GetCreditNotesCreditNoteLinesResponseBody200
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetCreditNotesCreditNoteLines.GetCreditNotesCreditNoteLinesResponseBody200
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetCreditNotesCreditNoteLines.GetCreditNotesCreditNoteLinesParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetCreditNotesCreditNoteLines.GetCreditNotesCreditNoteLinesParameters
-- | Contains the different functions to run the operation getCreditNotes
module StripeAPI.Operations.GetCreditNotes
-- |
-- GET /v1/credit_notes
--
--
-- <p>Returns a list of credit notes.</p>
getCreditNotes :: forall m. MonadHTTP m => GetCreditNotesParameters -> ClientT m (Response GetCreditNotesResponse)
-- | Defines the object schema located at
-- paths./v1/credit_notes.GET.parameters in the specification.
data GetCreditNotesParameters
GetCreditNotesParameters :: Maybe Text -> Maybe Text -> Maybe [Text] -> Maybe Text -> Maybe Int -> Maybe Text -> GetCreditNotesParameters
-- | queryCustomer: Represents the parameter named 'customer'
--
-- Only return credit notes for the customer specified by this customer
-- ID.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCreditNotesParametersQueryCustomer] :: GetCreditNotesParameters -> Maybe Text
-- | queryEnding_before: Represents the parameter named 'ending_before'
--
-- A cursor for use in pagination. `ending_before` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, starting with `obj_bar`, your
-- subsequent call can include `ending_before=obj_bar` in order to fetch
-- the previous page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCreditNotesParametersQueryEndingBefore] :: GetCreditNotesParameters -> Maybe Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getCreditNotesParametersQueryExpand] :: GetCreditNotesParameters -> Maybe [Text]
-- | queryInvoice: Represents the parameter named 'invoice'
--
-- Only return credit notes for the invoice specified by this invoice ID.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCreditNotesParametersQueryInvoice] :: GetCreditNotesParameters -> Maybe Text
-- | queryLimit: Represents the parameter named 'limit'
--
-- A limit on the number of objects to be returned. Limit can range
-- between 1 and 100, and the default is 10.
[getCreditNotesParametersQueryLimit] :: GetCreditNotesParameters -> Maybe Int
-- | queryStarting_after: Represents the parameter named 'starting_after'
--
-- A cursor for use in pagination. `starting_after` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, ending with `obj_foo`, your
-- subsequent call can include `starting_after=obj_foo` in order to fetch
-- the next page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCreditNotesParametersQueryStartingAfter] :: GetCreditNotesParameters -> Maybe Text
-- | Create a new GetCreditNotesParameters with all required fields.
mkGetCreditNotesParameters :: GetCreditNotesParameters
-- | Represents a response of the operation getCreditNotes.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetCreditNotesResponseError is used.
data GetCreditNotesResponse
-- | Means either no matching case available or a parse error
GetCreditNotesResponseError :: String -> GetCreditNotesResponse
-- | Successful response.
GetCreditNotesResponse200 :: GetCreditNotesResponseBody200 -> GetCreditNotesResponse
-- | Error response.
GetCreditNotesResponseDefault :: Error -> GetCreditNotesResponse
-- | Defines the object schema located at
-- paths./v1/credit_notes.GET.responses.200.content.application/json.schema
-- in the specification.
data GetCreditNotesResponseBody200
GetCreditNotesResponseBody200 :: [CreditNote] -> Bool -> Text -> GetCreditNotesResponseBody200
-- | data
[getCreditNotesResponseBody200Data] :: GetCreditNotesResponseBody200 -> [CreditNote]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[getCreditNotesResponseBody200HasMore] :: GetCreditNotesResponseBody200 -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCreditNotesResponseBody200Url] :: GetCreditNotesResponseBody200 -> Text
-- | Create a new GetCreditNotesResponseBody200 with all required
-- fields.
mkGetCreditNotesResponseBody200 :: [CreditNote] -> Bool -> Text -> GetCreditNotesResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetCreditNotes.GetCreditNotesParameters
instance GHC.Show.Show StripeAPI.Operations.GetCreditNotes.GetCreditNotesParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetCreditNotes.GetCreditNotesResponseBody200
instance GHC.Show.Show StripeAPI.Operations.GetCreditNotes.GetCreditNotesResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetCreditNotes.GetCreditNotesResponse
instance GHC.Show.Show StripeAPI.Operations.GetCreditNotes.GetCreditNotesResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetCreditNotes.GetCreditNotesResponseBody200
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetCreditNotes.GetCreditNotesResponseBody200
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetCreditNotes.GetCreditNotesParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetCreditNotes.GetCreditNotesParameters
-- | Contains the different functions to run the operation getCouponsCoupon
module StripeAPI.Operations.GetCouponsCoupon
-- |
-- GET /v1/coupons/{coupon}
--
--
-- <p>Retrieves the coupon with the given ID.</p>
getCouponsCoupon :: forall m. MonadHTTP m => GetCouponsCouponParameters -> ClientT m (Response GetCouponsCouponResponse)
-- | Defines the object schema located at
-- paths./v1/coupons/{coupon}.GET.parameters in the
-- specification.
data GetCouponsCouponParameters
GetCouponsCouponParameters :: Text -> Maybe [Text] -> GetCouponsCouponParameters
-- | pathCoupon: Represents the parameter named 'coupon'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCouponsCouponParametersPathCoupon] :: GetCouponsCouponParameters -> Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getCouponsCouponParametersQueryExpand] :: GetCouponsCouponParameters -> Maybe [Text]
-- | Create a new GetCouponsCouponParameters with all required
-- fields.
mkGetCouponsCouponParameters :: Text -> GetCouponsCouponParameters
-- | Represents a response of the operation getCouponsCoupon.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetCouponsCouponResponseError is used.
data GetCouponsCouponResponse
-- | Means either no matching case available or a parse error
GetCouponsCouponResponseError :: String -> GetCouponsCouponResponse
-- | Successful response.
GetCouponsCouponResponse200 :: Coupon -> GetCouponsCouponResponse
-- | Error response.
GetCouponsCouponResponseDefault :: Error -> GetCouponsCouponResponse
instance GHC.Classes.Eq StripeAPI.Operations.GetCouponsCoupon.GetCouponsCouponParameters
instance GHC.Show.Show StripeAPI.Operations.GetCouponsCoupon.GetCouponsCouponParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetCouponsCoupon.GetCouponsCouponResponse
instance GHC.Show.Show StripeAPI.Operations.GetCouponsCoupon.GetCouponsCouponResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetCouponsCoupon.GetCouponsCouponParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetCouponsCoupon.GetCouponsCouponParameters
-- | Contains the different functions to run the operation getCoupons
module StripeAPI.Operations.GetCoupons
-- |
-- GET /v1/coupons
--
--
-- <p>Returns a list of your coupons.</p>
getCoupons :: forall m. MonadHTTP m => GetCouponsParameters -> ClientT m (Response GetCouponsResponse)
-- | Defines the object schema located at
-- paths./v1/coupons.GET.parameters in the specification.
data GetCouponsParameters
GetCouponsParameters :: Maybe GetCouponsParametersQueryCreated'Variants -> Maybe Text -> Maybe [Text] -> Maybe Int -> Maybe Text -> GetCouponsParameters
-- | queryCreated: Represents the parameter named 'created'
--
-- A filter on the list, based on the object `created` field. The value
-- can be a string with an integer Unix timestamp, or it can be a
-- dictionary with a number of different query options.
[getCouponsParametersQueryCreated] :: GetCouponsParameters -> Maybe GetCouponsParametersQueryCreated'Variants
-- | queryEnding_before: Represents the parameter named 'ending_before'
--
-- A cursor for use in pagination. `ending_before` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, starting with `obj_bar`, your
-- subsequent call can include `ending_before=obj_bar` in order to fetch
-- the previous page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCouponsParametersQueryEndingBefore] :: GetCouponsParameters -> Maybe Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getCouponsParametersQueryExpand] :: GetCouponsParameters -> Maybe [Text]
-- | queryLimit: Represents the parameter named 'limit'
--
-- A limit on the number of objects to be returned. Limit can range
-- between 1 and 100, and the default is 10.
[getCouponsParametersQueryLimit] :: GetCouponsParameters -> Maybe Int
-- | queryStarting_after: Represents the parameter named 'starting_after'
--
-- A cursor for use in pagination. `starting_after` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, ending with `obj_foo`, your
-- subsequent call can include `starting_after=obj_foo` in order to fetch
-- the next page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCouponsParametersQueryStartingAfter] :: GetCouponsParameters -> Maybe Text
-- | Create a new GetCouponsParameters with all required fields.
mkGetCouponsParameters :: GetCouponsParameters
-- | Defines the object schema located at
-- paths./v1/coupons.GET.parameters.properties.queryCreated.anyOf
-- in the specification.
data GetCouponsParametersQueryCreated'OneOf1
GetCouponsParametersQueryCreated'OneOf1 :: Maybe Int -> Maybe Int -> Maybe Int -> Maybe Int -> GetCouponsParametersQueryCreated'OneOf1
-- | gt
[getCouponsParametersQueryCreated'OneOf1Gt] :: GetCouponsParametersQueryCreated'OneOf1 -> Maybe Int
-- | gte
[getCouponsParametersQueryCreated'OneOf1Gte] :: GetCouponsParametersQueryCreated'OneOf1 -> Maybe Int
-- | lt
[getCouponsParametersQueryCreated'OneOf1Lt] :: GetCouponsParametersQueryCreated'OneOf1 -> Maybe Int
-- | lte
[getCouponsParametersQueryCreated'OneOf1Lte] :: GetCouponsParametersQueryCreated'OneOf1 -> Maybe Int
-- | Create a new GetCouponsParametersQueryCreated'OneOf1 with all
-- required fields.
mkGetCouponsParametersQueryCreated'OneOf1 :: GetCouponsParametersQueryCreated'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/coupons.GET.parameters.properties.queryCreated.anyOf
-- in the specification.
--
-- Represents the parameter named 'created'
--
-- A filter on the list, based on the object `created` field. The value
-- can be a string with an integer Unix timestamp, or it can be a
-- dictionary with a number of different query options.
data GetCouponsParametersQueryCreated'Variants
GetCouponsParametersQueryCreated'GetCouponsParametersQueryCreated'OneOf1 :: GetCouponsParametersQueryCreated'OneOf1 -> GetCouponsParametersQueryCreated'Variants
GetCouponsParametersQueryCreated'Int :: Int -> GetCouponsParametersQueryCreated'Variants
-- | Represents a response of the operation getCoupons.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetCouponsResponseError is used.
data GetCouponsResponse
-- | Means either no matching case available or a parse error
GetCouponsResponseError :: String -> GetCouponsResponse
-- | Successful response.
GetCouponsResponse200 :: GetCouponsResponseBody200 -> GetCouponsResponse
-- | Error response.
GetCouponsResponseDefault :: Error -> GetCouponsResponse
-- | Defines the object schema located at
-- paths./v1/coupons.GET.responses.200.content.application/json.schema
-- in the specification.
data GetCouponsResponseBody200
GetCouponsResponseBody200 :: [Coupon] -> Bool -> Text -> GetCouponsResponseBody200
-- | data
[getCouponsResponseBody200Data] :: GetCouponsResponseBody200 -> [Coupon]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[getCouponsResponseBody200HasMore] :: GetCouponsResponseBody200 -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
-- - Must match pattern '^/v1/coupons'
--
[getCouponsResponseBody200Url] :: GetCouponsResponseBody200 -> Text
-- | Create a new GetCouponsResponseBody200 with all required
-- fields.
mkGetCouponsResponseBody200 :: [Coupon] -> Bool -> Text -> GetCouponsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetCoupons.GetCouponsParametersQueryCreated'OneOf1
instance GHC.Show.Show StripeAPI.Operations.GetCoupons.GetCouponsParametersQueryCreated'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.GetCoupons.GetCouponsParametersQueryCreated'Variants
instance GHC.Show.Show StripeAPI.Operations.GetCoupons.GetCouponsParametersQueryCreated'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetCoupons.GetCouponsParameters
instance GHC.Show.Show StripeAPI.Operations.GetCoupons.GetCouponsParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetCoupons.GetCouponsResponseBody200
instance GHC.Show.Show StripeAPI.Operations.GetCoupons.GetCouponsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetCoupons.GetCouponsResponse
instance GHC.Show.Show StripeAPI.Operations.GetCoupons.GetCouponsResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetCoupons.GetCouponsResponseBody200
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetCoupons.GetCouponsResponseBody200
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetCoupons.GetCouponsParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetCoupons.GetCouponsParameters
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetCoupons.GetCouponsParametersQueryCreated'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetCoupons.GetCouponsParametersQueryCreated'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetCoupons.GetCouponsParametersQueryCreated'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetCoupons.GetCouponsParametersQueryCreated'OneOf1
-- | Contains the different functions to run the operation
-- getCountrySpecsCountry
module StripeAPI.Operations.GetCountrySpecsCountry
-- |
-- GET /v1/country_specs/{country}
--
--
-- <p>Returns a Country Spec for a given Country code.</p>
getCountrySpecsCountry :: forall m. MonadHTTP m => GetCountrySpecsCountryParameters -> ClientT m (Response GetCountrySpecsCountryResponse)
-- | Defines the object schema located at
-- paths./v1/country_specs/{country}.GET.parameters in the
-- specification.
data GetCountrySpecsCountryParameters
GetCountrySpecsCountryParameters :: Text -> Maybe [Text] -> GetCountrySpecsCountryParameters
-- | pathCountry: Represents the parameter named 'country'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCountrySpecsCountryParametersPathCountry] :: GetCountrySpecsCountryParameters -> Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getCountrySpecsCountryParametersQueryExpand] :: GetCountrySpecsCountryParameters -> Maybe [Text]
-- | Create a new GetCountrySpecsCountryParameters with all required
-- fields.
mkGetCountrySpecsCountryParameters :: Text -> GetCountrySpecsCountryParameters
-- | Represents a response of the operation getCountrySpecsCountry.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetCountrySpecsCountryResponseError is
-- used.
data GetCountrySpecsCountryResponse
-- | Means either no matching case available or a parse error
GetCountrySpecsCountryResponseError :: String -> GetCountrySpecsCountryResponse
-- | Successful response.
GetCountrySpecsCountryResponse200 :: CountrySpec -> GetCountrySpecsCountryResponse
-- | Error response.
GetCountrySpecsCountryResponseDefault :: Error -> GetCountrySpecsCountryResponse
instance GHC.Classes.Eq StripeAPI.Operations.GetCountrySpecsCountry.GetCountrySpecsCountryParameters
instance GHC.Show.Show StripeAPI.Operations.GetCountrySpecsCountry.GetCountrySpecsCountryParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetCountrySpecsCountry.GetCountrySpecsCountryResponse
instance GHC.Show.Show StripeAPI.Operations.GetCountrySpecsCountry.GetCountrySpecsCountryResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetCountrySpecsCountry.GetCountrySpecsCountryParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetCountrySpecsCountry.GetCountrySpecsCountryParameters
-- | Contains the different functions to run the operation getCountrySpecs
module StripeAPI.Operations.GetCountrySpecs
-- |
-- GET /v1/country_specs
--
--
-- <p>Lists all Country Spec objects available in the
-- API.</p>
getCountrySpecs :: forall m. MonadHTTP m => GetCountrySpecsParameters -> ClientT m (Response GetCountrySpecsResponse)
-- | Defines the object schema located at
-- paths./v1/country_specs.GET.parameters in the specification.
data GetCountrySpecsParameters
GetCountrySpecsParameters :: Maybe Text -> Maybe [Text] -> Maybe Int -> Maybe Text -> GetCountrySpecsParameters
-- | queryEnding_before: Represents the parameter named 'ending_before'
--
-- A cursor for use in pagination. `ending_before` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, starting with `obj_bar`, your
-- subsequent call can include `ending_before=obj_bar` in order to fetch
-- the previous page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCountrySpecsParametersQueryEndingBefore] :: GetCountrySpecsParameters -> Maybe Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getCountrySpecsParametersQueryExpand] :: GetCountrySpecsParameters -> Maybe [Text]
-- | queryLimit: Represents the parameter named 'limit'
--
-- A limit on the number of objects to be returned. Limit can range
-- between 1 and 100, and the default is 10.
[getCountrySpecsParametersQueryLimit] :: GetCountrySpecsParameters -> Maybe Int
-- | queryStarting_after: Represents the parameter named 'starting_after'
--
-- A cursor for use in pagination. `starting_after` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, ending with `obj_foo`, your
-- subsequent call can include `starting_after=obj_foo` in order to fetch
-- the next page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCountrySpecsParametersQueryStartingAfter] :: GetCountrySpecsParameters -> Maybe Text
-- | Create a new GetCountrySpecsParameters with all required
-- fields.
mkGetCountrySpecsParameters :: GetCountrySpecsParameters
-- | Represents a response of the operation getCountrySpecs.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetCountrySpecsResponseError is used.
data GetCountrySpecsResponse
-- | Means either no matching case available or a parse error
GetCountrySpecsResponseError :: String -> GetCountrySpecsResponse
-- | Successful response.
GetCountrySpecsResponse200 :: GetCountrySpecsResponseBody200 -> GetCountrySpecsResponse
-- | Error response.
GetCountrySpecsResponseDefault :: Error -> GetCountrySpecsResponse
-- | Defines the object schema located at
-- paths./v1/country_specs.GET.responses.200.content.application/json.schema
-- in the specification.
data GetCountrySpecsResponseBody200
GetCountrySpecsResponseBody200 :: [CountrySpec] -> Bool -> Text -> GetCountrySpecsResponseBody200
-- | data
[getCountrySpecsResponseBody200Data] :: GetCountrySpecsResponseBody200 -> [CountrySpec]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[getCountrySpecsResponseBody200HasMore] :: GetCountrySpecsResponseBody200 -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
-- - Must match pattern '^/v1/country_specs'
--
[getCountrySpecsResponseBody200Url] :: GetCountrySpecsResponseBody200 -> Text
-- | Create a new GetCountrySpecsResponseBody200 with all required
-- fields.
mkGetCountrySpecsResponseBody200 :: [CountrySpec] -> Bool -> Text -> GetCountrySpecsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetCountrySpecs.GetCountrySpecsParameters
instance GHC.Show.Show StripeAPI.Operations.GetCountrySpecs.GetCountrySpecsParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetCountrySpecs.GetCountrySpecsResponseBody200
instance GHC.Show.Show StripeAPI.Operations.GetCountrySpecs.GetCountrySpecsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetCountrySpecs.GetCountrySpecsResponse
instance GHC.Show.Show StripeAPI.Operations.GetCountrySpecs.GetCountrySpecsResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetCountrySpecs.GetCountrySpecsResponseBody200
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetCountrySpecs.GetCountrySpecsResponseBody200
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetCountrySpecs.GetCountrySpecsParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetCountrySpecs.GetCountrySpecsParameters
-- | Contains the different functions to run the operation
-- getCheckoutSessionsSessionLineItems
module StripeAPI.Operations.GetCheckoutSessionsSessionLineItems
-- |
-- GET /v1/checkout/sessions/{session}/line_items
--
--
-- <p>When retrieving a Checkout Session, there is an includable
-- <strong>line_items</strong> property containing the first
-- handful of those items. There is also a URL where you can retrieve the
-- full (paginated) list of line items.</p>
getCheckoutSessionsSessionLineItems :: forall m. MonadHTTP m => GetCheckoutSessionsSessionLineItemsParameters -> ClientT m (Response GetCheckoutSessionsSessionLineItemsResponse)
-- | Defines the object schema located at
-- paths./v1/checkout/sessions/{session}/line_items.GET.parameters
-- in the specification.
data GetCheckoutSessionsSessionLineItemsParameters
GetCheckoutSessionsSessionLineItemsParameters :: Text -> Maybe Text -> Maybe [Text] -> Maybe Int -> Maybe Text -> GetCheckoutSessionsSessionLineItemsParameters
-- | pathSession: Represents the parameter named 'session'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCheckoutSessionsSessionLineItemsParametersPathSession] :: GetCheckoutSessionsSessionLineItemsParameters -> Text
-- | queryEnding_before: Represents the parameter named 'ending_before'
--
-- A cursor for use in pagination. `ending_before` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, starting with `obj_bar`, your
-- subsequent call can include `ending_before=obj_bar` in order to fetch
-- the previous page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCheckoutSessionsSessionLineItemsParametersQueryEndingBefore] :: GetCheckoutSessionsSessionLineItemsParameters -> Maybe Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getCheckoutSessionsSessionLineItemsParametersQueryExpand] :: GetCheckoutSessionsSessionLineItemsParameters -> Maybe [Text]
-- | queryLimit: Represents the parameter named 'limit'
--
-- A limit on the number of objects to be returned. Limit can range
-- between 1 and 100, and the default is 10.
[getCheckoutSessionsSessionLineItemsParametersQueryLimit] :: GetCheckoutSessionsSessionLineItemsParameters -> Maybe Int
-- | queryStarting_after: Represents the parameter named 'starting_after'
--
-- A cursor for use in pagination. `starting_after` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, ending with `obj_foo`, your
-- subsequent call can include `starting_after=obj_foo` in order to fetch
-- the next page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCheckoutSessionsSessionLineItemsParametersQueryStartingAfter] :: GetCheckoutSessionsSessionLineItemsParameters -> Maybe Text
-- | Create a new GetCheckoutSessionsSessionLineItemsParameters with
-- all required fields.
mkGetCheckoutSessionsSessionLineItemsParameters :: Text -> GetCheckoutSessionsSessionLineItemsParameters
-- | Represents a response of the operation
-- getCheckoutSessionsSessionLineItems.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- GetCheckoutSessionsSessionLineItemsResponseError is used.
data GetCheckoutSessionsSessionLineItemsResponse
-- | Means either no matching case available or a parse error
GetCheckoutSessionsSessionLineItemsResponseError :: String -> GetCheckoutSessionsSessionLineItemsResponse
-- | Successful response.
GetCheckoutSessionsSessionLineItemsResponse200 :: GetCheckoutSessionsSessionLineItemsResponseBody200 -> GetCheckoutSessionsSessionLineItemsResponse
-- | Error response.
GetCheckoutSessionsSessionLineItemsResponseDefault :: Error -> GetCheckoutSessionsSessionLineItemsResponse
-- | Defines the object schema located at
-- paths./v1/checkout/sessions/{session}/line_items.GET.responses.200.content.application/json.schema
-- in the specification.
data GetCheckoutSessionsSessionLineItemsResponseBody200
GetCheckoutSessionsSessionLineItemsResponseBody200 :: [Item] -> Bool -> Text -> GetCheckoutSessionsSessionLineItemsResponseBody200
-- | data: Details about each object.
[getCheckoutSessionsSessionLineItemsResponseBody200Data] :: GetCheckoutSessionsSessionLineItemsResponseBody200 -> [Item]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[getCheckoutSessionsSessionLineItemsResponseBody200HasMore] :: GetCheckoutSessionsSessionLineItemsResponseBody200 -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCheckoutSessionsSessionLineItemsResponseBody200Url] :: GetCheckoutSessionsSessionLineItemsResponseBody200 -> Text
-- | Create a new GetCheckoutSessionsSessionLineItemsResponseBody200
-- with all required fields.
mkGetCheckoutSessionsSessionLineItemsResponseBody200 :: [Item] -> Bool -> Text -> GetCheckoutSessionsSessionLineItemsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetCheckoutSessionsSessionLineItems.GetCheckoutSessionsSessionLineItemsParameters
instance GHC.Show.Show StripeAPI.Operations.GetCheckoutSessionsSessionLineItems.GetCheckoutSessionsSessionLineItemsParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetCheckoutSessionsSessionLineItems.GetCheckoutSessionsSessionLineItemsResponseBody200
instance GHC.Show.Show StripeAPI.Operations.GetCheckoutSessionsSessionLineItems.GetCheckoutSessionsSessionLineItemsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetCheckoutSessionsSessionLineItems.GetCheckoutSessionsSessionLineItemsResponse
instance GHC.Show.Show StripeAPI.Operations.GetCheckoutSessionsSessionLineItems.GetCheckoutSessionsSessionLineItemsResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetCheckoutSessionsSessionLineItems.GetCheckoutSessionsSessionLineItemsResponseBody200
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetCheckoutSessionsSessionLineItems.GetCheckoutSessionsSessionLineItemsResponseBody200
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetCheckoutSessionsSessionLineItems.GetCheckoutSessionsSessionLineItemsParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetCheckoutSessionsSessionLineItems.GetCheckoutSessionsSessionLineItemsParameters
-- | Contains the different functions to run the operation
-- getCheckoutSessionsSession
module StripeAPI.Operations.GetCheckoutSessionsSession
-- |
-- GET /v1/checkout/sessions/{session}
--
--
-- <p>Retrieves a Session object.</p>
getCheckoutSessionsSession :: forall m. MonadHTTP m => GetCheckoutSessionsSessionParameters -> ClientT m (Response GetCheckoutSessionsSessionResponse)
-- | Defines the object schema located at
-- paths./v1/checkout/sessions/{session}.GET.parameters in the
-- specification.
data GetCheckoutSessionsSessionParameters
GetCheckoutSessionsSessionParameters :: Text -> Maybe [Text] -> GetCheckoutSessionsSessionParameters
-- | pathSession: Represents the parameter named 'session'
--
-- Constraints:
--
--
-- - Maximum length of 66
--
[getCheckoutSessionsSessionParametersPathSession] :: GetCheckoutSessionsSessionParameters -> Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getCheckoutSessionsSessionParametersQueryExpand] :: GetCheckoutSessionsSessionParameters -> Maybe [Text]
-- | Create a new GetCheckoutSessionsSessionParameters with all
-- required fields.
mkGetCheckoutSessionsSessionParameters :: Text -> GetCheckoutSessionsSessionParameters
-- | Represents a response of the operation
-- getCheckoutSessionsSession.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetCheckoutSessionsSessionResponseError
-- is used.
data GetCheckoutSessionsSessionResponse
-- | Means either no matching case available or a parse error
GetCheckoutSessionsSessionResponseError :: String -> GetCheckoutSessionsSessionResponse
-- | Successful response.
GetCheckoutSessionsSessionResponse200 :: Checkout'session -> GetCheckoutSessionsSessionResponse
-- | Error response.
GetCheckoutSessionsSessionResponseDefault :: Error -> GetCheckoutSessionsSessionResponse
instance GHC.Classes.Eq StripeAPI.Operations.GetCheckoutSessionsSession.GetCheckoutSessionsSessionParameters
instance GHC.Show.Show StripeAPI.Operations.GetCheckoutSessionsSession.GetCheckoutSessionsSessionParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetCheckoutSessionsSession.GetCheckoutSessionsSessionResponse
instance GHC.Show.Show StripeAPI.Operations.GetCheckoutSessionsSession.GetCheckoutSessionsSessionResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetCheckoutSessionsSession.GetCheckoutSessionsSessionParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetCheckoutSessionsSession.GetCheckoutSessionsSessionParameters
-- | Contains the different functions to run the operation
-- getCheckoutSessions
module StripeAPI.Operations.GetCheckoutSessions
-- |
-- GET /v1/checkout/sessions
--
--
-- <p>Returns a list of Checkout Sessions.</p>
getCheckoutSessions :: forall m. MonadHTTP m => GetCheckoutSessionsParameters -> ClientT m (Response GetCheckoutSessionsResponse)
-- | Defines the object schema located at
-- paths./v1/checkout/sessions.GET.parameters in the
-- specification.
data GetCheckoutSessionsParameters
GetCheckoutSessionsParameters :: Maybe Text -> Maybe [Text] -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe Text -> GetCheckoutSessionsParameters
-- | queryEnding_before: Represents the parameter named 'ending_before'
--
-- A cursor for use in pagination. `ending_before` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, starting with `obj_bar`, your
-- subsequent call can include `ending_before=obj_bar` in order to fetch
-- the previous page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCheckoutSessionsParametersQueryEndingBefore] :: GetCheckoutSessionsParameters -> Maybe Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getCheckoutSessionsParametersQueryExpand] :: GetCheckoutSessionsParameters -> Maybe [Text]
-- | queryLimit: Represents the parameter named 'limit'
--
-- A limit on the number of objects to be returned. Limit can range
-- between 1 and 100, and the default is 10.
[getCheckoutSessionsParametersQueryLimit] :: GetCheckoutSessionsParameters -> Maybe Int
-- | queryPayment_intent: Represents the parameter named 'payment_intent'
--
-- Only return the Checkout Session for the PaymentIntent specified.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCheckoutSessionsParametersQueryPaymentIntent] :: GetCheckoutSessionsParameters -> Maybe Text
-- | queryStarting_after: Represents the parameter named 'starting_after'
--
-- A cursor for use in pagination. `starting_after` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, ending with `obj_foo`, your
-- subsequent call can include `starting_after=obj_foo` in order to fetch
-- the next page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCheckoutSessionsParametersQueryStartingAfter] :: GetCheckoutSessionsParameters -> Maybe Text
-- | querySubscription: Represents the parameter named 'subscription'
--
-- Only return the Checkout Session for the subscription specified.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCheckoutSessionsParametersQuerySubscription] :: GetCheckoutSessionsParameters -> Maybe Text
-- | Create a new GetCheckoutSessionsParameters with all required
-- fields.
mkGetCheckoutSessionsParameters :: GetCheckoutSessionsParameters
-- | Represents a response of the operation getCheckoutSessions.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetCheckoutSessionsResponseError is
-- used.
data GetCheckoutSessionsResponse
-- | Means either no matching case available or a parse error
GetCheckoutSessionsResponseError :: String -> GetCheckoutSessionsResponse
-- | Successful response.
GetCheckoutSessionsResponse200 :: GetCheckoutSessionsResponseBody200 -> GetCheckoutSessionsResponse
-- | Error response.
GetCheckoutSessionsResponseDefault :: Error -> GetCheckoutSessionsResponse
-- | Defines the object schema located at
-- paths./v1/checkout/sessions.GET.responses.200.content.application/json.schema
-- in the specification.
data GetCheckoutSessionsResponseBody200
GetCheckoutSessionsResponseBody200 :: [Checkout'session] -> Bool -> Text -> GetCheckoutSessionsResponseBody200
-- | data
[getCheckoutSessionsResponseBody200Data] :: GetCheckoutSessionsResponseBody200 -> [Checkout'session]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[getCheckoutSessionsResponseBody200HasMore] :: GetCheckoutSessionsResponseBody200 -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getCheckoutSessionsResponseBody200Url] :: GetCheckoutSessionsResponseBody200 -> Text
-- | Create a new GetCheckoutSessionsResponseBody200 with all
-- required fields.
mkGetCheckoutSessionsResponseBody200 :: [Checkout'session] -> Bool -> Text -> GetCheckoutSessionsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetCheckoutSessions.GetCheckoutSessionsParameters
instance GHC.Show.Show StripeAPI.Operations.GetCheckoutSessions.GetCheckoutSessionsParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetCheckoutSessions.GetCheckoutSessionsResponseBody200
instance GHC.Show.Show StripeAPI.Operations.GetCheckoutSessions.GetCheckoutSessionsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetCheckoutSessions.GetCheckoutSessionsResponse
instance GHC.Show.Show StripeAPI.Operations.GetCheckoutSessions.GetCheckoutSessionsResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetCheckoutSessions.GetCheckoutSessionsResponseBody200
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetCheckoutSessions.GetCheckoutSessionsResponseBody200
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetCheckoutSessions.GetCheckoutSessionsParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetCheckoutSessions.GetCheckoutSessionsParameters
-- | Contains the different functions to run the operation
-- getChargesChargeRefundsRefund
module StripeAPI.Operations.GetChargesChargeRefundsRefund
-- |
-- GET /v1/charges/{charge}/refunds/{refund}
--
--
-- <p>Retrieves the details of an existing refund.</p>
getChargesChargeRefundsRefund :: forall m. MonadHTTP m => GetChargesChargeRefundsRefundParameters -> ClientT m (Response GetChargesChargeRefundsRefundResponse)
-- | Defines the object schema located at
-- paths./v1/charges/{charge}/refunds/{refund}.GET.parameters in
-- the specification.
data GetChargesChargeRefundsRefundParameters
GetChargesChargeRefundsRefundParameters :: Text -> Text -> Maybe [Text] -> GetChargesChargeRefundsRefundParameters
-- | pathCharge: Represents the parameter named 'charge'
[getChargesChargeRefundsRefundParametersPathCharge] :: GetChargesChargeRefundsRefundParameters -> Text
-- | pathRefund: Represents the parameter named 'refund'
[getChargesChargeRefundsRefundParametersPathRefund] :: GetChargesChargeRefundsRefundParameters -> Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getChargesChargeRefundsRefundParametersQueryExpand] :: GetChargesChargeRefundsRefundParameters -> Maybe [Text]
-- | Create a new GetChargesChargeRefundsRefundParameters with all
-- required fields.
mkGetChargesChargeRefundsRefundParameters :: Text -> Text -> GetChargesChargeRefundsRefundParameters
-- | Represents a response of the operation
-- getChargesChargeRefundsRefund.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- GetChargesChargeRefundsRefundResponseError is used.
data GetChargesChargeRefundsRefundResponse
-- | Means either no matching case available or a parse error
GetChargesChargeRefundsRefundResponseError :: String -> GetChargesChargeRefundsRefundResponse
-- | Successful response.
GetChargesChargeRefundsRefundResponse200 :: Refund -> GetChargesChargeRefundsRefundResponse
-- | Error response.
GetChargesChargeRefundsRefundResponseDefault :: Error -> GetChargesChargeRefundsRefundResponse
instance GHC.Classes.Eq StripeAPI.Operations.GetChargesChargeRefundsRefund.GetChargesChargeRefundsRefundParameters
instance GHC.Show.Show StripeAPI.Operations.GetChargesChargeRefundsRefund.GetChargesChargeRefundsRefundParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetChargesChargeRefundsRefund.GetChargesChargeRefundsRefundResponse
instance GHC.Show.Show StripeAPI.Operations.GetChargesChargeRefundsRefund.GetChargesChargeRefundsRefundResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetChargesChargeRefundsRefund.GetChargesChargeRefundsRefundParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetChargesChargeRefundsRefund.GetChargesChargeRefundsRefundParameters
-- | Contains the different functions to run the operation
-- getChargesChargeRefunds
module StripeAPI.Operations.GetChargesChargeRefunds
-- |
-- GET /v1/charges/{charge}/refunds
--
--
-- <p>You can see a list of the refunds belonging to a specific
-- charge. Note that the 10 most recent refunds are always available by
-- default on the charge object. If you need more than those 10, you can
-- use this API method and the <code>limit</code> and
-- <code>starting_after</code> parameters to page through
-- additional refunds.</p>
getChargesChargeRefunds :: forall m. MonadHTTP m => GetChargesChargeRefundsParameters -> ClientT m (Response GetChargesChargeRefundsResponse)
-- | Defines the object schema located at
-- paths./v1/charges/{charge}/refunds.GET.parameters in the
-- specification.
data GetChargesChargeRefundsParameters
GetChargesChargeRefundsParameters :: Text -> Maybe Text -> Maybe [Text] -> Maybe Int -> Maybe Text -> GetChargesChargeRefundsParameters
-- | pathCharge: Represents the parameter named 'charge'
[getChargesChargeRefundsParametersPathCharge] :: GetChargesChargeRefundsParameters -> Text
-- | queryEnding_before: Represents the parameter named 'ending_before'
--
-- A cursor for use in pagination. `ending_before` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, starting with `obj_bar`, your
-- subsequent call can include `ending_before=obj_bar` in order to fetch
-- the previous page of the list.
[getChargesChargeRefundsParametersQueryEndingBefore] :: GetChargesChargeRefundsParameters -> Maybe Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getChargesChargeRefundsParametersQueryExpand] :: GetChargesChargeRefundsParameters -> Maybe [Text]
-- | queryLimit: Represents the parameter named 'limit'
--
-- A limit on the number of objects to be returned. Limit can range
-- between 1 and 100, and the default is 10.
[getChargesChargeRefundsParametersQueryLimit] :: GetChargesChargeRefundsParameters -> Maybe Int
-- | queryStarting_after: Represents the parameter named 'starting_after'
--
-- A cursor for use in pagination. `starting_after` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, ending with `obj_foo`, your
-- subsequent call can include `starting_after=obj_foo` in order to fetch
-- the next page of the list.
[getChargesChargeRefundsParametersQueryStartingAfter] :: GetChargesChargeRefundsParameters -> Maybe Text
-- | Create a new GetChargesChargeRefundsParameters with all
-- required fields.
mkGetChargesChargeRefundsParameters :: Text -> GetChargesChargeRefundsParameters
-- | Represents a response of the operation getChargesChargeRefunds.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetChargesChargeRefundsResponseError is
-- used.
data GetChargesChargeRefundsResponse
-- | Means either no matching case available or a parse error
GetChargesChargeRefundsResponseError :: String -> GetChargesChargeRefundsResponse
-- | Successful response.
GetChargesChargeRefundsResponse200 :: GetChargesChargeRefundsResponseBody200 -> GetChargesChargeRefundsResponse
-- | Error response.
GetChargesChargeRefundsResponseDefault :: Error -> GetChargesChargeRefundsResponse
-- | Defines the object schema located at
-- paths./v1/charges/{charge}/refunds.GET.responses.200.content.application/json.schema
-- in the specification.
data GetChargesChargeRefundsResponseBody200
GetChargesChargeRefundsResponseBody200 :: [Refund] -> Bool -> Text -> GetChargesChargeRefundsResponseBody200
-- | data: Details about each object.
[getChargesChargeRefundsResponseBody200Data] :: GetChargesChargeRefundsResponseBody200 -> [Refund]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[getChargesChargeRefundsResponseBody200HasMore] :: GetChargesChargeRefundsResponseBody200 -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getChargesChargeRefundsResponseBody200Url] :: GetChargesChargeRefundsResponseBody200 -> Text
-- | Create a new GetChargesChargeRefundsResponseBody200 with all
-- required fields.
mkGetChargesChargeRefundsResponseBody200 :: [Refund] -> Bool -> Text -> GetChargesChargeRefundsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetChargesChargeRefunds.GetChargesChargeRefundsParameters
instance GHC.Show.Show StripeAPI.Operations.GetChargesChargeRefunds.GetChargesChargeRefundsParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetChargesChargeRefunds.GetChargesChargeRefundsResponseBody200
instance GHC.Show.Show StripeAPI.Operations.GetChargesChargeRefunds.GetChargesChargeRefundsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetChargesChargeRefunds.GetChargesChargeRefundsResponse
instance GHC.Show.Show StripeAPI.Operations.GetChargesChargeRefunds.GetChargesChargeRefundsResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetChargesChargeRefunds.GetChargesChargeRefundsResponseBody200
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetChargesChargeRefunds.GetChargesChargeRefundsResponseBody200
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetChargesChargeRefunds.GetChargesChargeRefundsParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetChargesChargeRefunds.GetChargesChargeRefundsParameters
-- | Contains the different functions to run the operation
-- getChargesChargeDispute
module StripeAPI.Operations.GetChargesChargeDispute
-- |
-- GET /v1/charges/{charge}/dispute
--
--
-- <p>Retrieve a dispute for a specified charge.</p>
getChargesChargeDispute :: forall m. MonadHTTP m => GetChargesChargeDisputeParameters -> ClientT m (Response GetChargesChargeDisputeResponse)
-- | Defines the object schema located at
-- paths./v1/charges/{charge}/dispute.GET.parameters in the
-- specification.
data GetChargesChargeDisputeParameters
GetChargesChargeDisputeParameters :: Text -> Maybe [Text] -> GetChargesChargeDisputeParameters
-- | pathCharge: Represents the parameter named 'charge'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getChargesChargeDisputeParametersPathCharge] :: GetChargesChargeDisputeParameters -> Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getChargesChargeDisputeParametersQueryExpand] :: GetChargesChargeDisputeParameters -> Maybe [Text]
-- | Create a new GetChargesChargeDisputeParameters with all
-- required fields.
mkGetChargesChargeDisputeParameters :: Text -> GetChargesChargeDisputeParameters
-- | Represents a response of the operation getChargesChargeDispute.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetChargesChargeDisputeResponseError is
-- used.
data GetChargesChargeDisputeResponse
-- | Means either no matching case available or a parse error
GetChargesChargeDisputeResponseError :: String -> GetChargesChargeDisputeResponse
-- | Successful response.
GetChargesChargeDisputeResponse200 :: Dispute -> GetChargesChargeDisputeResponse
-- | Error response.
GetChargesChargeDisputeResponseDefault :: Error -> GetChargesChargeDisputeResponse
instance GHC.Classes.Eq StripeAPI.Operations.GetChargesChargeDispute.GetChargesChargeDisputeParameters
instance GHC.Show.Show StripeAPI.Operations.GetChargesChargeDispute.GetChargesChargeDisputeParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetChargesChargeDispute.GetChargesChargeDisputeResponse
instance GHC.Show.Show StripeAPI.Operations.GetChargesChargeDispute.GetChargesChargeDisputeResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetChargesChargeDispute.GetChargesChargeDisputeParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetChargesChargeDispute.GetChargesChargeDisputeParameters
-- | Contains the different functions to run the operation getChargesCharge
module StripeAPI.Operations.GetChargesCharge
-- |
-- GET /v1/charges/{charge}
--
--
-- <p>Retrieves the details of a charge that has previously been
-- created. Supply the unique charge ID that was returned from your
-- previous request, and Stripe will return the corresponding charge
-- information. The same information is returned when creating or
-- refunding the charge.</p>
getChargesCharge :: forall m. MonadHTTP m => GetChargesChargeParameters -> ClientT m (Response GetChargesChargeResponse)
-- | Defines the object schema located at
-- paths./v1/charges/{charge}.GET.parameters in the
-- specification.
data GetChargesChargeParameters
GetChargesChargeParameters :: Text -> Maybe [Text] -> GetChargesChargeParameters
-- | pathCharge: Represents the parameter named 'charge'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getChargesChargeParametersPathCharge] :: GetChargesChargeParameters -> Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getChargesChargeParametersQueryExpand] :: GetChargesChargeParameters -> Maybe [Text]
-- | Create a new GetChargesChargeParameters with all required
-- fields.
mkGetChargesChargeParameters :: Text -> GetChargesChargeParameters
-- | Represents a response of the operation getChargesCharge.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetChargesChargeResponseError is used.
data GetChargesChargeResponse
-- | Means either no matching case available or a parse error
GetChargesChargeResponseError :: String -> GetChargesChargeResponse
-- | Successful response.
GetChargesChargeResponse200 :: Charge -> GetChargesChargeResponse
-- | Error response.
GetChargesChargeResponseDefault :: Error -> GetChargesChargeResponse
instance GHC.Classes.Eq StripeAPI.Operations.GetChargesCharge.GetChargesChargeParameters
instance GHC.Show.Show StripeAPI.Operations.GetChargesCharge.GetChargesChargeParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetChargesCharge.GetChargesChargeResponse
instance GHC.Show.Show StripeAPI.Operations.GetChargesCharge.GetChargesChargeResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetChargesCharge.GetChargesChargeParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetChargesCharge.GetChargesChargeParameters
-- | Contains the different functions to run the operation getCharges
module StripeAPI.Operations.GetCharges
-- |
-- GET /v1/charges
--
--
-- <p>Returns a list of charges you’ve previously created. The
-- charges are returned in sorted order, with the most recent charges
-- appearing first.</p>
getCharges :: forall m. MonadHTTP m => GetChargesParameters -> ClientT m (Response GetChargesResponse)
-- | Defines the object schema located at
-- paths./v1/charges.GET.parameters in the specification.
data GetChargesParameters
GetChargesParameters :: Maybe GetChargesParametersQueryCreated'Variants -> Maybe Text -> Maybe Text -> Maybe [Text] -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe Text -> GetChargesParameters
-- | queryCreated: Represents the parameter named 'created'
[getChargesParametersQueryCreated] :: GetChargesParameters -> Maybe GetChargesParametersQueryCreated'Variants
-- | queryCustomer: Represents the parameter named 'customer'
--
-- Only return charges for the customer specified by this customer ID.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getChargesParametersQueryCustomer] :: GetChargesParameters -> Maybe Text
-- | queryEnding_before: Represents the parameter named 'ending_before'
--
-- A cursor for use in pagination. `ending_before` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, starting with `obj_bar`, your
-- subsequent call can include `ending_before=obj_bar` in order to fetch
-- the previous page of the list.
[getChargesParametersQueryEndingBefore] :: GetChargesParameters -> Maybe Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getChargesParametersQueryExpand] :: GetChargesParameters -> Maybe [Text]
-- | queryLimit: Represents the parameter named 'limit'
--
-- A limit on the number of objects to be returned. Limit can range
-- between 1 and 100, and the default is 10.
[getChargesParametersQueryLimit] :: GetChargesParameters -> Maybe Int
-- | queryPayment_intent: Represents the parameter named 'payment_intent'
--
-- Only return charges that were created by the PaymentIntent specified
-- by this PaymentIntent ID.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getChargesParametersQueryPaymentIntent] :: GetChargesParameters -> Maybe Text
-- | queryStarting_after: Represents the parameter named 'starting_after'
--
-- A cursor for use in pagination. `starting_after` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, ending with `obj_foo`, your
-- subsequent call can include `starting_after=obj_foo` in order to fetch
-- the next page of the list.
[getChargesParametersQueryStartingAfter] :: GetChargesParameters -> Maybe Text
-- | queryTransfer_group: Represents the parameter named 'transfer_group'
--
-- Only return charges for this transfer group.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getChargesParametersQueryTransferGroup] :: GetChargesParameters -> Maybe Text
-- | Create a new GetChargesParameters with all required fields.
mkGetChargesParameters :: GetChargesParameters
-- | Defines the object schema located at
-- paths./v1/charges.GET.parameters.properties.queryCreated.anyOf
-- in the specification.
data GetChargesParametersQueryCreated'OneOf1
GetChargesParametersQueryCreated'OneOf1 :: Maybe Int -> Maybe Int -> Maybe Int -> Maybe Int -> GetChargesParametersQueryCreated'OneOf1
-- | gt
[getChargesParametersQueryCreated'OneOf1Gt] :: GetChargesParametersQueryCreated'OneOf1 -> Maybe Int
-- | gte
[getChargesParametersQueryCreated'OneOf1Gte] :: GetChargesParametersQueryCreated'OneOf1 -> Maybe Int
-- | lt
[getChargesParametersQueryCreated'OneOf1Lt] :: GetChargesParametersQueryCreated'OneOf1 -> Maybe Int
-- | lte
[getChargesParametersQueryCreated'OneOf1Lte] :: GetChargesParametersQueryCreated'OneOf1 -> Maybe Int
-- | Create a new GetChargesParametersQueryCreated'OneOf1 with all
-- required fields.
mkGetChargesParametersQueryCreated'OneOf1 :: GetChargesParametersQueryCreated'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/charges.GET.parameters.properties.queryCreated.anyOf
-- in the specification.
--
-- Represents the parameter named 'created'
data GetChargesParametersQueryCreated'Variants
GetChargesParametersQueryCreated'GetChargesParametersQueryCreated'OneOf1 :: GetChargesParametersQueryCreated'OneOf1 -> GetChargesParametersQueryCreated'Variants
GetChargesParametersQueryCreated'Int :: Int -> GetChargesParametersQueryCreated'Variants
-- | Represents a response of the operation getCharges.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetChargesResponseError is used.
data GetChargesResponse
-- | Means either no matching case available or a parse error
GetChargesResponseError :: String -> GetChargesResponse
-- | Successful response.
GetChargesResponse200 :: GetChargesResponseBody200 -> GetChargesResponse
-- | Error response.
GetChargesResponseDefault :: Error -> GetChargesResponse
-- | Defines the object schema located at
-- paths./v1/charges.GET.responses.200.content.application/json.schema
-- in the specification.
data GetChargesResponseBody200
GetChargesResponseBody200 :: [Charge] -> Bool -> Text -> GetChargesResponseBody200
-- | data
[getChargesResponseBody200Data] :: GetChargesResponseBody200 -> [Charge]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[getChargesResponseBody200HasMore] :: GetChargesResponseBody200 -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
-- - Must match pattern '^/v1/charges'
--
[getChargesResponseBody200Url] :: GetChargesResponseBody200 -> Text
-- | Create a new GetChargesResponseBody200 with all required
-- fields.
mkGetChargesResponseBody200 :: [Charge] -> Bool -> Text -> GetChargesResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetCharges.GetChargesParametersQueryCreated'OneOf1
instance GHC.Show.Show StripeAPI.Operations.GetCharges.GetChargesParametersQueryCreated'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.GetCharges.GetChargesParametersQueryCreated'Variants
instance GHC.Show.Show StripeAPI.Operations.GetCharges.GetChargesParametersQueryCreated'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetCharges.GetChargesParameters
instance GHC.Show.Show StripeAPI.Operations.GetCharges.GetChargesParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetCharges.GetChargesResponseBody200
instance GHC.Show.Show StripeAPI.Operations.GetCharges.GetChargesResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetCharges.GetChargesResponse
instance GHC.Show.Show StripeAPI.Operations.GetCharges.GetChargesResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetCharges.GetChargesResponseBody200
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetCharges.GetChargesResponseBody200
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetCharges.GetChargesParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetCharges.GetChargesParameters
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetCharges.GetChargesParametersQueryCreated'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetCharges.GetChargesParametersQueryCreated'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetCharges.GetChargesParametersQueryCreated'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetCharges.GetChargesParametersQueryCreated'OneOf1
-- | Contains the different functions to run the operation
-- getBitcoinTransactions
module StripeAPI.Operations.GetBitcoinTransactions
-- |
-- GET /v1/bitcoin/transactions
--
--
-- <p>List bitcoin transacitons for a given receiver.</p>
getBitcoinTransactions :: forall m. MonadHTTP m => GetBitcoinTransactionsParameters -> ClientT m (Response GetBitcoinTransactionsResponse)
-- | Defines the object schema located at
-- paths./v1/bitcoin/transactions.GET.parameters in the
-- specification.
data GetBitcoinTransactionsParameters
GetBitcoinTransactionsParameters :: Maybe Text -> Maybe Text -> Maybe [Text] -> Maybe Int -> Maybe Text -> Maybe Text -> GetBitcoinTransactionsParameters
-- | queryCustomer: Represents the parameter named 'customer'
--
-- Only return transactions for the customer specified by this customer
-- ID.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getBitcoinTransactionsParametersQueryCustomer] :: GetBitcoinTransactionsParameters -> Maybe Text
-- | queryEnding_before: Represents the parameter named 'ending_before'
--
-- A cursor for use in pagination. `ending_before` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, starting with `obj_bar`, your
-- subsequent call can include `ending_before=obj_bar` in order to fetch
-- the previous page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getBitcoinTransactionsParametersQueryEndingBefore] :: GetBitcoinTransactionsParameters -> Maybe Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getBitcoinTransactionsParametersQueryExpand] :: GetBitcoinTransactionsParameters -> Maybe [Text]
-- | queryLimit: Represents the parameter named 'limit'
--
-- A limit on the number of objects to be returned. Limit can range
-- between 1 and 100, and the default is 10.
[getBitcoinTransactionsParametersQueryLimit] :: GetBitcoinTransactionsParameters -> Maybe Int
-- | queryReceiver: Represents the parameter named 'receiver'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getBitcoinTransactionsParametersQueryReceiver] :: GetBitcoinTransactionsParameters -> Maybe Text
-- | queryStarting_after: Represents the parameter named 'starting_after'
--
-- A cursor for use in pagination. `starting_after` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, ending with `obj_foo`, your
-- subsequent call can include `starting_after=obj_foo` in order to fetch
-- the next page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getBitcoinTransactionsParametersQueryStartingAfter] :: GetBitcoinTransactionsParameters -> Maybe Text
-- | Create a new GetBitcoinTransactionsParameters with all required
-- fields.
mkGetBitcoinTransactionsParameters :: GetBitcoinTransactionsParameters
-- | Represents a response of the operation getBitcoinTransactions.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetBitcoinTransactionsResponseError is
-- used.
data GetBitcoinTransactionsResponse
-- | Means either no matching case available or a parse error
GetBitcoinTransactionsResponseError :: String -> GetBitcoinTransactionsResponse
-- | Successful response.
GetBitcoinTransactionsResponse200 :: GetBitcoinTransactionsResponseBody200 -> GetBitcoinTransactionsResponse
-- | Error response.
GetBitcoinTransactionsResponseDefault :: Error -> GetBitcoinTransactionsResponse
-- | Defines the object schema located at
-- paths./v1/bitcoin/transactions.GET.responses.200.content.application/json.schema
-- in the specification.
data GetBitcoinTransactionsResponseBody200
GetBitcoinTransactionsResponseBody200 :: [BitcoinTransaction] -> Bool -> Text -> GetBitcoinTransactionsResponseBody200
-- | data: Details about each object.
[getBitcoinTransactionsResponseBody200Data] :: GetBitcoinTransactionsResponseBody200 -> [BitcoinTransaction]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[getBitcoinTransactionsResponseBody200HasMore] :: GetBitcoinTransactionsResponseBody200 -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getBitcoinTransactionsResponseBody200Url] :: GetBitcoinTransactionsResponseBody200 -> Text
-- | Create a new GetBitcoinTransactionsResponseBody200 with all
-- required fields.
mkGetBitcoinTransactionsResponseBody200 :: [BitcoinTransaction] -> Bool -> Text -> GetBitcoinTransactionsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetBitcoinTransactions.GetBitcoinTransactionsParameters
instance GHC.Show.Show StripeAPI.Operations.GetBitcoinTransactions.GetBitcoinTransactionsParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetBitcoinTransactions.GetBitcoinTransactionsResponseBody200
instance GHC.Show.Show StripeAPI.Operations.GetBitcoinTransactions.GetBitcoinTransactionsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetBitcoinTransactions.GetBitcoinTransactionsResponse
instance GHC.Show.Show StripeAPI.Operations.GetBitcoinTransactions.GetBitcoinTransactionsResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetBitcoinTransactions.GetBitcoinTransactionsResponseBody200
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetBitcoinTransactions.GetBitcoinTransactionsResponseBody200
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetBitcoinTransactions.GetBitcoinTransactionsParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetBitcoinTransactions.GetBitcoinTransactionsParameters
-- | Contains the different functions to run the operation
-- getBitcoinReceiversReceiverTransactions
module StripeAPI.Operations.GetBitcoinReceiversReceiverTransactions
-- |
-- GET /v1/bitcoin/receivers/{receiver}/transactions
--
--
-- <p>List bitcoin transacitons for a given receiver.</p>
getBitcoinReceiversReceiverTransactions :: forall m. MonadHTTP m => GetBitcoinReceiversReceiverTransactionsParameters -> ClientT m (Response GetBitcoinReceiversReceiverTransactionsResponse)
-- | Defines the object schema located at
-- paths./v1/bitcoin/receivers/{receiver}/transactions.GET.parameters
-- in the specification.
data GetBitcoinReceiversReceiverTransactionsParameters
GetBitcoinReceiversReceiverTransactionsParameters :: Text -> Maybe Text -> Maybe Text -> Maybe [Text] -> Maybe Int -> Maybe Text -> GetBitcoinReceiversReceiverTransactionsParameters
-- | pathReceiver: Represents the parameter named 'receiver'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getBitcoinReceiversReceiverTransactionsParametersPathReceiver] :: GetBitcoinReceiversReceiverTransactionsParameters -> Text
-- | queryCustomer: Represents the parameter named 'customer'
--
-- Only return transactions for the customer specified by this customer
-- ID.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getBitcoinReceiversReceiverTransactionsParametersQueryCustomer] :: GetBitcoinReceiversReceiverTransactionsParameters -> Maybe Text
-- | queryEnding_before: Represents the parameter named 'ending_before'
--
-- A cursor for use in pagination. `ending_before` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, starting with `obj_bar`, your
-- subsequent call can include `ending_before=obj_bar` in order to fetch
-- the previous page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getBitcoinReceiversReceiverTransactionsParametersQueryEndingBefore] :: GetBitcoinReceiversReceiverTransactionsParameters -> Maybe Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getBitcoinReceiversReceiverTransactionsParametersQueryExpand] :: GetBitcoinReceiversReceiverTransactionsParameters -> Maybe [Text]
-- | queryLimit: Represents the parameter named 'limit'
--
-- A limit on the number of objects to be returned. Limit can range
-- between 1 and 100, and the default is 10.
[getBitcoinReceiversReceiverTransactionsParametersQueryLimit] :: GetBitcoinReceiversReceiverTransactionsParameters -> Maybe Int
-- | queryStarting_after: Represents the parameter named 'starting_after'
--
-- A cursor for use in pagination. `starting_after` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, ending with `obj_foo`, your
-- subsequent call can include `starting_after=obj_foo` in order to fetch
-- the next page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getBitcoinReceiversReceiverTransactionsParametersQueryStartingAfter] :: GetBitcoinReceiversReceiverTransactionsParameters -> Maybe Text
-- | Create a new GetBitcoinReceiversReceiverTransactionsParameters
-- with all required fields.
mkGetBitcoinReceiversReceiverTransactionsParameters :: Text -> GetBitcoinReceiversReceiverTransactionsParameters
-- | Represents a response of the operation
-- getBitcoinReceiversReceiverTransactions.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- GetBitcoinReceiversReceiverTransactionsResponseError is used.
data GetBitcoinReceiversReceiverTransactionsResponse
-- | Means either no matching case available or a parse error
GetBitcoinReceiversReceiverTransactionsResponseError :: String -> GetBitcoinReceiversReceiverTransactionsResponse
-- | Successful response.
GetBitcoinReceiversReceiverTransactionsResponse200 :: GetBitcoinReceiversReceiverTransactionsResponseBody200 -> GetBitcoinReceiversReceiverTransactionsResponse
-- | Error response.
GetBitcoinReceiversReceiverTransactionsResponseDefault :: Error -> GetBitcoinReceiversReceiverTransactionsResponse
-- | Defines the object schema located at
-- paths./v1/bitcoin/receivers/{receiver}/transactions.GET.responses.200.content.application/json.schema
-- in the specification.
data GetBitcoinReceiversReceiverTransactionsResponseBody200
GetBitcoinReceiversReceiverTransactionsResponseBody200 :: [BitcoinTransaction] -> Bool -> Text -> GetBitcoinReceiversReceiverTransactionsResponseBody200
-- | data: Details about each object.
[getBitcoinReceiversReceiverTransactionsResponseBody200Data] :: GetBitcoinReceiversReceiverTransactionsResponseBody200 -> [BitcoinTransaction]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[getBitcoinReceiversReceiverTransactionsResponseBody200HasMore] :: GetBitcoinReceiversReceiverTransactionsResponseBody200 -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getBitcoinReceiversReceiverTransactionsResponseBody200Url] :: GetBitcoinReceiversReceiverTransactionsResponseBody200 -> Text
-- | Create a new
-- GetBitcoinReceiversReceiverTransactionsResponseBody200 with all
-- required fields.
mkGetBitcoinReceiversReceiverTransactionsResponseBody200 :: [BitcoinTransaction] -> Bool -> Text -> GetBitcoinReceiversReceiverTransactionsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetBitcoinReceiversReceiverTransactions.GetBitcoinReceiversReceiverTransactionsParameters
instance GHC.Show.Show StripeAPI.Operations.GetBitcoinReceiversReceiverTransactions.GetBitcoinReceiversReceiverTransactionsParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetBitcoinReceiversReceiverTransactions.GetBitcoinReceiversReceiverTransactionsResponseBody200
instance GHC.Show.Show StripeAPI.Operations.GetBitcoinReceiversReceiverTransactions.GetBitcoinReceiversReceiverTransactionsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetBitcoinReceiversReceiverTransactions.GetBitcoinReceiversReceiverTransactionsResponse
instance GHC.Show.Show StripeAPI.Operations.GetBitcoinReceiversReceiverTransactions.GetBitcoinReceiversReceiverTransactionsResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetBitcoinReceiversReceiverTransactions.GetBitcoinReceiversReceiverTransactionsResponseBody200
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetBitcoinReceiversReceiverTransactions.GetBitcoinReceiversReceiverTransactionsResponseBody200
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetBitcoinReceiversReceiverTransactions.GetBitcoinReceiversReceiverTransactionsParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetBitcoinReceiversReceiverTransactions.GetBitcoinReceiversReceiverTransactionsParameters
-- | Contains the different functions to run the operation
-- getBitcoinReceiversId
module StripeAPI.Operations.GetBitcoinReceiversId
-- |
-- GET /v1/bitcoin/receivers/{id}
--
--
-- <p>Retrieves the Bitcoin receiver with the given ID.</p>
getBitcoinReceiversId :: forall m. MonadHTTP m => GetBitcoinReceiversIdParameters -> ClientT m (Response GetBitcoinReceiversIdResponse)
-- | Defines the object schema located at
-- paths./v1/bitcoin/receivers/{id}.GET.parameters in the
-- specification.
data GetBitcoinReceiversIdParameters
GetBitcoinReceiversIdParameters :: Text -> Maybe [Text] -> GetBitcoinReceiversIdParameters
-- | pathId: Represents the parameter named 'id'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getBitcoinReceiversIdParametersPathId] :: GetBitcoinReceiversIdParameters -> Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getBitcoinReceiversIdParametersQueryExpand] :: GetBitcoinReceiversIdParameters -> Maybe [Text]
-- | Create a new GetBitcoinReceiversIdParameters with all required
-- fields.
mkGetBitcoinReceiversIdParameters :: Text -> GetBitcoinReceiversIdParameters
-- | Represents a response of the operation getBitcoinReceiversId.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetBitcoinReceiversIdResponseError is
-- used.
data GetBitcoinReceiversIdResponse
-- | Means either no matching case available or a parse error
GetBitcoinReceiversIdResponseError :: String -> GetBitcoinReceiversIdResponse
-- | Successful response.
GetBitcoinReceiversIdResponse200 :: BitcoinReceiver -> GetBitcoinReceiversIdResponse
-- | Error response.
GetBitcoinReceiversIdResponseDefault :: Error -> GetBitcoinReceiversIdResponse
instance GHC.Classes.Eq StripeAPI.Operations.GetBitcoinReceiversId.GetBitcoinReceiversIdParameters
instance GHC.Show.Show StripeAPI.Operations.GetBitcoinReceiversId.GetBitcoinReceiversIdParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetBitcoinReceiversId.GetBitcoinReceiversIdResponse
instance GHC.Show.Show StripeAPI.Operations.GetBitcoinReceiversId.GetBitcoinReceiversIdResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetBitcoinReceiversId.GetBitcoinReceiversIdParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetBitcoinReceiversId.GetBitcoinReceiversIdParameters
-- | Contains the different functions to run the operation
-- getBitcoinReceivers
module StripeAPI.Operations.GetBitcoinReceivers
-- |
-- GET /v1/bitcoin/receivers
--
--
-- <p>Returns a list of your receivers. Receivers are returned
-- sorted by creation date, with the most recently created receivers
-- appearing first.</p>
getBitcoinReceivers :: forall m. MonadHTTP m => GetBitcoinReceiversParameters -> ClientT m (Response GetBitcoinReceiversResponse)
-- | Defines the object schema located at
-- paths./v1/bitcoin/receivers.GET.parameters in the
-- specification.
data GetBitcoinReceiversParameters
GetBitcoinReceiversParameters :: Maybe Bool -> Maybe Text -> Maybe [Text] -> Maybe Bool -> Maybe Int -> Maybe Text -> Maybe Bool -> GetBitcoinReceiversParameters
-- | queryActive: Represents the parameter named 'active'
--
-- Filter for active receivers.
[getBitcoinReceiversParametersQueryActive] :: GetBitcoinReceiversParameters -> Maybe Bool
-- | queryEnding_before: Represents the parameter named 'ending_before'
--
-- A cursor for use in pagination. `ending_before` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, starting with `obj_bar`, your
-- subsequent call can include `ending_before=obj_bar` in order to fetch
-- the previous page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getBitcoinReceiversParametersQueryEndingBefore] :: GetBitcoinReceiversParameters -> Maybe Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getBitcoinReceiversParametersQueryExpand] :: GetBitcoinReceiversParameters -> Maybe [Text]
-- | queryFilled: Represents the parameter named 'filled'
--
-- Filter for filled receivers.
[getBitcoinReceiversParametersQueryFilled] :: GetBitcoinReceiversParameters -> Maybe Bool
-- | queryLimit: Represents the parameter named 'limit'
--
-- A limit on the number of objects to be returned. Limit can range
-- between 1 and 100, and the default is 10.
[getBitcoinReceiversParametersQueryLimit] :: GetBitcoinReceiversParameters -> Maybe Int
-- | queryStarting_after: Represents the parameter named 'starting_after'
--
-- A cursor for use in pagination. `starting_after` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, ending with `obj_foo`, your
-- subsequent call can include `starting_after=obj_foo` in order to fetch
-- the next page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getBitcoinReceiversParametersQueryStartingAfter] :: GetBitcoinReceiversParameters -> Maybe Text
-- | queryUncaptured_funds: Represents the parameter named
-- 'uncaptured_funds'
--
-- Filter for receivers with uncaptured funds.
[getBitcoinReceiversParametersQueryUncapturedFunds] :: GetBitcoinReceiversParameters -> Maybe Bool
-- | Create a new GetBitcoinReceiversParameters with all required
-- fields.
mkGetBitcoinReceiversParameters :: GetBitcoinReceiversParameters
-- | Represents a response of the operation getBitcoinReceivers.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetBitcoinReceiversResponseError is
-- used.
data GetBitcoinReceiversResponse
-- | Means either no matching case available or a parse error
GetBitcoinReceiversResponseError :: String -> GetBitcoinReceiversResponse
-- | Successful response.
GetBitcoinReceiversResponse200 :: GetBitcoinReceiversResponseBody200 -> GetBitcoinReceiversResponse
-- | Error response.
GetBitcoinReceiversResponseDefault :: Error -> GetBitcoinReceiversResponse
-- | Defines the object schema located at
-- paths./v1/bitcoin/receivers.GET.responses.200.content.application/json.schema
-- in the specification.
data GetBitcoinReceiversResponseBody200
GetBitcoinReceiversResponseBody200 :: [BitcoinReceiver] -> Bool -> Text -> GetBitcoinReceiversResponseBody200
-- | data
[getBitcoinReceiversResponseBody200Data] :: GetBitcoinReceiversResponseBody200 -> [BitcoinReceiver]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[getBitcoinReceiversResponseBody200HasMore] :: GetBitcoinReceiversResponseBody200 -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
-- - Must match pattern '^/v1/bitcoin/receivers'
--
[getBitcoinReceiversResponseBody200Url] :: GetBitcoinReceiversResponseBody200 -> Text
-- | Create a new GetBitcoinReceiversResponseBody200 with all
-- required fields.
mkGetBitcoinReceiversResponseBody200 :: [BitcoinReceiver] -> Bool -> Text -> GetBitcoinReceiversResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetBitcoinReceivers.GetBitcoinReceiversParameters
instance GHC.Show.Show StripeAPI.Operations.GetBitcoinReceivers.GetBitcoinReceiversParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetBitcoinReceivers.GetBitcoinReceiversResponseBody200
instance GHC.Show.Show StripeAPI.Operations.GetBitcoinReceivers.GetBitcoinReceiversResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetBitcoinReceivers.GetBitcoinReceiversResponse
instance GHC.Show.Show StripeAPI.Operations.GetBitcoinReceivers.GetBitcoinReceiversResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetBitcoinReceivers.GetBitcoinReceiversResponseBody200
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetBitcoinReceivers.GetBitcoinReceiversResponseBody200
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetBitcoinReceivers.GetBitcoinReceiversParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetBitcoinReceivers.GetBitcoinReceiversParameters
-- | Contains the different functions to run the operation
-- getBillingPortalConfigurationsConfiguration
module StripeAPI.Operations.GetBillingPortalConfigurationsConfiguration
-- |
-- GET /v1/billing_portal/configurations/{configuration}
--
--
-- <p>Retrieves a configuration that describes the functionality of
-- the customer portal.</p>
getBillingPortalConfigurationsConfiguration :: forall m. MonadHTTP m => GetBillingPortalConfigurationsConfigurationParameters -> ClientT m (Response GetBillingPortalConfigurationsConfigurationResponse)
-- | Defines the object schema located at
-- paths./v1/billing_portal/configurations/{configuration}.GET.parameters
-- in the specification.
data GetBillingPortalConfigurationsConfigurationParameters
GetBillingPortalConfigurationsConfigurationParameters :: Text -> Maybe [Text] -> GetBillingPortalConfigurationsConfigurationParameters
-- | pathConfiguration: Represents the parameter named 'configuration'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getBillingPortalConfigurationsConfigurationParametersPathConfiguration] :: GetBillingPortalConfigurationsConfigurationParameters -> Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getBillingPortalConfigurationsConfigurationParametersQueryExpand] :: GetBillingPortalConfigurationsConfigurationParameters -> Maybe [Text]
-- | Create a new
-- GetBillingPortalConfigurationsConfigurationParameters with all
-- required fields.
mkGetBillingPortalConfigurationsConfigurationParameters :: Text -> GetBillingPortalConfigurationsConfigurationParameters
-- | Represents a response of the operation
-- getBillingPortalConfigurationsConfiguration.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- GetBillingPortalConfigurationsConfigurationResponseError is
-- used.
data GetBillingPortalConfigurationsConfigurationResponse
-- | Means either no matching case available or a parse error
GetBillingPortalConfigurationsConfigurationResponseError :: String -> GetBillingPortalConfigurationsConfigurationResponse
-- | Successful response.
GetBillingPortalConfigurationsConfigurationResponse200 :: BillingPortal'configuration -> GetBillingPortalConfigurationsConfigurationResponse
-- | Error response.
GetBillingPortalConfigurationsConfigurationResponseDefault :: Error -> GetBillingPortalConfigurationsConfigurationResponse
instance GHC.Classes.Eq StripeAPI.Operations.GetBillingPortalConfigurationsConfiguration.GetBillingPortalConfigurationsConfigurationParameters
instance GHC.Show.Show StripeAPI.Operations.GetBillingPortalConfigurationsConfiguration.GetBillingPortalConfigurationsConfigurationParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetBillingPortalConfigurationsConfiguration.GetBillingPortalConfigurationsConfigurationResponse
instance GHC.Show.Show StripeAPI.Operations.GetBillingPortalConfigurationsConfiguration.GetBillingPortalConfigurationsConfigurationResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetBillingPortalConfigurationsConfiguration.GetBillingPortalConfigurationsConfigurationParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetBillingPortalConfigurationsConfiguration.GetBillingPortalConfigurationsConfigurationParameters
-- | Contains the different functions to run the operation
-- getBillingPortalConfigurations
module StripeAPI.Operations.GetBillingPortalConfigurations
-- |
-- GET /v1/billing_portal/configurations
--
--
-- <p>Returns a list of configurations that describe the
-- functionality of the customer portal.</p>
getBillingPortalConfigurations :: forall m. MonadHTTP m => GetBillingPortalConfigurationsParameters -> ClientT m (Response GetBillingPortalConfigurationsResponse)
-- | Defines the object schema located at
-- paths./v1/billing_portal/configurations.GET.parameters in the
-- specification.
data GetBillingPortalConfigurationsParameters
GetBillingPortalConfigurationsParameters :: Maybe Bool -> Maybe Text -> Maybe [Text] -> Maybe Bool -> Maybe Int -> Maybe Text -> GetBillingPortalConfigurationsParameters
-- | queryActive: Represents the parameter named 'active'
--
-- Only return configurations that are active or inactive (e.g., pass
-- `true` to only list active configurations).
[getBillingPortalConfigurationsParametersQueryActive] :: GetBillingPortalConfigurationsParameters -> Maybe Bool
-- | queryEnding_before: Represents the parameter named 'ending_before'
--
-- A cursor for use in pagination. `ending_before` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, starting with `obj_bar`, your
-- subsequent call can include `ending_before=obj_bar` in order to fetch
-- the previous page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getBillingPortalConfigurationsParametersQueryEndingBefore] :: GetBillingPortalConfigurationsParameters -> Maybe Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getBillingPortalConfigurationsParametersQueryExpand] :: GetBillingPortalConfigurationsParameters -> Maybe [Text]
-- | queryIs_default: Represents the parameter named 'is_default'
--
-- Only return the default or non-default configurations (e.g., pass
-- `true` to only list the default configuration).
[getBillingPortalConfigurationsParametersQueryIsDefault] :: GetBillingPortalConfigurationsParameters -> Maybe Bool
-- | queryLimit: Represents the parameter named 'limit'
--
-- A limit on the number of objects to be returned. Limit can range
-- between 1 and 100, and the default is 10.
[getBillingPortalConfigurationsParametersQueryLimit] :: GetBillingPortalConfigurationsParameters -> Maybe Int
-- | queryStarting_after: Represents the parameter named 'starting_after'
--
-- A cursor for use in pagination. `starting_after` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, ending with `obj_foo`, your
-- subsequent call can include `starting_after=obj_foo` in order to fetch
-- the next page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getBillingPortalConfigurationsParametersQueryStartingAfter] :: GetBillingPortalConfigurationsParameters -> Maybe Text
-- | Create a new GetBillingPortalConfigurationsParameters with all
-- required fields.
mkGetBillingPortalConfigurationsParameters :: GetBillingPortalConfigurationsParameters
-- | Represents a response of the operation
-- getBillingPortalConfigurations.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- GetBillingPortalConfigurationsResponseError is used.
data GetBillingPortalConfigurationsResponse
-- | Means either no matching case available or a parse error
GetBillingPortalConfigurationsResponseError :: String -> GetBillingPortalConfigurationsResponse
-- | Successful response.
GetBillingPortalConfigurationsResponse200 :: GetBillingPortalConfigurationsResponseBody200 -> GetBillingPortalConfigurationsResponse
-- | Error response.
GetBillingPortalConfigurationsResponseDefault :: Error -> GetBillingPortalConfigurationsResponse
-- | Defines the object schema located at
-- paths./v1/billing_portal/configurations.GET.responses.200.content.application/json.schema
-- in the specification.
data GetBillingPortalConfigurationsResponseBody200
GetBillingPortalConfigurationsResponseBody200 :: [BillingPortal'configuration] -> Bool -> Text -> GetBillingPortalConfigurationsResponseBody200
-- | data
[getBillingPortalConfigurationsResponseBody200Data] :: GetBillingPortalConfigurationsResponseBody200 -> [BillingPortal'configuration]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[getBillingPortalConfigurationsResponseBody200HasMore] :: GetBillingPortalConfigurationsResponseBody200 -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
-- - Must match pattern '^/v1/billing_portal/configurations'
--
[getBillingPortalConfigurationsResponseBody200Url] :: GetBillingPortalConfigurationsResponseBody200 -> Text
-- | Create a new GetBillingPortalConfigurationsResponseBody200 with
-- all required fields.
mkGetBillingPortalConfigurationsResponseBody200 :: [BillingPortal'configuration] -> Bool -> Text -> GetBillingPortalConfigurationsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetBillingPortalConfigurations.GetBillingPortalConfigurationsParameters
instance GHC.Show.Show StripeAPI.Operations.GetBillingPortalConfigurations.GetBillingPortalConfigurationsParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetBillingPortalConfigurations.GetBillingPortalConfigurationsResponseBody200
instance GHC.Show.Show StripeAPI.Operations.GetBillingPortalConfigurations.GetBillingPortalConfigurationsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetBillingPortalConfigurations.GetBillingPortalConfigurationsResponse
instance GHC.Show.Show StripeAPI.Operations.GetBillingPortalConfigurations.GetBillingPortalConfigurationsResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetBillingPortalConfigurations.GetBillingPortalConfigurationsResponseBody200
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetBillingPortalConfigurations.GetBillingPortalConfigurationsResponseBody200
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetBillingPortalConfigurations.GetBillingPortalConfigurationsParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetBillingPortalConfigurations.GetBillingPortalConfigurationsParameters
-- | Contains the different functions to run the operation
-- getBalanceTransactionsId
module StripeAPI.Operations.GetBalanceTransactionsId
-- |
-- GET /v1/balance_transactions/{id}
--
--
-- <p>Retrieves the balance transaction with the given
-- ID.</p>
--
-- <p>Note that this endpoint previously used the path
-- <code>/v1/balance/history/:id</code>.</p>
getBalanceTransactionsId :: forall m. MonadHTTP m => GetBalanceTransactionsIdParameters -> ClientT m (Response GetBalanceTransactionsIdResponse)
-- | Defines the object schema located at
-- paths./v1/balance_transactions/{id}.GET.parameters in the
-- specification.
data GetBalanceTransactionsIdParameters
GetBalanceTransactionsIdParameters :: Text -> Maybe [Text] -> GetBalanceTransactionsIdParameters
-- | pathId: Represents the parameter named 'id'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getBalanceTransactionsIdParametersPathId] :: GetBalanceTransactionsIdParameters -> Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getBalanceTransactionsIdParametersQueryExpand] :: GetBalanceTransactionsIdParameters -> Maybe [Text]
-- | Create a new GetBalanceTransactionsIdParameters with all
-- required fields.
mkGetBalanceTransactionsIdParameters :: Text -> GetBalanceTransactionsIdParameters
-- | Represents a response of the operation
-- getBalanceTransactionsId.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetBalanceTransactionsIdResponseError
-- is used.
data GetBalanceTransactionsIdResponse
-- | Means either no matching case available or a parse error
GetBalanceTransactionsIdResponseError :: String -> GetBalanceTransactionsIdResponse
-- | Successful response.
GetBalanceTransactionsIdResponse200 :: BalanceTransaction -> GetBalanceTransactionsIdResponse
-- | Error response.
GetBalanceTransactionsIdResponseDefault :: Error -> GetBalanceTransactionsIdResponse
instance GHC.Classes.Eq StripeAPI.Operations.GetBalanceTransactionsId.GetBalanceTransactionsIdParameters
instance GHC.Show.Show StripeAPI.Operations.GetBalanceTransactionsId.GetBalanceTransactionsIdParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetBalanceTransactionsId.GetBalanceTransactionsIdResponse
instance GHC.Show.Show StripeAPI.Operations.GetBalanceTransactionsId.GetBalanceTransactionsIdResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetBalanceTransactionsId.GetBalanceTransactionsIdParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetBalanceTransactionsId.GetBalanceTransactionsIdParameters
-- | Contains the different functions to run the operation
-- getBalanceTransactions
module StripeAPI.Operations.GetBalanceTransactions
-- |
-- GET /v1/balance_transactions
--
--
-- <p>Returns a list of transactions that have contributed to the
-- Stripe account balance (e.g., charges, transfers, and so forth). The
-- transactions are returned in sorted order, with the most recent
-- transactions appearing first.</p>
--
-- <p>Note that this endpoint was previously called “Balance
-- history” and used the path
-- <code>/v1/balance/history</code>.</p>
getBalanceTransactions :: forall m. MonadHTTP m => GetBalanceTransactionsParameters -> ClientT m (Response GetBalanceTransactionsResponse)
-- | Defines the object schema located at
-- paths./v1/balance_transactions.GET.parameters in the
-- specification.
data GetBalanceTransactionsParameters
GetBalanceTransactionsParameters :: Maybe GetBalanceTransactionsParametersQueryAvailableOn'Variants -> Maybe GetBalanceTransactionsParametersQueryCreated'Variants -> Maybe Text -> Maybe Text -> Maybe [Text] -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> GetBalanceTransactionsParameters
-- | queryAvailable_on: Represents the parameter named 'available_on'
[getBalanceTransactionsParametersQueryAvailableOn] :: GetBalanceTransactionsParameters -> Maybe GetBalanceTransactionsParametersQueryAvailableOn'Variants
-- | queryCreated: Represents the parameter named 'created'
[getBalanceTransactionsParametersQueryCreated] :: GetBalanceTransactionsParameters -> Maybe GetBalanceTransactionsParametersQueryCreated'Variants
-- | queryCurrency: Represents the parameter named 'currency'
--
-- Only return transactions in a certain currency. Three-letter ISO
-- currency code, in lowercase. Must be a supported currency.
[getBalanceTransactionsParametersQueryCurrency] :: GetBalanceTransactionsParameters -> Maybe Text
-- | queryEnding_before: Represents the parameter named 'ending_before'
--
-- A cursor for use in pagination. `ending_before` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, starting with `obj_bar`, your
-- subsequent call can include `ending_before=obj_bar` in order to fetch
-- the previous page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getBalanceTransactionsParametersQueryEndingBefore] :: GetBalanceTransactionsParameters -> Maybe Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getBalanceTransactionsParametersQueryExpand] :: GetBalanceTransactionsParameters -> Maybe [Text]
-- | queryLimit: Represents the parameter named 'limit'
--
-- A limit on the number of objects to be returned. Limit can range
-- between 1 and 100, and the default is 10.
[getBalanceTransactionsParametersQueryLimit] :: GetBalanceTransactionsParameters -> Maybe Int
-- | queryPayout: Represents the parameter named 'payout'
--
-- For automatic Stripe payouts only, only returns transactions that were
-- paid out on the specified payout ID.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getBalanceTransactionsParametersQueryPayout] :: GetBalanceTransactionsParameters -> Maybe Text
-- | querySource: Represents the parameter named 'source'
--
-- Only returns the original transaction.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getBalanceTransactionsParametersQuerySource] :: GetBalanceTransactionsParameters -> Maybe Text
-- | queryStarting_after: Represents the parameter named 'starting_after'
--
-- A cursor for use in pagination. `starting_after` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, ending with `obj_foo`, your
-- subsequent call can include `starting_after=obj_foo` in order to fetch
-- the next page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getBalanceTransactionsParametersQueryStartingAfter] :: GetBalanceTransactionsParameters -> Maybe Text
-- | queryType: Represents the parameter named 'type'
--
-- Only returns transactions of the given type. One of: `adjustment`,
-- `advance`, `advance_funding`, `anticipation_repayment`,
-- `application_fee`, `application_fee_refund`, `charge`,
-- `connect_collection_transfer`, `contribution`,
-- `issuing_authorization_hold`, `issuing_authorization_release`,
-- `issuing_dispute`, `issuing_transaction`, `payment`,
-- `payment_failure_refund`, `payment_refund`, `payout`, `payout_cancel`,
-- `payout_failure`, `refund`, `refund_failure`, `reserve_transaction`,
-- `reserved_funds`, `stripe_fee`, `stripe_fx_fee`, `tax_fee`, `topup`,
-- `topup_reversal`, `transfer`, `transfer_cancel`, `transfer_failure`,
-- or `transfer_refund`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getBalanceTransactionsParametersQueryType] :: GetBalanceTransactionsParameters -> Maybe Text
-- | Create a new GetBalanceTransactionsParameters with all required
-- fields.
mkGetBalanceTransactionsParameters :: GetBalanceTransactionsParameters
-- | Defines the object schema located at
-- paths./v1/balance_transactions.GET.parameters.properties.queryAvailable_on.anyOf
-- in the specification.
data GetBalanceTransactionsParametersQueryAvailableOn'OneOf1
GetBalanceTransactionsParametersQueryAvailableOn'OneOf1 :: Maybe Int -> Maybe Int -> Maybe Int -> Maybe Int -> GetBalanceTransactionsParametersQueryAvailableOn'OneOf1
-- | gt
[getBalanceTransactionsParametersQueryAvailableOn'OneOf1Gt] :: GetBalanceTransactionsParametersQueryAvailableOn'OneOf1 -> Maybe Int
-- | gte
[getBalanceTransactionsParametersQueryAvailableOn'OneOf1Gte] :: GetBalanceTransactionsParametersQueryAvailableOn'OneOf1 -> Maybe Int
-- | lt
[getBalanceTransactionsParametersQueryAvailableOn'OneOf1Lt] :: GetBalanceTransactionsParametersQueryAvailableOn'OneOf1 -> Maybe Int
-- | lte
[getBalanceTransactionsParametersQueryAvailableOn'OneOf1Lte] :: GetBalanceTransactionsParametersQueryAvailableOn'OneOf1 -> Maybe Int
-- | Create a new
-- GetBalanceTransactionsParametersQueryAvailableOn'OneOf1 with
-- all required fields.
mkGetBalanceTransactionsParametersQueryAvailableOn'OneOf1 :: GetBalanceTransactionsParametersQueryAvailableOn'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/balance_transactions.GET.parameters.properties.queryAvailable_on.anyOf
-- in the specification.
--
-- Represents the parameter named 'available_on'
data GetBalanceTransactionsParametersQueryAvailableOn'Variants
GetBalanceTransactionsParametersQueryAvailableOn'GetBalanceTransactionsParametersQueryAvailableOn'OneOf1 :: GetBalanceTransactionsParametersQueryAvailableOn'OneOf1 -> GetBalanceTransactionsParametersQueryAvailableOn'Variants
GetBalanceTransactionsParametersQueryAvailableOn'Int :: Int -> GetBalanceTransactionsParametersQueryAvailableOn'Variants
-- | Defines the object schema located at
-- paths./v1/balance_transactions.GET.parameters.properties.queryCreated.anyOf
-- in the specification.
data GetBalanceTransactionsParametersQueryCreated'OneOf1
GetBalanceTransactionsParametersQueryCreated'OneOf1 :: Maybe Int -> Maybe Int -> Maybe Int -> Maybe Int -> GetBalanceTransactionsParametersQueryCreated'OneOf1
-- | gt
[getBalanceTransactionsParametersQueryCreated'OneOf1Gt] :: GetBalanceTransactionsParametersQueryCreated'OneOf1 -> Maybe Int
-- | gte
[getBalanceTransactionsParametersQueryCreated'OneOf1Gte] :: GetBalanceTransactionsParametersQueryCreated'OneOf1 -> Maybe Int
-- | lt
[getBalanceTransactionsParametersQueryCreated'OneOf1Lt] :: GetBalanceTransactionsParametersQueryCreated'OneOf1 -> Maybe Int
-- | lte
[getBalanceTransactionsParametersQueryCreated'OneOf1Lte] :: GetBalanceTransactionsParametersQueryCreated'OneOf1 -> Maybe Int
-- | Create a new
-- GetBalanceTransactionsParametersQueryCreated'OneOf1 with all
-- required fields.
mkGetBalanceTransactionsParametersQueryCreated'OneOf1 :: GetBalanceTransactionsParametersQueryCreated'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/balance_transactions.GET.parameters.properties.queryCreated.anyOf
-- in the specification.
--
-- Represents the parameter named 'created'
data GetBalanceTransactionsParametersQueryCreated'Variants
GetBalanceTransactionsParametersQueryCreated'GetBalanceTransactionsParametersQueryCreated'OneOf1 :: GetBalanceTransactionsParametersQueryCreated'OneOf1 -> GetBalanceTransactionsParametersQueryCreated'Variants
GetBalanceTransactionsParametersQueryCreated'Int :: Int -> GetBalanceTransactionsParametersQueryCreated'Variants
-- | Represents a response of the operation getBalanceTransactions.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetBalanceTransactionsResponseError is
-- used.
data GetBalanceTransactionsResponse
-- | Means either no matching case available or a parse error
GetBalanceTransactionsResponseError :: String -> GetBalanceTransactionsResponse
-- | Successful response.
GetBalanceTransactionsResponse200 :: GetBalanceTransactionsResponseBody200 -> GetBalanceTransactionsResponse
-- | Error response.
GetBalanceTransactionsResponseDefault :: Error -> GetBalanceTransactionsResponse
-- | Defines the object schema located at
-- paths./v1/balance_transactions.GET.responses.200.content.application/json.schema
-- in the specification.
data GetBalanceTransactionsResponseBody200
GetBalanceTransactionsResponseBody200 :: [BalanceTransaction] -> Bool -> Text -> GetBalanceTransactionsResponseBody200
-- | data
[getBalanceTransactionsResponseBody200Data] :: GetBalanceTransactionsResponseBody200 -> [BalanceTransaction]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[getBalanceTransactionsResponseBody200HasMore] :: GetBalanceTransactionsResponseBody200 -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
-- - Must match pattern '^/v1/balance_transactions'
--
[getBalanceTransactionsResponseBody200Url] :: GetBalanceTransactionsResponseBody200 -> Text
-- | Create a new GetBalanceTransactionsResponseBody200 with all
-- required fields.
mkGetBalanceTransactionsResponseBody200 :: [BalanceTransaction] -> Bool -> Text -> GetBalanceTransactionsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetBalanceTransactions.GetBalanceTransactionsParametersQueryAvailableOn'OneOf1
instance GHC.Show.Show StripeAPI.Operations.GetBalanceTransactions.GetBalanceTransactionsParametersQueryAvailableOn'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.GetBalanceTransactions.GetBalanceTransactionsParametersQueryAvailableOn'Variants
instance GHC.Show.Show StripeAPI.Operations.GetBalanceTransactions.GetBalanceTransactionsParametersQueryAvailableOn'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetBalanceTransactions.GetBalanceTransactionsParametersQueryCreated'OneOf1
instance GHC.Show.Show StripeAPI.Operations.GetBalanceTransactions.GetBalanceTransactionsParametersQueryCreated'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.GetBalanceTransactions.GetBalanceTransactionsParametersQueryCreated'Variants
instance GHC.Show.Show StripeAPI.Operations.GetBalanceTransactions.GetBalanceTransactionsParametersQueryCreated'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetBalanceTransactions.GetBalanceTransactionsParameters
instance GHC.Show.Show StripeAPI.Operations.GetBalanceTransactions.GetBalanceTransactionsParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetBalanceTransactions.GetBalanceTransactionsResponseBody200
instance GHC.Show.Show StripeAPI.Operations.GetBalanceTransactions.GetBalanceTransactionsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetBalanceTransactions.GetBalanceTransactionsResponse
instance GHC.Show.Show StripeAPI.Operations.GetBalanceTransactions.GetBalanceTransactionsResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetBalanceTransactions.GetBalanceTransactionsResponseBody200
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetBalanceTransactions.GetBalanceTransactionsResponseBody200
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetBalanceTransactions.GetBalanceTransactionsParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetBalanceTransactions.GetBalanceTransactionsParameters
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetBalanceTransactions.GetBalanceTransactionsParametersQueryCreated'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetBalanceTransactions.GetBalanceTransactionsParametersQueryCreated'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetBalanceTransactions.GetBalanceTransactionsParametersQueryCreated'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetBalanceTransactions.GetBalanceTransactionsParametersQueryCreated'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetBalanceTransactions.GetBalanceTransactionsParametersQueryAvailableOn'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetBalanceTransactions.GetBalanceTransactionsParametersQueryAvailableOn'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetBalanceTransactions.GetBalanceTransactionsParametersQueryAvailableOn'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetBalanceTransactions.GetBalanceTransactionsParametersQueryAvailableOn'OneOf1
-- | Contains the different functions to run the operation
-- getBalanceHistoryId
module StripeAPI.Operations.GetBalanceHistoryId
-- |
-- GET /v1/balance/history/{id}
--
--
-- <p>Retrieves the balance transaction with the given
-- ID.</p>
--
-- <p>Note that this endpoint previously used the path
-- <code>/v1/balance/history/:id</code>.</p>
getBalanceHistoryId :: forall m. MonadHTTP m => GetBalanceHistoryIdParameters -> ClientT m (Response GetBalanceHistoryIdResponse)
-- | Defines the object schema located at
-- paths./v1/balance/history/{id}.GET.parameters in the
-- specification.
data GetBalanceHistoryIdParameters
GetBalanceHistoryIdParameters :: Text -> Maybe [Text] -> GetBalanceHistoryIdParameters
-- | pathId: Represents the parameter named 'id'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getBalanceHistoryIdParametersPathId] :: GetBalanceHistoryIdParameters -> Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getBalanceHistoryIdParametersQueryExpand] :: GetBalanceHistoryIdParameters -> Maybe [Text]
-- | Create a new GetBalanceHistoryIdParameters with all required
-- fields.
mkGetBalanceHistoryIdParameters :: Text -> GetBalanceHistoryIdParameters
-- | Represents a response of the operation getBalanceHistoryId.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetBalanceHistoryIdResponseError is
-- used.
data GetBalanceHistoryIdResponse
-- | Means either no matching case available or a parse error
GetBalanceHistoryIdResponseError :: String -> GetBalanceHistoryIdResponse
-- | Successful response.
GetBalanceHistoryIdResponse200 :: BalanceTransaction -> GetBalanceHistoryIdResponse
-- | Error response.
GetBalanceHistoryIdResponseDefault :: Error -> GetBalanceHistoryIdResponse
instance GHC.Classes.Eq StripeAPI.Operations.GetBalanceHistoryId.GetBalanceHistoryIdParameters
instance GHC.Show.Show StripeAPI.Operations.GetBalanceHistoryId.GetBalanceHistoryIdParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetBalanceHistoryId.GetBalanceHistoryIdResponse
instance GHC.Show.Show StripeAPI.Operations.GetBalanceHistoryId.GetBalanceHistoryIdResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetBalanceHistoryId.GetBalanceHistoryIdParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetBalanceHistoryId.GetBalanceHistoryIdParameters
-- | Contains the different functions to run the operation
-- getBalanceHistory
module StripeAPI.Operations.GetBalanceHistory
-- |
-- GET /v1/balance/history
--
--
-- <p>Returns a list of transactions that have contributed to the
-- Stripe account balance (e.g., charges, transfers, and so forth). The
-- transactions are returned in sorted order, with the most recent
-- transactions appearing first.</p>
--
-- <p>Note that this endpoint was previously called “Balance
-- history” and used the path
-- <code>/v1/balance/history</code>.</p>
getBalanceHistory :: forall m. MonadHTTP m => GetBalanceHistoryParameters -> ClientT m (Response GetBalanceHistoryResponse)
-- | Defines the object schema located at
-- paths./v1/balance/history.GET.parameters in the
-- specification.
data GetBalanceHistoryParameters
GetBalanceHistoryParameters :: Maybe GetBalanceHistoryParametersQueryAvailableOn'Variants -> Maybe GetBalanceHistoryParametersQueryCreated'Variants -> Maybe Text -> Maybe Text -> Maybe [Text] -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> GetBalanceHistoryParameters
-- | queryAvailable_on: Represents the parameter named 'available_on'
[getBalanceHistoryParametersQueryAvailableOn] :: GetBalanceHistoryParameters -> Maybe GetBalanceHistoryParametersQueryAvailableOn'Variants
-- | queryCreated: Represents the parameter named 'created'
[getBalanceHistoryParametersQueryCreated] :: GetBalanceHistoryParameters -> Maybe GetBalanceHistoryParametersQueryCreated'Variants
-- | queryCurrency: Represents the parameter named 'currency'
--
-- Only return transactions in a certain currency. Three-letter ISO
-- currency code, in lowercase. Must be a supported currency.
[getBalanceHistoryParametersQueryCurrency] :: GetBalanceHistoryParameters -> Maybe Text
-- | queryEnding_before: Represents the parameter named 'ending_before'
--
-- A cursor for use in pagination. `ending_before` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, starting with `obj_bar`, your
-- subsequent call can include `ending_before=obj_bar` in order to fetch
-- the previous page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getBalanceHistoryParametersQueryEndingBefore] :: GetBalanceHistoryParameters -> Maybe Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getBalanceHistoryParametersQueryExpand] :: GetBalanceHistoryParameters -> Maybe [Text]
-- | queryLimit: Represents the parameter named 'limit'
--
-- A limit on the number of objects to be returned. Limit can range
-- between 1 and 100, and the default is 10.
[getBalanceHistoryParametersQueryLimit] :: GetBalanceHistoryParameters -> Maybe Int
-- | queryPayout: Represents the parameter named 'payout'
--
-- For automatic Stripe payouts only, only returns transactions that were
-- paid out on the specified payout ID.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getBalanceHistoryParametersQueryPayout] :: GetBalanceHistoryParameters -> Maybe Text
-- | querySource: Represents the parameter named 'source'
--
-- Only returns the original transaction.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getBalanceHistoryParametersQuerySource] :: GetBalanceHistoryParameters -> Maybe Text
-- | queryStarting_after: Represents the parameter named 'starting_after'
--
-- A cursor for use in pagination. `starting_after` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, ending with `obj_foo`, your
-- subsequent call can include `starting_after=obj_foo` in order to fetch
-- the next page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getBalanceHistoryParametersQueryStartingAfter] :: GetBalanceHistoryParameters -> Maybe Text
-- | queryType: Represents the parameter named 'type'
--
-- Only returns transactions of the given type. One of: `adjustment`,
-- `advance`, `advance_funding`, `anticipation_repayment`,
-- `application_fee`, `application_fee_refund`, `charge`,
-- `connect_collection_transfer`, `contribution`,
-- `issuing_authorization_hold`, `issuing_authorization_release`,
-- `issuing_dispute`, `issuing_transaction`, `payment`,
-- `payment_failure_refund`, `payment_refund`, `payout`, `payout_cancel`,
-- `payout_failure`, `refund`, `refund_failure`, `reserve_transaction`,
-- `reserved_funds`, `stripe_fee`, `stripe_fx_fee`, `tax_fee`, `topup`,
-- `topup_reversal`, `transfer`, `transfer_cancel`, `transfer_failure`,
-- or `transfer_refund`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getBalanceHistoryParametersQueryType] :: GetBalanceHistoryParameters -> Maybe Text
-- | Create a new GetBalanceHistoryParameters with all required
-- fields.
mkGetBalanceHistoryParameters :: GetBalanceHistoryParameters
-- | Defines the object schema located at
-- paths./v1/balance/history.GET.parameters.properties.queryAvailable_on.anyOf
-- in the specification.
data GetBalanceHistoryParametersQueryAvailableOn'OneOf1
GetBalanceHistoryParametersQueryAvailableOn'OneOf1 :: Maybe Int -> Maybe Int -> Maybe Int -> Maybe Int -> GetBalanceHistoryParametersQueryAvailableOn'OneOf1
-- | gt
[getBalanceHistoryParametersQueryAvailableOn'OneOf1Gt] :: GetBalanceHistoryParametersQueryAvailableOn'OneOf1 -> Maybe Int
-- | gte
[getBalanceHistoryParametersQueryAvailableOn'OneOf1Gte] :: GetBalanceHistoryParametersQueryAvailableOn'OneOf1 -> Maybe Int
-- | lt
[getBalanceHistoryParametersQueryAvailableOn'OneOf1Lt] :: GetBalanceHistoryParametersQueryAvailableOn'OneOf1 -> Maybe Int
-- | lte
[getBalanceHistoryParametersQueryAvailableOn'OneOf1Lte] :: GetBalanceHistoryParametersQueryAvailableOn'OneOf1 -> Maybe Int
-- | Create a new GetBalanceHistoryParametersQueryAvailableOn'OneOf1
-- with all required fields.
mkGetBalanceHistoryParametersQueryAvailableOn'OneOf1 :: GetBalanceHistoryParametersQueryAvailableOn'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/balance/history.GET.parameters.properties.queryAvailable_on.anyOf
-- in the specification.
--
-- Represents the parameter named 'available_on'
data GetBalanceHistoryParametersQueryAvailableOn'Variants
GetBalanceHistoryParametersQueryAvailableOn'GetBalanceHistoryParametersQueryAvailableOn'OneOf1 :: GetBalanceHistoryParametersQueryAvailableOn'OneOf1 -> GetBalanceHistoryParametersQueryAvailableOn'Variants
GetBalanceHistoryParametersQueryAvailableOn'Int :: Int -> GetBalanceHistoryParametersQueryAvailableOn'Variants
-- | Defines the object schema located at
-- paths./v1/balance/history.GET.parameters.properties.queryCreated.anyOf
-- in the specification.
data GetBalanceHistoryParametersQueryCreated'OneOf1
GetBalanceHistoryParametersQueryCreated'OneOf1 :: Maybe Int -> Maybe Int -> Maybe Int -> Maybe Int -> GetBalanceHistoryParametersQueryCreated'OneOf1
-- | gt
[getBalanceHistoryParametersQueryCreated'OneOf1Gt] :: GetBalanceHistoryParametersQueryCreated'OneOf1 -> Maybe Int
-- | gte
[getBalanceHistoryParametersQueryCreated'OneOf1Gte] :: GetBalanceHistoryParametersQueryCreated'OneOf1 -> Maybe Int
-- | lt
[getBalanceHistoryParametersQueryCreated'OneOf1Lt] :: GetBalanceHistoryParametersQueryCreated'OneOf1 -> Maybe Int
-- | lte
[getBalanceHistoryParametersQueryCreated'OneOf1Lte] :: GetBalanceHistoryParametersQueryCreated'OneOf1 -> Maybe Int
-- | Create a new GetBalanceHistoryParametersQueryCreated'OneOf1
-- with all required fields.
mkGetBalanceHistoryParametersQueryCreated'OneOf1 :: GetBalanceHistoryParametersQueryCreated'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/balance/history.GET.parameters.properties.queryCreated.anyOf
-- in the specification.
--
-- Represents the parameter named 'created'
data GetBalanceHistoryParametersQueryCreated'Variants
GetBalanceHistoryParametersQueryCreated'GetBalanceHistoryParametersQueryCreated'OneOf1 :: GetBalanceHistoryParametersQueryCreated'OneOf1 -> GetBalanceHistoryParametersQueryCreated'Variants
GetBalanceHistoryParametersQueryCreated'Int :: Int -> GetBalanceHistoryParametersQueryCreated'Variants
-- | Represents a response of the operation getBalanceHistory.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetBalanceHistoryResponseError is used.
data GetBalanceHistoryResponse
-- | Means either no matching case available or a parse error
GetBalanceHistoryResponseError :: String -> GetBalanceHistoryResponse
-- | Successful response.
GetBalanceHistoryResponse200 :: GetBalanceHistoryResponseBody200 -> GetBalanceHistoryResponse
-- | Error response.
GetBalanceHistoryResponseDefault :: Error -> GetBalanceHistoryResponse
-- | Defines the object schema located at
-- paths./v1/balance/history.GET.responses.200.content.application/json.schema
-- in the specification.
data GetBalanceHistoryResponseBody200
GetBalanceHistoryResponseBody200 :: [BalanceTransaction] -> Bool -> Text -> GetBalanceHistoryResponseBody200
-- | data
[getBalanceHistoryResponseBody200Data] :: GetBalanceHistoryResponseBody200 -> [BalanceTransaction]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[getBalanceHistoryResponseBody200HasMore] :: GetBalanceHistoryResponseBody200 -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
-- - Must match pattern '^/v1/balance_transactions'
--
[getBalanceHistoryResponseBody200Url] :: GetBalanceHistoryResponseBody200 -> Text
-- | Create a new GetBalanceHistoryResponseBody200 with all required
-- fields.
mkGetBalanceHistoryResponseBody200 :: [BalanceTransaction] -> Bool -> Text -> GetBalanceHistoryResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetBalanceHistory.GetBalanceHistoryParametersQueryAvailableOn'OneOf1
instance GHC.Show.Show StripeAPI.Operations.GetBalanceHistory.GetBalanceHistoryParametersQueryAvailableOn'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.GetBalanceHistory.GetBalanceHistoryParametersQueryAvailableOn'Variants
instance GHC.Show.Show StripeAPI.Operations.GetBalanceHistory.GetBalanceHistoryParametersQueryAvailableOn'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetBalanceHistory.GetBalanceHistoryParametersQueryCreated'OneOf1
instance GHC.Show.Show StripeAPI.Operations.GetBalanceHistory.GetBalanceHistoryParametersQueryCreated'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.GetBalanceHistory.GetBalanceHistoryParametersQueryCreated'Variants
instance GHC.Show.Show StripeAPI.Operations.GetBalanceHistory.GetBalanceHistoryParametersQueryCreated'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetBalanceHistory.GetBalanceHistoryParameters
instance GHC.Show.Show StripeAPI.Operations.GetBalanceHistory.GetBalanceHistoryParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetBalanceHistory.GetBalanceHistoryResponseBody200
instance GHC.Show.Show StripeAPI.Operations.GetBalanceHistory.GetBalanceHistoryResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetBalanceHistory.GetBalanceHistoryResponse
instance GHC.Show.Show StripeAPI.Operations.GetBalanceHistory.GetBalanceHistoryResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetBalanceHistory.GetBalanceHistoryResponseBody200
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetBalanceHistory.GetBalanceHistoryResponseBody200
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetBalanceHistory.GetBalanceHistoryParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetBalanceHistory.GetBalanceHistoryParameters
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetBalanceHistory.GetBalanceHistoryParametersQueryCreated'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetBalanceHistory.GetBalanceHistoryParametersQueryCreated'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetBalanceHistory.GetBalanceHistoryParametersQueryCreated'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetBalanceHistory.GetBalanceHistoryParametersQueryCreated'OneOf1
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetBalanceHistory.GetBalanceHistoryParametersQueryAvailableOn'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetBalanceHistory.GetBalanceHistoryParametersQueryAvailableOn'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetBalanceHistory.GetBalanceHistoryParametersQueryAvailableOn'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetBalanceHistory.GetBalanceHistoryParametersQueryAvailableOn'OneOf1
-- | Contains the different functions to run the operation getBalance
module StripeAPI.Operations.GetBalance
-- |
-- GET /v1/balance
--
--
-- <p>Retrieves the current account balance, based on the
-- authentication that was used to make the request. For a sample
-- request, see <a
-- href="/docs/connect/account-balances#accounting-for-negative-balances">Accounting
-- for negative balances</a>.</p>
getBalance :: forall m. MonadHTTP m => Maybe [Text] -> ClientT m (Response GetBalanceResponse)
-- | Represents a response of the operation getBalance.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetBalanceResponseError is used.
data GetBalanceResponse
-- | Means either no matching case available or a parse error
GetBalanceResponseError :: String -> GetBalanceResponse
-- | Successful response.
GetBalanceResponse200 :: Balance -> GetBalanceResponse
-- | Error response.
GetBalanceResponseDefault :: Error -> GetBalanceResponse
instance GHC.Classes.Eq StripeAPI.Operations.GetBalance.GetBalanceResponse
instance GHC.Show.Show StripeAPI.Operations.GetBalance.GetBalanceResponse
-- | Contains the different functions to run the operation
-- getApplicationFeesIdRefunds
module StripeAPI.Operations.GetApplicationFeesIdRefunds
-- |
-- GET /v1/application_fees/{id}/refunds
--
--
-- <p>You can see a list of the refunds belonging to a specific
-- application fee. Note that the 10 most recent refunds are always
-- available by default on the application fee object. If you need more
-- than those 10, you can use this API method and the
-- <code>limit</code> and
-- <code>starting_after</code> parameters to page through
-- additional refunds.</p>
getApplicationFeesIdRefunds :: forall m. MonadHTTP m => GetApplicationFeesIdRefundsParameters -> ClientT m (Response GetApplicationFeesIdRefundsResponse)
-- | Defines the object schema located at
-- paths./v1/application_fees/{id}/refunds.GET.parameters in the
-- specification.
data GetApplicationFeesIdRefundsParameters
GetApplicationFeesIdRefundsParameters :: Text -> Maybe Text -> Maybe [Text] -> Maybe Int -> Maybe Text -> GetApplicationFeesIdRefundsParameters
-- | pathId: Represents the parameter named 'id'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getApplicationFeesIdRefundsParametersPathId] :: GetApplicationFeesIdRefundsParameters -> Text
-- | queryEnding_before: Represents the parameter named 'ending_before'
--
-- A cursor for use in pagination. `ending_before` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, starting with `obj_bar`, your
-- subsequent call can include `ending_before=obj_bar` in order to fetch
-- the previous page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getApplicationFeesIdRefundsParametersQueryEndingBefore] :: GetApplicationFeesIdRefundsParameters -> Maybe Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getApplicationFeesIdRefundsParametersQueryExpand] :: GetApplicationFeesIdRefundsParameters -> Maybe [Text]
-- | queryLimit: Represents the parameter named 'limit'
--
-- A limit on the number of objects to be returned. Limit can range
-- between 1 and 100, and the default is 10.
[getApplicationFeesIdRefundsParametersQueryLimit] :: GetApplicationFeesIdRefundsParameters -> Maybe Int
-- | queryStarting_after: Represents the parameter named 'starting_after'
--
-- A cursor for use in pagination. `starting_after` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, ending with `obj_foo`, your
-- subsequent call can include `starting_after=obj_foo` in order to fetch
-- the next page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getApplicationFeesIdRefundsParametersQueryStartingAfter] :: GetApplicationFeesIdRefundsParameters -> Maybe Text
-- | Create a new GetApplicationFeesIdRefundsParameters with all
-- required fields.
mkGetApplicationFeesIdRefundsParameters :: Text -> GetApplicationFeesIdRefundsParameters
-- | Represents a response of the operation
-- getApplicationFeesIdRefunds.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- GetApplicationFeesIdRefundsResponseError is used.
data GetApplicationFeesIdRefundsResponse
-- | Means either no matching case available or a parse error
GetApplicationFeesIdRefundsResponseError :: String -> GetApplicationFeesIdRefundsResponse
-- | Successful response.
GetApplicationFeesIdRefundsResponse200 :: GetApplicationFeesIdRefundsResponseBody200 -> GetApplicationFeesIdRefundsResponse
-- | Error response.
GetApplicationFeesIdRefundsResponseDefault :: Error -> GetApplicationFeesIdRefundsResponse
-- | Defines the object schema located at
-- paths./v1/application_fees/{id}/refunds.GET.responses.200.content.application/json.schema
-- in the specification.
data GetApplicationFeesIdRefundsResponseBody200
GetApplicationFeesIdRefundsResponseBody200 :: [FeeRefund] -> Bool -> Text -> GetApplicationFeesIdRefundsResponseBody200
-- | data: Details about each object.
[getApplicationFeesIdRefundsResponseBody200Data] :: GetApplicationFeesIdRefundsResponseBody200 -> [FeeRefund]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[getApplicationFeesIdRefundsResponseBody200HasMore] :: GetApplicationFeesIdRefundsResponseBody200 -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getApplicationFeesIdRefundsResponseBody200Url] :: GetApplicationFeesIdRefundsResponseBody200 -> Text
-- | Create a new GetApplicationFeesIdRefundsResponseBody200 with
-- all required fields.
mkGetApplicationFeesIdRefundsResponseBody200 :: [FeeRefund] -> Bool -> Text -> GetApplicationFeesIdRefundsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetApplicationFeesIdRefunds.GetApplicationFeesIdRefundsParameters
instance GHC.Show.Show StripeAPI.Operations.GetApplicationFeesIdRefunds.GetApplicationFeesIdRefundsParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetApplicationFeesIdRefunds.GetApplicationFeesIdRefundsResponseBody200
instance GHC.Show.Show StripeAPI.Operations.GetApplicationFeesIdRefunds.GetApplicationFeesIdRefundsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetApplicationFeesIdRefunds.GetApplicationFeesIdRefundsResponse
instance GHC.Show.Show StripeAPI.Operations.GetApplicationFeesIdRefunds.GetApplicationFeesIdRefundsResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetApplicationFeesIdRefunds.GetApplicationFeesIdRefundsResponseBody200
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetApplicationFeesIdRefunds.GetApplicationFeesIdRefundsResponseBody200
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetApplicationFeesIdRefunds.GetApplicationFeesIdRefundsParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetApplicationFeesIdRefunds.GetApplicationFeesIdRefundsParameters
-- | Contains the different functions to run the operation
-- getApplicationFeesId
module StripeAPI.Operations.GetApplicationFeesId
-- |
-- GET /v1/application_fees/{id}
--
--
-- <p>Retrieves the details of an application fee that your account
-- has collected. The same information is returned when refunding the
-- application fee.</p>
getApplicationFeesId :: forall m. MonadHTTP m => GetApplicationFeesIdParameters -> ClientT m (Response GetApplicationFeesIdResponse)
-- | Defines the object schema located at
-- paths./v1/application_fees/{id}.GET.parameters in the
-- specification.
data GetApplicationFeesIdParameters
GetApplicationFeesIdParameters :: Text -> Maybe [Text] -> GetApplicationFeesIdParameters
-- | pathId: Represents the parameter named 'id'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getApplicationFeesIdParametersPathId] :: GetApplicationFeesIdParameters -> Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getApplicationFeesIdParametersQueryExpand] :: GetApplicationFeesIdParameters -> Maybe [Text]
-- | Create a new GetApplicationFeesIdParameters with all required
-- fields.
mkGetApplicationFeesIdParameters :: Text -> GetApplicationFeesIdParameters
-- | Represents a response of the operation getApplicationFeesId.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetApplicationFeesIdResponseError is
-- used.
data GetApplicationFeesIdResponse
-- | Means either no matching case available or a parse error
GetApplicationFeesIdResponseError :: String -> GetApplicationFeesIdResponse
-- | Successful response.
GetApplicationFeesIdResponse200 :: ApplicationFee -> GetApplicationFeesIdResponse
-- | Error response.
GetApplicationFeesIdResponseDefault :: Error -> GetApplicationFeesIdResponse
instance GHC.Classes.Eq StripeAPI.Operations.GetApplicationFeesId.GetApplicationFeesIdParameters
instance GHC.Show.Show StripeAPI.Operations.GetApplicationFeesId.GetApplicationFeesIdParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetApplicationFeesId.GetApplicationFeesIdResponse
instance GHC.Show.Show StripeAPI.Operations.GetApplicationFeesId.GetApplicationFeesIdResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetApplicationFeesId.GetApplicationFeesIdParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetApplicationFeesId.GetApplicationFeesIdParameters
-- | Contains the different functions to run the operation
-- getApplicationFeesFeeRefundsId
module StripeAPI.Operations.GetApplicationFeesFeeRefundsId
-- |
-- GET /v1/application_fees/{fee}/refunds/{id}
--
--
-- <p>By default, you can see the 10 most recent refunds stored
-- directly on the application fee object, but you can also retrieve
-- details about a specific refund stored on the application
-- fee.</p>
getApplicationFeesFeeRefundsId :: forall m. MonadHTTP m => GetApplicationFeesFeeRefundsIdParameters -> ClientT m (Response GetApplicationFeesFeeRefundsIdResponse)
-- | Defines the object schema located at
-- paths./v1/application_fees/{fee}/refunds/{id}.GET.parameters
-- in the specification.
data GetApplicationFeesFeeRefundsIdParameters
GetApplicationFeesFeeRefundsIdParameters :: Text -> Text -> Maybe [Text] -> GetApplicationFeesFeeRefundsIdParameters
-- | pathFee: Represents the parameter named 'fee'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getApplicationFeesFeeRefundsIdParametersPathFee] :: GetApplicationFeesFeeRefundsIdParameters -> Text
-- | pathId: Represents the parameter named 'id'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getApplicationFeesFeeRefundsIdParametersPathId] :: GetApplicationFeesFeeRefundsIdParameters -> Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getApplicationFeesFeeRefundsIdParametersQueryExpand] :: GetApplicationFeesFeeRefundsIdParameters -> Maybe [Text]
-- | Create a new GetApplicationFeesFeeRefundsIdParameters with all
-- required fields.
mkGetApplicationFeesFeeRefundsIdParameters :: Text -> Text -> GetApplicationFeesFeeRefundsIdParameters
-- | Represents a response of the operation
-- getApplicationFeesFeeRefundsId.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- GetApplicationFeesFeeRefundsIdResponseError is used.
data GetApplicationFeesFeeRefundsIdResponse
-- | Means either no matching case available or a parse error
GetApplicationFeesFeeRefundsIdResponseError :: String -> GetApplicationFeesFeeRefundsIdResponse
-- | Successful response.
GetApplicationFeesFeeRefundsIdResponse200 :: FeeRefund -> GetApplicationFeesFeeRefundsIdResponse
-- | Error response.
GetApplicationFeesFeeRefundsIdResponseDefault :: Error -> GetApplicationFeesFeeRefundsIdResponse
instance GHC.Classes.Eq StripeAPI.Operations.GetApplicationFeesFeeRefundsId.GetApplicationFeesFeeRefundsIdParameters
instance GHC.Show.Show StripeAPI.Operations.GetApplicationFeesFeeRefundsId.GetApplicationFeesFeeRefundsIdParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetApplicationFeesFeeRefundsId.GetApplicationFeesFeeRefundsIdResponse
instance GHC.Show.Show StripeAPI.Operations.GetApplicationFeesFeeRefundsId.GetApplicationFeesFeeRefundsIdResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetApplicationFeesFeeRefundsId.GetApplicationFeesFeeRefundsIdParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetApplicationFeesFeeRefundsId.GetApplicationFeesFeeRefundsIdParameters
-- | Contains the different functions to run the operation
-- getApplicationFees
module StripeAPI.Operations.GetApplicationFees
-- |
-- GET /v1/application_fees
--
--
-- <p>Returns a list of application fees you’ve previously
-- collected. The application fees are returned in sorted order, with the
-- most recent fees appearing first.</p>
getApplicationFees :: forall m. MonadHTTP m => GetApplicationFeesParameters -> ClientT m (Response GetApplicationFeesResponse)
-- | Defines the object schema located at
-- paths./v1/application_fees.GET.parameters in the
-- specification.
data GetApplicationFeesParameters
GetApplicationFeesParameters :: Maybe Text -> Maybe GetApplicationFeesParametersQueryCreated'Variants -> Maybe Text -> Maybe [Text] -> Maybe Int -> Maybe Text -> GetApplicationFeesParameters
-- | queryCharge: Represents the parameter named 'charge'
--
-- Only return application fees for the charge specified by this charge
-- ID.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getApplicationFeesParametersQueryCharge] :: GetApplicationFeesParameters -> Maybe Text
-- | queryCreated: Represents the parameter named 'created'
[getApplicationFeesParametersQueryCreated] :: GetApplicationFeesParameters -> Maybe GetApplicationFeesParametersQueryCreated'Variants
-- | queryEnding_before: Represents the parameter named 'ending_before'
--
-- A cursor for use in pagination. `ending_before` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, starting with `obj_bar`, your
-- subsequent call can include `ending_before=obj_bar` in order to fetch
-- the previous page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getApplicationFeesParametersQueryEndingBefore] :: GetApplicationFeesParameters -> Maybe Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getApplicationFeesParametersQueryExpand] :: GetApplicationFeesParameters -> Maybe [Text]
-- | queryLimit: Represents the parameter named 'limit'
--
-- A limit on the number of objects to be returned. Limit can range
-- between 1 and 100, and the default is 10.
[getApplicationFeesParametersQueryLimit] :: GetApplicationFeesParameters -> Maybe Int
-- | queryStarting_after: Represents the parameter named 'starting_after'
--
-- A cursor for use in pagination. `starting_after` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, ending with `obj_foo`, your
-- subsequent call can include `starting_after=obj_foo` in order to fetch
-- the next page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getApplicationFeesParametersQueryStartingAfter] :: GetApplicationFeesParameters -> Maybe Text
-- | Create a new GetApplicationFeesParameters with all required
-- fields.
mkGetApplicationFeesParameters :: GetApplicationFeesParameters
-- | Defines the object schema located at
-- paths./v1/application_fees.GET.parameters.properties.queryCreated.anyOf
-- in the specification.
data GetApplicationFeesParametersQueryCreated'OneOf1
GetApplicationFeesParametersQueryCreated'OneOf1 :: Maybe Int -> Maybe Int -> Maybe Int -> Maybe Int -> GetApplicationFeesParametersQueryCreated'OneOf1
-- | gt
[getApplicationFeesParametersQueryCreated'OneOf1Gt] :: GetApplicationFeesParametersQueryCreated'OneOf1 -> Maybe Int
-- | gte
[getApplicationFeesParametersQueryCreated'OneOf1Gte] :: GetApplicationFeesParametersQueryCreated'OneOf1 -> Maybe Int
-- | lt
[getApplicationFeesParametersQueryCreated'OneOf1Lt] :: GetApplicationFeesParametersQueryCreated'OneOf1 -> Maybe Int
-- | lte
[getApplicationFeesParametersQueryCreated'OneOf1Lte] :: GetApplicationFeesParametersQueryCreated'OneOf1 -> Maybe Int
-- | Create a new GetApplicationFeesParametersQueryCreated'OneOf1
-- with all required fields.
mkGetApplicationFeesParametersQueryCreated'OneOf1 :: GetApplicationFeesParametersQueryCreated'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/application_fees.GET.parameters.properties.queryCreated.anyOf
-- in the specification.
--
-- Represents the parameter named 'created'
data GetApplicationFeesParametersQueryCreated'Variants
GetApplicationFeesParametersQueryCreated'GetApplicationFeesParametersQueryCreated'OneOf1 :: GetApplicationFeesParametersQueryCreated'OneOf1 -> GetApplicationFeesParametersQueryCreated'Variants
GetApplicationFeesParametersQueryCreated'Int :: Int -> GetApplicationFeesParametersQueryCreated'Variants
-- | Represents a response of the operation getApplicationFees.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetApplicationFeesResponseError is
-- used.
data GetApplicationFeesResponse
-- | Means either no matching case available or a parse error
GetApplicationFeesResponseError :: String -> GetApplicationFeesResponse
-- | Successful response.
GetApplicationFeesResponse200 :: GetApplicationFeesResponseBody200 -> GetApplicationFeesResponse
-- | Error response.
GetApplicationFeesResponseDefault :: Error -> GetApplicationFeesResponse
-- | Defines the object schema located at
-- paths./v1/application_fees.GET.responses.200.content.application/json.schema
-- in the specification.
data GetApplicationFeesResponseBody200
GetApplicationFeesResponseBody200 :: [ApplicationFee] -> Bool -> Text -> GetApplicationFeesResponseBody200
-- | data
[getApplicationFeesResponseBody200Data] :: GetApplicationFeesResponseBody200 -> [ApplicationFee]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[getApplicationFeesResponseBody200HasMore] :: GetApplicationFeesResponseBody200 -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
-- - Must match pattern '^/v1/application_fees'
--
[getApplicationFeesResponseBody200Url] :: GetApplicationFeesResponseBody200 -> Text
-- | Create a new GetApplicationFeesResponseBody200 with all
-- required fields.
mkGetApplicationFeesResponseBody200 :: [ApplicationFee] -> Bool -> Text -> GetApplicationFeesResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetApplicationFees.GetApplicationFeesParametersQueryCreated'OneOf1
instance GHC.Show.Show StripeAPI.Operations.GetApplicationFees.GetApplicationFeesParametersQueryCreated'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.GetApplicationFees.GetApplicationFeesParametersQueryCreated'Variants
instance GHC.Show.Show StripeAPI.Operations.GetApplicationFees.GetApplicationFeesParametersQueryCreated'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetApplicationFees.GetApplicationFeesParameters
instance GHC.Show.Show StripeAPI.Operations.GetApplicationFees.GetApplicationFeesParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetApplicationFees.GetApplicationFeesResponseBody200
instance GHC.Show.Show StripeAPI.Operations.GetApplicationFees.GetApplicationFeesResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetApplicationFees.GetApplicationFeesResponse
instance GHC.Show.Show StripeAPI.Operations.GetApplicationFees.GetApplicationFeesResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetApplicationFees.GetApplicationFeesResponseBody200
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetApplicationFees.GetApplicationFeesResponseBody200
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetApplicationFees.GetApplicationFeesParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetApplicationFees.GetApplicationFeesParameters
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetApplicationFees.GetApplicationFeesParametersQueryCreated'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetApplicationFees.GetApplicationFeesParametersQueryCreated'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetApplicationFees.GetApplicationFeesParametersQueryCreated'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetApplicationFees.GetApplicationFeesParametersQueryCreated'OneOf1
-- | Contains the different functions to run the operation
-- getApplePayDomainsDomain
module StripeAPI.Operations.GetApplePayDomainsDomain
-- |
-- GET /v1/apple_pay/domains/{domain}
--
--
-- <p>Retrieve an apple pay domain.</p>
getApplePayDomainsDomain :: forall m. MonadHTTP m => GetApplePayDomainsDomainParameters -> ClientT m (Response GetApplePayDomainsDomainResponse)
-- | Defines the object schema located at
-- paths./v1/apple_pay/domains/{domain}.GET.parameters in the
-- specification.
data GetApplePayDomainsDomainParameters
GetApplePayDomainsDomainParameters :: Text -> Maybe [Text] -> GetApplePayDomainsDomainParameters
-- | pathDomain: Represents the parameter named 'domain'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getApplePayDomainsDomainParametersPathDomain] :: GetApplePayDomainsDomainParameters -> Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getApplePayDomainsDomainParametersQueryExpand] :: GetApplePayDomainsDomainParameters -> Maybe [Text]
-- | Create a new GetApplePayDomainsDomainParameters with all
-- required fields.
mkGetApplePayDomainsDomainParameters :: Text -> GetApplePayDomainsDomainParameters
-- | Represents a response of the operation
-- getApplePayDomainsDomain.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetApplePayDomainsDomainResponseError
-- is used.
data GetApplePayDomainsDomainResponse
-- | Means either no matching case available or a parse error
GetApplePayDomainsDomainResponseError :: String -> GetApplePayDomainsDomainResponse
-- | Successful response.
GetApplePayDomainsDomainResponse200 :: ApplePayDomain -> GetApplePayDomainsDomainResponse
-- | Error response.
GetApplePayDomainsDomainResponseDefault :: Error -> GetApplePayDomainsDomainResponse
instance GHC.Classes.Eq StripeAPI.Operations.GetApplePayDomainsDomain.GetApplePayDomainsDomainParameters
instance GHC.Show.Show StripeAPI.Operations.GetApplePayDomainsDomain.GetApplePayDomainsDomainParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetApplePayDomainsDomain.GetApplePayDomainsDomainResponse
instance GHC.Show.Show StripeAPI.Operations.GetApplePayDomainsDomain.GetApplePayDomainsDomainResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetApplePayDomainsDomain.GetApplePayDomainsDomainParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetApplePayDomainsDomain.GetApplePayDomainsDomainParameters
-- | Contains the different functions to run the operation
-- getApplePayDomains
module StripeAPI.Operations.GetApplePayDomains
-- |
-- GET /v1/apple_pay/domains
--
--
-- <p>List apple pay domains.</p>
getApplePayDomains :: forall m. MonadHTTP m => GetApplePayDomainsParameters -> ClientT m (Response GetApplePayDomainsResponse)
-- | Defines the object schema located at
-- paths./v1/apple_pay/domains.GET.parameters in the
-- specification.
data GetApplePayDomainsParameters
GetApplePayDomainsParameters :: Maybe Text -> Maybe Text -> Maybe [Text] -> Maybe Int -> Maybe Text -> GetApplePayDomainsParameters
-- | queryDomain_name: Represents the parameter named 'domain_name'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getApplePayDomainsParametersQueryDomainName] :: GetApplePayDomainsParameters -> Maybe Text
-- | queryEnding_before: Represents the parameter named 'ending_before'
--
-- A cursor for use in pagination. `ending_before` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, starting with `obj_bar`, your
-- subsequent call can include `ending_before=obj_bar` in order to fetch
-- the previous page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getApplePayDomainsParametersQueryEndingBefore] :: GetApplePayDomainsParameters -> Maybe Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getApplePayDomainsParametersQueryExpand] :: GetApplePayDomainsParameters -> Maybe [Text]
-- | queryLimit: Represents the parameter named 'limit'
--
-- A limit on the number of objects to be returned. Limit can range
-- between 1 and 100, and the default is 10.
[getApplePayDomainsParametersQueryLimit] :: GetApplePayDomainsParameters -> Maybe Int
-- | queryStarting_after: Represents the parameter named 'starting_after'
--
-- A cursor for use in pagination. `starting_after` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, ending with `obj_foo`, your
-- subsequent call can include `starting_after=obj_foo` in order to fetch
-- the next page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getApplePayDomainsParametersQueryStartingAfter] :: GetApplePayDomainsParameters -> Maybe Text
-- | Create a new GetApplePayDomainsParameters with all required
-- fields.
mkGetApplePayDomainsParameters :: GetApplePayDomainsParameters
-- | Represents a response of the operation getApplePayDomains.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetApplePayDomainsResponseError is
-- used.
data GetApplePayDomainsResponse
-- | Means either no matching case available or a parse error
GetApplePayDomainsResponseError :: String -> GetApplePayDomainsResponse
-- | Successful response.
GetApplePayDomainsResponse200 :: GetApplePayDomainsResponseBody200 -> GetApplePayDomainsResponse
-- | Error response.
GetApplePayDomainsResponseDefault :: Error -> GetApplePayDomainsResponse
-- | Defines the object schema located at
-- paths./v1/apple_pay/domains.GET.responses.200.content.application/json.schema
-- in the specification.
data GetApplePayDomainsResponseBody200
GetApplePayDomainsResponseBody200 :: [ApplePayDomain] -> Bool -> Text -> GetApplePayDomainsResponseBody200
-- | data
[getApplePayDomainsResponseBody200Data] :: GetApplePayDomainsResponseBody200 -> [ApplePayDomain]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[getApplePayDomainsResponseBody200HasMore] :: GetApplePayDomainsResponseBody200 -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
-- - Must match pattern '^/v1/apple_pay/domains'
--
[getApplePayDomainsResponseBody200Url] :: GetApplePayDomainsResponseBody200 -> Text
-- | Create a new GetApplePayDomainsResponseBody200 with all
-- required fields.
mkGetApplePayDomainsResponseBody200 :: [ApplePayDomain] -> Bool -> Text -> GetApplePayDomainsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetApplePayDomains.GetApplePayDomainsParameters
instance GHC.Show.Show StripeAPI.Operations.GetApplePayDomains.GetApplePayDomainsParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetApplePayDomains.GetApplePayDomainsResponseBody200
instance GHC.Show.Show StripeAPI.Operations.GetApplePayDomains.GetApplePayDomainsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetApplePayDomains.GetApplePayDomainsResponse
instance GHC.Show.Show StripeAPI.Operations.GetApplePayDomains.GetApplePayDomainsResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetApplePayDomains.GetApplePayDomainsResponseBody200
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetApplePayDomains.GetApplePayDomainsResponseBody200
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetApplePayDomains.GetApplePayDomainsParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetApplePayDomains.GetApplePayDomainsParameters
-- | Contains the different functions to run the operation
-- getAccountsAccountPersonsPerson
module StripeAPI.Operations.GetAccountsAccountPersonsPerson
-- |
-- GET /v1/accounts/{account}/persons/{person}
--
--
-- <p>Retrieves an existing person.</p>
getAccountsAccountPersonsPerson :: forall m. MonadHTTP m => GetAccountsAccountPersonsPersonParameters -> ClientT m (Response GetAccountsAccountPersonsPersonResponse)
-- | Defines the object schema located at
-- paths./v1/accounts/{account}/persons/{person}.GET.parameters
-- in the specification.
data GetAccountsAccountPersonsPersonParameters
GetAccountsAccountPersonsPersonParameters :: Text -> Text -> Maybe [Text] -> GetAccountsAccountPersonsPersonParameters
-- | pathAccount: Represents the parameter named 'account'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getAccountsAccountPersonsPersonParametersPathAccount] :: GetAccountsAccountPersonsPersonParameters -> Text
-- | pathPerson: Represents the parameter named 'person'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getAccountsAccountPersonsPersonParametersPathPerson] :: GetAccountsAccountPersonsPersonParameters -> Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getAccountsAccountPersonsPersonParametersQueryExpand] :: GetAccountsAccountPersonsPersonParameters -> Maybe [Text]
-- | Create a new GetAccountsAccountPersonsPersonParameters with all
-- required fields.
mkGetAccountsAccountPersonsPersonParameters :: Text -> Text -> GetAccountsAccountPersonsPersonParameters
-- | Represents a response of the operation
-- getAccountsAccountPersonsPerson.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- GetAccountsAccountPersonsPersonResponseError is used.
data GetAccountsAccountPersonsPersonResponse
-- | Means either no matching case available or a parse error
GetAccountsAccountPersonsPersonResponseError :: String -> GetAccountsAccountPersonsPersonResponse
-- | Successful response.
GetAccountsAccountPersonsPersonResponse200 :: Person -> GetAccountsAccountPersonsPersonResponse
-- | Error response.
GetAccountsAccountPersonsPersonResponseDefault :: Error -> GetAccountsAccountPersonsPersonResponse
instance GHC.Classes.Eq StripeAPI.Operations.GetAccountsAccountPersonsPerson.GetAccountsAccountPersonsPersonParameters
instance GHC.Show.Show StripeAPI.Operations.GetAccountsAccountPersonsPerson.GetAccountsAccountPersonsPersonParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetAccountsAccountPersonsPerson.GetAccountsAccountPersonsPersonResponse
instance GHC.Show.Show StripeAPI.Operations.GetAccountsAccountPersonsPerson.GetAccountsAccountPersonsPersonResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetAccountsAccountPersonsPerson.GetAccountsAccountPersonsPersonParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetAccountsAccountPersonsPerson.GetAccountsAccountPersonsPersonParameters
-- | Contains the different functions to run the operation
-- getAccountsAccountPersons
module StripeAPI.Operations.GetAccountsAccountPersons
-- |
-- GET /v1/accounts/{account}/persons
--
--
-- <p>Returns a list of people associated with the account’s legal
-- entity. The people are returned sorted by creation date, with the most
-- recent people appearing first.</p>
getAccountsAccountPersons :: forall m. MonadHTTP m => GetAccountsAccountPersonsParameters -> ClientT m (Response GetAccountsAccountPersonsResponse)
-- | Defines the object schema located at
-- paths./v1/accounts/{account}/persons.GET.parameters in the
-- specification.
data GetAccountsAccountPersonsParameters
GetAccountsAccountPersonsParameters :: Text -> Maybe Text -> Maybe [Text] -> Maybe Int -> Maybe GetAccountsAccountPersonsParametersQueryRelationship' -> Maybe Text -> GetAccountsAccountPersonsParameters
-- | pathAccount: Represents the parameter named 'account'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getAccountsAccountPersonsParametersPathAccount] :: GetAccountsAccountPersonsParameters -> Text
-- | queryEnding_before: Represents the parameter named 'ending_before'
--
-- A cursor for use in pagination. `ending_before` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, starting with `obj_bar`, your
-- subsequent call can include `ending_before=obj_bar` in order to fetch
-- the previous page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getAccountsAccountPersonsParametersQueryEndingBefore] :: GetAccountsAccountPersonsParameters -> Maybe Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getAccountsAccountPersonsParametersQueryExpand] :: GetAccountsAccountPersonsParameters -> Maybe [Text]
-- | queryLimit: Represents the parameter named 'limit'
--
-- A limit on the number of objects to be returned. Limit can range
-- between 1 and 100, and the default is 10.
[getAccountsAccountPersonsParametersQueryLimit] :: GetAccountsAccountPersonsParameters -> Maybe Int
-- | queryRelationship: Represents the parameter named 'relationship'
--
-- Filters on the list of people returned based on the person's
-- relationship to the account's company.
[getAccountsAccountPersonsParametersQueryRelationship] :: GetAccountsAccountPersonsParameters -> Maybe GetAccountsAccountPersonsParametersQueryRelationship'
-- | queryStarting_after: Represents the parameter named 'starting_after'
--
-- A cursor for use in pagination. `starting_after` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, ending with `obj_foo`, your
-- subsequent call can include `starting_after=obj_foo` in order to fetch
-- the next page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getAccountsAccountPersonsParametersQueryStartingAfter] :: GetAccountsAccountPersonsParameters -> Maybe Text
-- | Create a new GetAccountsAccountPersonsParameters with all
-- required fields.
mkGetAccountsAccountPersonsParameters :: Text -> GetAccountsAccountPersonsParameters
-- | Defines the object schema located at
-- paths./v1/accounts/{account}/persons.GET.parameters.properties.queryRelationship
-- in the specification.
--
-- Represents the parameter named 'relationship'
--
-- Filters on the list of people returned based on the person's
-- relationship to the account's company.
data GetAccountsAccountPersonsParametersQueryRelationship'
GetAccountsAccountPersonsParametersQueryRelationship' :: Maybe Bool -> Maybe Bool -> Maybe Bool -> Maybe Bool -> GetAccountsAccountPersonsParametersQueryRelationship'
-- | director
[getAccountsAccountPersonsParametersQueryRelationship'Director] :: GetAccountsAccountPersonsParametersQueryRelationship' -> Maybe Bool
-- | executive
[getAccountsAccountPersonsParametersQueryRelationship'Executive] :: GetAccountsAccountPersonsParametersQueryRelationship' -> Maybe Bool
-- | owner
[getAccountsAccountPersonsParametersQueryRelationship'Owner] :: GetAccountsAccountPersonsParametersQueryRelationship' -> Maybe Bool
-- | representative
[getAccountsAccountPersonsParametersQueryRelationship'Representative] :: GetAccountsAccountPersonsParametersQueryRelationship' -> Maybe Bool
-- | Create a new
-- GetAccountsAccountPersonsParametersQueryRelationship' with all
-- required fields.
mkGetAccountsAccountPersonsParametersQueryRelationship' :: GetAccountsAccountPersonsParametersQueryRelationship'
-- | Represents a response of the operation
-- getAccountsAccountPersons.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetAccountsAccountPersonsResponseError
-- is used.
data GetAccountsAccountPersonsResponse
-- | Means either no matching case available or a parse error
GetAccountsAccountPersonsResponseError :: String -> GetAccountsAccountPersonsResponse
-- | Successful response.
GetAccountsAccountPersonsResponse200 :: GetAccountsAccountPersonsResponseBody200 -> GetAccountsAccountPersonsResponse
-- | Error response.
GetAccountsAccountPersonsResponseDefault :: Error -> GetAccountsAccountPersonsResponse
-- | Defines the object schema located at
-- paths./v1/accounts/{account}/persons.GET.responses.200.content.application/json.schema
-- in the specification.
data GetAccountsAccountPersonsResponseBody200
GetAccountsAccountPersonsResponseBody200 :: [Person] -> Bool -> Text -> GetAccountsAccountPersonsResponseBody200
-- | data
[getAccountsAccountPersonsResponseBody200Data] :: GetAccountsAccountPersonsResponseBody200 -> [Person]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[getAccountsAccountPersonsResponseBody200HasMore] :: GetAccountsAccountPersonsResponseBody200 -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getAccountsAccountPersonsResponseBody200Url] :: GetAccountsAccountPersonsResponseBody200 -> Text
-- | Create a new GetAccountsAccountPersonsResponseBody200 with all
-- required fields.
mkGetAccountsAccountPersonsResponseBody200 :: [Person] -> Bool -> Text -> GetAccountsAccountPersonsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetAccountsAccountPersons.GetAccountsAccountPersonsParametersQueryRelationship'
instance GHC.Show.Show StripeAPI.Operations.GetAccountsAccountPersons.GetAccountsAccountPersonsParametersQueryRelationship'
instance GHC.Classes.Eq StripeAPI.Operations.GetAccountsAccountPersons.GetAccountsAccountPersonsParameters
instance GHC.Show.Show StripeAPI.Operations.GetAccountsAccountPersons.GetAccountsAccountPersonsParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetAccountsAccountPersons.GetAccountsAccountPersonsResponseBody200
instance GHC.Show.Show StripeAPI.Operations.GetAccountsAccountPersons.GetAccountsAccountPersonsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetAccountsAccountPersons.GetAccountsAccountPersonsResponse
instance GHC.Show.Show StripeAPI.Operations.GetAccountsAccountPersons.GetAccountsAccountPersonsResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetAccountsAccountPersons.GetAccountsAccountPersonsResponseBody200
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetAccountsAccountPersons.GetAccountsAccountPersonsResponseBody200
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetAccountsAccountPersons.GetAccountsAccountPersonsParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetAccountsAccountPersons.GetAccountsAccountPersonsParameters
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetAccountsAccountPersons.GetAccountsAccountPersonsParametersQueryRelationship'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetAccountsAccountPersons.GetAccountsAccountPersonsParametersQueryRelationship'
-- | Contains the different functions to run the operation
-- getAccountsAccountPeoplePerson
module StripeAPI.Operations.GetAccountsAccountPeoplePerson
-- |
-- GET /v1/accounts/{account}/people/{person}
--
--
-- <p>Retrieves an existing person.</p>
getAccountsAccountPeoplePerson :: forall m. MonadHTTP m => GetAccountsAccountPeoplePersonParameters -> ClientT m (Response GetAccountsAccountPeoplePersonResponse)
-- | Defines the object schema located at
-- paths./v1/accounts/{account}/people/{person}.GET.parameters
-- in the specification.
data GetAccountsAccountPeoplePersonParameters
GetAccountsAccountPeoplePersonParameters :: Text -> Text -> Maybe [Text] -> GetAccountsAccountPeoplePersonParameters
-- | pathAccount: Represents the parameter named 'account'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getAccountsAccountPeoplePersonParametersPathAccount] :: GetAccountsAccountPeoplePersonParameters -> Text
-- | pathPerson: Represents the parameter named 'person'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getAccountsAccountPeoplePersonParametersPathPerson] :: GetAccountsAccountPeoplePersonParameters -> Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getAccountsAccountPeoplePersonParametersQueryExpand] :: GetAccountsAccountPeoplePersonParameters -> Maybe [Text]
-- | Create a new GetAccountsAccountPeoplePersonParameters with all
-- required fields.
mkGetAccountsAccountPeoplePersonParameters :: Text -> Text -> GetAccountsAccountPeoplePersonParameters
-- | Represents a response of the operation
-- getAccountsAccountPeoplePerson.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- GetAccountsAccountPeoplePersonResponseError is used.
data GetAccountsAccountPeoplePersonResponse
-- | Means either no matching case available or a parse error
GetAccountsAccountPeoplePersonResponseError :: String -> GetAccountsAccountPeoplePersonResponse
-- | Successful response.
GetAccountsAccountPeoplePersonResponse200 :: Person -> GetAccountsAccountPeoplePersonResponse
-- | Error response.
GetAccountsAccountPeoplePersonResponseDefault :: Error -> GetAccountsAccountPeoplePersonResponse
instance GHC.Classes.Eq StripeAPI.Operations.GetAccountsAccountPeoplePerson.GetAccountsAccountPeoplePersonParameters
instance GHC.Show.Show StripeAPI.Operations.GetAccountsAccountPeoplePerson.GetAccountsAccountPeoplePersonParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetAccountsAccountPeoplePerson.GetAccountsAccountPeoplePersonResponse
instance GHC.Show.Show StripeAPI.Operations.GetAccountsAccountPeoplePerson.GetAccountsAccountPeoplePersonResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetAccountsAccountPeoplePerson.GetAccountsAccountPeoplePersonParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetAccountsAccountPeoplePerson.GetAccountsAccountPeoplePersonParameters
-- | Contains the different functions to run the operation
-- getAccountsAccountPeople
module StripeAPI.Operations.GetAccountsAccountPeople
-- |
-- GET /v1/accounts/{account}/people
--
--
-- <p>Returns a list of people associated with the account’s legal
-- entity. The people are returned sorted by creation date, with the most
-- recent people appearing first.</p>
getAccountsAccountPeople :: forall m. MonadHTTP m => GetAccountsAccountPeopleParameters -> ClientT m (Response GetAccountsAccountPeopleResponse)
-- | Defines the object schema located at
-- paths./v1/accounts/{account}/people.GET.parameters in the
-- specification.
data GetAccountsAccountPeopleParameters
GetAccountsAccountPeopleParameters :: Text -> Maybe Text -> Maybe [Text] -> Maybe Int -> Maybe GetAccountsAccountPeopleParametersQueryRelationship' -> Maybe Text -> GetAccountsAccountPeopleParameters
-- | pathAccount: Represents the parameter named 'account'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getAccountsAccountPeopleParametersPathAccount] :: GetAccountsAccountPeopleParameters -> Text
-- | queryEnding_before: Represents the parameter named 'ending_before'
--
-- A cursor for use in pagination. `ending_before` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, starting with `obj_bar`, your
-- subsequent call can include `ending_before=obj_bar` in order to fetch
-- the previous page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getAccountsAccountPeopleParametersQueryEndingBefore] :: GetAccountsAccountPeopleParameters -> Maybe Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getAccountsAccountPeopleParametersQueryExpand] :: GetAccountsAccountPeopleParameters -> Maybe [Text]
-- | queryLimit: Represents the parameter named 'limit'
--
-- A limit on the number of objects to be returned. Limit can range
-- between 1 and 100, and the default is 10.
[getAccountsAccountPeopleParametersQueryLimit] :: GetAccountsAccountPeopleParameters -> Maybe Int
-- | queryRelationship: Represents the parameter named 'relationship'
--
-- Filters on the list of people returned based on the person's
-- relationship to the account's company.
[getAccountsAccountPeopleParametersQueryRelationship] :: GetAccountsAccountPeopleParameters -> Maybe GetAccountsAccountPeopleParametersQueryRelationship'
-- | queryStarting_after: Represents the parameter named 'starting_after'
--
-- A cursor for use in pagination. `starting_after` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, ending with `obj_foo`, your
-- subsequent call can include `starting_after=obj_foo` in order to fetch
-- the next page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getAccountsAccountPeopleParametersQueryStartingAfter] :: GetAccountsAccountPeopleParameters -> Maybe Text
-- | Create a new GetAccountsAccountPeopleParameters with all
-- required fields.
mkGetAccountsAccountPeopleParameters :: Text -> GetAccountsAccountPeopleParameters
-- | Defines the object schema located at
-- paths./v1/accounts/{account}/people.GET.parameters.properties.queryRelationship
-- in the specification.
--
-- Represents the parameter named 'relationship'
--
-- Filters on the list of people returned based on the person's
-- relationship to the account's company.
data GetAccountsAccountPeopleParametersQueryRelationship'
GetAccountsAccountPeopleParametersQueryRelationship' :: Maybe Bool -> Maybe Bool -> Maybe Bool -> Maybe Bool -> GetAccountsAccountPeopleParametersQueryRelationship'
-- | director
[getAccountsAccountPeopleParametersQueryRelationship'Director] :: GetAccountsAccountPeopleParametersQueryRelationship' -> Maybe Bool
-- | executive
[getAccountsAccountPeopleParametersQueryRelationship'Executive] :: GetAccountsAccountPeopleParametersQueryRelationship' -> Maybe Bool
-- | owner
[getAccountsAccountPeopleParametersQueryRelationship'Owner] :: GetAccountsAccountPeopleParametersQueryRelationship' -> Maybe Bool
-- | representative
[getAccountsAccountPeopleParametersQueryRelationship'Representative] :: GetAccountsAccountPeopleParametersQueryRelationship' -> Maybe Bool
-- | Create a new
-- GetAccountsAccountPeopleParametersQueryRelationship' with all
-- required fields.
mkGetAccountsAccountPeopleParametersQueryRelationship' :: GetAccountsAccountPeopleParametersQueryRelationship'
-- | Represents a response of the operation
-- getAccountsAccountPeople.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetAccountsAccountPeopleResponseError
-- is used.
data GetAccountsAccountPeopleResponse
-- | Means either no matching case available or a parse error
GetAccountsAccountPeopleResponseError :: String -> GetAccountsAccountPeopleResponse
-- | Successful response.
GetAccountsAccountPeopleResponse200 :: GetAccountsAccountPeopleResponseBody200 -> GetAccountsAccountPeopleResponse
-- | Error response.
GetAccountsAccountPeopleResponseDefault :: Error -> GetAccountsAccountPeopleResponse
-- | Defines the object schema located at
-- paths./v1/accounts/{account}/people.GET.responses.200.content.application/json.schema
-- in the specification.
data GetAccountsAccountPeopleResponseBody200
GetAccountsAccountPeopleResponseBody200 :: [Person] -> Bool -> Text -> GetAccountsAccountPeopleResponseBody200
-- | data
[getAccountsAccountPeopleResponseBody200Data] :: GetAccountsAccountPeopleResponseBody200 -> [Person]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[getAccountsAccountPeopleResponseBody200HasMore] :: GetAccountsAccountPeopleResponseBody200 -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getAccountsAccountPeopleResponseBody200Url] :: GetAccountsAccountPeopleResponseBody200 -> Text
-- | Create a new GetAccountsAccountPeopleResponseBody200 with all
-- required fields.
mkGetAccountsAccountPeopleResponseBody200 :: [Person] -> Bool -> Text -> GetAccountsAccountPeopleResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetAccountsAccountPeople.GetAccountsAccountPeopleParametersQueryRelationship'
instance GHC.Show.Show StripeAPI.Operations.GetAccountsAccountPeople.GetAccountsAccountPeopleParametersQueryRelationship'
instance GHC.Classes.Eq StripeAPI.Operations.GetAccountsAccountPeople.GetAccountsAccountPeopleParameters
instance GHC.Show.Show StripeAPI.Operations.GetAccountsAccountPeople.GetAccountsAccountPeopleParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetAccountsAccountPeople.GetAccountsAccountPeopleResponseBody200
instance GHC.Show.Show StripeAPI.Operations.GetAccountsAccountPeople.GetAccountsAccountPeopleResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetAccountsAccountPeople.GetAccountsAccountPeopleResponse
instance GHC.Show.Show StripeAPI.Operations.GetAccountsAccountPeople.GetAccountsAccountPeopleResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetAccountsAccountPeople.GetAccountsAccountPeopleResponseBody200
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetAccountsAccountPeople.GetAccountsAccountPeopleResponseBody200
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetAccountsAccountPeople.GetAccountsAccountPeopleParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetAccountsAccountPeople.GetAccountsAccountPeopleParameters
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetAccountsAccountPeople.GetAccountsAccountPeopleParametersQueryRelationship'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetAccountsAccountPeople.GetAccountsAccountPeopleParametersQueryRelationship'
-- | Contains the different functions to run the operation
-- getAccountsAccountExternalAccountsId
module StripeAPI.Operations.GetAccountsAccountExternalAccountsId
-- |
-- GET /v1/accounts/{account}/external_accounts/{id}
--
--
-- <p>Retrieve a specified external account for a given
-- account.</p>
getAccountsAccountExternalAccountsId :: forall m. MonadHTTP m => GetAccountsAccountExternalAccountsIdParameters -> ClientT m (Response GetAccountsAccountExternalAccountsIdResponse)
-- | Defines the object schema located at
-- paths./v1/accounts/{account}/external_accounts/{id}.GET.parameters
-- in the specification.
data GetAccountsAccountExternalAccountsIdParameters
GetAccountsAccountExternalAccountsIdParameters :: Text -> Text -> Maybe [Text] -> GetAccountsAccountExternalAccountsIdParameters
-- | pathAccount: Represents the parameter named 'account'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getAccountsAccountExternalAccountsIdParametersPathAccount] :: GetAccountsAccountExternalAccountsIdParameters -> Text
-- | pathId: Represents the parameter named 'id'
[getAccountsAccountExternalAccountsIdParametersPathId] :: GetAccountsAccountExternalAccountsIdParameters -> Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getAccountsAccountExternalAccountsIdParametersQueryExpand] :: GetAccountsAccountExternalAccountsIdParameters -> Maybe [Text]
-- | Create a new GetAccountsAccountExternalAccountsIdParameters
-- with all required fields.
mkGetAccountsAccountExternalAccountsIdParameters :: Text -> Text -> GetAccountsAccountExternalAccountsIdParameters
-- | Represents a response of the operation
-- getAccountsAccountExternalAccountsId.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- GetAccountsAccountExternalAccountsIdResponseError is used.
data GetAccountsAccountExternalAccountsIdResponse
-- | Means either no matching case available or a parse error
GetAccountsAccountExternalAccountsIdResponseError :: String -> GetAccountsAccountExternalAccountsIdResponse
-- | Successful response.
GetAccountsAccountExternalAccountsIdResponse200 :: ExternalAccount -> GetAccountsAccountExternalAccountsIdResponse
-- | Error response.
GetAccountsAccountExternalAccountsIdResponseDefault :: Error -> GetAccountsAccountExternalAccountsIdResponse
instance GHC.Classes.Eq StripeAPI.Operations.GetAccountsAccountExternalAccountsId.GetAccountsAccountExternalAccountsIdParameters
instance GHC.Show.Show StripeAPI.Operations.GetAccountsAccountExternalAccountsId.GetAccountsAccountExternalAccountsIdParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetAccountsAccountExternalAccountsId.GetAccountsAccountExternalAccountsIdResponse
instance GHC.Show.Show StripeAPI.Operations.GetAccountsAccountExternalAccountsId.GetAccountsAccountExternalAccountsIdResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetAccountsAccountExternalAccountsId.GetAccountsAccountExternalAccountsIdParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetAccountsAccountExternalAccountsId.GetAccountsAccountExternalAccountsIdParameters
-- | Contains the different functions to run the operation
-- getAccountsAccountExternalAccounts
module StripeAPI.Operations.GetAccountsAccountExternalAccounts
-- |
-- GET /v1/accounts/{account}/external_accounts
--
--
-- <p>List external accounts for an account.</p>
getAccountsAccountExternalAccounts :: forall m. MonadHTTP m => GetAccountsAccountExternalAccountsParameters -> ClientT m (Response GetAccountsAccountExternalAccountsResponse)
-- | Defines the object schema located at
-- paths./v1/accounts/{account}/external_accounts.GET.parameters
-- in the specification.
data GetAccountsAccountExternalAccountsParameters
GetAccountsAccountExternalAccountsParameters :: Text -> Maybe Text -> Maybe [Text] -> Maybe Int -> Maybe Text -> GetAccountsAccountExternalAccountsParameters
-- | pathAccount: Represents the parameter named 'account'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getAccountsAccountExternalAccountsParametersPathAccount] :: GetAccountsAccountExternalAccountsParameters -> Text
-- | queryEnding_before: Represents the parameter named 'ending_before'
--
-- A cursor for use in pagination. `ending_before` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, starting with `obj_bar`, your
-- subsequent call can include `ending_before=obj_bar` in order to fetch
-- the previous page of the list.
[getAccountsAccountExternalAccountsParametersQueryEndingBefore] :: GetAccountsAccountExternalAccountsParameters -> Maybe Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getAccountsAccountExternalAccountsParametersQueryExpand] :: GetAccountsAccountExternalAccountsParameters -> Maybe [Text]
-- | queryLimit: Represents the parameter named 'limit'
--
-- A limit on the number of objects to be returned. Limit can range
-- between 1 and 100, and the default is 10.
[getAccountsAccountExternalAccountsParametersQueryLimit] :: GetAccountsAccountExternalAccountsParameters -> Maybe Int
-- | queryStarting_after: Represents the parameter named 'starting_after'
--
-- A cursor for use in pagination. `starting_after` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, ending with `obj_foo`, your
-- subsequent call can include `starting_after=obj_foo` in order to fetch
-- the next page of the list.
[getAccountsAccountExternalAccountsParametersQueryStartingAfter] :: GetAccountsAccountExternalAccountsParameters -> Maybe Text
-- | Create a new GetAccountsAccountExternalAccountsParameters with
-- all required fields.
mkGetAccountsAccountExternalAccountsParameters :: Text -> GetAccountsAccountExternalAccountsParameters
-- | Represents a response of the operation
-- getAccountsAccountExternalAccounts.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- GetAccountsAccountExternalAccountsResponseError is used.
data GetAccountsAccountExternalAccountsResponse
-- | Means either no matching case available or a parse error
GetAccountsAccountExternalAccountsResponseError :: String -> GetAccountsAccountExternalAccountsResponse
-- | Successful response.
GetAccountsAccountExternalAccountsResponse200 :: GetAccountsAccountExternalAccountsResponseBody200 -> GetAccountsAccountExternalAccountsResponse
-- | Error response.
GetAccountsAccountExternalAccountsResponseDefault :: Error -> GetAccountsAccountExternalAccountsResponse
-- | Defines the object schema located at
-- paths./v1/accounts/{account}/external_accounts.GET.responses.200.content.application/json.schema
-- in the specification.
data GetAccountsAccountExternalAccountsResponseBody200
GetAccountsAccountExternalAccountsResponseBody200 :: [GetAccountsAccountExternalAccountsResponseBody200Data'] -> Bool -> Text -> GetAccountsAccountExternalAccountsResponseBody200
-- | data: The list contains all external accounts that have been attached
-- to the Stripe account. These may be bank accounts or cards.
[getAccountsAccountExternalAccountsResponseBody200Data] :: GetAccountsAccountExternalAccountsResponseBody200 -> [GetAccountsAccountExternalAccountsResponseBody200Data']
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[getAccountsAccountExternalAccountsResponseBody200HasMore] :: GetAccountsAccountExternalAccountsResponseBody200 -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getAccountsAccountExternalAccountsResponseBody200Url] :: GetAccountsAccountExternalAccountsResponseBody200 -> Text
-- | Create a new GetAccountsAccountExternalAccountsResponseBody200
-- with all required fields.
mkGetAccountsAccountExternalAccountsResponseBody200 :: [GetAccountsAccountExternalAccountsResponseBody200Data'] -> Bool -> Text -> GetAccountsAccountExternalAccountsResponseBody200
-- | Defines the object schema located at
-- paths./v1/accounts/{account}/external_accounts.GET.responses.200.content.application/json.schema.properties.data.items.anyOf
-- in the specification.
data GetAccountsAccountExternalAccountsResponseBody200Data'
GetAccountsAccountExternalAccountsResponseBody200Data' :: Maybe GetAccountsAccountExternalAccountsResponseBody200Data'Account'Variants -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe [GetAccountsAccountExternalAccountsResponseBody200Data'AvailablePayoutMethods'] -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe GetAccountsAccountExternalAccountsResponseBody200Data'Customer'Variants -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe Int -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Object -> Maybe Text -> Maybe GetAccountsAccountExternalAccountsResponseBody200Data'Object' -> Maybe GetAccountsAccountExternalAccountsResponseBody200Data'Recipient'Variants -> Maybe Text -> Maybe Text -> Maybe Text -> GetAccountsAccountExternalAccountsResponseBody200Data'
-- | account: The ID of the account that the bank account is associated
-- with.
[getAccountsAccountExternalAccountsResponseBody200Data'Account] :: GetAccountsAccountExternalAccountsResponseBody200Data' -> Maybe GetAccountsAccountExternalAccountsResponseBody200Data'Account'Variants
-- | account_holder_name: The name of the person or business that owns the
-- bank account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getAccountsAccountExternalAccountsResponseBody200Data'AccountHolderName] :: GetAccountsAccountExternalAccountsResponseBody200Data' -> Maybe Text
-- | account_holder_type: The type of entity that holds the account. This
-- can be either `individual` or `company`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getAccountsAccountExternalAccountsResponseBody200Data'AccountHolderType] :: GetAccountsAccountExternalAccountsResponseBody200Data' -> Maybe Text
-- | address_city: City/District/Suburb/Town/Village.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getAccountsAccountExternalAccountsResponseBody200Data'AddressCity] :: GetAccountsAccountExternalAccountsResponseBody200Data' -> Maybe Text
-- | address_country: Billing address country, if provided when creating
-- card.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getAccountsAccountExternalAccountsResponseBody200Data'AddressCountry] :: GetAccountsAccountExternalAccountsResponseBody200Data' -> Maybe Text
-- | address_line1: Address line 1 (Street address/PO Box/Company name).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getAccountsAccountExternalAccountsResponseBody200Data'AddressLine1] :: GetAccountsAccountExternalAccountsResponseBody200Data' -> Maybe Text
-- | address_line1_check: If `address_line1` was provided, results of the
-- check: `pass`, `fail`, `unavailable`, or `unchecked`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getAccountsAccountExternalAccountsResponseBody200Data'AddressLine1Check] :: GetAccountsAccountExternalAccountsResponseBody200Data' -> Maybe Text
-- | address_line2: Address line 2 (Apartment/Suite/Unit/Building).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getAccountsAccountExternalAccountsResponseBody200Data'AddressLine2] :: GetAccountsAccountExternalAccountsResponseBody200Data' -> Maybe Text
-- | address_state: State/County/Province/Region.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getAccountsAccountExternalAccountsResponseBody200Data'AddressState] :: GetAccountsAccountExternalAccountsResponseBody200Data' -> Maybe Text
-- | address_zip: ZIP or postal code.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getAccountsAccountExternalAccountsResponseBody200Data'AddressZip] :: GetAccountsAccountExternalAccountsResponseBody200Data' -> Maybe Text
-- | address_zip_check: If `address_zip` was provided, results of the
-- check: `pass`, `fail`, `unavailable`, or `unchecked`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getAccountsAccountExternalAccountsResponseBody200Data'AddressZipCheck] :: GetAccountsAccountExternalAccountsResponseBody200Data' -> Maybe Text
-- | available_payout_methods: A set of available payout methods for this
-- bank account. Only values from this set should be passed as the
-- `method` when creating a payout.
[getAccountsAccountExternalAccountsResponseBody200Data'AvailablePayoutMethods] :: GetAccountsAccountExternalAccountsResponseBody200Data' -> Maybe [GetAccountsAccountExternalAccountsResponseBody200Data'AvailablePayoutMethods']
-- | bank_name: Name of the bank associated with the routing number (e.g.,
-- `WELLS FARGO`).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getAccountsAccountExternalAccountsResponseBody200Data'BankName] :: GetAccountsAccountExternalAccountsResponseBody200Data' -> Maybe Text
-- | brand: Card brand. Can be `American Express`, `Diners Club`,
-- `Discover`, `JCB`, `MasterCard`, `UnionPay`, `Visa`, or `Unknown`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getAccountsAccountExternalAccountsResponseBody200Data'Brand] :: GetAccountsAccountExternalAccountsResponseBody200Data' -> Maybe Text
-- | country: Two-letter ISO code representing the country the bank account
-- is located in.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getAccountsAccountExternalAccountsResponseBody200Data'Country] :: GetAccountsAccountExternalAccountsResponseBody200Data' -> Maybe Text
-- | currency: Three-letter ISO code for the currency paid out to
-- the bank account.
[getAccountsAccountExternalAccountsResponseBody200Data'Currency] :: GetAccountsAccountExternalAccountsResponseBody200Data' -> Maybe Text
-- | customer: The ID of the customer that the bank account is associated
-- with.
[getAccountsAccountExternalAccountsResponseBody200Data'Customer] :: GetAccountsAccountExternalAccountsResponseBody200Data' -> Maybe GetAccountsAccountExternalAccountsResponseBody200Data'Customer'Variants
-- | cvc_check: If a CVC was provided, results of the check: `pass`,
-- `fail`, `unavailable`, or `unchecked`. A result of unchecked indicates
-- that CVC was provided but hasn't been checked yet. Checks are
-- typically performed when attaching a card to a Customer object, or
-- when creating a charge. For more details, see Check if a card is
-- valid without a charge.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getAccountsAccountExternalAccountsResponseBody200Data'CvcCheck] :: GetAccountsAccountExternalAccountsResponseBody200Data' -> Maybe Text
-- | default_for_currency: Whether this bank account is the default
-- external account for its currency.
[getAccountsAccountExternalAccountsResponseBody200Data'DefaultForCurrency] :: GetAccountsAccountExternalAccountsResponseBody200Data' -> Maybe Bool
-- | dynamic_last4: (For tokenized numbers only.) The last four digits of
-- the device account number.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getAccountsAccountExternalAccountsResponseBody200Data'DynamicLast4] :: GetAccountsAccountExternalAccountsResponseBody200Data' -> Maybe Text
-- | exp_month: Two-digit number representing the card's expiration month.
[getAccountsAccountExternalAccountsResponseBody200Data'ExpMonth] :: GetAccountsAccountExternalAccountsResponseBody200Data' -> Maybe Int
-- | exp_year: Four-digit number representing the card's expiration year.
[getAccountsAccountExternalAccountsResponseBody200Data'ExpYear] :: GetAccountsAccountExternalAccountsResponseBody200Data' -> Maybe Int
-- | fingerprint: Uniquely identifies this particular bank account. You can
-- use this attribute to check whether two bank accounts are the same.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getAccountsAccountExternalAccountsResponseBody200Data'Fingerprint] :: GetAccountsAccountExternalAccountsResponseBody200Data' -> Maybe Text
-- | funding: Card funding type. Can be `credit`, `debit`, `prepaid`, or
-- `unknown`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getAccountsAccountExternalAccountsResponseBody200Data'Funding] :: GetAccountsAccountExternalAccountsResponseBody200Data' -> Maybe Text
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getAccountsAccountExternalAccountsResponseBody200Data'Id] :: GetAccountsAccountExternalAccountsResponseBody200Data' -> Maybe Text
-- | last4: The last four digits of the bank account number.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getAccountsAccountExternalAccountsResponseBody200Data'Last4] :: GetAccountsAccountExternalAccountsResponseBody200Data' -> Maybe Text
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format.
[getAccountsAccountExternalAccountsResponseBody200Data'Metadata] :: GetAccountsAccountExternalAccountsResponseBody200Data' -> Maybe Object
-- | name: Cardholder name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getAccountsAccountExternalAccountsResponseBody200Data'Name] :: GetAccountsAccountExternalAccountsResponseBody200Data' -> Maybe Text
-- | object: String representing the object's type. Objects of the same
-- type share the same value.
[getAccountsAccountExternalAccountsResponseBody200Data'Object] :: GetAccountsAccountExternalAccountsResponseBody200Data' -> Maybe GetAccountsAccountExternalAccountsResponseBody200Data'Object'
-- | recipient: 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.
[getAccountsAccountExternalAccountsResponseBody200Data'Recipient] :: GetAccountsAccountExternalAccountsResponseBody200Data' -> Maybe GetAccountsAccountExternalAccountsResponseBody200Data'Recipient'Variants
-- | routing_number: The routing transit number for the bank account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getAccountsAccountExternalAccountsResponseBody200Data'RoutingNumber] :: GetAccountsAccountExternalAccountsResponseBody200Data' -> Maybe Text
-- | status: For bank accounts, possible values are `new`, `validated`,
-- `verified`, `verification_failed`, or `errored`. A bank account that
-- hasn't had any activity or validation performed is `new`. If Stripe
-- can determine that the bank account exists, its status will be
-- `validated`. Note that there often isn’t enough information to know
-- (e.g., for smaller credit unions), and the validation is not always
-- run. If customer bank account verification has succeeded, the bank
-- account status will be `verified`. If the verification failed for any
-- reason, such as microdeposit failure, the status will be
-- `verification_failed`. If a transfer sent to this bank account fails,
-- we'll set the status to `errored` and will not continue to send
-- transfers until the bank details are updated.
--
-- For external accounts, possible values are `new` and `errored`.
-- Validations aren't run against external accounts because they're only
-- used for payouts. This means the other statuses don't apply. If a
-- transfer fails, the status is set to `errored` and transfers are
-- stopped until account details are updated.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getAccountsAccountExternalAccountsResponseBody200Data'Status] :: GetAccountsAccountExternalAccountsResponseBody200Data' -> Maybe Text
-- | tokenization_method: If the card number is tokenized, this is the
-- method that was used. Can be `android_pay` (includes Google Pay),
-- `apple_pay`, `masterpass`, `visa_checkout`, or null.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getAccountsAccountExternalAccountsResponseBody200Data'TokenizationMethod] :: GetAccountsAccountExternalAccountsResponseBody200Data' -> Maybe Text
-- | Create a new
-- GetAccountsAccountExternalAccountsResponseBody200Data' with all
-- required fields.
mkGetAccountsAccountExternalAccountsResponseBody200Data' :: GetAccountsAccountExternalAccountsResponseBody200Data'
-- | Defines the oneOf schema located at
-- paths./v1/accounts/{account}/external_accounts.GET.responses.200.content.application/json.schema.properties.data.items.anyOf.properties.account.anyOf
-- in the specification.
--
-- The ID of the account that the bank account is associated with.
data GetAccountsAccountExternalAccountsResponseBody200Data'Account'Variants
GetAccountsAccountExternalAccountsResponseBody200Data'Account'Text :: Text -> GetAccountsAccountExternalAccountsResponseBody200Data'Account'Variants
GetAccountsAccountExternalAccountsResponseBody200Data'Account'Account :: Account -> GetAccountsAccountExternalAccountsResponseBody200Data'Account'Variants
-- | Defines the enum schema located at
-- paths./v1/accounts/{account}/external_accounts.GET.responses.200.content.application/json.schema.properties.data.items.anyOf.properties.available_payout_methods.items
-- in the specification.
data GetAccountsAccountExternalAccountsResponseBody200Data'AvailablePayoutMethods'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
GetAccountsAccountExternalAccountsResponseBody200Data'AvailablePayoutMethods'Other :: Value -> GetAccountsAccountExternalAccountsResponseBody200Data'AvailablePayoutMethods'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
GetAccountsAccountExternalAccountsResponseBody200Data'AvailablePayoutMethods'Typed :: Text -> GetAccountsAccountExternalAccountsResponseBody200Data'AvailablePayoutMethods'
-- | Represents the JSON value "instant"
GetAccountsAccountExternalAccountsResponseBody200Data'AvailablePayoutMethods'EnumInstant :: GetAccountsAccountExternalAccountsResponseBody200Data'AvailablePayoutMethods'
-- | Represents the JSON value "standard"
GetAccountsAccountExternalAccountsResponseBody200Data'AvailablePayoutMethods'EnumStandard :: GetAccountsAccountExternalAccountsResponseBody200Data'AvailablePayoutMethods'
-- | Defines the oneOf schema located at
-- paths./v1/accounts/{account}/external_accounts.GET.responses.200.content.application/json.schema.properties.data.items.anyOf.properties.customer.anyOf
-- in the specification.
--
-- The ID of the customer that the bank account is associated with.
data GetAccountsAccountExternalAccountsResponseBody200Data'Customer'Variants
GetAccountsAccountExternalAccountsResponseBody200Data'Customer'Text :: Text -> GetAccountsAccountExternalAccountsResponseBody200Data'Customer'Variants
GetAccountsAccountExternalAccountsResponseBody200Data'Customer'Customer :: Customer -> GetAccountsAccountExternalAccountsResponseBody200Data'Customer'Variants
GetAccountsAccountExternalAccountsResponseBody200Data'Customer'DeletedCustomer :: DeletedCustomer -> GetAccountsAccountExternalAccountsResponseBody200Data'Customer'Variants
-- | Defines the enum schema located at
-- paths./v1/accounts/{account}/external_accounts.GET.responses.200.content.application/json.schema.properties.data.items.anyOf.properties.object
-- in the specification.
--
-- String representing the object's type. Objects of the same type share
-- the same value.
data GetAccountsAccountExternalAccountsResponseBody200Data'Object'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
GetAccountsAccountExternalAccountsResponseBody200Data'Object'Other :: Value -> GetAccountsAccountExternalAccountsResponseBody200Data'Object'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
GetAccountsAccountExternalAccountsResponseBody200Data'Object'Typed :: Text -> GetAccountsAccountExternalAccountsResponseBody200Data'Object'
-- | Represents the JSON value "bank_account"
GetAccountsAccountExternalAccountsResponseBody200Data'Object'EnumBankAccount :: GetAccountsAccountExternalAccountsResponseBody200Data'Object'
-- | Defines the oneOf schema located at
-- paths./v1/accounts/{account}/external_accounts.GET.responses.200.content.application/json.schema.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.
data GetAccountsAccountExternalAccountsResponseBody200Data'Recipient'Variants
GetAccountsAccountExternalAccountsResponseBody200Data'Recipient'Text :: Text -> GetAccountsAccountExternalAccountsResponseBody200Data'Recipient'Variants
GetAccountsAccountExternalAccountsResponseBody200Data'Recipient'Recipient :: Recipient -> GetAccountsAccountExternalAccountsResponseBody200Data'Recipient'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetAccountsAccountExternalAccounts.GetAccountsAccountExternalAccountsParameters
instance GHC.Show.Show StripeAPI.Operations.GetAccountsAccountExternalAccounts.GetAccountsAccountExternalAccountsParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetAccountsAccountExternalAccounts.GetAccountsAccountExternalAccountsResponseBody200Data'Account'Variants
instance GHC.Show.Show StripeAPI.Operations.GetAccountsAccountExternalAccounts.GetAccountsAccountExternalAccountsResponseBody200Data'Account'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetAccountsAccountExternalAccounts.GetAccountsAccountExternalAccountsResponseBody200Data'AvailablePayoutMethods'
instance GHC.Show.Show StripeAPI.Operations.GetAccountsAccountExternalAccounts.GetAccountsAccountExternalAccountsResponseBody200Data'AvailablePayoutMethods'
instance GHC.Classes.Eq StripeAPI.Operations.GetAccountsAccountExternalAccounts.GetAccountsAccountExternalAccountsResponseBody200Data'Customer'Variants
instance GHC.Show.Show StripeAPI.Operations.GetAccountsAccountExternalAccounts.GetAccountsAccountExternalAccountsResponseBody200Data'Customer'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetAccountsAccountExternalAccounts.GetAccountsAccountExternalAccountsResponseBody200Data'Object'
instance GHC.Show.Show StripeAPI.Operations.GetAccountsAccountExternalAccounts.GetAccountsAccountExternalAccountsResponseBody200Data'Object'
instance GHC.Classes.Eq StripeAPI.Operations.GetAccountsAccountExternalAccounts.GetAccountsAccountExternalAccountsResponseBody200Data'Recipient'Variants
instance GHC.Show.Show StripeAPI.Operations.GetAccountsAccountExternalAccounts.GetAccountsAccountExternalAccountsResponseBody200Data'Recipient'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetAccountsAccountExternalAccounts.GetAccountsAccountExternalAccountsResponseBody200Data'
instance GHC.Show.Show StripeAPI.Operations.GetAccountsAccountExternalAccounts.GetAccountsAccountExternalAccountsResponseBody200Data'
instance GHC.Classes.Eq StripeAPI.Operations.GetAccountsAccountExternalAccounts.GetAccountsAccountExternalAccountsResponseBody200
instance GHC.Show.Show StripeAPI.Operations.GetAccountsAccountExternalAccounts.GetAccountsAccountExternalAccountsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetAccountsAccountExternalAccounts.GetAccountsAccountExternalAccountsResponse
instance GHC.Show.Show StripeAPI.Operations.GetAccountsAccountExternalAccounts.GetAccountsAccountExternalAccountsResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetAccountsAccountExternalAccounts.GetAccountsAccountExternalAccountsResponseBody200
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetAccountsAccountExternalAccounts.GetAccountsAccountExternalAccountsResponseBody200
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetAccountsAccountExternalAccounts.GetAccountsAccountExternalAccountsResponseBody200Data'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetAccountsAccountExternalAccounts.GetAccountsAccountExternalAccountsResponseBody200Data'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetAccountsAccountExternalAccounts.GetAccountsAccountExternalAccountsResponseBody200Data'Recipient'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetAccountsAccountExternalAccounts.GetAccountsAccountExternalAccountsResponseBody200Data'Recipient'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetAccountsAccountExternalAccounts.GetAccountsAccountExternalAccountsResponseBody200Data'Object'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetAccountsAccountExternalAccounts.GetAccountsAccountExternalAccountsResponseBody200Data'Object'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetAccountsAccountExternalAccounts.GetAccountsAccountExternalAccountsResponseBody200Data'Customer'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetAccountsAccountExternalAccounts.GetAccountsAccountExternalAccountsResponseBody200Data'Customer'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetAccountsAccountExternalAccounts.GetAccountsAccountExternalAccountsResponseBody200Data'AvailablePayoutMethods'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetAccountsAccountExternalAccounts.GetAccountsAccountExternalAccountsResponseBody200Data'AvailablePayoutMethods'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetAccountsAccountExternalAccounts.GetAccountsAccountExternalAccountsResponseBody200Data'Account'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetAccountsAccountExternalAccounts.GetAccountsAccountExternalAccountsResponseBody200Data'Account'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetAccountsAccountExternalAccounts.GetAccountsAccountExternalAccountsParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetAccountsAccountExternalAccounts.GetAccountsAccountExternalAccountsParameters
-- | Contains the different functions to run the operation
-- getAccountsAccountCapabilitiesCapability
module StripeAPI.Operations.GetAccountsAccountCapabilitiesCapability
-- |
-- GET /v1/accounts/{account}/capabilities/{capability}
--
--
-- <p>Retrieves information about the specified Account
-- Capability.</p>
getAccountsAccountCapabilitiesCapability :: forall m. MonadHTTP m => GetAccountsAccountCapabilitiesCapabilityParameters -> ClientT m (Response GetAccountsAccountCapabilitiesCapabilityResponse)
-- | Defines the object schema located at
-- paths./v1/accounts/{account}/capabilities/{capability}.GET.parameters
-- in the specification.
data GetAccountsAccountCapabilitiesCapabilityParameters
GetAccountsAccountCapabilitiesCapabilityParameters :: Text -> Text -> Maybe [Text] -> GetAccountsAccountCapabilitiesCapabilityParameters
-- | pathAccount: Represents the parameter named 'account'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getAccountsAccountCapabilitiesCapabilityParametersPathAccount] :: GetAccountsAccountCapabilitiesCapabilityParameters -> Text
-- | pathCapability: Represents the parameter named 'capability'
[getAccountsAccountCapabilitiesCapabilityParametersPathCapability] :: GetAccountsAccountCapabilitiesCapabilityParameters -> Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getAccountsAccountCapabilitiesCapabilityParametersQueryExpand] :: GetAccountsAccountCapabilitiesCapabilityParameters -> Maybe [Text]
-- | Create a new GetAccountsAccountCapabilitiesCapabilityParameters
-- with all required fields.
mkGetAccountsAccountCapabilitiesCapabilityParameters :: Text -> Text -> GetAccountsAccountCapabilitiesCapabilityParameters
-- | Represents a response of the operation
-- getAccountsAccountCapabilitiesCapability.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- GetAccountsAccountCapabilitiesCapabilityResponseError is used.
data GetAccountsAccountCapabilitiesCapabilityResponse
-- | Means either no matching case available or a parse error
GetAccountsAccountCapabilitiesCapabilityResponseError :: String -> GetAccountsAccountCapabilitiesCapabilityResponse
-- | Successful response.
GetAccountsAccountCapabilitiesCapabilityResponse200 :: Capability -> GetAccountsAccountCapabilitiesCapabilityResponse
-- | Error response.
GetAccountsAccountCapabilitiesCapabilityResponseDefault :: Error -> GetAccountsAccountCapabilitiesCapabilityResponse
instance GHC.Classes.Eq StripeAPI.Operations.GetAccountsAccountCapabilitiesCapability.GetAccountsAccountCapabilitiesCapabilityParameters
instance GHC.Show.Show StripeAPI.Operations.GetAccountsAccountCapabilitiesCapability.GetAccountsAccountCapabilitiesCapabilityParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetAccountsAccountCapabilitiesCapability.GetAccountsAccountCapabilitiesCapabilityResponse
instance GHC.Show.Show StripeAPI.Operations.GetAccountsAccountCapabilitiesCapability.GetAccountsAccountCapabilitiesCapabilityResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetAccountsAccountCapabilitiesCapability.GetAccountsAccountCapabilitiesCapabilityParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetAccountsAccountCapabilitiesCapability.GetAccountsAccountCapabilitiesCapabilityParameters
-- | Contains the different functions to run the operation
-- getAccountsAccountCapabilities
module StripeAPI.Operations.GetAccountsAccountCapabilities
-- |
-- GET /v1/accounts/{account}/capabilities
--
--
-- <p>Returns a list of capabilities associated with the account.
-- The capabilities are returned sorted by creation date, with the most
-- recent capability appearing first.</p>
getAccountsAccountCapabilities :: forall m. MonadHTTP m => GetAccountsAccountCapabilitiesParameters -> ClientT m (Response GetAccountsAccountCapabilitiesResponse)
-- | Defines the object schema located at
-- paths./v1/accounts/{account}/capabilities.GET.parameters in
-- the specification.
data GetAccountsAccountCapabilitiesParameters
GetAccountsAccountCapabilitiesParameters :: Text -> Maybe [Text] -> GetAccountsAccountCapabilitiesParameters
-- | pathAccount: Represents the parameter named 'account'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getAccountsAccountCapabilitiesParametersPathAccount] :: GetAccountsAccountCapabilitiesParameters -> Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getAccountsAccountCapabilitiesParametersQueryExpand] :: GetAccountsAccountCapabilitiesParameters -> Maybe [Text]
-- | Create a new GetAccountsAccountCapabilitiesParameters with all
-- required fields.
mkGetAccountsAccountCapabilitiesParameters :: Text -> GetAccountsAccountCapabilitiesParameters
-- | Represents a response of the operation
-- getAccountsAccountCapabilities.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- GetAccountsAccountCapabilitiesResponseError is used.
data GetAccountsAccountCapabilitiesResponse
-- | Means either no matching case available or a parse error
GetAccountsAccountCapabilitiesResponseError :: String -> GetAccountsAccountCapabilitiesResponse
-- | Successful response.
GetAccountsAccountCapabilitiesResponse200 :: GetAccountsAccountCapabilitiesResponseBody200 -> GetAccountsAccountCapabilitiesResponse
-- | Error response.
GetAccountsAccountCapabilitiesResponseDefault :: Error -> GetAccountsAccountCapabilitiesResponse
-- | Defines the object schema located at
-- paths./v1/accounts/{account}/capabilities.GET.responses.200.content.application/json.schema
-- in the specification.
data GetAccountsAccountCapabilitiesResponseBody200
GetAccountsAccountCapabilitiesResponseBody200 :: [Capability] -> Bool -> Text -> GetAccountsAccountCapabilitiesResponseBody200
-- | data
[getAccountsAccountCapabilitiesResponseBody200Data] :: GetAccountsAccountCapabilitiesResponseBody200 -> [Capability]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[getAccountsAccountCapabilitiesResponseBody200HasMore] :: GetAccountsAccountCapabilitiesResponseBody200 -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getAccountsAccountCapabilitiesResponseBody200Url] :: GetAccountsAccountCapabilitiesResponseBody200 -> Text
-- | Create a new GetAccountsAccountCapabilitiesResponseBody200 with
-- all required fields.
mkGetAccountsAccountCapabilitiesResponseBody200 :: [Capability] -> Bool -> Text -> GetAccountsAccountCapabilitiesResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetAccountsAccountCapabilities.GetAccountsAccountCapabilitiesParameters
instance GHC.Show.Show StripeAPI.Operations.GetAccountsAccountCapabilities.GetAccountsAccountCapabilitiesParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetAccountsAccountCapabilities.GetAccountsAccountCapabilitiesResponseBody200
instance GHC.Show.Show StripeAPI.Operations.GetAccountsAccountCapabilities.GetAccountsAccountCapabilitiesResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetAccountsAccountCapabilities.GetAccountsAccountCapabilitiesResponse
instance GHC.Show.Show StripeAPI.Operations.GetAccountsAccountCapabilities.GetAccountsAccountCapabilitiesResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetAccountsAccountCapabilities.GetAccountsAccountCapabilitiesResponseBody200
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetAccountsAccountCapabilities.GetAccountsAccountCapabilitiesResponseBody200
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetAccountsAccountCapabilities.GetAccountsAccountCapabilitiesParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetAccountsAccountCapabilities.GetAccountsAccountCapabilitiesParameters
-- | Contains the different functions to run the operation
-- getAccountsAccountBankAccountsId
module StripeAPI.Operations.GetAccountsAccountBankAccountsId
-- |
-- GET /v1/accounts/{account}/bank_accounts/{id}
--
--
-- <p>Retrieve a specified external account for a given
-- account.</p>
getAccountsAccountBankAccountsId :: forall m. MonadHTTP m => GetAccountsAccountBankAccountsIdParameters -> ClientT m (Response GetAccountsAccountBankAccountsIdResponse)
-- | Defines the object schema located at
-- paths./v1/accounts/{account}/bank_accounts/{id}.GET.parameters
-- in the specification.
data GetAccountsAccountBankAccountsIdParameters
GetAccountsAccountBankAccountsIdParameters :: Text -> Text -> Maybe [Text] -> GetAccountsAccountBankAccountsIdParameters
-- | pathAccount: Represents the parameter named 'account'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getAccountsAccountBankAccountsIdParametersPathAccount] :: GetAccountsAccountBankAccountsIdParameters -> Text
-- | pathId: Represents the parameter named 'id'
[getAccountsAccountBankAccountsIdParametersPathId] :: GetAccountsAccountBankAccountsIdParameters -> Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getAccountsAccountBankAccountsIdParametersQueryExpand] :: GetAccountsAccountBankAccountsIdParameters -> Maybe [Text]
-- | Create a new GetAccountsAccountBankAccountsIdParameters with
-- all required fields.
mkGetAccountsAccountBankAccountsIdParameters :: Text -> Text -> GetAccountsAccountBankAccountsIdParameters
-- | Represents a response of the operation
-- getAccountsAccountBankAccountsId.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- GetAccountsAccountBankAccountsIdResponseError is used.
data GetAccountsAccountBankAccountsIdResponse
-- | Means either no matching case available or a parse error
GetAccountsAccountBankAccountsIdResponseError :: String -> GetAccountsAccountBankAccountsIdResponse
-- | Successful response.
GetAccountsAccountBankAccountsIdResponse200 :: ExternalAccount -> GetAccountsAccountBankAccountsIdResponse
-- | Error response.
GetAccountsAccountBankAccountsIdResponseDefault :: Error -> GetAccountsAccountBankAccountsIdResponse
instance GHC.Classes.Eq StripeAPI.Operations.GetAccountsAccountBankAccountsId.GetAccountsAccountBankAccountsIdParameters
instance GHC.Show.Show StripeAPI.Operations.GetAccountsAccountBankAccountsId.GetAccountsAccountBankAccountsIdParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetAccountsAccountBankAccountsId.GetAccountsAccountBankAccountsIdResponse
instance GHC.Show.Show StripeAPI.Operations.GetAccountsAccountBankAccountsId.GetAccountsAccountBankAccountsIdResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetAccountsAccountBankAccountsId.GetAccountsAccountBankAccountsIdParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetAccountsAccountBankAccountsId.GetAccountsAccountBankAccountsIdParameters
-- | Contains the different functions to run the operation
-- getAccountsAccount
module StripeAPI.Operations.GetAccountsAccount
-- |
-- GET /v1/accounts/{account}
--
--
-- <p>Retrieves the details of an account.</p>
getAccountsAccount :: forall m. MonadHTTP m => GetAccountsAccountParameters -> ClientT m (Response GetAccountsAccountResponse)
-- | Defines the object schema located at
-- paths./v1/accounts/{account}.GET.parameters in the
-- specification.
data GetAccountsAccountParameters
GetAccountsAccountParameters :: Text -> Maybe [Text] -> GetAccountsAccountParameters
-- | pathAccount: Represents the parameter named 'account'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getAccountsAccountParametersPathAccount] :: GetAccountsAccountParameters -> Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getAccountsAccountParametersQueryExpand] :: GetAccountsAccountParameters -> Maybe [Text]
-- | Create a new GetAccountsAccountParameters with all required
-- fields.
mkGetAccountsAccountParameters :: Text -> GetAccountsAccountParameters
-- | Represents a response of the operation getAccountsAccount.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetAccountsAccountResponseError is
-- used.
data GetAccountsAccountResponse
-- | Means either no matching case available or a parse error
GetAccountsAccountResponseError :: String -> GetAccountsAccountResponse
-- | Successful response.
GetAccountsAccountResponse200 :: Account -> GetAccountsAccountResponse
-- | Error response.
GetAccountsAccountResponseDefault :: Error -> GetAccountsAccountResponse
instance GHC.Classes.Eq StripeAPI.Operations.GetAccountsAccount.GetAccountsAccountParameters
instance GHC.Show.Show StripeAPI.Operations.GetAccountsAccount.GetAccountsAccountParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetAccountsAccount.GetAccountsAccountResponse
instance GHC.Show.Show StripeAPI.Operations.GetAccountsAccount.GetAccountsAccountResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetAccountsAccount.GetAccountsAccountParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetAccountsAccount.GetAccountsAccountParameters
-- | Contains the different functions to run the operation getAccounts
module StripeAPI.Operations.GetAccounts
-- |
-- GET /v1/accounts
--
--
-- <p>Returns a list of accounts connected to your platform via
-- <a href="/docs/connect">Connect</a>. If you’re not a
-- platform, the list is empty.</p>
getAccounts :: forall m. MonadHTTP m => GetAccountsParameters -> ClientT m (Response GetAccountsResponse)
-- | Defines the object schema located at
-- paths./v1/accounts.GET.parameters in the specification.
data GetAccountsParameters
GetAccountsParameters :: Maybe GetAccountsParametersQueryCreated'Variants -> Maybe Text -> Maybe [Text] -> Maybe Int -> Maybe Text -> GetAccountsParameters
-- | queryCreated: Represents the parameter named 'created'
[getAccountsParametersQueryCreated] :: GetAccountsParameters -> Maybe GetAccountsParametersQueryCreated'Variants
-- | queryEnding_before: Represents the parameter named 'ending_before'
--
-- A cursor for use in pagination. `ending_before` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, starting with `obj_bar`, your
-- subsequent call can include `ending_before=obj_bar` in order to fetch
-- the previous page of the list.
[getAccountsParametersQueryEndingBefore] :: GetAccountsParameters -> Maybe Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getAccountsParametersQueryExpand] :: GetAccountsParameters -> Maybe [Text]
-- | queryLimit: Represents the parameter named 'limit'
--
-- A limit on the number of objects to be returned. Limit can range
-- between 1 and 100, and the default is 10.
[getAccountsParametersQueryLimit] :: GetAccountsParameters -> Maybe Int
-- | queryStarting_after: Represents the parameter named 'starting_after'
--
-- A cursor for use in pagination. `starting_after` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, ending with `obj_foo`, your
-- subsequent call can include `starting_after=obj_foo` in order to fetch
-- the next page of the list.
[getAccountsParametersQueryStartingAfter] :: GetAccountsParameters -> Maybe Text
-- | Create a new GetAccountsParameters with all required fields.
mkGetAccountsParameters :: GetAccountsParameters
-- | Defines the object schema located at
-- paths./v1/accounts.GET.parameters.properties.queryCreated.anyOf
-- in the specification.
data GetAccountsParametersQueryCreated'OneOf1
GetAccountsParametersQueryCreated'OneOf1 :: Maybe Int -> Maybe Int -> Maybe Int -> Maybe Int -> GetAccountsParametersQueryCreated'OneOf1
-- | gt
[getAccountsParametersQueryCreated'OneOf1Gt] :: GetAccountsParametersQueryCreated'OneOf1 -> Maybe Int
-- | gte
[getAccountsParametersQueryCreated'OneOf1Gte] :: GetAccountsParametersQueryCreated'OneOf1 -> Maybe Int
-- | lt
[getAccountsParametersQueryCreated'OneOf1Lt] :: GetAccountsParametersQueryCreated'OneOf1 -> Maybe Int
-- | lte
[getAccountsParametersQueryCreated'OneOf1Lte] :: GetAccountsParametersQueryCreated'OneOf1 -> Maybe Int
-- | Create a new GetAccountsParametersQueryCreated'OneOf1 with all
-- required fields.
mkGetAccountsParametersQueryCreated'OneOf1 :: GetAccountsParametersQueryCreated'OneOf1
-- | Defines the oneOf schema located at
-- paths./v1/accounts.GET.parameters.properties.queryCreated.anyOf
-- in the specification.
--
-- Represents the parameter named 'created'
data GetAccountsParametersQueryCreated'Variants
GetAccountsParametersQueryCreated'GetAccountsParametersQueryCreated'OneOf1 :: GetAccountsParametersQueryCreated'OneOf1 -> GetAccountsParametersQueryCreated'Variants
GetAccountsParametersQueryCreated'Int :: Int -> GetAccountsParametersQueryCreated'Variants
-- | Represents a response of the operation getAccounts.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetAccountsResponseError is used.
data GetAccountsResponse
-- | Means either no matching case available or a parse error
GetAccountsResponseError :: String -> GetAccountsResponse
-- | Successful response.
GetAccountsResponse200 :: GetAccountsResponseBody200 -> GetAccountsResponse
-- | Error response.
GetAccountsResponseDefault :: Error -> GetAccountsResponse
-- | Defines the object schema located at
-- paths./v1/accounts.GET.responses.200.content.application/json.schema
-- in the specification.
data GetAccountsResponseBody200
GetAccountsResponseBody200 :: [Account] -> Bool -> Text -> GetAccountsResponseBody200
-- | data
[getAccountsResponseBody200Data] :: GetAccountsResponseBody200 -> [Account]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[getAccountsResponseBody200HasMore] :: GetAccountsResponseBody200 -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
-- - Must match pattern '^/v1/accounts'
--
[getAccountsResponseBody200Url] :: GetAccountsResponseBody200 -> Text
-- | Create a new GetAccountsResponseBody200 with all required
-- fields.
mkGetAccountsResponseBody200 :: [Account] -> Bool -> Text -> GetAccountsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetAccounts.GetAccountsParametersQueryCreated'OneOf1
instance GHC.Show.Show StripeAPI.Operations.GetAccounts.GetAccountsParametersQueryCreated'OneOf1
instance GHC.Classes.Eq StripeAPI.Operations.GetAccounts.GetAccountsParametersQueryCreated'Variants
instance GHC.Show.Show StripeAPI.Operations.GetAccounts.GetAccountsParametersQueryCreated'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetAccounts.GetAccountsParameters
instance GHC.Show.Show StripeAPI.Operations.GetAccounts.GetAccountsParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetAccounts.GetAccountsResponseBody200
instance GHC.Show.Show StripeAPI.Operations.GetAccounts.GetAccountsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetAccounts.GetAccountsResponse
instance GHC.Show.Show StripeAPI.Operations.GetAccounts.GetAccountsResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetAccounts.GetAccountsResponseBody200
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetAccounts.GetAccountsResponseBody200
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetAccounts.GetAccountsParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetAccounts.GetAccountsParameters
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetAccounts.GetAccountsParametersQueryCreated'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetAccounts.GetAccountsParametersQueryCreated'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetAccounts.GetAccountsParametersQueryCreated'OneOf1
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetAccounts.GetAccountsParametersQueryCreated'OneOf1
-- | Contains the different functions to run the operation
-- getAccountPersonsPerson
module StripeAPI.Operations.GetAccountPersonsPerson
-- |
-- GET /v1/account/persons/{person}
--
--
-- <p>Retrieves an existing person.</p>
getAccountPersonsPerson :: forall m. MonadHTTP m => GetAccountPersonsPersonParameters -> ClientT m (Response GetAccountPersonsPersonResponse)
-- | Defines the object schema located at
-- paths./v1/account/persons/{person}.GET.parameters in the
-- specification.
data GetAccountPersonsPersonParameters
GetAccountPersonsPersonParameters :: Text -> Maybe [Text] -> GetAccountPersonsPersonParameters
-- | pathPerson: Represents the parameter named 'person'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getAccountPersonsPersonParametersPathPerson] :: GetAccountPersonsPersonParameters -> Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getAccountPersonsPersonParametersQueryExpand] :: GetAccountPersonsPersonParameters -> Maybe [Text]
-- | Create a new GetAccountPersonsPersonParameters with all
-- required fields.
mkGetAccountPersonsPersonParameters :: Text -> GetAccountPersonsPersonParameters
-- | Represents a response of the operation getAccountPersonsPerson.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetAccountPersonsPersonResponseError is
-- used.
data GetAccountPersonsPersonResponse
-- | Means either no matching case available or a parse error
GetAccountPersonsPersonResponseError :: String -> GetAccountPersonsPersonResponse
-- | Successful response.
GetAccountPersonsPersonResponse200 :: Person -> GetAccountPersonsPersonResponse
-- | Error response.
GetAccountPersonsPersonResponseDefault :: Error -> GetAccountPersonsPersonResponse
instance GHC.Classes.Eq StripeAPI.Operations.GetAccountPersonsPerson.GetAccountPersonsPersonParameters
instance GHC.Show.Show StripeAPI.Operations.GetAccountPersonsPerson.GetAccountPersonsPersonParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetAccountPersonsPerson.GetAccountPersonsPersonResponse
instance GHC.Show.Show StripeAPI.Operations.GetAccountPersonsPerson.GetAccountPersonsPersonResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetAccountPersonsPerson.GetAccountPersonsPersonParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetAccountPersonsPerson.GetAccountPersonsPersonParameters
-- | Contains the different functions to run the operation
-- getAccountPersons
module StripeAPI.Operations.GetAccountPersons
-- |
-- GET /v1/account/persons
--
--
-- <p>Returns a list of people associated with the account’s legal
-- entity. The people are returned sorted by creation date, with the most
-- recent people appearing first.</p>
getAccountPersons :: forall m. MonadHTTP m => GetAccountPersonsParameters -> ClientT m (Response GetAccountPersonsResponse)
-- | Defines the object schema located at
-- paths./v1/account/persons.GET.parameters in the
-- specification.
data GetAccountPersonsParameters
GetAccountPersonsParameters :: Maybe Text -> Maybe [Text] -> Maybe Int -> Maybe GetAccountPersonsParametersQueryRelationship' -> Maybe Text -> GetAccountPersonsParameters
-- | queryEnding_before: Represents the parameter named 'ending_before'
--
-- A cursor for use in pagination. `ending_before` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, starting with `obj_bar`, your
-- subsequent call can include `ending_before=obj_bar` in order to fetch
-- the previous page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getAccountPersonsParametersQueryEndingBefore] :: GetAccountPersonsParameters -> Maybe Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getAccountPersonsParametersQueryExpand] :: GetAccountPersonsParameters -> Maybe [Text]
-- | queryLimit: Represents the parameter named 'limit'
--
-- A limit on the number of objects to be returned. Limit can range
-- between 1 and 100, and the default is 10.
[getAccountPersonsParametersQueryLimit] :: GetAccountPersonsParameters -> Maybe Int
-- | queryRelationship: Represents the parameter named 'relationship'
--
-- Filters on the list of people returned based on the person's
-- relationship to the account's company.
[getAccountPersonsParametersQueryRelationship] :: GetAccountPersonsParameters -> Maybe GetAccountPersonsParametersQueryRelationship'
-- | queryStarting_after: Represents the parameter named 'starting_after'
--
-- A cursor for use in pagination. `starting_after` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, ending with `obj_foo`, your
-- subsequent call can include `starting_after=obj_foo` in order to fetch
-- the next page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getAccountPersonsParametersQueryStartingAfter] :: GetAccountPersonsParameters -> Maybe Text
-- | Create a new GetAccountPersonsParameters with all required
-- fields.
mkGetAccountPersonsParameters :: GetAccountPersonsParameters
-- | Defines the object schema located at
-- paths./v1/account/persons.GET.parameters.properties.queryRelationship
-- in the specification.
--
-- Represents the parameter named 'relationship'
--
-- Filters on the list of people returned based on the person's
-- relationship to the account's company.
data GetAccountPersonsParametersQueryRelationship'
GetAccountPersonsParametersQueryRelationship' :: Maybe Bool -> Maybe Bool -> Maybe Bool -> Maybe Bool -> GetAccountPersonsParametersQueryRelationship'
-- | director
[getAccountPersonsParametersQueryRelationship'Director] :: GetAccountPersonsParametersQueryRelationship' -> Maybe Bool
-- | executive
[getAccountPersonsParametersQueryRelationship'Executive] :: GetAccountPersonsParametersQueryRelationship' -> Maybe Bool
-- | owner
[getAccountPersonsParametersQueryRelationship'Owner] :: GetAccountPersonsParametersQueryRelationship' -> Maybe Bool
-- | representative
[getAccountPersonsParametersQueryRelationship'Representative] :: GetAccountPersonsParametersQueryRelationship' -> Maybe Bool
-- | Create a new GetAccountPersonsParametersQueryRelationship' with
-- all required fields.
mkGetAccountPersonsParametersQueryRelationship' :: GetAccountPersonsParametersQueryRelationship'
-- | Represents a response of the operation getAccountPersons.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetAccountPersonsResponseError is used.
data GetAccountPersonsResponse
-- | Means either no matching case available or a parse error
GetAccountPersonsResponseError :: String -> GetAccountPersonsResponse
-- | Successful response.
GetAccountPersonsResponse200 :: GetAccountPersonsResponseBody200 -> GetAccountPersonsResponse
-- | Error response.
GetAccountPersonsResponseDefault :: Error -> GetAccountPersonsResponse
-- | Defines the object schema located at
-- paths./v1/account/persons.GET.responses.200.content.application/json.schema
-- in the specification.
data GetAccountPersonsResponseBody200
GetAccountPersonsResponseBody200 :: [Person] -> Bool -> Text -> GetAccountPersonsResponseBody200
-- | data
[getAccountPersonsResponseBody200Data] :: GetAccountPersonsResponseBody200 -> [Person]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[getAccountPersonsResponseBody200HasMore] :: GetAccountPersonsResponseBody200 -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getAccountPersonsResponseBody200Url] :: GetAccountPersonsResponseBody200 -> Text
-- | Create a new GetAccountPersonsResponseBody200 with all required
-- fields.
mkGetAccountPersonsResponseBody200 :: [Person] -> Bool -> Text -> GetAccountPersonsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetAccountPersons.GetAccountPersonsParametersQueryRelationship'
instance GHC.Show.Show StripeAPI.Operations.GetAccountPersons.GetAccountPersonsParametersQueryRelationship'
instance GHC.Classes.Eq StripeAPI.Operations.GetAccountPersons.GetAccountPersonsParameters
instance GHC.Show.Show StripeAPI.Operations.GetAccountPersons.GetAccountPersonsParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetAccountPersons.GetAccountPersonsResponseBody200
instance GHC.Show.Show StripeAPI.Operations.GetAccountPersons.GetAccountPersonsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetAccountPersons.GetAccountPersonsResponse
instance GHC.Show.Show StripeAPI.Operations.GetAccountPersons.GetAccountPersonsResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetAccountPersons.GetAccountPersonsResponseBody200
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetAccountPersons.GetAccountPersonsResponseBody200
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetAccountPersons.GetAccountPersonsParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetAccountPersons.GetAccountPersonsParameters
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetAccountPersons.GetAccountPersonsParametersQueryRelationship'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetAccountPersons.GetAccountPersonsParametersQueryRelationship'
-- | Contains the different functions to run the operation
-- getAccountPeoplePerson
module StripeAPI.Operations.GetAccountPeoplePerson
-- |
-- GET /v1/account/people/{person}
--
--
-- <p>Retrieves an existing person.</p>
getAccountPeoplePerson :: forall m. MonadHTTP m => GetAccountPeoplePersonParameters -> ClientT m (Response GetAccountPeoplePersonResponse)
-- | Defines the object schema located at
-- paths./v1/account/people/{person}.GET.parameters in the
-- specification.
data GetAccountPeoplePersonParameters
GetAccountPeoplePersonParameters :: Text -> Maybe [Text] -> GetAccountPeoplePersonParameters
-- | pathPerson: Represents the parameter named 'person'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getAccountPeoplePersonParametersPathPerson] :: GetAccountPeoplePersonParameters -> Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getAccountPeoplePersonParametersQueryExpand] :: GetAccountPeoplePersonParameters -> Maybe [Text]
-- | Create a new GetAccountPeoplePersonParameters with all required
-- fields.
mkGetAccountPeoplePersonParameters :: Text -> GetAccountPeoplePersonParameters
-- | Represents a response of the operation getAccountPeoplePerson.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetAccountPeoplePersonResponseError is
-- used.
data GetAccountPeoplePersonResponse
-- | Means either no matching case available or a parse error
GetAccountPeoplePersonResponseError :: String -> GetAccountPeoplePersonResponse
-- | Successful response.
GetAccountPeoplePersonResponse200 :: Person -> GetAccountPeoplePersonResponse
-- | Error response.
GetAccountPeoplePersonResponseDefault :: Error -> GetAccountPeoplePersonResponse
instance GHC.Classes.Eq StripeAPI.Operations.GetAccountPeoplePerson.GetAccountPeoplePersonParameters
instance GHC.Show.Show StripeAPI.Operations.GetAccountPeoplePerson.GetAccountPeoplePersonParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetAccountPeoplePerson.GetAccountPeoplePersonResponse
instance GHC.Show.Show StripeAPI.Operations.GetAccountPeoplePerson.GetAccountPeoplePersonResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetAccountPeoplePerson.GetAccountPeoplePersonParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetAccountPeoplePerson.GetAccountPeoplePersonParameters
-- | Contains the different functions to run the operation getAccountPeople
module StripeAPI.Operations.GetAccountPeople
-- |
-- GET /v1/account/people
--
--
-- <p>Returns a list of people associated with the account’s legal
-- entity. The people are returned sorted by creation date, with the most
-- recent people appearing first.</p>
getAccountPeople :: forall m. MonadHTTP m => GetAccountPeopleParameters -> ClientT m (Response GetAccountPeopleResponse)
-- | Defines the object schema located at
-- paths./v1/account/people.GET.parameters in the specification.
data GetAccountPeopleParameters
GetAccountPeopleParameters :: Maybe Text -> Maybe [Text] -> Maybe Int -> Maybe GetAccountPeopleParametersQueryRelationship' -> Maybe Text -> GetAccountPeopleParameters
-- | queryEnding_before: Represents the parameter named 'ending_before'
--
-- A cursor for use in pagination. `ending_before` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, starting with `obj_bar`, your
-- subsequent call can include `ending_before=obj_bar` in order to fetch
-- the previous page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getAccountPeopleParametersQueryEndingBefore] :: GetAccountPeopleParameters -> Maybe Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getAccountPeopleParametersQueryExpand] :: GetAccountPeopleParameters -> Maybe [Text]
-- | queryLimit: Represents the parameter named 'limit'
--
-- A limit on the number of objects to be returned. Limit can range
-- between 1 and 100, and the default is 10.
[getAccountPeopleParametersQueryLimit] :: GetAccountPeopleParameters -> Maybe Int
-- | queryRelationship: Represents the parameter named 'relationship'
--
-- Filters on the list of people returned based on the person's
-- relationship to the account's company.
[getAccountPeopleParametersQueryRelationship] :: GetAccountPeopleParameters -> Maybe GetAccountPeopleParametersQueryRelationship'
-- | queryStarting_after: Represents the parameter named 'starting_after'
--
-- A cursor for use in pagination. `starting_after` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, ending with `obj_foo`, your
-- subsequent call can include `starting_after=obj_foo` in order to fetch
-- the next page of the list.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getAccountPeopleParametersQueryStartingAfter] :: GetAccountPeopleParameters -> Maybe Text
-- | Create a new GetAccountPeopleParameters with all required
-- fields.
mkGetAccountPeopleParameters :: GetAccountPeopleParameters
-- | Defines the object schema located at
-- paths./v1/account/people.GET.parameters.properties.queryRelationship
-- in the specification.
--
-- Represents the parameter named 'relationship'
--
-- Filters on the list of people returned based on the person's
-- relationship to the account's company.
data GetAccountPeopleParametersQueryRelationship'
GetAccountPeopleParametersQueryRelationship' :: Maybe Bool -> Maybe Bool -> Maybe Bool -> Maybe Bool -> GetAccountPeopleParametersQueryRelationship'
-- | director
[getAccountPeopleParametersQueryRelationship'Director] :: GetAccountPeopleParametersQueryRelationship' -> Maybe Bool
-- | executive
[getAccountPeopleParametersQueryRelationship'Executive] :: GetAccountPeopleParametersQueryRelationship' -> Maybe Bool
-- | owner
[getAccountPeopleParametersQueryRelationship'Owner] :: GetAccountPeopleParametersQueryRelationship' -> Maybe Bool
-- | representative
[getAccountPeopleParametersQueryRelationship'Representative] :: GetAccountPeopleParametersQueryRelationship' -> Maybe Bool
-- | Create a new GetAccountPeopleParametersQueryRelationship' with
-- all required fields.
mkGetAccountPeopleParametersQueryRelationship' :: GetAccountPeopleParametersQueryRelationship'
-- | Represents a response of the operation getAccountPeople.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetAccountPeopleResponseError is used.
data GetAccountPeopleResponse
-- | Means either no matching case available or a parse error
GetAccountPeopleResponseError :: String -> GetAccountPeopleResponse
-- | Successful response.
GetAccountPeopleResponse200 :: GetAccountPeopleResponseBody200 -> GetAccountPeopleResponse
-- | Error response.
GetAccountPeopleResponseDefault :: Error -> GetAccountPeopleResponse
-- | Defines the object schema located at
-- paths./v1/account/people.GET.responses.200.content.application/json.schema
-- in the specification.
data GetAccountPeopleResponseBody200
GetAccountPeopleResponseBody200 :: [Person] -> Bool -> Text -> GetAccountPeopleResponseBody200
-- | data
[getAccountPeopleResponseBody200Data] :: GetAccountPeopleResponseBody200 -> [Person]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[getAccountPeopleResponseBody200HasMore] :: GetAccountPeopleResponseBody200 -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getAccountPeopleResponseBody200Url] :: GetAccountPeopleResponseBody200 -> Text
-- | Create a new GetAccountPeopleResponseBody200 with all required
-- fields.
mkGetAccountPeopleResponseBody200 :: [Person] -> Bool -> Text -> GetAccountPeopleResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetAccountPeople.GetAccountPeopleParametersQueryRelationship'
instance GHC.Show.Show StripeAPI.Operations.GetAccountPeople.GetAccountPeopleParametersQueryRelationship'
instance GHC.Classes.Eq StripeAPI.Operations.GetAccountPeople.GetAccountPeopleParameters
instance GHC.Show.Show StripeAPI.Operations.GetAccountPeople.GetAccountPeopleParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetAccountPeople.GetAccountPeopleResponseBody200
instance GHC.Show.Show StripeAPI.Operations.GetAccountPeople.GetAccountPeopleResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetAccountPeople.GetAccountPeopleResponse
instance GHC.Show.Show StripeAPI.Operations.GetAccountPeople.GetAccountPeopleResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetAccountPeople.GetAccountPeopleResponseBody200
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetAccountPeople.GetAccountPeopleResponseBody200
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetAccountPeople.GetAccountPeopleParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetAccountPeople.GetAccountPeopleParameters
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetAccountPeople.GetAccountPeopleParametersQueryRelationship'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetAccountPeople.GetAccountPeopleParametersQueryRelationship'
-- | Contains the different functions to run the operation
-- getAccountExternalAccountsId
module StripeAPI.Operations.GetAccountExternalAccountsId
-- |
-- GET /v1/account/external_accounts/{id}
--
--
-- <p>Retrieve a specified external account for a given
-- account.</p>
getAccountExternalAccountsId :: forall m. MonadHTTP m => GetAccountExternalAccountsIdParameters -> ClientT m (Response GetAccountExternalAccountsIdResponse)
-- | Defines the object schema located at
-- paths./v1/account/external_accounts/{id}.GET.parameters in
-- the specification.
data GetAccountExternalAccountsIdParameters
GetAccountExternalAccountsIdParameters :: Text -> Maybe [Text] -> GetAccountExternalAccountsIdParameters
-- | pathId: Represents the parameter named 'id'
[getAccountExternalAccountsIdParametersPathId] :: GetAccountExternalAccountsIdParameters -> Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getAccountExternalAccountsIdParametersQueryExpand] :: GetAccountExternalAccountsIdParameters -> Maybe [Text]
-- | Create a new GetAccountExternalAccountsIdParameters with all
-- required fields.
mkGetAccountExternalAccountsIdParameters :: Text -> GetAccountExternalAccountsIdParameters
-- | Represents a response of the operation
-- getAccountExternalAccountsId.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- GetAccountExternalAccountsIdResponseError is used.
data GetAccountExternalAccountsIdResponse
-- | Means either no matching case available or a parse error
GetAccountExternalAccountsIdResponseError :: String -> GetAccountExternalAccountsIdResponse
-- | Successful response.
GetAccountExternalAccountsIdResponse200 :: ExternalAccount -> GetAccountExternalAccountsIdResponse
-- | Error response.
GetAccountExternalAccountsIdResponseDefault :: Error -> GetAccountExternalAccountsIdResponse
instance GHC.Classes.Eq StripeAPI.Operations.GetAccountExternalAccountsId.GetAccountExternalAccountsIdParameters
instance GHC.Show.Show StripeAPI.Operations.GetAccountExternalAccountsId.GetAccountExternalAccountsIdParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetAccountExternalAccountsId.GetAccountExternalAccountsIdResponse
instance GHC.Show.Show StripeAPI.Operations.GetAccountExternalAccountsId.GetAccountExternalAccountsIdResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetAccountExternalAccountsId.GetAccountExternalAccountsIdParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetAccountExternalAccountsId.GetAccountExternalAccountsIdParameters
-- | Contains the different functions to run the operation
-- getAccountExternalAccounts
module StripeAPI.Operations.GetAccountExternalAccounts
-- |
-- GET /v1/account/external_accounts
--
--
-- <p>List external accounts for an account.</p>
getAccountExternalAccounts :: forall m. MonadHTTP m => GetAccountExternalAccountsParameters -> ClientT m (Response GetAccountExternalAccountsResponse)
-- | Defines the object schema located at
-- paths./v1/account/external_accounts.GET.parameters in the
-- specification.
data GetAccountExternalAccountsParameters
GetAccountExternalAccountsParameters :: Maybe Text -> Maybe [Text] -> Maybe Int -> Maybe Text -> GetAccountExternalAccountsParameters
-- | queryEnding_before: Represents the parameter named 'ending_before'
--
-- A cursor for use in pagination. `ending_before` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, starting with `obj_bar`, your
-- subsequent call can include `ending_before=obj_bar` in order to fetch
-- the previous page of the list.
[getAccountExternalAccountsParametersQueryEndingBefore] :: GetAccountExternalAccountsParameters -> Maybe Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getAccountExternalAccountsParametersQueryExpand] :: GetAccountExternalAccountsParameters -> Maybe [Text]
-- | queryLimit: Represents the parameter named 'limit'
--
-- A limit on the number of objects to be returned. Limit can range
-- between 1 and 100, and the default is 10.
[getAccountExternalAccountsParametersQueryLimit] :: GetAccountExternalAccountsParameters -> Maybe Int
-- | queryStarting_after: Represents the parameter named 'starting_after'
--
-- A cursor for use in pagination. `starting_after` is an object ID that
-- defines your place in the list. For instance, if you make a list
-- request and receive 100 objects, ending with `obj_foo`, your
-- subsequent call can include `starting_after=obj_foo` in order to fetch
-- the next page of the list.
[getAccountExternalAccountsParametersQueryStartingAfter] :: GetAccountExternalAccountsParameters -> Maybe Text
-- | Create a new GetAccountExternalAccountsParameters with all
-- required fields.
mkGetAccountExternalAccountsParameters :: GetAccountExternalAccountsParameters
-- | Represents a response of the operation
-- getAccountExternalAccounts.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetAccountExternalAccountsResponseError
-- is used.
data GetAccountExternalAccountsResponse
-- | Means either no matching case available or a parse error
GetAccountExternalAccountsResponseError :: String -> GetAccountExternalAccountsResponse
-- | Successful response.
GetAccountExternalAccountsResponse200 :: GetAccountExternalAccountsResponseBody200 -> GetAccountExternalAccountsResponse
-- | Error response.
GetAccountExternalAccountsResponseDefault :: Error -> GetAccountExternalAccountsResponse
-- | Defines the object schema located at
-- paths./v1/account/external_accounts.GET.responses.200.content.application/json.schema
-- in the specification.
data GetAccountExternalAccountsResponseBody200
GetAccountExternalAccountsResponseBody200 :: [GetAccountExternalAccountsResponseBody200Data'] -> Bool -> Text -> GetAccountExternalAccountsResponseBody200
-- | data: The list contains all external accounts that have been attached
-- to the Stripe account. These may be bank accounts or cards.
[getAccountExternalAccountsResponseBody200Data] :: GetAccountExternalAccountsResponseBody200 -> [GetAccountExternalAccountsResponseBody200Data']
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[getAccountExternalAccountsResponseBody200HasMore] :: GetAccountExternalAccountsResponseBody200 -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getAccountExternalAccountsResponseBody200Url] :: GetAccountExternalAccountsResponseBody200 -> Text
-- | Create a new GetAccountExternalAccountsResponseBody200 with all
-- required fields.
mkGetAccountExternalAccountsResponseBody200 :: [GetAccountExternalAccountsResponseBody200Data'] -> Bool -> Text -> GetAccountExternalAccountsResponseBody200
-- | Defines the object schema located at
-- paths./v1/account/external_accounts.GET.responses.200.content.application/json.schema.properties.data.items.anyOf
-- in the specification.
data GetAccountExternalAccountsResponseBody200Data'
GetAccountExternalAccountsResponseBody200Data' :: Maybe GetAccountExternalAccountsResponseBody200Data'Account'Variants -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe [GetAccountExternalAccountsResponseBody200Data'AvailablePayoutMethods'] -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe GetAccountExternalAccountsResponseBody200Data'Customer'Variants -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe Int -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Object -> Maybe Text -> Maybe GetAccountExternalAccountsResponseBody200Data'Object' -> Maybe GetAccountExternalAccountsResponseBody200Data'Recipient'Variants -> Maybe Text -> Maybe Text -> Maybe Text -> GetAccountExternalAccountsResponseBody200Data'
-- | account: The ID of the account that the bank account is associated
-- with.
[getAccountExternalAccountsResponseBody200Data'Account] :: GetAccountExternalAccountsResponseBody200Data' -> Maybe GetAccountExternalAccountsResponseBody200Data'Account'Variants
-- | account_holder_name: The name of the person or business that owns the
-- bank account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getAccountExternalAccountsResponseBody200Data'AccountHolderName] :: GetAccountExternalAccountsResponseBody200Data' -> Maybe Text
-- | account_holder_type: The type of entity that holds the account. This
-- can be either `individual` or `company`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getAccountExternalAccountsResponseBody200Data'AccountHolderType] :: GetAccountExternalAccountsResponseBody200Data' -> Maybe Text
-- | address_city: City/District/Suburb/Town/Village.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getAccountExternalAccountsResponseBody200Data'AddressCity] :: GetAccountExternalAccountsResponseBody200Data' -> Maybe Text
-- | address_country: Billing address country, if provided when creating
-- card.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getAccountExternalAccountsResponseBody200Data'AddressCountry] :: GetAccountExternalAccountsResponseBody200Data' -> Maybe Text
-- | address_line1: Address line 1 (Street address/PO Box/Company name).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getAccountExternalAccountsResponseBody200Data'AddressLine1] :: GetAccountExternalAccountsResponseBody200Data' -> Maybe Text
-- | address_line1_check: If `address_line1` was provided, results of the
-- check: `pass`, `fail`, `unavailable`, or `unchecked`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getAccountExternalAccountsResponseBody200Data'AddressLine1Check] :: GetAccountExternalAccountsResponseBody200Data' -> Maybe Text
-- | address_line2: Address line 2 (Apartment/Suite/Unit/Building).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getAccountExternalAccountsResponseBody200Data'AddressLine2] :: GetAccountExternalAccountsResponseBody200Data' -> Maybe Text
-- | address_state: State/County/Province/Region.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getAccountExternalAccountsResponseBody200Data'AddressState] :: GetAccountExternalAccountsResponseBody200Data' -> Maybe Text
-- | address_zip: ZIP or postal code.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getAccountExternalAccountsResponseBody200Data'AddressZip] :: GetAccountExternalAccountsResponseBody200Data' -> Maybe Text
-- | address_zip_check: If `address_zip` was provided, results of the
-- check: `pass`, `fail`, `unavailable`, or `unchecked`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getAccountExternalAccountsResponseBody200Data'AddressZipCheck] :: GetAccountExternalAccountsResponseBody200Data' -> Maybe Text
-- | available_payout_methods: A set of available payout methods for this
-- bank account. Only values from this set should be passed as the
-- `method` when creating a payout.
[getAccountExternalAccountsResponseBody200Data'AvailablePayoutMethods] :: GetAccountExternalAccountsResponseBody200Data' -> Maybe [GetAccountExternalAccountsResponseBody200Data'AvailablePayoutMethods']
-- | bank_name: Name of the bank associated with the routing number (e.g.,
-- `WELLS FARGO`).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getAccountExternalAccountsResponseBody200Data'BankName] :: GetAccountExternalAccountsResponseBody200Data' -> Maybe Text
-- | brand: Card brand. Can be `American Express`, `Diners Club`,
-- `Discover`, `JCB`, `MasterCard`, `UnionPay`, `Visa`, or `Unknown`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getAccountExternalAccountsResponseBody200Data'Brand] :: GetAccountExternalAccountsResponseBody200Data' -> Maybe Text
-- | country: Two-letter ISO code representing the country the bank account
-- is located in.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getAccountExternalAccountsResponseBody200Data'Country] :: GetAccountExternalAccountsResponseBody200Data' -> Maybe Text
-- | currency: Three-letter ISO code for the currency paid out to
-- the bank account.
[getAccountExternalAccountsResponseBody200Data'Currency] :: GetAccountExternalAccountsResponseBody200Data' -> Maybe Text
-- | customer: The ID of the customer that the bank account is associated
-- with.
[getAccountExternalAccountsResponseBody200Data'Customer] :: GetAccountExternalAccountsResponseBody200Data' -> Maybe GetAccountExternalAccountsResponseBody200Data'Customer'Variants
-- | cvc_check: If a CVC was provided, results of the check: `pass`,
-- `fail`, `unavailable`, or `unchecked`. A result of unchecked indicates
-- that CVC was provided but hasn't been checked yet. Checks are
-- typically performed when attaching a card to a Customer object, or
-- when creating a charge. For more details, see Check if a card is
-- valid without a charge.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getAccountExternalAccountsResponseBody200Data'CvcCheck] :: GetAccountExternalAccountsResponseBody200Data' -> Maybe Text
-- | default_for_currency: Whether this bank account is the default
-- external account for its currency.
[getAccountExternalAccountsResponseBody200Data'DefaultForCurrency] :: GetAccountExternalAccountsResponseBody200Data' -> Maybe Bool
-- | dynamic_last4: (For tokenized numbers only.) The last four digits of
-- the device account number.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getAccountExternalAccountsResponseBody200Data'DynamicLast4] :: GetAccountExternalAccountsResponseBody200Data' -> Maybe Text
-- | exp_month: Two-digit number representing the card's expiration month.
[getAccountExternalAccountsResponseBody200Data'ExpMonth] :: GetAccountExternalAccountsResponseBody200Data' -> Maybe Int
-- | exp_year: Four-digit number representing the card's expiration year.
[getAccountExternalAccountsResponseBody200Data'ExpYear] :: GetAccountExternalAccountsResponseBody200Data' -> Maybe Int
-- | fingerprint: Uniquely identifies this particular bank account. You can
-- use this attribute to check whether two bank accounts are the same.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getAccountExternalAccountsResponseBody200Data'Fingerprint] :: GetAccountExternalAccountsResponseBody200Data' -> Maybe Text
-- | funding: Card funding type. Can be `credit`, `debit`, `prepaid`, or
-- `unknown`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getAccountExternalAccountsResponseBody200Data'Funding] :: GetAccountExternalAccountsResponseBody200Data' -> Maybe Text
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getAccountExternalAccountsResponseBody200Data'Id] :: GetAccountExternalAccountsResponseBody200Data' -> Maybe Text
-- | last4: The last four digits of the bank account number.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getAccountExternalAccountsResponseBody200Data'Last4] :: GetAccountExternalAccountsResponseBody200Data' -> Maybe Text
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format.
[getAccountExternalAccountsResponseBody200Data'Metadata] :: GetAccountExternalAccountsResponseBody200Data' -> Maybe Object
-- | name: Cardholder name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getAccountExternalAccountsResponseBody200Data'Name] :: GetAccountExternalAccountsResponseBody200Data' -> Maybe Text
-- | object: String representing the object's type. Objects of the same
-- type share the same value.
[getAccountExternalAccountsResponseBody200Data'Object] :: GetAccountExternalAccountsResponseBody200Data' -> Maybe GetAccountExternalAccountsResponseBody200Data'Object'
-- | recipient: 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.
[getAccountExternalAccountsResponseBody200Data'Recipient] :: GetAccountExternalAccountsResponseBody200Data' -> Maybe GetAccountExternalAccountsResponseBody200Data'Recipient'Variants
-- | routing_number: The routing transit number for the bank account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getAccountExternalAccountsResponseBody200Data'RoutingNumber] :: GetAccountExternalAccountsResponseBody200Data' -> Maybe Text
-- | status: For bank accounts, possible values are `new`, `validated`,
-- `verified`, `verification_failed`, or `errored`. A bank account that
-- hasn't had any activity or validation performed is `new`. If Stripe
-- can determine that the bank account exists, its status will be
-- `validated`. Note that there often isn’t enough information to know
-- (e.g., for smaller credit unions), and the validation is not always
-- run. If customer bank account verification has succeeded, the bank
-- account status will be `verified`. If the verification failed for any
-- reason, such as microdeposit failure, the status will be
-- `verification_failed`. If a transfer sent to this bank account fails,
-- we'll set the status to `errored` and will not continue to send
-- transfers until the bank details are updated.
--
-- For external accounts, possible values are `new` and `errored`.
-- Validations aren't run against external accounts because they're only
-- used for payouts. This means the other statuses don't apply. If a
-- transfer fails, the status is set to `errored` and transfers are
-- stopped until account details are updated.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getAccountExternalAccountsResponseBody200Data'Status] :: GetAccountExternalAccountsResponseBody200Data' -> Maybe Text
-- | tokenization_method: If the card number is tokenized, this is the
-- method that was used. Can be `android_pay` (includes Google Pay),
-- `apple_pay`, `masterpass`, `visa_checkout`, or null.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getAccountExternalAccountsResponseBody200Data'TokenizationMethod] :: GetAccountExternalAccountsResponseBody200Data' -> Maybe Text
-- | Create a new GetAccountExternalAccountsResponseBody200Data'
-- with all required fields.
mkGetAccountExternalAccountsResponseBody200Data' :: GetAccountExternalAccountsResponseBody200Data'
-- | Defines the oneOf schema located at
-- paths./v1/account/external_accounts.GET.responses.200.content.application/json.schema.properties.data.items.anyOf.properties.account.anyOf
-- in the specification.
--
-- The ID of the account that the bank account is associated with.
data GetAccountExternalAccountsResponseBody200Data'Account'Variants
GetAccountExternalAccountsResponseBody200Data'Account'Text :: Text -> GetAccountExternalAccountsResponseBody200Data'Account'Variants
GetAccountExternalAccountsResponseBody200Data'Account'Account :: Account -> GetAccountExternalAccountsResponseBody200Data'Account'Variants
-- | Defines the enum schema located at
-- paths./v1/account/external_accounts.GET.responses.200.content.application/json.schema.properties.data.items.anyOf.properties.available_payout_methods.items
-- in the specification.
data GetAccountExternalAccountsResponseBody200Data'AvailablePayoutMethods'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
GetAccountExternalAccountsResponseBody200Data'AvailablePayoutMethods'Other :: Value -> GetAccountExternalAccountsResponseBody200Data'AvailablePayoutMethods'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
GetAccountExternalAccountsResponseBody200Data'AvailablePayoutMethods'Typed :: Text -> GetAccountExternalAccountsResponseBody200Data'AvailablePayoutMethods'
-- | Represents the JSON value "instant"
GetAccountExternalAccountsResponseBody200Data'AvailablePayoutMethods'EnumInstant :: GetAccountExternalAccountsResponseBody200Data'AvailablePayoutMethods'
-- | Represents the JSON value "standard"
GetAccountExternalAccountsResponseBody200Data'AvailablePayoutMethods'EnumStandard :: GetAccountExternalAccountsResponseBody200Data'AvailablePayoutMethods'
-- | Defines the oneOf schema located at
-- paths./v1/account/external_accounts.GET.responses.200.content.application/json.schema.properties.data.items.anyOf.properties.customer.anyOf
-- in the specification.
--
-- The ID of the customer that the bank account is associated with.
data GetAccountExternalAccountsResponseBody200Data'Customer'Variants
GetAccountExternalAccountsResponseBody200Data'Customer'Text :: Text -> GetAccountExternalAccountsResponseBody200Data'Customer'Variants
GetAccountExternalAccountsResponseBody200Data'Customer'Customer :: Customer -> GetAccountExternalAccountsResponseBody200Data'Customer'Variants
GetAccountExternalAccountsResponseBody200Data'Customer'DeletedCustomer :: DeletedCustomer -> GetAccountExternalAccountsResponseBody200Data'Customer'Variants
-- | Defines the enum schema located at
-- paths./v1/account/external_accounts.GET.responses.200.content.application/json.schema.properties.data.items.anyOf.properties.object
-- in the specification.
--
-- String representing the object's type. Objects of the same type share
-- the same value.
data GetAccountExternalAccountsResponseBody200Data'Object'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
GetAccountExternalAccountsResponseBody200Data'Object'Other :: Value -> GetAccountExternalAccountsResponseBody200Data'Object'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
GetAccountExternalAccountsResponseBody200Data'Object'Typed :: Text -> GetAccountExternalAccountsResponseBody200Data'Object'
-- | Represents the JSON value "bank_account"
GetAccountExternalAccountsResponseBody200Data'Object'EnumBankAccount :: GetAccountExternalAccountsResponseBody200Data'Object'
-- | Defines the oneOf schema located at
-- paths./v1/account/external_accounts.GET.responses.200.content.application/json.schema.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.
data GetAccountExternalAccountsResponseBody200Data'Recipient'Variants
GetAccountExternalAccountsResponseBody200Data'Recipient'Text :: Text -> GetAccountExternalAccountsResponseBody200Data'Recipient'Variants
GetAccountExternalAccountsResponseBody200Data'Recipient'Recipient :: Recipient -> GetAccountExternalAccountsResponseBody200Data'Recipient'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetAccountExternalAccounts.GetAccountExternalAccountsParameters
instance GHC.Show.Show StripeAPI.Operations.GetAccountExternalAccounts.GetAccountExternalAccountsParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetAccountExternalAccounts.GetAccountExternalAccountsResponseBody200Data'Account'Variants
instance GHC.Show.Show StripeAPI.Operations.GetAccountExternalAccounts.GetAccountExternalAccountsResponseBody200Data'Account'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetAccountExternalAccounts.GetAccountExternalAccountsResponseBody200Data'AvailablePayoutMethods'
instance GHC.Show.Show StripeAPI.Operations.GetAccountExternalAccounts.GetAccountExternalAccountsResponseBody200Data'AvailablePayoutMethods'
instance GHC.Classes.Eq StripeAPI.Operations.GetAccountExternalAccounts.GetAccountExternalAccountsResponseBody200Data'Customer'Variants
instance GHC.Show.Show StripeAPI.Operations.GetAccountExternalAccounts.GetAccountExternalAccountsResponseBody200Data'Customer'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetAccountExternalAccounts.GetAccountExternalAccountsResponseBody200Data'Object'
instance GHC.Show.Show StripeAPI.Operations.GetAccountExternalAccounts.GetAccountExternalAccountsResponseBody200Data'Object'
instance GHC.Classes.Eq StripeAPI.Operations.GetAccountExternalAccounts.GetAccountExternalAccountsResponseBody200Data'Recipient'Variants
instance GHC.Show.Show StripeAPI.Operations.GetAccountExternalAccounts.GetAccountExternalAccountsResponseBody200Data'Recipient'Variants
instance GHC.Classes.Eq StripeAPI.Operations.GetAccountExternalAccounts.GetAccountExternalAccountsResponseBody200Data'
instance GHC.Show.Show StripeAPI.Operations.GetAccountExternalAccounts.GetAccountExternalAccountsResponseBody200Data'
instance GHC.Classes.Eq StripeAPI.Operations.GetAccountExternalAccounts.GetAccountExternalAccountsResponseBody200
instance GHC.Show.Show StripeAPI.Operations.GetAccountExternalAccounts.GetAccountExternalAccountsResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetAccountExternalAccounts.GetAccountExternalAccountsResponse
instance GHC.Show.Show StripeAPI.Operations.GetAccountExternalAccounts.GetAccountExternalAccountsResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetAccountExternalAccounts.GetAccountExternalAccountsResponseBody200
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetAccountExternalAccounts.GetAccountExternalAccountsResponseBody200
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetAccountExternalAccounts.GetAccountExternalAccountsResponseBody200Data'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetAccountExternalAccounts.GetAccountExternalAccountsResponseBody200Data'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetAccountExternalAccounts.GetAccountExternalAccountsResponseBody200Data'Recipient'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetAccountExternalAccounts.GetAccountExternalAccountsResponseBody200Data'Recipient'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetAccountExternalAccounts.GetAccountExternalAccountsResponseBody200Data'Object'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetAccountExternalAccounts.GetAccountExternalAccountsResponseBody200Data'Object'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetAccountExternalAccounts.GetAccountExternalAccountsResponseBody200Data'Customer'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetAccountExternalAccounts.GetAccountExternalAccountsResponseBody200Data'Customer'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetAccountExternalAccounts.GetAccountExternalAccountsResponseBody200Data'AvailablePayoutMethods'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetAccountExternalAccounts.GetAccountExternalAccountsResponseBody200Data'AvailablePayoutMethods'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetAccountExternalAccounts.GetAccountExternalAccountsResponseBody200Data'Account'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetAccountExternalAccounts.GetAccountExternalAccountsResponseBody200Data'Account'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetAccountExternalAccounts.GetAccountExternalAccountsParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetAccountExternalAccounts.GetAccountExternalAccountsParameters
-- | Contains the different functions to run the operation
-- getAccountCapabilitiesCapability
module StripeAPI.Operations.GetAccountCapabilitiesCapability
-- |
-- GET /v1/account/capabilities/{capability}
--
--
-- <p>Retrieves information about the specified Account
-- Capability.</p>
getAccountCapabilitiesCapability :: forall m. MonadHTTP m => GetAccountCapabilitiesCapabilityParameters -> ClientT m (Response GetAccountCapabilitiesCapabilityResponse)
-- | Defines the object schema located at
-- paths./v1/account/capabilities/{capability}.GET.parameters in
-- the specification.
data GetAccountCapabilitiesCapabilityParameters
GetAccountCapabilitiesCapabilityParameters :: Text -> Maybe [Text] -> GetAccountCapabilitiesCapabilityParameters
-- | pathCapability: Represents the parameter named 'capability'
[getAccountCapabilitiesCapabilityParametersPathCapability] :: GetAccountCapabilitiesCapabilityParameters -> Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getAccountCapabilitiesCapabilityParametersQueryExpand] :: GetAccountCapabilitiesCapabilityParameters -> Maybe [Text]
-- | Create a new GetAccountCapabilitiesCapabilityParameters with
-- all required fields.
mkGetAccountCapabilitiesCapabilityParameters :: Text -> GetAccountCapabilitiesCapabilityParameters
-- | Represents a response of the operation
-- getAccountCapabilitiesCapability.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- GetAccountCapabilitiesCapabilityResponseError is used.
data GetAccountCapabilitiesCapabilityResponse
-- | Means either no matching case available or a parse error
GetAccountCapabilitiesCapabilityResponseError :: String -> GetAccountCapabilitiesCapabilityResponse
-- | Successful response.
GetAccountCapabilitiesCapabilityResponse200 :: Capability -> GetAccountCapabilitiesCapabilityResponse
-- | Error response.
GetAccountCapabilitiesCapabilityResponseDefault :: Error -> GetAccountCapabilitiesCapabilityResponse
instance GHC.Classes.Eq StripeAPI.Operations.GetAccountCapabilitiesCapability.GetAccountCapabilitiesCapabilityParameters
instance GHC.Show.Show StripeAPI.Operations.GetAccountCapabilitiesCapability.GetAccountCapabilitiesCapabilityParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetAccountCapabilitiesCapability.GetAccountCapabilitiesCapabilityResponse
instance GHC.Show.Show StripeAPI.Operations.GetAccountCapabilitiesCapability.GetAccountCapabilitiesCapabilityResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetAccountCapabilitiesCapability.GetAccountCapabilitiesCapabilityParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetAccountCapabilitiesCapability.GetAccountCapabilitiesCapabilityParameters
-- | Contains the different functions to run the operation
-- getAccountCapabilities
module StripeAPI.Operations.GetAccountCapabilities
-- |
-- GET /v1/account/capabilities
--
--
-- <p>Returns a list of capabilities associated with the account.
-- The capabilities are returned sorted by creation date, with the most
-- recent capability appearing first.</p>
getAccountCapabilities :: forall m. MonadHTTP m => Maybe [Text] -> ClientT m (Response GetAccountCapabilitiesResponse)
-- | Represents a response of the operation getAccountCapabilities.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetAccountCapabilitiesResponseError is
-- used.
data GetAccountCapabilitiesResponse
-- | Means either no matching case available or a parse error
GetAccountCapabilitiesResponseError :: String -> GetAccountCapabilitiesResponse
-- | Successful response.
GetAccountCapabilitiesResponse200 :: GetAccountCapabilitiesResponseBody200 -> GetAccountCapabilitiesResponse
-- | Error response.
GetAccountCapabilitiesResponseDefault :: Error -> GetAccountCapabilitiesResponse
-- | Defines the object schema located at
-- paths./v1/account/capabilities.GET.responses.200.content.application/json.schema
-- in the specification.
data GetAccountCapabilitiesResponseBody200
GetAccountCapabilitiesResponseBody200 :: [Capability] -> Bool -> Text -> GetAccountCapabilitiesResponseBody200
-- | data
[getAccountCapabilitiesResponseBody200Data] :: GetAccountCapabilitiesResponseBody200 -> [Capability]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[getAccountCapabilitiesResponseBody200HasMore] :: GetAccountCapabilitiesResponseBody200 -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[getAccountCapabilitiesResponseBody200Url] :: GetAccountCapabilitiesResponseBody200 -> Text
-- | Create a new GetAccountCapabilitiesResponseBody200 with all
-- required fields.
mkGetAccountCapabilitiesResponseBody200 :: [Capability] -> Bool -> Text -> GetAccountCapabilitiesResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetAccountCapabilities.GetAccountCapabilitiesResponseBody200
instance GHC.Show.Show StripeAPI.Operations.GetAccountCapabilities.GetAccountCapabilitiesResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.GetAccountCapabilities.GetAccountCapabilitiesResponse
instance GHC.Show.Show StripeAPI.Operations.GetAccountCapabilities.GetAccountCapabilitiesResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetAccountCapabilities.GetAccountCapabilitiesResponseBody200
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetAccountCapabilities.GetAccountCapabilitiesResponseBody200
-- | Contains the different functions to run the operation
-- getAccountBankAccountsId
module StripeAPI.Operations.GetAccountBankAccountsId
-- |
-- GET /v1/account/bank_accounts/{id}
--
--
-- <p>Retrieve a specified external account for a given
-- account.</p>
getAccountBankAccountsId :: forall m. MonadHTTP m => GetAccountBankAccountsIdParameters -> ClientT m (Response GetAccountBankAccountsIdResponse)
-- | Defines the object schema located at
-- paths./v1/account/bank_accounts/{id}.GET.parameters in the
-- specification.
data GetAccountBankAccountsIdParameters
GetAccountBankAccountsIdParameters :: Text -> Maybe [Text] -> GetAccountBankAccountsIdParameters
-- | pathId: Represents the parameter named 'id'
[getAccountBankAccountsIdParametersPathId] :: GetAccountBankAccountsIdParameters -> Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[getAccountBankAccountsIdParametersQueryExpand] :: GetAccountBankAccountsIdParameters -> Maybe [Text]
-- | Create a new GetAccountBankAccountsIdParameters with all
-- required fields.
mkGetAccountBankAccountsIdParameters :: Text -> GetAccountBankAccountsIdParameters
-- | Represents a response of the operation
-- getAccountBankAccountsId.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetAccountBankAccountsIdResponseError
-- is used.
data GetAccountBankAccountsIdResponse
-- | Means either no matching case available or a parse error
GetAccountBankAccountsIdResponseError :: String -> GetAccountBankAccountsIdResponse
-- | Successful response.
GetAccountBankAccountsIdResponse200 :: ExternalAccount -> GetAccountBankAccountsIdResponse
-- | Error response.
GetAccountBankAccountsIdResponseDefault :: Error -> GetAccountBankAccountsIdResponse
instance GHC.Classes.Eq StripeAPI.Operations.GetAccountBankAccountsId.GetAccountBankAccountsIdParameters
instance GHC.Show.Show StripeAPI.Operations.GetAccountBankAccountsId.GetAccountBankAccountsIdParameters
instance GHC.Classes.Eq StripeAPI.Operations.GetAccountBankAccountsId.GetAccountBankAccountsIdResponse
instance GHC.Show.Show StripeAPI.Operations.GetAccountBankAccountsId.GetAccountBankAccountsIdResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.GetAccountBankAccountsId.GetAccountBankAccountsIdParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.GetAccountBankAccountsId.GetAccountBankAccountsIdParameters
-- | Contains the different functions to run the operation getAccount
module StripeAPI.Operations.GetAccount
-- |
-- GET /v1/account
--
--
-- <p>Retrieves the details of an account.</p>
getAccount :: forall m. MonadHTTP m => Maybe [Text] -> ClientT m (Response GetAccountResponse)
-- | Represents a response of the operation getAccount.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), GetAccountResponseError is used.
data GetAccountResponse
-- | Means either no matching case available or a parse error
GetAccountResponseError :: String -> GetAccountResponse
-- | Successful response.
GetAccountResponse200 :: Account -> GetAccountResponse
-- | Error response.
GetAccountResponseDefault :: Error -> GetAccountResponse
instance GHC.Classes.Eq StripeAPI.Operations.GetAccount.GetAccountResponse
instance GHC.Show.Show StripeAPI.Operations.GetAccount.GetAccountResponse
-- | Contains the different functions to run the operation
-- get3dSecureThreeDSecure
module StripeAPI.Operations.Get3dSecureThreeDSecure
-- |
-- GET /v1/3d_secure/{three_d_secure}
--
--
-- <p>Retrieves a 3D Secure object.</p>
get3dSecureThreeDSecure :: forall m. MonadHTTP m => Get3dSecureThreeDSecureParameters -> ClientT m (Response Get3dSecureThreeDSecureResponse)
-- | Defines the object schema located at
-- paths./v1/3d_secure/{three_d_secure}.GET.parameters in the
-- specification.
data Get3dSecureThreeDSecureParameters
Get3dSecureThreeDSecureParameters :: Text -> Maybe [Text] -> Get3dSecureThreeDSecureParameters
-- | pathThree_d_secure: Represents the parameter named 'three_d_secure'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[get3dSecureThreeDSecureParametersPathThreeDSecure] :: Get3dSecureThreeDSecureParameters -> Text
-- | queryExpand: Represents the parameter named 'expand'
--
-- Specifies which fields in the response should be expanded.
[get3dSecureThreeDSecureParametersQueryExpand] :: Get3dSecureThreeDSecureParameters -> Maybe [Text]
-- | Create a new Get3dSecureThreeDSecureParameters with all
-- required fields.
mkGet3dSecureThreeDSecureParameters :: Text -> Get3dSecureThreeDSecureParameters
-- | Represents a response of the operation get3dSecureThreeDSecure.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), Get3dSecureThreeDSecureResponseError is
-- used.
data Get3dSecureThreeDSecureResponse
-- | Means either no matching case available or a parse error
Get3dSecureThreeDSecureResponseError :: String -> Get3dSecureThreeDSecureResponse
-- | Successful response.
Get3dSecureThreeDSecureResponse200 :: ThreeDSecure -> Get3dSecureThreeDSecureResponse
-- | Error response.
Get3dSecureThreeDSecureResponseDefault :: Error -> Get3dSecureThreeDSecureResponse
instance GHC.Classes.Eq StripeAPI.Operations.Get3dSecureThreeDSecure.Get3dSecureThreeDSecureParameters
instance GHC.Show.Show StripeAPI.Operations.Get3dSecureThreeDSecure.Get3dSecureThreeDSecureParameters
instance GHC.Classes.Eq StripeAPI.Operations.Get3dSecureThreeDSecure.Get3dSecureThreeDSecureResponse
instance GHC.Show.Show StripeAPI.Operations.Get3dSecureThreeDSecure.Get3dSecureThreeDSecureResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.Get3dSecureThreeDSecure.Get3dSecureThreeDSecureParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.Get3dSecureThreeDSecure.Get3dSecureThreeDSecureParameters
-- | Contains the different functions to run the operation
-- deleteWebhookEndpointsWebhookEndpoint
module StripeAPI.Operations.DeleteWebhookEndpointsWebhookEndpoint
-- |
-- DELETE /v1/webhook_endpoints/{webhook_endpoint}
--
--
-- <p>You can also delete webhook endpoints via the <a
-- href="https://dashboard.stripe.com/account/webhooks">webhook
-- endpoint management</a> page of the Stripe dashboard.</p>
deleteWebhookEndpointsWebhookEndpoint :: forall m. MonadHTTP m => Text -> ClientT m (Response DeleteWebhookEndpointsWebhookEndpointResponse)
-- | Represents a response of the operation
-- deleteWebhookEndpointsWebhookEndpoint.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- DeleteWebhookEndpointsWebhookEndpointResponseError is used.
data DeleteWebhookEndpointsWebhookEndpointResponse
-- | Means either no matching case available or a parse error
DeleteWebhookEndpointsWebhookEndpointResponseError :: String -> DeleteWebhookEndpointsWebhookEndpointResponse
-- | Successful response.
DeleteWebhookEndpointsWebhookEndpointResponse200 :: DeletedWebhookEndpoint -> DeleteWebhookEndpointsWebhookEndpointResponse
-- | Error response.
DeleteWebhookEndpointsWebhookEndpointResponseDefault :: Error -> DeleteWebhookEndpointsWebhookEndpointResponse
instance GHC.Classes.Eq StripeAPI.Operations.DeleteWebhookEndpointsWebhookEndpoint.DeleteWebhookEndpointsWebhookEndpointResponse
instance GHC.Show.Show StripeAPI.Operations.DeleteWebhookEndpointsWebhookEndpoint.DeleteWebhookEndpointsWebhookEndpointResponse
-- | Contains the different functions to run the operation
-- deleteTerminalReadersReader
module StripeAPI.Operations.DeleteTerminalReadersReader
-- |
-- DELETE /v1/terminal/readers/{reader}
--
--
-- <p>Deletes a <code>Reader</code> object.</p>
deleteTerminalReadersReader :: forall m. MonadHTTP m => Text -> ClientT m (Response DeleteTerminalReadersReaderResponse)
-- | Represents a response of the operation
-- deleteTerminalReadersReader.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- DeleteTerminalReadersReaderResponseError is used.
data DeleteTerminalReadersReaderResponse
-- | Means either no matching case available or a parse error
DeleteTerminalReadersReaderResponseError :: String -> DeleteTerminalReadersReaderResponse
-- | Successful response.
DeleteTerminalReadersReaderResponse200 :: DeletedTerminal'reader -> DeleteTerminalReadersReaderResponse
-- | Error response.
DeleteTerminalReadersReaderResponseDefault :: Error -> DeleteTerminalReadersReaderResponse
instance GHC.Classes.Eq StripeAPI.Operations.DeleteTerminalReadersReader.DeleteTerminalReadersReaderResponse
instance GHC.Show.Show StripeAPI.Operations.DeleteTerminalReadersReader.DeleteTerminalReadersReaderResponse
-- | Contains the different functions to run the operation
-- deleteTerminalLocationsLocation
module StripeAPI.Operations.DeleteTerminalLocationsLocation
-- |
-- DELETE /v1/terminal/locations/{location}
--
--
-- <p>Deletes a <code>Location</code> object.</p>
deleteTerminalLocationsLocation :: forall m. MonadHTTP m => Text -> ClientT m (Response DeleteTerminalLocationsLocationResponse)
-- | Represents a response of the operation
-- deleteTerminalLocationsLocation.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- DeleteTerminalLocationsLocationResponseError is used.
data DeleteTerminalLocationsLocationResponse
-- | Means either no matching case available or a parse error
DeleteTerminalLocationsLocationResponseError :: String -> DeleteTerminalLocationsLocationResponse
-- | Successful response.
DeleteTerminalLocationsLocationResponse200 :: DeletedTerminal'location -> DeleteTerminalLocationsLocationResponse
-- | Error response.
DeleteTerminalLocationsLocationResponseDefault :: Error -> DeleteTerminalLocationsLocationResponse
instance GHC.Classes.Eq StripeAPI.Operations.DeleteTerminalLocationsLocation.DeleteTerminalLocationsLocationResponse
instance GHC.Show.Show StripeAPI.Operations.DeleteTerminalLocationsLocation.DeleteTerminalLocationsLocationResponse
-- | Contains the different functions to run the operation
-- deleteSubscriptionsSubscriptionExposedIdDiscount
module StripeAPI.Operations.DeleteSubscriptionsSubscriptionExposedIdDiscount
-- |
-- DELETE /v1/subscriptions/{subscription_exposed_id}/discount
--
--
-- <p>Removes the currently applied discount on a
-- subscription.</p>
deleteSubscriptionsSubscriptionExposedIdDiscount :: forall m. MonadHTTP m => Text -> ClientT m (Response DeleteSubscriptionsSubscriptionExposedIdDiscountResponse)
-- | Represents a response of the operation
-- deleteSubscriptionsSubscriptionExposedIdDiscount.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- DeleteSubscriptionsSubscriptionExposedIdDiscountResponseError
-- is used.
data DeleteSubscriptionsSubscriptionExposedIdDiscountResponse
-- | Means either no matching case available or a parse error
DeleteSubscriptionsSubscriptionExposedIdDiscountResponseError :: String -> DeleteSubscriptionsSubscriptionExposedIdDiscountResponse
-- | Successful response.
DeleteSubscriptionsSubscriptionExposedIdDiscountResponse200 :: DeletedDiscount -> DeleteSubscriptionsSubscriptionExposedIdDiscountResponse
-- | Error response.
DeleteSubscriptionsSubscriptionExposedIdDiscountResponseDefault :: Error -> DeleteSubscriptionsSubscriptionExposedIdDiscountResponse
instance GHC.Classes.Eq StripeAPI.Operations.DeleteSubscriptionsSubscriptionExposedIdDiscount.DeleteSubscriptionsSubscriptionExposedIdDiscountResponse
instance GHC.Show.Show StripeAPI.Operations.DeleteSubscriptionsSubscriptionExposedIdDiscount.DeleteSubscriptionsSubscriptionExposedIdDiscountResponse
-- | Contains the different functions to run the operation
-- deleteSubscriptionsSubscriptionExposedId
module StripeAPI.Operations.DeleteSubscriptionsSubscriptionExposedId
-- |
-- DELETE /v1/subscriptions/{subscription_exposed_id}
--
--
-- <p>Cancels a customer’s subscription immediately. The customer
-- will not be charged again for the subscription.</p>
--
-- <p>Note, however, that any pending invoice items that you’ve
-- created will still be charged for at the end of the period, unless
-- manually <a href="#delete_invoiceitem">deleted</a>. If
-- you’ve set the subscription to cancel at the end of the period, any
-- pending prorations will also be left in place and collected at the end
-- of the period. But if the subscription is set to cancel immediately,
-- pending prorations will be removed.</p>
--
-- <p>By default, upon subscription cancellation, Stripe will stop
-- automatic collection of all finalized invoices for the customer. This
-- is intended to prevent unexpected payment attempts after the customer
-- has canceled a subscription. However, you can resume automatic
-- collection of the invoices manually after subscription cancellation to
-- have us proceed. Or, you could check for unpaid invoices before
-- allowing the customer to cancel the subscription at all.</p>
deleteSubscriptionsSubscriptionExposedId :: forall m. MonadHTTP m => Text -> Maybe DeleteSubscriptionsSubscriptionExposedIdRequestBody -> ClientT m (Response DeleteSubscriptionsSubscriptionExposedIdResponse)
-- | Defines the object schema located at
-- paths./v1/subscriptions/{subscription_exposed_id}.DELETE.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data DeleteSubscriptionsSubscriptionExposedIdRequestBody
DeleteSubscriptionsSubscriptionExposedIdRequestBody :: Maybe [Text] -> Maybe Bool -> Maybe Bool -> DeleteSubscriptionsSubscriptionExposedIdRequestBody
-- | expand: Specifies which fields in the response should be expanded.
[deleteSubscriptionsSubscriptionExposedIdRequestBodyExpand] :: DeleteSubscriptionsSubscriptionExposedIdRequestBody -> Maybe [Text]
-- | invoice_now: Will generate a final invoice that invoices for any
-- un-invoiced metered usage and new/pending proration invoice items.
[deleteSubscriptionsSubscriptionExposedIdRequestBodyInvoiceNow] :: DeleteSubscriptionsSubscriptionExposedIdRequestBody -> Maybe Bool
-- | prorate: Will generate a proration invoice item that credits remaining
-- unused time until the subscription period end.
[deleteSubscriptionsSubscriptionExposedIdRequestBodyProrate] :: DeleteSubscriptionsSubscriptionExposedIdRequestBody -> Maybe Bool
-- | Create a new
-- DeleteSubscriptionsSubscriptionExposedIdRequestBody with all
-- required fields.
mkDeleteSubscriptionsSubscriptionExposedIdRequestBody :: DeleteSubscriptionsSubscriptionExposedIdRequestBody
-- | Represents a response of the operation
-- deleteSubscriptionsSubscriptionExposedId.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- DeleteSubscriptionsSubscriptionExposedIdResponseError is used.
data DeleteSubscriptionsSubscriptionExposedIdResponse
-- | Means either no matching case available or a parse error
DeleteSubscriptionsSubscriptionExposedIdResponseError :: String -> DeleteSubscriptionsSubscriptionExposedIdResponse
-- | Successful response.
DeleteSubscriptionsSubscriptionExposedIdResponse200 :: Subscription -> DeleteSubscriptionsSubscriptionExposedIdResponse
-- | Error response.
DeleteSubscriptionsSubscriptionExposedIdResponseDefault :: Error -> DeleteSubscriptionsSubscriptionExposedIdResponse
instance GHC.Classes.Eq StripeAPI.Operations.DeleteSubscriptionsSubscriptionExposedId.DeleteSubscriptionsSubscriptionExposedIdRequestBody
instance GHC.Show.Show StripeAPI.Operations.DeleteSubscriptionsSubscriptionExposedId.DeleteSubscriptionsSubscriptionExposedIdRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.DeleteSubscriptionsSubscriptionExposedId.DeleteSubscriptionsSubscriptionExposedIdResponse
instance GHC.Show.Show StripeAPI.Operations.DeleteSubscriptionsSubscriptionExposedId.DeleteSubscriptionsSubscriptionExposedIdResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.DeleteSubscriptionsSubscriptionExposedId.DeleteSubscriptionsSubscriptionExposedIdRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.DeleteSubscriptionsSubscriptionExposedId.DeleteSubscriptionsSubscriptionExposedIdRequestBody
-- | Contains the different functions to run the operation
-- deleteSubscriptionItemsItem
module StripeAPI.Operations.DeleteSubscriptionItemsItem
-- |
-- DELETE /v1/subscription_items/{item}
--
--
-- <p>Deletes an item from the subscription. Removing a
-- subscription item from a subscription will not cancel the
-- subscription.</p>
deleteSubscriptionItemsItem :: forall m. MonadHTTP m => Text -> Maybe DeleteSubscriptionItemsItemRequestBody -> ClientT m (Response DeleteSubscriptionItemsItemResponse)
-- | Defines the object schema located at
-- paths./v1/subscription_items/{item}.DELETE.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data DeleteSubscriptionItemsItemRequestBody
DeleteSubscriptionItemsItemRequestBody :: Maybe Bool -> Maybe DeleteSubscriptionItemsItemRequestBodyProrationBehavior' -> Maybe Int -> DeleteSubscriptionItemsItemRequestBody
-- | clear_usage: Delete all usage for the given subscription item. Allowed
-- only when the current plan's `usage_type` is `metered`.
[deleteSubscriptionItemsItemRequestBodyClearUsage] :: DeleteSubscriptionItemsItemRequestBody -> Maybe Bool
-- | proration_behavior: Determines how to handle prorations when
-- the billing cycle changes (e.g., when switching plans, resetting
-- `billing_cycle_anchor=now`, or starting a trial), or if an item's
-- `quantity` changes. Valid values are `create_prorations`, `none`, or
-- `always_invoice`.
--
-- Passing `create_prorations` will cause proration invoice items to be
-- created when applicable. These proration items will only be invoiced
-- immediately under certain conditions. In order to always
-- invoice immediately for prorations, pass `always_invoice`.
--
-- Prorations can be disabled by passing `none`.
[deleteSubscriptionItemsItemRequestBodyProrationBehavior] :: DeleteSubscriptionItemsItemRequestBody -> Maybe DeleteSubscriptionItemsItemRequestBodyProrationBehavior'
-- | proration_date: If set, the proration will be calculated as though the
-- subscription was updated at the given time. This can be used to apply
-- the same proration that was previewed with the upcoming invoice
-- endpoint.
[deleteSubscriptionItemsItemRequestBodyProrationDate] :: DeleteSubscriptionItemsItemRequestBody -> Maybe Int
-- | Create a new DeleteSubscriptionItemsItemRequestBody with all
-- required fields.
mkDeleteSubscriptionItemsItemRequestBody :: DeleteSubscriptionItemsItemRequestBody
-- | Defines the enum schema located at
-- paths./v1/subscription_items/{item}.DELETE.requestBody.content.application/x-www-form-urlencoded.schema.properties.proration_behavior
-- in the specification.
--
-- Determines how to handle prorations when the billing cycle
-- changes (e.g., when switching plans, resetting
-- `billing_cycle_anchor=now`, or starting a trial), or if an item's
-- `quantity` changes. Valid values are `create_prorations`, `none`, or
-- `always_invoice`.
--
-- Passing `create_prorations` will cause proration invoice items to be
-- created when applicable. These proration items will only be invoiced
-- immediately under certain conditions. In order to always
-- invoice immediately for prorations, pass `always_invoice`.
--
-- Prorations can be disabled by passing `none`.
data DeleteSubscriptionItemsItemRequestBodyProrationBehavior'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
DeleteSubscriptionItemsItemRequestBodyProrationBehavior'Other :: Value -> DeleteSubscriptionItemsItemRequestBodyProrationBehavior'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
DeleteSubscriptionItemsItemRequestBodyProrationBehavior'Typed :: Text -> DeleteSubscriptionItemsItemRequestBodyProrationBehavior'
-- | Represents the JSON value "always_invoice"
DeleteSubscriptionItemsItemRequestBodyProrationBehavior'EnumAlwaysInvoice :: DeleteSubscriptionItemsItemRequestBodyProrationBehavior'
-- | Represents the JSON value "create_prorations"
DeleteSubscriptionItemsItemRequestBodyProrationBehavior'EnumCreateProrations :: DeleteSubscriptionItemsItemRequestBodyProrationBehavior'
-- | Represents the JSON value "none"
DeleteSubscriptionItemsItemRequestBodyProrationBehavior'EnumNone :: DeleteSubscriptionItemsItemRequestBodyProrationBehavior'
-- | Represents a response of the operation
-- deleteSubscriptionItemsItem.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- DeleteSubscriptionItemsItemResponseError is used.
data DeleteSubscriptionItemsItemResponse
-- | Means either no matching case available or a parse error
DeleteSubscriptionItemsItemResponseError :: String -> DeleteSubscriptionItemsItemResponse
-- | Successful response.
DeleteSubscriptionItemsItemResponse200 :: DeletedSubscriptionItem -> DeleteSubscriptionItemsItemResponse
-- | Error response.
DeleteSubscriptionItemsItemResponseDefault :: Error -> DeleteSubscriptionItemsItemResponse
instance GHC.Classes.Eq StripeAPI.Operations.DeleteSubscriptionItemsItem.DeleteSubscriptionItemsItemRequestBodyProrationBehavior'
instance GHC.Show.Show StripeAPI.Operations.DeleteSubscriptionItemsItem.DeleteSubscriptionItemsItemRequestBodyProrationBehavior'
instance GHC.Classes.Eq StripeAPI.Operations.DeleteSubscriptionItemsItem.DeleteSubscriptionItemsItemRequestBody
instance GHC.Show.Show StripeAPI.Operations.DeleteSubscriptionItemsItem.DeleteSubscriptionItemsItemRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.DeleteSubscriptionItemsItem.DeleteSubscriptionItemsItemResponse
instance GHC.Show.Show StripeAPI.Operations.DeleteSubscriptionItemsItem.DeleteSubscriptionItemsItemResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.DeleteSubscriptionItemsItem.DeleteSubscriptionItemsItemRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.DeleteSubscriptionItemsItem.DeleteSubscriptionItemsItemRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.DeleteSubscriptionItemsItem.DeleteSubscriptionItemsItemRequestBodyProrationBehavior'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.DeleteSubscriptionItemsItem.DeleteSubscriptionItemsItemRequestBodyProrationBehavior'
-- | Contains the different functions to run the operation deleteSkusId
module StripeAPI.Operations.DeleteSkusId
-- |
-- DELETE /v1/skus/{id}
--
--
-- <p>Delete a SKU. Deleting a SKU is only possible until it has
-- been used in an order.</p>
deleteSkusId :: forall m. MonadHTTP m => Text -> ClientT m (Response DeleteSkusIdResponse)
-- | Represents a response of the operation deleteSkusId.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), DeleteSkusIdResponseError is used.
data DeleteSkusIdResponse
-- | Means either no matching case available or a parse error
DeleteSkusIdResponseError :: String -> DeleteSkusIdResponse
-- | Successful response.
DeleteSkusIdResponse200 :: DeletedSku -> DeleteSkusIdResponse
-- | Error response.
DeleteSkusIdResponseDefault :: Error -> DeleteSkusIdResponse
instance GHC.Classes.Eq StripeAPI.Operations.DeleteSkusId.DeleteSkusIdResponse
instance GHC.Show.Show StripeAPI.Operations.DeleteSkusId.DeleteSkusIdResponse
-- | Contains the different functions to run the operation
-- deleteRecipientsId
module StripeAPI.Operations.DeleteRecipientsId
-- |
-- DELETE /v1/recipients/{id}
--
--
-- <p>Permanently deletes a recipient. It cannot be
-- undone.</p>
deleteRecipientsId :: forall m. MonadHTTP m => Text -> ClientT m (Response DeleteRecipientsIdResponse)
-- | Represents a response of the operation deleteRecipientsId.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), DeleteRecipientsIdResponseError is
-- used.
data DeleteRecipientsIdResponse
-- | Means either no matching case available or a parse error
DeleteRecipientsIdResponseError :: String -> DeleteRecipientsIdResponse
-- | Successful response.
DeleteRecipientsIdResponse200 :: DeletedRecipient -> DeleteRecipientsIdResponse
-- | Error response.
DeleteRecipientsIdResponseDefault :: Error -> DeleteRecipientsIdResponse
instance GHC.Classes.Eq StripeAPI.Operations.DeleteRecipientsId.DeleteRecipientsIdResponse
instance GHC.Show.Show StripeAPI.Operations.DeleteRecipientsId.DeleteRecipientsIdResponse
-- | Contains the different functions to run the operation
-- deleteRadarValueListsValueList
module StripeAPI.Operations.DeleteRadarValueListsValueList
-- |
-- DELETE /v1/radar/value_lists/{value_list}
--
--
-- <p>Deletes a <code>ValueList</code> object, also
-- deleting any items contained within the value list. To be deleted, a
-- value list must not be referenced in any rules.</p>
deleteRadarValueListsValueList :: forall m. MonadHTTP m => Text -> ClientT m (Response DeleteRadarValueListsValueListResponse)
-- | Represents a response of the operation
-- deleteRadarValueListsValueList.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- DeleteRadarValueListsValueListResponseError is used.
data DeleteRadarValueListsValueListResponse
-- | Means either no matching case available or a parse error
DeleteRadarValueListsValueListResponseError :: String -> DeleteRadarValueListsValueListResponse
-- | Successful response.
DeleteRadarValueListsValueListResponse200 :: DeletedRadar'valueList -> DeleteRadarValueListsValueListResponse
-- | Error response.
DeleteRadarValueListsValueListResponseDefault :: Error -> DeleteRadarValueListsValueListResponse
instance GHC.Classes.Eq StripeAPI.Operations.DeleteRadarValueListsValueList.DeleteRadarValueListsValueListResponse
instance GHC.Show.Show StripeAPI.Operations.DeleteRadarValueListsValueList.DeleteRadarValueListsValueListResponse
-- | Contains the different functions to run the operation
-- deleteRadarValueListItemsItem
module StripeAPI.Operations.DeleteRadarValueListItemsItem
-- |
-- DELETE /v1/radar/value_list_items/{item}
--
--
-- <p>Deletes a <code>ValueListItem</code> object,
-- removing it from its parent value list.</p>
deleteRadarValueListItemsItem :: forall m. MonadHTTP m => Text -> ClientT m (Response DeleteRadarValueListItemsItemResponse)
-- | Represents a response of the operation
-- deleteRadarValueListItemsItem.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- DeleteRadarValueListItemsItemResponseError is used.
data DeleteRadarValueListItemsItemResponse
-- | Means either no matching case available or a parse error
DeleteRadarValueListItemsItemResponseError :: String -> DeleteRadarValueListItemsItemResponse
-- | Successful response.
DeleteRadarValueListItemsItemResponse200 :: DeletedRadar'valueListItem -> DeleteRadarValueListItemsItemResponse
-- | Error response.
DeleteRadarValueListItemsItemResponseDefault :: Error -> DeleteRadarValueListItemsItemResponse
instance GHC.Classes.Eq StripeAPI.Operations.DeleteRadarValueListItemsItem.DeleteRadarValueListItemsItemResponse
instance GHC.Show.Show StripeAPI.Operations.DeleteRadarValueListItemsItem.DeleteRadarValueListItemsItemResponse
-- | Contains the different functions to run the operation deleteProductsId
module StripeAPI.Operations.DeleteProductsId
-- |
-- DELETE /v1/products/{id}
--
--
-- <p>Delete a product. Deleting a product is only possible if it
-- has no prices associated with it. Additionally, deleting a product
-- with <code>type=good</code> is only possible if it has no
-- SKUs associated with it.</p>
deleteProductsId :: forall m. MonadHTTP m => Text -> ClientT m (Response DeleteProductsIdResponse)
-- | Represents a response of the operation deleteProductsId.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), DeleteProductsIdResponseError is used.
data DeleteProductsIdResponse
-- | Means either no matching case available or a parse error
DeleteProductsIdResponseError :: String -> DeleteProductsIdResponse
-- | Successful response.
DeleteProductsIdResponse200 :: DeletedProduct -> DeleteProductsIdResponse
-- | Error response.
DeleteProductsIdResponseDefault :: Error -> DeleteProductsIdResponse
instance GHC.Classes.Eq StripeAPI.Operations.DeleteProductsId.DeleteProductsIdResponse
instance GHC.Show.Show StripeAPI.Operations.DeleteProductsId.DeleteProductsIdResponse
-- | Contains the different functions to run the operation deletePlansPlan
module StripeAPI.Operations.DeletePlansPlan
-- |
-- DELETE /v1/plans/{plan}
--
--
-- <p>Deleting plans means new subscribers can’t be added. Existing
-- subscribers aren’t affected.</p>
deletePlansPlan :: forall m. MonadHTTP m => Text -> ClientT m (Response DeletePlansPlanResponse)
-- | Represents a response of the operation deletePlansPlan.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), DeletePlansPlanResponseError is used.
data DeletePlansPlanResponse
-- | Means either no matching case available or a parse error
DeletePlansPlanResponseError :: String -> DeletePlansPlanResponse
-- | Successful response.
DeletePlansPlanResponse200 :: DeletedPlan -> DeletePlansPlanResponse
-- | Error response.
DeletePlansPlanResponseDefault :: Error -> DeletePlansPlanResponse
instance GHC.Classes.Eq StripeAPI.Operations.DeletePlansPlan.DeletePlansPlanResponse
instance GHC.Show.Show StripeAPI.Operations.DeletePlansPlan.DeletePlansPlanResponse
-- | Contains the different functions to run the operation
-- deleteInvoicesInvoice
module StripeAPI.Operations.DeleteInvoicesInvoice
-- |
-- DELETE /v1/invoices/{invoice}
--
--
-- <p>Permanently deletes a one-off invoice draft. This cannot be
-- undone. Attempts to delete invoices that are no longer in a draft
-- state will fail; once an invoice has been finalized or if an invoice
-- is for a subscription, it must be <a
-- href="#void_invoice">voided</a>.</p>
deleteInvoicesInvoice :: forall m. MonadHTTP m => Text -> ClientT m (Response DeleteInvoicesInvoiceResponse)
-- | Represents a response of the operation deleteInvoicesInvoice.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), DeleteInvoicesInvoiceResponseError is
-- used.
data DeleteInvoicesInvoiceResponse
-- | Means either no matching case available or a parse error
DeleteInvoicesInvoiceResponseError :: String -> DeleteInvoicesInvoiceResponse
-- | Successful response.
DeleteInvoicesInvoiceResponse200 :: DeletedInvoice -> DeleteInvoicesInvoiceResponse
-- | Error response.
DeleteInvoicesInvoiceResponseDefault :: Error -> DeleteInvoicesInvoiceResponse
instance GHC.Classes.Eq StripeAPI.Operations.DeleteInvoicesInvoice.DeleteInvoicesInvoiceResponse
instance GHC.Show.Show StripeAPI.Operations.DeleteInvoicesInvoice.DeleteInvoicesInvoiceResponse
-- | Contains the different functions to run the operation
-- deleteInvoiceitemsInvoiceitem
module StripeAPI.Operations.DeleteInvoiceitemsInvoiceitem
-- |
-- DELETE /v1/invoiceitems/{invoiceitem}
--
--
-- <p>Deletes an invoice item, removing it from an invoice.
-- Deleting invoice items is only possible when they’re not attached to
-- invoices, or if it’s attached to a draft invoice.</p>
deleteInvoiceitemsInvoiceitem :: forall m. MonadHTTP m => Text -> ClientT m (Response DeleteInvoiceitemsInvoiceitemResponse)
-- | Represents a response of the operation
-- deleteInvoiceitemsInvoiceitem.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- DeleteInvoiceitemsInvoiceitemResponseError is used.
data DeleteInvoiceitemsInvoiceitemResponse
-- | Means either no matching case available or a parse error
DeleteInvoiceitemsInvoiceitemResponseError :: String -> DeleteInvoiceitemsInvoiceitemResponse
-- | Successful response.
DeleteInvoiceitemsInvoiceitemResponse200 :: DeletedInvoiceitem -> DeleteInvoiceitemsInvoiceitemResponse
-- | Error response.
DeleteInvoiceitemsInvoiceitemResponseDefault :: Error -> DeleteInvoiceitemsInvoiceitemResponse
instance GHC.Classes.Eq StripeAPI.Operations.DeleteInvoiceitemsInvoiceitem.DeleteInvoiceitemsInvoiceitemResponse
instance GHC.Show.Show StripeAPI.Operations.DeleteInvoiceitemsInvoiceitem.DeleteInvoiceitemsInvoiceitemResponse
-- | Contains the different functions to run the operation
-- deleteEphemeralKeysKey
module StripeAPI.Operations.DeleteEphemeralKeysKey
-- |
-- DELETE /v1/ephemeral_keys/{key}
--
--
-- <p>Invalidates a short-lived API key for a given
-- resource.</p>
deleteEphemeralKeysKey :: forall m. MonadHTTP m => Text -> Maybe DeleteEphemeralKeysKeyRequestBody -> ClientT m (Response DeleteEphemeralKeysKeyResponse)
-- | Defines the object schema located at
-- paths./v1/ephemeral_keys/{key}.DELETE.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data DeleteEphemeralKeysKeyRequestBody
DeleteEphemeralKeysKeyRequestBody :: Maybe [Text] -> DeleteEphemeralKeysKeyRequestBody
-- | expand: Specifies which fields in the response should be expanded.
[deleteEphemeralKeysKeyRequestBodyExpand] :: DeleteEphemeralKeysKeyRequestBody -> Maybe [Text]
-- | Create a new DeleteEphemeralKeysKeyRequestBody with all
-- required fields.
mkDeleteEphemeralKeysKeyRequestBody :: DeleteEphemeralKeysKeyRequestBody
-- | Represents a response of the operation deleteEphemeralKeysKey.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), DeleteEphemeralKeysKeyResponseError is
-- used.
data DeleteEphemeralKeysKeyResponse
-- | Means either no matching case available or a parse error
DeleteEphemeralKeysKeyResponseError :: String -> DeleteEphemeralKeysKeyResponse
-- | Successful response.
DeleteEphemeralKeysKeyResponse200 :: EphemeralKey -> DeleteEphemeralKeysKeyResponse
-- | Error response.
DeleteEphemeralKeysKeyResponseDefault :: Error -> DeleteEphemeralKeysKeyResponse
instance GHC.Classes.Eq StripeAPI.Operations.DeleteEphemeralKeysKey.DeleteEphemeralKeysKeyRequestBody
instance GHC.Show.Show StripeAPI.Operations.DeleteEphemeralKeysKey.DeleteEphemeralKeysKeyRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.DeleteEphemeralKeysKey.DeleteEphemeralKeysKeyResponse
instance GHC.Show.Show StripeAPI.Operations.DeleteEphemeralKeysKey.DeleteEphemeralKeysKeyResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.DeleteEphemeralKeysKey.DeleteEphemeralKeysKeyRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.DeleteEphemeralKeysKey.DeleteEphemeralKeysKeyRequestBody
-- | Contains the different functions to run the operation
-- deleteCustomersCustomerTaxIdsId
module StripeAPI.Operations.DeleteCustomersCustomerTaxIdsId
-- |
-- DELETE /v1/customers/{customer}/tax_ids/{id}
--
--
-- <p>Deletes an existing <code>TaxID</code>
-- object.</p>
deleteCustomersCustomerTaxIdsId :: forall m. MonadHTTP m => DeleteCustomersCustomerTaxIdsIdParameters -> ClientT m (Response DeleteCustomersCustomerTaxIdsIdResponse)
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/tax_ids/{id}.DELETE.parameters
-- in the specification.
data DeleteCustomersCustomerTaxIdsIdParameters
DeleteCustomersCustomerTaxIdsIdParameters :: Text -> Text -> DeleteCustomersCustomerTaxIdsIdParameters
-- | pathCustomer: Represents the parameter named 'customer'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerTaxIdsIdParametersPathCustomer] :: DeleteCustomersCustomerTaxIdsIdParameters -> Text
-- | pathId: Represents the parameter named 'id'
[deleteCustomersCustomerTaxIdsIdParametersPathId] :: DeleteCustomersCustomerTaxIdsIdParameters -> Text
-- | Create a new DeleteCustomersCustomerTaxIdsIdParameters with all
-- required fields.
mkDeleteCustomersCustomerTaxIdsIdParameters :: Text -> Text -> DeleteCustomersCustomerTaxIdsIdParameters
-- | Represents a response of the operation
-- deleteCustomersCustomerTaxIdsId.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- DeleteCustomersCustomerTaxIdsIdResponseError is used.
data DeleteCustomersCustomerTaxIdsIdResponse
-- | Means either no matching case available or a parse error
DeleteCustomersCustomerTaxIdsIdResponseError :: String -> DeleteCustomersCustomerTaxIdsIdResponse
-- | Successful response.
DeleteCustomersCustomerTaxIdsIdResponse200 :: DeletedTaxId -> DeleteCustomersCustomerTaxIdsIdResponse
-- | Error response.
DeleteCustomersCustomerTaxIdsIdResponseDefault :: Error -> DeleteCustomersCustomerTaxIdsIdResponse
instance GHC.Classes.Eq StripeAPI.Operations.DeleteCustomersCustomerTaxIdsId.DeleteCustomersCustomerTaxIdsIdParameters
instance GHC.Show.Show StripeAPI.Operations.DeleteCustomersCustomerTaxIdsId.DeleteCustomersCustomerTaxIdsIdParameters
instance GHC.Classes.Eq StripeAPI.Operations.DeleteCustomersCustomerTaxIdsId.DeleteCustomersCustomerTaxIdsIdResponse
instance GHC.Show.Show StripeAPI.Operations.DeleteCustomersCustomerTaxIdsId.DeleteCustomersCustomerTaxIdsIdResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.DeleteCustomersCustomerTaxIdsId.DeleteCustomersCustomerTaxIdsIdParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.DeleteCustomersCustomerTaxIdsId.DeleteCustomersCustomerTaxIdsIdParameters
-- | Contains the different functions to run the operation
-- deleteCustomersCustomerSubscriptionsSubscriptionExposedIdDiscount
module StripeAPI.Operations.DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdDiscount
-- |
-- DELETE /v1/customers/{customer}/subscriptions/{subscription_exposed_id}/discount
--
--
-- <p>Removes the currently applied discount on a
-- customer.</p>
deleteCustomersCustomerSubscriptionsSubscriptionExposedIdDiscount :: forall m. MonadHTTP m => DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountParameters -> ClientT m (Response DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountResponse)
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/subscriptions/{subscription_exposed_id}/discount.DELETE.parameters
-- in the specification.
data DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountParameters
DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountParameters :: Text -> Text -> DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountParameters
-- | pathCustomer: Represents the parameter named 'customer'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountParametersPathCustomer] :: DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountParameters -> Text
-- | pathSubscription_exposed_id: Represents the parameter named
-- 'subscription_exposed_id'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountParametersPathSubscriptionExposedId] :: DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountParameters -> Text
-- | Create a new
-- DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountParameters
-- with all required fields.
mkDeleteCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountParameters :: Text -> Text -> DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountParameters
-- | Represents a response of the operation
-- deleteCustomersCustomerSubscriptionsSubscriptionExposedIdDiscount.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountResponseError
-- is used.
data DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountResponse
-- | Means either no matching case available or a parse error
DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountResponseError :: String -> DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountResponse
-- | Successful response.
DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountResponse200 :: DeletedDiscount -> DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountResponse
-- | Error response.
DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountResponseDefault :: Error -> DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountResponse
instance GHC.Classes.Eq StripeAPI.Operations.DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdDiscount.DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountParameters
instance GHC.Show.Show StripeAPI.Operations.DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdDiscount.DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountParameters
instance GHC.Classes.Eq StripeAPI.Operations.DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdDiscount.DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountResponse
instance GHC.Show.Show StripeAPI.Operations.DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdDiscount.DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdDiscount.DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdDiscount.DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountParameters
-- | Contains the different functions to run the operation
-- deleteCustomersCustomerSubscriptionsSubscriptionExposedId
module StripeAPI.Operations.DeleteCustomersCustomerSubscriptionsSubscriptionExposedId
-- |
-- DELETE /v1/customers/{customer}/subscriptions/{subscription_exposed_id}
--
--
-- <p>Cancels a customer’s subscription. If you set the
-- <code>at_period_end</code> parameter to
-- <code>true</code>, the subscription will remain active
-- until the end of the period, at which point it will be canceled and
-- not renewed. Otherwise, with the default
-- <code>false</code> value, the subscription is terminated
-- immediately. In either case, the customer will not be charged again
-- for the subscription.</p>
--
-- <p>Note, however, that any pending invoice items that you’ve
-- created will still be charged for at the end of the period, unless
-- manually <a href="#delete_invoiceitem">deleted</a>. If
-- you’ve set the subscription to cancel at the end of the period, any
-- pending prorations will also be left in place and collected at the end
-- of the period. But if the subscription is set to cancel immediately,
-- pending prorations will be removed.</p>
--
-- <p>By default, upon subscription cancellation, Stripe will stop
-- automatic collection of all finalized invoices for the customer. This
-- is intended to prevent unexpected payment attempts after the customer
-- has canceled a subscription. However, you can resume automatic
-- collection of the invoices manually after subscription cancellation to
-- have us proceed. Or, you could check for unpaid invoices before
-- allowing the customer to cancel the subscription at all.</p>
deleteCustomersCustomerSubscriptionsSubscriptionExposedId :: forall m. MonadHTTP m => DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdParameters -> Maybe DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBody -> ClientT m (Response DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdResponse)
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/subscriptions/{subscription_exposed_id}.DELETE.parameters
-- in the specification.
data DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdParameters
DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdParameters :: Text -> Text -> DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdParameters
-- | pathCustomer: Represents the parameter named 'customer'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerSubscriptionsSubscriptionExposedIdParametersPathCustomer] :: DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdParameters -> Text
-- | pathSubscription_exposed_id: Represents the parameter named
-- 'subscription_exposed_id'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerSubscriptionsSubscriptionExposedIdParametersPathSubscriptionExposedId] :: DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdParameters -> Text
-- | Create a new
-- DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdParameters
-- with all required fields.
mkDeleteCustomersCustomerSubscriptionsSubscriptionExposedIdParameters :: Text -> Text -> DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdParameters
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/subscriptions/{subscription_exposed_id}.DELETE.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBody
DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBody :: Maybe [Text] -> Maybe Bool -> Maybe Bool -> DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBody
-- | expand: Specifies which fields in the response should be expanded.
[deleteCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyExpand] :: DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBody -> Maybe [Text]
-- | invoice_now: Can be set to `true` if `at_period_end` is not set to
-- `true`. Will generate a final invoice that invoices for any
-- un-invoiced metered usage and new/pending proration invoice items.
[deleteCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyInvoiceNow] :: DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBody -> Maybe Bool
-- | prorate: Can be set to `true` if `at_period_end` is not set to `true`.
-- Will generate a proration invoice item that credits remaining unused
-- time until the subscription period end.
[deleteCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyProrate] :: DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBody -> Maybe Bool
-- | Create a new
-- DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBody
-- with all required fields.
mkDeleteCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBody :: DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBody
-- | Represents a response of the operation
-- deleteCustomersCustomerSubscriptionsSubscriptionExposedId.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdResponseError
-- is used.
data DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdResponse
-- | Means either no matching case available or a parse error
DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdResponseError :: String -> DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdResponse
-- | Successful response.
DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdResponse200 :: Subscription -> DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdResponse
-- | Error response.
DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdResponseDefault :: Error -> DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdResponse
instance GHC.Classes.Eq StripeAPI.Operations.DeleteCustomersCustomerSubscriptionsSubscriptionExposedId.DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdParameters
instance GHC.Show.Show StripeAPI.Operations.DeleteCustomersCustomerSubscriptionsSubscriptionExposedId.DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdParameters
instance GHC.Classes.Eq StripeAPI.Operations.DeleteCustomersCustomerSubscriptionsSubscriptionExposedId.DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBody
instance GHC.Show.Show StripeAPI.Operations.DeleteCustomersCustomerSubscriptionsSubscriptionExposedId.DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.DeleteCustomersCustomerSubscriptionsSubscriptionExposedId.DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdResponse
instance GHC.Show.Show StripeAPI.Operations.DeleteCustomersCustomerSubscriptionsSubscriptionExposedId.DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.DeleteCustomersCustomerSubscriptionsSubscriptionExposedId.DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.DeleteCustomersCustomerSubscriptionsSubscriptionExposedId.DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.DeleteCustomersCustomerSubscriptionsSubscriptionExposedId.DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.DeleteCustomersCustomerSubscriptionsSubscriptionExposedId.DeleteCustomersCustomerSubscriptionsSubscriptionExposedIdParameters
-- | Contains the different functions to run the operation
-- deleteCustomersCustomerSourcesId
module StripeAPI.Operations.DeleteCustomersCustomerSourcesId
-- |
-- DELETE /v1/customers/{customer}/sources/{id}
--
--
-- <p>Delete a specified source for a given customer.</p>
deleteCustomersCustomerSourcesId :: forall m. MonadHTTP m => DeleteCustomersCustomerSourcesIdParameters -> Maybe DeleteCustomersCustomerSourcesIdRequestBody -> ClientT m (Response DeleteCustomersCustomerSourcesIdResponse)
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/sources/{id}.DELETE.parameters
-- in the specification.
data DeleteCustomersCustomerSourcesIdParameters
DeleteCustomersCustomerSourcesIdParameters :: Text -> Text -> DeleteCustomersCustomerSourcesIdParameters
-- | pathCustomer: Represents the parameter named 'customer'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerSourcesIdParametersPathCustomer] :: DeleteCustomersCustomerSourcesIdParameters -> Text
-- | pathId: Represents the parameter named 'id'
[deleteCustomersCustomerSourcesIdParametersPathId] :: DeleteCustomersCustomerSourcesIdParameters -> Text
-- | Create a new DeleteCustomersCustomerSourcesIdParameters with
-- all required fields.
mkDeleteCustomersCustomerSourcesIdParameters :: Text -> Text -> DeleteCustomersCustomerSourcesIdParameters
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/sources/{id}.DELETE.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data DeleteCustomersCustomerSourcesIdRequestBody
DeleteCustomersCustomerSourcesIdRequestBody :: Maybe [Text] -> DeleteCustomersCustomerSourcesIdRequestBody
-- | expand: Specifies which fields in the response should be expanded.
[deleteCustomersCustomerSourcesIdRequestBodyExpand] :: DeleteCustomersCustomerSourcesIdRequestBody -> Maybe [Text]
-- | Create a new DeleteCustomersCustomerSourcesIdRequestBody with
-- all required fields.
mkDeleteCustomersCustomerSourcesIdRequestBody :: DeleteCustomersCustomerSourcesIdRequestBody
-- | Represents a response of the operation
-- deleteCustomersCustomerSourcesId.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- DeleteCustomersCustomerSourcesIdResponseError is used.
data DeleteCustomersCustomerSourcesIdResponse
-- | Means either no matching case available or a parse error
DeleteCustomersCustomerSourcesIdResponseError :: String -> DeleteCustomersCustomerSourcesIdResponse
-- | Successful response.
DeleteCustomersCustomerSourcesIdResponse200 :: DeleteCustomersCustomerSourcesIdResponseBody200 -> DeleteCustomersCustomerSourcesIdResponse
-- | Error response.
DeleteCustomersCustomerSourcesIdResponseDefault :: Error -> DeleteCustomersCustomerSourcesIdResponse
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/sources/{id}.DELETE.responses.200.content.application/json.schema.anyOf.anyOf
-- in the specification.
data DeleteCustomersCustomerSourcesIdResponseBody200
DeleteCustomersCustomerSourcesIdResponseBody200 :: Maybe DeleteCustomersCustomerSourcesIdResponseBody200Account'Variants -> Maybe Text -> Maybe Text -> Maybe SourceTypeAchCreditTransfer -> Maybe SourceTypeAchDebit -> Maybe SourceTypeAcssDebit -> Maybe Bool -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe SourceTypeAlipay -> Maybe Int -> Maybe Int -> Maybe SourceTypeAuBecsDebit -> Maybe [DeleteCustomersCustomerSourcesIdResponseBody200AvailablePayoutMethods'] -> Maybe SourceTypeBancontact -> Maybe Text -> Maybe Int -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe DeleteCustomersCustomerSourcesIdResponseBody200BusinessProfile' -> Maybe DeleteCustomersCustomerSourcesIdResponseBody200BusinessType' -> Maybe AccountCapabilities -> Maybe SourceTypeCard -> Maybe SourceTypeCardPresent -> Maybe Bool -> Maybe Text -> Maybe SourceCodeVerificationFlow -> Maybe LegalEntityCompany -> Maybe AccountController -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe DeleteCustomersCustomerSourcesIdResponseBody200Customer'Variants -> Maybe Text -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe Text -> Maybe SourceTypeEps -> Maybe Int -> Maybe Int -> Maybe DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts' -> Maybe Bool -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe SourceTypeGiropay -> Maybe Text -> Maybe SourceTypeIdeal -> Maybe Text -> Maybe Person -> Maybe SourceTypeKlarna -> Maybe Text -> Maybe Bool -> Maybe Object -> Maybe SourceTypeMultibanco -> Maybe Text -> Maybe DeleteCustomersCustomerSourcesIdResponseBody200Object' -> Maybe DeleteCustomersCustomerSourcesIdResponseBody200Owner' -> Maybe SourceTypeP24 -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe Bool -> Maybe SourceReceiverFlow -> Maybe DeleteCustomersCustomerSourcesIdResponseBody200Recipient'Variants -> Maybe SourceRedirectFlow -> Maybe Text -> Maybe AccountRequirements -> Maybe Bool -> Maybe Text -> Maybe SourceTypeSepaDebit -> Maybe DeleteCustomersCustomerSourcesIdResponseBody200Settings' -> Maybe SourceTypeSofort -> Maybe SourceOrder -> Maybe Text -> Maybe Text -> Maybe SourceTypeThreeDSecure -> Maybe Text -> Maybe AccountTosAcceptance -> Maybe DeleteCustomersCustomerSourcesIdResponseBody200Transactions' -> Maybe DeleteCustomersCustomerSourcesIdResponseBody200Type' -> Maybe Bool -> Maybe Text -> Maybe Bool -> Maybe Bool -> Maybe Text -> Maybe SourceTypeWechat -> DeleteCustomersCustomerSourcesIdResponseBody200
-- | account: The ID of the account that the bank account is associated
-- with.
[deleteCustomersCustomerSourcesIdResponseBody200Account] :: DeleteCustomersCustomerSourcesIdResponseBody200 -> Maybe DeleteCustomersCustomerSourcesIdResponseBody200Account'Variants
-- | account_holder_name: The name of the person or business that owns the
-- bank account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerSourcesIdResponseBody200AccountHolderName] :: DeleteCustomersCustomerSourcesIdResponseBody200 -> Maybe Text
-- | account_holder_type: The type of entity that holds the account. This
-- can be either `individual` or `company`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerSourcesIdResponseBody200AccountHolderType] :: DeleteCustomersCustomerSourcesIdResponseBody200 -> Maybe Text
-- | ach_credit_transfer
[deleteCustomersCustomerSourcesIdResponseBody200AchCreditTransfer] :: DeleteCustomersCustomerSourcesIdResponseBody200 -> Maybe SourceTypeAchCreditTransfer
-- | ach_debit
[deleteCustomersCustomerSourcesIdResponseBody200AchDebit] :: DeleteCustomersCustomerSourcesIdResponseBody200 -> Maybe SourceTypeAchDebit
-- | acss_debit
[deleteCustomersCustomerSourcesIdResponseBody200AcssDebit] :: DeleteCustomersCustomerSourcesIdResponseBody200 -> Maybe SourceTypeAcssDebit
-- | active: True when this bitcoin receiver has received a non-zero amount
-- of bitcoin.
[deleteCustomersCustomerSourcesIdResponseBody200Active] :: DeleteCustomersCustomerSourcesIdResponseBody200 -> Maybe Bool
-- | address_city: City/District/Suburb/Town/Village.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerSourcesIdResponseBody200AddressCity] :: DeleteCustomersCustomerSourcesIdResponseBody200 -> Maybe Text
-- | address_country: Billing address country, if provided when creating
-- card.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerSourcesIdResponseBody200AddressCountry] :: DeleteCustomersCustomerSourcesIdResponseBody200 -> Maybe Text
-- | address_line1: Address line 1 (Street address/PO Box/Company name).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerSourcesIdResponseBody200AddressLine1] :: DeleteCustomersCustomerSourcesIdResponseBody200 -> Maybe Text
-- | address_line1_check: If `address_line1` was provided, results of the
-- check: `pass`, `fail`, `unavailable`, or `unchecked`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerSourcesIdResponseBody200AddressLine1Check] :: DeleteCustomersCustomerSourcesIdResponseBody200 -> Maybe Text
-- | address_line2: Address line 2 (Apartment/Suite/Unit/Building).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerSourcesIdResponseBody200AddressLine2] :: DeleteCustomersCustomerSourcesIdResponseBody200 -> Maybe Text
-- | address_state: State/County/Province/Region.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerSourcesIdResponseBody200AddressState] :: DeleteCustomersCustomerSourcesIdResponseBody200 -> Maybe Text
-- | address_zip: ZIP or postal code.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerSourcesIdResponseBody200AddressZip] :: DeleteCustomersCustomerSourcesIdResponseBody200 -> Maybe Text
-- | address_zip_check: If `address_zip` was provided, results of the
-- check: `pass`, `fail`, `unavailable`, or `unchecked`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerSourcesIdResponseBody200AddressZipCheck] :: DeleteCustomersCustomerSourcesIdResponseBody200 -> Maybe Text
-- | alipay
[deleteCustomersCustomerSourcesIdResponseBody200Alipay] :: DeleteCustomersCustomerSourcesIdResponseBody200 -> Maybe SourceTypeAlipay
-- | amount: The amount of `currency` that you are collecting as payment.
[deleteCustomersCustomerSourcesIdResponseBody200Amount] :: DeleteCustomersCustomerSourcesIdResponseBody200 -> Maybe Int
-- | amount_received: The amount of `currency` to which
-- `bitcoin_amount_received` has been converted.
[deleteCustomersCustomerSourcesIdResponseBody200AmountReceived] :: DeleteCustomersCustomerSourcesIdResponseBody200 -> Maybe Int
-- | au_becs_debit
[deleteCustomersCustomerSourcesIdResponseBody200AuBecsDebit] :: DeleteCustomersCustomerSourcesIdResponseBody200 -> Maybe SourceTypeAuBecsDebit
-- | available_payout_methods: A set of available payout methods for this
-- bank account. Only values from this set should be passed as the
-- `method` when creating a payout.
[deleteCustomersCustomerSourcesIdResponseBody200AvailablePayoutMethods] :: DeleteCustomersCustomerSourcesIdResponseBody200 -> Maybe [DeleteCustomersCustomerSourcesIdResponseBody200AvailablePayoutMethods']
-- | bancontact
[deleteCustomersCustomerSourcesIdResponseBody200Bancontact] :: DeleteCustomersCustomerSourcesIdResponseBody200 -> Maybe SourceTypeBancontact
-- | bank_name: Name of the bank associated with the routing number (e.g.,
-- `WELLS FARGO`).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerSourcesIdResponseBody200BankName] :: DeleteCustomersCustomerSourcesIdResponseBody200 -> Maybe Text
-- | bitcoin_amount: The amount of bitcoin that the customer should send to
-- fill the receiver. The `bitcoin_amount` is denominated in Satoshi:
-- there are 10^8 Satoshi in one bitcoin.
[deleteCustomersCustomerSourcesIdResponseBody200BitcoinAmount] :: DeleteCustomersCustomerSourcesIdResponseBody200 -> Maybe Int
-- | bitcoin_amount_received: The amount of bitcoin that has been sent by
-- the customer to this receiver.
[deleteCustomersCustomerSourcesIdResponseBody200BitcoinAmountReceived] :: DeleteCustomersCustomerSourcesIdResponseBody200 -> Maybe Int
-- | bitcoin_uri: This URI can be displayed to the customer as a clickable
-- link (to activate their bitcoin client) or as a QR code (for mobile
-- wallets).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerSourcesIdResponseBody200BitcoinUri] :: DeleteCustomersCustomerSourcesIdResponseBody200 -> Maybe Text
-- | brand: Card brand. Can be `American Express`, `Diners Club`,
-- `Discover`, `JCB`, `MasterCard`, `UnionPay`, `Visa`, or `Unknown`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerSourcesIdResponseBody200Brand] :: DeleteCustomersCustomerSourcesIdResponseBody200 -> Maybe Text
-- | business_profile: Business information about the account.
[deleteCustomersCustomerSourcesIdResponseBody200BusinessProfile] :: DeleteCustomersCustomerSourcesIdResponseBody200 -> Maybe DeleteCustomersCustomerSourcesIdResponseBody200BusinessProfile'
-- | business_type: The business type.
[deleteCustomersCustomerSourcesIdResponseBody200BusinessType] :: DeleteCustomersCustomerSourcesIdResponseBody200 -> Maybe DeleteCustomersCustomerSourcesIdResponseBody200BusinessType'
-- | capabilities:
[deleteCustomersCustomerSourcesIdResponseBody200Capabilities] :: DeleteCustomersCustomerSourcesIdResponseBody200 -> Maybe AccountCapabilities
-- | card
[deleteCustomersCustomerSourcesIdResponseBody200Card] :: DeleteCustomersCustomerSourcesIdResponseBody200 -> Maybe SourceTypeCard
-- | card_present
[deleteCustomersCustomerSourcesIdResponseBody200CardPresent] :: DeleteCustomersCustomerSourcesIdResponseBody200 -> Maybe SourceTypeCardPresent
-- | charges_enabled: Whether the account can create live charges.
[deleteCustomersCustomerSourcesIdResponseBody200ChargesEnabled] :: DeleteCustomersCustomerSourcesIdResponseBody200 -> Maybe Bool
-- | client_secret: The client secret of the source. Used for client-side
-- retrieval using a publishable key.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerSourcesIdResponseBody200ClientSecret] :: DeleteCustomersCustomerSourcesIdResponseBody200 -> Maybe Text
-- | code_verification:
[deleteCustomersCustomerSourcesIdResponseBody200CodeVerification] :: DeleteCustomersCustomerSourcesIdResponseBody200 -> Maybe SourceCodeVerificationFlow
-- | company:
[deleteCustomersCustomerSourcesIdResponseBody200Company] :: DeleteCustomersCustomerSourcesIdResponseBody200 -> Maybe LegalEntityCompany
-- | controller:
[deleteCustomersCustomerSourcesIdResponseBody200Controller] :: DeleteCustomersCustomerSourcesIdResponseBody200 -> Maybe AccountController
-- | country: The account's country.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerSourcesIdResponseBody200Country] :: DeleteCustomersCustomerSourcesIdResponseBody200 -> Maybe Text
-- | created: Time at which the object was created. Measured in seconds
-- since the Unix epoch.
[deleteCustomersCustomerSourcesIdResponseBody200Created] :: DeleteCustomersCustomerSourcesIdResponseBody200 -> Maybe Int
-- | currency: Three-letter ISO code for the currency paid out to
-- the bank account.
[deleteCustomersCustomerSourcesIdResponseBody200Currency] :: DeleteCustomersCustomerSourcesIdResponseBody200 -> Maybe Text
-- | customer: The ID of the customer associated with this Alipay Account.
[deleteCustomersCustomerSourcesIdResponseBody200Customer] :: DeleteCustomersCustomerSourcesIdResponseBody200 -> Maybe DeleteCustomersCustomerSourcesIdResponseBody200Customer'Variants
-- | cvc_check: If a CVC was provided, results of the check: `pass`,
-- `fail`, `unavailable`, or `unchecked`. A result of unchecked indicates
-- that CVC was provided but hasn't been checked yet. Checks are
-- typically performed when attaching a card to a Customer object, or
-- when creating a charge. For more details, see Check if a card is
-- valid without a charge.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerSourcesIdResponseBody200CvcCheck] :: DeleteCustomersCustomerSourcesIdResponseBody200 -> Maybe Text
-- | default_currency: Three-letter ISO currency code representing the
-- default currency for the account. This must be a currency that
-- Stripe supports in the account's country.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerSourcesIdResponseBody200DefaultCurrency] :: DeleteCustomersCustomerSourcesIdResponseBody200 -> Maybe Text
-- | default_for_currency: Whether this bank account is the default
-- external account for its currency.
[deleteCustomersCustomerSourcesIdResponseBody200DefaultForCurrency] :: DeleteCustomersCustomerSourcesIdResponseBody200 -> Maybe Bool
-- | description: An arbitrary string attached to the object. Often useful
-- for displaying to users.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerSourcesIdResponseBody200Description] :: DeleteCustomersCustomerSourcesIdResponseBody200 -> Maybe Text
-- | details_submitted: Whether account details have been submitted.
-- Standard accounts cannot receive payouts before this is true.
[deleteCustomersCustomerSourcesIdResponseBody200DetailsSubmitted] :: DeleteCustomersCustomerSourcesIdResponseBody200 -> Maybe Bool
-- | dynamic_last4: (For tokenized numbers only.) The last four digits of
-- the device account number.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerSourcesIdResponseBody200DynamicLast4] :: DeleteCustomersCustomerSourcesIdResponseBody200 -> Maybe Text
-- | email: An email address associated with the account. You can treat
-- this as metadata: it is not used for authentication or messaging
-- account holders.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerSourcesIdResponseBody200Email] :: DeleteCustomersCustomerSourcesIdResponseBody200 -> Maybe Text
-- | eps
[deleteCustomersCustomerSourcesIdResponseBody200Eps] :: DeleteCustomersCustomerSourcesIdResponseBody200 -> Maybe SourceTypeEps
-- | exp_month: Two-digit number representing the card's expiration month.
[deleteCustomersCustomerSourcesIdResponseBody200ExpMonth] :: DeleteCustomersCustomerSourcesIdResponseBody200 -> Maybe Int
-- | exp_year: Four-digit number representing the card's expiration year.
[deleteCustomersCustomerSourcesIdResponseBody200ExpYear] :: DeleteCustomersCustomerSourcesIdResponseBody200 -> Maybe Int
-- | external_accounts: External accounts (bank accounts and debit cards)
-- currently attached to this account
[deleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts] :: DeleteCustomersCustomerSourcesIdResponseBody200 -> Maybe DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'
-- | filled: This flag is initially false and updates to true when the
-- customer sends the `bitcoin_amount` to this receiver.
[deleteCustomersCustomerSourcesIdResponseBody200Filled] :: DeleteCustomersCustomerSourcesIdResponseBody200 -> Maybe Bool
-- | fingerprint: Uniquely identifies the account and will be the same
-- across all Alipay account objects that are linked to the same Alipay
-- account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerSourcesIdResponseBody200Fingerprint] :: DeleteCustomersCustomerSourcesIdResponseBody200 -> Maybe Text
-- | flow: The authentication `flow` of the source. `flow` is one of
-- `redirect`, `receiver`, `code_verification`, `none`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerSourcesIdResponseBody200Flow] :: DeleteCustomersCustomerSourcesIdResponseBody200 -> Maybe Text
-- | funding: Card funding type. Can be `credit`, `debit`, `prepaid`, or
-- `unknown`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerSourcesIdResponseBody200Funding] :: DeleteCustomersCustomerSourcesIdResponseBody200 -> Maybe Text
-- | giropay
[deleteCustomersCustomerSourcesIdResponseBody200Giropay] :: DeleteCustomersCustomerSourcesIdResponseBody200 -> Maybe SourceTypeGiropay
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerSourcesIdResponseBody200Id] :: DeleteCustomersCustomerSourcesIdResponseBody200 -> Maybe Text
-- | ideal
[deleteCustomersCustomerSourcesIdResponseBody200Ideal] :: DeleteCustomersCustomerSourcesIdResponseBody200 -> Maybe SourceTypeIdeal
-- | inbound_address: A bitcoin address that is specific to this receiver.
-- The customer can send bitcoin to this address to fill the receiver.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerSourcesIdResponseBody200InboundAddress] :: DeleteCustomersCustomerSourcesIdResponseBody200 -> Maybe Text
-- | individual: This is an object representing a person associated with a
-- Stripe account.
--
-- A platform cannot access a Standard or Express account's persons after
-- the account starts onboarding, such as after generating an account
-- link for the account. See the Standard onboarding or Express
-- onboarding documentation for information about platform
-- pre-filling and account onboarding steps.
--
-- Related guide: Handling Identity Verification with the API.
[deleteCustomersCustomerSourcesIdResponseBody200Individual] :: DeleteCustomersCustomerSourcesIdResponseBody200 -> Maybe Person
-- | klarna
[deleteCustomersCustomerSourcesIdResponseBody200Klarna] :: DeleteCustomersCustomerSourcesIdResponseBody200 -> Maybe SourceTypeKlarna
-- | last4: The last four digits of the bank account number.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerSourcesIdResponseBody200Last4] :: DeleteCustomersCustomerSourcesIdResponseBody200 -> Maybe Text
-- | livemode: Has the value `true` if the object exists in live mode or
-- the value `false` if the object exists in test mode.
[deleteCustomersCustomerSourcesIdResponseBody200Livemode] :: DeleteCustomersCustomerSourcesIdResponseBody200 -> Maybe Bool
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format.
[deleteCustomersCustomerSourcesIdResponseBody200Metadata] :: DeleteCustomersCustomerSourcesIdResponseBody200 -> Maybe Object
-- | multibanco
[deleteCustomersCustomerSourcesIdResponseBody200Multibanco] :: DeleteCustomersCustomerSourcesIdResponseBody200 -> Maybe SourceTypeMultibanco
-- | name: Cardholder name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerSourcesIdResponseBody200Name] :: DeleteCustomersCustomerSourcesIdResponseBody200 -> Maybe Text
-- | object: String representing the object's type. Objects of the same
-- type share the same value.
[deleteCustomersCustomerSourcesIdResponseBody200Object] :: DeleteCustomersCustomerSourcesIdResponseBody200 -> Maybe DeleteCustomersCustomerSourcesIdResponseBody200Object'
-- | owner: Information about the owner of the payment instrument that may
-- be used or required by particular source types.
[deleteCustomersCustomerSourcesIdResponseBody200Owner] :: DeleteCustomersCustomerSourcesIdResponseBody200 -> Maybe DeleteCustomersCustomerSourcesIdResponseBody200Owner'
-- | p24
[deleteCustomersCustomerSourcesIdResponseBody200P24] :: DeleteCustomersCustomerSourcesIdResponseBody200 -> Maybe SourceTypeP24
-- | payment: The ID of the payment created from the receiver, if any.
-- Hidden when viewing the receiver with a publishable key.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerSourcesIdResponseBody200Payment] :: DeleteCustomersCustomerSourcesIdResponseBody200 -> Maybe Text
-- | payment_amount: If the Alipay account object is not reusable, the
-- exact amount that you can create a charge for.
[deleteCustomersCustomerSourcesIdResponseBody200PaymentAmount] :: DeleteCustomersCustomerSourcesIdResponseBody200 -> Maybe Int
-- | payment_currency: If the Alipay account object is not reusable, the
-- exact currency that you can create a charge for.
[deleteCustomersCustomerSourcesIdResponseBody200PaymentCurrency] :: DeleteCustomersCustomerSourcesIdResponseBody200 -> Maybe Text
-- | payouts_enabled: Whether Stripe can send payouts to this account.
[deleteCustomersCustomerSourcesIdResponseBody200PayoutsEnabled] :: DeleteCustomersCustomerSourcesIdResponseBody200 -> Maybe Bool
-- | receiver:
[deleteCustomersCustomerSourcesIdResponseBody200Receiver] :: DeleteCustomersCustomerSourcesIdResponseBody200 -> Maybe SourceReceiverFlow
-- | recipient: 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.
[deleteCustomersCustomerSourcesIdResponseBody200Recipient] :: DeleteCustomersCustomerSourcesIdResponseBody200 -> Maybe DeleteCustomersCustomerSourcesIdResponseBody200Recipient'Variants
-- | redirect:
[deleteCustomersCustomerSourcesIdResponseBody200Redirect] :: DeleteCustomersCustomerSourcesIdResponseBody200 -> Maybe SourceRedirectFlow
-- | refund_address: The refund address of this bitcoin receiver.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerSourcesIdResponseBody200RefundAddress] :: DeleteCustomersCustomerSourcesIdResponseBody200 -> Maybe Text
-- | requirements:
[deleteCustomersCustomerSourcesIdResponseBody200Requirements] :: DeleteCustomersCustomerSourcesIdResponseBody200 -> Maybe AccountRequirements
-- | reusable: True if you can create multiple payments using this account.
-- If the account is reusable, then you can freely choose the amount of
-- each payment.
[deleteCustomersCustomerSourcesIdResponseBody200Reusable] :: DeleteCustomersCustomerSourcesIdResponseBody200 -> Maybe Bool
-- | routing_number: The routing transit number for the bank account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerSourcesIdResponseBody200RoutingNumber] :: DeleteCustomersCustomerSourcesIdResponseBody200 -> Maybe Text
-- | sepa_debit
[deleteCustomersCustomerSourcesIdResponseBody200SepaDebit] :: DeleteCustomersCustomerSourcesIdResponseBody200 -> Maybe SourceTypeSepaDebit
-- | settings: Options for customizing how the account functions within
-- Stripe.
[deleteCustomersCustomerSourcesIdResponseBody200Settings] :: DeleteCustomersCustomerSourcesIdResponseBody200 -> Maybe DeleteCustomersCustomerSourcesIdResponseBody200Settings'
-- | sofort
[deleteCustomersCustomerSourcesIdResponseBody200Sofort] :: DeleteCustomersCustomerSourcesIdResponseBody200 -> Maybe SourceTypeSofort
-- | source_order:
[deleteCustomersCustomerSourcesIdResponseBody200SourceOrder] :: DeleteCustomersCustomerSourcesIdResponseBody200 -> Maybe SourceOrder
-- | statement_descriptor: Extra information about a source. This will
-- appear on your customer's statement every time you charge the source.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerSourcesIdResponseBody200StatementDescriptor] :: DeleteCustomersCustomerSourcesIdResponseBody200 -> Maybe Text
-- | status: For bank accounts, possible values are `new`, `validated`,
-- `verified`, `verification_failed`, or `errored`. A bank account that
-- hasn't had any activity or validation performed is `new`. If Stripe
-- can determine that the bank account exists, its status will be
-- `validated`. Note that there often isn’t enough information to know
-- (e.g., for smaller credit unions), and the validation is not always
-- run. If customer bank account verification has succeeded, the bank
-- account status will be `verified`. If the verification failed for any
-- reason, such as microdeposit failure, the status will be
-- `verification_failed`. If a transfer sent to this bank account fails,
-- we'll set the status to `errored` and will not continue to send
-- transfers until the bank details are updated.
--
-- For external accounts, possible values are `new` and `errored`.
-- Validations aren't run against external accounts because they're only
-- used for payouts. This means the other statuses don't apply. If a
-- transfer fails, the status is set to `errored` and transfers are
-- stopped until account details are updated.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerSourcesIdResponseBody200Status] :: DeleteCustomersCustomerSourcesIdResponseBody200 -> Maybe Text
-- | three_d_secure
[deleteCustomersCustomerSourcesIdResponseBody200ThreeDSecure] :: DeleteCustomersCustomerSourcesIdResponseBody200 -> Maybe SourceTypeThreeDSecure
-- | tokenization_method: If the card number is tokenized, this is the
-- method that was used. Can be `android_pay` (includes Google Pay),
-- `apple_pay`, `masterpass`, `visa_checkout`, or null.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerSourcesIdResponseBody200TokenizationMethod] :: DeleteCustomersCustomerSourcesIdResponseBody200 -> Maybe Text
-- | tos_acceptance:
[deleteCustomersCustomerSourcesIdResponseBody200TosAcceptance] :: DeleteCustomersCustomerSourcesIdResponseBody200 -> Maybe AccountTosAcceptance
-- | transactions: 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.
[deleteCustomersCustomerSourcesIdResponseBody200Transactions] :: DeleteCustomersCustomerSourcesIdResponseBody200 -> Maybe DeleteCustomersCustomerSourcesIdResponseBody200Transactions'
-- | type: The Stripe account type. Can be `standard`, `express`, or
-- `custom`.
[deleteCustomersCustomerSourcesIdResponseBody200Type] :: DeleteCustomersCustomerSourcesIdResponseBody200 -> Maybe DeleteCustomersCustomerSourcesIdResponseBody200Type'
-- | uncaptured_funds: This receiver contains uncaptured funds that can be
-- used for a payment or refunded.
[deleteCustomersCustomerSourcesIdResponseBody200UncapturedFunds] :: DeleteCustomersCustomerSourcesIdResponseBody200 -> Maybe Bool
-- | usage: Either `reusable` or `single_use`. Whether this source should
-- be reusable or not. Some source types may or may not be reusable by
-- construction, while others may leave the option at creation. If an
-- incompatible value is passed, an error will be returned.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerSourcesIdResponseBody200Usage] :: DeleteCustomersCustomerSourcesIdResponseBody200 -> Maybe Text
-- | used: Whether this Alipay account object has ever been used for a
-- payment.
[deleteCustomersCustomerSourcesIdResponseBody200Used] :: DeleteCustomersCustomerSourcesIdResponseBody200 -> Maybe Bool
-- | used_for_payment: Indicate if this source is used for payment.
[deleteCustomersCustomerSourcesIdResponseBody200UsedForPayment] :: DeleteCustomersCustomerSourcesIdResponseBody200 -> Maybe Bool
-- | username: The username for the Alipay account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerSourcesIdResponseBody200Username] :: DeleteCustomersCustomerSourcesIdResponseBody200 -> Maybe Text
-- | wechat
[deleteCustomersCustomerSourcesIdResponseBody200Wechat] :: DeleteCustomersCustomerSourcesIdResponseBody200 -> Maybe SourceTypeWechat
-- | Create a new DeleteCustomersCustomerSourcesIdResponseBody200
-- with all required fields.
mkDeleteCustomersCustomerSourcesIdResponseBody200 :: DeleteCustomersCustomerSourcesIdResponseBody200
-- | Defines the oneOf schema located at
-- paths./v1/customers/{customer}/sources/{id}.DELETE.responses.200.content.application/json.schema.anyOf.anyOf.properties.account.anyOf
-- in the specification.
--
-- The ID of the account that the bank account is associated with.
data DeleteCustomersCustomerSourcesIdResponseBody200Account'Variants
DeleteCustomersCustomerSourcesIdResponseBody200Account'Text :: Text -> DeleteCustomersCustomerSourcesIdResponseBody200Account'Variants
DeleteCustomersCustomerSourcesIdResponseBody200Account'Account :: Account -> DeleteCustomersCustomerSourcesIdResponseBody200Account'Variants
-- | Defines the enum schema located at
-- paths./v1/customers/{customer}/sources/{id}.DELETE.responses.200.content.application/json.schema.anyOf.anyOf.properties.available_payout_methods.items
-- in the specification.
data DeleteCustomersCustomerSourcesIdResponseBody200AvailablePayoutMethods'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
DeleteCustomersCustomerSourcesIdResponseBody200AvailablePayoutMethods'Other :: Value -> DeleteCustomersCustomerSourcesIdResponseBody200AvailablePayoutMethods'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
DeleteCustomersCustomerSourcesIdResponseBody200AvailablePayoutMethods'Typed :: Text -> DeleteCustomersCustomerSourcesIdResponseBody200AvailablePayoutMethods'
-- | Represents the JSON value "instant"
DeleteCustomersCustomerSourcesIdResponseBody200AvailablePayoutMethods'EnumInstant :: DeleteCustomersCustomerSourcesIdResponseBody200AvailablePayoutMethods'
-- | Represents the JSON value "standard"
DeleteCustomersCustomerSourcesIdResponseBody200AvailablePayoutMethods'EnumStandard :: DeleteCustomersCustomerSourcesIdResponseBody200AvailablePayoutMethods'
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/sources/{id}.DELETE.responses.200.content.application/json.schema.anyOf.anyOf.properties.business_profile.anyOf
-- in the specification.
--
-- Business information about the account.
data DeleteCustomersCustomerSourcesIdResponseBody200BusinessProfile'
DeleteCustomersCustomerSourcesIdResponseBody200BusinessProfile' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe DeleteCustomersCustomerSourcesIdResponseBody200BusinessProfile'SupportAddress' -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> DeleteCustomersCustomerSourcesIdResponseBody200BusinessProfile'
-- | mcc: The merchant category code for the account. MCCs are used
-- to classify businesses based on the goods or services they provide.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerSourcesIdResponseBody200BusinessProfile'Mcc] :: DeleteCustomersCustomerSourcesIdResponseBody200BusinessProfile' -> Maybe Text
-- | name: The customer-facing business name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerSourcesIdResponseBody200BusinessProfile'Name] :: DeleteCustomersCustomerSourcesIdResponseBody200BusinessProfile' -> Maybe Text
-- | product_description: Internal-only description of the product sold or
-- service provided by the business. It's used by Stripe for risk and
-- underwriting purposes.
--
-- Constraints:
--
--
-- - Maximum length of 40000
--
[deleteCustomersCustomerSourcesIdResponseBody200BusinessProfile'ProductDescription] :: DeleteCustomersCustomerSourcesIdResponseBody200BusinessProfile' -> Maybe Text
-- | support_address: A publicly available mailing address for sending
-- support issues to.
[deleteCustomersCustomerSourcesIdResponseBody200BusinessProfile'SupportAddress] :: DeleteCustomersCustomerSourcesIdResponseBody200BusinessProfile' -> Maybe DeleteCustomersCustomerSourcesIdResponseBody200BusinessProfile'SupportAddress'
-- | support_email: A publicly available email address for sending support
-- issues to.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerSourcesIdResponseBody200BusinessProfile'SupportEmail] :: DeleteCustomersCustomerSourcesIdResponseBody200BusinessProfile' -> Maybe Text
-- | support_phone: A publicly available phone number to call with support
-- issues.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerSourcesIdResponseBody200BusinessProfile'SupportPhone] :: DeleteCustomersCustomerSourcesIdResponseBody200BusinessProfile' -> Maybe Text
-- | support_url: A publicly available website for handling support issues.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerSourcesIdResponseBody200BusinessProfile'SupportUrl] :: DeleteCustomersCustomerSourcesIdResponseBody200BusinessProfile' -> Maybe Text
-- | url: The business's publicly available website.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerSourcesIdResponseBody200BusinessProfile'Url] :: DeleteCustomersCustomerSourcesIdResponseBody200BusinessProfile' -> Maybe Text
-- | Create a new
-- DeleteCustomersCustomerSourcesIdResponseBody200BusinessProfile'
-- with all required fields.
mkDeleteCustomersCustomerSourcesIdResponseBody200BusinessProfile' :: DeleteCustomersCustomerSourcesIdResponseBody200BusinessProfile'
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/sources/{id}.DELETE.responses.200.content.application/json.schema.anyOf.anyOf.properties.business_profile.anyOf.properties.support_address.anyOf
-- in the specification.
--
-- A publicly available mailing address for sending support issues to.
data DeleteCustomersCustomerSourcesIdResponseBody200BusinessProfile'SupportAddress'
DeleteCustomersCustomerSourcesIdResponseBody200BusinessProfile'SupportAddress' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> DeleteCustomersCustomerSourcesIdResponseBody200BusinessProfile'SupportAddress'
-- | city: City, district, suburb, town, or village.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerSourcesIdResponseBody200BusinessProfile'SupportAddress'City] :: DeleteCustomersCustomerSourcesIdResponseBody200BusinessProfile'SupportAddress' -> Maybe Text
-- | country: Two-letter country code ([ISO 3166-1
-- alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerSourcesIdResponseBody200BusinessProfile'SupportAddress'Country] :: DeleteCustomersCustomerSourcesIdResponseBody200BusinessProfile'SupportAddress' -> Maybe Text
-- | line1: Address line 1 (e.g., street, PO Box, or company name).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerSourcesIdResponseBody200BusinessProfile'SupportAddress'Line1] :: DeleteCustomersCustomerSourcesIdResponseBody200BusinessProfile'SupportAddress' -> Maybe Text
-- | line2: Address line 2 (e.g., apartment, suite, unit, or building).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerSourcesIdResponseBody200BusinessProfile'SupportAddress'Line2] :: DeleteCustomersCustomerSourcesIdResponseBody200BusinessProfile'SupportAddress' -> Maybe Text
-- | postal_code: ZIP or postal code.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerSourcesIdResponseBody200BusinessProfile'SupportAddress'PostalCode] :: DeleteCustomersCustomerSourcesIdResponseBody200BusinessProfile'SupportAddress' -> Maybe Text
-- | state: State, county, province, or region.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerSourcesIdResponseBody200BusinessProfile'SupportAddress'State] :: DeleteCustomersCustomerSourcesIdResponseBody200BusinessProfile'SupportAddress' -> Maybe Text
-- | Create a new
-- DeleteCustomersCustomerSourcesIdResponseBody200BusinessProfile'SupportAddress'
-- with all required fields.
mkDeleteCustomersCustomerSourcesIdResponseBody200BusinessProfile'SupportAddress' :: DeleteCustomersCustomerSourcesIdResponseBody200BusinessProfile'SupportAddress'
-- | Defines the enum schema located at
-- paths./v1/customers/{customer}/sources/{id}.DELETE.responses.200.content.application/json.schema.anyOf.anyOf.properties.business_type
-- in the specification.
--
-- The business type.
data DeleteCustomersCustomerSourcesIdResponseBody200BusinessType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
DeleteCustomersCustomerSourcesIdResponseBody200BusinessType'Other :: Value -> DeleteCustomersCustomerSourcesIdResponseBody200BusinessType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
DeleteCustomersCustomerSourcesIdResponseBody200BusinessType'Typed :: Text -> DeleteCustomersCustomerSourcesIdResponseBody200BusinessType'
-- | Represents the JSON value "company"
DeleteCustomersCustomerSourcesIdResponseBody200BusinessType'EnumCompany :: DeleteCustomersCustomerSourcesIdResponseBody200BusinessType'
-- | Represents the JSON value "government_entity"
DeleteCustomersCustomerSourcesIdResponseBody200BusinessType'EnumGovernmentEntity :: DeleteCustomersCustomerSourcesIdResponseBody200BusinessType'
-- | Represents the JSON value "individual"
DeleteCustomersCustomerSourcesIdResponseBody200BusinessType'EnumIndividual :: DeleteCustomersCustomerSourcesIdResponseBody200BusinessType'
-- | Represents the JSON value "non_profit"
DeleteCustomersCustomerSourcesIdResponseBody200BusinessType'EnumNonProfit :: DeleteCustomersCustomerSourcesIdResponseBody200BusinessType'
-- | Defines the oneOf schema located at
-- paths./v1/customers/{customer}/sources/{id}.DELETE.responses.200.content.application/json.schema.anyOf.anyOf.properties.customer.anyOf
-- in the specification.
--
-- The ID of the customer associated with this Alipay Account.
data DeleteCustomersCustomerSourcesIdResponseBody200Customer'Variants
DeleteCustomersCustomerSourcesIdResponseBody200Customer'Text :: Text -> DeleteCustomersCustomerSourcesIdResponseBody200Customer'Variants
DeleteCustomersCustomerSourcesIdResponseBody200Customer'Customer :: Customer -> DeleteCustomersCustomerSourcesIdResponseBody200Customer'Variants
DeleteCustomersCustomerSourcesIdResponseBody200Customer'DeletedCustomer :: DeletedCustomer -> DeleteCustomersCustomerSourcesIdResponseBody200Customer'Variants
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/sources/{id}.DELETE.responses.200.content.application/json.schema.anyOf.anyOf.properties.external_accounts
-- in the specification.
--
-- External accounts (bank accounts and debit cards) currently attached
-- to this account
data DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'
DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts' :: [DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'] -> Bool -> Text -> DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'
-- | data: The list contains all external accounts that have been attached
-- to the Stripe account. These may be bank accounts or cards.
[deleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data] :: DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts' -> [DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data']
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[deleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'HasMore] :: DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts' -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Url] :: DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts' -> Text
-- | Create a new
-- DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'
-- with all required fields.
mkDeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts' :: [DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'] -> Bool -> Text -> DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/sources/{id}.DELETE.responses.200.content.application/json.schema.anyOf.anyOf.properties.external_accounts.properties.data.items.anyOf
-- in the specification.
data DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'
DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data' :: Maybe DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'Account'Variants -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe [DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'AvailablePayoutMethods'] -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'Customer'Variants -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe Int -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Object -> Maybe Text -> Maybe DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'Object' -> Maybe DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'Recipient'Variants -> Maybe Text -> Maybe Text -> Maybe Text -> DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'
-- | account: The ID of the account that the bank account is associated
-- with.
[deleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'Account] :: DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data' -> Maybe DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'Account'Variants
-- | account_holder_name: The name of the person or business that owns the
-- bank account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'AccountHolderName] :: DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data' -> Maybe Text
-- | account_holder_type: The type of entity that holds the account. This
-- can be either `individual` or `company`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'AccountHolderType] :: DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data' -> Maybe Text
-- | address_city: City/District/Suburb/Town/Village.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'AddressCity] :: DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data' -> Maybe Text
-- | address_country: Billing address country, if provided when creating
-- card.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'AddressCountry] :: DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data' -> Maybe Text
-- | address_line1: Address line 1 (Street address/PO Box/Company name).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'AddressLine1] :: DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data' -> Maybe Text
-- | address_line1_check: If `address_line1` was provided, results of the
-- check: `pass`, `fail`, `unavailable`, or `unchecked`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'AddressLine1Check] :: DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data' -> Maybe Text
-- | address_line2: Address line 2 (Apartment/Suite/Unit/Building).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'AddressLine2] :: DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data' -> Maybe Text
-- | address_state: State/County/Province/Region.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'AddressState] :: DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data' -> Maybe Text
-- | address_zip: ZIP or postal code.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'AddressZip] :: DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data' -> Maybe Text
-- | address_zip_check: If `address_zip` was provided, results of the
-- check: `pass`, `fail`, `unavailable`, or `unchecked`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'AddressZipCheck] :: DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data' -> Maybe Text
-- | available_payout_methods: A set of available payout methods for this
-- bank account. Only values from this set should be passed as the
-- `method` when creating a payout.
[deleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'AvailablePayoutMethods] :: DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data' -> Maybe [DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'AvailablePayoutMethods']
-- | bank_name: Name of the bank associated with the routing number (e.g.,
-- `WELLS FARGO`).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'BankName] :: DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data' -> Maybe Text
-- | brand: Card brand. Can be `American Express`, `Diners Club`,
-- `Discover`, `JCB`, `MasterCard`, `UnionPay`, `Visa`, or `Unknown`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'Brand] :: DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data' -> Maybe Text
-- | country: Two-letter ISO code representing the country the bank account
-- is located in.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'Country] :: DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data' -> Maybe Text
-- | currency: Three-letter ISO code for the currency paid out to
-- the bank account.
[deleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'Currency] :: DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data' -> Maybe Text
-- | customer: The ID of the customer that the bank account is associated
-- with.
[deleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'Customer] :: DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data' -> Maybe DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'Customer'Variants
-- | cvc_check: If a CVC was provided, results of the check: `pass`,
-- `fail`, `unavailable`, or `unchecked`. A result of unchecked indicates
-- that CVC was provided but hasn't been checked yet. Checks are
-- typically performed when attaching a card to a Customer object, or
-- when creating a charge. For more details, see Check if a card is
-- valid without a charge.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'CvcCheck] :: DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data' -> Maybe Text
-- | default_for_currency: Whether this bank account is the default
-- external account for its currency.
[deleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'DefaultForCurrency] :: DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data' -> Maybe Bool
-- | dynamic_last4: (For tokenized numbers only.) The last four digits of
-- the device account number.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'DynamicLast4] :: DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data' -> Maybe Text
-- | exp_month: Two-digit number representing the card's expiration month.
[deleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'ExpMonth] :: DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data' -> Maybe Int
-- | exp_year: Four-digit number representing the card's expiration year.
[deleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'ExpYear] :: DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data' -> Maybe Int
-- | fingerprint: Uniquely identifies this particular bank account. You can
-- use this attribute to check whether two bank accounts are the same.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'Fingerprint] :: DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data' -> Maybe Text
-- | funding: Card funding type. Can be `credit`, `debit`, `prepaid`, or
-- `unknown`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'Funding] :: DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data' -> Maybe Text
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'Id] :: DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data' -> Maybe Text
-- | last4: The last four digits of the bank account number.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'Last4] :: DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data' -> Maybe Text
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format.
[deleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'Metadata] :: DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data' -> Maybe Object
-- | name: Cardholder name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'Name] :: DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data' -> Maybe Text
-- | object: String representing the object's type. Objects of the same
-- type share the same value.
[deleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'Object] :: DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data' -> Maybe DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'Object'
-- | recipient: 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.
[deleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'Recipient] :: DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data' -> Maybe DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'Recipient'Variants
-- | routing_number: The routing transit number for the bank account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'RoutingNumber] :: DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data' -> Maybe Text
-- | status: For bank accounts, possible values are `new`, `validated`,
-- `verified`, `verification_failed`, or `errored`. A bank account that
-- hasn't had any activity or validation performed is `new`. If Stripe
-- can determine that the bank account exists, its status will be
-- `validated`. Note that there often isn’t enough information to know
-- (e.g., for smaller credit unions), and the validation is not always
-- run. If customer bank account verification has succeeded, the bank
-- account status will be `verified`. If the verification failed for any
-- reason, such as microdeposit failure, the status will be
-- `verification_failed`. If a transfer sent to this bank account fails,
-- we'll set the status to `errored` and will not continue to send
-- transfers until the bank details are updated.
--
-- For external accounts, possible values are `new` and `errored`.
-- Validations aren't run against external accounts because they're only
-- used for payouts. This means the other statuses don't apply. If a
-- transfer fails, the status is set to `errored` and transfers are
-- stopped until account details are updated.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'Status] :: DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data' -> Maybe Text
-- | tokenization_method: If the card number is tokenized, this is the
-- method that was used. Can be `android_pay` (includes Google Pay),
-- `apple_pay`, `masterpass`, `visa_checkout`, or null.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'TokenizationMethod] :: DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data' -> Maybe Text
-- | Create a new
-- DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'
-- with all required fields.
mkDeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data' :: DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'
-- | Defines the oneOf schema located at
-- paths./v1/customers/{customer}/sources/{id}.DELETE.responses.200.content.application/json.schema.anyOf.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.
data DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'Account'Variants
DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'Account'Text :: Text -> DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'Account'Variants
DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'Account'Account :: Account -> DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'Account'Variants
-- | Defines the enum schema located at
-- paths./v1/customers/{customer}/sources/{id}.DELETE.responses.200.content.application/json.schema.anyOf.anyOf.properties.external_accounts.properties.data.items.anyOf.properties.available_payout_methods.items
-- in the specification.
data DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'AvailablePayoutMethods'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'AvailablePayoutMethods'Other :: Value -> DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'AvailablePayoutMethods'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'AvailablePayoutMethods'Typed :: Text -> DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'AvailablePayoutMethods'
-- | Represents the JSON value "instant"
DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'AvailablePayoutMethods'EnumInstant :: DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'AvailablePayoutMethods'
-- | Represents the JSON value "standard"
DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'AvailablePayoutMethods'EnumStandard :: DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'AvailablePayoutMethods'
-- | Defines the oneOf schema located at
-- paths./v1/customers/{customer}/sources/{id}.DELETE.responses.200.content.application/json.schema.anyOf.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.
data DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'Customer'Variants
DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'Customer'Text :: Text -> DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'Customer'Variants
DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'Customer'Customer :: Customer -> DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'Customer'Variants
DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'Customer'DeletedCustomer :: DeletedCustomer -> DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'Customer'Variants
-- | Defines the enum schema located at
-- paths./v1/customers/{customer}/sources/{id}.DELETE.responses.200.content.application/json.schema.anyOf.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.
data DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'Object'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'Object'Other :: Value -> DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'Object'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'Object'Typed :: Text -> DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'Object'
-- | Represents the JSON value "bank_account"
DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'Object'EnumBankAccount :: DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'Object'
-- | Defines the oneOf schema located at
-- paths./v1/customers/{customer}/sources/{id}.DELETE.responses.200.content.application/json.schema.anyOf.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.
data DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'Recipient'Variants
DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'Recipient'Text :: Text -> DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'Recipient'Variants
DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'Recipient'Recipient :: Recipient -> DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'Recipient'Variants
-- | Defines the enum schema located at
-- paths./v1/customers/{customer}/sources/{id}.DELETE.responses.200.content.application/json.schema.anyOf.anyOf.properties.object
-- in the specification.
--
-- String representing the object's type. Objects of the same type share
-- the same value.
data DeleteCustomersCustomerSourcesIdResponseBody200Object'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
DeleteCustomersCustomerSourcesIdResponseBody200Object'Other :: Value -> DeleteCustomersCustomerSourcesIdResponseBody200Object'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
DeleteCustomersCustomerSourcesIdResponseBody200Object'Typed :: Text -> DeleteCustomersCustomerSourcesIdResponseBody200Object'
-- | Represents the JSON value "account"
DeleteCustomersCustomerSourcesIdResponseBody200Object'EnumAccount :: DeleteCustomersCustomerSourcesIdResponseBody200Object'
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/sources/{id}.DELETE.responses.200.content.application/json.schema.anyOf.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.
data DeleteCustomersCustomerSourcesIdResponseBody200Owner'
DeleteCustomersCustomerSourcesIdResponseBody200Owner' :: Maybe DeleteCustomersCustomerSourcesIdResponseBody200Owner'Address' -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe DeleteCustomersCustomerSourcesIdResponseBody200Owner'VerifiedAddress' -> Maybe Text -> Maybe Text -> Maybe Text -> DeleteCustomersCustomerSourcesIdResponseBody200Owner'
-- | address: Owner's address.
[deleteCustomersCustomerSourcesIdResponseBody200Owner'Address] :: DeleteCustomersCustomerSourcesIdResponseBody200Owner' -> Maybe DeleteCustomersCustomerSourcesIdResponseBody200Owner'Address'
-- | email: Owner's email address.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerSourcesIdResponseBody200Owner'Email] :: DeleteCustomersCustomerSourcesIdResponseBody200Owner' -> Maybe Text
-- | name: Owner's full name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerSourcesIdResponseBody200Owner'Name] :: DeleteCustomersCustomerSourcesIdResponseBody200Owner' -> Maybe Text
-- | phone: Owner's phone number (including extension).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerSourcesIdResponseBody200Owner'Phone] :: DeleteCustomersCustomerSourcesIdResponseBody200Owner' -> Maybe Text
-- | verified_address: 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.
[deleteCustomersCustomerSourcesIdResponseBody200Owner'VerifiedAddress] :: DeleteCustomersCustomerSourcesIdResponseBody200Owner' -> Maybe DeleteCustomersCustomerSourcesIdResponseBody200Owner'VerifiedAddress'
-- | verified_email: Verified owner's email 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.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerSourcesIdResponseBody200Owner'VerifiedEmail] :: DeleteCustomersCustomerSourcesIdResponseBody200Owner' -> Maybe Text
-- | verified_name: Verified owner's full name. 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.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerSourcesIdResponseBody200Owner'VerifiedName] :: DeleteCustomersCustomerSourcesIdResponseBody200Owner' -> Maybe Text
-- | verified_phone: Verified owner's phone number (including extension).
-- 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.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerSourcesIdResponseBody200Owner'VerifiedPhone] :: DeleteCustomersCustomerSourcesIdResponseBody200Owner' -> Maybe Text
-- | Create a new
-- DeleteCustomersCustomerSourcesIdResponseBody200Owner' with all
-- required fields.
mkDeleteCustomersCustomerSourcesIdResponseBody200Owner' :: DeleteCustomersCustomerSourcesIdResponseBody200Owner'
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/sources/{id}.DELETE.responses.200.content.application/json.schema.anyOf.anyOf.properties.owner.anyOf.properties.address.anyOf
-- in the specification.
--
-- Owner\'s address.
data DeleteCustomersCustomerSourcesIdResponseBody200Owner'Address'
DeleteCustomersCustomerSourcesIdResponseBody200Owner'Address' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> DeleteCustomersCustomerSourcesIdResponseBody200Owner'Address'
-- | city: City, district, suburb, town, or village.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerSourcesIdResponseBody200Owner'Address'City] :: DeleteCustomersCustomerSourcesIdResponseBody200Owner'Address' -> Maybe Text
-- | country: Two-letter country code ([ISO 3166-1
-- alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerSourcesIdResponseBody200Owner'Address'Country] :: DeleteCustomersCustomerSourcesIdResponseBody200Owner'Address' -> Maybe Text
-- | line1: Address line 1 (e.g., street, PO Box, or company name).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerSourcesIdResponseBody200Owner'Address'Line1] :: DeleteCustomersCustomerSourcesIdResponseBody200Owner'Address' -> Maybe Text
-- | line2: Address line 2 (e.g., apartment, suite, unit, or building).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerSourcesIdResponseBody200Owner'Address'Line2] :: DeleteCustomersCustomerSourcesIdResponseBody200Owner'Address' -> Maybe Text
-- | postal_code: ZIP or postal code.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerSourcesIdResponseBody200Owner'Address'PostalCode] :: DeleteCustomersCustomerSourcesIdResponseBody200Owner'Address' -> Maybe Text
-- | state: State, county, province, or region.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerSourcesIdResponseBody200Owner'Address'State] :: DeleteCustomersCustomerSourcesIdResponseBody200Owner'Address' -> Maybe Text
-- | Create a new
-- DeleteCustomersCustomerSourcesIdResponseBody200Owner'Address'
-- with all required fields.
mkDeleteCustomersCustomerSourcesIdResponseBody200Owner'Address' :: DeleteCustomersCustomerSourcesIdResponseBody200Owner'Address'
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/sources/{id}.DELETE.responses.200.content.application/json.schema.anyOf.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.
data DeleteCustomersCustomerSourcesIdResponseBody200Owner'VerifiedAddress'
DeleteCustomersCustomerSourcesIdResponseBody200Owner'VerifiedAddress' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> DeleteCustomersCustomerSourcesIdResponseBody200Owner'VerifiedAddress'
-- | city: City, district, suburb, town, or village.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerSourcesIdResponseBody200Owner'VerifiedAddress'City] :: DeleteCustomersCustomerSourcesIdResponseBody200Owner'VerifiedAddress' -> Maybe Text
-- | country: Two-letter country code ([ISO 3166-1
-- alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerSourcesIdResponseBody200Owner'VerifiedAddress'Country] :: DeleteCustomersCustomerSourcesIdResponseBody200Owner'VerifiedAddress' -> Maybe Text
-- | line1: Address line 1 (e.g., street, PO Box, or company name).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerSourcesIdResponseBody200Owner'VerifiedAddress'Line1] :: DeleteCustomersCustomerSourcesIdResponseBody200Owner'VerifiedAddress' -> Maybe Text
-- | line2: Address line 2 (e.g., apartment, suite, unit, or building).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerSourcesIdResponseBody200Owner'VerifiedAddress'Line2] :: DeleteCustomersCustomerSourcesIdResponseBody200Owner'VerifiedAddress' -> Maybe Text
-- | postal_code: ZIP or postal code.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerSourcesIdResponseBody200Owner'VerifiedAddress'PostalCode] :: DeleteCustomersCustomerSourcesIdResponseBody200Owner'VerifiedAddress' -> Maybe Text
-- | state: State, county, province, or region.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerSourcesIdResponseBody200Owner'VerifiedAddress'State] :: DeleteCustomersCustomerSourcesIdResponseBody200Owner'VerifiedAddress' -> Maybe Text
-- | Create a new
-- DeleteCustomersCustomerSourcesIdResponseBody200Owner'VerifiedAddress'
-- with all required fields.
mkDeleteCustomersCustomerSourcesIdResponseBody200Owner'VerifiedAddress' :: DeleteCustomersCustomerSourcesIdResponseBody200Owner'VerifiedAddress'
-- | Defines the oneOf schema located at
-- paths./v1/customers/{customer}/sources/{id}.DELETE.responses.200.content.application/json.schema.anyOf.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 DeleteCustomersCustomerSourcesIdResponseBody200Recipient'Variants
DeleteCustomersCustomerSourcesIdResponseBody200Recipient'Text :: Text -> DeleteCustomersCustomerSourcesIdResponseBody200Recipient'Variants
DeleteCustomersCustomerSourcesIdResponseBody200Recipient'Recipient :: Recipient -> DeleteCustomersCustomerSourcesIdResponseBody200Recipient'Variants
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/sources/{id}.DELETE.responses.200.content.application/json.schema.anyOf.anyOf.properties.settings.anyOf
-- in the specification.
--
-- Options for customizing how the account functions within Stripe.
data DeleteCustomersCustomerSourcesIdResponseBody200Settings'
DeleteCustomersCustomerSourcesIdResponseBody200Settings' :: Maybe AccountBacsDebitPaymentsSettings -> Maybe AccountBrandingSettings -> Maybe AccountCardIssuingSettings -> Maybe AccountCardPaymentsSettings -> Maybe AccountDashboardSettings -> Maybe AccountPaymentsSettings -> Maybe AccountPayoutSettings -> Maybe AccountSepaDebitPaymentsSettings -> DeleteCustomersCustomerSourcesIdResponseBody200Settings'
-- | bacs_debit_payments:
[deleteCustomersCustomerSourcesIdResponseBody200Settings'BacsDebitPayments] :: DeleteCustomersCustomerSourcesIdResponseBody200Settings' -> Maybe AccountBacsDebitPaymentsSettings
-- | branding:
[deleteCustomersCustomerSourcesIdResponseBody200Settings'Branding] :: DeleteCustomersCustomerSourcesIdResponseBody200Settings' -> Maybe AccountBrandingSettings
-- | card_issuing:
[deleteCustomersCustomerSourcesIdResponseBody200Settings'CardIssuing] :: DeleteCustomersCustomerSourcesIdResponseBody200Settings' -> Maybe AccountCardIssuingSettings
-- | card_payments:
[deleteCustomersCustomerSourcesIdResponseBody200Settings'CardPayments] :: DeleteCustomersCustomerSourcesIdResponseBody200Settings' -> Maybe AccountCardPaymentsSettings
-- | dashboard:
[deleteCustomersCustomerSourcesIdResponseBody200Settings'Dashboard] :: DeleteCustomersCustomerSourcesIdResponseBody200Settings' -> Maybe AccountDashboardSettings
-- | payments:
[deleteCustomersCustomerSourcesIdResponseBody200Settings'Payments] :: DeleteCustomersCustomerSourcesIdResponseBody200Settings' -> Maybe AccountPaymentsSettings
-- | payouts:
[deleteCustomersCustomerSourcesIdResponseBody200Settings'Payouts] :: DeleteCustomersCustomerSourcesIdResponseBody200Settings' -> Maybe AccountPayoutSettings
-- | sepa_debit_payments:
[deleteCustomersCustomerSourcesIdResponseBody200Settings'SepaDebitPayments] :: DeleteCustomersCustomerSourcesIdResponseBody200Settings' -> Maybe AccountSepaDebitPaymentsSettings
-- | Create a new
-- DeleteCustomersCustomerSourcesIdResponseBody200Settings' with
-- all required fields.
mkDeleteCustomersCustomerSourcesIdResponseBody200Settings' :: DeleteCustomersCustomerSourcesIdResponseBody200Settings'
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/sources/{id}.DELETE.responses.200.content.application/json.schema.anyOf.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.
data DeleteCustomersCustomerSourcesIdResponseBody200Transactions'
DeleteCustomersCustomerSourcesIdResponseBody200Transactions' :: [BitcoinTransaction] -> Bool -> Text -> DeleteCustomersCustomerSourcesIdResponseBody200Transactions'
-- | data: Details about each object.
[deleteCustomersCustomerSourcesIdResponseBody200Transactions'Data] :: DeleteCustomersCustomerSourcesIdResponseBody200Transactions' -> [BitcoinTransaction]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[deleteCustomersCustomerSourcesIdResponseBody200Transactions'HasMore] :: DeleteCustomersCustomerSourcesIdResponseBody200Transactions' -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerSourcesIdResponseBody200Transactions'Url] :: DeleteCustomersCustomerSourcesIdResponseBody200Transactions' -> Text
-- | Create a new
-- DeleteCustomersCustomerSourcesIdResponseBody200Transactions'
-- with all required fields.
mkDeleteCustomersCustomerSourcesIdResponseBody200Transactions' :: [BitcoinTransaction] -> Bool -> Text -> DeleteCustomersCustomerSourcesIdResponseBody200Transactions'
-- | Defines the enum schema located at
-- paths./v1/customers/{customer}/sources/{id}.DELETE.responses.200.content.application/json.schema.anyOf.anyOf.properties.type
-- in the specification.
--
-- The Stripe account type. Can be `standard`, `express`, or `custom`.
data DeleteCustomersCustomerSourcesIdResponseBody200Type'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
DeleteCustomersCustomerSourcesIdResponseBody200Type'Other :: Value -> DeleteCustomersCustomerSourcesIdResponseBody200Type'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
DeleteCustomersCustomerSourcesIdResponseBody200Type'Typed :: Text -> DeleteCustomersCustomerSourcesIdResponseBody200Type'
-- | Represents the JSON value "custom"
DeleteCustomersCustomerSourcesIdResponseBody200Type'EnumCustom :: DeleteCustomersCustomerSourcesIdResponseBody200Type'
-- | Represents the JSON value "express"
DeleteCustomersCustomerSourcesIdResponseBody200Type'EnumExpress :: DeleteCustomersCustomerSourcesIdResponseBody200Type'
-- | Represents the JSON value "standard"
DeleteCustomersCustomerSourcesIdResponseBody200Type'EnumStandard :: DeleteCustomersCustomerSourcesIdResponseBody200Type'
instance GHC.Classes.Eq StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdParameters
instance GHC.Show.Show StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdParameters
instance GHC.Classes.Eq StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdRequestBody
instance GHC.Show.Show StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdResponseBody200Account'Variants
instance GHC.Show.Show StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdResponseBody200Account'Variants
instance GHC.Classes.Eq StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdResponseBody200AvailablePayoutMethods'
instance GHC.Show.Show StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdResponseBody200AvailablePayoutMethods'
instance GHC.Classes.Eq StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdResponseBody200BusinessProfile'SupportAddress'
instance GHC.Show.Show StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdResponseBody200BusinessProfile'SupportAddress'
instance GHC.Classes.Eq StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdResponseBody200BusinessProfile'
instance GHC.Show.Show StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdResponseBody200BusinessProfile'
instance GHC.Classes.Eq StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdResponseBody200BusinessType'
instance GHC.Show.Show StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdResponseBody200BusinessType'
instance GHC.Classes.Eq StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdResponseBody200Customer'Variants
instance GHC.Show.Show StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdResponseBody200Customer'Variants
instance GHC.Classes.Eq StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'Account'Variants
instance GHC.Show.Show StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'Account'Variants
instance GHC.Classes.Eq StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'AvailablePayoutMethods'
instance GHC.Show.Show StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'AvailablePayoutMethods'
instance GHC.Classes.Eq StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'Customer'Variants
instance GHC.Show.Show StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'Customer'Variants
instance GHC.Classes.Eq StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'Object'
instance GHC.Show.Show StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'Object'
instance GHC.Classes.Eq StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'Recipient'Variants
instance GHC.Show.Show StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'Recipient'Variants
instance GHC.Classes.Eq StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'
instance GHC.Show.Show StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'
instance GHC.Classes.Eq StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'
instance GHC.Show.Show StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'
instance GHC.Classes.Eq StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdResponseBody200Object'
instance GHC.Show.Show StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdResponseBody200Object'
instance GHC.Classes.Eq StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdResponseBody200Owner'Address'
instance GHC.Show.Show StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdResponseBody200Owner'Address'
instance GHC.Classes.Eq StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdResponseBody200Owner'VerifiedAddress'
instance GHC.Show.Show StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdResponseBody200Owner'VerifiedAddress'
instance GHC.Classes.Eq StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdResponseBody200Owner'
instance GHC.Show.Show StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdResponseBody200Owner'
instance GHC.Classes.Eq StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdResponseBody200Recipient'Variants
instance GHC.Show.Show StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdResponseBody200Recipient'Variants
instance GHC.Classes.Eq StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdResponseBody200Settings'
instance GHC.Show.Show StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdResponseBody200Settings'
instance GHC.Classes.Eq StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdResponseBody200Transactions'
instance GHC.Show.Show StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdResponseBody200Transactions'
instance GHC.Classes.Eq StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdResponseBody200Type'
instance GHC.Show.Show StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdResponseBody200Type'
instance GHC.Classes.Eq StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdResponseBody200
instance GHC.Show.Show StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdResponse
instance GHC.Show.Show StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdResponseBody200
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdResponseBody200
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdResponseBody200Type'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdResponseBody200Type'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdResponseBody200Transactions'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdResponseBody200Transactions'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdResponseBody200Settings'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdResponseBody200Settings'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdResponseBody200Recipient'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdResponseBody200Recipient'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdResponseBody200Owner'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdResponseBody200Owner'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdResponseBody200Owner'VerifiedAddress'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdResponseBody200Owner'VerifiedAddress'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdResponseBody200Owner'Address'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdResponseBody200Owner'Address'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdResponseBody200Object'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdResponseBody200Object'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'Recipient'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'Recipient'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'Object'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'Object'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'Customer'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'Customer'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'AvailablePayoutMethods'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'AvailablePayoutMethods'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'Account'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdResponseBody200ExternalAccounts'Data'Account'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdResponseBody200Customer'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdResponseBody200Customer'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdResponseBody200BusinessType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdResponseBody200BusinessType'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdResponseBody200BusinessProfile'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdResponseBody200BusinessProfile'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdResponseBody200BusinessProfile'SupportAddress'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdResponseBody200BusinessProfile'SupportAddress'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdResponseBody200AvailablePayoutMethods'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdResponseBody200AvailablePayoutMethods'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdResponseBody200Account'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdResponseBody200Account'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.DeleteCustomersCustomerSourcesId.DeleteCustomersCustomerSourcesIdParameters
-- | Contains the different functions to run the operation
-- deleteCustomersCustomerDiscount
module StripeAPI.Operations.DeleteCustomersCustomerDiscount
-- |
-- DELETE /v1/customers/{customer}/discount
--
--
-- <p>Removes the currently applied discount on a
-- customer.</p>
deleteCustomersCustomerDiscount :: forall m. MonadHTTP m => Text -> ClientT m (Response DeleteCustomersCustomerDiscountResponse)
-- | Represents a response of the operation
-- deleteCustomersCustomerDiscount.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- DeleteCustomersCustomerDiscountResponseError is used.
data DeleteCustomersCustomerDiscountResponse
-- | Means either no matching case available or a parse error
DeleteCustomersCustomerDiscountResponseError :: String -> DeleteCustomersCustomerDiscountResponse
-- | Successful response.
DeleteCustomersCustomerDiscountResponse200 :: DeletedDiscount -> DeleteCustomersCustomerDiscountResponse
-- | Error response.
DeleteCustomersCustomerDiscountResponseDefault :: Error -> DeleteCustomersCustomerDiscountResponse
instance GHC.Classes.Eq StripeAPI.Operations.DeleteCustomersCustomerDiscount.DeleteCustomersCustomerDiscountResponse
instance GHC.Show.Show StripeAPI.Operations.DeleteCustomersCustomerDiscount.DeleteCustomersCustomerDiscountResponse
-- | Contains the different functions to run the operation
-- deleteCustomersCustomerCardsId
module StripeAPI.Operations.DeleteCustomersCustomerCardsId
-- |
-- DELETE /v1/customers/{customer}/cards/{id}
--
--
-- <p>Delete a specified source for a given customer.</p>
deleteCustomersCustomerCardsId :: forall m. MonadHTTP m => DeleteCustomersCustomerCardsIdParameters -> Maybe DeleteCustomersCustomerCardsIdRequestBody -> ClientT m (Response DeleteCustomersCustomerCardsIdResponse)
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/cards/{id}.DELETE.parameters
-- in the specification.
data DeleteCustomersCustomerCardsIdParameters
DeleteCustomersCustomerCardsIdParameters :: Text -> Text -> DeleteCustomersCustomerCardsIdParameters
-- | pathCustomer: Represents the parameter named 'customer'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerCardsIdParametersPathCustomer] :: DeleteCustomersCustomerCardsIdParameters -> Text
-- | pathId: Represents the parameter named 'id'
[deleteCustomersCustomerCardsIdParametersPathId] :: DeleteCustomersCustomerCardsIdParameters -> Text
-- | Create a new DeleteCustomersCustomerCardsIdParameters with all
-- required fields.
mkDeleteCustomersCustomerCardsIdParameters :: Text -> Text -> DeleteCustomersCustomerCardsIdParameters
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/cards/{id}.DELETE.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data DeleteCustomersCustomerCardsIdRequestBody
DeleteCustomersCustomerCardsIdRequestBody :: Maybe [Text] -> DeleteCustomersCustomerCardsIdRequestBody
-- | expand: Specifies which fields in the response should be expanded.
[deleteCustomersCustomerCardsIdRequestBodyExpand] :: DeleteCustomersCustomerCardsIdRequestBody -> Maybe [Text]
-- | Create a new DeleteCustomersCustomerCardsIdRequestBody with all
-- required fields.
mkDeleteCustomersCustomerCardsIdRequestBody :: DeleteCustomersCustomerCardsIdRequestBody
-- | Represents a response of the operation
-- deleteCustomersCustomerCardsId.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- DeleteCustomersCustomerCardsIdResponseError is used.
data DeleteCustomersCustomerCardsIdResponse
-- | Means either no matching case available or a parse error
DeleteCustomersCustomerCardsIdResponseError :: String -> DeleteCustomersCustomerCardsIdResponse
-- | Successful response.
DeleteCustomersCustomerCardsIdResponse200 :: DeleteCustomersCustomerCardsIdResponseBody200 -> DeleteCustomersCustomerCardsIdResponse
-- | Error response.
DeleteCustomersCustomerCardsIdResponseDefault :: Error -> DeleteCustomersCustomerCardsIdResponse
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/cards/{id}.DELETE.responses.200.content.application/json.schema.anyOf.anyOf
-- in the specification.
data DeleteCustomersCustomerCardsIdResponseBody200
DeleteCustomersCustomerCardsIdResponseBody200 :: Maybe DeleteCustomersCustomerCardsIdResponseBody200Account'Variants -> Maybe Text -> Maybe Text -> Maybe SourceTypeAchCreditTransfer -> Maybe SourceTypeAchDebit -> Maybe SourceTypeAcssDebit -> Maybe Bool -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe SourceTypeAlipay -> Maybe Int -> Maybe Int -> Maybe SourceTypeAuBecsDebit -> Maybe [DeleteCustomersCustomerCardsIdResponseBody200AvailablePayoutMethods'] -> Maybe SourceTypeBancontact -> Maybe Text -> Maybe Int -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe DeleteCustomersCustomerCardsIdResponseBody200BusinessProfile' -> Maybe DeleteCustomersCustomerCardsIdResponseBody200BusinessType' -> Maybe AccountCapabilities -> Maybe SourceTypeCard -> Maybe SourceTypeCardPresent -> Maybe Bool -> Maybe Text -> Maybe SourceCodeVerificationFlow -> Maybe LegalEntityCompany -> Maybe AccountController -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe DeleteCustomersCustomerCardsIdResponseBody200Customer'Variants -> Maybe Text -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe Text -> Maybe SourceTypeEps -> Maybe Int -> Maybe Int -> Maybe DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts' -> Maybe Bool -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe SourceTypeGiropay -> Maybe Text -> Maybe SourceTypeIdeal -> Maybe Text -> Maybe Person -> Maybe SourceTypeKlarna -> Maybe Text -> Maybe Bool -> Maybe Object -> Maybe SourceTypeMultibanco -> Maybe Text -> Maybe DeleteCustomersCustomerCardsIdResponseBody200Object' -> Maybe DeleteCustomersCustomerCardsIdResponseBody200Owner' -> Maybe SourceTypeP24 -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe Bool -> Maybe SourceReceiverFlow -> Maybe DeleteCustomersCustomerCardsIdResponseBody200Recipient'Variants -> Maybe SourceRedirectFlow -> Maybe Text -> Maybe AccountRequirements -> Maybe Bool -> Maybe Text -> Maybe SourceTypeSepaDebit -> Maybe DeleteCustomersCustomerCardsIdResponseBody200Settings' -> Maybe SourceTypeSofort -> Maybe SourceOrder -> Maybe Text -> Maybe Text -> Maybe SourceTypeThreeDSecure -> Maybe Text -> Maybe AccountTosAcceptance -> Maybe DeleteCustomersCustomerCardsIdResponseBody200Transactions' -> Maybe DeleteCustomersCustomerCardsIdResponseBody200Type' -> Maybe Bool -> Maybe Text -> Maybe Bool -> Maybe Bool -> Maybe Text -> Maybe SourceTypeWechat -> DeleteCustomersCustomerCardsIdResponseBody200
-- | account: The ID of the account that the bank account is associated
-- with.
[deleteCustomersCustomerCardsIdResponseBody200Account] :: DeleteCustomersCustomerCardsIdResponseBody200 -> Maybe DeleteCustomersCustomerCardsIdResponseBody200Account'Variants
-- | account_holder_name: The name of the person or business that owns the
-- bank account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerCardsIdResponseBody200AccountHolderName] :: DeleteCustomersCustomerCardsIdResponseBody200 -> Maybe Text
-- | account_holder_type: The type of entity that holds the account. This
-- can be either `individual` or `company`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerCardsIdResponseBody200AccountHolderType] :: DeleteCustomersCustomerCardsIdResponseBody200 -> Maybe Text
-- | ach_credit_transfer
[deleteCustomersCustomerCardsIdResponseBody200AchCreditTransfer] :: DeleteCustomersCustomerCardsIdResponseBody200 -> Maybe SourceTypeAchCreditTransfer
-- | ach_debit
[deleteCustomersCustomerCardsIdResponseBody200AchDebit] :: DeleteCustomersCustomerCardsIdResponseBody200 -> Maybe SourceTypeAchDebit
-- | acss_debit
[deleteCustomersCustomerCardsIdResponseBody200AcssDebit] :: DeleteCustomersCustomerCardsIdResponseBody200 -> Maybe SourceTypeAcssDebit
-- | active: True when this bitcoin receiver has received a non-zero amount
-- of bitcoin.
[deleteCustomersCustomerCardsIdResponseBody200Active] :: DeleteCustomersCustomerCardsIdResponseBody200 -> Maybe Bool
-- | address_city: City/District/Suburb/Town/Village.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerCardsIdResponseBody200AddressCity] :: DeleteCustomersCustomerCardsIdResponseBody200 -> Maybe Text
-- | address_country: Billing address country, if provided when creating
-- card.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerCardsIdResponseBody200AddressCountry] :: DeleteCustomersCustomerCardsIdResponseBody200 -> Maybe Text
-- | address_line1: Address line 1 (Street address/PO Box/Company name).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerCardsIdResponseBody200AddressLine1] :: DeleteCustomersCustomerCardsIdResponseBody200 -> Maybe Text
-- | address_line1_check: If `address_line1` was provided, results of the
-- check: `pass`, `fail`, `unavailable`, or `unchecked`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerCardsIdResponseBody200AddressLine1Check] :: DeleteCustomersCustomerCardsIdResponseBody200 -> Maybe Text
-- | address_line2: Address line 2 (Apartment/Suite/Unit/Building).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerCardsIdResponseBody200AddressLine2] :: DeleteCustomersCustomerCardsIdResponseBody200 -> Maybe Text
-- | address_state: State/County/Province/Region.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerCardsIdResponseBody200AddressState] :: DeleteCustomersCustomerCardsIdResponseBody200 -> Maybe Text
-- | address_zip: ZIP or postal code.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerCardsIdResponseBody200AddressZip] :: DeleteCustomersCustomerCardsIdResponseBody200 -> Maybe Text
-- | address_zip_check: If `address_zip` was provided, results of the
-- check: `pass`, `fail`, `unavailable`, or `unchecked`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerCardsIdResponseBody200AddressZipCheck] :: DeleteCustomersCustomerCardsIdResponseBody200 -> Maybe Text
-- | alipay
[deleteCustomersCustomerCardsIdResponseBody200Alipay] :: DeleteCustomersCustomerCardsIdResponseBody200 -> Maybe SourceTypeAlipay
-- | amount: The amount of `currency` that you are collecting as payment.
[deleteCustomersCustomerCardsIdResponseBody200Amount] :: DeleteCustomersCustomerCardsIdResponseBody200 -> Maybe Int
-- | amount_received: The amount of `currency` to which
-- `bitcoin_amount_received` has been converted.
[deleteCustomersCustomerCardsIdResponseBody200AmountReceived] :: DeleteCustomersCustomerCardsIdResponseBody200 -> Maybe Int
-- | au_becs_debit
[deleteCustomersCustomerCardsIdResponseBody200AuBecsDebit] :: DeleteCustomersCustomerCardsIdResponseBody200 -> Maybe SourceTypeAuBecsDebit
-- | available_payout_methods: A set of available payout methods for this
-- bank account. Only values from this set should be passed as the
-- `method` when creating a payout.
[deleteCustomersCustomerCardsIdResponseBody200AvailablePayoutMethods] :: DeleteCustomersCustomerCardsIdResponseBody200 -> Maybe [DeleteCustomersCustomerCardsIdResponseBody200AvailablePayoutMethods']
-- | bancontact
[deleteCustomersCustomerCardsIdResponseBody200Bancontact] :: DeleteCustomersCustomerCardsIdResponseBody200 -> Maybe SourceTypeBancontact
-- | bank_name: Name of the bank associated with the routing number (e.g.,
-- `WELLS FARGO`).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerCardsIdResponseBody200BankName] :: DeleteCustomersCustomerCardsIdResponseBody200 -> Maybe Text
-- | bitcoin_amount: The amount of bitcoin that the customer should send to
-- fill the receiver. The `bitcoin_amount` is denominated in Satoshi:
-- there are 10^8 Satoshi in one bitcoin.
[deleteCustomersCustomerCardsIdResponseBody200BitcoinAmount] :: DeleteCustomersCustomerCardsIdResponseBody200 -> Maybe Int
-- | bitcoin_amount_received: The amount of bitcoin that has been sent by
-- the customer to this receiver.
[deleteCustomersCustomerCardsIdResponseBody200BitcoinAmountReceived] :: DeleteCustomersCustomerCardsIdResponseBody200 -> Maybe Int
-- | bitcoin_uri: This URI can be displayed to the customer as a clickable
-- link (to activate their bitcoin client) or as a QR code (for mobile
-- wallets).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerCardsIdResponseBody200BitcoinUri] :: DeleteCustomersCustomerCardsIdResponseBody200 -> Maybe Text
-- | brand: Card brand. Can be `American Express`, `Diners Club`,
-- `Discover`, `JCB`, `MasterCard`, `UnionPay`, `Visa`, or `Unknown`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerCardsIdResponseBody200Brand] :: DeleteCustomersCustomerCardsIdResponseBody200 -> Maybe Text
-- | business_profile: Business information about the account.
[deleteCustomersCustomerCardsIdResponseBody200BusinessProfile] :: DeleteCustomersCustomerCardsIdResponseBody200 -> Maybe DeleteCustomersCustomerCardsIdResponseBody200BusinessProfile'
-- | business_type: The business type.
[deleteCustomersCustomerCardsIdResponseBody200BusinessType] :: DeleteCustomersCustomerCardsIdResponseBody200 -> Maybe DeleteCustomersCustomerCardsIdResponseBody200BusinessType'
-- | capabilities:
[deleteCustomersCustomerCardsIdResponseBody200Capabilities] :: DeleteCustomersCustomerCardsIdResponseBody200 -> Maybe AccountCapabilities
-- | card
[deleteCustomersCustomerCardsIdResponseBody200Card] :: DeleteCustomersCustomerCardsIdResponseBody200 -> Maybe SourceTypeCard
-- | card_present
[deleteCustomersCustomerCardsIdResponseBody200CardPresent] :: DeleteCustomersCustomerCardsIdResponseBody200 -> Maybe SourceTypeCardPresent
-- | charges_enabled: Whether the account can create live charges.
[deleteCustomersCustomerCardsIdResponseBody200ChargesEnabled] :: DeleteCustomersCustomerCardsIdResponseBody200 -> Maybe Bool
-- | client_secret: The client secret of the source. Used for client-side
-- retrieval using a publishable key.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerCardsIdResponseBody200ClientSecret] :: DeleteCustomersCustomerCardsIdResponseBody200 -> Maybe Text
-- | code_verification:
[deleteCustomersCustomerCardsIdResponseBody200CodeVerification] :: DeleteCustomersCustomerCardsIdResponseBody200 -> Maybe SourceCodeVerificationFlow
-- | company:
[deleteCustomersCustomerCardsIdResponseBody200Company] :: DeleteCustomersCustomerCardsIdResponseBody200 -> Maybe LegalEntityCompany
-- | controller:
[deleteCustomersCustomerCardsIdResponseBody200Controller] :: DeleteCustomersCustomerCardsIdResponseBody200 -> Maybe AccountController
-- | country: The account's country.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerCardsIdResponseBody200Country] :: DeleteCustomersCustomerCardsIdResponseBody200 -> Maybe Text
-- | created: Time at which the object was created. Measured in seconds
-- since the Unix epoch.
[deleteCustomersCustomerCardsIdResponseBody200Created] :: DeleteCustomersCustomerCardsIdResponseBody200 -> Maybe Int
-- | currency: Three-letter ISO code for the currency paid out to
-- the bank account.
[deleteCustomersCustomerCardsIdResponseBody200Currency] :: DeleteCustomersCustomerCardsIdResponseBody200 -> Maybe Text
-- | customer: The ID of the customer associated with this Alipay Account.
[deleteCustomersCustomerCardsIdResponseBody200Customer] :: DeleteCustomersCustomerCardsIdResponseBody200 -> Maybe DeleteCustomersCustomerCardsIdResponseBody200Customer'Variants
-- | cvc_check: If a CVC was provided, results of the check: `pass`,
-- `fail`, `unavailable`, or `unchecked`. A result of unchecked indicates
-- that CVC was provided but hasn't been checked yet. Checks are
-- typically performed when attaching a card to a Customer object, or
-- when creating a charge. For more details, see Check if a card is
-- valid without a charge.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerCardsIdResponseBody200CvcCheck] :: DeleteCustomersCustomerCardsIdResponseBody200 -> Maybe Text
-- | default_currency: Three-letter ISO currency code representing the
-- default currency for the account. This must be a currency that
-- Stripe supports in the account's country.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerCardsIdResponseBody200DefaultCurrency] :: DeleteCustomersCustomerCardsIdResponseBody200 -> Maybe Text
-- | default_for_currency: Whether this bank account is the default
-- external account for its currency.
[deleteCustomersCustomerCardsIdResponseBody200DefaultForCurrency] :: DeleteCustomersCustomerCardsIdResponseBody200 -> Maybe Bool
-- | description: An arbitrary string attached to the object. Often useful
-- for displaying to users.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerCardsIdResponseBody200Description] :: DeleteCustomersCustomerCardsIdResponseBody200 -> Maybe Text
-- | details_submitted: Whether account details have been submitted.
-- Standard accounts cannot receive payouts before this is true.
[deleteCustomersCustomerCardsIdResponseBody200DetailsSubmitted] :: DeleteCustomersCustomerCardsIdResponseBody200 -> Maybe Bool
-- | dynamic_last4: (For tokenized numbers only.) The last four digits of
-- the device account number.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerCardsIdResponseBody200DynamicLast4] :: DeleteCustomersCustomerCardsIdResponseBody200 -> Maybe Text
-- | email: An email address associated with the account. You can treat
-- this as metadata: it is not used for authentication or messaging
-- account holders.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerCardsIdResponseBody200Email] :: DeleteCustomersCustomerCardsIdResponseBody200 -> Maybe Text
-- | eps
[deleteCustomersCustomerCardsIdResponseBody200Eps] :: DeleteCustomersCustomerCardsIdResponseBody200 -> Maybe SourceTypeEps
-- | exp_month: Two-digit number representing the card's expiration month.
[deleteCustomersCustomerCardsIdResponseBody200ExpMonth] :: DeleteCustomersCustomerCardsIdResponseBody200 -> Maybe Int
-- | exp_year: Four-digit number representing the card's expiration year.
[deleteCustomersCustomerCardsIdResponseBody200ExpYear] :: DeleteCustomersCustomerCardsIdResponseBody200 -> Maybe Int
-- | external_accounts: External accounts (bank accounts and debit cards)
-- currently attached to this account
[deleteCustomersCustomerCardsIdResponseBody200ExternalAccounts] :: DeleteCustomersCustomerCardsIdResponseBody200 -> Maybe DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'
-- | filled: This flag is initially false and updates to true when the
-- customer sends the `bitcoin_amount` to this receiver.
[deleteCustomersCustomerCardsIdResponseBody200Filled] :: DeleteCustomersCustomerCardsIdResponseBody200 -> Maybe Bool
-- | fingerprint: Uniquely identifies the account and will be the same
-- across all Alipay account objects that are linked to the same Alipay
-- account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerCardsIdResponseBody200Fingerprint] :: DeleteCustomersCustomerCardsIdResponseBody200 -> Maybe Text
-- | flow: The authentication `flow` of the source. `flow` is one of
-- `redirect`, `receiver`, `code_verification`, `none`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerCardsIdResponseBody200Flow] :: DeleteCustomersCustomerCardsIdResponseBody200 -> Maybe Text
-- | funding: Card funding type. Can be `credit`, `debit`, `prepaid`, or
-- `unknown`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerCardsIdResponseBody200Funding] :: DeleteCustomersCustomerCardsIdResponseBody200 -> Maybe Text
-- | giropay
[deleteCustomersCustomerCardsIdResponseBody200Giropay] :: DeleteCustomersCustomerCardsIdResponseBody200 -> Maybe SourceTypeGiropay
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerCardsIdResponseBody200Id] :: DeleteCustomersCustomerCardsIdResponseBody200 -> Maybe Text
-- | ideal
[deleteCustomersCustomerCardsIdResponseBody200Ideal] :: DeleteCustomersCustomerCardsIdResponseBody200 -> Maybe SourceTypeIdeal
-- | inbound_address: A bitcoin address that is specific to this receiver.
-- The customer can send bitcoin to this address to fill the receiver.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerCardsIdResponseBody200InboundAddress] :: DeleteCustomersCustomerCardsIdResponseBody200 -> Maybe Text
-- | individual: This is an object representing a person associated with a
-- Stripe account.
--
-- A platform cannot access a Standard or Express account's persons after
-- the account starts onboarding, such as after generating an account
-- link for the account. See the Standard onboarding or Express
-- onboarding documentation for information about platform
-- pre-filling and account onboarding steps.
--
-- Related guide: Handling Identity Verification with the API.
[deleteCustomersCustomerCardsIdResponseBody200Individual] :: DeleteCustomersCustomerCardsIdResponseBody200 -> Maybe Person
-- | klarna
[deleteCustomersCustomerCardsIdResponseBody200Klarna] :: DeleteCustomersCustomerCardsIdResponseBody200 -> Maybe SourceTypeKlarna
-- | last4: The last four digits of the bank account number.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerCardsIdResponseBody200Last4] :: DeleteCustomersCustomerCardsIdResponseBody200 -> Maybe Text
-- | livemode: Has the value `true` if the object exists in live mode or
-- the value `false` if the object exists in test mode.
[deleteCustomersCustomerCardsIdResponseBody200Livemode] :: DeleteCustomersCustomerCardsIdResponseBody200 -> Maybe Bool
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format.
[deleteCustomersCustomerCardsIdResponseBody200Metadata] :: DeleteCustomersCustomerCardsIdResponseBody200 -> Maybe Object
-- | multibanco
[deleteCustomersCustomerCardsIdResponseBody200Multibanco] :: DeleteCustomersCustomerCardsIdResponseBody200 -> Maybe SourceTypeMultibanco
-- | name: Cardholder name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerCardsIdResponseBody200Name] :: DeleteCustomersCustomerCardsIdResponseBody200 -> Maybe Text
-- | object: String representing the object's type. Objects of the same
-- type share the same value.
[deleteCustomersCustomerCardsIdResponseBody200Object] :: DeleteCustomersCustomerCardsIdResponseBody200 -> Maybe DeleteCustomersCustomerCardsIdResponseBody200Object'
-- | owner: Information about the owner of the payment instrument that may
-- be used or required by particular source types.
[deleteCustomersCustomerCardsIdResponseBody200Owner] :: DeleteCustomersCustomerCardsIdResponseBody200 -> Maybe DeleteCustomersCustomerCardsIdResponseBody200Owner'
-- | p24
[deleteCustomersCustomerCardsIdResponseBody200P24] :: DeleteCustomersCustomerCardsIdResponseBody200 -> Maybe SourceTypeP24
-- | payment: The ID of the payment created from the receiver, if any.
-- Hidden when viewing the receiver with a publishable key.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerCardsIdResponseBody200Payment] :: DeleteCustomersCustomerCardsIdResponseBody200 -> Maybe Text
-- | payment_amount: If the Alipay account object is not reusable, the
-- exact amount that you can create a charge for.
[deleteCustomersCustomerCardsIdResponseBody200PaymentAmount] :: DeleteCustomersCustomerCardsIdResponseBody200 -> Maybe Int
-- | payment_currency: If the Alipay account object is not reusable, the
-- exact currency that you can create a charge for.
[deleteCustomersCustomerCardsIdResponseBody200PaymentCurrency] :: DeleteCustomersCustomerCardsIdResponseBody200 -> Maybe Text
-- | payouts_enabled: Whether Stripe can send payouts to this account.
[deleteCustomersCustomerCardsIdResponseBody200PayoutsEnabled] :: DeleteCustomersCustomerCardsIdResponseBody200 -> Maybe Bool
-- | receiver:
[deleteCustomersCustomerCardsIdResponseBody200Receiver] :: DeleteCustomersCustomerCardsIdResponseBody200 -> Maybe SourceReceiverFlow
-- | recipient: 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.
[deleteCustomersCustomerCardsIdResponseBody200Recipient] :: DeleteCustomersCustomerCardsIdResponseBody200 -> Maybe DeleteCustomersCustomerCardsIdResponseBody200Recipient'Variants
-- | redirect:
[deleteCustomersCustomerCardsIdResponseBody200Redirect] :: DeleteCustomersCustomerCardsIdResponseBody200 -> Maybe SourceRedirectFlow
-- | refund_address: The refund address of this bitcoin receiver.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerCardsIdResponseBody200RefundAddress] :: DeleteCustomersCustomerCardsIdResponseBody200 -> Maybe Text
-- | requirements:
[deleteCustomersCustomerCardsIdResponseBody200Requirements] :: DeleteCustomersCustomerCardsIdResponseBody200 -> Maybe AccountRequirements
-- | reusable: True if you can create multiple payments using this account.
-- If the account is reusable, then you can freely choose the amount of
-- each payment.
[deleteCustomersCustomerCardsIdResponseBody200Reusable] :: DeleteCustomersCustomerCardsIdResponseBody200 -> Maybe Bool
-- | routing_number: The routing transit number for the bank account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerCardsIdResponseBody200RoutingNumber] :: DeleteCustomersCustomerCardsIdResponseBody200 -> Maybe Text
-- | sepa_debit
[deleteCustomersCustomerCardsIdResponseBody200SepaDebit] :: DeleteCustomersCustomerCardsIdResponseBody200 -> Maybe SourceTypeSepaDebit
-- | settings: Options for customizing how the account functions within
-- Stripe.
[deleteCustomersCustomerCardsIdResponseBody200Settings] :: DeleteCustomersCustomerCardsIdResponseBody200 -> Maybe DeleteCustomersCustomerCardsIdResponseBody200Settings'
-- | sofort
[deleteCustomersCustomerCardsIdResponseBody200Sofort] :: DeleteCustomersCustomerCardsIdResponseBody200 -> Maybe SourceTypeSofort
-- | source_order:
[deleteCustomersCustomerCardsIdResponseBody200SourceOrder] :: DeleteCustomersCustomerCardsIdResponseBody200 -> Maybe SourceOrder
-- | statement_descriptor: Extra information about a source. This will
-- appear on your customer's statement every time you charge the source.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerCardsIdResponseBody200StatementDescriptor] :: DeleteCustomersCustomerCardsIdResponseBody200 -> Maybe Text
-- | status: For bank accounts, possible values are `new`, `validated`,
-- `verified`, `verification_failed`, or `errored`. A bank account that
-- hasn't had any activity or validation performed is `new`. If Stripe
-- can determine that the bank account exists, its status will be
-- `validated`. Note that there often isn’t enough information to know
-- (e.g., for smaller credit unions), and the validation is not always
-- run. If customer bank account verification has succeeded, the bank
-- account status will be `verified`. If the verification failed for any
-- reason, such as microdeposit failure, the status will be
-- `verification_failed`. If a transfer sent to this bank account fails,
-- we'll set the status to `errored` and will not continue to send
-- transfers until the bank details are updated.
--
-- For external accounts, possible values are `new` and `errored`.
-- Validations aren't run against external accounts because they're only
-- used for payouts. This means the other statuses don't apply. If a
-- transfer fails, the status is set to `errored` and transfers are
-- stopped until account details are updated.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerCardsIdResponseBody200Status] :: DeleteCustomersCustomerCardsIdResponseBody200 -> Maybe Text
-- | three_d_secure
[deleteCustomersCustomerCardsIdResponseBody200ThreeDSecure] :: DeleteCustomersCustomerCardsIdResponseBody200 -> Maybe SourceTypeThreeDSecure
-- | tokenization_method: If the card number is tokenized, this is the
-- method that was used. Can be `android_pay` (includes Google Pay),
-- `apple_pay`, `masterpass`, `visa_checkout`, or null.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerCardsIdResponseBody200TokenizationMethod] :: DeleteCustomersCustomerCardsIdResponseBody200 -> Maybe Text
-- | tos_acceptance:
[deleteCustomersCustomerCardsIdResponseBody200TosAcceptance] :: DeleteCustomersCustomerCardsIdResponseBody200 -> Maybe AccountTosAcceptance
-- | transactions: 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.
[deleteCustomersCustomerCardsIdResponseBody200Transactions] :: DeleteCustomersCustomerCardsIdResponseBody200 -> Maybe DeleteCustomersCustomerCardsIdResponseBody200Transactions'
-- | type: The Stripe account type. Can be `standard`, `express`, or
-- `custom`.
[deleteCustomersCustomerCardsIdResponseBody200Type] :: DeleteCustomersCustomerCardsIdResponseBody200 -> Maybe DeleteCustomersCustomerCardsIdResponseBody200Type'
-- | uncaptured_funds: This receiver contains uncaptured funds that can be
-- used for a payment or refunded.
[deleteCustomersCustomerCardsIdResponseBody200UncapturedFunds] :: DeleteCustomersCustomerCardsIdResponseBody200 -> Maybe Bool
-- | usage: Either `reusable` or `single_use`. Whether this source should
-- be reusable or not. Some source types may or may not be reusable by
-- construction, while others may leave the option at creation. If an
-- incompatible value is passed, an error will be returned.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerCardsIdResponseBody200Usage] :: DeleteCustomersCustomerCardsIdResponseBody200 -> Maybe Text
-- | used: Whether this Alipay account object has ever been used for a
-- payment.
[deleteCustomersCustomerCardsIdResponseBody200Used] :: DeleteCustomersCustomerCardsIdResponseBody200 -> Maybe Bool
-- | used_for_payment: Indicate if this source is used for payment.
[deleteCustomersCustomerCardsIdResponseBody200UsedForPayment] :: DeleteCustomersCustomerCardsIdResponseBody200 -> Maybe Bool
-- | username: The username for the Alipay account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerCardsIdResponseBody200Username] :: DeleteCustomersCustomerCardsIdResponseBody200 -> Maybe Text
-- | wechat
[deleteCustomersCustomerCardsIdResponseBody200Wechat] :: DeleteCustomersCustomerCardsIdResponseBody200 -> Maybe SourceTypeWechat
-- | Create a new DeleteCustomersCustomerCardsIdResponseBody200 with
-- all required fields.
mkDeleteCustomersCustomerCardsIdResponseBody200 :: DeleteCustomersCustomerCardsIdResponseBody200
-- | Defines the oneOf schema located at
-- paths./v1/customers/{customer}/cards/{id}.DELETE.responses.200.content.application/json.schema.anyOf.anyOf.properties.account.anyOf
-- in the specification.
--
-- The ID of the account that the bank account is associated with.
data DeleteCustomersCustomerCardsIdResponseBody200Account'Variants
DeleteCustomersCustomerCardsIdResponseBody200Account'Text :: Text -> DeleteCustomersCustomerCardsIdResponseBody200Account'Variants
DeleteCustomersCustomerCardsIdResponseBody200Account'Account :: Account -> DeleteCustomersCustomerCardsIdResponseBody200Account'Variants
-- | Defines the enum schema located at
-- paths./v1/customers/{customer}/cards/{id}.DELETE.responses.200.content.application/json.schema.anyOf.anyOf.properties.available_payout_methods.items
-- in the specification.
data DeleteCustomersCustomerCardsIdResponseBody200AvailablePayoutMethods'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
DeleteCustomersCustomerCardsIdResponseBody200AvailablePayoutMethods'Other :: Value -> DeleteCustomersCustomerCardsIdResponseBody200AvailablePayoutMethods'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
DeleteCustomersCustomerCardsIdResponseBody200AvailablePayoutMethods'Typed :: Text -> DeleteCustomersCustomerCardsIdResponseBody200AvailablePayoutMethods'
-- | Represents the JSON value "instant"
DeleteCustomersCustomerCardsIdResponseBody200AvailablePayoutMethods'EnumInstant :: DeleteCustomersCustomerCardsIdResponseBody200AvailablePayoutMethods'
-- | Represents the JSON value "standard"
DeleteCustomersCustomerCardsIdResponseBody200AvailablePayoutMethods'EnumStandard :: DeleteCustomersCustomerCardsIdResponseBody200AvailablePayoutMethods'
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/cards/{id}.DELETE.responses.200.content.application/json.schema.anyOf.anyOf.properties.business_profile.anyOf
-- in the specification.
--
-- Business information about the account.
data DeleteCustomersCustomerCardsIdResponseBody200BusinessProfile'
DeleteCustomersCustomerCardsIdResponseBody200BusinessProfile' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe DeleteCustomersCustomerCardsIdResponseBody200BusinessProfile'SupportAddress' -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> DeleteCustomersCustomerCardsIdResponseBody200BusinessProfile'
-- | mcc: The merchant category code for the account. MCCs are used
-- to classify businesses based on the goods or services they provide.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerCardsIdResponseBody200BusinessProfile'Mcc] :: DeleteCustomersCustomerCardsIdResponseBody200BusinessProfile' -> Maybe Text
-- | name: The customer-facing business name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerCardsIdResponseBody200BusinessProfile'Name] :: DeleteCustomersCustomerCardsIdResponseBody200BusinessProfile' -> Maybe Text
-- | product_description: Internal-only description of the product sold or
-- service provided by the business. It's used by Stripe for risk and
-- underwriting purposes.
--
-- Constraints:
--
--
-- - Maximum length of 40000
--
[deleteCustomersCustomerCardsIdResponseBody200BusinessProfile'ProductDescription] :: DeleteCustomersCustomerCardsIdResponseBody200BusinessProfile' -> Maybe Text
-- | support_address: A publicly available mailing address for sending
-- support issues to.
[deleteCustomersCustomerCardsIdResponseBody200BusinessProfile'SupportAddress] :: DeleteCustomersCustomerCardsIdResponseBody200BusinessProfile' -> Maybe DeleteCustomersCustomerCardsIdResponseBody200BusinessProfile'SupportAddress'
-- | support_email: A publicly available email address for sending support
-- issues to.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerCardsIdResponseBody200BusinessProfile'SupportEmail] :: DeleteCustomersCustomerCardsIdResponseBody200BusinessProfile' -> Maybe Text
-- | support_phone: A publicly available phone number to call with support
-- issues.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerCardsIdResponseBody200BusinessProfile'SupportPhone] :: DeleteCustomersCustomerCardsIdResponseBody200BusinessProfile' -> Maybe Text
-- | support_url: A publicly available website for handling support issues.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerCardsIdResponseBody200BusinessProfile'SupportUrl] :: DeleteCustomersCustomerCardsIdResponseBody200BusinessProfile' -> Maybe Text
-- | url: The business's publicly available website.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerCardsIdResponseBody200BusinessProfile'Url] :: DeleteCustomersCustomerCardsIdResponseBody200BusinessProfile' -> Maybe Text
-- | Create a new
-- DeleteCustomersCustomerCardsIdResponseBody200BusinessProfile'
-- with all required fields.
mkDeleteCustomersCustomerCardsIdResponseBody200BusinessProfile' :: DeleteCustomersCustomerCardsIdResponseBody200BusinessProfile'
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/cards/{id}.DELETE.responses.200.content.application/json.schema.anyOf.anyOf.properties.business_profile.anyOf.properties.support_address.anyOf
-- in the specification.
--
-- A publicly available mailing address for sending support issues to.
data DeleteCustomersCustomerCardsIdResponseBody200BusinessProfile'SupportAddress'
DeleteCustomersCustomerCardsIdResponseBody200BusinessProfile'SupportAddress' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> DeleteCustomersCustomerCardsIdResponseBody200BusinessProfile'SupportAddress'
-- | city: City, district, suburb, town, or village.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerCardsIdResponseBody200BusinessProfile'SupportAddress'City] :: DeleteCustomersCustomerCardsIdResponseBody200BusinessProfile'SupportAddress' -> Maybe Text
-- | country: Two-letter country code ([ISO 3166-1
-- alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerCardsIdResponseBody200BusinessProfile'SupportAddress'Country] :: DeleteCustomersCustomerCardsIdResponseBody200BusinessProfile'SupportAddress' -> Maybe Text
-- | line1: Address line 1 (e.g., street, PO Box, or company name).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerCardsIdResponseBody200BusinessProfile'SupportAddress'Line1] :: DeleteCustomersCustomerCardsIdResponseBody200BusinessProfile'SupportAddress' -> Maybe Text
-- | line2: Address line 2 (e.g., apartment, suite, unit, or building).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerCardsIdResponseBody200BusinessProfile'SupportAddress'Line2] :: DeleteCustomersCustomerCardsIdResponseBody200BusinessProfile'SupportAddress' -> Maybe Text
-- | postal_code: ZIP or postal code.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerCardsIdResponseBody200BusinessProfile'SupportAddress'PostalCode] :: DeleteCustomersCustomerCardsIdResponseBody200BusinessProfile'SupportAddress' -> Maybe Text
-- | state: State, county, province, or region.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerCardsIdResponseBody200BusinessProfile'SupportAddress'State] :: DeleteCustomersCustomerCardsIdResponseBody200BusinessProfile'SupportAddress' -> Maybe Text
-- | Create a new
-- DeleteCustomersCustomerCardsIdResponseBody200BusinessProfile'SupportAddress'
-- with all required fields.
mkDeleteCustomersCustomerCardsIdResponseBody200BusinessProfile'SupportAddress' :: DeleteCustomersCustomerCardsIdResponseBody200BusinessProfile'SupportAddress'
-- | Defines the enum schema located at
-- paths./v1/customers/{customer}/cards/{id}.DELETE.responses.200.content.application/json.schema.anyOf.anyOf.properties.business_type
-- in the specification.
--
-- The business type.
data DeleteCustomersCustomerCardsIdResponseBody200BusinessType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
DeleteCustomersCustomerCardsIdResponseBody200BusinessType'Other :: Value -> DeleteCustomersCustomerCardsIdResponseBody200BusinessType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
DeleteCustomersCustomerCardsIdResponseBody200BusinessType'Typed :: Text -> DeleteCustomersCustomerCardsIdResponseBody200BusinessType'
-- | Represents the JSON value "company"
DeleteCustomersCustomerCardsIdResponseBody200BusinessType'EnumCompany :: DeleteCustomersCustomerCardsIdResponseBody200BusinessType'
-- | Represents the JSON value "government_entity"
DeleteCustomersCustomerCardsIdResponseBody200BusinessType'EnumGovernmentEntity :: DeleteCustomersCustomerCardsIdResponseBody200BusinessType'
-- | Represents the JSON value "individual"
DeleteCustomersCustomerCardsIdResponseBody200BusinessType'EnumIndividual :: DeleteCustomersCustomerCardsIdResponseBody200BusinessType'
-- | Represents the JSON value "non_profit"
DeleteCustomersCustomerCardsIdResponseBody200BusinessType'EnumNonProfit :: DeleteCustomersCustomerCardsIdResponseBody200BusinessType'
-- | Defines the oneOf schema located at
-- paths./v1/customers/{customer}/cards/{id}.DELETE.responses.200.content.application/json.schema.anyOf.anyOf.properties.customer.anyOf
-- in the specification.
--
-- The ID of the customer associated with this Alipay Account.
data DeleteCustomersCustomerCardsIdResponseBody200Customer'Variants
DeleteCustomersCustomerCardsIdResponseBody200Customer'Text :: Text -> DeleteCustomersCustomerCardsIdResponseBody200Customer'Variants
DeleteCustomersCustomerCardsIdResponseBody200Customer'Customer :: Customer -> DeleteCustomersCustomerCardsIdResponseBody200Customer'Variants
DeleteCustomersCustomerCardsIdResponseBody200Customer'DeletedCustomer :: DeletedCustomer -> DeleteCustomersCustomerCardsIdResponseBody200Customer'Variants
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/cards/{id}.DELETE.responses.200.content.application/json.schema.anyOf.anyOf.properties.external_accounts
-- in the specification.
--
-- External accounts (bank accounts and debit cards) currently attached
-- to this account
data DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'
DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts' :: [DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'] -> Bool -> Text -> DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'
-- | data: The list contains all external accounts that have been attached
-- to the Stripe account. These may be bank accounts or cards.
[deleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data] :: DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts' -> [DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data']
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[deleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'HasMore] :: DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts' -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Url] :: DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts' -> Text
-- | Create a new
-- DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'
-- with all required fields.
mkDeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts' :: [DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'] -> Bool -> Text -> DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/cards/{id}.DELETE.responses.200.content.application/json.schema.anyOf.anyOf.properties.external_accounts.properties.data.items.anyOf
-- in the specification.
data DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'
DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data' :: Maybe DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'Account'Variants -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe [DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'AvailablePayoutMethods'] -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'Customer'Variants -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe Int -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Object -> Maybe Text -> Maybe DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'Object' -> Maybe DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'Recipient'Variants -> Maybe Text -> Maybe Text -> Maybe Text -> DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'
-- | account: The ID of the account that the bank account is associated
-- with.
[deleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'Account] :: DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data' -> Maybe DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'Account'Variants
-- | account_holder_name: The name of the person or business that owns the
-- bank account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'AccountHolderName] :: DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data' -> Maybe Text
-- | account_holder_type: The type of entity that holds the account. This
-- can be either `individual` or `company`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'AccountHolderType] :: DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data' -> Maybe Text
-- | address_city: City/District/Suburb/Town/Village.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'AddressCity] :: DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data' -> Maybe Text
-- | address_country: Billing address country, if provided when creating
-- card.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'AddressCountry] :: DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data' -> Maybe Text
-- | address_line1: Address line 1 (Street address/PO Box/Company name).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'AddressLine1] :: DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data' -> Maybe Text
-- | address_line1_check: If `address_line1` was provided, results of the
-- check: `pass`, `fail`, `unavailable`, or `unchecked`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'AddressLine1Check] :: DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data' -> Maybe Text
-- | address_line2: Address line 2 (Apartment/Suite/Unit/Building).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'AddressLine2] :: DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data' -> Maybe Text
-- | address_state: State/County/Province/Region.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'AddressState] :: DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data' -> Maybe Text
-- | address_zip: ZIP or postal code.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'AddressZip] :: DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data' -> Maybe Text
-- | address_zip_check: If `address_zip` was provided, results of the
-- check: `pass`, `fail`, `unavailable`, or `unchecked`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'AddressZipCheck] :: DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data' -> Maybe Text
-- | available_payout_methods: A set of available payout methods for this
-- bank account. Only values from this set should be passed as the
-- `method` when creating a payout.
[deleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'AvailablePayoutMethods] :: DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data' -> Maybe [DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'AvailablePayoutMethods']
-- | bank_name: Name of the bank associated with the routing number (e.g.,
-- `WELLS FARGO`).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'BankName] :: DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data' -> Maybe Text
-- | brand: Card brand. Can be `American Express`, `Diners Club`,
-- `Discover`, `JCB`, `MasterCard`, `UnionPay`, `Visa`, or `Unknown`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'Brand] :: DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data' -> Maybe Text
-- | country: Two-letter ISO code representing the country the bank account
-- is located in.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'Country] :: DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data' -> Maybe Text
-- | currency: Three-letter ISO code for the currency paid out to
-- the bank account.
[deleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'Currency] :: DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data' -> Maybe Text
-- | customer: The ID of the customer that the bank account is associated
-- with.
[deleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'Customer] :: DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data' -> Maybe DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'Customer'Variants
-- | cvc_check: If a CVC was provided, results of the check: `pass`,
-- `fail`, `unavailable`, or `unchecked`. A result of unchecked indicates
-- that CVC was provided but hasn't been checked yet. Checks are
-- typically performed when attaching a card to a Customer object, or
-- when creating a charge. For more details, see Check if a card is
-- valid without a charge.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'CvcCheck] :: DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data' -> Maybe Text
-- | default_for_currency: Whether this bank account is the default
-- external account for its currency.
[deleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'DefaultForCurrency] :: DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data' -> Maybe Bool
-- | dynamic_last4: (For tokenized numbers only.) The last four digits of
-- the device account number.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'DynamicLast4] :: DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data' -> Maybe Text
-- | exp_month: Two-digit number representing the card's expiration month.
[deleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'ExpMonth] :: DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data' -> Maybe Int
-- | exp_year: Four-digit number representing the card's expiration year.
[deleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'ExpYear] :: DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data' -> Maybe Int
-- | fingerprint: Uniquely identifies this particular bank account. You can
-- use this attribute to check whether two bank accounts are the same.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'Fingerprint] :: DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data' -> Maybe Text
-- | funding: Card funding type. Can be `credit`, `debit`, `prepaid`, or
-- `unknown`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'Funding] :: DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data' -> Maybe Text
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'Id] :: DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data' -> Maybe Text
-- | last4: The last four digits of the bank account number.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'Last4] :: DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data' -> Maybe Text
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format.
[deleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'Metadata] :: DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data' -> Maybe Object
-- | name: Cardholder name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'Name] :: DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data' -> Maybe Text
-- | object: String representing the object's type. Objects of the same
-- type share the same value.
[deleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'Object] :: DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data' -> Maybe DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'Object'
-- | recipient: 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.
[deleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'Recipient] :: DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data' -> Maybe DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'Recipient'Variants
-- | routing_number: The routing transit number for the bank account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'RoutingNumber] :: DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data' -> Maybe Text
-- | status: For bank accounts, possible values are `new`, `validated`,
-- `verified`, `verification_failed`, or `errored`. A bank account that
-- hasn't had any activity or validation performed is `new`. If Stripe
-- can determine that the bank account exists, its status will be
-- `validated`. Note that there often isn’t enough information to know
-- (e.g., for smaller credit unions), and the validation is not always
-- run. If customer bank account verification has succeeded, the bank
-- account status will be `verified`. If the verification failed for any
-- reason, such as microdeposit failure, the status will be
-- `verification_failed`. If a transfer sent to this bank account fails,
-- we'll set the status to `errored` and will not continue to send
-- transfers until the bank details are updated.
--
-- For external accounts, possible values are `new` and `errored`.
-- Validations aren't run against external accounts because they're only
-- used for payouts. This means the other statuses don't apply. If a
-- transfer fails, the status is set to `errored` and transfers are
-- stopped until account details are updated.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'Status] :: DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data' -> Maybe Text
-- | tokenization_method: If the card number is tokenized, this is the
-- method that was used. Can be `android_pay` (includes Google Pay),
-- `apple_pay`, `masterpass`, `visa_checkout`, or null.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'TokenizationMethod] :: DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data' -> Maybe Text
-- | Create a new
-- DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'
-- with all required fields.
mkDeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data' :: DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'
-- | Defines the oneOf schema located at
-- paths./v1/customers/{customer}/cards/{id}.DELETE.responses.200.content.application/json.schema.anyOf.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.
data DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'Account'Variants
DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'Account'Text :: Text -> DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'Account'Variants
DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'Account'Account :: Account -> DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'Account'Variants
-- | Defines the enum schema located at
-- paths./v1/customers/{customer}/cards/{id}.DELETE.responses.200.content.application/json.schema.anyOf.anyOf.properties.external_accounts.properties.data.items.anyOf.properties.available_payout_methods.items
-- in the specification.
data DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'AvailablePayoutMethods'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'AvailablePayoutMethods'Other :: Value -> DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'AvailablePayoutMethods'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'AvailablePayoutMethods'Typed :: Text -> DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'AvailablePayoutMethods'
-- | Represents the JSON value "instant"
DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'AvailablePayoutMethods'EnumInstant :: DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'AvailablePayoutMethods'
-- | Represents the JSON value "standard"
DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'AvailablePayoutMethods'EnumStandard :: DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'AvailablePayoutMethods'
-- | Defines the oneOf schema located at
-- paths./v1/customers/{customer}/cards/{id}.DELETE.responses.200.content.application/json.schema.anyOf.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.
data DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'Customer'Variants
DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'Customer'Text :: Text -> DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'Customer'Variants
DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'Customer'Customer :: Customer -> DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'Customer'Variants
DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'Customer'DeletedCustomer :: DeletedCustomer -> DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'Customer'Variants
-- | Defines the enum schema located at
-- paths./v1/customers/{customer}/cards/{id}.DELETE.responses.200.content.application/json.schema.anyOf.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.
data DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'Object'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'Object'Other :: Value -> DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'Object'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'Object'Typed :: Text -> DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'Object'
-- | Represents the JSON value "bank_account"
DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'Object'EnumBankAccount :: DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'Object'
-- | Defines the oneOf schema located at
-- paths./v1/customers/{customer}/cards/{id}.DELETE.responses.200.content.application/json.schema.anyOf.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.
data DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'Recipient'Variants
DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'Recipient'Text :: Text -> DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'Recipient'Variants
DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'Recipient'Recipient :: Recipient -> DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'Recipient'Variants
-- | Defines the enum schema located at
-- paths./v1/customers/{customer}/cards/{id}.DELETE.responses.200.content.application/json.schema.anyOf.anyOf.properties.object
-- in the specification.
--
-- String representing the object's type. Objects of the same type share
-- the same value.
data DeleteCustomersCustomerCardsIdResponseBody200Object'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
DeleteCustomersCustomerCardsIdResponseBody200Object'Other :: Value -> DeleteCustomersCustomerCardsIdResponseBody200Object'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
DeleteCustomersCustomerCardsIdResponseBody200Object'Typed :: Text -> DeleteCustomersCustomerCardsIdResponseBody200Object'
-- | Represents the JSON value "account"
DeleteCustomersCustomerCardsIdResponseBody200Object'EnumAccount :: DeleteCustomersCustomerCardsIdResponseBody200Object'
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/cards/{id}.DELETE.responses.200.content.application/json.schema.anyOf.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.
data DeleteCustomersCustomerCardsIdResponseBody200Owner'
DeleteCustomersCustomerCardsIdResponseBody200Owner' :: Maybe DeleteCustomersCustomerCardsIdResponseBody200Owner'Address' -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe DeleteCustomersCustomerCardsIdResponseBody200Owner'VerifiedAddress' -> Maybe Text -> Maybe Text -> Maybe Text -> DeleteCustomersCustomerCardsIdResponseBody200Owner'
-- | address: Owner's address.
[deleteCustomersCustomerCardsIdResponseBody200Owner'Address] :: DeleteCustomersCustomerCardsIdResponseBody200Owner' -> Maybe DeleteCustomersCustomerCardsIdResponseBody200Owner'Address'
-- | email: Owner's email address.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerCardsIdResponseBody200Owner'Email] :: DeleteCustomersCustomerCardsIdResponseBody200Owner' -> Maybe Text
-- | name: Owner's full name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerCardsIdResponseBody200Owner'Name] :: DeleteCustomersCustomerCardsIdResponseBody200Owner' -> Maybe Text
-- | phone: Owner's phone number (including extension).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerCardsIdResponseBody200Owner'Phone] :: DeleteCustomersCustomerCardsIdResponseBody200Owner' -> Maybe Text
-- | verified_address: 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.
[deleteCustomersCustomerCardsIdResponseBody200Owner'VerifiedAddress] :: DeleteCustomersCustomerCardsIdResponseBody200Owner' -> Maybe DeleteCustomersCustomerCardsIdResponseBody200Owner'VerifiedAddress'
-- | verified_email: Verified owner's email 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.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerCardsIdResponseBody200Owner'VerifiedEmail] :: DeleteCustomersCustomerCardsIdResponseBody200Owner' -> Maybe Text
-- | verified_name: Verified owner's full name. 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.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerCardsIdResponseBody200Owner'VerifiedName] :: DeleteCustomersCustomerCardsIdResponseBody200Owner' -> Maybe Text
-- | verified_phone: Verified owner's phone number (including extension).
-- 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.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerCardsIdResponseBody200Owner'VerifiedPhone] :: DeleteCustomersCustomerCardsIdResponseBody200Owner' -> Maybe Text
-- | Create a new
-- DeleteCustomersCustomerCardsIdResponseBody200Owner' with all
-- required fields.
mkDeleteCustomersCustomerCardsIdResponseBody200Owner' :: DeleteCustomersCustomerCardsIdResponseBody200Owner'
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/cards/{id}.DELETE.responses.200.content.application/json.schema.anyOf.anyOf.properties.owner.anyOf.properties.address.anyOf
-- in the specification.
--
-- Owner\'s address.
data DeleteCustomersCustomerCardsIdResponseBody200Owner'Address'
DeleteCustomersCustomerCardsIdResponseBody200Owner'Address' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> DeleteCustomersCustomerCardsIdResponseBody200Owner'Address'
-- | city: City, district, suburb, town, or village.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerCardsIdResponseBody200Owner'Address'City] :: DeleteCustomersCustomerCardsIdResponseBody200Owner'Address' -> Maybe Text
-- | country: Two-letter country code ([ISO 3166-1
-- alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerCardsIdResponseBody200Owner'Address'Country] :: DeleteCustomersCustomerCardsIdResponseBody200Owner'Address' -> Maybe Text
-- | line1: Address line 1 (e.g., street, PO Box, or company name).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerCardsIdResponseBody200Owner'Address'Line1] :: DeleteCustomersCustomerCardsIdResponseBody200Owner'Address' -> Maybe Text
-- | line2: Address line 2 (e.g., apartment, suite, unit, or building).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerCardsIdResponseBody200Owner'Address'Line2] :: DeleteCustomersCustomerCardsIdResponseBody200Owner'Address' -> Maybe Text
-- | postal_code: ZIP or postal code.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerCardsIdResponseBody200Owner'Address'PostalCode] :: DeleteCustomersCustomerCardsIdResponseBody200Owner'Address' -> Maybe Text
-- | state: State, county, province, or region.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerCardsIdResponseBody200Owner'Address'State] :: DeleteCustomersCustomerCardsIdResponseBody200Owner'Address' -> Maybe Text
-- | Create a new
-- DeleteCustomersCustomerCardsIdResponseBody200Owner'Address'
-- with all required fields.
mkDeleteCustomersCustomerCardsIdResponseBody200Owner'Address' :: DeleteCustomersCustomerCardsIdResponseBody200Owner'Address'
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/cards/{id}.DELETE.responses.200.content.application/json.schema.anyOf.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.
data DeleteCustomersCustomerCardsIdResponseBody200Owner'VerifiedAddress'
DeleteCustomersCustomerCardsIdResponseBody200Owner'VerifiedAddress' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> DeleteCustomersCustomerCardsIdResponseBody200Owner'VerifiedAddress'
-- | city: City, district, suburb, town, or village.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerCardsIdResponseBody200Owner'VerifiedAddress'City] :: DeleteCustomersCustomerCardsIdResponseBody200Owner'VerifiedAddress' -> Maybe Text
-- | country: Two-letter country code ([ISO 3166-1
-- alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerCardsIdResponseBody200Owner'VerifiedAddress'Country] :: DeleteCustomersCustomerCardsIdResponseBody200Owner'VerifiedAddress' -> Maybe Text
-- | line1: Address line 1 (e.g., street, PO Box, or company name).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerCardsIdResponseBody200Owner'VerifiedAddress'Line1] :: DeleteCustomersCustomerCardsIdResponseBody200Owner'VerifiedAddress' -> Maybe Text
-- | line2: Address line 2 (e.g., apartment, suite, unit, or building).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerCardsIdResponseBody200Owner'VerifiedAddress'Line2] :: DeleteCustomersCustomerCardsIdResponseBody200Owner'VerifiedAddress' -> Maybe Text
-- | postal_code: ZIP or postal code.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerCardsIdResponseBody200Owner'VerifiedAddress'PostalCode] :: DeleteCustomersCustomerCardsIdResponseBody200Owner'VerifiedAddress' -> Maybe Text
-- | state: State, county, province, or region.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerCardsIdResponseBody200Owner'VerifiedAddress'State] :: DeleteCustomersCustomerCardsIdResponseBody200Owner'VerifiedAddress' -> Maybe Text
-- | Create a new
-- DeleteCustomersCustomerCardsIdResponseBody200Owner'VerifiedAddress'
-- with all required fields.
mkDeleteCustomersCustomerCardsIdResponseBody200Owner'VerifiedAddress' :: DeleteCustomersCustomerCardsIdResponseBody200Owner'VerifiedAddress'
-- | Defines the oneOf schema located at
-- paths./v1/customers/{customer}/cards/{id}.DELETE.responses.200.content.application/json.schema.anyOf.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 DeleteCustomersCustomerCardsIdResponseBody200Recipient'Variants
DeleteCustomersCustomerCardsIdResponseBody200Recipient'Text :: Text -> DeleteCustomersCustomerCardsIdResponseBody200Recipient'Variants
DeleteCustomersCustomerCardsIdResponseBody200Recipient'Recipient :: Recipient -> DeleteCustomersCustomerCardsIdResponseBody200Recipient'Variants
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/cards/{id}.DELETE.responses.200.content.application/json.schema.anyOf.anyOf.properties.settings.anyOf
-- in the specification.
--
-- Options for customizing how the account functions within Stripe.
data DeleteCustomersCustomerCardsIdResponseBody200Settings'
DeleteCustomersCustomerCardsIdResponseBody200Settings' :: Maybe AccountBacsDebitPaymentsSettings -> Maybe AccountBrandingSettings -> Maybe AccountCardIssuingSettings -> Maybe AccountCardPaymentsSettings -> Maybe AccountDashboardSettings -> Maybe AccountPaymentsSettings -> Maybe AccountPayoutSettings -> Maybe AccountSepaDebitPaymentsSettings -> DeleteCustomersCustomerCardsIdResponseBody200Settings'
-- | bacs_debit_payments:
[deleteCustomersCustomerCardsIdResponseBody200Settings'BacsDebitPayments] :: DeleteCustomersCustomerCardsIdResponseBody200Settings' -> Maybe AccountBacsDebitPaymentsSettings
-- | branding:
[deleteCustomersCustomerCardsIdResponseBody200Settings'Branding] :: DeleteCustomersCustomerCardsIdResponseBody200Settings' -> Maybe AccountBrandingSettings
-- | card_issuing:
[deleteCustomersCustomerCardsIdResponseBody200Settings'CardIssuing] :: DeleteCustomersCustomerCardsIdResponseBody200Settings' -> Maybe AccountCardIssuingSettings
-- | card_payments:
[deleteCustomersCustomerCardsIdResponseBody200Settings'CardPayments] :: DeleteCustomersCustomerCardsIdResponseBody200Settings' -> Maybe AccountCardPaymentsSettings
-- | dashboard:
[deleteCustomersCustomerCardsIdResponseBody200Settings'Dashboard] :: DeleteCustomersCustomerCardsIdResponseBody200Settings' -> Maybe AccountDashboardSettings
-- | payments:
[deleteCustomersCustomerCardsIdResponseBody200Settings'Payments] :: DeleteCustomersCustomerCardsIdResponseBody200Settings' -> Maybe AccountPaymentsSettings
-- | payouts:
[deleteCustomersCustomerCardsIdResponseBody200Settings'Payouts] :: DeleteCustomersCustomerCardsIdResponseBody200Settings' -> Maybe AccountPayoutSettings
-- | sepa_debit_payments:
[deleteCustomersCustomerCardsIdResponseBody200Settings'SepaDebitPayments] :: DeleteCustomersCustomerCardsIdResponseBody200Settings' -> Maybe AccountSepaDebitPaymentsSettings
-- | Create a new
-- DeleteCustomersCustomerCardsIdResponseBody200Settings' with all
-- required fields.
mkDeleteCustomersCustomerCardsIdResponseBody200Settings' :: DeleteCustomersCustomerCardsIdResponseBody200Settings'
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/cards/{id}.DELETE.responses.200.content.application/json.schema.anyOf.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.
data DeleteCustomersCustomerCardsIdResponseBody200Transactions'
DeleteCustomersCustomerCardsIdResponseBody200Transactions' :: [BitcoinTransaction] -> Bool -> Text -> DeleteCustomersCustomerCardsIdResponseBody200Transactions'
-- | data: Details about each object.
[deleteCustomersCustomerCardsIdResponseBody200Transactions'Data] :: DeleteCustomersCustomerCardsIdResponseBody200Transactions' -> [BitcoinTransaction]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[deleteCustomersCustomerCardsIdResponseBody200Transactions'HasMore] :: DeleteCustomersCustomerCardsIdResponseBody200Transactions' -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerCardsIdResponseBody200Transactions'Url] :: DeleteCustomersCustomerCardsIdResponseBody200Transactions' -> Text
-- | Create a new
-- DeleteCustomersCustomerCardsIdResponseBody200Transactions' with
-- all required fields.
mkDeleteCustomersCustomerCardsIdResponseBody200Transactions' :: [BitcoinTransaction] -> Bool -> Text -> DeleteCustomersCustomerCardsIdResponseBody200Transactions'
-- | Defines the enum schema located at
-- paths./v1/customers/{customer}/cards/{id}.DELETE.responses.200.content.application/json.schema.anyOf.anyOf.properties.type
-- in the specification.
--
-- The Stripe account type. Can be `standard`, `express`, or `custom`.
data DeleteCustomersCustomerCardsIdResponseBody200Type'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
DeleteCustomersCustomerCardsIdResponseBody200Type'Other :: Value -> DeleteCustomersCustomerCardsIdResponseBody200Type'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
DeleteCustomersCustomerCardsIdResponseBody200Type'Typed :: Text -> DeleteCustomersCustomerCardsIdResponseBody200Type'
-- | Represents the JSON value "custom"
DeleteCustomersCustomerCardsIdResponseBody200Type'EnumCustom :: DeleteCustomersCustomerCardsIdResponseBody200Type'
-- | Represents the JSON value "express"
DeleteCustomersCustomerCardsIdResponseBody200Type'EnumExpress :: DeleteCustomersCustomerCardsIdResponseBody200Type'
-- | Represents the JSON value "standard"
DeleteCustomersCustomerCardsIdResponseBody200Type'EnumStandard :: DeleteCustomersCustomerCardsIdResponseBody200Type'
instance GHC.Classes.Eq StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdParameters
instance GHC.Show.Show StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdParameters
instance GHC.Classes.Eq StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdRequestBody
instance GHC.Show.Show StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdResponseBody200Account'Variants
instance GHC.Show.Show StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdResponseBody200Account'Variants
instance GHC.Classes.Eq StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdResponseBody200AvailablePayoutMethods'
instance GHC.Show.Show StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdResponseBody200AvailablePayoutMethods'
instance GHC.Classes.Eq StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdResponseBody200BusinessProfile'SupportAddress'
instance GHC.Show.Show StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdResponseBody200BusinessProfile'SupportAddress'
instance GHC.Classes.Eq StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdResponseBody200BusinessProfile'
instance GHC.Show.Show StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdResponseBody200BusinessProfile'
instance GHC.Classes.Eq StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdResponseBody200BusinessType'
instance GHC.Show.Show StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdResponseBody200BusinessType'
instance GHC.Classes.Eq StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdResponseBody200Customer'Variants
instance GHC.Show.Show StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdResponseBody200Customer'Variants
instance GHC.Classes.Eq StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'Account'Variants
instance GHC.Show.Show StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'Account'Variants
instance GHC.Classes.Eq StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'AvailablePayoutMethods'
instance GHC.Show.Show StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'AvailablePayoutMethods'
instance GHC.Classes.Eq StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'Customer'Variants
instance GHC.Show.Show StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'Customer'Variants
instance GHC.Classes.Eq StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'Object'
instance GHC.Show.Show StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'Object'
instance GHC.Classes.Eq StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'Recipient'Variants
instance GHC.Show.Show StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'Recipient'Variants
instance GHC.Classes.Eq StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'
instance GHC.Show.Show StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'
instance GHC.Classes.Eq StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'
instance GHC.Show.Show StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'
instance GHC.Classes.Eq StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdResponseBody200Object'
instance GHC.Show.Show StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdResponseBody200Object'
instance GHC.Classes.Eq StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdResponseBody200Owner'Address'
instance GHC.Show.Show StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdResponseBody200Owner'Address'
instance GHC.Classes.Eq StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdResponseBody200Owner'VerifiedAddress'
instance GHC.Show.Show StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdResponseBody200Owner'VerifiedAddress'
instance GHC.Classes.Eq StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdResponseBody200Owner'
instance GHC.Show.Show StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdResponseBody200Owner'
instance GHC.Classes.Eq StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdResponseBody200Recipient'Variants
instance GHC.Show.Show StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdResponseBody200Recipient'Variants
instance GHC.Classes.Eq StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdResponseBody200Settings'
instance GHC.Show.Show StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdResponseBody200Settings'
instance GHC.Classes.Eq StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdResponseBody200Transactions'
instance GHC.Show.Show StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdResponseBody200Transactions'
instance GHC.Classes.Eq StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdResponseBody200Type'
instance GHC.Show.Show StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdResponseBody200Type'
instance GHC.Classes.Eq StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdResponseBody200
instance GHC.Show.Show StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdResponse
instance GHC.Show.Show StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdResponseBody200
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdResponseBody200
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdResponseBody200Type'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdResponseBody200Type'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdResponseBody200Transactions'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdResponseBody200Transactions'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdResponseBody200Settings'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdResponseBody200Settings'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdResponseBody200Recipient'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdResponseBody200Recipient'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdResponseBody200Owner'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdResponseBody200Owner'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdResponseBody200Owner'VerifiedAddress'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdResponseBody200Owner'VerifiedAddress'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdResponseBody200Owner'Address'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdResponseBody200Owner'Address'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdResponseBody200Object'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdResponseBody200Object'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'Recipient'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'Recipient'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'Object'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'Object'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'Customer'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'Customer'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'AvailablePayoutMethods'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'AvailablePayoutMethods'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'Account'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdResponseBody200ExternalAccounts'Data'Account'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdResponseBody200Customer'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdResponseBody200Customer'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdResponseBody200BusinessType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdResponseBody200BusinessType'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdResponseBody200BusinessProfile'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdResponseBody200BusinessProfile'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdResponseBody200BusinessProfile'SupportAddress'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdResponseBody200BusinessProfile'SupportAddress'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdResponseBody200AvailablePayoutMethods'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdResponseBody200AvailablePayoutMethods'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdResponseBody200Account'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdResponseBody200Account'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.DeleteCustomersCustomerCardsId.DeleteCustomersCustomerCardsIdParameters
-- | Contains the different functions to run the operation
-- deleteCustomersCustomerBankAccountsId
module StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId
-- |
-- DELETE /v1/customers/{customer}/bank_accounts/{id}
--
--
-- <p>Delete a specified source for a given customer.</p>
deleteCustomersCustomerBankAccountsId :: forall m. MonadHTTP m => DeleteCustomersCustomerBankAccountsIdParameters -> Maybe DeleteCustomersCustomerBankAccountsIdRequestBody -> ClientT m (Response DeleteCustomersCustomerBankAccountsIdResponse)
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/bank_accounts/{id}.DELETE.parameters
-- in the specification.
data DeleteCustomersCustomerBankAccountsIdParameters
DeleteCustomersCustomerBankAccountsIdParameters :: Text -> Text -> DeleteCustomersCustomerBankAccountsIdParameters
-- | pathCustomer: Represents the parameter named 'customer'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerBankAccountsIdParametersPathCustomer] :: DeleteCustomersCustomerBankAccountsIdParameters -> Text
-- | pathId: Represents the parameter named 'id'
[deleteCustomersCustomerBankAccountsIdParametersPathId] :: DeleteCustomersCustomerBankAccountsIdParameters -> Text
-- | Create a new DeleteCustomersCustomerBankAccountsIdParameters
-- with all required fields.
mkDeleteCustomersCustomerBankAccountsIdParameters :: Text -> Text -> DeleteCustomersCustomerBankAccountsIdParameters
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/bank_accounts/{id}.DELETE.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data DeleteCustomersCustomerBankAccountsIdRequestBody
DeleteCustomersCustomerBankAccountsIdRequestBody :: Maybe [Text] -> DeleteCustomersCustomerBankAccountsIdRequestBody
-- | expand: Specifies which fields in the response should be expanded.
[deleteCustomersCustomerBankAccountsIdRequestBodyExpand] :: DeleteCustomersCustomerBankAccountsIdRequestBody -> Maybe [Text]
-- | Create a new DeleteCustomersCustomerBankAccountsIdRequestBody
-- with all required fields.
mkDeleteCustomersCustomerBankAccountsIdRequestBody :: DeleteCustomersCustomerBankAccountsIdRequestBody
-- | Represents a response of the operation
-- deleteCustomersCustomerBankAccountsId.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- DeleteCustomersCustomerBankAccountsIdResponseError is used.
data DeleteCustomersCustomerBankAccountsIdResponse
-- | Means either no matching case available or a parse error
DeleteCustomersCustomerBankAccountsIdResponseError :: String -> DeleteCustomersCustomerBankAccountsIdResponse
-- | Successful response.
DeleteCustomersCustomerBankAccountsIdResponse200 :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> DeleteCustomersCustomerBankAccountsIdResponse
-- | Error response.
DeleteCustomersCustomerBankAccountsIdResponseDefault :: Error -> DeleteCustomersCustomerBankAccountsIdResponse
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/bank_accounts/{id}.DELETE.responses.200.content.application/json.schema.anyOf.anyOf
-- in the specification.
data DeleteCustomersCustomerBankAccountsIdResponseBody200
DeleteCustomersCustomerBankAccountsIdResponseBody200 :: Maybe DeleteCustomersCustomerBankAccountsIdResponseBody200Account'Variants -> Maybe Text -> Maybe Text -> Maybe SourceTypeAchCreditTransfer -> Maybe SourceTypeAchDebit -> Maybe SourceTypeAcssDebit -> Maybe Bool -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe SourceTypeAlipay -> Maybe Int -> Maybe Int -> Maybe SourceTypeAuBecsDebit -> Maybe [DeleteCustomersCustomerBankAccountsIdResponseBody200AvailablePayoutMethods'] -> Maybe SourceTypeBancontact -> Maybe Text -> Maybe Int -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe DeleteCustomersCustomerBankAccountsIdResponseBody200BusinessProfile' -> Maybe DeleteCustomersCustomerBankAccountsIdResponseBody200BusinessType' -> Maybe AccountCapabilities -> Maybe SourceTypeCard -> Maybe SourceTypeCardPresent -> Maybe Bool -> Maybe Text -> Maybe SourceCodeVerificationFlow -> Maybe LegalEntityCompany -> Maybe AccountController -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe DeleteCustomersCustomerBankAccountsIdResponseBody200Customer'Variants -> Maybe Text -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe Text -> Maybe SourceTypeEps -> Maybe Int -> Maybe Int -> Maybe DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts' -> Maybe Bool -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe SourceTypeGiropay -> Maybe Text -> Maybe SourceTypeIdeal -> Maybe Text -> Maybe Person -> Maybe SourceTypeKlarna -> Maybe Text -> Maybe Bool -> Maybe Object -> Maybe SourceTypeMultibanco -> Maybe Text -> Maybe DeleteCustomersCustomerBankAccountsIdResponseBody200Object' -> Maybe DeleteCustomersCustomerBankAccountsIdResponseBody200Owner' -> Maybe SourceTypeP24 -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe Bool -> Maybe SourceReceiverFlow -> Maybe DeleteCustomersCustomerBankAccountsIdResponseBody200Recipient'Variants -> Maybe SourceRedirectFlow -> Maybe Text -> Maybe AccountRequirements -> Maybe Bool -> Maybe Text -> Maybe SourceTypeSepaDebit -> Maybe DeleteCustomersCustomerBankAccountsIdResponseBody200Settings' -> Maybe SourceTypeSofort -> Maybe SourceOrder -> Maybe Text -> Maybe Text -> Maybe SourceTypeThreeDSecure -> Maybe Text -> Maybe AccountTosAcceptance -> Maybe DeleteCustomersCustomerBankAccountsIdResponseBody200Transactions' -> Maybe DeleteCustomersCustomerBankAccountsIdResponseBody200Type' -> Maybe Bool -> Maybe Text -> Maybe Bool -> Maybe Bool -> Maybe Text -> Maybe SourceTypeWechat -> DeleteCustomersCustomerBankAccountsIdResponseBody200
-- | account: The ID of the account that the bank account is associated
-- with.
[deleteCustomersCustomerBankAccountsIdResponseBody200Account] :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> Maybe DeleteCustomersCustomerBankAccountsIdResponseBody200Account'Variants
-- | account_holder_name: The name of the person or business that owns the
-- bank account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerBankAccountsIdResponseBody200AccountHolderName] :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> Maybe Text
-- | account_holder_type: The type of entity that holds the account. This
-- can be either `individual` or `company`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerBankAccountsIdResponseBody200AccountHolderType] :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> Maybe Text
-- | ach_credit_transfer
[deleteCustomersCustomerBankAccountsIdResponseBody200AchCreditTransfer] :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> Maybe SourceTypeAchCreditTransfer
-- | ach_debit
[deleteCustomersCustomerBankAccountsIdResponseBody200AchDebit] :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> Maybe SourceTypeAchDebit
-- | acss_debit
[deleteCustomersCustomerBankAccountsIdResponseBody200AcssDebit] :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> Maybe SourceTypeAcssDebit
-- | active: True when this bitcoin receiver has received a non-zero amount
-- of bitcoin.
[deleteCustomersCustomerBankAccountsIdResponseBody200Active] :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> Maybe Bool
-- | address_city: City/District/Suburb/Town/Village.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerBankAccountsIdResponseBody200AddressCity] :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> Maybe Text
-- | address_country: Billing address country, if provided when creating
-- card.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerBankAccountsIdResponseBody200AddressCountry] :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> Maybe Text
-- | address_line1: Address line 1 (Street address/PO Box/Company name).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerBankAccountsIdResponseBody200AddressLine1] :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> Maybe Text
-- | address_line1_check: If `address_line1` was provided, results of the
-- check: `pass`, `fail`, `unavailable`, or `unchecked`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerBankAccountsIdResponseBody200AddressLine1Check] :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> Maybe Text
-- | address_line2: Address line 2 (Apartment/Suite/Unit/Building).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerBankAccountsIdResponseBody200AddressLine2] :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> Maybe Text
-- | address_state: State/County/Province/Region.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerBankAccountsIdResponseBody200AddressState] :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> Maybe Text
-- | address_zip: ZIP or postal code.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerBankAccountsIdResponseBody200AddressZip] :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> Maybe Text
-- | address_zip_check: If `address_zip` was provided, results of the
-- check: `pass`, `fail`, `unavailable`, or `unchecked`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerBankAccountsIdResponseBody200AddressZipCheck] :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> Maybe Text
-- | alipay
[deleteCustomersCustomerBankAccountsIdResponseBody200Alipay] :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> Maybe SourceTypeAlipay
-- | amount: The amount of `currency` that you are collecting as payment.
[deleteCustomersCustomerBankAccountsIdResponseBody200Amount] :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> Maybe Int
-- | amount_received: The amount of `currency` to which
-- `bitcoin_amount_received` has been converted.
[deleteCustomersCustomerBankAccountsIdResponseBody200AmountReceived] :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> Maybe Int
-- | au_becs_debit
[deleteCustomersCustomerBankAccountsIdResponseBody200AuBecsDebit] :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> Maybe SourceTypeAuBecsDebit
-- | available_payout_methods: A set of available payout methods for this
-- bank account. Only values from this set should be passed as the
-- `method` when creating a payout.
[deleteCustomersCustomerBankAccountsIdResponseBody200AvailablePayoutMethods] :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> Maybe [DeleteCustomersCustomerBankAccountsIdResponseBody200AvailablePayoutMethods']
-- | bancontact
[deleteCustomersCustomerBankAccountsIdResponseBody200Bancontact] :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> Maybe SourceTypeBancontact
-- | bank_name: Name of the bank associated with the routing number (e.g.,
-- `WELLS FARGO`).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerBankAccountsIdResponseBody200BankName] :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> Maybe Text
-- | bitcoin_amount: The amount of bitcoin that the customer should send to
-- fill the receiver. The `bitcoin_amount` is denominated in Satoshi:
-- there are 10^8 Satoshi in one bitcoin.
[deleteCustomersCustomerBankAccountsIdResponseBody200BitcoinAmount] :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> Maybe Int
-- | bitcoin_amount_received: The amount of bitcoin that has been sent by
-- the customer to this receiver.
[deleteCustomersCustomerBankAccountsIdResponseBody200BitcoinAmountReceived] :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> Maybe Int
-- | bitcoin_uri: This URI can be displayed to the customer as a clickable
-- link (to activate their bitcoin client) or as a QR code (for mobile
-- wallets).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerBankAccountsIdResponseBody200BitcoinUri] :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> Maybe Text
-- | brand: Card brand. Can be `American Express`, `Diners Club`,
-- `Discover`, `JCB`, `MasterCard`, `UnionPay`, `Visa`, or `Unknown`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerBankAccountsIdResponseBody200Brand] :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> Maybe Text
-- | business_profile: Business information about the account.
[deleteCustomersCustomerBankAccountsIdResponseBody200BusinessProfile] :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> Maybe DeleteCustomersCustomerBankAccountsIdResponseBody200BusinessProfile'
-- | business_type: The business type.
[deleteCustomersCustomerBankAccountsIdResponseBody200BusinessType] :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> Maybe DeleteCustomersCustomerBankAccountsIdResponseBody200BusinessType'
-- | capabilities:
[deleteCustomersCustomerBankAccountsIdResponseBody200Capabilities] :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> Maybe AccountCapabilities
-- | card
[deleteCustomersCustomerBankAccountsIdResponseBody200Card] :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> Maybe SourceTypeCard
-- | card_present
[deleteCustomersCustomerBankAccountsIdResponseBody200CardPresent] :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> Maybe SourceTypeCardPresent
-- | charges_enabled: Whether the account can create live charges.
[deleteCustomersCustomerBankAccountsIdResponseBody200ChargesEnabled] :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> Maybe Bool
-- | client_secret: The client secret of the source. Used for client-side
-- retrieval using a publishable key.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerBankAccountsIdResponseBody200ClientSecret] :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> Maybe Text
-- | code_verification:
[deleteCustomersCustomerBankAccountsIdResponseBody200CodeVerification] :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> Maybe SourceCodeVerificationFlow
-- | company:
[deleteCustomersCustomerBankAccountsIdResponseBody200Company] :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> Maybe LegalEntityCompany
-- | controller:
[deleteCustomersCustomerBankAccountsIdResponseBody200Controller] :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> Maybe AccountController
-- | country: The account's country.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerBankAccountsIdResponseBody200Country] :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> Maybe Text
-- | created: Time at which the object was created. Measured in seconds
-- since the Unix epoch.
[deleteCustomersCustomerBankAccountsIdResponseBody200Created] :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> Maybe Int
-- | currency: Three-letter ISO code for the currency paid out to
-- the bank account.
[deleteCustomersCustomerBankAccountsIdResponseBody200Currency] :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> Maybe Text
-- | customer: The ID of the customer associated with this Alipay Account.
[deleteCustomersCustomerBankAccountsIdResponseBody200Customer] :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> Maybe DeleteCustomersCustomerBankAccountsIdResponseBody200Customer'Variants
-- | cvc_check: If a CVC was provided, results of the check: `pass`,
-- `fail`, `unavailable`, or `unchecked`. A result of unchecked indicates
-- that CVC was provided but hasn't been checked yet. Checks are
-- typically performed when attaching a card to a Customer object, or
-- when creating a charge. For more details, see Check if a card is
-- valid without a charge.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerBankAccountsIdResponseBody200CvcCheck] :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> Maybe Text
-- | default_currency: Three-letter ISO currency code representing the
-- default currency for the account. This must be a currency that
-- Stripe supports in the account's country.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerBankAccountsIdResponseBody200DefaultCurrency] :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> Maybe Text
-- | default_for_currency: Whether this bank account is the default
-- external account for its currency.
[deleteCustomersCustomerBankAccountsIdResponseBody200DefaultForCurrency] :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> Maybe Bool
-- | description: An arbitrary string attached to the object. Often useful
-- for displaying to users.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerBankAccountsIdResponseBody200Description] :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> Maybe Text
-- | details_submitted: Whether account details have been submitted.
-- Standard accounts cannot receive payouts before this is true.
[deleteCustomersCustomerBankAccountsIdResponseBody200DetailsSubmitted] :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> Maybe Bool
-- | dynamic_last4: (For tokenized numbers only.) The last four digits of
-- the device account number.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerBankAccountsIdResponseBody200DynamicLast4] :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> Maybe Text
-- | email: An email address associated with the account. You can treat
-- this as metadata: it is not used for authentication or messaging
-- account holders.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerBankAccountsIdResponseBody200Email] :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> Maybe Text
-- | eps
[deleteCustomersCustomerBankAccountsIdResponseBody200Eps] :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> Maybe SourceTypeEps
-- | exp_month: Two-digit number representing the card's expiration month.
[deleteCustomersCustomerBankAccountsIdResponseBody200ExpMonth] :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> Maybe Int
-- | exp_year: Four-digit number representing the card's expiration year.
[deleteCustomersCustomerBankAccountsIdResponseBody200ExpYear] :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> Maybe Int
-- | external_accounts: External accounts (bank accounts and debit cards)
-- currently attached to this account
[deleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts] :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> Maybe DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'
-- | filled: This flag is initially false and updates to true when the
-- customer sends the `bitcoin_amount` to this receiver.
[deleteCustomersCustomerBankAccountsIdResponseBody200Filled] :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> Maybe Bool
-- | fingerprint: Uniquely identifies the account and will be the same
-- across all Alipay account objects that are linked to the same Alipay
-- account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerBankAccountsIdResponseBody200Fingerprint] :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> Maybe Text
-- | flow: The authentication `flow` of the source. `flow` is one of
-- `redirect`, `receiver`, `code_verification`, `none`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerBankAccountsIdResponseBody200Flow] :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> Maybe Text
-- | funding: Card funding type. Can be `credit`, `debit`, `prepaid`, or
-- `unknown`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerBankAccountsIdResponseBody200Funding] :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> Maybe Text
-- | giropay
[deleteCustomersCustomerBankAccountsIdResponseBody200Giropay] :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> Maybe SourceTypeGiropay
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerBankAccountsIdResponseBody200Id] :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> Maybe Text
-- | ideal
[deleteCustomersCustomerBankAccountsIdResponseBody200Ideal] :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> Maybe SourceTypeIdeal
-- | inbound_address: A bitcoin address that is specific to this receiver.
-- The customer can send bitcoin to this address to fill the receiver.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerBankAccountsIdResponseBody200InboundAddress] :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> Maybe Text
-- | individual: This is an object representing a person associated with a
-- Stripe account.
--
-- A platform cannot access a Standard or Express account's persons after
-- the account starts onboarding, such as after generating an account
-- link for the account. See the Standard onboarding or Express
-- onboarding documentation for information about platform
-- pre-filling and account onboarding steps.
--
-- Related guide: Handling Identity Verification with the API.
[deleteCustomersCustomerBankAccountsIdResponseBody200Individual] :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> Maybe Person
-- | klarna
[deleteCustomersCustomerBankAccountsIdResponseBody200Klarna] :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> Maybe SourceTypeKlarna
-- | last4: The last four digits of the bank account number.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerBankAccountsIdResponseBody200Last4] :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> Maybe Text
-- | livemode: Has the value `true` if the object exists in live mode or
-- the value `false` if the object exists in test mode.
[deleteCustomersCustomerBankAccountsIdResponseBody200Livemode] :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> Maybe Bool
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format.
[deleteCustomersCustomerBankAccountsIdResponseBody200Metadata] :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> Maybe Object
-- | multibanco
[deleteCustomersCustomerBankAccountsIdResponseBody200Multibanco] :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> Maybe SourceTypeMultibanco
-- | name: Cardholder name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerBankAccountsIdResponseBody200Name] :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> Maybe Text
-- | object: String representing the object's type. Objects of the same
-- type share the same value.
[deleteCustomersCustomerBankAccountsIdResponseBody200Object] :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> Maybe DeleteCustomersCustomerBankAccountsIdResponseBody200Object'
-- | owner: Information about the owner of the payment instrument that may
-- be used or required by particular source types.
[deleteCustomersCustomerBankAccountsIdResponseBody200Owner] :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> Maybe DeleteCustomersCustomerBankAccountsIdResponseBody200Owner'
-- | p24
[deleteCustomersCustomerBankAccountsIdResponseBody200P24] :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> Maybe SourceTypeP24
-- | payment: The ID of the payment created from the receiver, if any.
-- Hidden when viewing the receiver with a publishable key.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerBankAccountsIdResponseBody200Payment] :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> Maybe Text
-- | payment_amount: If the Alipay account object is not reusable, the
-- exact amount that you can create a charge for.
[deleteCustomersCustomerBankAccountsIdResponseBody200PaymentAmount] :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> Maybe Int
-- | payment_currency: If the Alipay account object is not reusable, the
-- exact currency that you can create a charge for.
[deleteCustomersCustomerBankAccountsIdResponseBody200PaymentCurrency] :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> Maybe Text
-- | payouts_enabled: Whether Stripe can send payouts to this account.
[deleteCustomersCustomerBankAccountsIdResponseBody200PayoutsEnabled] :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> Maybe Bool
-- | receiver:
[deleteCustomersCustomerBankAccountsIdResponseBody200Receiver] :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> Maybe SourceReceiverFlow
-- | recipient: 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.
[deleteCustomersCustomerBankAccountsIdResponseBody200Recipient] :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> Maybe DeleteCustomersCustomerBankAccountsIdResponseBody200Recipient'Variants
-- | redirect:
[deleteCustomersCustomerBankAccountsIdResponseBody200Redirect] :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> Maybe SourceRedirectFlow
-- | refund_address: The refund address of this bitcoin receiver.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerBankAccountsIdResponseBody200RefundAddress] :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> Maybe Text
-- | requirements:
[deleteCustomersCustomerBankAccountsIdResponseBody200Requirements] :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> Maybe AccountRequirements
-- | reusable: True if you can create multiple payments using this account.
-- If the account is reusable, then you can freely choose the amount of
-- each payment.
[deleteCustomersCustomerBankAccountsIdResponseBody200Reusable] :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> Maybe Bool
-- | routing_number: The routing transit number for the bank account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerBankAccountsIdResponseBody200RoutingNumber] :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> Maybe Text
-- | sepa_debit
[deleteCustomersCustomerBankAccountsIdResponseBody200SepaDebit] :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> Maybe SourceTypeSepaDebit
-- | settings: Options for customizing how the account functions within
-- Stripe.
[deleteCustomersCustomerBankAccountsIdResponseBody200Settings] :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> Maybe DeleteCustomersCustomerBankAccountsIdResponseBody200Settings'
-- | sofort
[deleteCustomersCustomerBankAccountsIdResponseBody200Sofort] :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> Maybe SourceTypeSofort
-- | source_order:
[deleteCustomersCustomerBankAccountsIdResponseBody200SourceOrder] :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> Maybe SourceOrder
-- | statement_descriptor: Extra information about a source. This will
-- appear on your customer's statement every time you charge the source.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerBankAccountsIdResponseBody200StatementDescriptor] :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> Maybe Text
-- | status: For bank accounts, possible values are `new`, `validated`,
-- `verified`, `verification_failed`, or `errored`. A bank account that
-- hasn't had any activity or validation performed is `new`. If Stripe
-- can determine that the bank account exists, its status will be
-- `validated`. Note that there often isn’t enough information to know
-- (e.g., for smaller credit unions), and the validation is not always
-- run. If customer bank account verification has succeeded, the bank
-- account status will be `verified`. If the verification failed for any
-- reason, such as microdeposit failure, the status will be
-- `verification_failed`. If a transfer sent to this bank account fails,
-- we'll set the status to `errored` and will not continue to send
-- transfers until the bank details are updated.
--
-- For external accounts, possible values are `new` and `errored`.
-- Validations aren't run against external accounts because they're only
-- used for payouts. This means the other statuses don't apply. If a
-- transfer fails, the status is set to `errored` and transfers are
-- stopped until account details are updated.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerBankAccountsIdResponseBody200Status] :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> Maybe Text
-- | three_d_secure
[deleteCustomersCustomerBankAccountsIdResponseBody200ThreeDSecure] :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> Maybe SourceTypeThreeDSecure
-- | tokenization_method: If the card number is tokenized, this is the
-- method that was used. Can be `android_pay` (includes Google Pay),
-- `apple_pay`, `masterpass`, `visa_checkout`, or null.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerBankAccountsIdResponseBody200TokenizationMethod] :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> Maybe Text
-- | tos_acceptance:
[deleteCustomersCustomerBankAccountsIdResponseBody200TosAcceptance] :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> Maybe AccountTosAcceptance
-- | transactions: 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.
[deleteCustomersCustomerBankAccountsIdResponseBody200Transactions] :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> Maybe DeleteCustomersCustomerBankAccountsIdResponseBody200Transactions'
-- | type: The Stripe account type. Can be `standard`, `express`, or
-- `custom`.
[deleteCustomersCustomerBankAccountsIdResponseBody200Type] :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> Maybe DeleteCustomersCustomerBankAccountsIdResponseBody200Type'
-- | uncaptured_funds: This receiver contains uncaptured funds that can be
-- used for a payment or refunded.
[deleteCustomersCustomerBankAccountsIdResponseBody200UncapturedFunds] :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> Maybe Bool
-- | usage: Either `reusable` or `single_use`. Whether this source should
-- be reusable or not. Some source types may or may not be reusable by
-- construction, while others may leave the option at creation. If an
-- incompatible value is passed, an error will be returned.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerBankAccountsIdResponseBody200Usage] :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> Maybe Text
-- | used: Whether this Alipay account object has ever been used for a
-- payment.
[deleteCustomersCustomerBankAccountsIdResponseBody200Used] :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> Maybe Bool
-- | used_for_payment: Indicate if this source is used for payment.
[deleteCustomersCustomerBankAccountsIdResponseBody200UsedForPayment] :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> Maybe Bool
-- | username: The username for the Alipay account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerBankAccountsIdResponseBody200Username] :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> Maybe Text
-- | wechat
[deleteCustomersCustomerBankAccountsIdResponseBody200Wechat] :: DeleteCustomersCustomerBankAccountsIdResponseBody200 -> Maybe SourceTypeWechat
-- | Create a new
-- DeleteCustomersCustomerBankAccountsIdResponseBody200 with all
-- required fields.
mkDeleteCustomersCustomerBankAccountsIdResponseBody200 :: DeleteCustomersCustomerBankAccountsIdResponseBody200
-- | Defines the oneOf schema located at
-- paths./v1/customers/{customer}/bank_accounts/{id}.DELETE.responses.200.content.application/json.schema.anyOf.anyOf.properties.account.anyOf
-- in the specification.
--
-- The ID of the account that the bank account is associated with.
data DeleteCustomersCustomerBankAccountsIdResponseBody200Account'Variants
DeleteCustomersCustomerBankAccountsIdResponseBody200Account'Text :: Text -> DeleteCustomersCustomerBankAccountsIdResponseBody200Account'Variants
DeleteCustomersCustomerBankAccountsIdResponseBody200Account'Account :: Account -> DeleteCustomersCustomerBankAccountsIdResponseBody200Account'Variants
-- | Defines the enum schema located at
-- paths./v1/customers/{customer}/bank_accounts/{id}.DELETE.responses.200.content.application/json.schema.anyOf.anyOf.properties.available_payout_methods.items
-- in the specification.
data DeleteCustomersCustomerBankAccountsIdResponseBody200AvailablePayoutMethods'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
DeleteCustomersCustomerBankAccountsIdResponseBody200AvailablePayoutMethods'Other :: Value -> DeleteCustomersCustomerBankAccountsIdResponseBody200AvailablePayoutMethods'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
DeleteCustomersCustomerBankAccountsIdResponseBody200AvailablePayoutMethods'Typed :: Text -> DeleteCustomersCustomerBankAccountsIdResponseBody200AvailablePayoutMethods'
-- | Represents the JSON value "instant"
DeleteCustomersCustomerBankAccountsIdResponseBody200AvailablePayoutMethods'EnumInstant :: DeleteCustomersCustomerBankAccountsIdResponseBody200AvailablePayoutMethods'
-- | Represents the JSON value "standard"
DeleteCustomersCustomerBankAccountsIdResponseBody200AvailablePayoutMethods'EnumStandard :: DeleteCustomersCustomerBankAccountsIdResponseBody200AvailablePayoutMethods'
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/bank_accounts/{id}.DELETE.responses.200.content.application/json.schema.anyOf.anyOf.properties.business_profile.anyOf
-- in the specification.
--
-- Business information about the account.
data DeleteCustomersCustomerBankAccountsIdResponseBody200BusinessProfile'
DeleteCustomersCustomerBankAccountsIdResponseBody200BusinessProfile' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe DeleteCustomersCustomerBankAccountsIdResponseBody200BusinessProfile'SupportAddress' -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> DeleteCustomersCustomerBankAccountsIdResponseBody200BusinessProfile'
-- | mcc: The merchant category code for the account. MCCs are used
-- to classify businesses based on the goods or services they provide.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerBankAccountsIdResponseBody200BusinessProfile'Mcc] :: DeleteCustomersCustomerBankAccountsIdResponseBody200BusinessProfile' -> Maybe Text
-- | name: The customer-facing business name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerBankAccountsIdResponseBody200BusinessProfile'Name] :: DeleteCustomersCustomerBankAccountsIdResponseBody200BusinessProfile' -> Maybe Text
-- | product_description: Internal-only description of the product sold or
-- service provided by the business. It's used by Stripe for risk and
-- underwriting purposes.
--
-- Constraints:
--
--
-- - Maximum length of 40000
--
[deleteCustomersCustomerBankAccountsIdResponseBody200BusinessProfile'ProductDescription] :: DeleteCustomersCustomerBankAccountsIdResponseBody200BusinessProfile' -> Maybe Text
-- | support_address: A publicly available mailing address for sending
-- support issues to.
[deleteCustomersCustomerBankAccountsIdResponseBody200BusinessProfile'SupportAddress] :: DeleteCustomersCustomerBankAccountsIdResponseBody200BusinessProfile' -> Maybe DeleteCustomersCustomerBankAccountsIdResponseBody200BusinessProfile'SupportAddress'
-- | support_email: A publicly available email address for sending support
-- issues to.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerBankAccountsIdResponseBody200BusinessProfile'SupportEmail] :: DeleteCustomersCustomerBankAccountsIdResponseBody200BusinessProfile' -> Maybe Text
-- | support_phone: A publicly available phone number to call with support
-- issues.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerBankAccountsIdResponseBody200BusinessProfile'SupportPhone] :: DeleteCustomersCustomerBankAccountsIdResponseBody200BusinessProfile' -> Maybe Text
-- | support_url: A publicly available website for handling support issues.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerBankAccountsIdResponseBody200BusinessProfile'SupportUrl] :: DeleteCustomersCustomerBankAccountsIdResponseBody200BusinessProfile' -> Maybe Text
-- | url: The business's publicly available website.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerBankAccountsIdResponseBody200BusinessProfile'Url] :: DeleteCustomersCustomerBankAccountsIdResponseBody200BusinessProfile' -> Maybe Text
-- | Create a new
-- DeleteCustomersCustomerBankAccountsIdResponseBody200BusinessProfile'
-- with all required fields.
mkDeleteCustomersCustomerBankAccountsIdResponseBody200BusinessProfile' :: DeleteCustomersCustomerBankAccountsIdResponseBody200BusinessProfile'
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/bank_accounts/{id}.DELETE.responses.200.content.application/json.schema.anyOf.anyOf.properties.business_profile.anyOf.properties.support_address.anyOf
-- in the specification.
--
-- A publicly available mailing address for sending support issues to.
data DeleteCustomersCustomerBankAccountsIdResponseBody200BusinessProfile'SupportAddress'
DeleteCustomersCustomerBankAccountsIdResponseBody200BusinessProfile'SupportAddress' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> DeleteCustomersCustomerBankAccountsIdResponseBody200BusinessProfile'SupportAddress'
-- | city: City, district, suburb, town, or village.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerBankAccountsIdResponseBody200BusinessProfile'SupportAddress'City] :: DeleteCustomersCustomerBankAccountsIdResponseBody200BusinessProfile'SupportAddress' -> Maybe Text
-- | country: Two-letter country code ([ISO 3166-1
-- alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerBankAccountsIdResponseBody200BusinessProfile'SupportAddress'Country] :: DeleteCustomersCustomerBankAccountsIdResponseBody200BusinessProfile'SupportAddress' -> Maybe Text
-- | line1: Address line 1 (e.g., street, PO Box, or company name).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerBankAccountsIdResponseBody200BusinessProfile'SupportAddress'Line1] :: DeleteCustomersCustomerBankAccountsIdResponseBody200BusinessProfile'SupportAddress' -> Maybe Text
-- | line2: Address line 2 (e.g., apartment, suite, unit, or building).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerBankAccountsIdResponseBody200BusinessProfile'SupportAddress'Line2] :: DeleteCustomersCustomerBankAccountsIdResponseBody200BusinessProfile'SupportAddress' -> Maybe Text
-- | postal_code: ZIP or postal code.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerBankAccountsIdResponseBody200BusinessProfile'SupportAddress'PostalCode] :: DeleteCustomersCustomerBankAccountsIdResponseBody200BusinessProfile'SupportAddress' -> Maybe Text
-- | state: State, county, province, or region.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerBankAccountsIdResponseBody200BusinessProfile'SupportAddress'State] :: DeleteCustomersCustomerBankAccountsIdResponseBody200BusinessProfile'SupportAddress' -> Maybe Text
-- | Create a new
-- DeleteCustomersCustomerBankAccountsIdResponseBody200BusinessProfile'SupportAddress'
-- with all required fields.
mkDeleteCustomersCustomerBankAccountsIdResponseBody200BusinessProfile'SupportAddress' :: DeleteCustomersCustomerBankAccountsIdResponseBody200BusinessProfile'SupportAddress'
-- | Defines the enum schema located at
-- paths./v1/customers/{customer}/bank_accounts/{id}.DELETE.responses.200.content.application/json.schema.anyOf.anyOf.properties.business_type
-- in the specification.
--
-- The business type.
data DeleteCustomersCustomerBankAccountsIdResponseBody200BusinessType'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
DeleteCustomersCustomerBankAccountsIdResponseBody200BusinessType'Other :: Value -> DeleteCustomersCustomerBankAccountsIdResponseBody200BusinessType'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
DeleteCustomersCustomerBankAccountsIdResponseBody200BusinessType'Typed :: Text -> DeleteCustomersCustomerBankAccountsIdResponseBody200BusinessType'
-- | Represents the JSON value "company"
DeleteCustomersCustomerBankAccountsIdResponseBody200BusinessType'EnumCompany :: DeleteCustomersCustomerBankAccountsIdResponseBody200BusinessType'
-- | Represents the JSON value "government_entity"
DeleteCustomersCustomerBankAccountsIdResponseBody200BusinessType'EnumGovernmentEntity :: DeleteCustomersCustomerBankAccountsIdResponseBody200BusinessType'
-- | Represents the JSON value "individual"
DeleteCustomersCustomerBankAccountsIdResponseBody200BusinessType'EnumIndividual :: DeleteCustomersCustomerBankAccountsIdResponseBody200BusinessType'
-- | Represents the JSON value "non_profit"
DeleteCustomersCustomerBankAccountsIdResponseBody200BusinessType'EnumNonProfit :: DeleteCustomersCustomerBankAccountsIdResponseBody200BusinessType'
-- | Defines the oneOf schema located at
-- paths./v1/customers/{customer}/bank_accounts/{id}.DELETE.responses.200.content.application/json.schema.anyOf.anyOf.properties.customer.anyOf
-- in the specification.
--
-- The ID of the customer associated with this Alipay Account.
data DeleteCustomersCustomerBankAccountsIdResponseBody200Customer'Variants
DeleteCustomersCustomerBankAccountsIdResponseBody200Customer'Text :: Text -> DeleteCustomersCustomerBankAccountsIdResponseBody200Customer'Variants
DeleteCustomersCustomerBankAccountsIdResponseBody200Customer'Customer :: Customer -> DeleteCustomersCustomerBankAccountsIdResponseBody200Customer'Variants
DeleteCustomersCustomerBankAccountsIdResponseBody200Customer'DeletedCustomer :: DeletedCustomer -> DeleteCustomersCustomerBankAccountsIdResponseBody200Customer'Variants
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/bank_accounts/{id}.DELETE.responses.200.content.application/json.schema.anyOf.anyOf.properties.external_accounts
-- in the specification.
--
-- External accounts (bank accounts and debit cards) currently attached
-- to this account
data DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'
DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts' :: [DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'] -> Bool -> Text -> DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'
-- | data: The list contains all external accounts that have been attached
-- to the Stripe account. These may be bank accounts or cards.
[deleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data] :: DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts' -> [DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data']
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[deleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'HasMore] :: DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts' -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Url] :: DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts' -> Text
-- | Create a new
-- DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'
-- with all required fields.
mkDeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts' :: [DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'] -> Bool -> Text -> DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/bank_accounts/{id}.DELETE.responses.200.content.application/json.schema.anyOf.anyOf.properties.external_accounts.properties.data.items.anyOf
-- in the specification.
data DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'
DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data' :: Maybe DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'Account'Variants -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe [DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'AvailablePayoutMethods'] -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'Customer'Variants -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe Int -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Object -> Maybe Text -> Maybe DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'Object' -> Maybe DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'Recipient'Variants -> Maybe Text -> Maybe Text -> Maybe Text -> DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'
-- | account: The ID of the account that the bank account is associated
-- with.
[deleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'Account] :: DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data' -> Maybe DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'Account'Variants
-- | account_holder_name: The name of the person or business that owns the
-- bank account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'AccountHolderName] :: DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data' -> Maybe Text
-- | account_holder_type: The type of entity that holds the account. This
-- can be either `individual` or `company`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'AccountHolderType] :: DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data' -> Maybe Text
-- | address_city: City/District/Suburb/Town/Village.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'AddressCity] :: DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data' -> Maybe Text
-- | address_country: Billing address country, if provided when creating
-- card.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'AddressCountry] :: DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data' -> Maybe Text
-- | address_line1: Address line 1 (Street address/PO Box/Company name).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'AddressLine1] :: DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data' -> Maybe Text
-- | address_line1_check: If `address_line1` was provided, results of the
-- check: `pass`, `fail`, `unavailable`, or `unchecked`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'AddressLine1Check] :: DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data' -> Maybe Text
-- | address_line2: Address line 2 (Apartment/Suite/Unit/Building).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'AddressLine2] :: DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data' -> Maybe Text
-- | address_state: State/County/Province/Region.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'AddressState] :: DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data' -> Maybe Text
-- | address_zip: ZIP or postal code.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'AddressZip] :: DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data' -> Maybe Text
-- | address_zip_check: If `address_zip` was provided, results of the
-- check: `pass`, `fail`, `unavailable`, or `unchecked`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'AddressZipCheck] :: DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data' -> Maybe Text
-- | available_payout_methods: A set of available payout methods for this
-- bank account. Only values from this set should be passed as the
-- `method` when creating a payout.
[deleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'AvailablePayoutMethods] :: DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data' -> Maybe [DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'AvailablePayoutMethods']
-- | bank_name: Name of the bank associated with the routing number (e.g.,
-- `WELLS FARGO`).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'BankName] :: DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data' -> Maybe Text
-- | brand: Card brand. Can be `American Express`, `Diners Club`,
-- `Discover`, `JCB`, `MasterCard`, `UnionPay`, `Visa`, or `Unknown`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'Brand] :: DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data' -> Maybe Text
-- | country: Two-letter ISO code representing the country the bank account
-- is located in.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'Country] :: DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data' -> Maybe Text
-- | currency: Three-letter ISO code for the currency paid out to
-- the bank account.
[deleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'Currency] :: DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data' -> Maybe Text
-- | customer: The ID of the customer that the bank account is associated
-- with.
[deleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'Customer] :: DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data' -> Maybe DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'Customer'Variants
-- | cvc_check: If a CVC was provided, results of the check: `pass`,
-- `fail`, `unavailable`, or `unchecked`. A result of unchecked indicates
-- that CVC was provided but hasn't been checked yet. Checks are
-- typically performed when attaching a card to a Customer object, or
-- when creating a charge. For more details, see Check if a card is
-- valid without a charge.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'CvcCheck] :: DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data' -> Maybe Text
-- | default_for_currency: Whether this bank account is the default
-- external account for its currency.
[deleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'DefaultForCurrency] :: DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data' -> Maybe Bool
-- | dynamic_last4: (For tokenized numbers only.) The last four digits of
-- the device account number.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'DynamicLast4] :: DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data' -> Maybe Text
-- | exp_month: Two-digit number representing the card's expiration month.
[deleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'ExpMonth] :: DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data' -> Maybe Int
-- | exp_year: Four-digit number representing the card's expiration year.
[deleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'ExpYear] :: DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data' -> Maybe Int
-- | fingerprint: Uniquely identifies this particular bank account. You can
-- use this attribute to check whether two bank accounts are the same.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'Fingerprint] :: DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data' -> Maybe Text
-- | funding: Card funding type. Can be `credit`, `debit`, `prepaid`, or
-- `unknown`.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'Funding] :: DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data' -> Maybe Text
-- | id: Unique identifier for the object.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'Id] :: DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data' -> Maybe Text
-- | last4: The last four digits of the bank account number.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'Last4] :: DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data' -> Maybe Text
-- | metadata: Set of key-value pairs that you can attach to an
-- object. This can be useful for storing additional information about
-- the object in a structured format.
[deleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'Metadata] :: DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data' -> Maybe Object
-- | name: Cardholder name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'Name] :: DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data' -> Maybe Text
-- | object: String representing the object's type. Objects of the same
-- type share the same value.
[deleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'Object] :: DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data' -> Maybe DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'Object'
-- | recipient: 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.
[deleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'Recipient] :: DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data' -> Maybe DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'Recipient'Variants
-- | routing_number: The routing transit number for the bank account.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'RoutingNumber] :: DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data' -> Maybe Text
-- | status: For bank accounts, possible values are `new`, `validated`,
-- `verified`, `verification_failed`, or `errored`. A bank account that
-- hasn't had any activity or validation performed is `new`. If Stripe
-- can determine that the bank account exists, its status will be
-- `validated`. Note that there often isn’t enough information to know
-- (e.g., for smaller credit unions), and the validation is not always
-- run. If customer bank account verification has succeeded, the bank
-- account status will be `verified`. If the verification failed for any
-- reason, such as microdeposit failure, the status will be
-- `verification_failed`. If a transfer sent to this bank account fails,
-- we'll set the status to `errored` and will not continue to send
-- transfers until the bank details are updated.
--
-- For external accounts, possible values are `new` and `errored`.
-- Validations aren't run against external accounts because they're only
-- used for payouts. This means the other statuses don't apply. If a
-- transfer fails, the status is set to `errored` and transfers are
-- stopped until account details are updated.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'Status] :: DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data' -> Maybe Text
-- | tokenization_method: If the card number is tokenized, this is the
-- method that was used. Can be `android_pay` (includes Google Pay),
-- `apple_pay`, `masterpass`, `visa_checkout`, or null.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'TokenizationMethod] :: DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data' -> Maybe Text
-- | Create a new
-- DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'
-- with all required fields.
mkDeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data' :: DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'
-- | Defines the oneOf schema located at
-- paths./v1/customers/{customer}/bank_accounts/{id}.DELETE.responses.200.content.application/json.schema.anyOf.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.
data DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'Account'Variants
DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'Account'Text :: Text -> DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'Account'Variants
DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'Account'Account :: Account -> DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'Account'Variants
-- | Defines the enum schema located at
-- paths./v1/customers/{customer}/bank_accounts/{id}.DELETE.responses.200.content.application/json.schema.anyOf.anyOf.properties.external_accounts.properties.data.items.anyOf.properties.available_payout_methods.items
-- in the specification.
data DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'AvailablePayoutMethods'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'AvailablePayoutMethods'Other :: Value -> DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'AvailablePayoutMethods'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'AvailablePayoutMethods'Typed :: Text -> DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'AvailablePayoutMethods'
-- | Represents the JSON value "instant"
DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'AvailablePayoutMethods'EnumInstant :: DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'AvailablePayoutMethods'
-- | Represents the JSON value "standard"
DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'AvailablePayoutMethods'EnumStandard :: DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'AvailablePayoutMethods'
-- | Defines the oneOf schema located at
-- paths./v1/customers/{customer}/bank_accounts/{id}.DELETE.responses.200.content.application/json.schema.anyOf.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.
data DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'Customer'Variants
DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'Customer'Text :: Text -> DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'Customer'Variants
DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'Customer'Customer :: Customer -> DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'Customer'Variants
DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'Customer'DeletedCustomer :: DeletedCustomer -> DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'Customer'Variants
-- | Defines the enum schema located at
-- paths./v1/customers/{customer}/bank_accounts/{id}.DELETE.responses.200.content.application/json.schema.anyOf.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.
data DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'Object'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'Object'Other :: Value -> DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'Object'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'Object'Typed :: Text -> DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'Object'
-- | Represents the JSON value "bank_account"
DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'Object'EnumBankAccount :: DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'Object'
-- | Defines the oneOf schema located at
-- paths./v1/customers/{customer}/bank_accounts/{id}.DELETE.responses.200.content.application/json.schema.anyOf.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.
data DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'Recipient'Variants
DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'Recipient'Text :: Text -> DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'Recipient'Variants
DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'Recipient'Recipient :: Recipient -> DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'Recipient'Variants
-- | Defines the enum schema located at
-- paths./v1/customers/{customer}/bank_accounts/{id}.DELETE.responses.200.content.application/json.schema.anyOf.anyOf.properties.object
-- in the specification.
--
-- String representing the object's type. Objects of the same type share
-- the same value.
data DeleteCustomersCustomerBankAccountsIdResponseBody200Object'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
DeleteCustomersCustomerBankAccountsIdResponseBody200Object'Other :: Value -> DeleteCustomersCustomerBankAccountsIdResponseBody200Object'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
DeleteCustomersCustomerBankAccountsIdResponseBody200Object'Typed :: Text -> DeleteCustomersCustomerBankAccountsIdResponseBody200Object'
-- | Represents the JSON value "account"
DeleteCustomersCustomerBankAccountsIdResponseBody200Object'EnumAccount :: DeleteCustomersCustomerBankAccountsIdResponseBody200Object'
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/bank_accounts/{id}.DELETE.responses.200.content.application/json.schema.anyOf.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.
data DeleteCustomersCustomerBankAccountsIdResponseBody200Owner'
DeleteCustomersCustomerBankAccountsIdResponseBody200Owner' :: Maybe DeleteCustomersCustomerBankAccountsIdResponseBody200Owner'Address' -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe DeleteCustomersCustomerBankAccountsIdResponseBody200Owner'VerifiedAddress' -> Maybe Text -> Maybe Text -> Maybe Text -> DeleteCustomersCustomerBankAccountsIdResponseBody200Owner'
-- | address: Owner's address.
[deleteCustomersCustomerBankAccountsIdResponseBody200Owner'Address] :: DeleteCustomersCustomerBankAccountsIdResponseBody200Owner' -> Maybe DeleteCustomersCustomerBankAccountsIdResponseBody200Owner'Address'
-- | email: Owner's email address.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerBankAccountsIdResponseBody200Owner'Email] :: DeleteCustomersCustomerBankAccountsIdResponseBody200Owner' -> Maybe Text
-- | name: Owner's full name.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerBankAccountsIdResponseBody200Owner'Name] :: DeleteCustomersCustomerBankAccountsIdResponseBody200Owner' -> Maybe Text
-- | phone: Owner's phone number (including extension).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerBankAccountsIdResponseBody200Owner'Phone] :: DeleteCustomersCustomerBankAccountsIdResponseBody200Owner' -> Maybe Text
-- | verified_address: 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.
[deleteCustomersCustomerBankAccountsIdResponseBody200Owner'VerifiedAddress] :: DeleteCustomersCustomerBankAccountsIdResponseBody200Owner' -> Maybe DeleteCustomersCustomerBankAccountsIdResponseBody200Owner'VerifiedAddress'
-- | verified_email: Verified owner's email 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.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerBankAccountsIdResponseBody200Owner'VerifiedEmail] :: DeleteCustomersCustomerBankAccountsIdResponseBody200Owner' -> Maybe Text
-- | verified_name: Verified owner's full name. 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.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerBankAccountsIdResponseBody200Owner'VerifiedName] :: DeleteCustomersCustomerBankAccountsIdResponseBody200Owner' -> Maybe Text
-- | verified_phone: Verified owner's phone number (including extension).
-- 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.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerBankAccountsIdResponseBody200Owner'VerifiedPhone] :: DeleteCustomersCustomerBankAccountsIdResponseBody200Owner' -> Maybe Text
-- | Create a new
-- DeleteCustomersCustomerBankAccountsIdResponseBody200Owner' with
-- all required fields.
mkDeleteCustomersCustomerBankAccountsIdResponseBody200Owner' :: DeleteCustomersCustomerBankAccountsIdResponseBody200Owner'
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/bank_accounts/{id}.DELETE.responses.200.content.application/json.schema.anyOf.anyOf.properties.owner.anyOf.properties.address.anyOf
-- in the specification.
--
-- Owner\'s address.
data DeleteCustomersCustomerBankAccountsIdResponseBody200Owner'Address'
DeleteCustomersCustomerBankAccountsIdResponseBody200Owner'Address' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> DeleteCustomersCustomerBankAccountsIdResponseBody200Owner'Address'
-- | city: City, district, suburb, town, or village.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerBankAccountsIdResponseBody200Owner'Address'City] :: DeleteCustomersCustomerBankAccountsIdResponseBody200Owner'Address' -> Maybe Text
-- | country: Two-letter country code ([ISO 3166-1
-- alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerBankAccountsIdResponseBody200Owner'Address'Country] :: DeleteCustomersCustomerBankAccountsIdResponseBody200Owner'Address' -> Maybe Text
-- | line1: Address line 1 (e.g., street, PO Box, or company name).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerBankAccountsIdResponseBody200Owner'Address'Line1] :: DeleteCustomersCustomerBankAccountsIdResponseBody200Owner'Address' -> Maybe Text
-- | line2: Address line 2 (e.g., apartment, suite, unit, or building).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerBankAccountsIdResponseBody200Owner'Address'Line2] :: DeleteCustomersCustomerBankAccountsIdResponseBody200Owner'Address' -> Maybe Text
-- | postal_code: ZIP or postal code.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerBankAccountsIdResponseBody200Owner'Address'PostalCode] :: DeleteCustomersCustomerBankAccountsIdResponseBody200Owner'Address' -> Maybe Text
-- | state: State, county, province, or region.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerBankAccountsIdResponseBody200Owner'Address'State] :: DeleteCustomersCustomerBankAccountsIdResponseBody200Owner'Address' -> Maybe Text
-- | Create a new
-- DeleteCustomersCustomerBankAccountsIdResponseBody200Owner'Address'
-- with all required fields.
mkDeleteCustomersCustomerBankAccountsIdResponseBody200Owner'Address' :: DeleteCustomersCustomerBankAccountsIdResponseBody200Owner'Address'
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/bank_accounts/{id}.DELETE.responses.200.content.application/json.schema.anyOf.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.
data DeleteCustomersCustomerBankAccountsIdResponseBody200Owner'VerifiedAddress'
DeleteCustomersCustomerBankAccountsIdResponseBody200Owner'VerifiedAddress' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> DeleteCustomersCustomerBankAccountsIdResponseBody200Owner'VerifiedAddress'
-- | city: City, district, suburb, town, or village.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerBankAccountsIdResponseBody200Owner'VerifiedAddress'City] :: DeleteCustomersCustomerBankAccountsIdResponseBody200Owner'VerifiedAddress' -> Maybe Text
-- | country: Two-letter country code ([ISO 3166-1
-- alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerBankAccountsIdResponseBody200Owner'VerifiedAddress'Country] :: DeleteCustomersCustomerBankAccountsIdResponseBody200Owner'VerifiedAddress' -> Maybe Text
-- | line1: Address line 1 (e.g., street, PO Box, or company name).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerBankAccountsIdResponseBody200Owner'VerifiedAddress'Line1] :: DeleteCustomersCustomerBankAccountsIdResponseBody200Owner'VerifiedAddress' -> Maybe Text
-- | line2: Address line 2 (e.g., apartment, suite, unit, or building).
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerBankAccountsIdResponseBody200Owner'VerifiedAddress'Line2] :: DeleteCustomersCustomerBankAccountsIdResponseBody200Owner'VerifiedAddress' -> Maybe Text
-- | postal_code: ZIP or postal code.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerBankAccountsIdResponseBody200Owner'VerifiedAddress'PostalCode] :: DeleteCustomersCustomerBankAccountsIdResponseBody200Owner'VerifiedAddress' -> Maybe Text
-- | state: State, county, province, or region.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerBankAccountsIdResponseBody200Owner'VerifiedAddress'State] :: DeleteCustomersCustomerBankAccountsIdResponseBody200Owner'VerifiedAddress' -> Maybe Text
-- | Create a new
-- DeleteCustomersCustomerBankAccountsIdResponseBody200Owner'VerifiedAddress'
-- with all required fields.
mkDeleteCustomersCustomerBankAccountsIdResponseBody200Owner'VerifiedAddress' :: DeleteCustomersCustomerBankAccountsIdResponseBody200Owner'VerifiedAddress'
-- | Defines the oneOf schema located at
-- paths./v1/customers/{customer}/bank_accounts/{id}.DELETE.responses.200.content.application/json.schema.anyOf.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 DeleteCustomersCustomerBankAccountsIdResponseBody200Recipient'Variants
DeleteCustomersCustomerBankAccountsIdResponseBody200Recipient'Text :: Text -> DeleteCustomersCustomerBankAccountsIdResponseBody200Recipient'Variants
DeleteCustomersCustomerBankAccountsIdResponseBody200Recipient'Recipient :: Recipient -> DeleteCustomersCustomerBankAccountsIdResponseBody200Recipient'Variants
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/bank_accounts/{id}.DELETE.responses.200.content.application/json.schema.anyOf.anyOf.properties.settings.anyOf
-- in the specification.
--
-- Options for customizing how the account functions within Stripe.
data DeleteCustomersCustomerBankAccountsIdResponseBody200Settings'
DeleteCustomersCustomerBankAccountsIdResponseBody200Settings' :: Maybe AccountBacsDebitPaymentsSettings -> Maybe AccountBrandingSettings -> Maybe AccountCardIssuingSettings -> Maybe AccountCardPaymentsSettings -> Maybe AccountDashboardSettings -> Maybe AccountPaymentsSettings -> Maybe AccountPayoutSettings -> Maybe AccountSepaDebitPaymentsSettings -> DeleteCustomersCustomerBankAccountsIdResponseBody200Settings'
-- | bacs_debit_payments:
[deleteCustomersCustomerBankAccountsIdResponseBody200Settings'BacsDebitPayments] :: DeleteCustomersCustomerBankAccountsIdResponseBody200Settings' -> Maybe AccountBacsDebitPaymentsSettings
-- | branding:
[deleteCustomersCustomerBankAccountsIdResponseBody200Settings'Branding] :: DeleteCustomersCustomerBankAccountsIdResponseBody200Settings' -> Maybe AccountBrandingSettings
-- | card_issuing:
[deleteCustomersCustomerBankAccountsIdResponseBody200Settings'CardIssuing] :: DeleteCustomersCustomerBankAccountsIdResponseBody200Settings' -> Maybe AccountCardIssuingSettings
-- | card_payments:
[deleteCustomersCustomerBankAccountsIdResponseBody200Settings'CardPayments] :: DeleteCustomersCustomerBankAccountsIdResponseBody200Settings' -> Maybe AccountCardPaymentsSettings
-- | dashboard:
[deleteCustomersCustomerBankAccountsIdResponseBody200Settings'Dashboard] :: DeleteCustomersCustomerBankAccountsIdResponseBody200Settings' -> Maybe AccountDashboardSettings
-- | payments:
[deleteCustomersCustomerBankAccountsIdResponseBody200Settings'Payments] :: DeleteCustomersCustomerBankAccountsIdResponseBody200Settings' -> Maybe AccountPaymentsSettings
-- | payouts:
[deleteCustomersCustomerBankAccountsIdResponseBody200Settings'Payouts] :: DeleteCustomersCustomerBankAccountsIdResponseBody200Settings' -> Maybe AccountPayoutSettings
-- | sepa_debit_payments:
[deleteCustomersCustomerBankAccountsIdResponseBody200Settings'SepaDebitPayments] :: DeleteCustomersCustomerBankAccountsIdResponseBody200Settings' -> Maybe AccountSepaDebitPaymentsSettings
-- | Create a new
-- DeleteCustomersCustomerBankAccountsIdResponseBody200Settings'
-- with all required fields.
mkDeleteCustomersCustomerBankAccountsIdResponseBody200Settings' :: DeleteCustomersCustomerBankAccountsIdResponseBody200Settings'
-- | Defines the object schema located at
-- paths./v1/customers/{customer}/bank_accounts/{id}.DELETE.responses.200.content.application/json.schema.anyOf.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.
data DeleteCustomersCustomerBankAccountsIdResponseBody200Transactions'
DeleteCustomersCustomerBankAccountsIdResponseBody200Transactions' :: [BitcoinTransaction] -> Bool -> Text -> DeleteCustomersCustomerBankAccountsIdResponseBody200Transactions'
-- | data: Details about each object.
[deleteCustomersCustomerBankAccountsIdResponseBody200Transactions'Data] :: DeleteCustomersCustomerBankAccountsIdResponseBody200Transactions' -> [BitcoinTransaction]
-- | has_more: True if this list has another page of items after this one
-- that can be fetched.
[deleteCustomersCustomerBankAccountsIdResponseBody200Transactions'HasMore] :: DeleteCustomersCustomerBankAccountsIdResponseBody200Transactions' -> Bool
-- | url: The URL where this list can be accessed.
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteCustomersCustomerBankAccountsIdResponseBody200Transactions'Url] :: DeleteCustomersCustomerBankAccountsIdResponseBody200Transactions' -> Text
-- | Create a new
-- DeleteCustomersCustomerBankAccountsIdResponseBody200Transactions'
-- with all required fields.
mkDeleteCustomersCustomerBankAccountsIdResponseBody200Transactions' :: [BitcoinTransaction] -> Bool -> Text -> DeleteCustomersCustomerBankAccountsIdResponseBody200Transactions'
-- | Defines the enum schema located at
-- paths./v1/customers/{customer}/bank_accounts/{id}.DELETE.responses.200.content.application/json.schema.anyOf.anyOf.properties.type
-- in the specification.
--
-- The Stripe account type. Can be `standard`, `express`, or `custom`.
data DeleteCustomersCustomerBankAccountsIdResponseBody200Type'
-- | This case is used if the value encountered during decoding does not
-- match any of the provided cases in the specification.
DeleteCustomersCustomerBankAccountsIdResponseBody200Type'Other :: Value -> DeleteCustomersCustomerBankAccountsIdResponseBody200Type'
-- | This constructor can be used to send values to the server which are
-- not present in the specification yet.
DeleteCustomersCustomerBankAccountsIdResponseBody200Type'Typed :: Text -> DeleteCustomersCustomerBankAccountsIdResponseBody200Type'
-- | Represents the JSON value "custom"
DeleteCustomersCustomerBankAccountsIdResponseBody200Type'EnumCustom :: DeleteCustomersCustomerBankAccountsIdResponseBody200Type'
-- | Represents the JSON value "express"
DeleteCustomersCustomerBankAccountsIdResponseBody200Type'EnumExpress :: DeleteCustomersCustomerBankAccountsIdResponseBody200Type'
-- | Represents the JSON value "standard"
DeleteCustomersCustomerBankAccountsIdResponseBody200Type'EnumStandard :: DeleteCustomersCustomerBankAccountsIdResponseBody200Type'
instance GHC.Classes.Eq StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdParameters
instance GHC.Show.Show StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdParameters
instance GHC.Classes.Eq StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdRequestBody
instance GHC.Show.Show StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdResponseBody200Account'Variants
instance GHC.Show.Show StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdResponseBody200Account'Variants
instance GHC.Classes.Eq StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdResponseBody200AvailablePayoutMethods'
instance GHC.Show.Show StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdResponseBody200AvailablePayoutMethods'
instance GHC.Classes.Eq StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdResponseBody200BusinessProfile'SupportAddress'
instance GHC.Show.Show StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdResponseBody200BusinessProfile'SupportAddress'
instance GHC.Classes.Eq StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdResponseBody200BusinessProfile'
instance GHC.Show.Show StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdResponseBody200BusinessProfile'
instance GHC.Classes.Eq StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdResponseBody200BusinessType'
instance GHC.Show.Show StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdResponseBody200BusinessType'
instance GHC.Classes.Eq StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdResponseBody200Customer'Variants
instance GHC.Show.Show StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdResponseBody200Customer'Variants
instance GHC.Classes.Eq StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'Account'Variants
instance GHC.Show.Show StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'Account'Variants
instance GHC.Classes.Eq StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'AvailablePayoutMethods'
instance GHC.Show.Show StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'AvailablePayoutMethods'
instance GHC.Classes.Eq StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'Customer'Variants
instance GHC.Show.Show StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'Customer'Variants
instance GHC.Classes.Eq StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'Object'
instance GHC.Show.Show StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'Object'
instance GHC.Classes.Eq StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'Recipient'Variants
instance GHC.Show.Show StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'Recipient'Variants
instance GHC.Classes.Eq StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'
instance GHC.Show.Show StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'
instance GHC.Classes.Eq StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'
instance GHC.Show.Show StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'
instance GHC.Classes.Eq StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdResponseBody200Object'
instance GHC.Show.Show StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdResponseBody200Object'
instance GHC.Classes.Eq StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdResponseBody200Owner'Address'
instance GHC.Show.Show StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdResponseBody200Owner'Address'
instance GHC.Classes.Eq StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdResponseBody200Owner'VerifiedAddress'
instance GHC.Show.Show StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdResponseBody200Owner'VerifiedAddress'
instance GHC.Classes.Eq StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdResponseBody200Owner'
instance GHC.Show.Show StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdResponseBody200Owner'
instance GHC.Classes.Eq StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdResponseBody200Recipient'Variants
instance GHC.Show.Show StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdResponseBody200Recipient'Variants
instance GHC.Classes.Eq StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdResponseBody200Settings'
instance GHC.Show.Show StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdResponseBody200Settings'
instance GHC.Classes.Eq StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdResponseBody200Transactions'
instance GHC.Show.Show StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdResponseBody200Transactions'
instance GHC.Classes.Eq StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdResponseBody200Type'
instance GHC.Show.Show StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdResponseBody200Type'
instance GHC.Classes.Eq StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdResponseBody200
instance GHC.Show.Show StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdResponseBody200
instance GHC.Classes.Eq StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdResponse
instance GHC.Show.Show StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdResponseBody200
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdResponseBody200
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdResponseBody200Type'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdResponseBody200Type'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdResponseBody200Transactions'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdResponseBody200Transactions'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdResponseBody200Settings'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdResponseBody200Settings'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdResponseBody200Recipient'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdResponseBody200Recipient'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdResponseBody200Owner'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdResponseBody200Owner'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdResponseBody200Owner'VerifiedAddress'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdResponseBody200Owner'VerifiedAddress'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdResponseBody200Owner'Address'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdResponseBody200Owner'Address'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdResponseBody200Object'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdResponseBody200Object'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'Recipient'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'Recipient'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'Object'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'Object'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'Customer'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'Customer'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'AvailablePayoutMethods'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'AvailablePayoutMethods'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'Account'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdResponseBody200ExternalAccounts'Data'Account'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdResponseBody200Customer'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdResponseBody200Customer'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdResponseBody200BusinessType'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdResponseBody200BusinessType'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdResponseBody200BusinessProfile'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdResponseBody200BusinessProfile'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdResponseBody200BusinessProfile'SupportAddress'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdResponseBody200BusinessProfile'SupportAddress'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdResponseBody200AvailablePayoutMethods'
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdResponseBody200AvailablePayoutMethods'
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdResponseBody200Account'Variants
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdResponseBody200Account'Variants
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdRequestBody
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.DeleteCustomersCustomerBankAccountsId.DeleteCustomersCustomerBankAccountsIdParameters
-- | Contains the different functions to run the operation
-- deleteCustomersCustomer
module StripeAPI.Operations.DeleteCustomersCustomer
-- |
-- DELETE /v1/customers/{customer}
--
--
-- <p>Permanently deletes a customer. It cannot be undone. Also
-- immediately cancels any active subscriptions on the
-- customer.</p>
deleteCustomersCustomer :: forall m. MonadHTTP m => Text -> ClientT m (Response DeleteCustomersCustomerResponse)
-- | Represents a response of the operation deleteCustomersCustomer.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), DeleteCustomersCustomerResponseError is
-- used.
data DeleteCustomersCustomerResponse
-- | Means either no matching case available or a parse error
DeleteCustomersCustomerResponseError :: String -> DeleteCustomersCustomerResponse
-- | Successful response.
DeleteCustomersCustomerResponse200 :: DeletedCustomer -> DeleteCustomersCustomerResponse
-- | Error response.
DeleteCustomersCustomerResponseDefault :: Error -> DeleteCustomersCustomerResponse
instance GHC.Classes.Eq StripeAPI.Operations.DeleteCustomersCustomer.DeleteCustomersCustomerResponse
instance GHC.Show.Show StripeAPI.Operations.DeleteCustomersCustomer.DeleteCustomersCustomerResponse
-- | Contains the different functions to run the operation
-- deleteCouponsCoupon
module StripeAPI.Operations.DeleteCouponsCoupon
-- |
-- DELETE /v1/coupons/{coupon}
--
--
-- <p>You can delete coupons via the <a
-- href="https://dashboard.stripe.com/coupons">coupon
-- management</a> page of the Stripe dashboard. However, deleting a
-- coupon does not affect any customers who have already applied the
-- coupon; it means that new customers can’t redeem the coupon. You can
-- also delete coupons via the API.</p>
deleteCouponsCoupon :: forall m. MonadHTTP m => Text -> ClientT m (Response DeleteCouponsCouponResponse)
-- | Represents a response of the operation deleteCouponsCoupon.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), DeleteCouponsCouponResponseError is
-- used.
data DeleteCouponsCouponResponse
-- | Means either no matching case available or a parse error
DeleteCouponsCouponResponseError :: String -> DeleteCouponsCouponResponse
-- | Successful response.
DeleteCouponsCouponResponse200 :: DeletedCoupon -> DeleteCouponsCouponResponse
-- | Error response.
DeleteCouponsCouponResponseDefault :: Error -> DeleteCouponsCouponResponse
instance GHC.Classes.Eq StripeAPI.Operations.DeleteCouponsCoupon.DeleteCouponsCouponResponse
instance GHC.Show.Show StripeAPI.Operations.DeleteCouponsCoupon.DeleteCouponsCouponResponse
-- | Contains the different functions to run the operation
-- deleteApplePayDomainsDomain
module StripeAPI.Operations.DeleteApplePayDomainsDomain
-- |
-- DELETE /v1/apple_pay/domains/{domain}
--
--
-- <p>Delete an apple pay domain.</p>
deleteApplePayDomainsDomain :: forall m. MonadHTTP m => Text -> ClientT m (Response DeleteApplePayDomainsDomainResponse)
-- | Represents a response of the operation
-- deleteApplePayDomainsDomain.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- DeleteApplePayDomainsDomainResponseError is used.
data DeleteApplePayDomainsDomainResponse
-- | Means either no matching case available or a parse error
DeleteApplePayDomainsDomainResponseError :: String -> DeleteApplePayDomainsDomainResponse
-- | Successful response.
DeleteApplePayDomainsDomainResponse200 :: DeletedApplePayDomain -> DeleteApplePayDomainsDomainResponse
-- | Error response.
DeleteApplePayDomainsDomainResponseDefault :: Error -> DeleteApplePayDomainsDomainResponse
instance GHC.Classes.Eq StripeAPI.Operations.DeleteApplePayDomainsDomain.DeleteApplePayDomainsDomainResponse
instance GHC.Show.Show StripeAPI.Operations.DeleteApplePayDomainsDomain.DeleteApplePayDomainsDomainResponse
-- | Contains the different functions to run the operation
-- deleteAccountsAccountPersonsPerson
module StripeAPI.Operations.DeleteAccountsAccountPersonsPerson
-- |
-- DELETE /v1/accounts/{account}/persons/{person}
--
--
-- <p>Deletes an existing person’s relationship to the account’s
-- legal entity. Any person with a relationship for an account can be
-- deleted through the API, except if the person is the
-- <code>account_opener</code>. If your integration is using
-- the <code>executive</code> parameter, you cannot delete
-- the only verified <code>executive</code> on
-- file.</p>
deleteAccountsAccountPersonsPerson :: forall m. MonadHTTP m => DeleteAccountsAccountPersonsPersonParameters -> ClientT m (Response DeleteAccountsAccountPersonsPersonResponse)
-- | Defines the object schema located at
-- paths./v1/accounts/{account}/persons/{person}.DELETE.parameters
-- in the specification.
data DeleteAccountsAccountPersonsPersonParameters
DeleteAccountsAccountPersonsPersonParameters :: Text -> Text -> DeleteAccountsAccountPersonsPersonParameters
-- | pathAccount: Represents the parameter named 'account'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteAccountsAccountPersonsPersonParametersPathAccount] :: DeleteAccountsAccountPersonsPersonParameters -> Text
-- | pathPerson: Represents the parameter named 'person'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteAccountsAccountPersonsPersonParametersPathPerson] :: DeleteAccountsAccountPersonsPersonParameters -> Text
-- | Create a new DeleteAccountsAccountPersonsPersonParameters with
-- all required fields.
mkDeleteAccountsAccountPersonsPersonParameters :: Text -> Text -> DeleteAccountsAccountPersonsPersonParameters
-- | Represents a response of the operation
-- deleteAccountsAccountPersonsPerson.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- DeleteAccountsAccountPersonsPersonResponseError is used.
data DeleteAccountsAccountPersonsPersonResponse
-- | Means either no matching case available or a parse error
DeleteAccountsAccountPersonsPersonResponseError :: String -> DeleteAccountsAccountPersonsPersonResponse
-- | Successful response.
DeleteAccountsAccountPersonsPersonResponse200 :: DeletedPerson -> DeleteAccountsAccountPersonsPersonResponse
-- | Error response.
DeleteAccountsAccountPersonsPersonResponseDefault :: Error -> DeleteAccountsAccountPersonsPersonResponse
instance GHC.Classes.Eq StripeAPI.Operations.DeleteAccountsAccountPersonsPerson.DeleteAccountsAccountPersonsPersonParameters
instance GHC.Show.Show StripeAPI.Operations.DeleteAccountsAccountPersonsPerson.DeleteAccountsAccountPersonsPersonParameters
instance GHC.Classes.Eq StripeAPI.Operations.DeleteAccountsAccountPersonsPerson.DeleteAccountsAccountPersonsPersonResponse
instance GHC.Show.Show StripeAPI.Operations.DeleteAccountsAccountPersonsPerson.DeleteAccountsAccountPersonsPersonResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.DeleteAccountsAccountPersonsPerson.DeleteAccountsAccountPersonsPersonParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.DeleteAccountsAccountPersonsPerson.DeleteAccountsAccountPersonsPersonParameters
-- | Contains the different functions to run the operation
-- deleteAccountsAccountPeoplePerson
module StripeAPI.Operations.DeleteAccountsAccountPeoplePerson
-- |
-- DELETE /v1/accounts/{account}/people/{person}
--
--
-- <p>Deletes an existing person’s relationship to the account’s
-- legal entity. Any person with a relationship for an account can be
-- deleted through the API, except if the person is the
-- <code>account_opener</code>. If your integration is using
-- the <code>executive</code> parameter, you cannot delete
-- the only verified <code>executive</code> on
-- file.</p>
deleteAccountsAccountPeoplePerson :: forall m. MonadHTTP m => DeleteAccountsAccountPeoplePersonParameters -> ClientT m (Response DeleteAccountsAccountPeoplePersonResponse)
-- | Defines the object schema located at
-- paths./v1/accounts/{account}/people/{person}.DELETE.parameters
-- in the specification.
data DeleteAccountsAccountPeoplePersonParameters
DeleteAccountsAccountPeoplePersonParameters :: Text -> Text -> DeleteAccountsAccountPeoplePersonParameters
-- | pathAccount: Represents the parameter named 'account'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteAccountsAccountPeoplePersonParametersPathAccount] :: DeleteAccountsAccountPeoplePersonParameters -> Text
-- | pathPerson: Represents the parameter named 'person'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteAccountsAccountPeoplePersonParametersPathPerson] :: DeleteAccountsAccountPeoplePersonParameters -> Text
-- | Create a new DeleteAccountsAccountPeoplePersonParameters with
-- all required fields.
mkDeleteAccountsAccountPeoplePersonParameters :: Text -> Text -> DeleteAccountsAccountPeoplePersonParameters
-- | Represents a response of the operation
-- deleteAccountsAccountPeoplePerson.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- DeleteAccountsAccountPeoplePersonResponseError is used.
data DeleteAccountsAccountPeoplePersonResponse
-- | Means either no matching case available or a parse error
DeleteAccountsAccountPeoplePersonResponseError :: String -> DeleteAccountsAccountPeoplePersonResponse
-- | Successful response.
DeleteAccountsAccountPeoplePersonResponse200 :: DeletedPerson -> DeleteAccountsAccountPeoplePersonResponse
-- | Error response.
DeleteAccountsAccountPeoplePersonResponseDefault :: Error -> DeleteAccountsAccountPeoplePersonResponse
instance GHC.Classes.Eq StripeAPI.Operations.DeleteAccountsAccountPeoplePerson.DeleteAccountsAccountPeoplePersonParameters
instance GHC.Show.Show StripeAPI.Operations.DeleteAccountsAccountPeoplePerson.DeleteAccountsAccountPeoplePersonParameters
instance GHC.Classes.Eq StripeAPI.Operations.DeleteAccountsAccountPeoplePerson.DeleteAccountsAccountPeoplePersonResponse
instance GHC.Show.Show StripeAPI.Operations.DeleteAccountsAccountPeoplePerson.DeleteAccountsAccountPeoplePersonResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.DeleteAccountsAccountPeoplePerson.DeleteAccountsAccountPeoplePersonParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.DeleteAccountsAccountPeoplePerson.DeleteAccountsAccountPeoplePersonParameters
-- | Contains the different functions to run the operation
-- deleteAccountsAccountExternalAccountsId
module StripeAPI.Operations.DeleteAccountsAccountExternalAccountsId
-- |
-- DELETE /v1/accounts/{account}/external_accounts/{id}
--
--
-- <p>Delete a specified external account for a given
-- account.</p>
deleteAccountsAccountExternalAccountsId :: forall m. MonadHTTP m => DeleteAccountsAccountExternalAccountsIdParameters -> ClientT m (Response DeleteAccountsAccountExternalAccountsIdResponse)
-- | Defines the object schema located at
-- paths./v1/accounts/{account}/external_accounts/{id}.DELETE.parameters
-- in the specification.
data DeleteAccountsAccountExternalAccountsIdParameters
DeleteAccountsAccountExternalAccountsIdParameters :: Text -> Text -> DeleteAccountsAccountExternalAccountsIdParameters
-- | pathAccount: Represents the parameter named 'account'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteAccountsAccountExternalAccountsIdParametersPathAccount] :: DeleteAccountsAccountExternalAccountsIdParameters -> Text
-- | pathId: Represents the parameter named 'id'
[deleteAccountsAccountExternalAccountsIdParametersPathId] :: DeleteAccountsAccountExternalAccountsIdParameters -> Text
-- | Create a new DeleteAccountsAccountExternalAccountsIdParameters
-- with all required fields.
mkDeleteAccountsAccountExternalAccountsIdParameters :: Text -> Text -> DeleteAccountsAccountExternalAccountsIdParameters
-- | Represents a response of the operation
-- deleteAccountsAccountExternalAccountsId.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- DeleteAccountsAccountExternalAccountsIdResponseError is used.
data DeleteAccountsAccountExternalAccountsIdResponse
-- | Means either no matching case available or a parse error
DeleteAccountsAccountExternalAccountsIdResponseError :: String -> DeleteAccountsAccountExternalAccountsIdResponse
-- | Successful response.
DeleteAccountsAccountExternalAccountsIdResponse200 :: DeletedExternalAccount -> DeleteAccountsAccountExternalAccountsIdResponse
-- | Error response.
DeleteAccountsAccountExternalAccountsIdResponseDefault :: Error -> DeleteAccountsAccountExternalAccountsIdResponse
instance GHC.Classes.Eq StripeAPI.Operations.DeleteAccountsAccountExternalAccountsId.DeleteAccountsAccountExternalAccountsIdParameters
instance GHC.Show.Show StripeAPI.Operations.DeleteAccountsAccountExternalAccountsId.DeleteAccountsAccountExternalAccountsIdParameters
instance GHC.Classes.Eq StripeAPI.Operations.DeleteAccountsAccountExternalAccountsId.DeleteAccountsAccountExternalAccountsIdResponse
instance GHC.Show.Show StripeAPI.Operations.DeleteAccountsAccountExternalAccountsId.DeleteAccountsAccountExternalAccountsIdResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.DeleteAccountsAccountExternalAccountsId.DeleteAccountsAccountExternalAccountsIdParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.DeleteAccountsAccountExternalAccountsId.DeleteAccountsAccountExternalAccountsIdParameters
-- | Contains the different functions to run the operation
-- deleteAccountsAccountBankAccountsId
module StripeAPI.Operations.DeleteAccountsAccountBankAccountsId
-- |
-- DELETE /v1/accounts/{account}/bank_accounts/{id}
--
--
-- <p>Delete a specified external account for a given
-- account.</p>
deleteAccountsAccountBankAccountsId :: forall m. MonadHTTP m => DeleteAccountsAccountBankAccountsIdParameters -> ClientT m (Response DeleteAccountsAccountBankAccountsIdResponse)
-- | Defines the object schema located at
-- paths./v1/accounts/{account}/bank_accounts/{id}.DELETE.parameters
-- in the specification.
data DeleteAccountsAccountBankAccountsIdParameters
DeleteAccountsAccountBankAccountsIdParameters :: Text -> Text -> DeleteAccountsAccountBankAccountsIdParameters
-- | pathAccount: Represents the parameter named 'account'
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteAccountsAccountBankAccountsIdParametersPathAccount] :: DeleteAccountsAccountBankAccountsIdParameters -> Text
-- | pathId: Represents the parameter named 'id'
[deleteAccountsAccountBankAccountsIdParametersPathId] :: DeleteAccountsAccountBankAccountsIdParameters -> Text
-- | Create a new DeleteAccountsAccountBankAccountsIdParameters with
-- all required fields.
mkDeleteAccountsAccountBankAccountsIdParameters :: Text -> Text -> DeleteAccountsAccountBankAccountsIdParameters
-- | Represents a response of the operation
-- deleteAccountsAccountBankAccountsId.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- DeleteAccountsAccountBankAccountsIdResponseError is used.
data DeleteAccountsAccountBankAccountsIdResponse
-- | Means either no matching case available or a parse error
DeleteAccountsAccountBankAccountsIdResponseError :: String -> DeleteAccountsAccountBankAccountsIdResponse
-- | Successful response.
DeleteAccountsAccountBankAccountsIdResponse200 :: DeletedExternalAccount -> DeleteAccountsAccountBankAccountsIdResponse
-- | Error response.
DeleteAccountsAccountBankAccountsIdResponseDefault :: Error -> DeleteAccountsAccountBankAccountsIdResponse
instance GHC.Classes.Eq StripeAPI.Operations.DeleteAccountsAccountBankAccountsId.DeleteAccountsAccountBankAccountsIdParameters
instance GHC.Show.Show StripeAPI.Operations.DeleteAccountsAccountBankAccountsId.DeleteAccountsAccountBankAccountsIdParameters
instance GHC.Classes.Eq StripeAPI.Operations.DeleteAccountsAccountBankAccountsId.DeleteAccountsAccountBankAccountsIdResponse
instance GHC.Show.Show StripeAPI.Operations.DeleteAccountsAccountBankAccountsId.DeleteAccountsAccountBankAccountsIdResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.DeleteAccountsAccountBankAccountsId.DeleteAccountsAccountBankAccountsIdParameters
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.DeleteAccountsAccountBankAccountsId.DeleteAccountsAccountBankAccountsIdParameters
-- | Contains the different functions to run the operation
-- deleteAccountsAccount
module StripeAPI.Operations.DeleteAccountsAccount
-- |
-- DELETE /v1/accounts/{account}
--
--
-- <p>With <a href="/docs/connect">Connect</a>, you can
-- delete accounts you manage.</p>
--
-- <p>Accounts created using test-mode keys can be deleted at any
-- time. Custom or Express accounts created using live-mode keys can only
-- be deleted once all balances are zero.</p>
--
-- <p>If you want to delete your own account, use the <a
-- href="https://dashboard.stripe.com/account">account information tab
-- in your account settings</a> instead.</p>
deleteAccountsAccount :: forall m. MonadHTTP m => Text -> ClientT m (Response DeleteAccountsAccountResponse)
-- | Represents a response of the operation deleteAccountsAccount.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), DeleteAccountsAccountResponseError is
-- used.
data DeleteAccountsAccountResponse
-- | Means either no matching case available or a parse error
DeleteAccountsAccountResponseError :: String -> DeleteAccountsAccountResponse
-- | Successful response.
DeleteAccountsAccountResponse200 :: DeletedAccount -> DeleteAccountsAccountResponse
-- | Error response.
DeleteAccountsAccountResponseDefault :: Error -> DeleteAccountsAccountResponse
instance GHC.Classes.Eq StripeAPI.Operations.DeleteAccountsAccount.DeleteAccountsAccountResponse
instance GHC.Show.Show StripeAPI.Operations.DeleteAccountsAccount.DeleteAccountsAccountResponse
-- | Contains the different functions to run the operation
-- deleteAccountPersonsPerson
module StripeAPI.Operations.DeleteAccountPersonsPerson
-- |
-- DELETE /v1/account/persons/{person}
--
--
-- <p>Deletes an existing person’s relationship to the account’s
-- legal entity. Any person with a relationship for an account can be
-- deleted through the API, except if the person is the
-- <code>account_opener</code>. If your integration is using
-- the <code>executive</code> parameter, you cannot delete
-- the only verified <code>executive</code> on
-- file.</p>
deleteAccountPersonsPerson :: forall m. MonadHTTP m => Text -> ClientT m (Response DeleteAccountPersonsPersonResponse)
-- | Represents a response of the operation
-- deleteAccountPersonsPerson.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), DeleteAccountPersonsPersonResponseError
-- is used.
data DeleteAccountPersonsPersonResponse
-- | Means either no matching case available or a parse error
DeleteAccountPersonsPersonResponseError :: String -> DeleteAccountPersonsPersonResponse
-- | Successful response.
DeleteAccountPersonsPersonResponse200 :: DeletedPerson -> DeleteAccountPersonsPersonResponse
-- | Error response.
DeleteAccountPersonsPersonResponseDefault :: Error -> DeleteAccountPersonsPersonResponse
instance GHC.Classes.Eq StripeAPI.Operations.DeleteAccountPersonsPerson.DeleteAccountPersonsPersonResponse
instance GHC.Show.Show StripeAPI.Operations.DeleteAccountPersonsPerson.DeleteAccountPersonsPersonResponse
-- | Contains the different functions to run the operation
-- deleteAccountPeoplePerson
module StripeAPI.Operations.DeleteAccountPeoplePerson
-- |
-- DELETE /v1/account/people/{person}
--
--
-- <p>Deletes an existing person’s relationship to the account’s
-- legal entity. Any person with a relationship for an account can be
-- deleted through the API, except if the person is the
-- <code>account_opener</code>. If your integration is using
-- the <code>executive</code> parameter, you cannot delete
-- the only verified <code>executive</code> on
-- file.</p>
deleteAccountPeoplePerson :: forall m. MonadHTTP m => Text -> ClientT m (Response DeleteAccountPeoplePersonResponse)
-- | Represents a response of the operation
-- deleteAccountPeoplePerson.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), DeleteAccountPeoplePersonResponseError
-- is used.
data DeleteAccountPeoplePersonResponse
-- | Means either no matching case available or a parse error
DeleteAccountPeoplePersonResponseError :: String -> DeleteAccountPeoplePersonResponse
-- | Successful response.
DeleteAccountPeoplePersonResponse200 :: DeletedPerson -> DeleteAccountPeoplePersonResponse
-- | Error response.
DeleteAccountPeoplePersonResponseDefault :: Error -> DeleteAccountPeoplePersonResponse
instance GHC.Classes.Eq StripeAPI.Operations.DeleteAccountPeoplePerson.DeleteAccountPeoplePersonResponse
instance GHC.Show.Show StripeAPI.Operations.DeleteAccountPeoplePerson.DeleteAccountPeoplePersonResponse
-- | Contains the different functions to run the operation
-- deleteAccountExternalAccountsId
module StripeAPI.Operations.DeleteAccountExternalAccountsId
-- |
-- DELETE /v1/account/external_accounts/{id}
--
--
-- <p>Delete a specified external account for a given
-- account.</p>
deleteAccountExternalAccountsId :: forall m. MonadHTTP m => Text -> ClientT m (Response DeleteAccountExternalAccountsIdResponse)
-- | Represents a response of the operation
-- deleteAccountExternalAccountsId.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- DeleteAccountExternalAccountsIdResponseError is used.
data DeleteAccountExternalAccountsIdResponse
-- | Means either no matching case available or a parse error
DeleteAccountExternalAccountsIdResponseError :: String -> DeleteAccountExternalAccountsIdResponse
-- | Successful response.
DeleteAccountExternalAccountsIdResponse200 :: DeletedExternalAccount -> DeleteAccountExternalAccountsIdResponse
-- | Error response.
DeleteAccountExternalAccountsIdResponseDefault :: Error -> DeleteAccountExternalAccountsIdResponse
instance GHC.Classes.Eq StripeAPI.Operations.DeleteAccountExternalAccountsId.DeleteAccountExternalAccountsIdResponse
instance GHC.Show.Show StripeAPI.Operations.DeleteAccountExternalAccountsId.DeleteAccountExternalAccountsIdResponse
-- | Contains the different functions to run the operation
-- deleteAccountBankAccountsId
module StripeAPI.Operations.DeleteAccountBankAccountsId
-- |
-- DELETE /v1/account/bank_accounts/{id}
--
--
-- <p>Delete a specified external account for a given
-- account.</p>
deleteAccountBankAccountsId :: forall m. MonadHTTP m => Text -> ClientT m (Response DeleteAccountBankAccountsIdResponse)
-- | Represents a response of the operation
-- deleteAccountBankAccountsId.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case),
-- DeleteAccountBankAccountsIdResponseError is used.
data DeleteAccountBankAccountsIdResponse
-- | Means either no matching case available or a parse error
DeleteAccountBankAccountsIdResponseError :: String -> DeleteAccountBankAccountsIdResponse
-- | Successful response.
DeleteAccountBankAccountsIdResponse200 :: DeletedExternalAccount -> DeleteAccountBankAccountsIdResponse
-- | Error response.
DeleteAccountBankAccountsIdResponseDefault :: Error -> DeleteAccountBankAccountsIdResponse
instance GHC.Classes.Eq StripeAPI.Operations.DeleteAccountBankAccountsId.DeleteAccountBankAccountsIdResponse
instance GHC.Show.Show StripeAPI.Operations.DeleteAccountBankAccountsId.DeleteAccountBankAccountsIdResponse
-- | Contains the different functions to run the operation deleteAccount
module StripeAPI.Operations.DeleteAccount
-- |
-- DELETE /v1/account
--
--
-- <p>With <a href="/docs/connect">Connect</a>, you can
-- delete accounts you manage.</p>
--
-- <p>Accounts created using test-mode keys can be deleted at any
-- time. Custom or Express accounts created using live-mode keys can only
-- be deleted once all balances are zero.</p>
--
-- <p>If you want to delete your own account, use the <a
-- href="https://dashboard.stripe.com/account">account information tab
-- in your account settings</a> instead.</p>
deleteAccount :: forall m. MonadHTTP m => Maybe DeleteAccountRequestBody -> ClientT m (Response DeleteAccountResponse)
-- | Defines the object schema located at
-- paths./v1/account.DELETE.requestBody.content.application/x-www-form-urlencoded.schema
-- in the specification.
data DeleteAccountRequestBody
DeleteAccountRequestBody :: Maybe Text -> DeleteAccountRequestBody
-- | account
--
-- Constraints:
--
--
-- - Maximum length of 5000
--
[deleteAccountRequestBodyAccount] :: DeleteAccountRequestBody -> Maybe Text
-- | Create a new DeleteAccountRequestBody with all required fields.
mkDeleteAccountRequestBody :: DeleteAccountRequestBody
-- | Represents a response of the operation deleteAccount.
--
-- The response constructor is chosen by the status code of the response.
-- If no case matches (no specific case for the response code, no range
-- case, no default case), DeleteAccountResponseError is used.
data DeleteAccountResponse
-- | Means either no matching case available or a parse error
DeleteAccountResponseError :: String -> DeleteAccountResponse
-- | Successful response.
DeleteAccountResponse200 :: DeletedAccount -> DeleteAccountResponse
-- | Error response.
DeleteAccountResponseDefault :: Error -> DeleteAccountResponse
instance GHC.Classes.Eq StripeAPI.Operations.DeleteAccount.DeleteAccountRequestBody
instance GHC.Show.Show StripeAPI.Operations.DeleteAccount.DeleteAccountRequestBody
instance GHC.Classes.Eq StripeAPI.Operations.DeleteAccount.DeleteAccountResponse
instance GHC.Show.Show StripeAPI.Operations.DeleteAccount.DeleteAccountResponse
instance Data.Aeson.Types.ToJSON.ToJSON StripeAPI.Operations.DeleteAccount.DeleteAccountRequestBody
instance Data.Aeson.Types.FromJSON.FromJSON StripeAPI.Operations.DeleteAccount.DeleteAccountRequestBody
-- | The main module which exports all functionality.
module StripeAPI